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
.globl _ui_browser__gotorc ## -- Begin function ui_browser__gotorc
.p2align 4, 0x90
_ui_browser__gotorc: ## @ui_browser__gotorc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movslq %esi, %rax
addq 16(%rdi), %rax
addq 8(%rdi), %rax
movslq %edx, %rsi
addq (%rdi), %rsi
movq %rax, %rdi
popq %rbp
jmp _SLsmg_gotorc ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ui_browser__gotorc ; -- Begin function ui_browser__gotorc
.p2align 2
_ui_browser__gotorc: ; @ui_browser__gotorc
.cfi_startproc
; %bb.0:
ldp x9, x8, [x0, #8]
add x8, x8, w1, sxtw
ldr x10, [x0]
add x0, x8, x9
add x1, x10, w2, sxtw
b _SLsmg_gotorc
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/linux/tools/perf/ui/extr_browser.c_ui_browser__gotorc.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function xlgmac_set_xlgmii_25000_speed
_xlgmac_set_xlgmii_25000_speed: ## @xlgmac_set_xlgmii_25000_speed
.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 _MAC_TCR@GOTPCREL(%rip), %r14
movq (%r14), %rdi
addq (%rbx), %rdi
callq _readl
movq _MAC_TCR_SS_POS@GOTPCREL(%rip), %r15
movl (%r15), %esi
movq _MAC_TCR_SS_LEN@GOTPCREL(%rip), %r12
movl (%r12), %edx
movl %eax, %edi
callq _XLGMAC_GET_REG_BITS
cmpl $1, %eax
je LBB0_2
## %bb.1:
movq (%r14), %rdi
addq (%rbx), %rdi
callq _readl
movl (%r15), %esi
movl (%r12), %edx
movl %eax, %edi
movl $1, %ecx
callq _XLGMAC_SET_REG_BITS
movq (%r14), %rsi
addq (%rbx), %rsi
movl %eax, %edi
callq _writel
LBB0_2:
xorl %eax, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MAC_TCR,8,3 ## @MAC_TCR
.comm _MAC_TCR_SS_POS,4,2 ## @MAC_TCR_SS_POS
.comm _MAC_TCR_SS_LEN,4,2 ## @MAC_TCR_SS_LEN
.no_dead_strip _xlgmac_set_xlgmii_25000_speed
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function xlgmac_set_xlgmii_25000_speed
_xlgmac_set_xlgmii_25000_speed: ; @xlgmac_set_xlgmii_25000_speed
.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]
Lloh0:
adrp x20, _MAC_TCR@GOTPAGE
Lloh1:
ldr x20, [x20, _MAC_TCR@GOTPAGEOFF]
ldr x9, [x20]
add x0, x9, x8
bl _readl
Lloh2:
adrp x21, _MAC_TCR_SS_POS@GOTPAGE
Lloh3:
ldr x21, [x21, _MAC_TCR_SS_POS@GOTPAGEOFF]
ldr w1, [x21]
Lloh4:
adrp x22, _MAC_TCR_SS_LEN@GOTPAGE
Lloh5:
ldr x22, [x22, _MAC_TCR_SS_LEN@GOTPAGEOFF]
ldr w2, [x22]
bl _XLGMAC_GET_REG_BITS
cmp w0, #1
b.eq LBB0_2
; %bb.1:
ldr x8, [x19]
ldr x9, [x20]
add x0, x9, x8
bl _readl
ldr w1, [x21]
ldr w2, [x22]
mov w3, #1
bl _XLGMAC_SET_REG_BITS
ldr x8, [x19]
ldr x9, [x20]
add x1, x9, x8
bl _writel
LBB0_2:
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 Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _MAC_TCR,8,3 ; @MAC_TCR
.comm _MAC_TCR_SS_POS,4,2 ; @MAC_TCR_SS_POS
.comm _MAC_TCR_SS_LEN,4,2 ; @MAC_TCR_SS_LEN
.no_dead_strip _xlgmac_set_xlgmii_25000_speed
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/synopsys/extr_dwc-xlgmac-hw.c_xlgmac_set_xlgmii_25000_speed.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _THAtomicGetPtrdiff ## -- Begin function THAtomicGetPtrdiff
.p2align 4, 0x90
_THAtomicGetPtrdiff: ## @THAtomicGetPtrdiff
.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
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl (%r14), %ebx
movq %r14, %rdi
movl %ebx, %esi
movl %ebx, %edx
callq _THAtomicCompareAndSwapPtrdiff
testl %eax, %eax
je LBB0_1
## %bb.2:
movl %ebx, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _THAtomicGetPtrdiff ; -- Begin function THAtomicGetPtrdiff
.p2align 2
_THAtomicGetPtrdiff: ; @THAtomicGetPtrdiff
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x20, x0
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w19, [x20]
mov x0, x20
mov x1, x19
mov x2, x19
bl _THAtomicCompareAndSwapPtrdiff
cbz w0, LBB0_1
; %bb.2:
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
.subsections_via_symbols
| AnghaBench/torch7/lib/TH/extr_THAtomic.c_THAtomicGetPtrdiff.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function xgene_ahci_read_id
_xgene_ahci_read_id: ## @xgene_ahci_read_id
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdx, %r14
callq _ata_do_dev_read_id
movl %eax, %ebx
testl %eax, %eax
jne LBB0_2
## %bb.1:
movl $-257, %edi ## imm = 0xFEFF
callq _cpu_to_le16
movq _ATA_ID_FEATURE_SUPP@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
andl %eax, (%r14,%rcx,4)
LBB0_2:
movl %ebx, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ATA_ID_FEATURE_SUPP,8,3 ## @ATA_ID_FEATURE_SUPP
.no_dead_strip _xgene_ahci_read_id
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function xgene_ahci_read_id
_xgene_ahci_read_id: ; @xgene_ahci_read_id
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x2
bl _ata_do_dev_read_id
mov x20, x0
cbnz w0, LBB0_2
; %bb.1:
mov w0, #-257
bl _cpu_to_le16
Lloh0:
adrp x8, _ATA_ID_FEATURE_SUPP@GOTPAGE
Lloh1:
ldr x8, [x8, _ATA_ID_FEATURE_SUPP@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
lsl x8, x8, #2
ldr w9, [x19, x8]
and w9, w9, w0
str w9, [x19, x8]
LBB0_2:
mov x0, x20
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _ATA_ID_FEATURE_SUPP,8,3 ; @ATA_ID_FEATURE_SUPP
.no_dead_strip _xgene_ahci_read_id
.subsections_via_symbols
| AnghaBench/linux/drivers/ata/extr_ahci_xgene.c_xgene_ahci_read_id.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function findLoop
_findLoop: ## @findLoop
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movq (%rdi), %rdi
xorl %eax, %eax
cmpl $0, (%rdx,%rdi,4)
jne LBB0_19
## %bb.1:
movq %rsi, %r15
cmpq %rsi, (%rcx,%rdi,8)
je LBB0_19
## %bb.2:
movq %r8, %r12
movq %rdx, %r13
testl %r9d, %r9d
js LBB0_3
## %bb.9:
movl %r9d, %edx
xorl %esi, %esi
.p2align 4, 0x90
LBB0_10: ## =>This Inner Loop Header: Depth=1
cmpq %rbx, (%r12,%rsi,8)
je LBB0_11
## %bb.8: ## in Loop: Header=BB0_10 Depth=1
decq %rsi
cmpq %rdx, %rsi
jle LBB0_10
jmp LBB0_4
LBB0_3:
movslq %r9d, %rdx
LBB0_4:
movq %rbx, (%r12,%rdx,8)
movslq 8(%rbx), %rdx
testq %rdx, %rdx
jle LBB0_18
## %bb.5:
incl %r9d
movq 16(%rbx), %rax
xorl %esi, %esi
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
cmpq %r15, (%rax,%rsi,8)
je LBB0_7
## %bb.12: ## in Loop: Header=BB0_6 Depth=1
incq %rsi
cmpq %rsi, %rdx
jne LBB0_6
## %bb.13:
movl %r9d, -44(%rbp) ## 4-byte Spill
movq %rcx, -56(%rbp) ## 8-byte Spill
xorl %r14d, %r14d
jmp LBB0_14
.p2align 4, 0x90
LBB0_16: ## in Loop: Header=BB0_14 Depth=1
incq %r14
movslq 8(%rbx), %rax
cmpq %rax, %r14
jge LBB0_17
LBB0_14: ## =>This Inner Loop Header: Depth=1
movq 16(%rbx), %rax
movq (%rax,%r14,8), %rdi
callq _findObjectByDumpId
testq %rax, %rax
je LBB0_16
## %bb.15: ## in Loop: Header=BB0_14 Depth=1
movq %rax, %rdi
movq %r15, %rsi
movq %r13, %rdx
movq -56(%rbp), %rcx ## 8-byte Reload
movq %r12, %r8
movl -44(%rbp), %r9d ## 4-byte Reload
callq _findLoop
testl %eax, %eax
jle LBB0_16
jmp LBB0_19
LBB0_11:
xorl %eax, %eax
jmp LBB0_19
LBB0_7:
movl %r9d, %eax
jmp LBB0_19
LBB0_17:
movq (%rbx), %rdi
xorl %eax, %eax
movq -56(%rbp), %rcx ## 8-byte Reload
LBB0_18:
movq %r15, (%rcx,%rdi,8)
LBB0_19:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _findLoop
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function findLoop
_findLoop: ; @findLoop
.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
; kill: def $w5 killed $w5 def $x5
ldr x8, [x0]
ldr w9, [x2, x8, lsl #2]
cbnz w9, LBB0_2
; %bb.1:
mov x19, x3
mov x20, x1
ldr x9, [x3, x8, lsl #3]
cmp x9, x1
b.ne LBB0_4
LBB0_2:
mov w24, #0 ; =0x0
LBB0_3:
mov x0, x24
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
LBB0_4:
mov x21, x4
mov x22, x2
mov x23, x0
tbnz w5, #31, LBB0_8
; %bb.5:
mov x10, #0 ; =0x0
mov w9, w5
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldr x11, [x21, x10, lsl #3]
cmp x11, x23
b.eq LBB0_2
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
sub x10, x10, #1
cmp x10, x9
b.le LBB0_6
b LBB0_9
LBB0_8:
sxtw x9, w5
LBB0_9:
str x23, [x21, x9, lsl #3]
ldr w9, [x23, #8]
cmp w9, #1
b.lt LBB0_19
; %bb.10:
add w24, w5, #1
ldr x8, [x23, #16]
LBB0_11: ; =>This Inner Loop Header: Depth=1
ldr x10, [x8], #8
cmp x10, x20
b.eq LBB0_3
; %bb.12: ; in Loop: Header=BB0_11 Depth=1
subs x9, x9, #1
b.ne LBB0_11
; %bb.13:
mov x25, #0 ; =0x0
b LBB0_15
LBB0_14: ; in Loop: Header=BB0_15 Depth=1
add x25, x25, #1
ldrsw x8, [x23, #8]
cmp x25, x8
b.ge LBB0_18
LBB0_15: ; =>This Inner Loop Header: Depth=1
ldr x8, [x23, #16]
ldr x0, [x8, x25, lsl #3]
bl _findObjectByDumpId
cbz x0, LBB0_14
; %bb.16: ; in Loop: Header=BB0_15 Depth=1
mov x1, x20
mov x2, x22
mov x3, x19
mov x4, x21
mov x5, x24
bl _findLoop
cmp w0, #0
b.le LBB0_14
; %bb.17:
mov x24, x0
b LBB0_3
LBB0_18:
ldr x8, [x23]
LBB0_19:
mov w24, #0 ; =0x0
str x20, [x19, x8, lsl #3]
b LBB0_3
.cfi_endproc
; -- End function
.no_dead_strip _findLoop
.subsections_via_symbols
| assembly_file_67391.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function update_split_timeout
_update_split_timeout: ## @update_split_timeout
.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
imull $8000, (%rdi), %eax ## imm = 0x1F40
movl 4(%rdi), %edi
sarl $19, %edi
addl %eax, %edi
movl $800, %esi ## imm = 0x320
movl $24000, %edx ## imm = 0x5DC0
callq _clamp
movl %eax, 8(%rbx)
movq _HZ@GOTPCREL(%rip), %rcx
imull (%rcx), %eax
movl %eax, %edi
movl $8000, %esi ## imm = 0x1F40
callq _DIV_ROUND_UP
movl %eax, 12(%rbx)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _HZ,4,2 ## @HZ
.no_dead_strip _update_split_timeout
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function update_split_timeout
_update_split_timeout: ; @update_split_timeout
.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 w8, #8000
ldp w9, w10, [x0]
mul w8, w9, w8
add w0, w8, w10, asr #19
mov w1, #800
mov w2, #24000
bl _clamp
str w0, [x19, #8]
Lloh0:
adrp x8, _HZ@GOTPAGE
Lloh1:
ldr x8, [x8, _HZ@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
mul w0, w8, w0
mov w1, #8000
bl _DIV_ROUND_UP
str w0, [x19, #12]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _HZ,4,2 ; @HZ
.no_dead_strip _update_split_timeout
.subsections_via_symbols
| AnghaBench/linux/drivers/firewire/extr_core-transaction.c_update_split_timeout.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _Recount ## -- Begin function Recount
.p2align 4, 0x90
_Recount: ## @Recount
.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, %esi
jb LBB0_8
## %bb.1:
movl %esi, %r8d
movl (%rdi), %eax
leaq -1(%r8), %rsi
addq $-2, %r8
movl %esi, %ecx
andl $3, %ecx
movl $1, %edx
cmpq $3, %r8
jb LBB0_5
## %bb.2:
andq $-4, %rsi
xorl %edx, %edx
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
addl 4(%rdi,%rdx,4), %eax
movl %eax, 4(%rdi,%rdx,4)
addl 8(%rdi,%rdx,4), %eax
movl %eax, 8(%rdi,%rdx,4)
addl 12(%rdi,%rdx,4), %eax
movl %eax, 12(%rdi,%rdx,4)
addl 16(%rdi,%rdx,4), %eax
movl %eax, 16(%rdi,%rdx,4)
addq $4, %rdx
cmpq %rdx, %rsi
jne LBB0_3
## %bb.4:
incq %rdx
LBB0_5:
testq %rcx, %rcx
je LBB0_8
## %bb.6:
leaq (%rdi,%rdx,4), %rdx
xorl %esi, %esi
.p2align 4, 0x90
LBB0_7: ## =>This Inner Loop Header: Depth=1
addl (%rdx,%rsi,4), %eax
movl %eax, (%rdx,%rsi,4)
incq %rsi
cmpq %rsi, %rcx
jne LBB0_7
LBB0_8:
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $296, %rsp ## imm = 0x128
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movl $0, -324(%rbp)
movl $0, -328(%rbp)
leaq L_str(%rip), %rdi
callq _puts
leaq L_str.20(%rip), %rdi
callq _puts
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_str.21(%rip), %rdi
callq _puts
leaq L_str.22(%rip), %rdi
callq _puts
leaq L_str.23(%rip), %rdi
callq _puts
leaq L_.str.6(%rip), %rdi
leaq -328(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movl $-1, %r14d
cmpl $1, %eax
jne LBB1_31
## %bb.1:
movl -328(%rbp), %eax
cmpl $1, %eax
je LBB1_4
## %bb.2:
testl %eax, %eax
jne LBB1_31
## %bb.3:
leaq L_.str.7(%rip), %rdi
leaq L_.str.8(%rip), %rsi
jmp LBB1_5
LBB1_4:
leaq L_str.24(%rip), %rdi
callq _puts
leaq L_str.25(%rip), %rdi
callq _puts
movq ___stdinp@GOTPCREL(%rip), %r14
movq (%r14), %rdx
leaq -320(%rbp), %rbx
movq %rbx, %rdi
movl $2, %esi
callq _fgets
movq (%r14), %rdx
movl $-1, %r14d
movq %rbx, %rdi
movl $260, %esi ## imm = 0x104
callq _fgets
leaq L_.str.11(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
callq _strlen
leaq -1(%rax), %rcx
cmpq $259, %rax ## imm = 0x103
cmoveq %rax, %rcx
movb $0, -320(%rbp,%rcx)
leaq L_.str.12(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _printf
leaq L_.str.8(%rip), %rsi
movq %rbx, %rdi
LBB1_5:
callq _fopen
movq %rax, %r15
testq %rax, %rax
je LBB1_30
## %bb.6:
leaq L_.str.6(%rip), %rsi
leaq -324(%rbp), %rdx
movq %r15, %rdi
xorl %eax, %eax
callq _fscanf
movl -324(%rbp), %ebx
leaq (,%rbx,4), %rdi
callq _malloc
movq %rax, %r13
testq %rbx, %rbx
je LBB1_17
## %bb.7:
leaq L_.str.13(%rip), %r12
movq %r13, %rbx
xorl %r14d, %r14d
.p2align 4, 0x90
LBB1_8: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
movq %r12, %rsi
movq %rbx, %rdx
xorl %eax, %eax
callq _fscanf
incq %r14
movl -324(%rbp), %edi
addq $4, %rbx
cmpq %rdi, %r14
jb LBB1_8
## %bb.9:
cmpl $2, %edi
movl $-1, %r14d
jb LBB1_17
## %bb.10:
movl (%r13), %eax
leaq -1(%rdi), %rsi
addq $-2, %rdi
movl %esi, %ecx
andl $3, %ecx
movl $1, %edx
cmpq $3, %rdi
jb LBB1_14
## %bb.11:
andq $-4, %rsi
xorl %edx, %edx
.p2align 4, 0x90
LBB1_12: ## =>This Inner Loop Header: Depth=1
addl 4(%r13,%rdx,4), %eax
movl %eax, 4(%r13,%rdx,4)
addl 8(%r13,%rdx,4), %eax
movl %eax, 8(%r13,%rdx,4)
addl 12(%r13,%rdx,4), %eax
movl %eax, 12(%r13,%rdx,4)
addl 16(%r13,%rdx,4), %eax
movl %eax, 16(%r13,%rdx,4)
addq $4, %rdx
cmpq %rdx, %rsi
jne LBB1_12
## %bb.13:
incq %rdx
LBB1_14:
testq %rcx, %rcx
je LBB1_17
## %bb.15:
leaq (,%rdx,4), %rdx
addq %r13, %rdx
xorl %esi, %esi
.p2align 4, 0x90
LBB1_16: ## =>This Inner Loop Header: Depth=1
addl (%rdx,%rsi,4), %eax
movl %eax, (%rdx,%rsi,4)
incq %rsi
cmpq %rsi, %rcx
jne LBB1_16
LBB1_17:
leaq L_str.27(%rip), %rdi
callq _puts
leaq L_.str.6(%rip), %rdi
leaq -328(%rbp), %rsi
xorl %eax, %eax
callq _scanf
cmpl $1, %eax
jne LBB1_31
## %bb.18:
movl -328(%rbp), %eax
testl %eax, %eax
je LBB1_24
## %bb.19:
cmpl $1, %eax
jne LBB1_31
## %bb.20:
cmpl $0, -324(%rbp)
je LBB1_23
## %bb.21:
leaq L_.str.17(%rip), %r14
xorl %ebx, %ebx
.p2align 4, 0x90
LBB1_22: ## =>This Inner Loop Header: Depth=1
movl (%r13,%rbx,4), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
incq %rbx
movl -324(%rbp), %eax
cmpq %rax, %rbx
jb LBB1_22
LBB1_23:
movl $10, %edi
callq _putchar
jmp LBB1_29
LBB1_30:
leaq L_str.26(%rip), %rdi
callq _puts
jmp LBB1_31
LBB1_24:
leaq L_.str.15(%rip), %rdi
leaq L_.str.16(%rip), %rsi
callq _fopen
testq %rax, %rax
je LBB1_31
## %bb.25:
movq %rax, %r12
cmpl $0, -324(%rbp)
je LBB1_28
## %bb.26:
leaq L_.str.17(%rip), %r14
xorl %ebx, %ebx
.p2align 4, 0x90
LBB1_27: ## =>This Inner Loop Header: Depth=1
movl (%r13,%rbx,4), %edx
movq %r12, %rdi
movq %r14, %rsi
xorl %eax, %eax
callq _fprintf
incq %rbx
movl -324(%rbp), %eax
cmpq %rax, %rbx
jb LBB1_27
LBB1_28:
movl $10, %edi
movq %r12, %rsi
callq _fputc
movq %r12, %rdi
callq _fclose
LBB1_29:
movq %r13, %rdi
callq _free
movq %r15, %rdi
callq _fclose
movl $1, %r14d
LBB1_31:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB1_33
## %bb.32:
movl %r14d, %eax
addq $296, %rsp ## imm = 0x128
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB1_33:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str.2: ## @.str.2
.asciz "\320\224\320\262\320\276\320\270\321\207\320\275\321\213\320\274 \320\277\320\276\320\270\321\201\320\272\320\276\320\274 \321\201\321\200\320\265\320\264\320\270 \320\275\320\265\321\203\320\261\321\213\320\262\320\260\321\216\321\211\320\270\321\205 \321\207\320\270\321\201\320\265\320\273 \320\270\321\211\320\265\321\202 \320\277\320\276\320\267\320\270\321\206\320\270\321\216,"
L_.str.6: ## @.str.6
.asciz "%u"
L_.str.7: ## @.str.7
.asciz "INPUT.txt"
L_.str.8: ## @.str.8
.asciz "r"
L_.str.11: ## @.str.11
.asciz "\320\241\321\207\320\270\321\202\320\260\320\275\320\260 \321\201\321\202\321\200\320\276\320\272\320\260: %s\n"
L_.str.12: ## @.str.12
.asciz "\320\241\321\207\320\270\321\202\320\260\320\275 \320\277\321\203\321\202\321\214: %s\n"
L_.str.13: ## @.str.13
.asciz "%d"
L_.str.15: ## @.str.15
.asciz "OUTPUT.txt"
L_.str.16: ## @.str.16
.asciz "w"
L_.str.17: ## @.str.17
.asciz "%d "
L_str: ## @str
.asciz "-------------main.c-------------"
L_str.20: ## @str.20
.asciz "- - - - - \320\227\320\260\320\264\320\260\321\207\320\260 2.19 - - - - -"
L_str.21: ## @str.21
.asciz "\320\275\320\260 \320\272\320\276\321\202\320\276\321\200\321\203\321\216 \320\274\320\276\320\266\320\275\320\276 \320\277\320\276\321\201\321\202\320\260\320\262\320\270\321\202\321\214 \320\264\320\260\320\275\320\275\320\276\320\265 \321\207\320\270\321\201\320\273\320\276"
L_str.22: ## @str.22
.asciz "\320\237\321\203\321\201\321\202\321\214 \320\262 \320\274\320\260\321\201\321\201\320\270\320\262\320\265 \321\206\320\265\320\273\321\213\320\265 \321\207\320\270\321\201\320\273\320\260"
L_str.23: ## @str.23
.asciz "\320\245\320\276\321\202\320\270\321\202\320\265 \320\262\320\262\320\265\321\201\321\202\320\270 \320\270\320\274\321\217 \321\204\320\260\320\271\320\273\320\260 \320\262\321\205\320\276\320\264\320\275\321\213\321\205 \320\264\320\260\320\275\320\275\321\213\321\205 \321\201\320\260\320\274\320\276\321\201\321\202\320\276\321\217\321\202\320\265\320\273\321\214\320\275\320\276 (1)? (0/1)"
L_str.24: ## @str.24
.asciz "\320\235\320\260\320\277\320\270\321\210\320\270\321\202\320\265 \320\265\320\263\320\276 \320\260\320\264\321\200\320\265\321\201-\320\270\320\274\321\217 \320\262 \321\202\320\265\320\272\321\203\321\211\320\265\320\271 \320\261\320\270\320\261\320\273\320\270\320\276\321\202\320\265\320\272\320\265"
L_str.25: ## @str.25
.asciz "\320\236\320\263\321\200\320\260\320\275\320\270\321\207\320\265\320\275\320\270\320\265 259 \321\201\320\270\320\274\320\262\320\276\320\273\320\276\320\262"
L_str.26: ## @str.26
.asciz "\320\244\320\260\320\271\320\273 \320\275\320\265 \321\203\320\264\320\260\321\221\321\202\321\201\321\217 \320\276\321\202\320\272\321\200\321\213\321\202\321\214"
L_str.27: ## @str.27
.asciz "\320\222\321\213\320\262\320\265\321\201\321\202\320\270 \320\276\321\202\320\262\320\265\321\202 \320\262 \321\204\320\260\320\271\320\273 (0) \320\270\320\273\320\270 \320\275\320\260 \321\215\320\272\321\200\320\260\320\275 (1)? (0/1)"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _Recount ; -- Begin function Recount
.p2align 2
_Recount: ; @Recount
.cfi_startproc
; %bb.0:
cmp w1, #2
b.lo LBB0_3
; %bb.1:
mov w9, w1
ldr w8, [x0], #4
sub x9, x9, #1
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr w10, [x0]
add w8, w8, w10
str w8, [x0], #4
subs x9, x9, #1
b.ne LBB0_2
LBB0_3:
mov w0, #0
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #352
.cfi_def_cfa_offset 352
stp x24, x23, [sp, #288] ; 16-byte Folded Spill
stp x22, x21, [sp, #304] ; 16-byte Folded Spill
stp x20, x19, [sp, #320] ; 16-byte Folded Spill
stp x29, x30, [sp, #336] ; 16-byte Folded Spill
add x29, sp, #336
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-56]
stp wzr, wzr, [sp, #12]
Lloh3:
adrp x0, l_str@PAGE
Lloh4:
add x0, x0, l_str@PAGEOFF
bl _puts
Lloh5:
adrp x0, l_str.20@PAGE
Lloh6:
add x0, x0, l_str.20@PAGEOFF
bl _puts
Lloh7:
adrp x0, l_.str.2@PAGE
Lloh8:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
Lloh9:
adrp x0, l_str.21@PAGE
Lloh10:
add x0, x0, l_str.21@PAGEOFF
bl _puts
Lloh11:
adrp x0, l_str.22@PAGE
Lloh12:
add x0, x0, l_str.22@PAGEOFF
bl _puts
Lloh13:
adrp x0, l_str.23@PAGE
Lloh14:
add x0, x0, l_str.23@PAGEOFF
bl _puts
add x8, sp, #16
str x8, [sp]
Lloh15:
adrp x0, l_.str.6@PAGE
Lloh16:
add x0, x0, l_.str.6@PAGEOFF
bl _scanf
cmp w0, #1
b.ne LBB1_20
; %bb.1:
ldr w8, [sp, #16]
cmp w8, #1
b.eq LBB1_4
; %bb.2:
cbnz w8, LBB1_20
; %bb.3:
Lloh17:
adrp x0, l_.str.7@PAGE
Lloh18:
add x0, x0, l_.str.7@PAGEOFF
Lloh19:
adrp x1, l_.str.8@PAGE
Lloh20:
add x1, x1, l_.str.8@PAGEOFF
b LBB1_5
LBB1_4:
Lloh21:
adrp x0, l_str.24@PAGE
Lloh22:
add x0, x0, l_str.24@PAGEOFF
bl _puts
Lloh23:
adrp x0, l_str.25@PAGE
Lloh24:
add x0, x0, l_str.25@PAGEOFF
bl _puts
Lloh25:
adrp x19, ___stdinp@GOTPAGE
Lloh26:
ldr x19, [x19, ___stdinp@GOTPAGEOFF]
ldr x2, [x19]
add x20, sp, #20
add x0, sp, #20
mov w1, #2
bl _fgets
ldr x2, [x19]
add x0, sp, #20
mov w1, #260
bl _fgets
str x20, [sp]
Lloh27:
adrp x0, l_.str.11@PAGE
Lloh28:
add x0, x0, l_.str.11@PAGEOFF
bl _printf
add x0, sp, #20
bl _strlen
sub x8, x0, #1
cmp x0, #259
csel x8, x0, x8, eq
strb wzr, [x20, x8]
str x20, [sp]
Lloh29:
adrp x0, l_.str.12@PAGE
Lloh30:
add x0, x0, l_.str.12@PAGEOFF
bl _printf
Lloh31:
adrp x1, l_.str.8@PAGE
Lloh32:
add x1, x1, l_.str.8@PAGEOFF
add x0, sp, #20
LBB1_5:
bl _fopen
mov x19, x0
cbz x0, LBB1_19
; %bb.6:
add x8, sp, #12
str x8, [sp]
Lloh33:
adrp x1, l_.str.6@PAGE
Lloh34:
add x1, x1, l_.str.6@PAGEOFF
mov x0, x19
bl _fscanf
ldr w21, [sp, #12]
lsl x0, x21, #2
bl _malloc
mov x20, x0
cbz w21, LBB1_12
; %bb.7:
mov x22, #0
Lloh35:
adrp x21, l_.str.13@PAGE
Lloh36:
add x21, x21, l_.str.13@PAGEOFF
mov x23, x20
LBB1_8: ; =>This Inner Loop Header: Depth=1
str x23, [sp]
mov x0, x19
mov x1, x21
bl _fscanf
add x22, x22, #1
ldr w10, [sp, #12]
add x23, x23, #4
cmp x22, x10
b.lo LBB1_8
; %bb.9:
cmp w10, #2
b.lo LBB1_12
; %bb.10:
mov x8, x20
ldr w9, [x8], #4
sub x10, x10, #1
LBB1_11: ; =>This Inner Loop Header: Depth=1
ldr w11, [x8]
add w9, w11, w9
str w9, [x8], #4
subs x10, x10, #1
b.ne LBB1_11
LBB1_12:
Lloh37:
adrp x0, l_str.27@PAGE
Lloh38:
add x0, x0, l_str.27@PAGEOFF
bl _puts
add x8, sp, #16
str x8, [sp]
Lloh39:
adrp x0, l_.str.6@PAGE
Lloh40:
add x0, x0, l_.str.6@PAGEOFF
bl _scanf
cmp w0, #1
b.ne LBB1_20
; %bb.13:
ldr w8, [sp, #16]
cbz w8, LBB1_23
; %bb.14:
cmp w8, #1
b.ne LBB1_20
; %bb.15:
ldr w8, [sp, #12]
cbz w8, LBB1_18
; %bb.16:
mov x22, #0
Lloh41:
adrp x21, l_.str.17@PAGE
Lloh42:
add x21, x21, l_.str.17@PAGEOFF
LBB1_17: ; =>This Inner Loop Header: Depth=1
ldr w8, [x20, x22, lsl #2]
str x8, [sp]
mov x0, x21
bl _printf
add x22, x22, #1
ldr w8, [sp, #12]
cmp x22, x8
b.lo LBB1_17
LBB1_18:
mov w0, #10
bl _putchar
b LBB1_28
LBB1_19:
Lloh43:
adrp x0, l_str.26@PAGE
Lloh44:
add x0, x0, l_str.26@PAGEOFF
bl _puts
LBB1_20:
mov w0, #-1
LBB1_21:
ldur x8, [x29, #-56]
Lloh45:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh46:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh47:
ldr x9, [x9]
cmp x9, x8
b.ne LBB1_29
; %bb.22:
ldp x29, x30, [sp, #336] ; 16-byte Folded Reload
ldp x20, x19, [sp, #320] ; 16-byte Folded Reload
ldp x22, x21, [sp, #304] ; 16-byte Folded Reload
ldp x24, x23, [sp, #288] ; 16-byte Folded Reload
add sp, sp, #352
ret
LBB1_23:
Lloh48:
adrp x0, l_.str.15@PAGE
Lloh49:
add x0, x0, l_.str.15@PAGEOFF
Lloh50:
adrp x1, l_.str.16@PAGE
Lloh51:
add x1, x1, l_.str.16@PAGEOFF
bl _fopen
cbz x0, LBB1_20
; %bb.24:
mov x21, x0
ldr w8, [sp, #12]
cbz w8, LBB1_27
; %bb.25:
mov x23, #0
Lloh52:
adrp x22, l_.str.17@PAGE
Lloh53:
add x22, x22, l_.str.17@PAGEOFF
LBB1_26: ; =>This Inner Loop Header: Depth=1
ldr w8, [x20, x23, lsl #2]
str x8, [sp]
mov x0, x21
mov x1, x22
bl _fprintf
add x23, x23, #1
ldr w8, [sp, #12]
cmp x23, x8
b.lo LBB1_26
LBB1_27:
mov w0, #10
mov x1, x21
bl _fputc
mov x0, x21
bl _fclose
LBB1_28:
mov x0, x20
bl _free
mov x0, x19
bl _fclose
mov w0, #1
b LBB1_21
LBB1_29:
bl ___stack_chk_fail
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh31, Lloh32
.loh AdrpAdd Lloh29, Lloh30
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpLdrGot Lloh25, Lloh26
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpAdd Lloh33, Lloh34
.loh AdrpAdd Lloh35, Lloh36
.loh AdrpAdd Lloh39, Lloh40
.loh AdrpAdd Lloh37, Lloh38
.loh AdrpAdd Lloh41, Lloh42
.loh AdrpAdd Lloh43, Lloh44
.loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47
.loh AdrpAdd Lloh50, Lloh51
.loh AdrpAdd Lloh48, Lloh49
.loh AdrpAdd Lloh52, Lloh53
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str.2: ; @.str.2
.asciz "\320\224\320\262\320\276\320\270\321\207\320\275\321\213\320\274 \320\277\320\276\320\270\321\201\320\272\320\276\320\274 \321\201\321\200\320\265\320\264\320\270 \320\275\320\265\321\203\320\261\321\213\320\262\320\260\321\216\321\211\320\270\321\205 \321\207\320\270\321\201\320\265\320\273 \320\270\321\211\320\265\321\202 \320\277\320\276\320\267\320\270\321\206\320\270\321\216,"
l_.str.6: ; @.str.6
.asciz "%u"
l_.str.7: ; @.str.7
.asciz "INPUT.txt"
l_.str.8: ; @.str.8
.asciz "r"
l_.str.11: ; @.str.11
.asciz "\320\241\321\207\320\270\321\202\320\260\320\275\320\260 \321\201\321\202\321\200\320\276\320\272\320\260: %s\n"
l_.str.12: ; @.str.12
.asciz "\320\241\321\207\320\270\321\202\320\260\320\275 \320\277\321\203\321\202\321\214: %s\n"
l_.str.13: ; @.str.13
.asciz "%d"
l_.str.15: ; @.str.15
.asciz "OUTPUT.txt"
l_.str.16: ; @.str.16
.asciz "w"
l_.str.17: ; @.str.17
.asciz "%d "
l_str: ; @str
.asciz "-------------main.c-------------"
l_str.20: ; @str.20
.asciz "- - - - - \320\227\320\260\320\264\320\260\321\207\320\260 2.19 - - - - -"
l_str.21: ; @str.21
.asciz "\320\275\320\260 \320\272\320\276\321\202\320\276\321\200\321\203\321\216 \320\274\320\276\320\266\320\275\320\276 \320\277\320\276\321\201\321\202\320\260\320\262\320\270\321\202\321\214 \320\264\320\260\320\275\320\275\320\276\320\265 \321\207\320\270\321\201\320\273\320\276"
l_str.22: ; @str.22
.asciz "\320\237\321\203\321\201\321\202\321\214 \320\262 \320\274\320\260\321\201\321\201\320\270\320\262\320\265 \321\206\320\265\320\273\321\213\320\265 \321\207\320\270\321\201\320\273\320\260"
l_str.23: ; @str.23
.asciz "\320\245\320\276\321\202\320\270\321\202\320\265 \320\262\320\262\320\265\321\201\321\202\320\270 \320\270\320\274\321\217 \321\204\320\260\320\271\320\273\320\260 \320\262\321\205\320\276\320\264\320\275\321\213\321\205 \320\264\320\260\320\275\320\275\321\213\321\205 \321\201\320\260\320\274\320\276\321\201\321\202\320\276\321\217\321\202\320\265\320\273\321\214\320\275\320\276 (1)? (0/1)"
l_str.24: ; @str.24
.asciz "\320\235\320\260\320\277\320\270\321\210\320\270\321\202\320\265 \320\265\320\263\320\276 \320\260\320\264\321\200\320\265\321\201-\320\270\320\274\321\217 \320\262 \321\202\320\265\320\272\321\203\321\211\320\265\320\271 \320\261\320\270\320\261\320\273\320\270\320\276\321\202\320\265\320\272\320\265"
l_str.25: ; @str.25
.asciz "\320\236\320\263\321\200\320\260\320\275\320\270\321\207\320\265\320\275\320\270\320\265 259 \321\201\320\270\320\274\320\262\320\276\320\273\320\276\320\262"
l_str.26: ; @str.26
.asciz "\320\244\320\260\320\271\320\273 \320\275\320\265 \321\203\320\264\320\260\321\221\321\202\321\201\321\217 \320\276\321\202\320\272\321\200\321\213\321\202\321\214"
l_str.27: ; @str.27
.asciz "\320\222\321\213\320\262\320\265\321\201\321\202\320\270 \320\276\321\202\320\262\320\265\321\202 \320\262 \321\204\320\260\320\271\320\273 (0) \320\270\320\273\320\270 \320\275\320\260 \321\215\320\272\321\200\320\260\320\275 (1)? (0/1)"
.subsections_via_symbols
| the_stack_data/150142880.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function main
LCPI0_0:
.long 0x3f000000 ## float 0.5
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
leaq L_.str(%rip), %r14
leaq L_.str.1(%rip), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.2(%rip), %rbx
leaq -24(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
leaq L_.str.3(%rip), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
leaq -20(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
movss -24(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addss -20(%rbp), %xmm0
mulss LCPI0_0(%rip), %xmm0
cvtss2sd %xmm0, %xmm0
leaq L_.str.4(%rip), %rdi
movb $1, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s"
L_.str.1: ## @.str.1
.asciz "enter the frist subject marks :"
L_.str.2: ## @.str.2
.asciz "%f"
L_.str.3: ## @.str.3
.asciz "enter the second subject marks :"
L_.str.4: ## @.str.4
.asciz "average is : %.1f"
.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
Lloh0:
adrp x8, l_.str.1@PAGE
Lloh1:
add x8, x8, l_.str.1@PAGEOFF
str x8, [sp]
Lloh2:
adrp x19, l_.str@PAGE
Lloh3:
add x19, x19, l_.str@PAGEOFF
mov x0, x19
bl _printf
add x8, sp, #12
str x8, [sp]
Lloh4:
adrp x20, l_.str.2@PAGE
Lloh5:
add x20, x20, l_.str.2@PAGEOFF
mov x0, x20
bl _scanf
Lloh6:
adrp x8, l_.str.3@PAGE
Lloh7:
add x8, x8, l_.str.3@PAGEOFF
str x8, [sp]
mov x0, x19
bl _printf
add x8, sp, #8
str x8, [sp]
mov x0, x20
bl _scanf
ldp s1, s0, [sp, #8]
fadd s0, s0, s1
fmov s1, #0.50000000
fmul s0, s0, s1
fcvt d0, s0
str d0, [sp]
Lloh8:
adrp x0, l_.str.4@PAGE
Lloh9:
add x0, x0, l_.str.4@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s"
l_.str.1: ; @.str.1
.asciz "enter the frist subject marks :"
l_.str.2: ; @.str.2
.asciz "%f"
l_.str.3: ; @.str.3
.asciz "enter the second subject marks :"
l_.str.4: ; @.str.4
.asciz "average is : %.1f"
.subsections_via_symbols
| the_stack_data/167329969.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function GenerationDelete
_GenerationDelete: ## @GenerationDelete
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movl %edi, %ebx
callq _GenerationReset
movl %ebx, %edi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _free ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _GenerationDelete
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function GenerationDelete
_GenerationDelete: ; @GenerationDelete
.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 _GenerationReset
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _free
.cfi_endproc
; -- End function
.no_dead_strip _GenerationDelete
.subsections_via_symbols
| AnghaBench/postgres/src/backend/utils/mmgr/extr_generation.c_GenerationDelete.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _get_server ## -- Begin function get_server
.p2align 4, 0x90
_get_server: ## @get_server
.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
movq _volumes@GOTPCREL(%rip), %rdi
movl %ebx, %esi
callq _map_int_int_get
testq %rax, %rax
je LBB0_2
## %bb.1:
movl (%rax), %eax
jmp LBB0_3
LBB0_2:
movslq %ebx, %rax
imulq $274877907, %rax, %rax ## imm = 0x10624DD3
movq %rax, %rcx
shrq $63, %rcx
sarq $38, %rax
addl %ecx, %eax
LBB0_3:
## kill: def $eax killed $eax killed $rax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _volumes,4,2 ## @volumes
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _get_server ; -- Begin function get_server
.p2align 2
_get_server: ; @get_server
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
Lloh0:
adrp x0, _volumes@GOTPAGE
Lloh1:
ldr x0, [x0, _volumes@GOTPAGEOFF]
mov x1, x19
bl _map_int_int_get
cbz x0, LBB0_2
; %bb.1:
ldr w0, [x0]
b LBB0_3
LBB0_2:
mov w8, #19923
movk w8, #4194, lsl #16
smull x8, w19, w8
lsr x9, x8, #63
asr x8, x8, #38
add w0, w8, w9
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _volumes,4,2 ; @volumes
.subsections_via_symbols
| AnghaBench/kphp-kdb/photo/extr_photo-data.c_get_server.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function t42_get_name_index
_t42_get_name_index: ## @t42_get_name_index
.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), %rax
testq %rax, %rax
je LBB0_6
## %bb.1:
movq %rsi, %r14
movq %rdi, %r15
xorl %ebx, %ebx
jmp LBB0_2
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
incq %rbx
cmpq %rax, %rbx
jae LBB0_6
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq 16(%r15), %rcx
movq (%rcx,%rbx,8), %rsi
movq (%r14), %rcx
cmpq (%rsi), %rcx
jne LBB0_5
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq %r14, %rdi
callq _ft_strcmp
testl %eax, %eax
je LBB0_7
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movq (%r15), %rax
jmp LBB0_5
LBB0_6:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_7:
movq 8(%r15), %rax
movq (%rax,%rbx,8), %rdi
xorl %esi, %esi
movl $10, %edx
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _ft_strtol ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _t42_get_name_index
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function t42_get_name_index
_t42_get_name_index: ; @t42_get_name_index
.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
ldr x8, [x0]
cbz x8, LBB0_6
; %bb.1:
mov x20, x1
mov x19, x0
mov x21, #0
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x21, x21, #1
cmp x21, x8
b.hs LBB0_6
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x9, [x19, #16]
ldr x1, [x9, x21, lsl #3]
ldr x9, [x20]
ldr x10, [x1]
cmp x9, x10
b.ne LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov x0, x20
bl _ft_strcmp
cbz w0, LBB0_7
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x19]
b LBB0_2
LBB0_6:
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
LBB0_7:
ldr x8, [x19, #8]
ldr x0, [x8, x21, lsl #3]
mov x1, #0
mov w2, #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
b _ft_strtol
.cfi_endproc
; -- End function
.no_dead_strip _t42_get_name_index
.subsections_via_symbols
| AnghaBench/Cinder/src/freetype/type42/extr_t42drivr.c_t42_get_name_index.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function A2XX_SQ_WRAPPING_1_PARAM_WRAP_11
_A2XX_SQ_WRAPPING_1_PARAM_WRAP_11: ## @A2XX_SQ_WRAPPING_1_PARAM_WRAP_11
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, %eax
movq _A2XX_SQ_WRAPPING_1_PARAM_WRAP_11__SHIFT@GOTPCREL(%rip), %rcx
movb (%rcx), %cl
shll %cl, %eax
movq _A2XX_SQ_WRAPPING_1_PARAM_WRAP_11__MASK@GOTPCREL(%rip), %rcx
andl (%rcx), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _A2XX_SQ_WRAPPING_1_PARAM_WRAP_11__SHIFT,4,2 ## @A2XX_SQ_WRAPPING_1_PARAM_WRAP_11__SHIFT
.comm _A2XX_SQ_WRAPPING_1_PARAM_WRAP_11__MASK,4,2 ## @A2XX_SQ_WRAPPING_1_PARAM_WRAP_11__MASK
.no_dead_strip _A2XX_SQ_WRAPPING_1_PARAM_WRAP_11
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function A2XX_SQ_WRAPPING_1_PARAM_WRAP_11
_A2XX_SQ_WRAPPING_1_PARAM_WRAP_11: ; @A2XX_SQ_WRAPPING_1_PARAM_WRAP_11
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _A2XX_SQ_WRAPPING_1_PARAM_WRAP_11__SHIFT@GOTPAGE
Lloh1:
ldr x8, [x8, _A2XX_SQ_WRAPPING_1_PARAM_WRAP_11__SHIFT@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
lsl w8, w0, w8
Lloh3:
adrp x9, _A2XX_SQ_WRAPPING_1_PARAM_WRAP_11__MASK@GOTPAGE
Lloh4:
ldr x9, [x9, _A2XX_SQ_WRAPPING_1_PARAM_WRAP_11__MASK@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
and w0, w8, w9
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _A2XX_SQ_WRAPPING_1_PARAM_WRAP_11__SHIFT,4,2 ; @A2XX_SQ_WRAPPING_1_PARAM_WRAP_11__SHIFT
.comm _A2XX_SQ_WRAPPING_1_PARAM_WRAP_11__MASK,4,2 ; @A2XX_SQ_WRAPPING_1_PARAM_WRAP_11__MASK
.no_dead_strip _A2XX_SQ_WRAPPING_1_PARAM_WRAP_11
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a2xx.xml.h_A2XX_SQ_WRAPPING_1_PARAM_WRAP_11.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _rtw_createbss_cmd ## -- Begin function rtw_createbss_cmd
.p2align 4, 0x90
_rtw_createbss_cmd: ## @rtw_createbss_cmd
.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 __module_rtl871x_cmd_c_@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq __drv_info_@GOTPCREL(%rip), %rax
movl (%rax), %esi
movslq 16(%r14), %rdx
callq _RT_TRACE
movl $40, %edi
callq _rtw_zmalloc
testq %rax, %rax
je LBB0_1
## %bb.2:
movq %rax, %rbx
leaq 24(%r14), %r15
movq %rax, %rdi
addq $36, %rdi
callq _INIT_LIST_HEAD
movq __CreateBss_CMD_@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 32(%rbx)
movq %r14, (%rbx)
movq %r14, %rdi
callq _get_wlan_bssid_ex_sz
movl %eax, 8(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 16(%rbx)
movl %eax, (%r14)
movq %r15, %rdi
movq %rbx, %rsi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _rtw_enqueue_cmd ## TAILCALL
LBB0_1:
movq __FAIL@GOTPCREL(%rip), %rax
movl (%rax), %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm __SUCCESS,4,2 ## @_SUCCESS
.comm __module_rtl871x_cmd_c_,4,2 ## @_module_rtl871x_cmd_c_
.comm __drv_info_,4,2 ## @_drv_info_
.comm __FAIL,4,2 ## @_FAIL
.comm __CreateBss_CMD_,4,2 ## @_CreateBss_CMD_
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _rtw_createbss_cmd ; -- Begin function rtw_createbss_cmd
.p2align 2
_rtw_createbss_cmd: ; @rtw_createbss_cmd
.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, __module_rtl871x_cmd_c_@GOTPAGE
Lloh1:
ldr x8, [x8, __module_rtl871x_cmd_c_@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
Lloh3:
adrp x8, __drv_info_@GOTPAGE
Lloh4:
ldr x8, [x8, __drv_info_@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
ldrsw x2, [x19, #16]
bl _RT_TRACE
mov w0, #40
bl _rtw_zmalloc
cbz x0, LBB0_2
; %bb.1:
mov x20, x0
add x0, x0, #36
bl _INIT_LIST_HEAD
Lloh6:
adrp x8, __CreateBss_CMD_@GOTPAGE
Lloh7:
ldr x8, [x8, __CreateBss_CMD_@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
str w8, [x20, #32]
str x19, [x20]
mov x0, x19
bl _get_wlan_bssid_ex_sz
str w0, [x20, #8]
stp xzr, xzr, [x20, #16]
str w0, [x19], #24
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 _rtw_enqueue_cmd
LBB0_2:
Lloh9:
adrp x8, __FAIL@GOTPAGE
Lloh10:
ldr x8, [x8, __FAIL@GOTPAGEOFF]
Lloh11:
ldr w0, [x8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.cfi_endproc
; -- End function
.comm __SUCCESS,4,2 ; @_SUCCESS
.comm __module_rtl871x_cmd_c_,4,2 ; @_module_rtl871x_cmd_c_
.comm __drv_info_,4,2 ; @_drv_info_
.comm __FAIL,4,2 ; @_FAIL
.comm __CreateBss_CMD_,4,2 ; @_CreateBss_CMD_
.subsections_via_symbols
| AnghaBench/linux/drivers/staging/rtl8723bs/core/extr_rtw_cmd.c_rtw_createbss_cmd.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _snd_sf_free ## -- Begin function snd_sf_free
.p2align 4, 0x90
_snd_sf_free: ## @snd_sf_free
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB0_4
## %bb.1:
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 _lock_preset
movq 8(%rbx), %rax
testq %rax, %rax
je LBB0_3
## %bb.2:
movl (%rbx), %edi
callq *%rax
LBB0_3:
movq %rbx, %rdi
callq _snd_sf_clear
movq %rbx, %rdi
callq _unlock_preset
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _kfree ## TAILCALL
LBB0_4:
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _snd_sf_free ; -- Begin function snd_sf_free
.p2align 2
_snd_sf_free: ; @snd_sf_free
.cfi_startproc
; %bb.0:
cbz x0, LBB0_4
; %bb.1:
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 _lock_preset
ldr x8, [x19, #8]
cbz x8, LBB0_3
; %bb.2:
ldr w0, [x19]
blr x8
LBB0_3:
mov x0, x19
bl _snd_sf_clear
mov x0, x19
bl _unlock_preset
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _kfree
LBB0_4:
.cfi_def_cfa wsp, 0
.cfi_same_value w30
.cfi_same_value w29
.cfi_same_value w19
.cfi_same_value w20
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/sound/synth/emux/extr_soundfont.c_snd_sf_free.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _atoi ## -- Begin function atoi
.p2align 4, 0x90
_atoi: ## @atoi
.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 __DefaultRuneLocale@GOTPCREL(%rip), %r15
movl $16384, %r12d ## imm = 0x4000
jmp LBB0_1
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movl $16384, %esi ## imm = 0x4000
movl %r14d, %edi
callq ___maskrune
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
incq %rbx
testl %eax, %eax
je LBB0_5
LBB0_1: ## =>This Inner Loop Header: Depth=1
movsbl (%rbx), %r14d
testl %r14d, %r14d
js LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl %r14d, %eax
movl 60(%r15,%rax,4), %eax
andl %r12d, %eax
jmp LBB0_4
LBB0_5:
cmpl $43, %r14d
je LBB0_8
## %bb.6:
cmpl $45, %r14d
jne LBB0_7
## %bb.13:
xorl %ecx, %ecx
jmp LBB0_9
LBB0_7:
decq %rbx
LBB0_8:
movb $1, %cl
LBB0_9:
movsbl (%rbx), %eax
addl $-48, %eax
xorl %edx, %edx
cmpl $9, %eax
ja LBB0_12
## %bb.10:
incq %rbx
xorl %edx, %edx
.p2align 4, 0x90
LBB0_11: ## =>This Inner Loop Header: Depth=1
addl %edx, %edx
leal (%rdx,%rdx,4), %edx
subl %eax, %edx
movsbl (%rbx), %eax
addl $-48, %eax
incq %rbx
cmpl $10, %eax
jb LBB0_11
LBB0_12:
movl %edx, %eax
negl %eax
testb %cl, %cl
cmovel %edx, %eax
popq %rbx
popq %r12
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 _atoi ; -- Begin function atoi
.p2align 2
_atoi: ; @atoi
.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 x21, __DefaultRuneLocale@GOTPAGE
Lloh1:
ldr x21, [x21, __DefaultRuneLocale@GOTPAGEOFF]
b LBB0_2
LBB0_1: ; in Loop: Header=BB0_2 Depth=1
mov x0, x19
mov w1, #16384
bl ___maskrune
mov x8, x0
add x0, x20, #1
cbz w8, LBB0_4
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x20, x0
ldrsb w19, [x0]
tbnz w19, #31, LBB0_1
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
add x8, x21, w19, uxtw #2
ldr w8, [x8, #60]
and w8, w8, #0x4000
add x0, x20, #1
cbnz w8, LBB0_2
LBB0_4:
sub x8, x0, #1
mov w9, #1
mov w10, #1
cmp w19, #45
csel w10, wzr, w10, eq
csinc x11, x8, x20, ne
cmp w19, #43
csel w8, w9, w10, eq
csinc x10, x11, x20, ne
ldrsb w9, [x10]
sub w11, w9, #48
cmp w11, #9
b.hi LBB0_7
; %bb.5:
mov w9, #0
add x10, x10, #1
mov w12, #10
LBB0_6: ; =>This Inner Loop Header: Depth=1
neg w11, w11
madd w9, w9, w12, w11
ldrsb w11, [x10], #1
sub w11, w11, #48
cmp w11, #10
b.lo LBB0_6
b LBB0_8
LBB0_7:
mov w9, #0
LBB0_8:
cmp w8, #0
cneg w0, w9, ne
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
.subsections_via_symbols
| the_stack_data/115022.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function __blk_rq_map_user_iov
___blk_rq_map_user_iov: ## @__blk_rq_map_user_iov
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %r14
movq (%rdi), %rdi
testl %r8d, %r8d
je LBB0_2
## %bb.1:
callq _bio_copy_user_iov
jmp LBB0_3
LBB0_2:
movq %rdx, %rsi
movl %ecx, %edx
callq _bio_map_user_iov
LBB0_3:
movq %rax, %rbx
movq %rax, -24(%rbp)
movq %rax, %rdi
callq _IS_ERR
testq %rax, %rax
je LBB0_4
## %bb.8:
movq %rbx, %rdi
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
jmp _PTR_ERR ## TAILCALL
LBB0_4:
movq _REQ_OP_MASK@GOTPCREL(%rip), %rax
movl (%rax), %eax
notl %eax
andl %eax, (%rbx)
movq %r14, %rdi
callq _req_op
orl %eax, (%rbx)
leaq -24(%rbp), %rsi
movq %r14, %rdi
callq _blk_rq_append_bio
testl %eax, %eax
je LBB0_6
## %bb.5:
movl %eax, %r14d
movq %rbx, %rdi
callq ___blk_rq_unmap_user
jmp LBB0_7
LBB0_6:
movq -24(%rbp), %rdi
callq _bio_get
xorl %r14d, %r14d
LBB0_7:
movl %r14d, %eax
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _REQ_OP_MASK,4,2 ## @REQ_OP_MASK
.no_dead_strip ___blk_rq_map_user_iov
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function __blk_rq_map_user_iov
___blk_rq_map_user_iov: ; @__blk_rq_map_user_iov
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr x0, [x0]
cbz w4, LBB0_2
; %bb.1:
bl _bio_copy_user_iov
b LBB0_3
LBB0_2:
mov x1, x2
mov x2, x3
bl _bio_map_user_iov
LBB0_3:
mov x20, x0
str x0, [sp, #8]
bl _IS_ERR
cbz x0, LBB0_5
; %bb.4:
mov x0, x20
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
b _PTR_ERR
LBB0_5:
Lloh0:
adrp x8, _REQ_OP_MASK@GOTPAGE
Lloh1:
ldr x8, [x8, _REQ_OP_MASK@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
ldr w9, [x20]
bic w8, w9, w8
str w8, [x20]
mov x0, x19
bl _req_op
ldr w8, [x20]
orr w8, w8, w0
str w8, [x20]
add x1, sp, #8
mov x0, x19
bl _blk_rq_append_bio
mov x19, x0
cbz w0, LBB0_7
; %bb.6:
mov x0, x20
bl ___blk_rq_unmap_user
b LBB0_8
LBB0_7:
ldr x0, [sp, #8]
bl _bio_get
LBB0_8:
mov x0, x19
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 _REQ_OP_MASK,4,2 ; @REQ_OP_MASK
.no_dead_strip ___blk_rq_map_user_iov
.subsections_via_symbols
| AnghaBench/linux/block/extr_blk-map.c___blk_rq_map_user_iov.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _doubleValue ## -- Begin function doubleValue
.p2align 4, 0x90
_doubleValue: ## @doubleValue
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
## kill: def $edi killed $edi def $rdi
leal (%rdi,%rdi), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
.p2align 4, 0x90
LBB1_1: ## =>This Inner Loop Header: Depth=1
jmp LBB1_1
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _doubleValue ; -- Begin function doubleValue
.p2align 2
_doubleValue: ; @doubleValue
.cfi_startproc
; %bb.0:
lsl w0, w0, #1
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
LBB1_1: ; =>This Inner Loop Header: Depth=1
b LBB1_1
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/22193.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _agent_initialize ## -- Begin function agent_initialize
.p2align 4, 0x90
_agent_initialize: ## @agent_initialize
.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 $160, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -24(%rbp)
movl $8, %edi
callq _malloc
movq _agent@GOTPCREL(%rip), %rbx
movq %rax, (%rbx)
movq ___stdinp@GOTPCREL(%rip), %r14
movq (%r14), %rdi
leaq L_.str(%rip), %rsi
leaq -164(%rbp), %rdx
xorl %eax, %eax
callq _fscanf
movl -164(%rbp), %eax
movq (%rbx), %rcx
movl %eax, (%rcx)
movq (%r14), %rdi
leaq L_.str.1(%rip), %rsi
leaq -160(%rbp), %rdx
xorl %eax, %eax
callq _fscanf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -24(%rbp), %rax
jne LBB0_2
## %bb.1:
addq $160, %rsp
popq %rbx
popq %r14
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.globl _agent_end_turn ## -- Begin function agent_end_turn
.p2align 4, 0x90
_agent_end_turn: ## @agent_end_turn
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_str(%rip), %rdi
callq _puts
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
popq %rbp
jmp _fflush ## TAILCALL
.cfi_endproc
## -- End function
.globl _agent_update ## -- Begin function agent_update
.p2align 4, 0x90
_agent_update: ## @agent_update
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $144, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str(%rip), %rsi
leaq -144(%rbp), %rdx
xorl %eax, %eax
callq _fscanf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -8(%rbp), %rax
jne LBB2_2
## %bb.1:
addq $144, %rsp
popq %rbp
retq
LBB2_2:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _agent,8,3 ## @agent
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz "%s"
L_str: ## @str
.asciz "D_FINISH"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _agent_initialize ; -- Begin function agent_initialize
.p2align 2
_agent_initialize: ; @agent_initialize
.cfi_startproc
; %bb.0:
sub sp, sp, #192
.cfi_def_cfa_offset 192
stp x20, x19, [sp, #160] ; 16-byte Folded Spill
stp x29, x30, [sp, #176] ; 16-byte Folded Spill
add x29, sp, #176
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-24]
mov w0, #8
bl _malloc
Lloh3:
adrp x19, _agent@GOTPAGE
Lloh4:
ldr x19, [x19, _agent@GOTPAGEOFF]
str x0, [x19]
Lloh5:
adrp x20, ___stdinp@GOTPAGE
Lloh6:
ldr x20, [x20, ___stdinp@GOTPAGEOFF]
ldr x0, [x20]
add x8, sp, #20
str x8, [sp]
Lloh7:
adrp x1, l_.str@PAGE
Lloh8:
add x1, x1, l_.str@PAGEOFF
bl _fscanf
ldr w8, [sp, #20]
ldr x9, [x19]
str w8, [x9]
ldr x0, [x20]
add x8, sp, #24
str x8, [sp]
Lloh9:
adrp x1, l_.str.1@PAGE
Lloh10:
add x1, x1, l_.str.1@PAGEOFF
bl _fscanf
ldur x8, [x29, #-24]
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_2
; %bb.1:
ldp x29, x30, [sp, #176] ; 16-byte Folded Reload
ldp x20, x19, [sp, #160] ; 16-byte Folded Reload
add sp, sp, #192
ret
LBB0_2:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.globl _agent_end_turn ; -- Begin function agent_end_turn
.p2align 2
_agent_end_turn: ; @agent_end_turn
.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
Lloh14:
adrp x0, l_str@PAGE
Lloh15:
add x0, x0, l_str@PAGEOFF
bl _puts
Lloh16:
adrp x8, ___stdoutp@GOTPAGE
Lloh17:
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
Lloh18:
ldr x0, [x8]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
b _fflush
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpAdd Lloh14, Lloh15
.cfi_endproc
; -- End function
.globl _agent_update ; -- Begin function agent_update
.p2align 2
_agent_update: ; @agent_update
.cfi_startproc
; %bb.0:
sub sp, sp, #160
.cfi_def_cfa_offset 160
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
Lloh19:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh20:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
ldr x8, [x8]
stur x8, [x29, #-8]
Lloh22:
adrp x8, ___stdinp@GOTPAGE
Lloh23:
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
Lloh24:
ldr x0, [x8]
add x8, sp, #8
str x8, [sp]
Lloh25:
adrp x1, l_.str@PAGE
Lloh26:
add x1, x1, l_.str@PAGEOFF
bl _fscanf
ldur x8, [x29, #-8]
Lloh27:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh28:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh29:
ldr x9, [x9]
cmp x9, x8
b.ne LBB2_2
; %bb.1:
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
add sp, sp, #160
ret
LBB2_2:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.cfi_endproc
; -- End function
.comm _agent,8,3 ; @agent
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "%s"
l_str: ; @str
.asciz "D_FINISH"
.subsections_via_symbols
| the_stack_data/154831706.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _foo ## -- Begin function foo
.p2align 4, 0x90
_foo: ## @foo
.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 _foo ; -- Begin function foo
.p2align 2
_foo: ; @foo
.cfi_startproc
; %bb.0:
mov w0, #0
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/119798.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function _setifsparams
__setifsparams: ## @_setifsparams
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movups (%rsi), %xmm0
movups %xmm0, (%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip __setifsparams
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function _setifsparams
__setifsparams: ; @_setifsparams
.cfi_startproc
; %bb.0:
ldr q0, [x1]
str q0, [x0]
ret
.cfi_endproc
; -- End function
.no_dead_strip __setifsparams
.subsections_via_symbols
| AnghaBench/freebsd/sys/net80211/extr_ieee80211_proto.c__setifsparams.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _PQencryptPasswordConn ## -- Begin function PQencryptPasswordConn
.p2align 4, 0x90
_PQencryptPasswordConn: ## @PQencryptPasswordConn
.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 ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
testq %rdi, %rdi
je LBB0_24
## %bb.1:
movq %rcx, %r15
movq %rsi, %r14
movq %rdi, %rbx
movq %rdx, %r13
testq %rcx, %rcx
je LBB0_2
LBB0_11:
leaq L_.str.3(%rip), %rsi
movq %r15, %rdi
callq _strcmp
testq %rax, %rax
je LBB0_13
## %bb.12:
leaq L_.str.4(%rip), %rsi
movq %r15, %rdi
callq _strcmp
testq %rax, %rax
jne LBB0_14
LBB0_13:
leaq L_.str.5(%rip), %r15
LBB0_14:
leaq L_.str.6(%rip), %rsi
movq %r15, %rdi
callq _strcmp
testq %rax, %rax
je LBB0_21
## %bb.15:
leaq L_.str.5(%rip), %rsi
movq %r15, %rdi
callq _strcmp
testq %rax, %rax
je LBB0_16
## %bb.20:
leaq L_.str.7(%rip), %rdi
callq _libpq_gettext
movq %rbx, %rdi
movl %eax, %esi
movq %r15, %rdx
xorl %eax, %eax
callq _printfPQExpBuffer
jmp LBB0_24
LBB0_2:
leaq L_.str(%rip), %rsi
movq %rbx, %rdi
callq _PQexec
testq %rax, %rax
je LBB0_24
## %bb.3:
movq %rax, %r12
movq %rax, %rdi
callq _PQresultStatus
movq _PGRES_TUPLES_OK@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_4
## %bb.5:
movq %r12, %rdi
callq _PQntuples
cmpl $1, %eax
je LBB0_8
## %bb.6:
movq %r12, %rdi
callq _PQnfields
cmpl $1, %eax
jne LBB0_7
LBB0_8:
movq %r12, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq _PQgetvalue
movq %rax, %r15
movq %rax, %rdi
callq _strlen
cmpl $51, %eax
jl LBB0_10
## %bb.9:
movq %r12, %rdi
callq _PQclear
leaq L_.str.2(%rip), %rdi
jmp LBB0_23
LBB0_21:
movq %r14, %rdi
callq _pg_fe_scram_build_secret
testq %rax, %rax
jne LBB0_25
jmp LBB0_22
LBB0_16:
movq _MD5_PASSWD_LEN@GOTPCREL(%rip), %rax
movq (%rax), %rdi
incq %rdi
callq _malloc
testq %rax, %rax
je LBB0_22
## %bb.17:
movq %r13, %rdi
movq %rax, %r12
callq _strlen
movq %r14, %rdi
movq %r13, %rsi
movl %eax, %edx
movq %r12, %r14
movq %r12, %rcx
callq _pg_md5_encrypt
testl %eax, %eax
je LBB0_19
## %bb.18:
movq %r14, %rax
jmp LBB0_25
LBB0_4:
movq %r12, %rdi
callq _PQclear
jmp LBB0_24
LBB0_10:
movq %r15, %rsi
leaq -112(%rbp), %r15
movq %r15, %rdi
callq _strcpy
movq %r12, %rdi
callq _PQclear
jmp LBB0_11
LBB0_19:
movq %r14, %rdi
callq _free
LBB0_22:
leaq L_.str.8(%rip), %rdi
LBB0_23:
callq _libpq_gettext
movq %rbx, %rdi
movl %eax, %esi
xorl %eax, %eax
callq _printfPQExpBuffer
LBB0_24:
xorl %eax, %eax
LBB0_25:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_27
## %bb.26:
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_7:
movq %r12, %rdi
callq _PQclear
leaq L_.str.1(%rip), %rdi
jmp LBB0_23
LBB0_27:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "show password_encryption"
.comm _PGRES_TUPLES_OK,8,3 ## @PGRES_TUPLES_OK
L_.str.1: ## @.str.1
.asciz "unexpected shape of result set returned for SHOW\n"
L_.str.2: ## @.str.2
.asciz "password_encryption value too long\n"
L_.str.3: ## @.str.3
.asciz "on"
L_.str.4: ## @.str.4
.asciz "off"
L_.str.5: ## @.str.5
.asciz "md5"
L_.str.6: ## @.str.6
.asciz "scram-sha-256"
.comm _MD5_PASSWD_LEN,8,3 ## @MD5_PASSWD_LEN
L_.str.7: ## @.str.7
.asciz "unrecognized password encryption algorithm \"%s\"\n"
L_.str.8: ## @.str.8
.asciz "out of memory\n"
.comm _MAX_ALGORITHM_NAME_LEN,4,2 ## @MAX_ALGORITHM_NAME_LEN
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _PQencryptPasswordConn ; -- Begin function PQencryptPasswordConn
.p2align 2
_PQencryptPasswordConn: ; @PQencryptPasswordConn
.cfi_startproc
; %bb.0:
sub sp, sp, #144
stp x24, x23, [sp, #80] ; 16-byte Folded Spill
stp x22, x21, [sp, #96] ; 16-byte Folded Spill
stp x20, x19, [sp, #112] ; 16-byte Folded Spill
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-56]
cbz x0, LBB0_25
; %bb.1:
mov x21, x3
mov x20, x1
mov x19, x0
mov x24, x2
cbz x3, LBB0_8
LBB0_2:
Lloh3:
adrp x1, l_.str.3@PAGE
Lloh4:
add x1, x1, l_.str.3@PAGEOFF
mov x0, x21
bl _strcmp
cbz x0, LBB0_4
; %bb.3:
Lloh5:
adrp x1, l_.str.4@PAGE
Lloh6:
add x1, x1, l_.str.4@PAGEOFF
mov x0, x21
bl _strcmp
cbnz x0, LBB0_5
LBB0_4:
Lloh7:
adrp x21, l_.str.5@PAGE
Lloh8:
add x21, x21, l_.str.5@PAGEOFF
LBB0_5:
Lloh9:
adrp x1, l_.str.6@PAGE
Lloh10:
add x1, x1, l_.str.6@PAGEOFF
mov x0, x21
bl _strcmp
cbz x0, LBB0_14
; %bb.6:
Lloh11:
adrp x1, l_.str.5@PAGE
Lloh12:
add x1, x1, l_.str.5@PAGEOFF
mov x0, x21
bl _strcmp
cbz x0, LBB0_15
; %bb.7:
Lloh13:
adrp x0, l_.str.7@PAGE
Lloh14:
add x0, x0, l_.str.7@PAGEOFF
bl _libpq_gettext
mov x1, x0
str x21, [sp]
b LBB0_23
LBB0_8:
Lloh15:
adrp x1, l_.str@PAGE
Lloh16:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _PQexec
cbz x0, LBB0_25
; %bb.9:
mov x22, x0
bl _PQresultStatus
Lloh17:
adrp x8, _PGRES_TUPLES_OK@GOTPAGE
Lloh18:
ldr x8, [x8, _PGRES_TUPLES_OK@GOTPAGEOFF]
Lloh19:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_18
; %bb.10:
mov x0, x22
bl _PQntuples
cmp w0, #1
b.eq LBB0_12
; %bb.11:
mov x0, x22
bl _PQnfields
cmp w0, #1
b.ne LBB0_27
LBB0_12:
mov x0, x22
mov w1, #0 ; =0x0
mov w2, #0 ; =0x0
bl _PQgetvalue
mov x23, x0
bl _strlen
cmp w0, #51
b.lt LBB0_19
; %bb.13:
mov x0, x22
bl _PQclear
Lloh20:
adrp x0, l_.str.2@PAGE
Lloh21:
add x0, x0, l_.str.2@PAGEOFF
b LBB0_22
LBB0_14:
mov x0, x20
bl _pg_fe_scram_build_secret
cbnz x0, LBB0_25
b LBB0_21
LBB0_15:
Lloh22:
adrp x8, _MD5_PASSWD_LEN@GOTPAGE
Lloh23:
ldr x8, [x8, _MD5_PASSWD_LEN@GOTPAGEOFF]
Lloh24:
ldr x8, [x8]
add x0, x8, #1
bl _malloc
cbz x0, LBB0_21
; %bb.16:
mov x22, x0
mov x0, x24
bl _strlen
mov x2, x0
mov x0, x20
mov x1, x24
mov x20, x22
mov x3, x22
bl _pg_md5_encrypt
cbz w0, LBB0_20
; %bb.17:
mov x0, x20
b LBB0_25
LBB0_18:
mov x0, x22
bl _PQclear
b LBB0_24
LBB0_19:
add x21, sp, #23
add x0, sp, #23
mov x1, x23
bl _strcpy
mov x0, x22
bl _PQclear
b LBB0_2
LBB0_20:
mov x0, x20
bl _free
LBB0_21:
Lloh25:
adrp x0, l_.str.8@PAGE
Lloh26:
add x0, x0, l_.str.8@PAGEOFF
LBB0_22:
bl _libpq_gettext
mov x1, x0
LBB0_23:
mov x0, x19
bl _printfPQExpBuffer
LBB0_24:
mov x0, #0 ; =0x0
LBB0_25:
ldur x8, [x29, #-56]
Lloh27:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh28:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh29:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_28
; %bb.26:
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
ldp x20, x19, [sp, #112] ; 16-byte Folded Reload
ldp x22, x21, [sp, #96] ; 16-byte Folded Reload
ldp x24, x23, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #144
ret
LBB0_27:
mov x0, x22
bl _PQclear
Lloh30:
adrp x0, l_.str.1@PAGE
Lloh31:
add x0, x0, l_.str.1@PAGEOFF
b LBB0_22
LBB0_28:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpAdd Lloh30, Lloh31
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "show password_encryption"
.comm _PGRES_TUPLES_OK,8,3 ; @PGRES_TUPLES_OK
l_.str.1: ; @.str.1
.asciz "unexpected shape of result set returned for SHOW\n"
l_.str.2: ; @.str.2
.asciz "password_encryption value too long\n"
l_.str.3: ; @.str.3
.asciz "on"
l_.str.4: ; @.str.4
.asciz "off"
l_.str.5: ; @.str.5
.asciz "md5"
l_.str.6: ; @.str.6
.asciz "scram-sha-256"
.comm _MD5_PASSWD_LEN,8,3 ; @MD5_PASSWD_LEN
l_.str.7: ; @.str.7
.asciz "unrecognized password encryption algorithm \"%s\"\n"
l_.str.8: ; @.str.8
.asciz "out of memory\n"
.comm _MAX_ALGORITHM_NAME_LEN,4,2 ; @MAX_ALGORITHM_NAME_LEN
.subsections_via_symbols
| assembly_file_23489.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function adv7533_parse_dt
_adv7533_parse_dt: ## @adv7533_parse_dt
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _ENODEV@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ENODEV,4,2 ## @ENODEV
.no_dead_strip _adv7533_parse_dt
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function adv7533_parse_dt
_adv7533_parse_dt: ; @adv7533_parse_dt
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _ENODEV@GOTPAGE
Lloh1:
ldr x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
neg w0, w8
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _ENODEV,4,2 ; @ENODEV
.no_dead_strip _adv7533_parse_dt
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/bridge/adv7511/extr_adv7511.h_adv7533_parse_dt.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function php_ap_getword
_php_ap_getword: ## @php_ap_getword
.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, %r12d
movq %rsi, %r14
movq (%rsi), %rdi
movb (%rdi), %sil
testb %sil, %sil
sete %cl
movq %rdi, %rbx
je LBB0_19
## %bb.1:
cmpb %r12b, %sil
je LBB0_19
## %bb.2:
movq %rdi, %rbx
.p2align 4, 0x90
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_7 Depth 2
cmpb $39, %sil
je LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
cmpb $34, %sil
jne LBB0_13
LBB0_5: ## in Loop: Header=BB0_3 Depth=1
movb 1(%rbx), %al
incq %rbx
testb %al, %al
sete %cl
je LBB0_15
## %bb.6: ## in Loop: Header=BB0_3 Depth=1
cmpb %sil, %al
je LBB0_15
.p2align 4, 0x90
LBB0_7: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
cmpb $92, %al
jne LBB0_10
## %bb.8: ## in Loop: Header=BB0_7 Depth=2
movzbl 1(%rbx), %ecx
testb %cl, %cl
je LBB0_10
## %bb.9: ## in Loop: Header=BB0_7 Depth=2
movl $2, %eax
cmpb %sil, %cl
je LBB0_11
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_7 Depth=2
movl $1, %eax
LBB0_11: ## in Loop: Header=BB0_7 Depth=2
leaq (%rbx,%rax), %rdx
movzbl (%rbx,%rax), %eax
testb %al, %al
sete %cl
je LBB0_16
## %bb.12: ## in Loop: Header=BB0_7 Depth=2
movq %rdx, %rbx
cmpb %sil, %al
jne LBB0_7
jmp LBB0_16
.p2align 4, 0x90
LBB0_13: ## in Loop: Header=BB0_3 Depth=1
incq %rbx
jmp LBB0_17
.p2align 4, 0x90
LBB0_15: ## in Loop: Header=BB0_3 Depth=1
movq %rbx, %rdx
LBB0_16: ## in Loop: Header=BB0_3 Depth=1
xorb $1, %cl
movzbl %cl, %ebx
addq %rdx, %rbx
LBB0_17: ## in Loop: Header=BB0_3 Depth=1
movb (%rbx), %sil
testb %sil, %sil
sete %cl
je LBB0_19
## %bb.18: ## in Loop: Header=BB0_3 Depth=1
cmpb %r12b, %sil
jne LBB0_3
LBB0_19:
testb %cl, %cl
je LBB0_21
## %bb.20:
callq _estrdup
movq %rax, %r15
movq (%r14), %rdi
callq _strlen
movslq %eax, %rbx
addq (%r14), %rbx
jmp LBB0_23
LBB0_21:
movl %ebx, %esi
subl %edi, %esi
callq _estrndup
movq %rax, %r15
decq %rbx
.p2align 4, 0x90
LBB0_22: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rax
incq %rbx
cmpb %r12b, 1(%rax)
je LBB0_22
LBB0_23:
movq %rbx, (%r14)
movq %r15, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _php_ap_getword
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function php_ap_getword
_php_ap_getword: ; @php_ap_getword
.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
and w21, w2, #0xff
ldr x0, [x1]
ldrb w8, [x0]
cmp w8, #0
cset w9, eq
mov x22, x0
b LBB0_3
LBB0_1: ; in Loop: Header=BB0_3 Depth=1
eor w8, w10, #0x1
add x22, x22, x8
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
ldrb w8, [x22]
cmp w8, #0
cset w9, eq
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_9 Depth 2
ccmp w8, w21, #4, ne
b.eq LBB0_14
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
cmp w8, #39
b.eq LBB0_6
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
cmp w8, #34
b.ne LBB0_13
LBB0_6: ; in Loop: Header=BB0_3 Depth=1
ldrb w9, [x22, #1]!
b LBB0_9
LBB0_7: ; in Loop: Header=BB0_9 Depth=2
mov w9, #1
LBB0_8: ; in Loop: Header=BB0_9 Depth=2
add x22, x22, x9
ldrb w9, [x22]
LBB0_9: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
cmp w9, #0
cset w10, eq
ccmp w9, w8, #4, ne
b.eq LBB0_1
; %bb.10: ; in Loop: Header=BB0_9 Depth=2
cmp w9, #92
b.ne LBB0_7
; %bb.11: ; in Loop: Header=BB0_9 Depth=2
ldrb w9, [x22, #1]
cmp w9, #0
ccmp w9, w8, #0, ne
b.ne LBB0_7
; %bb.12: ; in Loop: Header=BB0_9 Depth=2
mov w9, #2
b LBB0_8
LBB0_13: ; in Loop: Header=BB0_3 Depth=1
add x22, x22, #1
b LBB0_2
LBB0_14:
cbz w9, LBB0_16
; %bb.15:
bl _estrdup
mov x20, x0
ldr x0, [x19]
bl _strlen
ldr x8, [x19]
add x8, x8, w0, sxtw
b LBB0_18
LBB0_16:
sub w1, w22, w0
bl _estrndup
mov x20, x0
sub x8, x22, #1
LBB0_17: ; =>This Inner Loop Header: Depth=1
ldrb w9, [x8, #1]!
cmp w9, w21
b.eq LBB0_17
LBB0_18:
str x8, [x19]
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 _php_ap_getword
.subsections_via_symbols
| AnghaBench/php-src/main/extr_rfc1867.c_php_ap_getword.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ar9300_get_default_dfs_thresh ## -- Begin function ar9300_get_default_dfs_thresh
.p2align 4, 0x90
_ar9300_get_default_dfs_thresh: ## @ar9300_get_default_dfs_thresh
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _AR9300_DFS_FIRPWR@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 28(%rsi)
movq _AR9300_DFS_RRSSI@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 24(%rsi)
movq _AR9300_DFS_HEIGHT@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 20(%rsi)
movq _AR9300_DFS_PRSSI@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 16(%rsi)
movq _AR9300_DFS_INBAND@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 12(%rsi)
movq _AR9300_DFS_RELPWR@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 8(%rsi)
movq _AR9300_DFS_RELSTEP@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 4(%rsi)
movq _AR9300_DFS_MAXLEN@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, (%rsi)
movq _AH_TRUE@GOTPCREL(%rip), %rax
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _AR9300_DFS_FIRPWR,4,2 ## @AR9300_DFS_FIRPWR
.comm _AR9300_DFS_RRSSI,4,2 ## @AR9300_DFS_RRSSI
.comm _AR9300_DFS_HEIGHT,4,2 ## @AR9300_DFS_HEIGHT
.comm _AR9300_DFS_PRSSI,4,2 ## @AR9300_DFS_PRSSI
.comm _AR9300_DFS_INBAND,4,2 ## @AR9300_DFS_INBAND
.comm _AR9300_DFS_RELPWR,4,2 ## @AR9300_DFS_RELPWR
.comm _AR9300_DFS_RELSTEP,4,2 ## @AR9300_DFS_RELSTEP
.comm _AR9300_DFS_MAXLEN,4,2 ## @AR9300_DFS_MAXLEN
.comm _AH_TRUE,4,2 ## @AH_TRUE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ar9300_get_default_dfs_thresh ; -- Begin function ar9300_get_default_dfs_thresh
.p2align 2
_ar9300_get_default_dfs_thresh: ; @ar9300_get_default_dfs_thresh
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _AR9300_DFS_FIRPWR@GOTPAGE
Lloh1:
ldr x8, [x8, _AR9300_DFS_FIRPWR@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
Lloh3:
adrp x9, _AR9300_DFS_RRSSI@GOTPAGE
Lloh4:
ldr x9, [x9, _AR9300_DFS_RRSSI@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
stp w9, w8, [x1, #24]
Lloh6:
adrp x8, _AR9300_DFS_HEIGHT@GOTPAGE
Lloh7:
ldr x8, [x8, _AR9300_DFS_HEIGHT@GOTPAGEOFF]
Lloh8:
adrp x9, _AR9300_DFS_PRSSI@GOTPAGE
Lloh9:
ldr x9, [x9, _AR9300_DFS_PRSSI@GOTPAGEOFF]
Lloh10:
ldr w8, [x8]
Lloh11:
ldr w9, [x9]
stp w9, w8, [x1, #16]
Lloh12:
adrp x8, _AR9300_DFS_INBAND@GOTPAGE
Lloh13:
ldr x8, [x8, _AR9300_DFS_INBAND@GOTPAGEOFF]
Lloh14:
ldr w8, [x8]
Lloh15:
adrp x9, _AR9300_DFS_RELPWR@GOTPAGE
Lloh16:
ldr x9, [x9, _AR9300_DFS_RELPWR@GOTPAGEOFF]
Lloh17:
ldr w9, [x9]
stp w9, w8, [x1, #8]
Lloh18:
adrp x8, _AR9300_DFS_RELSTEP@GOTPAGE
Lloh19:
ldr x8, [x8, _AR9300_DFS_RELSTEP@GOTPAGEOFF]
Lloh20:
ldr w8, [x8]
Lloh21:
adrp x9, _AR9300_DFS_MAXLEN@GOTPAGE
Lloh22:
ldr x9, [x9, _AR9300_DFS_MAXLEN@GOTPAGEOFF]
Lloh23:
ldr w9, [x9]
stp w9, w8, [x1]
Lloh24:
adrp x8, _AH_TRUE@GOTPAGE
Lloh25:
ldr x8, [x8, _AH_TRUE@GOTPAGEOFF]
Lloh26:
ldr w0, [x8]
ret
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh10
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _AR9300_DFS_FIRPWR,4,2 ; @AR9300_DFS_FIRPWR
.comm _AR9300_DFS_RRSSI,4,2 ; @AR9300_DFS_RRSSI
.comm _AR9300_DFS_HEIGHT,4,2 ; @AR9300_DFS_HEIGHT
.comm _AR9300_DFS_PRSSI,4,2 ; @AR9300_DFS_PRSSI
.comm _AR9300_DFS_INBAND,4,2 ; @AR9300_DFS_INBAND
.comm _AR9300_DFS_RELPWR,4,2 ; @AR9300_DFS_RELPWR
.comm _AR9300_DFS_RELSTEP,4,2 ; @AR9300_DFS_RELSTEP
.comm _AR9300_DFS_MAXLEN,4,2 ; @AR9300_DFS_MAXLEN
.comm _AH_TRUE,4,2 ; @AH_TRUE
.subsections_via_symbols
| AnghaBench/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/extr_ar9300_radar.c_ar9300_get_default_dfs_thresh.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function qlnx_fp_isr
_qlnx_fp_isr: ## @qlnx_fp_isr
.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 8(%rdi), %r14
movq (%r14), %rax
movq _QLNX_STATE_OPEN@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_3
## %bb.1:
movslq (%rdi), %rdx
cmpl 8(%r14), %edx
jge LBB0_2
## %bb.4:
movq 40(%r14), %r15
testq %r15, %r15
je LBB0_5
## %bb.6:
leaq (%rdx,%rdx,8), %r12
movq 24(%r14), %rax
movq _IFCAP_LRO@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
andl (%rax), %ecx
movl %ecx, -44(%rbp) ## 4-byte Spill
leaq (%r15,%r12,8), %rbx
movl 12(%r15,%r12,8), %edi
movq _IGU_INT_DISABLE@GOTPCREL(%rip), %rax
movl (%rax), %esi
xorl %edx, %edx
callq _ecore_sb_ack
leaq (%r15,%r12,8), %r12
addq $48, %r12
movq _QLNX_TX_ELEM_THRESH@GOTPCREL(%rip), %r13
cmpl $0, 12(%r14)
jle LBB0_13
.p2align 4, 0x90
LBB0_8:
xorl %r15d, %r15d
jmp LBB0_9
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_9 Depth=1
incq %r15
movslq 12(%r14), %rax
cmpq %rax, %r15
jge LBB0_13
LBB0_9: ## =>This Inner Loop Header: Depth=1
movq 64(%rbx), %rax
movq (%rax,%r15,8), %rdi
callq _ecore_chain_get_elem_left
cmpl %eax, (%r13)
jle LBB0_12
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
movq %r12, %rdi
callq _mtx_trylock
testq %rax, %rax
je LBB0_12
## %bb.11: ## in Loop: Header=BB0_9 Depth=1
movq 64(%rbx), %rax
movq (%rax,%r15,8), %rdx
movq %r14, %rdi
movq %rbx, %rsi
callq _qlnx_tx_int
movq %r12, %rdi
callq _mtx_unlock
jmp LBB0_12
.p2align 4, 0x90
LBB0_13: ## =>This Inner Loop Header: Depth=1
movl 16(%r14), %edx
movq %r14, %rdi
movq %rbx, %rsi
movl -44(%rbp), %ecx ## 4-byte Reload
callq _qlnx_rx_int
testl %eax, %eax
je LBB0_15
## %bb.14: ## in Loop: Header=BB0_13 Depth=1
addl %eax, 8(%rbx)
cmpl $0, 12(%r14)
jg LBB0_8
jmp LBB0_13
LBB0_2:
leaq L_.str(%rip), %rsi
movq %r14, %rdi
## kill: def $edx killed $edx killed $rdx
callq _QL_DPRINT1
incl 48(%r14)
jmp LBB0_3
LBB0_15:
movl 12(%rbx), %edi
callq _ecore_sb_update_sb_idx
xorl %eax, %eax
callq _rmb
movl 12(%rbx), %edi
movq _IGU_INT_ENABLE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $1, %edx
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _ecore_sb_ack ## TAILCALL
LBB0_5:
incl 32(%r14)
LBB0_3:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _QLNX_STATE_OPEN,8,3 ## @QLNX_STATE_OPEN
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "illegal interrupt[%d]\n"
.comm _IFCAP_LRO,4,2 ## @IFCAP_LRO
.comm _IGU_INT_DISABLE,4,2 ## @IGU_INT_DISABLE
.comm _QLNX_TX_ELEM_THRESH,4,2 ## @QLNX_TX_ELEM_THRESH
.comm _IGU_INT_ENABLE,4,2 ## @IGU_INT_ENABLE
.comm _next,4,2 ## @next
.comm _tx_compl,4,2 ## @tx_compl
.no_dead_strip _qlnx_fp_isr
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function qlnx_fp_isr
_qlnx_fp_isr: ; @qlnx_fp_isr
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
ldr x19, [x0, #8]
ldr x8, [x19]
Lloh0:
adrp x9, _QLNX_STATE_OPEN@GOTPAGE
Lloh1:
ldr x9, [x9, _QLNX_STATE_OPEN@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_15
; %bb.1:
ldrsw x2, [x0]
ldr w8, [x19, #8]
cmp w2, w8
b.ge LBB0_12
; %bb.2:
ldr x8, [x19, #40]
cbz x8, LBB0_14
; %bb.3:
mov w9, #72
madd x20, x2, x9, x8
ldr x9, [x19, #24]
ldr w9, [x9]
Lloh3:
adrp x10, _IFCAP_LRO@GOTPAGE
Lloh4:
ldr x10, [x10, _IFCAP_LRO@GOTPAGEOFF]
Lloh5:
ldr w10, [x10]
and w21, w10, w9
mov w9, #72
madd x23, x2, x9, x8
ldr w0, [x23, #12]!
Lloh6:
adrp x8, _IGU_INT_DISABLE@GOTPAGE
Lloh7:
ldr x8, [x8, _IGU_INT_DISABLE@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
mov w2, #0
bl _ecore_sb_ack
add x24, x23, #52
add x22, x23, #36
sub x25, x23, #4
Lloh9:
adrp x26, _QLNX_TX_ELEM_THRESH@GOTPAGE
Lloh10:
ldr x26, [x26, _QLNX_TX_ELEM_THRESH@GOTPAGEOFF]
LBB0_4: ; =>This Loop Header: Depth=1
; Child Loop BB0_7 Depth 2
ldr w8, [x19, #12]
cmp w8, #1
b.lt LBB0_10
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
mov x27, #0
b LBB0_7
LBB0_6: ; in Loop: Header=BB0_7 Depth=2
add x27, x27, #1
ldrsw x8, [x19, #12]
cmp x27, x8
b.ge LBB0_10
LBB0_7: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [x24]
ldr x0, [x8, x27, lsl #3]
bl _ecore_chain_get_elem_left
ldr w8, [x26]
cmp w8, w0
b.le LBB0_6
; %bb.8: ; in Loop: Header=BB0_7 Depth=2
mov x0, x22
bl _mtx_trylock
cbz x0, LBB0_6
; %bb.9: ; in Loop: Header=BB0_7 Depth=2
ldr x8, [x24]
ldr x2, [x8, x27, lsl #3]
mov x0, x19
mov x1, x20
bl _qlnx_tx_int
mov x0, x22
bl _mtx_unlock
b LBB0_6
LBB0_10: ; in Loop: Header=BB0_4 Depth=1
ldr w2, [x19, #16]
mov x0, x19
mov x1, x20
mov x3, x21
bl _qlnx_rx_int
cbz w0, LBB0_13
; %bb.11: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [x25]
add w8, w8, w0
str w8, [x25]
b LBB0_4
LBB0_12:
Lloh11:
adrp x1, l_.str@PAGE
Lloh12:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
; kill: def $w2 killed $w2 killed $x2
bl _QL_DPRINT1
ldr w8, [x19, #48]
add w8, w8, #1
str w8, [x19, #48]
b LBB0_15
LBB0_13:
ldr w0, [x23]
bl _ecore_sb_update_sb_idx
bl _rmb
ldr w0, [x23]
Lloh13:
adrp x8, _IGU_INT_ENABLE@GOTPAGE
Lloh14:
ldr x8, [x8, _IGU_INT_ENABLE@GOTPAGEOFF]
Lloh15:
ldr w1, [x8]
mov w2, #1
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
b _ecore_sb_ack
LBB0_14:
ldr w8, [x19, #32]
add w8, w8, #1
str w8, [x19, #32]
LBB0_15:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.cfi_endproc
; -- End function
.comm _QLNX_STATE_OPEN,8,3 ; @QLNX_STATE_OPEN
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "illegal interrupt[%d]\n"
.comm _IFCAP_LRO,4,2 ; @IFCAP_LRO
.comm _IGU_INT_DISABLE,4,2 ; @IGU_INT_DISABLE
.comm _QLNX_TX_ELEM_THRESH,4,2 ; @QLNX_TX_ELEM_THRESH
.comm _IGU_INT_ENABLE,4,2 ; @IGU_INT_ENABLE
.comm _next,4,2 ; @next
.comm _tx_compl,4,2 ; @tx_compl
.no_dead_strip _qlnx_fp_isr
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_qlnx_os.c_qlnx_fp_isr.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mISDN_sock_cmsg
_mISDN_sock_cmsg: ## @mISDN_sock_cmsg
.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, %rbx
movq %rsi, %r14
callq __pms
movq _MISDN_TIME_STAMP@GOTPCREL(%rip), %r12
movl (%r12), %ecx
testl %ecx, (%rax)
je LBB0_2
## %bb.1:
leaq -40(%rbp), %r15
movq %rbx, %rdi
movq %r15, %rsi
callq _skb_get_timestamp
movq _SOL_MISDN@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl (%r12), %edx
movq %r14, %rdi
movl $4, %ecx
movq %r15, %r8
callq _put_cmsg
LBB0_2:
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MISDN_TIME_STAMP,4,2 ## @MISDN_TIME_STAMP
.comm _SOL_MISDN,4,2 ## @SOL_MISDN
.no_dead_strip _mISDN_sock_cmsg
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mISDN_sock_cmsg
_mISDN_sock_cmsg: ; @mISDN_sock_cmsg
.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 x20, x2
mov x19, x1
bl __pms
ldr w8, [x0]
Lloh0:
adrp x21, _MISDN_TIME_STAMP@GOTPAGE
Lloh1:
ldr x21, [x21, _MISDN_TIME_STAMP@GOTPAGEOFF]
ldr w9, [x21]
tst w9, w8
b.eq LBB0_2
; %bb.1:
add x1, sp, #8
mov x0, x20
bl _skb_get_timestamp
Lloh2:
adrp x8, _SOL_MISDN@GOTPAGE
Lloh3:
ldr x8, [x8, _SOL_MISDN@GOTPAGEOFF]
Lloh4:
ldr w1, [x8]
ldr w2, [x21]
add x4, sp, #8
mov x0, x19
mov w3, #4
bl _put_cmsg
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
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _MISDN_TIME_STAMP,4,2 ; @MISDN_TIME_STAMP
.comm _SOL_MISDN,4,2 ; @SOL_MISDN
.no_dead_strip _mISDN_sock_cmsg
.subsections_via_symbols
| AnghaBench/linux/drivers/isdn/mISDN/extr_socket.c_mISDN_sock_cmsg.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _nilfs_forget_buffer ## -- Begin function nilfs_forget_buffer
.p2align 4, 0x90
_nilfs_forget_buffer: ## @nilfs_forget_buffer
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
movq 8(%rdi), %r14
callq _lock_buffer
movq %rbx, %rdi
callq _clear_buffer_nilfs_volatile
movq %rbx, %rdi
callq _clear_buffer_dirty
movq %r14, %rdi
callq _nilfs_page_buffers_clean
testq %rax, %rax
je LBB0_2
## %bb.1:
movq %r14, %rdi
callq ___nilfs_clear_page_dirty
LBB0_2:
movq %rbx, %rdi
callq _clear_buffer_uptodate
movq %rbx, %rdi
callq _clear_buffer_mapped
movl $-1, (%rbx)
movq %r14, %rdi
callq _ClearPageUptodate
movq %r14, %rdi
callq _ClearPageMappedToDisk
movq %rbx, %rdi
callq _unlock_buffer
movq %rbx, %rdi
popq %rbx
popq %r14
popq %rbp
jmp _brelse ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _nilfs_forget_buffer ; -- Begin function nilfs_forget_buffer
.p2align 2
_nilfs_forget_buffer: ; @nilfs_forget_buffer
.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 x20, [x0, #8]
bl _lock_buffer
mov x0, x19
bl _clear_buffer_nilfs_volatile
mov x0, x19
bl _clear_buffer_dirty
mov x0, x20
bl _nilfs_page_buffers_clean
cbz x0, LBB0_2
; %bb.1:
mov x0, x20
bl ___nilfs_clear_page_dirty
LBB0_2:
mov x0, x19
bl _clear_buffer_uptodate
mov x0, x19
bl _clear_buffer_mapped
mov w8, #-1
str w8, [x19]
mov x0, x20
bl _ClearPageUptodate
mov x0, x20
bl _ClearPageMappedToDisk
mov x0, x19
bl _unlock_buffer
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _brelse
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/fs/nilfs2/extr_page.c_nilfs_forget_buffer.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function cart_id_read_byte
_cart_id_read_byte: ## @cart_id_read_byte
.cfi_startproc
## %bb.0:
movl $255, %eax
testb $1, %dil
je LBB0_2
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _scd@GOTPCREL(%rip), %rax
movl (%rax), %eax
popq %rbp
LBB0_2:
retq
.cfi_endproc
## -- End function
.comm _scd,4,2 ## @scd
.no_dead_strip _cart_id_read_byte
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function cart_id_read_byte
_cart_id_read_byte: ; @cart_id_read_byte
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _scd@GOTPAGE
Lloh1:
ldr x8, [x8, _scd@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
tst w0, #0x1
mov w9, #255
csel w0, w9, w8, eq
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _scd,4,2 ; @scd
.no_dead_strip _cart_id_read_byte
.subsections_via_symbols
| AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/cd_hw/extr_cd_cart.c_cart_id_read_byte.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _fsendfile ## -- Begin function fsendfile
.p2align 4, 0x90
_fsendfile: ## @fsendfile
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, -56(%rbp) ## 8-byte Spill
testq %rdi, %rdi
je LBB0_1
## %bb.2:
movq %rdx, %r12
movq %rsi, %r15
movl $1024, %ebx ## imm = 0x400
movl $1024, %edi ## imm = 0x400
callq _malloc
movq $-1, %r14
testq %rax, %rax
je LBB0_13
## %bb.3:
movq %rax, %r13
movq %r15, -48(%rbp) ## 8-byte Spill
xorl %r14d, %r14d
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rax
movq %r12, %rbx
subq %r14, %rbx
cmpq $1024, %rbx ## imm = 0x400
cmovaeq %rax, %rbx
testq %r12, %r12
cmoveq %rax, %rbx
movl $1, %esi
movq %r13, %rdi
movq %rbx, %rdx
movq -56(%rbp), %rcx ## 8-byte Reload
callq _fread
testq %rax, %rax
je LBB0_5
## %bb.6: ## in Loop: Header=BB0_4 Depth=1
movq %rax, %r15
movq -48(%rbp), %rcx ## 8-byte Reload
testq %rcx, %rcx
je LBB0_9
## %bb.7: ## in Loop: Header=BB0_4 Depth=1
movl $1, %edx
movq %r13, %rdi
movq %r15, %rsi
callq _fwrite
cmpq $1, %rax
jne LBB0_8
LBB0_9: ## in Loop: Header=BB0_4 Depth=1
addq %r15, %r14
testq %r12, %r12
je LBB0_4
## %bb.10: ## in Loop: Header=BB0_4 Depth=1
cmpq %r12, %r14
jb LBB0_4
## %bb.11:
movq %r13, %rdi
callq _free
cmpq $-1, %r15
jne LBB0_13
jmp LBB0_12
LBB0_1:
callq ___error
movl $22, (%rax)
jmp LBB0_12
LBB0_5:
movq %r13, %rdi
callq _free
jmp LBB0_13
LBB0_8:
movq %r13, %rdi
callq _free
LBB0_12:
movq $-1, %r14
LBB0_13:
movq %r14, %rax
addq $24, %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 _fsendfile ; -- Begin function fsendfile
.p2align 2
_fsendfile: ; @fsendfile
.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
cbz x0, LBB0_9
; %bb.1:
mov x20, x2
mov x21, x1
mov x22, x0
mov w0, #1024
bl _malloc
cbz x0, LBB0_12
; %bb.2:
mov x23, x0
mov x19, #0
mov w24, #1024
LBB0_3: ; =>This Inner Loop Header: Depth=1
sub x8, x20, x19
cmp x8, #1024
csel x8, x8, x24, lo
cmp x20, #0
csel x24, x24, x8, eq
mov x0, x23
mov w1, #1
mov x2, x24
mov x3, x22
bl _fread
cbz x0, LBB0_10
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov x25, x0
cbz x21, LBB0_6
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
mov x0, x23
mov x1, x25
mov w2, #1
mov x3, x21
bl _fwrite
cmp x0, #1
b.ne LBB0_11
LBB0_6: ; in Loop: Header=BB0_3 Depth=1
add x19, x25, x19
cbz x20, LBB0_3
; %bb.7: ; in Loop: Header=BB0_3 Depth=1
cmp x19, x20
b.lo LBB0_3
; %bb.8:
mov x0, x23
bl _free
cmn x25, #1
b.ne LBB0_13
b LBB0_12
LBB0_9:
bl ___error
mov w8, #22
str w8, [x0]
b LBB0_12
LBB0_10:
mov x0, x23
bl _free
b LBB0_13
LBB0_11:
mov x0, x23
bl _free
LBB0_12:
mov x19, #-1
LBB0_13:
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
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/92324891.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _midibuf_write ## -- Begin function midibuf_write
.p2align 4, 0x90
_midibuf_write: ## @midibuf_write
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %ebx
movq %rsi, %r15
movq %rdi, %r14
callq _midibuf_is_full
xorl %r12d, %r12d
testl %ebx, %ebx
jle LBB0_9
## %bb.1:
testq %rax, %rax
jne LBB0_9
## %bb.2:
leal -1(%rbx), %eax
xorl %r13d, %r13d
cmpb $-2, (%r15,%rax)
sete %r13b
cmovel %eax, %ebx
movq %r14, %rdi
callq _midibuf_bytes_free
cmpl %eax, %ebx
movl %ebx, %r12d
cmovgel %eax, %r12d
testl %r12d, %r12d
jle LBB0_8
## %bb.3:
movl %r13d, -44(%rbp) ## 4-byte Spill
movslq (%r14), %r13
movslq 4(%r14), %rdi
subq %rdi, %r13
movl %r12d, %ebx
subl %r13d, %ebx
jge LBB0_5
## %bb.4:
addq 16(%r14), %rdi
movq %r15, %rsi
movl %r12d, %edx
callq _memcpy
movl 4(%r14), %ebx
addl %r12d, %ebx
jmp LBB0_6
LBB0_5:
addq 16(%r14), %rdi
movq %r15, %rsi
movl %r13d, %edx
callq _memcpy
movq 16(%r14), %rdi
addq %r15, %r13
movq %r13, %rsi
movl %ebx, %edx
callq _memcpy
LBB0_6:
movl %ebx, 4(%r14)
cmpl 8(%r14), %ebx
movl -44(%rbp), %r13d ## 4-byte Reload
jne LBB0_8
## %bb.7:
movl $1, 12(%r14)
LBB0_8:
addl %r13d, %r12d
LBB0_9:
movl %r12d, %eax
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 _midibuf_write ; -- Begin function midibuf_write
.p2align 2
_midibuf_write: ; @midibuf_write
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x20, x2
mov x21, x1
mov x19, x0
bl _midibuf_is_full
mov x8, x0
mov w0, #0
subs w9, w20, #1
b.lt LBB0_9
; %bb.1:
cbnz x8, LBB0_9
; %bb.2:
ldrb w8, [x21, w9, uxtw]
cmp w8, #254
csel w20, w9, w20, eq
cset w24, eq
mov x0, x19
bl _midibuf_bytes_free
cmp w20, w0
csel w20, w20, w0, lt
cmp w20, #1
b.lt LBB0_8
; %bb.3:
ldpsw x9, x8, [x19]
sub x23, x9, x8
subs w22, w20, w23
b.ge LBB0_5
; %bb.4:
ldr x9, [x19, #16]
add x0, x9, x8
mov x1, x21
mov x2, x20
bl _memcpy
ldr w8, [x19, #4]
add w22, w8, w20
b LBB0_6
LBB0_5:
ldr x9, [x19, #16]
add x0, x9, x8
mov x1, x21
mov x2, x23
bl _memcpy
ldr x0, [x19, #16]
add x1, x21, x23
mov x2, x22
bl _memcpy
LBB0_6:
str w22, [x19, #4]
ldr w8, [x19, #8]
cmp w22, w8
b.ne LBB0_8
; %bb.7:
mov w8, #1
str w8, [x19, #12]
LBB0_8:
add w0, w20, w24
LBB0_9:
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/fastsocket/kernel/drivers/staging/line6/extr_midibuf.c_midibuf_write.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
leaq L_.str(%rip), %rdi
xorl %r14d, %r14d
leaq -20(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movl -20(%rbp), %eax
testl %eax, %eax
jg LBB0_1
LBB0_12:
xorl %eax, %eax
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_1 Depth=1
movl $10, %edi
callq _putchar
incl %r14d
movl -20(%rbp), %eax
cmpl %eax, %r14d
jge LBB0_12
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
testl %eax, %eax
jle LBB0_11
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
xorl %ebx, %ebx
jmp LBB0_3
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_3 Depth=2
testl %ebx, %ebx
cmovel %ecx, %edi
LBB0_10: ## in Loop: Header=BB0_3 Depth=2
callq _putchar
incl %ebx
movl -20(%rbp), %eax
cmpl %eax, %ebx
jge LBB0_11
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl $42, %edi
testl %r14d, %r14d
je LBB0_10
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
decl %eax
cmpl %eax, %r14d
je LBB0_10
## %bb.5: ## in Loop: Header=BB0_3 Depth=2
cmpl %ebx, %r14d
je LBB0_10
## %bb.6: ## in Loop: Header=BB0_3 Depth=2
leal (%r14,%rbx), %ecx
cmpl %eax, %ecx
je LBB0_10
## %bb.7: ## in Loop: Header=BB0_3 Depth=2
movl $42, %ecx
movl $42, %edi
cmpl %eax, %ebx
je LBB0_9
## %bb.8: ## in Loop: Header=BB0_3 Depth=2
movl $32, %edi
jmp LBB0_9
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
add x8, sp, #12
str x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldr w8, [sp, #12]
cmp w8, #1
b.lt LBB0_6
; %bb.1:
mov w19, #0
mov w20, #42
mov w21, #32
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
mov w0, #10
bl _putchar
add w19, w19, #1
ldr w8, [sp, #12]
cmp w19, w8
b.ge LBB0_6
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_5 Depth 2
cmp w8, #1
b.lt LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov w22, #0
LBB0_5: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
sub w8, w8, #1
cmp w22, w8
ccmp w22, #0, #4, ne
csel w9, w20, w21, eq
add w10, w19, w22
cmp w10, w8
csel w9, w20, w9, eq
cmp w19, w22
csel w9, w20, w9, eq
cmp w19, w8
csel w8, w20, w9, eq
cmp w19, #0
csel w0, w20, w8, eq
bl _putchar
add w22, w22, #1
ldr w8, [sp, #12]
cmp w22, w8
b.lt LBB0_5
b LBB0_2
LBB0_6:
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
.subsections_via_symbols
| the_stack_data/211080142.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _netup_ci_slot_shutdown ## -- Begin function netup_ci_slot_shutdown
.p2align 4, 0x90
_netup_ci_slot_shutdown: ## @netup_ci_slot_shutdown
.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 _netup_ci_slot_shutdown ; -- Begin function netup_ci_slot_shutdown
.p2align 2
_netup_ci_slot_shutdown: ; @netup_ci_slot_shutdown
.cfi_startproc
; %bb.0:
mov w0, #0
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/linux/drivers/media/pci/cx23885/extr_cimax2.c_netup_ci_slot_shutdown.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function get_policy_once
_get_policy_once: ## @get_policy_once
.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 _register_lock@GOTPCREL(%rip), %r14
movq %r14, %rdi
callq _spin_lock
movq %rbx, %rdi
callq ___get_policy_once
movq %rax, %rbx
movq %r14, %rdi
callq _spin_unlock
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _register_lock,4,2 ## @register_lock
.no_dead_strip _get_policy_once
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function get_policy_once
_get_policy_once: ; @get_policy_once
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
Lloh0:
adrp x20, _register_lock@GOTPAGE
Lloh1:
ldr x20, [x20, _register_lock@GOTPAGEOFF]
mov x0, x20
bl _spin_lock
mov x0, x19
bl ___get_policy_once
mov x19, x0
mov x0, x20
bl _spin_unlock
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _register_lock,4,2 ; @register_lock
.no_dead_strip _get_policy_once
.subsections_via_symbols
| AnghaBench/linux/drivers/md/extr_dm-cache-policy.c_get_policy_once.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function connect_stream_init
_connect_stream_init: ## @connect_stream_init
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
movl 8(%rdi), %eax
cmpl $128, %eax
je LBB0_3
## %bb.1:
cmpl $129, %eax
jne LBB0_2
## %bb.4:
movq _STDERR_FILENO@GOTPCREL(%rip), %rax
movq _O_WRONLY@GOTPCREL(%rip), %rcx
movq _O_CREAT@GOTPCREL(%rip), %rdx
movl (%rdx), %esi
orl (%rcx), %esi
movl (%rax), %r14d
movq _O_TRUNC@GOTPCREL(%rip), %rax
orl (%rax), %esi
leaq L_.str.1(%rip), %rdi
jmp LBB0_5
LBB0_3:
movq _STDOUT_FILENO@GOTPCREL(%rip), %rax
movq _O_WRONLY@GOTPCREL(%rip), %rcx
movq _O_CREAT@GOTPCREL(%rip), %rdx
movl (%rdx), %esi
orl (%rcx), %esi
movl (%rax), %r14d
movq _O_TRUNC@GOTPCREL(%rip), %rax
orl (%rax), %esi
leaq L_.str(%rip), %rdi
LBB0_5:
movl $420, %edx ## imm = 0x1A4
callq _open
movl %eax, (%rbx)
jmp LBB0_6
LBB0_2:
movl (%rbx), %eax
movl $-1, %r14d
LBB0_6:
xorl %edi, %edi
cmpl $-1, %eax
setne %dil
callq _ATF_REQUIRE
leaq 12(%rbx), %rdi
movq %rdi, 16(%rbx)
movl (%rbx), %edx
movl %r14d, %esi
callq _atf_process_stream_init_connect
movl %eax, %edi
popq %rbx
popq %r14
popq %rbp
jmp _RE ## TAILCALL
.cfi_endproc
## -- End function
.comm _STDOUT_FILENO,4,2 ## @STDOUT_FILENO
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "stdout"
.comm _O_WRONLY,4,2 ## @O_WRONLY
.comm _O_CREAT,4,2 ## @O_CREAT
.comm _O_TRUNC,4,2 ## @O_TRUNC
.comm _STDERR_FILENO,4,2 ## @STDERR_FILENO
L_.str.1: ## @.str.1
.asciz "stderr"
.comm _UNREACHABLE,4,2 ## @UNREACHABLE
.no_dead_strip _connect_stream_init
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function connect_stream_init
_connect_stream_init: ; @connect_stream_init
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr w8, [x0, #8]
cmp w8, #128
b.eq LBB0_3
; %bb.1:
cmp w8, #129
b.ne LBB0_4
; %bb.2:
Lloh0:
adrp x8, _STDERR_FILENO@GOTPAGE
Lloh1:
ldr x8, [x8, _STDERR_FILENO@GOTPAGEOFF]
Lloh2:
ldr w20, [x8]
Lloh3:
adrp x8, _O_WRONLY@GOTPAGE
Lloh4:
ldr x8, [x8, _O_WRONLY@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
Lloh6:
adrp x9, _O_CREAT@GOTPAGE
Lloh7:
ldr x9, [x9, _O_CREAT@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
orr w8, w9, w8
Lloh9:
adrp x9, _O_TRUNC@GOTPAGE
Lloh10:
ldr x9, [x9, _O_TRUNC@GOTPAGEOFF]
Lloh11:
ldr w9, [x9]
orr w1, w8, w9
Lloh12:
adrp x0, l_.str.1@PAGE
Lloh13:
add x0, x0, l_.str.1@PAGEOFF
mov w2, #420
bl _open
str w0, [x19]
; kill: def $w0 killed $w0 killed $x0 def $x0
b LBB0_5
LBB0_3:
Lloh14:
adrp x8, _STDOUT_FILENO@GOTPAGE
Lloh15:
ldr x8, [x8, _STDOUT_FILENO@GOTPAGEOFF]
Lloh16:
ldr w20, [x8]
Lloh17:
adrp x8, _O_WRONLY@GOTPAGE
Lloh18:
ldr x8, [x8, _O_WRONLY@GOTPAGEOFF]
Lloh19:
ldr w8, [x8]
Lloh20:
adrp x9, _O_CREAT@GOTPAGE
Lloh21:
ldr x9, [x9, _O_CREAT@GOTPAGEOFF]
Lloh22:
ldr w9, [x9]
orr w8, w9, w8
Lloh23:
adrp x9, _O_TRUNC@GOTPAGE
Lloh24:
ldr x9, [x9, _O_TRUNC@GOTPAGEOFF]
Lloh25:
ldr w9, [x9]
orr w1, w8, w9
Lloh26:
adrp x0, l_.str@PAGE
Lloh27:
add x0, x0, l_.str@PAGEOFF
mov w2, #420
bl _open
str w0, [x19]
b LBB0_5
LBB0_4:
ldr w0, [x19]
mov w20, #-1
LBB0_5:
cmn w0, #1
cset w0, ne
bl _ATF_REQUIRE
add x0, x19, #12
str x0, [x19, #16]
ldr w2, [x19]
mov x1, x20
bl _atf_process_stream_init_connect
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _RE
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.cfi_endproc
; -- End function
.comm _STDOUT_FILENO,4,2 ; @STDOUT_FILENO
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "stdout"
.comm _O_WRONLY,4,2 ; @O_WRONLY
.comm _O_CREAT,4,2 ; @O_CREAT
.comm _O_TRUNC,4,2 ; @O_TRUNC
.comm _STDERR_FILENO,4,2 ; @STDERR_FILENO
l_.str.1: ; @.str.1
.asciz "stderr"
.comm _UNREACHABLE,4,2 ; @UNREACHABLE
.no_dead_strip _connect_stream_init
.subsections_via_symbols
| AnghaBench/freebsd/contrib/atf/atf-c/detail/extr_process_test.c_connect_stream_init.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function write_bytecounted_string
_write_bytecounted_string: ## @write_bytecounted_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 %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %ebx
movl %edi, %r15d
movzbl (%rsi), %eax
testb %al, %al
sete %cl
testl %edi, %edi
sete %dl
orb %cl, %dl
jne LBB0_1
## %bb.6:
movq %rsi, %r14
decq %r14
.p2align 4, 0x90
LBB0_7: ## =>This Inner Loop Header: Depth=1
movsbl %al, %edi
callq _write_byte
leal -1(%r15), %r12d
movzbl (%r14), %eax
testb %al, %al
je LBB0_2
## %bb.8: ## in Loop: Header=BB0_7 Depth=1
decq %r14
cmpl $1, %r15d
movl %r12d, %r15d
jne LBB0_7
jmp LBB0_2
LBB0_1:
movl %r15d, %r12d
LBB0_2:
testl %r12d, %r12d
je LBB0_5
## %bb.3:
movsbl %bl, %ebx
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movl %ebx, %edi
callq _write_byte
decl %r12d
jne LBB0_4
LBB0_5:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _write_bytecounted_string
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function write_bytecounted_string
_write_bytecounted_string: ; @write_bytecounted_string
.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, x2
mov x20, x0
ldrb w8, [x1]
cmp w8, #0
ccmp w0, #0, #4, ne
b.ne LBB0_2
; %bb.1:
mov x21, x20
b LBB0_4
LBB0_2:
sub x22, x1, #1
LBB0_3: ; =>This Inner Loop Header: Depth=1
sxtb w0, w8
bl _write_byte
sub w21, w20, #1
ldrb w8, [x22], #-1
cmp w8, #0
ccmp w20, #1, #4, ne
mov x20, x21
b.ne LBB0_3
LBB0_4:
cbz w21, LBB0_6
LBB0_5: ; =>This Inner Loop Header: Depth=1
mov x0, x19
bl _write_byte
subs w21, w21, #1
b.ne LBB0_5
LBB0_6:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _write_bytecounted_string
.subsections_via_symbols
| assembly_file_22759.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function wps_process_dev_name
_wps_process_dev_name: ## @wps_process_dev_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 %rdi, %r14
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
testq %rsi, %rsi
je LBB0_3
## %bb.1:
movq %rdx, %r15
movq %rsi, %rbx
leaq L_.str.1(%rip), %rsi
movq %rbx, %rdx
movq %r15, %rcx
callq _wpa_hexdump_ascii
movq (%r14), %rdi
callq _os_free
leaq 1(%r15), %rdi
callq _os_malloc
movq %rax, (%r14)
testq %rax, %rax
je LBB0_4
## %bb.2:
movq %rax, %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq _os_memcpy
movq (%r14), %rax
movb $0, (%rax,%r15)
xorl %eax, %eax
jmp LBB0_5
LBB0_3:
leaq L_.str(%rip), %rsi
callq _wpa_printf
LBB0_4:
movl $-1, %eax
LBB0_5:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MSG_DEBUG,4,2 ## @MSG_DEBUG
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "WPS: No Device Name received"
L_.str.1: ## @.str.1
.asciz "WPS: Device Name"
.no_dead_strip _wps_process_dev_name
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function wps_process_dev_name
_wps_process_dev_name: ; @wps_process_dev_name
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x0
Lloh0:
adrp x8, _MSG_DEBUG@GOTPAGE
Lloh1:
ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
cbz x1, LBB0_3
; %bb.1:
mov x19, x2
mov x21, x1
Lloh3:
adrp x1, l_.str.1@PAGE
Lloh4:
add x1, x1, l_.str.1@PAGEOFF
mov x2, x21
mov x3, x19
bl _wpa_hexdump_ascii
ldr x0, [x20]
bl _os_free
add x0, x19, #1
bl _os_malloc
str x0, [x20]
cbz x0, LBB0_4
; %bb.2:
mov x1, x21
mov x2, x19
bl _os_memcpy
mov w0, #0
ldr x8, [x20]
strb wzr, [x8, x19]
b LBB0_5
LBB0_3:
Lloh5:
adrp x1, l_.str@PAGE
Lloh6:
add x1, x1, l_.str@PAGEOFF
bl _wpa_printf
LBB0_4:
mov w0, #-1
LBB0_5:
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 AdrpAdd Lloh3, Lloh4
.loh AdrpAdd Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _MSG_DEBUG,4,2 ; @MSG_DEBUG
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "WPS: No Device Name received"
l_.str.1: ; @.str.1
.asciz "WPS: Device Name"
.no_dead_strip _wps_process_dev_name
.subsections_via_symbols
| AnghaBench/esp-idf/components/wpa_supplicant/src/wps/extr_wps_dev_attr.c_wps_process_dev_name.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ath9k_hw_btcoex_disable ## -- Begin function ath9k_hw_btcoex_disable
.p2align 4, 0x90
_ath9k_hw_btcoex_disable: ## @ath9k_hw_btcoex_disable
.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 $0, (%rdi)
callq _AR_SREV_9462
testq %rax, %rax
jne LBB0_2
## %bb.1:
movq %r15, %rdi
callq _AR_SREV_9565
testq %rax, %rax
je LBB0_5
LBB0_2:
movq _ATH_BTCOEX_STOMP_NONE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r15, %rdi
callq _ath9k_hw_btcoex_bt_stomp
movq _AR9300_NUM_BT_WEIGHTS@GOTPCREL(%rip), %r14
cmpl $0, (%r14)
jle LBB0_9
## %bb.3:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movl %ebx, %edi
callq _AR_MCI_COEX_WL_WEIGHTS
movq 8(%r15), %rcx
movl (%rcx,%rbx,4), %edx
movq %r15, %rdi
movl %eax, %esi
callq _REG_WRITE
incq %rbx
movslq (%r14), %rax
cmpq %rax, %rbx
jl LBB0_4
LBB0_9:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_5:
movl 24(%r15), %esi
movq %r15, %rdi
xorl %edx, %edx
callq _ath9k_hw_set_gpio
movl 24(%r15), %esi
movq _AR_GPIO_OUTPUT_MUX_AS_OUTPUT@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r15, %rdi
callq _ath9k_hw_cfg_output
movq 16(%r15), %rax
movq _ATH_BTCOEX_CFG_3WIRE@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_9
## %bb.6:
movq _AR_BT_COEX_MODE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _AR_BT_QUIET@GOTPCREL(%rip), %rax
movq _AR_BT_MODE@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
orl (%rax), %edx
movq %r15, %rdi
callq _REG_WRITE
movq _AR_BT_COEX_MODE2@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r15, %rdi
xorl %edx, %edx
callq _REG_WRITE
movq %r15, %rdi
callq _AR_SREV_9300_20_OR_LATER
testq %rax, %rax
je LBB0_10
## %bb.7:
movq _AR_BT_COEX_WL_WEIGHTS0@GOTPCREL(%rip), %rax
movl (%rax), %esi
xorl %r14d, %r14d
movq %r15, %rdi
xorl %edx, %edx
callq _REG_WRITE
movq _AR_BT_COEX_WL_WEIGHTS1@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r15, %rdi
xorl %edx, %edx
callq _REG_WRITE
movq _AR9300_NUM_BT_WEIGHTS@GOTPCREL(%rip), %rbx
cmpl $0, (%rbx)
jle LBB0_9
.p2align 4, 0x90
LBB0_8: ## =>This Inner Loop Header: Depth=1
movl %r14d, %edi
callq _AR_BT_COEX_BT_WEIGHTS
movq %r15, %rdi
movl %eax, %esi
xorl %edx, %edx
callq _REG_WRITE
incl %r14d
cmpl (%rbx), %r14d
jl LBB0_8
jmp LBB0_9
LBB0_10:
movq _AR_BT_COEX_WEIGHT@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r15, %rdi
xorl %edx, %edx
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _REG_WRITE ## TAILCALL
.cfi_endproc
## -- End function
.comm _ATH_BTCOEX_STOMP_NONE,4,2 ## @ATH_BTCOEX_STOMP_NONE
.comm _AR9300_NUM_BT_WEIGHTS,4,2 ## @AR9300_NUM_BT_WEIGHTS
.comm _AR_GPIO_OUTPUT_MUX_AS_OUTPUT,4,2 ## @AR_GPIO_OUTPUT_MUX_AS_OUTPUT
.comm _ATH_BTCOEX_CFG_3WIRE,8,3 ## @ATH_BTCOEX_CFG_3WIRE
.comm _AR_BT_COEX_MODE,4,2 ## @AR_BT_COEX_MODE
.comm _AR_BT_QUIET,4,2 ## @AR_BT_QUIET
.comm _AR_BT_MODE,4,2 ## @AR_BT_MODE
.comm _AR_BT_COEX_MODE2,4,2 ## @AR_BT_COEX_MODE2
.comm _AR_BT_COEX_WL_WEIGHTS0,4,2 ## @AR_BT_COEX_WL_WEIGHTS0
.comm _AR_BT_COEX_WL_WEIGHTS1,4,2 ## @AR_BT_COEX_WL_WEIGHTS1
.comm _AR_BT_COEX_WEIGHT,4,2 ## @AR_BT_COEX_WEIGHT
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ath9k_hw_btcoex_disable ; -- Begin function ath9k_hw_btcoex_disable
.p2align 2
_ath9k_hw_btcoex_disable: ; @ath9k_hw_btcoex_disable
.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
str wzr, [x0]
bl _AR_SREV_9462
cbnz x0, LBB0_2
; %bb.1:
mov x0, x19
bl _AR_SREV_9565
cbz x0, LBB0_6
LBB0_2:
Lloh0:
adrp x8, _ATH_BTCOEX_STOMP_NONE@GOTPAGE
Lloh1:
ldr x8, [x8, _ATH_BTCOEX_STOMP_NONE@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov x0, x19
bl _ath9k_hw_btcoex_bt_stomp
Lloh3:
adrp x21, _AR9300_NUM_BT_WEIGHTS@GOTPAGE
Lloh4:
ldr x21, [x21, _AR9300_NUM_BT_WEIGHTS@GOTPAGEOFF]
ldr w8, [x21]
cmp w8, #1
b.lt LBB0_5
; %bb.3:
mov x20, #0
LBB0_4: ; =>This Inner Loop Header: Depth=1
mov x0, x20
bl _AR_MCI_COEX_WL_WEIGHTS
mov x1, x0
ldr x8, [x19, #8]
ldr w2, [x8, x20, lsl #2]
mov x0, x19
bl _REG_WRITE
add x20, x20, #1
ldrsw x8, [x21]
cmp x20, x8
b.lt LBB0_4
LBB0_5:
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_6:
ldr w1, [x19, #24]
mov x0, x19
mov w2, #0
bl _ath9k_hw_set_gpio
ldr w1, [x19, #24]
Lloh5:
adrp x8, _AR_GPIO_OUTPUT_MUX_AS_OUTPUT@GOTPAGE
Lloh6:
ldr x8, [x8, _AR_GPIO_OUTPUT_MUX_AS_OUTPUT@GOTPAGEOFF]
Lloh7:
ldr w2, [x8]
mov x0, x19
bl _ath9k_hw_cfg_output
ldr x8, [x19, #16]
Lloh8:
adrp x9, _ATH_BTCOEX_CFG_3WIRE@GOTPAGE
Lloh9:
ldr x9, [x9, _ATH_BTCOEX_CFG_3WIRE@GOTPAGEOFF]
Lloh10:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_5
; %bb.7:
Lloh11:
adrp x8, _AR_BT_COEX_MODE@GOTPAGE
Lloh12:
ldr x8, [x8, _AR_BT_COEX_MODE@GOTPAGEOFF]
Lloh13:
adrp x9, _AR_BT_QUIET@GOTPAGE
Lloh14:
ldr x9, [x9, _AR_BT_QUIET@GOTPAGEOFF]
Lloh15:
ldr w1, [x8]
Lloh16:
ldr w8, [x9]
Lloh17:
adrp x9, _AR_BT_MODE@GOTPAGE
Lloh18:
ldr x9, [x9, _AR_BT_MODE@GOTPAGEOFF]
Lloh19:
ldr w9, [x9]
orr w2, w9, w8
mov x0, x19
bl _REG_WRITE
Lloh20:
adrp x8, _AR_BT_COEX_MODE2@GOTPAGE
Lloh21:
ldr x8, [x8, _AR_BT_COEX_MODE2@GOTPAGEOFF]
Lloh22:
ldr w1, [x8]
mov x0, x19
mov w2, #0
bl _REG_WRITE
mov x0, x19
bl _AR_SREV_9300_20_OR_LATER
cbz x0, LBB0_11
; %bb.8:
Lloh23:
adrp x8, _AR_BT_COEX_WL_WEIGHTS0@GOTPAGE
Lloh24:
ldr x8, [x8, _AR_BT_COEX_WL_WEIGHTS0@GOTPAGEOFF]
Lloh25:
ldr w1, [x8]
mov x0, x19
mov w2, #0
bl _REG_WRITE
Lloh26:
adrp x8, _AR_BT_COEX_WL_WEIGHTS1@GOTPAGE
Lloh27:
ldr x8, [x8, _AR_BT_COEX_WL_WEIGHTS1@GOTPAGEOFF]
Lloh28:
ldr w1, [x8]
mov x0, x19
mov w2, #0
bl _REG_WRITE
Lloh29:
adrp x21, _AR9300_NUM_BT_WEIGHTS@GOTPAGE
Lloh30:
ldr x21, [x21, _AR9300_NUM_BT_WEIGHTS@GOTPAGEOFF]
ldr w8, [x21]
cmp w8, #1
b.lt LBB0_5
; %bb.9:
mov w20, #0
LBB0_10: ; =>This Inner Loop Header: Depth=1
mov x0, x20
bl _AR_BT_COEX_BT_WEIGHTS
mov x1, x0
mov x0, x19
mov w2, #0
bl _REG_WRITE
add w20, w20, #1
ldr w8, [x21]
cmp w20, w8
b.lt LBB0_10
b LBB0_5
LBB0_11:
Lloh31:
adrp x8, _AR_BT_COEX_WEIGHT@GOTPAGE
Lloh32:
ldr x8, [x8, _AR_BT_COEX_WEIGHT@GOTPAGEOFF]
Lloh33:
ldr w1, [x8]
mov x0, x19
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 _REG_WRITE
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh16
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh15
.loh AdrpLdrGot Lloh29, Lloh30
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.cfi_endproc
; -- End function
.comm _ATH_BTCOEX_STOMP_NONE,4,2 ; @ATH_BTCOEX_STOMP_NONE
.comm _AR9300_NUM_BT_WEIGHTS,4,2 ; @AR9300_NUM_BT_WEIGHTS
.comm _AR_GPIO_OUTPUT_MUX_AS_OUTPUT,4,2 ; @AR_GPIO_OUTPUT_MUX_AS_OUTPUT
.comm _ATH_BTCOEX_CFG_3WIRE,8,3 ; @ATH_BTCOEX_CFG_3WIRE
.comm _AR_BT_COEX_MODE,4,2 ; @AR_BT_COEX_MODE
.comm _AR_BT_QUIET,4,2 ; @AR_BT_QUIET
.comm _AR_BT_MODE,4,2 ; @AR_BT_MODE
.comm _AR_BT_COEX_MODE2,4,2 ; @AR_BT_COEX_MODE2
.comm _AR_BT_COEX_WL_WEIGHTS0,4,2 ; @AR_BT_COEX_WL_WEIGHTS0
.comm _AR_BT_COEX_WL_WEIGHTS1,4,2 ; @AR_BT_COEX_WL_WEIGHTS1
.comm _AR_BT_COEX_WEIGHT,4,2 ; @AR_BT_COEX_WEIGHT
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/net/wireless/ath/ath9k/extr_btcoex.c_ath9k_hw_btcoex_disable.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function to_sRGB_component
LCPI0_0:
.long 0x3b4d2e1c ## float 0.00313080009
LCPI0_1:
.long 0x414eb852 ## float 12.9200001
LCPI0_2:
.long 0x3ed55555 ## float 0.416666657
LCPI0_3:
.long 0x3f870a3d ## float 1.05499995
LCPI0_4:
.long 0xbd6147ae ## float -0.0549999997
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_to_sRGB_component: ## @to_sRGB_component
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movss LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
ucomiss %xmm0, %xmm1
jae LBB0_1
## %bb.2:
movss LCPI0_2(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
callq _powf
mulss LCPI0_3(%rip), %xmm0
addss LCPI0_4(%rip), %xmm0
popq %rbp
retq
LBB0_1:
mulss LCPI0_1(%rip), %xmm0
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _to_sRGB_component
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function to_sRGB_component
_to_sRGB_component: ; @to_sRGB_component
.cfi_startproc
; %bb.0:
mov w8, #11804
movk w8, #15181, lsl #16
fmov s1, w8
fcmp s0, s1
b.ls LBB0_2
; %bb.1:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #21845
movk w8, #16085, lsl #16
fmov s1, w8
bl _powf
mov w8, #18350
movk w8, #48481, lsl #16
fmov s1, w8
mov w8, #2621
movk w8, #16263, lsl #16
fmov s2, w8
fmadd s0, s0, s2, s1
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB0_2:
.cfi_def_cfa wsp, 0
.cfi_same_value w30
.cfi_same_value w29
mov w8, #47186
movk w8, #16718, lsl #16
fmov s1, w8
fmul s0, s0, s1
ret
.cfi_endproc
; -- End function
.no_dead_strip _to_sRGB_component
.subsections_via_symbols
| AnghaBench/reactos/dll/win32/windowscodecs/extr_converter.c_to_sRGB_component.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _llc_conn_ac_adjust_npta_by_rr ## -- Begin function llc_conn_ac_adjust_npta_by_rr
.p2align 4, 0x90
_llc_conn_ac_adjust_npta_by_rr: ## @llc_conn_ac_adjust_npta_by_rr
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _llc_sk
cmpq $0, 16(%rax)
jne LBB0_7
## %bb.1:
cmpl $0, 28(%rax)
je LBB0_2
LBB0_7:
movq $0, 16(%rax)
LBB0_8:
xorl %eax, %eax
popq %rbp
retq
LBB0_2:
cmpl $0, 24(%rax)
jne LBB0_8
## %bb.3:
movl (%rax), %ecx
testl %ecx, %ecx
je LBB0_4
## %bb.6:
decl %ecx
movl %ecx, (%rax)
jmp LBB0_8
LBB0_4:
movabsq $8589934594, %rcx ## imm = 0x200000002
movq %rcx, (%rax)
movq 8(%rax), %rcx
testq %rcx, %rcx
jle LBB0_8
## %bb.5:
decq %rcx
movq %rcx, 8(%rax)
jmp LBB0_8
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _llc_conn_ac_adjust_npta_by_rr ; -- Begin function llc_conn_ac_adjust_npta_by_rr
.p2align 2
_llc_conn_ac_adjust_npta_by_rr: ; @llc_conn_ac_adjust_npta_by_rr
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl _llc_sk
ldr x8, [x0, #16]
cbnz x8, LBB0_2
; %bb.1:
ldr w8, [x0, #28]
cbz w8, LBB0_4
LBB0_2:
str xzr, [x0, #16]
LBB0_3:
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB0_4:
ldr w8, [x0, #24]
cbnz w8, LBB0_3
; %bb.5:
ldr w8, [x0]
cbz w8, LBB0_7
; %bb.6:
sub w8, w8, #1
str w8, [x0]
b LBB0_3
LBB0_7:
movi.2s v0, #2
str d0, [x0]
ldr x8, [x0, #8]
subs x8, x8, #1
b.lt LBB0_3
; %bb.8:
str x8, [x0, #8]
b LBB0_3
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/linux/net/llc/extr_llc_c_ac.c_llc_conn_ac_adjust_npta_by_rr.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function qede_set_v6_tuple_to_profile
_qede_set_v6_tuple_to_profile: ## @qede_set_v6_tuple_to_profile
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
cmpq $0, 32(%rsi)
je LBB0_6
## %bb.1:
cmpq $0, 24(%rbx)
je LBB0_5
## %bb.2:
leaq 12(%rbx), %rdi
movq %r15, %rsi
movl $4, %edx
callq _memcmp
testq %rax, %rax
je LBB0_5
## %bb.3:
leaq 16(%rbx), %rdi
movq %r15, %rsi
movl $4, %edx
callq _memcmp
testq %rax, %rax
je LBB0_5
## %bb.4:
movq _QED_FILTER_CONFIG_MODE_5_TUPLE@GOTPCREL(%rip), %rax
jmp LBB0_20
LBB0_5:
cmpq $0, 32(%rbx)
jne LBB0_22
LBB0_6:
cmpq $0, 24(%rbx)
je LBB0_10
## %bb.7:
leaq 12(%rbx), %rdi
movq %r15, %rsi
movl $4, %edx
callq _memcmp
testq %rax, %rax
jne LBB0_10
## %bb.8:
leaq 16(%rbx), %rdi
movq %r15, %rsi
movl $4, %edx
callq _memcmp
testq %rax, %rax
je LBB0_9
LBB0_10:
cmpq $0, 32(%rbx)
jne LBB0_22
## %bb.11:
cmpq $0, 24(%rbx)
jne LBB0_22
## %bb.12:
leaq 16(%rbx), %r12
movq %r12, %rdi
movq %r15, %rsi
movl $4, %edx
callq _memcmp
testq %rax, %rax
je LBB0_13
LBB0_15:
cmpq $0, 32(%rbx)
jne LBB0_22
## %bb.16:
cmpq $0, 24(%rbx)
je LBB0_17
LBB0_22:
leaq L_.str(%rip), %rsi
movq %r14, %rdi
callq _DP_INFO
movq _EOPNOTSUPP@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
jmp LBB0_21
LBB0_9:
movq _QED_FILTER_CONFIG_MODE_L4_PORT@GOTPCREL(%rip), %rax
jmp LBB0_20
LBB0_13:
leaq 12(%rbx), %rdi
movq %r15, %rsi
movl $4, %edx
callq _memcmp
testq %rax, %rax
je LBB0_15
## %bb.14:
movq _QED_FILTER_CONFIG_MODE_IP_SRC@GOTPCREL(%rip), %rax
LBB0_20:
movl (%rax), %eax
movl %eax, 8(%rbx)
movq _qede_flow_spec_ipv6_cmp@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 4(%rbx)
movq _qede_flow_build_ipv6_hdr@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, (%rbx)
xorl %eax, %eax
LBB0_21:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_17:
movq %r12, %rdi
movq %r15, %rsi
movl $4, %edx
callq _memcmp
testq %rax, %rax
je LBB0_22
## %bb.18:
leaq 12(%rbx), %rdi
movq %r15, %rsi
movl $4, %edx
callq _memcmp
testq %rax, %rax
jne LBB0_22
## %bb.19:
movq _QED_FILTER_CONFIG_MODE_IP_DEST@GOTPCREL(%rip), %rax
jmp LBB0_20
.cfi_endproc
## -- End function
.comm _QED_FILTER_CONFIG_MODE_5_TUPLE,4,2 ## @QED_FILTER_CONFIG_MODE_5_TUPLE
.comm _QED_FILTER_CONFIG_MODE_L4_PORT,4,2 ## @QED_FILTER_CONFIG_MODE_L4_PORT
.comm _QED_FILTER_CONFIG_MODE_IP_SRC,4,2 ## @QED_FILTER_CONFIG_MODE_IP_SRC
.comm _QED_FILTER_CONFIG_MODE_IP_DEST,4,2 ## @QED_FILTER_CONFIG_MODE_IP_DEST
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Invalid N-tuple\n"
.comm _EOPNOTSUPP,4,2 ## @EOPNOTSUPP
.comm _qede_flow_spec_ipv6_cmp,4,2 ## @qede_flow_spec_ipv6_cmp
.comm _qede_flow_build_ipv6_hdr,4,2 ## @qede_flow_build_ipv6_hdr
.no_dead_strip _qede_set_v6_tuple_to_profile
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function qede_set_v6_tuple_to_profile
_qede_set_v6_tuple_to_profile: ; @qede_set_v6_tuple_to_profile
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x21, x2
mov x19, x1
mov x20, x0
ldr x8, [x1, #32]
cbz x8, LBB0_6
; %bb.1:
ldr x8, [x19, #24]
cbz x8, LBB0_5
; %bb.2:
add x0, x19, #12
mov x1, x21
mov w2, #4
bl _memcmp
cbz x0, LBB0_5
; %bb.3:
add x0, x19, #16
mov x1, x21
mov w2, #4
bl _memcmp
cbz x0, LBB0_5
; %bb.4:
Lloh0:
adrp x8, _QED_FILTER_CONFIG_MODE_5_TUPLE@GOTPAGE
Lloh1:
ldr x8, [x8, _QED_FILTER_CONFIG_MODE_5_TUPLE@GOTPAGEOFF]
b LBB0_18
LBB0_5:
ldr x8, [x19, #32]
cbnz x8, LBB0_14
LBB0_6:
ldr x8, [x19, #24]
cbz x8, LBB0_9
; %bb.7:
add x0, x19, #12
mov x1, x21
mov w2, #4
bl _memcmp
cbnz x0, LBB0_9
; %bb.8:
add x0, x19, #16
mov x1, x21
mov w2, #4
bl _memcmp
cbz x0, LBB0_15
LBB0_9:
ldr x8, [x19, #32]
cbnz x8, LBB0_14
; %bb.10:
ldr x8, [x19, #24]
cbnz x8, LBB0_14
; %bb.11:
add x22, x19, #16
mov x0, x22
mov x1, x21
mov w2, #4
bl _memcmp
cbz x0, LBB0_16
LBB0_12:
ldr x8, [x19, #32]
cbnz x8, LBB0_14
; %bb.13:
ldr x8, [x19, #24]
cbz x8, LBB0_20
LBB0_14:
Lloh2:
adrp x1, l_.str@PAGE
Lloh3:
add x1, x1, l_.str@PAGEOFF
mov x0, x20
bl _DP_INFO
Lloh4:
adrp x8, _EOPNOTSUPP@GOTPAGE
Lloh5:
ldr x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh6:
ldr w8, [x8]
neg w0, w8
b LBB0_19
LBB0_15:
Lloh7:
adrp x8, _QED_FILTER_CONFIG_MODE_L4_PORT@GOTPAGE
Lloh8:
ldr x8, [x8, _QED_FILTER_CONFIG_MODE_L4_PORT@GOTPAGEOFF]
b LBB0_18
LBB0_16:
add x0, x19, #12
mov x1, x21
mov w2, #4
bl _memcmp
cbz x0, LBB0_12
; %bb.17:
Lloh9:
adrp x8, _QED_FILTER_CONFIG_MODE_IP_SRC@GOTPAGE
Lloh10:
ldr x8, [x8, _QED_FILTER_CONFIG_MODE_IP_SRC@GOTPAGEOFF]
LBB0_18:
mov w0, #0
ldr w8, [x8]
str w8, [x19, #8]
Lloh11:
adrp x8, _qede_flow_spec_ipv6_cmp@GOTPAGE
Lloh12:
ldr x8, [x8, _qede_flow_spec_ipv6_cmp@GOTPAGEOFF]
Lloh13:
ldr w8, [x8]
Lloh14:
adrp x9, _qede_flow_build_ipv6_hdr@GOTPAGE
Lloh15:
ldr x9, [x9, _qede_flow_build_ipv6_hdr@GOTPAGEOFF]
Lloh16:
ldr w9, [x9]
stp w9, w8, [x19]
LBB0_19:
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_20:
mov x0, x22
mov x1, x21
mov w2, #4
bl _memcmp
cbz x0, LBB0_14
; %bb.21:
add x0, x19, #12
mov x1, x21
mov w2, #4
bl _memcmp
cbnz x0, LBB0_14
; %bb.22:
Lloh17:
adrp x8, _QED_FILTER_CONFIG_MODE_IP_DEST@GOTPAGE
Lloh18:
ldr x8, [x8, _QED_FILTER_CONFIG_MODE_IP_DEST@GOTPAGEOFF]
b LBB0_18
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGot Lloh17, Lloh18
.cfi_endproc
; -- End function
.comm _QED_FILTER_CONFIG_MODE_5_TUPLE,4,2 ; @QED_FILTER_CONFIG_MODE_5_TUPLE
.comm _QED_FILTER_CONFIG_MODE_L4_PORT,4,2 ; @QED_FILTER_CONFIG_MODE_L4_PORT
.comm _QED_FILTER_CONFIG_MODE_IP_SRC,4,2 ; @QED_FILTER_CONFIG_MODE_IP_SRC
.comm _QED_FILTER_CONFIG_MODE_IP_DEST,4,2 ; @QED_FILTER_CONFIG_MODE_IP_DEST
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Invalid N-tuple\n"
.comm _EOPNOTSUPP,4,2 ; @EOPNOTSUPP
.comm _qede_flow_spec_ipv6_cmp,4,2 ; @qede_flow_spec_ipv6_cmp
.comm _qede_flow_build_ipv6_hdr,4,2 ; @qede_flow_build_ipv6_hdr
.no_dead_strip _qede_set_v6_tuple_to_profile
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/qlogic/qede/extr_qede_filter.c_qede_set_v6_tuple_to_profile.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _git_config_get_fsmonitor ## -- Begin function git_config_get_fsmonitor
.p2align 4, 0x90
_git_config_get_fsmonitor: ## @git_config_get_fsmonitor
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
leaq L_.str(%rip), %rdi
movq _core_fsmonitor@GOTPCREL(%rip), %rbx
movq %rbx, %rsi
callq _git_config_get_pathname
testq %rax, %rax
je LBB0_2
## %bb.1:
leaq L_.str.1(%rip), %rdi
callq _getenv
movq %rax, (%rbx)
testq %rax, %rax
jne LBB0_4
jmp LBB0_6
LBB0_2:
movq (%rbx), %rax
testq %rax, %rax
je LBB0_6
LBB0_4:
cmpl $0, (%rax)
jne LBB0_7
## %bb.5:
movq $0, (%rbx)
LBB0_6:
xorl %eax, %eax
LBB0_7:
xorl %ecx, %ecx
testq %rax, %rax
setne %cl
movl %ecx, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "core.fsmonitor"
.comm _core_fsmonitor,8,3 ## @core_fsmonitor
L_.str.1: ## @.str.1
.asciz "GIT_TEST_FSMONITOR"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _git_config_get_fsmonitor ; -- Begin function git_config_get_fsmonitor
.p2align 2
_git_config_get_fsmonitor: ; @git_config_get_fsmonitor
.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 x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
Lloh2:
adrp x19, _core_fsmonitor@GOTPAGE
Lloh3:
ldr x19, [x19, _core_fsmonitor@GOTPAGEOFF]
mov x1, x19
bl _git_config_get_pathname
cbz x0, LBB0_2
; %bb.1:
Lloh4:
adrp x0, l_.str.1@PAGE
Lloh5:
add x0, x0, l_.str.1@PAGEOFF
bl _getenv
str x0, [x19]
cbnz x0, LBB0_3
b LBB0_5
LBB0_2:
ldr x0, [x19]
cbz x0, LBB0_5
LBB0_3:
ldr w8, [x0]
cbnz w8, LBB0_5
; %bb.4:
mov x0, #0
str xzr, [x19]
LBB0_5:
cmp x0, #0
cset w0, ne
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "core.fsmonitor"
.comm _core_fsmonitor,8,3 ; @core_fsmonitor
l_.str.1: ; @.str.1
.asciz "GIT_TEST_FSMONITOR"
.subsections_via_symbols
| AnghaBench/git/extr_config.c_git_config_get_fsmonitor.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function n_null_write
_n_null_write: ## @n_null_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 _EOPNOTSUPP@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EOPNOTSUPP,4,2 ## @EOPNOTSUPP
.no_dead_strip _n_null_write
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function n_null_write
_n_null_write: ; @n_null_write
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _EOPNOTSUPP@GOTPAGE
Lloh1:
ldr x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
neg w0, w8
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _EOPNOTSUPP,4,2 ; @EOPNOTSUPP
.no_dead_strip _n_null_write
.subsections_via_symbols
| AnghaBench/linux/drivers/tty/extr_n_null.c_n_null_write.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _mlx4_en_start_port ## -- Begin function mlx4_en_start_port
.p2align 4, 0x90
_mlx4_en_start_port: ## @mlx4_en_start_port
.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 $136, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r15
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
callq _netdev_priv
movq %rax, %rbx
movq 80(%rax), %r12
xorps %xmm0, %xmm0
movaps %xmm0, -64(%rbp)
movaps %xmm0, -80(%rbp)
movaps %xmm0, -96(%rbp)
movaps %xmm0, -112(%rbp)
cmpl $0, (%rax)
je LBB0_2
## %bb.1:
movq _DRV@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rdx
xorl %r13d, %r13d
movq %rbx, %rsi
xorl %eax, %eax
callq _en_dbg
jmp LBB0_87
LBB0_2:
leaq 152(%rbx), %rdi
callq _INIT_LIST_HEAD
leaq 148(%rbx), %rdi
callq _INIT_LIST_HEAD
leaq 144(%rbx), %rdi
callq _INIT_LIST_HEAD
movq 136(%rbx), %rdi
movq _MAX_NUM_OF_FS_RULES@GOTPCREL(%rip), %rax
movl (%rax), %edx
shll $2, %edx
xorl %r14d, %r14d
xorl %esi, %esi
callq _memset
movl (%r15), %edi
movl 128(%rbx), %esi
callq _min
movl %eax, (%r15)
movq %r15, %rdi
callq _mlx4_en_calc_rx_buf
movq _DRV@GOTPCREL(%rip), %r13
movl (%r13), %edi
movq 112(%rbx), %rcx
leaq L_.str.1(%rip), %rdx
movq %rbx, %rsi
xorl %eax, %eax
callq _en_dbg
movq %rbx, %rdi
callq _mlx4_en_activate_rx_rings
testl %eax, %eax
je LBB0_3
## %bb.89:
movl %eax, %r13d
leaq L_.str.2(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _en_err
jmp LBB0_87
LBB0_3:
cmpl $0, 4(%rbx)
js LBB0_18
## %bb.4:
movq %r12, -144(%rbp) ## 8-byte Spill
movq %r15, -120(%rbp) ## 8-byte Spill
xorl %r14d, %r14d
movq _MLX4_CQE_OWNER_MASK@GOTPCREL(%rip), %r15
.p2align 4, 0x90
LBB0_5: ## =>This Loop Header: Depth=1
## Child Loop BB0_11 Depth 2
movq 56(%rbx), %rax
movq (%rax,%r14,8), %r12
movq %rbx, %rdi
movl %r14d, %esi
callq _mlx4_en_init_affinity_hint
testl %eax, %eax
jne LBB0_6
## %bb.8: ## in Loop: Header=BB0_5 Depth=1
movq %rbx, %rdi
movq %r12, %rsi
movl %r14d, %edx
callq _mlx4_en_activate_cq
testl %eax, %eax
jne LBB0_14
## %bb.9: ## in Loop: Header=BB0_5 Depth=1
cmpl $0, (%r12)
jle LBB0_12
## %bb.10: ## in Loop: Header=BB0_5 Depth=1
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_11: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
movq 16(%r12), %rdi
movl 124(%rbx), %edx
movl %r13d, %esi
callq _mlx4_en_get_cqe
movslq 8(%rbx), %rcx
movl (%r15), %edx
movl %edx, (%rax,%rcx,4)
incl %r13d
cmpl (%r12), %r13d
jl LBB0_11
LBB0_12: ## in Loop: Header=BB0_5 Depth=1
movq %rbx, %rdi
movq %r12, %rsi
callq _mlx4_en_set_cq_moder
testl %eax, %eax
jne LBB0_13
## %bb.16: ## in Loop: Header=BB0_5 Depth=1
movq %rbx, %rdi
movq %r12, %rsi
callq _mlx4_en_arm_cq
movl 8(%r12), %eax
movq 48(%rbx), %rcx
movq (%rcx,%r14,8), %rcx
movl %eax, (%rcx)
leaq 1(%r14), %rax
movslq 4(%rbx), %rcx
cmpq %rcx, %r14
movq %rax, %r14
movq _DRV@GOTPCREL(%rip), %r13
jl LBB0_5
## %bb.17:
movl %eax, %r14d
movq -120(%rbp), %r15 ## 8-byte Reload
movq -144(%rbp), %r12 ## 8-byte Reload
LBB0_18:
movl (%r13), %edi
movq 16(%rbx), %rcx
leaq L_.str.6(%rip), %rdx
movq %rbx, %rsi
xorl %eax, %eax
callq _en_dbg
movq %rbx, %rdi
callq _mlx4_en_get_qp
testl %eax, %eax
je LBB0_20
## %bb.19:
movl %eax, %r13d
leaq L_.str.7(%rip), %rsi
jmp LBB0_7
LBB0_20:
movq 16(%r12), %rax
movq 16(%rbx), %rcx
movq $0, (%rax,%rcx,8)
movq (%r12), %rdi
movq 16(%rbx), %rsi
callq _mlx4_get_default_counter_index
movl %eax, 120(%rbx)
movq %rbx, %rdi
callq _mlx4_en_config_rss_steer
testl %eax, %eax
je LBB0_22
## %bb.21:
movl %eax, %r13d
leaq L_.str.8(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _en_err
jmp LBB0_80
LBB0_6:
movl %eax, %r13d
leaq L_.str.3(%rip), %rsi
LBB0_7:
movq %rbx, %rdi
xorl %eax, %eax
callq _en_err
testl %r14d, %r14d
jne LBB0_82
jmp LBB0_84
LBB0_14:
movl %eax, %r13d
leaq L_.str.4(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _en_err
jmp LBB0_15
LBB0_13:
movl %eax, %r13d
leaq L_.str.5(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _en_err
movq %rbx, %rdi
movq %r12, %rsi
callq _mlx4_en_deactivate_cq
LBB0_15:
movq %rbx, %rdi
movl %r14d, %esi
callq _mlx4_en_free_affinity_hint
testl %r14d, %r14d
jne LBB0_82
jmp LBB0_84
LBB0_22:
movq %rbx, %rdi
callq _mlx4_en_create_drop_qp
movl %eax, %r13d
testl %eax, %eax
jne LBB0_79
## %bb.23:
movq _MLX4_EN_NUM_TX_TYPES@GOTPCREL(%rip), %rax
movl (%rax), %ecx
testl %ecx, %ecx
jle LBB0_24
## %bb.25:
leaq 24(%rbx), %r8
movq 32(%rbx), %rax
movq _TX@GOTPCREL(%rip), %rdi
xorl %esi, %esi
movq _DRV@GOTPCREL(%rip), %r13
movq %r12, -144(%rbp) ## 8-byte Spill
movq %r8, -160(%rbp) ## 8-byte Spill
LBB0_26: ## =>This Loop Header: Depth=1
## Child Loop BB0_28 Depth 2
## Child Loop BB0_41 Depth 3
movl (%rdi), %edx
cmpq %rdx, %rsi
leaq (%rax,%rsi,4), %rdi
cmoveq %r8, %rdi
cmpl $0, (%rax,%rsi,4)
movl $0, %edx
jle LBB0_44
## %bb.27: ## in Loop: Header=BB0_26 Depth=1
movl (%rdi), %eax
movl %eax, -148(%rbp) ## 4-byte Spill
xorl %edx, %edx
movq %rsi, -136(%rbp) ## 8-byte Spill
jmp LBB0_28
LBB0_42: ## in Loop: Header=BB0_28 Depth=2
movq -128(%rbp), %rdx ## 8-byte Reload
incq %rdx
movq 32(%rbx), %rax
movq -136(%rbp), %rsi ## 8-byte Reload
movslq (%rax,%rsi,4), %rcx
cmpq %rcx, %rdx
movq -144(%rbp), %r12 ## 8-byte Reload
jge LBB0_43
LBB0_28: ## Parent Loop BB0_26 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_41 Depth 3
movq 64(%rbx), %rax
movq (%rax,%rsi,8), %rax
movq (%rax,%rdx,8), %rsi
movq %rbx, %rdi
movq %rsi, -120(%rbp) ## 8-byte Spill
movq %rdx, -128(%rbp) ## 8-byte Spill
## kill: def $edx killed $edx killed $rdx
callq _mlx4_en_activate_cq
testl %eax, %eax
jne LBB0_29
## %bb.31: ## in Loop: Header=BB0_28 Depth=2
movq %rbx, %rdi
movq -120(%rbp), %rsi ## 8-byte Reload
callq _mlx4_en_set_cq_moder
testl %eax, %eax
jne LBB0_32
## %bb.34: ## in Loop: Header=BB0_28 Depth=2
movl (%r13), %edi
movq %rbx, %rsi
leaq L_.str.10(%rip), %rdx
movq -128(%rbp), %rcx ## 8-byte Reload
movq %rcx, %r12
xorl %eax, %eax
callq _en_dbg
movl $65535, %edi ## imm = 0xFFFF
callq _cpu_to_be16
movq -120(%rbp), %rdx ## 8-byte Reload
movq 16(%rdx), %rcx
movl %eax, (%rcx)
movq 72(%rbx), %rax
movq -136(%rbp), %r13 ## 8-byte Reload
movq (%rax,%r13,8), %rcx
movq %r12, %rax
movq (%rcx,%r12,8), %r12
movl 8(%rdx), %ecx
## kill: def $eax killed $eax killed $rax
cltd
idivl -148(%rbp) ## 4-byte Folded Reload
movq %rbx, %rdi
movq %r12, %rsi
movl %ecx, %edx
movl %eax, %ecx
callq _mlx4_en_activate_tx_ring
testl %eax, %eax
jne LBB0_35
## %bb.36: ## in Loop: Header=BB0_28 Depth=2
movq _TX_XDP@GOTPCREL(%rip), %rax
movl (%rax), %eax
cmpq %rax, %r13
jne LBB0_37
## %bb.38: ## in Loop: Header=BB0_28 Depth=2
movq %rbx, %rdi
movq %r12, %rsi
callq _mlx4_en_init_tx_xdp_ring_descs
movq %rbx, %rdi
movq -128(%rbp), %rsi ## 8-byte Reload
## kill: def $esi killed $esi killed $rsi
callq _mlx4_en_init_recycle_ring
jmp LBB0_39
LBB0_37: ## in Loop: Header=BB0_28 Depth=2
movq %r15, %rdi
movq -128(%rbp), %rsi ## 8-byte Reload
## kill: def $esi killed $esi killed $rsi
callq _netdev_get_tx_queue
movl %eax, 24(%r12)
movq $0, 16(%r12)
movq %rbx, %rdi
movq -120(%rbp), %rsi ## 8-byte Reload
callq _mlx4_en_arm_cq
LBB0_39: ## in Loop: Header=BB0_28 Depth=2
movq _DRV@GOTPCREL(%rip), %r13
cmpl $0, (%r12)
movq -160(%rbp), %r8 ## 8-byte Reload
jle LBB0_42
## %bb.40: ## in Loop: Header=BB0_28 Depth=2
movq 8(%r12), %rax
movq _STAMP_STRIDE@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
xorl %edx, %edx
.p2align 4, 0x90
LBB0_41: ## Parent Loop BB0_26 Depth=1
## Parent Loop BB0_28 Depth=2
## => This Inner Loop Header: Depth=3
movslq %edx, %rdx
movq %rax, %rsi
subq %rdx, %rsi
movl $-1, (%rsi)
addl %ecx, %edx
cmpl (%r12), %edx
jl LBB0_41
jmp LBB0_42
LBB0_43: ## in Loop: Header=BB0_26 Depth=1
movq _MLX4_EN_NUM_TX_TYPES@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
LBB0_44: ## in Loop: Header=BB0_26 Depth=1
incq %rsi
movslq %ecx, %rdi
cmpq %rdi, %rsi
movq _TX@GOTPCREL(%rip), %rdi
jl LBB0_26
## %bb.45:
movq %rdx, -128(%rbp) ## 8-byte Spill
movq %rsi, -136(%rbp) ## 8-byte Spill
jmp LBB0_46
LBB0_24:
movq $0, -136(%rbp) ## 8-byte Folded Spill
movl %r14d, %eax
movq %rax, -128(%rbp) ## 8-byte Spill
LBB0_46:
movq (%r12), %rdi
movq _ETH_FCS_LEN@GOTPCREL(%rip), %rax
movq (%rax), %rdx
addq 112(%rbx), %rdx
movq 16(%rbx), %rsi
movq 104(%rbx), %rax
movl 12(%rax), %ecx
movl 8(%rax), %r8d
movl (%rax), %r10d
movl 4(%rax), %r9d
movl %r10d, (%rsp)
callq _mlx4_SET_PORT_general
testl %eax, %eax
je LBB0_50
## %bb.47:
movq 16(%rbx), %rdx
leaq L_.str.12(%rip), %rsi
movq %rbx, %rdi
movl %eax, %r13d
movl %eax, %ecx
xorl %eax, %eax
callq _en_err
jmp LBB0_48
LBB0_29:
movl %eax, %r13d
leaq L_.str.9(%rip), %rsi
LBB0_30:
movq %rbx, %rdi
xorl %eax, %eax
callq _en_err
jmp LBB0_48
LBB0_32:
movl %eax, %r13d
leaq L_.str.5(%rip), %rsi
jmp LBB0_33
LBB0_35:
movl %eax, %r13d
leaq L_.str.11(%rip), %rsi
LBB0_33:
movq %rbx, %rdi
xorl %eax, %eax
callq _en_err
movq %rbx, %rdi
movq -120(%rbp), %rsi ## 8-byte Reload
callq _mlx4_en_deactivate_cq
LBB0_48:
movq -136(%rbp), %rdx ## 8-byte Reload
movq _MLX4_EN_NUM_TX_TYPES@GOTPCREL(%rip), %rax
cmpl (%rax), %edx
jne LBB0_49
## %bb.70:
movq 32(%rbx), %rax
movslq %edx, %rcx
decl %edx
movl -4(%rax,%rcx,4), %eax
jmp LBB0_71
LBB0_49:
movq -128(%rbp), %rax ## 8-byte Reload
LBB0_71:
testl %edx, %edx
js LBB0_78
## %bb.72:
movl %edx, %r15d
LBB0_73: ## =>This Loop Header: Depth=1
## Child Loop BB0_75 Depth 2
testl %eax, %eax
je LBB0_76
## %bb.74: ## in Loop: Header=BB0_73 Depth=1
movslq %eax, %r12
.p2align 4, 0x90
LBB0_75: ## Parent Loop BB0_73 Depth=1
## => This Inner Loop Header: Depth=2
movq 72(%rbx), %rax
movq (%rax,%r15,8), %rax
movq -8(%rax,%r12,8), %rsi
movq %rbx, %rdi
callq _mlx4_en_deactivate_tx_ring
movq 64(%rbx), %rax
movq (%rax,%r15,8), %rax
movq -8(%rax,%r12,8), %rsi
movq %rbx, %rdi
callq _mlx4_en_deactivate_cq
decq %r12
jne LBB0_75
LBB0_76: ## in Loop: Header=BB0_73 Depth=1
subq $1, %r15
jb LBB0_78
## %bb.77: ## in Loop: Header=BB0_73 Depth=1
movq 32(%rbx), %rax
movl (%rax,%r15,4), %eax
jge LBB0_73
LBB0_78:
movq %rbx, %rdi
callq _mlx4_en_destroy_drop_qp
LBB0_79:
movq %rbx, %rdi
callq _mlx4_en_release_rss_steer
LBB0_80:
movq %rbx, %rdi
callq _mlx4_en_put_qp
testl %r14d, %r14d
je LBB0_84
LBB0_82:
movslq %r14d, %r15
decl %r14d
.p2align 4, 0x90
LBB0_83: ## =>This Inner Loop Header: Depth=1
movq 56(%rbx), %rax
movq -8(%rax,%r15,8), %rsi
movq %rbx, %rdi
callq _mlx4_en_deactivate_cq
movq %rbx, %rdi
movl %r14d, %esi
callq _mlx4_en_free_affinity_hint
decl %r14d
decq %r15
jne LBB0_83
LBB0_84:
cmpl $0, 4(%rbx)
jle LBB0_87
## %bb.85:
xorl %r14d, %r14d
.p2align 4, 0x90
LBB0_86: ## =>This Inner Loop Header: Depth=1
movq 48(%rbx), %rax
movq (%rax,%r14,8), %rsi
movq %rbx, %rdi
callq _mlx4_en_deactivate_rx_ring
incq %r14
movslq 4(%rbx), %rax
cmpq %rax, %r14
jl LBB0_86
LBB0_87:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_90
## %bb.88:
movl %r13d, %eax
addq $136, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_50:
movq (%r12), %rdi
movq 16(%rbx), %rsi
movl (%r15), %edx
callq _mlx4_SET_PORT_user_mtu
movq 16(%rbx), %rcx
testl %eax, %eax
je LBB0_52
## %bb.51:
movl (%r15), %edx
leaq L_.str.13(%rip), %rsi
movq %rbx, %rdi
movl %eax, %r13d
movl %eax, %r8d
xorl %eax, %eax
callq _en_err
jmp LBB0_48
LBB0_52:
movq (%r12), %rdi
movl 100(%rbx), %edx
movq %rcx, %rsi
xorl %ecx, %ecx
callq _mlx4_SET_PORT_qpn_calc
testl %eax, %eax
je LBB0_54
## %bb.53:
movl %eax, %r13d
leaq L_.str.14(%rip), %rsi
jmp LBB0_30
LBB0_54:
movq %r15, -120(%rbp) ## 8-byte Spill
movq %r12, %r15
movq (%r12), %rdi
movq (%rdi), %rax
movq _MLX4_TUNNEL_OFFLOAD_MODE_VXLAN@GOTPCREL(%rip), %r12
cmpq (%r12), %rax
jne LBB0_57
## %bb.55:
movq 16(%rbx), %rsi
movq _VXLAN_STEER_BY_OUTER_MAC@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl $1, %ecx
callq _mlx4_SET_PORT_VXLAN
testl %eax, %eax
je LBB0_57
## %bb.56:
movl %eax, %r13d
leaq L_.str.15(%rip), %rsi
movq %rbx, %rdi
movl %eax, %edx
xorl %eax, %eax
callq _en_err
jmp LBB0_48
LBB0_57:
movq _HW@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.16(%rip), %rdx
movq %rbx, %rsi
xorl %eax, %eax
callq _en_dbg
movq (%r15), %rdi
movq 16(%rbx), %rsi
callq _mlx4_INIT_PORT
testl %eax, %eax
je LBB0_59
## %bb.58:
movl %eax, %r13d
leaq L_.str.17(%rip), %rsi
jmp LBB0_30
LBB0_59:
movq (%r15), %rax
movq 8(%rax), %rax
movq _MLX4_STEERING_MODE_A0@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_61
## %bb.60:
movq %rbx, %rdi
callq _mlx4_en_set_rss_steer_rules
testq %rax, %rax
je LBB0_62
LBB0_61:
leaq L_.str.18(%rip), %rsi
movq %r15, %rdi
callq _mlx4_warn
LBB0_62:
leaq -72(%rbp), %rdi
callq _eth_broadcast_addr
movl 16(%rbx), %ecx
movl %ecx, -92(%rbp)
movq (%r15), %rdi
movl 96(%rbx), %esi
movq _MLX4_PROT_ETH@GOTPCREL(%rip), %rax
movl (%rax), %r9d
leaq 92(%rbx), %rax
movq %rax, (%rsp)
leaq -112(%rbp), %rdx
xorl %r8d, %r8d
callq _mlx4_multicast_attach
testq %rax, %rax
je LBB0_64
## %bb.63:
leaq L_.str.19(%rip), %rsi
movq %r15, %rdi
callq _mlx4_warn
LBB0_64:
movq _MLX4_EN_FLAG_PROMISC@GOTPCREL(%rip), %rax
movq _MLX4_EN_FLAG_MC_PROMISC@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl (%rax), %ecx
notl %ecx
andl %ecx, 40(%rbx)
movl 8(%r15), %edi
movq %rbx, %rsi
addq $88, %rsi
callq _queue_work
movq 80(%rbx), %rax
movq (%rax), %rax
movq (%rax), %rax
cmpq (%r12), %rax
jne LBB0_66
## %bb.65:
movq -120(%rbp), %rdi ## 8-byte Reload
callq _udp_tunnel_get_rx_info
LBB0_66:
movl $1, (%rbx)
cmpl $0, 4(%rbx)
jle LBB0_69
## %bb.67:
xorl %r14d, %r14d
LBB0_68: ## =>This Inner Loop Header: Depth=1
xorl %eax, %eax
callq _local_bh_disable
movq 56(%rbx), %rax
movq (%rax,%r14,8), %rdi
addq $4, %rdi
callq _napi_schedule
xorl %eax, %eax
callq _local_bh_enable
incq %r14
movslq 4(%rbx), %rax
cmpq %rax, %r14
jl LBB0_68
LBB0_69:
movq -120(%rbp), %r15 ## 8-byte Reload
movq %r15, %rdi
callq _netif_tx_start_all_queues
movq %r15, %rdi
callq _netif_device_attach
xorl %r13d, %r13d
jmp LBB0_87
LBB0_90:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _DRV,4,2 ## @DRV
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "start port called while port already up\n"
.comm _MAX_NUM_OF_FS_RULES,4,2 ## @MAX_NUM_OF_FS_RULES
L_.str.1: ## @.str.1
.asciz "Rx buf size:%d\n"
L_.str.2: ## @.str.2
.asciz "Failed to activate RX rings\n"
L_.str.3: ## @.str.3
.asciz "Failed preparing IRQ affinity hint\n"
L_.str.4: ## @.str.4
.asciz "Failed activating Rx CQ\n"
.comm _MLX4_CQE_OWNER_MASK,4,2 ## @MLX4_CQE_OWNER_MASK
L_.str.5: ## @.str.5
.asciz "Failed setting cq moderation parameters\n"
L_.str.6: ## @.str.6
.asciz "Getting qp number for port %d\n"
L_.str.7: ## @.str.7
.asciz "Failed getting eth qp\n"
L_.str.8: ## @.str.8
.asciz "Failed configuring rss steering\n"
.comm _MLX4_EN_NUM_TX_TYPES,4,2 ## @MLX4_EN_NUM_TX_TYPES
.comm _TX,4,2 ## @TX
L_.str.9: ## @.str.9
.asciz "Failed allocating Tx CQ\n"
L_.str.10: ## @.str.10
.asciz "Resetting index of collapsed CQ:%d to -1\n"
L_.str.11: ## @.str.11
.asciz "Failed allocating Tx ring\n"
.comm _TX_XDP,4,2 ## @TX_XDP
.comm _STAMP_STRIDE,8,3 ## @STAMP_STRIDE
.comm _ETH_FCS_LEN,8,3 ## @ETH_FCS_LEN
L_.str.12: ## @.str.12
.asciz "Failed setting port general configurations for port %d, with error %d\n"
L_.str.13: ## @.str.13
.asciz "Failed to pass user MTU(%d) to Firmware for port %d, with error %d\n"
L_.str.14: ## @.str.14
.asciz "Failed setting default qp numbers\n"
.comm _MLX4_TUNNEL_OFFLOAD_MODE_VXLAN,8,3 ## @MLX4_TUNNEL_OFFLOAD_MODE_VXLAN
.comm _VXLAN_STEER_BY_OUTER_MAC,4,2 ## @VXLAN_STEER_BY_OUTER_MAC
L_.str.15: ## @.str.15
.asciz "Failed setting port L2 tunnel configuration, err %d\n"
.comm _HW,4,2 ## @HW
L_.str.16: ## @.str.16
.asciz "Initializing port\n"
L_.str.17: ## @.str.17
.asciz "Failed Initializing port\n"
.comm _MLX4_STEERING_MODE_A0,8,3 ## @MLX4_STEERING_MODE_A0
L_.str.18: ## @.str.18
.asciz "Failed setting steering rules\n"
.comm _MLX4_PROT_ETH,4,2 ## @MLX4_PROT_ETH
L_.str.19: ## @.str.19
.asciz "Failed Attaching Broadcast\n"
.comm _MLX4_EN_FLAG_PROMISC,4,2 ## @MLX4_EN_FLAG_PROMISC
.comm _MLX4_EN_FLAG_MC_PROMISC,4,2 ## @MLX4_EN_FLAG_MC_PROMISC
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _mlx4_en_start_port ; -- Begin function mlx4_en_start_port
.p2align 2
_mlx4_en_start_port: ; @mlx4_en_start_port
.cfi_startproc
; %bb.0:
sub sp, sp, #224
stp x28, x27, [sp, #128] ; 16-byte Folded Spill
stp x26, x25, [sp, #144] ; 16-byte Folded Spill
stp x24, x23, [sp, #160] ; 16-byte Folded Spill
stp x22, x21, [sp, #176] ; 16-byte Folded Spill
stp x20, x19, [sp, #192] ; 16-byte Folded Spill
stp x29, x30, [sp, #208] ; 16-byte Folded Spill
add x29, sp, #208
.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 x21, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-88]
bl _netdev_priv
mov x19, x0
ldr x22, [x0, #80]
movi.2d v0, #0000000000000000
stp q0, q0, [sp, #80]
stp q0, q0, [sp, #48]
ldr w8, [x0]
cbz w8, LBB0_2
; %bb.1:
Lloh3:
adrp x8, _DRV@GOTPAGE
Lloh4:
ldr x8, [x8, _DRV@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
Lloh6:
adrp x2, l_.str@PAGE
Lloh7:
add x2, x2, l_.str@PAGEOFF
mov x1, x19
bl _en_dbg
mov w24, #0 ; =0x0
b LBB0_69
LBB0_2:
add x0, x19, #152
bl _INIT_LIST_HEAD
add x0, x19, #148
bl _INIT_LIST_HEAD
add x0, x19, #144
bl _INIT_LIST_HEAD
ldr x0, [x19, #136]
Lloh8:
adrp x8, _MAX_NUM_OF_FS_RULES@GOTPAGE
Lloh9:
ldr x8, [x8, _MAX_NUM_OF_FS_RULES@GOTPAGEOFF]
Lloh10:
ldr w8, [x8]
lsl w2, w8, #2
mov w1, #0 ; =0x0
bl _memset
ldr w0, [x21]
ldr w1, [x19, #128]
bl _min
str w0, [x21]
mov x0, x21
bl _mlx4_en_calc_rx_buf
Lloh11:
adrp x25, _DRV@GOTPAGE
Lloh12:
ldr x25, [x25, _DRV@GOTPAGEOFF]
ldr w0, [x25]
ldr x8, [x19, #112]
str x8, [sp]
Lloh13:
adrp x2, l_.str.1@PAGE
Lloh14:
add x2, x2, l_.str.1@PAGEOFF
mov x1, x19
bl _en_dbg
mov x0, x19
bl _mlx4_en_activate_rx_rings
cbz w0, LBB0_4
; %bb.3:
mov x24, x0
Lloh15:
adrp x1, l_.str.2@PAGE
Lloh16:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x19
bl _en_err
b LBB0_69
LBB0_4:
ldr w8, [x19, #4]
tbnz w8, #31, LBB0_14
; %bb.5:
mov x20, #0 ; =0x0
Lloh17:
adrp x26, _MLX4_CQE_OWNER_MASK@GOTPAGE
Lloh18:
ldr x26, [x26, _MLX4_CQE_OWNER_MASK@GOTPAGEOFF]
LBB0_6: ; =>This Loop Header: Depth=1
; Child Loop BB0_10 Depth 2
ldr x8, [x19, #56]
ldr x23, [x8, x20, lsl #3]
mov x0, x19
mov x1, x20
bl _mlx4_en_init_affinity_hint
cbnz w0, LBB0_19
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
mov x0, x19
mov x1, x23
mov x2, x20
bl _mlx4_en_activate_cq
cbnz w0, LBB0_21
; %bb.8: ; in Loop: Header=BB0_6 Depth=1
ldr w8, [x23]
cmp w8, #1
b.lt LBB0_11
; %bb.9: ; in Loop: Header=BB0_6 Depth=1
mov w24, #0 ; =0x0
LBB0_10: ; Parent Loop BB0_6 Depth=1
; => This Inner Loop Header: Depth=2
ldr x0, [x23, #16]
ldr w2, [x19, #124]
mov x1, x24
bl _mlx4_en_get_cqe
ldrsw x8, [x19, #8]
ldr w9, [x26]
str w9, [x0, x8, lsl #2]
add w24, w24, #1
ldr w8, [x23]
cmp w24, w8
b.lt LBB0_10
LBB0_11: ; in Loop: Header=BB0_6 Depth=1
mov x0, x19
mov x1, x23
bl _mlx4_en_set_cq_moder
cbnz w0, LBB0_22
; %bb.12: ; in Loop: Header=BB0_6 Depth=1
mov x0, x19
mov x1, x23
bl _mlx4_en_arm_cq
ldr x8, [x19, #48]
ldr x8, [x8, x20, lsl #3]
ldr w9, [x23, #8]
str w9, [x8]
add x8, x20, #1
ldrsw x9, [x19, #4]
cmp x20, x9
mov x20, x8
b.lt LBB0_6
; %bb.13:
mov x20, x8
b LBB0_15
LBB0_14:
mov w20, #0 ; =0x0
LBB0_15:
ldr w0, [x25]
ldr x8, [x19, #16]
str x8, [sp]
Lloh19:
adrp x2, l_.str.6@PAGE
Lloh20:
add x2, x2, l_.str.6@PAGEOFF
mov x1, x19
bl _en_dbg
mov x0, x19
bl _mlx4_en_get_qp
cbz w0, LBB0_17
; %bb.16:
mov x24, x0
Lloh21:
adrp x1, l_.str.7@PAGE
Lloh22:
add x1, x1, l_.str.7@PAGEOFF
b LBB0_20
LBB0_17:
ldr x8, [x22, #16]
ldr x9, [x19, #16]
str xzr, [x8, x9, lsl #3]
ldr x0, [x22]
ldr x1, [x19, #16]
bl _mlx4_get_default_counter_index
str w0, [x19, #120]
mov x0, x19
bl _mlx4_en_config_rss_steer
cbz w0, LBB0_24
; %bb.18:
mov x24, x0
Lloh23:
adrp x1, l_.str.8@PAGE
Lloh24:
add x1, x1, l_.str.8@PAGEOFF
mov x0, x19
bl _en_err
b LBB0_63
LBB0_19:
mov x24, x0
Lloh25:
adrp x1, l_.str.3@PAGE
Lloh26:
add x1, x1, l_.str.3@PAGEOFF
LBB0_20:
mov x0, x19
bl _en_err
cbnz w20, LBB0_64
b LBB0_66
LBB0_21:
mov x24, x0
Lloh27:
adrp x1, l_.str.4@PAGE
Lloh28:
add x1, x1, l_.str.4@PAGEOFF
mov x0, x19
bl _en_err
b LBB0_23
LBB0_22:
mov x24, x0
Lloh29:
adrp x1, l_.str.5@PAGE
Lloh30:
add x1, x1, l_.str.5@PAGEOFF
mov x0, x19
bl _en_err
mov x0, x19
mov x1, x23
bl _mlx4_en_deactivate_cq
LBB0_23:
mov x0, x19
mov x1, x20
bl _mlx4_en_free_affinity_hint
cbnz w20, LBB0_64
b LBB0_66
LBB0_24:
mov x0, x19
bl _mlx4_en_create_drop_qp
mov x24, x0
cbnz w0, LBB0_62
; %bb.25:
Lloh31:
adrp x23, _MLX4_EN_NUM_TX_TYPES@GOTPAGE
Lloh32:
ldr x23, [x23, _MLX4_EN_NUM_TX_TYPES@GOTPAGEOFF]
ldr w9, [x23]
cmp w9, #1
b.lt LBB0_43
; %bb.26:
mov x27, #0 ; =0x0
ldr x8, [x19, #32]
Lloh33:
adrp x12, _TX@GOTPAGE
Lloh34:
ldr x12, [x12, _TX@GOTPAGEOFF]
add x13, x19, #24
mov w28, #-1 ; =0xffffffff
str x13, [sp, #24] ; 8-byte Folded Spill
LBB0_27: ; =>This Loop Header: Depth=1
; Child Loop BB0_30 Depth 2
; Child Loop BB0_38 Depth 3
ldr w10, [x12]
add x11, x8, x27, lsl #2
cmp x27, x10
csel x10, x13, x11, eq
ldr w11, [x11]
cmp w11, #1
b.lt LBB0_39
; %bb.28: ; in Loop: Header=BB0_27 Depth=1
mov x23, #0 ; =0x0
ldr w8, [x10]
str w8, [sp, #36] ; 4-byte Folded Spill
b LBB0_30
LBB0_29: ; in Loop: Header=BB0_30 Depth=2
add x23, x23, #1
ldr x8, [x19, #32]
mov x27, x24
ldrsw x9, [x8, x24, lsl #2]
cmp x23, x9
b.ge LBB0_40
LBB0_30: ; Parent Loop BB0_27 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_38 Depth 3
ldr x8, [x19, #64]
ldr x8, [x8, x27, lsl #3]
ldr x26, [x8, x23, lsl #3]
mov x0, x19
mov x1, x26
mov x2, x23
bl _mlx4_en_activate_cq
str x23, [sp, #40] ; 8-byte Folded Spill
cbnz w0, LBB0_47
; %bb.31: ; in Loop: Header=BB0_30 Depth=2
mov x0, x19
mov x1, x26
bl _mlx4_en_set_cq_moder
cbnz w0, LBB0_48
; %bb.32: ; in Loop: Header=BB0_30 Depth=2
ldr w0, [x25]
mov x8, x23
str x8, [sp]
mov x1, x19
Lloh35:
adrp x2, l_.str.10@PAGE
Lloh36:
add x2, x2, l_.str.10@PAGEOFF
bl _en_dbg
mov w0, #65535 ; =0xffff
bl _cpu_to_be16
ldr x8, [x26, #16]
str w0, [x8]
ldr x8, [x19, #72]
ldr x8, [x8, x27, lsl #3]
mov x9, x23
mov x23, x27
ldr x27, [x8, x9, lsl #3]
ldr w2, [x26, #8]
ldr w8, [sp, #36] ; 4-byte Folded Reload
sdiv w3, w9, w8
mov x0, x19
mov x1, x27
bl _mlx4_en_activate_tx_ring
cbnz w0, LBB0_49
; %bb.33: ; in Loop: Header=BB0_30 Depth=2
Lloh37:
adrp x8, _TX_XDP@GOTPAGE
Lloh38:
ldr x8, [x8, _TX_XDP@GOTPAGEOFF]
Lloh39:
ldr w8, [x8]
mov x24, x23
cmp x23, x8
b.ne LBB0_35
; %bb.34: ; in Loop: Header=BB0_30 Depth=2
mov x0, x19
mov x1, x27
bl _mlx4_en_init_tx_xdp_ring_descs
mov x0, x19
ldr x23, [sp, #40] ; 8-byte Folded Reload
mov x1, x23
bl _mlx4_en_init_recycle_ring
b LBB0_36
LBB0_35: ; in Loop: Header=BB0_30 Depth=2
mov x0, x21
ldr x23, [sp, #40] ; 8-byte Folded Reload
mov x1, x23
bl _netdev_get_tx_queue
str w0, [x27, #24]
str xzr, [x27, #16]
mov x0, x19
mov x1, x26
bl _mlx4_en_arm_cq
LBB0_36: ; in Loop: Header=BB0_30 Depth=2
ldr w8, [x27]
cmp w8, #1
b.lt LBB0_29
; %bb.37: ; in Loop: Header=BB0_30 Depth=2
mov w8, #0 ; =0x0
ldr x9, [x27, #8]
Lloh40:
adrp x10, _STAMP_STRIDE@GOTPAGE
Lloh41:
ldr x10, [x10, _STAMP_STRIDE@GOTPAGEOFF]
Lloh42:
ldr w10, [x10]
LBB0_38: ; Parent Loop BB0_27 Depth=1
; Parent Loop BB0_30 Depth=2
; => This Inner Loop Header: Depth=3
sub x11, x9, w8, sxtw
str w28, [x11]
ldr w11, [x27]
add w8, w8, w10
cmp w8, w11
b.lt LBB0_38
b LBB0_29
LBB0_39: ; in Loop: Header=BB0_27 Depth=1
mov w23, #0 ; =0x0
b LBB0_41
LBB0_40: ; in Loop: Header=BB0_27 Depth=1
Lloh43:
adrp x9, _MLX4_EN_NUM_TX_TYPES@GOTPAGE
Lloh44:
ldr x9, [x9, _MLX4_EN_NUM_TX_TYPES@GOTPAGEOFF]
Lloh45:
ldr w9, [x9]
Lloh46:
adrp x12, _TX@GOTPAGE
Lloh47:
ldr x12, [x12, _TX@GOTPAGEOFF]
ldr x13, [sp, #24] ; 8-byte Folded Reload
LBB0_41: ; in Loop: Header=BB0_27 Depth=1
add x27, x27, #1
cmp x27, w9, sxtw
b.lt LBB0_27
; %bb.42:
str x23, [sp, #40] ; 8-byte Folded Spill
Lloh48:
adrp x23, _MLX4_EN_NUM_TX_TYPES@GOTPAGE
Lloh49:
ldr x23, [x23, _MLX4_EN_NUM_TX_TYPES@GOTPAGEOFF]
b LBB0_44
LBB0_43:
mov w27, #0 ; =0x0
mov x8, x20
str x8, [sp, #40] ; 8-byte Folded Spill
LBB0_44:
ldr x0, [x22]
ldr x1, [x19, #16]
Lloh50:
adrp x8, _ETH_FCS_LEN@GOTPAGE
Lloh51:
ldr x8, [x8, _ETH_FCS_LEN@GOTPAGEOFF]
Lloh52:
ldr x8, [x8]
ldp x10, x9, [x19, #104]
ldp w4, w3, [x10, #8]
ldp w6, w5, [x10]
add x2, x8, x9
bl _mlx4_SET_PORT_general
cbz w0, LBB0_71
; %bb.45:
mov x24, x0
ldr x8, [x19, #16]
stp x8, x24, [sp]
Lloh53:
adrp x1, l_.str.12@PAGE
Lloh54:
add x1, x1, l_.str.12@PAGEOFF
LBB0_46:
mov x0, x19
bl _en_err
b LBB0_51
LBB0_47:
mov x24, x0
Lloh55:
adrp x1, l_.str.9@PAGE
Lloh56:
add x1, x1, l_.str.9@PAGEOFF
mov x0, x19
bl _en_err
b LBB0_50
LBB0_48:
mov x24, x0
Lloh57:
adrp x1, l_.str.5@PAGE
Lloh58:
add x1, x1, l_.str.5@PAGEOFF
mov x0, x19
bl _en_err
mov x0, x19
mov x1, x26
bl _mlx4_en_deactivate_cq
b LBB0_50
LBB0_49:
mov x24, x0
Lloh59:
adrp x1, l_.str.11@PAGE
Lloh60:
add x1, x1, l_.str.11@PAGEOFF
mov x0, x19
bl _en_err
mov x0, x19
mov x1, x26
bl _mlx4_en_deactivate_cq
mov x27, x23
LBB0_50:
Lloh61:
adrp x23, _MLX4_EN_NUM_TX_TYPES@GOTPAGE
Lloh62:
ldr x23, [x23, _MLX4_EN_NUM_TX_TYPES@GOTPAGEOFF]
LBB0_51:
ldr w8, [x23]
cmp w27, w8
b.ne LBB0_53
; %bb.52:
sub w27, w27, #1
ldr x8, [x19, #32]
ldr w23, [x8, w27, sxtw #2]
b LBB0_54
LBB0_53:
ldr x23, [sp, #40] ; 8-byte Folded Reload
; kill: def $w23 killed $w23 killed $x23 def $x23
LBB0_54:
tbnz w27, #31, LBB0_61
; %bb.55:
mov w21, w27
LBB0_56: ; =>This Loop Header: Depth=1
; Child Loop BB0_58 Depth 2
cbz w23, LBB0_59
; %bb.57: ; in Loop: Header=BB0_56 Depth=1
sxtw x8, w23
sub x22, x8, #1
LBB0_58: ; Parent Loop BB0_56 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [x19, #72]
ldr x8, [x8, x21, lsl #3]
ldr x1, [x8, x22, lsl #3]
mov x0, x19
bl _mlx4_en_deactivate_tx_ring
ldr x8, [x19, #64]
ldr x8, [x8, x21, lsl #3]
ldr x1, [x8, x22, lsl #3]
mov x0, x19
bl _mlx4_en_deactivate_cq
sub x22, x22, #1
cmn x22, #1
b.ne LBB0_58
LBB0_59: ; in Loop: Header=BB0_56 Depth=1
cbz x21, LBB0_61
; %bb.60: ; in Loop: Header=BB0_56 Depth=1
sub x8, x21, #1
ldr x9, [x19, #32]
ldr w23, [x9, x8, lsl #2]
cmp x21, #0
mov x21, x8
b.gt LBB0_56
LBB0_61:
mov x0, x19
bl _mlx4_en_destroy_drop_qp
LBB0_62:
mov x0, x19
bl _mlx4_en_release_rss_steer
LBB0_63:
mov x0, x19
bl _mlx4_en_put_qp
cbz w20, LBB0_66
LBB0_64:
; kill: def $w20 killed $w20 killed $x20 def $x20
sxtw x8, w20
sub x20, x8, #1
LBB0_65: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #56]
ldr x1, [x8, x20, lsl #3]
mov x0, x19
bl _mlx4_en_deactivate_cq
mov x0, x19
mov x1, x20
bl _mlx4_en_free_affinity_hint
sub x20, x20, #1
cmn x20, #1
b.ne LBB0_65
LBB0_66:
ldr w8, [x19, #4]
cmp w8, #1
b.lt LBB0_69
; %bb.67:
mov x20, #0 ; =0x0
LBB0_68: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #48]
ldr x1, [x8, x20, lsl #3]
mov x0, x19
bl _mlx4_en_deactivate_rx_ring
add x20, x20, #1
ldrsw x8, [x19, #4]
cmp x20, x8
b.lt LBB0_68
LBB0_69:
ldur x8, [x29, #-88]
Lloh63:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh64:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh65:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_92
; %bb.70:
mov x0, x24
ldp x29, x30, [sp, #208] ; 16-byte Folded Reload
ldp x20, x19, [sp, #192] ; 16-byte Folded Reload
ldp x22, x21, [sp, #176] ; 16-byte Folded Reload
ldp x24, x23, [sp, #160] ; 16-byte Folded Reload
ldp x26, x25, [sp, #144] ; 16-byte Folded Reload
ldp x28, x27, [sp, #128] ; 16-byte Folded Reload
add sp, sp, #224
ret
LBB0_71:
ldr x0, [x22]
ldr x1, [x19, #16]
ldr w2, [x21]
bl _mlx4_SET_PORT_user_mtu
ldr x1, [x19, #16]
cbz w0, LBB0_74
; %bb.72:
mov x24, x0
ldr w8, [x21]
stp x1, x24, [sp, #8]
str x8, [sp]
Lloh66:
adrp x1, l_.str.13@PAGE
Lloh67:
add x1, x1, l_.str.13@PAGEOFF
LBB0_73:
mov x0, x19
bl _en_err
; kill: def $w24 killed $w24 killed $x24 def $x24
b LBB0_51
LBB0_74:
ldr x0, [x22]
ldr w2, [x19, #100]
mov w3, #0 ; =0x0
bl _mlx4_SET_PORT_qpn_calc
cbz w0, LBB0_76
; %bb.75:
mov x24, x0
Lloh68:
adrp x1, l_.str.14@PAGE
Lloh69:
add x1, x1, l_.str.14@PAGEOFF
b LBB0_46
LBB0_76:
ldr x0, [x22]
ldr x8, [x0]
Lloh70:
adrp x25, _MLX4_TUNNEL_OFFLOAD_MODE_VXLAN@GOTPAGE
Lloh71:
ldr x25, [x25, _MLX4_TUNNEL_OFFLOAD_MODE_VXLAN@GOTPAGEOFF]
ldr x9, [x25]
cmp x8, x9
b.ne LBB0_79
; %bb.77:
ldr x1, [x19, #16]
Lloh72:
adrp x8, _VXLAN_STEER_BY_OUTER_MAC@GOTPAGE
Lloh73:
ldr x8, [x8, _VXLAN_STEER_BY_OUTER_MAC@GOTPAGEOFF]
Lloh74:
ldr w2, [x8]
mov w3, #1 ; =0x1
bl _mlx4_SET_PORT_VXLAN
cbz w0, LBB0_79
; %bb.78:
mov x24, x0
str x24, [sp]
Lloh75:
adrp x1, l_.str.15@PAGE
Lloh76:
add x1, x1, l_.str.15@PAGEOFF
b LBB0_73
LBB0_79:
Lloh77:
adrp x8, _HW@GOTPAGE
Lloh78:
ldr x8, [x8, _HW@GOTPAGEOFF]
Lloh79:
ldr w0, [x8]
Lloh80:
adrp x2, l_.str.16@PAGE
Lloh81:
add x2, x2, l_.str.16@PAGEOFF
mov x1, x19
bl _en_dbg
ldr x0, [x22]
ldr x1, [x19, #16]
bl _mlx4_INIT_PORT
cbz w0, LBB0_81
; %bb.80:
mov x24, x0
Lloh82:
adrp x1, l_.str.17@PAGE
Lloh83:
add x1, x1, l_.str.17@PAGEOFF
b LBB0_46
LBB0_81:
ldr x8, [x22]
ldr x8, [x8, #8]
Lloh84:
adrp x9, _MLX4_STEERING_MODE_A0@GOTPAGE
Lloh85:
ldr x9, [x9, _MLX4_STEERING_MODE_A0@GOTPAGEOFF]
Lloh86:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_83
; %bb.82:
mov x0, x19
bl _mlx4_en_set_rss_steer_rules
cbz x0, LBB0_84
LBB0_83:
Lloh87:
adrp x1, l_.str.18@PAGE
Lloh88:
add x1, x1, l_.str.18@PAGEOFF
mov x0, x22
bl _mlx4_warn
LBB0_84:
add x8, sp, #48
add x0, x8, #40
bl _eth_broadcast_addr
ldr w3, [x19, #16]
str w3, [sp, #68]
ldr x0, [x22]
ldr w1, [x19, #96]
Lloh89:
adrp x8, _MLX4_PROT_ETH@GOTPAGE
Lloh90:
ldr x8, [x8, _MLX4_PROT_ETH@GOTPAGEOFF]
Lloh91:
ldr w5, [x8]
add x2, sp, #48
add x6, x19, #92
mov w4, #0 ; =0x0
bl _mlx4_multicast_attach
cbz x0, LBB0_86
; %bb.85:
Lloh92:
adrp x1, l_.str.19@PAGE
Lloh93:
add x1, x1, l_.str.19@PAGEOFF
mov x0, x22
bl _mlx4_warn
LBB0_86:
Lloh94:
adrp x8, _MLX4_EN_FLAG_PROMISC@GOTPAGE
Lloh95:
ldr x8, [x8, _MLX4_EN_FLAG_PROMISC@GOTPAGEOFF]
Lloh96:
ldr w8, [x8]
Lloh97:
adrp x9, _MLX4_EN_FLAG_MC_PROMISC@GOTPAGE
Lloh98:
ldr x9, [x9, _MLX4_EN_FLAG_MC_PROMISC@GOTPAGEOFF]
Lloh99:
ldr w9, [x9]
orr w8, w9, w8
ldr w9, [x19, #40]
bic w8, w9, w8
str w8, [x19, #40]
ldr w0, [x22, #8]
add x1, x19, #88
bl _queue_work
ldr x8, [x19, #80]
ldr x8, [x8]
ldr x8, [x8]
ldr x9, [x25]
cmp x8, x9
b.ne LBB0_88
; %bb.87:
mov x0, x21
bl _udp_tunnel_get_rx_info
LBB0_88:
mov w8, #1 ; =0x1
str w8, [x19]
ldr w8, [x19, #4]
cmp w8, #1
b.lt LBB0_91
; %bb.89:
mov x20, #0 ; =0x0
LBB0_90: ; =>This Inner Loop Header: Depth=1
bl _local_bh_disable
ldr x8, [x19, #56]
ldr x8, [x8, x20, lsl #3]
add x0, x8, #4
bl _napi_schedule
bl _local_bh_enable
add x20, x20, #1
ldrsw x8, [x19, #4]
cmp x20, x8
b.lt LBB0_90
LBB0_91:
mov x0, x21
bl _netif_tx_start_all_queues
mov x0, x21
bl _netif_device_attach
mov w24, #0 ; =0x0
b LBB0_69
LBB0_92:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpLdrGot Lloh17, Lloh18
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpAdd Lloh29, Lloh30
.loh AdrpLdrGot Lloh31, Lloh32
.loh AdrpLdrGot Lloh33, Lloh34
.loh AdrpAdd Lloh35, Lloh36
.loh AdrpLdrGotLdr Lloh37, Lloh38, Lloh39
.loh AdrpLdrGotLdr Lloh40, Lloh41, Lloh42
.loh AdrpLdrGot Lloh46, Lloh47
.loh AdrpLdrGotLdr Lloh43, Lloh44, Lloh45
.loh AdrpLdrGot Lloh48, Lloh49
.loh AdrpLdrGotLdr Lloh50, Lloh51, Lloh52
.loh AdrpAdd Lloh53, Lloh54
.loh AdrpAdd Lloh55, Lloh56
.loh AdrpAdd Lloh57, Lloh58
.loh AdrpAdd Lloh59, Lloh60
.loh AdrpLdrGot Lloh61, Lloh62
.loh AdrpLdrGotLdr Lloh63, Lloh64, Lloh65
.loh AdrpAdd Lloh66, Lloh67
.loh AdrpAdd Lloh68, Lloh69
.loh AdrpLdrGot Lloh70, Lloh71
.loh AdrpLdrGotLdr Lloh72, Lloh73, Lloh74
.loh AdrpAdd Lloh75, Lloh76
.loh AdrpAdd Lloh80, Lloh81
.loh AdrpLdrGotLdr Lloh77, Lloh78, Lloh79
.loh AdrpAdd Lloh82, Lloh83
.loh AdrpLdrGotLdr Lloh84, Lloh85, Lloh86
.loh AdrpAdd Lloh87, Lloh88
.loh AdrpLdrGotLdr Lloh89, Lloh90, Lloh91
.loh AdrpAdd Lloh92, Lloh93
.loh AdrpLdrGotLdr Lloh97, Lloh98, Lloh99
.loh AdrpLdrGotLdr Lloh94, Lloh95, Lloh96
.cfi_endproc
; -- End function
.comm _DRV,4,2 ; @DRV
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "start port called while port already up\n"
.comm _MAX_NUM_OF_FS_RULES,4,2 ; @MAX_NUM_OF_FS_RULES
l_.str.1: ; @.str.1
.asciz "Rx buf size:%d\n"
l_.str.2: ; @.str.2
.asciz "Failed to activate RX rings\n"
l_.str.3: ; @.str.3
.asciz "Failed preparing IRQ affinity hint\n"
l_.str.4: ; @.str.4
.asciz "Failed activating Rx CQ\n"
.comm _MLX4_CQE_OWNER_MASK,4,2 ; @MLX4_CQE_OWNER_MASK
l_.str.5: ; @.str.5
.asciz "Failed setting cq moderation parameters\n"
l_.str.6: ; @.str.6
.asciz "Getting qp number for port %d\n"
l_.str.7: ; @.str.7
.asciz "Failed getting eth qp\n"
l_.str.8: ; @.str.8
.asciz "Failed configuring rss steering\n"
.comm _MLX4_EN_NUM_TX_TYPES,4,2 ; @MLX4_EN_NUM_TX_TYPES
.comm _TX,4,2 ; @TX
l_.str.9: ; @.str.9
.asciz "Failed allocating Tx CQ\n"
l_.str.10: ; @.str.10
.asciz "Resetting index of collapsed CQ:%d to -1\n"
l_.str.11: ; @.str.11
.asciz "Failed allocating Tx ring\n"
.comm _TX_XDP,4,2 ; @TX_XDP
.comm _STAMP_STRIDE,8,3 ; @STAMP_STRIDE
.comm _ETH_FCS_LEN,8,3 ; @ETH_FCS_LEN
l_.str.12: ; @.str.12
.asciz "Failed setting port general configurations for port %d, with error %d\n"
l_.str.13: ; @.str.13
.asciz "Failed to pass user MTU(%d) to Firmware for port %d, with error %d\n"
l_.str.14: ; @.str.14
.asciz "Failed setting default qp numbers\n"
.comm _MLX4_TUNNEL_OFFLOAD_MODE_VXLAN,8,3 ; @MLX4_TUNNEL_OFFLOAD_MODE_VXLAN
.comm _VXLAN_STEER_BY_OUTER_MAC,4,2 ; @VXLAN_STEER_BY_OUTER_MAC
l_.str.15: ; @.str.15
.asciz "Failed setting port L2 tunnel configuration, err %d\n"
.comm _HW,4,2 ; @HW
l_.str.16: ; @.str.16
.asciz "Initializing port\n"
l_.str.17: ; @.str.17
.asciz "Failed Initializing port\n"
.comm _MLX4_STEERING_MODE_A0,8,3 ; @MLX4_STEERING_MODE_A0
l_.str.18: ; @.str.18
.asciz "Failed setting steering rules\n"
.comm _MLX4_PROT_ETH,4,2 ; @MLX4_PROT_ETH
l_.str.19: ; @.str.19
.asciz "Failed Attaching Broadcast\n"
.comm _MLX4_EN_FLAG_PROMISC,4,2 ; @MLX4_EN_FLAG_PROMISC
.comm _MLX4_EN_FLAG_MC_PROMISC,4,2 ; @MLX4_EN_FLAG_MC_PROMISC
.subsections_via_symbols
| assembly_file_140809.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sja1105_tas_teardown ## -- Begin function sja1105_tas_teardown
.p2align 4, 0x90
_sja1105_tas_teardown: ## @sja1105_tas_teardown
.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 _SJA1105_NUM_PORTS@GOTPCREL(%rip), %r14
movl (%r14), %eax
testl %eax, %eax
jle LBB0_5
## %bb.1:
movq (%rdi), %r15
xorl %ebx, %ebx
jmp LBB0_2
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
incq %rbx
movslq %eax, %rcx
cmpq %rcx, %rbx
jge LBB0_5
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq (%r15), %rcx
movq (%rcx,%rbx,8), %rdi
testq %rdi, %rdi
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
callq _taprio_offload_free
movl (%r14), %eax
jmp LBB0_4
LBB0_5:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SJA1105_NUM_PORTS,4,2 ## @SJA1105_NUM_PORTS
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sja1105_tas_teardown ; -- Begin function sja1105_tas_teardown
.p2align 2
_sja1105_tas_teardown: ; @sja1105_tas_teardown
.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 x19, _SJA1105_NUM_PORTS@GOTPAGE
Lloh1:
ldr x19, [x19, _SJA1105_NUM_PORTS@GOTPAGEOFF]
ldr w8, [x19]
cmp w8, #1
b.lt LBB0_5
; %bb.1:
mov x20, #0
ldr x21, [x0]
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x20, x20, #1
cmp x20, w8, sxtw
b.ge LBB0_5
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x9, [x21]
ldr x0, [x9, x20, lsl #3]
cbz x0, LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
bl _taprio_offload_free
ldr w8, [x19]
b LBB0_2
LBB0_5:
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 _SJA1105_NUM_PORTS,4,2 ; @SJA1105_NUM_PORTS
.subsections_via_symbols
| AnghaBench/linux/drivers/net/dsa/sja1105/extr_sja1105_tas.c_sja1105_tas_teardown.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _bfad_im_supported_speeds ## -- Begin function bfad_im_supported_speeds
.p2align 4, 0x90
_bfad_im_supported_speeds: ## @bfad_im_supported_speeds
.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 _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $16, %edi
callq _kzalloc
testq %rax, %rax
je LBB0_3
## %bb.1:
movq %rax, %r14
movq %rbx, %rdi
movq %rax, %rsi
callq _bfa_ioc_get_attr
movq (%r14), %rax
movq _BFA_PORT_SPEED_16GBPS@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_4
## %bb.2:
movq _FC_PORTSPEED_16GBIT@GOTPCREL(%rip), %rax
movq _FC_PORTSPEED_8GBIT@GOTPCREL(%rip), %rcx
movl (%rcx), %ebx
orl (%rax), %ebx
movq _FC_PORTSPEED_4GBIT@GOTPCREL(%rip), %rax
orl (%rax), %ebx
movq _FC_PORTSPEED_2GBIT@GOTPCREL(%rip), %rax
jmp LBB0_9
LBB0_3:
xorl %ebx, %ebx
jmp LBB0_11
LBB0_4:
movq _BFA_PORT_SPEED_8GBPS@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_6
## %bb.5:
movq _FC_PORTSPEED_8GBIT@GOTPCREL(%rip), %rax
movq _FC_PORTSPEED_4GBIT@GOTPCREL(%rip), %rcx
movl (%rcx), %ebx
orl (%rax), %ebx
movq _FC_PORTSPEED_2GBIT@GOTPCREL(%rip), %rax
orl (%rax), %ebx
cmpq $0, 8(%r14)
jne LBB0_8
jmp LBB0_10
LBB0_6:
movq _BFA_PORT_SPEED_4GBPS@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_12
## %bb.7:
movq _FC_PORTSPEED_4GBIT@GOTPCREL(%rip), %rax
movq _FC_PORTSPEED_2GBIT@GOTPCREL(%rip), %rcx
movl (%rcx), %ebx
orl (%rax), %ebx
LBB0_8:
movq _FC_PORTSPEED_1GBIT@GOTPCREL(%rip), %rax
LBB0_9:
orl (%rax), %ebx
LBB0_10:
movq %r14, %rdi
callq _kfree
LBB0_11:
movl %ebx, %eax
popq %rbx
popq %r14
popq %rbp
retq
LBB0_12:
movq _BFA_PORT_SPEED_10GBPS@GOTPCREL(%rip), %rcx
xorl %ebx, %ebx
cmpq (%rcx), %rax
jne LBB0_10
## %bb.13:
movq _FC_PORTSPEED_10GBIT@GOTPCREL(%rip), %rax
movl (%rax), %ebx
jmp LBB0_10
.cfi_endproc
## -- End function
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _BFA_PORT_SPEED_16GBPS,8,3 ## @BFA_PORT_SPEED_16GBPS
.comm _FC_PORTSPEED_16GBIT,4,2 ## @FC_PORTSPEED_16GBIT
.comm _FC_PORTSPEED_8GBIT,4,2 ## @FC_PORTSPEED_8GBIT
.comm _FC_PORTSPEED_4GBIT,4,2 ## @FC_PORTSPEED_4GBIT
.comm _FC_PORTSPEED_2GBIT,4,2 ## @FC_PORTSPEED_2GBIT
.comm _BFA_PORT_SPEED_8GBPS,8,3 ## @BFA_PORT_SPEED_8GBPS
.comm _FC_PORTSPEED_1GBIT,4,2 ## @FC_PORTSPEED_1GBIT
.comm _BFA_PORT_SPEED_4GBPS,8,3 ## @BFA_PORT_SPEED_4GBPS
.comm _BFA_PORT_SPEED_10GBPS,8,3 ## @BFA_PORT_SPEED_10GBPS
.comm _FC_PORTSPEED_10GBIT,4,2 ## @FC_PORTSPEED_10GBIT
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _bfad_im_supported_speeds ; -- Begin function bfad_im_supported_speeds
.p2align 2
_bfad_im_supported_speeds: ; @bfad_im_supported_speeds
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x20, x0
Lloh0:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh1:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov w0, #16
bl _kzalloc
cbz x0, LBB0_3
; %bb.1:
mov x19, x0
mov x0, x20
mov x1, x19
bl _bfa_ioc_get_attr
ldr x8, [x19]
Lloh3:
adrp x9, _BFA_PORT_SPEED_16GBPS@GOTPAGE
Lloh4:
ldr x9, [x9, _BFA_PORT_SPEED_16GBPS@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_4
; %bb.2:
Lloh6:
adrp x8, _FC_PORTSPEED_16GBIT@GOTPAGE
Lloh7:
ldr x8, [x8, _FC_PORTSPEED_16GBIT@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
Lloh9:
adrp x9, _FC_PORTSPEED_8GBIT@GOTPAGE
Lloh10:
ldr x9, [x9, _FC_PORTSPEED_8GBIT@GOTPAGEOFF]
Lloh11:
ldr w9, [x9]
orr w8, w9, w8
Lloh12:
adrp x9, _FC_PORTSPEED_4GBIT@GOTPAGE
Lloh13:
ldr x9, [x9, _FC_PORTSPEED_4GBIT@GOTPAGEOFF]
Lloh14:
ldr w9, [x9]
orr w8, w8, w9
Lloh15:
adrp x9, _FC_PORTSPEED_2GBIT@GOTPAGE
Lloh16:
ldr x9, [x9, _FC_PORTSPEED_2GBIT@GOTPAGEOFF]
b LBB0_9
LBB0_3:
mov w20, #0
b LBB0_11
LBB0_4:
Lloh17:
adrp x9, _BFA_PORT_SPEED_8GBPS@GOTPAGE
Lloh18:
ldr x9, [x9, _BFA_PORT_SPEED_8GBPS@GOTPAGEOFF]
Lloh19:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_7
; %bb.5:
ldr x8, [x19, #8]
Lloh20:
adrp x9, _FC_PORTSPEED_8GBIT@GOTPAGE
Lloh21:
ldr x9, [x9, _FC_PORTSPEED_8GBIT@GOTPAGEOFF]
Lloh22:
ldr w9, [x9]
Lloh23:
adrp x10, _FC_PORTSPEED_4GBIT@GOTPAGE
Lloh24:
ldr x10, [x10, _FC_PORTSPEED_4GBIT@GOTPAGEOFF]
Lloh25:
ldr w10, [x10]
orr w9, w10, w9
Lloh26:
adrp x10, _FC_PORTSPEED_2GBIT@GOTPAGE
Lloh27:
ldr x10, [x10, _FC_PORTSPEED_2GBIT@GOTPAGEOFF]
Lloh28:
ldr w10, [x10]
orr w20, w9, w10
cbz x8, LBB0_10
; %bb.6:
Lloh29:
adrp x8, _FC_PORTSPEED_1GBIT@GOTPAGE
Lloh30:
ldr x8, [x8, _FC_PORTSPEED_1GBIT@GOTPAGEOFF]
Lloh31:
ldr w8, [x8]
orr w20, w20, w8
b LBB0_10
LBB0_7:
Lloh32:
adrp x9, _BFA_PORT_SPEED_4GBPS@GOTPAGE
Lloh33:
ldr x9, [x9, _BFA_PORT_SPEED_4GBPS@GOTPAGEOFF]
Lloh34:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_12
; %bb.8:
Lloh35:
adrp x8, _FC_PORTSPEED_4GBIT@GOTPAGE
Lloh36:
ldr x8, [x8, _FC_PORTSPEED_4GBIT@GOTPAGEOFF]
Lloh37:
ldr w8, [x8]
Lloh38:
adrp x9, _FC_PORTSPEED_2GBIT@GOTPAGE
Lloh39:
ldr x9, [x9, _FC_PORTSPEED_2GBIT@GOTPAGEOFF]
Lloh40:
ldr w9, [x9]
orr w8, w9, w8
Lloh41:
adrp x9, _FC_PORTSPEED_1GBIT@GOTPAGE
Lloh42:
ldr x9, [x9, _FC_PORTSPEED_1GBIT@GOTPAGEOFF]
LBB0_9:
ldr w9, [x9]
orr w20, w8, w9
LBB0_10:
mov x0, x19
bl _kfree
LBB0_11:
mov x0, x20
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_12:
Lloh43:
adrp x9, _BFA_PORT_SPEED_10GBPS@GOTPAGE
Lloh44:
ldr x9, [x9, _BFA_PORT_SPEED_10GBPS@GOTPAGEOFF]
Lloh45:
ldr x9, [x9]
Lloh46:
adrp x10, _FC_PORTSPEED_10GBIT@GOTPAGE
Lloh47:
ldr x10, [x10, _FC_PORTSPEED_10GBIT@GOTPAGEOFF]
Lloh48:
ldr w10, [x10]
cmp x8, x9
csel w20, w10, wzr, eq
b LBB0_10
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34
.loh AdrpLdrGot Lloh41, Lloh42
.loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40
.loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37
.loh AdrpLdrGotLdr Lloh46, Lloh47, Lloh48
.loh AdrpLdrGotLdr Lloh43, Lloh44, Lloh45
.cfi_endproc
; -- End function
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _BFA_PORT_SPEED_16GBPS,8,3 ; @BFA_PORT_SPEED_16GBPS
.comm _FC_PORTSPEED_16GBIT,4,2 ; @FC_PORTSPEED_16GBIT
.comm _FC_PORTSPEED_8GBIT,4,2 ; @FC_PORTSPEED_8GBIT
.comm _FC_PORTSPEED_4GBIT,4,2 ; @FC_PORTSPEED_4GBIT
.comm _FC_PORTSPEED_2GBIT,4,2 ; @FC_PORTSPEED_2GBIT
.comm _BFA_PORT_SPEED_8GBPS,8,3 ; @BFA_PORT_SPEED_8GBPS
.comm _FC_PORTSPEED_1GBIT,4,2 ; @FC_PORTSPEED_1GBIT
.comm _BFA_PORT_SPEED_4GBPS,8,3 ; @BFA_PORT_SPEED_4GBPS
.comm _BFA_PORT_SPEED_10GBPS,8,3 ; @BFA_PORT_SPEED_10GBPS
.comm _FC_PORTSPEED_10GBIT,4,2 ; @FC_PORTSPEED_10GBIT
.subsections_via_symbols
| AnghaBench/linux/drivers/scsi/bfa/extr_bfad_im.c_bfad_im_supported_speeds.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _terasic_mtl_reg_textcursor_get ## -- Begin function terasic_mtl_reg_textcursor_get
.p2align 4, 0x90
_terasic_mtl_reg_textcursor_get: ## @terasic_mtl_reg_textcursor_get
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdx, %r14
movq %rsi, %rbx
movl (%rdi), %edi
movq _TERASIC_MTL_OFF_TEXTCURSOR@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _bus_read_4
movl %eax, %edi
callq _le32toh
movq _TERASIC_MTL_TEXTCURSOR_COL_MASK@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
andl %eax, %edx
movq _TERASIC_MTL_TEXTCURSOR_COL_SHIFT@GOTPCREL(%rip), %rcx
movb (%rcx), %cl
sarl %cl, %edx
movl %edx, (%rbx)
movq _TERASIC_MTL_TEXTCURSOR_ROW_MASK@GOTPCREL(%rip), %rcx
andl (%rcx), %eax
movl %eax, (%r14)
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _TERASIC_MTL_OFF_TEXTCURSOR,4,2 ## @TERASIC_MTL_OFF_TEXTCURSOR
.comm _TERASIC_MTL_TEXTCURSOR_COL_MASK,4,2 ## @TERASIC_MTL_TEXTCURSOR_COL_MASK
.comm _TERASIC_MTL_TEXTCURSOR_COL_SHIFT,4,2 ## @TERASIC_MTL_TEXTCURSOR_COL_SHIFT
.comm _TERASIC_MTL_TEXTCURSOR_ROW_MASK,4,2 ## @TERASIC_MTL_TEXTCURSOR_ROW_MASK
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _terasic_mtl_reg_textcursor_get ; -- Begin function terasic_mtl_reg_textcursor_get
.p2align 2
_terasic_mtl_reg_textcursor_get: ; @terasic_mtl_reg_textcursor_get
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x2
mov x20, x1
ldr w0, [x0]
Lloh0:
adrp x8, _TERASIC_MTL_OFF_TEXTCURSOR@GOTPAGE
Lloh1:
ldr x8, [x8, _TERASIC_MTL_OFF_TEXTCURSOR@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _bus_read_4
bl _le32toh
Lloh3:
adrp x8, _TERASIC_MTL_TEXTCURSOR_COL_MASK@GOTPAGE
Lloh4:
ldr x8, [x8, _TERASIC_MTL_TEXTCURSOR_COL_MASK@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
and w8, w8, w0
Lloh6:
adrp x9, _TERASIC_MTL_TEXTCURSOR_COL_SHIFT@GOTPAGE
Lloh7:
ldr x9, [x9, _TERASIC_MTL_TEXTCURSOR_COL_SHIFT@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
asr w8, w8, w9
str w8, [x20]
Lloh9:
adrp x8, _TERASIC_MTL_TEXTCURSOR_ROW_MASK@GOTPAGE
Lloh10:
ldr x8, [x8, _TERASIC_MTL_TEXTCURSOR_ROW_MASK@GOTPAGEOFF]
Lloh11:
ldr w8, [x8]
and w8, w8, w0
str w8, [x19]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _TERASIC_MTL_OFF_TEXTCURSOR,4,2 ; @TERASIC_MTL_OFF_TEXTCURSOR
.comm _TERASIC_MTL_TEXTCURSOR_COL_MASK,4,2 ; @TERASIC_MTL_TEXTCURSOR_COL_MASK
.comm _TERASIC_MTL_TEXTCURSOR_COL_SHIFT,4,2 ; @TERASIC_MTL_TEXTCURSOR_COL_SHIFT
.comm _TERASIC_MTL_TEXTCURSOR_ROW_MASK,4,2 ; @TERASIC_MTL_TEXTCURSOR_ROW_MASK
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/terasic/mtl/extr_terasic_mtl_reg.c_terasic_mtl_reg_textcursor_get.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function l2cap_sock_shutdown
_l2cap_sock_shutdown: ## @l2cap_sock_shutdown
.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, %rsi
movq (%rdi), %rbx
leaq L_.str(%rip), %rdi
xorl %r14d, %r14d
movq %rbx, %rdx
xorl %eax, %eax
callq _BT_DBG
testq %rbx, %rbx
je LBB0_18
## %bb.1:
movq %rbx, %rdi
callq _lock_sock
cmpq $0, 16(%rbx)
je LBB0_2
LBB0_16:
xorl %r14d, %r14d
subl (%rbx), %r14d
jmp LBB0_17
LBB0_2:
leaq L_.str.1(%rip), %rdi
xorl %r14d, %r14d
xorl %eax, %eax
callq _BT_DBG
movq %rbx, %rdi
callq _sock_hold
movq %rbx, %rdi
callq _l2cap_pi
movq (%rax), %r15
movq %r15, %rdi
callq _l2cap_chan_hold
movq (%r15), %rdi
callq _state_to_string
leaq L_.str.2(%rip), %rdi
movq %r15, %rsi
movl %eax, %edx
xorl %eax, %eax
callq _BT_DBG
movq 8(%r15), %rax
movq _L2CAP_MODE_ERTM@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_6
## %bb.3:
cmpq $0, 16(%r15)
jle LBB0_6
## %bb.4:
movq (%r15), %rax
movq _BT_CONNECTED@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_6
## %bb.5:
movq %rbx, %rdi
movq %r15, %rsi
callq ___l2cap_wait_ack
movl %eax, %r14d
cmpq $0, 16(%rbx)
jne LBB0_15
LBB0_6:
movq _SHUTDOWN_MASK@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, 16(%rbx)
movq %rbx, %rdi
callq _release_sock
movq %r15, %rdi
callq _l2cap_chan_lock
movq 24(%r15), %r12
testq %r12, %r12
je LBB0_8
## %bb.7:
movq %r12, %rdi
callq _l2cap_conn_get
movq %r15, %rdi
callq _l2cap_chan_unlock
movq %r12, %rdi
callq _mutex_lock
jmp LBB0_9
LBB0_8:
movq %r15, %rdi
callq _l2cap_chan_unlock
LBB0_9:
movq %r15, %rdi
callq _l2cap_chan_lock
movq %r15, %rdi
xorl %esi, %esi
callq _l2cap_chan_close
movq %r15, %rdi
callq _l2cap_chan_unlock
testq %r12, %r12
je LBB0_11
## %bb.10:
movq %r12, %rdi
callq _mutex_unlock
movq %r12, %rdi
callq _l2cap_conn_put
LBB0_11:
movq %rbx, %rdi
callq _lock_sock
movq _SOCK_LINGER@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _sock_flag
testq %rax, %rax
je LBB0_15
## %bb.12:
movq 8(%rbx), %rdx
testq %rdx, %rdx
je LBB0_15
## %bb.13:
movq _current@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _PF_EXITING@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
testl %ecx, (%rax)
jne LBB0_15
## %bb.14:
movq _BT_CLOSED@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _bt_sock_wait_state
movl %eax, %r14d
LBB0_15:
movq %r15, %rdi
callq _l2cap_chan_put
movq %rbx, %rdi
callq _sock_put
testl %r14d, %r14d
je LBB0_16
LBB0_17:
movq %rbx, %rdi
callq _release_sock
leaq L_.str.3(%rip), %rdi
movl %r14d, %esi
xorl %eax, %eax
callq _BT_DBG
LBB0_18:
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 "sock %p, sk %p"
L_.str.1: ## @.str.1
.asciz "Handling sock shutdown"
L_.str.2: ## @.str.2
.asciz "chan %p state %s"
.comm _L2CAP_MODE_ERTM,8,3 ## @L2CAP_MODE_ERTM
.comm _BT_CONNECTED,8,3 ## @BT_CONNECTED
.comm _SHUTDOWN_MASK,8,3 ## @SHUTDOWN_MASK
.comm _SOCK_LINGER,4,2 ## @SOCK_LINGER
.comm _current,8,3 ## @current
.comm _PF_EXITING,4,2 ## @PF_EXITING
.comm _BT_CLOSED,4,2 ## @BT_CLOSED
L_.str.3: ## @.str.3
.asciz "Sock shutdown complete err: %d"
.no_dead_strip _l2cap_sock_shutdown
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function l2cap_sock_shutdown
_l2cap_sock_shutdown: ; @l2cap_sock_shutdown
.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
ldr x19, [x0]
stp x0, x19, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _BT_DBG
cbz x19, LBB0_3
; %bb.1:
mov x0, x19
bl _lock_sock
ldr x8, [x19, #16]
cbz x8, LBB0_4
LBB0_2:
ldr w8, [x19]
neg w21, w8
b LBB0_19
LBB0_3:
mov w21, #0
b LBB0_20
LBB0_4:
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _BT_DBG
mov x0, x19
bl _sock_hold
mov x0, x19
bl _l2cap_pi
ldr x20, [x0]
mov x0, x20
bl _l2cap_chan_hold
ldr x0, [x20]
bl _state_to_string
; kill: def $w0 killed $w0 def $x0
stp x20, x0, [sp]
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _BT_DBG
ldr x8, [x20, #8]
Lloh6:
adrp x9, _L2CAP_MODE_ERTM@GOTPAGE
Lloh7:
ldr x9, [x9, _L2CAP_MODE_ERTM@GOTPAGEOFF]
Lloh8:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_8
; %bb.5:
ldr x8, [x20, #16]
cmp x8, #1
b.lt LBB0_8
; %bb.6:
ldr x8, [x20]
Lloh9:
adrp x9, _BT_CONNECTED@GOTPAGE
Lloh10:
ldr x9, [x9, _BT_CONNECTED@GOTPAGEOFF]
Lloh11:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_8
; %bb.7:
mov x0, x19
mov x1, x20
bl ___l2cap_wait_ack
mov x21, x0
ldr x8, [x19, #16]
cbnz x8, LBB0_18
b LBB0_9
LBB0_8:
mov w21, #0
LBB0_9:
Lloh12:
adrp x8, _SHUTDOWN_MASK@GOTPAGE
Lloh13:
ldr x8, [x8, _SHUTDOWN_MASK@GOTPAGEOFF]
Lloh14:
ldr x8, [x8]
str x8, [x19, #16]
mov x0, x19
bl _release_sock
mov x0, x20
bl _l2cap_chan_lock
ldr x22, [x20, #24]
cbz x22, LBB0_11
; %bb.10:
mov x0, x22
bl _l2cap_conn_get
mov x0, x20
bl _l2cap_chan_unlock
mov x0, x22
bl _mutex_lock
b LBB0_12
LBB0_11:
mov x0, x20
bl _l2cap_chan_unlock
LBB0_12:
mov x0, x20
bl _l2cap_chan_lock
mov x0, x20
mov w1, #0
bl _l2cap_chan_close
mov x0, x20
bl _l2cap_chan_unlock
cbz x22, LBB0_14
; %bb.13:
mov x0, x22
bl _mutex_unlock
mov x0, x22
bl _l2cap_conn_put
LBB0_14:
mov x0, x19
bl _lock_sock
Lloh15:
adrp x8, _SOCK_LINGER@GOTPAGE
Lloh16:
ldr x8, [x8, _SOCK_LINGER@GOTPAGEOFF]
Lloh17:
ldr w1, [x8]
mov x0, x19
bl _sock_flag
cbz x0, LBB0_18
; %bb.15:
ldr x2, [x19, #8]
cbz x2, LBB0_18
; %bb.16:
Lloh18:
adrp x8, _current@GOTPAGE
Lloh19:
ldr x8, [x8, _current@GOTPAGEOFF]
Lloh20:
ldr x8, [x8]
ldr w8, [x8]
Lloh21:
adrp x9, _PF_EXITING@GOTPAGE
Lloh22:
ldr x9, [x9, _PF_EXITING@GOTPAGEOFF]
Lloh23:
ldr w9, [x9]
tst w9, w8
b.ne LBB0_18
; %bb.17:
Lloh24:
adrp x8, _BT_CLOSED@GOTPAGE
Lloh25:
ldr x8, [x8, _BT_CLOSED@GOTPAGEOFF]
Lloh26:
ldr w1, [x8]
mov x0, x19
bl _bt_sock_wait_state
mov x21, x0
LBB0_18:
mov x0, x20
bl _l2cap_chan_put
mov x0, x19
bl _sock_put
cbz w21, LBB0_2
LBB0_19:
mov x0, x19
bl _release_sock
str x21, [sp]
Lloh27:
adrp x0, l_.str.3@PAGE
Lloh28:
add x0, x0, l_.str.3@PAGEOFF
bl _BT_DBG
LBB0_20:
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
add sp, sp, #64
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpAdd Lloh27, Lloh28
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "sock %p, sk %p"
l_.str.1: ; @.str.1
.asciz "Handling sock shutdown"
l_.str.2: ; @.str.2
.asciz "chan %p state %s"
.comm _L2CAP_MODE_ERTM,8,3 ; @L2CAP_MODE_ERTM
.comm _BT_CONNECTED,8,3 ; @BT_CONNECTED
.comm _SHUTDOWN_MASK,8,3 ; @SHUTDOWN_MASK
.comm _SOCK_LINGER,4,2 ; @SOCK_LINGER
.comm _current,8,3 ; @current
.comm _PF_EXITING,4,2 ; @PF_EXITING
.comm _BT_CLOSED,4,2 ; @BT_CLOSED
l_.str.3: ; @.str.3
.asciz "Sock shutdown complete err: %d"
.no_dead_strip _l2cap_sock_shutdown
.subsections_via_symbols
| AnghaBench/linux/net/bluetooth/extr_l2cap_sock.c_l2cap_sock_shutdown.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test_stash_save__can_stash_against_a_detached_head ## -- Begin function test_stash_save__can_stash_against_a_detached_head
.p2align 4, 0x90
_test_stash_save__can_stash_against_a_detached_head: ## @test_stash_save__can_stash_against_a_detached_head
.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 _repo@GOTPCREL(%rip), %rbx
movl (%rbx), %edi
callq _git_repository_detach_head
movl (%rbx), %esi
movq _signature@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _GIT_STASH_DEFAULT@GOTPCREL(%rip), %rax
movl (%rax), %r8d
movq _stash_tip_oid@GOTPCREL(%rip), %rdi
xorl %ecx, %ecx
callq _git_stash_save
movl %eax, %edi
callq _cl_git_pass
leaq L_.str(%rip), %rdi
leaq L_.str.1(%rip), %rsi
callq _assert_commit_message_contains
leaq L_.str.2(%rip), %rdi
leaq L_.str.3(%rip), %rsi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _assert_commit_message_contains ## TAILCALL
.cfi_endproc
## -- End function
.comm _repo,4,2 ## @repo
.comm _stash_tip_oid,4,2 ## @stash_tip_oid
.comm _signature,4,2 ## @signature
.comm _GIT_STASH_DEFAULT,4,2 ## @GIT_STASH_DEFAULT
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "refs/stash^2"
L_.str.1: ## @.str.1
.asciz "index on (no branch): "
L_.str.2: ## @.str.2
.asciz "refs/stash"
L_.str.3: ## @.str.3
.asciz "WIP on (no branch): "
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test_stash_save__can_stash_against_a_detached_head ; -- Begin function test_stash_save__can_stash_against_a_detached_head
.p2align 2
_test_stash_save__can_stash_against_a_detached_head: ; @test_stash_save__can_stash_against_a_detached_head
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x19, _repo@GOTPAGE
Lloh1:
ldr x19, [x19, _repo@GOTPAGEOFF]
ldr w0, [x19]
bl _git_repository_detach_head
ldr w1, [x19]
Lloh2:
adrp x8, _signature@GOTPAGE
Lloh3:
ldr x8, [x8, _signature@GOTPAGEOFF]
Lloh4:
ldr w2, [x8]
Lloh5:
adrp x8, _GIT_STASH_DEFAULT@GOTPAGE
Lloh6:
ldr x8, [x8, _GIT_STASH_DEFAULT@GOTPAGEOFF]
Lloh7:
ldr w4, [x8]
Lloh8:
adrp x0, _stash_tip_oid@GOTPAGE
Lloh9:
ldr x0, [x0, _stash_tip_oid@GOTPAGEOFF]
mov x3, #0
bl _git_stash_save
bl _cl_git_pass
Lloh10:
adrp x0, l_.str@PAGE
Lloh11:
add x0, x0, l_.str@PAGEOFF
Lloh12:
adrp x1, l_.str.1@PAGE
Lloh13:
add x1, x1, l_.str.1@PAGEOFF
bl _assert_commit_message_contains
Lloh14:
adrp x0, l_.str.2@PAGE
Lloh15:
add x0, x0, l_.str.2@PAGEOFF
Lloh16:
adrp x1, l_.str.3@PAGE
Lloh17:
add x1, x1, l_.str.3@PAGEOFF
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _assert_commit_message_contains
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _repo,4,2 ; @repo
.comm _stash_tip_oid,4,2 ; @stash_tip_oid
.comm _signature,4,2 ; @signature
.comm _GIT_STASH_DEFAULT,4,2 ; @GIT_STASH_DEFAULT
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "refs/stash^2"
l_.str.1: ; @.str.1
.asciz "index on (no branch): "
l_.str.2: ; @.str.2
.asciz "refs/stash"
l_.str.3: ; @.str.3
.asciz "WIP on (no branch): "
.subsections_via_symbols
| AnghaBench/libgit2/tests/stash/extr_save.c_test_stash_save__can_stash_against_a_detached_head.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _split ## -- Begin function split
.p2align 4, 0x90
_split: ## @split
.cfi_startproc
## %bb.0:
movzbl (%rcx), %r9d
testb %r9b, %r9b
leaq L_.str(%rip), %r10
cmovneq %rcx, %r10
movl $32, %ecx
cmovnel %r9d, %ecx
cmpb $0, (%rdi)
je LBB0_1
## %bb.3:
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
movzbl 1(%r10), %r8d
testb %r8b, %r8b
je LBB0_4
## %bb.13:
cmpb $0, 2(%r10)
je LBB0_30
## %bb.14:
xorl %eax, %eax
cmpl %edx, %eax
jg LBB0_17
LBB0_16:
movq %rdi, (%rsi)
addq $8, %rsi
LBB0_17: ## =>This Loop Header: Depth=1
## Child Loop BB0_18 Depth 2
## Child Loop BB0_20 Depth 3
## Child Loop BB0_25 Depth 2
## Child Loop BB0_26 Depth 3
incl %eax
jmp LBB0_18
.p2align 4, 0x90
LBB0_22: ## in Loop: Header=BB0_18 Depth=2
testb %r11b, %r11b
jne LBB0_23
LBB0_18: ## Parent Loop BB0_17 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_20 Depth 3
movzbl (%rdi), %r8d
testb %r8b, %r8b
je LBB0_60
## %bb.19: ## in Loop: Header=BB0_18 Depth=2
movq %rdi, %rcx
incq %rdi
movq %r10, %r9
.p2align 4, 0x90
LBB0_20: ## Parent Loop BB0_17 Depth=1
## Parent Loop BB0_18 Depth=2
## => This Inner Loop Header: Depth=3
movzbl (%r9), %r11d
testb %r11b, %r11b
je LBB0_22
## %bb.21: ## in Loop: Header=BB0_20 Depth=3
incq %r9
cmpb %r8b, %r11b
jne LBB0_20
jmp LBB0_22
.p2align 4, 0x90
LBB0_23: ## in Loop: Header=BB0_17 Depth=1
cmpl %edx, %eax
jge LBB0_25
## %bb.24: ## in Loop: Header=BB0_17 Depth=1
movb $0, (%rcx)
jmp LBB0_25
.p2align 4, 0x90
LBB0_28: ## in Loop: Header=BB0_25 Depth=2
leaq 1(%rcx), %rdi
testb %r9b, %r9b
je LBB0_29
LBB0_25: ## Parent Loop BB0_17 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_26 Depth 3
movq %rdi, %rcx
movzbl (%rdi), %edi
movq %r10, %r8
.p2align 4, 0x90
LBB0_26: ## Parent Loop BB0_17 Depth=1
## Parent Loop BB0_25 Depth=2
## => This Inner Loop Header: Depth=3
movzbl (%r8), %r9d
testb %r9b, %r9b
je LBB0_28
## %bb.27: ## in Loop: Header=BB0_26 Depth=3
incq %r8
cmpb %dil, %r9b
jne LBB0_26
jmp LBB0_28
.p2align 4, 0x90
LBB0_29: ## in Loop: Header=BB0_17 Depth=1
movq %rcx, %rdi
cmpl %edx, %eax
jle LBB0_16
jmp LBB0_17
LBB0_1:
xorl %eax, %eax
retq
LBB0_4:
movl %edx, %eax
jmp LBB0_5
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_5 Depth=1
movb $0, -1(%rdi)
LBB0_5: ## =>This Loop Header: Depth=1
## Child Loop BB0_9 Depth 2
movq %rdi, (%rsi)
decl %eax
je LBB0_7
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
addq $8, %rsi
jmp LBB0_8
LBB0_7: ## in Loop: Header=BB0_5 Depth=1
movq %rdi, 8(%rsi)
addq $16, %rsi
movl $-1, %eax
LBB0_8: ## in Loop: Header=BB0_5 Depth=1
incq %rdi
.p2align 4, 0x90
LBB0_9: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
movzbl -1(%rdi), %r8d
cmpb %cl, %r8b
je LBB0_12
## %bb.10: ## in Loop: Header=BB0_9 Depth=2
incq %rdi
testb %r8b, %r8b
jne LBB0_9
jmp LBB0_11
LBB0_30:
movl %edx, %r11d
movq %rdi, %r10
LBB0_31: ## =>This Loop Header: Depth=1
## Child Loop BB0_32 Depth 2
## Child Loop BB0_41 Depth 2
movq %rdi, (%rsi)
addq $8, %rsi
leal -1(%r11), %eax
.p2align 4, 0x90
LBB0_32: ## Parent Loop BB0_31 Depth=1
## => This Inner Loop Header: Depth=2
movzbl (%r10), %ebx
cmpb %cl, %bl
je LBB0_37
## %bb.33: ## in Loop: Header=BB0_32 Depth=2
cmpb %r8b, %bl
je LBB0_37
## %bb.34: ## in Loop: Header=BB0_32 Depth=2
incq %r10
testb %bl, %bl
jne LBB0_32
jmp LBB0_35
LBB0_37: ## in Loop: Header=BB0_31 Depth=1
testl %eax, %eax
je LBB0_38
## %bb.40: ## in Loop: Header=BB0_31 Depth=1
movb $0, (%r10)
.p2align 4, 0x90
LBB0_41: ## Parent Loop BB0_31 Depth=1
## => This Inner Loop Header: Depth=2
movzbl 1(%r10), %edi
incq %r10
cmpb %cl, %dil
je LBB0_41
## %bb.42: ## in Loop: Header=BB0_41 Depth=2
cmpb %r8b, %dil
je LBB0_41
## %bb.43: ## in Loop: Header=BB0_31 Depth=1
movq %r10, %rdi
movl %eax, %r11d
jmp LBB0_31
LBB0_35:
testb %r9b, %r9b
jne LBB0_11
## %bb.36:
cmpb $0, (%rdi)
cmovel %r11d, %eax
LBB0_11:
subl %eax, %edx
movl %edx, %eax
LBB0_60:
popq %rbx
popq %rbp
retq
LBB0_38:
testb %bl, %bl
je LBB0_39
## %bb.44:
incq %r10
movl %edx, %eax
movq %r10, %rsi
jmp LBB0_45
LBB0_51: ## in Loop: Header=BB0_45 Depth=1
leaq -1(%rsi), %r10
incl %eax
testb %dil, %dil
jne LBB0_52
.p2align 4, 0x90
LBB0_45: ## =>This Loop Header: Depth=1
## Child Loop BB0_48 Depth 2
movzbl (%rsi), %edi
incq %rsi
cmpb %cl, %dil
je LBB0_45
## %bb.46: ## in Loop: Header=BB0_45 Depth=1
cmpb %r8b, %dil
je LBB0_45
## %bb.47: ## in Loop: Header=BB0_45 Depth=1
testb %dil, %dil
sete %dil
je LBB0_51
.p2align 4, 0x90
LBB0_48: ## Parent Loop BB0_45 Depth=1
## => This Inner Loop Header: Depth=2
movzbl (%rsi), %r10d
incq %rsi
testb %r10b, %r10b
sete %dil
cmpb %r8b, %r10b
je LBB0_51
## %bb.49: ## in Loop: Header=BB0_48 Depth=2
testb %r10b, %r10b
je LBB0_51
## %bb.50: ## in Loop: Header=BB0_48 Depth=2
cmpb %cl, %r10b
jne LBB0_48
jmp LBB0_51
LBB0_39:
movl %edx, %eax
LBB0_52:
testb %r9b, %r9b
jne LBB0_60
## %bb.53:
incq %r10
LBB0_54: ## =>This Inner Loop Header: Depth=1
movzbl -2(%r10), %esi
decq %r10
cmpb %cl, %sil
je LBB0_54
## %bb.55: ## in Loop: Header=BB0_54 Depth=1
cmpb %r8b, %sil
je LBB0_54
## %bb.56:
cmpb $0, (%r10)
je LBB0_60
## %bb.57:
incl %edx
cmpl %edx, %eax
jne LBB0_59
## %bb.58:
movb $0, (%r10)
LBB0_59:
decl %eax
jmp LBB0_60
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz " \t"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _split ; -- Begin function split
.p2align 2
_split: ; @split
.cfi_startproc
; %bb.0:
Lloh0:
adrp x10, l_.str@PAGE
Lloh1:
add x10, x10, l_.str@PAGEOFF
ldrb w11, [x3]
mov w9, #32 ; =0x20
cmp w11, #0
csel w9, w9, w11, eq
csel x12, x10, x3, eq
ldrb w10, [x0]
cbz w10, LBB0_16
; %bb.1:
mov x8, x0
ldrb w10, [x12, #1]
cbz w10, LBB0_18
; %bb.2:
ldrb w13, [x12, #2]
cbz w13, LBB0_27
; %bb.3:
mov w0, #0 ; =0x0
cmp w0, w2
b.gt LBB0_5
LBB0_4:
str x8, [x1], #8
LBB0_5: ; =>This Loop Header: Depth=1
; Child Loop BB0_6 Depth 2
; Child Loop BB0_8 Depth 3
; Child Loop BB0_12 Depth 2
; Child Loop BB0_13 Depth 3
add w0, w0, #1
LBB0_6: ; Parent Loop BB0_5 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_8 Depth 3
mov x9, x8
ldrb w10, [x8], #1
cbz w10, LBB0_17
; %bb.7: ; in Loop: Header=BB0_6 Depth=2
mov x11, x12
LBB0_8: ; Parent Loop BB0_5 Depth=1
; Parent Loop BB0_6 Depth=2
; => This Inner Loop Header: Depth=3
ldrb w13, [x11], #1
cmp w13, #0
ccmp w13, w10, #4, ne
b.ne LBB0_8
; %bb.9: ; in Loop: Header=BB0_6 Depth=2
cbz w13, LBB0_6
; %bb.10: ; in Loop: Header=BB0_5 Depth=1
cmp w0, w2
b.ge LBB0_12
; %bb.11: ; in Loop: Header=BB0_5 Depth=1
strb wzr, [x9]
LBB0_12: ; Parent Loop BB0_5 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_13 Depth 3
mov x9, x8
ldrb w8, [x8]
mov x11, x12
LBB0_13: ; Parent Loop BB0_5 Depth=1
; Parent Loop BB0_12 Depth=2
; => This Inner Loop Header: Depth=3
ldrb w10, [x11], #1
cmp w10, #0
ccmp w10, w8, #4, ne
b.ne LBB0_13
; %bb.14: ; in Loop: Header=BB0_12 Depth=2
add x8, x9, #1
cbnz w10, LBB0_12
; %bb.15: ; in Loop: Header=BB0_5 Depth=1
mov x8, x9
cmp w0, w2
b.le LBB0_4
b LBB0_5
LBB0_16:
mov w0, #0 ; =0x0
LBB0_17:
ret
LBB0_18:
mov x10, x2
b LBB0_20
LBB0_19: ; in Loop: Header=BB0_20 Depth=1
sturb wzr, [x8, #-1]
LBB0_20: ; =>This Loop Header: Depth=1
; Child Loop BB0_24 Depth 2
mov x11, x1
str x8, [x11], #8
subs w10, w10, #1
b.eq LBB0_22
; %bb.21: ; in Loop: Header=BB0_20 Depth=1
mov x1, x11
b LBB0_23
LBB0_22: ; in Loop: Header=BB0_20 Depth=1
str x8, [x1, #8]
add x1, x1, #16
mov w10, #-1 ; =0xffffffff
LBB0_23: ; in Loop: Header=BB0_20 Depth=1
add x8, x8, #1
LBB0_24: ; Parent Loop BB0_20 Depth=1
; => This Inner Loop Header: Depth=2
ldurb w11, [x8, #-1]
cmp w11, w9
b.eq LBB0_19
; %bb.25: ; in Loop: Header=BB0_24 Depth=2
add x8, x8, #1
cbnz w11, LBB0_24
; %bb.26:
sub w0, w2, w10
ret
LBB0_27:
mov x14, x2
mov x12, x8
LBB0_28: ; =>This Loop Header: Depth=1
; Child Loop BB0_29 Depth 2
; Child Loop BB0_33 Depth 2
str x8, [x1], #8
sub w13, w14, #1
mov x15, x12
LBB0_29: ; Parent Loop BB0_28 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w16, [x15], #1
cmp w16, w9
ccmp w16, w10, #4, ne
b.eq LBB0_31
; %bb.30: ; in Loop: Header=BB0_29 Depth=2
mov x12, x15
cbnz w16, LBB0_29
b LBB0_35
LBB0_31: ; in Loop: Header=BB0_28 Depth=1
cbz w13, LBB0_38
; %bb.32: ; in Loop: Header=BB0_28 Depth=1
strb wzr, [x12]
LBB0_33: ; Parent Loop BB0_28 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w8, [x12, #1]!
cmp w8, w9
ccmp w8, w10, #4, ne
b.eq LBB0_33
; %bb.34: ; in Loop: Header=BB0_28 Depth=1
mov x8, x12
mov x14, x13
b LBB0_28
LBB0_35:
cbz w11, LBB0_37
; %bb.36:
sub w0, w2, w13
ret
LBB0_37:
ldrb w8, [x8]
cmp w8, #0
csel w13, w14, w13, eq
sub w0, w2, w13
ret
LBB0_38:
cbz w16, LBB0_44
; %bb.39:
add x8, x12, #1
mov x0, x2
b LBB0_41
LBB0_40: ; in Loop: Header=BB0_41 Depth=1
sub x12, x8, #1
add w0, w0, #1
cbnz w13, LBB0_45
LBB0_41: ; =>This Loop Header: Depth=1
; Child Loop BB0_43 Depth 2
ldrb w12, [x8], #1
cmp w12, w9
ccmp w12, w10, #4, ne
b.eq LBB0_41
; %bb.42: ; in Loop: Header=BB0_41 Depth=1
cmp w12, #0
cset w13, eq
cbz w12, LBB0_40
LBB0_43: ; Parent Loop BB0_41 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w12, [x8], #1
cmp w12, #0
cset w13, eq
cmp w12, w10
ccmp w12, #0, #4, ne
ccmp w12, w9, #4, ne
b.ne LBB0_43
b LBB0_40
LBB0_44:
mov x0, x2
LBB0_45:
cbnz w11, LBB0_17
; %bb.46:
add x8, x12, #1
LBB0_47: ; =>This Inner Loop Header: Depth=1
ldurb w11, [x8, #-2]
sub x8, x8, #1
cmp w11, w9
ccmp w11, w10, #4, ne
b.eq LBB0_47
; %bb.48:
ldrb w9, [x8]
cbz w9, LBB0_17
; %bb.49:
add w9, w2, #1
cmp w0, w9
b.ne LBB0_51
; %bb.50:
strb wzr, [x8]
LBB0_51:
sub w0, w0, #1
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz " \t"
.subsections_via_symbols
| assembly_file_126961.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function amd8111e_set_ext_phy
_amd8111e_set_ext_phy: ## @amd8111e_set_ext_phy
.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 _netdev_priv
movq %rax, %rbx
movl 4(%rax), %esi
movq _MII_ADVERTISE@GOTPCREL(%rip), %r15
movl (%r15), %edx
movq %r14, %rdi
callq _amd8111e_mdio_read
movq _ADVERTISE_ALL@GOTPCREL(%rip), %rcx
movq _ADVERTISE_100BASE4@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
orl (%rcx), %edx
notl %edx
andl %eax, %edx
movl $-129, %ecx
addl (%rbx), %ecx
cmpl $3, %ecx
ja LBB0_2
## %bb.1:
leaq LJTI0_0(%rip), %rsi
movslq (%rsi,%rcx,4), %rcx
addq %rsi, %rcx
jmpq *%rcx
LBB0_3:
movq _ADVERTISE_10HALF@GOTPCREL(%rip), %rcx
jmp LBB0_7
LBB0_2:
movq _ADVERTISE_10HALF@GOTPCREL(%rip), %rsi
movq _ADVERTISE_10FULL@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl (%rsi), %ecx
movq _ADVERTISE_100HALF@GOTPCREL(%rip), %rsi
orl (%rsi), %ecx
movq _ADVERTISE_100FULL@GOTPCREL(%rip), %rsi
orl (%rsi), %ecx
jmp LBB0_8
LBB0_4:
movq _ADVERTISE_10FULL@GOTPCREL(%rip), %rcx
jmp LBB0_7
LBB0_5:
movq _ADVERTISE_100HALF@GOTPCREL(%rip), %rcx
jmp LBB0_7
LBB0_6:
movq _ADVERTISE_100FULL@GOTPCREL(%rip), %rcx
LBB0_7:
movl (%rcx), %ecx
LBB0_8:
orl %edx, %ecx
cmpl %ecx, %eax
je LBB0_10
## %bb.9:
movl 4(%rbx), %esi
movl (%r15), %edx
movq %r14, %rdi
callq _amd8111e_mdio_write
LBB0_10:
movl 4(%rbx), %esi
movq _MII_BMCR@GOTPCREL(%rip), %r15
movl (%r15), %edx
movq %r14, %rdi
callq _amd8111e_mdio_read
movq _BMCR_ANENABLE@GOTPCREL(%rip), %rcx
movq _BMCR_ANRESTART@GOTPCREL(%rip), %rdx
orl (%rcx), %eax
orl (%rdx), %eax
movl 4(%rbx), %esi
movl (%r15), %edx
movq %r14, %rdi
movl %eax, %ecx
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _amd8111e_mdio_write ## TAILCALL
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
.long L0_0_set_3
.long L0_0_set_4
.long L0_0_set_5
.long L0_0_set_6
.end_data_region
## -- End function
.comm _MII_ADVERTISE,4,2 ## @MII_ADVERTISE
.comm _ADVERTISE_ALL,4,2 ## @ADVERTISE_ALL
.comm _ADVERTISE_100BASE4,4,2 ## @ADVERTISE_100BASE4
.comm _ADVERTISE_10HALF,4,2 ## @ADVERTISE_10HALF
.comm _ADVERTISE_10FULL,4,2 ## @ADVERTISE_10FULL
.comm _ADVERTISE_100HALF,4,2 ## @ADVERTISE_100HALF
.comm _ADVERTISE_100FULL,4,2 ## @ADVERTISE_100FULL
.comm _MII_BMCR,4,2 ## @MII_BMCR
.comm _BMCR_ANENABLE,4,2 ## @BMCR_ANENABLE
.comm _BMCR_ANRESTART,4,2 ## @BMCR_ANRESTART
.no_dead_strip _amd8111e_set_ext_phy
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function amd8111e_set_ext_phy
_amd8111e_set_ext_phy: ; @amd8111e_set_ext_phy
.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 _netdev_priv
mov x20, x0
ldr w1, [x0, #4]
Lloh0:
adrp x21, _MII_ADVERTISE@GOTPAGE
Lloh1:
ldr x21, [x21, _MII_ADVERTISE@GOTPAGEOFF]
ldr w2, [x21]
mov x0, x19
bl _amd8111e_mdio_read
Lloh2:
adrp x8, _ADVERTISE_ALL@GOTPAGE
Lloh3:
ldr x8, [x8, _ADVERTISE_ALL@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
Lloh5:
adrp x9, _ADVERTISE_100BASE4@GOTPAGE
Lloh6:
ldr x9, [x9, _ADVERTISE_100BASE4@GOTPAGEOFF]
Lloh7:
ldr w9, [x9]
orr w8, w9, w8
bic w8, w0, w8
ldr w9, [x20]
sub w9, w9, #129
cmp w9, #3
b.hi LBB0_3
; %bb.1:
Lloh8:
adrp x10, lJTI0_0@PAGE
Lloh9:
add x10, x10, lJTI0_0@PAGEOFF
adr x11, LBB0_2
ldrb w12, [x10, x9]
add x11, x11, x12, lsl #2
br x11
LBB0_2:
Lloh10:
adrp x9, _ADVERTISE_10HALF@GOTPAGE
Lloh11:
ldr x9, [x9, _ADVERTISE_10HALF@GOTPAGEOFF]
b LBB0_7
LBB0_3:
Lloh12:
adrp x9, _ADVERTISE_10HALF@GOTPAGE
Lloh13:
ldr x9, [x9, _ADVERTISE_10HALF@GOTPAGEOFF]
Lloh14:
ldr w9, [x9]
Lloh15:
adrp x10, _ADVERTISE_10FULL@GOTPAGE
Lloh16:
ldr x10, [x10, _ADVERTISE_10FULL@GOTPAGEOFF]
Lloh17:
ldr w10, [x10]
orr w9, w10, w9
Lloh18:
adrp x10, _ADVERTISE_100HALF@GOTPAGE
Lloh19:
ldr x10, [x10, _ADVERTISE_100HALF@GOTPAGEOFF]
Lloh20:
ldr w10, [x10]
orr w9, w9, w10
Lloh21:
adrp x10, _ADVERTISE_100FULL@GOTPAGE
Lloh22:
ldr x10, [x10, _ADVERTISE_100FULL@GOTPAGEOFF]
Lloh23:
ldr w10, [x10]
orr w9, w9, w10
b LBB0_8
LBB0_4:
Lloh24:
adrp x9, _ADVERTISE_10FULL@GOTPAGE
Lloh25:
ldr x9, [x9, _ADVERTISE_10FULL@GOTPAGEOFF]
b LBB0_7
LBB0_5:
Lloh26:
adrp x9, _ADVERTISE_100HALF@GOTPAGE
Lloh27:
ldr x9, [x9, _ADVERTISE_100HALF@GOTPAGEOFF]
b LBB0_7
LBB0_6:
Lloh28:
adrp x9, _ADVERTISE_100FULL@GOTPAGE
Lloh29:
ldr x9, [x9, _ADVERTISE_100FULL@GOTPAGEOFF]
LBB0_7:
ldr w9, [x9]
LBB0_8:
orr w3, w9, w8
cmp w0, w3
b.eq LBB0_10
; %bb.9:
ldr w1, [x20, #4]
ldr w2, [x21]
mov x0, x19
bl _amd8111e_mdio_write
LBB0_10:
ldr w1, [x20, #4]
Lloh30:
adrp x21, _MII_BMCR@GOTPAGE
Lloh31:
ldr x21, [x21, _MII_BMCR@GOTPAGEOFF]
ldr w2, [x21]
mov x0, x19
bl _amd8111e_mdio_read
Lloh32:
adrp x8, _BMCR_ANENABLE@GOTPAGE
Lloh33:
ldr x8, [x8, _BMCR_ANENABLE@GOTPAGEOFF]
Lloh34:
ldr w8, [x8]
Lloh35:
adrp x9, _BMCR_ANRESTART@GOTPAGE
Lloh36:
ldr x9, [x9, _BMCR_ANRESTART@GOTPAGEOFF]
Lloh37:
ldr w9, [x9]
orr w8, w8, w0
orr w3, w8, w9
ldr w1, [x20, #4]
ldr w2, [x21]
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 _amd8111e_mdio_write
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGot Lloh24, Lloh25
.loh AdrpLdrGot Lloh26, Lloh27
.loh AdrpLdrGot Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37
.loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34
.loh AdrpLdrGot Lloh30, Lloh31
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.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 _MII_ADVERTISE,4,2 ; @MII_ADVERTISE
.comm _ADVERTISE_ALL,4,2 ; @ADVERTISE_ALL
.comm _ADVERTISE_100BASE4,4,2 ; @ADVERTISE_100BASE4
.comm _ADVERTISE_10HALF,4,2 ; @ADVERTISE_10HALF
.comm _ADVERTISE_10FULL,4,2 ; @ADVERTISE_10FULL
.comm _ADVERTISE_100HALF,4,2 ; @ADVERTISE_100HALF
.comm _ADVERTISE_100FULL,4,2 ; @ADVERTISE_100FULL
.comm _MII_BMCR,4,2 ; @MII_BMCR
.comm _BMCR_ANENABLE,4,2 ; @BMCR_ANENABLE
.comm _BMCR_ANRESTART,4,2 ; @BMCR_ANRESTART
.no_dead_strip _amd8111e_set_ext_phy
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/net/extr_amd8111e.c_amd8111e_set_ext_phy.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _v_APCI3120_InterruptDma ## -- Begin function v_APCI3120_InterruptDma
.p2align 4, 0x90
_v_APCI3120_InterruptDma: ## @v_APCI3120_InterruptDma
.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
movq (%rsi), %rbx
movq _devpriv@GOTPCREL(%rip), %r14
movq (%r14), %rax
movq (%rax), %rcx
movq 8(%rax), %rdx
movl (%rcx,%rdx,4), %r13d
movq _AMCC_OP_REG_MWTC@GOTPCREL(%rip), %rcx
movq (%rcx), %rdi
addq 48(%rax), %rdi
callq _inl
subl %eax, %r13d
movq (%r14), %rax
movq (%rax), %rcx
movq 8(%rax), %rax
cmpl (%rcx,%rax,4), %r13d
jae LBB0_2
## %bb.1:
leaq L_.str(%rip), %rsi
movq %r15, %rdi
callq _comedi_error
LBB0_2:
testb $1, %r13b
jne LBB0_3
## %bb.4:
movq (%r14), %rax
cmpq $0, 64(%rax)
je LBB0_6
## %bb.5:
movl $1, %ecx
subl 8(%rax), %ecx
movq %rcx, %r12
movq _AGCSTS_TC_ENABLE@GOTPCREL(%rip), %rcx
movq _AGCSTS_RESET_A2P_FIFO@GOTPCREL(%rip), %rdx
movl (%rdx), %edi
orl (%rcx), %edi
movq _AMCC_OP_REG_AGCSTS@GOTPCREL(%rip), %rcx
movq (%rcx), %rsi
addq 56(%rax), %rsi
callq _outl
movq _APCI3120_ADD_ON_AGCSTS_LOW@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq (%r14), %rax
movq 56(%rax), %rsi
callq _outw
movq _APCI3120_ENABLE_TRANSFER_ADD_ON_LOW@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq (%r14), %rax
movq 56(%rax), %rsi
addq $2, %rsi
callq _outw
movq _APCI3120_ADD_ON_AGCSTS_HIGH@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq (%r14), %rax
movq 56(%rax), %rsi
callq _outw
movq _APCI3120_ENABLE_TRANSFER_ADD_ON_HIGH@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq (%r14), %rax
movq 56(%rax), %rsi
addq $2, %rsi
callq _outw
movq (%r14), %rax
movq 16(%rax), %rcx
movq 56(%rax), %rsi
movq %r12, %r14
movq (%rcx,%r12,8), %r12
movq %rbx, -48(%rbp) ## 8-byte Spill
movq %r12, %rbx
shrq $16, %rbx
movq _APCI3120_ADD_ON_MWAR_LOW@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _outw
movzwl %r12w, %edi
movq _devpriv@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq 56(%rax), %rsi
addq $2, %rsi
callq _outw
movq _APCI3120_ADD_ON_MWAR_HIGH@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _devpriv@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq 56(%rax), %rsi
callq _outw
movq _devpriv@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq 56(%rax), %rsi
addq $2, %rsi
movl %ebx, %edi
callq _outw
movq _devpriv@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rax), %rcx
movq 56(%rax), %rsi
movl (%rcx,%r14,4), %ebx
movq _devpriv@GOTPCREL(%rip), %r14
movzwl %bx, %r12d
shrl $16, %ebx
movq _APCI3120_ADD_ON_MWTC_LOW@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _outw
movq (%r14), %rax
movq 56(%rax), %rsi
addq $2, %rsi
movl %r12d, %edi
callq _outw
movq _APCI3120_ADD_ON_MWTC_HIGH@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq (%r14), %rax
movq 56(%rax), %rsi
callq _outw
movq (%r14), %rax
movq 56(%rax), %rsi
addq $2, %rsi
movl %ebx, %edi
movq -48(%rbp), %rbx ## 8-byte Reload
callq _outw
movq (%r14), %rax
movq 56(%rax), %rsi
addq $4, %rsi
movl $3, %edi
callq _outw
movq _APCI3120_FIFO_ADVANCE_ON_BYTE_2@GOTPCREL(%rip), %rax
movq _APCI3120_ENABLE_WRITE_TC_INT@GOTPCREL(%rip), %rcx
movl (%rcx), %edi
orl (%rax), %edi
movq (%r14), %rax
movq _AMCC_OP_REG_INTCSR@GOTPCREL(%rip), %rcx
movq (%rcx), %rsi
addq 48(%rax), %rsi
callq _outl
LBB0_6:
cmpl $2, %r13d
jb LBB0_9
## %bb.7:
shrl %r13d
movq (%r14), %rax
movq 8(%rax), %rcx
movq 88(%rax), %rax
movl (%rax,%rcx,4), %edx
movq %r15, %rdi
movq %rbx, %rsi
movl %r13d, %ecx
callq _v_APCI3120_InterruptDmaMoveBlock16bit
movq (%r14), %rax
movq _TRIG_WAKE_EOS@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
testl %ecx, 24(%rax)
jne LBB0_9
## %bb.8:
movq _COMEDI_CB_EOS@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq (%rbx), %rcx
orl %eax, (%rcx)
movq %r15, %rdi
movq %rbx, %rsi
callq _comedi_event
LBB0_9:
movq (%r14), %rax
cmpl $0, 80(%rax)
jne LBB0_11
## %bb.10:
movq 32(%rax), %rcx
cmpq 40(%rax), %rcx
jge LBB0_14
LBB0_11:
cmpq $0, 64(%rax)
je LBB0_15
## %bb.12:
movl $1, %ecx
subq 8(%rax), %rcx
movq %rcx, 8(%rax)
jmp LBB0_13
LBB0_3:
leaq L_.str.1(%rip), %rsi
movq %r15, %rdi
callq _comedi_error
movq %r15, %rdi
movq %rbx, %rsi
callq _i_APCI3120_StopCyclicAcquisition
movq _APCI3120_DISABLE@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%r14), %rcx
movq %rax, 72(%rcx)
LBB0_13:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_15:
movq _AGCSTS_TC_ENABLE@GOTPCREL(%rip), %rcx
movq _AGCSTS_RESET_A2P_FIFO@GOTPCREL(%rip), %rdx
movl (%rdx), %edi
orl (%rcx), %edi
movq _AMCC_OP_REG_AGCSTS@GOTPCREL(%rip), %rcx
movq (%rcx), %rsi
addq 56(%rax), %rsi
callq _outl
movq _APCI3120_ADD_ON_AGCSTS_LOW@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq (%r14), %rax
movq 56(%rax), %rsi
callq _outw
movq _APCI3120_ENABLE_TRANSFER_ADD_ON_LOW@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq (%r14), %rax
movq 56(%rax), %rsi
addq $2, %rsi
callq _outw
movq _APCI3120_ADD_ON_AGCSTS_HIGH@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq (%r14), %rax
movq 56(%rax), %rsi
callq _outw
movq _APCI3120_ENABLE_TRANSFER_ADD_ON_HIGH@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq (%r14), %rax
movq 56(%rax), %rsi
addq $2, %rsi
callq _outw
movq _APCI3120_A2P_FIFO_MANAGEMENT@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq (%r14), %rax
movq _AMCC_OP_REG_MCSR@GOTPCREL(%rip), %rcx
movq (%rcx), %rsi
addq 48(%rax), %rsi
callq _outl
movq (%r14), %rax
movq 16(%rax), %rcx
movq 56(%rax), %rsi
movq (%rcx), %rbx
movq %rbx, %r15
shrq $16, %r15
movq _APCI3120_ADD_ON_MWAR_LOW@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _outw
movzwl %bx, %edi
movq (%r14), %rax
movq 56(%rax), %rsi
addq $2, %rsi
callq _outw
movq _APCI3120_ADD_ON_MWAR_HIGH@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq (%r14), %rax
movq 56(%rax), %rsi
callq _outw
movq (%r14), %rax
movq 56(%rax), %rsi
addq $2, %rsi
movl %r15d, %edi
callq _outw
movq (%r14), %rax
movq (%rax), %rcx
movq 56(%rax), %rsi
movl (%rcx), %ebx
movzwl %bx, %r15d
shrl $16, %ebx
movq _APCI3120_ADD_ON_MWTC_LOW@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _outw
movq (%r14), %rax
movq 56(%rax), %rsi
addq $2, %rsi
movl %r15d, %edi
callq _outw
movq _APCI3120_ADD_ON_MWTC_HIGH@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq (%r14), %rax
movq 56(%rax), %rsi
callq _outw
movq (%r14), %rax
movq 56(%rax), %rsi
addq $2, %rsi
movl %ebx, %edi
callq _outw
movq (%r14), %rax
movq 56(%rax), %rsi
addq $4, %rsi
movl $3, %edi
callq _outw
movq _APCI3120_FIFO_ADVANCE_ON_BYTE_2@GOTPCREL(%rip), %rax
movq _APCI3120_ENABLE_WRITE_TC_INT@GOTPCREL(%rip), %rcx
movl (%rcx), %edi
orl (%rax), %edi
movq (%r14), %rax
movq _AMCC_OP_REG_INTCSR@GOTPCREL(%rip), %rcx
movq (%rcx), %rsi
addq 48(%rax), %rsi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _outl ## TAILCALL
LBB0_14:
movq %r15, %rdi
movq %rbx, %rsi
callq _i_APCI3120_StopCyclicAcquisition
movq _APCI3120_DISABLE@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%r14), %rcx
movq %rax, 72(%rcx)
movq _COMEDI_CB_EOA@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq (%rbx), %rcx
orl %eax, (%rcx)
movq %r15, %rdi
movq %rbx, %rsi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _comedi_event ## TAILCALL
.cfi_endproc
## -- End function
.comm _devpriv,8,3 ## @devpriv
.comm _AMCC_OP_REG_MWTC,8,3 ## @AMCC_OP_REG_MWTC
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Interrupted DMA transfer!"
L_.str.1: ## @.str.1
.asciz "Odd count of bytes in DMA ring!"
.comm _APCI3120_DISABLE,8,3 ## @APCI3120_DISABLE
.comm _AGCSTS_TC_ENABLE,4,2 ## @AGCSTS_TC_ENABLE
.comm _AGCSTS_RESET_A2P_FIFO,4,2 ## @AGCSTS_RESET_A2P_FIFO
.comm _AMCC_OP_REG_AGCSTS,8,3 ## @AMCC_OP_REG_AGCSTS
.comm _APCI3120_ADD_ON_AGCSTS_LOW,4,2 ## @APCI3120_ADD_ON_AGCSTS_LOW
.comm _APCI3120_ENABLE_TRANSFER_ADD_ON_LOW,4,2 ## @APCI3120_ENABLE_TRANSFER_ADD_ON_LOW
.comm _APCI3120_ADD_ON_AGCSTS_HIGH,4,2 ## @APCI3120_ADD_ON_AGCSTS_HIGH
.comm _APCI3120_ENABLE_TRANSFER_ADD_ON_HIGH,4,2 ## @APCI3120_ENABLE_TRANSFER_ADD_ON_HIGH
.comm _APCI3120_ADD_ON_MWAR_LOW,4,2 ## @APCI3120_ADD_ON_MWAR_LOW
.comm _APCI3120_ADD_ON_MWAR_HIGH,4,2 ## @APCI3120_ADD_ON_MWAR_HIGH
.comm _APCI3120_ADD_ON_MWTC_LOW,4,2 ## @APCI3120_ADD_ON_MWTC_LOW
.comm _APCI3120_ADD_ON_MWTC_HIGH,4,2 ## @APCI3120_ADD_ON_MWTC_HIGH
.comm _APCI3120_FIFO_ADVANCE_ON_BYTE_2,4,2 ## @APCI3120_FIFO_ADVANCE_ON_BYTE_2
.comm _APCI3120_ENABLE_WRITE_TC_INT,4,2 ## @APCI3120_ENABLE_WRITE_TC_INT
.comm _AMCC_OP_REG_INTCSR,8,3 ## @AMCC_OP_REG_INTCSR
.comm _TRIG_WAKE_EOS,4,2 ## @TRIG_WAKE_EOS
.comm _COMEDI_CB_EOS,4,2 ## @COMEDI_CB_EOS
.comm _COMEDI_CB_EOA,4,2 ## @COMEDI_CB_EOA
.comm _APCI3120_A2P_FIFO_MANAGEMENT,4,2 ## @APCI3120_A2P_FIFO_MANAGEMENT
.comm _AMCC_OP_REG_MCSR,8,3 ## @AMCC_OP_REG_MCSR
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _v_APCI3120_InterruptDma ; -- Begin function v_APCI3120_InterruptDma
.p2align 2
_v_APCI3120_InterruptDma: ; @v_APCI3120_InterruptDma
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x1
Lloh0:
adrp x23, _devpriv@GOTPAGE
Lloh1:
ldr x23, [x23, _devpriv@GOTPAGEOFF]
ldr x8, [x23]
ldp x9, x10, [x8]
ldr w21, [x9, x10, lsl #2]
ldr x20, [x1]
ldr x8, [x8, #48]
Lloh2:
adrp x9, _AMCC_OP_REG_MWTC@GOTPAGE
Lloh3:
ldr x9, [x9, _AMCC_OP_REG_MWTC@GOTPAGEOFF]
Lloh4:
ldr x9, [x9]
add x0, x9, x8
bl _inl
ldr x8, [x23]
ldp x9, x8, [x8]
ldr w8, [x9, x8, lsl #2]
sub w24, w21, w0
cmp w24, w8
b.hs LBB0_2
; %bb.1:
Lloh5:
adrp x1, l_.str@PAGE
Lloh6:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _comedi_error
LBB0_2:
tbnz w24, #0, LBB0_12
; %bb.3:
ldr x8, [x23]
ldr x9, [x8, #64]
cbz x9, LBB0_5
; %bb.4:
ldr w9, [x8, #8]
mov w10, #1
sub w22, w10, w9
Lloh7:
adrp x9, _AGCSTS_TC_ENABLE@GOTPAGE
Lloh8:
ldr x9, [x9, _AGCSTS_TC_ENABLE@GOTPAGEOFF]
Lloh9:
ldr w9, [x9]
Lloh10:
adrp x10, _AGCSTS_RESET_A2P_FIFO@GOTPAGE
Lloh11:
ldr x10, [x10, _AGCSTS_RESET_A2P_FIFO@GOTPAGEOFF]
Lloh12:
ldr w10, [x10]
orr w0, w10, w9
ldr x8, [x8, #56]
Lloh13:
adrp x9, _AMCC_OP_REG_AGCSTS@GOTPAGE
Lloh14:
ldr x9, [x9, _AMCC_OP_REG_AGCSTS@GOTPAGEOFF]
Lloh15:
ldr x9, [x9]
add x1, x9, x8
bl _outl
Lloh16:
adrp x8, _APCI3120_ADD_ON_AGCSTS_LOW@GOTPAGE
Lloh17:
ldr x8, [x8, _APCI3120_ADD_ON_AGCSTS_LOW@GOTPAGEOFF]
Lloh18:
ldr w0, [x8]
ldr x8, [x23]
ldr x1, [x8, #56]
bl _outw
Lloh19:
adrp x8, _APCI3120_ENABLE_TRANSFER_ADD_ON_LOW@GOTPAGE
Lloh20:
ldr x8, [x8, _APCI3120_ENABLE_TRANSFER_ADD_ON_LOW@GOTPAGEOFF]
Lloh21:
ldr w0, [x8]
ldr x8, [x23]
ldr x8, [x8, #56]
add x1, x8, #2
bl _outw
Lloh22:
adrp x8, _APCI3120_ADD_ON_AGCSTS_HIGH@GOTPAGE
Lloh23:
ldr x8, [x8, _APCI3120_ADD_ON_AGCSTS_HIGH@GOTPAGEOFF]
Lloh24:
ldr w0, [x8]
ldr x8, [x23]
ldr x1, [x8, #56]
bl _outw
Lloh25:
adrp x8, _APCI3120_ENABLE_TRANSFER_ADD_ON_HIGH@GOTPAGE
Lloh26:
ldr x8, [x8, _APCI3120_ENABLE_TRANSFER_ADD_ON_HIGH@GOTPAGEOFF]
Lloh27:
ldr w0, [x8]
ldr x8, [x23]
ldr x8, [x8, #56]
add x1, x8, #2
bl _outw
ldr x8, [x23]
ldr x9, [x8, #16]
ldr x25, [x9, w22, uxtw #3]
lsr x21, x25, #16
Lloh28:
adrp x9, _APCI3120_ADD_ON_MWAR_LOW@GOTPAGE
Lloh29:
ldr x9, [x9, _APCI3120_ADD_ON_MWAR_LOW@GOTPAGEOFF]
Lloh30:
ldr w0, [x9]
ldr x1, [x8, #56]
bl _outw
and w0, w25, #0xffff
ldr x8, [x23]
ldr x8, [x8, #56]
add x1, x8, #2
bl _outw
Lloh31:
adrp x8, _APCI3120_ADD_ON_MWAR_HIGH@GOTPAGE
Lloh32:
ldr x8, [x8, _APCI3120_ADD_ON_MWAR_HIGH@GOTPAGEOFF]
Lloh33:
ldr w0, [x8]
ldr x8, [x23]
ldr x1, [x8, #56]
bl _outw
ldr x8, [x23]
ldr x8, [x8, #56]
add x1, x8, #2
mov x0, x21
bl _outw
ldr x8, [x23]
ldr x9, [x8]
ldr w9, [x9, w22, uxtw #2]
and w21, w9, #0xffff
lsr w22, w9, #16
Lloh34:
adrp x9, _APCI3120_ADD_ON_MWTC_LOW@GOTPAGE
Lloh35:
ldr x9, [x9, _APCI3120_ADD_ON_MWTC_LOW@GOTPAGEOFF]
Lloh36:
ldr w0, [x9]
ldr x1, [x8, #56]
bl _outw
ldr x8, [x23]
ldr x8, [x8, #56]
add x1, x8, #2
mov x0, x21
bl _outw
Lloh37:
adrp x8, _APCI3120_ADD_ON_MWTC_HIGH@GOTPAGE
Lloh38:
ldr x8, [x8, _APCI3120_ADD_ON_MWTC_HIGH@GOTPAGEOFF]
Lloh39:
ldr w0, [x8]
ldr x8, [x23]
ldr x1, [x8, #56]
bl _outw
ldr x8, [x23]
ldr x8, [x8, #56]
add x1, x8, #2
mov x0, x22
bl _outw
ldr x8, [x23]
ldr x8, [x8, #56]
add x1, x8, #4
mov w0, #3
bl _outw
Lloh40:
adrp x8, _APCI3120_FIFO_ADVANCE_ON_BYTE_2@GOTPAGE
Lloh41:
ldr x8, [x8, _APCI3120_FIFO_ADVANCE_ON_BYTE_2@GOTPAGEOFF]
Lloh42:
ldr w8, [x8]
Lloh43:
adrp x9, _APCI3120_ENABLE_WRITE_TC_INT@GOTPAGE
Lloh44:
ldr x9, [x9, _APCI3120_ENABLE_WRITE_TC_INT@GOTPAGEOFF]
Lloh45:
ldr w9, [x9]
orr w0, w9, w8
ldr x8, [x23]
ldr x8, [x8, #48]
Lloh46:
adrp x9, _AMCC_OP_REG_INTCSR@GOTPAGE
Lloh47:
ldr x9, [x9, _AMCC_OP_REG_INTCSR@GOTPAGEOFF]
Lloh48:
ldr x9, [x9]
add x1, x9, x8
bl _outl
LBB0_5:
cmp w24, #2
b.lo LBB0_8
; %bb.6:
lsr w3, w24, #1
ldr x8, [x23]
ldr x9, [x8, #88]
ldr x8, [x8, #8]
ldr w2, [x9, x8, lsl #2]
mov x0, x19
mov x1, x20
bl _v_APCI3120_InterruptDmaMoveBlock16bit
ldr x8, [x23]
ldr w8, [x8, #24]
Lloh49:
adrp x9, _TRIG_WAKE_EOS@GOTPAGE
Lloh50:
ldr x9, [x9, _TRIG_WAKE_EOS@GOTPAGEOFF]
Lloh51:
ldr w9, [x9]
tst w9, w8
b.ne LBB0_8
; %bb.7:
Lloh52:
adrp x8, _COMEDI_CB_EOS@GOTPAGE
Lloh53:
ldr x8, [x8, _COMEDI_CB_EOS@GOTPAGEOFF]
Lloh54:
ldr w8, [x8]
ldr x9, [x20]
ldr w10, [x9]
orr w8, w10, w8
str w8, [x9]
mov x0, x19
mov x1, x20
bl _comedi_event
LBB0_8:
ldr x8, [x23]
ldr w9, [x8, #80]
cbnz w9, LBB0_10
; %bb.9:
ldp x9, x10, [x8, #32]
cmp x9, x10
b.ge LBB0_15
LBB0_10:
ldr x9, [x8, #64]
cbz x9, LBB0_14
; %bb.11:
ldr x9, [x8, #8]
mov w10, #1
sub x9, x10, x9
str x9, [x8, #8]
b LBB0_13
LBB0_12:
Lloh55:
adrp x1, l_.str.1@PAGE
Lloh56:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _comedi_error
mov x0, x19
mov x1, x20
bl _i_APCI3120_StopCyclicAcquisition
Lloh57:
adrp x8, _APCI3120_DISABLE@GOTPAGE
Lloh58:
ldr x8, [x8, _APCI3120_DISABLE@GOTPAGEOFF]
Lloh59:
ldr x8, [x8]
ldr x9, [x23]
str x8, [x9, #72]
LBB0_13:
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_14:
Lloh60:
adrp x9, _AGCSTS_TC_ENABLE@GOTPAGE
Lloh61:
ldr x9, [x9, _AGCSTS_TC_ENABLE@GOTPAGEOFF]
Lloh62:
ldr w9, [x9]
Lloh63:
adrp x10, _AGCSTS_RESET_A2P_FIFO@GOTPAGE
Lloh64:
ldr x10, [x10, _AGCSTS_RESET_A2P_FIFO@GOTPAGEOFF]
Lloh65:
ldr w10, [x10]
orr w0, w10, w9
ldr x8, [x8, #56]
Lloh66:
adrp x9, _AMCC_OP_REG_AGCSTS@GOTPAGE
Lloh67:
ldr x9, [x9, _AMCC_OP_REG_AGCSTS@GOTPAGEOFF]
Lloh68:
ldr x9, [x9]
add x1, x9, x8
bl _outl
Lloh69:
adrp x8, _APCI3120_ADD_ON_AGCSTS_LOW@GOTPAGE
Lloh70:
ldr x8, [x8, _APCI3120_ADD_ON_AGCSTS_LOW@GOTPAGEOFF]
Lloh71:
ldr w0, [x8]
ldr x8, [x23]
ldr x1, [x8, #56]
bl _outw
Lloh72:
adrp x8, _APCI3120_ENABLE_TRANSFER_ADD_ON_LOW@GOTPAGE
Lloh73:
ldr x8, [x8, _APCI3120_ENABLE_TRANSFER_ADD_ON_LOW@GOTPAGEOFF]
Lloh74:
ldr w0, [x8]
ldr x8, [x23]
ldr x8, [x8, #56]
add x1, x8, #2
bl _outw
Lloh75:
adrp x8, _APCI3120_ADD_ON_AGCSTS_HIGH@GOTPAGE
Lloh76:
ldr x8, [x8, _APCI3120_ADD_ON_AGCSTS_HIGH@GOTPAGEOFF]
Lloh77:
ldr w0, [x8]
ldr x8, [x23]
ldr x1, [x8, #56]
bl _outw
Lloh78:
adrp x8, _APCI3120_ENABLE_TRANSFER_ADD_ON_HIGH@GOTPAGE
Lloh79:
ldr x8, [x8, _APCI3120_ENABLE_TRANSFER_ADD_ON_HIGH@GOTPAGEOFF]
Lloh80:
ldr w0, [x8]
ldr x8, [x23]
ldr x8, [x8, #56]
add x1, x8, #2
bl _outw
Lloh81:
adrp x8, _APCI3120_A2P_FIFO_MANAGEMENT@GOTPAGE
Lloh82:
ldr x8, [x8, _APCI3120_A2P_FIFO_MANAGEMENT@GOTPAGEOFF]
Lloh83:
ldr w0, [x8]
ldr x8, [x23]
ldr x8, [x8, #48]
Lloh84:
adrp x9, _AMCC_OP_REG_MCSR@GOTPAGE
Lloh85:
ldr x9, [x9, _AMCC_OP_REG_MCSR@GOTPAGEOFF]
Lloh86:
ldr x9, [x9]
add x1, x9, x8
bl _outl
ldr x8, [x23]
ldr x9, [x8, #16]
ldr x20, [x9]
lsr x19, x20, #16
Lloh87:
adrp x9, _APCI3120_ADD_ON_MWAR_LOW@GOTPAGE
Lloh88:
ldr x9, [x9, _APCI3120_ADD_ON_MWAR_LOW@GOTPAGEOFF]
Lloh89:
ldr w0, [x9]
ldr x1, [x8, #56]
bl _outw
and w0, w20, #0xffff
ldr x8, [x23]
ldr x8, [x8, #56]
add x1, x8, #2
bl _outw
Lloh90:
adrp x8, _APCI3120_ADD_ON_MWAR_HIGH@GOTPAGE
Lloh91:
ldr x8, [x8, _APCI3120_ADD_ON_MWAR_HIGH@GOTPAGEOFF]
Lloh92:
ldr w0, [x8]
ldr x8, [x23]
ldr x1, [x8, #56]
bl _outw
ldr x8, [x23]
ldr x8, [x8, #56]
add x1, x8, #2
mov x0, x19
bl _outw
ldr x8, [x23]
ldr x9, [x8]
ldr w9, [x9]
and w19, w9, #0xffff
lsr w20, w9, #16
Lloh93:
adrp x9, _APCI3120_ADD_ON_MWTC_LOW@GOTPAGE
Lloh94:
ldr x9, [x9, _APCI3120_ADD_ON_MWTC_LOW@GOTPAGEOFF]
Lloh95:
ldr w0, [x9]
ldr x1, [x8, #56]
bl _outw
ldr x8, [x23]
ldr x8, [x8, #56]
add x1, x8, #2
mov x0, x19
bl _outw
Lloh96:
adrp x8, _APCI3120_ADD_ON_MWTC_HIGH@GOTPAGE
Lloh97:
ldr x8, [x8, _APCI3120_ADD_ON_MWTC_HIGH@GOTPAGEOFF]
Lloh98:
ldr w0, [x8]
ldr x8, [x23]
ldr x1, [x8, #56]
bl _outw
ldr x8, [x23]
ldr x8, [x8, #56]
add x1, x8, #2
mov x0, x20
bl _outw
ldr x8, [x23]
ldr x8, [x8, #56]
add x1, x8, #4
mov w0, #3
bl _outw
Lloh99:
adrp x8, _APCI3120_FIFO_ADVANCE_ON_BYTE_2@GOTPAGE
Lloh100:
ldr x8, [x8, _APCI3120_FIFO_ADVANCE_ON_BYTE_2@GOTPAGEOFF]
Lloh101:
ldr w8, [x8]
Lloh102:
adrp x9, _APCI3120_ENABLE_WRITE_TC_INT@GOTPAGE
Lloh103:
ldr x9, [x9, _APCI3120_ENABLE_WRITE_TC_INT@GOTPAGEOFF]
Lloh104:
ldr w9, [x9]
orr w0, w9, w8
ldr x8, [x23]
ldr x8, [x8, #48]
Lloh105:
adrp x9, _AMCC_OP_REG_INTCSR@GOTPAGE
Lloh106:
ldr x9, [x9, _AMCC_OP_REG_INTCSR@GOTPAGEOFF]
Lloh107:
ldr x9, [x9]
add x1, x9, x8
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
b _outl
LBB0_15:
mov x0, x19
mov x1, x20
bl _i_APCI3120_StopCyclicAcquisition
Lloh108:
adrp x8, _APCI3120_DISABLE@GOTPAGE
Lloh109:
ldr x8, [x8, _APCI3120_DISABLE@GOTPAGEOFF]
Lloh110:
ldr x8, [x8]
ldr x9, [x23]
str x8, [x9, #72]
Lloh111:
adrp x8, _COMEDI_CB_EOA@GOTPAGE
Lloh112:
ldr x8, [x8, _COMEDI_CB_EOA@GOTPAGEOFF]
Lloh113:
ldr w8, [x8]
ldr x9, [x20]
ldr w10, [x9]
orr w8, w10, w8
str w8, [x9]
mov x0, x19
mov x1, x20
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
b _comedi_event
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh46, Lloh47, Lloh48
.loh AdrpLdrGotLdr Lloh43, Lloh44, Lloh45
.loh AdrpLdrGotLdr Lloh40, Lloh41, Lloh42
.loh AdrpLdrGotLdr Lloh37, Lloh38, Lloh39
.loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh49, Lloh50, Lloh51
.loh AdrpLdrGotLdr Lloh52, Lloh53, Lloh54
.loh AdrpLdrGotLdr Lloh57, Lloh58, Lloh59
.loh AdrpAdd Lloh55, Lloh56
.loh AdrpLdrGotLdr Lloh105, Lloh106, Lloh107
.loh AdrpLdrGotLdr Lloh102, Lloh103, Lloh104
.loh AdrpLdrGotLdr Lloh99, Lloh100, Lloh101
.loh AdrpLdrGotLdr Lloh96, Lloh97, Lloh98
.loh AdrpLdrGotLdr Lloh93, Lloh94, Lloh95
.loh AdrpLdrGotLdr Lloh90, Lloh91, Lloh92
.loh AdrpLdrGotLdr Lloh87, Lloh88, Lloh89
.loh AdrpLdrGotLdr Lloh84, Lloh85, Lloh86
.loh AdrpLdrGotLdr Lloh81, Lloh82, Lloh83
.loh AdrpLdrGotLdr Lloh78, Lloh79, Lloh80
.loh AdrpLdrGotLdr Lloh75, Lloh76, Lloh77
.loh AdrpLdrGotLdr Lloh72, Lloh73, Lloh74
.loh AdrpLdrGotLdr Lloh69, Lloh70, Lloh71
.loh AdrpLdrGotLdr Lloh66, Lloh67, Lloh68
.loh AdrpLdrGotLdr Lloh63, Lloh64, Lloh65
.loh AdrpLdrGotLdr Lloh60, Lloh61, Lloh62
.loh AdrpLdrGotLdr Lloh111, Lloh112, Lloh113
.loh AdrpLdrGotLdr Lloh108, Lloh109, Lloh110
.cfi_endproc
; -- End function
.comm _devpriv,8,3 ; @devpriv
.comm _AMCC_OP_REG_MWTC,8,3 ; @AMCC_OP_REG_MWTC
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Interrupted DMA transfer!"
l_.str.1: ; @.str.1
.asciz "Odd count of bytes in DMA ring!"
.comm _APCI3120_DISABLE,8,3 ; @APCI3120_DISABLE
.comm _AGCSTS_TC_ENABLE,4,2 ; @AGCSTS_TC_ENABLE
.comm _AGCSTS_RESET_A2P_FIFO,4,2 ; @AGCSTS_RESET_A2P_FIFO
.comm _AMCC_OP_REG_AGCSTS,8,3 ; @AMCC_OP_REG_AGCSTS
.comm _APCI3120_ADD_ON_AGCSTS_LOW,4,2 ; @APCI3120_ADD_ON_AGCSTS_LOW
.comm _APCI3120_ENABLE_TRANSFER_ADD_ON_LOW,4,2 ; @APCI3120_ENABLE_TRANSFER_ADD_ON_LOW
.comm _APCI3120_ADD_ON_AGCSTS_HIGH,4,2 ; @APCI3120_ADD_ON_AGCSTS_HIGH
.comm _APCI3120_ENABLE_TRANSFER_ADD_ON_HIGH,4,2 ; @APCI3120_ENABLE_TRANSFER_ADD_ON_HIGH
.comm _APCI3120_ADD_ON_MWAR_LOW,4,2 ; @APCI3120_ADD_ON_MWAR_LOW
.comm _APCI3120_ADD_ON_MWAR_HIGH,4,2 ; @APCI3120_ADD_ON_MWAR_HIGH
.comm _APCI3120_ADD_ON_MWTC_LOW,4,2 ; @APCI3120_ADD_ON_MWTC_LOW
.comm _APCI3120_ADD_ON_MWTC_HIGH,4,2 ; @APCI3120_ADD_ON_MWTC_HIGH
.comm _APCI3120_FIFO_ADVANCE_ON_BYTE_2,4,2 ; @APCI3120_FIFO_ADVANCE_ON_BYTE_2
.comm _APCI3120_ENABLE_WRITE_TC_INT,4,2 ; @APCI3120_ENABLE_WRITE_TC_INT
.comm _AMCC_OP_REG_INTCSR,8,3 ; @AMCC_OP_REG_INTCSR
.comm _TRIG_WAKE_EOS,4,2 ; @TRIG_WAKE_EOS
.comm _COMEDI_CB_EOS,4,2 ; @COMEDI_CB_EOS
.comm _COMEDI_CB_EOA,4,2 ; @COMEDI_CB_EOA
.comm _APCI3120_A2P_FIFO_MANAGEMENT,4,2 ; @APCI3120_A2P_FIFO_MANAGEMENT
.comm _AMCC_OP_REG_MCSR,8,3 ; @AMCC_OP_REG_MCSR
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_addi-datahwdrv_apci3120.c_v_APCI3120_InterruptDma.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function fastrpc_get_payload_size
_fastrpc_get_payload_size: ## @fastrpc_get_payload_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 %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %eax
movq %rdi, %r15
movq _FASTRPC_ALIGN@GOTPCREL(%rip), %r14
movl (%r14), %esi
movl %eax, %edi
callq _ALIGN
movl (%r15), %ecx
testl %ecx, %ecx
jle LBB0_7
## %bb.1:
xorl %r12d, %r12d
xorl %ebx, %ebx
jmp LBB0_2
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
movl 16(%rdx,%r12), %esi
subl 8(%rdx,%r12), %esi
addl %esi, %eax
LBB0_6: ## in Loop: Header=BB0_2 Depth=1
incq %rbx
movslq %ecx, %rdx
addq $24, %r12
cmpq %rdx, %rbx
jge LBB0_7
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq 16(%r15), %rdx
movl (%rdx,%rbx,4), %edx
incl %edx
cmpl $1, %edx
ja LBB0_6
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq 8(%r15), %rdx
cmpq $0, (%rdx,%r12)
jne LBB0_5
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movl (%r14), %esi
movl %eax, %edi
callq _ALIGN
movq 8(%r15), %rdx
movl (%r15), %ecx
jmp LBB0_5
LBB0_7:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _FASTRPC_ALIGN,4,2 ## @FASTRPC_ALIGN
.no_dead_strip _fastrpc_get_payload_size
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function fastrpc_get_payload_size
_fastrpc_get_payload_size: ; @fastrpc_get_payload_size
.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 x8, x1
mov x19, x0
Lloh0:
adrp x20, _FASTRPC_ALIGN@GOTPAGE
Lloh1:
ldr x20, [x20, _FASTRPC_ALIGN@GOTPAGEOFF]
ldr w1, [x20]
mov x0, x8
bl _ALIGN
ldr w8, [x19]
cmp w8, #1
b.lt LBB0_7
; %bb.1:
mov x21, #0
mov x22, #0
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
add x9, x9, x21
ldr w10, [x9, #16]
ldr w9, [x9, #8]
sub w9, w10, w9
add w0, w0, w9
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
add x22, x22, #1
add x21, x21, #24
cmp x22, w8, sxtw
b.ge LBB0_7
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr x9, [x19, #16]
ldr w9, [x9, x22, lsl #2]
add w9, w9, #1
cmp w9, #1
b.hi LBB0_3
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
ldr x9, [x19, #8]
ldr x10, [x9, x21]
cbnz x10, LBB0_2
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
ldr w1, [x20]
bl _ALIGN
ldr x9, [x19, #8]
ldr w8, [x19]
b LBB0_2
LBB0_7:
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 _FASTRPC_ALIGN,4,2 ; @FASTRPC_ALIGN
.no_dead_strip _fastrpc_get_payload_size
.subsections_via_symbols
| AnghaBench/linux/drivers/misc/extr_fastrpc.c_fastrpc_get_payload_size.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function A6XX_DBGC_CFG_DBGBUS_CNTLT_GRANU
_A6XX_DBGC_CFG_DBGBUS_CNTLT_GRANU: ## @A6XX_DBGC_CFG_DBGBUS_CNTLT_GRANU
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, %eax
movq _A6XX_DBGC_CFG_DBGBUS_CNTLT_GRANU__SHIFT@GOTPCREL(%rip), %rcx
movb (%rcx), %cl
shll %cl, %eax
movq _A6XX_DBGC_CFG_DBGBUS_CNTLT_GRANU__MASK@GOTPCREL(%rip), %rcx
andl (%rcx), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _A6XX_DBGC_CFG_DBGBUS_CNTLT_GRANU__SHIFT,4,2 ## @A6XX_DBGC_CFG_DBGBUS_CNTLT_GRANU__SHIFT
.comm _A6XX_DBGC_CFG_DBGBUS_CNTLT_GRANU__MASK,4,2 ## @A6XX_DBGC_CFG_DBGBUS_CNTLT_GRANU__MASK
.no_dead_strip _A6XX_DBGC_CFG_DBGBUS_CNTLT_GRANU
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function A6XX_DBGC_CFG_DBGBUS_CNTLT_GRANU
_A6XX_DBGC_CFG_DBGBUS_CNTLT_GRANU: ; @A6XX_DBGC_CFG_DBGBUS_CNTLT_GRANU
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _A6XX_DBGC_CFG_DBGBUS_CNTLT_GRANU__SHIFT@GOTPAGE
Lloh1:
ldr x8, [x8, _A6XX_DBGC_CFG_DBGBUS_CNTLT_GRANU__SHIFT@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
lsl w8, w0, w8
Lloh3:
adrp x9, _A6XX_DBGC_CFG_DBGBUS_CNTLT_GRANU__MASK@GOTPAGE
Lloh4:
ldr x9, [x9, _A6XX_DBGC_CFG_DBGBUS_CNTLT_GRANU__MASK@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
and w0, w8, w9
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _A6XX_DBGC_CFG_DBGBUS_CNTLT_GRANU__SHIFT,4,2 ; @A6XX_DBGC_CFG_DBGBUS_CNTLT_GRANU__SHIFT
.comm _A6XX_DBGC_CFG_DBGBUS_CNTLT_GRANU__MASK,4,2 ; @A6XX_DBGC_CFG_DBGBUS_CNTLT_GRANU__MASK
.no_dead_strip _A6XX_DBGC_CFG_DBGBUS_CNTLT_GRANU
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a6xx.xml.h_A6XX_DBGC_CFG_DBGBUS_CNTLT_GRANU.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _zend_shared_alloc_lock ## -- Begin function zend_shared_alloc_lock
.p2align 4, 0x90
_zend_shared_alloc_lock: ## @zend_shared_alloc_lock
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %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 _F_WRLCK@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -44(%rbp)
movq _SEEK_SET@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -48(%rbp)
movq $0, -56(%rbp)
movl $1, -64(%rbp)
movq _lock_file@GOTPCREL(%rip), %r15
movq _F_SETLKW@GOTPCREL(%rip), %r12
leaq -64(%rbp), %r13
movq _errno@GOTPCREL(%rip), %r14
movq _EINTR@GOTPCREL(%rip), %rbx
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl (%r15), %edi
movl (%r12), %esi
movq %r13, %rdx
callq _fcntl
cmpl $-1, %eax
jne LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq (%r14), %rdi
cmpq (%rbx), %rdi
je LBB0_1
## %bb.3:
movq _ACCEL_LOG_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %ebx
callq _strerror
movq (%r14), %rcx
leaq L_.str(%rip), %rsi
movl %ebx, %edi
movl %eax, %edx
callq _zend_accel_error
LBB0_4:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _F_WRLCK,4,2 ## @F_WRLCK
.comm _SEEK_SET,4,2 ## @SEEK_SET
.comm _lock_file,4,2 ## @lock_file
.comm _F_SETLKW,4,2 ## @F_SETLKW
.comm _errno,8,3 ## @errno
.comm _EINTR,8,3 ## @EINTR
.comm _ACCEL_LOG_ERROR,4,2 ## @ACCEL_LOG_ERROR
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Cannot create lock - %s (%d)"
.comm _zts_lock,4,2 ## @zts_lock
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _zend_shared_alloc_lock ; -- Begin function zend_shared_alloc_lock
.p2align 2
_zend_shared_alloc_lock: ; @zend_shared_alloc_lock
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
Lloh0:
adrp x8, _F_WRLCK@GOTPAGE
Lloh1:
ldr x8, [x8, _F_WRLCK@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
Lloh3:
adrp x9, _SEEK_SET@GOTPAGE
Lloh4:
ldr x9, [x9, _SEEK_SET@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
stp w9, w8, [sp, #24]
str xzr, [sp, #16]
mov w8, #1
str w8, [sp, #8]
Lloh6:
adrp x19, _lock_file@GOTPAGE
Lloh7:
ldr x19, [x19, _lock_file@GOTPAGEOFF]
Lloh8:
adrp x21, _F_SETLKW@GOTPAGE
Lloh9:
ldr x21, [x21, _F_SETLKW@GOTPAGEOFF]
Lloh10:
adrp x20, _errno@GOTPAGE
Lloh11:
ldr x20, [x20, _errno@GOTPAGEOFF]
Lloh12:
adrp x22, _EINTR@GOTPAGE
Lloh13:
ldr x22, [x22, _EINTR@GOTPAGEOFF]
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w0, [x19]
ldr w1, [x21]
add x2, sp, #8
bl _fcntl
cmn w0, #1
b.ne LBB0_4
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
ldr x0, [x20]
ldr x8, [x22]
cmp x0, x8
b.eq LBB0_1
; %bb.3:
Lloh14:
adrp x8, _ACCEL_LOG_ERROR@GOTPAGE
Lloh15:
ldr x8, [x8, _ACCEL_LOG_ERROR@GOTPAGEOFF]
Lloh16:
ldr w19, [x8]
bl _strerror
mov x2, x0
ldr x3, [x20]
Lloh17:
adrp x1, l_.str@PAGE
Lloh18:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _zend_accel_error
LBB0_4:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.cfi_endproc
; -- End function
.comm _F_WRLCK,4,2 ; @F_WRLCK
.comm _SEEK_SET,4,2 ; @SEEK_SET
.comm _lock_file,4,2 ; @lock_file
.comm _F_SETLKW,4,2 ; @F_SETLKW
.comm _errno,8,3 ; @errno
.comm _EINTR,8,3 ; @EINTR
.comm _ACCEL_LOG_ERROR,4,2 ; @ACCEL_LOG_ERROR
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Cannot create lock - %s (%d)"
.comm _zts_lock,4,2 ; @zts_lock
.subsections_via_symbols
| AnghaBench/php-src/ext/opcache/extr_zend_shared_alloc.c_zend_shared_alloc_lock.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function blkio_policy_unregister
_blkio_policy_unregister: ## @blkio_policy_unregister
.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 _blkio_policy_unregister
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function blkio_policy_unregister
_blkio_policy_unregister: ; @blkio_policy_unregister
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.no_dead_strip _blkio_policy_unregister
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/block/extr_blk-cgroup.h_blkio_policy_unregister.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function i810fb_check_var
_i810fb_check_var: ## @i810fb_check_var
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %r14
movq %rdi, %rbx
movq _IS_DVT@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB0_1
## %bb.2:
movq _FB_VMODE_MASK@GOTPCREL(%rip), %rax
movl (%rax), %eax
notl %eax
andl (%rbx), %eax
movl %eax, (%rbx)
movq _FB_VMODE_NONINTERLACED@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
movl %eax, (%rbx)
jmp LBB0_3
LBB0_1:
movl (%rbx), %eax
LBB0_3:
movq _FB_VMODE_DOUBLE@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_5
## %bb.4:
movq _FB_VMODE_MASK@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
notl %ecx
andl %ecx, %eax
movl %eax, (%rbx)
movq _FB_VMODE_NONINTERLACED@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
movl %eax, (%rbx)
LBB0_5:
movq %rbx, %rdi
callq _i810_round_off
movq %rbx, %rdi
movq %r14, %rsi
callq _i810_check_params
movl %eax, %r14d
testl %eax, %eax
jne LBB0_7
## %bb.6:
movq %rbx, %rdi
callq _i810fb_fill_var_timings
movq %rbx, %rdi
callq _set_color_bitfields
LBB0_7:
movl %r14d, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _IS_DVT,8,3 ## @IS_DVT
.comm _FB_VMODE_MASK,4,2 ## @FB_VMODE_MASK
.comm _FB_VMODE_NONINTERLACED,4,2 ## @FB_VMODE_NONINTERLACED
.comm _FB_VMODE_DOUBLE,4,2 ## @FB_VMODE_DOUBLE
.no_dead_strip _i810fb_check_var
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function i810fb_check_var
_i810fb_check_var: ; @i810fb_check_var
.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, _IS_DVT@GOTPAGE
Lloh1:
ldr x8, [x8, _IS_DVT@GOTPAGEOFF]
Lloh2:
ldr x10, [x8]
Lloh3:
adrp x9, _FB_VMODE_MASK@GOTPAGE
Lloh4:
ldr x9, [x9, _FB_VMODE_MASK@GOTPAGEOFF]
Lloh5:
adrp x8, _FB_VMODE_NONINTERLACED@GOTPAGE
Lloh6:
ldr x8, [x8, _FB_VMODE_NONINTERLACED@GOTPAGEOFF]
cbz x10, LBB0_2
; %bb.1:
ldr w10, [x9]
ldr w11, [x19]
bic w10, w11, w10
str w10, [x19]
ldr w11, [x8]
orr w10, w11, w10
str w10, [x19]
b LBB0_3
LBB0_2:
ldr w10, [x19]
LBB0_3:
Lloh7:
adrp x11, _FB_VMODE_DOUBLE@GOTPAGE
Lloh8:
ldr x11, [x11, _FB_VMODE_DOUBLE@GOTPAGEOFF]
Lloh9:
ldr w11, [x11]
tst w11, w10
b.eq LBB0_5
; %bb.4:
ldr w9, [x9]
bic w9, w10, w9
str w9, [x19]
ldr w8, [x8]
orr w8, w8, w9
str w8, [x19]
LBB0_5:
mov x0, x19
bl _i810_round_off
mov x0, x19
mov x1, x20
bl _i810_check_params
mov x20, x0
cbnz w0, LBB0_7
; %bb.6:
mov x0, x19
bl _i810fb_fill_var_timings
mov x0, x19
bl _set_color_bitfields
LBB0_7:
mov x0, x20
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _IS_DVT,8,3 ; @IS_DVT
.comm _FB_VMODE_MASK,4,2 ; @FB_VMODE_MASK
.comm _FB_VMODE_NONINTERLACED,4,2 ; @FB_VMODE_NONINTERLACED
.comm _FB_VMODE_DOUBLE,4,2 ; @FB_VMODE_DOUBLE
.no_dead_strip _i810fb_check_var
.subsections_via_symbols
| AnghaBench/linux/drivers/video/fbdev/i810/extr_i810_main.c_i810fb_check_var.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function aic7xxx_abort_waiting_scb
_aic7xxx_abort_waiting_scb: ## @aic7xxx_abort_waiting_scb
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, %r15d
movl %edx, %r12d
movq %rdi, %rbx
movq _SCBPTR@GOTPCREL(%rip), %r13
movl (%r13), %esi
callq _aic_inb
movb %al, -41(%rbp) ## 1-byte Spill
movl (%r13), %edx
movq %rbx, %rdi
movl %r12d, %esi
callq _aic_outb
movq _SCB_NEXT@GOTPCREL(%rip), %r14
movl (%r14), %esi
movq %rbx, %rdi
callq _aic_inb
movl %eax, %r12d
movq %rbx, %rdi
callq _aic7xxx_add_curscb_to_free_list
movq _SCB_LIST_NULL@GOTPCREL(%rip), %rax
cmpb %r15b, (%rax)
jne LBB0_2
## %bb.1:
movq _WAITING_SCBH@GOTPCREL(%rip), %r14
jmp LBB0_3
LBB0_2:
movl (%r13), %edx
movzbl %r15b, %esi
movq %rbx, %rdi
callq _aic_outb
LBB0_3:
movl (%r14), %edx
movzbl %r12b, %r15d
movq %rbx, %rdi
movl %r15d, %esi
callq _aic_outb
movl (%r13), %edx
movzbl -41(%rbp), %esi ## 1-byte Folded Reload
movq %rbx, %rdi
callq _aic_outb
movl %r15d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SCBPTR,4,2 ## @SCBPTR
.comm _SCB_NEXT,4,2 ## @SCB_NEXT
.comm _SCB_LIST_NULL,1,0 ## @SCB_LIST_NULL
.comm _WAITING_SCBH,4,2 ## @WAITING_SCBH
.no_dead_strip _aic7xxx_abort_waiting_scb
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function aic7xxx_abort_waiting_scb
_aic7xxx_abort_waiting_scb: ; @aic7xxx_abort_waiting_scb
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x22, x3
mov x21, x2
mov x19, x0
Lloh0:
adrp x23, _SCBPTR@GOTPAGE
Lloh1:
ldr x23, [x23, _SCBPTR@GOTPAGEOFF]
ldr w1, [x23]
bl _aic_inb
mov x20, x0
ldr w2, [x23]
mov x0, x19
mov x1, x21
bl _aic_outb
Lloh2:
adrp x8, _SCB_NEXT@GOTPAGE
Lloh3:
ldr x8, [x8, _SCB_NEXT@GOTPAGEOFF]
Lloh4:
ldr w1, [x8]
mov x0, x19
bl _aic_inb
mov x21, x0
mov x0, x19
bl _aic7xxx_add_curscb_to_free_list
Lloh5:
adrp x8, _SCB_LIST_NULL@GOTPAGE
Lloh6:
ldr x8, [x8, _SCB_LIST_NULL@GOTPAGEOFF]
ldrb w8, [x8]
cmp w8, w22
b.ne LBB0_2
; %bb.1:
Lloh7:
adrp x8, _WAITING_SCBH@GOTPAGE
Lloh8:
ldr x8, [x8, _WAITING_SCBH@GOTPAGEOFF]
b LBB0_3
LBB0_2:
ldr w2, [x23]
mov x0, x19
mov x1, x22
bl _aic_outb
Lloh9:
adrp x8, _SCB_NEXT@GOTPAGE
Lloh10:
ldr x8, [x8, _SCB_NEXT@GOTPAGEOFF]
LBB0_3:
ldr w2, [x8]
mov x0, x19
mov x1, x21
bl _aic_outb
ldr w2, [x23]
mov x0, x19
mov x1, x20
bl _aic_outb
mov x0, x21
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh9, Lloh10
.cfi_endproc
; -- End function
.comm _SCBPTR,4,2 ; @SCBPTR
.comm _SCB_NEXT,4,2 ; @SCB_NEXT
.comm _SCB_LIST_NULL,1,0 ; @SCB_LIST_NULL
.comm _WAITING_SCBH,4,2 ; @WAITING_SCBH
.no_dead_strip _aic7xxx_abort_waiting_scb
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/scsi/extr_aic7xxx_old.c_aic7xxx_abort_waiting_scb.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ## -- Begin function block_range__coverage
LCPI0_0:
.quad 0xbff0000000000000 ## double -1
.section __TEXT,__text,regular,pure_instructions
.globl _block_range__coverage
.p2align 4, 0x90
_block_range__coverage: ## @block_range__coverage
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB0_3
## %bb.1:
movq 8(%rdi), %rax
testq %rax, %rax
je LBB0_6
## %bb.2:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
cvtsi2sdq (%rdi), %xmm0
movsd %xmm0, -8(%rbp) ## 8-byte Spill
movq %rax, %rdi
callq _symbol__annotation
movsd -8(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
divsd (%rax), %xmm0
addq $16, %rsp
popq %rbp
retq
LBB0_3:
movq _block_ranges@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB0_6
## %bb.4:
xorps %xmm0, %xmm0
retq
LBB0_6:
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = [-1.0E+0,0.0E+0]
retq
.cfi_endproc
## -- End function
.comm _block_ranges,8,3 ## @block_ranges
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _block_range__coverage ; -- Begin function block_range__coverage
.p2align 2
_block_range__coverage: ; @block_range__coverage
.cfi_startproc
; %bb.0:
cbz x0, LBB0_3
; %bb.1:
ldr x8, [x0, #8]
cbz x8, LBB0_4
; %bb.2:
stp d9, d8, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset b8, -24
.cfi_offset b9, -32
ldr d0, [x0]
scvtf d8, d0
mov x0, x8
bl _symbol__annotation
ldr d0, [x0]
fdiv d0, d8, d0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp d9, d8, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_3:
Lloh0:
adrp x8, _block_ranges@GOTPAGE
Lloh1:
ldr x8, [x8, _block_ranges@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x8, #0
movi d0, #0000000000000000
fmov d1, #-1.00000000
fcsel d0, d1, d0, eq
ret
LBB0_4:
fmov d0, #-1.00000000
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _block_ranges,8,3 ; @block_ranges
.subsections_via_symbols
| assembly_file_178109.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ql_validate_flash
_ql_validate_flash: ## @ql_validate_flash
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r15d
movq %rdi, %r14
addq $4, %rdi
movq %rdx, %rsi
movl $4, %edx
callq _strncmp
testl %eax, %eax
je LBB0_3
## %bb.1:
movl %eax, %r12d
movq _ifup@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl (%r14), %edx
leaq L_.str(%rip), %rcx
movq %r14, %rdi
xorl %eax, %eax
callq _netif_err
jmp LBB0_2
LBB0_3:
testl %r15d, %r15d
jle LBB0_9
## %bb.4:
movl %r15d, %r15d
xorl %ebx, %ebx
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movl 4(%r14,%rbx,4), %edi
callq _le16_to_cpu
addl %eax, %r12d
incq %rbx
cmpl %ebx, %r15d
jne LBB0_5
## %bb.6:
testl %r12d, %r12d
je LBB0_9
## %bb.7:
movq _ifup@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl (%r14), %edx
leaq L_.str.1(%rip), %rcx
movq %r14, %rdi
movl %r12d, %r8d
xorl %eax, %eax
callq _netif_err
jmp LBB0_2
LBB0_9:
xorl %r12d, %r12d
LBB0_2:
movl %r12d, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ifup,4,2 ## @ifup
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Invalid flash signature.\n"
L_.str.1: ## @.str.1
.asciz "Invalid flash checksum, csum = 0x%.04x.\n"
.no_dead_strip _ql_validate_flash
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ql_validate_flash
_ql_validate_flash: ; @ql_validate_flash
.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, x1
mov x20, x0
add x0, x0, #4
mov x1, x2
mov w2, #4
bl _strncmp
cbz w0, LBB0_4
; %bb.1:
mov x19, x0
Lloh0:
adrp x8, _ifup@GOTPAGE
Lloh1:
ldr x8, [x8, _ifup@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
ldr w2, [x20]
Lloh3:
adrp x3, l_.str@PAGE
Lloh4:
add x3, x3, l_.str@PAGEOFF
LBB0_2:
mov x0, x20
bl _netif_err
LBB0_3:
mov x0, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
LBB0_4:
cmp w21, #1
b.lt LBB0_9
; %bb.5:
mov x22, #0
mov w19, #0
mov w21, w21
LBB0_6: ; =>This Inner Loop Header: Depth=1
add x8, x20, x22, lsl #2
ldr w0, [x8, #4]
bl _le16_to_cpu
add w19, w0, w19
add x22, x22, #1
cmp w21, w22
b.ne LBB0_6
; %bb.7:
cbz w19, LBB0_3
; %bb.8:
Lloh5:
adrp x8, _ifup@GOTPAGE
Lloh6:
ldr x8, [x8, _ifup@GOTPAGEOFF]
Lloh7:
ldr w1, [x8]
ldr w2, [x20]
str x19, [sp]
Lloh8:
adrp x3, l_.str.1@PAGE
Lloh9:
add x3, x3, l_.str.1@PAGEOFF
b LBB0_2
LBB0_9:
mov w19, #0
b LBB0_3
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _ifup,4,2 ; @ifup
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Invalid flash signature.\n"
l_.str.1: ; @.str.1
.asciz "Invalid flash checksum, csum = 0x%.04x.\n"
.no_dead_strip _ql_validate_flash
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/net/qlge/extr_qlge_main.c_ql_validate_flash.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function __unix_remove_socket
___unix_remove_socket: ## @__unix_remove_socket
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
jmp _sk_del_node_init ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip ___unix_remove_socket
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function __unix_remove_socket
___unix_remove_socket: ; @__unix_remove_socket
.cfi_startproc
; %bb.0:
b _sk_del_node_init
.cfi_endproc
; -- End function
.no_dead_strip ___unix_remove_socket
.subsections_via_symbols
| AnghaBench/linux/net/unix/extr_af_unix.c___unix_remove_socket.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function test_binary_flush_impl
_test_binary_flush_impl: ## @test_binary_flush_impl
.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 $2072, %rsp ## imm = 0x818
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r13d
movq %rdi, %r14
movq _PROTOCOL_BINARY_CMD_ADD@GOTPCREL(%rip), %rax
movl (%rax), %r12d
callq _strlen
subq $8, %rsp
movq $0, -56(%rbp) ## 8-byte Folded Spill
leaq -2112(%rbp), %r15
movq %r15, %rdi
movl $1024, %esi ## imm = 0x400
movl %r12d, %edx
movq %r14, %rbx
movq %r14, %rcx
movl %eax, %r8d
xorl %r9d, %r9d
pushq $0
pushq $0
pushq $0
callq _storage_command
addq $32, %rsp
movq %r15, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq _safe_send
leaq -1088(%rbp), %r12
movq %r12, %rdi
movl $1024, %esi ## imm = 0x400
callq _safe_recv_packet
movq _PROTOCOL_BINARY_CMD_ADD@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _PROTOCOL_BINARY_RESPONSE_SUCCESS@GOTPCREL(%rip), %r14
movl (%r14), %edx
movq %r12, %rdi
callq _validate_response_header
movq %r15, %rdi
movl $1024, %esi ## imm = 0x400
movl %r13d, %edx
movl $2, %ecx
movl $1, %r8d
callq _flush_command
movq %r15, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq _safe_send
movq _PROTOCOL_BINARY_CMD_FLUSH@GOTPCREL(%rip), %rax
movl %r13d, -44(%rbp) ## 4-byte Spill
cmpl %r13d, (%rax)
jne LBB0_2
## %bb.1:
leaq -1088(%rbp), %r15
movq %r15, %rdi
movl $1024, %esi ## imm = 0x400
callq _safe_recv_packet
movl (%r14), %edx
movq %r15, %rdi
movl -44(%rbp), %esi ## 4-byte Reload
callq _validate_response_header
LBB0_2:
movq _PROTOCOL_BINARY_CMD_GET@GOTPCREL(%rip), %rax
movl (%rax), %r12d
movq %rbx, %rdi
callq _strlen
subq $8, %rsp
leaq -2112(%rbp), %r15
movq %r15, %rdi
movl $1024, %esi ## imm = 0x400
movl %r12d, %edx
movq %rbx, %r12
movq %rbx, %rcx
movl %eax, %r8d
xorl %r9d, %r9d
pushq $0
callq _raw_command
addq $16, %rsp
movq %rax, %r13
movq %r15, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq _safe_send
leaq -1088(%rbp), %rbx
movq %rbx, %rdi
movl $1024, %esi ## imm = 0x400
callq _safe_recv_packet
movq _PROTOCOL_BINARY_CMD_GET@GOTPCREL(%rip), %r14
movl (%r14), %esi
movq _PROTOCOL_BINARY_RESPONSE_SUCCESS@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
callq _validate_response_header
movl $2, %edi
callq _sleep
movq %r15, %rdi
movq %r13, %rsi
xorl %edx, %edx
callq _safe_send
movq %rbx, %rdi
movl $1024, %esi ## imm = 0x400
callq _safe_recv_packet
movl (%r14), %esi
movq _PROTOCOL_BINARY_RESPONSE_KEY_ENOENT@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
callq _validate_response_header
movq %r12, -64(%rbp) ## 8-byte Spill
jmp LBB0_3
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_3 Depth=1
movq _PROTOCOL_BINARY_CMD_GET@GOTPCREL(%rip), %r14
movl (%r14), %r13d
movq -64(%rbp), %r12 ## 8-byte Reload
movq %r12, %rdi
callq _strlen
subq $8, %rsp
movq %rbx, %r15
movq %rbx, %rdi
movl $1024, %esi ## imm = 0x400
movl %r13d, %edx
movq %r12, %rcx
movl %eax, %r8d
xorl %r9d, %r9d
pushq $0
callq _raw_command
addq $16, %rsp
movq %rbx, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq _safe_send
leaq -1088(%rbp), %rbx
movq %rbx, %rdi
movl $1024, %esi ## imm = 0x400
callq _safe_recv_packet
movl (%r14), %esi
movq _PROTOCOL_BINARY_RESPONSE_KEY_ENOENT@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
callq _validate_response_header
movq -56(%rbp), %rax ## 8-byte Reload
incl %eax
movq %rax, -56(%rbp) ## 8-byte Spill
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq _PROTOCOL_BINARY_CMD_ADD@GOTPCREL(%rip), %rbx
movl (%rbx), %r13d
movq %r12, %rdi
callq _strlen
subq $8, %rsp
movq %r15, %rdi
movl $1024, %esi ## imm = 0x400
movl %r13d, %edx
movq %r12, %rcx
movl %eax, %r8d
xorl %r9d, %r9d
pushq $0
pushq $0
pushq $0
callq _storage_command
addq $32, %rsp
movq %r15, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq _safe_send
leaq -1088(%rbp), %r12
movq %r12, %rdi
movl $1024, %esi ## imm = 0x400
callq _safe_recv_packet
movl (%rbx), %esi
movq -56(%rbp), %rbx ## 8-byte Reload
movq _PROTOCOL_BINARY_RESPONSE_SUCCESS@GOTPCREL(%rip), %r14
movl (%r14), %edx
movq %r12, %rdi
callq _validate_response_header
xorl %r8d, %r8d
testl %ebx, %ebx
sete %r8b
movq %r15, %rdi
movl $1024, %esi ## imm = 0x400
movl -44(%rbp), %r13d ## 4-byte Reload
movl %r13d, %edx
xorl %ecx, %ecx
callq _flush_command
movq %r15, %rbx
movq %r15, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq _safe_send
movq _PROTOCOL_BINARY_CMD_FLUSH@GOTPCREL(%rip), %rax
cmpl %r13d, (%rax)
jne LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
leaq -1088(%rbp), %r15
movq %r15, %rdi
movl $1024, %esi ## imm = 0x400
callq _safe_recv_packet
movl (%r14), %edx
movq %r15, %rdi
movl -44(%rbp), %esi ## 4-byte Reload
callq _validate_response_header
jmp LBB0_5
.cfi_endproc
## -- End function
.comm _PROTOCOL_BINARY_CMD_ADD,4,2 ## @PROTOCOL_BINARY_CMD_ADD
.comm _PROTOCOL_BINARY_RESPONSE_SUCCESS,4,2 ## @PROTOCOL_BINARY_RESPONSE_SUCCESS
.comm _PROTOCOL_BINARY_CMD_FLUSH,4,2 ## @PROTOCOL_BINARY_CMD_FLUSH
.comm _PROTOCOL_BINARY_CMD_GET,4,2 ## @PROTOCOL_BINARY_CMD_GET
.comm _PROTOCOL_BINARY_RESPONSE_KEY_ENOENT,4,2 ## @PROTOCOL_BINARY_RESPONSE_KEY_ENOENT
.comm _TEST_PASS,4,2 ## @TEST_PASS
.no_dead_strip _test_binary_flush_impl
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function test_binary_flush_impl
_test_binary_flush_impl: ; @test_binary_flush_impl
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
sub sp, sp, #2064
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x1
mov x20, x0
Lloh0:
adrp x22, _PROTOCOL_BINARY_CMD_ADD@GOTPAGE
Lloh1:
ldr x22, [x22, _PROTOCOL_BINARY_CMD_ADD@GOTPAGEOFF]
ldr w21, [x22]
bl _strlen
mov x4, x0
str wzr, [sp]
add x0, sp, #1040
mov w1, #1024 ; =0x400
mov x2, x21
mov x3, x20
mov x5, #0 ; =0x0
mov w6, #0 ; =0x0
mov w7, #0 ; =0x0
bl _storage_command
mov x1, x0
add x0, sp, #1040
mov w2, #0 ; =0x0
bl _safe_send
add x0, sp, #16
mov w1, #1024 ; =0x400
bl _safe_recv_packet
ldr w1, [x22]
Lloh2:
adrp x23, _PROTOCOL_BINARY_RESPONSE_SUCCESS@GOTPAGE
Lloh3:
ldr x23, [x23, _PROTOCOL_BINARY_RESPONSE_SUCCESS@GOTPAGEOFF]
ldr w2, [x23]
add x0, sp, #16
bl _validate_response_header
add x0, sp, #1040
mov w1, #1024 ; =0x400
mov x2, x19
mov w3, #2 ; =0x2
mov w4, #1 ; =0x1
bl _flush_command
mov x1, x0
add x0, sp, #1040
mov w2, #0 ; =0x0
bl _safe_send
Lloh4:
adrp x24, _PROTOCOL_BINARY_CMD_FLUSH@GOTPAGE
Lloh5:
ldr x24, [x24, _PROTOCOL_BINARY_CMD_FLUSH@GOTPAGEOFF]
ldr w8, [x24]
cmp w8, w19
b.ne LBB0_2
; %bb.1:
add x0, sp, #16
mov w1, #1024 ; =0x400
bl _safe_recv_packet
ldr w2, [x23]
add x0, sp, #16
mov x1, x19
bl _validate_response_header
LBB0_2:
Lloh6:
adrp x25, _PROTOCOL_BINARY_CMD_GET@GOTPAGE
Lloh7:
ldr x25, [x25, _PROTOCOL_BINARY_CMD_GET@GOTPAGEOFF]
ldr w21, [x25]
mov x0, x20
bl _strlen
mov x4, x0
add x0, sp, #1040
mov w1, #1024 ; =0x400
mov x2, x21
mov x3, x20
mov x5, #0 ; =0x0
mov w6, #0 ; =0x0
bl _raw_command
mov x21, x0
add x0, sp, #1040
mov x1, x21
mov w2, #0 ; =0x0
bl _safe_send
add x0, sp, #16
mov w1, #1024 ; =0x400
bl _safe_recv_packet
ldr w1, [x25]
ldr w2, [x23]
add x0, sp, #16
bl _validate_response_header
mov w0, #2 ; =0x2
bl _sleep
add x0, sp, #1040
mov x1, x21
mov w2, #0 ; =0x0
bl _safe_send
add x0, sp, #16
mov w1, #1024 ; =0x400
bl _safe_recv_packet
ldr w1, [x25]
Lloh8:
adrp x26, _PROTOCOL_BINARY_RESPONSE_KEY_ENOENT@GOTPAGE
Lloh9:
ldr x26, [x26, _PROTOCOL_BINARY_RESPONSE_KEY_ENOENT@GOTPAGEOFF]
ldr w2, [x26]
add x0, sp, #16
bl _validate_response_header
mov w27, #0 ; =0x0
b LBB0_4
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
ldr w21, [x25]
mov x0, x20
bl _strlen
mov x4, x0
add x0, sp, #1040
mov w1, #1024 ; =0x400
mov x2, x21
mov x3, x20
mov x5, #0 ; =0x0
mov w6, #0 ; =0x0
bl _raw_command
mov x1, x0
add x0, sp, #1040
mov w2, #0 ; =0x0
bl _safe_send
add x0, sp, #16
mov w1, #1024 ; =0x400
bl _safe_recv_packet
ldr w1, [x25]
ldr w2, [x26]
add x0, sp, #16
bl _validate_response_header
add w27, w27, #1
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr w21, [x22]
mov x0, x20
bl _strlen
mov x4, x0
str wzr, [sp]
add x0, sp, #1040
mov w1, #1024 ; =0x400
mov x2, x21
mov x3, x20
mov x5, #0 ; =0x0
mov w6, #0 ; =0x0
mov w7, #0 ; =0x0
bl _storage_command
mov x1, x0
add x0, sp, #1040
mov w2, #0 ; =0x0
bl _safe_send
add x0, sp, #16
mov w1, #1024 ; =0x400
bl _safe_recv_packet
ldr w1, [x22]
ldr w2, [x23]
add x0, sp, #16
bl _validate_response_header
cmp w27, #0
cset w4, eq
add x0, sp, #1040
mov w1, #1024 ; =0x400
mov x2, x19
mov w3, #0 ; =0x0
bl _flush_command
mov x1, x0
add x0, sp, #1040
mov w2, #0 ; =0x0
bl _safe_send
ldr w8, [x24]
cmp w8, w19
b.ne LBB0_3
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
add x0, sp, #16
mov w1, #1024 ; =0x400
bl _safe_recv_packet
ldr w2, [x23]
add x0, sp, #16
mov x1, x19
bl _validate_response_header
b LBB0_3
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _PROTOCOL_BINARY_CMD_ADD,4,2 ; @PROTOCOL_BINARY_CMD_ADD
.comm _PROTOCOL_BINARY_RESPONSE_SUCCESS,4,2 ; @PROTOCOL_BINARY_RESPONSE_SUCCESS
.comm _PROTOCOL_BINARY_CMD_FLUSH,4,2 ; @PROTOCOL_BINARY_CMD_FLUSH
.comm _PROTOCOL_BINARY_CMD_GET,4,2 ; @PROTOCOL_BINARY_CMD_GET
.comm _PROTOCOL_BINARY_RESPONSE_KEY_ENOENT,4,2 ; @PROTOCOL_BINARY_RESPONSE_KEY_ENOENT
.comm _TEST_PASS,4,2 ; @TEST_PASS
.no_dead_strip _test_binary_flush_impl
.subsections_via_symbols
| assembly_file_7618.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function LoadInt
_LoadInt: ## @LoadInt
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
jmp _LoadVar ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _LoadInt
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function LoadInt
_LoadInt: ; @LoadInt
.cfi_startproc
; %bb.0:
b _LoadVar
.cfi_endproc
; -- End function
.no_dead_strip _LoadInt
.subsections_via_symbols
| AnghaBench/xLua/build/lua-5.3.3/src/extr_lundump.c_LoadInt.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function niu_rbr_refill
_niu_rbr_refill: ## @niu_rbr_refill
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movl %edx, %r8d
movl (%rsi), %ecx
movl 4(%rsi), %eax
incl %eax
movl %eax, 4(%rsi)
cltd
idivl 8(%rsi)
testl %edx, %edx
jne LBB0_8
## %bb.1:
movq %rsi, %rbx
movl %r8d, %edx
callq _niu_rbr_add_page
movl %eax, %edi
callq _unlikely
testq %rax, %rax
je LBB0_3
## %bb.2:
movl 4(%rbx), %eax
decl %eax
jmp LBB0_7
LBB0_3:
movl (%rbx), %eax
addl 8(%rbx), %eax
movl %eax, (%rbx)
xorl %edi, %edi
cmpl 12(%rbx), %eax
setg %dil
callq _BUG_ON
movl (%rbx), %eax
cmpl 12(%rbx), %eax
jne LBB0_5
## %bb.4:
movl $0, (%rbx)
LBB0_5:
movl 4(%rbx), %eax
cmpl 16(%rbx), %eax
jl LBB0_8
## %bb.6:
movl 20(%rbx), %edi
callq _RBR_KICK
movl 4(%rbx), %esi
movl %eax, %edi
callq _nw64
xorl %eax, %eax
LBB0_7:
movl %eax, 4(%rbx)
LBB0_8:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _niu_rbr_refill
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function niu_rbr_refill
_niu_rbr_refill: ; @niu_rbr_refill
.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
ldp w3, w8, [x1]
add w8, w8, #1
str w8, [x1, #4]
ldr w9, [x1, #8]
sdiv w10, w8, w9
msub w8, w10, w9, w8
cbnz w8, LBB0_8
; %bb.1:
mov x19, x1
bl _niu_rbr_add_page
bl _unlikely
cbz x0, LBB0_3
; %bb.2:
ldr w8, [x19, #4]
sub w8, w8, #1
b LBB0_7
LBB0_3:
ldr w8, [x19]
ldp w9, w10, [x19, #8]
add w8, w8, w9
cmp w8, w10
str w8, [x19]
cset w0, gt
bl _BUG_ON
ldr w8, [x19]
ldr w9, [x19, #12]
cmp w8, w9
b.ne LBB0_5
; %bb.4:
str wzr, [x19]
LBB0_5:
ldr w8, [x19, #4]
ldr w9, [x19, #16]
cmp w8, w9
b.lt LBB0_8
; %bb.6:
ldr w0, [x19, #20]
bl _RBR_KICK
ldr w1, [x19, #4]
bl _nw64
mov w8, #0
LBB0_7:
str w8, [x19, #4]
LBB0_8:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _niu_rbr_refill
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/net/extr_niu.c_niu_rbr_refill.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _dn_ht_scan ## -- Begin function dn_ht_scan
.p2align 4, 0x90
_dn_ht_scan: ## @dn_ht_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
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, -64(%rbp) ## 8-byte Spill
movl $0, -44(%rbp) ## 4-byte Folded Spill
testq %rdi, %rdi
je LBB0_11
## %bb.1:
movq %rsi, %rdx
testq %rsi, %rsi
je LBB0_11
## %bb.2:
movq %rdi, %r13
cmpl $0, (%rdi)
js LBB0_11
## %bb.3:
xorl %eax, %eax
movq %rax, -56(%rbp) ## 8-byte Spill
movl $0, -44(%rbp) ## 4-byte Folded Spill
LBB0_4: ## =>This Loop Header: Depth=1
## Child Loop BB0_5 Depth 2
movq -56(%rbp), %rax ## 8-byte Reload
leaq (,%rax,8), %r14
addq 8(%r13), %r14
jmp LBB0_5
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_5 Depth=2
movslq 16(%r13), %rcx
addq %rcx, %rbx
movq %rbx, %r14
LBB0_9: ## in Loop: Header=BB0_5 Depth=2
movq _DNHT_SCAN_END@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
movq %r12, %rdx
jne LBB0_11
LBB0_5: ## Parent Loop BB0_4 Depth=1
## => This Inner Loop Header: Depth=2
movq (%r14), %rbx
testq %rbx, %rbx
je LBB0_10
## %bb.6: ## in Loop: Header=BB0_5 Depth=2
movslq 16(%r13), %rax
movq (%rbx,%rax), %r15
movq %rbx, %rdi
movq -64(%rbp), %rsi ## 8-byte Reload
movq %rdx, %r12
callq *%rdx
movq _DNHT_SCAN_DEL@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_8
## %bb.7: ## in Loop: Header=BB0_5 Depth=2
incl -44(%rbp) ## 4-byte Folded Spill
decl 20(%r13)
movq %r15, (%r14)
jmp LBB0_9
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_4 Depth=1
movq -56(%rbp), %rsi ## 8-byte Reload
leaq 1(%rsi), %rax
movslq (%r13), %rcx
cmpq %rcx, %rsi
movq %rax, -56(%rbp) ## 8-byte Spill
jl LBB0_4
LBB0_11:
movl -44(%rbp), %eax ## 4-byte Reload
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _DNHT_SCAN_DEL,4,2 ## @DNHT_SCAN_DEL
.comm _DNHT_SCAN_END,4,2 ## @DNHT_SCAN_END
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _dn_ht_scan ; -- Begin function dn_ht_scan
.p2align 2
_dn_ht_scan: ; @dn_ht_scan
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov w20, #0
cbz x0, LBB0_12
; %bb.1:
mov x21, x1
cbz x1, LBB0_12
; %bb.2:
mov x22, x0
ldr w8, [x0]
tbnz w8, #31, LBB0_11
; %bb.3:
mov x19, x2
mov x24, #0
mov w20, #0
Lloh0:
adrp x25, _DNHT_SCAN_DEL@GOTPAGE
Lloh1:
ldr x25, [x25, _DNHT_SCAN_DEL@GOTPAGEOFF]
Lloh2:
adrp x26, _DNHT_SCAN_END@GOTPAGE
Lloh3:
ldr x26, [x26, _DNHT_SCAN_END@GOTPAGEOFF]
LBB0_4: ; =>This Loop Header: Depth=1
; Child Loop BB0_7 Depth 2
ldr x8, [x22, #8]
add x27, x8, x24, lsl #3
b LBB0_7
LBB0_5: ; in Loop: Header=BB0_7 Depth=2
ldrsw x8, [x22, #16]
add x27, x23, x8
LBB0_6: ; in Loop: Header=BB0_7 Depth=2
ldr w8, [x26]
tst w8, w0
b.ne LBB0_12
LBB0_7: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
ldr x23, [x27]
cbz x23, LBB0_10
; %bb.8: ; in Loop: Header=BB0_7 Depth=2
ldrsw x8, [x22, #16]
ldr x28, [x23, x8]
mov x0, x23
mov x1, x19
blr x21
ldr w8, [x25]
tst w8, w0
b.eq LBB0_5
; %bb.9: ; in Loop: Header=BB0_7 Depth=2
add w20, w20, #1
ldr w8, [x22, #20]
sub w8, w8, #1
str w8, [x22, #20]
str x28, [x27]
b LBB0_6
LBB0_10: ; in Loop: Header=BB0_4 Depth=1
add x8, x24, #1
ldrsw x9, [x22]
cmp x24, x9
mov x24, x8
b.lt LBB0_4
b LBB0_12
LBB0_11:
mov w20, #0
LBB0_12:
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
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _DNHT_SCAN_DEL,4,2 ; @DNHT_SCAN_DEL
.comm _DNHT_SCAN_END,4,2 ; @DNHT_SCAN_END
.subsections_via_symbols
| AnghaBench/freebsd/sys/netpfil/ipfw/extr_dn_heap.c_dn_ht_scan.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _scilab_rt_graduate_d0i0i0_i0i0i0 ## -- Begin function scilab_rt_graduate_d0i0i0_i0i0i0
.p2align 4, 0x90
_scilab_rt_graduate_d0i0i0_i0i0i0: ## @scilab_rt_graduate_d0i0i0_i0i0i0
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r8, -48(%rbp) ## 8-byte Spill
movq %rcx, %r15
movq %rdx, %r12
movl %esi, %r13d
movl %edi, %ebx
leaq L_.str(%rip), %rdi
movb $1, %al
callq _printf
leaq L_.str.1(%rip), %r14
movq %r14, %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _printf
movq %r14, %rdi
movl %r13d, %esi
xorl %eax, %eax
callq _printf
callq _rand
movl %eax, (%r12)
callq _rand
movl %eax, (%r15)
callq _rand
movq -48(%rbp), %rcx ## 8-byte Reload
movl %eax, (%rcx)
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 "%f"
L_.str.1: ## @.str.1
.asciz "%d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _scilab_rt_graduate_d0i0i0_i0i0i0 ; -- Begin function scilab_rt_graduate_d0i0i0_i0i0i0
.p2align 2
_scilab_rt_graduate_d0i0i0_i0i0i0: ; @scilab_rt_graduate_d0i0i0_i0i0i0
.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, x4
mov x20, x3
mov x21, x2
mov x22, x1
mov x23, x0
str d0, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
str x23, [sp]
Lloh2:
adrp x23, l_.str.1@PAGE
Lloh3:
add x23, x23, l_.str.1@PAGEOFF
mov x0, x23
bl _printf
str x22, [sp]
mov x0, x23
bl _printf
bl _rand
str w0, [x21]
bl _rand
str w0, [x20]
bl _rand
str w0, [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 AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%f"
l_.str.1: ; @.str.1
.asciz "%d"
.subsections_via_symbols
| the_stack_data/243894285.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test_00 ## -- Begin function test_00
.p2align 4, 0x90
_test_00: ## @test_00
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %esi, %eax
testb $12, (%rdi)
cmovel %edx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _test_01 ## -- Begin function test_01
.p2align 4, 0x90
_test_01: ## @test_01
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %esi, %eax
testb $24, (%rdi)
cmovel %edx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _test_02 ## -- Begin function test_02
.p2align 4, 0x90
_test_02: ## @test_02
.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
testb $24, (%rdi)
setne %al
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _test_03 ## -- Begin function test_03
.p2align 4, 0x90
_test_03: ## @test_03
.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
testb $24, (%rdi)
sete %al
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _test_04 ## -- Begin function test_04
.p2align 4, 0x90
_test_04: ## @test_04
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %esi, %eax
testb $24, %dil
cmovel %edx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _test_05 ## -- Begin function test_05
.p2align 4, 0x90
_test_05: ## @test_05
.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
testb $24, %dil
setne %al
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _test_06 ## -- Begin function test_06
.p2align 4, 0x90
_test_06: ## @test_06
.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
testb $24, %dil
sete %al
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _test_07 ## -- Begin function test_07
.p2align 4, 0x90
_test_07: ## @test_07
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %esi, %eax
testb $13, %dil
cmovel %edx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _test_08 ## -- Begin function test_08
.p2align 4, 0x90
_test_08: ## @test_08
.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
testb $13, %dil
setne %al
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _test_09 ## -- Begin function test_09
.p2align 4, 0x90
_test_09: ## @test_09
.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
testb $13, %dil
sete %al
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _test_10 ## -- Begin function test_10
.p2align 4, 0x90
_test_10: ## @test_10
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %esi, %eax
testb $-14, %dil
cmovel %edx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _test_11 ## -- Begin function test_11
.p2align 4, 0x90
_test_11: ## @test_11
.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
testb $-14, %dil
setne %al
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _test_12 ## -- Begin function test_12
.p2align 4, 0x90
_test_12: ## @test_12
.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
testb $-14, %dil
sete %al
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _test_13 ## -- Begin function test_13
.p2align 4, 0x90
_test_13: ## @test_13
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %esi, %eax
testb $64, (%rdi)
cmovel %edx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _test_14 ## -- Begin function test_14
.p2align 4, 0x90
_test_14: ## @test_14
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movzbl (%rdi), %eax
shrl $6, %eax
andl $1, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _test_15 ## -- Begin function test_15
.p2align 4, 0x90
_test_15: ## @test_15
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movzbl (%rdi), %ecx
xorl %eax, %eax
testb $64, %cl
sete %al
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _test_16 ## -- Begin function test_16
.p2align 4, 0x90
_test_16: ## @test_16
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %esi, %eax
testb $64, %dil
cmovel %edx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _test_17 ## -- Begin function test_17
.p2align 4, 0x90
_test_17: ## @test_17
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
shrb $6, %dil
andb $1, %dil
movzbl %dil, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _test_18 ## -- Begin function test_18
.p2align 4, 0x90
_test_18: ## @test_18
.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
testb $64, %dil
sete %al
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _test_19 ## -- Begin function test_19
.p2align 4, 0x90
_test_19: ## @test_19
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %esi, %eax
testb $7, %dil
cmovel %edx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _test_20 ## -- Begin function test_20
.p2align 4, 0x90
_test_20: ## @test_20
.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
testb $7, %dil
setne %al
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _test_21 ## -- Begin function test_21
.p2align 4, 0x90
_test_21: ## @test_21
.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
testb $7, %dil
sete %al
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _test_22 ## -- Begin function test_22
.p2align 4, 0x90
_test_22: ## @test_22
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %esi, %eax
cmpb $4, (%rdi)
cmovbl %edx, %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 _test_00 ; -- Begin function test_00
.p2align 2
_test_00: ; @test_00
.cfi_startproc
; %bb.0:
ldrb w8, [x0]
tst w8, #0xc
csel w0, w2, w1, eq
ret
.cfi_endproc
; -- End function
.globl _test_01 ; -- Begin function test_01
.p2align 2
_test_01: ; @test_01
.cfi_startproc
; %bb.0:
ldrb w8, [x0]
tst w8, #0x18
csel w0, w2, w1, eq
ret
.cfi_endproc
; -- End function
.globl _test_02 ; -- Begin function test_02
.p2align 2
_test_02: ; @test_02
.cfi_startproc
; %bb.0:
ldrb w8, [x0]
tst w8, #0x18
cset w0, ne
ret
.cfi_endproc
; -- End function
.globl _test_03 ; -- Begin function test_03
.p2align 2
_test_03: ; @test_03
.cfi_startproc
; %bb.0:
ldrb w8, [x0]
tst w8, #0x18
cset w0, eq
ret
.cfi_endproc
; -- End function
.globl _test_04 ; -- Begin function test_04
.p2align 2
_test_04: ; @test_04
.cfi_startproc
; %bb.0:
tst w0, #0x18
csel w0, w2, w1, eq
ret
.cfi_endproc
; -- End function
.globl _test_05 ; -- Begin function test_05
.p2align 2
_test_05: ; @test_05
.cfi_startproc
; %bb.0:
tst w0, #0x18
cset w0, ne
ret
.cfi_endproc
; -- End function
.globl _test_06 ; -- Begin function test_06
.p2align 2
_test_06: ; @test_06
.cfi_startproc
; %bb.0:
tst w0, #0x18
cset w0, eq
ret
.cfi_endproc
; -- End function
.globl _test_07 ; -- Begin function test_07
.p2align 2
_test_07: ; @test_07
.cfi_startproc
; %bb.0:
mov w8, #13
tst w0, w8
csel w0, w2, w1, eq
ret
.cfi_endproc
; -- End function
.globl _test_08 ; -- Begin function test_08
.p2align 2
_test_08: ; @test_08
.cfi_startproc
; %bb.0:
mov w8, #13
tst w0, w8
cset w0, ne
ret
.cfi_endproc
; -- End function
.globl _test_09 ; -- Begin function test_09
.p2align 2
_test_09: ; @test_09
.cfi_startproc
; %bb.0:
mov w8, #13
tst w0, w8
cset w0, eq
ret
.cfi_endproc
; -- End function
.globl _test_10 ; -- Begin function test_10
.p2align 2
_test_10: ; @test_10
.cfi_startproc
; %bb.0:
mov w8, #242
tst w0, w8
csel w0, w2, w1, eq
ret
.cfi_endproc
; -- End function
.globl _test_11 ; -- Begin function test_11
.p2align 2
_test_11: ; @test_11
.cfi_startproc
; %bb.0:
mov w8, #242
tst w0, w8
cset w0, ne
ret
.cfi_endproc
; -- End function
.globl _test_12 ; -- Begin function test_12
.p2align 2
_test_12: ; @test_12
.cfi_startproc
; %bb.0:
mov w8, #242
tst w0, w8
cset w0, eq
ret
.cfi_endproc
; -- End function
.globl _test_13 ; -- Begin function test_13
.p2align 2
_test_13: ; @test_13
.cfi_startproc
; %bb.0:
ldrb w8, [x0]
tst w8, #0x40
csel w0, w2, w1, eq
ret
.cfi_endproc
; -- End function
.globl _test_14 ; -- Begin function test_14
.p2align 2
_test_14: ; @test_14
.cfi_startproc
; %bb.0:
ldrb w8, [x0]
ubfx w0, w8, #6, #1
ret
.cfi_endproc
; -- End function
.globl _test_15 ; -- Begin function test_15
.p2align 2
_test_15: ; @test_15
.cfi_startproc
; %bb.0:
ldrb w8, [x0]
mov w9, #1
bic w0, w9, w8, lsr #6
ret
.cfi_endproc
; -- End function
.globl _test_16 ; -- Begin function test_16
.p2align 2
_test_16: ; @test_16
.cfi_startproc
; %bb.0:
tst w0, #0x40
csel w0, w2, w1, eq
ret
.cfi_endproc
; -- End function
.globl _test_17 ; -- Begin function test_17
.p2align 2
_test_17: ; @test_17
.cfi_startproc
; %bb.0:
ubfx w0, w0, #6, #1
ret
.cfi_endproc
; -- End function
.globl _test_18 ; -- Begin function test_18
.p2align 2
_test_18: ; @test_18
.cfi_startproc
; %bb.0:
mov w8, #1
bic w0, w8, w0, lsr #6
ret
.cfi_endproc
; -- End function
.globl _test_19 ; -- Begin function test_19
.p2align 2
_test_19: ; @test_19
.cfi_startproc
; %bb.0:
tst w0, #0x7
csel w0, w2, w1, eq
ret
.cfi_endproc
; -- End function
.globl _test_20 ; -- Begin function test_20
.p2align 2
_test_20: ; @test_20
.cfi_startproc
; %bb.0:
tst w0, #0x7
cset w0, ne
ret
.cfi_endproc
; -- End function
.globl _test_21 ; -- Begin function test_21
.p2align 2
_test_21: ; @test_21
.cfi_startproc
; %bb.0:
tst w0, #0x7
cset w0, eq
ret
.cfi_endproc
; -- End function
.globl _test_22 ; -- Begin function test_22
.p2align 2
_test_22: ; @test_22
.cfi_startproc
; %bb.0:
ldrb w8, [x0]
cmp w8, #4
csel w0, w2, w1, lo
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/36656.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _inet_ntoa ## -- Begin function inet_ntoa
.p2align 4, 0x90
_inet_ntoa: ## @inet_ntoa
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str(%rip), %rsi
leaq L___func__.inet_ntoa(%rip), %rdx
xorl %eax, %eax
callq _fprintf
callq _abort
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s is not implemented yet, aborting.\n"
L___func__.inet_ntoa: ## @__func__.inet_ntoa
.asciz "inet_ntoa"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _inet_ntoa ; -- Begin function inet_ntoa
.p2align 2
_inet_ntoa: ; @inet_ntoa
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x8, ___stderrp@GOTPAGE
Lloh1:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh2:
ldr x0, [x8]
Lloh3:
adrp x8, l___func__.inet_ntoa@PAGE
Lloh4:
add x8, x8, l___func__.inet_ntoa@PAGEOFF
str x8, [sp]
Lloh5:
adrp x1, l_.str@PAGE
Lloh6:
add x1, x1, l_.str@PAGEOFF
bl _fprintf
bl _abort
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s is not implemented yet, aborting.\n"
l___func__.inet_ntoa: ; @__func__.inet_ntoa
.asciz "inet_ntoa"
.subsections_via_symbols
| the_stack_data/7949123.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function print_multilib_info
_print_multilib_info: ## @print_multilib_info
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $88, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq _multilib_select@GOTPCREL(%rip), %rax
movq (%rax), %rax
xorl %r14d, %r14d
movq _multilib_exclusions@GOTPCREL(%rip), %r15
movabsq $4294967296, %rdx ## imm = 0x100000000
xorl %ecx, %ecx
movq %rcx, -64(%rbp) ## 8-byte Spill
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_2 Depth 2
## Child Loop BB0_5 Depth 2
## Child Loop BB0_11 Depth 3
## Child Loop BB0_20 Depth 4
## Child Loop BB0_27 Depth 5
## Child Loop BB0_33 Depth 5
## Child Loop BB0_37 Depth 6
## Child Loop BB0_54 Depth 3
## Child Loop BB0_66 Depth 4
## Child Loop BB0_60 Depth 3
## Child Loop BB0_75 Depth 3
## Child Loop BB0_82 Depth 4
## Child Loop BB0_93 Depth 2
movq %rax, %rsi
negq %rsi
movq %rax, %rcx
movq %rax, -104(%rbp) ## 8-byte Spill
.p2align 4, 0x90
LBB0_2: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movzbl (%rcx), %eax
cmpb $10, %al
jne LBB0_3
## %bb.102: ## in Loop: Header=BB0_2 Depth=2
incq %rcx
incq -104(%rbp) ## 8-byte Folded Spill
decq %rsi
jmp LBB0_2
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movq %rcx, -48(%rbp) ## 8-byte Spill
testb %al, %al
je LBB0_101
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
movq %rsi, -112(%rbp) ## 8-byte Spill
movq %r14, -96(%rbp) ## 8-byte Spill
movq -104(%rbp), %rcx ## 8-byte Reload
negq %rcx
movq %rcx, -120(%rbp) ## 8-byte Spill
xorl %r14d, %r14d
movq -48(%rbp), %rcx ## 8-byte Reload
jmp LBB0_5
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_5 Depth=2
movq %rcx, -72(%rbp) ## 8-byte Spill
LBB0_16: ## in Loop: Header=BB0_5 Depth=2
movq _multilib_select@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq L_.str(%rip), %rdi
callq _fatal
movabsq $4294967296, %rdx ## imm = 0x100000000
movq -72(%rbp), %rcx ## 8-byte Reload
LBB0_17: ## in Loop: Header=BB0_5 Depth=2
movb 1(%rcx), %al
incq %rcx
LBB0_5: ## Parent Loop BB0_1 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_11 Depth 3
## Child Loop BB0_20 Depth 4
## Child Loop BB0_27 Depth 5
## Child Loop BB0_33 Depth 5
## Child Loop BB0_37 Depth 6
## Child Loop BB0_54 Depth 3
## Child Loop BB0_66 Depth 4
## Child Loop BB0_60 Depth 3
## Child Loop BB0_75 Depth 3
## Child Loop BB0_82 Depth 4
testb %al, %al
je LBB0_6
## %bb.7: ## in Loop: Header=BB0_5 Depth=2
cmpb $32, %al
jne LBB0_17
## %bb.8: ## in Loop: Header=BB0_5 Depth=2
movq -48(%rbp), %rax ## 8-byte Reload
cmpb $46, (%rax)
jne LBB0_10
## %bb.9: ## in Loop: Header=BB0_5 Depth=2
cmpb $58, 1(%rax)
movl $1, %eax
cmovel %eax, %r14d
LBB0_10: ## in Loop: Header=BB0_5 Depth=2
movl %r14d, -52(%rbp) ## 4-byte Spill
movq (%r15), %r14
movq %rcx, %rax
movq %rcx, -72(%rbp) ## 8-byte Spill
leaq 1(%rcx), %rdi
movq %rdi, -80(%rbp) ## 8-byte Spill
jmp LBB0_11
LBB0_22: ## in Loop: Header=BB0_11 Depth=3
testl %ebx, %ebx
jne LBB0_23
.p2align 4, 0x90
LBB0_46: ## in Loop: Header=BB0_11 Depth=3
incq %r14
LBB0_11: ## Parent Loop BB0_1 Depth=1
## Parent Loop BB0_5 Depth=2
## => This Loop Header: Depth=3
## Child Loop BB0_20 Depth 4
## Child Loop BB0_27 Depth 5
## Child Loop BB0_33 Depth 5
## Child Loop BB0_37 Depth 6
movb (%r14), %al
cmpb $10, %al
je LBB0_46
## %bb.12: ## in Loop: Header=BB0_11 Depth=3
testb %al, %al
je LBB0_47
## %bb.13: ## in Loop: Header=BB0_11 Depth=3
movl $1, %ebx
jmp LBB0_20
.p2align 4, 0x90
LBB0_18: ## in Loop: Header=BB0_20 Depth=4
incq %rsi
xorl %ebx, %ebx
movq %rsi, %r14
LBB0_19: ## in Loop: Header=BB0_20 Depth=4
movb (%r14), %al
LBB0_20: ## Parent Loop BB0_1 Depth=1
## Parent Loop BB0_5 Depth=2
## Parent Loop BB0_11 Depth=3
## => This Loop Header: Depth=4
## Child Loop BB0_27 Depth 5
## Child Loop BB0_33 Depth 5
## Child Loop BB0_37 Depth 6
testb %al, %al
je LBB0_24
## %bb.21: ## in Loop: Header=BB0_20 Depth=4
cmpb $59, %al
jne LBB0_25
jmp LBB0_22
.p2align 4, 0x90
LBB0_24: ## in Loop: Header=BB0_20 Depth=4
movq (%r15), %rsi
leaq L_.str.1(%rip), %rdi
callq _fatal
movq -80(%rbp), %rdi ## 8-byte Reload
movabsq $4294967296, %rdx ## imm = 0x100000000
LBB0_25: ## in Loop: Header=BB0_20 Depth=4
movq %r14, %rsi
testl %ebx, %ebx
je LBB0_18
## %bb.26: ## in Loop: Header=BB0_20 Depth=4
xorl %r13d, %r13d
xorl %r12d, %r12d
movq %rsi, %r14
.p2align 4, 0x90
LBB0_27: ## Parent Loop BB0_1 Depth=1
## Parent Loop BB0_5 Depth=2
## Parent Loop BB0_11 Depth=3
## Parent Loop BB0_20 Depth=4
## => This Inner Loop Header: Depth=5
movzbl (%r14), %ecx
testb %cl, %cl
je LBB0_24
## %bb.28: ## in Loop: Header=BB0_27 Depth=5
cmpb $32, %cl
je LBB0_31
## %bb.29: ## in Loop: Header=BB0_27 Depth=5
cmpb $59, %cl
je LBB0_31
## %bb.30: ## in Loop: Header=BB0_27 Depth=5
incq %r14
addq %rdx, %r12
incl %r13d
jmp LBB0_27
.p2align 4, 0x90
LBB0_31: ## in Loop: Header=BB0_20 Depth=4
movb (%rdi), %al
xorl %ebx, %ebx
cmpb $59, %al
jne LBB0_32
LBB0_45: ## in Loop: Header=BB0_20 Depth=4
xorl %eax, %eax
cmpb $32, %cl
sete %al
addq %rax, %r14
jmp LBB0_19
.p2align 4, 0x90
LBB0_32: ## in Loop: Header=BB0_20 Depth=4
sarq $32, %r12
movq %rsi, -128(%rbp) ## 8-byte Spill
LBB0_33: ## Parent Loop BB0_1 Depth=1
## Parent Loop BB0_5 Depth=2
## Parent Loop BB0_11 Depth=3
## Parent Loop BB0_20 Depth=4
## => This Loop Header: Depth=5
## Child Loop BB0_37 Depth 6
testb %al, %al
je LBB0_34
## %bb.35: ## in Loop: Header=BB0_33 Depth=5
xorl %edx, %edx
movq %rdi, %rbx
testb %al, %al
je LBB0_34
.p2align 4, 0x90
LBB0_37: ## Parent Loop BB0_1 Depth=1
## Parent Loop BB0_5 Depth=2
## Parent Loop BB0_11 Depth=3
## Parent Loop BB0_20 Depth=4
## Parent Loop BB0_33 Depth=5
## => This Inner Loop Header: Depth=6
cmpb $32, %al
je LBB0_40
## %bb.38: ## in Loop: Header=BB0_37 Depth=6
cmpb $59, %al
je LBB0_40
## %bb.39: ## in Loop: Header=BB0_37 Depth=6
movzbl 1(%rbx), %eax
incq %rbx
incq %rdx
testb %al, %al
jne LBB0_37
jmp LBB0_34
.p2align 4, 0x90
LBB0_40: ## in Loop: Header=BB0_33 Depth=5
cmpq %rdx, %r12
cmovgq %r12, %rdx
movq %rsi, %r15
## kill: def $edx killed $edx killed $rdx
callq _strncmp
movl $1, -84(%rbp) ## 4-byte Folded Spill
testl %eax, %eax
je LBB0_44
## %bb.41: ## in Loop: Header=BB0_33 Depth=5
movq %r15, %rdi
movl %r13d, %esi
callq _default_arg
testq %rax, %rax
jne LBB0_44
## %bb.42: ## in Loop: Header=BB0_33 Depth=5
xorl %eax, %eax
cmpb $32, (%rbx)
sete %al
leaq (%rbx,%rax), %rdi
movb (%rbx,%rax), %al
cmpb $59, %al
movq -128(%rbp), %rsi ## 8-byte Reload
jne LBB0_33
## %bb.43: ## in Loop: Header=BB0_20 Depth=4
movl $0, -84(%rbp) ## 4-byte Folded Spill
LBB0_44: ## in Loop: Header=BB0_20 Depth=4
movb (%r14), %cl
movq _multilib_exclusions@GOTPCREL(%rip), %r15
movabsq $4294967296, %rdx ## imm = 0x100000000
movq -80(%rbp), %rdi ## 8-byte Reload
movl -84(%rbp), %ebx ## 4-byte Reload
jmp LBB0_45
.p2align 4, 0x90
LBB0_34: ## in Loop: Header=BB0_5 Depth=2
movl -52(%rbp), %r14d ## 4-byte Reload
LBB0_15: ## in Loop: Header=BB0_5 Depth=2
movq _multilib_exclusions@GOTPCREL(%rip), %r15
jmp LBB0_16
LBB0_47: ## in Loop: Header=BB0_5 Depth=2
movl $1, %r14d
cmpl $0, -52(%rbp) ## 4-byte Folded Reload
je LBB0_49
## %bb.48: ## in Loop: Header=BB0_5 Depth=2
xorl %r15d, %r15d
jmp LBB0_75
LBB0_49: ## in Loop: Header=BB0_5 Depth=2
cmpq $0, -64(%rbp) ## 8-byte Folded Reload
movq -96(%rbp), %rdx ## 8-byte Reload
je LBB0_53
## %bb.50: ## in Loop: Header=BB0_5 Depth=2
movq -72(%rbp), %rax ## 8-byte Reload
## kill: def $eax killed $eax killed $rax
subl %edx, %eax
cmpl -104(%rbp), %eax ## 4-byte Folded Reload
jne LBB0_53
## %bb.51: ## in Loop: Header=BB0_5 Depth=2
movq -64(%rbp), %rdi ## 8-byte Reload
movq -48(%rbp), %rsi ## 8-byte Reload
## kill: def $edx killed $edx killed $rdx
callq _strncmp
movq -80(%rbp), %rdi ## 8-byte Reload
movabsq $4294967296, %rdx ## imm = 0x100000000
testl %eax, %eax
je LBB0_52
LBB0_53: ## in Loop: Header=BB0_5 Depth=2
movq -120(%rbp), %rax ## 8-byte Reload
movq -72(%rbp), %rcx ## 8-byte Reload
addq %rcx, %rax
movq %rax, -96(%rbp) ## 8-byte Spill
movq %rdi, %rbx
LBB0_54: ## Parent Loop BB0_1 Depth=1
## Parent Loop BB0_5 Depth=2
## => This Loop Header: Depth=3
## Child Loop BB0_66 Depth 4
movb (%rbx), %al
cmpb $33, %al
movq -72(%rbp), %rcx ## 8-byte Reload
je LBB0_55
## %bb.56: ## in Loop: Header=BB0_54 Depth=3
testb %al, %al
je LBB0_14
## %bb.57: ## in Loop: Header=BB0_54 Depth=3
cmpb $59, %al
je LBB0_58
## %bb.63: ## in Loop: Header=BB0_54 Depth=3
movq %rbx, %rdi
jmp LBB0_64
.p2align 4, 0x90
LBB0_55: ## in Loop: Header=BB0_54 Depth=3
xorl %edi, %edi
LBB0_64: ## in Loop: Header=BB0_54 Depth=3
movl %ebx, %esi
subl %edi, %esi
testb %al, %al
je LBB0_14
.p2align 4, 0x90
LBB0_66: ## Parent Loop BB0_1 Depth=1
## Parent Loop BB0_5 Depth=2
## Parent Loop BB0_54 Depth=3
## => This Inner Loop Header: Depth=4
cmpb $32, %al
je LBB0_69
## %bb.67: ## in Loop: Header=BB0_66 Depth=4
cmpb $59, %al
je LBB0_69
## %bb.68: ## in Loop: Header=BB0_66 Depth=4
movzbl 1(%rbx), %eax
incq %rbx
incl %esi
testb %al, %al
jne LBB0_66
jmp LBB0_14
.p2align 4, 0x90
LBB0_69: ## in Loop: Header=BB0_54 Depth=3
testq %rdi, %rdi
je LBB0_72
## %bb.70: ## in Loop: Header=BB0_54 Depth=3
callq _default_arg
testq %rax, %rax
jne LBB0_73
## %bb.71: ## in Loop: Header=BB0_54 Depth=3
movb (%rbx), %al
LBB0_72: ## in Loop: Header=BB0_54 Depth=3
xorl %ecx, %ecx
cmpb $32, %al
sete %cl
addq %rcx, %rbx
jmp LBB0_54
LBB0_14: ## in Loop: Header=BB0_5 Depth=2
xorl %r14d, %r14d
movq -48(%rbp), %rax ## 8-byte Reload
movq %rax, -64(%rbp) ## 8-byte Spill
jmp LBB0_15
LBB0_52: ## in Loop: Header=BB0_5 Depth=2
xorl %r15d, %r15d
movq -48(%rbp), %rax ## 8-byte Reload
movq %rax, -64(%rbp) ## 8-byte Spill
jmp LBB0_75
LBB0_23: ## in Loop: Header=BB0_5 Depth=2
movl $1, %r14d
xorl %r15d, %r15d
jmp LBB0_75
LBB0_58: ## in Loop: Header=BB0_5 Depth=2
cmpq %rcx, -48(%rbp) ## 8-byte Folded Reload
jae LBB0_62
## %bb.59: ## in Loop: Header=BB0_5 Depth=2
addq -112(%rbp), %rcx ## 8-byte Folded Reload
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_60: ## Parent Loop BB0_1 Depth=1
## Parent Loop BB0_5 Depth=2
## => This Inner Loop Header: Depth=3
movq -48(%rbp), %rax ## 8-byte Reload
movzbl (%rax,%rbx), %eax
cmpb $58, %al
je LBB0_62
## %bb.61: ## in Loop: Header=BB0_60 Depth=3
movq %rcx, %r14
movsbl %al, %edi
callq _putchar
movq %r14, %rcx
incq %rbx
cmpq %rbx, %r14
jne LBB0_60
LBB0_62: ## in Loop: Header=BB0_5 Depth=2
movl $59, %edi
callq _putchar
xorl %r14d, %r14d
movb $1, %r15b
jmp LBB0_74
LBB0_73: ## in Loop: Header=BB0_5 Depth=2
xorl %r15d, %r15d
LBB0_74: ## in Loop: Header=BB0_5 Depth=2
movq -48(%rbp), %rax ## 8-byte Reload
movq %rax, -64(%rbp) ## 8-byte Spill
movabsq $4294967296, %rdx ## imm = 0x100000000
movq -80(%rbp), %rdi ## 8-byte Reload
jmp LBB0_75
.p2align 4, 0x90
LBB0_79: ## in Loop: Header=BB0_75 Depth=3
incq %rdi
LBB0_75: ## Parent Loop BB0_1 Depth=1
## Parent Loop BB0_5 Depth=2
## => This Loop Header: Depth=3
## Child Loop BB0_82 Depth 4
movb (%rdi), %r12b
testb %r12b, %r12b
je LBB0_76
## %bb.77: ## in Loop: Header=BB0_75 Depth=3
cmpb $59, %r12b
je LBB0_89
## %bb.78: ## in Loop: Header=BB0_75 Depth=3
testb %r15b, %r15b
je LBB0_79
## %bb.80: ## in Loop: Header=BB0_75 Depth=3
cmpb $33, %r12b
je LBB0_82
## %bb.81: ## in Loop: Header=BB0_75 Depth=3
movq %rdi, %rbx
movl $64, %edi
callq _putchar
movq %rbx, %rdi
jmp LBB0_82
.p2align 4, 0x90
LBB0_87: ## in Loop: Header=BB0_82 Depth=4
incq %rdi
LBB0_82: ## Parent Loop BB0_1 Depth=1
## Parent Loop BB0_5 Depth=2
## Parent Loop BB0_75 Depth=3
## => This Inner Loop Header: Depth=4
movzbl (%rdi), %eax
testb %al, %al
je LBB0_76
## %bb.83: ## in Loop: Header=BB0_82 Depth=4
cmpb $32, %al
je LBB0_88
## %bb.84: ## in Loop: Header=BB0_82 Depth=4
cmpb $59, %al
je LBB0_88
## %bb.85: ## in Loop: Header=BB0_82 Depth=4
cmpb $33, %r12b
je LBB0_87
## %bb.86: ## in Loop: Header=BB0_82 Depth=4
movq %rdi, %rbx
movsbl %al, %edi
callq _putchar
movq %rbx, %rdi
jmp LBB0_87
.p2align 4, 0x90
LBB0_88: ## in Loop: Header=BB0_75 Depth=3
xorl %ecx, %ecx
cmpb $32, %al
sete %cl
addq %rcx, %rdi
movabsq $4294967296, %rdx ## imm = 0x100000000
jmp LBB0_75
LBB0_76: ## in Loop: Header=BB0_5 Depth=2
movq %rdi, -72(%rbp) ## 8-byte Spill
jmp LBB0_15
.p2align 4, 0x90
LBB0_89: ## in Loop: Header=BB0_1 Depth=1
testb %r15b, %r15b
movq -96(%rbp), %r14 ## 8-byte Reload
je LBB0_100
## %bb.90: ## in Loop: Header=BB0_1 Depth=1
movq %rdi, %r15
movq _multilib_extra@GOTPCREL(%rip), %rax
movq (%rax), %rbx
testq %rbx, %rbx
je LBB0_99
## %bb.91: ## in Loop: Header=BB0_1 Depth=1
movb (%rbx), %al
testb %al, %al
je LBB0_99
## %bb.92: ## in Loop: Header=BB0_1 Depth=1
incq %rbx
movq _TRUE@GOTPCREL(%rip), %rcx
jmp LBB0_93
.p2align 4, 0x90
LBB0_97: ## in Loop: Header=BB0_93 Depth=2
movsbl %al, %edi
callq _putchar
movq _FALSE@GOTPCREL(%rip), %rdx
LBB0_98: ## in Loop: Header=BB0_93 Depth=2
movzbl (%rbx), %eax
incq %rbx
movq %rdx, %rcx
LBB0_93: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movq _TRUE@GOTPCREL(%rip), %rdx
cmpb $32, %al
je LBB0_98
## %bb.94: ## in Loop: Header=BB0_93 Depth=2
testb %al, %al
je LBB0_99
## %bb.95: ## in Loop: Header=BB0_93 Depth=2
cmpl $0, (%rcx)
je LBB0_97
## %bb.96: ## in Loop: Header=BB0_93 Depth=2
movl $64, %edi
callq _putchar
movzbl -1(%rbx), %eax
jmp LBB0_97
.p2align 4, 0x90
LBB0_99: ## in Loop: Header=BB0_1 Depth=1
movl $10, %edi
callq _putchar
movabsq $4294967296, %rdx ## imm = 0x100000000
movq %r15, %rdi
LBB0_100: ## in Loop: Header=BB0_1 Depth=1
incq %rdi
movq %rdi, %rax
movq _multilib_exclusions@GOTPCREL(%rip), %r15
jmp LBB0_1
LBB0_101:
addq $88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _multilib_select,8,3 ## @multilib_select
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "multilib select '%s' is invalid"
.comm _multilib_exclusions,8,3 ## @multilib_exclusions
L_.str.1: ## @.str.1
.asciz "multilib exclusion '%s' is invalid"
.comm _multilib_extra,8,3 ## @multilib_extra
.comm _TRUE,4,2 ## @TRUE
.comm _FALSE,4,2 ## @FALSE
.no_dead_strip _print_multilib_info
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function print_multilib_info
_print_multilib_info: ; @print_multilib_info
.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
mov w24, #0
str xzr, [sp, #8] ; 8-byte Folded Spill
Lloh0:
adrp x19, _multilib_select@GOTPAGE
Lloh1:
ldr x19, [x19, _multilib_select@GOTPAGEOFF]
Lloh2:
adrp x27, _multilib_exclusions@GOTPAGE
Lloh3:
ldr x27, [x27, _multilib_exclusions@GOTPAGEOFF]
ldr x21, [x19]
mov x22, #4294967296
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_2 Depth 2
; Child Loop BB0_9 Depth 2
; Child Loop BB0_16 Depth 3
; Child Loop BB0_21 Depth 4
; Child Loop BB0_25 Depth 5
; Child Loop BB0_34 Depth 5
; Child Loop BB0_36 Depth 6
; Child Loop BB0_52 Depth 3
; Child Loop BB0_58 Depth 4
; Child Loop BB0_84 Depth 3
; Child Loop BB0_69 Depth 3
; Child Loop BB0_74 Depth 4
; Child Loop BB0_94 Depth 2
neg x9, x21
LBB0_2: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w8, [x21]
cmp w8, #10
b.ne LBB0_4
; %bb.3: ; in Loop: Header=BB0_2 Depth=2
add x21, x21, #1
sub x9, x9, #1
b LBB0_2
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
cbz w8, LBB0_100
; %bb.5: ; in Loop: Header=BB0_1 Depth=1
str x9, [sp] ; 8-byte Folded Spill
str wzr, [sp, #28] ; 4-byte Folded Spill
mov x23, x24
mov x20, x21
str x21, [sp, #16] ; 8-byte Folded Spill
b LBB0_9
LBB0_6: ; in Loop: Header=BB0_9 Depth=2
mov x24, x23
LBB0_7: ; in Loop: Header=BB0_9 Depth=2
ldr x1, [x19]
Lloh4:
adrp x0, l_.str@PAGE
Lloh5:
add x0, x0, l_.str@PAGEOFF
bl _fatal
mov x23, x24
LBB0_8: ; in Loop: Header=BB0_9 Depth=2
ldrb w8, [x20, #1]!
LBB0_9: ; Parent Loop BB0_1 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_16 Depth 3
; Child Loop BB0_21 Depth 4
; Child Loop BB0_25 Depth 5
; Child Loop BB0_34 Depth 5
; Child Loop BB0_36 Depth 6
; Child Loop BB0_52 Depth 3
; Child Loop BB0_58 Depth 4
; Child Loop BB0_84 Depth 3
; Child Loop BB0_69 Depth 3
; Child Loop BB0_74 Depth 4
ands w8, w8, #0xff
b.eq LBB0_6
; %bb.10: ; in Loop: Header=BB0_9 Depth=2
cmp w8, #32
b.ne LBB0_8
; %bb.11: ; in Loop: Header=BB0_9 Depth=2
ldrb w8, [x21]
cmp w8, #46
b.ne LBB0_13
; %bb.12: ; in Loop: Header=BB0_9 Depth=2
ldrb w8, [x21, #1]
cmp w8, #58
ldr w8, [sp, #28] ; 4-byte Folded Reload
csinc w8, w8, wzr, ne
str w8, [sp, #28] ; 4-byte Folded Spill
LBB0_13: ; in Loop: Header=BB0_9 Depth=2
ldr x24, [x27]
add x19, x20, #1
b LBB0_16
LBB0_14: ; in Loop: Header=BB0_16 Depth=3
cbnz w26, LBB0_47
LBB0_15: ; in Loop: Header=BB0_16 Depth=3
add x24, x24, #1
LBB0_16: ; Parent Loop BB0_1 Depth=1
; Parent Loop BB0_9 Depth=2
; => This Loop Header: Depth=3
; Child Loop BB0_21 Depth 4
; Child Loop BB0_25 Depth 5
; Child Loop BB0_34 Depth 5
; Child Loop BB0_36 Depth 6
ldrb w8, [x24]
cmp w8, #10
b.eq LBB0_15
; %bb.17: ; in Loop: Header=BB0_16 Depth=3
cbz w8, LBB0_46
; %bb.18: ; in Loop: Header=BB0_16 Depth=3
mov w26, #1
b LBB0_21
LBB0_19: ; in Loop: Header=BB0_21 Depth=4
add x24, x24, #1
LBB0_20: ; in Loop: Header=BB0_21 Depth=4
ldrb w8, [x24]
LBB0_21: ; Parent Loop BB0_1 Depth=1
; Parent Loop BB0_9 Depth=2
; Parent Loop BB0_16 Depth=3
; => This Loop Header: Depth=4
; Child Loop BB0_25 Depth 5
; Child Loop BB0_34 Depth 5
; Child Loop BB0_36 Depth 6
ands w8, w8, #0xff
b.eq LBB0_29
; %bb.22: ; in Loop: Header=BB0_21 Depth=4
cmp w8, #59
b.eq LBB0_14
; %bb.23: ; in Loop: Header=BB0_21 Depth=4
cbz w26, LBB0_19
LBB0_24: ; in Loop: Header=BB0_21 Depth=4
mov x9, #0
mov x25, #0
ldrb w10, [x24, x25]
cbz w10, LBB0_28
LBB0_25: ; Parent Loop BB0_1 Depth=1
; Parent Loop BB0_9 Depth=2
; Parent Loop BB0_16 Depth=3
; Parent Loop BB0_21 Depth=4
; => This Inner Loop Header: Depth=5
cmp w10, #32
b.eq LBB0_30
; %bb.26: ; in Loop: Header=BB0_25 Depth=5
cmp w10, #59
b.eq LBB0_30
; %bb.27: ; in Loop: Header=BB0_25 Depth=5
add x25, x25, #1
add x9, x9, x22
ldrb w10, [x24, x25]
cbnz w10, LBB0_25
LBB0_28: ; in Loop: Header=BB0_21 Depth=4
add x24, x24, x25
LBB0_29: ; in Loop: Header=BB0_21 Depth=4
ldr x1, [x27]
Lloh6:
adrp x0, l_.str.1@PAGE
Lloh7:
add x0, x0, l_.str.1@PAGEOFF
bl _fatal
cbnz w26, LBB0_24
b LBB0_19
LBB0_30: ; in Loop: Header=BB0_21 Depth=4
ldrb w8, [x19]
cmp w8, #59
b.ne LBB0_33
; %bb.31: ; in Loop: Header=BB0_21 Depth=4
mov w26, #0
LBB0_32: ; in Loop: Header=BB0_21 Depth=4
cmp w10, #32
cinc x8, x24, eq
add x24, x8, x25
b LBB0_20
LBB0_33: ; in Loop: Header=BB0_21 Depth=4
mov x21, x27
asr x28, x9, #32
mov x26, x19
LBB0_34: ; Parent Loop BB0_1 Depth=1
; Parent Loop BB0_9 Depth=2
; Parent Loop BB0_16 Depth=3
; Parent Loop BB0_21 Depth=4
; => This Loop Header: Depth=5
; Child Loop BB0_36 Depth 6
cbz w8, LBB0_45
; %bb.35: ; in Loop: Header=BB0_34 Depth=5
mov x27, #0
cbz w8, LBB0_45
LBB0_36: ; Parent Loop BB0_1 Depth=1
; Parent Loop BB0_9 Depth=2
; Parent Loop BB0_16 Depth=3
; Parent Loop BB0_21 Depth=4
; Parent Loop BB0_34 Depth=5
; => This Inner Loop Header: Depth=6
cmp w8, #32
b.eq LBB0_39
; %bb.37: ; in Loop: Header=BB0_36 Depth=6
cmp w8, #59
b.eq LBB0_39
; %bb.38: ; in Loop: Header=BB0_36 Depth=6
add x8, x26, x27
ldrb w8, [x8, #1]
add x27, x27, #1
cbnz w8, LBB0_36
b LBB0_45
LBB0_39: ; in Loop: Header=BB0_34 Depth=5
cmp x28, x27
csel x2, x28, x27, gt
mov x0, x26
mov x1, x24
; kill: def $w2 killed $w2 killed $x2
bl _strncmp
cbz w0, LBB0_43
; %bb.40: ; in Loop: Header=BB0_34 Depth=5
mov x0, x24
mov x1, x25
bl _default_arg
cbnz x0, LBB0_43
; %bb.41: ; in Loop: Header=BB0_34 Depth=5
ldrb w8, [x26, x27]
cmp w8, #32
cinc x8, x26, eq
add x26, x8, x27
ldrb w8, [x26]
cmp w8, #59
b.ne LBB0_34
; %bb.42: ; in Loop: Header=BB0_21 Depth=4
mov w26, #0
b LBB0_44
LBB0_43: ; in Loop: Header=BB0_21 Depth=4
mov w26, #1
LBB0_44: ; in Loop: Header=BB0_21 Depth=4
mov x27, x21
ldrb w10, [x24, x25]
b LBB0_32
LBB0_45: ; in Loop: Header=BB0_9 Depth=2
mov x24, x23
Lloh8:
adrp x19, _multilib_select@GOTPAGE
Lloh9:
ldr x19, [x19, _multilib_select@GOTPAGEOFF]
mov x27, x21
ldr x21, [sp, #16] ; 8-byte Folded Reload
b LBB0_7
LBB0_46: ; in Loop: Header=BB0_9 Depth=2
ldr w8, [sp, #28] ; 4-byte Folded Reload
cbz w8, LBB0_48
LBB0_47: ; in Loop: Header=BB0_9 Depth=2
mov w20, #0
mov w8, #1
str w8, [sp, #28] ; 4-byte Folded Spill
mov x24, x23
ldr x21, [sp, #16] ; 8-byte Folded Reload
ldrb w23, [x19]
cbnz w23, LBB0_69
b LBB0_80
LBB0_48: ; in Loop: Header=BB0_9 Depth=2
ldp x8, x21, [sp, #8] ; 16-byte Folded Reload
sub w24, w20, w21
cbz x8, LBB0_51
; %bb.49: ; in Loop: Header=BB0_9 Depth=2
cmp w24, w23
b.ne LBB0_51
; %bb.50: ; in Loop: Header=BB0_9 Depth=2
ldr x0, [sp, #8] ; 8-byte Folded Reload
mov x1, x21
mov x2, x23
bl _strncmp
cbz w0, LBB0_66
LBB0_51: ; in Loop: Header=BB0_9 Depth=2
mov x23, x19
LBB0_52: ; Parent Loop BB0_1 Depth=1
; Parent Loop BB0_9 Depth=2
; => This Loop Header: Depth=3
; Child Loop BB0_58 Depth 4
ldrb w8, [x23]
cmp w8, #33
b.eq LBB0_56
; %bb.53: ; in Loop: Header=BB0_52 Depth=3
cbz w8, LBB0_65
; %bb.54: ; in Loop: Header=BB0_52 Depth=3
cmp w8, #59
b.eq LBB0_82
; %bb.55: ; in Loop: Header=BB0_52 Depth=3
mov x0, x23
b LBB0_57
LBB0_56: ; in Loop: Header=BB0_52 Depth=3
mov x0, #0
LBB0_57: ; in Loop: Header=BB0_52 Depth=3
sub w1, w23, w0
cbz w8, LBB0_65
LBB0_58: ; Parent Loop BB0_1 Depth=1
; Parent Loop BB0_9 Depth=2
; Parent Loop BB0_52 Depth=3
; => This Inner Loop Header: Depth=4
cmp w8, #32
b.eq LBB0_61
; %bb.59: ; in Loop: Header=BB0_58 Depth=4
cmp w8, #59
b.eq LBB0_61
; %bb.60: ; in Loop: Header=BB0_58 Depth=4
ldrb w8, [x23, #1]!
add w1, w1, #1
cbnz w8, LBB0_58
b LBB0_65
LBB0_61: ; in Loop: Header=BB0_52 Depth=3
cbz x0, LBB0_64
; %bb.62: ; in Loop: Header=BB0_52 Depth=3
bl _default_arg
cbnz x0, LBB0_87
; %bb.63: ; in Loop: Header=BB0_52 Depth=3
ldrb w8, [x23]
LBB0_64: ; in Loop: Header=BB0_52 Depth=3
cmp w8, #32
cinc x23, x23, eq
b LBB0_52
LBB0_65: ; in Loop: Header=BB0_9 Depth=2
str wzr, [sp, #28] ; 4-byte Folded Spill
str x21, [sp, #8] ; 8-byte Folded Spill
b LBB0_81
LBB0_66: ; in Loop: Header=BB0_9 Depth=2
mov w20, #0
mov w8, #1
str w8, [sp, #28] ; 4-byte Folded Spill
mov x24, x23
LBB0_67: ; in Loop: Header=BB0_9 Depth=2
str x21, [sp, #8] ; 8-byte Folded Spill
ldrb w23, [x19]
cbnz w23, LBB0_69
b LBB0_80
LBB0_68: ; in Loop: Header=BB0_69 Depth=3
add x19, x19, #1
ldrb w23, [x19]
cbz w23, LBB0_80
LBB0_69: ; Parent Loop BB0_1 Depth=1
; Parent Loop BB0_9 Depth=2
; => This Loop Header: Depth=3
; Child Loop BB0_74 Depth 4
cmp w23, #59
b.eq LBB0_88
; %bb.70: ; in Loop: Header=BB0_69 Depth=3
tbz w20, #0, LBB0_68
; %bb.71: ; in Loop: Header=BB0_69 Depth=3
cmp w23, #33
b.eq LBB0_74
; %bb.72: ; in Loop: Header=BB0_69 Depth=3
mov w0, #64
bl _putchar
b LBB0_74
LBB0_73: ; in Loop: Header=BB0_74 Depth=4
add x19, x19, #1
LBB0_74: ; Parent Loop BB0_1 Depth=1
; Parent Loop BB0_9 Depth=2
; Parent Loop BB0_69 Depth=3
; => This Inner Loop Header: Depth=4
ldrb w8, [x19]
cbz w8, LBB0_80
; %bb.75: ; in Loop: Header=BB0_74 Depth=4
cmp w8, #32
b.eq LBB0_79
; %bb.76: ; in Loop: Header=BB0_74 Depth=4
cmp w8, #59
b.eq LBB0_79
; %bb.77: ; in Loop: Header=BB0_74 Depth=4
cmp w23, #33
b.eq LBB0_73
; %bb.78: ; in Loop: Header=BB0_74 Depth=4
sxtb w0, w8
bl _putchar
b LBB0_73
LBB0_79: ; in Loop: Header=BB0_69 Depth=3
cmp w8, #32
cinc x19, x19, eq
ldrb w23, [x19]
cbnz w23, LBB0_69
LBB0_80: ; in Loop: Header=BB0_9 Depth=2
mov x20, x19
LBB0_81: ; in Loop: Header=BB0_9 Depth=2
Lloh10:
adrp x19, _multilib_select@GOTPAGE
Lloh11:
ldr x19, [x19, _multilib_select@GOTPAGEOFF]
b LBB0_7
LBB0_82: ; in Loop: Header=BB0_9 Depth=2
cmp x21, x20
b.hs LBB0_86
; %bb.83: ; in Loop: Header=BB0_9 Depth=2
mov x23, #0
ldr x8, [sp] ; 8-byte Folded Reload
add x20, x8, x20
LBB0_84: ; Parent Loop BB0_1 Depth=1
; Parent Loop BB0_9 Depth=2
; => This Inner Loop Header: Depth=3
ldrb w8, [x21, x23]
cmp w8, #58
b.eq LBB0_86
; %bb.85: ; in Loop: Header=BB0_84 Depth=3
sxtb w0, w8
bl _putchar
add x23, x23, #1
cmp x20, x23
b.ne LBB0_84
LBB0_86: ; in Loop: Header=BB0_9 Depth=2
mov w0, #59
bl _putchar
str wzr, [sp, #28] ; 4-byte Folded Spill
mov w20, #1
b LBB0_67
LBB0_87: ; in Loop: Header=BB0_9 Depth=2
mov w20, #0
mov w8, #1
str w8, [sp, #28] ; 4-byte Folded Spill
b LBB0_67
LBB0_88: ; in Loop: Header=BB0_1 Depth=1
Lloh12:
adrp x21, _TRUE@GOTPAGE
Lloh13:
ldr x21, [x21, _TRUE@GOTPAGEOFF]
Lloh14:
adrp x23, _FALSE@GOTPAGE
Lloh15:
ldr x23, [x23, _FALSE@GOTPAGEOFF]
cbz w20, LBB0_99
; %bb.89: ; in Loop: Header=BB0_1 Depth=1
Lloh16:
adrp x8, _multilib_extra@GOTPAGE
Lloh17:
ldr x8, [x8, _multilib_extra@GOTPAGEOFF]
Lloh18:
ldr x9, [x8]
cbz x9, LBB0_98
; %bb.90: ; in Loop: Header=BB0_1 Depth=1
ldrb w8, [x9]
cbz w8, LBB0_98
; %bb.91: ; in Loop: Header=BB0_1 Depth=1
add x20, x9, #1
mov x9, x21
b LBB0_94
LBB0_92: ; in Loop: Header=BB0_94 Depth=2
sxtb w0, w8
bl _putchar
mov x0, x23
LBB0_93: ; in Loop: Header=BB0_94 Depth=2
ldrb w8, [x20], #1
mov x9, x0
LBB0_94: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
and w10, w8, #0xff
mov x0, x21
cmp w10, #32
b.eq LBB0_93
; %bb.95: ; in Loop: Header=BB0_94 Depth=2
cbz w10, LBB0_98
; %bb.96: ; in Loop: Header=BB0_94 Depth=2
ldr w9, [x9]
cbz w9, LBB0_92
; %bb.97: ; in Loop: Header=BB0_94 Depth=2
mov w0, #64
bl _putchar
ldurb w8, [x20, #-1]
b LBB0_92
LBB0_98: ; in Loop: Header=BB0_1 Depth=1
mov w0, #10
bl _putchar
LBB0_99: ; in Loop: Header=BB0_1 Depth=1
add x21, x19, #1
Lloh19:
adrp x19, _multilib_select@GOTPAGE
Lloh20:
ldr x19, [x19, _multilib_select@GOTPAGEOFF]
b LBB0_1
LBB0_100:
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 AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGot Lloh19, Lloh20
.cfi_endproc
; -- End function
.comm _multilib_select,8,3 ; @multilib_select
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "multilib select '%s' is invalid"
.comm _multilib_exclusions,8,3 ; @multilib_exclusions
l_.str.1: ; @.str.1
.asciz "multilib exclusion '%s' is invalid"
.comm _multilib_extra,8,3 ; @multilib_extra
.comm _TRUE,4,2 ; @TRUE
.comm _FALSE,4,2 ; @FALSE
.no_dead_strip _print_multilib_info
.subsections_via_symbols
| AnghaBench/freebsd/contrib/gcc/extr_gcc.c_print_multilib_info.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _EVP_CIPHER_CTX_set_app_data ## -- Begin function EVP_CIPHER_CTX_set_app_data
.p2align 4, 0x90
_EVP_CIPHER_CTX_set_app_data: ## @EVP_CIPHER_CTX_set_app_data
.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, (%rdi)
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 _EVP_CIPHER_CTX_set_app_data ; -- Begin function EVP_CIPHER_CTX_set_app_data
.p2align 2
_EVP_CIPHER_CTX_set_app_data: ; @EVP_CIPHER_CTX_set_app_data
.cfi_startproc
; %bb.0:
str x1, [x0]
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/openssl/crypto/evp/extr_evp_lib.c_EVP_CIPHER_CTX_set_app_data.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function rxq_stats_init
_rxq_stats_init: ## @rxq_stats_init
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
callq _u64_stats_init
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _hinic_rxq_clean_stats ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _rxq_stats_init
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function rxq_stats_init
_rxq_stats_init: ; @rxq_stats_init
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
bl _u64_stats_init
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _hinic_rxq_clean_stats
.cfi_endproc
; -- End function
.no_dead_strip _rxq_stats_init
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/huawei/hinic/extr_hinic_rx.c_rxq_stats_init.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function relative_clicked
_relative_clicked: ## @relative_clicked
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %r15
leaq L_.str(%rip), %rsi
movq %rdx, %rdi
callq _obs_data_get_bool
movl %eax, %r12d
leaq L_.str.1(%rip), %rsi
movq %r15, %rdi
callq _obs_properties_get
movl %eax, %ebx
testl %r12d, %r12d
je LBB0_1
## %bb.2:
leaq L_.str.2(%rip), %rdi
callq _obs_module_text
movq %rax, %rsi
jmp LBB0_3
LBB0_1:
leaq L_.str.3(%rip), %rsi
LBB0_3:
movl %ebx, %edi
callq _obs_property_set_description
leaq L_.str.4(%rip), %rsi
movq %r15, %rdi
callq _obs_properties_get
movl %eax, %r13d
testl %r12d, %r12d
je LBB0_4
## %bb.5:
leaq L_.str.5(%rip), %rdi
callq _obs_module_text
movq %rax, %rsi
jmp LBB0_6
LBB0_4:
leaq L_.str.6(%rip), %rsi
LBB0_6:
xorl %ebx, %ebx
testl %r12d, %r12d
sete %bl
movl %r13d, %edi
callq _obs_property_set_description
leaq L_.str.7(%rip), %rsi
movq %r15, %rdi
callq _obs_properties_get
movl %eax, %edi
movl %r12d, %esi
callq _obs_property_set_visible
leaq L_.str.8(%rip), %rsi
movq %r15, %rdi
callq _obs_properties_get
movl %eax, %edi
movl %r12d, %esi
callq _obs_property_set_visible
leaq L_.str.9(%rip), %rsi
movq %r15, %rdi
callq _obs_properties_get
movl %eax, %edi
movl %ebx, %esi
callq _obs_property_set_visible
leaq L_.str.10(%rip), %rsi
movq %r15, %rdi
callq _obs_properties_get
movl %eax, %edi
movl %ebx, %esi
callq _obs_property_set_visible
movq %r14, %rdi
callq _UNUSED_PARAMETER
movl $1, %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 "relative"
L_.str.1: ## @.str.1
.asciz "left"
L_.str.2: ## @.str.2
.asciz "Crop.Left"
L_.str.3: ## @.str.3
.asciz "X"
L_.str.4: ## @.str.4
.asciz "top"
L_.str.5: ## @.str.5
.asciz "Crop.Top"
L_.str.6: ## @.str.6
.asciz "Y"
L_.str.7: ## @.str.7
.asciz "right"
L_.str.8: ## @.str.8
.asciz "bottom"
L_.str.9: ## @.str.9
.asciz "cx"
L_.str.10: ## @.str.10
.asciz "cy"
.no_dead_strip _relative_clicked
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function relative_clicked
_relative_clicked: ; @relative_clicked
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x1
mov x20, x0
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov x0, x2
bl _obs_data_get_bool
mov x21, x0
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x20
bl _obs_properties_get
mov x22, x0
cbz w21, LBB0_2
; %bb.1:
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _obs_module_text
mov x1, x0
b LBB0_3
LBB0_2:
Lloh6:
adrp x1, l_.str.3@PAGE
Lloh7:
add x1, x1, l_.str.3@PAGEOFF
LBB0_3:
mov x0, x22
bl _obs_property_set_description
Lloh8:
adrp x1, l_.str.4@PAGE
Lloh9:
add x1, x1, l_.str.4@PAGEOFF
mov x0, x20
bl _obs_properties_get
mov x22, x0
cbz w21, LBB0_5
; %bb.4:
Lloh10:
adrp x0, l_.str.5@PAGE
Lloh11:
add x0, x0, l_.str.5@PAGEOFF
bl _obs_module_text
mov x1, x0
b LBB0_6
LBB0_5:
Lloh12:
adrp x1, l_.str.6@PAGE
Lloh13:
add x1, x1, l_.str.6@PAGEOFF
LBB0_6:
cmp w21, #0
cset w23, eq
mov x0, x22
bl _obs_property_set_description
Lloh14:
adrp x1, l_.str.7@PAGE
Lloh15:
add x1, x1, l_.str.7@PAGEOFF
mov x0, x20
bl _obs_properties_get
mov x1, x21
bl _obs_property_set_visible
Lloh16:
adrp x1, l_.str.8@PAGE
Lloh17:
add x1, x1, l_.str.8@PAGEOFF
mov x0, x20
bl _obs_properties_get
mov x1, x21
bl _obs_property_set_visible
Lloh18:
adrp x1, l_.str.9@PAGE
Lloh19:
add x1, x1, l_.str.9@PAGEOFF
mov x0, x20
bl _obs_properties_get
mov x1, x23
bl _obs_property_set_visible
Lloh20:
adrp x1, l_.str.10@PAGE
Lloh21:
add x1, x1, l_.str.10@PAGEOFF
mov x0, x20
bl _obs_properties_get
mov x1, x23
bl _obs_property_set_visible
mov x0, x19
bl _UNUSED_PARAMETER
mov w0, #1
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh14, Lloh15
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "relative"
l_.str.1: ; @.str.1
.asciz "left"
l_.str.2: ; @.str.2
.asciz "Crop.Left"
l_.str.3: ; @.str.3
.asciz "X"
l_.str.4: ; @.str.4
.asciz "top"
l_.str.5: ; @.str.5
.asciz "Crop.Top"
l_.str.6: ; @.str.6
.asciz "Y"
l_.str.7: ; @.str.7
.asciz "right"
l_.str.8: ; @.str.8
.asciz "bottom"
l_.str.9: ; @.str.9
.asciz "cx"
l_.str.10: ; @.str.10
.asciz "cy"
.no_dead_strip _relative_clicked
.subsections_via_symbols
| AnghaBench/obs-studio/plugins/obs-filters/extr_crop-filter.c_relative_clicked.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test183 ## -- Begin function test183
.p2align 4, 0x90
_test183: ## @test183
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $174, %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 _test183 ; -- Begin function test183
.p2align 2
_test183: ; @test183
.cfi_startproc
; %bb.0:
mov w0, #174
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/45295.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function test_SwapPlong
_test_SwapPlong: ## @test_SwapPlong
.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 ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movabsq $1153202979583492097, %rax ## imm = 0x1000FFFFFFFF0001
movq %rax, -20(%rbp)
movl $536870913, -12(%rbp) ## imm = 0x20000001
leaq -20(%rbp), %rdi
movl $2, %esi
callq _pSwapPlong
movl -20(%rbp), %edx
movl -16(%rbp), %ecx
movl %edx, %eax
xorl $16842751, %eax ## imm = 0x100FFFF
movl %ecx, %esi
xorl $-65520, %esi ## imm = 0xFFFF0010
orl %eax, %esi
movl -12(%rbp), %r8d
movl %r8d, %eax
xorl $536870913, %eax ## imm = 0x20000001
xorl %edi, %edi
orl %esi, %eax
sete %dil
leaq L_.str(%rip), %rsi
callq _ok
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -8(%rbp), %rax
jne LBB0_2
## %bb.1:
addq $32, %rsp
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Expected {0x0100ffff,0xffff0010,0x20000001}, got {0x%08x,0x%08x,0x%08x}\n"
.no_dead_strip _test_SwapPlong
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ; -- Begin function test_SwapPlong
lCPI0_0:
.long 4294901761 ; 0xffff0001
.long 268500991 ; 0x1000ffff
.section __TEXT,__text,regular,pure_instructions
.p2align 2
_test_SwapPlong: ; @test_SwapPlong
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #24]
Lloh3:
adrp x8, lCPI0_0@PAGE
Lloh4:
ldr d0, [x8, lCPI0_0@PAGEOFF]
str d0, [sp, #8]
mov w19, #1
movk w19, #8192, lsl #16
str w19, [sp, #16]
add x0, sp, #8
mov w1, #2
bl _pSwapPlong
mov w8, #16842751
ldp w2, w3, [sp, #8]
cmp w2, w8
mov w8, #-65520
ccmp w3, w8, #0, eq
ldr w4, [sp, #16]
ccmp w4, w19, #0, eq
cset w0, eq
Lloh5:
adrp x1, l_.str@PAGE
Lloh6:
add x1, x1, l_.str@PAGEOFF
bl _ok
ldr x8, [sp, #24]
Lloh7:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh8:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_2
; %bb.1:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #64
ret
LBB0_2:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdr Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Expected {0x0100ffff,0xffff0010,0x20000001}, got {0x%08x,0x%08x,0x%08x}\n"
.no_dead_strip _test_SwapPlong
.subsections_via_symbols
| AnghaBench/reactos/modules/rostests/winetests/mapi32/extr_util.c_test_SwapPlong.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__const
.globl _ASIHTTPRequestVersionString ## @ASIHTTPRequestVersionString
.p2align 4
_ASIHTTPRequestVersionString:
.asciz "@(#)PROGRAM:ASIHTTPRequest PROJECT:Pods-1\n"
.globl _ASIHTTPRequestVersionNumber ## @ASIHTTPRequestVersionNumber
.p2align 3
_ASIHTTPRequestVersionNumber:
.quad 0x3ff0000000000000 ## double 1
.no_dead_strip _ASIHTTPRequestVersionNumber
.no_dead_strip _ASIHTTPRequestVersionString
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__const
.globl _ASIHTTPRequestVersionString ; @ASIHTTPRequestVersionString
_ASIHTTPRequestVersionString:
.asciz "@(#)PROGRAM:ASIHTTPRequest PROJECT:Pods-1\n"
.globl _ASIHTTPRequestVersionNumber ; @ASIHTTPRequestVersionNumber
.p2align 3
_ASIHTTPRequestVersionNumber:
.quad 0x3ff0000000000000 ; double 1
.no_dead_strip _ASIHTTPRequestVersionNumber
.no_dead_strip _ASIHTTPRequestVersionString
.subsections_via_symbols
| the_stack_data/9512057.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function remove_node_props
_remove_node_props: ## @remove_node_props
.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), %r15
cmpq $0, 16(%r15)
jne LBB0_4
## %bb.1:
movq %rdi, %r14
movl 8(%r15), %esi
movl (%rdi), %ecx
movl 4(%rdi), %edx
leaq -32(%rbp), %rdi
callq _svn_fs_node_proplist
movl %eax, %edi
callq _SVN_ERR
movl (%r14), %edi
movq -32(%rbp), %rsi
callq _apr_hash_first
testq %rax, %rax
je LBB0_4
## %bb.2:
movq %rax, %rbx
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
callq _apr_hash_this_key
movl 8(%r15), %edi
movl (%r14), %r9d
movl 4(%r14), %esi
movq (%r15), %rcx
movl (%rcx), %r8d
movq %rax, %rdx
xorl %ecx, %ecx
callq _change_node_prop
movl %eax, %edi
callq _SVN_ERR
movq %rbx, %rdi
callq _apr_hash_next
movq %rax, %rbx
testq %rax, %rax
jne LBB0_3
LBB0_4:
movq _SVN_NO_ERROR@GOTPCREL(%rip), %rax
movq (%rax), %rax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SVN_NO_ERROR,8,3 ## @SVN_NO_ERROR
.no_dead_strip _remove_node_props
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function remove_node_props
_remove_node_props: ; @remove_node_props
.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
ldr x21, [x0, #8]
ldr x8, [x21, #16]
cbnz x8, LBB0_4
; %bb.1:
mov x19, x0
ldr w1, [x21, #8]
ldp w3, w2, [x0]
add x0, sp, #8
bl _svn_fs_node_proplist
bl _SVN_ERR
ldr w0, [x19]
ldr x1, [sp, #8]
bl _apr_hash_first
cbz x0, LBB0_4
; %bb.2:
mov x20, x0
LBB0_3: ; =>This Inner Loop Header: Depth=1
mov x0, x20
bl _apr_hash_this_key
mov x2, x0
ldr w0, [x21, #8]
ldr x8, [x21]
ldr w4, [x8]
ldp w5, w1, [x19]
mov x3, #0
bl _change_node_prop
bl _SVN_ERR
mov x0, x20
bl _apr_hash_next
mov x20, x0
cbnz x0, LBB0_3
LBB0_4:
Lloh0:
adrp x8, _SVN_NO_ERROR@GOTPAGE
Lloh1:
ldr x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh2:
ldr x0, [x8]
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 _SVN_NO_ERROR,8,3 ; @SVN_NO_ERROR
.no_dead_strip _remove_node_props
.subsections_via_symbols
| AnghaBench/freebsd/contrib/subversion/subversion/libsvn_repos/extr_load-fs-vtable.c_remove_node_props.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function BN_to_felem
_BN_to_felem: ## @BN_to_felem
.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
movl %edi, %r14d
movq %rsi, %rdi
callq _BN_is_negative
testq %rax, %rax
je LBB0_2
LBB0_1:
movq _EC_F_BN_TO_FELEM@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _EC_R_BIGNUM_OUT_OF_RANGE@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _ECerr
xorl %eax, %eax
jmp LBB0_4
LBB0_2:
movq %rbx, %rdi
movl $4, %edx
callq _BN_bn2lebinpad
testl %eax, %eax
js LBB0_1
## %bb.3:
movl %r14d, %edi
callq _bin32_to_felem
movl $1, %eax
LBB0_4:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EC_F_BN_TO_FELEM,4,2 ## @EC_F_BN_TO_FELEM
.comm _EC_R_BIGNUM_OUT_OF_RANGE,4,2 ## @EC_R_BIGNUM_OUT_OF_RANGE
.no_dead_strip _BN_to_felem
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function BN_to_felem
_BN_to_felem: ; @BN_to_felem
.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
mov x0, x1
bl _BN_is_negative
cbz x0, LBB0_2
LBB0_1:
Lloh0:
adrp x8, _EC_F_BN_TO_FELEM@GOTPAGE
Lloh1:
ldr x8, [x8, _EC_F_BN_TO_FELEM@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
Lloh3:
adrp x8, _EC_R_BIGNUM_OUT_OF_RANGE@GOTPAGE
Lloh4:
ldr x8, [x8, _EC_R_BIGNUM_OUT_OF_RANGE@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
bl _ECerr
mov w0, #0
b LBB0_4
LBB0_2:
mov x0, x20
mov w2, #4
bl _BN_bn2lebinpad
tbnz w0, #31, LBB0_1
; %bb.3:
mov x0, x19
bl _bin32_to_felem
mov w0, #1
LBB0_4:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _EC_F_BN_TO_FELEM,4,2 ; @EC_F_BN_TO_FELEM
.comm _EC_R_BIGNUM_OUT_OF_RANGE,4,2 ; @EC_R_BIGNUM_OUT_OF_RANGE
.no_dead_strip _BN_to_felem
.subsections_via_symbols
| AnghaBench/freebsd/crypto/openssl/crypto/ec/extr_ecp_nistp256.c_BN_to_felem.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function get_next_dirent
_get_next_dirent: ## @get_next_dirent
.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, %rbx
movq %rsi, %r15
movq %rdi, %r14
movl (%rdx), %eax
addl $4, %eax
movl %eax, (%rdx)
movq _LIBFAT_SECTOR_SIZE@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jge LBB0_2
## %bb.1:
movq (%r15), %rsi
jmp LBB0_4
LBB0_2:
movl $0, (%rbx)
movq (%r15), %rsi
movq %r14, %rdi
callq _libfat_nextsector
movq %rax, %rsi
movq %rax, (%r15)
incq %rax
cmpq $2, %rax
jb LBB0_6
LBB0_4:
movq %r14, %rdi
callq _libfat_get_sector
testq %rax, %rax
je LBB0_6
## %bb.5:
movslq (%rbx), %rcx
addq %rcx, %rax
jmp LBB0_7
LBB0_6:
xorl %eax, %eax
LBB0_7:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _LIBFAT_SECTOR_SIZE,4,2 ## @LIBFAT_SECTOR_SIZE
.no_dead_strip _get_next_dirent
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function get_next_dirent
_get_next_dirent: ; @get_next_dirent
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x2
mov x21, x1
mov x20, x0
ldr w8, [x2]
add w8, w8, #4
str w8, [x2]
Lloh0:
adrp x9, _LIBFAT_SECTOR_SIZE@GOTPAGE
Lloh1:
ldr x9, [x9, _LIBFAT_SECTOR_SIZE@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
cmp w8, w9
b.ge LBB0_2
; %bb.1:
ldr x1, [x21]
b LBB0_5
LBB0_2:
str wzr, [x19]
ldr x1, [x21]
mov x0, x20
bl _libfat_nextsector
str x0, [x21]
add x8, x0, #1
cmp x8, #2
b.hs LBB0_4
; %bb.3:
mov x0, #0
b LBB0_7
LBB0_4:
mov x1, x0
LBB0_5:
mov x0, x20
bl _libfat_get_sector
cbz x0, LBB0_7
; %bb.6:
ldrsw x8, [x19]
add x0, x0, x8
LBB0_7:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _LIBFAT_SECTOR_SIZE,4,2 ; @LIBFAT_SECTOR_SIZE
.no_dead_strip _get_next_dirent
.subsections_via_symbols
| AnghaBench/rufus/src/syslinux/libfat/extr_dumpdir.c_get_next_dirent.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function a10_intr_eoi
_a10_intr_eoi: ## @a10_intr_eoi
.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 _SW_INT_IRQNO_ENMI@GOTPCREL(%rip), %r14
cmpl %esi, (%r14)
jne LBB0_1
## %bb.2:
movq %rdi, %rbx
callq _mtx_lock_spin
xorl %edi, %edi
callq _SW_INT_IRQ_PENDING_REG
movb (%r14), %cl
movl $1, %edx
shll %cl, %edx
movq %rbx, %rdi
movl %eax, %esi
callq _aintc_write_4
movq %rbx, %rdi
popq %rbx
popq %r14
popq %rbp
jmp _mtx_unlock_spin ## TAILCALL
LBB0_1:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SW_INT_IRQNO_ENMI,4,2 ## @SW_INT_IRQNO_ENMI
.no_dead_strip _a10_intr_eoi
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function a10_intr_eoi
_a10_intr_eoi: ; @a10_intr_eoi
.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 x20, _SW_INT_IRQNO_ENMI@GOTPAGE
Lloh1:
ldr x20, [x20, _SW_INT_IRQNO_ENMI@GOTPAGEOFF]
ldr w8, [x20]
cmp w8, w1
b.ne LBB0_2
; %bb.1:
mov x19, x0
bl _mtx_lock_spin
mov w0, #0
bl _SW_INT_IRQ_PENDING_REG
mov x1, x0
ldr w8, [x20]
mov w9, #1
lsl w2, w9, w8
mov x0, x19
bl _aintc_write_4
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _mtx_unlock_spin
LBB0_2:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _SW_INT_IRQNO_ENMI,4,2 ; @SW_INT_IRQNO_ENMI
.no_dead_strip _a10_intr_eoi
.subsections_via_symbols
| AnghaBench/freebsd/sys/arm/allwinner/a10/extr_a10_intc.c_a10_intr_eoi.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function subexpr
_subexpr: ## @subexpr
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, -44(%rbp) ## 4-byte Spill
movq %rsi, %r15
movq %rdi, %rbx
callq _enterlevel
movl 4(%rbx), %edi
callq _getunopr
movq %rax, %r12
movq _OPR_NOUNOPR@GOTPCREL(%rip), %rax
cmpq (%rax), %r12
jne LBB0_1
## %bb.2:
movq %rbx, %rdi
movq %r15, %rsi
callq _simpleexp
jmp LBB0_3
LBB0_1:
movq %rbx, %rdi
callq _luaX_next
movq %rbx, %rdi
movq %r15, %rsi
movl $8, %edx
callq _subexpr
movl (%rbx), %edi
movq %r12, %rsi
movq %r15, %rdx
callq _luaK_prefix
LBB0_3:
movl 4(%rbx), %edi
callq _getbinopr
movq %rax, %r12
leaq -48(%rbp), %r13
jmp LBB0_4
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_4 Depth=1
movq %rbx, %rdi
callq _luaX_next
movl (%rbx), %edi
movq %r12, %rsi
movq %r15, %rdx
callq _luaK_infix
movq _priority@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl 4(%rax,%r12,8), %edx
movq %rbx, %rdi
movq %r13, %rsi
callq _subexpr
movq %rax, %r14
movl (%rbx), %edi
movq %r12, %rsi
movq %r15, %rdx
movq %r13, %rcx
callq _luaK_posfix
movq %r14, %r12
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq _OPR_NOBINOPR@GOTPCREL(%rip), %rax
cmpq (%rax), %r12
jne LBB0_6
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movq _priority@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -44(%rbp), %ecx ## 4-byte Reload
cmpl %ecx, (%rax,%r12,8)
ja LBB0_6
## %bb.7:
movq %rbx, %rdi
callq _leavelevel
movq %r12, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _OPR_NOUNOPR,8,3 ## @OPR_NOUNOPR
.comm _OPR_NOBINOPR,8,3 ## @OPR_NOBINOPR
.comm _priority,8,3 ## @priority
.no_dead_strip _subexpr
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function subexpr
_subexpr: ; @subexpr
.cfi_startproc
; %bb.0:
sub sp, sp, #96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x20, x2
mov x21, x1
mov x19, x0
bl _enterlevel
ldr w0, [x19, #4]
bl _getunopr
Lloh0:
adrp x8, _OPR_NOUNOPR@GOTPAGE
Lloh1:
ldr x8, [x8, _OPR_NOUNOPR@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_2
; %bb.1:
mov x0, x19
mov x1, x21
bl _simpleexp
b LBB0_3
LBB0_2:
mov x22, x0
mov x0, x19
bl _luaX_next
mov x0, x19
mov x1, x21
mov w2, #8 ; =0x8
bl _subexpr
ldr w0, [x19]
mov x1, x22
mov x2, x21
bl _luaK_prefix
LBB0_3:
ldr w0, [x19, #4]
bl _getbinopr
mov x22, x0
Lloh3:
adrp x24, _OPR_NOBINOPR@GOTPAGE
Lloh4:
ldr x24, [x24, _OPR_NOBINOPR@GOTPAGEOFF]
Lloh5:
adrp x25, _priority@GOTPAGE
Lloh6:
ldr x25, [x25, _priority@GOTPAGEOFF]
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
mov x0, x19
bl _luaX_next
ldr w0, [x19]
mov x1, x22
mov x2, x21
bl _luaK_infix
ldr x8, [x25]
add x8, x8, x22, lsl #3
ldr w2, [x8, #4]
add x1, sp, #12
mov x0, x19
bl _subexpr
mov x23, x0
ldr w0, [x19]
add x3, sp, #12
mov x1, x22
mov x2, x21
bl _luaK_posfix
mov x22, x23
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr x8, [x24]
cmp x22, x8
b.ne LBB0_4
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [x25]
lsl x9, x22, #3
ldr w8, [x8, x9]
cmp w8, w20
b.hi LBB0_4
; %bb.7:
mov x0, x19
bl _leavelevel
mov x0, x22
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 AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _OPR_NOUNOPR,8,3 ; @OPR_NOUNOPR
.comm _OPR_NOBINOPR,8,3 ; @OPR_NOBINOPR
.comm _priority,8,3 ; @priority
.no_dead_strip _subexpr
.subsections_via_symbols
| assembly_file_34675.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _snd_wavefront_fx_release ## -- Begin function snd_wavefront_fx_release
.p2align 4, 0x90
_snd_wavefront_fx_release: ## @snd_wavefront_fx_release
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq (%rdi), %rax
movl (%rax), %edi
callq _module_put
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 _snd_wavefront_fx_release ; -- Begin function snd_wavefront_fx_release
.p2align 2
_snd_wavefront_fx_release: ; @snd_wavefront_fx_release
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
ldr x8, [x0]
ldr w0, [x8]
bl _module_put
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/sound/isa/wavefront/extr_wavefront_fx.c_snd_wavefront_fx_release.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ## -- Begin function FormatScientific
LCPI0_0:
.space 16,32
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_FormatScientific: ## @FormatScientific
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $88, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %r9d, %r13d
movl %r8d, %r12d
movq %rcx, %r15
movq %rdx, -120(%rbp) ## 8-byte Spill
movl %esi, %r14d
movq %rdi, -128(%rbp) ## 8-byte Spill
movq 48(%rbp), %rbx
movq 24(%rbp), %rcx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _DigitMode_Unique@GOTPCREL(%rip), %rax
cmpq %rcx, (%rax)
je LBB0_2
## %bb.1:
xorl %edi, %edi
cmpq $0, 32(%rbp)
setns %dil
callq _DEBUG_ASSERT
LBB0_2:
xorl %edi, %edi
testl %r14d, %r14d
setg %dil
callq _DEBUG_ASSERT
leal -43(%r12), %eax
andb $-3, %al
xorl %ecx, %ecx
cmpb $1, %al
adcq $1, %rcx
cmpl $2, %r14d
setge %al
cmpq %rbx, %rcx
jge LBB0_6
## %bb.3:
cmpl $2, %r14d
movq -128(%rbp), %rsi ## 8-byte Reload
jl LBB0_8
## %bb.4:
cmpl $33, %r14d
jae LBB0_10
## %bb.5:
movq %rsi, %rbx
jmp LBB0_14
LBB0_6:
cmpl $2, %r14d
setl %cl
cmpb $43, %r12b
setne %dl
orb %cl, %dl
movq -128(%rbp), %rbx ## 8-byte Reload
jne LBB0_9
## %bb.7:
movb $43, (%rbx)
incq %rbx
decl %r14d
movl %r13d, %edx
movq %r15, %rsi
jmp LBB0_19
LBB0_8:
xorl %eax, %eax
movq %rsi, %rbx
LBB0_9:
movl %r13d, %edx
movq %r15, %rsi
jmp LBB0_17
LBB0_10:
leal -1(%r14), %eax
movl %eax, %ecx
andl $-32, %ecx
subl %ecx, %r14d
leaq (%rsi,%rcx), %rbx
xorl %edx, %edx
movaps LCPI0_0(%rip), %xmm0 ## xmm0 = [32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32]
.p2align 4, 0x90
LBB0_11: ## =>This Inner Loop Header: Depth=1
movups %xmm0, (%rsi,%rdx)
movups %xmm0, 16(%rsi,%rdx)
addq $32, %rdx
cmpq %rdx, %rcx
jne LBB0_11
## %bb.12:
cmpl %eax, %ecx
jne LBB0_14
## %bb.13:
movl $1, %r14d
xorl %eax, %eax
jmp LBB0_9
LBB0_14:
movl %r13d, %edx
movq %r15, %rsi
incl %r14d
.p2align 4, 0x90
LBB0_15: ## =>This Inner Loop Header: Depth=1
movb $32, (%rbx)
incq %rbx
decl %r14d
cmpl $2, %r14d
ja LBB0_15
## %bb.16:
movl $1, %r14d
xorl %eax, %eax
LBB0_17:
cmpb $45, %r12b
setne %cl
xorb $1, %al
orb %cl, %al
jne LBB0_19
## %bb.18:
movb $45, (%rbx)
incq %rbx
decl %r14d
LBB0_19:
movq -120(%rbp), %rdi ## 8-byte Reload
movl 16(%rbp), %ecx
movq _CutoffMode_TotalLength@GOTPCREL(%rip), %rax
movl (%rax), %r9d
movq 32(%rbp), %rax
incq %rax
leaq -112(%rbp), %r10
movq 24(%rbp), %r8
pushq %r10
pushq %r14
pushq %rbx
pushq %rax
callq _Dragon4
addq $32, %rsp
movq %rax, %r12
xorl %edi, %edi
testq %rax, %rax
setg %dil
callq _DEBUG_ASSERT
movslq %r14d, %r13
xorl %edi, %edi
cmpq %r13, %r12
setle %dil
callq _DEBUG_ASSERT
xorl %eax, %eax
cmpl $2, %r13d
setge %al
leaq (%rax,%rbx), %r14
subl %eax, %r13d
leaq -1(%r12), %r15
cmpq $2, %r12
setge %al
cmpl $2, %r13d
setge %cl
andb %al, %cl
cmpb $1, %cl
jne LBB0_21
## %bb.20:
movl %r13d, %eax
addq $-2, %rax
cmpq %rax, %r15
cmovaeq %rax, %r15
leaq 1(%r14), %rdi
movq %r14, %rsi
movq %r15, %rdx
callq _memmove
movb $46, (%r14)
leaq 1(%r15), %rax
addq %r15, %r14
incq %r14
subl %eax, %r13d
LBB0_21:
movq _TrimMode_DptZeros@GOTPCREL(%rip), %rax
movq 40(%rbp), %rsi
cmpq %rsi, (%rax)
je LBB0_25
## %bb.22:
testq %r15, %r15
jne LBB0_25
## %bb.23:
cmpl $2, %r13d
jl LBB0_25
## %bb.24:
movb $46, (%r14)
incq %r14
decl %r13d
LBB0_25:
movq _TrimMode_LeaveOneZero@GOTPCREL(%rip), %rbx
cmpq %rsi, (%rbx)
jne LBB0_29
## %bb.26:
testq %r15, %r15
jne LBB0_34
## %bb.27:
cmpl $2, %r13d
jl LBB0_34
## %bb.28:
movb $48, (%r14)
incq %r14
decl %r13d
movl $1, %r15d
jmp LBB0_34
LBB0_29:
movq _TrimMode_None@GOTPCREL(%rip), %rax
cmpq %rsi, (%rax)
jne LBB0_34
## %bb.30:
movq 24(%rbp), %rax
movq _DigitMode_Unique@GOTPCREL(%rip), %rcx
cmpq %rax, (%rcx)
je LBB0_34
## %bb.31:
movq 32(%rbp), %rax
subq %r15, %rax
jle LBB0_34
## %bb.32:
movslq %r13d, %rcx
leaq -1(%rcx), %r12
cmpq %rcx, %rax
cmovlq %rax, %r12
testq %r12, %r12
jle LBB0_34
## %bb.33:
addq %r14, %r12
leaq 1(%r14), %rax
cmpq %rax, %r12
cmovbeq %rax, %r12
movq %r12, %rdx
subq %r14, %rdx
movq %r14, %rdi
movl $48, %esi
callq _memset
movq 40(%rbp), %rsi
addq %r12, %r15
subq %r14, %r15
movq %r12, %r14
LBB0_34:
cmpq $0, 32(%rbp)
js LBB0_43
## %bb.35:
movq _TrimMode_None@GOTPCREL(%rip), %rax
cmpq %rsi, (%rax)
je LBB0_43
## %bb.36:
testq %r15, %r15
jle LBB0_43
## %bb.37:
incq %r14
negl %r13d
movl %r13d, %eax
movq %r14, %rcx
.p2align 4, 0x90
LBB0_38: ## =>This Inner Loop Header: Depth=1
movzbl -2(%rcx), %edx
decq %rcx
decl %eax
cmpb $48, %dl
je LBB0_38
## %bb.39:
leaq -1(%rcx), %r14
movl %eax, %r13d
notl %r13d
cmpb $46, %dl
jne LBB0_42
## %bb.40:
cmpq %rsi, (%rbx)
jne LBB0_42
## %bb.41:
movb $48, (%rcx)
movl $-2, %r13d
subl %eax, %r13d
movq %rcx, %r14
LBB0_42:
incq %r14
LBB0_43:
cmpl $2, %r13d
jl LBB0_60
## %bb.44:
movq 56(%rbp), %rax
cmpq $5, %rax
movl $5, %ecx
cmovbq %rax, %rcx
testq %rax, %rax
movl $2, %r15d
cmovnsq %rcx, %r15
movb $101, -103(%rbp)
movq -112(%rbp), %rax
movb $43, %cl
testq %rax, %rax
jns LBB0_46
## %bb.45:
negq %rax
movq %rax, -112(%rbp)
movb $45, %cl
LBB0_46:
movb %cl, -102(%rbp)
xorl %edi, %edi
cmpq $100000, %rax ## imm = 0x186A0
setb %dil
callq _DEBUG_ASSERT
movq -112(%rbp), %rcx
movabsq $7378697629483820647, %r9 ## imm = 0x6666666666666667
movq %rcx, %rax
imulq %r9
movq %rdx, %rsi
movq %rdx, %rax
shrq $63, %rax
sarq $2, %rsi
addq %rax, %rsi
leaq (%rsi,%rsi), %rdi
movq %rsi, %rax
imulq %r9
movq %rdx, %r8
leaq (%rdi,%rdi,4), %r10
movabsq $-6640827866535438581, %rdx ## imm = 0xA3D70A3D70A3D70B
movq %rcx, %rax
imulq %rdx
movq %rdx, %rdi
addq %rcx, %rdi
movq %rcx, %rax
subq %r10, %rax
movq %rax, -96(%rbp)
movq %r8, %rax
shrq $63, %rax
sarq $2, %r8
addq %rax, %r8
addq %r8, %r8
leaq (%r8,%r8,4), %rax
subq %rax, %rsi
movq %rsi, -88(%rbp)
movq %rdi, %rax
shrq $63, %rax
sarq $6, %rdi
addq %rax, %rdi
movq %rdi, %rax
imulq %r9
movq %rdx, %rax
shrq $63, %rax
sarq $2, %rdx
addq %rax, %rdx
addq %rdx, %rdx
leaq (%rdx,%rdx,4), %rax
subq %rax, %rdi
movq %rdi, -80(%rbp)
movabsq $2361183241434822607, %rdx ## imm = 0x20C49BA5E353F7CF
movq %rcx, %rax
imulq %rdx
movq %rdx, %rsi
movq %rdx, %rax
shrq $63, %rax
sarq $7, %rsi
addq %rax, %rsi
movq %rsi, %rax
imulq %r9
movq %rdx, %rax
shrq $63, %rax
sarq $2, %rdx
addq %rax, %rdx
addq %rdx, %rdx
leaq (%rdx,%rdx,4), %rax
subq %rax, %rsi
movq %rsi, -72(%rbp)
movabsq $3777893186295716171, %rdx ## imm = 0x346DC5D63886594B
movq %rcx, %rax
imulq %rdx
movq %rdx, %rsi
movq %rdx, %rax
shrq $63, %rax
sarq $11, %rsi
addq %rax, %rsi
movq %rsi, %rax
imulq %r9
movq %rdx, %rax
shrq $63, %rax
sarq $2, %rdx
addq %rax, %rdx
addq %rdx, %rdx
leaq (%rdx,%rdx,4), %rax
subq %rax, %rsi
movabsq $3022314549036572937, %rdx ## imm = 0x29F16B11C6D1E109
movq %rcx, %rax
imulq %rdx
movq %rsi, -64(%rbp)
movq %rdx, %rax
shrq $63, %rax
sarq $14, %rdx
addq %rax, %rdx
movq %rdx, -112(%rbp)
cmpq $4, %r15
ja LBB0_50
## %bb.47:
movl $5, %eax
cmpq $0, -64(%rbp)
jne LBB0_51
## %bb.48:
cmpq $4, %r15
jne LBB0_62
LBB0_50:
movq %r15, %rax
LBB0_51:
leaq 2(%rax), %rcx
testq %rax, %rax
jle LBB0_59
## %bb.52:
movzbl -104(%rbp,%rax,8), %edx
addb $48, %dl
movb %dl, -101(%rbp)
cmpq $1, %rax
je LBB0_59
## %bb.53:
leaq -1(%rax), %rdx
movzbl -112(%rbp,%rax,8), %esi
addb $48, %sil
movb %sil, -100(%rbp)
cmpq $2, %rdx
jb LBB0_59
## %bb.54:
leaq -2(%rax), %rdx
movzbl -120(%rbp,%rax,8), %esi
addb $48, %sil
movb %sil, -99(%rbp)
cmpq $2, %rdx
jb LBB0_59
## %bb.55:
leaq -3(%rax), %rdx
movzbl -128(%rbp,%rax,8), %esi
addb $48, %sil
movb %sil, -98(%rbp)
cmpq $2, %rdx
jb LBB0_59
## %bb.56:
leaq -4(%rax), %rdx
movzbl -136(%rbp,%rax,8), %esi
addb $48, %sil
movb %sil, -97(%rbp)
cmpq $2, %rdx
jb LBB0_59
## %bb.57:
leaq -5(%rax), %rdx
movzbl -144(%rbp,%rax,8), %esi
addb $48, %sil
movb %sil, -96(%rbp)
cmpq $2, %rdx
jb LBB0_59
## %bb.58:
movzbl -152(%rbp,%rax,8), %eax
addb $48, %al
movb %al, -95(%rbp)
LBB0_59:
movl %r13d, %eax
leaq -1(%rax), %r15
cmpq %rax, %rcx
cmovlq %rcx, %r15
leaq -103(%rbp), %rsi
movq %r14, %rdi
movq %r15, %rdx
callq _memcpy
addq %r15, %r14
subl %r15d, %r13d
LBB0_60:
xorl %edi, %edi
testl %r13d, %r13d
setg %dil
callq _DEBUG_ASSERT
movb $0, (%r14)
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_72
## %bb.61:
subl -128(%rbp), %r14d ## 4-byte Folded Reload
movl %r14d, %eax
addq $88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_62:
movl $4, %eax
cmpq $0, -72(%rbp)
jne LBB0_51
## %bb.63:
cmpq $2, %r15
ja LBB0_50
## %bb.64:
movl $3, %eax
cmpq $0, -80(%rbp)
jne LBB0_51
## %bb.65:
cmpq $2, %r15
je LBB0_50
## %bb.68:
movl $2, %eax
cmpq $0, -88(%rbp)
jne LBB0_51
## %bb.69:
testq %r15, %r15
jne LBB0_50
## %bb.71:
cmpq $0, -96(%rbp)
movl $1, %eax
cmoveq %r15, %rax
jmp LBB0_51
LBB0_72:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _DigitMode_Unique,8,3 ## @DigitMode_Unique
.comm _CutoffMode_TotalLength,4,2 ## @CutoffMode_TotalLength
.comm _TrimMode_DptZeros,8,3 ## @TrimMode_DptZeros
.comm _TrimMode_LeaveOneZero,8,3 ## @TrimMode_LeaveOneZero
.comm _TrimMode_None,8,3 ## @TrimMode_None
.no_dead_strip _FormatScientific
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function FormatScientific
_FormatScientific: ; @FormatScientific
.cfi_startproc
; %bb.0:
sub sp, sp, #176
stp x28, x27, [sp, #80] ; 16-byte Folded Spill
stp x26, x25, [sp, #96] ; 16-byte Folded Spill
stp x24, x23, [sp, #112] ; 16-byte Folded Spill
stp x22, x21, [sp, #128] ; 16-byte Folded Spill
stp x20, x19, [sp, #144] ; 16-byte Folded Spill
stp x29, x30, [sp, #160] ; 16-byte Folded Spill
add x29, sp, #160
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x21, x7
mov x20, x6
mov x22, x5
mov x26, x4
mov x23, x3
mov x24, x2
mov x25, x1
mov x19, x0
ldr x27, [x29, #32]
ldr x28, [x29, #16]
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #72]
Lloh3:
adrp x8, _DigitMode_Unique@GOTPAGE
Lloh4:
ldr x8, [x8, _DigitMode_Unique@GOTPAGEOFF]
Lloh5:
ldr x8, [x8]
cmp x8, x7
b.eq LBB0_2
; %bb.1:
lsr x8, x28, #63
eor w0, w8, #0x1
bl _DEBUG_ASSERT
LBB0_2:
cmp w25, #0
cset w0, gt
bl _DEBUG_ASSERT
cmp w26, #43
mov w8, #45 ; =0x2d
ccmp w26, w8, #4, ne
mov w8, #1 ; =0x1
cinc x10, x8, eq
subs w8, w25, #1
cset w9, gt
cmp x10, x27
b.ge LBB0_6
; %bb.3:
cmp w25, #2
b.lt LBB0_9
; %bb.4:
cmp w25, #65
b.hs LBB0_11
; %bb.5:
mov x27, x19
b LBB0_14
LBB0_6:
mov x27, x19
cmp w26, #43
b.ne LBB0_10
; %bb.7:
cmp w25, #2
b.lt LBB0_10
; %bb.8:
mov w9, #43 ; =0x2b
mov x27, x19
strb w9, [x27], #1
mov x25, x8
b LBB0_19
LBB0_9:
mov w9, #0 ; =0x0
mov x27, x19
LBB0_10:
cmp w26, #45
b.eq LBB0_17
b LBB0_19
LBB0_11:
and x9, x8, #0xffffffc0
sub w25, w25, w9
add x27, x19, x9
add x10, x19, #32
movi.16b v0, #32
mov x11, x9
LBB0_12: ; =>This Inner Loop Header: Depth=1
stp q0, q0, [x10, #-32]
stp q0, q0, [x10], #64
subs x11, x11, #64
b.ne LBB0_12
; %bb.13:
cmp x9, x8
b.eq LBB0_16
LBB0_14:
add w8, w25, #1
mov w9, #32 ; =0x20
LBB0_15: ; =>This Inner Loop Header: Depth=1
strb w9, [x27], #1
sub w8, w8, #1
cmp w8, #2
b.hi LBB0_15
LBB0_16:
mov w9, #0 ; =0x0
mov w25, #1 ; =0x1
cmp w26, #45
b.ne LBB0_19
LBB0_17:
cbz w9, LBB0_19
; %bb.18:
mov w8, #45 ; =0x2d
strb w8, [x27], #1
sub w25, w25, #1
LBB0_19:
ldr x26, [x29, #24]
Lloh6:
adrp x8, _CutoffMode_TotalLength@GOTPAGE
Lloh7:
ldr x8, [x8, _CutoffMode_TotalLength@GOTPAGEOFF]
Lloh8:
ldr w5, [x8]
add x8, sp, #24
str x8, [sp, #8]
str w25, [sp]
add x6, x28, #1
mov x0, x24
mov x1, x23
mov x2, x22
mov x3, x20
mov x4, x21
mov x7, x27
bl _Dragon4
mov x23, x0
cmp x0, #0
cset w0, gt
bl _DEBUG_ASSERT
cmp x23, w25, sxtw
cset w0, le
bl _DEBUG_ASSERT
cmp w25, #1
cset w8, gt
cinc x20, x27, gt
sub w24, w25, w8
sub x22, x23, #1
cmp x23, #2
ccmp w24, #2, #8, ge
b.ge LBB0_21
; %bb.20:
mov x23, x24
b LBB0_22
LBB0_21:
sub x8, x24, #2
cmp x22, x8
csel x22, x22, x8, lo
add x0, x20, #1
mov x1, x20
mov x2, x22
bl _memmove
mov w8, #46 ; =0x2e
strb w8, [x20]
add x8, x22, #1
add x20, x20, x8
sub w23, w24, w8
LBB0_22:
Lloh9:
adrp x8, _TrimMode_DptZeros@GOTPAGE
Lloh10:
ldr x8, [x8, _TrimMode_DptZeros@GOTPAGEOFF]
Lloh11:
ldr x8, [x8]
cmp x8, x26
ccmp x22, #0, #0, ne
ccmp w23, #2, #8, eq
b.lt LBB0_24
; %bb.23:
mov w8, #46 ; =0x2e
strb w8, [x20], #1
sub w23, w23, #1
LBB0_24:
Lloh12:
adrp x24, _TrimMode_LeaveOneZero@GOTPAGE
Lloh13:
ldr x24, [x24, _TrimMode_LeaveOneZero@GOTPAGEOFF]
ldr x8, [x24]
Lloh14:
adrp x25, _TrimMode_None@GOTPAGE
Lloh15:
ldr x25, [x25, _TrimMode_None@GOTPAGEOFF]
cmp x8, x26
b.ne LBB0_28
; %bb.25:
cbnz x22, LBB0_33
; %bb.26:
cmp w23, #2
b.lt LBB0_33
; %bb.27:
mov w8, #48 ; =0x30
strb w8, [x20], #1
sub w23, w23, #1
mov w22, #1 ; =0x1
b LBB0_33
LBB0_28:
ldr x8, [x25]
cmp x8, x26
b.ne LBB0_33
; %bb.29:
Lloh16:
adrp x8, _DigitMode_Unique@GOTPAGE
Lloh17:
ldr x8, [x8, _DigitMode_Unique@GOTPAGEOFF]
Lloh18:
ldr x8, [x8]
cmp x8, x21
b.eq LBB0_33
; %bb.30:
subs x8, x28, x22
b.le LBB0_33
; %bb.31:
sxtw x9, w23
sub x10, x9, #1
cmp x8, x9
csel x8, x8, x10, lt
cmp x8, #1
b.lt LBB0_33
; %bb.32:
add x9, x20, #1
add x8, x8, x20
cmp x8, x9
csinc x21, x8, x20, hi
sub x2, x21, x20
mov x0, x20
mov w1, #48 ; =0x30
bl _memset
add x8, x22, x21
sub x22, x8, x20
mov x20, x21
LBB0_33:
tbnz x28, #63, LBB0_42
; %bb.34:
ldr x8, [x25]
cmp x8, x26
b.eq LBB0_42
; %bb.35:
cmp x22, #1
b.lt LBB0_42
; %bb.36:
add x8, x20, #1
sub w23, w23, #2
LBB0_37: ; =>This Inner Loop Header: Depth=1
ldurb w9, [x8, #-2]
sub x8, x8, #1
add w23, w23, #1
cmp w9, #48
b.eq LBB0_37
; %bb.38:
ldr x10, [x24]
cmp w9, #46
ccmp x10, x26, #0, eq
b.eq LBB0_40
; %bb.39:
sub x8, x8, #1
add w23, w23, #1
b LBB0_41
LBB0_40:
mov w9, #48 ; =0x30
strb w9, [x8]
LBB0_41:
add x20, x8, #1
LBB0_42:
cmp w23, #2
b.lt LBB0_69
; %bb.43:
ldr x8, [x29, #40]
mov w9, #5 ; =0x5
cmp x8, #5
csel x9, x8, x9, lo
mov w10, #2 ; =0x2
cmp x8, #0
csel x21, x10, x9, lt
mov w8, #101 ; =0x65
strb w8, [sp, #17]
ldr x8, [sp, #24]
tbnz x8, #63, LBB0_45
; %bb.44:
mov w9, #43 ; =0x2b
b LBB0_46
LBB0_45:
neg x8, x8
str x8, [sp, #24]
mov w9, #45 ; =0x2d
LBB0_46:
strb w9, [sp, #18]
lsr x8, x8, #5
cmp x8, #3125
cset w0, lo
bl _DEBUG_ASSERT
ldr x8, [sp, #24]
mov x9, #7378697629483820646 ; =0x6666666666666666
movk x9, #26215
smulh x10, x8, x9
asr x11, x10, #2
add x10, x11, x10, lsr #63
mov w11, #10 ; =0xa
msub x12, x10, x11, x8
smulh x13, x10, x9
asr x14, x13, #2
add x13, x14, x13, lsr #63
msub x10, x13, x11, x10
stp x12, x10, [sp, #32]
mov x10, #55051 ; =0xd70b
movk x10, #28835, lsl #16
movk x10, #2621, lsl #32
movk x10, #41943, lsl #48
smulh x10, x8, x10
add x10, x10, x8
asr x12, x10, #6
add x10, x12, x10, lsr #63
smulh x12, x10, x9
asr x13, x12, #2
add x12, x13, x12, lsr #63
msub x10, x12, x11, x10
mov x12, #63439 ; =0xf7cf
movk x12, #58195, lsl #16
movk x12, #39845, lsl #32
movk x12, #8388, lsl #48
smulh x12, x8, x12
asr x13, x12, #7
add x12, x13, x12, lsr #63
smulh x13, x12, x9
asr x14, x13, #2
add x13, x14, x13, lsr #63
msub x12, x13, x11, x12
stp x10, x12, [sp, #48]
mov x10, #22859 ; =0x594b
movk x10, #14470, lsl #16
movk x10, #50646, lsl #32
movk x10, #13421, lsl #48
smulh x10, x8, x10
asr x12, x10, #11
add x10, x12, x10, lsr #63
smulh x9, x10, x9
asr x12, x9, #2
add x9, x12, x9, lsr #63
msub x9, x9, x11, x10
str x9, [sp, #64]
mov x9, #57609 ; =0xe109
movk x9, #50897, lsl #16
movk x9, #27409, lsl #32
movk x9, #10737, lsl #48
smulh x8, x8, x9
asr x9, x8, #14
add x8, x9, x8, lsr #63
str x8, [sp, #24]
cmp x21, #4
b.hi LBB0_60
; %bb.47:
ldr x8, [sp, #64]
cbz x8, LBB0_49
; %bb.48:
mov w21, #5 ; =0x5
b LBB0_60
LBB0_49:
cmp x21, #4
b.eq LBB0_60
; %bb.50:
ldr x8, [sp, #56]
cbz x8, LBB0_52
; %bb.51:
mov w21, #4 ; =0x4
b LBB0_60
LBB0_52:
cmp x21, #2
b.hi LBB0_60
; %bb.53:
ldr x8, [sp, #48]
cbz x8, LBB0_55
; %bb.54:
mov w21, #3 ; =0x3
b LBB0_60
LBB0_55:
cmp x21, #2
b.eq LBB0_60
; %bb.56:
ldr x8, [sp, #40]
cbz x8, LBB0_58
; %bb.57:
mov w21, #2 ; =0x2
b LBB0_60
LBB0_58:
cbnz x21, LBB0_60
; %bb.59:
ldr x8, [sp, #32]
cmp x8, #0
csinc x21, x21, xzr, eq
LBB0_60:
add x8, x21, #2
subs x9, x21, #1
b.lt LBB0_68
; %bb.61:
add x11, sp, #32
ldr x10, [x11, x9, lsl #3]
add w10, w10, #48
strb w10, [sp, #19]
b.eq LBB0_68
; %bb.62:
sub x10, x21, #2
ldr x11, [x11, x10, lsl #3]
add w11, w11, #48
strb w11, [sp, #20]
cmp x9, #2
b.lo LBB0_68
; %bb.63:
sub x9, x21, #3
add x11, sp, #32
ldr x12, [x11, x9, lsl #3]
add w12, w12, #48
strb w12, [sp, #21]
cmp x10, #2
b.lo LBB0_68
; %bb.64:
sub x10, x21, #4
ldr x11, [x11, x10, lsl #3]
add w11, w11, #48
strb w11, [sp, #22]
cmp x9, #2
b.lo LBB0_68
; %bb.65:
sub x9, x21, #5
add x11, sp, #32
ldr x12, [x11, x9, lsl #3]
add w12, w12, #48
strb w12, [sp, #23]
cmp x10, #2
b.lo LBB0_68
; %bb.66:
add x10, x11, x21, lsl #3
ldur w10, [x10, #-48]
add w10, w10, #48
strb w10, [sp, #24]
cmp x9, #2
b.lo LBB0_68
; %bb.67:
add x9, sp, #32
add x9, x9, x21, lsl #3
ldur w9, [x9, #-56]
add w9, w9, #48
strb w9, [sp, #25]
LBB0_68:
mov w9, w23
sub x10, x9, #1
cmp x8, x9
csel x21, x8, x10, lt
add x1, sp, #17
mov x0, x20
mov x2, x21
bl _memcpy
add x20, x20, x21
sub w23, w23, w21
LBB0_69:
cmp w23, #0
cset w0, gt
bl _DEBUG_ASSERT
strb wzr, [x20]
ldr x8, [sp, #72]
Lloh19:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh20:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_71
; %bb.70:
sub w0, w20, w19
ldp x29, x30, [sp, #160] ; 16-byte Folded Reload
ldp x20, x19, [sp, #144] ; 16-byte Folded Reload
ldp x22, x21, [sp, #128] ; 16-byte Folded Reload
ldp x24, x23, [sp, #112] ; 16-byte Folded Reload
ldp x26, x25, [sp, #96] ; 16-byte Folded Reload
ldp x28, x27, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #176
ret
LBB0_71:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.cfi_endproc
; -- End function
.comm _DigitMode_Unique,8,3 ; @DigitMode_Unique
.comm _CutoffMode_TotalLength,4,2 ; @CutoffMode_TotalLength
.comm _TrimMode_DptZeros,8,3 ; @TrimMode_DptZeros
.comm _TrimMode_LeaveOneZero,8,3 ; @TrimMode_LeaveOneZero
.comm _TrimMode_None,8,3 ; @TrimMode_None
.no_dead_strip _FormatScientific
.subsections_via_symbols
| assembly_file_168242.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function sky2_all_up
_sky2_all_up: ## @sky2_all_up
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r15
movq _Y2_IS_BASE@GOTPCREL(%rip), %rax
movl (%rax), %r14d
cmpl $0, (%rdi)
jle LBB0_5
## %bb.1:
xorl %ebx, %ebx
jmp LBB0_2
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
incq %rbx
movslq (%r15), %rax
cmpq %rax, %rbx
jge LBB0_5
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq 16(%r15), %rax
movq (%rax,%rbx,8), %r13
movq %r13, %rdi
callq _netdev_priv
movq %rax, %r12
movq %r13, %rdi
callq _netif_running
testl %eax, %eax
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq %r12, %rdi
callq _sky2_hw_up
movq %r13, %rdi
callq _sky2_set_multicast
movq _portirq_msk@GOTPCREL(%rip), %rax
movq (%rax), %rax
orl (%rax,%rbx,4), %r14d
movq %r13, %rdi
callq _netif_wake_queue
jmp LBB0_4
LBB0_5:
movq _SKY2_HW_IRQ_SETUP@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, 4(%r15)
je LBB0_6
## %bb.7:
movq _B0_IMSK@GOTPCREL(%rip), %rbx
movl (%rbx), %esi
movq %r15, %rdi
movl %r14d, %edx
callq _sky2_write32
movl (%rbx), %esi
movq %r15, %rdi
callq _sky2_read32
movq _B0_Y2_SP_LISR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r15, %rdi
callq _sky2_read32
addq $8, %r15
movq %r15, %rdi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _napi_enable ## TAILCALL
LBB0_6:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _Y2_IS_BASE,4,2 ## @Y2_IS_BASE
.comm _portirq_msk,8,3 ## @portirq_msk
.comm _SKY2_HW_IRQ_SETUP,4,2 ## @SKY2_HW_IRQ_SETUP
.comm _B0_IMSK,4,2 ## @B0_IMSK
.comm _B0_Y2_SP_LISR,4,2 ## @B0_Y2_SP_LISR
.no_dead_strip _sky2_all_up
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function sky2_all_up
_sky2_all_up: ; @sky2_all_up
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x0
Lloh0:
adrp x8, _Y2_IS_BASE@GOTPAGE
Lloh1:
ldr x8, [x8, _Y2_IS_BASE@GOTPAGEOFF]
Lloh2:
ldr w20, [x8]
ldr w8, [x0]
cmp w8, #1
b.lt LBB0_5
; %bb.1:
mov x23, #0
Lloh3:
adrp x24, _portirq_msk@GOTPAGE
Lloh4:
ldr x24, [x24, _portirq_msk@GOTPAGEOFF]
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x23, x23, #1
ldrsw x8, [x19]
cmp x23, x8
b.ge LBB0_5
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #16]
ldr x21, [x8, x23, lsl #3]
mov x0, x21
bl _netdev_priv
mov x22, x0
mov x0, x21
bl _netif_running
cbz w0, LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov x0, x22
bl _sky2_hw_up
mov x0, x21
bl _sky2_set_multicast
ldr x8, [x24]
ldr w8, [x8, x23, lsl #2]
orr w20, w8, w20
mov x0, x21
bl _netif_wake_queue
b LBB0_2
LBB0_5:
ldr w8, [x19, #4]
Lloh5:
adrp x9, _SKY2_HW_IRQ_SETUP@GOTPAGE
Lloh6:
ldr x9, [x9, _SKY2_HW_IRQ_SETUP@GOTPAGEOFF]
Lloh7:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_7
; %bb.6:
Lloh8:
adrp x21, _B0_IMSK@GOTPAGE
Lloh9:
ldr x21, [x21, _B0_IMSK@GOTPAGEOFF]
ldr w1, [x21]
mov x0, x19
mov x2, x20
bl _sky2_write32
ldr w1, [x21]
mov x0, x19
bl _sky2_read32
Lloh10:
adrp x8, _B0_Y2_SP_LISR@GOTPAGE
Lloh11:
ldr x8, [x8, _B0_Y2_SP_LISR@GOTPAGEOFF]
Lloh12:
ldr w1, [x8]
mov x0, x19
bl _sky2_read32
add x0, x19, #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
b _napi_enable
LBB0_7:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGot Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _Y2_IS_BASE,4,2 ; @Y2_IS_BASE
.comm _portirq_msk,8,3 ; @portirq_msk
.comm _SKY2_HW_IRQ_SETUP,4,2 ; @SKY2_HW_IRQ_SETUP
.comm _B0_IMSK,4,2 ; @B0_IMSK
.comm _B0_Y2_SP_LISR,4,2 ; @B0_Y2_SP_LISR
.no_dead_strip _sky2_all_up
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/marvell/extr_sky2.c_sky2_all_up.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ieee80211_crypto_tkip_decrypt ## -- Begin function ieee80211_crypto_tkip_decrypt
.p2align 4, 0x90
_ieee80211_crypto_tkip_decrypt: ## @ieee80211_crypto_tkip_decrypt
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r13
movq 32(%rdi), %r12
movq 40(%rdi), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
movq 8(%r12), %rbx
movq %r12, %rdi
callq _IEEE80211_SKB_RXCB
movq %rax, %r14
movl 4(%rbx), %edi
callq _ieee80211_hdrlen
movl %eax, -44(%rbp) ## 4-byte Spill
movl 4(%rbx), %edi
callq _ieee80211_is_data
movq _RX_CONTINUE@GOTPCREL(%rip), %r15
testl %eax, %eax
je LBB0_8
## %bb.1:
movq _RX_DROP_UNUSABLE@GOTPCREL(%rip), %r15
cmpq $0, 16(%r13)
je LBB0_8
## %bb.2:
movl (%r12), %eax
movl -44(%rbp), %ebx ## 4-byte Reload
subl %ebx, %eax
cmpl $12, %eax
jl LBB0_8
## %bb.3:
movq 32(%r13), %rdi
callq _skb_linearize
testq %rax, %rax
jne LBB0_8
## %bb.4:
movq 8(%r12), %rsi
movq _RX_FLAG_DECRYPTED@GOTPCREL(%rip), %rax
movl (%rax), %ecx
xorl %eax, %eax
andl (%r14), %ecx
setne %al
movq 24(%r13), %rdi
movslq %ebx, %rdx
addq %rsi, %rdx
movl (%r12), %ecx
subl %ebx, %ecx
movq 16(%r13), %rbx
movl (%rbx), %r8d
movl (%rsi), %r9d
movl 8(%r13), %ebx
movq -56(%rbp), %rsi ## 8-byte Reload
pushq %r13
addq $4, %r13
pushq %r13
pushq %rbx
pushq %rax
callq _ieee80211_tkip_decrypt_data
addq $32, %rsp
movq _TKIP_DECRYPT_OK@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB0_8
## %bb.5:
movq _RX_FLAG_ICV_STRIPPED@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, (%r14)
jne LBB0_7
## %bb.6:
movslq (%r12), %rsi
movq _IEEE80211_TKIP_ICV_LEN@GOTPCREL(%rip), %rax
subq (%rax), %rsi
movq %r12, %rdi
callq _skb_trim
LBB0_7:
movq 8(%r12), %rsi
movq _IEEE80211_TKIP_IV_LEN@GOTPCREL(%rip), %rbx
movq (%rbx), %rdi
addq %rsi, %rdi
movl -44(%rbp), %edx ## 4-byte Reload
callq _memmove
movq (%rbx), %rsi
movq %r12, %rdi
callq _skb_pull
movq _RX_CONTINUE@GOTPCREL(%rip), %r15
LBB0_8:
movl (%r15), %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _RX_CONTINUE,4,2 ## @RX_CONTINUE
.comm _RX_DROP_UNUSABLE,4,2 ## @RX_DROP_UNUSABLE
.comm _RX_FLAG_DECRYPTED,4,2 ## @RX_FLAG_DECRYPTED
.comm _TKIP_DECRYPT_OK,4,2 ## @TKIP_DECRYPT_OK
.comm _RX_FLAG_ICV_STRIPPED,4,2 ## @RX_FLAG_ICV_STRIPPED
.comm _IEEE80211_TKIP_ICV_LEN,8,3 ## @IEEE80211_TKIP_ICV_LEN
.comm _IEEE80211_TKIP_IV_LEN,8,3 ## @IEEE80211_TKIP_IV_LEN
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ieee80211_crypto_tkip_decrypt ; -- Begin function ieee80211_crypto_tkip_decrypt
.p2align 2
_ieee80211_crypto_tkip_decrypt: ; @ieee80211_crypto_tkip_decrypt
.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 x22, x0
ldp x19, x23, [x0, #32]
ldr x24, [x19, #8]
mov x0, x19
bl _IEEE80211_SKB_RXCB
mov x21, x0
ldr w0, [x24, #4]
bl _ieee80211_hdrlen
mov x20, x0
ldr w0, [x24, #4]
bl _ieee80211_is_data
cbz w0, LBB0_8
; %bb.1:
ldr x8, [x22, #16]
cbz x8, LBB0_9
; %bb.2:
ldr w8, [x19]
sub w8, w8, w20
cmp w8, #12
b.lt LBB0_9
; %bb.3:
ldr x0, [x22, #32]
bl _skb_linearize
cbnz x0, LBB0_9
; %bb.4:
ldr x8, [x19, #8]
ldr w9, [x21]
Lloh0:
adrp x10, _RX_FLAG_DECRYPTED@GOTPAGE
Lloh1:
ldr x10, [x10, _RX_FLAG_DECRYPTED@GOTPAGEOFF]
Lloh2:
ldr w10, [x10]
tst w10, w9
cset w6, ne
add x2, x8, w20, sxtw
ldr w9, [x19]
sub w3, w9, w20
ldp x9, x0, [x22, #16]
ldr w4, [x9]
ldr w5, [x8]
ldr w7, [x22, #8]
add x8, x22, #4
stp x8, x22, [sp]
mov x1, x23
bl _ieee80211_tkip_decrypt_data
Lloh3:
adrp x8, _TKIP_DECRYPT_OK@GOTPAGE
Lloh4:
ldr x8, [x8, _TKIP_DECRYPT_OK@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
cmp w0, w8
b.ne LBB0_9
; %bb.5:
ldr w8, [x21]
Lloh6:
adrp x9, _RX_FLAG_ICV_STRIPPED@GOTPAGE
Lloh7:
ldr x9, [x9, _RX_FLAG_ICV_STRIPPED@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
tst w9, w8
b.ne LBB0_7
; %bb.6:
ldrsw x8, [x19]
Lloh9:
adrp x9, _IEEE80211_TKIP_ICV_LEN@GOTPAGE
Lloh10:
ldr x9, [x9, _IEEE80211_TKIP_ICV_LEN@GOTPAGEOFF]
Lloh11:
ldr x9, [x9]
sub x1, x8, x9
mov x0, x19
bl _skb_trim
LBB0_7:
ldr x1, [x19, #8]
Lloh12:
adrp x21, _IEEE80211_TKIP_IV_LEN@GOTPAGE
Lloh13:
ldr x21, [x21, _IEEE80211_TKIP_IV_LEN@GOTPAGEOFF]
ldr x8, [x21]
add x0, x8, x1
mov x2, x20
bl _memmove
ldr x1, [x21]
mov x0, x19
bl _skb_pull
LBB0_8:
Lloh14:
adrp x8, _RX_CONTINUE@GOTPAGE
Lloh15:
ldr x8, [x8, _RX_CONTINUE@GOTPAGEOFF]
b LBB0_10
LBB0_9:
Lloh16:
adrp x8, _RX_DROP_UNUSABLE@GOTPAGE
Lloh17:
ldr x8, [x8, _RX_DROP_UNUSABLE@GOTPAGEOFF]
LBB0_10:
ldr w0, [x8]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGot Lloh16, Lloh17
.cfi_endproc
; -- End function
.comm _RX_CONTINUE,4,2 ; @RX_CONTINUE
.comm _RX_DROP_UNUSABLE,4,2 ; @RX_DROP_UNUSABLE
.comm _RX_FLAG_DECRYPTED,4,2 ; @RX_FLAG_DECRYPTED
.comm _TKIP_DECRYPT_OK,4,2 ; @TKIP_DECRYPT_OK
.comm _RX_FLAG_ICV_STRIPPED,4,2 ; @RX_FLAG_ICV_STRIPPED
.comm _IEEE80211_TKIP_ICV_LEN,8,3 ; @IEEE80211_TKIP_ICV_LEN
.comm _IEEE80211_TKIP_IV_LEN,8,3 ; @IEEE80211_TKIP_IV_LEN
.subsections_via_symbols
| AnghaBench/linux/net/mac80211/extr_wpa.c_ieee80211_crypto_tkip_decrypt.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function qib_user_sdma_queue_pkts
_qib_user_sdma_queue_pkts: ## @qib_user_sdma_queue_pkts
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
testq %r8, %r8
sete %al
testl %r9d, %r9d
setle %cl
xorl %r12d, %r12d
testb %cl, %al
jne LBB0_7
## %bb.1:
movq %rsi, %rbx
movq %rdi, %r14
movq %rdx, %r15
movl (%rsi), %edi
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _kmem_cache_alloc
testq %rax, %rax
jne LBB0_2
## %bb.3:
movq _ENOMEM@GOTPCREL(%rip), %rcx
jmp LBB0_4
LBB0_2:
movq _EINVAL@GOTPCREL(%rip), %rcx
LBB0_4:
xorl %r12d, %r12d
subl (%rcx), %r12d
testq %rax, %rax
je LBB0_6
## %bb.5:
movl (%rbx), %edi
movq %rax, %rsi
callq _kmem_cache_free
LBB0_6:
movq (%r14), %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq _qib_user_sdma_free_pkt_list
LBB0_7:
movl %r12d, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _QIB_USER_SDMA_MIN_HEADER_LENGTH,8,3 ## @QIB_USER_SDMA_MIN_HEADER_LENGTH
.comm _PAGE_SIZE,8,3 ## @PAGE_SIZE
.comm _EINVAL,4,2 ## @EINVAL
.comm _QIB_USER_SDMA_EXP_HEADER_LENGTH,8,3 ## @QIB_USER_SDMA_EXP_HEADER_LENGTH
.comm _EFAULT,4,2 ## @EFAULT
.comm _QIB_PBC_LENGTH_MASK,4,2 ## @QIB_PBC_LENGTH_MASK
.comm _PAGE_MASK,8,3 ## @PAGE_MASK
.comm _DMA_TO_DEVICE,4,2 ## @DMA_TO_DEVICE
.no_dead_strip _qib_user_sdma_queue_pkts
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function qib_user_sdma_queue_pkts
_qib_user_sdma_queue_pkts: ; @qib_user_sdma_queue_pkts
.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
cbnz x4, LBB0_3
; %bb.1:
cmp w5, #1
b.ge LBB0_3
; %bb.2:
mov w22, #0 ; =0x0
b LBB0_6
LBB0_3:
mov x21, x2
ldr w0, [x19]
Lloh0:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh1:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _kmem_cache_alloc
Lloh3:
adrp x8, _ENOMEM@GOTPAGE
Lloh4:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
adrp x9, _EINVAL@GOTPAGE
Lloh6:
ldr x9, [x9, _EINVAL@GOTPAGEOFF]
cmp x0, #0
csel x8, x8, x9, eq
ldr w8, [x8]
neg w22, w8
cbz x0, LBB0_5
; %bb.4:
mov x1, x0
ldr w0, [x19]
bl _kmem_cache_free
LBB0_5:
ldr x0, [x20]
mov x1, x19
mov x2, x21
bl _qib_user_sdma_free_pkt_list
LBB0_6:
mov x0, x22
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 Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _QIB_USER_SDMA_MIN_HEADER_LENGTH,8,3 ; @QIB_USER_SDMA_MIN_HEADER_LENGTH
.comm _PAGE_SIZE,8,3 ; @PAGE_SIZE
.comm _EINVAL,4,2 ; @EINVAL
.comm _QIB_USER_SDMA_EXP_HEADER_LENGTH,8,3 ; @QIB_USER_SDMA_EXP_HEADER_LENGTH
.comm _EFAULT,4,2 ; @EFAULT
.comm _QIB_PBC_LENGTH_MASK,4,2 ; @QIB_PBC_LENGTH_MASK
.comm _PAGE_MASK,8,3 ; @PAGE_MASK
.comm _DMA_TO_DEVICE,4,2 ; @DMA_TO_DEVICE
.no_dead_strip _qib_user_sdma_queue_pkts
.subsections_via_symbols
| assembly_file_169118.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function slot_get
_slot_get: ## @slot_get
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r15
movq 8(%rdi), %rax
movq (%rax), %r14
movq _qd_lru_lock@GOTPCREL(%rip), %rdi
callq _spin_lock
movl 4(%r15), %eax
leal 1(%rax), %ecx
movl %ecx, 4(%r15)
testl %eax, %eax
je LBB0_1
LBB0_16:
movq _qd_lru_lock@GOTPCREL(%rip), %rdi
callq _spin_unlock
xorl %eax, %eax
jmp LBB0_20
LBB0_1:
movl (%r14), %r8d
testq %r8, %r8
je LBB0_19
## %bb.2:
movq _PAGE_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %ecx
leal (,%rcx,8), %r9d
xorl %r10d, %r10d
xorl %ebx, %ebx
jmp LBB0_3
.p2align 4, 0x90
LBB0_18: ## in Loop: Header=BB0_3 Depth=1
incq %rbx
subl %r9d, %r10d
cmpq %r8, %rbx
je LBB0_19
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_5 Depth 2
testq %rcx, %rcx
je LBB0_18
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq 8(%r14), %rax
movq (%rax,%rbx,8), %rax
movl %r10d, %esi
xorl %edx, %edx
.p2align 4, 0x90
LBB0_5: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movzbl (%rax,%rdx), %edi
cmpl $255, %edi
jne LBB0_6
## %bb.17: ## in Loop: Header=BB0_5 Depth=2
incq %rdx
addl $-8, %esi
cmpq %rdx, %rcx
jne LBB0_5
jmp LBB0_18
LBB0_6:
xorl %ecx, %ecx
testb $1, %dil
je LBB0_14
## %bb.7:
movl $1, %ecx
testb $2, %dil
je LBB0_14
## %bb.8:
movl $2, %ecx
testb $4, %dil
je LBB0_14
## %bb.9:
movl $3, %ecx
testb $8, %dil
je LBB0_14
## %bb.10:
movl $4, %ecx
testb $16, %dil
je LBB0_14
## %bb.11:
movl $5, %ecx
testb $32, %dil
je LBB0_14
## %bb.12:
movl $6, %ecx
testb $64, %dil
je LBB0_14
## %bb.13:
andl $-128, %edi
cmpl $1, %edi
movl $8, %ecx
sbbl $0, %ecx
LBB0_14:
movl %ecx, %edi
subl %esi, %edi
movl %edi, (%r15)
cmpl 16(%r14), %edi
jae LBB0_19
## %bb.15:
movl $1, %esi
## kill: def $cl killed $cl killed $ecx
shll %cl, %esi
orb %sil, (%rax,%rdx)
jmp LBB0_16
LBB0_19:
movl $0, 4(%r15)
movq _qd_lru_lock@GOTPCREL(%rip), %rdi
callq _spin_unlock
movq _ENOSPC@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
LBB0_20:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _qd_lru_lock,4,2 ## @qd_lru_lock
.comm _PAGE_SIZE,4,2 ## @PAGE_SIZE
.comm _ENOSPC,4,2 ## @ENOSPC
.no_dead_strip _slot_get
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function slot_get
_slot_get: ; @slot_get
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr x8, [x0, #8]
ldr x20, [x8]
Lloh0:
adrp x0, _qd_lru_lock@GOTPAGE
Lloh1:
ldr x0, [x0, _qd_lru_lock@GOTPAGEOFF]
bl _spin_lock
ldr w8, [x19, #4]
add w9, w8, #1
str w9, [x19, #4]
cbz w8, LBB0_2
LBB0_1:
Lloh2:
adrp x0, _qd_lru_lock@GOTPAGE
Lloh3:
ldr x0, [x0, _qd_lru_lock@GOTPAGEOFF]
bl _spin_unlock
mov w0, #0
b LBB0_17
LBB0_2:
ldr w10, [x20]
cbz w10, LBB0_16
; %bb.3:
mov w11, #0
mov x12, #0
Lloh4:
adrp x8, _PAGE_SIZE@GOTPAGE
Lloh5:
ldr x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh6:
ldr w13, [x8]
lsl w14, w13, #3
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
add x12, x12, #1
sub w11, w11, w14
cmp x12, x10
b.eq LBB0_16
LBB0_5: ; =>This Loop Header: Depth=1
; Child Loop BB0_7 Depth 2
cbz w13, LBB0_4
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [x20, #8]
ldr x8, [x8, x12, lsl #3]
mov x16, x13
mov x9, x11
LBB0_7: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w15, [x8]
cmp w15, #255
b.ne LBB0_9
; %bb.8: ; in Loop: Header=BB0_7 Depth=2
add x8, x8, #1
sub w9, w9, #8
subs x16, x16, #1
b.ne LBB0_7
b LBB0_4
LBB0_9:
tbnz w15, #0, LBB0_11
; %bb.10:
mov w10, #0
b LBB0_14
LBB0_11:
tbnz w15, #1, LBB0_13
; %bb.12:
mov w10, #1
b LBB0_14
LBB0_13:
mov w10, #2
mov w11, #3
mov w12, #4
mov w13, #5
mov w14, #6
tst w15, #0x80
mov w16, #7
cinc w16, w16, ne
tst w15, #0x40
csel w14, w14, w16, eq
tst w15, #0x20
csel w13, w13, w14, eq
tst w15, #0x10
csel w12, w12, w13, eq
tst w15, #0x8
csel w11, w11, w12, eq
tst w15, #0x4
csel w10, w10, w11, eq
LBB0_14:
ldr w11, [x20, #16]
sub w9, w10, w9
cmp w9, w11
str w9, [x19]
b.hs LBB0_16
; %bb.15:
mov w9, #1
lsl w9, w9, w10
ldrb w10, [x8]
orr w9, w10, w9
strb w9, [x8]
b LBB0_1
LBB0_16:
str wzr, [x19, #4]
Lloh7:
adrp x0, _qd_lru_lock@GOTPAGE
Lloh8:
ldr x0, [x0, _qd_lru_lock@GOTPAGEOFF]
bl _spin_unlock
Lloh9:
adrp x8, _ENOSPC@GOTPAGE
Lloh10:
ldr x8, [x8, _ENOSPC@GOTPAGEOFF]
Lloh11:
ldr w8, [x8]
neg w0, w8
LBB0_17:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGot Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _qd_lru_lock,4,2 ; @qd_lru_lock
.comm _PAGE_SIZE,4,2 ; @PAGE_SIZE
.comm _ENOSPC,4,2 ; @ENOSPC
.no_dead_strip _slot_get
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/fs/gfs2/extr_quota.c_slot_get.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function lkdtm_do_action
_lkdtm_do_action: ## @lkdtm_do_action
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
## kill: def $edi killed $edi def $rdi
addl $-128, %edi
cmpl $12, %edi
ja LBB0_14
## %bb.1:
leaq LJTI0_0(%rip), %rax
movslq (%rax,%rdi,4), %rcx
addq %rax, %rcx
jmpq *%rcx
LBB0_7:
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $1024, %edi ## imm = 0x400
callq _kmalloc
movq %rax, %rbx
movq %rax, %rdi
callq _kfree
xorl %eax, %eax
callq _schedule
movl $1024, %edx ## imm = 0x400
movq %rbx, %rdi
movl $120, %esi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _memset ## TAILCALL
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
jmp LBB0_4
LBB0_13:
cmpl $0, _lkdtm_do_action.data.0(%rip)
movl $-2023406815, %eax ## imm = 0x87654321
movl $305419896, %ecx ## imm = 0x12345678
cmovel %eax, %ecx
movl %ecx, _lkdtm_do_action.data.0(%rip)
LBB0_14:
addq $8, %rsp
popq %rbx
popq %rbp
retq
LBB0_8:
xorl %eax, %eax
callq _preempt_disable
.p2align 4, 0x90
LBB0_9: ## =>This Inner Loop Header: Depth=1
xorl %eax, %eax
callq _cpu_relax
jmp LBB0_9
LBB0_2:
leaq L_.str(%rip), %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _panic ## TAILCALL
LBB0_6:
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $1020, %edi ## imm = 0x3FC
callq _kmalloc
movl $305419896, 1024(%rax) ## imm = 0x12345678
movq %rax, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _kfree ## TAILCALL
LBB0_5:
xorl %edi, %edi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _recursive_loop ## TAILCALL
LBB0_12:
movq _TASK_UNINTERRUPTIBLE@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _set_current_state
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
jmp _schedule ## TAILCALL
LBB0_10:
xorl %eax, %eax
callq _local_irq_disable
.p2align 4, 0x90
LBB0_11: ## =>This Inner Loop Header: Depth=1
xorl %eax, %eax
callq _cpu_relax
jmp LBB0_11
LBB0_3:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
jmp _BUG ## TAILCALL
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
.long L0_0_set_7
.long L0_0_set_13
.long L0_0_set_8
.long L0_0_set_2
.long L0_0_set_6
.long L0_0_set_5
.long L0_0_set_14
.long L0_0_set_4
.long L0_0_set_12
.long L0_0_set_10
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_3
.end_data_region
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "dumptest"
.section __DATA,__data
.p2align 2 ## @lkdtm_do_action.data.0
_lkdtm_do_action.data.0:
.long 2 ## 0x2
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _TASK_UNINTERRUPTIBLE,4,2 ## @TASK_UNINTERRUPTIBLE
.no_dead_strip _lkdtm_do_action
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function lkdtm_do_action
_lkdtm_do_action: ; @lkdtm_do_action
.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
sub w8, w0, #128
cmp w8, #12
b.hi LBB0_5
; %bb.1:
Lloh0:
adrp x9, lJTI0_0@PAGE
Lloh1:
add x9, x9, lJTI0_0@PAGEOFF
adr x10, LBB0_2
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
LBB0_2:
Lloh2:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh3:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
ldr w1, [x8]
mov w0, #1024
bl _kmalloc
mov x19, x0
bl _kfree
bl _schedule
mov x0, x19
mov w1, #120
mov w2, #1024
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _memset
LBB0_3: ; =>This Inner Loop Header: Depth=1
b LBB0_3
LBB0_4:
adrp x8, _lkdtm_do_action.data.0@PAGE
ldr w9, [x8, _lkdtm_do_action.data.0@PAGEOFF]
mov w10, #22136
movk w10, #4660, lsl #16
mov w11, #17185
movk w11, #34661, lsl #16
cmp w9, #0
csel w9, w11, w10, eq
str w9, [x8, _lkdtm_do_action.data.0@PAGEOFF]
LBB0_5:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_6:
bl _preempt_disable
LBB0_7: ; =>This Inner Loop Header: Depth=1
bl _cpu_relax
b LBB0_7
LBB0_8:
Lloh5:
adrp x0, l_.str@PAGE
Lloh6:
add x0, x0, l_.str@PAGEOFF
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _panic
LBB0_9:
Lloh7:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh8:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh9:
ldr w1, [x8]
mov w0, #1020
bl _kmalloc
mov w8, #22136
movk w8, #4660, lsl #16
str w8, [x0, #1024]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _kfree
LBB0_10:
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _recursive_loop
LBB0_11:
Lloh10:
adrp x8, _TASK_UNINTERRUPTIBLE@GOTPAGE
Lloh11:
ldr x8, [x8, _TASK_UNINTERRUPTIBLE@GOTPAGEOFF]
Lloh12:
ldr w0, [x8]
bl _set_current_state
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _schedule
LBB0_12:
bl _local_irq_disable
LBB0_13: ; =>This Inner Loop Header: Depth=1
bl _cpu_relax
b LBB0_13
LBB0_14:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _BUG
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_2-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_6-LBB0_2)>>2
.byte (LBB0_8-LBB0_2)>>2
.byte (LBB0_9-LBB0_2)>>2
.byte (LBB0_10-LBB0_2)>>2
.byte (LBB0_5-LBB0_2)>>2
.byte (LBB0_3-LBB0_2)>>2
.byte (LBB0_11-LBB0_2)>>2
.byte (LBB0_12-LBB0_2)>>2
.byte (LBB0_5-LBB0_2)>>2
.byte (LBB0_5-LBB0_2)>>2
.byte (LBB0_14-LBB0_2)>>2
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "dumptest"
.section __DATA,__data
.p2align 2 ; @lkdtm_do_action.data.0
_lkdtm_do_action.data.0:
.long 2 ; 0x2
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _TASK_UNINTERRUPTIBLE,4,2 ; @TASK_UNINTERRUPTIBLE
.no_dead_strip _lkdtm_do_action
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/misc/extr_lkdtm.c_lkdtm_do_action.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ehci_port_power
_ehci_port_power: ## @ehci_port_power
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r14d
movq %rdi, %r15
movl (%rdi), %edi
callq _HCS_PPC
testl %eax, %eax
je LBB0_7
## %bb.1:
testl %r14d, %r14d
leaq L_.str.2(%rip), %rax
leaq L_.str.1(%rip), %rdx
cmoveq %rax, %rdx
leaq L_.str(%rip), %rsi
movq %r15, %rdi
callq _oxu_dbg
movl (%r15), %edi
callq _HCS_N_PORTS
testl %eax, %eax
je LBB0_6
## %bb.2:
movl %eax, %ebx
movq _SetPortFeature@GOTPCREL(%rip), %r12
movq _USB_PORT_FEAT_POWER@GOTPCREL(%rip), %r13
jmp LBB0_3
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_3 Depth=1
movl (%rcx), %esi
movl (%r13), %edx
movl %eax, %edi
movl %ebx, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq _oxu_hub_control
decl %ebx
je LBB0_6
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
callq _oxu_to_hcd
movq %r12, %rcx
testl %r14d, %r14d
jne LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq _ClearPortFeature@GOTPCREL(%rip), %rcx
jmp LBB0_5
LBB0_6:
movl $20, %edi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _msleep ## TAILCALL
LBB0_7:
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 "...power%s ports...\n"
L_.str.1: ## @.str.1
.asciz "up"
L_.str.2: ## @.str.2
.asciz "down"
.comm _SetPortFeature,4,2 ## @SetPortFeature
.comm _ClearPortFeature,4,2 ## @ClearPortFeature
.comm _USB_PORT_FEAT_POWER,4,2 ## @USB_PORT_FEAT_POWER
.no_dead_strip _ehci_port_power
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ehci_port_power
_ehci_port_power: ; @ehci_port_power
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x1
mov x20, x0
ldr w0, [x0]
bl _HCS_PPC
cbz w0, LBB0_5
; %bb.1:
Lloh0:
adrp x8, l_.str.1@PAGE
Lloh1:
add x8, x8, l_.str.1@PAGEOFF
Lloh2:
adrp x9, l_.str.2@PAGE
Lloh3:
add x9, x9, l_.str.2@PAGEOFF
cmp w19, #0
csel x2, x9, x8, eq
Lloh4:
adrp x1, l_.str@PAGE
Lloh5:
add x1, x1, l_.str@PAGEOFF
mov x0, x20
bl _oxu_dbg
ldr w0, [x20]
bl _HCS_N_PORTS
cbz w0, LBB0_4
; %bb.2:
mov x21, x0
Lloh6:
adrp x22, _SetPortFeature@GOTPAGE
Lloh7:
ldr x22, [x22, _SetPortFeature@GOTPAGEOFF]
Lloh8:
adrp x23, _ClearPortFeature@GOTPAGE
Lloh9:
ldr x23, [x23, _ClearPortFeature@GOTPAGEOFF]
Lloh10:
adrp x24, _USB_PORT_FEAT_POWER@GOTPAGE
Lloh11:
ldr x24, [x24, _USB_PORT_FEAT_POWER@GOTPAGEOFF]
LBB0_3: ; =>This Inner Loop Header: Depth=1
mov x0, x20
bl _oxu_to_hcd
cmp w19, #0
csel x8, x23, x22, eq
ldr w1, [x8]
ldr w2, [x24]
sub w25, w21, #1
mov x3, x21
mov x4, #0
mov w5, #0
bl _oxu_hub_control
mov x21, x25
cbnz w25, LBB0_3
LBB0_4:
mov w0, #20
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
b _msleep
LBB0_5:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "...power%s ports...\n"
l_.str.1: ; @.str.1
.asciz "up"
l_.str.2: ; @.str.2
.asciz "down"
.comm _SetPortFeature,4,2 ; @SetPortFeature
.comm _ClearPortFeature,4,2 ; @ClearPortFeature
.comm _USB_PORT_FEAT_POWER,4,2 ; @USB_PORT_FEAT_POWER
.no_dead_strip _ehci_port_power
.subsections_via_symbols
| AnghaBench/linux/drivers/usb/host/extr_oxu210hp-hcd.c_ehci_port_power.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function module_version
_module_version: ## @module_version
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _DEEPMIND_LAB_WRAPPER_VERSION@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rdi
popq %rbp
jmp _Py_BuildValue ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "s"
.comm _DEEPMIND_LAB_WRAPPER_VERSION,4,2 ## @DEEPMIND_LAB_WRAPPER_VERSION
.no_dead_strip _module_version
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function module_version
_module_version: ; @module_version
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _DEEPMIND_LAB_WRAPPER_VERSION@GOTPAGE
Lloh1:
ldr x8, [x8, _DEEPMIND_LAB_WRAPPER_VERSION@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
b _Py_BuildValue
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "s"
.comm _DEEPMIND_LAB_WRAPPER_VERSION,4,2 ; @DEEPMIND_LAB_WRAPPER_VERSION
.no_dead_strip _module_version
.subsections_via_symbols
| AnghaBench/lab/python/extr_dmlab_module.c_module_version.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/33279.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function arizona_apply_fll
_arizona_apply_fll: ## @arizona_apply_fll
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %r8d, -44(%rbp) ## 4-byte Spill
movl %ecx, %ebx
movq %rdx, %r14
movl %esi, %r13d
movq %rdi, %r15
movl (%rdi), %edi
leal 3(%r13), %esi
movq _ARIZONA_FLL1_THETA_MASK@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl (%r14), %ecx
callq _regmap_update_bits_async
movl (%r15), %edi
leal 4(%r13), %esi
movq _ARIZONA_FLL1_LAMBDA_MASK@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl 4(%r14), %ecx
callq _regmap_update_bits_async
movl (%r15), %edi
leal 5(%r13), %r12d
movq _ARIZONA_FLL1_FRATIO_MASK@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl 8(%r14), %eax
movq _ARIZONA_FLL1_FRATIO_SHIFT@GOTPCREL(%rip), %rcx
movb (%rcx), %cl
shll %cl, %eax
movl %r12d, %esi
movl %eax, %ecx
callq _regmap_update_bits_async
movl (%r15), %edi
leal 6(%r13), %esi
movq _ARIZONA_FLL1_CLK_REF_DIV_MASK@GOTPCREL(%rip), %r8
movq _ARIZONA_FLL1_CLK_REF_SRC_MASK@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
movq _ARIZONA_FLL1_CLK_REF_DIV_SHIFT@GOTPCREL(%rip), %rcx
movb (%rcx), %cl
movl 12(%r14), %eax
shll %cl, %eax
orl (%r8), %edx
movq _ARIZONA_FLL1_CLK_REF_SRC_SHIFT@GOTPCREL(%rip), %rcx
movb (%rcx), %cl
shll %cl, %ebx
orl %eax, %ebx
movl %ebx, %ecx
callq _regmap_update_bits_async
movl (%r15), %edi
movl $7, %esi
cmpl $0, -44(%rbp) ## 4-byte Folded Reload
jne LBB0_2
## %bb.1:
movq _ARIZONA_FLL1_OUTDIV_MASK@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl 20(%r14), %eax
movq _ARIZONA_FLL1_OUTDIV_SHIFT@GOTPCREL(%rip), %rcx
movb (%rcx), %cl
shll %cl, %eax
movl %r12d, %esi
movl %eax, %ecx
callq _regmap_update_bits
movl (%r15), %edi
movl $9, %esi
LBB0_2:
addl %r13d, %esi
movq _ARIZONA_FLL1_GAIN_MASK@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl 16(%r14), %eax
movq _ARIZONA_FLL1_GAIN_SHIFT@GOTPCREL(%rip), %rcx
movb (%rcx), %cl
shll %cl, %eax
movl %eax, %ecx
callq _regmap_update_bits
movl (%r15), %edi
addl $2, %r13d
movq _ARIZONA_FLL1_CTRL_UPD@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _ARIZONA_FLL1_N_MASK@GOTPCREL(%rip), %rax
movl (%rax), %edx
orl %ecx, %edx
orl 24(%r14), %ecx
movl %r13d, %esi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _regmap_update_bits_async ## TAILCALL
.cfi_endproc
## -- End function
.comm _ARIZONA_FLL1_THETA_MASK,4,2 ## @ARIZONA_FLL1_THETA_MASK
.comm _ARIZONA_FLL1_LAMBDA_MASK,4,2 ## @ARIZONA_FLL1_LAMBDA_MASK
.comm _ARIZONA_FLL1_FRATIO_MASK,4,2 ## @ARIZONA_FLL1_FRATIO_MASK
.comm _ARIZONA_FLL1_FRATIO_SHIFT,4,2 ## @ARIZONA_FLL1_FRATIO_SHIFT
.comm _ARIZONA_FLL1_CLK_REF_DIV_MASK,4,2 ## @ARIZONA_FLL1_CLK_REF_DIV_MASK
.comm _ARIZONA_FLL1_CLK_REF_SRC_MASK,4,2 ## @ARIZONA_FLL1_CLK_REF_SRC_MASK
.comm _ARIZONA_FLL1_CLK_REF_DIV_SHIFT,4,2 ## @ARIZONA_FLL1_CLK_REF_DIV_SHIFT
.comm _ARIZONA_FLL1_CLK_REF_SRC_SHIFT,4,2 ## @ARIZONA_FLL1_CLK_REF_SRC_SHIFT
.comm _ARIZONA_FLL1_GAIN_MASK,4,2 ## @ARIZONA_FLL1_GAIN_MASK
.comm _ARIZONA_FLL1_GAIN_SHIFT,4,2 ## @ARIZONA_FLL1_GAIN_SHIFT
.comm _ARIZONA_FLL1_OUTDIV_MASK,4,2 ## @ARIZONA_FLL1_OUTDIV_MASK
.comm _ARIZONA_FLL1_OUTDIV_SHIFT,4,2 ## @ARIZONA_FLL1_OUTDIV_SHIFT
.comm _ARIZONA_FLL1_CTRL_UPD,4,2 ## @ARIZONA_FLL1_CTRL_UPD
.comm _ARIZONA_FLL1_N_MASK,4,2 ## @ARIZONA_FLL1_N_MASK
.no_dead_strip _arizona_apply_fll
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function arizona_apply_fll
_arizona_apply_fll: ; @arizona_apply_fll
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x22, x4
mov x23, x3
mov x19, x2
mov x20, x1
mov x21, x0
ldr w0, [x0]
add w1, w1, #3
Lloh0:
adrp x8, _ARIZONA_FLL1_THETA_MASK@GOTPAGE
Lloh1:
ldr x8, [x8, _ARIZONA_FLL1_THETA_MASK@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
ldr w3, [x19]
bl _regmap_update_bits_async
ldr w0, [x21]
add w1, w20, #4
Lloh3:
adrp x8, _ARIZONA_FLL1_LAMBDA_MASK@GOTPAGE
Lloh4:
ldr x8, [x8, _ARIZONA_FLL1_LAMBDA_MASK@GOTPAGEOFF]
Lloh5:
ldr w2, [x8]
ldr w3, [x19, #4]
bl _regmap_update_bits_async
ldr w0, [x21]
add w24, w20, #5
Lloh6:
adrp x8, _ARIZONA_FLL1_FRATIO_MASK@GOTPAGE
Lloh7:
ldr x8, [x8, _ARIZONA_FLL1_FRATIO_MASK@GOTPAGEOFF]
Lloh8:
ldr w2, [x8]
ldr w8, [x19, #8]
Lloh9:
adrp x9, _ARIZONA_FLL1_FRATIO_SHIFT@GOTPAGE
Lloh10:
ldr x9, [x9, _ARIZONA_FLL1_FRATIO_SHIFT@GOTPAGEOFF]
Lloh11:
ldr w9, [x9]
lsl w3, w8, w9
mov x1, x24
bl _regmap_update_bits_async
ldr w0, [x21]
add w1, w20, #6
Lloh12:
adrp x8, _ARIZONA_FLL1_CLK_REF_DIV_MASK@GOTPAGE
Lloh13:
ldr x8, [x8, _ARIZONA_FLL1_CLK_REF_DIV_MASK@GOTPAGEOFF]
Lloh14:
ldr w8, [x8]
Lloh15:
adrp x9, _ARIZONA_FLL1_CLK_REF_SRC_MASK@GOTPAGE
Lloh16:
ldr x9, [x9, _ARIZONA_FLL1_CLK_REF_SRC_MASK@GOTPAGEOFF]
Lloh17:
ldr w9, [x9]
orr w2, w9, w8
ldr w8, [x19, #12]
Lloh18:
adrp x9, _ARIZONA_FLL1_CLK_REF_DIV_SHIFT@GOTPAGE
Lloh19:
ldr x9, [x9, _ARIZONA_FLL1_CLK_REF_DIV_SHIFT@GOTPAGEOFF]
Lloh20:
ldr w9, [x9]
lsl w8, w8, w9
Lloh21:
adrp x9, _ARIZONA_FLL1_CLK_REF_SRC_SHIFT@GOTPAGE
Lloh22:
ldr x9, [x9, _ARIZONA_FLL1_CLK_REF_SRC_SHIFT@GOTPAGEOFF]
Lloh23:
ldr w9, [x9]
lsl w9, w23, w9
orr w3, w9, w8
bl _regmap_update_bits_async
ldr w0, [x21]
cbz w22, LBB0_2
; %bb.1:
mov w8, #7
b LBB0_3
LBB0_2:
Lloh24:
adrp x8, _ARIZONA_FLL1_OUTDIV_MASK@GOTPAGE
Lloh25:
ldr x8, [x8, _ARIZONA_FLL1_OUTDIV_MASK@GOTPAGEOFF]
Lloh26:
ldr w2, [x8]
ldr w8, [x19, #20]
Lloh27:
adrp x9, _ARIZONA_FLL1_OUTDIV_SHIFT@GOTPAGE
Lloh28:
ldr x9, [x9, _ARIZONA_FLL1_OUTDIV_SHIFT@GOTPAGEOFF]
Lloh29:
ldr w9, [x9]
lsl w3, w8, w9
mov x1, x24
bl _regmap_update_bits
ldr w0, [x21]
mov w8, #9
LBB0_3:
add w1, w8, w20
Lloh30:
adrp x8, _ARIZONA_FLL1_GAIN_MASK@GOTPAGE
Lloh31:
ldr x8, [x8, _ARIZONA_FLL1_GAIN_MASK@GOTPAGEOFF]
Lloh32:
ldr w2, [x8]
ldr w8, [x19, #16]
Lloh33:
adrp x9, _ARIZONA_FLL1_GAIN_SHIFT@GOTPAGE
Lloh34:
ldr x9, [x9, _ARIZONA_FLL1_GAIN_SHIFT@GOTPAGEOFF]
Lloh35:
ldr w9, [x9]
lsl w3, w8, w9
bl _regmap_update_bits
ldr w0, [x21]
Lloh36:
adrp x8, _ARIZONA_FLL1_CTRL_UPD@GOTPAGE
Lloh37:
ldr x8, [x8, _ARIZONA_FLL1_CTRL_UPD@GOTPAGEOFF]
add w1, w20, #2
Lloh38:
ldr w8, [x8]
Lloh39:
adrp x9, _ARIZONA_FLL1_N_MASK@GOTPAGE
Lloh40:
ldr x9, [x9, _ARIZONA_FLL1_N_MASK@GOTPAGEOFF]
Lloh41:
ldr w9, [x9]
orr w2, w9, w8
ldr w9, [x19, #24]
orr w3, w9, w8
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 _regmap_update_bits_async
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41
.loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.cfi_endproc
; -- End function
.comm _ARIZONA_FLL1_THETA_MASK,4,2 ; @ARIZONA_FLL1_THETA_MASK
.comm _ARIZONA_FLL1_LAMBDA_MASK,4,2 ; @ARIZONA_FLL1_LAMBDA_MASK
.comm _ARIZONA_FLL1_FRATIO_MASK,4,2 ; @ARIZONA_FLL1_FRATIO_MASK
.comm _ARIZONA_FLL1_FRATIO_SHIFT,4,2 ; @ARIZONA_FLL1_FRATIO_SHIFT
.comm _ARIZONA_FLL1_CLK_REF_DIV_MASK,4,2 ; @ARIZONA_FLL1_CLK_REF_DIV_MASK
.comm _ARIZONA_FLL1_CLK_REF_SRC_MASK,4,2 ; @ARIZONA_FLL1_CLK_REF_SRC_MASK
.comm _ARIZONA_FLL1_CLK_REF_DIV_SHIFT,4,2 ; @ARIZONA_FLL1_CLK_REF_DIV_SHIFT
.comm _ARIZONA_FLL1_CLK_REF_SRC_SHIFT,4,2 ; @ARIZONA_FLL1_CLK_REF_SRC_SHIFT
.comm _ARIZONA_FLL1_GAIN_MASK,4,2 ; @ARIZONA_FLL1_GAIN_MASK
.comm _ARIZONA_FLL1_GAIN_SHIFT,4,2 ; @ARIZONA_FLL1_GAIN_SHIFT
.comm _ARIZONA_FLL1_OUTDIV_MASK,4,2 ; @ARIZONA_FLL1_OUTDIV_MASK
.comm _ARIZONA_FLL1_OUTDIV_SHIFT,4,2 ; @ARIZONA_FLL1_OUTDIV_SHIFT
.comm _ARIZONA_FLL1_CTRL_UPD,4,2 ; @ARIZONA_FLL1_CTRL_UPD
.comm _ARIZONA_FLL1_N_MASK,4,2 ; @ARIZONA_FLL1_N_MASK
.no_dead_strip _arizona_apply_fll
.subsections_via_symbols
| AnghaBench/linux/sound/soc/codecs/extr_arizona.c_arizona_apply_fll.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function put_chars
_put_chars: ## @put_chars
.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
movl %edx, %r14d
movq %rsi, %r12
movl %edi, %ebx
movq _early_put_chars@GOTPCREL(%rip), %rdi
callq _unlikely
movl %ebx, %edi
testq %rax, %rax
je LBB0_1
## %bb.5:
movq %r12, %rsi
movl %r14d, %edx
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _early_put_chars ## TAILCALL
LBB0_1:
callq _find_port_by_vtermno
testq %rax, %rax
je LBB0_2
## %bb.3:
movq %rax, %r15
leaq -40(%rbp), %rbx
movq %rbx, %rdi
movq %r12, %rsi
movl %r14d, %edx
callq _sg_init_one
movq %r15, %rdi
movq %rbx, %rsi
movl $1, %edx
movl %r14d, %ecx
movq %r12, %r8
xorl %r9d, %r9d
callq ___send_to_port
jmp LBB0_4
LBB0_2:
movq _EPIPE@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
LBB0_4:
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EPIPE,4,2 ## @EPIPE
.no_dead_strip _put_chars
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function put_chars
_put_chars: ; @put_chars
.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
Lloh0:
adrp x0, _early_put_chars@GOTPAGE
Lloh1:
ldr x0, [x0, _early_put_chars@GOTPAGEOFF]
bl _unlikely
cbz x0, LBB0_2
; %bb.1:
mov x0, x21
mov x1, x20
mov x2, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
b _early_put_chars
LBB0_2:
mov x0, x21
bl _find_port_by_vtermno
cbz x0, LBB0_4
; %bb.3:
mov x21, x0
add x0, sp, #8
mov x1, x20
mov x2, x19
bl _sg_init_one
add x1, sp, #8
mov x0, x21
mov w2, #1
mov x3, x19
mov x4, x20
mov w5, #0
bl ___send_to_port
b LBB0_5
LBB0_4:
Lloh2:
adrp x8, _EPIPE@GOTPAGE
Lloh3:
ldr x8, [x8, _EPIPE@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
neg w0, w8
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 AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _EPIPE,4,2 ; @EPIPE
.no_dead_strip _put_chars
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/char/extr_virtio_console.c_put_chars.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function crypto_authenc_copy_assoc
_crypto_authenc_copy_assoc: ## @crypto_authenc_copy_assoc
.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
callq _crypto_aead_reqtfm
movq %rax, %rdi
callq _crypto_aead_ctx
movq %rax, %r14
movq _skreq@GOTPCREL(%rip), %r15
movl (%r15), %edi
movl (%rax), %esi
callq _SYNC_SKCIPHER_REQUEST_ON_STACK
movl (%r15), %edi
movl (%r14), %esi
callq _skcipher_request_set_sync_tfm
movl (%r15), %r14d
movq %rbx, %rdi
callq _aead_request_flags
movl %r14d, %edi
movl %eax, %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq _skcipher_request_set_callback
movl (%r15), %edi
movl 8(%rbx), %esi
movl (%rbx), %ecx
movl 4(%rbx), %edx
xorl %r8d, %r8d
callq _skcipher_request_set_crypt
movl (%r15), %edi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _crypto_skcipher_encrypt ## TAILCALL
.cfi_endproc
## -- End function
.comm _skreq,4,2 ## @skreq
.no_dead_strip _crypto_authenc_copy_assoc
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function crypto_authenc_copy_assoc
_crypto_authenc_copy_assoc: ; @crypto_authenc_copy_assoc
.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 _crypto_aead_reqtfm
bl _crypto_aead_ctx
mov x20, x0
Lloh0:
adrp x21, _skreq@GOTPAGE
Lloh1:
ldr x21, [x21, _skreq@GOTPAGEOFF]
ldr w0, [x21]
ldr w1, [x20]
bl _SYNC_SKCIPHER_REQUEST_ON_STACK
ldr w0, [x21]
ldr w1, [x20]
bl _skcipher_request_set_sync_tfm
ldr w20, [x21]
mov x0, x19
bl _aead_request_flags
mov x1, x0
mov x0, x20
mov x2, #0
mov x3, #0
bl _skcipher_request_set_callback
ldr w0, [x21]
ldp w2, w1, [x19, #4]
ldr w3, [x19]
mov x4, #0
bl _skcipher_request_set_crypt
ldr w0, [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 _crypto_skcipher_encrypt
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _skreq,4,2 ; @skreq
.no_dead_strip _crypto_authenc_copy_assoc
.subsections_via_symbols
| AnghaBench/linux/crypto/extr_authenc.c_crypto_authenc_copy_assoc.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function acornfb_set_par
_acornfb_set_par: ## @acornfb_set_par
.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 (%rdi), %eax
decl %eax
cmpl $7, %eax
ja LBB0_6
## %bb.1:
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_2:
movq _current_par@GOTPCREL(%rip), %rax
movl $2, (%rax)
movq _FB_VISUAL_MONO10@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, 32(%rbx)
movl $1, %eax
jmp LBB0_7
LBB0_3:
movq _current_par@GOTPCREL(%rip), %rax
movl $4, (%rax)
movq _FB_VISUAL_PSEUDOCOLOR@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, 32(%rbx)
movl $2, %eax
jmp LBB0_7
LBB0_6:
xorl %eax, %eax
callq _BUG
movl (%rbx), %eax
jmp LBB0_7
LBB0_4:
movq _current_par@GOTPCREL(%rip), %rax
movl $16, (%rax)
movq _FB_VISUAL_PSEUDOCOLOR@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, 32(%rbx)
movl $4, %eax
jmp LBB0_7
LBB0_5:
movq _VIDC_PALETTE_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _current_par@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movq _FB_VISUAL_PSEUDOCOLOR@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, 32(%rbx)
movl $8, %eax
LBB0_7:
imull 4(%rbx), %eax
leal 7(%rax), %ecx
testl %eax, %eax
cmovnsl %eax, %ecx
sarl $3, %ecx
movl %ecx, 8(%rbx)
movq %rbx, %rdi
movq %rbx, %rsi
callq _acornfb_update_dma
movq %rbx, %rdi
callq _acornfb_set_timing
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
.long L0_0_set_2
.long L0_0_set_3
.long L0_0_set_6
.long L0_0_set_4
.long L0_0_set_6
.long L0_0_set_6
.long L0_0_set_6
.long L0_0_set_5
.end_data_region
## -- End function
.comm _current_par,32,3 ## @current_par
.comm _FB_VISUAL_MONO10,8,3 ## @FB_VISUAL_MONO10
.comm _FB_VISUAL_PSEUDOCOLOR,8,3 ## @FB_VISUAL_PSEUDOCOLOR
.comm _VIDC_PALETTE_SIZE,8,3 ## @VIDC_PALETTE_SIZE
.comm _DMA_CR_D,4,2 ## @DMA_CR_D
.comm _DMA_CR_E,4,2 ## @DMA_CR_E
.comm _FB_VISUAL_DIRECTCOLOR,8,3 ## @FB_VISUAL_DIRECTCOLOR
.comm _IOMD_VIDCR,4,2 ## @IOMD_VIDCR
.comm _IOMD_VIDEND,4,2 ## @IOMD_VIDEND
.comm _IOMD_VIDSTART,4,2 ## @IOMD_VIDSTART
.comm _VDMA_END,4,2 ## @VDMA_END
.comm _VDMA_START,4,2 ## @VDMA_START
.comm _VDMA_XFERSIZE,8,3 ## @VDMA_XFERSIZE
.no_dead_strip _acornfb_set_par
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function acornfb_set_par
_acornfb_set_par: ; @acornfb_set_par
.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]
sub w8, w8, #1
cmp w8, #7
b.hi LBB0_4
; %bb.1:
Lloh0:
adrp x9, lJTI0_0@PAGE
Lloh1:
add x9, x9, lJTI0_0@PAGEOFF
adr x10, LBB0_2
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
LBB0_2:
Lloh2:
adrp x8, _current_par@GOTPAGE
Lloh3:
ldr x8, [x8, _current_par@GOTPAGEOFF]
mov w9, #2
Lloh4:
str w9, [x8]
Lloh5:
adrp x8, _FB_VISUAL_MONO10@GOTPAGE
Lloh6:
ldr x8, [x8, _FB_VISUAL_MONO10@GOTPAGEOFF]
Lloh7:
ldr x8, [x8]
str x8, [x19, #32]
mov w8, #1
b LBB0_7
LBB0_3:
Lloh8:
adrp x8, _current_par@GOTPAGE
Lloh9:
ldr x8, [x8, _current_par@GOTPAGEOFF]
mov w9, #4
Lloh10:
str w9, [x8]
Lloh11:
adrp x8, _FB_VISUAL_PSEUDOCOLOR@GOTPAGE
Lloh12:
ldr x8, [x8, _FB_VISUAL_PSEUDOCOLOR@GOTPAGEOFF]
Lloh13:
ldr x8, [x8]
str x8, [x19, #32]
mov w8, #2
b LBB0_7
LBB0_4:
bl _BUG
ldr w8, [x19]
b LBB0_7
LBB0_5:
Lloh14:
adrp x8, _current_par@GOTPAGE
Lloh15:
ldr x8, [x8, _current_par@GOTPAGEOFF]
mov w9, #16
Lloh16:
str w9, [x8]
Lloh17:
adrp x8, _FB_VISUAL_PSEUDOCOLOR@GOTPAGE
Lloh18:
ldr x8, [x8, _FB_VISUAL_PSEUDOCOLOR@GOTPAGEOFF]
Lloh19:
ldr x8, [x8]
str x8, [x19, #32]
mov w8, #4
b LBB0_7
LBB0_6:
Lloh20:
adrp x8, _VIDC_PALETTE_SIZE@GOTPAGE
Lloh21:
ldr x8, [x8, _VIDC_PALETTE_SIZE@GOTPAGEOFF]
Lloh22:
ldr x8, [x8]
Lloh23:
adrp x9, _current_par@GOTPAGE
Lloh24:
ldr x9, [x9, _current_par@GOTPAGEOFF]
Lloh25:
str w8, [x9]
Lloh26:
adrp x8, _FB_VISUAL_PSEUDOCOLOR@GOTPAGE
Lloh27:
ldr x8, [x8, _FB_VISUAL_PSEUDOCOLOR@GOTPAGEOFF]
Lloh28:
ldr x8, [x8]
str x8, [x19, #32]
mov w8, #8
LBB0_7:
ldr w9, [x19, #4]
mul w8, w8, w9
add w9, w8, #7
cmp w8, #0
csel w8, w9, w8, lt
asr w8, w8, #3
str w8, [x19, #8]
mov x0, x19
mov x1, x19
bl _acornfb_update_dma
mov x0, x19
bl _acornfb_set_timing
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotStr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotStr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotStr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.loh AdrpLdrGotStr Lloh23, Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_2-LBB0_2)>>2
.byte (LBB0_3-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_5-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_6-LBB0_2)>>2
; -- End function
.comm _current_par,32,3 ; @current_par
.comm _FB_VISUAL_MONO10,8,3 ; @FB_VISUAL_MONO10
.comm _FB_VISUAL_PSEUDOCOLOR,8,3 ; @FB_VISUAL_PSEUDOCOLOR
.comm _VIDC_PALETTE_SIZE,8,3 ; @VIDC_PALETTE_SIZE
.comm _DMA_CR_D,4,2 ; @DMA_CR_D
.comm _DMA_CR_E,4,2 ; @DMA_CR_E
.comm _FB_VISUAL_DIRECTCOLOR,8,3 ; @FB_VISUAL_DIRECTCOLOR
.comm _IOMD_VIDCR,4,2 ; @IOMD_VIDCR
.comm _IOMD_VIDEND,4,2 ; @IOMD_VIDEND
.comm _IOMD_VIDSTART,4,2 ; @IOMD_VIDSTART
.comm _VDMA_END,4,2 ; @VDMA_END
.comm _VDMA_START,4,2 ; @VDMA_START
.comm _VDMA_XFERSIZE,8,3 ; @VDMA_XFERSIZE
.no_dead_strip _acornfb_set_par
.subsections_via_symbols
| AnghaBench/linux/drivers/video/fbdev/extr_acornfb.c_acornfb_set_par.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _lpfc_prep_els_iocb ## -- Begin function lpfc_prep_els_iocb
.p2align 4, 0x90
_lpfc_prep_els_iocb: ## @lpfc_prep_els_iocb
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $88, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r9, %r13
movq %r8, %r12
movq %rcx, -120(%rbp) ## 8-byte Spill
movl %edx, %r14d
movq %rsi, -56(%rbp) ## 8-byte Spill
movq %rdi, %r15
movq 24(%rdi), %rbx
movq %rbx, %rdi
callq _lpfc_is_link_up
testl %eax, %eax
je LBB0_50
## %bb.1:
movq %r12, -88(%rbp) ## 8-byte Spill
movq %rbx, -48(%rbp) ## 8-byte Spill
movq %rbx, %rdi
callq _lpfc_sli_get_iocbq
testq %rax, %rax
je LBB0_50
## %bb.2:
movq %rax, %r12
movq 16(%rbp), %rbx
movq _Fabric_DID@GOTPCREL(%rip), %rax
cmpq %r13, (%rax)
movq %r14, -96(%rbp) ## 8-byte Spill
movq %r13, -80(%rbp) ## 8-byte Spill
movq %r15, -72(%rbp) ## 8-byte Spill
jne LBB0_9
## %bb.3:
leaq -128(%rbx), %rax
cmpq $2, %rax
ja LBB0_9
## %bb.4:
movq _HBA_FIP_SUPPORT@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq -48(%rbp), %rcx ## 8-byte Reload
andl (%rcx), %eax
je LBB0_9
## %bb.5:
cmpq $128, %rbx
je LBB0_10
## %bb.6:
cmpq $130, %rbx
je LBB0_11
## %bb.7:
cmpq $129, %rbx
jne LBB0_13
## %bb.8:
movq _LPFC_ELS_ID_FLOGI@GOTPCREL(%rip), %rax
jmp LBB0_12
LBB0_9:
movq _LPFC_FIP_ELS_ID_MASK@GOTPCREL(%rip), %rax
movl (%rax), %eax
notl %eax
andl %eax, (%r12)
jmp LBB0_13
LBB0_10:
movq _LPFC_ELS_ID_LOGO@GOTPCREL(%rip), %rax
jmp LBB0_12
LBB0_11:
movq _LPFC_ELS_ID_FDISC@GOTPCREL(%rip), %rax
LBB0_12:
movl (%rax), %eax
movq _LPFC_FIP_ELS_ID_SHIFT@GOTPCREL(%rip), %rcx
movb (%rcx), %cl
shll %cl, %eax
movq _LPFC_FIP_ELS_ID_MASK@GOTPCREL(%rip), %rcx
andl (%rcx), %eax
orl %eax, (%r12)
LBB0_13:
movq _GFP_KERNEL@GOTPCREL(%rip), %r13
movl (%r13), %esi
movl $24, %edi
callq _kmalloc
movq %rax, %r14
testq %rax, %rax
je LBB0_49
## %bb.14:
movq _MEM_PRI@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq -48(%rbp), %rdi ## 8-byte Reload
movq %r14, %rdx
callq _lpfc_mbuf_alloc
movq %rax, 8(%r14)
testq %rax, %rax
je LBB0_49
## %bb.15:
movq %r14, %rdi
addq $16, %rdi
movq %rdi, -112(%rbp) ## 8-byte Spill
callq _INIT_LIST_HEAD
cmpq $0, -56(%rbp) ## 8-byte Folded Reload
je LBB0_19
## %bb.16:
movq %rbx, %r15
movl (%r13), %esi
movl $24, %edi
callq _kmalloc
testq %rax, %rax
je LBB0_26
## %bb.17:
movq %rax, %rbx
movq _MEM_PRI@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq -48(%rbp), %rdi ## 8-byte Reload
movq %rbx, %rdx
callq _lpfc_mbuf_alloc
movq %rax, 8(%rbx)
testq %rax, %rax
je LBB0_48
## %bb.18:
movq %rbx, -64(%rbp) ## 8-byte Spill
addq $16, %rbx
movq %rbx, %rdi
callq _INIT_LIST_HEAD
movq %r15, %rbx
jmp LBB0_20
LBB0_19:
xorl %eax, %eax
movq %rax, -64(%rbp) ## 8-byte Spill
LBB0_20:
movl (%r13), %esi
movl $24, %edi
callq _kmalloc
movq %rax, %r15
testq %rax, %rax
je LBB0_45
## %bb.21:
movq _MEM_PRI@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq -48(%rbp), %rdi ## 8-byte Reload
movq %r15, %rdx
callq _lpfc_mbuf_alloc
movq %rax, 8(%r15)
testq %rax, %rax
je LBB0_45
## %bb.22:
movq %r15, %rdi
addq $16, %rdi
callq _INIT_LIST_HEAD
movl (%r15), %edi
callq _putPaddrHigh
cmpq $0, -56(%rbp) ## 8-byte Folded Reload
je LBB0_27
## %bb.23:
movq %rax, 128(%r12)
movl (%r15), %edi
callq _putPaddrLow
movq %rax, 120(%r12)
movq _BUFF_TYPE_BLP_64@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, 112(%r12)
movl $80, 104(%r12)
movq -80(%rbp), %rdx ## 8-byte Reload
movq %rdx, 96(%r12)
movq _CMD_ELS_REQUEST64_CR@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 180(%r12)
cmpq $128, %rbx
je LBB0_29
## %bb.24:
cmpq $129, %rbx
jne LBB0_30
## %bb.25:
movq _FF_DEF_RATOV@GOTPCREL(%rip), %rax
movl (%rax), %eax
addl %eax, %eax
movl %eax, 56(%r12)
jmp LBB0_28
LBB0_26:
xorl %ebx, %ebx
jmp LBB0_48
LBB0_27:
movq %rax, 168(%r12)
movl (%r15), %edi
callq _putPaddrLow
movq %rax, 160(%r12)
movq _BUFF_TYPE_BLP_64@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, 152(%r12)
movl $40, 144(%r12)
movq -80(%rbp), %rdx ## 8-byte Reload
movq %rdx, 136(%r12)
movq _CMD_XMIT_ELS_RSP64_CX@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 180(%r12)
LBB0_28:
movq -48(%rbp), %rcx ## 8-byte Reload
jmp LBB0_32
LBB0_29:
movq -48(%rbp), %rcx ## 8-byte Reload
movl 4(%rcx), %eax
jmp LBB0_31
LBB0_30:
movq -48(%rbp), %rcx ## 8-byte Reload
movl 4(%rcx), %eax
addl %eax, %eax
LBB0_31:
movl %eax, 56(%r12)
LBB0_32:
movabsq $4294967297, %rax ## imm = 0x100000001
movq %rax, 60(%r12)
movq _CLASS3@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 176(%r12)
movq _LPFC_SLI3_NPIV_ENABLED@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, 8(%rcx)
je LBB0_36
LBB0_33:
cmpq $0, -56(%rbp) ## 8-byte Folded Reload
je LBB0_35
## %bb.34:
movq -72(%rbp), %rcx ## 8-byte Reload
movl 20(%rcx), %eax
movl %eax, 88(%r12)
movq -48(%rbp), %rax ## 8-byte Reload
movq 24(%rax), %rax
movq 8(%rcx), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, 80(%r12)
LBB0_35:
movq $0, 72(%r12)
movq _ELS_CMD_ECHO@GOTPCREL(%rip), %rax
xorl %ecx, %ecx
cmpq %rbx, (%rax)
setne %cl
movl %ecx, 68(%r12)
jmp LBB0_38
LBB0_36:
movq -48(%rbp), %rax ## 8-byte Reload
movq 16(%rax), %rax
movq _LPFC_SLI_REV4@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_38
## %bb.37:
movq _FC_PT2PT@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq -72(%rbp), %rcx ## 8-byte Reload
testl %eax, (%rcx)
jne LBB0_33
LBB0_38:
movq 8(%r15), %r13
movl (%r14), %edi
callq _putPaddrLow
movq %rax, %rdi
callq _le32_to_cpu
movq %rax, 32(%r13)
movl (%r14), %edi
callq _putPaddrHigh
movq %rax, %rdi
callq _le32_to_cpu
movq %rax, 24(%r13)
movq -96(%rbp), %rax ## 8-byte Reload
movl %eax, 16(%r13)
movq $0, 8(%r13)
movq (%r13), %rdi
callq _le32_to_cpu
movq %rax, (%r13)
cmpq $0, -56(%rbp) ## 8-byte Folded Reload
je LBB0_40
## %bb.39:
movq -64(%rbp), %rax ## 8-byte Reload
movq %r15, -104(%rbp) ## 8-byte Spill
movq %rbx, %r15
movq %rax, %rbx
movl (%rax), %edi
callq _putPaddrLow
movq %rax, %rdi
callq _le32_to_cpu
movq %rax, 72(%r13)
movl (%rbx), %edi
movq %r15, %rbx
movq -104(%rbp), %r15 ## 8-byte Reload
callq _putPaddrHigh
movq %rax, %rdi
callq _le32_to_cpu
movq %rax, 64(%r13)
movq _FCELSSIZE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 56(%r13)
movq _BUFF_TYPE_BDE_64@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, 48(%r13)
movq 40(%r13), %rdi
callq _le32_to_cpu
movq %rax, 40(%r13)
LBB0_40:
movq -88(%rbp), %rdi ## 8-byte Reload
callq _lpfc_nlp_get
movl %eax, 48(%r12)
testl %eax, %eax
je LBB0_45
## %bb.41:
movq %r14, 40(%r12)
movq %r15, 32(%r12)
movq -120(%rbp), %rax ## 8-byte Reload
movq %rax, 24(%r12)
movq -72(%rbp), %r15 ## 8-byte Reload
movq %r15, 16(%r12)
movq -48(%rbp), %rax ## 8-byte Reload
movl 4(%rax), %eax
addl %eax, %eax
cltq
movq _LPFC_DRVR_TIMEOUT@GOTPCREL(%rip), %rcx
addq (%rcx), %rax
movq %rax, 8(%r12)
movq -64(%rbp), %rdi ## 8-byte Reload
testq %rdi, %rdi
je LBB0_43
## %bb.42:
addq $16, %rdi
movq -112(%rbp), %rsi ## 8-byte Reload
callq _list_add
LBB0_43:
movq _KERN_INFO@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _LOG_ELS@GOTPCREL(%rip), %rax
movl (%rax), %edx
cmpq $0, -56(%rbp) ## 8-byte Folded Reload
movq -80(%rbp), %r9 ## 8-byte Reload
je LBB0_52
## %bb.44:
movl 4(%r12), %r10d
movl (%r15), %r11d
movq %r15, %rdi
movl 16(%r15), %r14d
movq -88(%rbp), %rax ## 8-byte Reload
movl (%rax), %r15d
leaq L_.str(%rip), %rcx
movq %rbx, %r8
xorl %eax, %eax
pushq %r11
pushq %r15
pushq %r14
pushq %r10
callq _lpfc_printf_vlog
addq $32, %rsp
jmp LBB0_51
LBB0_45:
cmpq $0, -56(%rbp) ## 8-byte Folded Reload
movq -64(%rbp), %rbx ## 8-byte Reload
je LBB0_47
## %bb.46:
movq 8(%rbx), %rsi
movl (%rbx), %edx
movq -48(%rbp), %rdi ## 8-byte Reload
callq _lpfc_mbuf_free
LBB0_47:
movq %r15, %rdi
callq _kfree
LBB0_48:
movq 8(%r14), %rsi
movl (%r14), %edx
movq -48(%rbp), %rdi ## 8-byte Reload
callq _lpfc_mbuf_free
movq %rbx, %rdi
callq _kfree
LBB0_49:
movq %r14, %rdi
callq _kfree
movq -48(%rbp), %rdi ## 8-byte Reload
movq %r12, %rsi
callq _lpfc_sli_release_iocbq
LBB0_50:
xorl %r12d, %r12d
LBB0_51:
movq %r12, %rax
addq $88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_52:
movq -88(%rbp), %rax ## 8-byte Reload
movslq 4(%rax), %r9
movl 4(%r12), %r10d
movl (%r15), %r11d
movq %r15, %rdi
movl 16(%r15), %r14d
movl (%rax), %r15d
subq $8, %rsp
leaq L_.str.1(%rip), %rcx
movq %rbx, %r8
xorl %eax, %eax
pushq %r11
pushq %r15
pushq %r14
pushq -96(%rbp) ## 8-byte Folded Reload
pushq %r10
callq _lpfc_printf_vlog
addq $48, %rsp
jmp LBB0_51
.cfi_endproc
## -- End function
.comm _Fabric_DID,8,3 ## @Fabric_DID
.comm _HBA_FIP_SUPPORT,4,2 ## @HBA_FIP_SUPPORT
.comm _LPFC_ELS_ID_FLOGI,4,2 ## @LPFC_ELS_ID_FLOGI
.comm _LPFC_FIP_ELS_ID_SHIFT,4,2 ## @LPFC_FIP_ELS_ID_SHIFT
.comm _LPFC_FIP_ELS_ID_MASK,4,2 ## @LPFC_FIP_ELS_ID_MASK
.comm _LPFC_ELS_ID_FDISC,4,2 ## @LPFC_ELS_ID_FDISC
.comm _LPFC_ELS_ID_LOGO,4,2 ## @LPFC_ELS_ID_LOGO
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _MEM_PRI,4,2 ## @MEM_PRI
.comm _BUFF_TYPE_BLP_64,8,3 ## @BUFF_TYPE_BLP_64
.comm _CMD_ELS_REQUEST64_CR,4,2 ## @CMD_ELS_REQUEST64_CR
.comm _FF_DEF_RATOV,4,2 ## @FF_DEF_RATOV
.comm _CMD_XMIT_ELS_RSP64_CX,4,2 ## @CMD_XMIT_ELS_RSP64_CX
.comm _CLASS3,4,2 ## @CLASS3
.comm _LPFC_SLI3_NPIV_ENABLED,4,2 ## @LPFC_SLI3_NPIV_ENABLED
.comm _LPFC_SLI_REV4,8,3 ## @LPFC_SLI_REV4
.comm _FC_PT2PT,4,2 ## @FC_PT2PT
.comm _ELS_CMD_ECHO,8,3 ## @ELS_CMD_ECHO
.comm _FCELSSIZE,4,2 ## @FCELSSIZE
.comm _BUFF_TYPE_BDE_64,8,3 ## @BUFF_TYPE_BDE_64
.comm _LPFC_DRVR_TIMEOUT,8,3 ## @LPFC_DRVR_TIMEOUT
.comm _KERN_INFO,4,2 ## @KERN_INFO
.comm _LOG_ELS,4,2 ## @LOG_ELS
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "0116 Xmit ELS command x%x to remote NPORT x%x I/O tag: x%x, port state:x%x rpi x%x fc_flag:x%x\n"
L_.str.1: ## @.str.1
.asciz "0117 Xmit ELS response x%x to remote NPORT x%x I/O tag: x%x, size: x%x port_state x%x rpi x%x fc_flag x%x\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _lpfc_prep_els_iocb ; -- Begin function lpfc_prep_els_iocb
.p2align 2
_lpfc_prep_els_iocb: ; @lpfc_prep_els_iocb
.cfi_startproc
; %bb.0:
sub sp, sp, #160
.cfi_def_cfa_offset 160
stp x28, x27, [sp, #64] ; 16-byte Folded Spill
stp x26, x25, [sp, #80] ; 16-byte Folded Spill
stp x24, x23, [sp, #96] ; 16-byte Folded Spill
stp x22, x21, [sp, #112] ; 16-byte Folded Spill
stp x20, x19, [sp, #128] ; 16-byte Folded Spill
stp x29, x30, [sp, #144] ; 16-byte Folded Spill
add x29, sp, #144
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x27, x6
mov x24, x5
mov x25, x4
mov x20, x3
mov x22, x2
mov x26, x1
mov x21, x0
ldr x23, [x0, #24]
mov x0, x23
bl _lpfc_is_link_up
cbz w0, LBB0_50
; %bb.1:
mov x0, x23
bl _lpfc_sli_get_iocbq
mov x19, x0
cbz x0, LBB0_51
; %bb.2:
Lloh0:
adrp x8, _Fabric_DID@GOTPAGE
Lloh1:
ldr x8, [x8, _Fabric_DID@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x8, x24
str w22, [sp, #52] ; 4-byte Folded Spill
str x25, [sp, #56] ; 8-byte Folded Spill
b.ne LBB0_9
; %bb.3:
sub x8, x27, #128
cmp x8, #2
b.hi LBB0_9
; %bb.4:
ldr w8, [x23]
Lloh3:
adrp x9, _HBA_FIP_SUPPORT@GOTPAGE
Lloh4:
ldr x9, [x9, _HBA_FIP_SUPPORT@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
and w8, w9, w8
cbz w8, LBB0_9
; %bb.5:
cmp x27, #128
b.eq LBB0_10
; %bb.6:
cmp x27, #130
b.eq LBB0_11
; %bb.7:
cmp x27, #129
b.ne LBB0_14
; %bb.8:
Lloh6:
adrp x8, _LPFC_ELS_ID_FLOGI@GOTPAGE
Lloh7:
ldr x8, [x8, _LPFC_ELS_ID_FLOGI@GOTPAGEOFF]
b LBB0_12
LBB0_9:
Lloh8:
adrp x8, _LPFC_FIP_ELS_ID_MASK@GOTPAGE
Lloh9:
ldr x8, [x8, _LPFC_FIP_ELS_ID_MASK@GOTPAGEOFF]
Lloh10:
ldr w8, [x8]
ldr w9, [x19]
bic w8, w9, w8
b LBB0_13
LBB0_10:
Lloh11:
adrp x8, _LPFC_ELS_ID_LOGO@GOTPAGE
Lloh12:
ldr x8, [x8, _LPFC_ELS_ID_LOGO@GOTPAGEOFF]
b LBB0_12
LBB0_11:
Lloh13:
adrp x8, _LPFC_ELS_ID_FDISC@GOTPAGE
Lloh14:
ldr x8, [x8, _LPFC_ELS_ID_FDISC@GOTPAGEOFF]
LBB0_12:
ldr w8, [x8]
Lloh15:
adrp x9, _LPFC_FIP_ELS_ID_SHIFT@GOTPAGE
Lloh16:
ldr x9, [x9, _LPFC_FIP_ELS_ID_SHIFT@GOTPAGEOFF]
Lloh17:
ldr w9, [x9]
Lloh18:
adrp x10, _LPFC_FIP_ELS_ID_MASK@GOTPAGE
Lloh19:
ldr x10, [x10, _LPFC_FIP_ELS_ID_MASK@GOTPAGEOFF]
lsl w8, w8, w9
Lloh20:
ldr w9, [x10]
and w8, w8, w9
ldr w9, [x19]
orr w8, w9, w8
LBB0_13:
str w8, [x19]
LBB0_14:
Lloh21:
adrp x22, _GFP_KERNEL@GOTPAGE
Lloh22:
ldr x22, [x22, _GFP_KERNEL@GOTPAGEOFF]
ldr w1, [x22]
mov w0, #24
bl _kmalloc
mov x28, x0
cbz x0, LBB0_49
; %bb.15:
Lloh23:
adrp x25, _MEM_PRI@GOTPAGE
Lloh24:
ldr x25, [x25, _MEM_PRI@GOTPAGEOFF]
ldr w1, [x25]
mov x0, x23
mov x2, x28
bl _lpfc_mbuf_alloc
str x0, [x28, #8]
cbz x0, LBB0_49
; %bb.16:
add x0, x28, #16
str x0, [sp, #32] ; 8-byte Folded Spill
bl _INIT_LIST_HEAD
cbz x26, LBB0_20
; %bb.17:
str x20, [sp, #24] ; 8-byte Folded Spill
ldr w1, [x22]
mov w0, #24
bl _kmalloc
mov x20, x0
cbz x0, LBB0_48
; %bb.18:
ldr w1, [x25]
mov x0, x23
mov x2, x20
bl _lpfc_mbuf_alloc
str x0, [x20, #8]
cbz x0, LBB0_48
; %bb.19:
str x20, [sp, #40] ; 8-byte Folded Spill
add x0, x20, #16
bl _INIT_LIST_HEAD
ldr x20, [sp, #24] ; 8-byte Folded Reload
b LBB0_21
LBB0_20:
str xzr, [sp, #40] ; 8-byte Folded Spill
LBB0_21:
ldr w1, [x22]
mov w0, #24
bl _kmalloc
mov x22, x0
cbz x0, LBB0_45
; %bb.22:
ldr w1, [x25]
mov x0, x23
mov x2, x22
bl _lpfc_mbuf_alloc
str x0, [x22, #8]
cbz x0, LBB0_45
; %bb.23:
add x0, x22, #16
bl _INIT_LIST_HEAD
ldr w0, [x22]
bl _putPaddrHigh
cbz x26, LBB0_27
; %bb.24:
str x0, [x19, #128]
ldr w0, [x22]
bl _putPaddrLow
Lloh25:
adrp x8, _BUFF_TYPE_BLP_64@GOTPAGE
Lloh26:
ldr x8, [x8, _BUFF_TYPE_BLP_64@GOTPAGEOFF]
Lloh27:
ldr x8, [x8]
stp x8, x0, [x19, #112]
mov w8, #80
str w8, [x19, #104]
str x24, [x19, #96]
Lloh28:
adrp x8, _CMD_ELS_REQUEST64_CR@GOTPAGE
Lloh29:
ldr x8, [x8, _CMD_ELS_REQUEST64_CR@GOTPAGEOFF]
Lloh30:
ldr w8, [x8]
str w8, [x19, #180]
cmp x27, #128
b.eq LBB0_28
; %bb.25:
cmp x27, #129
b.ne LBB0_29
; %bb.26:
Lloh31:
adrp x8, _FF_DEF_RATOV@GOTPAGE
Lloh32:
ldr x8, [x8, _FF_DEF_RATOV@GOTPAGEOFF]
Lloh33:
ldr w8, [x8]
b LBB0_30
LBB0_27:
str x0, [x19, #168]
ldr w0, [x22]
bl _putPaddrLow
Lloh34:
adrp x8, _BUFF_TYPE_BLP_64@GOTPAGE
Lloh35:
ldr x8, [x8, _BUFF_TYPE_BLP_64@GOTPAGEOFF]
Lloh36:
ldr x8, [x8]
stp x8, x0, [x19, #152]
mov w8, #40
str w8, [x19, #144]
str x24, [x19, #136]
Lloh37:
adrp x8, _CMD_XMIT_ELS_RSP64_CX@GOTPAGE
Lloh38:
ldr x8, [x8, _CMD_XMIT_ELS_RSP64_CX@GOTPAGEOFF]
Lloh39:
ldr w8, [x8]
str w8, [x19, #180]
b LBB0_32
LBB0_28:
ldr w8, [x23, #4]
b LBB0_31
LBB0_29:
ldr w8, [x23, #4]
LBB0_30:
lsl w8, w8, #1
LBB0_31:
str w8, [x19, #56]
LBB0_32:
ldr w25, [sp, #52] ; 4-byte Folded Reload
movi.2s v0, #1
stur d0, [x19, #60]
Lloh40:
adrp x8, _CLASS3@GOTPAGE
Lloh41:
ldr x8, [x8, _CLASS3@GOTPAGEOFF]
Lloh42:
ldr w8, [x8]
str w8, [x19, #176]
ldr w8, [x23, #8]
Lloh43:
adrp x9, _LPFC_SLI3_NPIV_ENABLED@GOTPAGE
Lloh44:
ldr x9, [x9, _LPFC_SLI3_NPIV_ENABLED@GOTPAGEOFF]
Lloh45:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_36
LBB0_33:
cbz x26, LBB0_35
; %bb.34:
ldr w8, [x21, #20]
str w8, [x19, #88]
ldr x8, [x23, #24]
ldr x9, [x21, #8]
ldr w8, [x8, x9, lsl #2]
str w8, [x19, #80]
LBB0_35:
str xzr, [x19, #72]
Lloh46:
adrp x8, _ELS_CMD_ECHO@GOTPAGE
Lloh47:
ldr x8, [x8, _ELS_CMD_ECHO@GOTPAGEOFF]
Lloh48:
ldr x8, [x8]
cmp x8, x27
cset w8, ne
str w8, [x19, #68]
b LBB0_38
LBB0_36:
ldr x8, [x23, #16]
Lloh49:
adrp x9, _LPFC_SLI_REV4@GOTPAGE
Lloh50:
ldr x9, [x9, _LPFC_SLI_REV4@GOTPAGEOFF]
Lloh51:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_38
; %bb.37:
ldr w8, [x21]
Lloh52:
adrp x9, _FC_PT2PT@GOTPAGE
Lloh53:
ldr x9, [x9, _FC_PT2PT@GOTPAGEOFF]
Lloh54:
ldr w9, [x9]
tst w9, w8
b.ne LBB0_33
LBB0_38:
str x22, [sp, #24] ; 8-byte Folded Spill
ldr x22, [x22, #8]
ldr w0, [x28]
bl _putPaddrLow
bl _le32_to_cpu
str x0, [x22, #32]
ldr w0, [x28]
bl _putPaddrHigh
bl _le32_to_cpu
str x0, [x22, #24]
str w25, [x22, #16]
str xzr, [x22, #8]
ldr x0, [x22]
bl _le32_to_cpu
str x0, [x22]
cbz x26, LBB0_40
; %bb.39:
mov x25, x20
ldr x20, [sp, #40] ; 8-byte Folded Reload
ldr w0, [x20]
bl _putPaddrLow
bl _le32_to_cpu
str x0, [x22, #72]
ldr w0, [x20]
mov x20, x25
bl _putPaddrHigh
bl _le32_to_cpu
str x0, [x22, #64]
Lloh55:
adrp x8, _FCELSSIZE@GOTPAGE
Lloh56:
ldr x8, [x8, _FCELSSIZE@GOTPAGEOFF]
Lloh57:
ldr w8, [x8]
str w8, [x22, #56]
Lloh58:
adrp x8, _BUFF_TYPE_BDE_64@GOTPAGE
Lloh59:
ldr x8, [x8, _BUFF_TYPE_BDE_64@GOTPAGEOFF]
Lloh60:
ldr x8, [x8]
str x8, [x22, #48]
ldr x0, [x22, #40]
bl _le32_to_cpu
str x0, [x22, #40]
LBB0_40:
ldr x0, [sp, #56] ; 8-byte Folded Reload
bl _lpfc_nlp_get
str w0, [x19, #48]
ldr x22, [sp, #24] ; 8-byte Folded Reload
cbz w0, LBB0_45
; %bb.41:
stp x22, x28, [x19, #32]
str x20, [x19, #24]
ldr w8, [x23, #4]
lsl w8, w8, #1
Lloh61:
adrp x9, _LPFC_DRVR_TIMEOUT@GOTPAGE
Lloh62:
ldr x9, [x9, _LPFC_DRVR_TIMEOUT@GOTPAGEOFF]
Lloh63:
ldr x9, [x9]
add x8, x9, w8, sxtw
stp x8, x21, [x19, #8]
ldr x8, [sp, #40] ; 8-byte Folded Reload
cbz x8, LBB0_43
; %bb.42:
add x0, x8, #16
ldr x1, [sp, #32] ; 8-byte Folded Reload
bl _list_add
LBB0_43:
Lloh64:
adrp x8, _KERN_INFO@GOTPAGE
Lloh65:
ldr x8, [x8, _KERN_INFO@GOTPAGEOFF]
Lloh66:
ldr w1, [x8]
Lloh67:
adrp x8, _LOG_ELS@GOTPAGE
Lloh68:
ldr x8, [x8, _LOG_ELS@GOTPAGEOFF]
Lloh69:
ldr w2, [x8]
ldr w7, [sp, #52] ; 4-byte Folded Reload
ldr x9, [sp, #56] ; 8-byte Folded Reload
cbz x26, LBB0_52
; %bb.44:
ldr w6, [x19, #4]
ldr w7, [x21, #16]
ldr w8, [x9]
ldr w9, [x21]
stp w8, w9, [sp]
Lloh70:
adrp x3, l_.str@PAGE
Lloh71:
add x3, x3, l_.str@PAGEOFF
mov x0, x21
mov x4, x27
mov x5, x24
bl _lpfc_printf_vlog
b LBB0_51
LBB0_45:
ldr x20, [sp, #40] ; 8-byte Folded Reload
cbz x26, LBB0_47
; %bb.46:
ldr x1, [x20, #8]
ldr w2, [x20]
mov x0, x23
bl _lpfc_mbuf_free
LBB0_47:
mov x0, x22
bl _kfree
LBB0_48:
ldr x1, [x28, #8]
ldr w2, [x28]
mov x0, x23
bl _lpfc_mbuf_free
mov x0, x20
bl _kfree
LBB0_49:
mov x0, x28
bl _kfree
mov x0, x23
mov x1, x19
bl _lpfc_sli_release_iocbq
LBB0_50:
mov x19, #0
LBB0_51:
mov x0, x19
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
ldp x20, x19, [sp, #128] ; 16-byte Folded Reload
ldp x22, x21, [sp, #112] ; 16-byte Folded Reload
ldp x24, x23, [sp, #96] ; 16-byte Folded Reload
ldp x26, x25, [sp, #80] ; 16-byte Folded Reload
ldp x28, x27, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #160
ret
LBB0_52:
ldr w6, [x19, #4]
ldr w8, [x21, #16]
ldp w9, w5, [x9]
; kill: def $w5 killed $w5 def $x5
sxtw x5, w5
ldr w10, [x21]
str x10, [sp, #8]
stp w8, w9, [sp]
Lloh72:
adrp x3, l_.str.1@PAGE
Lloh73:
add x3, x3, l_.str.1@PAGEOFF
mov x0, x21
mov x4, x27
bl _lpfc_printf_vlog
b LBB0_51
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGot Lloh21, Lloh22
.loh AdrpLdrGot Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.loh AdrpLdrGotLdr Lloh37, Lloh38, Lloh39
.loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36
.loh AdrpLdrGotLdr Lloh43, Lloh44, Lloh45
.loh AdrpLdrGotLdr Lloh40, Lloh41, Lloh42
.loh AdrpLdrGotLdr Lloh46, Lloh47, Lloh48
.loh AdrpLdrGotLdr Lloh49, Lloh50, Lloh51
.loh AdrpLdrGotLdr Lloh52, Lloh53, Lloh54
.loh AdrpLdrGotLdr Lloh58, Lloh59, Lloh60
.loh AdrpLdrGotLdr Lloh55, Lloh56, Lloh57
.loh AdrpLdrGotLdr Lloh61, Lloh62, Lloh63
.loh AdrpLdrGotLdr Lloh67, Lloh68, Lloh69
.loh AdrpLdrGotLdr Lloh64, Lloh65, Lloh66
.loh AdrpAdd Lloh70, Lloh71
.loh AdrpAdd Lloh72, Lloh73
.cfi_endproc
; -- End function
.comm _Fabric_DID,8,3 ; @Fabric_DID
.comm _HBA_FIP_SUPPORT,4,2 ; @HBA_FIP_SUPPORT
.comm _LPFC_ELS_ID_FLOGI,4,2 ; @LPFC_ELS_ID_FLOGI
.comm _LPFC_FIP_ELS_ID_SHIFT,4,2 ; @LPFC_FIP_ELS_ID_SHIFT
.comm _LPFC_FIP_ELS_ID_MASK,4,2 ; @LPFC_FIP_ELS_ID_MASK
.comm _LPFC_ELS_ID_FDISC,4,2 ; @LPFC_ELS_ID_FDISC
.comm _LPFC_ELS_ID_LOGO,4,2 ; @LPFC_ELS_ID_LOGO
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _MEM_PRI,4,2 ; @MEM_PRI
.comm _BUFF_TYPE_BLP_64,8,3 ; @BUFF_TYPE_BLP_64
.comm _CMD_ELS_REQUEST64_CR,4,2 ; @CMD_ELS_REQUEST64_CR
.comm _FF_DEF_RATOV,4,2 ; @FF_DEF_RATOV
.comm _CMD_XMIT_ELS_RSP64_CX,4,2 ; @CMD_XMIT_ELS_RSP64_CX
.comm _CLASS3,4,2 ; @CLASS3
.comm _LPFC_SLI3_NPIV_ENABLED,4,2 ; @LPFC_SLI3_NPIV_ENABLED
.comm _LPFC_SLI_REV4,8,3 ; @LPFC_SLI_REV4
.comm _FC_PT2PT,4,2 ; @FC_PT2PT
.comm _ELS_CMD_ECHO,8,3 ; @ELS_CMD_ECHO
.comm _FCELSSIZE,4,2 ; @FCELSSIZE
.comm _BUFF_TYPE_BDE_64,8,3 ; @BUFF_TYPE_BDE_64
.comm _LPFC_DRVR_TIMEOUT,8,3 ; @LPFC_DRVR_TIMEOUT
.comm _KERN_INFO,4,2 ; @KERN_INFO
.comm _LOG_ELS,4,2 ; @LOG_ELS
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "0116 Xmit ELS command x%x to remote NPORT x%x I/O tag: x%x, port state:x%x rpi x%x fc_flag:x%x\n"
l_.str.1: ; @.str.1
.asciz "0117 Xmit ELS response x%x to remote NPORT x%x I/O tag: x%x, size: x%x port_state x%x rpi x%x fc_flag x%x\n"
.subsections_via_symbols
| AnghaBench/linux/drivers/scsi/lpfc/extr_lpfc_els.c_lpfc_prep_els_iocb.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _PEM_write_bio_Parameters ## -- Begin function PEM_write_bio_Parameters
.p2align 4, 0x90
_PEM_write_bio_Parameters: ## @PEM_write_bio_Parameters
.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 $88, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -32(%rbp)
movq (%rsi), %rcx
xorl %eax, %eax
testq %rcx, %rcx
je LBB0_3
## %bb.1:
cmpq $0, (%rcx)
je LBB0_3
## %bb.2:
movq %rsi, %rbx
movq %rdi, %r14
movl 8(%rcx), %ecx
leaq L_.str(%rip), %rdx
leaq -112(%rbp), %r15
movq %r15, %rdi
movl $80, %esi
callq _BIO_snprintf
movq (%rbx), %rax
movq (%rax), %rdi
subq $8, %rsp
movq %r15, %rsi
movq %r14, %rdx
movq %rbx, %rcx
xorl %r8d, %r8d
xorl %r9d, %r9d
pushq $0
pushq $0
pushq $0
callq _PEM_ASN1_write_bio
addq $32, %rsp
LBB0_3:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -32(%rbp), %rcx
jne LBB0_5
## %bb.4:
addq $88, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_5:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s PARAMETERS"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _PEM_write_bio_Parameters ; -- Begin function PEM_write_bio_Parameters
.p2align 2
_PEM_write_bio_Parameters: ; @PEM_write_bio_Parameters
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
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
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-24]
ldr x8, [x1]
cbz x8, LBB0_3
; %bb.1:
ldr x9, [x8]
cbz x9, LBB0_3
; %bb.2:
mov x19, x1
mov x20, x0
ldr w3, [x8, #8]
Lloh3:
adrp x2, l_.str@PAGE
Lloh4:
add x2, x2, l_.str@PAGEOFF
add x0, sp, #8
mov w1, #80
bl _BIO_snprintf
ldr x8, [x19]
ldr x0, [x8]
str xzr, [sp]
add x1, sp, #8
mov x2, x20
mov x3, x19
mov x4, #0
mov x5, #0
mov w6, #0
mov w7, #0
bl _PEM_ASN1_write_bio
b LBB0_4
LBB0_3:
mov w0, #0
LBB0_4:
ldur x8, [x29, #-24]
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_6
; %bb.5:
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #128
ret
LBB0_6:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s PARAMETERS"
.subsections_via_symbols
| AnghaBench/openssl/crypto/pem/extr_pem_pkey.c_PEM_write_bio_Parameters.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _adler32 ## -- Begin function adler32
.p2align 4, 0x90
_adler32: ## @adler32
.cfi_startproc
## %bb.0:
testq %rsi, %rsi
je LBB0_1
## %bb.2:
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
movl %edx, %r8d
movl %edi, %ecx
shrl $16, %ecx
movzwl %di, %edi
testl %edx, %edx
je LBB0_17
## %bb.3:
movabsq $4223091239536077, %r9 ## imm = 0xF00E10D2FC5CD
jmp LBB0_4
.p2align 4, 0x90
LBB0_15: ## in Loop: Header=BB0_4 Depth=1
addq %r10, %rsi
incq %rsi
LBB0_16: ## in Loop: Header=BB0_4 Depth=1
movq %rdi, %rax
mulq %r9
movq %rdi, %rax
subq %rdx, %rax
shrq %rax
addq %rdx, %rax
shrq $15, %rax
imulq $65521, %rax, %rbx ## imm = 0xFFF1
movq %rcx, %rax
mulq %r9
subq %rbx, %rdi
movq %rcx, %rax
subq %rdx, %rax
shrq %rax
addq %rdx, %rax
shrq $15, %rax
imulq $65521, %rax, %rax ## imm = 0xFFF1
subq %rax, %rcx
testl %r8d, %r8d
je LBB0_17
LBB0_4: ## =>This Loop Header: Depth=1
## Child Loop BB0_5 Depth 2
## Child Loop BB0_10 Depth 2
## Child Loop BB0_14 Depth 2
cmpl $5552, %r8d ## imm = 0x15B0
movl $5552, %r11d ## imm = 0x15B0
cmovbl %r8d, %r11d
subl %r11d, %r8d
cmpl $16, %r11d
jb LBB0_7
.p2align 4, 0x90
LBB0_5: ## Parent Loop BB0_4 Depth=1
## => This Inner Loop Header: Depth=2
movzbl (%rsi), %eax
addq %rdi, %rax
addq %rax, %rcx
movzbl 1(%rsi), %edx
addq %rax, %rdx
addq %rdx, %rcx
movzbl 2(%rsi), %eax
addq %rdx, %rax
addq %rax, %rcx
movzbl 3(%rsi), %edx
addq %rax, %rdx
addq %rdx, %rcx
movzbl 4(%rsi), %eax
addq %rdx, %rax
addq %rax, %rcx
movzbl 5(%rsi), %edx
addq %rax, %rdx
addq %rdx, %rcx
movzbl 6(%rsi), %eax
addq %rdx, %rax
addq %rax, %rcx
movzbl 7(%rsi), %edx
addq %rax, %rdx
addq %rdx, %rcx
movzbl 8(%rsi), %eax
addq %rdx, %rax
addq %rax, %rcx
movzbl 9(%rsi), %edx
addq %rax, %rdx
addq %rdx, %rcx
movzbl 10(%rsi), %eax
addq %rdx, %rax
addq %rax, %rcx
movzbl 11(%rsi), %edx
addq %rax, %rdx
addq %rdx, %rcx
movzbl 12(%rsi), %eax
addq %rdx, %rax
addq %rax, %rcx
movzbl 13(%rsi), %edx
addq %rax, %rdx
addq %rdx, %rcx
movzbl 14(%rsi), %eax
addq %rdx, %rax
addq %rax, %rcx
movzbl 15(%rsi), %edi
addq %rax, %rdi
addq %rdi, %rcx
addq $16, %rsi
addl $-16, %r11d
cmpl $15, %r11d
ja LBB0_5
## %bb.6: ## in Loop: Header=BB0_4 Depth=1
testl %r11d, %r11d
je LBB0_16
LBB0_7: ## in Loop: Header=BB0_4 Depth=1
leal -1(%r11), %r10d
testb $3, %r11b
je LBB0_8
## %bb.9: ## in Loop: Header=BB0_4 Depth=1
movl %r11d, %edx
andl $3, %edx
xorl %eax, %eax
.p2align 4, 0x90
LBB0_10: ## Parent Loop BB0_4 Depth=1
## => This Inner Loop Header: Depth=2
movzbl (%rsi,%rax), %ebx
addq %rbx, %rdi
addq %rdi, %rcx
incq %rax
cmpl %eax, %edx
jne LBB0_10
## %bb.11: ## in Loop: Header=BB0_4 Depth=1
leaq (%rsi,%rax), %rdx
subl %eax, %r11d
cmpl $3, %r10d
jb LBB0_15
jmp LBB0_13
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_4 Depth=1
movq %rsi, %rdx
cmpl $3, %r10d
jb LBB0_15
LBB0_13: ## in Loop: Header=BB0_4 Depth=1
movl %r11d, %r11d
xorl %eax, %eax
.p2align 4, 0x90
LBB0_14: ## Parent Loop BB0_4 Depth=1
## => This Inner Loop Header: Depth=2
movzbl (%rdx,%rax), %ebx
addq %rdi, %rbx
addq %rbx, %rcx
movzbl 1(%rdx,%rax), %edi
addq %rbx, %rdi
addq %rdi, %rcx
movzbl 2(%rdx,%rax), %ebx
addq %rdi, %rbx
addq %rbx, %rcx
movzbl 3(%rdx,%rax), %edi
addq %rbx, %rdi
addq %rdi, %rcx
addq $4, %rax
cmpl %eax, %r11d
jne LBB0_14
jmp LBB0_15
LBB0_17:
shlq $16, %rcx
orq %rdi, %rcx
popq %rbx
popq %rbp
movq %rcx, %rax
retq
LBB0_1:
movl $1, %eax
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _adler32 ; -- Begin function adler32
.p2align 2
_adler32: ; @adler32
.cfi_startproc
; %bb.0:
cbz x1, LBB0_11
; %bb.1:
ubfx x12, x0, #16, #16
and x13, x0, #0xffff
cbz w2, LBB0_10
; %bb.2:
mov w8, #5552
mov x9, #50637
movk x9, #3375, lsl #16
movk x9, #225, lsl #32
movk x9, #15, lsl #48
mov w10, #65521
b LBB0_4
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
umulh x11, x13, x9
sub x14, x13, x11
add x11, x11, x14, lsr #1
lsr x11, x11, #15
msub x13, x11, x10, x13
umulh x11, x12, x9
sub x14, x12, x11
add x11, x11, x14, lsr #1
lsr x11, x11, #15
msub x12, x11, x10, x12
cbz w2, LBB0_10
LBB0_4: ; =>This Loop Header: Depth=1
; Child Loop BB0_5 Depth 2
; Child Loop BB0_8 Depth 2
cmp w2, w8
csel w11, w2, w8, lo
sub w2, w2, w11
cmp w11, #16
b.lo LBB0_7
LBB0_5: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w14, [x1]
add x13, x13, x14
add x12, x13, x12
ldrb w14, [x1, #1]
add x13, x13, x14
add x12, x12, x13
ldrb w14, [x1, #2]
add x13, x13, x14
add x12, x12, x13
ldrb w14, [x1, #3]
add x13, x13, x14
add x12, x12, x13
ldrb w14, [x1, #4]
add x13, x13, x14
add x12, x12, x13
ldrb w14, [x1, #5]
add x13, x13, x14
add x12, x12, x13
ldrb w14, [x1, #6]
add x13, x13, x14
add x12, x12, x13
ldrb w14, [x1, #7]
add x13, x13, x14
add x12, x12, x13
ldrb w14, [x1, #8]
add x13, x13, x14
add x12, x12, x13
ldrb w14, [x1, #9]
add x13, x13, x14
add x12, x12, x13
ldrb w14, [x1, #10]
add x13, x13, x14
add x12, x12, x13
ldrb w14, [x1, #11]
add x13, x13, x14
add x12, x12, x13
ldrb w14, [x1, #12]
add x13, x13, x14
add x12, x12, x13
ldrb w14, [x1, #13]
add x13, x13, x14
add x12, x12, x13
ldrb w14, [x1, #14]
add x13, x13, x14
add x12, x12, x13
ldrb w14, [x1, #15]
add x13, x13, x14
add x12, x12, x13
add x1, x1, #16
sub w11, w11, #16
cmp w11, #15
b.hi LBB0_5
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
cbz w11, LBB0_3
LBB0_7: ; in Loop: Header=BB0_4 Depth=1
sub w14, w11, #1
mov x15, x1
LBB0_8: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w16, [x15], #1
add x13, x13, x16
add x12, x13, x12
subs w11, w11, #1
b.ne LBB0_8
; %bb.9: ; in Loop: Header=BB0_4 Depth=1
add x11, x1, x14
add x1, x11, #1
b LBB0_3
LBB0_10:
orr x0, x13, x12, lsl #16
ret
LBB0_11:
mov w0, #1
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/176704683.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function A3XX_HLSQ_FS_CONTROL_REG_INSTRLENGTH
_A3XX_HLSQ_FS_CONTROL_REG_INSTRLENGTH: ## @A3XX_HLSQ_FS_CONTROL_REG_INSTRLENGTH
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, %eax
movq _A3XX_HLSQ_FS_CONTROL_REG_INSTRLENGTH__SHIFT@GOTPCREL(%rip), %rcx
movb (%rcx), %cl
shll %cl, %eax
movq _A3XX_HLSQ_FS_CONTROL_REG_INSTRLENGTH__MASK@GOTPCREL(%rip), %rcx
andl (%rcx), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _A3XX_HLSQ_FS_CONTROL_REG_INSTRLENGTH__SHIFT,4,2 ## @A3XX_HLSQ_FS_CONTROL_REG_INSTRLENGTH__SHIFT
.comm _A3XX_HLSQ_FS_CONTROL_REG_INSTRLENGTH__MASK,4,2 ## @A3XX_HLSQ_FS_CONTROL_REG_INSTRLENGTH__MASK
.no_dead_strip _A3XX_HLSQ_FS_CONTROL_REG_INSTRLENGTH
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function A3XX_HLSQ_FS_CONTROL_REG_INSTRLENGTH
_A3XX_HLSQ_FS_CONTROL_REG_INSTRLENGTH: ; @A3XX_HLSQ_FS_CONTROL_REG_INSTRLENGTH
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _A3XX_HLSQ_FS_CONTROL_REG_INSTRLENGTH__SHIFT@GOTPAGE
Lloh1:
ldr x8, [x8, _A3XX_HLSQ_FS_CONTROL_REG_INSTRLENGTH__SHIFT@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
lsl w8, w0, w8
Lloh3:
adrp x9, _A3XX_HLSQ_FS_CONTROL_REG_INSTRLENGTH__MASK@GOTPAGE
Lloh4:
ldr x9, [x9, _A3XX_HLSQ_FS_CONTROL_REG_INSTRLENGTH__MASK@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
and w0, w8, w9
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _A3XX_HLSQ_FS_CONTROL_REG_INSTRLENGTH__SHIFT,4,2 ; @A3XX_HLSQ_FS_CONTROL_REG_INSTRLENGTH__SHIFT
.comm _A3XX_HLSQ_FS_CONTROL_REG_INSTRLENGTH__MASK,4,2 ; @A3XX_HLSQ_FS_CONTROL_REG_INSTRLENGTH__MASK
.no_dead_strip _A3XX_HLSQ_FS_CONTROL_REG_INSTRLENGTH
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a3xx.xml.h_A3XX_HLSQ_FS_CONTROL_REG_INSTRLENGTH.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $136, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -32(%rbp)
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -148(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movl -148(%rbp), %esi
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _printf
cmpl $0, -148(%rbp)
jle LBB0_11
## %bb.1:
leaq -144(%rbp), %r15
leaq L_.str.1(%rip), %r14
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _scanf
incq %rbx
movslq -148(%rbp), %r8
addq $4, %r15
cmpq %r8, %rbx
jl LBB0_2
## %bb.3:
cmpl $2, %r8d
jl LBB0_11
## %bb.4:
decl %r8d
movl $1, %eax
xorl %edx, %edx
jmp LBB0_5
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_5 Depth=1
incq %rbx
LBB0_10: ## in Loop: Header=BB0_5 Depth=1
movslq %ebx, %rcx
movl %esi, -144(%rbp,%rcx,4)
incq %rax
incq %rdx
cmpq %r8, %rdx
je LBB0_11
LBB0_5: ## =>This Loop Header: Depth=1
## Child Loop BB0_7 Depth 2
movl -148(%rbp,%rax,4), %edi
movl -144(%rbp,%rax,4), %esi
movq %rax, %rbx
cmpl %edi, %esi
jge LBB0_10
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movq %rdx, %rcx
.p2align 4, 0x90
LBB0_7: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
leal 1(%rcx), %ebx
movl %edi, -144(%rbp,%rbx,4)
leaq -1(%rcx), %rbx
movl -148(%rbp,%rcx,4), %edi
cmpl %edi, %esi
jge LBB0_9
## %bb.8: ## in Loop: Header=BB0_7 Depth=2
testq %rcx, %rcx
movq %rbx, %rcx
jg LBB0_7
jmp LBB0_9
LBB0_11:
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _printf
cmpl $0, -148(%rbp)
jle LBB0_14
## %bb.12:
leaq L_.str.4(%rip), %r14
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_13: ## =>This Inner Loop Header: Depth=1
movl -144(%rbp,%rbx,4), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
incq %rbx
movslq -148(%rbp), %rax
cmpq %rax, %rbx
jl LBB0_13
LBB0_14:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -32(%rbp), %rax
jne LBB0_16
## %bb.15:
xorl %eax, %eax
addq $136, %rsp
popq %rbx
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 "How many numbers u are going to enter?: "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "Enter %d elements: "
L_.str.3: ## @.str.3
.asciz "Order of Sorted elements: "
L_.str.4: ## @.str.4
.asciz " %d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #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]
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
bl _printf
add x8, sp, #16
str x8, [sp]
Lloh5:
adrp x0, l_.str.1@PAGE
Lloh6:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldr w8, [sp, #16]
str x8, [sp]
Lloh7:
adrp x0, l_.str.2@PAGE
Lloh8:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr w8, [sp, #16]
cmp w8, #1
b.lt LBB0_10
; %bb.1:
mov x20, #0
add x21, sp, #20
Lloh9:
adrp x19, l_.str.1@PAGE
Lloh10:
add x19, x19, l_.str.1@PAGEOFF
LBB0_2: ; =>This Inner Loop Header: Depth=1
str x21, [sp]
mov x0, x19
bl _scanf
add x20, x20, #1
ldrsw x8, [sp, #16]
add x21, x21, #4
cmp x20, x8
b.lt LBB0_2
; %bb.3:
subs w8, w8, #1
b.le LBB0_10
; %bb.4:
mov x9, #0
add x10, sp, #20
sub x11, x10, #4
mov w12, #1
b LBB0_6
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
sbfiz x14, x15, #2, #32
str w13, [x10, x14]
add x12, x12, #1
add x9, x9, #1
cmp x9, x8
b.eq LBB0_10
LBB0_6: ; =>This Loop Header: Depth=1
; Child Loop BB0_8 Depth 2
add x14, x10, x12, lsl #2
ldp w14, w13, [x14, #-4]
mov x15, x12
cmp w13, w14
b.ge LBB0_5
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
mov x15, x9
LBB0_8: ; Parent Loop BB0_6 Depth=1
; => This Inner Loop Header: Depth=2
add w16, w15, #1
str w14, [x10, w16, uxtw #2]
sub x16, x15, #1
ldr w14, [x11, x15, lsl #2]
cmp w13, w14
ccmp x15, #0, #4, lt
mov x15, x16
b.gt LBB0_8
; %bb.9: ; in Loop: Header=BB0_6 Depth=1
add x15, x16, #1
b LBB0_5
LBB0_10:
Lloh11:
adrp x0, l_.str.3@PAGE
Lloh12:
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldr w8, [sp, #16]
cmp w8, #1
b.lt LBB0_13
; %bb.11:
mov x20, #0
add x21, sp, #20
Lloh13:
adrp x19, l_.str.4@PAGE
Lloh14:
add x19, x19, l_.str.4@PAGEOFF
LBB0_12: ; =>This Inner Loop Header: Depth=1
ldr w8, [x21, x20, lsl #2]
str x8, [sp]
mov x0, x19
bl _printf
add x20, x20, #1
ldrsw x8, [sp, #16]
cmp x20, x8
b.lt LBB0_12
LBB0_13:
ldur x8, [x29, #-40]
Lloh15:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh16:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_15
; %bb.14:
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_15:
bl ___stack_chk_fail
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "How many numbers u are going to enter?: "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "Enter %d elements: "
l_.str.3: ; @.str.3
.asciz "Order of Sorted elements: "
l_.str.4: ; @.str.4
.asciz " %d"
.subsections_via_symbols
| the_stack_data/117326720.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $328, %rsp ## imm = 0x148
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -356(%rbp), %rsi
xorl %eax, %eax
callq _scanf
leaq L_str(%rip), %rdi
callq _puts
cmpl $0, -356(%rbp)
jle LBB0_3
## %bb.1:
leaq -252(%rbp), %r15
leaq L_.str.1(%rip), %r14
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _scanf
movslq -356(%rbp), %rax
incq %rbx
addq $4, %r15
cmpq %rax, %rbx
jl LBB0_2
LBB0_3:
leaq L_.str.3(%rip), %rdi
xorl %r15d, %r15d
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -360(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movl -360(%rbp), %edx
testl %edx, %edx
jle LBB0_5
## %bb.4:
shlq $2, %rdx
leaq -304(%rbp), %rdi
movl $255, %esi
callq _memset
LBB0_5:
leaq L_.str.4(%rip), %rdi
xorl %eax, %eax
callq _printf
cmpl $0, -356(%rbp)
jle LBB0_38
## %bb.6:
movl $1, %ebx
leaq L_.str.5(%rip), %r14
leaq L_.str.6(%rip), %r12
xorl %r13d, %r13d
xorl %r15d, %r15d
jmp LBB0_7
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_7 Depth=1
incl %r13d
movl %r13d, -352(%rbp,%rcx,4)
LBB0_37: ## in Loop: Header=BB0_7 Depth=1
leaq 1(%rbx), %rax
movslq -356(%rbp), %rcx
cmpq %rcx, %rbx
movq %rax, %rbx
jge LBB0_38
LBB0_7: ## =>This Loop Header: Depth=1
## Child Loop BB0_9 Depth 2
## Child Loop BB0_19 Depth 2
## Child Loop BB0_21 Depth 2
## Child Loop BB0_25 Depth 2
## Child Loop BB0_29 Depth 2
## Child Loop BB0_35 Depth 2
movl -256(%rbp,%rbx,4), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movl -360(%rbp), %eax
movl $0, %edx
testl %eax, %eax
jle LBB0_32
## %bb.8: ## in Loop: Header=BB0_7 Depth=1
movl -256(%rbp,%rbx,4), %edx
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_9: ## Parent Loop BB0_7 Depth=1
## => This Inner Loop Header: Depth=2
cmpl %edx, -304(%rbp,%rcx,4)
je LBB0_10
## %bb.11: ## in Loop: Header=BB0_9 Depth=2
incq %rcx
cmpq %rcx, %rax
jne LBB0_9
## %bb.12: ## in Loop: Header=BB0_7 Depth=1
cmpl $-1, -304(%rbp)
je LBB0_13
## %bb.14: ## in Loop: Header=BB0_7 Depth=1
movl -352(%rbp), %r9d
movl %r9d, %ecx
cmpl $2, %eax
jl LBB0_26
## %bb.15: ## in Loop: Header=BB0_7 Depth=1
leaq -1(%rax), %r8
movl $1, %edx
movl %r9d, %ecx
cmpq $8, %r8
jb LBB0_24
## %bb.16: ## in Loop: Header=BB0_7 Depth=1
movq %r8, %rdx
andq $-8, %rdx
movd %r9d, %xmm0
pshufd $0, %xmm0, %xmm0 ## xmm0 = xmm0[0,0,0,0]
leaq -8(%rdx), %rsi
movq %rsi, %rdi
shrq $3, %rdi
incq %rdi
movl %edi, %ecx
andl $3, %ecx
cmpq $24, %rsi
jae LBB0_18
## %bb.17: ## in Loop: Header=BB0_7 Depth=1
xorl %esi, %esi
movdqa %xmm0, %xmm1
jmp LBB0_20
LBB0_13: ## in Loop: Header=BB0_7 Depth=1
movl -256(%rbp,%rbx,4), %ecx
movl %ecx, -304(%rbp)
incl %r13d
movl %r13d, -352(%rbp)
jmp LBB0_33
LBB0_18: ## in Loop: Header=BB0_7 Depth=1
andq $-4, %rdi
xorl %esi, %esi
movdqa %xmm0, %xmm1
.p2align 4, 0x90
LBB0_19: ## Parent Loop BB0_7 Depth=1
## => This Inner Loop Header: Depth=2
movdqu -348(%rbp,%rsi,4), %xmm2
pminsd %xmm0, %xmm2
movdqu -332(%rbp,%rsi,4), %xmm0
pminsd %xmm1, %xmm0
movdqu -316(%rbp,%rsi,4), %xmm1
movdqu -300(%rbp,%rsi,4), %xmm3
movdqu -284(%rbp,%rsi,4), %xmm4
pminsd %xmm1, %xmm4
pminsd %xmm2, %xmm4
movdqu -268(%rbp,%rsi,4), %xmm2
pminsd %xmm3, %xmm2
pminsd %xmm0, %xmm2
movdqu -252(%rbp,%rsi,4), %xmm0
pminsd %xmm4, %xmm0
movdqu -236(%rbp,%rsi,4), %xmm1
pminsd %xmm2, %xmm1
addq $32, %rsi
addq $-4, %rdi
jne LBB0_19
LBB0_20: ## in Loop: Header=BB0_7 Depth=1
testq %rcx, %rcx
je LBB0_22
.p2align 4, 0x90
LBB0_21: ## Parent Loop BB0_7 Depth=1
## => This Inner Loop Header: Depth=2
leaq (,%rsi,4), %rdi
orq $4, %rdi
movdqu -352(%rbp,%rdi), %xmm2
pminsd %xmm2, %xmm0
movdqu -336(%rbp,%rdi), %xmm2
pminsd %xmm2, %xmm1
addq $8, %rsi
decq %rcx
jne LBB0_21
LBB0_22: ## in Loop: Header=BB0_7 Depth=1
pminsd %xmm1, %xmm0
pshufd $238, %xmm0, %xmm1 ## xmm1 = xmm0[2,3,2,3]
pminsd %xmm0, %xmm1
pshufd $85, %xmm1, %xmm0 ## xmm0 = xmm1[1,1,1,1]
pminsd %xmm1, %xmm0
movd %xmm0, %ecx
cmpq %rdx, %r8
je LBB0_26
## %bb.23: ## in Loop: Header=BB0_7 Depth=1
orq $1, %rdx
LBB0_24: ## in Loop: Header=BB0_7 Depth=1
movl %ecx, %esi
.p2align 4, 0x90
LBB0_25: ## Parent Loop BB0_7 Depth=1
## => This Inner Loop Header: Depth=2
movl -352(%rbp,%rdx,4), %ecx
cmpl %ecx, %esi
cmovll %esi, %ecx
incq %rdx
movl %ecx, %esi
cmpq %rdx, %rax
jne LBB0_25
LBB0_26: ## in Loop: Header=BB0_7 Depth=1
cmpl %r9d, %ecx
jne LBB0_28
## %bb.27: ## in Loop: Header=BB0_7 Depth=1
xorl %edx, %edx
jmp LBB0_32
LBB0_28: ## in Loop: Header=BB0_7 Depth=1
leaq -1(%rax), %rsi
xorl %edi, %edi
.p2align 4, 0x90
LBB0_29: ## Parent Loop BB0_7 Depth=1
## => This Inner Loop Header: Depth=2
cmpq %rdi, %rsi
je LBB0_30
## %bb.31: ## in Loop: Header=BB0_29 Depth=2
leaq 1(%rdi), %rdx
cmpl -348(%rbp,%rdi,4), %ecx
movq %rdx, %rdi
jne LBB0_29
jmp LBB0_32
LBB0_30: ## in Loop: Header=BB0_7 Depth=1
movl %eax, %edx
.p2align 4, 0x90
LBB0_32: ## in Loop: Header=BB0_7 Depth=1
movl -256(%rbp,%rbx,4), %ecx
movslq %edx, %rdx
movl %ecx, -304(%rbp,%rdx,4)
incl %r13d
movl %r13d, -352(%rbp,%rdx,4)
LBB0_33: ## in Loop: Header=BB0_7 Depth=1
incl %r15d
testl %eax, %eax
jle LBB0_37
## %bb.34: ## in Loop: Header=BB0_7 Depth=1
movl %r13d, -364(%rbp) ## 4-byte Spill
movl %r15d, %r13d
movq %r14, %r15
xorl %r14d, %r14d
.p2align 4, 0x90
LBB0_35: ## Parent Loop BB0_7 Depth=1
## => This Inner Loop Header: Depth=2
movl -304(%rbp,%r14,4), %esi
movq %r12, %rdi
xorl %eax, %eax
callq _printf
incq %r14
movslq -360(%rbp), %rax
cmpq %rax, %r14
jl LBB0_35
## %bb.36: ## in Loop: Header=BB0_7 Depth=1
movq %r15, %r14
movl %r13d, %r15d
movl -364(%rbp), %r13d ## 4-byte Reload
jmp LBB0_37
LBB0_38:
leaq L_.str.7(%rip), %rdi
movl %r15d, %esi
xorl %eax, %eax
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_40
## %bb.39:
xorl %eax, %eax
addq $328, %rsp ## imm = 0x148
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_40:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.globl _arrmin ## -- Begin function arrmin
.p2align 4, 0x90
_arrmin: ## @arrmin
.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), %r9d
movl %esi, %r10d
movl %r9d, %ecx
cmpl $2, %esi
jl LBB1_12
## %bb.1:
leaq -1(%r10), %r8
movl $1, %eax
movl %r9d, %ecx
cmpq $8, %r8
jb LBB1_10
## %bb.2:
movq %r8, %rax
andq $-8, %rax
movd %r9d, %xmm0
pshufd $0, %xmm0, %xmm0 ## xmm0 = xmm0[0,0,0,0]
leaq -8(%rax), %rcx
movq %rcx, %rdx
shrq $3, %rdx
incq %rdx
movl %edx, %r11d
andl $3, %r11d
cmpq $24, %rcx
jae LBB1_4
## %bb.3:
xorl %ecx, %ecx
movdqa %xmm0, %xmm1
jmp LBB1_6
LBB1_4:
andq $-4, %rdx
xorl %ecx, %ecx
movdqa %xmm0, %xmm1
.p2align 4, 0x90
LBB1_5: ## =>This Inner Loop Header: Depth=1
movdqu 4(%rdi,%rcx,4), %xmm2
pminsd %xmm0, %xmm2
movdqu 20(%rdi,%rcx,4), %xmm0
pminsd %xmm1, %xmm0
movdqu 36(%rdi,%rcx,4), %xmm1
movdqu 52(%rdi,%rcx,4), %xmm3
movdqu 68(%rdi,%rcx,4), %xmm4
pminsd %xmm1, %xmm4
pminsd %xmm2, %xmm4
movdqu 84(%rdi,%rcx,4), %xmm2
pminsd %xmm3, %xmm2
pminsd %xmm0, %xmm2
movdqu 100(%rdi,%rcx,4), %xmm0
pminsd %xmm4, %xmm0
movdqu 116(%rdi,%rcx,4), %xmm1
pminsd %xmm2, %xmm1
addq $32, %rcx
addq $-4, %rdx
jne LBB1_5
LBB1_6:
testq %r11, %r11
je LBB1_8
.p2align 4, 0x90
LBB1_7: ## =>This Inner Loop Header: Depth=1
leaq (,%rcx,4), %rdx
orq $4, %rdx
movdqu (%rdi,%rdx), %xmm2
pminsd %xmm2, %xmm0
movdqu 16(%rdi,%rdx), %xmm2
pminsd %xmm2, %xmm1
addq $8, %rcx
decq %r11
jne LBB1_7
LBB1_8:
pminsd %xmm1, %xmm0
pshufd $238, %xmm0, %xmm1 ## xmm1 = xmm0[2,3,2,3]
pminsd %xmm0, %xmm1
pshufd $85, %xmm1, %xmm0 ## xmm0 = xmm1[1,1,1,1]
pminsd %xmm1, %xmm0
movd %xmm0, %ecx
cmpq %rax, %r8
je LBB1_12
## %bb.9:
orq $1, %rax
LBB1_10:
movl %ecx, %edx
.p2align 4, 0x90
LBB1_11: ## =>This Inner Loop Header: Depth=1
movl (%rdi,%rax,4), %ecx
cmpl %ecx, %edx
cmovll %edx, %ecx
incq %rax
movl %ecx, %edx
cmpq %rax, %r10
jne LBB1_11
LBB1_12:
xorl %eax, %eax
testl %esi, %esi
jle LBB1_17
## %bb.13:
cmpl %r9d, %ecx
je LBB1_17
## %bb.14:
movq %r10, %rdx
decq %rdx
xorl %esi, %esi
.p2align 4, 0x90
LBB1_15: ## =>This Inner Loop Header: Depth=1
cmpq %rsi, %rdx
je LBB1_18
## %bb.16: ## in Loop: Header=BB1_15 Depth=1
leaq 1(%rsi), %rax
cmpl 4(%rdi,%rsi,4), %ecx
movq %rax, %rsi
jne LBB1_15
LBB1_17:
## kill: def $eax killed $eax killed $rax
popq %rbp
retq
LBB1_18:
movl %r10d, %eax
## kill: def $eax killed $eax killed $rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Length of Reference string : "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.3: ## @.str.3
.asciz "Enter no. of frames : "
L_.str.4: ## @.str.4
.asciz "\nRef. str Page frames"
L_.str.5: ## @.str.5
.asciz "\n%4d\t"
L_.str.6: ## @.str.6
.asciz "%4d"
L_.str.7: ## @.str.7
.asciz "\n\nTotal no. of page faults : %d\n"
L_str: ## @str
.asciz "Enter reference string :"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #416
.cfi_def_cfa_offset 416
stp x28, x27, [sp, #320] ; 16-byte Folded Spill
stp x26, x25, [sp, #336] ; 16-byte Folded Spill
stp x24, x23, [sp, #352] ; 16-byte Folded Spill
stp x22, x21, [sp, #368] ; 16-byte Folded Spill
stp x20, x19, [sp, #384] ; 16-byte Folded Spill
stp x29, x30, [sp, #400] ; 16-byte Folded Spill
add x29, sp, #400
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-96]
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
bl _printf
add x8, sp, #20
str x8, [sp]
Lloh5:
adrp x0, l_.str.1@PAGE
Lloh6:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
Lloh7:
adrp x0, l_str@PAGE
Lloh8:
add x0, x0, l_str@PAGEOFF
bl _puts
ldr w8, [sp, #20]
cmp w8, #1
b.lt LBB0_3
; %bb.1:
mov x20, #0
add x8, sp, #104
add x21, x8, #4
Lloh9:
adrp x19, l_.str.1@PAGE
Lloh10:
add x19, x19, l_.str.1@PAGEOFF
LBB0_2: ; =>This Inner Loop Header: Depth=1
str x21, [sp]
mov x0, x19
bl _scanf
ldrsw x8, [sp, #20]
add x20, x20, #1
add x21, x21, #4
cmp x20, x8
b.lt LBB0_2
LBB0_3:
Lloh11:
adrp x0, l_.str.3@PAGE
Lloh12:
add x0, x0, l_.str.3@PAGEOFF
bl _printf
add x8, sp, #16
str x8, [sp]
Lloh13:
adrp x0, l_.str.1@PAGE
Lloh14:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldr w8, [sp, #16]
cmp w8, #1
b.lt LBB0_5
; %bb.4:
lsl x2, x8, #2
add x0, sp, #64
mov w1, #255
bl _memset
LBB0_5:
Lloh15:
adrp x0, l_.str.4@PAGE
Lloh16:
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldr w8, [sp, #20]
cmp w8, #1
b.lt LBB0_36
; %bb.6:
mov w22, #0
mov w21, #0
add x23, sp, #24
add x8, x23, #36
str x8, [sp, #8] ; 8-byte Folded Spill
add x25, x23, #4
mov w26, #1
add x27, sp, #104
Lloh17:
adrp x19, l_.str.5@PAGE
Lloh18:
add x19, x19, l_.str.5@PAGEOFF
add x28, sp, #64
Lloh19:
adrp x20, l_.str.6@PAGE
Lloh20:
add x20, x20, l_.str.6@PAGEOFF
b LBB0_9
LBB0_7: ; in Loop: Header=BB0_9 Depth=1
add w22, w22, #1
str w22, [x9]
LBB0_8: ; in Loop: Header=BB0_9 Depth=1
add x8, x26, #1
ldrsw x9, [sp, #20]
cmp x26, x9
mov x26, x8
b.ge LBB0_37
LBB0_9: ; =>This Loop Header: Depth=1
; Child Loop BB0_11 Depth 2
; Child Loop BB0_21 Depth 2
; Child Loop BB0_24 Depth 2
; Child Loop BB0_28 Depth 2
; Child Loop BB0_35 Depth 2
ldr w8, [x27, x26, lsl #2]
str x8, [sp]
mov x0, x19
bl _printf
ldr w8, [sp, #16]
cmp w8, #1
b.lt LBB0_17
; %bb.10: ; in Loop: Header=BB0_9 Depth=1
ldr w10, [x27, x26, lsl #2]
add x9, sp, #24
add x11, sp, #64
mov x12, x8
LBB0_11: ; Parent Loop BB0_9 Depth=1
; => This Inner Loop Header: Depth=2
ldr w13, [x11]
cmp w13, w10
b.eq LBB0_7
; %bb.12: ; in Loop: Header=BB0_11 Depth=2
add x9, x9, #4
add x11, x11, #4
subs x12, x12, #1
b.ne LBB0_11
; %bb.13: ; in Loop: Header=BB0_9 Depth=1
ldr w9, [sp, #64]
cmn w9, #1
b.eq LBB0_18
; %bb.14: ; in Loop: Header=BB0_9 Depth=1
ldr w9, [sp, #24]
cmp w8, #2
b.lt LBB0_19
; %bb.15: ; in Loop: Header=BB0_9 Depth=1
sub x12, x8, #1
cmp x12, #16
b.hs LBB0_20
; %bb.16: ; in Loop: Header=BB0_9 Depth=1
mov w11, #1
mov x10, x9
b LBB0_23
LBB0_17: ; in Loop: Header=BB0_9 Depth=1
mov w9, #0
b LBB0_32
LBB0_18: ; in Loop: Header=BB0_9 Depth=1
ldr w9, [x27, x26, lsl #2]
str w9, [sp, #64]
add w22, w22, #1
str w22, [sp, #24]
b LBB0_33
LBB0_19: ; in Loop: Header=BB0_9 Depth=1
mov x10, x9
b LBB0_25
LBB0_20: ; in Loop: Header=BB0_9 Depth=1
and x13, x12, #0xfffffffffffffff0
orr x11, x13, #0x1
mov x10, x13
dup.4s v0, w9
ldr x14, [sp, #8] ; 8-byte Folded Reload
mov.16b v1, v0
mov.16b v2, v0
mov.16b v3, v0
LBB0_21: ; Parent Loop BB0_9 Depth=1
; => This Inner Loop Header: Depth=2
ldp q4, q5, [x14, #-32]
ldp q6, q7, [x14], #64
smin.4s v0, v0, v4
smin.4s v1, v1, v5
smin.4s v2, v2, v6
smin.4s v3, v3, v7
subs x10, x10, #16
b.ne LBB0_21
; %bb.22: ; in Loop: Header=BB0_9 Depth=1
smin.4s v0, v0, v1
smin.4s v0, v0, v2
smin.4s v0, v0, v3
sminv.4s s0, v0
fmov w10, s0
cmp x12, x13
b.eq LBB0_25
LBB0_23: ; in Loop: Header=BB0_9 Depth=1
add x12, x23, x11, lsl #2
sub x11, x8, x11
LBB0_24: ; Parent Loop BB0_9 Depth=1
; => This Inner Loop Header: Depth=2
ldr w13, [x12], #4
cmp w10, w13
csel w10, w10, w13, lt
subs x11, x11, #1
b.ne LBB0_24
LBB0_25: ; in Loop: Header=BB0_9 Depth=1
cmp w10, w9
b.ne LBB0_27
; %bb.26: ; in Loop: Header=BB0_9 Depth=1
mov x9, #0
b LBB0_30
LBB0_27: ; in Loop: Header=BB0_9 Depth=1
mov x9, #0
sub x11, x8, #1
LBB0_28: ; Parent Loop BB0_9 Depth=1
; => This Inner Loop Header: Depth=2
cmp x11, x9
b.eq LBB0_31
; %bb.29: ; in Loop: Header=BB0_28 Depth=2
ldr w12, [x25, x9, lsl #2]
add x9, x9, #1
cmp w10, w12
b.ne LBB0_28
LBB0_30: ; in Loop: Header=BB0_9 Depth=1
; kill: def $w9 killed $w9 killed $x9 def $x9
b LBB0_32
LBB0_31: ; in Loop: Header=BB0_9 Depth=1
mov x9, x8
LBB0_32: ; in Loop: Header=BB0_9 Depth=1
ldr w10, [x27, x26, lsl #2]
sbfiz x9, x9, #2, #32
str w10, [x28, x9]
add w22, w22, #1
str w22, [x23, x9]
LBB0_33: ; in Loop: Header=BB0_9 Depth=1
add w21, w21, #1
cmp w8, #1
b.lt LBB0_8
; %bb.34: ; in Loop: Header=BB0_9 Depth=1
mov x24, #0
LBB0_35: ; Parent Loop BB0_9 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [x28, x24, lsl #2]
str x8, [sp]
mov x0, x20
bl _printf
add x24, x24, #1
ldrsw x8, [sp, #16]
cmp x24, x8
b.lt LBB0_35
b LBB0_8
LBB0_36:
mov w21, #0
LBB0_37:
str x21, [sp]
Lloh21:
adrp x0, l_.str.7@PAGE
Lloh22:
add x0, x0, l_.str.7@PAGEOFF
bl _printf
ldur x8, [x29, #-96]
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_39
; %bb.38:
mov w0, #0
ldp x29, x30, [sp, #400] ; 16-byte Folded Reload
ldp x20, x19, [sp, #384] ; 16-byte Folded Reload
ldp x22, x21, [sp, #368] ; 16-byte Folded Reload
ldp x24, x23, [sp, #352] ; 16-byte Folded Reload
ldp x26, x25, [sp, #336] ; 16-byte Folded Reload
ldp x28, x27, [sp, #320] ; 16-byte Folded Reload
add sp, sp, #416
ret
LBB0_39:
bl ___stack_chk_fail
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpAdd Lloh21, Lloh22
.cfi_endproc
; -- End function
.globl _arrmin ; -- Begin function arrmin
.p2align 2
_arrmin: ; @arrmin
.cfi_startproc
; %bb.0:
mov x8, x0
ldr w9, [x0]
mov w0, w1
cmp w1, #1
b.le LBB1_3
; %bb.1:
sub x12, x0, #1
cmp x12, #16
b.hs LBB1_4
; %bb.2:
mov w11, #1
mov x10, x9
b LBB1_7
LBB1_3:
mov x10, x9
b LBB1_9
LBB1_4:
and x13, x12, #0xfffffffffffffff0
orr x11, x13, #0x1
add x10, x8, #36
dup.4s v0, w9
mov x14, x13
mov.16b v1, v0
mov.16b v2, v0
mov.16b v3, v0
LBB1_5: ; =>This Inner Loop Header: Depth=1
ldp q4, q5, [x10, #-32]
ldp q6, q7, [x10], #64
smin.4s v0, v0, v4
smin.4s v1, v1, v5
smin.4s v2, v2, v6
smin.4s v3, v3, v7
subs x14, x14, #16
b.ne LBB1_5
; %bb.6:
smin.4s v0, v0, v1
smin.4s v0, v0, v2
smin.4s v0, v0, v3
sminv.4s s0, v0
fmov w10, s0
cmp x12, x13
b.eq LBB1_9
LBB1_7:
add x12, x8, x11, lsl #2
sub x11, x0, x11
LBB1_8: ; =>This Inner Loop Header: Depth=1
ldr w13, [x12], #4
cmp w10, w13
csel w10, w10, w13, lt
subs x11, x11, #1
b.ne LBB1_8
LBB1_9:
cmp w1, #1
b.lt LBB1_11
; %bb.10:
cmp w10, w9
b.ne LBB1_12
LBB1_11:
mov w0, #0
; kill: def $w0 killed $w0 killed $x0
ret
LBB1_12:
mov w9, #1
LBB1_13: ; =>This Inner Loop Header: Depth=1
cmp x0, x9
b.eq LBB1_16
; %bb.14: ; in Loop: Header=BB1_13 Depth=1
ldr w11, [x8, x9, lsl #2]
add x9, x9, #1
cmp w10, w11
b.ne LBB1_13
; %bb.15:
sub w0, w9, #1
LBB1_16:
; kill: def $w0 killed $w0 killed $x0
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Length of Reference string : "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.3: ; @.str.3
.asciz "Enter no. of frames : "
l_.str.4: ; @.str.4
.asciz "\nRef. str Page frames"
l_.str.5: ; @.str.5
.asciz "\n%4d\t"
l_.str.6: ; @.str.6
.asciz "%4d"
l_.str.7: ; @.str.7
.asciz "\n\nTotal no. of page faults : %d\n"
l_str: ; @str
.asciz "Enter reference string :"
.subsections_via_symbols
| the_stack_data/84632.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function tegra20_i2s_platform_remove
_tegra20_i2s_platform_remove: ## @tegra20_i2s_platform_remove
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
callq _dev_get_drvdata
movq %rax, %r14
movq %rbx, %rdi
callq _pm_runtime_disable
movq %rbx, %rdi
callq _pm_runtime_status_suspended
testl %eax, %eax
jne LBB0_2
## %bb.1:
movq %rbx, %rdi
callq _tegra20_i2s_runtime_suspend
LBB0_2:
movq %rbx, %rdi
callq _tegra_pcm_platform_unregister
movq %rbx, %rdi
callq _snd_soc_unregister_component
movl (%r14), %edi
callq _clk_put
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _tegra20_i2s_platform_remove
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function tegra20_i2s_platform_remove
_tegra20_i2s_platform_remove: ; @tegra20_i2s_platform_remove
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
bl _dev_get_drvdata
mov x20, x0
mov x0, x19
bl _pm_runtime_disable
mov x0, x19
bl _pm_runtime_status_suspended
cbnz w0, LBB0_2
; %bb.1:
mov x0, x19
bl _tegra20_i2s_runtime_suspend
LBB0_2:
mov x0, x19
bl _tegra_pcm_platform_unregister
mov x0, x19
bl _snd_soc_unregister_component
ldr w0, [x20]
bl _clk_put
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _tegra20_i2s_platform_remove
.subsections_via_symbols
| AnghaBench/linux/sound/soc/tegra/extr_tegra20_i2s.c_tegra20_i2s_platform_remove.c | anghabench |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.