x86 stringlengths 122 9.39M | arm stringlengths 122 9.33M | file stringlengths 19 200 | source stringclasses 2
values |
|---|---|---|---|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function sclp_vt220_initialize_page
_sclp_vt220_initialize_page: ## @sclp_vt220_initialize_page
.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 _PAGE_SIZE@GOTPCREL(%rip), %rax
movq (%rax), %rax
leaq (%rax,%rdi), %r14
addq $-16, %r14
movq $0, -8(%rax,%rdi)
movq %rdi, -16(%rax,%rdi)
xorl %esi, %esi
movl $20, %edx
callq _memset
movl $20, 8(%rbx)
movq _SCLP_NORMAL_WRITE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 16(%rbx)
movl $0, 12(%rbx)
movq _EVTYP_VT220MSG@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 4(%rbx)
movl $4, (%rbx)
movq %r14, %rax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PAGE_SIZE,8,3 ## @PAGE_SIZE
.comm _SCLP_NORMAL_WRITE,4,2 ## @SCLP_NORMAL_WRITE
.comm _EVTYP_VT220MSG,4,2 ## @EVTYP_VT220MSG
.no_dead_strip _sclp_vt220_initialize_page
.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 sclp_vt220_initialize_page
lCPI0_0:
.long 20 ; 0x14
.long 0 ; 0x0
.section __TEXT,__text,regular,pure_instructions
.p2align 2
_sclp_vt220_initialize_page: ; @sclp_vt220_initialize_page
.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, _PAGE_SIZE@GOTPAGE
Lloh1:
ldr x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
add x20, x8, x0
stp x0, xzr, [x20, #-16]!
mov w1, #0
mov w2, #20
bl _memset
Lloh3:
adrp x8, _SCLP_NORMAL_WRITE@GOTPAGE
Lloh4:
ldr x8, [x8, _SCLP_NORMAL_WRITE@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
str w8, [x19, #16]
Lloh6:
adrp x8, lCPI0_0@PAGE
Lloh7:
ldr d0, [x8, lCPI0_0@PAGEOFF]
Lloh8:
adrp x8, _EVTYP_VT220MSG@GOTPAGE
Lloh9:
ldr x8, [x8, _EVTYP_VT220MSG@GOTPAGEOFF]
str d0, [x19, #8]
Lloh10:
ldr w8, [x8]
mov w9, #4
stp w9, w8, [x19]
mov x0, x20
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpAdrp Lloh6, Lloh8
.loh AdrpLdr Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _PAGE_SIZE,8,3 ; @PAGE_SIZE
.comm _SCLP_NORMAL_WRITE,4,2 ; @SCLP_NORMAL_WRITE
.comm _EVTYP_VT220MSG,4,2 ; @EVTYP_VT220MSG
.no_dead_strip _sclp_vt220_initialize_page
.subsections_via_symbols
| AnghaBench/linux/drivers/s390/char/extr_sclp_vt220.c_sclp_vt220_initialize_page.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function snd_hda_override_wcaps
_snd_hda_override_wcaps: ## @snd_hda_override_wcaps
.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
cmpq %rsi, %rax
jg LBB0_3
## %bb.1:
movq 8(%rdi), %rcx
addq %rax, %rcx
cmpq %rsi, %rcx
jle LBB0_3
## %bb.2:
movq 16(%rdi), %rcx
subq %rax, %rsi
movl %edx, (%rcx,%rsi,4)
LBB0_3:
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _snd_hda_override_wcaps
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function snd_hda_override_wcaps
_snd_hda_override_wcaps: ; @snd_hda_override_wcaps
.cfi_startproc
; %bb.0:
ldr x8, [x0]
cmp x8, x1
b.gt LBB0_3
; %bb.1:
ldr x9, [x0, #8]
add x9, x9, x8
cmp x9, x1
b.le LBB0_3
; %bb.2:
ldr x9, [x0, #16]
sub x8, x1, x8
str w2, [x9, x8, lsl #2]
LBB0_3:
ret
.cfi_endproc
; -- End function
.no_dead_strip _snd_hda_override_wcaps
.subsections_via_symbols
| AnghaBench/linux/sound/pci/hda/extr_hda_local.h_snd_hda_override_wcaps.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _TS_TST_INFO_print_bio ## -- Begin function TS_TST_INFO_print_bio
.p2align 4, 0x90
_TS_TST_INFO_print_bio: ## @TS_TST_INFO_print_bio
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
testq %rsi, %rsi
je LBB0_1
## %bb.2:
movq %rsi, %r14
movq %rdi, %rbx
movl 64(%rsi), %edi
callq _ASN1_INTEGER_get
leaq L_.str(%rip), %rsi
movq %rbx, %rdi
movl %eax, %edx
xorl %eax, %eax
callq _BIO_printf
leaq L_.str.1(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _BIO_printf
movl 60(%r14), %esi
movq %rbx, %rdi
callq _TS_OBJ_print_bio
movl 56(%r14), %esi
movq %rbx, %rdi
callq _TS_MSG_IMPRINT_print_bio
leaq L_.str.2(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _BIO_printf
movq 48(%r14), %rsi
testq %rsi, %rsi
je LBB0_3
## %bb.4:
movq %rbx, %rdi
callq _TS_ASN1_INTEGER_print_bio
jmp LBB0_5
LBB0_1:
xorl %r15d, %r15d
jmp LBB0_17
LBB0_3:
leaq L_.str.3(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _BIO_printf
LBB0_5:
leaq L_.str.4(%rip), %r15
movq %rbx, %rdi
movq %r15, %rsi
movl $1, %edx
callq _BIO_write
leaq L_.str.5(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _BIO_printf
movl 40(%r14), %esi
movq %rbx, %rdi
callq _ASN1_GENERALIZEDTIME_print
movq %rbx, %rdi
movq %r15, %rsi
movl $1, %edx
callq _BIO_write
leaq L_.str.6(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _BIO_printf
movq 32(%r14), %rsi
testq %rsi, %rsi
je LBB0_6
## %bb.7:
movq %rbx, %rdi
callq _ts_ACCURACY_print_bio
jmp LBB0_8
LBB0_6:
leaq L_.str.3(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _BIO_printf
LBB0_8:
leaq L_.str.4(%rip), %rsi
movq %rbx, %rdi
movl $1, %edx
callq _BIO_write
cmpq $0, 24(%r14)
leaq L_.str.9(%rip), %rax
leaq L_.str.8(%rip), %rdx
cmoveq %rax, %rdx
leaq L_.str.7(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _BIO_printf
leaq L_.str.10(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _BIO_printf
movq 16(%r14), %rsi
testq %rsi, %rsi
je LBB0_9
## %bb.10:
movq %rbx, %rdi
callq _TS_ASN1_INTEGER_print_bio
jmp LBB0_11
LBB0_9:
leaq L_.str.3(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _BIO_printf
LBB0_11:
leaq L_.str.4(%rip), %rsi
movq %rbx, %rdi
movl $1, %edx
callq _BIO_write
leaq L_.str.11(%rip), %rsi
xorl %r15d, %r15d
movq %rbx, %rdi
xorl %eax, %eax
callq _BIO_printf
cmpq $0, 8(%r14)
je LBB0_12
## %bb.13:
movq _CONF_VALUE@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _STACK_OF
movq 8(%r14), %rsi
xorl %edi, %edi
xorl %edx, %edx
callq _i2v_GENERAL_NAME
movq _nval@GOTPCREL(%rip), %r12
movl %eax, (%r12)
testl %eax, %eax
je LBB0_15
## %bb.14:
movq %rbx, %rdi
movl %eax, %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq _X509V3_EXT_val_prn
movl (%r12), %r15d
LBB0_15:
movq _X509V3_conf_free@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl %r15d, %edi
callq _sk_CONF_VALUE_pop_free
jmp LBB0_16
LBB0_12:
leaq L_.str.3(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _BIO_printf
LBB0_16:
leaq L_.str.4(%rip), %rsi
movl $1, %r15d
movq %rbx, %rdi
movl $1, %edx
callq _BIO_write
movl (%r14), %esi
movq %rbx, %rdi
callq _TS_ext_print_bio
LBB0_17:
movl %r15d, %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 "Version: %d\n"
L_.str.1: ## @.str.1
.asciz "Policy OID: "
L_.str.2: ## @.str.2
.asciz "Serial number: "
L_.str.3: ## @.str.3
.asciz "unspecified"
L_.str.4: ## @.str.4
.asciz "\n"
L_.str.5: ## @.str.5
.asciz "Time stamp: "
L_.str.6: ## @.str.6
.asciz "Accuracy: "
L_.str.7: ## @.str.7
.asciz "Ordering: %s\n"
L_.str.8: ## @.str.8
.asciz "yes"
L_.str.9: ## @.str.9
.asciz "no"
L_.str.10: ## @.str.10
.asciz "Nonce: "
L_.str.11: ## @.str.11
.asciz "TSA: "
.comm _CONF_VALUE,4,2 ## @CONF_VALUE
.comm _nval,4,2 ## @nval
.comm _X509V3_conf_free,4,2 ## @X509V3_conf_free
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _TS_TST_INFO_print_bio ; -- Begin function TS_TST_INFO_print_bio
.p2align 2
_TS_TST_INFO_print_bio: ; @TS_TST_INFO_print_bio
.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
cbz x1, LBB0_3
; %bb.1:
mov x20, x1
mov x19, x0
ldr w0, [x1, #64]
bl _ASN1_INTEGER_get
; kill: def $w0 killed $w0 def $x0
str x0, [sp]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _BIO_printf
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _BIO_printf
ldr w1, [x20, #60]
mov x0, x19
bl _TS_OBJ_print_bio
ldr w1, [x20, #56]
mov x0, x19
bl _TS_MSG_IMPRINT_print_bio
Lloh4:
adrp x1, l_.str.2@PAGE
Lloh5:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x19
bl _BIO_printf
ldr x1, [x20, #48]
cbz x1, LBB0_4
; %bb.2:
mov x0, x19
bl _TS_ASN1_INTEGER_print_bio
b LBB0_5
LBB0_3:
mov w21, #0
b LBB0_17
LBB0_4:
Lloh6:
adrp x1, l_.str.3@PAGE
Lloh7:
add x1, x1, l_.str.3@PAGEOFF
mov x0, x19
bl _BIO_printf
LBB0_5:
Lloh8:
adrp x21, l_.str.4@PAGE
Lloh9:
add x21, x21, l_.str.4@PAGEOFF
mov x0, x19
mov x1, x21
mov w2, #1
bl _BIO_write
Lloh10:
adrp x1, l_.str.5@PAGE
Lloh11:
add x1, x1, l_.str.5@PAGEOFF
mov x0, x19
bl _BIO_printf
ldr w1, [x20, #40]
mov x0, x19
bl _ASN1_GENERALIZEDTIME_print
mov x0, x19
mov x1, x21
mov w2, #1
bl _BIO_write
Lloh12:
adrp x1, l_.str.6@PAGE
Lloh13:
add x1, x1, l_.str.6@PAGEOFF
mov x0, x19
bl _BIO_printf
ldr x1, [x20, #32]
cbz x1, LBB0_7
; %bb.6:
mov x0, x19
bl _ts_ACCURACY_print_bio
b LBB0_8
LBB0_7:
Lloh14:
adrp x1, l_.str.3@PAGE
Lloh15:
add x1, x1, l_.str.3@PAGEOFF
mov x0, x19
bl _BIO_printf
LBB0_8:
Lloh16:
adrp x1, l_.str.4@PAGE
Lloh17:
add x1, x1, l_.str.4@PAGEOFF
mov x0, x19
mov w2, #1
bl _BIO_write
ldr x8, [x20, #24]
Lloh18:
adrp x9, l_.str.8@PAGE
Lloh19:
add x9, x9, l_.str.8@PAGEOFF
Lloh20:
adrp x10, l_.str.9@PAGE
Lloh21:
add x10, x10, l_.str.9@PAGEOFF
cmp x8, #0
csel x8, x10, x9, eq
str x8, [sp]
Lloh22:
adrp x1, l_.str.7@PAGE
Lloh23:
add x1, x1, l_.str.7@PAGEOFF
mov x0, x19
bl _BIO_printf
Lloh24:
adrp x1, l_.str.10@PAGE
Lloh25:
add x1, x1, l_.str.10@PAGEOFF
mov x0, x19
bl _BIO_printf
ldr x1, [x20, #16]
cbz x1, LBB0_10
; %bb.9:
mov x0, x19
bl _TS_ASN1_INTEGER_print_bio
b LBB0_11
LBB0_10:
Lloh26:
adrp x1, l_.str.3@PAGE
Lloh27:
add x1, x1, l_.str.3@PAGEOFF
mov x0, x19
bl _BIO_printf
LBB0_11:
Lloh28:
adrp x1, l_.str.4@PAGE
Lloh29:
add x1, x1, l_.str.4@PAGEOFF
mov x0, x19
mov w2, #1
bl _BIO_write
Lloh30:
adrp x1, l_.str.11@PAGE
Lloh31:
add x1, x1, l_.str.11@PAGEOFF
mov x0, x19
bl _BIO_printf
ldr x8, [x20, #8]
cbz x8, LBB0_15
; %bb.12:
Lloh32:
adrp x8, _CONF_VALUE@GOTPAGE
Lloh33:
ldr x8, [x8, _CONF_VALUE@GOTPAGEOFF]
Lloh34:
ldr w0, [x8]
bl _STACK_OF
ldr x1, [x20, #8]
mov x0, #0
mov x2, #0
bl _i2v_GENERAL_NAME
Lloh35:
adrp x21, _nval@GOTPAGE
Lloh36:
ldr x21, [x21, _nval@GOTPAGEOFF]
str w0, [x21]
cbz w0, LBB0_14
; %bb.13:
mov x1, x0
mov x0, x19
mov w2, #0
mov w3, #0
bl _X509V3_EXT_val_prn
ldr w0, [x21]
LBB0_14:
Lloh37:
adrp x8, _X509V3_conf_free@GOTPAGE
Lloh38:
ldr x8, [x8, _X509V3_conf_free@GOTPAGEOFF]
Lloh39:
ldr w1, [x8]
bl _sk_CONF_VALUE_pop_free
b LBB0_16
LBB0_15:
Lloh40:
adrp x1, l_.str.3@PAGE
Lloh41:
add x1, x1, l_.str.3@PAGEOFF
mov x0, x19
bl _BIO_printf
LBB0_16:
Lloh42:
adrp x1, l_.str.4@PAGE
Lloh43:
add x1, x1, l_.str.4@PAGEOFF
mov w21, #1
mov x0, x19
mov w2, #1
bl _BIO_write
ldr w1, [x20]
mov x0, x19
bl _TS_ext_print_bio
LBB0_17:
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 Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpLdrGot Lloh35, Lloh36
.loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34
.loh AdrpLdrGotLdr Lloh37, Lloh38, Lloh39
.loh AdrpAdd Lloh40, Lloh41
.loh AdrpAdd Lloh42, Lloh43
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Version: %d\n"
l_.str.1: ; @.str.1
.asciz "Policy OID: "
l_.str.2: ; @.str.2
.asciz "Serial number: "
l_.str.3: ; @.str.3
.asciz "unspecified"
l_.str.4: ; @.str.4
.asciz "\n"
l_.str.5: ; @.str.5
.asciz "Time stamp: "
l_.str.6: ; @.str.6
.asciz "Accuracy: "
l_.str.7: ; @.str.7
.asciz "Ordering: %s\n"
l_.str.8: ; @.str.8
.asciz "yes"
l_.str.9: ; @.str.9
.asciz "no"
l_.str.10: ; @.str.10
.asciz "Nonce: "
l_.str.11: ; @.str.11
.asciz "TSA: "
.comm _CONF_VALUE,4,2 ; @CONF_VALUE
.comm _nval,4,2 ; @nval
.comm _X509V3_conf_free,4,2 ; @X509V3_conf_free
.subsections_via_symbols
| AnghaBench/openssl/crypto/ts/extr_ts_rsp_print.c_TS_TST_INFO_print_bio.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ufs_sync_inode ## -- Begin function ufs_sync_inode
.p2align 4, 0x90
_ufs_sync_inode: ## @ufs_sync_inode
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $1, %esi
popq %rbp
jmp _ufs_update_inode ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ufs_sync_inode ; -- Begin function ufs_sync_inode
.p2align 2
_ufs_sync_inode: ; @ufs_sync_inode
.cfi_startproc
; %bb.0:
mov w1, #1
b _ufs_update_inode
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/linux/fs/ufs/extr_inode.c_ufs_sync_inode.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _create_elem ## -- Begin function create_elem
.p2align 4, 0x90
_create_elem: ## @create_elem
.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
.globl _push_back ## -- Begin function push_back
.p2align 4, 0x90
_push_back: ## @push_back
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _pop_front ## -- Begin function pop_front
.p2align 4, 0x90
_pop_front: ## @pop_front
.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
.globl _print_queue ## -- Begin function print_queue
.p2align 4, 0x90
_print_queue: ## @print_queue
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _print_queue_reversed ## -- Begin function print_queue_reversed
.p2align 4, 0x90
_print_queue_reversed: ## @print_queue_reversed
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _free_queue ## -- Begin function free_queue
.p2align 4, 0x90
_free_queue: ## @free_queue
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _test_queue ## -- Begin function test_queue
.p2align 4, 0x90
_test_queue: ## @test_queue
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _print_matrix ## -- Begin function print_matrix
.p2align 4, 0x90
_print_matrix: ## @print_matrix
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _print_array ## -- Begin function print_array
.p2align 4, 0x90
_print_array: ## @print_array
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _bfs ## -- Begin function bfs
.p2align 4, 0x90
_bfs: ## @bfs
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movslq %edx, %rdi
shlq $2, %rdi
popq %rbp
jmp _malloc ## TAILCALL
.cfi_endproc
## -- End function
.globl _flow ## -- Begin function flow
.p2align 4, 0x90
_flow: ## @flow
.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
popq %rbp
jmp _puts ## TAILCALL
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_str(%rip), %rdi
callq _puts
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_str: ## @str
.asciz "Could not open file."
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _create_elem ; -- Begin function create_elem
.p2align 2
_create_elem: ; @create_elem
.cfi_startproc
; %bb.0:
mov x0, #0
ret
.cfi_endproc
; -- End function
.globl _push_back ; -- Begin function push_back
.p2align 2
_push_back: ; @push_back
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _pop_front ; -- Begin function pop_front
.p2align 2
_pop_front: ; @pop_front
.cfi_startproc
; %bb.0:
mov x0, #0
ret
.cfi_endproc
; -- End function
.globl _print_queue ; -- Begin function print_queue
.p2align 2
_print_queue: ; @print_queue
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _print_queue_reversed ; -- Begin function print_queue_reversed
.p2align 2
_print_queue_reversed: ; @print_queue_reversed
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _free_queue ; -- Begin function free_queue
.p2align 2
_free_queue: ; @free_queue
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _test_queue ; -- Begin function test_queue
.p2align 2
_test_queue: ; @test_queue
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _print_matrix ; -- Begin function print_matrix
.p2align 2
_print_matrix: ; @print_matrix
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _print_array ; -- Begin function print_array
.p2align 2
_print_array: ; @print_array
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _bfs ; -- Begin function bfs
.p2align 2
_bfs: ; @bfs
.cfi_startproc
; %bb.0:
; kill: def $w2 killed $w2 def $x2
sbfiz x0, x2, #2, #32
b _malloc
.cfi_endproc
; -- End function
.globl _flow ; -- Begin function flow
.p2align 2
_flow: ; @flow
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, l_str@PAGE
Lloh1:
add x0, x0, l_str@PAGEOFF
b _puts
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh2:
adrp x0, l_str@PAGE
Lloh3:
add x0, x0, l_str@PAGEOFF
bl _puts
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_str: ; @str
.asciz "Could not open file."
.subsections_via_symbols
| the_stack_data/78055.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function aio_nr_sub
_aio_nr_sub: ## @aio_nr_sub
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edi, %ebx
movq _aio_nr_lock@GOTPCREL(%rip), %r14
movq %r14, %rdi
callq _spin_lock
movq _aio_nr@GOTPCREL(%rip), %r15
xorl %edi, %edi
cmpl %ebx, (%r15)
setb %dil
callq _WARN_ON
movl (%r15), %ecx
subl %ebx, %ecx
xorl %edx, %edx
testq %rax, %rax
cmovel %ecx, %edx
movl %edx, (%r15)
movq %r14, %rdi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _spin_unlock ## TAILCALL
.cfi_endproc
## -- End function
.comm _aio_nr_lock,4,2 ## @aio_nr_lock
.comm _aio_nr,4,2 ## @aio_nr
.no_dead_strip _aio_nr_sub
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function aio_nr_sub
_aio_nr_sub: ; @aio_nr_sub
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
Lloh0:
adrp x20, _aio_nr_lock@GOTPAGE
Lloh1:
ldr x20, [x20, _aio_nr_lock@GOTPAGEOFF]
mov x0, x20
bl _spin_lock
Lloh2:
adrp x21, _aio_nr@GOTPAGE
Lloh3:
ldr x21, [x21, _aio_nr@GOTPAGEOFF]
ldr w8, [x21]
cmp w8, w19
cset w0, lo
bl _WARN_ON
ldr w8, [x21]
sub w8, w8, w19
cmp x0, #0
csel w8, w8, wzr, eq
str w8, [x21]
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
b _spin_unlock
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _aio_nr_lock,4,2 ; @aio_nr_lock
.comm _aio_nr,4,2 ; @aio_nr
.no_dead_strip _aio_nr_sub
.subsections_via_symbols
| AnghaBench/linux/fs/extr_aio.c_aio_nr_sub.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function set32_le
_set32_le: ## @set32_le
.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 %esi, %edi
callq ___cpu_to_le32
movl %eax, (%rbx)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _set32_le
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function set32_le
_set32_le: ; @set32_le
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
mov x0, x1
bl ___cpu_to_le32
str w0, [x19]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _set32_le
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/scripts/mod/extr_mod-extract.c_set32_le.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function uea_getesi
_uea_getesi: ## @uea_getesi
.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, %rbx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _ETH_ALEN@GOTPCREL(%rip), %r15
movl (%r15), %eax
leal (%rax,%rax), %r12d
incl %r12d
movq %r12, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r13
movq (%rbx), %rdi
movl (%rdi), %esi
movq %r13, %rdx
movl %r12d, %ecx
callq _usb_string
movl (%r15), %ecx
leal (%rcx,%rcx), %edx
movl $1, %esi
cmpl %edx, %eax
jne LBB0_5
## %bb.1:
testl %ecx, %ecx
jle LBB0_4
## %bb.2:
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movzbl (%r13,%r12,2), %edi
callq _hex_to_bin
movl %eax, %ebx
shll $4, %ebx
movzbl 1(%r13,%r12,2), %edi
callq _hex_to_bin
addl %ebx, %eax
movl %eax, (%r14,%r12,4)
incq %r12
movslq (%r15), %rax
cmpq %rax, %r12
jl LBB0_3
LBB0_4:
xorl %esi, %esi
LBB0_5:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_7
## %bb.6:
movl %esi, %eax
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_7:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _ETH_ALEN,4,2 ## @ETH_ALEN
.no_dead_strip _uea_getesi
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function uea_getesi
_uea_getesi: ; @uea_getesi
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
sub sp, sp, #16
mov x19, x1
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-56]
Lloh3:
adrp x22, _ETH_ALEN@GOTPAGE
Lloh4:
ldr x22, [x22, _ETH_ALEN@GOTPAGEOFF]
ldr w8, [x22]
mov w20, #1
mov w3, #1
bfi w3, w8, #1, #31
add x8, x3, #15
and x8, x8, #0x1fffffff0
mov x9, x3
Lloh5:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh6:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
sub x21, x9, x8
mov sp, x21
ldr x0, [x0]
ldr w1, [x0]
mov x2, x21
; kill: def $w3 killed $w3 killed $x3
bl _usb_string
ldr w8, [x22]
cmp w0, w8, lsl #1
b.ne LBB0_5
; %bb.1:
cmp w8, #1
b.lt LBB0_4
; %bb.2:
mov x23, #0
add x21, x21, #1
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldurb w0, [x21, #-1]
bl _hex_to_bin
mov x20, x0
ldrb w0, [x21], #2
bl _hex_to_bin
add w8, w0, w20, lsl #4
str w8, [x19, x23, lsl #2]
add x23, x23, #1
ldrsw x8, [x22]
cmp x23, x8
b.lt LBB0_3
LBB0_4:
mov w20, #0
LBB0_5:
ldur x8, [x29, #-56]
Lloh7:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh8:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_7
; %bb.6:
mov x0, x20
sub sp, x29, #48
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
LBB0_7:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _ETH_ALEN,4,2 ; @ETH_ALEN
.no_dead_strip _uea_getesi
.subsections_via_symbols
| AnghaBench/linux/drivers/usb/atm/extr_ueagle-atm.c_uea_getesi.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _decadd ## -- Begin function decadd
.p2align 4, 0x90
_decadd: ## @decadd
.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 _errno@GOTPCREL(%rip), %rbx
movq $0, (%rbx)
movq _PGTYPESnumeric_add@GOTPCREL(%rip), %rax
movl (%rax), %ecx
callq _deccall3
movq (%rbx), %rcx
movq _PGTYPES_NUM_OVERFLOW@GOTPCREL(%rip), %rax
cmpq (%rax), %rcx
jne LBB0_2
## %bb.1:
movq _ECPG_INFORMIX_NUM_OVERFLOW@GOTPCREL(%rip), %rax
movl (%rax), %eax
jmp LBB0_5
LBB0_2:
movq _PGTYPES_NUM_UNDERFLOW@GOTPCREL(%rip), %rax
cmpq (%rax), %rcx
jne LBB0_4
## %bb.3:
movq _ECPG_INFORMIX_NUM_UNDERFLOW@GOTPCREL(%rip), %rax
movl (%rax), %eax
jmp LBB0_5
LBB0_4:
xorl %eax, %eax
negq %rcx
sbbl %eax, %eax
LBB0_5:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _errno,8,3 ## @errno
.comm _PGTYPESnumeric_add,4,2 ## @PGTYPESnumeric_add
.comm _PGTYPES_NUM_OVERFLOW,8,3 ## @PGTYPES_NUM_OVERFLOW
.comm _ECPG_INFORMIX_NUM_OVERFLOW,4,2 ## @ECPG_INFORMIX_NUM_OVERFLOW
.comm _PGTYPES_NUM_UNDERFLOW,8,3 ## @PGTYPES_NUM_UNDERFLOW
.comm _ECPG_INFORMIX_NUM_UNDERFLOW,4,2 ## @ECPG_INFORMIX_NUM_UNDERFLOW
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _decadd ; -- Begin function decadd
.p2align 2
_decadd: ; @decadd
.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, _errno@GOTPAGE
Lloh1:
ldr x19, [x19, _errno@GOTPAGEOFF]
str xzr, [x19]
Lloh2:
adrp x8, _PGTYPESnumeric_add@GOTPAGE
Lloh3:
ldr x8, [x8, _PGTYPESnumeric_add@GOTPAGEOFF]
Lloh4:
ldr w3, [x8]
bl _deccall3
ldr x8, [x19]
Lloh5:
adrp x9, _PGTYPES_NUM_OVERFLOW@GOTPAGE
Lloh6:
ldr x9, [x9, _PGTYPES_NUM_OVERFLOW@GOTPAGEOFF]
Lloh7:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_2
; %bb.1:
Lloh8:
adrp x8, _ECPG_INFORMIX_NUM_OVERFLOW@GOTPAGE
Lloh9:
ldr x8, [x8, _ECPG_INFORMIX_NUM_OVERFLOW@GOTPAGEOFF]
Lloh10:
ldr w0, [x8]
b LBB0_5
LBB0_2:
Lloh11:
adrp x9, _PGTYPES_NUM_UNDERFLOW@GOTPAGE
Lloh12:
ldr x9, [x9, _PGTYPES_NUM_UNDERFLOW@GOTPAGEOFF]
Lloh13:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_4
; %bb.3:
Lloh14:
adrp x8, _ECPG_INFORMIX_NUM_UNDERFLOW@GOTPAGE
Lloh15:
ldr x8, [x8, _ECPG_INFORMIX_NUM_UNDERFLOW@GOTPAGEOFF]
Lloh16:
ldr w0, [x8]
b LBB0_5
LBB0_4:
cmp x8, #0
csetm w0, ne
LBB0_5:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.cfi_endproc
; -- End function
.comm _errno,8,3 ; @errno
.comm _PGTYPESnumeric_add,4,2 ; @PGTYPESnumeric_add
.comm _PGTYPES_NUM_OVERFLOW,8,3 ; @PGTYPES_NUM_OVERFLOW
.comm _ECPG_INFORMIX_NUM_OVERFLOW,4,2 ; @ECPG_INFORMIX_NUM_OVERFLOW
.comm _PGTYPES_NUM_UNDERFLOW,8,3 ; @PGTYPES_NUM_UNDERFLOW
.comm _ECPG_INFORMIX_NUM_UNDERFLOW,4,2 ; @ECPG_INFORMIX_NUM_UNDERFLOW
.subsections_via_symbols
| AnghaBench/postgres/src/interfaces/ecpg/compatlib/extr_informix.c_decadd.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _malloc_type_freed ## -- Begin function malloc_type_freed
.p2align 4, 0x90
_malloc_type_freed: ## @malloc_type_freed
.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
xorl %eax, %eax
callq _critical_enter
movq (%rbx), %rax
movl 8(%rax), %edi
callq _zpcpu_get
addq %r14, (%rax)
incl 8(%rax)
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
jmp _critical_exit ## TAILCALL
.cfi_endproc
## -- End function
.comm _DTMALLOC_PROBE_FREE,8,3 ## @DTMALLOC_PROBE_FREE
.comm _dtrace_malloc_enabled,4,2 ## @dtrace_malloc_enabled
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _malloc_type_freed ; -- Begin function malloc_type_freed
.p2align 2
_malloc_type_freed: ; @malloc_type_freed
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov x20, x0
bl _critical_enter
ldr x8, [x20]
ldr w0, [x8, #8]
bl _zpcpu_get
ldr x8, [x0]
add x8, x8, x19
str x8, [x0]
ldr w8, [x0, #8]
add w8, w8, #1
str w8, [x0, #8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _critical_exit
.cfi_endproc
; -- End function
.comm _DTMALLOC_PROBE_FREE,8,3 ; @DTMALLOC_PROBE_FREE
.comm _dtrace_malloc_enabled,4,2 ; @dtrace_malloc_enabled
.subsections_via_symbols
| AnghaBench/freebsd/sys/kern/extr_kern_malloc.c_malloc_type_freed.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _vpdma_add_abort_channel_ctd ## -- Begin function vpdma_add_abort_channel_ctd
.p2align 4, 0x90
_vpdma_add_abort_channel_ctd: ## @vpdma_add_abort_channel_ctd
.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, %r14d
movq %rdi, %r15
movq (%rdi), %rbx
movslq 16(%rdi), %rax
addq 8(%rdi), %rax
leaq 32(%rbx), %r12
xorl %edi, %edi
cmpq %r12, %rax
setb %dil
callq _WARN_ON
xorps %xmm0, %xmm0
movups %xmm0, 8(%rbx)
movq $0, 24(%rbx)
movq _CTD_TYPE_ABORT_CHANNEL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl %r14d, %edi
callq _ctd_type_source_ctl
movl %eax, (%rbx)
movq %r12, (%r15)
movq %rbx, %rdi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _dump_ctd ## TAILCALL
.cfi_endproc
## -- End function
.comm _CTD_TYPE_ABORT_CHANNEL,4,2 ## @CTD_TYPE_ABORT_CHANNEL
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _vpdma_add_abort_channel_ctd ; -- Begin function vpdma_add_abort_channel_ctd
.p2align 2
_vpdma_add_abort_channel_ctd: ; @vpdma_add_abort_channel_ctd
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
ldp x21, x8, [x0]
add x22, x21, #32
ldrsw x9, [x0, #16]
add x8, x8, x9
cmp x8, x22
cset w0, lo
bl _WARN_ON
stp xzr, xzr, [x21, #16]
str xzr, [x21, #8]
Lloh0:
adrp x8, _CTD_TYPE_ABORT_CHANNEL@GOTPAGE
Lloh1:
ldr x8, [x8, _CTD_TYPE_ABORT_CHANNEL@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov x0, x19
bl _ctd_type_source_ctl
str w0, [x21]
str x22, [x20]
mov x0, 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 _dump_ctd
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _CTD_TYPE_ABORT_CHANNEL,4,2 ; @CTD_TYPE_ABORT_CHANNEL
.subsections_via_symbols
| AnghaBench/linux/drivers/media/platform/ti-vpe/extr_vpdma.c_vpdma_add_abort_channel_ctd.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sortArrayByParity ## -- Begin function sortArrayByParity
.p2align 4, 0x90
_sortArrayByParity: ## @sortArrayByParity
.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 %esi, (%rdx)
cmpl $2, %esi
jl LBB0_5
## %bb.1:
decl %esi
xorl %ecx, %ecx
jmp LBB0_2
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
notl %edi
andl $1, %edi
addl %edi, %ecx
andl $-2147483647, %r10d ## imm = 0x80000001
xorl %edx, %edx
cmpl $1, %r10d
sete %dl
subl %edx, %esi
cmpl %esi, %ecx
jge LBB0_5
LBB0_2: ## =>This Inner Loop Header: Depth=1
movslq %ecx, %r8
movslq %esi, %r9
movl (%rax,%r8,4), %edi
movl (%rax,%r9,4), %r10d
movd %edi, %xmm0
pinsrd $1, %r10d, %xmm0
movdqa %xmm0, %xmm1
psrld $31, %xmm1
paddd %xmm0, %xmm1
psrad $1, %xmm1
paddd %xmm1, %xmm1
psubd %xmm1, %xmm0
pshufd $85, %xmm0, %xmm1 ## xmm1 = xmm0[1,1,1,1]
pcmpgtd %xmm1, %xmm0
movd %xmm0, %edx
testb $1, %dl
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movl %r10d, (%rax,%r8,4)
movl %edi, (%rax,%r9,4)
leal 1(%r8), %ecx
leal -1(%r9), %esi
movl 4(%rax,%r8,4), %edi
movl -4(%rax,%r9,4), %r10d
jmp LBB0_4
LBB0_5:
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 _sortArrayByParity ; -- Begin function sortArrayByParity
.p2align 2
_sortArrayByParity: ; @sortArrayByParity
.cfi_startproc
; %bb.0:
str w1, [x2]
cmp w1, #2
b.lt LBB0_5
; %bb.1:
mov w9, #0
sub w8, w1, #1
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
mvn w10, w10
and w10, w10, #0x1
add w9, w10, w9
and w10, w11, #0x80000001
cmp w10, #1
cset w10, eq
sub w8, w8, w10
cmp w9, w8
b.ge LBB0_5
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr w10, [x0, w9, sxtw #2]
and w11, w10, #0x1
cmp w10, #0
cneg w12, w11, lt
ldr w11, [x0, w8, sxtw #2]
and w13, w11, #0x1
cmp w11, #0
cneg w13, w13, lt
cmp w12, w13
b.le LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
sxtw x9, w9
sxtw x8, w8
str w11, [x0, x9, lsl #2]
str w10, [x0, x8, lsl #2]
add x9, x9, #1
sub x8, x8, #1
ldr w10, [x0, x9, lsl #2]
ldr w11, [x0, x8, lsl #2]
; kill: def $w8 killed $w8 killed $x8 def $x8
; kill: def $w9 killed $w9 killed $x9 def $x9
b LBB0_2
LBB0_5:
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/195917.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sy_random_char ## -- Begin function sy_random_char
.p2align 4, 0x90
_sy_random_char: ## @sy_random_char
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl _sy_random_char.i(%rip), %eax
leal 1(%rax), %ecx
xorl %edx, %edx
cmpl $256, %eax ## imm = 0x100
cmovnel %ecx, %edx
movl %edx, _sy_random_char.i(%rip)
leaq _random_chars(%rip), %rax
movzbl (%rdx,%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _sy_random_int ## -- Begin function sy_random_int
.p2align 4, 0x90
_sy_random_int: ## @sy_random_int
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl _sy_random_int.i(%rip), %eax
leal 1(%rax), %ecx
xorl %edx, %edx
cmpl $1024, %eax ## imm = 0x400
cmovnel %ecx, %edx
movl %edx, _sy_random_int.i(%rip)
leaq _random_ints(%rip), %rax
movl (%rax,%rdx,4), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _sy_random_start ## -- Begin function sy_random_start
.p2align 4, 0x90
_sy_random_start: ## @sy_random_start
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
xorl %ebx, %ebx
leaq _random_chars(%rip), %r14
.p2align 4, 0x90
LBB2_1: ## =>This Inner Loop Header: Depth=1
callq _random
movb %al, (%rbx,%r14)
incq %rbx
cmpq $256, %rbx ## imm = 0x100
jne LBB2_1
## %bb.2:
xorl %ebx, %ebx
leaq _random_ints(%rip), %r14
.p2align 4, 0x90
LBB2_3: ## =>This Inner Loop Header: Depth=1
callq _random
movl %eax, (%rbx,%r14)
addq $4, %rbx
cmpq $4096, %rbx ## imm = 0x1000
jne LBB2_3
## %bb.4:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_sy_random_char.i,4,2 ## @sy_random_char.i
.zerofill __DATA,__bss,_random_chars,256,4 ## @random_chars
.zerofill __DATA,__bss,_sy_random_int.i,4,2 ## @sy_random_int.i
.zerofill __DATA,__bss,_random_ints,4096,4 ## @random_ints
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sy_random_char ; -- Begin function sy_random_char
.p2align 2
_sy_random_char: ; @sy_random_char
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _sy_random_char.i@PAGE
ldr w9, [x8, _sy_random_char.i@PAGEOFF]
cmp w9, #256
csinc w9, wzr, w9, eq
str w9, [x8, _sy_random_char.i@PAGEOFF]
Lloh1:
adrp x8, _random_chars@PAGE
Lloh2:
add x8, x8, _random_chars@PAGEOFF
ldrb w0, [x8, w9, uxtw]
ret
.loh AdrpAdd Lloh1, Lloh2
.loh AdrpAdrp Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _sy_random_int ; -- Begin function sy_random_int
.p2align 2
_sy_random_int: ; @sy_random_int
.cfi_startproc
; %bb.0:
Lloh3:
adrp x8, _sy_random_int.i@PAGE
ldr w9, [x8, _sy_random_int.i@PAGEOFF]
cmp w9, #1024
csinc w9, wzr, w9, eq
str w9, [x8, _sy_random_int.i@PAGEOFF]
Lloh4:
adrp x8, _random_ints@PAGE
Lloh5:
add x8, x8, _random_ints@PAGEOFF
ldr w0, [x8, w9, uxtw #2]
ret
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdrp Lloh3, Lloh4
.cfi_endproc
; -- End function
.globl _sy_random_start ; -- Begin function sy_random_start
.p2align 2
_sy_random_start: ; @sy_random_start
.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, #0
Lloh6:
adrp x20, _random_chars@PAGE
Lloh7:
add x20, x20, _random_chars@PAGEOFF
LBB2_1: ; =>This Inner Loop Header: Depth=1
bl _random
strb w0, [x20, x19]
add x19, x19, #1
cmp x19, #256
b.ne LBB2_1
; %bb.2:
mov x19, #0
Lloh8:
adrp x20, _random_ints@PAGE
Lloh9:
add x20, x20, _random_ints@PAGEOFF
LBB2_3: ; =>This Inner Loop Header: Depth=1
bl _random
str w0, [x20, x19]
add x19, x19, #4
cmp x19, #1, lsl #12 ; =4096
b.ne LBB2_3
; %bb.4:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_sy_random_char.i,4,2 ; @sy_random_char.i
.zerofill __DATA,__bss,_random_chars,256,0 ; @random_chars
.zerofill __DATA,__bss,_sy_random_int.i,4,2 ; @sy_random_int.i
.zerofill __DATA,__bss,_random_ints,4096,2 ; @random_ints
.subsections_via_symbols
| the_stack_data/97012006.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ft_smooth_render_lcd
_ft_smooth_render_lcd: ## @ft_smooth_render_lcd
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _FT_RENDER_MODE_LCD@GOTPCREL(%rip), %rax
movl (%rax), %r8d
popq %rbp
jmp _ft_smooth_render_generic ## TAILCALL
.cfi_endproc
## -- End function
.comm _FT_RENDER_MODE_LCD,4,2 ## @FT_RENDER_MODE_LCD
.no_dead_strip _ft_smooth_render_lcd
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ft_smooth_render_lcd
_ft_smooth_render_lcd: ; @ft_smooth_render_lcd
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _FT_RENDER_MODE_LCD@GOTPAGE
Lloh1:
ldr x8, [x8, _FT_RENDER_MODE_LCD@GOTPAGEOFF]
Lloh2:
ldr w4, [x8]
b _ft_smooth_render_generic
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _FT_RENDER_MODE_LCD,4,2 ; @FT_RENDER_MODE_LCD
.no_dead_strip _ft_smooth_render_lcd
.subsections_via_symbols
| AnghaBench/reactos/sdk/lib/3rdparty/freetype/src/smooth/extr_ftsmooth.c_ft_smooth_render_lcd.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mcde_dsi_get_pkt_div
_mcde_dsi_get_pkt_div: ## @mcde_dsi_get_pkt_div
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl %esi, %r14d
movl %edi, %ebx
movq _MCDE_MAX_WIDTH@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _DIV_ROUND_UP
movl $1, %ecx
cmpl $2, %eax
jl LBB0_6
## %bb.1:
movl %eax, %esi
movl $1, %ecx
jmp LBB0_2
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
incl %ecx
cmpl %ecx, %esi
je LBB0_5
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl %ebx, %eax
cltd
idivl %ecx
testl %edx, %edx
jne LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
cmpl %r14d, %eax
jg LBB0_4
jmp LBB0_6
LBB0_5:
movl $1, %ecx
LBB0_6:
movl %ecx, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MCDE_MAX_WIDTH,4,2 ## @MCDE_MAX_WIDTH
.no_dead_strip _mcde_dsi_get_pkt_div
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mcde_dsi_get_pkt_div
_mcde_dsi_get_pkt_div: ; @mcde_dsi_get_pkt_div
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov x20, x0
Lloh0:
adrp x8, _MCDE_MAX_WIDTH@GOTPAGE
Lloh1:
ldr x8, [x8, _MCDE_MAX_WIDTH@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
bl _DIV_ROUND_UP
cmp w0, #2
b.lt LBB0_4
; %bb.1:
mov x8, x0
mov w0, #1
LBB0_2: ; =>This Inner Loop Header: Depth=1
sdiv w9, w20, w0
msub w10, w9, w0, w20
cmp w10, #0
ccmp w9, w19, #0, eq
b.le LBB0_5
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
add w0, w0, #1
cmp w8, w0
b.ne LBB0_2
LBB0_4:
mov w0, #1
LBB0_5:
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 _MCDE_MAX_WIDTH,4,2 ; @MCDE_MAX_WIDTH
.no_dead_strip _mcde_dsi_get_pkt_div
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/mcde/extr_mcde_display.c_mcde_dsi_get_pkt_div.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function clk_plldiv_recalc_rate
_clk_plldiv_recalc_rate: ## @clk_plldiv_recalc_rate
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rsi, %rbx
callq _to_clk_plldiv
movl (%rax), %edi
movq _AT91_PMC_MCKR@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -12(%rbp), %rdx
callq _regmap_read
movq _AT91_PMC_PLLADIV2@GOTPCREL(%rip), %rax
movl (%rax), %eax
andl -12(%rbp), %eax
setne %cl
shrq %cl, %rbx
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _AT91_PMC_MCKR,4,2 ## @AT91_PMC_MCKR
.comm _AT91_PMC_PLLADIV2,4,2 ## @AT91_PMC_PLLADIV2
.no_dead_strip _clk_plldiv_recalc_rate
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function clk_plldiv_recalc_rate
_clk_plldiv_recalc_rate: ; @clk_plldiv_recalc_rate
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
bl _to_clk_plldiv
ldr w0, [x0]
Lloh0:
adrp x8, _AT91_PMC_MCKR@GOTPAGE
Lloh1:
ldr x8, [x8, _AT91_PMC_MCKR@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
add x2, sp, #12
bl _regmap_read
Lloh3:
adrp x8, _AT91_PMC_PLLADIV2@GOTPAGE
Lloh4:
ldr x8, [x8, _AT91_PMC_PLLADIV2@GOTPAGEOFF]
ldr w9, [sp, #12]
Lloh5:
ldr w8, [x8]
tst w8, w9
cset w8, ne
lsr x0, x19, x8
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 Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _AT91_PMC_MCKR,4,2 ; @AT91_PMC_MCKR
.comm _AT91_PMC_PLLADIV2,4,2 ; @AT91_PMC_PLLADIV2
.no_dead_strip _clk_plldiv_recalc_rate
.subsections_via_symbols
| AnghaBench/linux/drivers/clk/at91/extr_clk-plldiv.c_clk_plldiv_recalc_rate.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function intel_dsm_mux_type
_intel_dsm_mux_type: ## @intel_dsm_mux_type
.cfi_startproc
## %bb.0:
cmpl $3, %edi
ja LBB0_1
## %bb.2:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movslq %edi, %rax
leaq l_reltable.intel_dsm_mux_type(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
popq %rbp
retq
LBB0_1:
leaq L_.str.4(%rip), %rax
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "unknown"
L_.str.1: ## @.str.1
.asciz "No MUX, iGPU only"
L_.str.2: ## @.str.2
.asciz "No MUX, dGPU only"
L_.str.3: ## @.str.3
.asciz "MUXed between iGPU and dGPU"
L_.str.4: ## @.str.4
.asciz "bad type"
.no_dead_strip _intel_dsm_mux_type
.section __TEXT,__const
.p2align 2 ## @reltable.intel_dsm_mux_type
l_reltable.intel_dsm_mux_type:
.long L_.str-l_reltable.intel_dsm_mux_type
.long L_.str.1-l_reltable.intel_dsm_mux_type
.long L_.str.2-l_reltable.intel_dsm_mux_type
.long L_.str.3-l_reltable.intel_dsm_mux_type
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function intel_dsm_mux_type
_intel_dsm_mux_type: ; @intel_dsm_mux_type
.cfi_startproc
; %bb.0:
cmp w0, #3
b.hi LBB0_2
; %bb.1:
Lloh0:
adrp x8, l_switch.table.intel_dsm_mux_type@PAGE
Lloh1:
add x8, x8, l_switch.table.intel_dsm_mux_type@PAGEOFF
ldr x0, [x8, w0, sxtw #3]
ret
LBB0_2:
Lloh2:
adrp x0, l_.str.4@PAGE
Lloh3:
add x0, x0, l_.str.4@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "unknown"
l_.str.1: ; @.str.1
.asciz "No MUX, iGPU only"
l_.str.2: ; @.str.2
.asciz "No MUX, dGPU only"
l_.str.3: ; @.str.3
.asciz "MUXed between iGPU and dGPU"
l_.str.4: ; @.str.4
.asciz "bad type"
.no_dead_strip _intel_dsm_mux_type
.section __DATA,__const
.p2align 3 ; @switch.table.intel_dsm_mux_type
l_switch.table.intel_dsm_mux_type:
.quad l_.str
.quad l_.str.1
.quad l_.str.2
.quad l_.str.3
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_acpi.c_intel_dsm_mux_type.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function wlan_add_new_scan_result
_wlan_add_new_scan_result: ## @wlan_add_new_scan_result
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r14
movl 24(%rsi), %esi
movq %rdx, %rdi
callq _wlan_scan_new_result
movq %rax, %r15
movl $-1, %eax
testq %r15, %r15
je LBB0_3
## %bb.1:
movl 20(%rbx), %edi
callq _wlan_channel_flags_to_snmp_phy
movl %eax, 20(%r15)
movups 4(%rbx), %xmm0
movups %xmm0, 4(%r15)
movl (%rbx), %edi
callq _wlan_peercaps_to_snmp
movl %eax, (%r15)
movq %r14, %rdi
movq %r15, %rsi
callq _wlan_scan_add_result
movq %rax, %rcx
xorl %eax, %eax
testq %rcx, %rcx
jns LBB0_3
## %bb.2:
movq %r15, %rdi
callq _wlan_scan_free_result
movl $-1, %eax
LBB0_3:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _wlan_add_new_scan_result
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function wlan_add_new_scan_result
_wlan_add_new_scan_result: ; @wlan_add_new_scan_result
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x21, x1
mov x20, x0
ldr w1, [x1, #24]
mov x0, x2
bl _wlan_scan_new_result
cbz x0, LBB0_4
; %bb.1:
mov x19, x0
ldr w0, [x21, #20]
bl _wlan_channel_flags_to_snmp_phy
str w0, [x19, #20]
ldur q0, [x21, #4]
stur q0, [x19, #4]
ldr w0, [x21]
bl _wlan_peercaps_to_snmp
str w0, [x19]
mov x0, x20
mov x1, x19
bl _wlan_scan_add_result
tbnz x0, #63, LBB0_3
; %bb.2:
mov w0, #0
b LBB0_5
LBB0_3:
mov x0, x19
bl _wlan_scan_free_result
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
.cfi_endproc
; -- End function
.no_dead_strip _wlan_add_new_scan_result
.subsections_via_symbols
| AnghaBench/freebsd/usr.sbin/bsnmpd/modules/snmp_wlan/extr_wlan_sys.c_wlan_add_new_scan_result.c | anghabench |
.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
callq _foo
movl %eax, %eax
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _foo ; -- Begin function foo
.p2align 2
_foo: ; @foo
.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 _foo
mov w8, w0
ldr w0, [x8]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/991901.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
leaq L_str.2(%rip), %rbx
movq %rbx, %rdi
callq _puts
movq %rbx, %rdi
callq _puts
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_str.2: ## @str.2
.asciz "little endian"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp 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, l_str.2@PAGE
Lloh1:
add x19, x19, l_str.2@PAGEOFF
mov x0, x19
bl _puts
mov x0, x19
bl _puts
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_str.2: ; @str.2
.asciz "little endian"
.subsections_via_symbols
| the_stack_data/59295.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function db_capture_start
_db_capture_start: ## @db_capture_start
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _db_capture_inprogress@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB0_1
## %bb.2:
leaq L_.str(%rip), %rdi
popq %rbp
jmp _db_printf ## TAILCALL
LBB0_1:
movl $1, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _db_capture_inprogress,4,2 ## @db_capture_inprogress
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Capture already started\n"
.no_dead_strip _db_capture_start
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function db_capture_start
_db_capture_start: ; @db_capture_start
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _db_capture_inprogress@GOTPAGE
Lloh1:
ldr x8, [x8, _db_capture_inprogress@GOTPAGEOFF]
ldr w9, [x8]
cbz w9, LBB0_2
; %bb.1:
Lloh2:
adrp x0, l_.str@PAGE
Lloh3:
add x0, x0, l_.str@PAGEOFF
b _db_printf
LBB0_2:
mov w9, #1
str w9, [x8]
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.comm _db_capture_inprogress,4,2 ; @db_capture_inprogress
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Capture already started\n"
.no_dead_strip _db_capture_start
.subsections_via_symbols
| AnghaBench/freebsd/sys/ddb/extr_db_capture.c_db_capture_start.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ci_populate_pm_fuses
_ci_populate_pm_fuses: ## @ci_populate_pm_fuses
.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 8(%rdi), %r14
movl (%rdi), %edi
movq _PHM_PlatformCaps_PowerContainment@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _phm_cap_enabled
testq %rax, %rax
je LBB0_1
## %bb.2:
movq _SMU7_FIRMWARE_HEADER_LOCATION@GOTPCREL(%rip), %rax
movq (%rax), %rbx
movq _SMU7_Firmware_Header@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _PmFuseTable@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _offsetof
addq %rax, %rbx
movq _SMC_RAM_END@GOTPCREL(%rip), %rax
movl (%rax), %ecx
leaq -44(%rbp), %rdx
movq %r15, %rdi
movq %rbx, %rsi
callq _ci_read_smc_sram_dword
testq %rax, %rax
je LBB0_4
## %bb.3:
leaq L_.str(%rip), %rdi
callq _pr_err
movq _EINVAL@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
jmp LBB0_6
LBB0_1:
xorl %eax, %eax
jmp LBB0_6
LBB0_4:
movq %r15, %rdi
callq _ci_populate_bapm_vddc_vid_sidd
movl %eax, %r12d
movq %r15, %rdi
callq _ci_populate_vddc_vid
movl %eax, %r13d
orl %r12d, %r13d
movq %r15, %rdi
callq _ci_populate_svi_load_line
movl %eax, %r12d
movq %r15, %rdi
callq _ci_populate_tdc_limit
movl %eax, %ebx
orl %r12d, %ebx
orl %r13d, %ebx
movl -44(%rbp), %esi
movq %r15, %rdi
callq _ci_populate_dw8
movl %eax, %r12d
orl %ebx, %r12d
movl -44(%rbp), %esi
movq %r15, %rdi
callq _ci_populate_fuzzy_fan
movl %eax, %r13d
movq %r15, %rdi
callq _ci_min_max_v_gnbl_pm_lid_from_bapm_vddc
movl %eax, %ebx
orl %r13d, %ebx
orl %r12d, %ebx
movq %r15, %rdi
callq _ci_populate_bapm_vddc_base_leakage_sidd
orl %ebx, %eax
jne LBB0_6
## %bb.5:
movl -44(%rbp), %esi
movq _SMC_RAM_END@GOTPCREL(%rip), %rax
movl (%rax), %r8d
movq %r15, %rdi
movq %r14, %rdx
movl $4, %ecx
callq _ci_copy_bytes_to_smc
LBB0_6:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PHM_PlatformCaps_PowerContainment,4,2 ## @PHM_PlatformCaps_PowerContainment
.comm _SMU7_FIRMWARE_HEADER_LOCATION,8,3 ## @SMU7_FIRMWARE_HEADER_LOCATION
.comm _SMU7_Firmware_Header,4,2 ## @SMU7_Firmware_Header
.comm _PmFuseTable,4,2 ## @PmFuseTable
.comm _SMC_RAM_END,4,2 ## @SMC_RAM_END
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Attempt to get pm_fuse_table_offset Failed!\n"
.comm _EINVAL,4,2 ## @EINVAL
.no_dead_strip _ci_populate_pm_fuses
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ci_populate_pm_fuses
_ci_populate_pm_fuses: ; @ci_populate_pm_fuses
.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, x0
ldr x19, [x0, #8]
ldr w0, [x0]
Lloh0:
adrp x8, _PHM_PlatformCaps_PowerContainment@GOTPAGE
Lloh1:
ldr x8, [x8, _PHM_PlatformCaps_PowerContainment@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _phm_cap_enabled
cbz x0, LBB0_5
; %bb.1:
Lloh3:
adrp x8, _SMU7_FIRMWARE_HEADER_LOCATION@GOTPAGE
Lloh4:
ldr x8, [x8, _SMU7_FIRMWARE_HEADER_LOCATION@GOTPAGEOFF]
Lloh5:
ldr x21, [x8]
Lloh6:
adrp x8, _SMU7_Firmware_Header@GOTPAGE
Lloh7:
ldr x8, [x8, _SMU7_Firmware_Header@GOTPAGEOFF]
Lloh8:
ldr w0, [x8]
Lloh9:
adrp x8, _PmFuseTable@GOTPAGE
Lloh10:
ldr x8, [x8, _PmFuseTable@GOTPAGEOFF]
Lloh11:
ldr w1, [x8]
bl _offsetof
add x1, x0, x21
Lloh12:
adrp x22, _SMC_RAM_END@GOTPAGE
Lloh13:
ldr x22, [x22, _SMC_RAM_END@GOTPAGEOFF]
ldr w3, [x22]
add x2, sp, #12
mov x0, x20
bl _ci_read_smc_sram_dword
cbz x0, LBB0_3
; %bb.2:
Lloh14:
adrp x0, l_.str@PAGE
Lloh15:
add x0, x0, l_.str@PAGEOFF
bl _pr_err
Lloh16:
adrp x8, _EINVAL@GOTPAGE
Lloh17:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh18:
ldr w8, [x8]
neg w0, w8
b LBB0_5
LBB0_3:
mov x0, x20
bl _ci_populate_bapm_vddc_vid_sidd
mov x21, x0
mov x0, x20
bl _ci_populate_vddc_vid
orr w21, w0, w21
mov x0, x20
bl _ci_populate_svi_load_line
orr w21, w21, w0
mov x0, x20
bl _ci_populate_tdc_limit
orr w21, w21, w0
ldr w1, [sp, #12]
mov x0, x20
bl _ci_populate_dw8
orr w21, w21, w0
ldr w1, [sp, #12]
mov x0, x20
bl _ci_populate_fuzzy_fan
orr w21, w21, w0
mov x0, x20
bl _ci_min_max_v_gnbl_pm_lid_from_bapm_vddc
orr w21, w21, w0
mov x0, x20
bl _ci_populate_bapm_vddc_base_leakage_sidd
orr w0, w21, w0
cbnz w0, LBB0_5
; %bb.4:
ldr w1, [sp, #12]
ldr w4, [x22]
mov x0, x20
mov x2, x19
mov w3, #4
bl _ci_copy_bytes_to_smc
LBB0_5:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpAdd Lloh14, Lloh15
.cfi_endproc
; -- End function
.comm _PHM_PlatformCaps_PowerContainment,4,2 ; @PHM_PlatformCaps_PowerContainment
.comm _SMU7_FIRMWARE_HEADER_LOCATION,8,3 ; @SMU7_FIRMWARE_HEADER_LOCATION
.comm _SMU7_Firmware_Header,4,2 ; @SMU7_Firmware_Header
.comm _PmFuseTable,4,2 ; @PmFuseTable
.comm _SMC_RAM_END,4,2 ; @SMC_RAM_END
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Attempt to get pm_fuse_table_offset Failed!\n"
.comm _EINVAL,4,2 ; @EINVAL
.no_dead_strip _ci_populate_pm_fuses
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/amd/powerplay/smumgr/extr_ci_smumgr.c_ci_populate_pm_fuses.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function get_connected_filter_name
_get_connected_filter_name: ## @get_connected_filter_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
subq $40, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq $0, -40(%rbp)
movb $0, (%rsi)
movq (%rdi), %rax
movl (%rax), %edi
leaq -40(%rbp), %rsi
callq _IPin_ConnectedTo
movq _S_OK@GOTPCREL(%rip), %r15
xorl %edi, %edi
cmpq (%r15), %rax
sete %dil
leaq L_.str(%rip), %rsi
movq %rax, %rdx
callq _ok
movq -40(%rbp), %rdi
leaq -32(%rbp), %rsi
callq _IPin_QueryPinInfo
xorl %edi, %edi
cmpq (%r15), %rax
sete %dil
leaq L_.str.1(%rip), %rsi
movq %rax, %rdx
callq _ok
movq -40(%rbp), %rdi
callq _IPin_Release
movl $-559038737, %edi ## imm = 0xDEADBEEF
callq _SetLastError
movl -32(%rbp), %edi
leaq -48(%rbp), %rsi
callq _IBaseFilter_QueryFilterInfo
movq %rax, %rbx
movq (%r15), %rax
cmpq %rax, %rbx
jne LBB0_3
## %bb.1:
xorl %eax, %eax
callq _GetLastError
movq _ERROR_CALL_NOT_IMPLEMENTED@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_2
## %bb.5:
movl -32(%rbp), %edi
callq _IBaseFilter_Release
movq _E_NOTIMPL@GOTPCREL(%rip), %r15
jmp LBB0_4
LBB0_2:
movq _S_OK@GOTPCREL(%rip), %rax
movq (%rax), %rax
LBB0_3:
xorl %edi, %edi
cmpq %rax, %rbx
sete %dil
leaq L_.str.2(%rip), %rsi
movq %rbx, %rdx
callq _ok
movl -32(%rbp), %edi
callq _IBaseFilter_Release
movl -44(%rbp), %edi
callq _IFilterGraph_Release
movq _CP_ACP@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl -48(%rbp), %edx
movq _MAX_FILTER_NAME@GOTPCREL(%rip), %rax
movl (%rax), %r9d
xorps %xmm0, %xmm0
movups %xmm0, (%rsp)
xorl %esi, %esi
movl $-1, %ecx
movq %r14, %r8
callq _WideCharToMultiByte
LBB0_4:
movq (%r15), %rax
addq $40, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _S_OK,8,3 ## @S_OK
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "IPin_ConnectedTo failed with %x\n"
L_.str.1: ## @.str.1
.asciz "IPin_QueryPinInfo failed with %x\n"
.comm _ERROR_CALL_NOT_IMPLEMENTED,8,3 ## @ERROR_CALL_NOT_IMPLEMENTED
.comm _E_NOTIMPL,8,3 ## @E_NOTIMPL
L_.str.2: ## @.str.2
.asciz "IBaseFilter_QueryFilterInfo failed with %x\n"
.comm _CP_ACP,4,2 ## @CP_ACP
.comm _MAX_FILTER_NAME,4,2 ## @MAX_FILTER_NAME
.no_dead_strip _get_connected_filter_name
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function get_connected_filter_name
_get_connected_filter_name: ; @get_connected_filter_name
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
str xzr, [sp, #24]
strb wzr, [x1]
ldr x8, [x0]
ldr w0, [x8]
add x1, sp, #24
bl _IPin_ConnectedTo
mov x2, x0
Lloh0:
adrp x21, _S_OK@GOTPAGE
Lloh1:
ldr x21, [x21, _S_OK@GOTPAGEOFF]
ldr x8, [x21]
cmp x0, x8
cset w0, eq
Lloh2:
adrp x1, l_.str@PAGE
Lloh3:
add x1, x1, l_.str@PAGEOFF
bl _ok
ldr x0, [sp, #24]
add x1, sp, #16
bl _IPin_QueryPinInfo
mov x2, x0
ldr x8, [x21]
cmp x0, x8
cset w0, eq
Lloh4:
adrp x1, l_.str.1@PAGE
Lloh5:
add x1, x1, l_.str.1@PAGEOFF
bl _ok
ldr x0, [sp, #24]
bl _IPin_Release
mov w0, #48879
movk w0, #57005, lsl #16
bl _SetLastError
ldr w0, [sp, #16]
add x1, sp, #8
bl _IBaseFilter_QueryFilterInfo
mov x20, x0
ldr x8, [x21]
cmp x0, x8
b.ne LBB0_4
; %bb.1:
bl _GetLastError
Lloh6:
adrp x8, _ERROR_CALL_NOT_IMPLEMENTED@GOTPAGE
Lloh7:
ldr x8, [x8, _ERROR_CALL_NOT_IMPLEMENTED@GOTPAGEOFF]
Lloh8:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_3
; %bb.2:
ldr w0, [sp, #16]
bl _IBaseFilter_Release
Lloh9:
adrp x8, _E_NOTIMPL@GOTPAGE
Lloh10:
ldr x8, [x8, _E_NOTIMPL@GOTPAGEOFF]
b LBB0_5
LBB0_3:
ldr x8, [x21]
LBB0_4:
cmp x20, x8
cset w0, eq
Lloh11:
adrp x1, l_.str.2@PAGE
Lloh12:
add x1, x1, l_.str.2@PAGEOFF
mov x2, x20
bl _ok
ldr w0, [sp, #16]
bl _IBaseFilter_Release
ldr w0, [sp, #12]
bl _IFilterGraph_Release
Lloh13:
adrp x8, _CP_ACP@GOTPAGE
Lloh14:
ldr x8, [x8, _CP_ACP@GOTPAGEOFF]
Lloh15:
ldr w0, [x8]
ldr w2, [sp, #8]
Lloh16:
adrp x8, _MAX_FILTER_NAME@GOTPAGE
Lloh17:
ldr x8, [x8, _MAX_FILTER_NAME@GOTPAGEOFF]
Lloh18:
ldr w5, [x8]
mov w1, #0
mov w3, #-1
mov x4, x19
mov x6, #0
mov x7, #0
bl _WideCharToMultiByte
Lloh19:
adrp x8, _S_OK@GOTPAGE
Lloh20:
ldr x8, [x8, _S_OK@GOTPAGEOFF]
LBB0_5:
ldr x0, [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
add sp, sp, #80
ret
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGot Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpAdd Lloh11, Lloh12
.cfi_endproc
; -- End function
.comm _S_OK,8,3 ; @S_OK
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "IPin_ConnectedTo failed with %x\n"
l_.str.1: ; @.str.1
.asciz "IPin_QueryPinInfo failed with %x\n"
.comm _ERROR_CALL_NOT_IMPLEMENTED,8,3 ; @ERROR_CALL_NOT_IMPLEMENTED
.comm _E_NOTIMPL,8,3 ; @E_NOTIMPL
l_.str.2: ; @.str.2
.asciz "IBaseFilter_QueryFilterInfo failed with %x\n"
.comm _CP_ACP,4,2 ; @CP_ACP
.comm _MAX_FILTER_NAME,4,2 ; @MAX_FILTER_NAME
.no_dead_strip _get_connected_filter_name
.subsections_via_symbols
| AnghaBench/reactos/modules/rostests/winetests/quartz/extr_filtergraph.c_get_connected_filter_name.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _set_cpu_affinity ## -- Begin function set_cpu_affinity
.p2align 4, 0x90
_set_cpu_affinity: ## @set_cpu_affinity
.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
movl %edi, %ebx
leaq -20(%rbp), %r14
movq %r14, %rdi
callq _CPU_ZERO
movl %ebx, %edi
movq %r14, %rsi
callq _CPU_SET
leaq L_.str(%rip), %rdi
movl %ebx, %esi
callq _dprintf
xorl %ebx, %ebx
xorl %eax, %eax
callq _getpid
movl %eax, %edi
movl $4, %esi
movq %r14, %rdx
callq _sched_setaffinity
testq %rax, %rax
js LBB0_1
LBB0_2:
movl %ebx, %eax
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
retq
LBB0_1:
callq _set_cpu_affinity.cold.1
movl $-1, %ebx
jmp LBB0_2
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function set_cpu_affinity.cold.1
_set_cpu_affinity.cold.1: ## @set_cpu_affinity.cold.1
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str.1(%rip), %rdi
callq _perror
movq _stderr@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.2(%rip), %rsi
callq _fprintf
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "set affinity to cpu #%u\n"
L_.str.1: ## @.str.1
.asciz "sched_setaffinity"
.comm _stderr,4,2 ## @stderr
L_.str.2: ## @.str.2
.asciz "warning: unable to set cpu affinity\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _set_cpu_affinity ; -- Begin function set_cpu_affinity
.p2align 2
_set_cpu_affinity: ; @set_cpu_affinity
.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
add x0, sp, #12
bl _CPU_ZERO
add x1, sp, #12
mov x0, x19
bl _CPU_SET
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
mov x1, x19
bl _dprintf
bl _getpid
add x2, sp, #12
mov w1, #4
bl _sched_setaffinity
tbnz x0, #63, LBB0_3
; %bb.1:
mov w0, #0
LBB0_2:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
LBB0_3:
bl _set_cpu_affinity.cold.1
mov w0, #-1
b LBB0_2
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function set_cpu_affinity.cold.1
_set_cpu_affinity.cold.1: ; @set_cpu_affinity.cold.1
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _perror
Lloh4:
adrp x8, _stderr@GOTPAGE
Lloh5:
ldr x8, [x8, _stderr@GOTPAGEOFF]
Lloh6:
ldr w0, [x8]
Lloh7:
adrp x1, l_.str.2@PAGE
Lloh8:
add x1, x1, l_.str.2@PAGEOFF
bl _fprintf
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "set affinity to cpu #%u\n"
l_.str.1: ; @.str.1
.asciz "sched_setaffinity"
.comm _stderr,4,2 ; @stderr
l_.str.2: ; @.str.2
.asciz "warning: unable to set cpu affinity\n"
.subsections_via_symbols
| AnghaBench/linux/tools/power/cpupower/bench/extr_system.c_set_cpu_affinity.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function data_item_get_int
_data_item_get_int: ## @data_item_get_int
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl %esi, %r14d
movq %rdi, %rbx
movq _OBS_DATA_NUMBER@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _item_valid
testq %rax, %rax
cmoveq %rax, %rbx
movq %rbx, %rdi
movl %r14d, %esi
popq %rbx
popq %r14
popq %rbp
jmp _item_int ## TAILCALL
.cfi_endproc
## -- End function
.comm _OBS_DATA_NUMBER,4,2 ## @OBS_DATA_NUMBER
.no_dead_strip _data_item_get_int
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function data_item_get_int
_data_item_get_int: ; @data_item_get_int
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov x20, x0
Lloh0:
adrp x8, _OBS_DATA_NUMBER@GOTPAGE
Lloh1:
ldr x8, [x8, _OBS_DATA_NUMBER@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _item_valid
cmp x0, #0
csel x0, xzr, x20, eq
mov x1, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _item_int
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _OBS_DATA_NUMBER,4,2 ; @OBS_DATA_NUMBER
.no_dead_strip _data_item_get_int
.subsections_via_symbols
| AnghaBench/obs-studio/libobs/extr_obs-data.c_data_item_get_int.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
leaq L_.str(%rip), %rdi
leaq L_.str.1(%rip), %rsi
callq _fopen
testq %rax, %rax
je LBB0_1
## %bb.2:
movq %rax, %rbx
leaq L_str(%rip), %rdi
callq _puts
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
callq _fgetc
cmpl $-1, %eax
je LBB0_5
## %bb.3: ## in Loop: Header=BB0_4 Depth=1
movl %eax, %edi
callq _putchar
jmp LBB0_4
LBB0_5:
movq %rbx, %rdi
callq _fclose
leaq L_str.7(%rip), %rdi
callq _puts
leaq L_.str.6(%rip), %rdi
jmp LBB0_6
LBB0_1:
leaq L_.str.2(%rip), %rdi
LBB0_6:
xorl %eax, %eax
callq _printf
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Test.c"
L_.str.1: ## @.str.1
.asciz "r"
L_.str.2: ## @.str.2
.asciz "Test.c file failed to open."
L_.str.6: ## @.str.6
.asciz "The file is now closed."
L_str: ## @str
.asciz "The file is now opened."
L_str.7: ## @str.7
.asciz "Data successfully read from file Test.c"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
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 x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
bl _fopen
cbz x0, LBB0_5
; %bb.1:
mov x19, x0
Lloh4:
adrp x0, l_str@PAGE
Lloh5:
add x0, x0, l_str@PAGEOFF
bl _puts
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x0, x19
bl _fgetc
cmn w0, #1
b.eq LBB0_4
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
bl _putchar
b LBB0_2
LBB0_4:
mov x0, x19
bl _fclose
Lloh6:
adrp x0, l_str.7@PAGE
Lloh7:
add x0, x0, l_str.7@PAGEOFF
bl _puts
Lloh8:
adrp x0, l_.str.6@PAGE
Lloh9:
add x0, x0, l_.str.6@PAGEOFF
b LBB0_6
LBB0_5:
Lloh10:
adrp x0, l_.str.2@PAGE
Lloh11:
add x0, x0, l_.str.2@PAGEOFF
LBB0_6:
bl _printf
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh10, Lloh11
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Test.c"
l_.str.1: ; @.str.1
.asciz "r"
l_.str.2: ; @.str.2
.asciz "Test.c file failed to open."
l_.str.6: ; @.str.6
.asciz "The file is now closed."
l_str: ; @str
.asciz "The file is now opened."
l_str.7: ; @str.7
.asciz "Data successfully read from file Test.c"
.subsections_via_symbols
| the_stack_data/184518465.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mlxsw_pci_cq_elem_count
_mlxsw_pci_cq_elem_count: ## @mlxsw_pci_cq_elem_count
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq (%rdi), %rax
movq _MLXSW_PCI_CQE_V2@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_1
## %bb.2:
movq _MLXSW_PCI_CQE2_COUNT@GOTPCREL(%rip), %rax
jmp LBB0_3
LBB0_1:
movq _MLXSW_PCI_CQE01_COUNT@GOTPCREL(%rip), %rax
LBB0_3:
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MLXSW_PCI_CQE_V2,8,3 ## @MLXSW_PCI_CQE_V2
.comm _MLXSW_PCI_CQE2_COUNT,4,2 ## @MLXSW_PCI_CQE2_COUNT
.comm _MLXSW_PCI_CQE01_COUNT,4,2 ## @MLXSW_PCI_CQE01_COUNT
.no_dead_strip _mlxsw_pci_cq_elem_count
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mlxsw_pci_cq_elem_count
_mlxsw_pci_cq_elem_count: ; @mlxsw_pci_cq_elem_count
.cfi_startproc
; %bb.0:
ldr x8, [x0]
Lloh0:
adrp x9, _MLXSW_PCI_CQE_V2@GOTPAGE
Lloh1:
ldr x9, [x9, _MLXSW_PCI_CQE_V2@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
Lloh3:
adrp x10, _MLXSW_PCI_CQE2_COUNT@GOTPAGE
Lloh4:
ldr x10, [x10, _MLXSW_PCI_CQE2_COUNT@GOTPAGEOFF]
Lloh5:
adrp x11, _MLXSW_PCI_CQE01_COUNT@GOTPAGE
Lloh6:
ldr x11, [x11, _MLXSW_PCI_CQE01_COUNT@GOTPAGEOFF]
cmp x8, x9
csel x8, x10, x11, eq
ldr w0, [x8]
ret
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _MLXSW_PCI_CQE_V2,8,3 ; @MLXSW_PCI_CQE_V2
.comm _MLXSW_PCI_CQE2_COUNT,4,2 ; @MLXSW_PCI_CQE2_COUNT
.comm _MLXSW_PCI_CQE01_COUNT,4,2 ; @MLXSW_PCI_CQE01_COUNT
.no_dead_strip _mlxsw_pci_cq_elem_count
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_pci.c_mlxsw_pci_cq_elem_count.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_str(%rip), %rdi
callq _puts
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_str: ## @str
.asciz "Hello world!"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x0, l_str@PAGE
Lloh1:
add x0, x0, l_str@PAGEOFF
bl _puts
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_str: ; @str
.asciz "Hello world!"
.subsections_via_symbols
| the_stack_data/801694.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _m68k_op_move_8_pd7_pi ## -- Begin function m68k_op_move_8_pd7_pi
.p2align 4, 0x90
_m68k_op_move_8_pd7_pi: ## @m68k_op_move_8_pd7_pi
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
xorl %eax, %eax
callq _OPER_AY_PI_8
movl %eax, %ebx
xorl %eax, %eax
callq _EA_A7_PD_8
movl %eax, %edi
movl %ebx, %esi
callq _m68ki_write_8
movl %ebx, %edi
callq _NFLAG_8
movq _FLAG_N@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movq _FLAG_Z@GOTPCREL(%rip), %rax
movl %ebx, (%rax)
movq _VFLAG_CLEAR@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _FLAG_V@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movq _CFLAG_CLEAR@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _FLAG_C@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _FLAG_N,4,2 ## @FLAG_N
.comm _FLAG_Z,4,2 ## @FLAG_Z
.comm _VFLAG_CLEAR,4,2 ## @VFLAG_CLEAR
.comm _FLAG_V,4,2 ## @FLAG_V
.comm _CFLAG_CLEAR,4,2 ## @CFLAG_CLEAR
.comm _FLAG_C,4,2 ## @FLAG_C
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _m68k_op_move_8_pd7_pi ; -- Begin function m68k_op_move_8_pd7_pi
.p2align 2
_m68k_op_move_8_pd7_pi: ; @m68k_op_move_8_pd7_pi
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
bl _OPER_AY_PI_8
mov x19, x0
bl _EA_A7_PD_8
mov x1, x19
bl _m68ki_write_8
mov x0, x19
bl _NFLAG_8
Lloh0:
adrp x8, _FLAG_N@GOTPAGE
Lloh1:
ldr x8, [x8, _FLAG_N@GOTPAGEOFF]
Lloh2:
str w0, [x8]
Lloh3:
adrp x8, _FLAG_Z@GOTPAGE
Lloh4:
ldr x8, [x8, _FLAG_Z@GOTPAGEOFF]
Lloh5:
str w19, [x8]
Lloh6:
adrp x8, _VFLAG_CLEAR@GOTPAGE
Lloh7:
ldr x8, [x8, _VFLAG_CLEAR@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
Lloh9:
adrp x9, _FLAG_V@GOTPAGE
Lloh10:
ldr x9, [x9, _FLAG_V@GOTPAGEOFF]
Lloh11:
str w8, [x9]
Lloh12:
adrp x8, _CFLAG_CLEAR@GOTPAGE
Lloh13:
ldr x8, [x8, _CFLAG_CLEAR@GOTPAGEOFF]
Lloh14:
ldr w8, [x8]
Lloh15:
adrp x9, _FLAG_C@GOTPAGE
Lloh16:
ldr x9, [x9, _FLAG_C@GOTPAGEOFF]
Lloh17:
str w8, [x9]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotStr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotStr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotStr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotStr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _FLAG_N,4,2 ; @FLAG_N
.comm _FLAG_Z,4,2 ; @FLAG_Z
.comm _VFLAG_CLEAR,4,2 ; @VFLAG_CLEAR
.comm _FLAG_V,4,2 ; @FLAG_V
.comm _CFLAG_CLEAR,4,2 ; @CFLAG_CLEAR
.comm _FLAG_C,4,2 ; @FLAG_C
.subsections_via_symbols
| AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopdm.c_m68k_op_move_8_pd7_pi.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _prof_active_set ## -- Begin function prof_active_set
.p2align 4, 0x90
_prof_active_set: ## @prof_active_set
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r14d
movq %rdi, %rbx
movq _prof_active_mtx@GOTPCREL(%rip), %r15
movq %r15, %rsi
callq _malloc_mutex_lock
movq _prof_active@GOTPCREL(%rip), %rax
movl (%rax), %r12d
movl %r14d, (%rax)
movq %rbx, %rdi
movq %r15, %rsi
callq _malloc_mutex_unlock
movl %r12d, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _prof_active_mtx,4,2 ## @prof_active_mtx
.comm _prof_active,4,2 ## @prof_active
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _prof_active_set ; -- Begin function prof_active_set
.p2align 2
_prof_active_set: ; @prof_active_set
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
Lloh0:
adrp x21, _prof_active_mtx@GOTPAGE
Lloh1:
ldr x21, [x21, _prof_active_mtx@GOTPAGEOFF]
mov x1, x21
bl _malloc_mutex_lock
Lloh2:
adrp x8, _prof_active@GOTPAGE
Lloh3:
ldr x8, [x8, _prof_active@GOTPAGEOFF]
ldr w22, [x8]
str w19, [x8]
mov x0, x20
mov x1, x21
bl _malloc_mutex_unlock
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 Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _prof_active_mtx,4,2 ; @prof_active_mtx
.comm _prof_active,4,2 ; @prof_active
.subsections_via_symbols
| AnghaBench/freebsd/contrib/jemalloc/src/extr_prof.c_prof_active_set.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function set_number_format
_set_number_format: ## @set_number_format
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl %esi, %ebx
movq %rdi, %r14
leal -1(%rbx), %eax
xorl %edi, %edi
cmpl $14, %eax
setb %dil
callq _assert
movw $11813, (%r14) ## imm = 0x2E25
leal 9(%rbx), %edx
movl $2, %ecx
movslq %ebx, %rax
cmpl $19, %edx
jb LBB0_2
## %bb.1:
imulq $1717986919, %rax, %rcx ## imm = 0x66666667
movq %rcx, %rdx
shrq $63, %rdx
shrq $34, %rcx
addl %edx, %ecx
addb $48, %cl
movb %cl, 2(%r14)
movl $3, %ecx
LBB0_2:
imulq $1717986919, %rax, %rdx ## imm = 0x66666667
movq %rdx, %rsi
shrq $63, %rsi
shrq $34, %rdx
addl %esi, %edx
addl %edx, %edx
leal (%rdx,%rdx,4), %edx
subl %edx, %eax
addb $48, %al
movl %ecx, %ecx
movb %al, (%r14,%rcx)
movw $103, 1(%r14,%rcx)
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _set_number_format
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function set_number_format
_set_number_format: ; @set_number_format
.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
sub w8, w1, #1
cmp w8, #14
cset w0, lo
bl _assert
mov w8, #11813
strh w8, [x19]
add w8, w20, #9
cmp w8, #19
b.hs LBB0_2
; %bb.1:
mov w8, #2
b LBB0_3
LBB0_2:
mov w8, #26215
movk w8, #26214, lsl #16
smull x8, w20, w8
lsr x9, x8, #63
lsr x8, x8, #34
add w8, w8, w9
add w8, w8, #48
strb w8, [x19, #2]
mov w8, #3
LBB0_3:
mov w9, #26215
movk w9, #26214, lsl #16
smull x9, w20, w9
lsr x10, x9, #63
lsr x9, x9, #34
add w9, w9, w10
mov w10, #10
msub w9, w9, w10, w20
add w9, w9, #48
add x8, x19, w8, uxtw
strb w9, [x8]
mov w9, #103
sturh w9, [x8, #1]
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 _set_number_format
.subsections_via_symbols
| AnghaBench/redis/deps/lua/src/extr_fpconv.c_set_number_format.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ahc_set_transaction_status
_ahc_set_transaction_status: ## @ahc_set_transaction_status
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rdi), %edi
popq %rbp
jmp _ahc_cmd_set_transaction_status ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _ahc_set_transaction_status
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ahc_set_transaction_status
_ahc_set_transaction_status: ; @ahc_set_transaction_status
.cfi_startproc
; %bb.0:
ldr w0, [x0]
b _ahc_cmd_set_transaction_status
.cfi_endproc
; -- End function
.no_dead_strip _ahc_set_transaction_status
.subsections_via_symbols
| AnghaBench/linux/drivers/scsi/aic7xxx/extr_aic7xxx_osm.h_ahc_set_transaction_status.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function usage_alloc
_usage_alloc: ## @usage_alloc
.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 (%rdi), %rax
movq %rax, (%rdi)
cmpq 8(%rdi), %rax
jle LBB0_2
## %bb.1:
movq %rax, 8(%rdi)
LBB0_2:
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _usage_alloc
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function usage_alloc
_usage_alloc: ; @usage_alloc
.cfi_startproc
; %bb.0:
ldp x8, x9, [x0]
add x8, x8, w1, sxtw
str x8, [x0]
cmp x8, x9
b.le LBB0_2
; %bb.1:
str x8, [x0, #8]
LBB0_2:
ret
.cfi_endproc
; -- End function
.no_dead_strip _usage_alloc
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/sound/core/seq/extr_seq_clientmgr.c_usage_alloc.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/797259.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function adjust_tcp_sequence
_adjust_tcp_sequence: ## @adjust_tcp_sequence
.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, %r12d
movl %esi, %r14d
movl %edi, %r15d
movq %rdx, %rdi
callq _nfct_nat
movq %rax, %rbx
leaq L_.str(%rip), %rdi
movl %r15d, %esi
movl %r15d, %edx
xorl %eax, %eax
callq _pr_debug
movl %r12d, %edi
callq _CTINFO2DIR
movq (%rbx), %r13
cltq
leaq (%rax,%rax,2), %rbx
leaq (,%rbx,8), %r12
addq %r13, %r12
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _pr_debug
movq %r12, %rdi
callq _DUMP_OFFSET
movq _nf_nat_seqofs_lock@GOTPCREL(%rip), %rdi
callq _spin_lock_bh
movq (%r13,%rbx,8), %rax
cmpq 8(%r13,%rbx,8), %rax
je LBB0_3
## %bb.1:
movl 16(%r13,%rbx,8), %edi
movl %r15d, %esi
callq _before
testq %rax, %rax
je LBB0_4
## %bb.2:
movq 8(%r12), %rax
LBB0_3:
movl %r15d, 16(%r13,%rbx,8)
movq %rax, (%r12)
movslq %r14d, %rcx
addq %rax, %rcx
movq %rcx, 8(%r12)
LBB0_4:
movq _nf_nat_seqofs_lock@GOTPCREL(%rip), %rdi
callq _spin_unlock_bh
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _pr_debug
movq %r12, %rdi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _DUMP_OFFSET ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "adjust_tcp_sequence: seq = %u, sizediff = %d\n"
L_.str.1: ## @.str.1
.asciz "nf_nat_resize_packet: Seq_offset before: "
.comm _nf_nat_seqofs_lock,4,2 ## @nf_nat_seqofs_lock
L_.str.2: ## @.str.2
.asciz "nf_nat_resize_packet: Seq_offset after: "
.no_dead_strip _adjust_tcp_sequence
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function adjust_tcp_sequence
_adjust_tcp_sequence: ; @adjust_tcp_sequence
.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 x21, x3
mov x19, x1
mov x20, x0
mov x0, x2
bl _nfct_nat
mov x22, x0
stp x20, x20, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _pr_debug
mov x0, x21
bl _CTINFO2DIR
; kill: def $w0 killed $w0 def $x0
ldr x22, [x22]
sxtw x23, w0
mov w8, #24
smaddl x21, w0, w8, x22
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _pr_debug
mov x0, x21
bl _DUMP_OFFSET
Lloh4:
adrp x0, _nf_nat_seqofs_lock@GOTPAGE
Lloh5:
ldr x0, [x0, _nf_nat_seqofs_lock@GOTPAGEOFF]
bl _spin_lock_bh
ldr x8, [x21]
mov x24, x21
ldr x9, [x24, #8]!
cmp x8, x9
b.eq LBB0_3
; %bb.1:
mov w8, #24
madd x8, x23, x8, x22
ldr w0, [x8, #16]
mov x1, x20
bl _before
cbz x0, LBB0_4
; %bb.2:
ldr x8, [x24]
LBB0_3:
mov w9, #24
madd x9, x23, x9, x22
str w20, [x9, #16]
str x8, [x21]
add x8, x8, w19, sxtw
str x8, [x24]
LBB0_4:
Lloh6:
adrp x0, _nf_nat_seqofs_lock@GOTPAGE
Lloh7:
ldr x0, [x0, _nf_nat_seqofs_lock@GOTPAGEOFF]
bl _spin_unlock_bh
Lloh8:
adrp x0, l_.str.2@PAGE
Lloh9:
add x0, x0, l_.str.2@PAGEOFF
bl _pr_debug
mov x0, x21
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
b _DUMP_OFFSET
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "adjust_tcp_sequence: seq = %u, sizediff = %d\n"
l_.str.1: ; @.str.1
.asciz "nf_nat_resize_packet: Seq_offset before: "
.comm _nf_nat_seqofs_lock,4,2 ; @nf_nat_seqofs_lock
l_.str.2: ; @.str.2
.asciz "nf_nat_resize_packet: Seq_offset after: "
.no_dead_strip _adjust_tcp_sequence
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/net/ipv4/netfilter/extr_nf_nat_helper.c_adjust_tcp_sequence.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function bcma_gpio_request
_bcma_gpio_request: ## @bcma_gpio_request
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r14d
callq _bcma_gpio_get_cc
movq %rax, %r15
movl $1, %ebx
movl %r14d, %ecx
shll %cl, %ebx
movq %rax, %rdi
movl %ebx, %esi
xorl %edx, %edx
callq _bcma_chipco_gpio_control
movq %r15, %rdi
movl %ebx, %esi
xorl %edx, %edx
callq _bcma_chipco_gpio_pulldown
movq %r15, %rdi
movl %ebx, %esi
movl %ebx, %edx
callq _bcma_chipco_gpio_pullup
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _bcma_gpio_request
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function bcma_gpio_request
_bcma_gpio_request: ; @bcma_gpio_request
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
bl _bcma_gpio_get_cc
mov x20, x0
mov w8, #1
lsl w19, w8, w19
mov x1, x19
mov w2, #0
bl _bcma_chipco_gpio_control
mov x0, x20
mov x1, x19
mov w2, #0
bl _bcma_chipco_gpio_pulldown
mov x0, x20
mov x1, x19
mov x2, x19
bl _bcma_chipco_gpio_pullup
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 _bcma_gpio_request
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/bcma/extr_driver_gpio.c_bcma_gpio_request.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function biba_vnode_check_getacl
_biba_vnode_check_getacl: ## @biba_vnode_check_getacl
.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 _biba_enabled@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB0_1
## %bb.2:
movq %rdx, %rbx
movq (%rdi), %rdi
callq _SLOT
movq %rax, %r14
movq %rbx, %rdi
callq _SLOT
movq %rax, %rdi
movq %r14, %rsi
callq _biba_dominate_effective
movl %eax, %ecx
xorl %eax, %eax
testl %ecx, %ecx
jne LBB0_4
## %bb.3:
movq _EACCES@GOTPCREL(%rip), %rax
movl (%rax), %eax
jmp LBB0_4
LBB0_1:
xorl %eax, %eax
LBB0_4:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _biba_enabled,4,2 ## @biba_enabled
.comm _EACCES,4,2 ## @EACCES
.no_dead_strip _biba_vnode_check_getacl
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function biba_vnode_check_getacl
_biba_vnode_check_getacl: ; @biba_vnode_check_getacl
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x8, _biba_enabled@GOTPAGE
Lloh1:
ldr x8, [x8, _biba_enabled@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cbz w8, LBB0_2
; %bb.1:
mov x19, x2
ldr x0, [x0]
bl _SLOT
mov x20, x0
mov x0, x19
bl _SLOT
mov x1, x20
bl _biba_dominate_effective
Lloh3:
adrp x8, _EACCES@GOTPAGE
Lloh4:
ldr x8, [x8, _EACCES@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
cmp w0, #0
csel w0, w8, wzr, eq
b LBB0_3
LBB0_2:
mov w0, #0
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _biba_enabled,4,2 ; @biba_enabled
.comm _EACCES,4,2 ; @EACCES
.no_dead_strip _biba_vnode_check_getacl
.subsections_via_symbols
| AnghaBench/freebsd/sys/security/mac_biba/extr_mac_biba.c_biba_vnode_check_getacl.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function cper_estatus_len
_cper_estatus_len: ## @cper_estatus_len
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq 8(%rdi), %rcx
xorl %edx, %edx
testq %rcx, %rcx
movl $24, %eax
cmovneq %rcx, %rax
setne %dl
shlq $4, %rdx
addq (%rdi,%rdx), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _cper_estatus_len
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function cper_estatus_len
_cper_estatus_len: ; @cper_estatus_len
.cfi_startproc
; %bb.0:
ldr x8, [x0, #8]
mov w9, #24
cmp x8, #0
csel x8, x9, x8, eq
cset w9, ne
lsl x9, x9, #4
ldr x9, [x0, x9]
add x0, x9, x8
ret
.cfi_endproc
; -- End function
.no_dead_strip _cper_estatus_len
.subsections_via_symbols
| AnghaBench/linux/drivers/acpi/apei/extr_apei-internal.h_cper_estatus_len.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function __subn_get_opa_bct
___subn_get_opa_bct: ## @__subn_get_opa_bct
.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 %r9, -64(%rbp) ## 8-byte Spill
movl %r8d, -44(%rbp) ## 4-byte Spill
movq %rcx, %rbx
movq %rdx, -56(%rbp) ## 8-byte Spill
movq %rdi, %r15
movl 16(%rbp), %r14d
movl %esi, %edi
callq _OPA_AM_NPORT
movl %eax, %r12d
movq %rbx, %rdi
callq _dd_from_ibdev
cmpl $1, %r12d
jne LBB0_2
## %bb.1:
movq %rax, %r13
movl $4, %edi
movl %r14d, %esi
callq _smp_length_check
testq %rax, %rax
je LBB0_3
LBB0_2:
movq _IB_SMP_INVALID_FIELD@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %eax, (%r15)
LBB0_5:
movq %r15, %rdi
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _reply ## TAILCALL
LBB0_3:
movq (%r13), %rax
movslq -44(%rbp), %rcx ## 4-byte Folded Reload
leaq (%rax,%rcx,4), %rdi
addq $-4, %rdi
movq _FM_TBL_BUFFER_CONTROL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq -56(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rdx
callq _fm_get_table
movq %r13, %rdi
movq %rbx, %rsi
callq _trace_bct_get
movq -64(%rbp), %rax ## 8-byte Reload
testq %rax, %rax
je LBB0_5
## %bb.4:
addl $4, (%rax)
jmp LBB0_5
.cfi_endproc
## -- End function
.comm _IB_SMP_INVALID_FIELD,4,2 ## @IB_SMP_INVALID_FIELD
.comm _FM_TBL_BUFFER_CONTROL,4,2 ## @FM_TBL_BUFFER_CONTROL
.no_dead_strip ___subn_get_opa_bct
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function __subn_get_opa_bct
___subn_get_opa_bct: ; @__subn_get_opa_bct
.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 x24, x6
mov x20, x5
mov x22, x4
mov x23, x3
mov x21, x2
mov x19, x0
mov x0, x1
bl _OPA_AM_NPORT
mov x25, x0
mov x0, x23
bl _dd_from_ibdev
cmp w25, #1
b.ne LBB0_2
; %bb.1:
mov x23, x0
mov w0, #4
mov x1, x24
bl _smp_length_check
cbz x0, LBB0_4
LBB0_2:
Lloh0:
adrp x8, _IB_SMP_INVALID_FIELD@GOTPAGE
Lloh1:
ldr x8, [x8, _IB_SMP_INVALID_FIELD@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
ldr w9, [x19]
orr w8, w9, w8
str w8, [x19]
LBB0_3:
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
b _reply
LBB0_4:
ldr x8, [x23]
sub w9, w22, #1
add x0, x8, w9, sxtw #2
Lloh3:
adrp x8, _FM_TBL_BUFFER_CONTROL@GOTPAGE
Lloh4:
ldr x8, [x8, _FM_TBL_BUFFER_CONTROL@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
mov x2, x21
bl _fm_get_table
mov x0, x23
mov x1, x21
bl _trace_bct_get
cbz x20, LBB0_3
; %bb.5:
ldr w8, [x20]
add w8, w8, #4
str w8, [x20]
b LBB0_3
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _IB_SMP_INVALID_FIELD,4,2 ; @IB_SMP_INVALID_FIELD
.comm _FM_TBL_BUFFER_CONTROL,4,2 ; @FM_TBL_BUFFER_CONTROL
.no_dead_strip ___subn_get_opa_bct
.subsections_via_symbols
| AnghaBench/linux/drivers/infiniband/hw/hfi1/extr_mad.c___subn_get_opa_bct.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function sun6i_set_burst_length_a31
_sun6i_set_burst_length_a31: ## @sun6i_set_burst_length_a31
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r15d
movq %rdi, %r14
movl %esi, %edi
callq _DMA_CHAN_CFG_SRC_BURST_A31
movl %eax, %ebx
movl %r15d, %edi
callq _DMA_CHAN_CFG_DST_BURST_A31
orl %ebx, %eax
orl %eax, (%r14)
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _sun6i_set_burst_length_a31
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function sun6i_set_burst_length_a31
_sun6i_set_burst_length_a31: ; @sun6i_set_burst_length_a31
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x2
mov x20, x0
mov x0, x1
bl _DMA_CHAN_CFG_SRC_BURST_A31
mov x21, x0
mov x0, x19
bl _DMA_CHAN_CFG_DST_BURST_A31
orr w8, w0, w21
ldr w9, [x20]
orr w8, w8, w9
str w8, [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 _sun6i_set_burst_length_a31
.subsections_via_symbols
| AnghaBench/linux/drivers/dma/extr_sun6i-dma.c_sun6i_set_burst_length_a31.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function is_in_out_specifier
_is_in_out_specifier: ## @is_in_out_specifier
.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, %r15
movq %rsi, %rbx
movq %rdi, %r14
leaq L_.str(%rip), %rsi
movq %rbx, %rdi
callq _strref_cmp
testq %rax, %rax
je LBB0_1
## %bb.3:
leaq L_.str.1(%rip), %rsi
movq %rbx, %rdi
callq _strref_cmp
movq %rax, %rcx
xorl %eax, %eax
testq %rcx, %rcx
jne LBB0_8
## %bb.4:
movl (%r15), %eax
movq _CALL_PARAM_OUT@GOTPCREL(%rip), %rbx
movl (%rbx), %ecx
testl %eax, %ecx
je LBB0_7
## %bb.5:
leaq L_.str.1(%rip), %rsi
jmp LBB0_6
LBB0_1:
movl (%r15), %eax
movq _CALL_PARAM_IN@GOTPCREL(%rip), %rbx
movl (%rbx), %ecx
testl %eax, %ecx
je LBB0_7
## %bb.2:
leaq L_.str(%rip), %rsi
LBB0_6:
movq %r14, %rdi
callq _err_specifier_exists
movl (%rbx), %ecx
movl (%r15), %eax
LBB0_7:
orl %ecx, %eax
movl %eax, (%r15)
movl $1, %eax
LBB0_8:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "in"
.comm _CALL_PARAM_IN,4,2 ## @CALL_PARAM_IN
L_.str.1: ## @.str.1
.asciz "out"
.comm _CALL_PARAM_OUT,4,2 ## @CALL_PARAM_OUT
.no_dead_strip _is_in_out_specifier
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function is_in_out_specifier
_is_in_out_specifier: ; @is_in_out_specifier
.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
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov x0, x21
bl _strref_cmp
cbz x0, LBB0_3
; %bb.1:
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x21
bl _strref_cmp
cbz x0, LBB0_5
; %bb.2:
mov w0, #0
b LBB0_9
LBB0_3:
ldr w8, [x19]
Lloh4:
adrp x21, _CALL_PARAM_IN@GOTPAGE
Lloh5:
ldr x21, [x21, _CALL_PARAM_IN@GOTPAGEOFF]
ldr w9, [x21]
tst w9, w8
b.eq LBB0_8
; %bb.4:
Lloh6:
adrp x1, l_.str@PAGE
Lloh7:
add x1, x1, l_.str@PAGEOFF
b LBB0_7
LBB0_5:
ldr w8, [x19]
Lloh8:
adrp x21, _CALL_PARAM_OUT@GOTPAGE
Lloh9:
ldr x21, [x21, _CALL_PARAM_OUT@GOTPAGEOFF]
ldr w9, [x21]
tst w9, w8
b.eq LBB0_8
; %bb.6:
Lloh10:
adrp x1, l_.str.1@PAGE
Lloh11:
add x1, x1, l_.str.1@PAGEOFF
LBB0_7:
mov x0, x20
bl _err_specifier_exists
ldr w9, [x21]
ldr w8, [x19]
LBB0_8:
orr w8, w8, w9
str w8, [x19]
mov w0, #1
LBB0_9:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "in"
.comm _CALL_PARAM_IN,4,2 ; @CALL_PARAM_IN
l_.str.1: ; @.str.1
.asciz "out"
.comm _CALL_PARAM_OUT,4,2 ; @CALL_PARAM_OUT
.no_dead_strip _is_in_out_specifier
.subsections_via_symbols
| AnghaBench/obs-studio/libobs/callback/extr_decl.c_is_in_out_specifier.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function test_msg_open_to_encode
_test_msg_open_to_encode: ## @test_msg_open_to_encode
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %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 $-559038737, %edi ## imm = 0xDEADBEEF
callq _SetLastError
xorl %r14d, %r14d
xorl %edi, %edi
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq _CryptMsgOpenToEncode
movl $0, %ebx
testq %rax, %rax
jne LBB0_2
## %bb.1:
xorl %eax, %eax
callq _GetLastError
movq _E_INVALIDARG@GOTPCREL(%rip), %rcx
xorl %ebx, %ebx
cmpq (%rcx), %rax
sete %bl
LBB0_2:
xorl %eax, %eax
callq _GetLastError
leaq L_.str(%rip), %rsi
movl %ebx, %edi
movq %rax, %rdx
callq _ok
movl $-559038737, %edi ## imm = 0xDEADBEEF
callq _SetLastError
movq _X509_ASN_ENCODING@GOTPCREL(%rip), %r13
movl (%r13), %edi
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq _CryptMsgOpenToEncode
testq %rax, %rax
jne LBB0_4
## %bb.3:
xorl %eax, %eax
callq _GetLastError
movq _E_INVALIDARG@GOTPCREL(%rip), %rcx
xorl %r14d, %r14d
cmpq (%rcx), %rax
sete %r14b
LBB0_4:
xorl %r15d, %r15d
xorl %eax, %eax
callq _GetLastError
leaq L_.str(%rip), %rsi
movl %r14d, %edi
movq %rax, %rdx
callq _ok
movl $-559038737, %edi ## imm = 0xDEADBEEF
callq _SetLastError
movq _PKCS_7_ASN_ENCODING@GOTPCREL(%rip), %r12
movl (%r12), %edi
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq _CryptMsgOpenToEncode
movl $0, %ebx
testq %rax, %rax
jne LBB0_6
## %bb.5:
xorl %eax, %eax
callq _GetLastError
movq _CRYPT_E_INVALID_MSG_TYPE@GOTPCREL(%rip), %rcx
xorl %ebx, %ebx
cmpq (%rcx), %rax
sete %bl
LBB0_6:
xorl %eax, %eax
callq _GetLastError
leaq L_.str.1(%rip), %rsi
movl %ebx, %edi
movq %rax, %rdx
callq _ok
movl $-559038737, %edi ## imm = 0xDEADBEEF
callq _SetLastError
movl (%r12), %edi
orl (%r13), %edi
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq _CryptMsgOpenToEncode
testq %rax, %rax
jne LBB0_8
## %bb.7:
xorl %eax, %eax
callq _GetLastError
movq _CRYPT_E_INVALID_MSG_TYPE@GOTPCREL(%rip), %rcx
xorl %r15d, %r15d
cmpq (%rcx), %rax
sete %r15b
LBB0_8:
xorl %r14d, %r14d
xorl %eax, %eax
callq _GetLastError
leaq L_.str.1(%rip), %rsi
movl %r15d, %edi
movq %rax, %rdx
callq _ok
movl $-559038737, %edi ## imm = 0xDEADBEEF
callq _SetLastError
movl (%r12), %edi
movq _CMSG_SIGNED_AND_ENVELOPED@GOTPCREL(%rip), %rax
movl (%rax), %edx
xorl %esi, %esi
xorl %ecx, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq _CryptMsgOpenToEncode
movl $0, %ebx
testq %rax, %rax
jne LBB0_10
## %bb.9:
xorl %eax, %eax
callq _GetLastError
movq _CRYPT_E_INVALID_MSG_TYPE@GOTPCREL(%rip), %rcx
xorl %ebx, %ebx
cmpq (%rcx), %rax
sete %bl
LBB0_10:
xorl %eax, %eax
callq _GetLastError
leaq L_.str.1(%rip), %rsi
movl %ebx, %edi
movq %rax, %rdx
callq _ok
movl $-559038737, %edi ## imm = 0xDEADBEEF
callq _SetLastError
movl (%r12), %edi
movq _CMSG_ENCRYPTED@GOTPCREL(%rip), %rax
movl (%rax), %edx
xorl %esi, %esi
xorl %ecx, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq _CryptMsgOpenToEncode
testq %rax, %rax
jne LBB0_12
## %bb.11:
xorl %eax, %eax
callq _GetLastError
movq _CRYPT_E_INVALID_MSG_TYPE@GOTPCREL(%rip), %rcx
xorl %r14d, %r14d
cmpq (%rcx), %rax
sete %r14b
LBB0_12:
xorl %eax, %eax
callq _GetLastError
leaq L_.str.1(%rip), %rsi
movl %r14d, %edi
movq %rax, %rdx
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _ok ## TAILCALL
.cfi_endproc
## -- End function
.comm _E_INVALIDARG,8,3 ## @E_INVALIDARG
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Expected E_INVALIDARG, got %x\n"
.comm _X509_ASN_ENCODING,4,2 ## @X509_ASN_ENCODING
.comm _PKCS_7_ASN_ENCODING,4,2 ## @PKCS_7_ASN_ENCODING
.comm _CRYPT_E_INVALID_MSG_TYPE,8,3 ## @CRYPT_E_INVALID_MSG_TYPE
L_.str.1: ## @.str.1
.asciz "Expected CRYPT_E_INVALID_MSG_TYPE, got %x\n"
.comm _CMSG_SIGNED_AND_ENVELOPED,4,2 ## @CMSG_SIGNED_AND_ENVELOPED
.comm _CMSG_ENCRYPTED,4,2 ## @CMSG_ENCRYPTED
.no_dead_strip _test_msg_open_to_encode
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function test_msg_open_to_encode
_test_msg_open_to_encode: ; @test_msg_open_to_encode
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov w0, #48879
movk w0, #57005, lsl #16
bl _SetLastError
mov w0, #0
mov w1, #0
mov w2, #0
mov x3, #0
mov x4, #0
mov x5, #0
bl _CryptMsgOpenToEncode
mov w19, #0
cbnz x0, LBB0_2
; %bb.1:
bl _GetLastError
Lloh0:
adrp x8, _E_INVALIDARG@GOTPAGE
Lloh1:
ldr x8, [x8, _E_INVALIDARG@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x0, x8
cset w19, eq
LBB0_2:
bl _GetLastError
mov x2, x0
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _ok
mov w0, #48879
movk w0, #57005, lsl #16
bl _SetLastError
Lloh5:
adrp x21, _X509_ASN_ENCODING@GOTPAGE
Lloh6:
ldr x21, [x21, _X509_ASN_ENCODING@GOTPAGEOFF]
ldr w0, [x21]
mov w1, #0
mov w2, #0
mov x3, #0
mov x4, #0
mov x5, #0
bl _CryptMsgOpenToEncode
mov w19, #0
cbnz x0, LBB0_4
; %bb.3:
bl _GetLastError
Lloh7:
adrp x8, _E_INVALIDARG@GOTPAGE
Lloh8:
ldr x8, [x8, _E_INVALIDARG@GOTPAGEOFF]
Lloh9:
ldr x8, [x8]
cmp x0, x8
cset w19, eq
LBB0_4:
bl _GetLastError
mov x2, x0
Lloh10:
adrp x1, l_.str@PAGE
Lloh11:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _ok
mov w0, #48879
movk w0, #57005, lsl #16
bl _SetLastError
Lloh12:
adrp x20, _PKCS_7_ASN_ENCODING@GOTPAGE
Lloh13:
ldr x20, [x20, _PKCS_7_ASN_ENCODING@GOTPAGEOFF]
ldr w0, [x20]
mov w1, #0
mov w2, #0
mov x3, #0
mov x4, #0
mov x5, #0
bl _CryptMsgOpenToEncode
mov w19, #0
cbnz x0, LBB0_6
; %bb.5:
bl _GetLastError
Lloh14:
adrp x8, _CRYPT_E_INVALID_MSG_TYPE@GOTPAGE
Lloh15:
ldr x8, [x8, _CRYPT_E_INVALID_MSG_TYPE@GOTPAGEOFF]
Lloh16:
ldr x8, [x8]
cmp x0, x8
cset w19, eq
LBB0_6:
bl _GetLastError
mov x2, x0
Lloh17:
adrp x1, l_.str.1@PAGE
Lloh18:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _ok
mov w0, #48879
movk w0, #57005, lsl #16
bl _SetLastError
ldr w8, [x21]
ldr w9, [x20]
orr w0, w9, w8
mov w1, #0
mov w2, #0
mov x3, #0
mov x4, #0
mov x5, #0
bl _CryptMsgOpenToEncode
mov w19, #0
cbnz x0, LBB0_8
; %bb.7:
bl _GetLastError
Lloh19:
adrp x8, _CRYPT_E_INVALID_MSG_TYPE@GOTPAGE
Lloh20:
ldr x8, [x8, _CRYPT_E_INVALID_MSG_TYPE@GOTPAGEOFF]
Lloh21:
ldr x8, [x8]
cmp x0, x8
cset w19, eq
LBB0_8:
bl _GetLastError
mov x2, x0
Lloh22:
adrp x1, l_.str.1@PAGE
Lloh23:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _ok
mov w0, #48879
movk w0, #57005, lsl #16
bl _SetLastError
ldr w0, [x20]
Lloh24:
adrp x8, _CMSG_SIGNED_AND_ENVELOPED@GOTPAGE
Lloh25:
ldr x8, [x8, _CMSG_SIGNED_AND_ENVELOPED@GOTPAGEOFF]
Lloh26:
ldr w2, [x8]
mov w1, #0
mov x3, #0
mov x4, #0
mov x5, #0
bl _CryptMsgOpenToEncode
mov w19, #0
cbnz x0, LBB0_10
; %bb.9:
bl _GetLastError
Lloh27:
adrp x8, _CRYPT_E_INVALID_MSG_TYPE@GOTPAGE
Lloh28:
ldr x8, [x8, _CRYPT_E_INVALID_MSG_TYPE@GOTPAGEOFF]
Lloh29:
ldr x8, [x8]
cmp x0, x8
cset w19, eq
LBB0_10:
bl _GetLastError
mov x2, x0
Lloh30:
adrp x1, l_.str.1@PAGE
Lloh31:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _ok
mov w0, #48879
movk w0, #57005, lsl #16
bl _SetLastError
ldr w0, [x20]
Lloh32:
adrp x8, _CMSG_ENCRYPTED@GOTPAGE
Lloh33:
ldr x8, [x8, _CMSG_ENCRYPTED@GOTPAGEOFF]
Lloh34:
ldr w2, [x8]
mov w1, #0
mov x3, #0
mov x4, #0
mov x5, #0
bl _CryptMsgOpenToEncode
mov w19, #0
cbnz x0, LBB0_12
; %bb.11:
bl _GetLastError
Lloh35:
adrp x8, _CRYPT_E_INVALID_MSG_TYPE@GOTPAGE
Lloh36:
ldr x8, [x8, _CRYPT_E_INVALID_MSG_TYPE@GOTPAGEOFF]
Lloh37:
ldr x8, [x8]
cmp x0, x8
cset w19, eq
LBB0_12:
bl _GetLastError
mov x2, x0
Lloh38:
adrp x1, l_.str.1@PAGE
Lloh39:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _ok
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37
.loh AdrpAdd Lloh38, Lloh39
.cfi_endproc
; -- End function
.comm _E_INVALIDARG,8,3 ; @E_INVALIDARG
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Expected E_INVALIDARG, got %x\n"
.comm _X509_ASN_ENCODING,4,2 ; @X509_ASN_ENCODING
.comm _PKCS_7_ASN_ENCODING,4,2 ; @PKCS_7_ASN_ENCODING
.comm _CRYPT_E_INVALID_MSG_TYPE,8,3 ; @CRYPT_E_INVALID_MSG_TYPE
l_.str.1: ; @.str.1
.asciz "Expected CRYPT_E_INVALID_MSG_TYPE, got %x\n"
.comm _CMSG_SIGNED_AND_ENVELOPED,4,2 ; @CMSG_SIGNED_AND_ENVELOPED
.comm _CMSG_ENCRYPTED,4,2 ; @CMSG_ENCRYPTED
.no_dead_strip _test_msg_open_to_encode
.subsections_via_symbols
| AnghaBench/reactos/modules/rostests/winetests/crypt32/extr_msg.c_test_msg_open_to_encode.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ecore_iov_pf_update_tun_response
_ecore_iov_pf_update_tun_response: ## @ecore_iov_pf_update_tun_response
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edx, 48(%rdi)
movl 40(%rsi), %eax
movl %eax, 44(%rdi)
movl 20(%rsi), %eax
movl %eax, 40(%rdi)
movl 12(%rsi), %eax
movl %eax, 36(%rdi)
movdqu 24(%rsi), %xmm0
pextrd $2, %xmm0, 32(%rdi)
pshufd $180, %xmm0, %xmm0 ## xmm0 = xmm0[0,1,3,2]
movdqu %xmm0, 16(%rdi)
movl 16(%rsi), %eax
movl %eax, 12(%rdi)
movl 8(%rsi), %eax
movl %eax, 8(%rdi)
movl 4(%rsi), %eax
movl %eax, 4(%rdi)
movl (%rsi), %eax
movl %eax, (%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _ecore_iov_pf_update_tun_response
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ecore_iov_pf_update_tun_response
_ecore_iov_pf_update_tun_response: ; @ecore_iov_pf_update_tun_response
.cfi_startproc
; %bb.0:
str w2, [x0, #48]
ldr w8, [x1, #40]
ldr w9, [x1, #20]
stp w9, w8, [x0, #40]
ldr d0, [x1, #32]
rev64.2s v1, v0
mov.s v1[2], v0[0]
add x8, x1, #12
ld1.s { v1 }[3], [x8]
stur q1, [x0, #24]
ldr d0, [x1, #24]
str d0, [x0, #16]
ldr w8, [x1, #16]
ldr w9, [x1, #8]
stp w9, w8, [x0, #8]
ldr d0, [x1]
str d0, [x0]
ret
.cfi_endproc
; -- End function
.no_dead_strip _ecore_iov_pf_update_tun_response
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_ecore_sriov.c_ecore_iov_pf_update_tun_response.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ifvlan_flags_set_promisc
_ifvlan_flags_set_promisc: ## @ifvlan_flags_set_promisc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _IFVF_PROMISC@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %eax, (%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _IFVF_PROMISC,4,2 ## @IFVF_PROMISC
.no_dead_strip _ifvlan_flags_set_promisc
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ifvlan_flags_set_promisc
_ifvlan_flags_set_promisc: ; @ifvlan_flags_set_promisc
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _IFVF_PROMISC@GOTPAGE
Lloh1:
ldr x8, [x8, _IFVF_PROMISC@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
ldr w9, [x0]
orr w8, w9, w8
str w8, [x0]
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _IFVF_PROMISC,4,2 ; @IFVF_PROMISC
.no_dead_strip _ifvlan_flags_set_promisc
.subsections_via_symbols
| AnghaBench/darwin-xnu/bsd/net/extr_if_vlan.c_ifvlan_flags_set_promisc.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function resp_requests
_resp_requests: ## @resp_requests
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq (%rdi), %r12
movq _SCSI_SENSE_BUFFERSIZE@GOTPCREL(%rip), %r15
movl (%r15), %ebx
movq %rbx, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r13
movq %r13, %rdi
xorl %esi, %esi
movl %ebx, %edx
callq _memset
movzbl 1(%r12), %ebx
andl $1, %ebx
movq 8(%r14), %r12
movq _iec_m_pg@GOTPCREL(%rip), %rax
movq (%rax), %rax
testb $4, 8(%rax)
je LBB0_5
## %bb.1:
movl 12(%rax), %eax
andl $15, %eax
cmpl $6, %eax
jne LBB0_5
## %bb.2:
testb %bl, %bl
je LBB0_4
## %bb.3:
movw $114, (%r13)
movq _THRESHOLD_EXCEEDED@GOTPCREL(%rip), %rax
movb (%rax), %al
movb %al, 2(%r13)
movb $-1, 3(%r13)
movl $8, %r15d
jmp LBB0_14
LBB0_5:
movl (%r15), %edx
movq %r13, %rdi
movq %r12, %rsi
callq _memcpy
movb (%r13), %al
cmpb $112, %al
jb LBB0_7
## %bb.6:
movq _sdebug_dsense@GOTPCREL(%rip), %rcx
movl $18, %r15d
cmpl %ebx, (%rcx)
je LBB0_14
LBB0_7:
cmpb $112, %al
ja LBB0_11
## %bb.8:
testb %bl, %bl
je LBB0_10
## %bb.9:
movl $8, %r15d
movq %r13, %rdi
xorl %esi, %esi
movl $8, %edx
callq _memset
movb $114, (%r13)
jmp LBB0_14
LBB0_11:
testb %bl, %bl
je LBB0_13
## %bb.12:
movl $8, %r15d
movq %r13, %rdi
xorl %esi, %esi
movl $8, %edx
callq _memset
movb $114, (%r13)
movb 2(%r12), %al
movb %al, 1(%r13)
movb 12(%r12), %al
movb %al, 2(%r13)
movb 13(%r12), %al
movb %al, 3(%r13)
jmp LBB0_14
LBB0_4:
movb $112, (%r13)
movb $0, 2(%r13)
movb $10, 7(%r13)
movq _THRESHOLD_EXCEEDED@GOTPCREL(%rip), %rax
movb (%rax), %al
movb %al, 12(%r13)
movb $-1, 13(%r13)
movl $18, %r15d
jmp LBB0_14
LBB0_10:
movl $18, %r15d
movq %r13, %rdi
xorl %esi, %esi
movl $18, %edx
callq _memset
movb $112, (%r13)
movb $10, 7(%r13)
jmp LBB0_14
LBB0_13:
movl $18, %r15d
movq %r13, %rdi
xorl %esi, %esi
movl $18, %edx
callq _memset
movb $112, (%r13)
movb 1(%r12), %al
movb %al, 2(%r13)
movb $10, 7(%r13)
movb 1(%r12), %al
movb %al, 12(%r13)
movb 3(%r12), %al
movb %al, 13(%r13)
LBB0_14:
movq _NO_ADDITIONAL_SENSE@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r14, %rdi
xorl %esi, %esi
xorl %ecx, %ecx
callq _mk_sense_buffer
movq %r14, %rdi
movq %r13, %rsi
movl %r15d, %edx
callq _fill_from_dev_buffer
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_16
## %bb.15:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_16:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _SCSI_SENSE_BUFFERSIZE,4,2 ## @SCSI_SENSE_BUFFERSIZE
.comm _iec_m_pg,8,3 ## @iec_m_pg
.comm _THRESHOLD_EXCEEDED,1,0 ## @THRESHOLD_EXCEEDED
.comm _sdebug_dsense,4,2 ## @sdebug_dsense
.comm _NO_ADDITIONAL_SENSE,4,2 ## @NO_ADDITIONAL_SENSE
.no_dead_strip _resp_requests
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function resp_requests
_resp_requests: ; @resp_requests
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
sub sp, sp, #16
mov x19, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-56]
ldr x22, [x0]
Lloh3:
adrp x21, _SCSI_SENSE_BUFFERSIZE@GOTPAGE
Lloh4:
ldr x21, [x21, _SCSI_SENSE_BUFFERSIZE@GOTPAGEOFF]
ldr w2, [x21]
mov x9, x2
Lloh5:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh6:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x8, sp
add x9, x2, #15
and x9, x9, #0x1fffffff0
sub x20, x8, x9
mov sp, x20
mov x0, x20
mov w1, #0
; kill: def $w2 killed $w2 killed $x2
bl _memset
ldrb w8, [x22, #1]
and w23, w8, #0x1
ldr x22, [x19, #8]
Lloh7:
adrp x8, _iec_m_pg@GOTPAGE
Lloh8:
ldr x8, [x8, _iec_m_pg@GOTPAGEOFF]
Lloh9:
ldr x8, [x8]
ldrb w9, [x8, #8]
tbz w9, #2, LBB0_4
; %bb.1:
ldr w8, [x8, #12]
and w8, w8, #0xf
cmp w8, #6
b.ne LBB0_4
; %bb.2:
cbnz w23, LBB0_11
; %bb.3:
mov w8, #112
strb w8, [x20]
strb wzr, [x20, #2]
mov w8, #10
Lloh10:
adrp x9, _THRESHOLD_EXCEEDED@GOTPAGE
Lloh11:
ldr x9, [x9, _THRESHOLD_EXCEEDED@GOTPAGEOFF]
strb w8, [x20, #7]
ldrb w8, [x9]
strb w8, [x20, #12]
mov w8, #255
strb w8, [x20, #13]
mov w21, #18
b LBB0_14
LBB0_4:
ldr w2, [x21]
mov x0, x20
mov x1, x22
bl _memcpy
ldrb w8, [x20]
Lloh12:
adrp x9, _sdebug_dsense@GOTPAGE
Lloh13:
ldr x9, [x9, _sdebug_dsense@GOTPAGEOFF]
Lloh14:
ldr w9, [x9]
cmp w8, #112
ccmp w9, w23, #0, hs
b.eq LBB0_8
; %bb.5:
cmp w8, #112
b.hi LBB0_9
; %bb.6:
cbnz w23, LBB0_12
; %bb.7:
mov w21, #18
mov x0, x20
mov w1, #0
mov w2, #18
bl _memset
mov w8, #112
strb w8, [x20]
mov w8, #10
strb w8, [x20, #7]
b LBB0_14
LBB0_8:
mov w21, #18
b LBB0_14
LBB0_9:
cbnz w23, LBB0_13
; %bb.10:
mov w21, #18
mov x0, x20
mov w1, #0
mov w2, #18
bl _memset
mov w8, #112
strb w8, [x20]
ldrb w8, [x22, #1]
strb w8, [x20, #2]
mov w8, #10
strb w8, [x20, #7]
ldrb w8, [x22, #1]
strb w8, [x20, #12]
ldrb w8, [x22, #3]
strb w8, [x20, #13]
b LBB0_14
LBB0_11:
mov w8, #114
Lloh15:
adrp x9, _THRESHOLD_EXCEEDED@GOTPAGE
Lloh16:
ldr x9, [x9, _THRESHOLD_EXCEEDED@GOTPAGEOFF]
strh w8, [x20]
ldrb w8, [x9]
strb w8, [x20, #2]
mov w8, #255
strb w8, [x20, #3]
mov w21, #8
b LBB0_14
LBB0_12:
mov w21, #8
mov x0, x20
mov w1, #0
mov w2, #8
bl _memset
mov w8, #114
strb w8, [x20]
b LBB0_14
LBB0_13:
mov w21, #8
mov x0, x20
mov w1, #0
mov w2, #8
bl _memset
mov w8, #114
strb w8, [x20]
ldrb w8, [x22, #2]
strb w8, [x20, #1]
ldrh w8, [x22, #12]
strh w8, [x20, #2]
LBB0_14:
Lloh17:
adrp x8, _NO_ADDITIONAL_SENSE@GOTPAGE
Lloh18:
ldr x8, [x8, _NO_ADDITIONAL_SENSE@GOTPAGEOFF]
Lloh19:
ldr w2, [x8]
mov x0, x19
mov w1, #0
mov w3, #0
bl _mk_sense_buffer
mov x0, x19
mov x1, x20
mov x2, x21
bl _fill_from_dev_buffer
ldur x8, [x29, #-56]
Lloh20:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh21:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_16
; %bb.15:
sub sp, x29, #48
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
LBB0_16:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.cfi_endproc
; -- End function
.comm _SCSI_SENSE_BUFFERSIZE,4,2 ; @SCSI_SENSE_BUFFERSIZE
.comm _iec_m_pg,8,3 ; @iec_m_pg
.comm _THRESHOLD_EXCEEDED,1,0 ; @THRESHOLD_EXCEEDED
.comm _sdebug_dsense,4,2 ; @sdebug_dsense
.comm _NO_ADDITIONAL_SENSE,4,2 ; @NO_ADDITIONAL_SENSE
.no_dead_strip _resp_requests
.subsections_via_symbols
| AnghaBench/linux/drivers/scsi/extr_scsi_debug.c_resp_requests.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function quat_dot
_quat_dot: ## @quat_dot
.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 (%rdi), %edi
movl (%rsi), %esi
callq __mm_mul_ps
movq %rax, %rbx
movq %rax, %rdi
movq %rax, %rsi
callq __mm_movehl_ps
movl %eax, %edi
movq %rbx, %rsi
callq __mm_add_ps
movq %rax, %rbx
movq %rax, %rdi
movq %rax, %rsi
movl $85, %edx
callq __mm_shuffle_ps
movl %eax, %edi
movq %rbx, %rsi
addq $8, %rsp
popq %rbx
popq %rbp
jmp __mm_add_ps ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _quat_dot
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function quat_dot
_quat_dot: ; @quat_dot
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
ldr w0, [x0]
ldr w1, [x1]
bl __mm_mul_ps
mov x19, x0
mov x1, x0
bl __mm_movehl_ps
mov x1, x19
bl __mm_add_ps
mov x19, x0
mov x1, x0
mov w2, #85
bl __mm_shuffle_ps
mov x1, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b __mm_add_ps
.cfi_endproc
; -- End function
.no_dead_strip _quat_dot
.subsections_via_symbols
| AnghaBench/obs-studio/libobs/extr_graphicsquat.h_quat_dot.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function btrfsic_block_link_hashtable_add
_btrfsic_block_link_hashtable_add: ## @btrfsic_block_link_hashtable_add
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %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 16(%rdi), %rcx
movl (%rax), %edx
xorl (%rcx), %edx
sarl $16, %edx
movq 8(%rcx), %rdi
xorl (%rdi), %edx
movq 8(%rax), %rax
xorl (%rax), %edx
movq %rsi, %r14
movq _BTRFSIC_BLOCK_LINK_HASHTABLE_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %ebx
decl %ebx
andl %edx, %ebx
xorl %edi, %edi
testq %rcx, %rcx
sete %dil
callq _BUG_ON
xorl %edi, %edi
cmpq $0, 8(%r15)
sete %dil
callq _BUG_ON
addq (%r14), %rbx
movq %r15, %rdi
movq %rbx, %rsi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _list_add ## TAILCALL
.cfi_endproc
## -- End function
.comm _BTRFSIC_BLOCK_LINK_HASHTABLE_SIZE,4,2 ## @BTRFSIC_BLOCK_LINK_HASHTABLE_SIZE
.no_dead_strip _btrfsic_block_link_hashtable_add
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function btrfsic_block_link_hashtable_add
_btrfsic_block_link_hashtable_add: ; @btrfsic_block_link_hashtable_add
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
ldp x9, x8, [x0, #8]
ldr w10, [x8]
ldr w11, [x9]
eor w10, w11, w10
ldr x11, [x8, #8]
ldr w11, [x11]
eor w10, w11, w10, asr #16
ldr x9, [x9, #8]
ldr w9, [x9]
Lloh0:
adrp x11, _BTRFSIC_BLOCK_LINK_HASHTABLE_SIZE@GOTPAGE
Lloh1:
ldr x11, [x11, _BTRFSIC_BLOCK_LINK_HASHTABLE_SIZE@GOTPAGEOFF]
eor w9, w10, w9
Lloh2:
ldr w10, [x11]
sub w10, w10, #1
and w21, w9, w10
cmp x8, #0
cset w0, eq
bl _BUG_ON
ldr x8, [x20, #8]
cmp x8, #0
cset w0, eq
bl _BUG_ON
ldr x8, [x19]
add x1, x8, x21
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
b _list_add
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _BTRFSIC_BLOCK_LINK_HASHTABLE_SIZE,4,2 ; @BTRFSIC_BLOCK_LINK_HASHTABLE_SIZE
.no_dead_strip _btrfsic_block_link_hashtable_add
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/fs/btrfs/extr_check-integrity.c_btrfsic_block_link_hashtable_add.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl __allocArray ## -- Begin function _allocArray
.p2align 4, 0x90
__allocArray: ## @_allocArray
.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
leaq 8(,%rdi,8), %rdi
callq _malloc
movq %rbx, (%rax)
testq %rbx, %rbx
jle LBB0_12
## %bb.1:
movl $1, %ecx
cmpq $4, %rbx
jb LBB0_10
## %bb.2:
movq %rbx, %rcx
andq $-4, %rcx
movq %r14, %xmm0
pshufd $68, %xmm0, %xmm0 ## xmm0 = xmm0[0,1,0,1]
leaq -4(%rcx), %rsi
movq %rsi, %rdi
shrq $2, %rdi
incq %rdi
movl %edi, %edx
andl $3, %edx
cmpq $12, %rsi
jae LBB0_4
## %bb.3:
xorl %esi, %esi
jmp LBB0_6
LBB0_4:
andq $-4, %rdi
xorl %esi, %esi
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movdqu %xmm0, 8(%rax,%rsi,8)
movdqu %xmm0, 24(%rax,%rsi,8)
movdqu %xmm0, 40(%rax,%rsi,8)
movdqu %xmm0, 56(%rax,%rsi,8)
movdqu %xmm0, 72(%rax,%rsi,8)
movdqu %xmm0, 88(%rax,%rsi,8)
movdqu %xmm0, 104(%rax,%rsi,8)
movdqu %xmm0, 120(%rax,%rsi,8)
addq $16, %rsi
addq $-4, %rdi
jne LBB0_5
LBB0_6:
testq %rdx, %rdx
je LBB0_8
.p2align 4, 0x90
LBB0_7: ## =>This Inner Loop Header: Depth=1
leaq (,%rsi,8), %rdi
orq $8, %rdi
movdqu %xmm0, (%rax,%rdi)
movdqu %xmm0, 16(%rax,%rdi)
addq $4, %rsi
decq %rdx
jne LBB0_7
LBB0_8:
cmpq %rbx, %rcx
je LBB0_12
## %bb.9:
orq $1, %rcx
LBB0_10:
incq %rbx
.p2align 4, 0x90
LBB0_11: ## =>This Inner Loop Header: Depth=1
movq %r14, (%rax,%rcx,8)
incq %rcx
cmpq %rcx, %rbx
jne LBB0_11
LBB0_12:
addq $8, %rax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.globl __checkIndexArray ## -- Begin function _checkIndexArray
.p2align 4, 0x90
__checkIndexArray: ## @_checkIndexArray
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rsi, %rdx
testq %rsi, %rsi
js LBB1_3
## %bb.1:
cmpq %rdx, -8(%rdi)
jle LBB1_3
## %bb.2:
popq %rbp
retq
LBB1_3:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str(%rip), %rsi
xorl %eax, %eax
callq _fprintf
movl $-1, %edi
callq _exit
.cfi_endproc
## -- End function
.globl __allocRecord ## -- Begin function _allocRecord
.p2align 4, 0x90
__allocRecord: ## @_allocRecord
.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 $208, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %r14
movq %rsi, -216(%rbp)
movq %rdx, -208(%rbp)
movq %rcx, -200(%rbp)
movq %r8, -192(%rbp)
movq %r9, -184(%rbp)
testb %al, %al
je LBB2_20
## %bb.19:
movaps %xmm0, -176(%rbp)
movaps %xmm1, -160(%rbp)
movaps %xmm2, -144(%rbp)
movaps %xmm3, -128(%rbp)
movaps %xmm4, -112(%rbp)
movaps %xmm5, -96(%rbp)
movaps %xmm6, -80(%rbp)
movaps %xmm7, -64(%rbp)
LBB2_20:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -24(%rbp)
leaq (,%rdi,8), %rdi
callq _malloc
movabsq $206158430216, %rcx ## imm = 0x3000000008
movq %rcx, -48(%rbp)
leaq 16(%rbp), %rcx
movq %rcx, -40(%rbp)
leaq -224(%rbp), %rcx
movq %rcx, -32(%rbp)
testq %r14, %r14
jle LBB2_16
## %bb.1:
movq -32(%rbp), %r8
movl -48(%rbp), %edx
cmpq $1, %r14
jne LBB2_3
## %bb.2:
movq %rax, %rsi
LBB2_11:
testb $1, %r14b
je LBB2_16
## %bb.12:
cmpl $41, %edx
jae LBB2_13
## %bb.14:
movl %edx, %ecx
addq %rcx, %r8
addl $8, %edx
movl %edx, -48(%rbp)
jmp LBB2_15
LBB2_3:
movq %r14, %rdi
andq $-2, %rdi
movq %rax, %rsi
jmp LBB2_4
.p2align 4, 0x90
LBB2_9: ## in Loop: Header=BB2_4 Depth=1
movl %edx, %ebx
addq %r8, %rbx
addl $8, %edx
movl %edx, -48(%rbp)
LBB2_10: ## in Loop: Header=BB2_4 Depth=1
movq (%rbx), %rcx
movq %rcx, 8(%rsi)
addq $16, %rsi
addq $-2, %rdi
je LBB2_11
LBB2_4: ## =>This Inner Loop Header: Depth=1
cmpl $40, %edx
ja LBB2_6
## %bb.5: ## in Loop: Header=BB2_4 Depth=1
movl %edx, %ebx
addq %r8, %rbx
addl $8, %edx
movl %edx, -48(%rbp)
jmp LBB2_7
.p2align 4, 0x90
LBB2_6: ## in Loop: Header=BB2_4 Depth=1
movq -40(%rbp), %rbx
leaq 8(%rbx), %rcx
movq %rcx, -40(%rbp)
LBB2_7: ## in Loop: Header=BB2_4 Depth=1
movq (%rbx), %rcx
movq %rcx, (%rsi)
cmpl $41, %edx
jb LBB2_9
## %bb.8: ## in Loop: Header=BB2_4 Depth=1
movq -40(%rbp), %rbx
leaq 8(%rbx), %rcx
movq %rcx, -40(%rbp)
jmp LBB2_10
LBB2_13:
movq -40(%rbp), %r8
leaq 8(%r8), %rcx
movq %rcx, -40(%rbp)
LBB2_15:
movq (%r8), %rcx
movq %rcx, (%rsi)
LBB2_16:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -24(%rbp), %rcx
jne LBB2_18
## %bb.17:
addq $208, %rsp
popq %rbx
popq %r14
popq %rbp
retq
LBB2_18:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.globl __checkNil ## -- Begin function _checkNil
.p2align 4, 0x90
__checkNil: ## @_checkNil
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB3_2
## %bb.1:
retq
LBB3_2:
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), %rcx
leaq L_.str.1(%rip), %rdi
movl $5, %esi
movl $1, %edx
callq _fwrite
movl $-1, %edi
callq _exit
.cfi_endproc
## -- End function
.globl __stringCompare ## -- Begin function _stringCompare
.p2align 4, 0x90
__stringCompare: ## @_stringCompare
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpq %rsi, %rdi
je LBB4_1
## %bb.2:
movq (%rdi), %rax
movq (%rsi), %r8
testq %rax, %rax
jle LBB4_8
## %bb.3:
xorl %edx, %edx
testq %r8, %r8
movl $0, %r9d
cmovgq %r8, %r9
.p2align 4, 0x90
LBB4_5: ## =>This Inner Loop Header: Depth=1
cmpq %rdx, %r9
je LBB4_8
## %bb.6: ## in Loop: Header=BB4_5 Depth=1
movzbl 8(%rdi,%rdx), %r10d
movzbl 8(%rsi,%rdx), %ecx
cmpb %cl, %r10b
jne LBB4_7
## %bb.4: ## in Loop: Header=BB4_5 Depth=1
incq %rdx
cmpq %rdx, %rax
jne LBB4_5
LBB4_8:
subq %r8, %rax
popq %rbp
retq
LBB4_1:
xorl %eax, %eax
popq %rbp
retq
LBB4_7:
subq %rcx, %r10
movq %r10, %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _print ## -- Begin function print
.p2align 4, 0x90
_print: ## @print
.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
cmpq $0, (%rdi)
jle LBB5_3
## %bb.1:
movq %rdi, %r14
xorl %ebx, %ebx
.p2align 4, 0x90
LBB5_2: ## =>This Inner Loop Header: Depth=1
movzbl 8(%r14,%rbx), %edi
callq _putchar
incq %rbx
cmpq (%r14), %rbx
jl LBB5_2
LBB5_3:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _flush ## -- Begin function flush
.p2align 4, 0x90
_flush: ## @flush
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
popq %rbp
jmp _fflush ## TAILCALL
.cfi_endproc
## -- End function
.globl _ord ## -- Begin function ord
.p2align 4, 0x90
_ord: ## @ord
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpq $1, (%rdi)
jne LBB7_2
## %bb.1:
movzbl 8(%rdi), %eax
popq %rbp
retq
LBB7_2:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rcx
leaq L_.str.2(%rip), %rdi
movl $23, %esi
movl $1, %edx
callq _fwrite
movl $-1, %edi
callq _exit
.cfi_endproc
## -- End function
.globl _chr ## -- Begin function chr
.p2align 4, 0x90
_chr: ## @chr
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, %rsi
cmpq $256, %rdi ## imm = 0x100
jae LBB8_2
## %bb.1:
movq _consts@GOTPCREL(%rip), %rax
movq (%rax,%rsi,8), %rax
popq %rbp
retq
LBB8_2:
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _printf
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.globl _size ## -- Begin function size
.p2align 4, 0x90
_size: ## @size
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq (%rdi), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _substring ## -- Begin function substring
.p2align 4, 0x90
_substring: ## @substring
.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, %rbx
movq %rsi, %r14
movq %rdi, %r15
testq %rsi, %rsi
js LBB10_1
## %bb.3:
leaq (%rbx,%r14), %rax
movq (%r15), %rdx
cmpq %rdx, %rax
jg LBB10_2
## %bb.4:
cmpq $1, %rbx
jne LBB10_6
## %bb.5:
movzbl 8(%r15,%r14), %eax
movq _consts@GOTPCREL(%rip), %rcx
movq (%rcx,%rax,8), %r12
jmp LBB10_8
LBB10_6:
leaq 8(%rbx), %rdi
callq _malloc
movq %rax, %r12
movq %rbx, (%rax)
testq %rbx, %rbx
jle LBB10_8
## %bb.7:
movq %r12, %rdi
addq $8, %rdi
leaq (%r15,%r14), %rsi
addq $8, %rsi
movq %rbx, %rdx
callq _memcpy
LBB10_8:
movq %r12, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB10_1:
movq (%r15), %rdx
LBB10_2:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.4(%rip), %rsi
movq %r14, %rcx
movq %rbx, %r8
xorl %eax, %eax
callq _fprintf
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.globl _concat ## -- Begin function concat
.p2align 4, 0x90
_concat: ## @concat
.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 (%rdi), %rbx
testq %rbx, %rbx
je LBB11_8
## %bb.1:
movq %rdi, %r13
movq (%r15), %r14
testq %r14, %r14
je LBB11_2
## %bb.3:
leaq (%r14,%rbx), %rax
movq %rax, -48(%rbp) ## 8-byte Spill
leaq (%r14,%rbx), %rdi
addq $8, %rdi
callq _malloc
movq %rax, %r12
movq -48(%rbp), %rax ## 8-byte Reload
movq %rax, (%r12)
testq %rbx, %rbx
jle LBB11_5
## %bb.4:
leaq 8(%r12), %rdi
addq $8, %r13
movq %r13, %rsi
movq %rbx, %rdx
callq _memcpy
LBB11_5:
testq %r14, %r14
jle LBB11_7
## %bb.6:
leaq (%rbx,%r12), %rdi
addq $8, %rdi
addq $8, %r15
movq %r15, %rsi
movq %r14, %rdx
callq _memcpy
LBB11_7:
movq %r12, %r15
jmp LBB11_8
LBB11_2:
movq %r13, %r15
LBB11_8:
movq %r15, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _not ## -- Begin function not
.p2align 4, 0x90
_not: ## @not
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
testq %rdi, %rdi
sete %al
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _getstr ## -- Begin function getstr
.p2align 4, 0x90
_getstr: ## @getstr
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _getc
cmpl $-1, %eax
je LBB13_1
## %bb.2:
cltq
movq _consts@GOTPCREL(%rip), %rcx
movq (%rcx,%rax,8), %rax
popq %rbp
retq
LBB13_1:
leaq _empty(%rip), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $2304, %edi ## imm = 0x900
callq _malloc
addq $72, %rax
xorl %ecx, %ecx
movq _consts@GOTPCREL(%rip), %rdx
.p2align 4, 0x90
LBB14_1: ## =>This Inner Loop Header: Depth=1
leaq -72(%rax), %rsi
movq %rsi, (%rdx,%rcx,8)
movq $1, -72(%rax)
movb %cl, -64(%rax)
movq %rax, 8(%rdx,%rcx,8)
movq $1, (%rax)
leal 1(%rcx), %esi
movb %sil, 8(%rax)
addq $144, %rax
addq $2, %rcx
cmpq $256, %rcx ## imm = 0x100
jne LBB14_1
## %bb.2:
xorl %edi, %edi
popq %rbp
jmp __tigermain ## TAILCALL
.cfi_endproc
## -- End function
.globl _empty ## @empty
.zerofill __DATA,__common,_empty,8,3
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "indice %ld excedido!\n"
L_.str.1: ## @.str.1
.asciz "Nil!\n"
L_.str.2: ## @.str.2
.asciz "ord: string inadecuada\n"
L_.str.3: ## @.str.3
.asciz "chr(%ld) out of range\n"
.comm _consts,2048,4 ## @consts
L_.str.4: ## @.str.4
.asciz "substring([%ld],%ld,%ld) out of range\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl __allocArray ; -- Begin function _allocArray
.p2align 2
__allocArray: ; @_allocArray
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov x20, x0
lsl x8, x0, #3
add x0, x8, #8
bl _malloc
str x20, [x0]
cmp x20, #1
b.lt LBB0_8
; %bb.1:
cmp x20, #8
b.hs LBB0_3
; %bb.2:
mov w8, #1
b LBB0_6
LBB0_3:
and x9, x20, #0xfffffffffffffff8
orr x8, x9, #0x1
dup.2d v0, x19
add x10, x0, #40
mov x11, x9
LBB0_4: ; =>This Inner Loop Header: Depth=1
stp q0, q0, [x10, #-32]
stp q0, q0, [x10], #64
subs x11, x11, #8
b.ne LBB0_4
; %bb.5:
cmp x9, x20
b.eq LBB0_8
LBB0_6:
sub x9, x20, x8
add x9, x9, #1
add x8, x0, x8, lsl #3
LBB0_7: ; =>This Inner Loop Header: Depth=1
str x19, [x8], #8
subs x9, x9, #1
b.ne LBB0_7
LBB0_8:
add x0, x0, #8
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl __checkIndexArray ; -- Begin function _checkIndexArray
.p2align 2
__checkIndexArray: ; @_checkIndexArray
.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
tbnz x1, #63, LBB1_3
; %bb.1:
ldur x8, [x0, #-8]
cmp x8, x1
b.le LBB1_3
; %bb.2:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
LBB1_3:
Lloh0:
adrp x8, ___stderrp@GOTPAGE
Lloh1:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh2:
ldr x0, [x8]
str x1, [sp]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
bl _fprintf
mov w0, #-1
bl _exit
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.globl __allocRecord ; -- Begin function _allocRecord
.p2align 2
__allocRecord: ; @_allocRecord
.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
lsl x0, x0, #3
bl _malloc
add x8, x29, #16
str x8, [sp, #8]
cmp x19, #1
b.lt LBB2_3
; %bb.1:
mov x8, x0
LBB2_2: ; =>This Inner Loop Header: Depth=1
ldr x9, [sp, #8]
add x10, x9, #8
str x10, [sp, #8]
ldr x9, [x9]
str x9, [x8], #8
subs x19, x19, #1
b.ne LBB2_2
LBB2_3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl __checkNil ; -- Begin function _checkNil
.p2align 2
__checkNil: ; @_checkNil
.cfi_startproc
; %bb.0:
cbz x0, LBB3_2
; %bb.1:
ret
LBB3_2:
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
Lloh5:
adrp x8, ___stderrp@GOTPAGE
Lloh6:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh7:
ldr x3, [x8]
Lloh8:
adrp x0, l_.str.1@PAGE
Lloh9:
add x0, x0, l_.str.1@PAGEOFF
mov w1, #5
mov w2, #1
bl _fwrite
mov w0, #-1
bl _exit
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.cfi_endproc
; -- End function
.globl __stringCompare ; -- Begin function _stringCompare
.p2align 2
__stringCompare: ; @_stringCompare
.cfi_startproc
; %bb.0:
cmp x0, x1
b.eq LBB4_7
; %bb.1:
ldr x8, [x0]
ldr x9, [x1]
cmp x8, #1
b.lt LBB4_6
; %bb.2:
cmp x9, #0
csel x10, x9, xzr, gt
add x11, x0, #8
add x12, x1, #8
mov x13, x8
LBB4_3: ; =>This Inner Loop Header: Depth=1
cbz x10, LBB4_6
; %bb.4: ; in Loop: Header=BB4_3 Depth=1
ldrb w14, [x11]
ldrb w15, [x12]
cmp w14, w15
b.ne LBB4_8
; %bb.5: ; in Loop: Header=BB4_3 Depth=1
sub x10, x10, #1
add x11, x11, #1
add x12, x12, #1
subs x13, x13, #1
b.ne LBB4_3
LBB4_6:
sub x0, x8, x9
ret
LBB4_7:
mov x0, #0
ret
LBB4_8:
sub x0, x14, x15
ret
.cfi_endproc
; -- End function
.globl _print ; -- Begin function print
.p2align 2
_print: ; @print
.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]
cmp x8, #1
b.lt LBB5_3
; %bb.1:
mov x19, x0
mov x20, #0
add x21, x0, #8
LBB5_2: ; =>This Inner Loop Header: Depth=1
ldrb w0, [x21, x20]
bl _putchar
add x20, x20, #1
ldr x8, [x19]
cmp x20, x8
b.lt LBB5_2
LBB5_3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _flush ; -- Begin function flush
.p2align 2
_flush: ; @flush
.cfi_startproc
; %bb.0:
Lloh10:
adrp x8, ___stdoutp@GOTPAGE
Lloh11:
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
Lloh12:
ldr x0, [x8]
b _fflush
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.cfi_endproc
; -- End function
.globl _ord ; -- Begin function ord
.p2align 2
_ord: ; @ord
.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]
cmp x8, #1
b.ne LBB7_2
; %bb.1:
ldrb w0, [x0, #8]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB7_2:
Lloh13:
adrp x8, ___stderrp@GOTPAGE
Lloh14:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh15:
ldr x3, [x8]
Lloh16:
adrp x0, l_.str.2@PAGE
Lloh17:
add x0, x0, l_.str.2@PAGEOFF
mov w1, #23
mov w2, #1
bl _fwrite
mov w0, #-1
bl _exit
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.cfi_endproc
; -- End function
.globl _chr ; -- Begin function chr
.p2align 2
_chr: ; @chr
.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
cmp x0, #256
b.hs LBB8_2
; %bb.1:
Lloh18:
adrp x8, _consts@GOTPAGE
Lloh19:
ldr x8, [x8, _consts@GOTPAGEOFF]
ldr x0, [x8, x0, lsl #3]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
LBB8_2:
str x0, [sp]
Lloh20:
adrp x0, l_.str.3@PAGE
Lloh21:
add x0, x0, l_.str.3@PAGEOFF
bl _printf
mov w0, #1
bl _exit
.loh AdrpLdrGot Lloh18, Lloh19
.loh AdrpAdd Lloh20, Lloh21
.cfi_endproc
; -- End function
.globl _size ; -- Begin function size
.p2align 2
_size: ; @size
.cfi_startproc
; %bb.0:
ldr x0, [x0]
ret
.cfi_endproc
; -- End function
.globl _substring ; -- Begin function substring
.p2align 2
_substring: ; @substring
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x2
mov x20, x1
mov x21, x0
tbnz x1, #63, LBB10_7
; %bb.1:
ldr x8, [x21]
add x9, x19, x20
cmp x9, x8
b.gt LBB10_8
; %bb.2:
cmp x19, #1
b.ne LBB10_4
; %bb.3:
add x8, x21, x20
ldrb w8, [x8, #8]
Lloh22:
adrp x9, _consts@GOTPAGE
Lloh23:
ldr x9, [x9, _consts@GOTPAGEOFF]
ldr x22, [x9, x8, lsl #3]
b LBB10_6
LBB10_4:
add x0, x19, #8
bl _malloc
mov x22, x0
str x19, [x0]
cmp x19, #1
b.lt LBB10_6
; %bb.5:
add x0, x22, #8
add x8, x21, x20
add x1, x8, #8
mov x2, x19
bl _memcpy
LBB10_6:
mov x0, x22
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #80
ret
LBB10_7:
ldr x8, [x21]
LBB10_8:
Lloh24:
adrp x9, ___stderrp@GOTPAGE
Lloh25:
ldr x9, [x9, ___stderrp@GOTPAGEOFF]
Lloh26:
ldr x0, [x9]
stp x20, x19, [sp, #8]
str x8, [sp]
Lloh27:
adrp x1, l_.str.4@PAGE
Lloh28:
add x1, x1, l_.str.4@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
.loh AdrpLdrGot Lloh22, Lloh23
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.cfi_endproc
; -- End function
.globl _concat ; -- Begin function concat
.p2align 2
_concat: ; @concat
.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
ldr x21, [x0]
cbz x21, LBB11_8
; %bb.1:
mov x23, x0
ldr x20, [x19]
cbz x20, LBB11_7
; %bb.2:
add x24, x20, x21
add x0, x24, #8
bl _malloc
mov x22, x0
str x24, [x0]
cmp x21, #1
b.lt LBB11_4
; %bb.3:
add x0, x22, #8
add x1, x23, #8
mov x2, x21
bl _memcpy
LBB11_4:
cmp x20, #1
b.lt LBB11_6
; %bb.5:
add x8, x21, x22
add x0, x8, #8
add x1, x19, #8
mov x2, x20
bl _memcpy
LBB11_6:
mov x19, x22
b LBB11_8
LBB11_7:
mov x19, x23
LBB11_8:
mov x0, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _not ; -- Begin function not
.p2align 2
_not: ; @not
.cfi_startproc
; %bb.0:
cmp x0, #0
cset w0, eq
ret
.cfi_endproc
; -- End function
.globl _getstr ; -- Begin function getstr
.p2align 2
_getstr: ; @getstr
.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
Lloh29:
adrp x8, ___stdinp@GOTPAGE
Lloh30:
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
Lloh31:
ldr x0, [x8]
bl _getc
cmn w0, #1
b.eq LBB13_2
; %bb.1:
Lloh32:
adrp x8, _consts@GOTPAGE
Lloh33:
ldr x8, [x8, _consts@GOTPAGEOFF]
ldr x0, [x8, w0, sxtw #3]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB13_2:
Lloh34:
adrp x0, _empty@PAGE
Lloh35:
add x0, x0, _empty@PAGEOFF
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.loh AdrpLdrGot Lloh32, Lloh33
.loh AdrpAdd Lloh34, Lloh35
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w0, #2304
bl _malloc
mov x8, #0
Lloh36:
adrp x9, _consts@GOTPAGE
Lloh37:
ldr x9, [x9, _consts@GOTPAGEOFF]
mov w10, #1
LBB14_1: ; =>This Inner Loop Header: Depth=1
str x0, [x9, x8, lsl #3]
str x10, [x0]
strb w8, [x0, #8]
add x8, x8, #1
add x0, x0, #72
cmp x8, #256
b.ne LBB14_1
; %bb.2:
mov x0, #0
bl __tigermain
; kill: def $w0 killed $w0 killed $x0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh36, Lloh37
.cfi_endproc
; -- End function
.globl _empty ; @empty
.zerofill __DATA,__common,_empty,8,3
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "indice %ld excedido!\n"
l_.str.1: ; @.str.1
.asciz "Nil!\n"
l_.str.2: ; @.str.2
.asciz "ord: string inadecuada\n"
l_.str.3: ; @.str.3
.asciz "chr(%ld) out of range\n"
.comm _consts,2048,3 ; @consts
l_.str.4: ; @.str.4
.asciz "substring([%ld],%ld,%ld) out of range\n"
.subsections_via_symbols
| the_stack_data/28967.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function kvm_mips_hypercall
_kvm_mips_hypercall: ## @kvm_mips_hypercall
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _KVM_ENOSYS@GOTPCREL(%rip), %rax
xorl %edx, %edx
subq (%rax), %rdx
movq %rdx, (%rcx)
movq _RESUME_GUEST@GOTPCREL(%rip), %rax
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _KVM_ENOSYS,8,3 ## @KVM_ENOSYS
.comm _RESUME_GUEST,4,2 ## @RESUME_GUEST
.no_dead_strip _kvm_mips_hypercall
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function kvm_mips_hypercall
_kvm_mips_hypercall: ; @kvm_mips_hypercall
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _KVM_ENOSYS@GOTPAGE
Lloh1:
ldr x8, [x8, _KVM_ENOSYS@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
neg x8, x8
str x8, [x3]
Lloh3:
adrp x8, _RESUME_GUEST@GOTPAGE
Lloh4:
ldr x8, [x8, _RESUME_GUEST@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _KVM_ENOSYS,8,3 ; @KVM_ENOSYS
.comm _RESUME_GUEST,4,2 ; @RESUME_GUEST
.no_dead_strip _kvm_mips_hypercall
.subsections_via_symbols
| AnghaBench/linux/arch/mips/kvm/extr_hypcall.c_kvm_mips_hypercall.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## -- Begin function do_assign_max_multiple_hash
LCPI0_0:
.long 1 ## 0x1
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
LCPI0_1:
.byte 44 ## 0x2c
.byte 44 ## 0x2c
.byte 44 ## 0x2c
.byte 44 ## 0x2c
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
LCPI0_2:
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.section __TEXT,__text,regular,pure_instructions
.globl _do_assign_max_multiple_hash
.p2align 4, 0x90
_do_assign_max_multiple_hash: ## @do_assign_max_multiple_hash
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, %r14d
movl %edx, %r13d
movl %esi, %ebx
movq _value_buff@GOTPCREL(%rip), %rax
movq (%rax), %r15
movq %r15, %rsi
movl %ebx, %edx
callq _read_in
xorl %edi, %edi
cmpl %ebx, %eax
sete %dil
callq _assert
movslq %ebx, %rax
movb $0, (%r15,%rax)
testl %eax, %eax
jle LBB0_1
## %bb.2:
movl %ebx, %eax
cmpl $8, %ebx
jae LBB0_4
## %bb.3:
movl $1, %edx
xorl %ecx, %ecx
jmp LBB0_11
LBB0_1:
movl $1, %edx
jmp LBB0_12
LBB0_4:
movl %eax, %ecx
andl $-8, %ecx
leaq -8(%rcx), %rsi
movq %rsi, %rdx
shrq $3, %rdx
incq %rdx
testq %rsi, %rsi
je LBB0_5
## %bb.6:
movq %rdx, %rdi
andq $-2, %rdi
pxor %xmm1, %xmm1
movdqa LCPI0_0(%rip), %xmm0 ## xmm0 = [1,0,0,0]
xorl %esi, %esi
movdqa LCPI0_1(%rip), %xmm2 ## xmm2 = <44,44,44,44,u,u,u,u,u,u,u,u,u,u,u,u>
movdqa LCPI0_2(%rip), %xmm3 ## xmm3 = [1,1,1,1]
.p2align 4, 0x90
LBB0_7: ## =>This Inner Loop Header: Depth=1
movd (%r15,%rsi), %xmm4 ## xmm4 = mem[0],zero,zero,zero
movd 4(%r15,%rsi), %xmm5 ## xmm5 = mem[0],zero,zero,zero
pcmpeqb %xmm2, %xmm4
pmovzxbd %xmm4, %xmm4 ## xmm4 = xmm4[0],zero,zero,zero,xmm4[1],zero,zero,zero,xmm4[2],zero,zero,zero,xmm4[3],zero,zero,zero
pand %xmm3, %xmm4
paddd %xmm0, %xmm4
pcmpeqb %xmm2, %xmm5
pmovzxbd %xmm5, %xmm5 ## xmm5 = xmm5[0],zero,zero,zero,xmm5[1],zero,zero,zero,xmm5[2],zero,zero,zero,xmm5[3],zero,zero,zero
pand %xmm3, %xmm5
paddd %xmm1, %xmm5
movd 8(%r15,%rsi), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movd 12(%r15,%rsi), %xmm1 ## xmm1 = mem[0],zero,zero,zero
pcmpeqb %xmm2, %xmm0
pmovzxbd %xmm0, %xmm0 ## xmm0 = xmm0[0],zero,zero,zero,xmm0[1],zero,zero,zero,xmm0[2],zero,zero,zero,xmm0[3],zero,zero,zero
pand %xmm3, %xmm0
paddd %xmm4, %xmm0
pcmpeqb %xmm2, %xmm1
pmovzxbd %xmm1, %xmm1 ## xmm1 = xmm1[0],zero,zero,zero,xmm1[1],zero,zero,zero,xmm1[2],zero,zero,zero,xmm1[3],zero,zero,zero
pand %xmm3, %xmm1
paddd %xmm5, %xmm1
addq $16, %rsi
addq $-2, %rdi
jne LBB0_7
## %bb.8:
testb $1, %dl
je LBB0_10
LBB0_9:
movd (%r15,%rsi), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movd 4(%r15,%rsi), %xmm3 ## xmm3 = mem[0],zero,zero,zero
movdqa LCPI0_1(%rip), %xmm4 ## xmm4 = <44,44,44,44,u,u,u,u,u,u,u,u,u,u,u,u>
pcmpeqb %xmm4, %xmm2
pmovzxbd %xmm2, %xmm2 ## xmm2 = xmm2[0],zero,zero,zero,xmm2[1],zero,zero,zero,xmm2[2],zero,zero,zero,xmm2[3],zero,zero,zero
movdqa LCPI0_2(%rip), %xmm5 ## xmm5 = [1,1,1,1]
pand %xmm5, %xmm2
paddd %xmm2, %xmm0
pcmpeqb %xmm4, %xmm3
pmovzxbd %xmm3, %xmm2 ## xmm2 = xmm3[0],zero,zero,zero,xmm3[1],zero,zero,zero,xmm3[2],zero,zero,zero,xmm3[3],zero,zero,zero
pand %xmm5, %xmm2
paddd %xmm2, %xmm1
LBB0_10:
paddd %xmm1, %xmm0
pshufd $238, %xmm0, %xmm1 ## xmm1 = xmm0[2,3,2,3]
paddd %xmm0, %xmm1
pshufd $85, %xmm1, %xmm0 ## xmm0 = xmm1[1,1,1,1]
paddd %xmm1, %xmm0
movd %xmm0, %edx
cmpq %rax, %rcx
je LBB0_12
.p2align 4, 0x90
LBB0_11: ## =>This Inner Loop Header: Depth=1
xorl %esi, %esi
cmpb $44, (%r15,%rcx)
sete %sil
addl %esi, %edx
incq %rcx
cmpq %rcx, %rax
jne LBB0_11
LBB0_12:
cmpl $11, %edx
movl $10, %r12d
cmovgel %edx, %r12d
leaq -48(%rbp), %rdi
movl %r12d, %esi
callq _hashset_ll_init
testl %eax, %eax
je LBB0_13
## %bb.14:
movl %r13d, -52(%rbp) ## 4-byte Spill
movl %r14d, -56(%rbp) ## 4-byte Spill
cmpb $0, (%r15)
je LBB0_24
## %bb.15:
leaq L_.str(%rip), %r13
leaq -64(%rbp), %r14
.p2align 4, 0x90
LBB0_16: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
movl $44, %esi
callq _strchr
movq %rax, %rbx
testq %rax, %rax
je LBB0_18
## %bb.17: ## in Loop: Header=BB0_16 Depth=1
movb $0, (%rbx)
LBB0_18: ## in Loop: Header=BB0_16 Depth=1
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rdx
callq _sscanf
cmpl $1, %eax
jne LBB0_24
## %bb.19: ## in Loop: Header=BB0_16 Depth=1
cmpl %r12d, -48(%rbp)
jge LBB0_24
## %bb.20: ## in Loop: Header=BB0_16 Depth=1
movq -64(%rbp), %rdx
movl $3, %edi
leaq L_.str.1(%rip), %rsi
callq _vkprintf
movq -64(%rbp), %rsi
testq %rsi, %rsi
je LBB0_22
## %bb.21: ## in Loop: Header=BB0_16 Depth=1
leaq -48(%rbp), %rdi
callq _hashset_ll_insert
LBB0_22: ## in Loop: Header=BB0_16 Depth=1
testq %rbx, %rbx
je LBB0_24
## %bb.23: ## in Loop: Header=BB0_16 Depth=1
movq %rbx, %r15
incq %r15
cmpb $0, 1(%rbx)
jne LBB0_16
LBB0_24:
leaq -48(%rbp), %r14
movq %r14, %rdi
movl -52(%rbp), %esi ## 4-byte Reload
movl -56(%rbp), %edx ## 4-byte Reload
callq _do_assign_max_rate_using_hashset
movl %eax, %ebx
movq %r14, %rdi
callq _hashset_ll_free
jmp LBB0_25
LBB0_13:
xorl %ebx, %ebx
LBB0_25:
movl %ebx, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_5:
pxor %xmm1, %xmm1
movdqa LCPI0_0(%rip), %xmm0 ## xmm0 = [1,0,0,0]
xorl %esi, %esi
testb $1, %dl
jne LBB0_9
jmp LBB0_10
.cfi_endproc
## -- End function
.comm _value_buff,8,3 ## @value_buff
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%llx"
L_.str.1: ## @.str.1
.asciz "u = %llx\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal16,16byte_literals
.p2align 4 ; -- Begin function do_assign_max_multiple_hash
lCPI0_0:
.long 1 ; 0x1
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.section __TEXT,__text,regular,pure_instructions
.globl _do_assign_max_multiple_hash
.p2align 2
_do_assign_max_multiple_hash: ; @do_assign_max_multiple_hash
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x3
mov x20, x2
mov x22, x1
Lloh0:
adrp x8, _value_buff@GOTPAGE
Lloh1:
ldr x8, [x8, _value_buff@GOTPAGEOFF]
Lloh2:
ldr x21, [x8]
mov x1, x21
mov x2, x22
bl _read_in
cmp w0, w22
cset w0, eq
bl _assert
strb wzr, [x21, w22, sxtw]
cmp w22, #1
b.lt LBB0_3
; %bb.1:
mov w8, w22
cmp w22, #8
b.hs LBB0_4
; %bb.2:
mov x9, #0
mov w10, #1
b LBB0_13
LBB0_3:
mov w10, #1
b LBB0_15
LBB0_4:
cmp w22, #32
b.hs LBB0_6
; %bb.5:
mov x9, #0
mov w10, #1
b LBB0_10
LBB0_6:
and x9, x8, #0xffffffe0
movi.2d v0, #0000000000000000
movi.16b v2, #44
movi.4s v3, #1
Lloh3:
adrp x10, lCPI0_0@PAGE
Lloh4:
ldr q1, [x10, lCPI0_0@PAGEOFF]
add x10, x21, #16
mov x11, x9
movi.2d v4, #0000000000000000
movi.2d v5, #0000000000000000
movi.2d v6, #0000000000000000
movi.2d v16, #0000000000000000
movi.2d v7, #0000000000000000
movi.2d v17, #0000000000000000
LBB0_7: ; =>This Inner Loop Header: Depth=1
ldp q18, q19, [x10, #-16]
cmeq.16b v18, v18, v2
ushll.8h v20, v18, #0
ushll.4s v21, v20, #0
and.16b v21, v21, v3
ushll2.4s v20, v20, #0
and.16b v20, v20, v3
ushll2.8h v18, v18, #0
ushll.4s v22, v18, #0
and.16b v22, v22, v3
ushll2.4s v18, v18, #0
and.16b v18, v18, v3
cmeq.16b v19, v19, v2
ushll.8h v23, v19, #0
ushll.4s v24, v23, #0
and.16b v24, v24, v3
ushll2.4s v23, v23, #0
and.16b v23, v23, v3
ushll2.8h v19, v19, #0
ushll.4s v25, v19, #0
and.16b v25, v25, v3
ushll2.4s v19, v19, #0
and.16b v19, v19, v3
add.4s v5, v5, v18
add.4s v4, v4, v22
add.4s v0, v0, v20
add.4s v1, v1, v21
add.4s v17, v17, v19
add.4s v7, v7, v25
add.4s v16, v16, v23
add.4s v6, v6, v24
add x10, x10, #32
subs x11, x11, #32
b.ne LBB0_7
; %bb.8:
add.4s v0, v16, v0
add.4s v2, v17, v5
add.4s v1, v6, v1
add.4s v3, v7, v4
add.4s v1, v1, v3
add.4s v0, v0, v2
add.4s v0, v1, v0
addv.4s s0, v0
fmov w10, s0
cmp x9, x8
b.eq LBB0_15
; %bb.9:
tst x8, #0x18
b.eq LBB0_13
LBB0_10:
mov x11, x9
and x9, x8, #0xfffffff8
movi.2d v0, #0000000000000000
movi.2d v1, #0000000000000000
mov.s v1[0], w10
add x10, x21, x11
sub x11, x11, x9
movi.8b v2, #44
movi.4s v3, #1
LBB0_11: ; =>This Inner Loop Header: Depth=1
ldr d4, [x10], #8
cmeq.8b v4, v4, v2
ushll.8h v4, v4, #0
ushll.4s v5, v4, #0
and.16b v5, v5, v3
ushll2.4s v4, v4, #0
and.16b v4, v4, v3
add.4s v0, v0, v4
add.4s v1, v1, v5
adds x11, x11, #8
b.ne LBB0_11
; %bb.12:
add.4s v0, v1, v0
addv.4s s0, v0
fmov w10, s0
cmp x9, x8
b.eq LBB0_15
LBB0_13:
add x11, x21, x9
sub x8, x8, x9
LBB0_14: ; =>This Inner Loop Header: Depth=1
ldrb w9, [x11], #1
cmp w9, #44
cinc w10, w10, eq
subs x8, x8, #1
b.ne LBB0_14
LBB0_15:
mov w8, #10
cmp w10, #10
csel w22, w10, w8, gt
add x0, sp, #8
mov x1, x22
bl _hashset_ll_init
cbz w0, LBB0_26
; %bb.16:
ldrb w8, [x21]
cbz w8, LBB0_25
; %bb.17:
Lloh5:
adrp x23, l_.str@PAGE
Lloh6:
add x23, x23, l_.str@PAGEOFF
Lloh7:
adrp x24, l_.str.1@PAGE
Lloh8:
add x24, x24, l_.str.1@PAGEOFF
LBB0_18: ; =>This Inner Loop Header: Depth=1
mov x0, x21
mov w1, #44
bl _strchr
mov x25, x0
cbz x0, LBB0_20
; %bb.19: ; in Loop: Header=BB0_18 Depth=1
strb wzr, [x25]
LBB0_20: ; in Loop: Header=BB0_18 Depth=1
mov x2, sp
mov x0, x21
mov x1, x23
bl _sscanf
ldr w8, [sp, #8]
cmp w0, #1
ccmp w8, w22, #0, eq
b.ge LBB0_25
; %bb.21: ; in Loop: Header=BB0_18 Depth=1
ldr x2, [sp]
mov w0, #3
mov x1, x24
bl _vkprintf
ldr x1, [sp]
cbz x1, LBB0_23
; %bb.22: ; in Loop: Header=BB0_18 Depth=1
add x0, sp, #8
bl _hashset_ll_insert
LBB0_23: ; in Loop: Header=BB0_18 Depth=1
cbz x25, LBB0_25
; %bb.24: ; in Loop: Header=BB0_18 Depth=1
ldrb w8, [x25, #1]!
mov x21, x25
cbnz w8, LBB0_18
LBB0_25:
add x0, sp, #8
mov x1, x20
mov x2, x19
bl _do_assign_max_rate_using_hashset
mov x19, x0
add x0, sp, #8
bl _hashset_ll_free
b LBB0_27
LBB0_26:
mov w19, #0
LBB0_27:
mov x0, x19
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdr Lloh3, Lloh4
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _value_buff,8,3 ; @value_buff
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%llx"
l_.str.1: ; @.str.1
.asciz "u = %llx\n"
.subsections_via_symbols
| AnghaBench/kphp-kdb/search/extr_search-engine.c_do_assign_max_multiple_hash.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function PM4_PARITY
_PM4_PARITY: ## @PM4_PARITY
.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
sarl $4, %eax
xorl %edi, %eax
movl %edi, %ecx
sarl $8, %ecx
movl %edi, %edx
shrl $12, %edx
xorl %ecx, %edx
xorl %eax, %edx
movl %edi, %eax
shrl $16, %eax
movl %edi, %ecx
shrl $20, %ecx
xorl %eax, %ecx
movl %edi, %esi
shrl $24, %esi
xorl %ecx, %esi
xorl %edx, %esi
shrl $28, %edi
andl $15, %esi
xorl %edi, %esi
movl $38505, %ecx ## imm = 0x9669
xorl %eax, %eax
btl %esi, %ecx
setb %al
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _PM4_PARITY
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function PM4_PARITY
_PM4_PARITY: ; @PM4_PARITY
.cfi_startproc
; %bb.0:
eor w8, w0, w0, asr #4
eor w8, w8, w0, asr #8
eor w8, w8, w0, lsr #12
eor w8, w8, w0, lsr #16
eor w8, w8, w0, lsr #20
eor w8, w8, w0, lsr #24
and w8, w8, #0xf
eor w8, w8, w0, lsr #28
mov w9, #38505
lsr w8, w9, w8
and w0, w8, #0x1
ret
.cfi_endproc
; -- End function
.no_dead_strip _PM4_PARITY
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/msm/extr_adrenoadreno_gpu.h_PM4_PARITY.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function nsp_mmio_index_write
_nsp_mmio_index_write: ## @nsp_mmio_index_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 %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl %edx, %r14d
movq %rdi, %rbx
movq _NSP_MMIO_OFFSET@GOTPCREL(%rip), %rax
addq (%rax), %rbx
movq _INDEXREG@GOTPCREL(%rip), %rax
movq (%rax), %rax
addq %rbx, %rax
movq _DATAREG@GOTPCREL(%rip), %rcx
addq (%rcx), %rbx
movzbl %sil, %edi
movq %rax, %rsi
callq _writeb
movl %r14d, %edi
movq %rbx, %rsi
popq %rbx
popq %r14
popq %rbp
jmp _writeb ## TAILCALL
.cfi_endproc
## -- End function
.comm _NSP_MMIO_OFFSET,8,3 ## @NSP_MMIO_OFFSET
.comm _INDEXREG,8,3 ## @INDEXREG
.comm _DATAREG,8,3 ## @DATAREG
.no_dead_strip _nsp_mmio_index_write
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function nsp_mmio_index_write
_nsp_mmio_index_write: ; @nsp_mmio_index_write
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x2
Lloh0:
adrp x8, _NSP_MMIO_OFFSET@GOTPAGE
Lloh1:
ldr x8, [x8, _NSP_MMIO_OFFSET@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
Lloh3:
adrp x9, _INDEXREG@GOTPAGE
Lloh4:
ldr x9, [x9, _INDEXREG@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
add x10, x8, x0
add x8, x10, x9
Lloh6:
adrp x9, _DATAREG@GOTPAGE
Lloh7:
ldr x9, [x9, _DATAREG@GOTPAGEOFF]
Lloh8:
ldr x9, [x9]
add x20, x9, x10
and w0, w1, #0xff
mov x1, x8
bl _writeb
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 _writeb
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _NSP_MMIO_OFFSET,8,3 ; @NSP_MMIO_OFFSET
.comm _INDEXREG,8,3 ; @INDEXREG
.comm _DATAREG,8,3 ; @DATAREG
.no_dead_strip _nsp_mmio_index_write
.subsections_via_symbols
| AnghaBench/linux/drivers/scsi/pcmcia/extr_nsp_io.h_nsp_mmio_index_write.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___wrap___release_region ## -- Begin function __wrap___release_region
.p2align 4, 0x90
___wrap___release_region: ## @__wrap___release_region
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r14d
movl %esi, %r15d
movq %rdi, %rbx
xorl %edi, %edi
movq %rbx, %rsi
movl %r15d, %edx
movl %r14d, %ecx
callq _nfit_test_release_region
testl %eax, %eax
je LBB0_2
## %bb.1:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_2:
movq %rbx, %rdi
movl %r15d, %esi
movl %r14d, %edx
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp ___release_region ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___wrap___release_region ; -- Begin function __wrap___release_region
.p2align 2
___wrap___release_region: ; @__wrap___release_region
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x2
mov x20, x1
mov x21, x0
mov x0, #0
mov x1, x21
mov x2, x20
mov x3, x19
bl _nfit_test_release_region
cbz w0, LBB0_2
; %bb.1:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_2:
mov x0, x21
mov x1, x20
mov x2, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b ___release_region
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/linux/tools/testing/nvdimm/test/extr_iomap.c___wrap___release_region.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function camellia_crypt_cfb128_wrap
_camellia_crypt_cfb128_wrap: ## @camellia_crypt_cfb128_wrap
.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 _mbedtls_camellia_crypt_cfb128 ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _camellia_crypt_cfb128_wrap
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function camellia_crypt_cfb128_wrap
_camellia_crypt_cfb128_wrap: ; @camellia_crypt_cfb128_wrap
.cfi_startproc
; %bb.0:
b _mbedtls_camellia_crypt_cfb128
.cfi_endproc
; -- End function
.no_dead_strip _camellia_crypt_cfb128_wrap
.subsections_via_symbols
| AnghaBench/RetroArch/deps/mbedtls/extr_cipher_wrap.c_camellia_crypt_cfb128_wrap.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function psmsoftintr
_psmsoftintr: ## @psmsoftintr
.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 %rdi, %rbx
addq $144, %rdi
callq _getmicrouptime
xorl %eax, %eax
callq _spltty
movl %eax, -92(%rbp) ## 4-byte Spill
leaq 28(%rbx), %r14
leaq 96(%rbx), %rax
movq %rax, -112(%rbp) ## 8-byte Spill
movq (%rbx), %r12
movq %r14, -104(%rbp) ## 8-byte Spill
jmp LBB0_2
.p2align 4, 0x90
LBB0_1: ## in Loop: Header=BB0_2 Depth=1
movq %r12, (%rbx)
cmpq 8(%rbx), %r12
je LBB0_87
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq 112(%rbx), %rax
movq 136(%rbx), %r15
shlq $4, %r12
leaq (%r15,%r12), %rdx
movq _PSM_LEVEL_NATIVE@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
movq %rdx, -64(%rbp) ## 8-byte Spill
jne LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movl 8(%r15,%r12), %edi
jmp LBB0_81
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
movq (%rdx), %rax
movl (%rax), %r13d
cmpl $130, 132(%rbx)
jne LBB0_6
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
xorl %ecx, %ecx
movq _MOUSE_PS2_XOVERFLOW@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
andl %r13d, %edx
setne %cl
shll $7, %ecx
orl %ecx, 4(%rax)
LBB0_6: ## in Loop: Header=BB0_2 Depth=1
movq _MOUSE_PS2_XNEG@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
movl 4(%rax), %ecx
andl %r13d, %edx
je LBB0_8
## %bb.7: ## in Loop: Header=BB0_2 Depth=1
addl $-256, %ecx
LBB0_8: ## in Loop: Header=BB0_2 Depth=1
movl %ecx, -52(%rbp)
movq _MOUSE_PS2_YNEG@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl 8(%rax), %eax
andl %r13d, %ecx
je LBB0_10
## %bb.9: ## in Loop: Header=BB0_2 Depth=1
addl $-256, %eax
LBB0_10: ## in Loop: Header=BB0_2 Depth=1
movslq %r13d, %rcx
movl %eax, -48(%rbp)
movl $0, -44(%rbp)
movl 16(%rbx), %eax
movl %eax, -88(%rbp)
movq _MOUSE_PS2_BUTTONS@GOTPCREL(%rip), %rax
movslq (%rax), %rax
andq %rcx, %rax
leaq _psmsoftintr.butmap(%rip), %rcx
movl (%rcx,%rax,4), %eax
movl %eax, -84(%rbp)
movq _PSM_CONFIG_FORCETAP@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
testl %ecx, 20(%rbx)
je LBB0_14
## %bb.11: ## in Loop: Header=BB0_2 Depth=1
xorl %ecx, %ecx
movq _MOUSE_PS2_TAP@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
andl %r13d, %edx
jne LBB0_13
## %bb.12: ## in Loop: Header=BB0_2 Depth=1
movq _MOUSE_BUTTON4DOWN@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
LBB0_13: ## in Loop: Header=BB0_2 Depth=1
orl %eax, %ecx
movl %ecx, -84(%rbp)
LBB0_14: ## in Loop: Header=BB0_2 Depth=1
movq %r14, %rdi
callq _timevalclear
movl $0, 104(%rbx)
movl 132(%rbx), %eax
addl $-128, %eax
cmpl $13, %eax
ja LBB0_64
## %bb.15: ## in Loop: Header=BB0_2 Depth=1
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_16: ## in Loop: Header=BB0_2 Depth=1
movq -64(%rbp), %rax ## 8-byte Reload
movq (%rax), %rax
movl 12(%rax), %eax
movl %eax, %edx
shll $24, %edx
addl $-100663297, %edx ## imm = 0xF9FFFFFF
xorl %ecx, %ecx
cmpl $-201326593, %edx ## imm = 0xF3FFFFFF
jb LBB0_18
## %bb.17: ## in Loop: Header=BB0_2 Depth=1
movsbl %al, %ecx
LBB0_18: ## in Loop: Header=BB0_2 Depth=1
movl %ecx, -44(%rbp)
movq _MOUSE_PS2INTELLI_BUTTON4DOWN@GOTPCREL(%rip), %rax
movl (%rax), %eax
andl %r13d, %eax
je LBB0_20
## %bb.19: ## in Loop: Header=BB0_2 Depth=1
movq _MOUSE_BUTTON4DOWN@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_20: ## in Loop: Header=BB0_2 Depth=1
orl -84(%rbp), %eax
movq _MOUSE_PS2INTELLI_BUTTON5DOWN@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
andl %r13d, %ecx
je LBB0_22
## %bb.21: ## in Loop: Header=BB0_2 Depth=1
movq _MOUSE_BUTTON5DOWN@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
LBB0_22: ## in Loop: Header=BB0_2 Depth=1
orl %eax, %ecx
movl %ecx, -84(%rbp)
jmp LBB0_64
LBB0_23: ## in Loop: Header=BB0_2 Depth=1
movl 8(%r15,%r12), %eax
movq _MOUSE_PS2_PACKETSIZE@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB0_25
## %bb.24: ## in Loop: Header=BB0_2 Depth=1
movq %rbx, %rdi
movq -64(%rbp), %rsi ## 8-byte Reload
callq _proc_synaptics_mux
testl %eax, %eax
jne LBB0_85
LBB0_25: ## in Loop: Header=BB0_2 Depth=1
movq %rbx, %rdi
movq -64(%rbp), %rsi ## 8-byte Reload
leaq -88(%rbp), %rdx
leaq -52(%rbp), %rcx
leaq -48(%rbp), %r8
leaq -44(%rbp), %r9
callq _proc_synaptics
testl %eax, %eax
je LBB0_64
## %bb.26: ## in Loop: Header=BB0_2 Depth=1
movl $3, %edi
leaq L_.str(%rip), %rsi
jmp LBB0_27
LBB0_28: ## in Loop: Header=BB0_2 Depth=1
cmpl $-241, -52(%rbp)
jg LBB0_58
## %bb.29: ## in Loop: Header=BB0_2 Depth=1
cmpl $-241, -48(%rbp)
jg LBB0_58
## %bb.30: ## in Loop: Header=BB0_2 Depth=1
movl $0, -48(%rbp)
movl $0, -52(%rbp)
movq -64(%rbp), %rax ## 8-byte Reload
movq (%rax), %rax
movl 8(%rax), %eax
movq _MOUSE_4DPLUS_BUTTON4DOWN@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_32
## %bb.31: ## in Loop: Header=BB0_2 Depth=1
movq _MOUSE_BUTTON4DOWN@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl %ecx, -84(%rbp)
LBB0_32: ## in Loop: Header=BB0_2 Depth=1
xorl %ecx, %ecx
movq _MOUSE_4DPLUS_ZNEG@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
andl %eax, %edx
sete %cl
andl $7, %eax
leal (%rax,%rcx,8), %eax
addl $-8, %eax
movl %eax, -44(%rbp)
jmp LBB0_64
LBB0_33: ## in Loop: Header=BB0_2 Depth=1
movq -64(%rbp), %rax ## 8-byte Reload
movq (%rax), %rax
movl 4(%rax), %ecx
leal -256(%rcx), %edx
testb $-128, %cl
cmovel %ecx, %edx
movl %edx, -52(%rbp)
movl 8(%rax), %eax
leal -256(%rax), %ecx
testb $-128, %al
cmovel %eax, %ecx
movl %ecx, -48(%rbp)
movq _MOUSE_4D_WHEELBITS@GOTPCREL(%rip), %rax
movl (%rax), %eax
andl %r13d, %eax
cmpl $63, %eax
jg LBB0_59
## %bb.34: ## in Loop: Header=BB0_2 Depth=1
cmpl $16, %eax
je LBB0_62
## %bb.35: ## in Loop: Header=BB0_2 Depth=1
cmpl $48, %eax
jne LBB0_64
## %bb.36: ## in Loop: Header=BB0_2 Depth=1
movl $-1, -44(%rbp)
jmp LBB0_64
LBB0_37: ## in Loop: Header=BB0_2 Depth=1
movq %rbx, %rdi
movq -64(%rbp), %rsi ## 8-byte Reload
leaq -88(%rbp), %rdx
leaq -52(%rbp), %rcx
leaq -48(%rbp), %r8
leaq -44(%rbp), %r9
callq _proc_versapad
movl -52(%rbp), %eax
sarl $31, %eax
movq _MOUSE_PS2_XNEG@GOTPCREL(%rip), %rcx
andl (%rcx), %eax
movl -48(%rbp), %r13d
sarl $31, %r13d
movq _MOUSE_PS2_YNEG@GOTPCREL(%rip), %rcx
andl (%rcx), %r13d
orl %eax, %r13d
jmp LBB0_64
LBB0_38: ## in Loop: Header=BB0_2 Depth=1
movq _MOUSE_PS2_TAP@GOTPCREL(%rip), %rax
movl (%rax), %eax
andl %r13d, %eax
jne LBB0_49
jmp LBB0_50
LBB0_40: ## in Loop: Header=BB0_2 Depth=1
movq -64(%rbp), %rax ## 8-byte Reload
movq (%rax), %rax
movl 12(%rax), %ecx
movq _MOUSE_PS2_BUTTON3DOWN@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
andl %ecx, %edx
je LBB0_42
## %bb.41: ## in Loop: Header=BB0_2 Depth=1
movq _MOUSE_BUTTON4DOWN@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
LBB0_42: ## in Loop: Header=BB0_2 Depth=1
orl -84(%rbp), %edx
movq _MOUSE_PS2_BUTTON1DOWN@GOTPCREL(%rip), %rsi
movl (%rsi), %esi
andl %ecx, %esi
je LBB0_44
## %bb.43: ## in Loop: Header=BB0_2 Depth=1
movq _MOUSE_BUTTON5DOWN@GOTPCREL(%rip), %rsi
movl (%rsi), %esi
LBB0_44: ## in Loop: Header=BB0_2 Depth=1
orl %edx, %esi
movl %esi, -84(%rbp)
movl 16(%rax), %eax
movq _MOUSE_PS2_XNEG@GOTPCREL(%rip), %rdx
andl (%rdx), %ecx
je LBB0_46
## %bb.45: ## in Loop: Header=BB0_2 Depth=1
addl $-256, %eax
LBB0_46: ## in Loop: Header=BB0_2 Depth=1
movl %eax, -44(%rbp)
jmp LBB0_64
LBB0_47: ## in Loop: Header=BB0_2 Depth=1
movq %rbx, %rdi
movq -64(%rbp), %rsi ## 8-byte Reload
leaq -88(%rbp), %rdx
leaq -52(%rbp), %rcx
leaq -48(%rbp), %r8
leaq -44(%rbp), %r9
callq _proc_mmanplus
jmp LBB0_64
LBB0_48: ## in Loop: Header=BB0_2 Depth=1
xorl %eax, %eax
movq _MOUSE_PS2_TAP@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
andl %r13d, %ecx
jne LBB0_50
LBB0_49: ## in Loop: Header=BB0_2 Depth=1
movq _MOUSE_BUTTON4DOWN@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_50: ## in Loop: Header=BB0_2 Depth=1
orl %eax, -84(%rbp)
jmp LBB0_64
LBB0_51: ## in Loop: Header=BB0_2 Depth=1
movq -64(%rbp), %rax ## 8-byte Reload
movq (%rax), %rax
movl 12(%rax), %eax
xorl %ecx, %ecx
movq _MOUSE_EXPLORER_ZNEG@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
andl %eax, %edx
sete %cl
movl %eax, %edx
andl $15, %edx
shll $4, %ecx
addl %edx, %ecx
addl $-16, %ecx
movl %ecx, -44(%rbp)
movq _MOUSE_EXPLORER_BUTTON4DOWN@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
andl %eax, %ecx
je LBB0_53
## %bb.52: ## in Loop: Header=BB0_2 Depth=1
movq _MOUSE_BUTTON4DOWN@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
LBB0_53: ## in Loop: Header=BB0_2 Depth=1
orl -84(%rbp), %ecx
movq _MOUSE_EXPLORER_BUTTON5DOWN@GOTPCREL(%rip), %rdx
andl (%rdx), %eax
je LBB0_55
## %bb.54: ## in Loop: Header=BB0_2 Depth=1
movq _MOUSE_BUTTON5DOWN@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_55: ## in Loop: Header=BB0_2 Depth=1
orl %ecx, %eax
movl %eax, -84(%rbp)
jmp LBB0_64
LBB0_56: ## in Loop: Header=BB0_2 Depth=1
movq %rbx, %rdi
movq -64(%rbp), %rsi ## 8-byte Reload
leaq -88(%rbp), %rdx
leaq -52(%rbp), %rcx
leaq -48(%rbp), %r8
leaq -44(%rbp), %r9
callq _proc_elantech
testl %eax, %eax
je LBB0_64
## %bb.57: ## in Loop: Header=BB0_2 Depth=1
movl $3, %edi
leaq L_.str.1(%rip), %rsi
LBB0_27: ## in Loop: Header=BB0_2 Depth=1
## kill: def $esi killed $esi killed $rsi
callq _VLOG
jmp LBB0_85
LBB0_58: ## in Loop: Header=BB0_2 Depth=1
movq _MOUSE_EXTBUTTONS@GOTPCREL(%rip), %rax
movl (%rax), %eax
andl -88(%rbp), %eax
orl %eax, -84(%rbp)
jmp LBB0_64
LBB0_59: ## in Loop: Header=BB0_2 Depth=1
cmpl $64, %eax
je LBB0_63
## %bb.60: ## in Loop: Header=BB0_2 Depth=1
cmpl $192, %eax
jne LBB0_64
## %bb.61: ## in Loop: Header=BB0_2 Depth=1
movl $-2, -44(%rbp)
jmp LBB0_64
LBB0_62: ## in Loop: Header=BB0_2 Depth=1
movl $1, -44(%rbp)
jmp LBB0_64
LBB0_63: ## in Loop: Header=BB0_2 Depth=1
movl $2, -44(%rbp)
.p2align 4, 0x90
LBB0_64: ## in Loop: Header=BB0_2 Depth=1
movl 120(%rbx), %ecx
testl %ecx, %ecx
jle LBB0_75
## %bb.65: ## in Loop: Header=BB0_2 Depth=1
movl -52(%rbp), %eax
testl %eax, %eax
je LBB0_70
## %bb.66: ## in Loop: Header=BB0_2 Depth=1
imull %eax, %eax
cltd
idivl %ecx
movl $1, %edx
testl %eax, %eax
je LBB0_68
## %bb.67: ## in Loop: Header=BB0_2 Depth=1
movl %eax, %edx
LBB0_68: ## in Loop: Header=BB0_2 Depth=1
movl %edx, -52(%rbp)
movq _MOUSE_PS2_XNEG@GOTPCREL(%rip), %rax
testl %r13d, (%rax)
je LBB0_70
## %bb.69: ## in Loop: Header=BB0_2 Depth=1
negl %edx
movl %edx, -52(%rbp)
LBB0_70: ## in Loop: Header=BB0_2 Depth=1
movl -48(%rbp), %eax
testl %eax, %eax
je LBB0_75
## %bb.71: ## in Loop: Header=BB0_2 Depth=1
imull %eax, %eax
cltd
idivl %ecx
movl $1, %ecx
testl %eax, %eax
je LBB0_73
## %bb.72: ## in Loop: Header=BB0_2 Depth=1
movl %eax, %ecx
LBB0_73: ## in Loop: Header=BB0_2 Depth=1
movl %ecx, -48(%rbp)
movq _MOUSE_PS2_YNEG@GOTPCREL(%rip), %rax
testl %r13d, (%rax)
je LBB0_75
## %bb.74: ## in Loop: Header=BB0_2 Depth=1
negl %ecx
movl %ecx, -48(%rbp)
LBB0_75: ## in Loop: Header=BB0_2 Depth=1
movq %r14, %rdi
callq _timevalisset
testq %rax, %rax
movq -64(%rbp), %rsi ## 8-byte Reload
je LBB0_78
## %bb.76: ## in Loop: Header=BB0_2 Depth=1
cmpl $0, 104(%rbx)
jne LBB0_78
## %bb.77: ## in Loop: Header=BB0_2 Depth=1
movups (%rsi), %xmm0
movq -112(%rbp), %rax ## 8-byte Reload
movups %xmm0, (%rax)
LBB0_78: ## in Loop: Header=BB0_2 Depth=1
movl -52(%rbp), %ecx
movl %ecx, -80(%rbp)
movl -48(%rbp), %eax
movl %eax, -76(%rbp)
movl -44(%rbp), %edx
movl %edx, -72(%rbp)
orl %eax, %ecx
xorl %eax, %eax
orl %edx, %ecx
je LBB0_80
## %bb.79: ## in Loop: Header=BB0_2 Depth=1
movq _MOUSE_POSCHANGED@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_80: ## in Loop: Header=BB0_2 Depth=1
movl -84(%rbp), %ecx
xorl -88(%rbp), %ecx
orl %eax, %ecx
movl %ecx, -68(%rbp)
movq (%rsi), %rcx
movq %rbx, %rdi
leaq -88(%rbp), %rdx
callq _tame_mouse
movl %eax, %edi
movl %eax, 8(%r15,%r12)
movdqu -80(%rbp), %xmm0
pshufd $147, %xmm0, %xmm0 ## xmm0 = xmm0[3,0,1,2]
movdqu 76(%rbx), %xmm1
movdqa %xmm1, %xmm2
por %xmm0, %xmm2
paddd %xmm0, %xmm1
pblendw $3, %xmm2, %xmm1 ## xmm1 = xmm2[0,1],xmm1[2,3,4,5,6,7]
movdqu %xmm1, 76(%rbx)
movl -84(%rbp), %eax
movl %eax, 92(%rbx)
movl %eax, 16(%rbx)
LBB0_81: ## in Loop: Header=BB0_2 Depth=1
movq _FALSE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 72(%rbx)
movl 56(%rbx), %eax
addl %edi, %eax
cmpl $7, %eax
ja LBB0_85
## %bb.82: ## in Loop: Header=BB0_2 Depth=1
movq %r15, -120(%rbp) ## 8-byte Spill
leaq (%r15,%r12), %r14
addq $8, %r14
movl $8, %esi
subl 60(%rbx), %esi
callq _imin
movl %eax, %r13d
movq -64(%rbp), %r15 ## 8-byte Reload
movq (%r15), %rsi
movslq 60(%rbx), %rdi
shlq $2, %rdi
addq 64(%rbx), %rdi
movq %r13, %rdx
callq _memmove
movl (%r14), %eax
movl %eax, %edx
subl %r13d, %edx
jle LBB0_84
## %bb.83: ## in Loop: Header=BB0_2 Depth=1
movslq %r13d, %rsi
shlq $2, %rsi
addq (%r15), %rsi
movq 64(%rbx), %rdi
callq _memmove
movl (%r14), %eax
LBB0_84: ## in Loop: Header=BB0_2 Depth=1
movl 60(%rbx), %ecx
addl %eax, %ecx
andl $7, %ecx
movl %ecx, 60(%rbx)
addl %eax, 56(%rbx)
movq -104(%rbp), %r14 ## 8-byte Reload
movq -120(%rbp), %r15 ## 8-byte Reload
LBB0_85: ## in Loop: Header=BB0_2 Depth=1
movl $0, 8(%r15,%r12)
movq (%rbx), %r12
incq %r12
movq %r12, (%rbx)
movq _PSM_PACKETQUEUE@GOTPCREL(%rip), %rax
cmpq (%rax), %r12
jb LBB0_1
## %bb.86: ## in Loop: Header=BB0_2 Depth=1
xorl %r12d, %r12d
jmp LBB0_1
LBB0_87:
movl 24(%rbx), %eax
movq _PSM_ASLP@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
testl %eax, %ecx
je LBB0_89
## %bb.88:
notl %ecx
andl %ecx, %eax
movl %eax, 24(%rbx)
movq %rbx, %rdi
callq _wakeup
LBB0_89:
leaq 48(%rbx), %rdi
movq _PZERO@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _selwakeuppri
cmpq $0, 40(%rbx)
je LBB0_91
## %bb.90:
leaq 40(%rbx), %rdi
movq _SIGIO@GOTPCREL(%rip), %rax
movl (%rax), %esi
xorl %edx, %edx
callq _pgsigio
LBB0_91:
movq _PSM_SOFTARMED@GOTPCREL(%rip), %r14
movl (%r14), %eax
notl %eax
andl %eax, 24(%rbx)
movq -104(%rbp), %r15 ## 8-byte Reload
movq %r15, %rdi
callq _timevalisset
testq %rax, %rax
je LBB0_93
## %bb.92:
movl (%r14), %eax
orl %eax, 24(%rbx)
leaq 32(%rbx), %r14
movq %r15, %rdi
callq _tvtohz
movq _psmsoftintridle@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
movq %r14, %rdi
movl %eax, %esi
movq %rbx, %rcx
callq _callout_reset
movq %r15, %rdi
callq _tvtohz
movl $2, %edi
movl %eax, %esi
callq _VLOG
LBB0_93:
movl -92(%rbp), %edi ## 4-byte Reload
callq _splx
addq $88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_37, LBB0_37-LJTI0_0
.set L0_0_set_64, LBB0_64-LJTI0_0
.set L0_0_set_38, LBB0_38-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_40, LBB0_40-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_47, LBB0_47-LJTI0_0
.set L0_0_set_48, LBB0_48-LJTI0_0
.set L0_0_set_51, LBB0_51-LJTI0_0
.set L0_0_set_56, LBB0_56-LJTI0_0
.set L0_0_set_28, LBB0_28-LJTI0_0
.set L0_0_set_33, LBB0_33-LJTI0_0
LJTI0_0:
.long L0_0_set_37
.long L0_0_set_64
.long L0_0_set_38
.long L0_0_set_23
.long L0_0_set_40
.long L0_0_set_16
.long L0_0_set_47
.long L0_0_set_16
.long L0_0_set_48
.long L0_0_set_64
.long L0_0_set_51
.long L0_0_set_56
.long L0_0_set_28
.long L0_0_set_33
.end_data_region
## -- End function
.section __TEXT,__const
.p2align 4 ## @psmsoftintr.butmap
_psmsoftintr.butmap:
.long 0 ## 0x0
.long 144 ## 0x90
.long 142 ## 0x8e
.long 158 ## 0x9e
.long 143 ## 0x8f
.long 159 ## 0x9f
.long 143 ## 0x8f
.long 159 ## 0x9f
.comm _PSM_LEVEL_NATIVE,8,3 ## @PSM_LEVEL_NATIVE
.comm _MOUSE_PS2_XOVERFLOW,4,2 ## @MOUSE_PS2_XOVERFLOW
.comm _MOUSE_PS2_XNEG,4,2 ## @MOUSE_PS2_XNEG
.comm _MOUSE_PS2_YNEG,4,2 ## @MOUSE_PS2_YNEG
.comm _MOUSE_PS2_BUTTONS,4,2 ## @MOUSE_PS2_BUTTONS
.comm _PSM_CONFIG_FORCETAP,4,2 ## @PSM_CONFIG_FORCETAP
.comm _MOUSE_PS2_TAP,4,2 ## @MOUSE_PS2_TAP
.comm _MOUSE_BUTTON4DOWN,4,2 ## @MOUSE_BUTTON4DOWN
.comm _MOUSE_EXPLORER_ZNEG,4,2 ## @MOUSE_EXPLORER_ZNEG
.comm _MOUSE_EXPLORER_BUTTON4DOWN,4,2 ## @MOUSE_EXPLORER_BUTTON4DOWN
.comm _MOUSE_EXPLORER_BUTTON5DOWN,4,2 ## @MOUSE_EXPLORER_BUTTON5DOWN
.comm _MOUSE_BUTTON5DOWN,4,2 ## @MOUSE_BUTTON5DOWN
.comm _MOUSE_PS2INTELLI_BUTTON4DOWN,4,2 ## @MOUSE_PS2INTELLI_BUTTON4DOWN
.comm _MOUSE_PS2INTELLI_BUTTON5DOWN,4,2 ## @MOUSE_PS2INTELLI_BUTTON5DOWN
.comm _MOUSE_PS2_BUTTON3DOWN,4,2 ## @MOUSE_PS2_BUTTON3DOWN
.comm _MOUSE_PS2_BUTTON1DOWN,4,2 ## @MOUSE_PS2_BUTTON1DOWN
.comm _MOUSE_4D_WHEELBITS,4,2 ## @MOUSE_4D_WHEELBITS
.comm _MOUSE_4DPLUS_BUTTON4DOWN,4,2 ## @MOUSE_4DPLUS_BUTTON4DOWN
.comm _MOUSE_4DPLUS_ZNEG,4,2 ## @MOUSE_4DPLUS_ZNEG
.comm _MOUSE_EXTBUTTONS,4,2 ## @MOUSE_EXTBUTTONS
.comm _MOUSE_PS2_PACKETSIZE,4,2 ## @MOUSE_PS2_PACKETSIZE
.comm _LOG_DEBUG,4,2 ## @LOG_DEBUG
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "synaptics: packet rejected\n"
L_.str.1: ## @.str.1
.asciz "elantech: packet rejected\n"
.comm _MOUSE_POSCHANGED,4,2 ## @MOUSE_POSCHANGED
.comm _FALSE,4,2 ## @FALSE
.comm _PSM_PACKETQUEUE,8,3 ## @PSM_PACKETQUEUE
.comm _PSM_ASLP,4,2 ## @PSM_ASLP
.comm _PZERO,4,2 ## @PZERO
.comm _SIGIO,4,2 ## @SIGIO
.comm _PSM_SOFTARMED,4,2 ## @PSM_SOFTARMED
.comm _psmsoftintridle,4,2 ## @psmsoftintridle
.comm _EVDEV_RCPT_HW_MOUSE,4,2 ## @EVDEV_RCPT_HW_MOUSE
.comm _REL_HWHEEL,4,2 ## @REL_HWHEEL
.comm _REL_WHEEL,4,2 ## @REL_WHEEL
.comm _REL_X,4,2 ## @REL_X
.comm _REL_Y,4,2 ## @REL_Y
.comm _evdev_rcpt_mask,4,2 ## @evdev_rcpt_mask
.no_dead_strip _psmsoftintr
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function psmsoftintr
_psmsoftintr: ; @psmsoftintr
.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 x20, x0
add x0, x0, #144
bl _getmicrouptime
bl _spltty
str w0, [sp, #12] ; 4-byte Folded Spill
mov x8, x20
ldr x23, [x8], #96
str x8, [sp, #16] ; 8-byte Folded Spill
Lloh0:
adrp x27, _PSM_LEVEL_NATIVE@GOTPAGE
Lloh1:
ldr x27, [x27, _PSM_LEVEL_NATIVE@GOTPAGEOFF]
Lloh2:
adrp x28, _FALSE@GOTPAGE
Lloh3:
ldr x28, [x28, _FALSE@GOTPAGEOFF]
Lloh4:
adrp x22, _PSM_PACKETQUEUE@GOTPAGE
Lloh5:
ldr x22, [x22, _PSM_PACKETQUEUE@GOTPAGEOFF]
add x21, x20, #28
b LBB0_3
LBB0_1: ; in Loop: Header=BB0_3 Depth=1
ldp w10, w9, [x20, #56]
add w9, w8, w9
and w9, w9, #0x7
add w8, w10, w8
stp w8, w9, [x20, #56]
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x8, x26, x23, lsl #4
str wzr, [x8, #8]
ldp x8, x9, [x20]
add x10, x8, #1
str x10, [x20]
ldr x11, [x22]
cmp x10, x11
csinc x23, xzr, x8, hs
str x23, [x20]
cmp x23, x9
b.eq LBB0_56
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x26, [x20, #136]
add x24, x26, x23, lsl #4
ldr x8, [x20, #112]
ldr x9, [x27]
cmp x8, x9
b.ne LBB0_5
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
ldr w0, [x24, #8]
b LBB0_48
LBB0_5: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x24]
ldr w25, [x8]
ldr w9, [x20, #132]
cmp w9, #130
b.ne LBB0_7
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
Lloh6:
adrp x9, _MOUSE_PS2_XOVERFLOW@GOTPAGE
Lloh7:
ldr x9, [x9, _MOUSE_PS2_XOVERFLOW@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
tst w9, w25
cset w9, ne
ldr w10, [x8, #4]
orr w9, w10, w9, lsl #7
str w9, [x8, #4]
LBB0_7: ; in Loop: Header=BB0_3 Depth=1
Lloh9:
adrp x9, _MOUSE_PS2_XNEG@GOTPAGE
Lloh10:
ldr x9, [x9, _MOUSE_PS2_XNEG@GOTPAGEOFF]
Lloh11:
ldr w9, [x9]
ldp w10, w8, [x8, #4]
sub w11, w10, #256
tst w9, w25
csel w9, w10, w11, eq
str w9, [sp, #36]
Lloh12:
adrp x9, _MOUSE_PS2_YNEG@GOTPAGE
Lloh13:
ldr x9, [x9, _MOUSE_PS2_YNEG@GOTPAGEOFF]
Lloh14:
ldr w9, [x9]
sub w10, w8, #256
tst w9, w25
csel w8, w8, w10, eq
stp wzr, w8, [sp, #28]
Lloh15:
adrp x8, _MOUSE_PS2_BUTTONS@GOTPAGE
Lloh16:
ldr x8, [x8, _MOUSE_PS2_BUTTONS@GOTPAGEOFF]
Lloh17:
ldr w8, [x8]
and w8, w8, w25
Lloh18:
adrp x9, _psmsoftintr.butmap@PAGE
Lloh19:
add x9, x9, _psmsoftintr.butmap@PAGEOFF
ldr w8, [x9, w8, sxtw #2]
ldp w9, w10, [x20, #16]
stp w9, w8, [sp, #40]
Lloh20:
adrp x9, _PSM_CONFIG_FORCETAP@GOTPAGE
Lloh21:
ldr x9, [x9, _PSM_CONFIG_FORCETAP@GOTPAGEOFF]
Lloh22:
ldr w9, [x9]
tst w9, w10
b.eq LBB0_9
; %bb.8: ; in Loop: Header=BB0_3 Depth=1
Lloh23:
adrp x9, _MOUSE_PS2_TAP@GOTPAGE
Lloh24:
ldr x9, [x9, _MOUSE_PS2_TAP@GOTPAGEOFF]
Lloh25:
ldr w9, [x9]
Lloh26:
adrp x10, _MOUSE_BUTTON4DOWN@GOTPAGE
Lloh27:
ldr x10, [x10, _MOUSE_BUTTON4DOWN@GOTPAGEOFF]
Lloh28:
ldr w10, [x10]
tst w9, w25
csel w9, w10, wzr, eq
orr w8, w9, w8
str w8, [sp, #44]
LBB0_9: ; in Loop: Header=BB0_3 Depth=1
mov x0, x21
bl _timevalclear
str wzr, [x20, #104]
ldr w8, [x20, #132]
sub w8, w8, #128
cmp w8, #13
b.hi LBB0_37
; %bb.10: ; in Loop: Header=BB0_3 Depth=1
Lloh29:
adrp x11, lJTI0_0@PAGE
Lloh30:
add x11, x11, lJTI0_0@PAGEOFF
adr x9, LBB0_11
ldrb w10, [x11, x8]
add x9, x9, x10, lsl #2
br x9
LBB0_11: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x24]
ldr w8, [x8, #12]
sxtb w9, w8
mov w10, #-100663297
add w8, w10, w8, lsl #24
mov w10, #-201326593
cmp w8, w10
csel w8, wzr, w9, lo
str w8, [sp, #28]
Lloh31:
adrp x8, _MOUSE_PS2INTELLI_BUTTON4DOWN@GOTPAGE
Lloh32:
ldr x8, [x8, _MOUSE_PS2INTELLI_BUTTON4DOWN@GOTPAGEOFF]
Lloh33:
ldr w8, [x8]
Lloh34:
adrp x9, _MOUSE_BUTTON4DOWN@GOTPAGE
Lloh35:
ldr x9, [x9, _MOUSE_BUTTON4DOWN@GOTPAGEOFF]
Lloh36:
ldr w9, [x9]
tst w8, w25
csel w8, wzr, w9, eq
ldr w9, [sp, #44]
orr w8, w8, w9
Lloh37:
adrp x9, _MOUSE_PS2INTELLI_BUTTON5DOWN@GOTPAGE
Lloh38:
ldr x9, [x9, _MOUSE_PS2INTELLI_BUTTON5DOWN@GOTPAGEOFF]
Lloh39:
ldr w9, [x9]
Lloh40:
adrp x10, _MOUSE_BUTTON5DOWN@GOTPAGE
Lloh41:
ldr x10, [x10, _MOUSE_BUTTON5DOWN@GOTPAGEOFF]
Lloh42:
ldr w10, [x10]
tst w9, w25
csel w9, wzr, w10, eq
orr w8, w9, w8
b LBB0_36
LBB0_12: ; in Loop: Header=BB0_3 Depth=1
add x8, x26, x23, lsl #4
ldr w8, [x8, #8]
Lloh43:
adrp x9, _MOUSE_PS2_PACKETSIZE@GOTPAGE
Lloh44:
ldr x9, [x9, _MOUSE_PS2_PACKETSIZE@GOTPAGEOFF]
Lloh45:
ldr w9, [x9]
cmp w8, w9
b.ne LBB0_14
; %bb.13: ; in Loop: Header=BB0_3 Depth=1
mov x0, x20
mov x1, x24
bl _proc_synaptics_mux
cbnz w0, LBB0_2
LBB0_14: ; in Loop: Header=BB0_3 Depth=1
add x2, sp, #40
add x3, sp, #36
add x4, sp, #32
add x5, sp, #28
mov x0, x20
mov x1, x24
bl _proc_synaptics
cbz w0, LBB0_37
; %bb.15: ; in Loop: Header=BB0_3 Depth=1
mov w0, #3
Lloh46:
adrp x1, l_.str@PAGE
Lloh47:
add x1, x1, l_.str@PAGEOFF
b LBB0_34
LBB0_16: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [sp, #36]
cmn w8, #241
b.gt LBB0_35
; %bb.17: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [sp, #32]
cmn w8, #241
b.gt LBB0_35
; %bb.18: ; in Loop: Header=BB0_3 Depth=1
str xzr, [sp, #32]
ldr x8, [x24]
ldr w8, [x8, #8]
Lloh48:
adrp x9, _MOUSE_4DPLUS_BUTTON4DOWN@GOTPAGE
Lloh49:
ldr x9, [x9, _MOUSE_4DPLUS_BUTTON4DOWN@GOTPAGEOFF]
Lloh50:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_20
; %bb.19: ; in Loop: Header=BB0_3 Depth=1
Lloh51:
adrp x9, _MOUSE_BUTTON4DOWN@GOTPAGE
Lloh52:
ldr x9, [x9, _MOUSE_BUTTON4DOWN@GOTPAGEOFF]
Lloh53:
ldr w9, [x9]
ldr w10, [sp, #44]
orr w9, w10, w9
str w9, [sp, #44]
LBB0_20: ; in Loop: Header=BB0_3 Depth=1
Lloh54:
adrp x9, _MOUSE_4DPLUS_ZNEG@GOTPAGE
Lloh55:
ldr x9, [x9, _MOUSE_4DPLUS_ZNEG@GOTPAGEOFF]
Lloh56:
ldr w9, [x9]
tst w9, w8
mov w9, #-8
csel w9, wzr, w9, eq
bfxil w9, w8, #0, #3
str w9, [sp, #28]
b LBB0_37
LBB0_21: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x24]
ldp w9, w8, [x8, #4]
sub w10, w9, #256
tst w9, #0x80
csel w11, w9, w10, eq
sub w9, w8, #256
tst w8, #0x80
csel w8, w8, w9, eq
stp w8, w11, [sp, #32]
Lloh57:
adrp x8, _MOUSE_4D_WHEELBITS@GOTPAGE
Lloh58:
ldr x8, [x8, _MOUSE_4D_WHEELBITS@GOTPAGEOFF]
Lloh59:
ldr w8, [x8]
and w8, w8, w25
cmp w8, #63
b.gt LBB0_51
; %bb.22: ; in Loop: Header=BB0_3 Depth=1
cmp w8, #16
b.eq LBB0_54
; %bb.23: ; in Loop: Header=BB0_3 Depth=1
cmp w8, #48
b.ne LBB0_37
; %bb.24: ; in Loop: Header=BB0_3 Depth=1
mov w8, #-1
str w8, [sp, #28]
b LBB0_37
LBB0_25: ; in Loop: Header=BB0_3 Depth=1
add x2, sp, #40
add x3, sp, #36
add x4, sp, #32
add x5, sp, #28
mov x0, x20
mov x1, x24
bl _proc_versapad
ldr w8, [sp, #36]
Lloh60:
adrp x9, _MOUSE_PS2_XNEG@GOTPAGE
Lloh61:
ldr x9, [x9, _MOUSE_PS2_XNEG@GOTPAGEOFF]
Lloh62:
ldr w9, [x9]
and w8, w9, w8, asr #31
ldr w9, [sp, #32]
Lloh63:
adrp x10, _MOUSE_PS2_YNEG@GOTPAGE
Lloh64:
ldr x10, [x10, _MOUSE_PS2_YNEG@GOTPAGEOFF]
Lloh65:
ldr w10, [x10]
and w9, w10, w9, asr #31
orr w25, w9, w8
b LBB0_37
LBB0_26: ; in Loop: Header=BB0_3 Depth=1
Lloh66:
adrp x8, _MOUSE_PS2_TAP@GOTPAGE
Lloh67:
ldr x8, [x8, _MOUSE_PS2_TAP@GOTPAGEOFF]
Lloh68:
ldr w8, [x8]
Lloh69:
adrp x9, _MOUSE_BUTTON4DOWN@GOTPAGE
Lloh70:
ldr x9, [x9, _MOUSE_BUTTON4DOWN@GOTPAGEOFF]
Lloh71:
ldr w9, [x9]
tst w8, w25
csel w8, wzr, w9, eq
b LBB0_30
LBB0_27: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x24]
Lloh72:
adrp x9, _MOUSE_PS2_BUTTON3DOWN@GOTPAGE
Lloh73:
ldr x9, [x9, _MOUSE_PS2_BUTTON3DOWN@GOTPAGEOFF]
Lloh74:
ldr w9, [x9]
Lloh75:
adrp x10, _MOUSE_BUTTON4DOWN@GOTPAGE
Lloh76:
ldr x10, [x10, _MOUSE_BUTTON4DOWN@GOTPAGEOFF]
Lloh77:
ldr w10, [x10]
ldp w11, w8, [x8, #12]
tst w9, w11
csel w9, wzr, w10, eq
ldr w10, [sp, #44]
orr w9, w9, w10
Lloh78:
adrp x10, _MOUSE_PS2_BUTTON1DOWN@GOTPAGE
Lloh79:
ldr x10, [x10, _MOUSE_PS2_BUTTON1DOWN@GOTPAGEOFF]
Lloh80:
ldr w10, [x10]
Lloh81:
adrp x12, _MOUSE_BUTTON5DOWN@GOTPAGE
Lloh82:
ldr x12, [x12, _MOUSE_BUTTON5DOWN@GOTPAGEOFF]
Lloh83:
ldr w12, [x12]
tst w10, w11
csel w10, wzr, w12, eq
orr w9, w10, w9
str w9, [sp, #44]
Lloh84:
adrp x9, _MOUSE_PS2_XNEG@GOTPAGE
Lloh85:
ldr x9, [x9, _MOUSE_PS2_XNEG@GOTPAGEOFF]
Lloh86:
ldr w9, [x9]
sub w10, w8, #256
tst w9, w11
csel w8, w8, w10, eq
str w8, [sp, #28]
b LBB0_37
LBB0_28: ; in Loop: Header=BB0_3 Depth=1
add x2, sp, #40
add x3, sp, #36
add x4, sp, #32
add x5, sp, #28
mov x0, x20
mov x1, x24
bl _proc_mmanplus
b LBB0_37
LBB0_29: ; in Loop: Header=BB0_3 Depth=1
Lloh87:
adrp x8, _MOUSE_PS2_TAP@GOTPAGE
Lloh88:
ldr x8, [x8, _MOUSE_PS2_TAP@GOTPAGEOFF]
Lloh89:
ldr w8, [x8]
Lloh90:
adrp x9, _MOUSE_BUTTON4DOWN@GOTPAGE
Lloh91:
ldr x9, [x9, _MOUSE_BUTTON4DOWN@GOTPAGEOFF]
Lloh92:
ldr w9, [x9]
tst w8, w25
csel w8, w9, wzr, eq
LBB0_30: ; in Loop: Header=BB0_3 Depth=1
ldr w9, [sp, #44]
orr w8, w8, w9
b LBB0_36
LBB0_31: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x24]
ldr w8, [x8, #12]
Lloh93:
adrp x9, _MOUSE_EXPLORER_ZNEG@GOTPAGE
Lloh94:
ldr x9, [x9, _MOUSE_EXPLORER_ZNEG@GOTPAGEOFF]
Lloh95:
ldr w9, [x9]
tst w9, w8
mov w9, #-16
csel w9, wzr, w9, eq
bfxil w9, w8, #0, #4
str w9, [sp, #28]
Lloh96:
adrp x9, _MOUSE_EXPLORER_BUTTON4DOWN@GOTPAGE
Lloh97:
ldr x9, [x9, _MOUSE_EXPLORER_BUTTON4DOWN@GOTPAGEOFF]
Lloh98:
ldr w9, [x9]
Lloh99:
adrp x10, _MOUSE_BUTTON4DOWN@GOTPAGE
Lloh100:
ldr x10, [x10, _MOUSE_BUTTON4DOWN@GOTPAGEOFF]
Lloh101:
ldr w10, [x10]
tst w9, w8
csel w9, wzr, w10, eq
ldr w10, [sp, #44]
orr w9, w9, w10
Lloh102:
adrp x10, _MOUSE_EXPLORER_BUTTON5DOWN@GOTPAGE
Lloh103:
ldr x10, [x10, _MOUSE_EXPLORER_BUTTON5DOWN@GOTPAGEOFF]
Lloh104:
ldr w10, [x10]
Lloh105:
adrp x11, _MOUSE_BUTTON5DOWN@GOTPAGE
Lloh106:
ldr x11, [x11, _MOUSE_BUTTON5DOWN@GOTPAGEOFF]
Lloh107:
ldr w11, [x11]
tst w10, w8
csel w8, wzr, w11, eq
orr w8, w8, w9
b LBB0_36
LBB0_32: ; in Loop: Header=BB0_3 Depth=1
add x2, sp, #40
add x3, sp, #36
add x4, sp, #32
add x5, sp, #28
mov x0, x20
mov x1, x24
bl _proc_elantech
cbz w0, LBB0_37
; %bb.33: ; in Loop: Header=BB0_3 Depth=1
mov w0, #3
Lloh108:
adrp x1, l_.str.1@PAGE
Lloh109:
add x1, x1, l_.str.1@PAGEOFF
LBB0_34: ; in Loop: Header=BB0_3 Depth=1
; kill: def $w1 killed $w1 killed $x1
bl _VLOG
b LBB0_2
LBB0_35: ; in Loop: Header=BB0_3 Depth=1
Lloh110:
adrp x8, _MOUSE_EXTBUTTONS@GOTPAGE
Lloh111:
ldr x8, [x8, _MOUSE_EXTBUTTONS@GOTPAGEOFF]
Lloh112:
ldr w8, [x8]
ldp w9, w10, [sp, #40]
and w8, w8, w9
orr w8, w10, w8
LBB0_36: ; in Loop: Header=BB0_3 Depth=1
str w8, [sp, #44]
LBB0_37: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [x20, #120]
cmp w8, #1
b.lt LBB0_44
; %bb.38: ; in Loop: Header=BB0_3 Depth=1
ldr w9, [sp, #36]
cbz w9, LBB0_41
; %bb.39: ; in Loop: Header=BB0_3 Depth=1
mul w9, w9, w9
sdiv w9, w9, w8
cmp w9, #0
csinc w9, w9, wzr, ne
str w9, [sp, #36]
Lloh113:
adrp x10, _MOUSE_PS2_XNEG@GOTPAGE
Lloh114:
ldr x10, [x10, _MOUSE_PS2_XNEG@GOTPAGEOFF]
Lloh115:
ldr w10, [x10]
tst w10, w25
b.eq LBB0_41
; %bb.40: ; in Loop: Header=BB0_3 Depth=1
neg w9, w9
str w9, [sp, #36]
LBB0_41: ; in Loop: Header=BB0_3 Depth=1
ldr w9, [sp, #32]
cbz w9, LBB0_44
; %bb.42: ; in Loop: Header=BB0_3 Depth=1
mul w9, w9, w9
sdiv w8, w9, w8
cmp w8, #0
csinc w8, w8, wzr, ne
str w8, [sp, #32]
Lloh116:
adrp x9, _MOUSE_PS2_YNEG@GOTPAGE
Lloh117:
ldr x9, [x9, _MOUSE_PS2_YNEG@GOTPAGEOFF]
Lloh118:
ldr w9, [x9]
tst w9, w25
b.eq LBB0_44
; %bb.43: ; in Loop: Header=BB0_3 Depth=1
neg w8, w8
str w8, [sp, #32]
LBB0_44: ; in Loop: Header=BB0_3 Depth=1
mov x0, x21
bl _timevalisset
cbz x0, LBB0_47
; %bb.45: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [x20, #104]
cbnz w8, LBB0_47
; %bb.46: ; in Loop: Header=BB0_3 Depth=1
ldr q0, [x24]
ldr x8, [sp, #16] ; 8-byte Folded Reload
str q0, [x8]
LBB0_47: ; in Loop: Header=BB0_3 Depth=1
ldp w9, w8, [sp, #32]
stp w8, w9, [sp, #48]
ldr w10, [sp, #28]
orr w8, w8, w9
orr w8, w8, w10
ldp w9, w11, [sp, #40]
eor w9, w11, w9
Lloh119:
adrp x11, _MOUSE_POSCHANGED@GOTPAGE
Lloh120:
ldr x11, [x11, _MOUSE_POSCHANGED@GOTPAGEOFF]
Lloh121:
ldr w11, [x11]
cmp w8, #0
csel w8, w11, wzr, ne
orr w8, w9, w8
stp w10, w8, [sp, #56]
ldr x3, [x24]
add x2, sp, #40
mov x0, x20
mov x1, x24
bl _tame_mouse
add x8, x26, x23, lsl #4
str w0, [x8, #8]
ldur q0, [sp, #48]
ext.16b v0, v0, v0, #12
ldur q1, [x20, #76]
orr.16b v2, v1, v0
add.4s v0, v1, v0
mov.s v0[0], v2[0]
stur q0, [x20, #76]
ldr w8, [sp, #44]
str w8, [x20, #92]
str w8, [x20, #16]
LBB0_48: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [x28]
str w8, [x20, #72]
ldr w8, [x20, #56]
add w8, w0, w8
cmp w8, #7
b.hi LBB0_2
; %bb.49: ; in Loop: Header=BB0_3 Depth=1
add x8, x26, x23, lsl #4
add x19, x8, #8
ldr w8, [x20, #60]
mov w9, #8
sub w1, w9, w8
bl _imin
mov x25, x0
ldr x1, [x24]
ldr x8, [x20, #64]
ldrsw x9, [x20, #60]
add x0, x8, x9, lsl #2
mov x2, x25
bl _memmove
ldr w8, [x19]
subs w2, w8, w25
b.le LBB0_1
; %bb.50: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x24]
add x1, x8, w25, sxtw #2
ldr x0, [x20, #64]
bl _memmove
ldr w8, [x19]
b LBB0_1
LBB0_51: ; in Loop: Header=BB0_3 Depth=1
cmp w8, #64
b.eq LBB0_55
; %bb.52: ; in Loop: Header=BB0_3 Depth=1
cmp w8, #192
b.ne LBB0_37
; %bb.53: ; in Loop: Header=BB0_3 Depth=1
mov w8, #-2
str w8, [sp, #28]
b LBB0_37
LBB0_54: ; in Loop: Header=BB0_3 Depth=1
mov w8, #1
str w8, [sp, #28]
b LBB0_37
LBB0_55: ; in Loop: Header=BB0_3 Depth=1
mov w8, #2
str w8, [sp, #28]
b LBB0_37
LBB0_56:
ldr w8, [x20, #24]
Lloh122:
adrp x9, _PSM_ASLP@GOTPAGE
Lloh123:
ldr x9, [x9, _PSM_ASLP@GOTPAGEOFF]
Lloh124:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_58
; %bb.57:
bic w8, w8, w9
str w8, [x20, #24]
mov x0, x20
bl _wakeup
LBB0_58:
add x0, x20, #48
Lloh125:
adrp x8, _PZERO@GOTPAGE
Lloh126:
ldr x8, [x8, _PZERO@GOTPAGEOFF]
Lloh127:
ldr w1, [x8]
bl _selwakeuppri
mov x0, x20
ldr x8, [x0, #40]!
cbz x8, LBB0_60
; %bb.59:
Lloh128:
adrp x8, _SIGIO@GOTPAGE
Lloh129:
ldr x8, [x8, _SIGIO@GOTPAGEOFF]
Lloh130:
ldr w1, [x8]
mov w2, #0
bl _pgsigio
LBB0_60:
Lloh131:
adrp x19, _PSM_SOFTARMED@GOTPAGE
Lloh132:
ldr x19, [x19, _PSM_SOFTARMED@GOTPAGEOFF]
ldr w8, [x19]
ldr w9, [x20, #24]
bic w8, w9, w8
str w8, [x20, #24]
mov x0, x21
bl _timevalisset
cbz x0, LBB0_62
; %bb.61:
ldr w8, [x19]
ldr w9, [x20, #24]
orr w8, w9, w8
str w8, [x20, #24]
add x22, x20, #32
mov x0, x21
bl _tvtohz
mov x1, x0
Lloh133:
adrp x8, _psmsoftintridle@GOTPAGE
Lloh134:
ldr x8, [x8, _psmsoftintridle@GOTPAGEOFF]
Lloh135:
ldr w2, [x8]
mov x0, x22
mov x3, x20
bl _callout_reset
mov x0, x21
bl _tvtohz
mov x1, x0
mov w0, #2
bl _VLOG
LBB0_62:
ldr w0, [sp, #12] ; 4-byte Folded Reload
bl _splx
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
ldp x20, x19, [sp, #128] ; 16-byte Folded Reload
ldp x22, x21, [sp, #112] ; 16-byte Folded Reload
ldp x24, x23, [sp, #96] ; 16-byte Folded Reload
ldp x26, x25, [sp, #80] ; 16-byte Folded Reload
ldp x28, x27, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #160
ret
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpAdd Lloh29, Lloh30
.loh AdrpLdrGotLdr Lloh40, Lloh41, Lloh42
.loh AdrpLdrGotLdr Lloh37, Lloh38, Lloh39
.loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.loh AdrpLdrGotLdr Lloh43, Lloh44, Lloh45
.loh AdrpAdd Lloh46, Lloh47
.loh AdrpLdrGotLdr Lloh48, Lloh49, Lloh50
.loh AdrpLdrGotLdr Lloh51, Lloh52, Lloh53
.loh AdrpLdrGotLdr Lloh54, Lloh55, Lloh56
.loh AdrpLdrGotLdr Lloh57, Lloh58, Lloh59
.loh AdrpLdrGotLdr Lloh63, Lloh64, Lloh65
.loh AdrpLdrGotLdr Lloh60, Lloh61, Lloh62
.loh AdrpLdrGotLdr Lloh69, Lloh70, Lloh71
.loh AdrpLdrGotLdr Lloh66, Lloh67, Lloh68
.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 Lloh90, Lloh91, Lloh92
.loh AdrpLdrGotLdr Lloh87, Lloh88, Lloh89
.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 AdrpAdd Lloh108, Lloh109
.loh AdrpLdrGotLdr Lloh110, Lloh111, Lloh112
.loh AdrpLdrGotLdr Lloh113, Lloh114, Lloh115
.loh AdrpLdrGotLdr Lloh116, Lloh117, Lloh118
.loh AdrpLdrGotLdr Lloh119, Lloh120, Lloh121
.loh AdrpLdrGotLdr Lloh122, Lloh123, Lloh124
.loh AdrpLdrGotLdr Lloh125, Lloh126, Lloh127
.loh AdrpLdrGotLdr Lloh128, Lloh129, Lloh130
.loh AdrpLdrGot Lloh131, Lloh132
.loh AdrpLdrGotLdr Lloh133, Lloh134, Lloh135
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_25-LBB0_11)>>2
.byte (LBB0_37-LBB0_11)>>2
.byte (LBB0_26-LBB0_11)>>2
.byte (LBB0_12-LBB0_11)>>2
.byte (LBB0_27-LBB0_11)>>2
.byte (LBB0_11-LBB0_11)>>2
.byte (LBB0_28-LBB0_11)>>2
.byte (LBB0_11-LBB0_11)>>2
.byte (LBB0_29-LBB0_11)>>2
.byte (LBB0_37-LBB0_11)>>2
.byte (LBB0_31-LBB0_11)>>2
.byte (LBB0_32-LBB0_11)>>2
.byte (LBB0_16-LBB0_11)>>2
.byte (LBB0_21-LBB0_11)>>2
; -- End function
.p2align 2 ; @psmsoftintr.butmap
_psmsoftintr.butmap:
.long 0 ; 0x0
.long 144 ; 0x90
.long 142 ; 0x8e
.long 158 ; 0x9e
.long 143 ; 0x8f
.long 159 ; 0x9f
.long 143 ; 0x8f
.long 159 ; 0x9f
.comm _PSM_LEVEL_NATIVE,8,3 ; @PSM_LEVEL_NATIVE
.comm _MOUSE_PS2_XOVERFLOW,4,2 ; @MOUSE_PS2_XOVERFLOW
.comm _MOUSE_PS2_XNEG,4,2 ; @MOUSE_PS2_XNEG
.comm _MOUSE_PS2_YNEG,4,2 ; @MOUSE_PS2_YNEG
.comm _MOUSE_PS2_BUTTONS,4,2 ; @MOUSE_PS2_BUTTONS
.comm _PSM_CONFIG_FORCETAP,4,2 ; @PSM_CONFIG_FORCETAP
.comm _MOUSE_PS2_TAP,4,2 ; @MOUSE_PS2_TAP
.comm _MOUSE_BUTTON4DOWN,4,2 ; @MOUSE_BUTTON4DOWN
.comm _MOUSE_EXPLORER_ZNEG,4,2 ; @MOUSE_EXPLORER_ZNEG
.comm _MOUSE_EXPLORER_BUTTON4DOWN,4,2 ; @MOUSE_EXPLORER_BUTTON4DOWN
.comm _MOUSE_EXPLORER_BUTTON5DOWN,4,2 ; @MOUSE_EXPLORER_BUTTON5DOWN
.comm _MOUSE_BUTTON5DOWN,4,2 ; @MOUSE_BUTTON5DOWN
.comm _MOUSE_PS2INTELLI_BUTTON4DOWN,4,2 ; @MOUSE_PS2INTELLI_BUTTON4DOWN
.comm _MOUSE_PS2INTELLI_BUTTON5DOWN,4,2 ; @MOUSE_PS2INTELLI_BUTTON5DOWN
.comm _MOUSE_PS2_BUTTON3DOWN,4,2 ; @MOUSE_PS2_BUTTON3DOWN
.comm _MOUSE_PS2_BUTTON1DOWN,4,2 ; @MOUSE_PS2_BUTTON1DOWN
.comm _MOUSE_4D_WHEELBITS,4,2 ; @MOUSE_4D_WHEELBITS
.comm _MOUSE_4DPLUS_BUTTON4DOWN,4,2 ; @MOUSE_4DPLUS_BUTTON4DOWN
.comm _MOUSE_4DPLUS_ZNEG,4,2 ; @MOUSE_4DPLUS_ZNEG
.comm _MOUSE_EXTBUTTONS,4,2 ; @MOUSE_EXTBUTTONS
.comm _MOUSE_PS2_PACKETSIZE,4,2 ; @MOUSE_PS2_PACKETSIZE
.comm _LOG_DEBUG,4,2 ; @LOG_DEBUG
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "synaptics: packet rejected\n"
l_.str.1: ; @.str.1
.asciz "elantech: packet rejected\n"
.comm _MOUSE_POSCHANGED,4,2 ; @MOUSE_POSCHANGED
.comm _FALSE,4,2 ; @FALSE
.comm _PSM_PACKETQUEUE,8,3 ; @PSM_PACKETQUEUE
.comm _PSM_ASLP,4,2 ; @PSM_ASLP
.comm _PZERO,4,2 ; @PZERO
.comm _SIGIO,4,2 ; @SIGIO
.comm _PSM_SOFTARMED,4,2 ; @PSM_SOFTARMED
.comm _psmsoftintridle,4,2 ; @psmsoftintridle
.comm _EVDEV_RCPT_HW_MOUSE,4,2 ; @EVDEV_RCPT_HW_MOUSE
.comm _REL_HWHEEL,4,2 ; @REL_HWHEEL
.comm _REL_WHEEL,4,2 ; @REL_WHEEL
.comm _REL_X,4,2 ; @REL_X
.comm _REL_Y,4,2 ; @REL_Y
.comm _evdev_rcpt_mask,4,2 ; @evdev_rcpt_mask
.no_dead_strip _psmsoftintr
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/atkbdc/extr_psm.c_psmsoftintr.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function sp_setup_tbl
_sp_setup_tbl: ## @sp_setup_tbl
.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 $424, %rsp ## imm = 0x1A8
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq 16(%rdi), %rax
movq (%rdi), %rcx
movq %rdi, -328(%rbp) ## 8-byte Spill
movq 8(%rdi), %rdx
movq (%rax), %rax
movq %rax, -352(%rbp) ## 8-byte Spill
movq (%rcx), %rax
movq %rax, -312(%rbp) ## 8-byte Spill
movq 8(%rcx), %rax
movq %rax, -368(%rbp) ## 8-byte Spill
movq 16(%rcx), %rax
movq %rax, -392(%rbp) ## 8-byte Spill
movq (%rdx), %rax
movq %rax, -408(%rbp) ## 8-byte Spill
movq 8(%rdx), %rax
movq %rax, -416(%rbp) ## 8-byte Spill
movq _SP_ROOT_CNT@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl $8, %esi
callq _hccalloc
movq %rax, %r15
movq _SP_PW_MAX@GOTPCREL(%rip), %r14
movl (%r14), %ebx
leaq (,%rbx,8), %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r13
testl %ebx, %ebx
jle LBB0_8
## %bb.1:
movq _CHARSIZ@GOTPCREL(%rip), %rax
movslq (%rax), %r9
leaq -1(%rbx), %rax
movl %ebx, %ecx
andl $7, %ecx
cmpq $7, %rax
jae LBB0_3
## %bb.2:
xorl %esi, %esi
movq %r15, %rax
testq %rcx, %rcx
jne LBB0_6
jmp LBB0_8
LBB0_3:
andl $-8, %ebx
movq %r9, %r8
shlq $6, %r8
leaq (,%r9,8), %rdi
xorl %esi, %esi
movq %r15, %rdx
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq %rdx, %rax
movq %rdx, (%r13,%rsi,8)
addq %rdi, %rdx
movq %rdx, 8(%r13,%rsi,8)
addq %rdi, %rdx
movq %rdx, 16(%r13,%rsi,8)
addq %rdi, %rdx
movq %rdx, 24(%r13,%rsi,8)
addq %rdi, %rdx
movq %rdx, 32(%r13,%rsi,8)
addq %rdi, %rdx
movq %rdx, 40(%r13,%rsi,8)
addq %rdi, %rdx
movq %rdx, 48(%r13,%rsi,8)
addq %rdi, %rdx
movq %rdx, 56(%r13,%rsi,8)
addq $8, %rsi
addq %rdi, %rdx
cmpq %rsi, %rbx
jne LBB0_4
## %bb.5:
addq %r8, %rax
testq %rcx, %rcx
je LBB0_8
LBB0_6:
leaq (,%rsi,8), %rdx
addq %r13, %rdx
shlq $3, %r9
xorl %esi, %esi
.p2align 4, 0x90
LBB0_7: ## =>This Inner Loop Header: Depth=1
movq %rax, (%rdx,%rsi,8)
incq %rsi
addq %r9, %rax
cmpq %rsi, %rcx
jne LBB0_7
LBB0_8:
movq %r15, -376(%rbp) ## 8-byte Spill
movq _SP_MARKOV_CNT@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl $8, %esi
callq _hccalloc
movq %rax, -384(%rbp) ## 8-byte Spill
movl (%r14), %r15d
movq _CHARSIZ@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movq %rbx, %rax
imulq %r15, %rax
shlq $3, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, -400(%rbp) ## 8-byte Spill
testl %r15d, %r15d
movq %rbx, -344(%rbp) ## 8-byte Spill
jle LBB0_20
## %bb.9:
movslq %ebx, %rax
leaq -1(%rbx), %r8
movl %ebx, %edx
andl $7, %edx
movl %ebx, %esi
andl $-8, %esi
movq -400(%rbp), %r11 ## 8-byte Reload
leaq 56(%r11), %rdi
leaq (,%rbx,8), %r10
movq %rax, %rcx
shlq $6, %rcx
movq %rcx, -336(%rbp) ## 8-byte Spill
shlq $3, %rax
xorl %r9d, %r9d
movq -384(%rbp), %rcx ## 8-byte Reload
jmp LBB0_12
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_12 Depth=1
movq %rcx, %r14
LBB0_11: ## in Loop: Header=BB0_12 Depth=1
incq %r9
addq %r10, %rdi
addq %r10, %r11
movq %r14, %rcx
cmpq %r15, %r9
movq -344(%rbp), %rbx ## 8-byte Reload
je LBB0_20
LBB0_12: ## =>This Loop Header: Depth=1
## Child Loop BB0_16 Depth 2
## Child Loop BB0_19 Depth 2
testl %ebx, %ebx
jle LBB0_10
## %bb.13: ## in Loop: Header=BB0_12 Depth=1
cmpq $7, %r8
jae LBB0_15
## %bb.14: ## in Loop: Header=BB0_12 Depth=1
## implicit-def: $r14
xorl %r12d, %r12d
testq %rdx, %rdx
jne LBB0_18
jmp LBB0_11
.p2align 4, 0x90
LBB0_15: ## in Loop: Header=BB0_12 Depth=1
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_16: ## Parent Loop BB0_12 Depth=1
## => This Inner Loop Header: Depth=2
movq %rcx, %r14
movq %rcx, -56(%rdi,%r12,8)
addq %rax, %rcx
movq %rcx, -48(%rdi,%r12,8)
addq %rax, %rcx
movq %rcx, -40(%rdi,%r12,8)
addq %rax, %rcx
movq %rcx, -32(%rdi,%r12,8)
addq %rax, %rcx
movq %rcx, -24(%rdi,%r12,8)
addq %rax, %rcx
movq %rcx, -16(%rdi,%r12,8)
addq %rax, %rcx
movq %rcx, -8(%rdi,%r12,8)
addq %rax, %rcx
movq %rcx, (%rdi,%r12,8)
addq $8, %r12
addq %rax, %rcx
cmpq %r12, %rsi
jne LBB0_16
## %bb.17: ## in Loop: Header=BB0_12 Depth=1
addq -336(%rbp), %r14 ## 8-byte Folded Reload
movq %r14, %rcx
testq %rdx, %rdx
je LBB0_11
LBB0_18: ## in Loop: Header=BB0_12 Depth=1
leaq (%r11,%r12,8), %rbx
movq %rcx, %r14
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_19: ## Parent Loop BB0_12 Depth=1
## => This Inner Loop Header: Depth=2
movq %r14, (%rbx,%rcx,8)
incq %rcx
addq %rax, %r14
cmpq %rcx, %rdx
jne LBB0_19
jmp LBB0_11
LBB0_20:
movq -312(%rbp), %rbx ## 8-byte Reload
testq %rbx, %rbx
jne LBB0_22
## %bb.21:
leaq -304(%rbp), %rbx
movq _SP_HCSTAT@GOTPCREL(%rip), %rax
movq (%rax), %r8
leaq L_.str(%rip), %rdx
movq %rbx, %rdi
movl $256, %esi ## imm = 0x100
movq -352(%rbp), %rcx ## 8-byte Reload
callq _snprintf
LBB0_22:
leaq -456(%rbp), %rsi
movq %rbx, %rdi
callq _stat
cmpl $-1, %eax
je LBB0_36
## %bb.23:
leaq L_.str.2(%rip), %rdx
leaq -356(%rbp), %rdi
movq %rbx, %rsi
callq _hc_fopen
testl %eax, %eax
je LBB0_36
## %bb.24:
movq -456(%rbp), %r14
movq %r14, %rdi
callq _hcmalloc
movq %rax, %r15
leaq -356(%rbp), %rcx
movq %rax, %rdi
movl $1, %esi
movq %r14, %rdx
callq _hc_fread
movq %rax, -448(%rbp)
cmpq %r14, %rax
jne LBB0_37
## %bb.25:
movq %rbx, -312(%rbp) ## 8-byte Spill
leaq -356(%rbp), %rdi
callq _hc_fclose
movq _SP_FILESZ@GOTPCREL(%rip), %r14
movq (%r14), %rdi
callq _hcmalloc
movq %rax, %rbx
movq (%r14), %rax
movq %rax, -424(%rbp)
movb $28, -313(%rbp)
leaq -448(%rbp), %rsi
leaq -424(%rbp), %rcx
leaq -313(%rbp), %r8
movq %r15, %rdi
movq %rbx, %rdx
callq _hc_lzma2_decompress
movq _SZ_OK@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_38
## %bb.26:
movq -424(%rbp), %rax
cmpq (%r14), %rax
jne LBB0_38
## %bb.27:
leaq 16(%rbx), %rsi
movq (%rbx), %rax
movq %rax, -352(%rbp) ## 8-byte Spill
movq 8(%rbx), %rax
movq %rax, -336(%rbp) ## 8-byte Spill
movq _SP_ROOT_CNT@GOTPCREL(%rip), %r14
movl (%r14), %edx
shll $3, %edx
movq -376(%rbp), %r12 ## 8-byte Reload
movq %r12, %rdi
callq _memcpy
movslq (%r14), %rax
leaq (%rbx,%rax,8), %rsi
addq $16, %rsi
movq _SP_MARKOV_CNT@GOTPCREL(%rip), %rax
movl (%rax), %edx
shll $3, %edx
movq -384(%rbp), %rdi ## 8-byte Reload
callq _memcpy
movq %r15, %rdi
callq _hcfree
movq %rbx, %rdi
callq _hcfree
movq -352(%rbp), %rdi ## 8-byte Reload
callq _byte_swap_64
movq %rax, %r15
movq -336(%rbp), %rdi ## 8-byte Reload
callq _byte_swap_64
movq %rax, -336(%rbp) ## 8-byte Spill
cmpl $0, (%r14)
jle LBB0_30
## %bb.28:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_29: ## =>This Inner Loop Header: Depth=1
movq (%r12,%rbx,8), %rdi
callq _byte_swap_64
movq %rax, (%r12,%rbx,8)
incq %rbx
movslq (%r14), %rax
cmpq %rax, %rbx
jl LBB0_29
LBB0_30:
movq _SP_MARKOV_CNT@GOTPCREL(%rip), %r14
cmpl $0, (%r14)
movq -384(%rbp), %r12 ## 8-byte Reload
jle LBB0_33
## %bb.31:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_32: ## =>This Inner Loop Header: Depth=1
movq (%r12,%rbx,8), %rdi
callq _byte_swap_64
movq %rax, (%r12,%rbx,8)
incq %rbx
movslq (%r14), %rax
cmpq %rax, %rbx
jl LBB0_32
LBB0_33:
movq _SP_VERSION@GOTPCREL(%rip), %rax
cmpq (%rax), %r15
jne LBB0_35
## %bb.34:
cmpq $0, -336(%rbp) ## 8-byte Folded Reload
je LBB0_43
LBB0_35:
leaq L_.str.5(%rip), %rsi
movq -328(%rbp), %rdi ## 8-byte Reload
movq -312(%rbp), %rdx ## 8-byte Reload
xorl %eax, %eax
callq _event_log_error
jmp LBB0_40
LBB0_36:
movq _errno@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _strerror
leaq L_.str.1(%rip), %rsi
movq -328(%rbp), %rdi ## 8-byte Reload
movq %rbx, %rdx
movl %eax, %ecx
xorl %eax, %eax
callq _event_log_error
jmp LBB0_40
LBB0_37:
leaq L_.str.3(%rip), %rsi
movq -328(%rbp), %rdi ## 8-byte Reload
movq %rbx, %rdx
xorl %eax, %eax
callq _event_log_error
leaq -356(%rbp), %rdi
callq _hc_fclose
movq %r15, %rdi
jmp LBB0_39
LBB0_38:
leaq L_.str.4(%rip), %rsi
movq -328(%rbp), %rdi ## 8-byte Reload
movq -312(%rbp), %rdx ## 8-byte Reload
xorl %eax, %eax
callq _event_log_error
movq %r15, %rdi
callq _hcfree
movq %rbx, %rdi
LBB0_39:
callq _hcfree
LBB0_40:
movl $-1, %eax
LBB0_41:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_150
## %bb.42:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_43:
cmpq $0, -392(%rbp) ## 8-byte Folded Reload
movq -376(%rbp), %r15 ## 8-byte Reload
movq _SP_ROOT_CNT@GOTPCREL(%rip), %r12
je LBB0_45
## %bb.44:
movl (%r12), %edx
shll $3, %edx
movq %r15, %rdi
xorl %esi, %esi
callq _memset
movl (%r14), %edx
shll $3, %edx
movq -384(%rbp), %rdi ## 8-byte Reload
xorl %esi, %esi
callq _memset
LBB0_45:
movq _SP_PW_MAX@GOTPCREL(%rip), %rax
movl (%rax), %ecx
cmpq $0, -368(%rbp) ## 8-byte Folded Reload
je LBB0_101
## %bb.46:
cmpl $2, %ecx
jl LBB0_101
## %bb.47:
movabsq $9223372036854775806, %rax ## imm = 0x7FFFFFFFFFFFFFFE
movq %rax, -328(%rbp) ## 8-byte Spill
movabsq $8589934588, %r12 ## imm = 0x1FFFFFFFC
movq (%r13), %r8
movq _CHARSIZ@GOTPCREL(%rip), %rax
movl (%rax), %edx
leal -1(%rdx), %esi
leaq 8(%r8,%rsi,8), %rax
movq %rax, -312(%rbp) ## 8-byte Spill
leaq 1(%rsi), %r14
movq %r14, %rax
andq $-4, %rax
leaq -4(%rax), %rdi
movq %rdi, -352(%rbp) ## 8-byte Spill
shrq $2, %rdi
incq %rdi
movq %rax, -336(%rbp) ## 8-byte Spill
leaq (%r8,%rax,8), %rax
movq %rax, -432(%rbp) ## 8-byte Spill
movq %rdi, %rax
movq %rdi, -368(%rbp) ## 8-byte Spill
andq $-2, %rdi
movq %rdi, -440(%rbp) ## 8-byte Spill
movl $1, %r15d
movq %rcx, -392(%rbp) ## 8-byte Spill
jmp LBB0_49
LBB0_48: ## in Loop: Header=BB0_49 Depth=1
incq %r15
movq -392(%rbp), %rcx ## 8-byte Reload
cmpq %rcx, %r15
je LBB0_70
LBB0_49: ## =>This Loop Header: Depth=1
## Child Loop BB0_57 Depth 2
## Child Loop BB0_65 Depth 2
## Child Loop BB0_69 Depth 2
testl %edx, %edx
jle LBB0_48
## %bb.50: ## in Loop: Header=BB0_49 Depth=1
xorl %r11d, %r11d
movq (%r13,%r15,8), %r10
cmpl $3, %esi
jb LBB0_51
## %bb.52: ## in Loop: Header=BB0_49 Depth=1
leaq (%r10,%r14,8), %rax
cmpq %rax, %r8
jae LBB0_55
## %bb.53: ## in Loop: Header=BB0_49 Depth=1
cmpq -312(%rbp), %r10 ## 8-byte Folded Reload
jae LBB0_55
LBB0_51: ## in Loop: Header=BB0_49 Depth=1
movq %r8, %rax
LBB0_63: ## in Loop: Header=BB0_49 Depth=1
movl %edx, %edi
subl %r11d, %edi
movl %r11d, %ecx
notl %ecx
addl %edx, %ecx
andl $3, %edi
je LBB0_67
## %bb.64: ## in Loop: Header=BB0_49 Depth=1
negl %edi
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_65: ## Parent Loop BB0_49 Depth=1
## => This Inner Loop Header: Depth=2
movq (%r10), %r9
addq %r9, (%rax)
addq $8, %r10
addq $8, %rax
decl %ebx
cmpl %ebx, %edi
jne LBB0_65
## %bb.66: ## in Loop: Header=BB0_49 Depth=1
subl %ebx, %r11d
LBB0_67: ## in Loop: Header=BB0_49 Depth=1
cmpl $3, %ecx
jb LBB0_48
## %bb.68: ## in Loop: Header=BB0_49 Depth=1
movl %edx, %ecx
subl %r11d, %ecx
xorl %edi, %edi
.p2align 4, 0x90
LBB0_69: ## Parent Loop BB0_49 Depth=1
## => This Inner Loop Header: Depth=2
movq (%r10,%rdi,8), %rbx
addq %rbx, (%rax,%rdi,8)
movq 8(%r10,%rdi,8), %rbx
addq %rbx, 8(%rax,%rdi,8)
movq 16(%r10,%rdi,8), %rbx
addq %rbx, 16(%rax,%rdi,8)
movq 24(%r10,%rdi,8), %rbx
addq %rbx, 24(%rax,%rdi,8)
addq $4, %rdi
cmpl %edi, %ecx
jne LBB0_69
jmp LBB0_48
LBB0_55: ## in Loop: Header=BB0_49 Depth=1
cmpq $0, -352(%rbp) ## 8-byte Folded Reload
je LBB0_58
## %bb.56: ## in Loop: Header=BB0_49 Depth=1
movq -440(%rbp), %rcx ## 8-byte Reload
xorl %eax, %eax
.p2align 4, 0x90
LBB0_57: ## Parent Loop BB0_49 Depth=1
## => This Inner Loop Header: Depth=2
movdqu (%r10,%rax,8), %xmm0
movdqu 16(%r10,%rax,8), %xmm1
movdqu (%r8,%rax,8), %xmm2
paddq %xmm0, %xmm2
movdqu 16(%r8,%rax,8), %xmm0
paddq %xmm1, %xmm0
movdqu 32(%r8,%rax,8), %xmm1
movdqu 48(%r8,%rax,8), %xmm3
movdqu %xmm2, (%r8,%rax,8)
movdqu %xmm0, 16(%r8,%rax,8)
movdqu 32(%r10,%rax,8), %xmm0
paddq %xmm1, %xmm0
movdqu 48(%r10,%rax,8), %xmm1
paddq %xmm3, %xmm1
movdqu %xmm0, 32(%r8,%rax,8)
movdqu %xmm1, 48(%r8,%rax,8)
addq $8, %rax
addq $-2, %rcx
jne LBB0_57
jmp LBB0_59
LBB0_58: ## in Loop: Header=BB0_49 Depth=1
xorl %eax, %eax
LBB0_59: ## in Loop: Header=BB0_49 Depth=1
testb $1, -368(%rbp) ## 1-byte Folded Reload
je LBB0_61
## %bb.60: ## in Loop: Header=BB0_49 Depth=1
movdqu (%r10,%rax,8), %xmm0
movdqu 16(%r10,%rax,8), %xmm1
movdqu (%r8,%rax,8), %xmm2
paddq %xmm0, %xmm2
movdqu 16(%r8,%rax,8), %xmm0
paddq %xmm1, %xmm0
movdqu %xmm2, (%r8,%rax,8)
movdqu %xmm0, 16(%r8,%rax,8)
LBB0_61: ## in Loop: Header=BB0_49 Depth=1
cmpq -336(%rbp), %r14 ## 8-byte Folded Reload
je LBB0_48
## %bb.62: ## in Loop: Header=BB0_49 Depth=1
movq -336(%rbp), %rax ## 8-byte Reload
leaq (%r10,%rax,8), %r10
movl %eax, %r11d
movq -432(%rbp), %rax ## 8-byte Reload
jmp LBB0_63
LBB0_70:
movq -400(%rbp), %rax ## 8-byte Reload
movq (%rax), %rax
movq %rax, -368(%rbp) ## 8-byte Spill
movq _CHARSIZ@GOTPCREL(%rip), %rax
movl (%rax), %r15d
leal -1(%r15), %r10d
leaq 1(%r10), %r11
andq %r11, %r12
leaq -4(%r12), %rax
movq %rax, -336(%rbp) ## 8-byte Spill
shrq $2, %rax
incq %rax
movq %rax, %rcx
movq %rax, -312(%rbp) ## 8-byte Spill
andq %rax, -328(%rbp) ## 8-byte Folded Spill
movl $1, %eax
movq %rax, -352(%rbp) ## 8-byte Spill
jmp LBB0_72
LBB0_71: ## in Loop: Header=BB0_72 Depth=1
movq -352(%rbp), %rax ## 8-byte Reload
incq %rax
movq %rax, -352(%rbp) ## 8-byte Spill
cmpq -392(%rbp), %rax ## 8-byte Folded Reload
je LBB0_95
LBB0_72: ## =>This Loop Header: Depth=1
## Child Loop BB0_75 Depth 2
## Child Loop BB0_82 Depth 3
## Child Loop BB0_88 Depth 3
## Child Loop BB0_92 Depth 3
testl %r15d, %r15d
jle LBB0_71
## %bb.73: ## in Loop: Header=BB0_72 Depth=1
movq -352(%rbp), %rax ## 8-byte Reload
imulq -344(%rbp), %rax ## 8-byte Folded Reload
movq -400(%rbp), %rcx ## 8-byte Reload
movq (%rcx,%rax,8), %rdx
xorl %eax, %eax
movq -368(%rbp), %r8 ## 8-byte Reload
jmp LBB0_75
.p2align 4, 0x90
LBB0_74: ## in Loop: Header=BB0_75 Depth=2
incl %eax
cmpl %r15d, %eax
je LBB0_71
LBB0_75: ## Parent Loop BB0_72 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_82 Depth 3
## Child Loop BB0_88 Depth 3
## Child Loop BB0_92 Depth 3
cmpl $3, %r10d
jb LBB0_76
## %bb.77: ## in Loop: Header=BB0_75 Depth=2
leaq (%rdx,%r11,8), %rcx
cmpq %rcx, %r8
jae LBB0_80
## %bb.78: ## in Loop: Header=BB0_75 Depth=2
leaq (%r8,%r11,8), %rcx
cmpq %rcx, %rdx
jae LBB0_80
LBB0_76: ## in Loop: Header=BB0_75 Depth=2
xorl %r14d, %r14d
LBB0_86: ## in Loop: Header=BB0_75 Depth=2
movl %r15d, %ecx
subl %r14d, %ecx
movl %r14d, %r9d
notl %r9d
addl %r15d, %r9d
andl $3, %ecx
je LBB0_90
## %bb.87: ## in Loop: Header=BB0_75 Depth=2
negl %ecx
xorl %edi, %edi
.p2align 4, 0x90
LBB0_88: ## Parent Loop BB0_72 Depth=1
## Parent Loop BB0_75 Depth=2
## => This Inner Loop Header: Depth=3
movq (%rdx), %rbx
addq %rbx, (%r8)
addq $8, %rdx
addq $8, %r8
decl %edi
cmpl %edi, %ecx
jne LBB0_88
## %bb.89: ## in Loop: Header=BB0_75 Depth=2
subl %edi, %r14d
LBB0_90: ## in Loop: Header=BB0_75 Depth=2
cmpl $3, %r9d
jb LBB0_74
## %bb.91: ## in Loop: Header=BB0_75 Depth=2
movl %r15d, %edi
subl %r14d, %edi
xorl %ecx, %ecx
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_92: ## Parent Loop BB0_72 Depth=1
## Parent Loop BB0_75 Depth=2
## => This Inner Loop Header: Depth=3
movq (%rdx,%rbx,8), %rsi
addq %rsi, (%r8,%rbx,8)
movq 8(%rdx,%rbx,8), %rsi
addq %rsi, 8(%r8,%rbx,8)
movq 16(%rdx,%rbx,8), %rsi
addq %rsi, 16(%r8,%rbx,8)
movq 24(%rdx,%rbx,8), %rsi
addq %rsi, 24(%r8,%rbx,8)
addq $4, %rbx
addq $-32, %rcx
cmpl %ebx, %edi
jne LBB0_92
## %bb.93: ## in Loop: Header=BB0_75 Depth=2
subq %rcx, %rdx
subq %rcx, %r8
jmp LBB0_74
.p2align 4, 0x90
LBB0_80: ## in Loop: Header=BB0_75 Depth=2
cmpq $0, -336(%rbp) ## 8-byte Folded Reload
je LBB0_94
## %bb.81: ## in Loop: Header=BB0_75 Depth=2
movq -328(%rbp), %rdi ## 8-byte Reload
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_82: ## Parent Loop BB0_72 Depth=1
## Parent Loop BB0_75 Depth=2
## => This Inner Loop Header: Depth=3
movdqu (%rdx,%rcx,8), %xmm0
movdqu 16(%rdx,%rcx,8), %xmm1
movdqu (%r8,%rcx,8), %xmm2
paddq %xmm0, %xmm2
movdqu 16(%r8,%rcx,8), %xmm0
paddq %xmm1, %xmm0
movdqu 32(%r8,%rcx,8), %xmm1
movdqu 48(%r8,%rcx,8), %xmm3
movdqu %xmm2, (%r8,%rcx,8)
movdqu %xmm0, 16(%r8,%rcx,8)
movdqu 32(%rdx,%rcx,8), %xmm0
paddq %xmm1, %xmm0
movdqu 48(%rdx,%rcx,8), %xmm1
paddq %xmm3, %xmm1
movdqu %xmm0, 32(%r8,%rcx,8)
movdqu %xmm1, 48(%r8,%rcx,8)
addq $8, %rcx
addq $-2, %rdi
jne LBB0_82
## %bb.83: ## in Loop: Header=BB0_75 Depth=2
testb $1, -312(%rbp) ## 1-byte Folded Reload
je LBB0_85
LBB0_84: ## in Loop: Header=BB0_75 Depth=2
movdqu (%rdx,%rcx,8), %xmm0
movdqu 16(%rdx,%rcx,8), %xmm1
movdqu (%r8,%rcx,8), %xmm2
paddq %xmm0, %xmm2
movdqu 16(%r8,%rcx,8), %xmm0
paddq %xmm1, %xmm0
movdqu %xmm2, (%r8,%rcx,8)
movdqu %xmm0, 16(%r8,%rcx,8)
LBB0_85: ## in Loop: Header=BB0_75 Depth=2
leaq (%rdx,%r12,8), %rdx
leaq (%r8,%r12,8), %r8
movl %r12d, %r14d
cmpq %r12, %r11
je LBB0_74
jmp LBB0_86
LBB0_94: ## in Loop: Header=BB0_75 Depth=2
xorl %ecx, %ecx
testb $1, -312(%rbp) ## 1-byte Folded Reload
jne LBB0_84
jmp LBB0_85
LBB0_95:
movq (%r13), %r14
movl $1, %ebx
movq _SP_PW_MAX@GOTPCREL(%rip), %r15
movq _CHARSIZ@GOTPCREL(%rip), %r12
LBB0_96: ## =>This Inner Loop Header: Depth=1
movq (%r13,%rbx,8), %rdi
movl (%r12), %edx
shll $3, %edx
movq %r14, %rsi
callq _memcpy
incq %rbx
movslq (%r15), %rcx
cmpq %rcx, %rbx
jl LBB0_96
## %bb.97:
cmpl $2, %ecx
movq -376(%rbp), %r15 ## 8-byte Reload
movq %r12, %r13
movq _SP_ROOT_CNT@GOTPCREL(%rip), %r12
jl LBB0_102
## %bb.98:
movq -400(%rbp), %rax ## 8-byte Reload
movq (%rax), %r14
movq -344(%rbp), %r13 ## 8-byte Reload
leaq (%rax,%r13,8), %r15
shlq $3, %r13
movl $1, %ebx
movq _SP_PW_MAX@GOTPCREL(%rip), %r12
LBB0_99: ## =>This Inner Loop Header: Depth=1
movq (%r15), %rdi
movq _CHARSIZ@GOTPCREL(%rip), %rax
movl (%rax), %edx
imull %edx, %edx
shll $3, %edx
movq %r14, %rsi
callq _memcpy
incq %rbx
movslq (%r12), %rcx
addq %r13, %r15
cmpq %rcx, %rbx
jl LBB0_99
## %bb.100:
movq -376(%rbp), %r15 ## 8-byte Reload
movq _SP_ROOT_CNT@GOTPCREL(%rip), %r12
LBB0_101:
movq _CHARSIZ@GOTPCREL(%rip), %r13
LBB0_102:
movl %ecx, %r14d
leaq (,%r14,8), %rax
movq %rcx, %rbx
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %rax
movslq (%r13), %rcx
movq %rcx, -312(%rbp) ## 8-byte Spill
movl %ecx, %r9d
testl %ebx, %ebx
movq %r9, -344(%rbp) ## 8-byte Spill
movq %rax, -328(%rbp) ## 8-byte Spill
jle LBB0_105
## %bb.103:
leaq -1(%r14), %rcx
movl %r14d, %r10d
andl $3, %r10d
cmpq $3, %rcx
movq -416(%rbp), %r11 ## 8-byte Reload
jae LBB0_106
## %bb.104:
xorl %edx, %edx
movq %r11, %rdi
jmp LBB0_109
LBB0_105:
imulq %r9, %r14
shlq $3, %r14
movq %r14, %rax
callq ____chkstk_darwin
movq -344(%rbp), %rdi ## 8-byte Reload
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r14
movq -416(%rbp), %r9 ## 8-byte Reload
jmp LBB0_124
LBB0_106:
movl %r14d, %esi
andl $-4, %esi
movq -312(%rbp), %rbx ## 8-byte Reload
movq %rbx, %r8
shlq $6, %r8
shlq $4, %rbx
xorl %edx, %edx
movq %r11, %rcx
LBB0_107: ## =>This Inner Loop Header: Depth=1
movq %rcx, %rdi
movq %rcx, (%rax,%rdx,8)
addq %rbx, %rcx
movq %rcx, 8(%rax,%rdx,8)
addq %rbx, %rcx
movq %rcx, 16(%rax,%rdx,8)
addq %rbx, %rcx
movq %rcx, 24(%rax,%rdx,8)
addq $4, %rdx
addq %rbx, %rcx
cmpq %rdx, %rsi
jne LBB0_107
## %bb.108:
addq %r8, %rdi
LBB0_109:
testq %r10, %r10
je LBB0_112
## %bb.110:
leaq (%rax,%rdx,8), %rcx
movq -312(%rbp), %rdx ## 8-byte Reload
shlq $4, %rdx
xorl %esi, %esi
LBB0_111: ## =>This Inner Loop Header: Depth=1
movq %rdi, (%rcx,%rsi,8)
incq %rsi
addq %rdx, %rdi
cmpq %rsi, %r10
jne LBB0_111
LBB0_112:
movq %r9, %rax
movq %r14, %r13
imulq %r14, %rax
shlq $3, %rax
callq ____chkstk_darwin
movq -344(%rbp), %rdi ## 8-byte Reload
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r14
leaq -1(%rdi), %rax
movq %rax, -336(%rbp) ## 8-byte Spill
movl %edi, %ecx
andl $3, %ecx
movl %edi, %edx
andl $-4, %edx
movq %r14, %rsi
addq $24, %rsi
leaq (,%rdi,8), %r10
movq -312(%rbp), %rbx ## 8-byte Reload
movq %rbx, %r15
shlq $6, %r15
movq %rbx, %rax
shlq $4, %rax
xorl %r12d, %r12d
movq %r14, %r11
movq -408(%rbp), %rbx ## 8-byte Reload
jmp LBB0_115
LBB0_113: ## in Loop: Header=BB0_115 Depth=1
movq %rbx, %r8
LBB0_114: ## in Loop: Header=BB0_115 Depth=1
incq %r12
addq %r10, %rsi
addq %r10, %r11
movq %r8, %rbx
cmpq %r13, %r12
movq -344(%rbp), %rdi ## 8-byte Reload
je LBB0_123
LBB0_115: ## =>This Loop Header: Depth=1
## Child Loop BB0_119 Depth 2
## Child Loop BB0_122 Depth 2
testl %edi, %edi
jle LBB0_113
## %bb.116: ## in Loop: Header=BB0_115 Depth=1
cmpq $3, -336(%rbp) ## 8-byte Folded Reload
jae LBB0_118
## %bb.117: ## in Loop: Header=BB0_115 Depth=1
## implicit-def: $r8
xorl %r9d, %r9d
testq %rcx, %rcx
jne LBB0_121
jmp LBB0_114
LBB0_118: ## in Loop: Header=BB0_115 Depth=1
xorl %r9d, %r9d
.p2align 4, 0x90
LBB0_119: ## Parent Loop BB0_115 Depth=1
## => This Inner Loop Header: Depth=2
movq %rbx, %r8
movq %rbx, -24(%rsi,%r9,8)
addq %rax, %rbx
movq %rbx, -16(%rsi,%r9,8)
addq %rax, %rbx
movq %rbx, -8(%rsi,%r9,8)
addq %rax, %rbx
movq %rbx, (%rsi,%r9,8)
addq $4, %r9
addq %rax, %rbx
cmpq %r9, %rdx
jne LBB0_119
## %bb.120: ## in Loop: Header=BB0_115 Depth=1
addq %r15, %r8
movq %r8, %rbx
testq %rcx, %rcx
je LBB0_114
LBB0_121: ## in Loop: Header=BB0_115 Depth=1
leaq (%r11,%r9,8), %rdi
movq %rbx, %r8
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_122: ## Parent Loop BB0_115 Depth=1
## => This Inner Loop Header: Depth=2
movq %r8, (%rdi,%rbx,8)
incq %rbx
addq %rax, %r8
cmpq %rbx, %rcx
jne LBB0_122
jmp LBB0_114
LBB0_123:
movq _SP_ROOT_CNT@GOTPCREL(%rip), %r12
movq -416(%rbp), %r9 ## 8-byte Reload
movq -376(%rbp), %r15 ## 8-byte Reload
LBB0_124:
movl (%r12), %r8d
testl %r8d, %r8d
jle LBB0_131
## %bb.125:
cmpl $1, %r8d
jne LBB0_127
## %bb.126:
xorl %ecx, %ecx
jmp LBB0_129
LBB0_127:
movl %r8d, %esi
andl $-2, %esi
leaq 24(%r9), %rbx
xorl %ecx, %ecx
LBB0_128: ## =>This Inner Loop Header: Depth=1
movl %ecx, %eax
cltd
idivl %edi
## kill: def $edx killed $edx def $rdx
movq %rdx, -16(%rbx)
movq (%r15,%rcx,8), %rax
movq %rax, -24(%rbx)
leal 1(%rcx), %eax
cltd
idivl %edi
## kill: def $edx killed $edx def $rdx
movq %rdx, (%rbx)
movq 8(%r15,%rcx,8), %rax
movq %rax, -8(%rbx)
addq $2, %rcx
addq $32, %rbx
cmpq %rsi, %rcx
jne LBB0_128
LBB0_129:
testb $1, %r8b
je LBB0_131
## %bb.130:
movl %ecx, %eax
cltd
idivl -312(%rbp) ## 4-byte Folded Reload
## kill: def $edx killed $edx def $rdx
movq %rcx, %rax
shlq $4, %rax
movq %rdx, 8(%r9,%rax)
movq (%r15,%rcx,8), %rcx
movq %rcx, (%r9,%rax)
LBB0_131:
movq _SP_MARKOV_CNT@GOTPCREL(%rip), %rax
movl (%rax), %r8d
testl %r8d, %r8d
movq -384(%rbp), %r12 ## 8-byte Reload
jle LBB0_138
## %bb.132:
cmpl $1, %r8d
jne LBB0_134
## %bb.133:
xorl %ecx, %ecx
jmp LBB0_136
LBB0_134:
movl %r8d, %esi
andl $-2, %esi
movq -408(%rbp), %rax ## 8-byte Reload
leaq 24(%rax), %rbx
xorl %ecx, %ecx
LBB0_135: ## =>This Inner Loop Header: Depth=1
movl %ecx, %eax
cltd
idivl %edi
## kill: def $edx killed $edx def $rdx
movq %rdx, -16(%rbx)
movq (%r12,%rcx,8), %rax
movq %rax, -24(%rbx)
leal 1(%rcx), %eax
cltd
idivl %edi
## kill: def $edx killed $edx def $rdx
movq %rdx, (%rbx)
movq 8(%r12,%rcx,8), %rax
movq %rax, -8(%rbx)
addq $2, %rcx
addq $32, %rbx
cmpq %rsi, %rcx
jne LBB0_135
LBB0_136:
testb $1, %r8b
je LBB0_138
## %bb.137:
movl %ecx, %eax
cltd
idivl -312(%rbp) ## 4-byte Folded Reload
## kill: def $edx killed $edx def $rdx
movq %rcx, %rax
shlq $4, %rax
movq -408(%rbp), %rsi ## 8-byte Reload
movq %rdx, 8(%rsi,%rax)
movq (%r12,%rcx,8), %rcx
movq %rcx, (%rsi,%rax)
LBB0_138:
movq %r15, %rdi
callq _hcfree
movq %r12, %rdi
callq _hcfree
movq _SP_PW_MAX@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jle LBB0_149
## %bb.139:
xorl %ebx, %ebx
movq _sp_comp_val@GOTPCREL(%rip), %r12
movq _CHARSIZ@GOTPCREL(%rip), %r13
movq -328(%rbp), %r15 ## 8-byte Reload
LBB0_140: ## =>This Inner Loop Header: Depth=1
movq (%r15,%rbx,8), %rdi
movl (%r13), %esi
movl (%r12), %ecx
movl $16, %edx
callq _qsort
incq %rbx
movq _SP_PW_MAX@GOTPCREL(%rip), %rax
movslq (%rax), %rcx
cmpq %rcx, %rbx
jl LBB0_140
## %bb.141:
testl %ecx, %ecx
jle LBB0_149
## %bb.142:
movq _CHARSIZ@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq -344(%rbp), %rdi ## 8-byte Reload
shlq $3, %rdi
xorl %r15d, %r15d
movq %rdi, -344(%rbp) ## 8-byte Spill
jmp LBB0_144
LBB0_143: ## in Loop: Header=BB0_144 Depth=1
incq %r15
movslq %ecx, %rdx
addq %rdi, %r14
xorl %eax, %eax
cmpq %rdx, %r15
jge LBB0_41
LBB0_144: ## =>This Loop Header: Depth=1
## Child Loop BB0_146 Depth 2
testl %esi, %esi
jle LBB0_143
## %bb.145: ## in Loop: Header=BB0_144 Depth=1
xorl %ebx, %ebx
movq _CHARSIZ@GOTPCREL(%rip), %r13
.p2align 4, 0x90
LBB0_146: ## Parent Loop BB0_144 Depth=1
## => This Inner Loop Header: Depth=2
movq (%r14,%rbx,8), %rdi
movl (%r12), %ecx
## kill: def $esi killed $esi killed $rsi
movl $16, %edx
callq _qsort
incq %rbx
movslq (%r13), %rsi
cmpq %rsi, %rbx
jl LBB0_146
## %bb.147: ## in Loop: Header=BB0_144 Depth=1
movq _SP_PW_MAX@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq -344(%rbp), %rdi ## 8-byte Reload
jmp LBB0_143
LBB0_149:
xorl %eax, %eax
jmp LBB0_41
LBB0_150:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _SP_ROOT_CNT,4,2 ## @SP_ROOT_CNT
.comm _SP_PW_MAX,4,2 ## @SP_PW_MAX
.comm _CHARSIZ,4,2 ## @CHARSIZ
.comm _SP_MARKOV_CNT,4,2 ## @SP_MARKOV_CNT
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s/%s"
.comm _SP_HCSTAT,8,3 ## @SP_HCSTAT
L_.str.1: ## @.str.1
.asciz "%s: %s"
.comm _errno,4,2 ## @errno
L_.str.2: ## @.str.2
.asciz "rb"
L_.str.3: ## @.str.3
.asciz "%s: Could not read data."
.comm _SP_FILESZ,8,3 ## @SP_FILESZ
.comm _SZ_OK,8,3 ## @SZ_OK
L_.str.4: ## @.str.4
.asciz "%s: Could not uncompress data."
.comm _SP_VERSION,8,3 ## @SP_VERSION
L_.str.5: ## @.str.5
.asciz "%s: Invalid header"
.comm _sp_comp_val,4,2 ## @sp_comp_val
.no_dead_strip _sp_setup_tbl
.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 sp_setup_tbl
lCPI0_0:
.long 0 ; 0x0
.long 1 ; 0x1
.section __TEXT,__text,regular,pure_instructions
.p2align 2
_sp_setup_tbl: ; @sp_setup_tbl
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
sub sp, sp, #384
mov x19, sp
mov x23, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-96]
ldp x9, x8, [x0, #8]
ldr x10, [x0]
ldr x24, [x8]
ldr x11, [x10, #16]
ldp x22, x8, [x10]
stp x11, x8, [x19, #40] ; 16-byte Folded Spill
ldp x21, x8, [x9]
str x8, [x19, #56] ; 8-byte Folded Spill
Lloh3:
adrp x8, _SP_ROOT_CNT@GOTPAGE
Lloh4:
ldr x8, [x8, _SP_ROOT_CNT@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
mov w1, #8
bl _hccalloc
mov x26, x0
Lloh6:
adrp x20, _SP_PW_MAX@GOTPAGE
Lloh7:
ldr x20, [x20, _SP_PW_MAX@GOTPAGEOFF]
ldr w12, [x20]
lsl x8, x12, #3
mov x9, x8
Lloh8:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh9:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0xffffffff0
sub x27, x9, x8
mov sp, x27
Lloh10:
adrp x25, _CHARSIZ@GOTPAGE
Lloh11:
ldr x25, [x25, _CHARSIZ@GOTPAGEOFF]
cmp w12, #1
b.lt LBB0_3
; %bb.1:
ldrsw x8, [x25]
lsl x8, x8, #3
mov x9, x26
mov x10, x27
LBB0_2: ; =>This Inner Loop Header: Depth=1
str x9, [x10], #8
add x9, x9, x8
subs x12, x12, #1
b.ne LBB0_2
LBB0_3:
Lloh12:
adrp x8, _SP_MARKOV_CNT@GOTPAGE
Lloh13:
ldr x8, [x8, _SP_MARKOV_CNT@GOTPAGEOFF]
Lloh14:
ldr w0, [x8]
mov w1, #8
bl _hccalloc
ldr w8, [x20]
ldr w28, [x25]
mul x9, x28, x8
lsl x9, x9, #3
add x10, x9, #15
and x12, x10, #0xfffffffffffffff0
Lloh15:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh16:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
sub x20, x9, x12
mov sp, x20
cmp w8, #1
b.lt LBB0_8
; %bb.4:
mov x9, #0
sxtw x10, w28
lsl x11, x28, #3
lsl x12, x10, #3
mov x13, x20
mov x14, x0
b LBB0_6
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
add x9, x9, #1
add x13, x13, x11
cmp x9, x8
b.eq LBB0_8
LBB0_6: ; =>This Loop Header: Depth=1
; Child Loop BB0_7 Depth 2
mov x15, x28
mov x16, x13
cmp w10, #1
b.lt LBB0_5
LBB0_7: ; Parent Loop BB0_6 Depth=1
; => This Inner Loop Header: Depth=2
str x14, [x16], #8
add x14, x14, x12
subs x15, x15, #1
b.ne LBB0_7
b LBB0_5
LBB0_8:
str x0, [x19, #64] ; 8-byte Folded Spill
cbnz x22, LBB0_10
; %bb.9:
add x22, x19, #112
Lloh17:
adrp x8, _SP_HCSTAT@GOTPAGE
Lloh18:
ldr x8, [x8, _SP_HCSTAT@GOTPAGEOFF]
Lloh19:
ldr x4, [x8]
Lloh20:
adrp x2, l_.str@PAGE
Lloh21:
add x2, x2, l_.str@PAGEOFF
add x0, x19, #112
mov w1, #256
mov x3, x24
bl _snprintf
LBB0_10:
add x1, x19, #104
mov x0, x22
bl _stat
cmn w0, #1
b.eq LBB0_24
; %bb.11:
Lloh22:
adrp x2, l_.str.2@PAGE
Lloh23:
add x2, x2, l_.str.2@PAGEOFF
add x0, x19, #100
mov x1, x22
bl _hc_fopen
cbz w0, LBB0_24
; %bb.12:
ldr x25, [x19, #104]
mov x0, x25
bl _hcmalloc
mov x24, x0
add x3, x19, #100
mov w1, #1
mov x2, x25
bl _hc_fread
str x0, [x19, #88]
cmp x0, x25
b.ne LBB0_25
; %bb.13:
str x26, [x19, #32] ; 8-byte Folded Spill
add x0, x19, #100
bl _hc_fclose
Lloh24:
adrp x26, _SP_FILESZ@GOTPAGE
Lloh25:
ldr x26, [x26, _SP_FILESZ@GOTPAGEOFF]
ldr x0, [x26]
bl _hcmalloc
mov x25, x0
ldr x8, [x26]
str x8, [x19, #80]
mov w8, #28
strb w8, [x19, #79]
add x1, x19, #88
add x3, x19, #80
add x4, x19, #79
mov x0, x24
mov x2, x25
bl _hc_lzma2_decompress
Lloh26:
adrp x8, _SZ_OK@GOTPAGE
Lloh27:
ldr x8, [x8, _SZ_OK@GOTPAGEOFF]
Lloh28:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_26
; %bb.14:
ldr x8, [x19, #80]
ldr x9, [x26]
cmp x8, x9
b.ne LBB0_26
; %bb.15:
stp x27, x21, [x19, #16] ; 16-byte Folded Spill
add x26, x25, #16
ldr x9, [x25]
ldr x8, [x25, #8]
stp x9, x8, [x19] ; 16-byte Folded Spill
Lloh29:
adrp x27, _SP_ROOT_CNT@GOTPAGE
Lloh30:
ldr x27, [x27, _SP_ROOT_CNT@GOTPAGEOFF]
ldr w8, [x27]
lsl w2, w8, #3
ldr x21, [x19, #32] ; 8-byte Folded Reload
mov x0, x21
mov x1, x26
bl _memcpy
ldrsw x8, [x27]
add x1, x26, x8, lsl #3
Lloh31:
adrp x8, _SP_MARKOV_CNT@GOTPAGE
Lloh32:
ldr x8, [x8, _SP_MARKOV_CNT@GOTPAGEOFF]
Lloh33:
ldr w8, [x8]
lsl w2, w8, #3
ldr x0, [x19, #64] ; 8-byte Folded Reload
bl _memcpy
mov x0, x24
bl _hcfree
mov x0, x25
bl _hcfree
ldr x0, [x19] ; 8-byte Folded Reload
bl _byte_swap_64
mov x24, x0
ldr x0, [x19, #8] ; 8-byte Folded Reload
bl _byte_swap_64
str x0, [x19, #8] ; 8-byte Folded Spill
ldr w8, [x27]
cmp w8, #1
b.lt LBB0_18
; %bb.16:
mov x26, #0
LBB0_17: ; =>This Inner Loop Header: Depth=1
lsl x25, x26, #3
ldr x0, [x21, x25]
bl _byte_swap_64
str x0, [x21, x25]
add x26, x26, #1
ldrsw x8, [x27]
cmp x26, x8
b.lt LBB0_17
LBB0_18:
Lloh34:
adrp x25, _SP_MARKOV_CNT@GOTPAGE
Lloh35:
ldr x25, [x25, _SP_MARKOV_CNT@GOTPAGEOFF]
ldr w8, [x25]
cmp w8, #1
ldr x21, [x19, #24] ; 8-byte Folded Reload
b.lt LBB0_21
; %bb.19:
mov x26, #0
LBB0_20: ; =>This Inner Loop Header: Depth=1
lsl x25, x26, #3
ldr x8, [x19, #64] ; 8-byte Folded Reload
ldr x0, [x8, x25]
bl _byte_swap_64
ldr x8, [x19, #64] ; 8-byte Folded Reload
str x0, [x8, x25]
Lloh36:
adrp x25, _SP_MARKOV_CNT@GOTPAGE
Lloh37:
ldr x25, [x25, _SP_MARKOV_CNT@GOTPAGEOFF]
add x26, x26, #1
ldrsw x8, [x25]
cmp x26, x8
b.lt LBB0_20
LBB0_21:
Lloh38:
adrp x8, _SP_VERSION@GOTPAGE
Lloh39:
ldr x8, [x8, _SP_VERSION@GOTPAGEOFF]
Lloh40:
ldr x8, [x8]
cmp x24, x8
ldr x27, [x19, #16] ; 8-byte Folded Reload
b.ne LBB0_23
; %bb.22:
ldr x8, [x19, #8] ; 8-byte Folded Reload
cbz x8, LBB0_31
LBB0_23:
Lloh41:
adrp x1, l_.str.5@PAGE
Lloh42:
add x1, x1, l_.str.5@PAGEOFF
mov x0, x23
mov x2, x22
bl _event_log_error
b LBB0_28
LBB0_24:
Lloh43:
adrp x8, _errno@GOTPAGE
Lloh44:
ldr x8, [x8, _errno@GOTPAGEOFF]
Lloh45:
ldr w0, [x8]
bl _strerror
; kill: def $w0 killed $w0 def $x0
str x0, [sp, #-16]!
Lloh46:
adrp x1, l_.str.1@PAGE
Lloh47:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x23
mov x2, x22
bl _event_log_error
add sp, sp, #16
b LBB0_28
LBB0_25:
Lloh48:
adrp x1, l_.str.3@PAGE
Lloh49:
add x1, x1, l_.str.3@PAGEOFF
mov x0, x23
mov x2, x22
bl _event_log_error
add x0, x19, #100
bl _hc_fclose
mov x0, x24
b LBB0_27
LBB0_26:
Lloh50:
adrp x1, l_.str.4@PAGE
Lloh51:
add x1, x1, l_.str.4@PAGEOFF
mov x0, x23
mov x2, x22
bl _event_log_error
mov x0, x24
bl _hcfree
mov x0, x25
LBB0_27:
bl _hcfree
LBB0_28:
mov w0, #-1
LBB0_29:
ldur x8, [x29, #-96]
Lloh52:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh53:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh54:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_103
; %bb.30:
sub sp, x29, #80
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
LBB0_31:
Lloh55:
adrp x24, _SP_ROOT_CNT@GOTPAGE
Lloh56:
ldr x24, [x24, _SP_ROOT_CNT@GOTPAGEOFF]
ldr x8, [x19, #40] ; 8-byte Folded Reload
cbz x8, LBB0_33
; %bb.32:
ldr w8, [x24]
lsl w2, w8, #3
ldr x0, [x19, #32] ; 8-byte Folded Reload
mov w1, #0
bl _memset
ldr w8, [x25]
lsl w2, w8, #3
ldr x0, [x19, #64] ; 8-byte Folded Reload
mov w1, #0
bl _memset
LBB0_33:
Lloh57:
adrp x25, _SP_PW_MAX@GOTPAGE
Lloh58:
ldr x25, [x25, _SP_PW_MAX@GOTPAGEOFF]
ldr w12, [x25]
Lloh59:
adrp x26, _CHARSIZ@GOTPAGE
Lloh60:
ldr x26, [x26, _CHARSIZ@GOTPAGEOFF]
ldr x8, [x19, #48] ; 8-byte Folded Reload
cbz x8, LBB0_65
; %bb.34:
cmp w12, #1
b.le LBB0_65
; %bb.35:
ldr x8, [x27]
ldr w9, [x26]
sub w10, w9, #1
add x11, x10, #1
add x13, x8, x11, lsl #3
and x14, x11, #0x1fffffff8
add x15, x8, x14, lsl #3
add x16, x8, #32
mov w17, #1
b LBB0_37
LBB0_36: ; in Loop: Header=BB0_37 Depth=1
add x17, x17, #1
cmp x17, x12
b.eq LBB0_46
LBB0_37: ; =>This Loop Header: Depth=1
; Child Loop BB0_41 Depth 2
; Child Loop BB0_45 Depth 2
cmp w9, #1
b.lt LBB0_36
; %bb.38: ; in Loop: Header=BB0_37 Depth=1
ldr x0, [x27, x17, lsl #3]
cmp w10, #7
b.lo LBB0_43
; %bb.39: ; in Loop: Header=BB0_37 Depth=1
add x1, x0, x11, lsl #3
cmp x8, x1
ccmp x0, x13, #2, lo
b.lo LBB0_43
; %bb.40: ; in Loop: Header=BB0_37 Depth=1
add x1, x0, #32
mov x2, x16
mov x3, x14
add x0, x0, x14, lsl #3
LBB0_41: ; Parent Loop BB0_37 Depth=1
; => This Inner Loop Header: Depth=2
ldp q0, q1, [x1, #-32]
ldp q2, q3, [x1], #64
ldp q4, q5, [x2, #-32]
ldp q6, q7, [x2]
add.2d v0, v4, v0
add.2d v1, v5, v1
add.2d v2, v6, v2
add.2d v3, v7, v3
stp q0, q1, [x2, #-32]
stp q2, q3, [x2], #64
subs x3, x3, #8
b.ne LBB0_41
; %bb.42: ; in Loop: Header=BB0_37 Depth=1
mov x2, x14
mov x1, x15
cmp x11, x14
b.eq LBB0_36
b LBB0_44
LBB0_43: ; in Loop: Header=BB0_37 Depth=1
mov w2, #0
mov x1, x8
LBB0_44: ; in Loop: Header=BB0_37 Depth=1
sub w2, w9, w2
LBB0_45: ; Parent Loop BB0_37 Depth=1
; => This Inner Loop Header: Depth=2
ldr x3, [x0], #8
ldr x4, [x1]
add x3, x4, x3
str x3, [x1], #8
subs w2, w2, #1
b.ne LBB0_45
b LBB0_36
LBB0_46:
ldr x8, [x20]
ldr w9, [x26]
sub w10, w9, #1
add x11, x10, #1
and x13, x11, #0x1fffffff8
mov w14, #1
lsl x15, x11, #3
b LBB0_48
LBB0_47: ; in Loop: Header=BB0_48 Depth=1
add x14, x14, #1
cmp x14, x12
b.eq LBB0_59
LBB0_48: ; =>This Loop Header: Depth=1
; Child Loop BB0_51 Depth 2
; Child Loop BB0_54 Depth 3
; Child Loop BB0_58 Depth 3
cmp w9, #1
b.lt LBB0_47
; %bb.49: ; in Loop: Header=BB0_48 Depth=1
mov w16, #0
mul x17, x14, x28
ldr x1, [x20, x17, lsl #3]
mov x2, x8
b LBB0_51
LBB0_50: ; in Loop: Header=BB0_51 Depth=2
add w16, w16, #1
mov x1, x17
mov x2, x0
cmp w16, w9
b.eq LBB0_47
LBB0_51: ; Parent Loop BB0_48 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_54 Depth 3
; Child Loop BB0_58 Depth 3
cmp w10, #7
b.lo LBB0_56
; %bb.52: ; in Loop: Header=BB0_51 Depth=2
add x17, x2, x15
add x0, x1, x15
cmp x2, x0
ccmp x1, x17, #2, lo
b.lo LBB0_56
; %bb.53: ; in Loop: Header=BB0_51 Depth=2
lsl x0, x13, #3
add x17, x1, x0
add x0, x2, x0
add x1, x1, #32
add x2, x2, #32
mov x3, x13
LBB0_54: ; Parent Loop BB0_48 Depth=1
; Parent Loop BB0_51 Depth=2
; => This Inner Loop Header: Depth=3
ldp q0, q1, [x1, #-32]
ldp q2, q3, [x1], #64
ldp q4, q5, [x2, #-32]
ldp q6, q7, [x2]
add.2d v0, v4, v0
add.2d v1, v5, v1
add.2d v2, v6, v2
add.2d v3, v7, v3
stp q0, q1, [x2, #-32]
stp q2, q3, [x2], #64
subs x3, x3, #8
b.ne LBB0_54
; %bb.55: ; in Loop: Header=BB0_51 Depth=2
mov x3, x13
cmp x11, x13
b.eq LBB0_50
b LBB0_57
LBB0_56: ; in Loop: Header=BB0_51 Depth=2
mov w3, #0
mov x17, x1
mov x0, x2
LBB0_57: ; in Loop: Header=BB0_51 Depth=2
sub w1, w9, w3
LBB0_58: ; Parent Loop BB0_48 Depth=1
; Parent Loop BB0_51 Depth=2
; => This Inner Loop Header: Depth=3
ldr x2, [x17], #8
ldr x3, [x0]
add x2, x3, x2
str x2, [x0], #8
subs w1, w1, #1
b.ne LBB0_58
b LBB0_50
LBB0_59:
ldr x22, [x27]
mov w23, #1
LBB0_60: ; =>This Inner Loop Header: Depth=1
ldr x0, [x27, x23, lsl #3]
ldr w8, [x26]
lsl w2, w8, #3
mov x1, x22
bl _memcpy
add x23, x23, #1
ldrsw x8, [x25]
cmp x23, x8
b.lt LBB0_60
; %bb.61:
mov x12, x8
cmp w8, #2
b.lt LBB0_65
; %bb.62:
ldr x22, [x20]
lsl x23, x28, #3
add x20, x20, x23
mov w24, #1
LBB0_63: ; =>This Inner Loop Header: Depth=1
ldr x0, [x20]
ldr w8, [x26]
mul w8, w8, w8
lsl w2, w8, #3
mov x1, x22
bl _memcpy
add x24, x24, #1
ldrsw x12, [x25]
add x20, x20, x23
cmp x24, x12
b.lt LBB0_63
; %bb.64:
; kill: def $w12 killed $w12 killed $x12 def $x12
Lloh61:
adrp x24, _SP_ROOT_CNT@GOTPAGE
Lloh62:
ldr x24, [x24, _SP_ROOT_CNT@GOTPAGEOFF]
LBB0_65:
mov w13, w12
lsl x8, x13, #3
mov x9, x8
Lloh63:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh64:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0xffffffff0
sub x23, x9, x8
mov sp, x23
ldrsw x8, [x26]
and x22, x8, #0xffffffff
cmp w12, #1
b.lt LBB0_72
; %bb.66:
lsl x12, x8, #4
ldp x7, x17, [x19, #56] ; 16-byte Folded Reload
mov x9, x7
mov x10, x13
mov x11, x23
LBB0_67: ; =>This Inner Loop Header: Depth=1
str x9, [x11], #8
add x9, x9, x12
subs x10, x10, #1
b.ne LBB0_67
; %bb.68:
mul x9, x22, x13
lsl x9, x9, #3
add x10, x9, #15
and x14, x10, #0xfffffffffffffff0
Lloh65:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh66:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
sub x20, x9, x14
mov sp, x20
mov x9, #0
lsl x10, x22, #3
mov x11, x20
mov x14, x21
b LBB0_70
LBB0_69: ; in Loop: Header=BB0_70 Depth=1
add x9, x9, #1
add x11, x11, x10
cmp x9, x13
b.eq LBB0_73
LBB0_70: ; =>This Loop Header: Depth=1
; Child Loop BB0_71 Depth 2
mov x15, x22
mov x16, x11
cmp w22, #1
b.lt LBB0_69
LBB0_71: ; Parent Loop BB0_70 Depth=1
; => This Inner Loop Header: Depth=2
str x14, [x16], #8
add x14, x14, x12
subs x15, x15, #1
b.ne LBB0_71
b LBB0_69
LBB0_72:
mul x9, x22, x13
lsl x9, x9, #3
add x10, x9, #15
and x12, x10, #0xfffffffffffffff0
Lloh67:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh68:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
sub x20, x9, x12
mov sp, x20
ldp x7, x17, [x19, #56] ; 16-byte Folded Reload
LBB0_73:
ldr w9, [x24]
cmp w9, #1
b.lt LBB0_83
; %bb.74:
cmp w9, #8
b.hs LBB0_76
; %bb.75:
mov x10, #0
ldr x13, [x19, #32] ; 8-byte Folded Reload
b LBB0_81
LBB0_76:
add x10, x7, x9, lsl #4
sub x10, x10, #8
ldr x13, [x19, #32] ; 8-byte Folded Reload
add x11, x13, x9, lsl #3
cmp x7, x11
ccmp x13, x10, #2, lo
b.lo LBB0_80
; %bb.77:
dup.2s v0, w22
dup.2s v1, w8
dup.2s v2, w22
and x10, x9, #0xfffffff8
add x12, x7, #64
Lloh69:
adrp x11, lCPI0_0@PAGE
Lloh70:
ldr d3, [x11, lCPI0_0@PAGEOFF]
add x11, x13, #32
movi.2s v4, #2
movi.2s v5, #4
movi.2s v6, #6
mov.s w13, v0[1]
mov.s w14, v1[1]
mov.s w15, v2[1]
mov.s w16, v0[1]
movi.2s v7, #8
mov x17, x10
LBB0_78: ; =>This Inner Loop Header: Depth=1
add.2s v16, v3, v4
add.2s v17, v3, v5
fmov w0, s0
fmov w1, s3
sdiv w2, w1, w0
msub w0, w2, w0, w1
mov.s w1, v16[1]
fmov w2, s1
fmov w3, s16
sdiv w4, w3, w2
msub w2, w4, w2, w3
mov.s w3, v17[1]
fmov w4, s2
fmov w5, s17
sdiv w6, w5, w4
msub w4, w6, w4, w5
mov.s w5, v3[1]
sdiv w6, w5, w13
msub w5, w6, w13, w5
sdiv w6, w1, w14
fmov s16, w0
msub w0, w6, w14, w1
add.2s v17, v3, v6
fmov s18, w2
sdiv w1, w3, w15
mov.s v16[1], w5
msub w1, w1, w15, w3
fmov s19, w4
mov.s w2, v17[1]
mov.s v18[1], w0
sdiv w0, w2, w16
msub w0, w0, w16, w2
fmov w2, s0
fmov w3, s17
mov.s v19[1], w1
sdiv w1, w3, w2
msub w1, w1, w2, w3
fmov s17, w1
mov.s v17[1], w0
ushll.2d v21, v16, #0
ushll.2d v23, v18, #0
ushll.2d v19, v19, #0
ushll.2d v17, v17, #0
ldp q20, q22, [x11, #-32]
ldp q18, q16, [x11], #64
sub x0, x12, #64
st2.2d { v20, v21 }, [x0]
sub x0, x12, #32
st2.2d { v22, v23 }, [x0]
add x0, x12, #128
st2.2d { v18, v19 }, [x12], #32
st2.2d { v16, v17 }, [x12]
add.2s v3, v3, v7
mov x12, x0
subs x17, x17, #8
b.ne LBB0_78
; %bb.79:
cmp x10, x9
ldr x13, [x19, #32] ; 8-byte Folded Reload
ldr x17, [x19, #64] ; 8-byte Folded Reload
b.ne LBB0_81
b LBB0_83
LBB0_80:
mov x10, #0
LBB0_81:
add x11, x7, x10, lsl #4
add x11, x11, #8
LBB0_82: ; =>This Inner Loop Header: Depth=1
sdiv w12, w10, w8
msub w12, w12, w8, w10
str x12, [x11]
ldr x12, [x13, x10, lsl #3]
stur x12, [x11, #-8]
add x10, x10, #1
add x11, x11, #16
cmp x9, x10
b.ne LBB0_82
LBB0_83:
Lloh71:
adrp x9, _SP_MARKOV_CNT@GOTPAGE
Lloh72:
ldr x9, [x9, _SP_MARKOV_CNT@GOTPAGEOFF]
Lloh73:
ldr w9, [x9]
cmp w9, #1
b.lt LBB0_92
; %bb.84:
cmp w9, #8
b.lo LBB0_89
; %bb.85:
add x10, x21, x9, lsl #4
sub x10, x10, #8
add x11, x17, x9, lsl #3
cmp x21, x11
ccmp x17, x10, #2, lo
b.lo LBB0_89
; %bb.86:
dup.2s v0, w8
dup.2s v1, w22
dup.2s v2, w22
and x8, x9, #0xfffffff8
add x11, x21, #64
Lloh74:
adrp x10, lCPI0_0@PAGE
Lloh75:
ldr d3, [x10, lCPI0_0@PAGEOFF]
add x10, x17, #32
movi.2s v4, #2
movi.2s v5, #4
movi.2s v6, #6
mov.s w12, v0[1]
mov.s w13, v1[1]
mov.s w14, v0[1]
mov.s w15, v2[1]
movi.2s v7, #8
mov x16, x8
LBB0_87: ; =>This Inner Loop Header: Depth=1
add.2s v16, v3, v4
add.2s v17, v3, v5
fmov w17, s0
fmov w0, s3
sdiv w1, w0, w17
msub w17, w1, w17, w0
mov.s w0, v16[1]
fmov w1, s1
fmov w2, s16
sdiv w3, w2, w1
msub w1, w3, w1, w2
mov.s w2, v17[1]
fmov w3, s0
fmov w4, s17
sdiv w5, w4, w3
msub w3, w5, w3, w4
mov.s w4, v3[1]
sdiv w5, w4, w12
msub w4, w5, w12, w4
sdiv w5, w0, w13
fmov s16, w17
msub w17, w5, w13, w0
add.2s v17, v3, v6
fmov s18, w1
sdiv w0, w2, w14
mov.s v16[1], w4
msub w0, w0, w14, w2
fmov s19, w3
mov.s w1, v17[1]
mov.s v18[1], w17
sdiv w17, w1, w15
msub w17, w17, w15, w1
fmov w1, s2
fmov w2, s17
mov.s v19[1], w0
sdiv w0, w2, w1
msub w0, w0, w1, w2
fmov s17, w0
mov.s v17[1], w17
ushll.2d v21, v16, #0
ushll.2d v23, v18, #0
ushll.2d v19, v19, #0
ushll.2d v17, v17, #0
ldp q20, q22, [x10, #-32]
ldp q18, q16, [x10], #64
sub x17, x11, #64
st2.2d { v20, v21 }, [x17]
sub x17, x11, #32
st2.2d { v22, v23 }, [x17]
add x17, x11, #128
st2.2d { v18, v19 }, [x11], #32
st2.2d { v16, v17 }, [x11]
add.2s v3, v3, v7
mov x11, x17
subs x16, x16, #8
b.ne LBB0_87
; %bb.88:
cmp x8, x9
ldr x17, [x19, #64] ; 8-byte Folded Reload
b.ne LBB0_90
b LBB0_92
LBB0_89:
mov x8, #0
LBB0_90:
add x10, x21, x8, lsl #4
add x10, x10, #8
LBB0_91: ; =>This Inner Loop Header: Depth=1
sdiv w11, w8, w22
msub w11, w11, w22, w8
str x11, [x10]
ldr x11, [x17, x8, lsl #3]
stur x11, [x10, #-8]
add x8, x8, #1
add x10, x10, #16
cmp x9, x8
b.ne LBB0_91
LBB0_92:
mov x21, x17
ldr x0, [x19, #32] ; 8-byte Folded Reload
bl _hcfree
mov x0, x21
bl _hcfree
ldr w8, [x25]
cmp w8, #1
b.lt LBB0_102
; %bb.93:
mov x24, #0
Lloh76:
adrp x21, _sp_comp_val@GOTPAGE
Lloh77:
ldr x21, [x21, _sp_comp_val@GOTPAGEOFF]
LBB0_94: ; =>This Inner Loop Header: Depth=1
ldr x0, [x23, x24, lsl #3]
ldr w1, [x26]
ldr w3, [x21]
mov w2, #16
bl _qsort
add x24, x24, #1
ldrsw x8, [x25]
cmp x24, x8
b.lt LBB0_94
; %bb.95:
cmp w8, #1
b.lt LBB0_102
; %bb.96:
mov x23, #0
ldr w1, [x26]
lsl x22, x22, #3
b LBB0_98
LBB0_97: ; in Loop: Header=BB0_98 Depth=1
mov w0, #0
add x23, x23, #1
add x20, x20, x22
cmp x23, w8, sxtw
b.ge LBB0_29
LBB0_98: ; =>This Loop Header: Depth=1
; Child Loop BB0_100 Depth 2
cmp w1, #1
b.lt LBB0_97
; %bb.99: ; in Loop: Header=BB0_98 Depth=1
mov x24, #0
LBB0_100: ; Parent Loop BB0_98 Depth=1
; => This Inner Loop Header: Depth=2
ldr x0, [x20, x24, lsl #3]
ldr w3, [x21]
; kill: def $w1 killed $w1 killed $x1
mov w2, #16
bl _qsort
add x24, x24, #1
ldrsw x1, [x26]
cmp x24, x1
b.lt LBB0_100
; %bb.101: ; in Loop: Header=BB0_98 Depth=1
ldr w8, [x25]
b LBB0_97
LBB0_102:
mov w0, #0
b LBB0_29
LBB0_103:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.loh AdrpLdrGot Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.loh AdrpLdrGot Lloh29, Lloh30
.loh AdrpLdrGot Lloh34, Lloh35
.loh AdrpLdrGot Lloh36, Lloh37
.loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40
.loh AdrpAdd Lloh41, Lloh42
.loh AdrpAdd Lloh46, Lloh47
.loh AdrpLdrGotLdr Lloh43, Lloh44, Lloh45
.loh AdrpAdd Lloh48, Lloh49
.loh AdrpAdd Lloh50, Lloh51
.loh AdrpLdrGotLdr Lloh52, Lloh53, Lloh54
.loh AdrpLdrGot Lloh55, Lloh56
.loh AdrpLdrGot Lloh59, Lloh60
.loh AdrpLdrGot Lloh57, Lloh58
.loh AdrpLdrGot Lloh61, Lloh62
.loh AdrpLdrGot Lloh63, Lloh64
.loh AdrpLdrGot Lloh65, Lloh66
.loh AdrpLdrGot Lloh67, Lloh68
.loh AdrpLdr Lloh69, Lloh70
.loh AdrpLdrGotLdr Lloh71, Lloh72, Lloh73
.loh AdrpLdr Lloh74, Lloh75
.loh AdrpLdrGot Lloh76, Lloh77
.cfi_endproc
; -- End function
.comm _SP_ROOT_CNT,4,2 ; @SP_ROOT_CNT
.comm _SP_PW_MAX,4,2 ; @SP_PW_MAX
.comm _CHARSIZ,4,2 ; @CHARSIZ
.comm _SP_MARKOV_CNT,4,2 ; @SP_MARKOV_CNT
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s/%s"
.comm _SP_HCSTAT,8,3 ; @SP_HCSTAT
l_.str.1: ; @.str.1
.asciz "%s: %s"
.comm _errno,4,2 ; @errno
l_.str.2: ; @.str.2
.asciz "rb"
l_.str.3: ; @.str.3
.asciz "%s: Could not read data."
.comm _SP_FILESZ,8,3 ; @SP_FILESZ
.comm _SZ_OK,8,3 ; @SZ_OK
l_.str.4: ; @.str.4
.asciz "%s: Could not uncompress data."
.comm _SP_VERSION,8,3 ; @SP_VERSION
l_.str.5: ; @.str.5
.asciz "%s: Invalid header"
.comm _sp_comp_val,4,2 ; @sp_comp_val
.no_dead_strip _sp_setup_tbl
.subsections_via_symbols
| AnghaBench/hashcat/src/extr_mpsp.c_sp_setup_tbl.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _radeon_gem_object_open ## -- Begin function radeon_gem_object_open
.p2align 4, 0x90
_radeon_gem_object_open: ## @radeon_gem_object_open
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r15
callq _gem_to_radeon_bo
movq %rax, %rbx
movq (%rax), %r14
movq (%r14), %rcx
movq _CHIP_CAYMAN@GOTPCREL(%rip), %rdx
xorl %eax, %eax
cmpq (%rdx), %rcx
jl LBB0_6
## %bb.1:
movq (%r15), %r15
movq %rbx, %rdi
xorl %esi, %esi
callq _radeon_bo_reserve
testl %eax, %eax
jne LBB0_6
## %bb.2:
movq %r15, %rdi
movq %rbx, %rsi
callq _radeon_vm_bo_find
testq %rax, %rax
je LBB0_3
## %bb.4:
incl (%rax)
jmp LBB0_5
LBB0_3:
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq _radeon_vm_bo_add
LBB0_5:
movq %rbx, %rdi
callq _radeon_bo_unreserve
xorl %eax, %eax
LBB0_6:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _CHIP_CAYMAN,8,3 ## @CHIP_CAYMAN
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _radeon_gem_object_open ; -- Begin function radeon_gem_object_open
.p2align 2
_radeon_gem_object_open: ; @radeon_gem_object_open
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x21, x1
bl _gem_to_radeon_bo
ldr x20, [x0]
ldr x8, [x20]
Lloh0:
adrp x9, _CHIP_CAYMAN@GOTPAGE
Lloh1:
ldr x9, [x9, _CHIP_CAYMAN@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x8, x9
b.lt LBB0_6
; %bb.1:
mov x19, x0
ldr x21, [x21]
mov w1, #0
bl _radeon_bo_reserve
cbnz w0, LBB0_7
; %bb.2:
mov x0, x21
mov x1, x19
bl _radeon_vm_bo_find
cbz x0, LBB0_4
; %bb.3:
ldr w8, [x0]
add w8, w8, #1
str w8, [x0]
b LBB0_5
LBB0_4:
mov x0, x20
mov x1, x21
mov x2, x19
bl _radeon_vm_bo_add
LBB0_5:
mov x0, x19
bl _radeon_bo_unreserve
LBB0_6:
mov w0, #0
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 _CHIP_CAYMAN,8,3 ; @CHIP_CAYMAN
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/gpu/drm/radeon/extr_radeon_gem.c_radeon_gem_object_open.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function nochip_noop
_nochip_noop: ## @nochip_noop
.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 _nochip_noop
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function nochip_noop
_nochip_noop: ; @nochip_noop
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.no_dead_strip _nochip_noop
.subsections_via_symbols
| AnghaBench/linux/arch/arm/mach-sa1100/extr_neponset.c_nochip_noop.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _signal_vmx_sig ## -- Begin function signal_vmx_sig
.p2align 4, 0x90
_signal_vmx_sig: ## @signal_vmx_sig
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r15
movq (%rdx), %rax
movq (%rax), %rax
movq 160(%rax), %rdi
movq _varray@GOTPCREL(%rip), %r12
movq (%r12), %rsi
movl $16, %edx
callq _memcmp
movl $20, %esi
testq %rax, %rax
jne LBB0_1
## %bb.4:
movq (%r15), %rax
movq (%rax), %rax
movq 168(%rax), %rdi
movq (%r12), %rsi
addq $8, %rsi
movl $16, %edx
callq _memcmp
movl $21, %esi
testq %rax, %rax
jne LBB0_1
## %bb.5:
movq (%r15), %rax
movq (%rax), %rax
movq 176(%rax), %rdi
movq (%r12), %rsi
addq $16, %rsi
movl $16, %edx
callq _memcmp
movl $22, %esi
testq %rax, %rax
jne LBB0_1
## %bb.6:
movq (%r15), %rax
movq (%rax), %rax
movq 184(%rax), %rdi
movq (%r12), %rsi
addq $24, %rsi
movl $16, %edx
callq _memcmp
movl $23, %esi
testq %rax, %rax
jne LBB0_1
## %bb.7:
movq (%r15), %rax
movq (%rax), %rax
movq 192(%rax), %rdi
movq (%r12), %rsi
addq $32, %rsi
movl $16, %edx
callq _memcmp
movl $24, %esi
testq %rax, %rax
jne LBB0_1
## %bb.8:
movq (%r15), %rax
movq (%rax), %rax
movq 200(%rax), %rdi
movq (%r12), %rsi
addq $40, %rsi
movl $16, %edx
callq _memcmp
movl $25, %esi
testq %rax, %rax
jne LBB0_1
## %bb.9:
movq (%r15), %rax
movq (%rax), %rax
movq 208(%rax), %rdi
movq (%r12), %rsi
addq $48, %rsi
movl $16, %edx
callq _memcmp
movl $26, %esi
testq %rax, %rax
jne LBB0_1
## %bb.10:
movq (%r15), %rax
movq (%rax), %rax
movq 216(%rax), %rdi
movq (%r12), %rsi
addq $56, %rsi
movl $16, %edx
callq _memcmp
movl $27, %esi
testq %rax, %rax
jne LBB0_1
## %bb.11:
movq (%r15), %rax
movq (%rax), %rax
movq 224(%rax), %rdi
movq (%r12), %rsi
addq $64, %rsi
movl $16, %edx
callq _memcmp
movl $28, %esi
testq %rax, %rax
jne LBB0_1
## %bb.12:
movq (%r15), %rax
movq (%rax), %rax
movq 232(%rax), %rdi
movq (%r12), %rsi
addq $72, %rsi
movl $16, %edx
callq _memcmp
movl $29, %esi
testq %rax, %rax
jne LBB0_1
## %bb.13:
movq (%r15), %rax
movq (%rax), %rax
movq 240(%rax), %rdi
movq (%r12), %rsi
addq $80, %rsi
movl $16, %edx
callq _memcmp
movl $30, %esi
testq %rax, %rax
jne LBB0_1
## %bb.14:
movq (%r15), %rax
movq (%rax), %rax
movq 248(%rax), %rdi
movq (%r12), %rsi
addq $88, %rsi
movl $16, %edx
callq _memcmp
movl $31, %esi
testq %rax, %rax
je LBB0_15
LBB0_1:
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_str(%rip), %rdi
callq _puts
movl $20, %ebx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq (%r15), %rax
movq (%rax), %rax
movq (%rax,%rbx,8), %rax
movl (%rax), %edx
movl 4(%rax), %ecx
movl 8(%rax), %r8d
movl 12(%rax), %r9d
movq (%r12), %rax
movq -160(%rax,%rbx,8), %rax
movl (%rax), %r10d
movl 4(%rax), %r11d
movl 8(%rax), %r13d
movq %r12, %r14
movl 12(%rax), %r12d
leaq L_.str.2(%rip), %rdi
movl %ebx, %esi
xorl %eax, %eax
pushq %r12
movq %r14, %r12
pushq %r13
pushq %r11
pushq %r10
callq _printf
addq $32, %rsp
incq %rbx
cmpq $32, %rbx
jne LBB0_2
## %bb.3:
movq _bad_context@GOTPCREL(%rip), %rax
movl $1, (%rax)
LBB0_15:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _varray,8,3 ## @varray
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "VMX mismatch at reg %d!\n"
L_.str.2: ## @.str.2
.asciz "%d | 0x%04x%04x%04x%04x | 0x%04x%04x%04x%04x\n"
.comm _bad_context,4,2 ## @bad_context
L_str: ## @str
.asciz "Reg | Actual | Expected"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _signal_vmx_sig ; -- Begin function signal_vmx_sig
.p2align 2
_signal_vmx_sig: ; @signal_vmx_sig
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
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
mov x19, x2
ldr x8, [x2]
ldr x8, [x8]
ldr x0, [x8, #160]
Lloh0:
adrp x21, _varray@GOTPAGE
Lloh1:
ldr x21, [x21, _varray@GOTPAGEOFF]
ldr x1, [x21]
mov w2, #16
bl _memcmp
cbz x0, LBB0_2
; %bb.1:
mov w8, #20
b LBB0_24
LBB0_2:
ldr x8, [x19]
ldr x8, [x8]
ldr x0, [x8, #168]
ldr x8, [x21]
add x1, x8, #8
mov w2, #16
bl _memcmp
cbz x0, LBB0_4
; %bb.3:
mov w8, #21
b LBB0_24
LBB0_4:
ldr x8, [x19]
ldr x8, [x8]
ldr x0, [x8, #176]
ldr x8, [x21]
add x1, x8, #16
mov w2, #16
bl _memcmp
cbz x0, LBB0_6
; %bb.5:
mov w8, #22
b LBB0_24
LBB0_6:
ldr x8, [x19]
ldr x8, [x8]
ldr x0, [x8, #184]
ldr x8, [x21]
add x1, x8, #24
mov w2, #16
bl _memcmp
cbz x0, LBB0_8
; %bb.7:
mov w8, #23
b LBB0_24
LBB0_8:
ldr x8, [x19]
ldr x8, [x8]
ldr x0, [x8, #192]
ldr x8, [x21]
add x1, x8, #32
mov w2, #16
bl _memcmp
cbz x0, LBB0_10
; %bb.9:
mov w8, #24
b LBB0_24
LBB0_10:
ldr x8, [x19]
ldr x8, [x8]
ldr x0, [x8, #200]
ldr x8, [x21]
add x1, x8, #40
mov w2, #16
bl _memcmp
cbz x0, LBB0_12
; %bb.11:
mov w8, #25
b LBB0_24
LBB0_12:
ldr x8, [x19]
ldr x8, [x8]
ldr x0, [x8, #208]
ldr x8, [x21]
add x1, x8, #48
mov w2, #16
bl _memcmp
cbz x0, LBB0_14
; %bb.13:
mov w8, #26
b LBB0_24
LBB0_14:
ldr x8, [x19]
ldr x8, [x8]
ldr x0, [x8, #216]
ldr x8, [x21]
add x1, x8, #56
mov w2, #16
bl _memcmp
cbz x0, LBB0_16
; %bb.15:
mov w8, #27
b LBB0_24
LBB0_16:
ldr x8, [x19]
ldr x8, [x8]
ldr x0, [x8, #224]
ldr x8, [x21]
add x1, x8, #64
mov w2, #16
bl _memcmp
cbz x0, LBB0_18
; %bb.17:
mov w8, #28
b LBB0_24
LBB0_18:
ldr x8, [x19]
ldr x8, [x8]
ldr x0, [x8, #232]
ldr x8, [x21]
add x1, x8, #72
mov w2, #16
bl _memcmp
cbz x0, LBB0_20
; %bb.19:
mov w8, #29
b LBB0_24
LBB0_20:
ldr x8, [x19]
ldr x8, [x8]
ldr x0, [x8, #240]
ldr x8, [x21]
add x1, x8, #80
mov w2, #16
bl _memcmp
cbz x0, LBB0_22
; %bb.21:
mov w8, #30
b LBB0_24
LBB0_22:
ldr x8, [x19]
ldr x8, [x8]
ldr x0, [x8, #248]
ldr x8, [x21]
add x1, x8, #88
mov w2, #16
bl _memcmp
cbz x0, LBB0_27
; %bb.23:
mov w8, #31
LBB0_24:
str x8, [sp]
Lloh2:
adrp x0, l_.str@PAGE
Lloh3:
add x0, x0, l_.str@PAGEOFF
bl _printf
Lloh4:
adrp x0, l_str@PAGE
Lloh5:
add x0, x0, l_str@PAGEOFF
bl _puts
mov x22, #0
Lloh6:
adrp x20, l_.str.2@PAGE
Lloh7:
add x20, x20, l_.str.2@PAGEOFF
LBB0_25: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19]
ldr x8, [x8]
lsl x9, x22, #3
add x8, x8, x9
ldr x8, [x8, #160]
ldr x10, [x21]
ldr x9, [x10, x9]
add x10, x22, #20
ldp w11, w12, [x8]
ldp w13, w8, [x8, #8]
ldp w14, w15, [x9]
ldp w16, w9, [x9, #8]
stp x16, x9, [sp, #56]
stp x14, x15, [sp, #40]
stp x13, x8, [sp, #24]
stp x11, x12, [sp, #8]
str x10, [sp]
mov x0, x20
bl _printf
add x22, x22, #1
cmp x22, #12
b.ne LBB0_25
; %bb.26:
Lloh8:
adrp x8, _bad_context@GOTPAGE
Lloh9:
ldr x8, [x8, _bad_context@GOTPAGEOFF]
mov w9, #1
Lloh10:
str w9, [x8]
LBB0_27:
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
add sp, sp, #128
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGotStr Lloh8, Lloh9, Lloh10
.cfi_endproc
; -- End function
.comm _varray,8,3 ; @varray
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "VMX mismatch at reg %d!\n"
l_.str.2: ; @.str.2
.asciz "%d | 0x%04x%04x%04x%04x | 0x%04x%04x%04x%04x\n"
.comm _bad_context,4,2 ; @bad_context
l_str: ; @str
.asciz "Reg | Actual | Expected"
.subsections_via_symbols
| AnghaBench/linux/tools/testing/selftests/powerpc/math/extr_vmx_signal.c_signal_vmx_sig.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function asdl_function
_asdl_function: ## @asdl_function
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, -48(%rbp) ## 4-byte Spill
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbx
xorl %edi, %edi
callq _Seq_new
movl %eax, -44(%rbp) ## 4-byte Spill
xorl %edi, %edi
callq _Seq_new
movl %eax, %r13d
xorl %edi, %edi
callq _Seq_new
movl %eax, %r14d
movq %rbx, -64(%rbp) ## 8-byte Spill
movq %rbx, %rdi
callq _dopending
movq %r12, -56(%rbp) ## 8-byte Spill
movq (%r12), %rdi
testq %rdi, %rdi
je LBB0_3
## %bb.1:
movq -56(%rbp), %rax ## 8-byte Reload
leaq 8(%rax), %r12
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
callq _asdl_local
movq -8(%r12), %rdi
callq _symboluid
movl %eax, %edi
callq _to_generic_int
movl %r14d, %edi
movl %eax, %esi
callq _Seq_addhi
movq (%r12), %rdi
addq $8, %r12
testq %rdi, %rdi
jne LBB0_2
LBB0_3:
movq (%r15), %rdi
testq %rdi, %rdi
je LBB0_6
## %bb.4:
leaq 8(%r15), %rbx
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
callq _asdl_local
movq -8(%rbx), %rdi
callq _symboluid
movl %eax, %edi
callq _to_generic_int
movl %r13d, %edi
movl %eax, %esi
callq _Seq_addhi
movq (%rbx), %rdi
addq $8, %rbx
testq %rdi, %rdi
jne LBB0_5
LBB0_6:
movq _interfaces@GOTPCREL(%rip), %r12
movl (%r12), %ebx
movq %r15, %rsi
movl -44(%rbp), %r15d ## 4-byte Reload
movl %r15d, (%r12)
movq -56(%rbp), %rdi ## 8-byte Reload
callq _gencode
movq _CODE@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _asdl_segment
xorl %eax, %eax
callq _emitcode
movl %ebx, (%r12)
movq -64(%rbp), %rdi ## 8-byte Reload
callq _symboluid
movl %eax, %edi
movl %r14d, %esi
movl %r13d, %edx
movl -48(%rbp), %ecx ## 4-byte Reload
movl %r15d, %r8d
callq _rcc_Function
movl %eax, %edi
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _put ## TAILCALL
.cfi_endproc
## -- End function
.comm _interfaces,4,2 ## @interfaces
.comm _CODE,4,2 ## @CODE
.no_dead_strip _asdl_function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function asdl_function
_asdl_function: ; @asdl_function
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x3
mov x24, x2
mov x25, x1
mov x21, x0
mov w0, #0
bl _Seq_new
mov x20, x0
mov w0, #0
bl _Seq_new
mov x22, x0
mov w0, #0
bl _Seq_new
mov x23, x0
mov x0, x21
bl _dopending
ldr x0, [x25]
cbz x0, LBB0_3
; %bb.1:
add x26, x25, #8
LBB0_2: ; =>This Inner Loop Header: Depth=1
bl _asdl_local
ldur x0, [x26, #-8]
bl _symboluid
bl _to_generic_int
mov x1, x0
mov x0, x23
bl _Seq_addhi
ldr x0, [x26], #8
cbnz x0, LBB0_2
LBB0_3:
ldr x0, [x24]
cbz x0, LBB0_6
; %bb.4:
add x26, x24, #8
LBB0_5: ; =>This Inner Loop Header: Depth=1
bl _asdl_local
ldur x0, [x26, #-8]
bl _symboluid
bl _to_generic_int
mov x1, x0
mov x0, x22
bl _Seq_addhi
ldr x0, [x26], #8
cbnz x0, LBB0_5
LBB0_6:
Lloh0:
adrp x26, _interfaces@GOTPAGE
Lloh1:
ldr x26, [x26, _interfaces@GOTPAGEOFF]
ldr w27, [x26]
str w20, [x26]
mov x0, x25
mov x1, x24
bl _gencode
Lloh2:
adrp x8, _CODE@GOTPAGE
Lloh3:
ldr x8, [x8, _CODE@GOTPAGEOFF]
Lloh4:
ldr w0, [x8]
bl _asdl_segment
bl _emitcode
str w27, [x26]
mov x0, x21
bl _symboluid
mov x1, x23
mov x2, x22
mov x3, x19
mov x4, x20
bl _rcc_Function
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 _put
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _interfaces,4,2 ; @interfaces
.comm _CODE,4,2 ; @CODE
.no_dead_strip _asdl_function
.subsections_via_symbols
| AnghaBench/Quake-III-Arena/lcc/src/extr_asdl.c_asdl_function.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 $32, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
cmpl $2, %edi
jne LBB0_13
## %bb.1:
movq 8(%rsi), %rdi
callq _atoi
movl %eax, %ebx
movl $2, %edi
movl $2, %esi
movl $17, %edx
callq _socket
movq _sock@GOTPCREL(%rip), %r14
movl %eax, (%r14)
testl %eax, %eax
js LBB0_2
## %bb.4:
xorps %xmm0, %xmm0
movaps %xmm0, -32(%rbp)
movb $2, -31(%rbp)
rolw $8, %bx
movw %bx, -30(%rbp)
leaq -32(%rbp), %rsi
movl %eax, %edi
movl $16, %edx
callq _bind
testl %eax, %eax
js LBB0_5
## %bb.6:
leaq _IOSignalHandler(%rip), %rax
movq %rax, -48(%rbp)
movl $4294967295, %eax ## imm = 0xFFFFFFFF
movq %rax, -40(%rbp)
leaq -48(%rbp), %rsi
movl $23, %edi
xorl %edx, %edx
callq _sigaction
testl %eax, %eax
js LBB0_7
## %bb.8:
movl (%r14), %ebx
callq _getpid
movl %ebx, %edi
movl $6, %esi
movl %eax, %edx
xorl %eax, %eax
callq _fcntl
testl %eax, %eax
js LBB0_9
## %bb.10:
movl (%r14), %edi
movl $4, %esi
movl $68, %edx
xorl %eax, %eax
callq _fcntl
testl %eax, %eax
js LBB0_11
.p2align 4, 0x90
LBB0_12: ## =>This Inner Loop Header: Depth=1
movl $2, %edi
callq _sleep
jmp LBB0_12
LBB0_13:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq (%rsi), %rdx
leaq L_.str(%rip), %rsi
xorl %eax, %eax
callq _fprintf
movl $1, %edi
callq _exit
LBB0_2:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rcx
leaq L_.str.1(%rip), %rdi
movl $16, %esi
jmp LBB0_3
LBB0_5:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rcx
leaq L_.str.2(%rip), %rdi
movl $14, %esi
jmp LBB0_3
LBB0_7:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rcx
leaq L_.str.4(%rip), %rdi
movl $19, %esi
jmp LBB0_3
LBB0_9:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rcx
leaq L_.str.5(%rip), %rdi
movl $34, %esi
jmp LBB0_3
LBB0_11:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rcx
leaq L_.str.6(%rip), %rdi
movl $51, %esi
LBB0_3:
movl $1, %edx
callq _fwrite
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.globl _IOSignalHandler ## -- Begin function IOSignalHandler
.p2align 4, 0x90
_IOSignalHandler: ## @IOSignalHandler
.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)
movq _sock@GOTPCREL(%rip), %r12
leaq -320(%rbp), %r14
leaq -64(%rbp), %r13
leaq -324(%rbp), %r15
.p2align 4, 0x90
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl $16, -324(%rbp)
movl (%r12), %edi
movl $255, %edx
movq %r14, %rsi
xorl %ecx, %ecx
movq %r13, %r8
movq %r15, %r9
callq _recvfrom
movq %rax, %rbx
testl %ebx, %ebx
js LBB1_2
## %bb.5: ## in Loop: Header=BB1_1 Depth=1
movl -60(%rbp), %edi
callq _inet_ntoa
leaq L_.str.8(%rip), %rdi
movq %rax, %rsi
xorl %eax, %eax
callq _printf
movl (%r12), %edi
movslq %ebx, %rdx
movq %r14, %rsi
xorl %ecx, %ecx
movq %r13, %r8
movl $16, %r9d
callq _sendto
cmpl %eax, %ebx
je LBB1_1
## %bb.6:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rcx
leaq L_.str.9(%rip), %rdi
movl $57, %esi
LBB1_4:
movl $1, %edx
callq _fwrite
movl $1, %edi
callq _exit
LBB1_2:
callq ___error
cmpl $35, (%rax)
jne LBB1_3
## %bb.7:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB1_9
## %bb.8:
addq $296, %rsp ## imm = 0x128
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB1_3:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rcx
leaq L_.str.7(%rip), %rdi
movl $18, %esi
jmp LBB1_4
LBB1_9:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Usage: %s <Echo Port>\n"
.comm _sock,4,2 ## @sock
L_.str.1: ## @.str.1
.asciz "socket() failed\n"
L_.str.2: ## @.str.2
.asciz "bind() failed\n"
L_.str.4: ## @.str.4
.asciz "sigaction() failed\n"
L_.str.5: ## @.str.5
.asciz "Unable to set process owner to us\n"
L_.str.6: ## @.str.6
.asciz "Unable to put the sock into nonblocking/async mode\n"
L_.str.7: ## @.str.7
.asciz "recvfrom() failed\n"
L_.str.8: ## @.str.8
.asciz "Handling client %s\n"
L_.str.9: ## @.str.9
.asciz "sendto() sent a differrent number of bytes than expected\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp 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
cmp w0, #2
b.ne LBB0_7
; %bb.1:
ldr x0, [x1, #8]
bl _atoi
mov x19, x0
mov w21, #2
mov w0, #2
mov w1, #2
mov w2, #17
bl _socket
Lloh0:
adrp x20, _sock@GOTPAGE
Lloh1:
ldr x20, [x20, _sock@GOTPAGEOFF]
str w0, [x20]
tbnz w0, #31, LBB0_8
; %bb.2:
stp xzr, xzr, [sp, #32]
strb w21, [sp, #33]
rev w8, w19
lsr w8, w8, #16
strh w8, [sp, #34]
add x1, sp, #32
mov w2, #16
bl _bind
tbnz w0, #31, LBB0_9
; %bb.3:
Lloh2:
adrp x8, _IOSignalHandler@PAGE
Lloh3:
add x8, x8, _IOSignalHandler@PAGEOFF
str x8, [sp, #16]
movi d0, #0x000000ffffffff
str d0, [sp, #24]
add x1, sp, #16
mov w0, #23
mov x2, #0
bl _sigaction
tbnz w0, #31, LBB0_10
; %bb.4:
ldr w19, [x20]
bl _getpid
; kill: def $w0 killed $w0 def $x0
str x0, [sp]
mov x0, x19
mov w1, #6
bl _fcntl
tbnz w0, #31, LBB0_11
; %bb.5:
ldr w0, [x20]
mov w8, #68
str x8, [sp]
mov w1, #4
bl _fcntl
tbnz w0, #31, LBB0_12
LBB0_6: ; =>This Inner Loop Header: Depth=1
mov w0, #2
bl _sleep
b LBB0_6
LBB0_7:
Lloh4:
adrp x8, ___stderrp@GOTPAGE
Lloh5:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh6:
ldr x0, [x8]
ldr x8, [x1]
str x8, [sp]
Lloh7:
adrp x1, l_.str@PAGE
Lloh8:
add x1, x1, l_.str@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB0_8:
Lloh9:
adrp x8, ___stderrp@GOTPAGE
Lloh10:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh11:
ldr x3, [x8]
Lloh12:
adrp x0, l_.str.1@PAGE
Lloh13:
add x0, x0, l_.str.1@PAGEOFF
mov w1, #16
b LBB0_13
LBB0_9:
Lloh14:
adrp x8, ___stderrp@GOTPAGE
Lloh15:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh16:
ldr x3, [x8]
Lloh17:
adrp x0, l_.str.2@PAGE
Lloh18:
add x0, x0, l_.str.2@PAGEOFF
mov w1, #14
b LBB0_13
LBB0_10:
Lloh19:
adrp x8, ___stderrp@GOTPAGE
Lloh20:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh21:
ldr x3, [x8]
Lloh22:
adrp x0, l_.str.4@PAGE
Lloh23:
add x0, x0, l_.str.4@PAGEOFF
mov w1, #19
b LBB0_13
LBB0_11:
Lloh24:
adrp x8, ___stderrp@GOTPAGE
Lloh25:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh26:
ldr x3, [x8]
Lloh27:
adrp x0, l_.str.5@PAGE
Lloh28:
add x0, x0, l_.str.5@PAGEOFF
mov w1, #34
b LBB0_13
LBB0_12:
Lloh29:
adrp x8, ___stderrp@GOTPAGE
Lloh30:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh31:
ldr x3, [x8]
Lloh32:
adrp x0, l_.str.6@PAGE
Lloh33:
add x0, x0, l_.str.6@PAGEOFF
mov w1, #51
LBB0_13:
mov w2, #1
bl _fwrite
mov w0, #1
bl _exit
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpAdd Lloh32, Lloh33
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.cfi_endproc
; -- End function
.globl _IOSignalHandler ; -- Begin function IOSignalHandler
.p2align 2
_IOSignalHandler: ; @IOSignalHandler
.cfi_startproc
; %bb.0:
sub sp, sp, #368
.cfi_def_cfa_offset 368
stp x28, x27, [sp, #304] ; 16-byte Folded Spill
stp x22, x21, [sp, #320] ; 16-byte Folded Spill
stp x20, x19, [sp, #336] ; 16-byte Folded Spill
stp x29, x30, [sp, #352] ; 16-byte Folded Spill
add x29, sp, #352
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w27, -56
.cfi_offset w28, -64
Lloh34:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh35:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh36:
ldr x8, [x8]
stur x8, [x29, #-56]
mov w21, #16
Lloh37:
adrp x22, _sock@GOTPAGE
Lloh38:
ldr x22, [x22, _sock@GOTPAGEOFF]
Lloh39:
adrp x19, l_.str.8@PAGE
Lloh40:
add x19, x19, l_.str.8@PAGEOFF
LBB1_1: ; =>This Inner Loop Header: Depth=1
str w21, [sp, #20]
ldr w0, [x22]
add x1, sp, #25
sub x4, x29, #72
add x5, sp, #20
mov w2, #255
mov w3, #0
bl _recvfrom
mov x20, x0
tbnz w20, #31, LBB1_5
; %bb.2: ; in Loop: Header=BB1_1 Depth=1
ldur w0, [x29, #-68]
bl _inet_ntoa
str x0, [sp]
mov x0, x19
bl _printf
ldr w0, [x22]
sxtw x2, w20
add x1, sp, #25
sub x4, x29, #72
mov w3, #0
mov w5, #16
bl _sendto
cmp w20, w0
b.eq LBB1_1
; %bb.3:
Lloh41:
adrp x8, ___stderrp@GOTPAGE
Lloh42:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh43:
ldr x3, [x8]
Lloh44:
adrp x0, l_.str.9@PAGE
Lloh45:
add x0, x0, l_.str.9@PAGEOFF
mov w1, #57
LBB1_4:
mov w2, #1
bl _fwrite
mov w0, #1
bl _exit
LBB1_5:
bl ___error
ldr w8, [x0]
cmp w8, #35
b.ne LBB1_8
; %bb.6:
ldur x8, [x29, #-56]
Lloh46:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh47:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh48:
ldr x9, [x9]
cmp x9, x8
b.ne LBB1_9
; %bb.7:
ldp x29, x30, [sp, #352] ; 16-byte Folded Reload
ldp x20, x19, [sp, #336] ; 16-byte Folded Reload
ldp x22, x21, [sp, #320] ; 16-byte Folded Reload
ldp x28, x27, [sp, #304] ; 16-byte Folded Reload
add sp, sp, #368
ret
LBB1_8:
Lloh49:
adrp x8, ___stderrp@GOTPAGE
Lloh50:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh51:
ldr x3, [x8]
Lloh52:
adrp x0, l_.str.7@PAGE
Lloh53:
add x0, x0, l_.str.7@PAGEOFF
mov w1, #18
b LBB1_4
LBB1_9:
bl ___stack_chk_fail
.loh AdrpAdd Lloh39, Lloh40
.loh AdrpLdrGot Lloh37, Lloh38
.loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36
.loh AdrpAdd Lloh44, Lloh45
.loh AdrpLdrGotLdr Lloh41, Lloh42, Lloh43
.loh AdrpLdrGotLdr Lloh46, Lloh47, Lloh48
.loh AdrpAdd Lloh52, Lloh53
.loh AdrpLdrGotLdr Lloh49, Lloh50, Lloh51
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Usage: %s <Echo Port>\n"
.comm _sock,4,2 ; @sock
l_.str.1: ; @.str.1
.asciz "socket() failed\n"
l_.str.2: ; @.str.2
.asciz "bind() failed\n"
l_.str.4: ; @.str.4
.asciz "sigaction() failed\n"
l_.str.5: ; @.str.5
.asciz "Unable to set process owner to us\n"
l_.str.6: ; @.str.6
.asciz "Unable to put the sock into nonblocking/async mode\n"
l_.str.7: ; @.str.7
.asciz "recvfrom() failed\n"
l_.str.8: ; @.str.8
.asciz "Handling client %s\n"
l_.str.9: ; @.str.9
.asciz "sendto() sent a differrent number of bytes than expected\n"
.subsections_via_symbols
| the_stack_data/95666.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function vars_clear
_vars_clear: ## @vars_clear
.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 _htab_empty ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _vars_clear
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function vars_clear
_vars_clear: ; @vars_clear
.cfi_startproc
; %bb.0:
b _htab_empty
.cfi_endproc
; -- End function
.no_dead_strip _vars_clear
.subsections_via_symbols
| AnghaBench/freebsd/contrib/gcc/extr_var-tracking.c_vars_clear.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function img_ir_set_wakeup_filter
_img_ir_set_wakeup_filter: ## @img_ir_set_wakeup_filter
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rsi, %rdx
movq _RC_FILTER_WAKEUP@GOTPCREL(%rip), %rax
movl (%rax), %esi
popq %rbp
jmp _img_ir_set_filter ## TAILCALL
.cfi_endproc
## -- End function
.comm _RC_FILTER_WAKEUP,4,2 ## @RC_FILTER_WAKEUP
.no_dead_strip _img_ir_set_wakeup_filter
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function img_ir_set_wakeup_filter
_img_ir_set_wakeup_filter: ; @img_ir_set_wakeup_filter
.cfi_startproc
; %bb.0:
mov x2, x1
Lloh0:
adrp x8, _RC_FILTER_WAKEUP@GOTPAGE
Lloh1:
ldr x8, [x8, _RC_FILTER_WAKEUP@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
b _img_ir_set_filter
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _RC_FILTER_WAKEUP,4,2 ; @RC_FILTER_WAKEUP
.no_dead_strip _img_ir_set_wakeup_filter
.subsections_via_symbols
| AnghaBench/linux/drivers/media/rc/img-ir/extr_img-ir-hw.c_img_ir_set_wakeup_filter.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _MyGer ## -- Begin function MyGer
.p2align 4, 0x90
_MyGer: ## @MyGer
.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
testl %esi, %esi
jle LBB0_3
## %bb.1:
movq %r8, %r13
movl %ecx, %r14d
movl %edi, %r15d
movq 16(%rbp), %rbx
movslq %r9d, %r8
movslq 24(%rbp), %rax
movl %esi, %r12d
shlq $3, %rax
movq %rax, -48(%rbp) ## 8-byte Spill
shlq $3, %r8
movq %r8, -56(%rbp) ## 8-byte Spill
movq %rdx, -64(%rbp) ## 8-byte Spill
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movsd (%r13), %xmm0 ## xmm0 = mem[0],zero
movl %r15d, %edi
movq %rdx, %rsi
movl %r14d, %edx
movq %rbx, %rcx
movl $1, %r8d
callq _Axpy
movq -64(%rbp), %rdx ## 8-byte Reload
addq -48(%rbp), %rbx ## 8-byte Folded Reload
addq -56(%rbp), %r13 ## 8-byte Folded Reload
decq %r12
jne LBB0_2
LBB0_3:
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 _MyGer ; -- Begin function MyGer
.p2align 2
_MyGer: ; @MyGer
.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
; kill: def $w7 killed $w7 def $x7
; kill: def $w5 killed $w5 def $x5
cmp w1, #1
b.lt LBB0_3
; %bb.1:
mov x19, x6
mov x20, x4
mov x21, x3
mov x22, x2
mov x23, x0
sbfiz x24, x7, #3, #32
sbfiz x25, x5, #3, #32
mov w26, w1
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr d0, [x20]
mov x0, x23
mov x1, x22
mov x2, x21
mov x3, x19
mov w4, #1
bl _Axpy
add x19, x19, x24
add x20, x20, x25
subs x26, x26, #1
b.ne LBB0_2
LBB0_3:
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/67325964.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq 8(%rsi), %rdx
leaq L_.str(%rip), %rsi
xorl %eax, %eax
callq _fprintf
movq ___stderrp@GOTPCREL(%rip), %r15
movq (%r15), %rcx
leaq L_.str.1(%rip), %r14
movl $29, %esi
movl $1, %edx
movq %r14, %rdi
callq _fwrite
movq (%r15), %rdi
movq 8(%rbx), %rdx
leaq L_.str.2(%rip), %rsi
xorl %eax, %eax
callq _fprintf
movq (%r15), %rcx
movl $29, %esi
movl $1, %edx
movq %r14, %rdi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _fwrite ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s\n"
L_.str.1: ## @.str.1
.asciz "----------------------------\n"
L_.str.2: ## @.str.2
.asciz "--> %s...\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
Lloh0:
adrp x8, ___stdoutp@GOTPAGE
Lloh1:
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
Lloh2:
ldr x0, [x8]
ldr x8, [x1, #8]
str x8, [sp]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
bl _fprintf
Lloh5:
adrp x21, ___stderrp@GOTPAGE
Lloh6:
ldr x21, [x21, ___stderrp@GOTPAGEOFF]
ldr x3, [x21]
Lloh7:
adrp x20, l_.str.1@PAGE
Lloh8:
add x20, x20, l_.str.1@PAGEOFF
mov x0, x20
mov w1, #29
mov w2, #1
bl _fwrite
ldr x0, [x21]
ldr x8, [x19, #8]
str x8, [sp]
Lloh9:
adrp x1, l_.str.2@PAGE
Lloh10:
add x1, x1, l_.str.2@PAGEOFF
bl _fprintf
ldr x3, [x21]
mov x0, x20
mov w1, #29
mov w2, #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
add sp, sp, #64
b _fwrite
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpLdrGot 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\n"
l_.str.1: ; @.str.1
.asciz "----------------------------\n"
l_.str.2: ; @.str.2
.asciz "--> %s...\n"
.subsections_via_symbols
| the_stack_data/267494.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _majorityElement ## -- Begin function majorityElement
.p2align 4, 0x90
_majorityElement: ## @majorityElement
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rdi), %eax
cmpl $2, %esi
jl LBB0_7
## %bb.1:
movl %esi, %r8d
decq %r8
cmpl $2, %esi
jne LBB0_3
## %bb.2:
movl $1, %esi
movl $1, %edx
jmp LBB0_5
LBB0_3:
movq %r8, %r10
andq $-2, %r10
negq %r10
movl $1, %r9d
movl $1, %edx
movl $1, %esi
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movl (%rdi,%rdx,4), %r11d
xorl %ecx, %ecx
cmpl %eax, %r11d
sete %cl
leal (%rsi,%rcx,2), %ecx
decl %ecx
testl %ecx, %ecx
cmovel %r11d, %eax
movl 4(%rdi,%rdx,4), %r11d
cmovel %r9d, %ecx
xorl %esi, %esi
cmpl %eax, %r11d
sete %sil
leal (%rcx,%rsi,2), %esi
decl %esi
testl %esi, %esi
cmovel %r11d, %eax
cmovel %r9d, %esi
leaq (%r10,%rdx), %rcx
addq $2, %rcx
addq $2, %rdx
cmpq $1, %rcx
jne LBB0_4
LBB0_5:
testb $1, %r8b
je LBB0_7
## %bb.6:
movl (%rdi,%rdx,4), %ecx
xorl %edx, %edx
cmpl %eax, %ecx
sete %dl
addl %edx, %edx
decl %edx
addl %esi, %edx
cmovel %ecx, %eax
LBB0_7:
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 %rbx
pushq %rax
.cfi_offset %rbx, -24
leaq L_.str(%rip), %rbx
movq %rbx, %rdi
movl $3, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $4, %esi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _majorityElement ; -- Begin function majorityElement
.p2align 2
_majorityElement: ; @majorityElement
.cfi_startproc
; %bb.0:
mov x8, x0
ldr w0, [x0]
cmp w1, #2
b.lt LBB0_3
; %bb.1:
mov w9, w1
add x8, x8, #4
sub x9, x9, #1
mov w10, #1
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr w11, [x8], #4
sub w12, w10, #1
cmp w11, w0
csinc w10, w12, w10, ne
cmp w10, #0
csel w0, w11, w0, eq
csinc w10, w10, wzr, ne
subs x9, x9, #1
b.ne LBB0_2
LBB0_3:
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov w8, #3
str x8, [sp]
Lloh0:
adrp x19, l_.str@PAGE
Lloh1:
add x19, x19, l_.str@PAGEOFF
mov x0, x19
bl _printf
mov w8, #4
str x8, [sp]
mov x0, x19
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 Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d\n"
.subsections_via_symbols
| the_stack_data/36272.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 %r14
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
leaq L_str(%rip), %rdi
callq _puts
leaq L_.str.1(%rip), %rbx
leaq -24(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
leaq L_str.5(%rip), %rdi
callq _puts
leaq -20(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
movl -24(%rbp), %esi
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _printf
cmpl $0, -20(%rbp)
jle LBB0_3
## %bb.1:
leaq L_.str.4(%rip), %r14
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
incl %ebx
movl -24(%rbp), %edx
movl %edx, %ecx
imull %ebx, %ecx
movq %r14, %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _printf
cmpl -20(%rbp), %ebx
jl LBB0_2
LBB0_3:
xorl %eax, %eax
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.3: ## @.str.3
.asciz "The multiplication table of %d is\n"
L_.str.4: ## @.str.4
.asciz "%d*%d=%d\n"
L_str: ## @str
.asciz "Enter n"
L_str.5: ## @str.5
.asciz "Enter m"
.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 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 x0, l_str@PAGE
Lloh1:
add x0, x0, l_str@PAGEOFF
bl _puts
sub x8, x29, #20
str x8, [sp]
Lloh2:
adrp x19, l_.str.1@PAGE
Lloh3:
add x19, x19, l_.str.1@PAGEOFF
mov x0, x19
bl _scanf
Lloh4:
adrp x0, l_str.5@PAGE
Lloh5:
add x0, x0, l_str.5@PAGEOFF
bl _puts
add x8, sp, #24
str x8, [sp]
mov x0, x19
bl _scanf
ldur w8, [x29, #-20]
str x8, [sp]
Lloh6:
adrp x0, l_.str.3@PAGE
Lloh7:
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldr w8, [sp, #24]
cmp w8, #1
b.lt LBB0_3
; %bb.1:
mov w20, #0
Lloh8:
adrp x19, l_.str.4@PAGE
Lloh9:
add x19, x19, l_.str.4@PAGEOFF
LBB0_2: ; =>This Inner Loop Header: Depth=1
add w20, w20, #1
ldur w8, [x29, #-20]
mul w9, w8, w20
stp x20, x8, [sp]
str x9, [sp, #16]
mov x0, x19
bl _printf
ldr w8, [sp, #24]
cmp w20, w8
b.lt LBB0_2
LBB0_3:
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh8, Lloh9
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.3: ; @.str.3
.asciz "The multiplication table of %d is\n"
l_.str.4: ; @.str.4
.asciz "%d*%d=%d\n"
l_str: ; @str
.asciz "Enter n"
l_str.5: ; @str.5
.asciz "Enter m"
.subsections_via_symbols
| the_stack_data/755074.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function dwmmc_ring_setup
_dwmmc_ring_setup: ## @dwmmc_ring_setup
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
testl %ecx, %ecx
je LBB0_1
LBB0_7:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_1:
movl %edx, %r14d
movq %rsi, %rbx
movq %rdi, %r15
movl 4(%rsi), %edx
leaq L_.str(%rip), %rdi
movl %r14d, %esi
callq _dprintf
testl %r14d, %r14d
jle LBB0_7
## %bb.2:
movq (%r15), %rax
leal -1(%r14), %r15d
movq _DES0_OWN@GOTPCREL(%rip), %r8
movq _DES0_DIC@GOTPCREL(%rip), %r9
movl (%r9), %ecx
orl (%r8), %ecx
movq _DES0_CH@GOTPCREL(%rip), %r11
orl (%r11), %ecx
movl %ecx, (%rax)
movl 4(%rbx), %esi
movl %esi, 8(%rax)
movl (%rbx), %esi
movl %esi, 4(%rax)
movq _DES0_FS@GOTPCREL(%rip), %rsi
orl (%rsi), %ecx
movl %ecx, (%rax)
testl %r15d, %r15d
je LBB0_8
## %bb.3:
movl %r14d, %esi
decq %r15
addq $12, %rax
decq %rsi
xorl %ecx, %ecx
movq _DES0_LD@GOTPCREL(%rip), %r10
jmp LBB0_4
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_4 Depth=1
incq %rcx
addq $12, %rax
cmpq %rcx, %rsi
je LBB0_7
LBB0_4: ## =>This Inner Loop Header: Depth=1
movl (%r9), %edi
orl (%r8), %edi
orl (%r11), %edi
movl %edi, (%rax)
movl 12(%rbx,%rcx,8), %edx
movl %edx, 8(%rax)
movl 8(%rbx,%rcx,8), %edx
movl %edx, 4(%rax)
cmpq %rcx, %r15
jne LBB0_6
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movl (%r11), %edx
orl (%r9), %edx
notl %edx
andl %edx, %edi
movl %edi, (%rax)
orl (%r10), %edi
movl %edi, (%rax)
jmp LBB0_6
LBB0_8:
movl (%r11), %edx
orl (%r9), %edx
notl %edx
andl %edx, %ecx
movl %ecx, (%rax)
movq _DES0_LD@GOTPCREL(%rip), %rdx
orl (%rdx), %ecx
movl %ecx, (%rax)
jmp LBB0_7
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "nsegs %d seg0len %lu\n"
.comm _DES0_OWN,4,2 ## @DES0_OWN
.comm _DES0_DIC,4,2 ## @DES0_DIC
.comm _DES0_CH,4,2 ## @DES0_CH
.comm _DES0_FS,4,2 ## @DES0_FS
.comm _DES0_LD,4,2 ## @DES0_LD
.no_dead_strip _dwmmc_ring_setup
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function dwmmc_ring_setup
_dwmmc_ring_setup: ; @dwmmc_ring_setup
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
cbz w3, LBB0_2
LBB0_1:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_2:
mov x20, x2
mov x19, x1
mov x21, x0
ldr w2, [x1, #4]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
mov x1, x20
bl _dprintf
subs w11, w20, #1
b.lt LBB0_1
; %bb.3:
Lloh2:
adrp x9, _DES0_OWN@GOTPAGE
Lloh3:
ldr x9, [x9, _DES0_OWN@GOTPAGEOFF]
ldr x12, [x21]
ldr w10, [x9]
Lloh4:
adrp x8, _DES0_DIC@GOTPAGE
Lloh5:
ldr x8, [x8, _DES0_DIC@GOTPAGEOFF]
ldr w13, [x8]
orr w13, w13, w10
Lloh6:
adrp x10, _DES0_CH@GOTPAGE
Lloh7:
ldr x10, [x10, _DES0_CH@GOTPAGEOFF]
ldr w14, [x10]
orr w13, w13, w14
str w13, [x12]
ldr d0, [x19]
stur d0, [x12, #4]
Lloh8:
adrp x14, _DES0_FS@GOTPAGE
Lloh9:
ldr x14, [x14, _DES0_FS@GOTPAGEOFF]
Lloh10:
ldr w14, [x14]
orr w13, w14, w13
str w13, [x12]
b.eq LBB0_8
; %bb.4:
mov w14, w20
sub x11, x11, #1
add x12, x12, #12
add x13, x19, #8
sub x14, x14, #1
Lloh11:
adrp x15, _DES0_LD@GOTPAGE
Lloh12:
ldr x15, [x15, _DES0_LD@GOTPAGEOFF]
b LBB0_6
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
sub x11, x11, #1
add x12, x12, #12
add x13, x13, #8
subs x14, x14, #1
b.eq LBB0_1
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldr w16, [x9]
ldr w17, [x8]
orr w16, w17, w16
ldr w17, [x10]
orr w16, w16, w17
str w16, [x12]
ldr d0, [x13]
stur d0, [x12, #4]
cbnz x11, LBB0_5
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
ldr w17, [x8]
ldr w0, [x10]
orr w17, w0, w17
bic w16, w16, w17
str w16, [x12]
ldr w17, [x15]
orr w16, w17, w16
str w16, [x12]
b LBB0_5
LBB0_8:
ldr w8, [x8]
ldr w9, [x10]
orr w8, w9, w8
bic w8, w13, w8
str w8, [x12]
Lloh13:
adrp x9, _DES0_LD@GOTPAGE
Lloh14:
ldr x9, [x9, _DES0_LD@GOTPAGEOFF]
Lloh15:
ldr w9, [x9]
orr w8, w9, w8
str w8, [x12]
b LBB0_1
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "nsegs %d seg0len %lu\n"
.comm _DES0_OWN,4,2 ; @DES0_OWN
.comm _DES0_DIC,4,2 ; @DES0_DIC
.comm _DES0_CH,4,2 ; @DES0_CH
.comm _DES0_FS,4,2 ; @DES0_FS
.comm _DES0_LD,4,2 ; @DES0_LD
.no_dead_strip _dwmmc_ring_setup
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/mmc/host/extr_dwmmc.c_dwmmc_ring_setup.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function join_running_log_trans
_join_running_log_trans: ## @join_running_log_trans
.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 _ENOENT@GOTPCREL(%rip), %r12
movl (%r12), %r15d
xorl %r14d, %r14d
xorl %eax, %eax
callq _smp_mb
cmpq $0, 8(%rbx)
je LBB0_1
## %bb.2:
movq %rbx, %rdi
callq _mutex_lock
cmpq $0, 8(%rbx)
je LBB0_3
## %bb.4:
leaq 4(%rbx), %rdi
callq _atomic_inc
xorl %r14d, %r14d
jmp LBB0_5
LBB0_1:
subl (%r12), %r14d
jmp LBB0_6
LBB0_3:
negl %r15d
movl %r15d, %r14d
LBB0_5:
movq %rbx, %rdi
callq _mutex_unlock
LBB0_6:
movl %r14d, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ENOENT,4,2 ## @ENOENT
.no_dead_strip _join_running_log_trans
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function join_running_log_trans
_join_running_log_trans: ; @join_running_log_trans
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
Lloh0:
adrp x21, _ENOENT@GOTPAGE
Lloh1:
ldr x21, [x21, _ENOENT@GOTPAGEOFF]
ldr w20, [x21]
bl _smp_mb
ldr x8, [x19, #8]
cbz x8, LBB0_3
; %bb.1:
mov x0, x19
bl _mutex_lock
ldr x8, [x19, #8]
cbz x8, LBB0_4
; %bb.2:
add x0, x19, #4
bl _atomic_inc
mov w20, #0
b LBB0_5
LBB0_3:
ldr w8, [x21]
neg w20, w8
b LBB0_6
LBB0_4:
neg w20, w20
LBB0_5:
mov x0, x19
bl _mutex_unlock
LBB0_6:
mov x0, x20
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _ENOENT,4,2 ; @ENOENT
.no_dead_strip _join_running_log_trans
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/fs/btrfs/extr_tree-log.c_join_running_log_trans.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_str(%rip), %rdi
callq _puts
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_str: ## @str
.asciz "Primeiro programa em C!"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x0, l_str@PAGE
Lloh1:
add x0, x0, l_str@PAGEOFF
bl _puts
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_str: ; @str
.asciz "Primeiro programa em C!"
.subsections_via_symbols
| the_stack_data/81375.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
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
mov w0, #0
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/147023.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ch7017_mode_valid
_ch7017_mode_valid: ## @ch7017_mode_valid
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpl $160001, (%rsi) ## imm = 0x27101
jl LBB0_1
## %bb.2:
movq _MODE_CLOCK_HIGH@GOTPCREL(%rip), %rax
jmp LBB0_3
LBB0_1:
movq _MODE_OK@GOTPCREL(%rip), %rax
LBB0_3:
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MODE_CLOCK_HIGH,4,2 ## @MODE_CLOCK_HIGH
.comm _MODE_OK,4,2 ## @MODE_OK
.no_dead_strip _ch7017_mode_valid
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ch7017_mode_valid
_ch7017_mode_valid: ; @ch7017_mode_valid
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _MODE_CLOCK_HIGH@GOTPAGE
Lloh1:
ldr x8, [x8, _MODE_CLOCK_HIGH@GOTPAGEOFF]
Lloh2:
adrp x9, _MODE_OK@GOTPAGE
Lloh3:
ldr x9, [x9, _MODE_OK@GOTPAGEOFF]
ldr w10, [x1]
mov w11, #28928
movk w11, #2, lsl #16
cmp w10, w11
csel x8, x8, x9, gt
ldr w0, [x8]
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _MODE_CLOCK_HIGH,4,2 ; @MODE_CLOCK_HIGH
.comm _MODE_OK,4,2 ; @MODE_OK
.no_dead_strip _ch7017_mode_valid
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/i915/display/extr_dvo_ch7017.c_ch7017_mode_valid.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
leaq L_.str(%rip), %rdi
leaq -16(%rbp), %rsi
leaq -12(%rbp), %rdx
leaq -8(%rbp), %rcx
leaq -4(%rbp), %r8
xorl %eax, %eax
callq _scanf
movl -16(%rbp), %edi
movl -12(%rbp), %esi
movl -8(%rbp), %edx
movl -4(%rbp), %ecx
callq _find_nth_term
leaq L_.str.1(%rip), %rdi
movl %eax, %esi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _find_nth_term ## -- Begin function find_nth_term
.p2align 4, 0x90
_find_nth_term: ## @find_nth_term
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, -44(%rbp) ## 4-byte Spill
movl %edx, -52(%rbp) ## 4-byte Spill
movl %esi, -48(%rbp) ## 4-byte Spill
movl %edi, %r13d
xorl %ebx, %ebx
movl -48(%rbp), %r12d ## 4-byte Reload
movl -52(%rbp), %r14d ## 4-byte Reload
movl -44(%rbp), %r15d ## 4-byte Reload
cmpl $1, %r13d
je LBB1_2
.p2align 4, 0x90
LBB1_3: ## =>This Inner Loop Header: Depth=1
cmpl $2, %r13d
je LBB1_4
## %bb.5: ## in Loop: Header=BB1_3 Depth=1
cmpl $3, %r13d
je LBB1_7
## %bb.6: ## in Loop: Header=BB1_3 Depth=1
leal -1(%r13), %edi
movl %r12d, %esi
movl %r14d, %edx
movl %r15d, %ecx
callq _find_nth_term
movl %ebx, -56(%rbp) ## 4-byte Spill
movl %eax, %ebx
leal -2(%r13), %edi
movl %r12d, %esi
movl %r14d, %edx
movl %r15d, %ecx
callq _find_nth_term
addl -56(%rbp), %ebx ## 4-byte Folded Reload
addl %eax, %ebx
addl $-3, %r13d
cmpl $1, %r13d
jne LBB1_3
LBB1_2:
movl -48(%rbp), %eax ## 4-byte Reload
jmp LBB1_8
LBB1_4:
movl -52(%rbp), %eax ## 4-byte Reload
jmp LBB1_8
LBB1_7:
movl -44(%rbp), %eax ## 4-byte Reload
LBB1_8:
addl %ebx, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d %d %d %d"
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 _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
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
sub x8, x29, #16
sub x9, x29, #12
stp x9, x8, [sp, #16]
sub x8, x29, #8
sub x9, x29, #4
stp x9, x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldp w1, w0, [x29, #-8]
ldp w3, w2, [x29, #-16]
bl _find_nth_term
; kill: def $w0 killed $w0 def $x0
str x0, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _find_nth_term ; -- Begin function find_nth_term
.p2align 2
_find_nth_term: ; @find_nth_term
.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, x3
mov x20, x2
mov x21, x1
mov x22, x0
mov w25, #0
subs w0, w22, #1
b.eq LBB1_4
LBB1_1: ; =>This Inner Loop Header: Depth=1
subs w23, w22, #2
b.eq LBB1_5
; %bb.2: ; in Loop: Header=BB1_1 Depth=1
subs w22, w22, #3
b.eq LBB1_6
; %bb.3: ; in Loop: Header=BB1_1 Depth=1
mov x1, x21
mov x2, x20
mov x3, x19
bl _find_nth_term
mov x24, x0
mov x0, x23
mov x1, x21
mov x2, x20
mov x3, x19
bl _find_nth_term
add w8, w24, w25
add w25, w8, w0
subs w0, w22, #1
b.ne LBB1_1
LBB1_4:
mov x19, x21
b LBB1_6
LBB1_5:
mov x19, x20
LBB1_6:
add w0, w19, w25
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
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d %d %d %d"
l_.str.1: ; @.str.1
.asciz "%d"
.subsections_via_symbols
| the_stack_data/129826683.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___pm_runtime_resume ## -- Begin function __pm_runtime_resume
.p2align 4, 0x90
___pm_runtime_resume: ## @__pm_runtime_resume
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r14d
movq %rdi, %r15
movq _RPM_ASYNC@GOTPCREL(%rip), %rax
xorl %edi, %edi
testl %esi, (%rax)
jne LBB0_3
## %bb.1:
cmpl $0, 16(%r15)
jne LBB0_3
## %bb.2:
movq (%r15), %rax
movq _RPM_ACTIVE@GOTPCREL(%rip), %rcx
xorl %edi, %edi
cmpq (%rcx), %rax
setne %dil
LBB0_3:
callq _might_sleep_if
movq _RPM_GET_PUT@GOTPCREL(%rip), %rax
testl %r14d, (%rax)
je LBB0_5
## %bb.4:
leaq 12(%r15), %rdi
callq _atomic_inc
LBB0_5:
leaq 8(%r15), %rbx
movq %rbx, %rdi
callq _spin_lock_irqsave
movq %r15, %rdi
movl %r14d, %esi
callq _rpm_resume
movl %eax, %r14d
movq %rbx, %rdi
callq _spin_unlock_irqrestore
movl %r14d, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _RPM_ASYNC,4,2 ## @RPM_ASYNC
.comm _RPM_ACTIVE,8,3 ## @RPM_ACTIVE
.comm _RPM_GET_PUT,4,2 ## @RPM_GET_PUT
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___pm_runtime_resume ; -- Begin function __pm_runtime_resume
.p2align 2
___pm_runtime_resume: ; @__pm_runtime_resume
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
Lloh0:
adrp x8, _RPM_ASYNC@GOTPAGE
Lloh1:
ldr x8, [x8, _RPM_ASYNC@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
tst w8, w1
b.ne LBB0_2
; %bb.1:
ldr w8, [x20, #16]
cbz w8, LBB0_6
LBB0_2:
mov w0, #0
LBB0_3:
bl _might_sleep_if
Lloh3:
adrp x8, _RPM_GET_PUT@GOTPAGE
Lloh4:
ldr x8, [x8, _RPM_GET_PUT@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
tst w8, w19
b.eq LBB0_5
; %bb.4:
add x0, x20, #12
bl _atomic_inc
LBB0_5:
add x21, x20, #8
mov x0, x21
bl _spin_lock_irqsave
mov x0, x20
mov x1, x19
bl _rpm_resume
mov x19, x0
mov x0, x21
bl _spin_unlock_irqrestore
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_6:
ldr x8, [x20]
Lloh6:
adrp x9, _RPM_ACTIVE@GOTPAGE
Lloh7:
ldr x9, [x9, _RPM_ACTIVE@GOTPAGEOFF]
Lloh8:
ldr x9, [x9]
cmp x8, x9
cset w0, ne
b LBB0_3
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _RPM_ASYNC,4,2 ; @RPM_ASYNC
.comm _RPM_ACTIVE,8,3 ; @RPM_ACTIVE
.comm _RPM_GET_PUT,4,2 ; @RPM_GET_PUT
.subsections_via_symbols
| AnghaBench/linux/drivers/base/power/extr_runtime.c___pm_runtime_resume.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
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
leaq L_.str.2(%rip), %r14
leaq L_.str(%rip), %rbx
leaq L_.str.1(%rip), %r15
movq %r14, %rdi
movq %rbx, %rsi
movq %r15, %rdx
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
callq _puts
movq %r15, %rdi
callq _puts
movq %r14, %rdi
movq %rbx, %rsi
movq %r15, %rdx
xorl %eax, %eax
callq _printf
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Andy"
L_.str.1: ## @.str.1
.asciz "Jin"
L_.str.2: ## @.str.2
.asciz "%s %s\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
Lloh0:
adrp x19, l_.str.1@PAGE
Lloh1:
add x19, x19, l_.str.1@PAGEOFF
Lloh2:
adrp x20, l_.str@PAGE
Lloh3:
add x20, x20, l_.str@PAGEOFF
stp x20, x19, [sp]
Lloh4:
adrp x21, l_.str.2@PAGE
Lloh5:
add x21, x21, l_.str.2@PAGEOFF
mov x0, x21
bl _printf
mov x0, x20
bl _puts
mov x0, x19
bl _puts
stp x20, x19, [sp]
mov x0, x21
bl _printf
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Andy"
l_.str.1: ; @.str.1
.asciz "Jin"
l_.str.2: ; @.str.2
.asciz "%s %s\n"
.subsections_via_symbols
| the_stack_data/139740.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function next_module
_next_module: ## @next_module
.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 _gscroll@GOTPCREL(%rip), %r14
movl (%r14), %edi
callq _get_next_module
cmpl $-1, %eax
je LBB0_1
## %bb.2:
movl %eax, (%r14)
movq _conf@GOTPCREL(%rip), %rcx
xorl %ebx, %ebx
cmpl $0, (%rcx)
jne LBB0_4
## %bb.3:
movl %eax, %edi
callq _get_module_index
movq _DASH_COLLAPSED@GOTPCREL(%rip), %rcx
imull (%rcx), %eax
movl %eax, 4(%r14)
jmp LBB0_4
LBB0_1:
movl $1, %ebx
LBB0_4:
movl %ebx, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _gscroll,8,2 ## @gscroll
.comm _conf,4,2 ## @conf
.comm _DASH_COLLAPSED,4,2 ## @DASH_COLLAPSED
.no_dead_strip _next_module
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function next_module
_next_module: ; @next_module
.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, _gscroll@GOTPAGE
Lloh1:
ldr x19, [x19, _gscroll@GOTPAGEOFF]
ldr w0, [x19]
bl _get_next_module
cmn w0, #1
b.eq LBB0_3
; %bb.1:
str w0, [x19]
Lloh2:
adrp x8, _conf@GOTPAGE
Lloh3:
ldr x8, [x8, _conf@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
cbz w8, LBB0_4
; %bb.2:
mov w0, #0
b LBB0_5
LBB0_3:
mov w0, #1
b LBB0_5
LBB0_4:
bl _get_module_index
mov x8, x0
mov w0, #0
Lloh5:
adrp x9, _DASH_COLLAPSED@GOTPAGE
Lloh6:
ldr x9, [x9, _DASH_COLLAPSED@GOTPAGEOFF]
Lloh7:
ldr w9, [x9]
mul w8, w9, w8
str w8, [x19, #4]
LBB0_5:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _gscroll,8,2 ; @gscroll
.comm _conf,4,2 ; @conf
.comm _DASH_COLLAPSED,4,2 ; @DASH_COLLAPSED
.no_dead_strip _next_module
.subsections_via_symbols
| AnghaBench/goaccess/src/extr_goaccess.c_next_module.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _gs_indexbuffer_destroy ## -- Begin function gs_indexbuffer_destroy
.p2align 4, 0x90
_gs_indexbuffer_destroy: ## @gs_indexbuffer_destroy
.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 _thread_graphics@GOTPCREL(%rip), %rax
movq (%rax), %r14
leaq L_.str(%rip), %rdi
callq _gs_valid
testq %rbx, %rbx
je LBB0_2
## %bb.1:
testl %eax, %eax
je LBB0_2
## %bb.3:
movq %rbx, %rdi
movq %r14, %rax
popq %rbx
popq %r14
popq %rbp
jmpq *(%rax) ## TAILCALL
LBB0_2:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _thread_graphics,8,3 ## @thread_graphics
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "gs_indexbuffer_destroy"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _gs_indexbuffer_destroy ; -- Begin function gs_indexbuffer_destroy
.p2align 2
_gs_indexbuffer_destroy: ; @gs_indexbuffer_destroy
.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, _thread_graphics@GOTPAGE
Lloh1:
ldr x8, [x8, _thread_graphics@GOTPAGEOFF]
Lloh2:
ldr x20, [x8]
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
bl _gs_valid
cbz x19, LBB0_3
; %bb.1:
cbz w0, LBB0_3
; %bb.2:
ldr x1, [x20]
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
br x1
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _thread_graphics,8,3 ; @thread_graphics
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "gs_indexbuffer_destroy"
.subsections_via_symbols
| AnghaBench/obs-studio/libobs/graphics/extr_graphics.c_gs_indexbuffer_destroy.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function _scsih_sas_topology_change_event
__scsih_sas_topology_change_event: ## @_scsih_sas_topology_change_event
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %rbx
movq 8(%rsi), %r15
movq _MPT_DEBUG_EVENT_WORK_TASK@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, (%rdi)
je LBB0_2
## %bb.1:
movq %rbx, %rdi
movq %r15, %rsi
callq __scsih_sas_topology_change_event_debug
LBB0_2:
cmpq $0, 8(%rbx)
jne LBB0_40
## %bb.3:
cmpq $0, 32(%rbx)
jne LBB0_40
## %bb.4:
cmpq $0, 24(%rbx)
jne LBB0_40
## %bb.5:
cmpq $0, 48(%rbx)
je LBB0_6
## %bb.7:
movq %rbx, %rdi
callq __scsih_sas_host_refresh
cmpq $0, (%r14)
jne LBB0_9
jmp LBB0_10
LBB0_6:
movq %rbx, %rdi
callq __scsih_sas_host_add
cmpq $0, (%r14)
je LBB0_10
LBB0_9:
leaq L_.str(%rip), %rsi
movq %rbx, %rdi
callq _ioc_info
movq %rbx, %rdi
movl %eax, %esi
callq _dewtprintk
LBB0_40:
xorl %eax, %eax
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_10:
movl 32(%r15), %edi
callq _le16_to_cpu
movq %rax, %r13
movq (%r15), %rax
movq _MPI2_EVENT_SAS_TOPO_ES_ADDED@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_12
## %bb.11:
movq %rbx, %rdi
movq %r13, %rsi
callq __scsih_expander_add
testq %rax, %rax
jne LBB0_40
LBB0_12:
leaq 40(%rbx), %r12
movq %r12, %rdi
callq _spin_lock_irqsave
movq %rbx, %rdi
movq %r13, %rsi
callq _mpt3sas_scsih_expander_find_by_handle
testq %rax, %rax
je LBB0_14
## %bb.13:
leaq 8(%rax), %rcx
movq %rax, -88(%rbp) ## 8-byte Spill
movq (%rax), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
jmp LBB0_16
LBB0_14:
movq 48(%rbx), %rcx
cmpq %rcx, %r13
jge LBB0_41
## %bb.15:
movq %rcx, -64(%rbp) ## 8-byte Spill
movq %rax, -88(%rbp) ## 8-byte Spill
leaq 56(%rbx), %rcx
LBB0_16:
movl (%rcx), %eax
movl %eax, -44(%rbp) ## 4-byte Spill
movq %r12, %rdi
callq _spin_unlock_irqrestore
cmpl $0, 8(%r15)
movq -64(%rbp), %r10 ## 8-byte Reload
jle LBB0_37
## %bb.17:
xorl %r12d, %r12d
xorl %r13d, %r13d
jmp LBB0_18
LBB0_41:
movq %r12, %rdi
callq _spin_unlock_irqrestore
jmp LBB0_40
LBB0_34: ## in Loop: Header=BB0_18 Depth=1
movq %rbx, %rdi
movq %r9, %rsi
callq __scsih_device_remove_by_handle
LBB0_35: ## in Loop: Header=BB0_18 Depth=1
movq -64(%rbp), %r10 ## 8-byte Reload
LBB0_36: ## in Loop: Header=BB0_18 Depth=1
incq %r13
movslq 8(%r15), %rax
addq $16, %r12
cmpq %rax, %r13
jge LBB0_37
LBB0_18: ## =>This Inner Loop Header: Depth=1
cmpq $0, (%r14)
jne LBB0_9
## %bb.19: ## in Loop: Header=BB0_18 Depth=1
cmpq $0, 32(%rbx)
jne LBB0_40
## %bb.20: ## in Loop: Header=BB0_18 Depth=1
cmpq $0, 24(%rbx)
jne LBB0_40
## %bb.21: ## in Loop: Header=BB0_18 Depth=1
movq 16(%r15), %rsi
addq %r13, %rsi
cmpq %r10, %rsi
jge LBB0_36
## %bb.22: ## in Loop: Header=BB0_18 Depth=1
movq 24(%r15), %rdi
movq (%rdi,%r12), %rcx
movq _MPI2_EVENT_SAS_TOPO_RC_MASK@GOTPCREL(%rip), %rdx
movq (%rdx), %rax
andq %rcx, %rax
movq _MPI2_EVENT_SAS_TOPO_PHYSTATUS_VACANT@GOTPCREL(%rip), %rdx
movslq (%rdx), %rdx
testq %rdx, %rcx
je LBB0_24
## %bb.23: ## in Loop: Header=BB0_18 Depth=1
cmpq $128, %rax
jne LBB0_36
LBB0_24: ## in Loop: Header=BB0_18 Depth=1
movl 12(%rdi,%r12), %edi
movq %rsi, -72(%rbp) ## 8-byte Spill
movq %rax, -56(%rbp) ## 8-byte Spill
callq _le16_to_cpu
movq -56(%rbp), %rsi ## 8-byte Reload
movq -72(%rbp), %rcx ## 8-byte Reload
movq -64(%rbp), %r10 ## 8-byte Reload
testq %rax, %rax
je LBB0_36
## %bb.25: ## in Loop: Header=BB0_18 Depth=1
movq %rax, %r9
cmpq $128, %rsi
je LBB0_34
## %bb.26: ## in Loop: Header=BB0_18 Depth=1
movq 24(%r15), %rax
movl 8(%rax,%r12), %eax
movl %eax, %edx
sarl $4, %edx
movslq %edx, %r8
cmpq $129, %rsi
je LBB0_32
## %bb.27: ## in Loop: Header=BB0_18 Depth=1
cmpq $130, %rsi
jne LBB0_36
## %bb.28: ## in Loop: Header=BB0_18 Depth=1
cmpq $0, 8(%rbx)
jne LBB0_36
## %bb.29: ## in Loop: Header=BB0_18 Depth=1
andl $15, %eax
cmpq %rax, %r8
je LBB0_36
## %bb.30: ## in Loop: Header=BB0_18 Depth=1
movq %rbx, %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movq %r9, %rdx
movq %r9, -56(%rbp) ## 8-byte Spill
movq %r8, -80(%rbp) ## 8-byte Spill
callq _mpt3sas_transport_update_links
movq -80(%rbp), %r8 ## 8-byte Reload
movq -56(%rbp), %rdx ## 8-byte Reload
movq -72(%rbp), %rcx ## 8-byte Reload
movq -64(%rbp), %r10 ## 8-byte Reload
movq _MPI2_SAS_NEG_LINK_RATE_1_5@GOTPCREL(%rip), %rax
cmpq %r8, (%rax)
jg LBB0_36
## %bb.31: ## in Loop: Header=BB0_18 Depth=1
movq %rbx, %rdi
movl -44(%rbp), %esi ## 4-byte Reload
callq __scsih_check_device
movl 16(%rbx), %esi
movq -56(%rbp), %rdi ## 8-byte Reload
callq _test_bit
movq -80(%rbp), %r8 ## 8-byte Reload
movq -56(%rbp), %r9 ## 8-byte Reload
movq -72(%rbp), %rcx ## 8-byte Reload
movq -64(%rbp), %r10 ## 8-byte Reload
testl %eax, %eax
je LBB0_36
LBB0_32: ## in Loop: Header=BB0_18 Depth=1
cmpq $0, 8(%rbx)
jne LBB0_36
## %bb.33: ## in Loop: Header=BB0_18 Depth=1
movq %rbx, %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movq %r9, %rdx
movq %r9, -56(%rbp) ## 8-byte Spill
callq _mpt3sas_transport_update_links
movq %rbx, %rdi
movq -56(%rbp), %rsi ## 8-byte Reload
movq -72(%rbp), %rdx ## 8-byte Reload
xorl %ecx, %ecx
callq __scsih_add_device
jmp LBB0_35
LBB0_37:
movq (%r15), %rax
movq _MPI2_EVENT_SAS_TOPO_ES_NOT_RESPONDING@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_40
## %bb.38:
cmpq $0, -88(%rbp) ## 8-byte Folded Reload
je LBB0_40
## %bb.39:
movq %rbx, %rdi
movl -44(%rbp), %esi ## 4-byte Reload
callq _mpt3sas_expander_remove
jmp LBB0_40
.cfi_endproc
## -- End function
.comm _MPT_DEBUG_EVENT_WORK_TASK,4,2 ## @MPT_DEBUG_EVENT_WORK_TASK
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "ignoring expander event\n"
.comm _MPI2_EVENT_SAS_TOPO_ES_ADDED,8,3 ## @MPI2_EVENT_SAS_TOPO_ES_ADDED
.comm _MPI2_EVENT_SAS_TOPO_RC_MASK,8,3 ## @MPI2_EVENT_SAS_TOPO_RC_MASK
.comm _MPI2_EVENT_SAS_TOPO_PHYSTATUS_VACANT,4,2 ## @MPI2_EVENT_SAS_TOPO_PHYSTATUS_VACANT
.comm _MPI2_SAS_NEG_LINK_RATE_1_5,8,3 ## @MPI2_SAS_NEG_LINK_RATE_1_5
.comm _MPI2_EVENT_SAS_TOPO_ES_NOT_RESPONDING,8,3 ## @MPI2_EVENT_SAS_TOPO_ES_NOT_RESPONDING
.no_dead_strip __scsih_sas_topology_change_event
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function _scsih_sas_topology_change_event
__scsih_sas_topology_change_event: ; @_scsih_sas_topology_change_event
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x20, x1
mov x19, x0
ldr x21, [x1, #8]
ldr w8, [x0]
Lloh0:
adrp x9, _MPT_DEBUG_EVENT_WORK_TASK@GOTPAGE
Lloh1:
ldr x9, [x9, _MPT_DEBUG_EVENT_WORK_TASK@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_2
; %bb.1:
mov x0, x19
mov x1, x21
bl __scsih_sas_topology_change_event_debug
LBB0_2:
ldr x8, [x19, #8]
cbnz x8, LBB0_9
; %bb.3:
ldr x8, [x19, #32]
cbnz x8, LBB0_9
; %bb.4:
ldr x8, [x19, #24]
cbnz x8, LBB0_9
; %bb.5:
ldr x8, [x19, #48]
cbz x8, LBB0_7
; %bb.6:
mov x0, x19
bl __scsih_sas_host_refresh
ldr x8, [x20]
cbnz x8, LBB0_8
b LBB0_10
LBB0_7:
mov x0, x19
bl __scsih_sas_host_add
ldr x8, [x20]
cbz x8, LBB0_10
LBB0_8:
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _ioc_info
mov x1, x0
mov x0, x19
bl _dewtprintk
LBB0_9:
mov w0, #0
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
LBB0_10:
ldr w0, [x21, #32]
bl _le16_to_cpu
mov x23, x0
ldr x8, [x21]
Lloh5:
adrp x9, _MPI2_EVENT_SAS_TOPO_ES_ADDED@GOTPAGE
Lloh6:
ldr x9, [x9, _MPI2_EVENT_SAS_TOPO_ES_ADDED@GOTPAGEOFF]
Lloh7:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_12
; %bb.11:
mov x0, x19
mov x1, x23
bl __scsih_expander_add
cbnz x0, LBB0_9
LBB0_12:
add x24, x19, #40
mov x0, x24
bl _spin_lock_irqsave
mov x0, x19
mov x1, x23
bl _mpt3sas_scsih_expander_find_by_handle
mov x22, x0
cbz x0, LBB0_14
; %bb.13:
mov x8, x22
ldr x27, [x8], #8
b LBB0_16
LBB0_14:
ldr x27, [x19, #48]
cmp x23, x27
b.ge LBB0_18
; %bb.15:
add x8, x19, #56
LBB0_16:
ldr w8, [x8]
str w8, [sp, #12] ; 4-byte Folded Spill
mov x0, x24
bl _spin_unlock_irqrestore
ldr w8, [x21, #8]
cmp w8, #1
b.lt LBB0_37
; %bb.17:
mov x28, #0
mov x23, #0
b LBB0_21
LBB0_18:
mov x0, x24
bl _spin_unlock_irqrestore
b LBB0_9
LBB0_19: ; in Loop: Header=BB0_21 Depth=1
mov x0, x19
mov x1, x25
bl __scsih_device_remove_by_handle
LBB0_20: ; in Loop: Header=BB0_21 Depth=1
add x23, x23, #1
ldrsw x8, [x21, #8]
add x28, x28, #16
cmp x23, x8
b.ge LBB0_37
LBB0_21: ; =>This Inner Loop Header: Depth=1
ldr x8, [x20]
cbnz x8, LBB0_8
; %bb.22: ; in Loop: Header=BB0_21 Depth=1
ldr x8, [x19, #32]
cbnz x8, LBB0_9
; %bb.23: ; in Loop: Header=BB0_21 Depth=1
ldr x8, [x19, #24]
cbnz x8, LBB0_9
; %bb.24: ; in Loop: Header=BB0_21 Depth=1
ldr x8, [x21, #16]
add x24, x23, x8
cmp x24, x27
b.ge LBB0_20
; %bb.25: ; in Loop: Header=BB0_21 Depth=1
ldr x8, [x21, #24]
ldr x9, [x8, x28]
Lloh8:
adrp x10, _MPI2_EVENT_SAS_TOPO_RC_MASK@GOTPAGE
Lloh9:
ldr x10, [x10, _MPI2_EVENT_SAS_TOPO_RC_MASK@GOTPAGEOFF]
Lloh10:
ldr x10, [x10]
and x26, x10, x9
Lloh11:
adrp x10, _MPI2_EVENT_SAS_TOPO_PHYSTATUS_VACANT@GOTPAGE
Lloh12:
ldr x10, [x10, _MPI2_EVENT_SAS_TOPO_PHYSTATUS_VACANT@GOTPAGEOFF]
Lloh13:
ldrsw x10, [x10]
tst x9, x10
b.eq LBB0_27
; %bb.26: ; in Loop: Header=BB0_21 Depth=1
cmp x26, #128
b.ne LBB0_20
LBB0_27: ; in Loop: Header=BB0_21 Depth=1
add x8, x8, x28
ldr w0, [x8, #12]
bl _le16_to_cpu
cbz x0, LBB0_20
; %bb.28: ; in Loop: Header=BB0_21 Depth=1
mov x25, x0
cmp x26, #128
b.eq LBB0_19
; %bb.29: ; in Loop: Header=BB0_21 Depth=1
ldr x8, [x21, #24]
add x8, x8, x28
ldr w8, [x8, #8]
mov x9, x8
sbfx x4, x9, #4, #28
cmp x26, #129
b.eq LBB0_35
; %bb.30: ; in Loop: Header=BB0_21 Depth=1
cmp x26, #130
b.ne LBB0_20
; %bb.31: ; in Loop: Header=BB0_21 Depth=1
ldr x9, [x19, #8]
cbnz x9, LBB0_20
; %bb.32: ; in Loop: Header=BB0_21 Depth=1
and x8, x8, #0xf
cmp x4, x8
b.eq LBB0_20
; %bb.33: ; in Loop: Header=BB0_21 Depth=1
mov x0, x19
ldr w1, [sp, #12] ; 4-byte Folded Reload
mov x2, x25
mov x3, x24
mov x26, x4
bl _mpt3sas_transport_update_links
mov x9, x26
Lloh14:
adrp x8, _MPI2_SAS_NEG_LINK_RATE_1_5@GOTPAGE
Lloh15:
ldr x8, [x8, _MPI2_SAS_NEG_LINK_RATE_1_5@GOTPAGEOFF]
Lloh16:
ldr x8, [x8]
cmp x8, x26
b.gt LBB0_20
; %bb.34: ; in Loop: Header=BB0_21 Depth=1
mov x0, x19
ldr w1, [sp, #12] ; 4-byte Folded Reload
mov x2, x25
mov x3, x24
mov x4, x26
bl __scsih_check_device
ldr w1, [x19, #16]
mov x0, x25
bl _test_bit
mov x4, x26
cbz w0, LBB0_20
LBB0_35: ; in Loop: Header=BB0_21 Depth=1
ldr x8, [x19, #8]
cbnz x8, LBB0_20
; %bb.36: ; in Loop: Header=BB0_21 Depth=1
mov x0, x19
ldr w1, [sp, #12] ; 4-byte Folded Reload
mov x2, x25
mov x3, x24
bl _mpt3sas_transport_update_links
mov x0, x19
mov x1, x25
mov x2, x24
mov w3, #0
bl __scsih_add_device
b LBB0_20
LBB0_37:
ldr x8, [x21]
Lloh17:
adrp x9, _MPI2_EVENT_SAS_TOPO_ES_NOT_RESPONDING@GOTPAGE
Lloh18:
ldr x9, [x9, _MPI2_EVENT_SAS_TOPO_ES_NOT_RESPONDING@GOTPAGEOFF]
Lloh19:
ldr x9, [x9]
cmp x8, x9
ccmp x22, #0, #4, eq
b.eq LBB0_9
; %bb.38:
mov x0, x19
ldr w1, [sp, #12] ; 4-byte Folded Reload
bl _mpt3sas_expander_remove
b LBB0_9
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.cfi_endproc
; -- End function
.comm _MPT_DEBUG_EVENT_WORK_TASK,4,2 ; @MPT_DEBUG_EVENT_WORK_TASK
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "ignoring expander event\n"
.comm _MPI2_EVENT_SAS_TOPO_ES_ADDED,8,3 ; @MPI2_EVENT_SAS_TOPO_ES_ADDED
.comm _MPI2_EVENT_SAS_TOPO_RC_MASK,8,3 ; @MPI2_EVENT_SAS_TOPO_RC_MASK
.comm _MPI2_EVENT_SAS_TOPO_PHYSTATUS_VACANT,4,2 ; @MPI2_EVENT_SAS_TOPO_PHYSTATUS_VACANT
.comm _MPI2_SAS_NEG_LINK_RATE_1_5,8,3 ; @MPI2_SAS_NEG_LINK_RATE_1_5
.comm _MPI2_EVENT_SAS_TOPO_ES_NOT_RESPONDING,8,3 ; @MPI2_EVENT_SAS_TOPO_ES_NOT_RESPONDING
.no_dead_strip __scsih_sas_topology_change_event
.subsections_via_symbols
| AnghaBench/linux/drivers/scsi/mpt3sas/extr_mpt3sas_scsih.c__scsih_sas_topology_change_event.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function coshf
LCPI0_0:
.quad 0x3ff0000000000000 ## double 1
LCPI0_1:
.quad 0x3fe0000000000000 ## double 0.5
.section __TEXT,__text,regular,pure_instructions
.globl _coshf
.p2align 4, 0x90
_coshf: ## @coshf
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _expf
cvtss2sd %xmm0, %xmm0
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
divsd %xmm0, %xmm1
addsd %xmm0, %xmm1
mulsd LCPI0_1(%rip), %xmm1
xorps %xmm0, %xmm0
cvtsd2ss %xmm1, %xmm0
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 _coshf ; -- Begin function coshf
.p2align 2
_coshf: ; @coshf
.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 _expf
fcvt d0, s0
fmov d1, #1.00000000
fdiv d1, d1, d0
fadd d0, d1, d0
fmov d1, #0.50000000
fmul d0, d0, d1
fcvt s0, d0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/133451.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function rgephy_service
_rgephy_service: ## @rgephy_service
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r14d
movq %rsi, %r15
movq %rdi, %r12
movq 24(%rsi), %rbx
cmpl $128, %edx
je LBB0_5
## %bb.1:
cmpl $130, %r14d
jne LBB0_32
## %bb.2:
movq %r12, %rdi
callq _PHY_RESET
movq _RGEPHY_MII_ANAR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r12, %rdi
callq _PHY_READ
movq _RGEPHY_ANAR_PC@GOTPCREL(%rip), %rsi
movq _RGEPHY_ANAR_ASP@GOTPCREL(%rip), %rdx
movq %rbx, %rcx
movl (%rdx), %r13d
orl (%rsi), %r13d
movq _RGEPHY_ANAR_TX_FD@GOTPCREL(%rip), %rdx
orl (%rdx), %r13d
movq _RGEPHY_ANAR_TX@GOTPCREL(%rip), %rdx
orl (%rdx), %r13d
movl %eax, %ebx
movq _RGEPHY_ANAR_10_FD@GOTPCREL(%rip), %rax
orl (%rax), %r13d
movq _RGEPHY_ANAR_10@GOTPCREL(%rip), %rax
orl (%rax), %r13d
movq %rcx, -56(%rbp) ## 8-byte Spill
movl (%rcx), %edi
callq _IFM_SUBTYPE
## kill: def $eax killed $eax def $rax
addl $-131, %eax
cmpl $4, %eax
ja LBB0_18
## %bb.3:
notl %r13d
andl %r13d, %ebx
movq _RGEPHY_S1000@GOTPCREL(%rip), %rcx
leaq LJTI0_0(%rip), %rdx
movslq (%rdx,%rax,4), %rax
addq %rdx, %rax
jmpq *%rax
LBB0_4:
movq _MII_BMCR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _BMCR_ISO@GOTPCREL(%rip), %rax
movq _BMCR_PDOWN@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
orl (%rax), %edx
movq %r12, %rdi
jmp LBB0_31
LBB0_5:
movl (%rbx), %edi
callq _IFM_SUBTYPE
cmpl $132, %eax
jne LBB0_8
## %bb.6:
movq %r12, %rdi
callq _rgephy_linkup
testl %eax, %eax
je LBB0_9
LBB0_8:
movl $0, 24(%r12)
jmp LBB0_32
LBB0_9:
movl 24(%r12), %ecx
leal 1(%rcx), %eax
movl %eax, 24(%r12)
testl %ecx, %ecx
je LBB0_32
## %bb.10:
xorl %eax, %eax
cmpl 28(%r12), %ecx
jl LBB0_37
## %bb.11:
movl $0, 24(%r12)
movl (%rbx), %esi
jmp LBB0_13
LBB0_12:
movq -56(%rbp), %rax ## 8-byte Reload
movl (%rax), %esi
LBB0_13:
movq %r12, %rdi
callq _rgephy_mii_phy_auto
jmp LBB0_32
LBB0_14:
movq _RGEPHY_ANAR_10_FD@GOTPCREL(%rip), %rax
orl (%rax), %ebx
movq _RGEPHY_ANAR_10@GOTPCREL(%rip), %rax
orl (%rax), %ebx
movq _RGEPHY_S10@GOTPCREL(%rip), %rcx
jmp LBB0_16
LBB0_15:
movq _RGEPHY_ANAR_TX_FD@GOTPCREL(%rip), %rax
orl (%rax), %ebx
movq _RGEPHY_ANAR_TX@GOTPCREL(%rip), %rax
orl (%rax), %ebx
movq _RGEPHY_S100@GOTPCREL(%rip), %rcx
LBB0_16:
movl (%rcx), %edx
movq -56(%rbp), %r13 ## 8-byte Reload
movl (%r13), %edi
movq _IFM_FLOW@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %edi, %eax
je LBB0_19
## %bb.17:
movq _IFM_FLAG0@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
testl %ecx, 16(%r15)
je LBB0_19
LBB0_18:
movq _EINVAL@GOTPCREL(%rip), %rax
movl (%rax), %eax
jmp LBB0_37
LBB0_19:
movq _IFM_FDX@GOTPCREL(%rip), %rcx
testl %edi, (%rcx)
je LBB0_23
## %bb.20:
movq _RGEPHY_BMCR_FDX@GOTPCREL(%rip), %rcx
orl (%rcx), %edx
movl %edx, -48(%rbp) ## 4-byte Spill
movq _RGEPHY_ANAR_10@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movq _RGEPHY_ANAR_TX@GOTPCREL(%rip), %rdx
orl (%rdx), %ecx
notl %ecx
andl %ecx, %ebx
movq _RGEPHY_1000CTL_AFD@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, -44(%rbp) ## 4-byte Spill
testl %edi, %eax
jne LBB0_22
## %bb.21:
movq _MIIF_FORCEPAUSE@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, (%r12)
je LBB0_24
LBB0_22:
movq _RGEPHY_ANAR_PC@GOTPCREL(%rip), %rax
orl (%rax), %ebx
movq _RGEPHY_ANAR_ASP@GOTPCREL(%rip), %rax
orl (%rax), %ebx
jmp LBB0_24
LBB0_23:
movl %edx, -48(%rbp) ## 4-byte Spill
movq _RGEPHY_1000CTL_AHD@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -44(%rbp) ## 4-byte Spill
movq _RGEPHY_ANAR_10_FD@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _RGEPHY_ANAR_TX_FD@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
notl %eax
andl %eax, %ebx
LBB0_24:
callq _IFM_SUBTYPE
cmpl $135, %eax
jne LBB0_27
## %bb.25:
movq _RGEPHY_1000CTL_MSE@GOTPCREL(%rip), %rax
movl -44(%rbp), %ecx ## 4-byte Reload
orl (%rax), %ecx
movq _IFM_ETH_MASTER@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, (%r13)
je LBB0_29
## %bb.26:
movq _RGEPHY_1000CTL_MSC@GOTPCREL(%rip), %rax
orl (%rax), %ecx
movl %ecx, -44(%rbp) ## 4-byte Spill
jmp LBB0_28
LBB0_27:
movq _RGEPHY_ANAR_ASP@GOTPCREL(%rip), %rax
movl (%rax), %eax
notl %eax
andl %eax, %ebx
movl $0, -44(%rbp) ## 4-byte Folded Spill
LBB0_28:
movl -48(%rbp), %esi ## 4-byte Reload
jmp LBB0_30
LBB0_29:
movl -48(%rbp), %esi ## 4-byte Reload
movl %ecx, -44(%rbp) ## 4-byte Spill
LBB0_30:
movq _IFM_FLAG0@GOTPCREL(%rip), %rax
movl (%rax), %eax
andl 16(%r15), %eax
movq _RGEPHY_BMCR_AUTOEN@GOTPCREL(%rip), %rcx
movq _RGEPHY_BMCR_STARTNEG@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
orl (%rcx), %edx
xorl %r13d, %r13d
testl %eax, %eax
cmovel %edx, %r13d
orl %esi, %r13d
movq %r12, %rdi
callq _rgephy_loop
movq _RGEPHY_MII_1000CTL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r12, %rdi
movl -44(%rbp), %edx ## 4-byte Reload
callq _PHY_WRITE
movq _RGEPHY_MII_ANAR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r12, %rdi
movl %ebx, %edx
callq _PHY_WRITE
movq _RGEPHY_MII_BMCR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r12, %rdi
movl %r13d, %edx
LBB0_31:
callq _PHY_WRITE
LBB0_32:
movq %r12, %rdi
callq _PHY_STATUS
movq 8(%r12), %rax
cmpq (%r15), %rax
jne LBB0_35
## %bb.33:
cmpl $130, %r14d
je LBB0_35
## %bb.34:
movq 8(%r15), %rax
cmpq %rax, 16(%r12)
je LBB0_36
LBB0_35:
movq %r12, %rdi
callq _rgephy_load_dspcode
LBB0_36:
movq %r12, %rdi
movl %r14d, %esi
callq _mii_phy_update
xorl %eax, %eax
LBB0_37:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
LJTI0_0:
.long L0_0_set_4
.long L0_0_set_12
.long L0_0_set_14
.long L0_0_set_15
.long L0_0_set_16
.end_data_region
## -- End function
.comm _RGEPHY_MII_ANAR,4,2 ## @RGEPHY_MII_ANAR
.comm _RGEPHY_ANAR_PC,4,2 ## @RGEPHY_ANAR_PC
.comm _RGEPHY_ANAR_ASP,4,2 ## @RGEPHY_ANAR_ASP
.comm _RGEPHY_ANAR_TX_FD,4,2 ## @RGEPHY_ANAR_TX_FD
.comm _RGEPHY_ANAR_TX,4,2 ## @RGEPHY_ANAR_TX
.comm _RGEPHY_ANAR_10_FD,4,2 ## @RGEPHY_ANAR_10_FD
.comm _RGEPHY_ANAR_10,4,2 ## @RGEPHY_ANAR_10
.comm _RGEPHY_S1000,4,2 ## @RGEPHY_S1000
.comm _RGEPHY_S100,4,2 ## @RGEPHY_S100
.comm _RGEPHY_S10,4,2 ## @RGEPHY_S10
.comm _IFM_FLOW,4,2 ## @IFM_FLOW
.comm _IFM_FLAG0,4,2 ## @IFM_FLAG0
.comm _EINVAL,4,2 ## @EINVAL
.comm _IFM_FDX,4,2 ## @IFM_FDX
.comm _RGEPHY_BMCR_FDX,4,2 ## @RGEPHY_BMCR_FDX
.comm _RGEPHY_1000CTL_AFD,4,2 ## @RGEPHY_1000CTL_AFD
.comm _MIIF_FORCEPAUSE,4,2 ## @MIIF_FORCEPAUSE
.comm _RGEPHY_1000CTL_AHD,4,2 ## @RGEPHY_1000CTL_AHD
.comm _RGEPHY_1000CTL_MSE,4,2 ## @RGEPHY_1000CTL_MSE
.comm _IFM_ETH_MASTER,4,2 ## @IFM_ETH_MASTER
.comm _RGEPHY_1000CTL_MSC,4,2 ## @RGEPHY_1000CTL_MSC
.comm _RGEPHY_BMCR_AUTOEN,4,2 ## @RGEPHY_BMCR_AUTOEN
.comm _RGEPHY_BMCR_STARTNEG,4,2 ## @RGEPHY_BMCR_STARTNEG
.comm _RGEPHY_MII_1000CTL,4,2 ## @RGEPHY_MII_1000CTL
.comm _RGEPHY_MII_BMCR,4,2 ## @RGEPHY_MII_BMCR
.comm _MII_BMCR,4,2 ## @MII_BMCR
.comm _BMCR_ISO,4,2 ## @BMCR_ISO
.comm _BMCR_PDOWN,4,2 ## @BMCR_PDOWN
.no_dead_strip _rgephy_service
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function rgephy_service
_rgephy_service: ; @rgephy_service
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x2
mov x21, x1
mov x20, x0
ldr x24, [x1, #24]
cmp w2, #128
b.eq LBB0_5
; %bb.1:
cmp w19, #130
b.ne LBB0_30
; %bb.2:
mov x0, x20
bl _PHY_RESET
Lloh0:
adrp x8, _RGEPHY_MII_ANAR@GOTPAGE
Lloh1:
ldr x8, [x8, _RGEPHY_MII_ANAR@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov x0, x20
bl _PHY_READ
mov x22, x0
Lloh3:
adrp x8, _RGEPHY_ANAR_PC@GOTPAGE
Lloh4:
ldr x8, [x8, _RGEPHY_ANAR_PC@GOTPAGEOFF]
Lloh5:
ldr w23, [x8]
Lloh6:
adrp x8, _RGEPHY_ANAR_ASP@GOTPAGE
Lloh7:
ldr x8, [x8, _RGEPHY_ANAR_ASP@GOTPAGEOFF]
Lloh8:
adrp x9, _RGEPHY_ANAR_TX_FD@GOTPAGE
Lloh9:
ldr x9, [x9, _RGEPHY_ANAR_TX_FD@GOTPAGEOFF]
Lloh10:
ldr w28, [x8]
Lloh11:
ldr w25, [x9]
Lloh12:
adrp x8, _RGEPHY_ANAR_TX@GOTPAGE
Lloh13:
ldr x8, [x8, _RGEPHY_ANAR_TX@GOTPAGEOFF]
Lloh14:
adrp x9, _RGEPHY_ANAR_10_FD@GOTPAGE
Lloh15:
ldr x9, [x9, _RGEPHY_ANAR_10_FD@GOTPAGEOFF]
Lloh16:
ldr w26, [x8]
Lloh17:
ldr w27, [x9]
Lloh18:
adrp x9, _RGEPHY_ANAR_10@GOTPAGE
Lloh19:
ldr x9, [x9, _RGEPHY_ANAR_10@GOTPAGEOFF]
mov x8, x24
Lloh20:
ldr w24, [x9]
str x8, [sp, #8] ; 8-byte Folded Spill
ldr w0, [x8]
bl _IFM_SUBTYPE
sub w10, w0, #131
cmp w10, #4
b.hi LBB0_17
; %bb.3:
orr w8, w28, w23
orr w8, w8, w25
orr w8, w8, w26
orr w8, w8, w27
orr w8, w8, w24
bic w8, w22, w8
Lloh21:
adrp x9, _RGEPHY_S1000@GOTPAGE
Lloh22:
ldr x9, [x9, _RGEPHY_S1000@GOTPAGEOFF]
Lloh23:
adrp x11, lJTI0_0@PAGE
Lloh24:
add x11, x11, lJTI0_0@PAGEOFF
adr x12, LBB0_4
ldrb w13, [x11, x10]
add x12, x12, x13, lsl #2
br x12
LBB0_4:
Lloh25:
adrp x8, _MII_BMCR@GOTPAGE
Lloh26:
ldr x8, [x8, _MII_BMCR@GOTPAGEOFF]
Lloh27:
adrp x9, _BMCR_ISO@GOTPAGE
Lloh28:
ldr x9, [x9, _BMCR_ISO@GOTPAGEOFF]
Lloh29:
ldr w1, [x8]
Lloh30:
ldr w8, [x9]
Lloh31:
adrp x9, _BMCR_PDOWN@GOTPAGE
Lloh32:
ldr x9, [x9, _BMCR_PDOWN@GOTPAGEOFF]
Lloh33:
ldr w9, [x9]
orr w2, w9, w8
mov x0, x20
b LBB0_29
LBB0_5:
ldr w0, [x24]
bl _IFM_SUBTYPE
cmp w0, #132
b.ne LBB0_7
; %bb.6:
mov x0, x20
bl _rgephy_linkup
cbz w0, LBB0_8
LBB0_7:
str wzr, [x20, #24]
b LBB0_30
LBB0_8:
ldr w8, [x20, #24]
add w9, w8, #1
str w9, [x20, #24]
cbz w8, LBB0_30
; %bb.9:
ldr w9, [x20, #28]
cmp w8, w9
b.lt LBB0_35
; %bb.10:
str wzr, [x20, #24]
ldr w1, [x24]
b LBB0_12
LBB0_11:
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr w1, [x8]
LBB0_12:
mov x0, x20
bl _rgephy_mii_phy_auto
b LBB0_30
LBB0_13:
Lloh34:
adrp x9, _RGEPHY_ANAR_10_FD@GOTPAGE
Lloh35:
ldr x9, [x9, _RGEPHY_ANAR_10_FD@GOTPAGEOFF]
Lloh36:
ldr w9, [x9]
Lloh37:
adrp x10, _RGEPHY_ANAR_10@GOTPAGE
Lloh38:
ldr x10, [x10, _RGEPHY_ANAR_10@GOTPAGEOFF]
Lloh39:
ldr w10, [x10]
orr w8, w9, w8
orr w8, w8, w10
Lloh40:
adrp x9, _RGEPHY_S10@GOTPAGE
Lloh41:
ldr x9, [x9, _RGEPHY_S10@GOTPAGEOFF]
b LBB0_15
LBB0_14:
Lloh42:
adrp x9, _RGEPHY_ANAR_TX_FD@GOTPAGE
Lloh43:
ldr x9, [x9, _RGEPHY_ANAR_TX_FD@GOTPAGEOFF]
Lloh44:
ldr w9, [x9]
Lloh45:
adrp x10, _RGEPHY_ANAR_TX@GOTPAGE
Lloh46:
ldr x10, [x10, _RGEPHY_ANAR_TX@GOTPAGEOFF]
Lloh47:
ldr w10, [x10]
orr w8, w9, w8
orr w8, w8, w10
Lloh48:
adrp x9, _RGEPHY_S100@GOTPAGE
Lloh49:
ldr x9, [x9, _RGEPHY_S100@GOTPAGEOFF]
LBB0_15:
ldr w27, [x9]
ldr x24, [sp, #8] ; 8-byte Folded Reload
ldr w0, [x24]
Lloh50:
adrp x9, _IFM_FLOW@GOTPAGE
Lloh51:
ldr x9, [x9, _IFM_FLOW@GOTPAGEOFF]
Lloh52:
ldr w9, [x9]
Lloh53:
adrp x28, _IFM_FLAG0@GOTPAGE
Lloh54:
ldr x28, [x28, _IFM_FLAG0@GOTPAGEOFF]
ands w9, w9, w0
b.eq LBB0_18
; %bb.16:
ldr w10, [x21, #16]
ldr w11, [x28]
tst w11, w10
b.eq LBB0_18
LBB0_17:
Lloh55:
adrp x8, _EINVAL@GOTPAGE
Lloh56:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh57:
ldr w0, [x8]
b LBB0_36
LBB0_18:
Lloh58:
adrp x10, _IFM_FDX@GOTPAGE
Lloh59:
ldr x10, [x10, _IFM_FDX@GOTPAGEOFF]
Lloh60:
ldr w10, [x10]
tst w10, w0
b.eq LBB0_22
; %bb.19:
Lloh61:
adrp x10, _RGEPHY_BMCR_FDX@GOTPAGE
Lloh62:
ldr x10, [x10, _RGEPHY_BMCR_FDX@GOTPAGEOFF]
Lloh63:
ldr w10, [x10]
Lloh64:
adrp x11, _RGEPHY_1000CTL_AFD@GOTPAGE
Lloh65:
ldr x11, [x11, _RGEPHY_1000CTL_AFD@GOTPAGEOFF]
orr w27, w10, w27
Lloh66:
ldr w23, [x11]
Lloh67:
adrp x10, _RGEPHY_ANAR_TX@GOTPAGE
Lloh68:
ldr x10, [x10, _RGEPHY_ANAR_TX@GOTPAGEOFF]
Lloh69:
ldr w10, [x10]
Lloh70:
adrp x11, _RGEPHY_ANAR_10@GOTPAGE
Lloh71:
ldr x11, [x11, _RGEPHY_ANAR_10@GOTPAGEOFF]
Lloh72:
ldr w11, [x11]
orr w10, w11, w10
bic w22, w8, w10
cbnz w9, LBB0_21
; %bb.20:
ldr w8, [x20]
Lloh73:
adrp x9, _MIIF_FORCEPAUSE@GOTPAGE
Lloh74:
ldr x9, [x9, _MIIF_FORCEPAUSE@GOTPAGEOFF]
Lloh75:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_23
LBB0_21:
Lloh76:
adrp x8, _RGEPHY_ANAR_PC@GOTPAGE
Lloh77:
ldr x8, [x8, _RGEPHY_ANAR_PC@GOTPAGEOFF]
Lloh78:
ldr w8, [x8]
Lloh79:
adrp x26, _RGEPHY_ANAR_ASP@GOTPAGE
Lloh80:
ldr x26, [x26, _RGEPHY_ANAR_ASP@GOTPAGEOFF]
ldr w9, [x26]
orr w8, w8, w22
orr w22, w8, w9
Lloh81:
adrp x25, _RGEPHY_MII_ANAR@GOTPAGE
Lloh82:
ldr x25, [x25, _RGEPHY_MII_ANAR@GOTPAGEOFF]
b LBB0_24
LBB0_22:
Lloh83:
adrp x9, _RGEPHY_1000CTL_AHD@GOTPAGE
Lloh84:
ldr x9, [x9, _RGEPHY_1000CTL_AHD@GOTPAGEOFF]
Lloh85:
ldr w23, [x9]
Lloh86:
adrp x9, _RGEPHY_ANAR_TX_FD@GOTPAGE
Lloh87:
ldr x9, [x9, _RGEPHY_ANAR_TX_FD@GOTPAGEOFF]
Lloh88:
ldr w9, [x9]
Lloh89:
adrp x10, _RGEPHY_ANAR_10_FD@GOTPAGE
Lloh90:
ldr x10, [x10, _RGEPHY_ANAR_10_FD@GOTPAGEOFF]
Lloh91:
ldr w10, [x10]
orr w9, w10, w9
bic w22, w8, w9
LBB0_23:
Lloh92:
adrp x25, _RGEPHY_MII_ANAR@GOTPAGE
Lloh93:
ldr x25, [x25, _RGEPHY_MII_ANAR@GOTPAGEOFF]
Lloh94:
adrp x26, _RGEPHY_ANAR_ASP@GOTPAGE
Lloh95:
ldr x26, [x26, _RGEPHY_ANAR_ASP@GOTPAGEOFF]
LBB0_24:
bl _IFM_SUBTYPE
cmp w0, #135
b.ne LBB0_27
; %bb.25:
Lloh96:
adrp x8, _RGEPHY_1000CTL_MSE@GOTPAGE
Lloh97:
ldr x8, [x8, _RGEPHY_1000CTL_MSE@GOTPAGEOFF]
Lloh98:
ldr w8, [x8]
orr w23, w8, w23
ldr w8, [x24]
Lloh99:
adrp x9, _IFM_ETH_MASTER@GOTPAGE
Lloh100:
ldr x9, [x9, _IFM_ETH_MASTER@GOTPAGEOFF]
Lloh101:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_28
; %bb.26:
Lloh102:
adrp x8, _RGEPHY_1000CTL_MSC@GOTPAGE
Lloh103:
ldr x8, [x8, _RGEPHY_1000CTL_MSC@GOTPAGEOFF]
Lloh104:
ldr w8, [x8]
orr w23, w8, w23
b LBB0_28
LBB0_27:
mov w23, #0
ldr w8, [x26]
bic w22, w22, w8
LBB0_28:
ldr w8, [x21, #16]
ldr w9, [x28]
Lloh105:
adrp x10, _RGEPHY_BMCR_AUTOEN@GOTPAGE
Lloh106:
ldr x10, [x10, _RGEPHY_BMCR_AUTOEN@GOTPAGEOFF]
Lloh107:
adrp x11, _RGEPHY_BMCR_STARTNEG@GOTPAGE
Lloh108:
ldr x11, [x11, _RGEPHY_BMCR_STARTNEG@GOTPAGEOFF]
Lloh109:
ldr w10, [x10]
Lloh110:
ldr w11, [x11]
orr w10, w11, w10
tst w9, w8
csel w8, w10, wzr, eq
orr w24, w8, w27
mov x0, x20
bl _rgephy_loop
Lloh111:
adrp x8, _RGEPHY_MII_1000CTL@GOTPAGE
Lloh112:
ldr x8, [x8, _RGEPHY_MII_1000CTL@GOTPAGEOFF]
Lloh113:
ldr w1, [x8]
mov x0, x20
mov x2, x23
bl _PHY_WRITE
ldr w1, [x25]
mov x0, x20
mov x2, x22
bl _PHY_WRITE
Lloh114:
adrp x8, _RGEPHY_MII_BMCR@GOTPAGE
Lloh115:
ldr x8, [x8, _RGEPHY_MII_BMCR@GOTPAGEOFF]
Lloh116:
ldr w1, [x8]
mov x0, x20
mov x2, x24
LBB0_29:
bl _PHY_WRITE
LBB0_30:
mov x0, x20
bl _PHY_STATUS
ldr x8, [x20, #8]
ldr x9, [x21]
cmp x8, x9
b.ne LBB0_33
; %bb.31:
cmp w19, #130
b.eq LBB0_33
; %bb.32:
ldr x8, [x20, #16]
ldr x9, [x21, #8]
cmp x8, x9
b.eq LBB0_34
LBB0_33:
mov x0, x20
bl _rgephy_load_dspcode
LBB0_34:
mov x0, x20
mov x1, x19
bl _mii_phy_update
LBB0_35:
mov w0, #0
LBB0_36:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh16
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh10
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpLdrGot Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh30
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh29
.loh AdrpLdrGot Lloh40, Lloh41
.loh AdrpLdrGotLdr Lloh37, Lloh38, Lloh39
.loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36
.loh AdrpLdrGot Lloh48, Lloh49
.loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47
.loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44
.loh AdrpLdrGot Lloh53, Lloh54
.loh AdrpLdrGotLdr Lloh50, Lloh51, Lloh52
.loh AdrpLdrGotLdr Lloh55, Lloh56, Lloh57
.loh AdrpLdrGotLdr Lloh58, Lloh59, Lloh60
.loh AdrpLdrGotLdr Lloh70, Lloh71, Lloh72
.loh AdrpLdrGotLdr Lloh67, Lloh68, Lloh69
.loh AdrpLdrGotLdr Lloh64, Lloh65, Lloh66
.loh AdrpLdrGotLdr Lloh61, Lloh62, Lloh63
.loh AdrpLdrGotLdr Lloh73, Lloh74, Lloh75
.loh AdrpLdrGot Lloh81, Lloh82
.loh AdrpLdrGot Lloh79, Lloh80
.loh AdrpLdrGotLdr Lloh76, Lloh77, Lloh78
.loh AdrpLdrGotLdr Lloh89, Lloh90, Lloh91
.loh AdrpLdrGotLdr Lloh86, Lloh87, Lloh88
.loh AdrpLdrGotLdr Lloh83, Lloh84, Lloh85
.loh AdrpLdrGot Lloh94, Lloh95
.loh AdrpLdrGot Lloh92, Lloh93
.loh AdrpLdrGotLdr Lloh99, Lloh100, Lloh101
.loh AdrpLdrGotLdr Lloh96, Lloh97, Lloh98
.loh AdrpLdrGotLdr Lloh102, Lloh103, Lloh104
.loh AdrpLdrGotLdr Lloh114, Lloh115, Lloh116
.loh AdrpLdrGotLdr Lloh111, Lloh112, Lloh113
.loh AdrpLdrGotLdr Lloh107, Lloh108, Lloh110
.loh AdrpLdrGotLdr Lloh105, Lloh106, Lloh109
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_4-LBB0_4)>>2
.byte (LBB0_11-LBB0_4)>>2
.byte (LBB0_13-LBB0_4)>>2
.byte (LBB0_14-LBB0_4)>>2
.byte (LBB0_15-LBB0_4)>>2
; -- End function
.comm _RGEPHY_MII_ANAR,4,2 ; @RGEPHY_MII_ANAR
.comm _RGEPHY_ANAR_PC,4,2 ; @RGEPHY_ANAR_PC
.comm _RGEPHY_ANAR_ASP,4,2 ; @RGEPHY_ANAR_ASP
.comm _RGEPHY_ANAR_TX_FD,4,2 ; @RGEPHY_ANAR_TX_FD
.comm _RGEPHY_ANAR_TX,4,2 ; @RGEPHY_ANAR_TX
.comm _RGEPHY_ANAR_10_FD,4,2 ; @RGEPHY_ANAR_10_FD
.comm _RGEPHY_ANAR_10,4,2 ; @RGEPHY_ANAR_10
.comm _RGEPHY_S1000,4,2 ; @RGEPHY_S1000
.comm _RGEPHY_S100,4,2 ; @RGEPHY_S100
.comm _RGEPHY_S10,4,2 ; @RGEPHY_S10
.comm _IFM_FLOW,4,2 ; @IFM_FLOW
.comm _IFM_FLAG0,4,2 ; @IFM_FLAG0
.comm _EINVAL,4,2 ; @EINVAL
.comm _IFM_FDX,4,2 ; @IFM_FDX
.comm _RGEPHY_BMCR_FDX,4,2 ; @RGEPHY_BMCR_FDX
.comm _RGEPHY_1000CTL_AFD,4,2 ; @RGEPHY_1000CTL_AFD
.comm _MIIF_FORCEPAUSE,4,2 ; @MIIF_FORCEPAUSE
.comm _RGEPHY_1000CTL_AHD,4,2 ; @RGEPHY_1000CTL_AHD
.comm _RGEPHY_1000CTL_MSE,4,2 ; @RGEPHY_1000CTL_MSE
.comm _IFM_ETH_MASTER,4,2 ; @IFM_ETH_MASTER
.comm _RGEPHY_1000CTL_MSC,4,2 ; @RGEPHY_1000CTL_MSC
.comm _RGEPHY_BMCR_AUTOEN,4,2 ; @RGEPHY_BMCR_AUTOEN
.comm _RGEPHY_BMCR_STARTNEG,4,2 ; @RGEPHY_BMCR_STARTNEG
.comm _RGEPHY_MII_1000CTL,4,2 ; @RGEPHY_MII_1000CTL
.comm _RGEPHY_MII_BMCR,4,2 ; @RGEPHY_MII_BMCR
.comm _MII_BMCR,4,2 ; @MII_BMCR
.comm _BMCR_ISO,4,2 ; @BMCR_ISO
.comm _BMCR_PDOWN,4,2 ; @BMCR_PDOWN
.no_dead_strip _rgephy_service
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/mii/extr_rgephy.c_rgephy_service.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mall_bind_class
_mall_bind_class: ## @mall_bind_class
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
testq %rdi, %rdi
je LBB0_3
## %bb.1:
cmpq %rsi, (%rdi)
jne LBB0_3
## %bb.2:
movq %rdx, 8(%rdi)
LBB0_3:
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _mall_bind_class
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mall_bind_class
_mall_bind_class: ; @mall_bind_class
.cfi_startproc
; %bb.0:
cbz x0, LBB0_3
; %bb.1:
ldr x8, [x0]
cmp x8, x1
b.ne LBB0_3
; %bb.2:
str x2, [x0, #8]
LBB0_3:
ret
.cfi_endproc
; -- End function
.no_dead_strip _mall_bind_class
.subsections_via_symbols
| AnghaBench/linux/net/sched/extr_cls_matchall.c_mall_bind_class.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _rxe_resp_queue_pkt ## -- Begin function rxe_resp_queue_pkt
.p2align 4, 0x90
_rxe_resp_queue_pkt: ## @rxe_resp_queue_pkt
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r14
movq %rsi, %rdi
callq _SKB_TO_PKT
movq %rax, %r12
leaq 4(%r14), %r15
movq %r15, %rdi
movq %rbx, %rsi
callq _skb_queue_tail
movq (%r12), %rax
movq _IB_OPCODE_RC_RDMA_READ_REQUEST@GOTPCREL(%rip), %rcx
movl $1, %esi
cmpq (%rcx), %rax
je LBB0_2
## %bb.1:
movq %r15, %rdi
callq _skb_queue_len
xorl %esi, %esi
cmpl $2, %eax
setge %sil
LBB0_2:
movq %r14, %rdi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _rxe_run_task ## TAILCALL
.cfi_endproc
## -- End function
.comm _IB_OPCODE_RC_RDMA_READ_REQUEST,8,3 ## @IB_OPCODE_RC_RDMA_READ_REQUEST
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _rxe_resp_queue_pkt ; -- Begin function rxe_resp_queue_pkt
.p2align 2
_rxe_resp_queue_pkt: ; @rxe_resp_queue_pkt
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x21, x1
mov x19, x0
mov x0, x1
bl _SKB_TO_PKT
mov x22, x0
add x20, x19, #4
mov x0, x20
mov x1, x21
bl _skb_queue_tail
ldr x8, [x22]
Lloh0:
adrp x9, _IB_OPCODE_RC_RDMA_READ_REQUEST@GOTPAGE
Lloh1:
ldr x9, [x9, _IB_OPCODE_RC_RDMA_READ_REQUEST@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_2
; %bb.1:
mov w1, #1
b LBB0_3
LBB0_2:
mov x0, x20
bl _skb_queue_len
cmp w0, #1
cset w1, gt
LBB0_3:
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 _rxe_run_task
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _IB_OPCODE_RC_RDMA_READ_REQUEST,8,3 ; @IB_OPCODE_RC_RDMA_READ_REQUEST
.subsections_via_symbols
| AnghaBench/linux/drivers/infiniband/sw/rxe/extr_rxe_resp.c_rxe_resp_queue_pkt.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function evhttp_read_trailer
_evhttp_read_trailer: ## @evhttp_read_trailer
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %rbx
movq %rdi, %r14
movl (%rdi), %edi
callq _bufferevent_get_input
movq %rbx, %rdi
movq %rax, %rsi
callq _evhttp_parse_headers_
## kill: def $eax killed $eax def $rax
leal -130(%rax), %ecx
cmpl $2, %ecx
jae LBB0_1
## %bb.3:
movq _EVREQ_HTTP_DATA_TOO_LONG@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
popq %rbx
popq %r14
popq %rbp
jmp _evhttp_connection_fail_ ## TAILCALL
LBB0_1:
cmpl $132, %eax
jne LBB0_2
## %bb.4:
movl (%r14), %edi
movq _EV_READ@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _bufferevent_disable
movq %r14, %rdi
popq %rbx
popq %r14
popq %rbp
jmp _evhttp_connection_done ## TAILCALL
LBB0_2:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EVREQ_HTTP_DATA_TOO_LONG,4,2 ## @EVREQ_HTTP_DATA_TOO_LONG
.comm _EV_READ,4,2 ## @EV_READ
.no_dead_strip _evhttp_read_trailer
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function evhttp_read_trailer
_evhttp_read_trailer: ; @evhttp_read_trailer
.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
ldr w0, [x0]
bl _bufferevent_get_input
mov x1, x0
mov x0, x20
bl _evhttp_parse_headers_
sub w8, w0, #130
cmp w8, #2
b.hs LBB0_2
; %bb.1:
Lloh0:
adrp x8, _EVREQ_HTTP_DATA_TOO_LONG@GOTPAGE
Lloh1:
ldr x8, [x8, _EVREQ_HTTP_DATA_TOO_LONG@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _evhttp_connection_fail_
LBB0_2:
cmp w0, #132
b.ne LBB0_4
; %bb.3:
ldr w0, [x19]
Lloh3:
adrp x8, _EV_READ@GOTPAGE
Lloh4:
ldr x8, [x8, _EV_READ@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
bl _bufferevent_disable
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _evhttp_connection_done
LBB0_4:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _EVREQ_HTTP_DATA_TOO_LONG,4,2 ; @EVREQ_HTTP_DATA_TOO_LONG
.comm _EV_READ,4,2 ; @EV_READ
.no_dead_strip _evhttp_read_trailer
.subsections_via_symbols
| AnghaBench/libevent/extr_http.c_evhttp_read_trailer.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function wps_set_attr
_wps_set_attr: ## @wps_set_attr
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, %r14d
movq %rdx, %r15
movl %esi, %edx
leal -128(%rdx), %eax
cmpl $51, %eax
ja LBB0_85
## %bb.1:
movq %rdi, %rbx
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_2:
cmpl $1, %r14d
jne LBB0_112
## %bb.3:
movq %r15, 328(%rbx)
jmp LBB0_163
LBB0_4:
cmpl $1, %r14d
jne LBB0_113
## %bb.5:
movq %r15, 472(%rbx)
jmp LBB0_163
LBB0_6:
movq %rbx, %rdi
movq %r15, %rsi
movl %r14d, %edx
callq _wps_parse_vendor_ext
testl %eax, %eax
jns LBB0_163
## %bb.7:
movl $-1, %eax
jmp LBB0_164
LBB0_8:
movq _WPS_UUID_LEN@GOTPCREL(%rip), %rax
cmpl %r14d, (%rax)
jne LBB0_114
## %bb.9:
movq %r15, 432(%rbx)
jmp LBB0_163
LBB0_10:
movq _WPS_UUID_LEN@GOTPCREL(%rip), %rax
cmpl %r14d, (%rax)
jne LBB0_115
## %bb.11:
movq %r15, 440(%rbx)
jmp LBB0_163
LBB0_12:
movq _SSID_MAX_LEN@GOTPCREL(%rip), %rax
cmpl %r14d, (%rax)
jge LBB0_116
## %bb.13:
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.40(%rip), %rsi
jmp LBB0_88
LBB0_14:
movq %r15, 152(%rbx)
movq _WPS_SERIAL_NUMBER_MAX_LEN@GOTPCREL(%rip), %rax
movl (%rax), %eax
cmpl %r14d, %eax
jge LBB0_117
## %bb.15:
movl %eax, 16(%rbx)
jmp LBB0_163
LBB0_16:
cmpl $2, %r14d
jne LBB0_118
## %bb.17:
movq %r15, 392(%rbx)
jmp LBB0_163
LBB0_18:
cmpl $1, %r14d
jne LBB0_119
## %bb.19:
movq %r15, 200(%rbx)
jmp LBB0_163
LBB0_20:
movq _WPS_SEC_DEV_TYPE_MAX_LEN@GOTPCREL(%rip), %rax
cmpl %r14d, (%rax)
jl LBB0_22
## %bb.21:
movq _WPS_DEV_TYPE_LEN@GOTPCREL(%rip), %rcx
movl %r14d, %eax
cltd
idivl (%rcx)
testl %edx, %edx
jle LBB0_165
LBB0_22:
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.44(%rip), %rsi
jmp LBB0_159
LBB0_23:
movq _WPS_SECRET_NONCE_LEN@GOTPCREL(%rip), %rax
cmpl %r14d, (%rax)
jne LBB0_120
## %bb.24:
movq %r15, 272(%rbx)
jmp LBB0_163
LBB0_25:
movq _WPS_SECRET_NONCE_LEN@GOTPCREL(%rip), %rax
cmpl %r14d, (%rax)
jne LBB0_121
## %bb.26:
movq %r15, 280(%rbx)
jmp LBB0_163
LBB0_27:
movq _WPS_HASH_LEN@GOTPCREL(%rip), %rax
cmpl %r14d, (%rax)
jne LBB0_122
## %bb.28:
movq %r15, 304(%rbx)
jmp LBB0_163
LBB0_29:
movq _WPS_HASH_LEN@GOTPCREL(%rip), %rax
cmpl %r14d, (%rax)
jne LBB0_123
## %bb.30:
movq %r15, 312(%rbx)
jmp LBB0_163
LBB0_31:
cmpl $1, %r14d
jne LBB0_124
## %bb.32:
movq %r15, 376(%rbx)
jmp LBB0_163
LBB0_33:
cmpl $1, %r14d
jne LBB0_125
## %bb.34:
movq %r15, 184(%rbx)
jmp LBB0_163
LBB0_35:
cmpl $1, %r14d
jne LBB0_126
## %bb.36:
movq %r15, 192(%rbx)
jmp LBB0_163
LBB0_37:
movq _WPS_DEV_TYPE_LEN@GOTPCREL(%rip), %rax
cmpl %r14d, (%rax)
jne LBB0_127
## %bb.38:
movq 56(%rbx), %rax
movq _MAX_REQ_DEV_TYPE_COUNT@GOTPCREL(%rip), %rcx
movq (%rcx), %rdx
cmpq %rdx, %rax
jae LBB0_160
## %bb.39:
movq 88(%rbx), %rcx
movq %r15, (%rcx,%rax,8)
incq %rax
movq %rax, 56(%rbx)
jmp LBB0_163
LBB0_40:
movq _WPS_NONCE_LEN@GOTPCREL(%rip), %rax
cmpl %r14d, (%rax)
jne LBB0_128
## %bb.41:
movq %r15, 448(%rbx)
jmp LBB0_163
LBB0_42:
movq _WPS_DEV_TYPE_LEN@GOTPCREL(%rip), %rax
cmpl %r14d, (%rax)
jne LBB0_129
## %bb.43:
movq %r15, 384(%rbx)
jmp LBB0_163
LBB0_44:
cmpl $4, %r14d
jne LBB0_130
## %bb.45:
movq %r15, 336(%rbx)
jmp LBB0_163
LBB0_46:
movq %r15, 104(%rbx)
movl %r14d, 52(%rbx)
jmp LBB0_163
LBB0_47:
cmpl $1, %r14d
jne LBB0_131
## %bb.48:
movq %r15, 224(%rbx)
jmp LBB0_163
LBB0_49:
movq %r15, 160(%rbx)
movq _WPS_MODEL_NUMBER_MAX_LEN@GOTPCREL(%rip), %rax
movl (%rax), %eax
cmpl %r14d, %eax
jge LBB0_132
## %bb.50:
movl %eax, 12(%rbx)
jmp LBB0_163
LBB0_51:
movq _ETH_ALEN@GOTPCREL(%rip), %rax
cmpl %r14d, (%rax)
jne LBB0_133
## %bb.52:
movq %r15, 208(%rbx)
jmp LBB0_163
LBB0_53:
movq _WPS_KWA_LEN@GOTPCREL(%rip), %rax
cmpl %r14d, (%rax)
jne LBB0_134
## %bb.54:
movq %r15, 248(%rbx)
jmp LBB0_163
LBB0_55:
movq _WPS_SECRET_NONCE_LEN@GOTPCREL(%rip), %rax
cmpl %r14d, (%rax)
jne LBB0_135
## %bb.56:
movq %r15, 256(%rbx)
jmp LBB0_163
LBB0_57:
movq _WPS_SECRET_NONCE_LEN@GOTPCREL(%rip), %rax
cmpl %r14d, (%rax)
jne LBB0_136
## %bb.58:
movq %r15, 264(%rbx)
jmp LBB0_163
LBB0_59:
movq _WPS_HASH_LEN@GOTPCREL(%rip), %rax
cmpl %r14d, (%rax)
jne LBB0_137
## %bb.60:
movq %r15, 288(%rbx)
jmp LBB0_163
LBB0_61:
movq _WPS_HASH_LEN@GOTPCREL(%rip), %rax
cmpl %r14d, (%rax)
jne LBB0_138
## %bb.62:
movq %r15, 296(%rbx)
jmp LBB0_163
LBB0_63:
movq _WPS_NONCE_LEN@GOTPCREL(%rip), %rax
cmpl %r14d, (%rax)
jne LBB0_139
## %bb.64:
movq %r15, 456(%rbx)
jmp LBB0_163
LBB0_65:
cmpl $2, %r14d
jne LBB0_140
## %bb.66:
movq %r15, 416(%rbx)
jmp LBB0_163
LBB0_67:
cmpl $2, %r14d
jne LBB0_141
## %bb.68:
movq %r15, 352(%rbx)
jmp LBB0_163
LBB0_69:
movq _WPS_DEV_NAME_MAX_LEN@GOTPCREL(%rip), %rax
cmpl %r14d, (%rax)
jge LBB0_142
## %bb.70:
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.37(%rip), %rsi
jmp LBB0_88
LBB0_71:
cmpl $1, %r14d
jne LBB0_143
## %bb.72:
movq %r15, 408(%rbx)
jmp LBB0_163
LBB0_73:
cmpl $2, %r14d
jne LBB0_144
## %bb.74:
movq %r15, 400(%rbx)
jmp LBB0_163
LBB0_75:
cmpl $2, %r14d
jne LBB0_145
## %bb.76:
movq %r15, 360(%rbx)
jmp LBB0_163
LBB0_77:
cmpl $2, %r14d
jne LBB0_146
## %bb.78:
movq %r15, 240(%rbx)
jmp LBB0_163
LBB0_79:
movq _WPS_AUTHENTICATOR_LEN@GOTPCREL(%rip), %rax
cmpl %r14d, (%rax)
jne LBB0_147
## %bb.80:
movq %r15, 320(%rbx)
jmp LBB0_163
LBB0_81:
cmpl $2, %r14d
jne LBB0_148
## %bb.82:
movq %r15, 368(%rbx)
jmp LBB0_163
LBB0_83:
cmpl $1, %r14d
jne LBB0_149
## %bb.84:
movq %r15, 96(%rbx)
jmp LBB0_163
LBB0_85:
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.46(%rip), %rsi
## kill: def $edx killed $edx killed $rdx
movl %r14d, %ecx
xorl %eax, %eax
callq _wpa_printf
jmp LBB0_163
LBB0_86:
leal -193(%r14), %eax
cmpl $-4, %eax
ja LBB0_150
## %bb.87:
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.38(%rip), %rsi
LBB0_88:
movl %r14d, %edx
jmp LBB0_162
LBB0_89:
movq _WPS_OOB_PUBKEY_HASH_LEN@GOTPCREL(%rip), %rax
movslq (%rax), %rax
leal 2(%rax), %ecx
cmpl %r14d, %ecx
jg LBB0_111
## %bb.90:
movq _WPS_OOB_DEVICE_PASSWORD_LEN@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
addl %ecx, %edx
cmpl %r14d, %edx
jl LBB0_111
## %bb.91:
movq _WPS_OOB_DEVICE_PASSWORD_MIN_LEN@GOTPCREL(%rip), %rdx
addl (%rdx), %ecx
cmpl %r14d, %ecx
jle LBB0_93
## %bb.92:
leaq (%r15,%rax,4), %rdi
callq _WPA_GET_BE16
movq _DEV_PW_NFC_CONNECTION_HANDOVER@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB0_111
LBB0_93:
movq %r15, 344(%rbx)
movl %r14d, (%rbx)
jmp LBB0_163
LBB0_94:
cmpl $1, %r14d
jne LBB0_151
## %bb.95:
movq %r15, 216(%rbx)
jmp LBB0_163
LBB0_96:
cmpl $1, %r14d
jne LBB0_152
## %bb.97:
movq %r15, 464(%rbx)
jmp LBB0_163
LBB0_98:
movq %r15, 168(%rbx)
movq _WPS_MODEL_NAME_MAX_LEN@GOTPCREL(%rip), %rax
movl (%rax), %eax
cmpl %r14d, %eax
jge LBB0_153
## %bb.99:
movl %eax, 8(%rbx)
jmp LBB0_163
LBB0_100:
movq %r15, 176(%rbx)
movq _WPS_MANUFACTURER_MAX_LEN@GOTPCREL(%rip), %rax
movl (%rax), %eax
cmpl %r14d, %eax
jge LBB0_154
## %bb.101:
movl %eax, 4(%rbx)
jmp LBB0_163
LBB0_102:
cmpl $2, %r14d
jne LBB0_155
## %bb.103:
movq %r15, 232(%rbx)
jmp LBB0_163
LBB0_104:
movq %r15, 128(%rbx)
movl %r14d, 28(%rbx)
jmp LBB0_163
LBB0_105:
movq 32(%rbx), %rax
movq _MAX_CRED_COUNT@GOTPCREL(%rip), %rcx
movq (%rcx), %rdx
cmpq %rdx, %rax
jae LBB0_156
## %bb.106:
movq 120(%rbx), %rcx
movq %r15, (%rcx,%rax,8)
movq 40(%rbx), %rcx
movl %r14d, (%rcx,%rax,4)
incq %rax
movq %rax, 32(%rbx)
jmp LBB0_163
LBB0_107:
cmpl $2, %r14d
jne LBB0_157
## %bb.108:
movq %r15, 424(%rbx)
jmp LBB0_163
LBB0_109:
cmpl $2, %r14d
jne LBB0_158
## %bb.110:
movq %r15, 72(%rbx)
jmp LBB0_163
LBB0_111:
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.16(%rip), %rsi
jmp LBB0_159
LBB0_112:
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.18(%rip), %rsi
jmp LBB0_159
LBB0_113:
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
jmp LBB0_159
LBB0_114:
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.5(%rip), %rsi
jmp LBB0_159
LBB0_115:
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.4(%rip), %rsi
jmp LBB0_159
LBB0_116:
movq %r15, 112(%rbx)
movl %r14d, 48(%rbx)
jmp LBB0_163
LBB0_117:
movl %r14d, 16(%rbx)
jmp LBB0_163
LBB0_118:
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.10(%rip), %rsi
jmp LBB0_159
LBB0_119:
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.34(%rip), %rsi
jmp LBB0_159
LBB0_120:
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.25(%rip), %rsi
jmp LBB0_159
LBB0_121:
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.24(%rip), %rsi
jmp LBB0_159
LBB0_122:
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.21(%rip), %rsi
jmp LBB0_159
LBB0_123:
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.20(%rip), %rsi
jmp LBB0_159
LBB0_124:
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.12(%rip), %rsi
jmp LBB0_159
LBB0_125:
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.36(%rip), %rsi
jmp LBB0_159
LBB0_126:
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.35(%rip), %rsi
jmp LBB0_159
LBB0_127:
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.42(%rip), %rsi
jmp LBB0_159
LBB0_128:
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.3(%rip), %rsi
jmp LBB0_159
LBB0_129:
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.11(%rip), %rsi
jmp LBB0_159
LBB0_130:
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.17(%rip), %rsi
jmp LBB0_159
LBB0_131:
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.31(%rip), %rsi
jmp LBB0_159
LBB0_132:
movl %r14d, 12(%rbx)
jmp LBB0_163
LBB0_133:
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.33(%rip), %rsi
jmp LBB0_159
LBB0_134:
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.28(%rip), %rsi
jmp LBB0_159
LBB0_135:
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.27(%rip), %rsi
jmp LBB0_159
LBB0_136:
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.26(%rip), %rsi
jmp LBB0_159
LBB0_137:
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.23(%rip), %rsi
jmp LBB0_159
LBB0_138:
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.22(%rip), %rsi
jmp LBB0_159
LBB0_139:
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.2(%rip), %rsi
jmp LBB0_159
LBB0_140:
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.7(%rip), %rsi
jmp LBB0_159
LBB0_141:
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.15(%rip), %rsi
jmp LBB0_159
LBB0_142:
movq %r15, 144(%rbx)
movl %r14d, 20(%rbx)
jmp LBB0_163
LBB0_143:
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.8(%rip), %rsi
jmp LBB0_159
LBB0_144:
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.9(%rip), %rsi
jmp LBB0_159
LBB0_145:
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.14(%rip), %rsi
jmp LBB0_159
LBB0_146:
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.29(%rip), %rsi
jmp LBB0_159
LBB0_147:
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.19(%rip), %rsi
jmp LBB0_159
LBB0_148:
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.13(%rip), %rsi
jmp LBB0_159
LBB0_149:
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.41(%rip), %rsi
jmp LBB0_159
LBB0_150:
movq %r15, 136(%rbx)
movl %r14d, 24(%rbx)
jmp LBB0_163
LBB0_151:
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.32(%rip), %rsi
jmp LBB0_159
LBB0_152:
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.1(%rip), %rsi
jmp LBB0_159
LBB0_153:
movl %r14d, 8(%rbx)
jmp LBB0_163
LBB0_154:
movl %r14d, 4(%rbx)
jmp LBB0_163
LBB0_155:
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.30(%rip), %rsi
jmp LBB0_159
LBB0_156:
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.39(%rip), %rsi
jmp LBB0_161
LBB0_157:
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.6(%rip), %rsi
jmp LBB0_159
LBB0_158:
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.45(%rip), %rsi
LBB0_159:
movl %r14d, %edx
xorl %eax, %eax
callq _wpa_printf
movl $-1, %eax
jmp LBB0_164
LBB0_160:
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.43(%rip), %rsi
LBB0_161:
## kill: def $edx killed $edx killed $rdx
LBB0_162:
xorl %eax, %eax
callq _wpa_printf
LBB0_163:
xorl %eax, %eax
LBB0_164:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_165:
movq %r15, 80(%rbx)
movl %r14d, 64(%rbx)
jmp LBB0_163
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_27, LBB0_27-LJTI0_0
.set L0_0_set_29, LBB0_29-LJTI0_0
.set L0_0_set_31, LBB0_31-LJTI0_0
.set L0_0_set_33, LBB0_33-LJTI0_0
.set L0_0_set_35, LBB0_35-LJTI0_0
.set L0_0_set_37, LBB0_37-LJTI0_0
.set L0_0_set_40, LBB0_40-LJTI0_0
.set L0_0_set_86, LBB0_86-LJTI0_0
.set L0_0_set_42, LBB0_42-LJTI0_0
.set L0_0_set_44, LBB0_44-LJTI0_0
.set L0_0_set_89, LBB0_89-LJTI0_0
.set L0_0_set_94, LBB0_94-LJTI0_0
.set L0_0_set_46, LBB0_46-LJTI0_0
.set L0_0_set_47, LBB0_47-LJTI0_0
.set L0_0_set_96, LBB0_96-LJTI0_0
.set L0_0_set_49, LBB0_49-LJTI0_0
.set L0_0_set_98, LBB0_98-LJTI0_0
.set L0_0_set_100, LBB0_100-LJTI0_0
.set L0_0_set_51, LBB0_51-LJTI0_0
.set L0_0_set_53, LBB0_53-LJTI0_0
.set L0_0_set_55, LBB0_55-LJTI0_0
.set L0_0_set_57, LBB0_57-LJTI0_0
.set L0_0_set_59, LBB0_59-LJTI0_0
.set L0_0_set_61, LBB0_61-LJTI0_0
.set L0_0_set_63, LBB0_63-LJTI0_0
.set L0_0_set_65, LBB0_65-LJTI0_0
.set L0_0_set_102, LBB0_102-LJTI0_0
.set L0_0_set_104, LBB0_104-LJTI0_0
.set L0_0_set_67, LBB0_67-LJTI0_0
.set L0_0_set_69, LBB0_69-LJTI0_0
.set L0_0_set_105, LBB0_105-LJTI0_0
.set L0_0_set_71, LBB0_71-LJTI0_0
.set L0_0_set_73, LBB0_73-LJTI0_0
.set L0_0_set_75, LBB0_75-LJTI0_0
.set L0_0_set_107, LBB0_107-LJTI0_0
.set L0_0_set_77, LBB0_77-LJTI0_0
.set L0_0_set_79, LBB0_79-LJTI0_0
.set L0_0_set_81, LBB0_81-LJTI0_0
.set L0_0_set_83, LBB0_83-LJTI0_0
.set L0_0_set_109, LBB0_109-LJTI0_0
LJTI0_0:
.long L0_0_set_2
.long L0_0_set_4
.long L0_0_set_6
.long L0_0_set_8
.long L0_0_set_10
.long L0_0_set_12
.long L0_0_set_14
.long L0_0_set_16
.long L0_0_set_18
.long L0_0_set_20
.long L0_0_set_23
.long L0_0_set_25
.long L0_0_set_27
.long L0_0_set_29
.long L0_0_set_31
.long L0_0_set_33
.long L0_0_set_35
.long L0_0_set_37
.long L0_0_set_40
.long L0_0_set_86
.long L0_0_set_42
.long L0_0_set_44
.long L0_0_set_89
.long L0_0_set_94
.long L0_0_set_46
.long L0_0_set_47
.long L0_0_set_96
.long L0_0_set_49
.long L0_0_set_98
.long L0_0_set_100
.long L0_0_set_51
.long L0_0_set_53
.long L0_0_set_55
.long L0_0_set_57
.long L0_0_set_59
.long L0_0_set_61
.long L0_0_set_63
.long L0_0_set_65
.long L0_0_set_102
.long L0_0_set_104
.long L0_0_set_67
.long L0_0_set_69
.long L0_0_set_105
.long L0_0_set_71
.long L0_0_set_73
.long L0_0_set_75
.long L0_0_set_107
.long L0_0_set_77
.long L0_0_set_79
.long L0_0_set_81
.long L0_0_set_83
.long L0_0_set_109
.end_data_region
## -- End function
.comm _MSG_DEBUG,4,2 ## @MSG_DEBUG
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "WPS: Invalid Version length %u"
L_.str.1: ## @.str.1
.asciz "WPS: Invalid Message Type length %u"
.comm _WPS_NONCE_LEN,4,2 ## @WPS_NONCE_LEN
L_.str.2: ## @.str.2
.asciz "WPS: Invalid Enrollee Nonce length %u"
L_.str.3: ## @.str.3
.asciz "WPS: Invalid Registrar Nonce length %u"
.comm _WPS_UUID_LEN,4,2 ## @WPS_UUID_LEN
L_.str.4: ## @.str.4
.asciz "WPS: Invalid UUID-E length %u"
L_.str.5: ## @.str.5
.asciz "WPS: Invalid UUID-R length %u"
L_.str.6: ## @.str.6
.asciz "WPS: Invalid Authentication Type Flags length %u"
L_.str.7: ## @.str.7
.asciz "WPS: Invalid Encryption Type Flags length %u"
L_.str.8: ## @.str.8
.asciz "WPS: Invalid Connection Type Flags length %u"
L_.str.9: ## @.str.9
.asciz "WPS: Invalid Config Methods length %u"
L_.str.10: ## @.str.10
.asciz "WPS: Invalid Selected Registrar Config Methods length %u"
.comm _WPS_DEV_TYPE_LEN,4,2 ## @WPS_DEV_TYPE_LEN
L_.str.11: ## @.str.11
.asciz "WPS: Invalid Primary Device Type length %u"
L_.str.12: ## @.str.12
.asciz "WPS: Invalid RF Bands length %u"
L_.str.13: ## @.str.13
.asciz "WPS: Invalid Association State length %u"
L_.str.14: ## @.str.14
.asciz "WPS: Invalid Configuration Error length %u"
L_.str.15: ## @.str.15
.asciz "WPS: Invalid Device Password ID length %u"
.comm _WPS_OOB_PUBKEY_HASH_LEN,4,2 ## @WPS_OOB_PUBKEY_HASH_LEN
.comm _WPS_OOB_DEVICE_PASSWORD_LEN,4,2 ## @WPS_OOB_DEVICE_PASSWORD_LEN
.comm _WPS_OOB_DEVICE_PASSWORD_MIN_LEN,4,2 ## @WPS_OOB_DEVICE_PASSWORD_MIN_LEN
.comm _DEV_PW_NFC_CONNECTION_HANDOVER,4,2 ## @DEV_PW_NFC_CONNECTION_HANDOVER
L_.str.16: ## @.str.16
.asciz "WPS: Invalid OOB Device Password length %u"
L_.str.17: ## @.str.17
.asciz "WPS: Invalid OS Version length %u"
L_.str.18: ## @.str.18
.asciz "WPS: Invalid Wi-Fi Protected Setup State length %u"
.comm _WPS_AUTHENTICATOR_LEN,4,2 ## @WPS_AUTHENTICATOR_LEN
L_.str.19: ## @.str.19
.asciz "WPS: Invalid Authenticator length %u"
.comm _WPS_HASH_LEN,4,2 ## @WPS_HASH_LEN
L_.str.20: ## @.str.20
.asciz "WPS: Invalid R-Hash1 length %u"
L_.str.21: ## @.str.21
.asciz "WPS: Invalid R-Hash2 length %u"
L_.str.22: ## @.str.22
.asciz "WPS: Invalid E-Hash1 length %u"
L_.str.23: ## @.str.23
.asciz "WPS: Invalid E-Hash2 length %u"
.comm _WPS_SECRET_NONCE_LEN,4,2 ## @WPS_SECRET_NONCE_LEN
L_.str.24: ## @.str.24
.asciz "WPS: Invalid R-SNonce1 length %u"
L_.str.25: ## @.str.25
.asciz "WPS: Invalid R-SNonce2 length %u"
L_.str.26: ## @.str.26
.asciz "WPS: Invalid E-SNonce1 length %u"
L_.str.27: ## @.str.27
.asciz "WPS: Invalid E-SNonce2 length %u"
.comm _WPS_KWA_LEN,4,2 ## @WPS_KWA_LEN
L_.str.28: ## @.str.28
.asciz "WPS: Invalid Key Wrap Authenticator length %u"
L_.str.29: ## @.str.29
.asciz "WPS: Invalid Authentication Type length %u"
L_.str.30: ## @.str.30
.asciz "WPS: Invalid Encryption Type length %u"
L_.str.31: ## @.str.31
.asciz "WPS: Invalid Network Index length %u"
L_.str.32: ## @.str.32
.asciz "WPS: Invalid Network Key Index length %u"
.comm _ETH_ALEN,4,2 ## @ETH_ALEN
L_.str.33: ## @.str.33
.asciz "WPS: Invalid MAC Address length %u"
L_.str.34: ## @.str.34
.asciz "WPS: Invalid Selected Registrar length %u"
L_.str.35: ## @.str.35
.asciz "WPS: Invalid Request Type length %u"
L_.str.36: ## @.str.36
.asciz "WPS: Invalid Response Type length %u"
.comm _WPS_MANUFACTURER_MAX_LEN,4,2 ## @WPS_MANUFACTURER_MAX_LEN
.comm _WPS_MODEL_NAME_MAX_LEN,4,2 ## @WPS_MODEL_NAME_MAX_LEN
.comm _WPS_MODEL_NUMBER_MAX_LEN,4,2 ## @WPS_MODEL_NUMBER_MAX_LEN
.comm _WPS_SERIAL_NUMBER_MAX_LEN,4,2 ## @WPS_SERIAL_NUMBER_MAX_LEN
.comm _WPS_DEV_NAME_MAX_LEN,4,2 ## @WPS_DEV_NAME_MAX_LEN
L_.str.37: ## @.str.37
.asciz "WPS: Ignore too long Device Name (len=%u)"
L_.str.38: ## @.str.38
.asciz "WPS: Ignore Public Key with unexpected length %u"
.comm _MAX_CRED_COUNT,8,3 ## @MAX_CRED_COUNT
L_.str.39: ## @.str.39
.asciz "WPS: Skipped Credential attribute (max %d credentials)"
.comm _SSID_MAX_LEN,4,2 ## @SSID_MAX_LEN
L_.str.40: ## @.str.40
.asciz "WPS: Ignore too long SSID (len=%u)"
L_.str.41: ## @.str.41
.asciz "WPS: Invalid AP Setup Locked length %u"
L_.str.42: ## @.str.42
.asciz "WPS: Invalid Requested Device Type length %u"
.comm _MAX_REQ_DEV_TYPE_COUNT,8,3 ## @MAX_REQ_DEV_TYPE_COUNT
L_.str.43: ## @.str.43
.asciz "WPS: Skipped Requested Device Type attribute (max %u types)"
.comm _WPS_SEC_DEV_TYPE_MAX_LEN,4,2 ## @WPS_SEC_DEV_TYPE_MAX_LEN
L_.str.44: ## @.str.44
.asciz "WPS: Invalid Secondary Device Type length %u"
L_.str.45: ## @.str.45
.asciz "WPS: Invalid AP Channel length %u"
L_.str.46: ## @.str.46
.asciz "WPS: Unsupported attribute type 0x%x len=%u"
.no_dead_strip _wps_set_attr
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function wps_set_attr
_wps_set_attr: ; @wps_set_attr
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x3
sub w8, w1, #128
cmp w8, #51
b.hi LBB0_85
; %bb.1:
mov x21, x2
mov x20, x0
Lloh0:
adrp x9, lJTI0_0@PAGE
Lloh1:
add x9, x9, lJTI0_0@PAGEOFF
adr x10, LBB0_2
ldrh w11, [x9, x8, lsl #1]
add x10, x10, x11, lsl #2
br x10
LBB0_2:
cmp w19, #1
b.ne LBB0_111
; %bb.3:
str x21, [x20, #328]
b LBB0_162
LBB0_4:
cmp w19, #1
b.ne LBB0_112
; %bb.5:
str x21, [x20, #472]
b LBB0_162
LBB0_6:
mov x0, x20
mov x1, x21
mov x2, x19
bl _wps_parse_vendor_ext
tbz w0, #31, LBB0_162
; %bb.7:
mov w0, #-1
b LBB0_163
LBB0_8:
Lloh2:
adrp x8, _WPS_UUID_LEN@GOTPAGE
Lloh3:
ldr x8, [x8, _WPS_UUID_LEN@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
cmp w8, w19
b.ne LBB0_113
; %bb.9:
str x21, [x20, #432]
b LBB0_162
LBB0_10:
Lloh5:
adrp x8, _WPS_UUID_LEN@GOTPAGE
Lloh6:
ldr x8, [x8, _WPS_UUID_LEN@GOTPAGEOFF]
Lloh7:
ldr w8, [x8]
cmp w8, w19
b.ne LBB0_114
; %bb.11:
str x21, [x20, #440]
b LBB0_162
LBB0_12:
Lloh8:
adrp x8, _SSID_MAX_LEN@GOTPAGE
Lloh9:
ldr x8, [x8, _SSID_MAX_LEN@GOTPAGEOFF]
Lloh10:
ldr w8, [x8]
cmp w8, w19
b.ge LBB0_115
; %bb.13:
Lloh11:
adrp x8, _MSG_DEBUG@GOTPAGE
Lloh12:
ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh13:
ldr w0, [x8]
Lloh14:
adrp x1, l_.str.40@PAGE
Lloh15:
add x1, x1, l_.str.40@PAGEOFF
mov x2, x19
b LBB0_161
LBB0_14:
str x21, [x20, #152]
Lloh16:
adrp x8, _WPS_SERIAL_NUMBER_MAX_LEN@GOTPAGE
Lloh17:
ldr x8, [x8, _WPS_SERIAL_NUMBER_MAX_LEN@GOTPAGEOFF]
Lloh18:
ldr w8, [x8]
cmp w8, w19
b.ge LBB0_116
; %bb.15:
str w8, [x20, #16]
b LBB0_162
LBB0_16:
cmp w19, #2
b.ne LBB0_117
; %bb.17:
str x21, [x20, #392]
b LBB0_162
LBB0_18:
cmp w19, #1
b.ne LBB0_118
; %bb.19:
str x21, [x20, #200]
b LBB0_162
LBB0_20:
Lloh19:
adrp x8, _WPS_SEC_DEV_TYPE_MAX_LEN@GOTPAGE
Lloh20:
ldr x8, [x8, _WPS_SEC_DEV_TYPE_MAX_LEN@GOTPAGEOFF]
Lloh21:
ldr w8, [x8]
cmp w8, w19
b.lt LBB0_22
; %bb.21:
Lloh22:
adrp x8, _WPS_DEV_TYPE_LEN@GOTPAGE
Lloh23:
ldr x8, [x8, _WPS_DEV_TYPE_LEN@GOTPAGEOFF]
Lloh24:
ldr w8, [x8]
sdiv w9, w19, w8
msub w8, w9, w8, w19
cmp w8, #1
b.lt LBB0_164
LBB0_22:
Lloh25:
adrp x8, _MSG_DEBUG@GOTPAGE
Lloh26:
ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh27:
ldr w0, [x8]
Lloh28:
adrp x1, l_.str.44@PAGE
Lloh29:
add x1, x1, l_.str.44@PAGEOFF
b LBB0_158
LBB0_23:
Lloh30:
adrp x8, _WPS_SECRET_NONCE_LEN@GOTPAGE
Lloh31:
ldr x8, [x8, _WPS_SECRET_NONCE_LEN@GOTPAGEOFF]
Lloh32:
ldr w8, [x8]
cmp w8, w19
b.ne LBB0_119
; %bb.24:
str x21, [x20, #272]
b LBB0_162
LBB0_25:
Lloh33:
adrp x8, _WPS_SECRET_NONCE_LEN@GOTPAGE
Lloh34:
ldr x8, [x8, _WPS_SECRET_NONCE_LEN@GOTPAGEOFF]
Lloh35:
ldr w8, [x8]
cmp w8, w19
b.ne LBB0_120
; %bb.26:
str x21, [x20, #280]
b LBB0_162
LBB0_27:
Lloh36:
adrp x8, _WPS_HASH_LEN@GOTPAGE
Lloh37:
ldr x8, [x8, _WPS_HASH_LEN@GOTPAGEOFF]
Lloh38:
ldr w8, [x8]
cmp w8, w19
b.ne LBB0_121
; %bb.28:
str x21, [x20, #304]
b LBB0_162
LBB0_29:
Lloh39:
adrp x8, _WPS_HASH_LEN@GOTPAGE
Lloh40:
ldr x8, [x8, _WPS_HASH_LEN@GOTPAGEOFF]
Lloh41:
ldr w8, [x8]
cmp w8, w19
b.ne LBB0_122
; %bb.30:
str x21, [x20, #312]
b LBB0_162
LBB0_31:
cmp w19, #1
b.ne LBB0_123
; %bb.32:
str x21, [x20, #376]
b LBB0_162
LBB0_33:
cmp w19, #1
b.ne LBB0_124
; %bb.34:
str x21, [x20, #184]
b LBB0_162
LBB0_35:
cmp w19, #1
b.ne LBB0_125
; %bb.36:
str x21, [x20, #192]
b LBB0_162
LBB0_37:
Lloh42:
adrp x8, _WPS_DEV_TYPE_LEN@GOTPAGE
Lloh43:
ldr x8, [x8, _WPS_DEV_TYPE_LEN@GOTPAGEOFF]
Lloh44:
ldr w8, [x8]
cmp w8, w19
b.ne LBB0_126
; %bb.38:
ldr x8, [x20, #56]
Lloh45:
adrp x9, _MAX_REQ_DEV_TYPE_COUNT@GOTPAGE
Lloh46:
ldr x9, [x9, _MAX_REQ_DEV_TYPE_COUNT@GOTPAGEOFF]
Lloh47:
ldr x2, [x9]
cmp x8, x2
b.hs LBB0_159
; %bb.39:
ldr x9, [x20, #88]
str x21, [x9, x8, lsl #3]
add x8, x8, #1
str x8, [x20, #56]
b LBB0_162
LBB0_40:
Lloh48:
adrp x8, _WPS_NONCE_LEN@GOTPAGE
Lloh49:
ldr x8, [x8, _WPS_NONCE_LEN@GOTPAGEOFF]
Lloh50:
ldr w8, [x8]
cmp w8, w19
b.ne LBB0_127
; %bb.41:
str x21, [x20, #448]
b LBB0_162
LBB0_42:
Lloh51:
adrp x8, _WPS_DEV_TYPE_LEN@GOTPAGE
Lloh52:
ldr x8, [x8, _WPS_DEV_TYPE_LEN@GOTPAGEOFF]
Lloh53:
ldr w8, [x8]
cmp w8, w19
b.ne LBB0_128
; %bb.43:
str x21, [x20, #384]
b LBB0_162
LBB0_44:
cmp w19, #4
b.ne LBB0_129
; %bb.45:
str x21, [x20, #336]
b LBB0_162
LBB0_46:
str x21, [x20, #104]
str w19, [x20, #52]
b LBB0_162
LBB0_47:
cmp w19, #1
b.ne LBB0_130
; %bb.48:
str x21, [x20, #224]
b LBB0_162
LBB0_49:
str x21, [x20, #160]
Lloh54:
adrp x8, _WPS_MODEL_NUMBER_MAX_LEN@GOTPAGE
Lloh55:
ldr x8, [x8, _WPS_MODEL_NUMBER_MAX_LEN@GOTPAGEOFF]
Lloh56:
ldr w8, [x8]
cmp w8, w19
b.ge LBB0_131
; %bb.50:
str w8, [x20, #12]
b LBB0_162
LBB0_51:
Lloh57:
adrp x8, _ETH_ALEN@GOTPAGE
Lloh58:
ldr x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh59:
ldr w8, [x8]
cmp w8, w19
b.ne LBB0_132
; %bb.52:
str x21, [x20, #208]
b LBB0_162
LBB0_53:
Lloh60:
adrp x8, _WPS_KWA_LEN@GOTPAGE
Lloh61:
ldr x8, [x8, _WPS_KWA_LEN@GOTPAGEOFF]
Lloh62:
ldr w8, [x8]
cmp w8, w19
b.ne LBB0_133
; %bb.54:
str x21, [x20, #248]
b LBB0_162
LBB0_55:
Lloh63:
adrp x8, _WPS_SECRET_NONCE_LEN@GOTPAGE
Lloh64:
ldr x8, [x8, _WPS_SECRET_NONCE_LEN@GOTPAGEOFF]
Lloh65:
ldr w8, [x8]
cmp w8, w19
b.ne LBB0_134
; %bb.56:
str x21, [x20, #256]
b LBB0_162
LBB0_57:
Lloh66:
adrp x8, _WPS_SECRET_NONCE_LEN@GOTPAGE
Lloh67:
ldr x8, [x8, _WPS_SECRET_NONCE_LEN@GOTPAGEOFF]
Lloh68:
ldr w8, [x8]
cmp w8, w19
b.ne LBB0_135
; %bb.58:
str x21, [x20, #264]
b LBB0_162
LBB0_59:
Lloh69:
adrp x8, _WPS_HASH_LEN@GOTPAGE
Lloh70:
ldr x8, [x8, _WPS_HASH_LEN@GOTPAGEOFF]
Lloh71:
ldr w8, [x8]
cmp w8, w19
b.ne LBB0_136
; %bb.60:
str x21, [x20, #288]
b LBB0_162
LBB0_61:
Lloh72:
adrp x8, _WPS_HASH_LEN@GOTPAGE
Lloh73:
ldr x8, [x8, _WPS_HASH_LEN@GOTPAGEOFF]
Lloh74:
ldr w8, [x8]
cmp w8, w19
b.ne LBB0_137
; %bb.62:
str x21, [x20, #296]
b LBB0_162
LBB0_63:
Lloh75:
adrp x8, _WPS_NONCE_LEN@GOTPAGE
Lloh76:
ldr x8, [x8, _WPS_NONCE_LEN@GOTPAGEOFF]
Lloh77:
ldr w8, [x8]
cmp w8, w19
b.ne LBB0_138
; %bb.64:
str x21, [x20, #456]
b LBB0_162
LBB0_65:
cmp w19, #2
b.ne LBB0_139
; %bb.66:
str x21, [x20, #416]
b LBB0_162
LBB0_67:
cmp w19, #2
b.ne LBB0_140
; %bb.68:
str x21, [x20, #352]
b LBB0_162
LBB0_69:
Lloh78:
adrp x8, _WPS_DEV_NAME_MAX_LEN@GOTPAGE
Lloh79:
ldr x8, [x8, _WPS_DEV_NAME_MAX_LEN@GOTPAGEOFF]
Lloh80:
ldr w8, [x8]
cmp w8, w19
b.ge LBB0_141
; %bb.70:
Lloh81:
adrp x8, _MSG_DEBUG@GOTPAGE
Lloh82:
ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh83:
ldr w0, [x8]
Lloh84:
adrp x1, l_.str.37@PAGE
Lloh85:
add x1, x1, l_.str.37@PAGEOFF
mov x2, x19
b LBB0_161
LBB0_71:
cmp w19, #1
b.ne LBB0_142
; %bb.72:
str x21, [x20, #408]
b LBB0_162
LBB0_73:
cmp w19, #2
b.ne LBB0_143
; %bb.74:
str x21, [x20, #400]
b LBB0_162
LBB0_75:
cmp w19, #2
b.ne LBB0_144
; %bb.76:
str x21, [x20, #360]
b LBB0_162
LBB0_77:
cmp w19, #2
b.ne LBB0_145
; %bb.78:
str x21, [x20, #240]
b LBB0_162
LBB0_79:
Lloh86:
adrp x8, _WPS_AUTHENTICATOR_LEN@GOTPAGE
Lloh87:
ldr x8, [x8, _WPS_AUTHENTICATOR_LEN@GOTPAGEOFF]
Lloh88:
ldr w8, [x8]
cmp w8, w19
b.ne LBB0_146
; %bb.80:
str x21, [x20, #320]
b LBB0_162
LBB0_81:
cmp w19, #2
b.ne LBB0_147
; %bb.82:
str x21, [x20, #368]
b LBB0_162
LBB0_83:
cmp w19, #1
b.ne LBB0_148
; %bb.84:
str x21, [x20, #96]
b LBB0_162
LBB0_85:
mov x2, x1
Lloh89:
adrp x8, _MSG_DEBUG@GOTPAGE
Lloh90:
ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh91:
ldr w0, [x8]
str x19, [sp]
Lloh92:
adrp x1, l_.str.46@PAGE
Lloh93:
add x1, x1, l_.str.46@PAGEOFF
b LBB0_161
LBB0_86:
sub w8, w19, #193
cmn w8, #4
b.hi LBB0_149
; %bb.87:
Lloh94:
adrp x8, _MSG_DEBUG@GOTPAGE
Lloh95:
ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh96:
ldr w0, [x8]
Lloh97:
adrp x1, l_.str.38@PAGE
Lloh98:
add x1, x1, l_.str.38@PAGEOFF
mov x2, x19
b LBB0_161
LBB0_88:
Lloh99:
adrp x8, _WPS_OOB_PUBKEY_HASH_LEN@GOTPAGE
Lloh100:
ldr x8, [x8, _WPS_OOB_PUBKEY_HASH_LEN@GOTPAGEOFF]
Lloh101:
ldrsw x8, [x8]
add w9, w8, #2
cmp w9, w19
b.gt LBB0_110
; %bb.89:
Lloh102:
adrp x10, _WPS_OOB_DEVICE_PASSWORD_LEN@GOTPAGE
Lloh103:
ldr x10, [x10, _WPS_OOB_DEVICE_PASSWORD_LEN@GOTPAGEOFF]
Lloh104:
ldr w10, [x10]
add w10, w10, w9
cmp w10, w19
b.lt LBB0_110
; %bb.90:
Lloh105:
adrp x10, _WPS_OOB_DEVICE_PASSWORD_MIN_LEN@GOTPAGE
Lloh106:
ldr x10, [x10, _WPS_OOB_DEVICE_PASSWORD_MIN_LEN@GOTPAGEOFF]
Lloh107:
ldr w10, [x10]
add w9, w10, w9
cmp w9, w19
b.le LBB0_92
; %bb.91:
add x0, x21, x8, lsl #2
bl _WPA_GET_BE16
Lloh108:
adrp x8, _DEV_PW_NFC_CONNECTION_HANDOVER@GOTPAGE
Lloh109:
ldr x8, [x8, _DEV_PW_NFC_CONNECTION_HANDOVER@GOTPAGEOFF]
Lloh110:
ldr w8, [x8]
cmp w0, w8
b.ne LBB0_110
LBB0_92:
str x21, [x20, #344]
str w19, [x20]
b LBB0_162
LBB0_93:
cmp w19, #1
b.ne LBB0_150
; %bb.94:
str x21, [x20, #216]
b LBB0_162
LBB0_95:
cmp w19, #1
b.ne LBB0_151
; %bb.96:
str x21, [x20, #464]
b LBB0_162
LBB0_97:
str x21, [x20, #168]
Lloh111:
adrp x8, _WPS_MODEL_NAME_MAX_LEN@GOTPAGE
Lloh112:
ldr x8, [x8, _WPS_MODEL_NAME_MAX_LEN@GOTPAGEOFF]
Lloh113:
ldr w8, [x8]
cmp w8, w19
b.ge LBB0_152
; %bb.98:
str w8, [x20, #8]
b LBB0_162
LBB0_99:
str x21, [x20, #176]
Lloh114:
adrp x8, _WPS_MANUFACTURER_MAX_LEN@GOTPAGE
Lloh115:
ldr x8, [x8, _WPS_MANUFACTURER_MAX_LEN@GOTPAGEOFF]
Lloh116:
ldr w8, [x8]
cmp w8, w19
b.ge LBB0_153
; %bb.100:
str w8, [x20, #4]
b LBB0_162
LBB0_101:
cmp w19, #2
b.ne LBB0_154
; %bb.102:
str x21, [x20, #232]
b LBB0_162
LBB0_103:
str x21, [x20, #128]
str w19, [x20, #28]
b LBB0_162
LBB0_104:
ldr x8, [x20, #32]
Lloh117:
adrp x9, _MAX_CRED_COUNT@GOTPAGE
Lloh118:
ldr x9, [x9, _MAX_CRED_COUNT@GOTPAGEOFF]
Lloh119:
ldr x2, [x9]
cmp x8, x2
b.hs LBB0_155
; %bb.105:
ldr x9, [x20, #120]
str x21, [x9, x8, lsl #3]
ldr x9, [x20, #40]
str w19, [x9, x8, lsl #2]
add x8, x8, #1
str x8, [x20, #32]
b LBB0_162
LBB0_106:
cmp w19, #2
b.ne LBB0_156
; %bb.107:
str x21, [x20, #424]
b LBB0_162
LBB0_108:
cmp w19, #2
b.ne LBB0_157
; %bb.109:
str x21, [x20, #72]
b LBB0_162
LBB0_110:
Lloh120:
adrp x8, _MSG_DEBUG@GOTPAGE
Lloh121:
ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh122:
ldr w0, [x8]
Lloh123:
adrp x1, l_.str.16@PAGE
Lloh124:
add x1, x1, l_.str.16@PAGEOFF
b LBB0_158
LBB0_111:
Lloh125:
adrp x8, _MSG_DEBUG@GOTPAGE
Lloh126:
ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh127:
ldr w0, [x8]
Lloh128:
adrp x1, l_.str.18@PAGE
Lloh129:
add x1, x1, l_.str.18@PAGEOFF
b LBB0_158
LBB0_112:
Lloh130:
adrp x8, _MSG_DEBUG@GOTPAGE
Lloh131:
ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh132:
ldr w0, [x8]
Lloh133:
adrp x1, l_.str@PAGE
Lloh134:
add x1, x1, l_.str@PAGEOFF
b LBB0_158
LBB0_113:
Lloh135:
adrp x8, _MSG_DEBUG@GOTPAGE
Lloh136:
ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh137:
ldr w0, [x8]
Lloh138:
adrp x1, l_.str.5@PAGE
Lloh139:
add x1, x1, l_.str.5@PAGEOFF
b LBB0_158
LBB0_114:
Lloh140:
adrp x8, _MSG_DEBUG@GOTPAGE
Lloh141:
ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh142:
ldr w0, [x8]
Lloh143:
adrp x1, l_.str.4@PAGE
Lloh144:
add x1, x1, l_.str.4@PAGEOFF
b LBB0_158
LBB0_115:
str x21, [x20, #112]
str w19, [x20, #48]
b LBB0_162
LBB0_116:
str w19, [x20, #16]
b LBB0_162
LBB0_117:
Lloh145:
adrp x8, _MSG_DEBUG@GOTPAGE
Lloh146:
ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh147:
ldr w0, [x8]
Lloh148:
adrp x1, l_.str.10@PAGE
Lloh149:
add x1, x1, l_.str.10@PAGEOFF
b LBB0_158
LBB0_118:
Lloh150:
adrp x8, _MSG_DEBUG@GOTPAGE
Lloh151:
ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh152:
ldr w0, [x8]
Lloh153:
adrp x1, l_.str.34@PAGE
Lloh154:
add x1, x1, l_.str.34@PAGEOFF
b LBB0_158
LBB0_119:
Lloh155:
adrp x8, _MSG_DEBUG@GOTPAGE
Lloh156:
ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh157:
ldr w0, [x8]
Lloh158:
adrp x1, l_.str.25@PAGE
Lloh159:
add x1, x1, l_.str.25@PAGEOFF
b LBB0_158
LBB0_120:
Lloh160:
adrp x8, _MSG_DEBUG@GOTPAGE
Lloh161:
ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh162:
ldr w0, [x8]
Lloh163:
adrp x1, l_.str.24@PAGE
Lloh164:
add x1, x1, l_.str.24@PAGEOFF
b LBB0_158
LBB0_121:
Lloh165:
adrp x8, _MSG_DEBUG@GOTPAGE
Lloh166:
ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh167:
ldr w0, [x8]
Lloh168:
adrp x1, l_.str.21@PAGE
Lloh169:
add x1, x1, l_.str.21@PAGEOFF
b LBB0_158
LBB0_122:
Lloh170:
adrp x8, _MSG_DEBUG@GOTPAGE
Lloh171:
ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh172:
ldr w0, [x8]
Lloh173:
adrp x1, l_.str.20@PAGE
Lloh174:
add x1, x1, l_.str.20@PAGEOFF
b LBB0_158
LBB0_123:
Lloh175:
adrp x8, _MSG_DEBUG@GOTPAGE
Lloh176:
ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh177:
ldr w0, [x8]
Lloh178:
adrp x1, l_.str.12@PAGE
Lloh179:
add x1, x1, l_.str.12@PAGEOFF
b LBB0_158
LBB0_124:
Lloh180:
adrp x8, _MSG_DEBUG@GOTPAGE
Lloh181:
ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh182:
ldr w0, [x8]
Lloh183:
adrp x1, l_.str.36@PAGE
Lloh184:
add x1, x1, l_.str.36@PAGEOFF
b LBB0_158
LBB0_125:
Lloh185:
adrp x8, _MSG_DEBUG@GOTPAGE
Lloh186:
ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh187:
ldr w0, [x8]
Lloh188:
adrp x1, l_.str.35@PAGE
Lloh189:
add x1, x1, l_.str.35@PAGEOFF
b LBB0_158
LBB0_126:
Lloh190:
adrp x8, _MSG_DEBUG@GOTPAGE
Lloh191:
ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh192:
ldr w0, [x8]
Lloh193:
adrp x1, l_.str.42@PAGE
Lloh194:
add x1, x1, l_.str.42@PAGEOFF
b LBB0_158
LBB0_127:
Lloh195:
adrp x8, _MSG_DEBUG@GOTPAGE
Lloh196:
ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh197:
ldr w0, [x8]
Lloh198:
adrp x1, l_.str.3@PAGE
Lloh199:
add x1, x1, l_.str.3@PAGEOFF
b LBB0_158
LBB0_128:
Lloh200:
adrp x8, _MSG_DEBUG@GOTPAGE
Lloh201:
ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh202:
ldr w0, [x8]
Lloh203:
adrp x1, l_.str.11@PAGE
Lloh204:
add x1, x1, l_.str.11@PAGEOFF
b LBB0_158
LBB0_129:
Lloh205:
adrp x8, _MSG_DEBUG@GOTPAGE
Lloh206:
ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh207:
ldr w0, [x8]
Lloh208:
adrp x1, l_.str.17@PAGE
Lloh209:
add x1, x1, l_.str.17@PAGEOFF
b LBB0_158
LBB0_130:
Lloh210:
adrp x8, _MSG_DEBUG@GOTPAGE
Lloh211:
ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh212:
ldr w0, [x8]
Lloh213:
adrp x1, l_.str.31@PAGE
Lloh214:
add x1, x1, l_.str.31@PAGEOFF
b LBB0_158
LBB0_131:
str w19, [x20, #12]
b LBB0_162
LBB0_132:
Lloh215:
adrp x8, _MSG_DEBUG@GOTPAGE
Lloh216:
ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh217:
ldr w0, [x8]
Lloh218:
adrp x1, l_.str.33@PAGE
Lloh219:
add x1, x1, l_.str.33@PAGEOFF
b LBB0_158
LBB0_133:
Lloh220:
adrp x8, _MSG_DEBUG@GOTPAGE
Lloh221:
ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh222:
ldr w0, [x8]
Lloh223:
adrp x1, l_.str.28@PAGE
Lloh224:
add x1, x1, l_.str.28@PAGEOFF
b LBB0_158
LBB0_134:
Lloh225:
adrp x8, _MSG_DEBUG@GOTPAGE
Lloh226:
ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh227:
ldr w0, [x8]
Lloh228:
adrp x1, l_.str.27@PAGE
Lloh229:
add x1, x1, l_.str.27@PAGEOFF
b LBB0_158
LBB0_135:
Lloh230:
adrp x8, _MSG_DEBUG@GOTPAGE
Lloh231:
ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh232:
ldr w0, [x8]
Lloh233:
adrp x1, l_.str.26@PAGE
Lloh234:
add x1, x1, l_.str.26@PAGEOFF
b LBB0_158
LBB0_136:
Lloh235:
adrp x8, _MSG_DEBUG@GOTPAGE
Lloh236:
ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh237:
ldr w0, [x8]
Lloh238:
adrp x1, l_.str.23@PAGE
Lloh239:
add x1, x1, l_.str.23@PAGEOFF
b LBB0_158
LBB0_137:
Lloh240:
adrp x8, _MSG_DEBUG@GOTPAGE
Lloh241:
ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh242:
ldr w0, [x8]
Lloh243:
adrp x1, l_.str.22@PAGE
Lloh244:
add x1, x1, l_.str.22@PAGEOFF
b LBB0_158
LBB0_138:
Lloh245:
adrp x8, _MSG_DEBUG@GOTPAGE
Lloh246:
ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh247:
ldr w0, [x8]
Lloh248:
adrp x1, l_.str.2@PAGE
Lloh249:
add x1, x1, l_.str.2@PAGEOFF
b LBB0_158
LBB0_139:
Lloh250:
adrp x8, _MSG_DEBUG@GOTPAGE
Lloh251:
ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh252:
ldr w0, [x8]
Lloh253:
adrp x1, l_.str.7@PAGE
Lloh254:
add x1, x1, l_.str.7@PAGEOFF
b LBB0_158
LBB0_140:
Lloh255:
adrp x8, _MSG_DEBUG@GOTPAGE
Lloh256:
ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh257:
ldr w0, [x8]
Lloh258:
adrp x1, l_.str.15@PAGE
Lloh259:
add x1, x1, l_.str.15@PAGEOFF
b LBB0_158
LBB0_141:
str x21, [x20, #144]
str w19, [x20, #20]
b LBB0_162
LBB0_142:
Lloh260:
adrp x8, _MSG_DEBUG@GOTPAGE
Lloh261:
ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh262:
ldr w0, [x8]
Lloh263:
adrp x1, l_.str.8@PAGE
Lloh264:
add x1, x1, l_.str.8@PAGEOFF
b LBB0_158
LBB0_143:
Lloh265:
adrp x8, _MSG_DEBUG@GOTPAGE
Lloh266:
ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh267:
ldr w0, [x8]
Lloh268:
adrp x1, l_.str.9@PAGE
Lloh269:
add x1, x1, l_.str.9@PAGEOFF
b LBB0_158
LBB0_144:
Lloh270:
adrp x8, _MSG_DEBUG@GOTPAGE
Lloh271:
ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh272:
ldr w0, [x8]
Lloh273:
adrp x1, l_.str.14@PAGE
Lloh274:
add x1, x1, l_.str.14@PAGEOFF
b LBB0_158
LBB0_145:
Lloh275:
adrp x8, _MSG_DEBUG@GOTPAGE
Lloh276:
ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh277:
ldr w0, [x8]
Lloh278:
adrp x1, l_.str.29@PAGE
Lloh279:
add x1, x1, l_.str.29@PAGEOFF
b LBB0_158
LBB0_146:
Lloh280:
adrp x8, _MSG_DEBUG@GOTPAGE
Lloh281:
ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh282:
ldr w0, [x8]
Lloh283:
adrp x1, l_.str.19@PAGE
Lloh284:
add x1, x1, l_.str.19@PAGEOFF
b LBB0_158
LBB0_147:
Lloh285:
adrp x8, _MSG_DEBUG@GOTPAGE
Lloh286:
ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh287:
ldr w0, [x8]
Lloh288:
adrp x1, l_.str.13@PAGE
Lloh289:
add x1, x1, l_.str.13@PAGEOFF
b LBB0_158
LBB0_148:
Lloh290:
adrp x8, _MSG_DEBUG@GOTPAGE
Lloh291:
ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh292:
ldr w0, [x8]
Lloh293:
adrp x1, l_.str.41@PAGE
Lloh294:
add x1, x1, l_.str.41@PAGEOFF
b LBB0_158
LBB0_149:
str x21, [x20, #136]
str w19, [x20, #24]
b LBB0_162
LBB0_150:
Lloh295:
adrp x8, _MSG_DEBUG@GOTPAGE
Lloh296:
ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh297:
ldr w0, [x8]
Lloh298:
adrp x1, l_.str.32@PAGE
Lloh299:
add x1, x1, l_.str.32@PAGEOFF
b LBB0_158
LBB0_151:
Lloh300:
adrp x8, _MSG_DEBUG@GOTPAGE
Lloh301:
ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh302:
ldr w0, [x8]
Lloh303:
adrp x1, l_.str.1@PAGE
Lloh304:
add x1, x1, l_.str.1@PAGEOFF
b LBB0_158
LBB0_152:
str w19, [x20, #8]
b LBB0_162
LBB0_153:
str w19, [x20, #4]
b LBB0_162
LBB0_154:
Lloh305:
adrp x8, _MSG_DEBUG@GOTPAGE
Lloh306:
ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh307:
ldr w0, [x8]
Lloh308:
adrp x1, l_.str.30@PAGE
Lloh309:
add x1, x1, l_.str.30@PAGEOFF
b LBB0_158
LBB0_155:
Lloh310:
adrp x8, _MSG_DEBUG@GOTPAGE
Lloh311:
ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh312:
ldr w0, [x8]
Lloh313:
adrp x1, l_.str.39@PAGE
Lloh314:
add x1, x1, l_.str.39@PAGEOFF
b LBB0_160
LBB0_156:
Lloh315:
adrp x8, _MSG_DEBUG@GOTPAGE
Lloh316:
ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh317:
ldr w0, [x8]
Lloh318:
adrp x1, l_.str.6@PAGE
Lloh319:
add x1, x1, l_.str.6@PAGEOFF
b LBB0_158
LBB0_157:
Lloh320:
adrp x8, _MSG_DEBUG@GOTPAGE
Lloh321:
ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh322:
ldr w0, [x8]
Lloh323:
adrp x1, l_.str.45@PAGE
Lloh324:
add x1, x1, l_.str.45@PAGEOFF
LBB0_158:
mov x2, x19
bl _wpa_printf
mov w0, #-1
b LBB0_163
LBB0_159:
Lloh325:
adrp x8, _MSG_DEBUG@GOTPAGE
Lloh326:
ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh327:
ldr w0, [x8]
Lloh328:
adrp x1, l_.str.43@PAGE
Lloh329:
add x1, x1, l_.str.43@PAGEOFF
LBB0_160:
; kill: def $w2 killed $w2 killed $x2
LBB0_161:
bl _wpa_printf
LBB0_162:
mov w0, #0
LBB0_163:
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_164:
str x21, [x20, #80]
str w19, [x20, #64]
b LBB0_162
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38
.loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41
.loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44
.loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47
.loh AdrpLdrGotLdr Lloh48, Lloh49, Lloh50
.loh AdrpLdrGotLdr Lloh51, Lloh52, Lloh53
.loh AdrpLdrGotLdr Lloh54, Lloh55, Lloh56
.loh AdrpLdrGotLdr Lloh57, Lloh58, Lloh59
.loh AdrpLdrGotLdr Lloh60, Lloh61, Lloh62
.loh AdrpLdrGotLdr Lloh63, Lloh64, Lloh65
.loh AdrpLdrGotLdr Lloh66, Lloh67, Lloh68
.loh AdrpLdrGotLdr Lloh69, Lloh70, Lloh71
.loh AdrpLdrGotLdr Lloh72, Lloh73, Lloh74
.loh AdrpLdrGotLdr Lloh75, Lloh76, Lloh77
.loh AdrpLdrGotLdr Lloh78, Lloh79, Lloh80
.loh AdrpAdd Lloh84, Lloh85
.loh AdrpLdrGotLdr Lloh81, Lloh82, Lloh83
.loh AdrpLdrGotLdr Lloh86, Lloh87, Lloh88
.loh AdrpAdd Lloh92, Lloh93
.loh AdrpLdrGotLdr Lloh89, Lloh90, Lloh91
.loh AdrpAdd Lloh97, Lloh98
.loh AdrpLdrGotLdr Lloh94, Lloh95, Lloh96
.loh AdrpLdrGotLdr Lloh99, Lloh100, Lloh101
.loh AdrpLdrGotLdr Lloh102, Lloh103, Lloh104
.loh AdrpLdrGotLdr Lloh105, Lloh106, Lloh107
.loh AdrpLdrGotLdr Lloh108, Lloh109, Lloh110
.loh AdrpLdrGotLdr Lloh111, Lloh112, Lloh113
.loh AdrpLdrGotLdr Lloh114, Lloh115, Lloh116
.loh AdrpLdrGotLdr Lloh117, Lloh118, Lloh119
.loh AdrpAdd Lloh123, Lloh124
.loh AdrpLdrGotLdr Lloh120, Lloh121, Lloh122
.loh AdrpAdd Lloh128, Lloh129
.loh AdrpLdrGotLdr Lloh125, Lloh126, Lloh127
.loh AdrpAdd Lloh133, Lloh134
.loh AdrpLdrGotLdr Lloh130, Lloh131, Lloh132
.loh AdrpAdd Lloh138, Lloh139
.loh AdrpLdrGotLdr Lloh135, Lloh136, Lloh137
.loh AdrpAdd Lloh143, Lloh144
.loh AdrpLdrGotLdr Lloh140, Lloh141, Lloh142
.loh AdrpAdd Lloh148, Lloh149
.loh AdrpLdrGotLdr Lloh145, Lloh146, Lloh147
.loh AdrpAdd Lloh153, Lloh154
.loh AdrpLdrGotLdr Lloh150, Lloh151, Lloh152
.loh AdrpAdd Lloh158, Lloh159
.loh AdrpLdrGotLdr Lloh155, Lloh156, Lloh157
.loh AdrpAdd Lloh163, Lloh164
.loh AdrpLdrGotLdr Lloh160, Lloh161, Lloh162
.loh AdrpAdd Lloh168, Lloh169
.loh AdrpLdrGotLdr Lloh165, Lloh166, Lloh167
.loh AdrpAdd Lloh173, Lloh174
.loh AdrpLdrGotLdr Lloh170, Lloh171, Lloh172
.loh AdrpAdd Lloh178, Lloh179
.loh AdrpLdrGotLdr Lloh175, Lloh176, Lloh177
.loh AdrpAdd Lloh183, Lloh184
.loh AdrpLdrGotLdr Lloh180, Lloh181, Lloh182
.loh AdrpAdd Lloh188, Lloh189
.loh AdrpLdrGotLdr Lloh185, Lloh186, Lloh187
.loh AdrpAdd Lloh193, Lloh194
.loh AdrpLdrGotLdr Lloh190, Lloh191, Lloh192
.loh AdrpAdd Lloh198, Lloh199
.loh AdrpLdrGotLdr Lloh195, Lloh196, Lloh197
.loh AdrpAdd Lloh203, Lloh204
.loh AdrpLdrGotLdr Lloh200, Lloh201, Lloh202
.loh AdrpAdd Lloh208, Lloh209
.loh AdrpLdrGotLdr Lloh205, Lloh206, Lloh207
.loh AdrpAdd Lloh213, Lloh214
.loh AdrpLdrGotLdr Lloh210, Lloh211, Lloh212
.loh AdrpAdd Lloh218, Lloh219
.loh AdrpLdrGotLdr Lloh215, Lloh216, Lloh217
.loh AdrpAdd Lloh223, Lloh224
.loh AdrpLdrGotLdr Lloh220, Lloh221, Lloh222
.loh AdrpAdd Lloh228, Lloh229
.loh AdrpLdrGotLdr Lloh225, Lloh226, Lloh227
.loh AdrpAdd Lloh233, Lloh234
.loh AdrpLdrGotLdr Lloh230, Lloh231, Lloh232
.loh AdrpAdd Lloh238, Lloh239
.loh AdrpLdrGotLdr Lloh235, Lloh236, Lloh237
.loh AdrpAdd Lloh243, Lloh244
.loh AdrpLdrGotLdr Lloh240, Lloh241, Lloh242
.loh AdrpAdd Lloh248, Lloh249
.loh AdrpLdrGotLdr Lloh245, Lloh246, Lloh247
.loh AdrpAdd Lloh253, Lloh254
.loh AdrpLdrGotLdr Lloh250, Lloh251, Lloh252
.loh AdrpAdd Lloh258, Lloh259
.loh AdrpLdrGotLdr Lloh255, Lloh256, Lloh257
.loh AdrpAdd Lloh263, Lloh264
.loh AdrpLdrGotLdr Lloh260, Lloh261, Lloh262
.loh AdrpAdd Lloh268, Lloh269
.loh AdrpLdrGotLdr Lloh265, Lloh266, Lloh267
.loh AdrpAdd Lloh273, Lloh274
.loh AdrpLdrGotLdr Lloh270, Lloh271, Lloh272
.loh AdrpAdd Lloh278, Lloh279
.loh AdrpLdrGotLdr Lloh275, Lloh276, Lloh277
.loh AdrpAdd Lloh283, Lloh284
.loh AdrpLdrGotLdr Lloh280, Lloh281, Lloh282
.loh AdrpAdd Lloh288, Lloh289
.loh AdrpLdrGotLdr Lloh285, Lloh286, Lloh287
.loh AdrpAdd Lloh293, Lloh294
.loh AdrpLdrGotLdr Lloh290, Lloh291, Lloh292
.loh AdrpAdd Lloh298, Lloh299
.loh AdrpLdrGotLdr Lloh295, Lloh296, Lloh297
.loh AdrpAdd Lloh303, Lloh304
.loh AdrpLdrGotLdr Lloh300, Lloh301, Lloh302
.loh AdrpAdd Lloh308, Lloh309
.loh AdrpLdrGotLdr Lloh305, Lloh306, Lloh307
.loh AdrpAdd Lloh313, Lloh314
.loh AdrpLdrGotLdr Lloh310, Lloh311, Lloh312
.loh AdrpAdd Lloh318, Lloh319
.loh AdrpLdrGotLdr Lloh315, Lloh316, Lloh317
.loh AdrpAdd Lloh323, Lloh324
.loh AdrpLdrGotLdr Lloh320, Lloh321, Lloh322
.loh AdrpAdd Lloh328, Lloh329
.loh AdrpLdrGotLdr Lloh325, Lloh326, Lloh327
.cfi_endproc
.section __TEXT,__const
.p2align 1
lJTI0_0:
.short (LBB0_2-LBB0_2)>>2
.short (LBB0_4-LBB0_2)>>2
.short (LBB0_6-LBB0_2)>>2
.short (LBB0_8-LBB0_2)>>2
.short (LBB0_10-LBB0_2)>>2
.short (LBB0_12-LBB0_2)>>2
.short (LBB0_14-LBB0_2)>>2
.short (LBB0_16-LBB0_2)>>2
.short (LBB0_18-LBB0_2)>>2
.short (LBB0_20-LBB0_2)>>2
.short (LBB0_23-LBB0_2)>>2
.short (LBB0_25-LBB0_2)>>2
.short (LBB0_27-LBB0_2)>>2
.short (LBB0_29-LBB0_2)>>2
.short (LBB0_31-LBB0_2)>>2
.short (LBB0_33-LBB0_2)>>2
.short (LBB0_35-LBB0_2)>>2
.short (LBB0_37-LBB0_2)>>2
.short (LBB0_40-LBB0_2)>>2
.short (LBB0_86-LBB0_2)>>2
.short (LBB0_42-LBB0_2)>>2
.short (LBB0_44-LBB0_2)>>2
.short (LBB0_88-LBB0_2)>>2
.short (LBB0_93-LBB0_2)>>2
.short (LBB0_46-LBB0_2)>>2
.short (LBB0_47-LBB0_2)>>2
.short (LBB0_95-LBB0_2)>>2
.short (LBB0_49-LBB0_2)>>2
.short (LBB0_97-LBB0_2)>>2
.short (LBB0_99-LBB0_2)>>2
.short (LBB0_51-LBB0_2)>>2
.short (LBB0_53-LBB0_2)>>2
.short (LBB0_55-LBB0_2)>>2
.short (LBB0_57-LBB0_2)>>2
.short (LBB0_59-LBB0_2)>>2
.short (LBB0_61-LBB0_2)>>2
.short (LBB0_63-LBB0_2)>>2
.short (LBB0_65-LBB0_2)>>2
.short (LBB0_101-LBB0_2)>>2
.short (LBB0_103-LBB0_2)>>2
.short (LBB0_67-LBB0_2)>>2
.short (LBB0_69-LBB0_2)>>2
.short (LBB0_104-LBB0_2)>>2
.short (LBB0_71-LBB0_2)>>2
.short (LBB0_73-LBB0_2)>>2
.short (LBB0_75-LBB0_2)>>2
.short (LBB0_106-LBB0_2)>>2
.short (LBB0_77-LBB0_2)>>2
.short (LBB0_79-LBB0_2)>>2
.short (LBB0_81-LBB0_2)>>2
.short (LBB0_83-LBB0_2)>>2
.short (LBB0_108-LBB0_2)>>2
; -- End function
.comm _MSG_DEBUG,4,2 ; @MSG_DEBUG
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "WPS: Invalid Version length %u"
l_.str.1: ; @.str.1
.asciz "WPS: Invalid Message Type length %u"
.comm _WPS_NONCE_LEN,4,2 ; @WPS_NONCE_LEN
l_.str.2: ; @.str.2
.asciz "WPS: Invalid Enrollee Nonce length %u"
l_.str.3: ; @.str.3
.asciz "WPS: Invalid Registrar Nonce length %u"
.comm _WPS_UUID_LEN,4,2 ; @WPS_UUID_LEN
l_.str.4: ; @.str.4
.asciz "WPS: Invalid UUID-E length %u"
l_.str.5: ; @.str.5
.asciz "WPS: Invalid UUID-R length %u"
l_.str.6: ; @.str.6
.asciz "WPS: Invalid Authentication Type Flags length %u"
l_.str.7: ; @.str.7
.asciz "WPS: Invalid Encryption Type Flags length %u"
l_.str.8: ; @.str.8
.asciz "WPS: Invalid Connection Type Flags length %u"
l_.str.9: ; @.str.9
.asciz "WPS: Invalid Config Methods length %u"
l_.str.10: ; @.str.10
.asciz "WPS: Invalid Selected Registrar Config Methods length %u"
.comm _WPS_DEV_TYPE_LEN,4,2 ; @WPS_DEV_TYPE_LEN
l_.str.11: ; @.str.11
.asciz "WPS: Invalid Primary Device Type length %u"
l_.str.12: ; @.str.12
.asciz "WPS: Invalid RF Bands length %u"
l_.str.13: ; @.str.13
.asciz "WPS: Invalid Association State length %u"
l_.str.14: ; @.str.14
.asciz "WPS: Invalid Configuration Error length %u"
l_.str.15: ; @.str.15
.asciz "WPS: Invalid Device Password ID length %u"
.comm _WPS_OOB_PUBKEY_HASH_LEN,4,2 ; @WPS_OOB_PUBKEY_HASH_LEN
.comm _WPS_OOB_DEVICE_PASSWORD_LEN,4,2 ; @WPS_OOB_DEVICE_PASSWORD_LEN
.comm _WPS_OOB_DEVICE_PASSWORD_MIN_LEN,4,2 ; @WPS_OOB_DEVICE_PASSWORD_MIN_LEN
.comm _DEV_PW_NFC_CONNECTION_HANDOVER,4,2 ; @DEV_PW_NFC_CONNECTION_HANDOVER
l_.str.16: ; @.str.16
.asciz "WPS: Invalid OOB Device Password length %u"
l_.str.17: ; @.str.17
.asciz "WPS: Invalid OS Version length %u"
l_.str.18: ; @.str.18
.asciz "WPS: Invalid Wi-Fi Protected Setup State length %u"
.comm _WPS_AUTHENTICATOR_LEN,4,2 ; @WPS_AUTHENTICATOR_LEN
l_.str.19: ; @.str.19
.asciz "WPS: Invalid Authenticator length %u"
.comm _WPS_HASH_LEN,4,2 ; @WPS_HASH_LEN
l_.str.20: ; @.str.20
.asciz "WPS: Invalid R-Hash1 length %u"
l_.str.21: ; @.str.21
.asciz "WPS: Invalid R-Hash2 length %u"
l_.str.22: ; @.str.22
.asciz "WPS: Invalid E-Hash1 length %u"
l_.str.23: ; @.str.23
.asciz "WPS: Invalid E-Hash2 length %u"
.comm _WPS_SECRET_NONCE_LEN,4,2 ; @WPS_SECRET_NONCE_LEN
l_.str.24: ; @.str.24
.asciz "WPS: Invalid R-SNonce1 length %u"
l_.str.25: ; @.str.25
.asciz "WPS: Invalid R-SNonce2 length %u"
l_.str.26: ; @.str.26
.asciz "WPS: Invalid E-SNonce1 length %u"
l_.str.27: ; @.str.27
.asciz "WPS: Invalid E-SNonce2 length %u"
.comm _WPS_KWA_LEN,4,2 ; @WPS_KWA_LEN
l_.str.28: ; @.str.28
.asciz "WPS: Invalid Key Wrap Authenticator length %u"
l_.str.29: ; @.str.29
.asciz "WPS: Invalid Authentication Type length %u"
l_.str.30: ; @.str.30
.asciz "WPS: Invalid Encryption Type length %u"
l_.str.31: ; @.str.31
.asciz "WPS: Invalid Network Index length %u"
l_.str.32: ; @.str.32
.asciz "WPS: Invalid Network Key Index length %u"
.comm _ETH_ALEN,4,2 ; @ETH_ALEN
l_.str.33: ; @.str.33
.asciz "WPS: Invalid MAC Address length %u"
l_.str.34: ; @.str.34
.asciz "WPS: Invalid Selected Registrar length %u"
l_.str.35: ; @.str.35
.asciz "WPS: Invalid Request Type length %u"
l_.str.36: ; @.str.36
.asciz "WPS: Invalid Response Type length %u"
.comm _WPS_MANUFACTURER_MAX_LEN,4,2 ; @WPS_MANUFACTURER_MAX_LEN
.comm _WPS_MODEL_NAME_MAX_LEN,4,2 ; @WPS_MODEL_NAME_MAX_LEN
.comm _WPS_MODEL_NUMBER_MAX_LEN,4,2 ; @WPS_MODEL_NUMBER_MAX_LEN
.comm _WPS_SERIAL_NUMBER_MAX_LEN,4,2 ; @WPS_SERIAL_NUMBER_MAX_LEN
.comm _WPS_DEV_NAME_MAX_LEN,4,2 ; @WPS_DEV_NAME_MAX_LEN
l_.str.37: ; @.str.37
.asciz "WPS: Ignore too long Device Name (len=%u)"
l_.str.38: ; @.str.38
.asciz "WPS: Ignore Public Key with unexpected length %u"
.comm _MAX_CRED_COUNT,8,3 ; @MAX_CRED_COUNT
l_.str.39: ; @.str.39
.asciz "WPS: Skipped Credential attribute (max %d credentials)"
.comm _SSID_MAX_LEN,4,2 ; @SSID_MAX_LEN
l_.str.40: ; @.str.40
.asciz "WPS: Ignore too long SSID (len=%u)"
l_.str.41: ; @.str.41
.asciz "WPS: Invalid AP Setup Locked length %u"
l_.str.42: ; @.str.42
.asciz "WPS: Invalid Requested Device Type length %u"
.comm _MAX_REQ_DEV_TYPE_COUNT,8,3 ; @MAX_REQ_DEV_TYPE_COUNT
l_.str.43: ; @.str.43
.asciz "WPS: Skipped Requested Device Type attribute (max %u types)"
.comm _WPS_SEC_DEV_TYPE_MAX_LEN,4,2 ; @WPS_SEC_DEV_TYPE_MAX_LEN
l_.str.44: ; @.str.44
.asciz "WPS: Invalid Secondary Device Type length %u"
l_.str.45: ; @.str.45
.asciz "WPS: Invalid AP Channel length %u"
l_.str.46: ; @.str.46
.asciz "WPS: Unsupported attribute type 0x%x len=%u"
.no_dead_strip _wps_set_attr
.subsections_via_symbols
| AnghaBench/freebsd/contrib/wpa/src/wps/extr_wps_attr_parse.c_wps_set_attr.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## -- Begin function rtl8812ae_dm_txpower_tracking_callback_thermalmeter
LCPI0_0:
.quad 2 ## 0x2
.quad 2 ## 0x2
.section __TEXT,__text,regular,pure_instructions
.globl _rtl8812ae_dm_txpower_tracking_callback_thermalmeter
.p2align 4, 0x90
_rtl8812ae_dm_txpower_tracking_callback_thermalmeter: ## @rtl8812ae_dm_txpower_tracking_callback_thermalmeter
.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 $120, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
callq _rtl_priv
movq %rax, %r15
movq %r14, %rdi
callq _rtl_priv
movq %rax, %rdi
callq _rtl_efuse
movq %rax, -88(%rbp) ## 8-byte Spill
movq %r14, %rdi
callq _rtl_priv
movq %rax, %rdi
callq _rtl_dm
movq %rax, %r12
movq %r14, %rdi
callq _rtl_priv
movq %rax, %rdi
callq _rtl_hal
movq %rax, -64(%rbp) ## 8-byte Spill
leaq -128(%rbp), %rsi
leaq -120(%rbp), %rdx
leaq -112(%rbp), %rcx
leaq -104(%rbp), %r8
movq %r14, %rdi
callq _rtl8812ae_get_delta_swing_table
movl $1, (%r12)
movq _COMP_POWER_TRACKING@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _DBG_LOUD@GOTPCREL(%rip), %r13
movl (%r13), %edx
movl 4(%r12), %r8d
movq 8(%r12), %rax
movq _RF90_PATH_A@GOTPCREL(%rip), %rbx
movq (%rbx), %rcx
movl (%rax,%rcx,4), %r9d
movl 116(%r12), %eax
movl %eax, (%rsp)
leaq L_.str(%rip), %rcx
movq %r15, %rdi
xorl %eax, %eax
callq _RT_TRACE
movq (%rbx), %rsi
movq %r12, %rbx
movq %r13, %r12
movq _COMP_POWER_TRACKING@GOTPCREL(%rip), %r13
movq _RF_T_METER_8812A@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r14, -80(%rbp) ## 8-byte Spill
movq %r14, %rdi
movq -88(%rbp), %r14 ## 8-byte Reload
movl $64512, %ecx ## imm = 0xFC00
callq _rtl_get_rfreg
movl (%r13), %esi
movl (%r12), %edx
movl (%r14), %r9d
leaq L_.str.1(%rip), %rcx
movq %r15, -56(%rbp) ## 8-byte Spill
movq %r15, %rdi
movq %rax, %r15
movq %rax, %r8
xorl %eax, %eax
callq _RT_TRACE
cmpl $0, 112(%rbx)
je LBB0_86
## %bb.1:
movl (%r14), %eax
testl %eax, %eax
je LBB0_86
## %bb.2:
cmpl $255, %eax
je LBB0_86
## %bb.3:
movq -64(%rbp), %rax ## 8-byte Reload
cmpq $0, (%rax)
je LBB0_5
## %bb.4:
movl (%r13), %esi
movl (%r12), %edx
leaq L_.str.2(%rip), %rcx
movq -56(%rbp), %rdi ## 8-byte Reload
xorl %eax, %eax
callq _RT_TRACE
LBB0_5:
movq 16(%rbx), %rcx
movq 24(%rbx), %rax
movq %r15, (%rcx,%rax,8)
movq 24(%rbx), %rax
incq %rax
movq _AVG_THERMAL_NUM_8812A@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
xorl %esi, %esi
cmpq %rdx, %rax
cmovneq %rax, %rsi
movq %rsi, 24(%rbx)
testq %rdx, %rdx
movq %rbx, -48(%rbp) ## 8-byte Spill
je LBB0_22
## %bb.6:
cmpq $4, %rdx
jae LBB0_9
## %bb.7:
xorl %eax, %eax
xorl %edi, %edi
xorl %esi, %esi
jmp LBB0_8
LBB0_9:
movq %rdx, %rsi
andq $-4, %rsi
leaq -4(%rsi), %rax
movq %rax, %rbx
shrq $2, %rbx
incq %rbx
testq %rax, %rax
je LBB0_10
## %bb.11:
movq %rbx, %rax
andq $-2, %rax
pxor %xmm9, %xmm9
xorl %edi, %edi
movdqa LCPI0_0(%rip), %xmm8 ## xmm8 = [2,2]
pxor %xmm0, %xmm0
pxor %xmm1, %xmm1
pxor %xmm7, %xmm7
pxor %xmm6, %xmm6
.p2align 4, 0x90
LBB0_12: ## =>This Inner Loop Header: Depth=1
movdqu (%rcx,%rdi,8), %xmm5
movdqu 16(%rcx,%rdi,8), %xmm4
movdqu 32(%rcx,%rdi,8), %xmm2
movdqu 48(%rcx,%rdi,8), %xmm3
paddq %xmm5, %xmm0
paddq %xmm4, %xmm1
pcmpeqq %xmm9, %xmm5
paddq %xmm7, %xmm5
pcmpeqq %xmm9, %xmm4
paddq %xmm6, %xmm4
paddq %xmm2, %xmm0
pcmpeqq %xmm9, %xmm2
paddq %xmm3, %xmm1
pcmpeqq %xmm9, %xmm3
paddq %xmm8, %xmm2
paddq %xmm5, %xmm2
paddq %xmm8, %xmm3
paddq %xmm4, %xmm3
addq $8, %rdi
movdqa %xmm2, %xmm7
movdqa %xmm3, %xmm6
addq $-2, %rax
jne LBB0_12
## %bb.13:
testb $1, %bl
je LBB0_15
LBB0_14:
movdqu (%rcx,%rdi,8), %xmm4
movdqu 16(%rcx,%rdi,8), %xmm5
pxor %xmm6, %xmm6
paddq %xmm4, %xmm0
paddq %xmm5, %xmm1
pcmpeqq %xmm6, %xmm4
paddq %xmm4, %xmm2
pcmpeqq %xmm6, %xmm5
paddq %xmm5, %xmm3
pcmpeqd %xmm4, %xmm4
psubq %xmm4, %xmm2
psubq %xmm4, %xmm3
LBB0_15:
paddq %xmm1, %xmm0
paddq %xmm3, %xmm2
pshufd $238, %xmm2, %xmm1 ## xmm1 = xmm2[2,3,2,3]
paddq %xmm2, %xmm1
movq %xmm1, %rdi
pshufd $238, %xmm0, %xmm1 ## xmm1 = xmm0[2,3,2,3]
paddq %xmm0, %xmm1
movq %xmm1, %rax
jmp LBB0_16
LBB0_10:
pxor %xmm0, %xmm0
xorl %edi, %edi
pxor %xmm1, %xmm1
pxor %xmm2, %xmm2
pxor %xmm3, %xmm3
testb $1, %bl
jne LBB0_14
jmp LBB0_15
LBB0_8:
movq (%rcx,%rsi,8), %rbx
addq %rbx, %rax
cmpq $1, %rbx
sbbq $-1, %rdi
incq %rsi
LBB0_16:
cmpq %rsi, %rdx
jne LBB0_8
## %bb.17:
testq %rdi, %rdi
movq _COMP_POWER_TRACKING@GOTPCREL(%rip), %r13
movq -48(%rbp), %rbx ## 8-byte Reload
je LBB0_22
## %bb.18:
movq %rax, %rcx
orq %rdi, %rcx
shrq $32, %rcx
je LBB0_19
## %bb.20:
xorl %edx, %edx
divq %rdi
movq %rax, %r15
jmp LBB0_21
LBB0_19:
## kill: def $eax killed $eax killed $rax
xorl %edx, %edx
divl %edi
movl %eax, %r15d
LBB0_21:
movq _DBG_LOUD@GOTPCREL(%rip), %rax
movl (%r13), %esi
movl (%rax), %edx
movl (%r14), %r9d
leaq L_.str.3(%rip), %rcx
movq -56(%rbp), %rdi ## 8-byte Reload
movq %r15, %r8
xorl %eax, %eax
callq _RT_TRACE
LBB0_22:
movq 48(%rbx), %rcx
movq %rcx, %rax
subq %r15, %rax
negq %rax
subq %r15, %rcx
movq 40(%rbx), %r12
cmovbq %rax, %rcx
movq %r12, %rax
subq %r15, %rax
negq %rax
subq %r15, %r12
cmovbq %rax, %r12
movq %rbx, %r14
movq 32(%rbx), %rbx
movq %rbx, %rax
subq %r15, %rax
negq %rax
subq %r15, %rbx
cmovbq %rax, %rbx
movl (%r13), %esi
movq _DBG_LOUD@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rcx, -136(%rbp) ## 8-byte Spill
movq %rcx, (%rsp)
leaq L_.str.4(%rip), %rcx
movq -56(%rbp), %rdi ## 8-byte Reload
movq %rbx, %r8
movq %r12, %r9
xorl %eax, %eax
callq _RT_TRACE
movq _IQK_THRESHOLD@GOTPCREL(%rip), %rax
movq (%rax), %r9
cmpq %r9, %r12
jb LBB0_24
## %bb.23:
movl (%r13), %esi
movq _DBG_LOUD@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq L_.str.5(%rip), %rcx
movq -56(%rbp), %rdi ## 8-byte Reload
movq %r12, %r8
xorl %eax, %eax
callq _RT_TRACE
movq %r15, 40(%r14)
movq -80(%rbp), %rdi ## 8-byte Reload
callq _rtl8821ae_phy_lc_calibrate
LBB0_24:
movl 112(%r14), %r8d
testq %rbx, %rbx
movq %r15, -64(%rbp) ## 8-byte Spill
je LBB0_25
## %bb.29:
testl %r8d, %r8d
je LBB0_30
## %bb.31:
movq -88(%rbp), %rax ## 8-byte Reload
movslq (%rax), %rax
movq %rax, %rcx
subq %r15, %rcx
negq %rcx
movq %rax, %rdx
subq %r15, %rdx
cmovbq %rcx, %rdx
movq _TXPWR_TRACK_TABLE_SIZE@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
leaq -1(%rcx), %rbx
cmpq %rcx, %rdx
cmovbq %rdx, %rbx
movl (%r13), %esi
movq _DBG_LOUD@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
cmpq %r15, %rax
movq -56(%rbp), %r12 ## 8-byte Reload
movq %rbx, -96(%rbp) ## 8-byte Spill
jae LBB0_33
## %bb.32:
movq -128(%rbp), %rax
movq (%rax,%rbx,8), %r9
leaq L_.str.6(%rip), %rcx
movq %r12, %rdi
movq %rbx, %r8
xorl %eax, %eax
callq _RT_TRACE
movq -48(%rbp), %r14 ## 8-byte Reload
movq 56(%r14), %rax
movq 64(%r14), %rcx
movq _RF90_PATH_A@GOTPCREL(%rip), %r15
movq (%r15), %rdx
movq (%rcx,%rdx,8), %rsi
movq %rsi, (%rax,%rdx,8)
movq -128(%rbp), %rax
movq (%rax,%rbx,8), %rdx
movq (%r15), %rsi
movq %rdx, (%rcx,%rsi,8)
movq (%rax,%rbx,8), %rax
movq %r14, %rcx
addq $72, %rcx
movq %rcx, -72(%rbp) ## 8-byte Spill
movq 72(%r14), %rcx
movq (%r15), %rdx
movq %rax, (%rcx,%rdx,8)
movl (%r13), %esi
movq _DBG_LOUD@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq (%r15), %rax
movq (%rcx,%rax,8), %r8
leaq L_.str.7(%rip), %rcx
movq %r12, %rdi
xorl %eax, %eax
callq _RT_TRACE
movl (%r13), %esi
movq _DBG_LOUD@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq -112(%rbp), %rax
movq (%rax,%rbx,8), %r9
leaq L_.str.8(%rip), %rcx
movq %r12, %rdi
movq %rbx, %r8
xorl %eax, %eax
callq _RT_TRACE
movq %r12, %rdi
movq 56(%r14), %rax
movq 64(%r14), %rcx
movq _RF90_PATH_B@GOTPCREL(%rip), %r8
movq (%r8), %rsi
movq (%rcx,%rsi,8), %rdx
movq %rdx, (%rax,%rsi,8)
movq -112(%rbp), %rax
movq (%rax,%rbx,8), %rsi
movq (%r8), %rdx
movq %rsi, (%rcx,%rdx,8)
movq (%rax,%rbx,8), %rsi
movq -72(%rbp), %rax ## 8-byte Reload
movq %r14, %rbx
leaq L_.str.9(%rip), %rcx
jmp LBB0_34
LBB0_25:
movq %rbx, -96(%rbp) ## 8-byte Spill
jmp LBB0_26
LBB0_30:
movq %rbx, -96(%rbp) ## 8-byte Spill
xorl %r8d, %r8d
LBB0_26:
movq -56(%rbp), %r14 ## 8-byte Reload
movq _RF90_PATH_A@GOTPCREL(%rip), %r12
movq -48(%rbp), %rbx ## 8-byte Reload
movl (%r13), %esi
movq _DBG_LOUD@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq 32(%rbx), %rax
movq %rax, (%rsp)
leaq L_.str.19(%rip), %rcx
movq %r14, %rdi
movq %r15, %r9
xorl %eax, %eax
callq _RT_TRACE
movq (%r12), %rax
movq _MAX_PATH_NUM_8812A@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jae LBB0_47
## %bb.27:
movq 80(%rbx), %rdx
.p2align 4, 0x90
LBB0_28: ## =>This Inner Loop Header: Depth=1
movq $0, (%rdx,%rax,8)
incq %rax
cmpq (%rcx), %rax
jb LBB0_28
jmp LBB0_47
LBB0_33:
movq -120(%rbp), %rax
movq (%rax,%rbx,8), %r9
leaq L_.str.10(%rip), %rcx
movq %r12, %rdi
movq %rbx, %r8
xorl %eax, %eax
callq _RT_TRACE
movq -48(%rbp), %r14 ## 8-byte Reload
movq 56(%r14), %rax
movq 64(%r14), %rcx
movq _RF90_PATH_A@GOTPCREL(%rip), %r15
movq (%r15), %rdx
movq (%rcx,%rdx,8), %rsi
movq %rsi, (%rax,%rdx,8)
movq -120(%rbp), %rax
xorl %edx, %edx
subq (%rax,%rbx,8), %rdx
movq (%r15), %rsi
movq %rdx, (%rcx,%rsi,8)
xorl %ecx, %ecx
subq (%rax,%rbx,8), %rcx
movq %r14, %rax
addq $72, %rax
movq %rax, -72(%rbp) ## 8-byte Spill
movq 72(%r14), %rax
movq (%r15), %rdx
movq %rcx, (%rax,%rdx,8)
movl (%r13), %esi
movq _DBG_LOUD@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
movq (%r15), %rcx
movq (%rax,%rcx,8), %r8
leaq L_.str.11(%rip), %rcx
movq %r12, %rdi
xorl %eax, %eax
callq _RT_TRACE
movl (%r13), %esi
movq _DBG_LOUD@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq -104(%rbp), %rax
movq (%rax,%rbx,8), %r9
leaq L_.str.12(%rip), %rcx
movq %r12, %rdi
movq %rbx, %r8
xorl %eax, %eax
callq _RT_TRACE
movq %r12, %rdi
movq 56(%r14), %rax
movq 64(%r14), %rcx
movq _RF90_PATH_B@GOTPCREL(%rip), %r8
movq (%r8), %rsi
movq (%rcx,%rsi,8), %rdx
movq %rdx, (%rax,%rsi,8)
movq -104(%rbp), %rax
xorl %esi, %esi
subq (%rax,%rbx,8), %rsi
movq (%r8), %rdx
movq %rsi, (%rcx,%rdx,8)
xorl %esi, %esi
subq (%rax,%rbx,8), %rsi
movq -72(%rbp), %rax ## 8-byte Reload
movq %r14, %rbx
leaq L_.str.13(%rip), %rcx
LBB0_34:
movq (%rax), %r9
movq _RF90_PATH_B@GOTPCREL(%rip), %r8
movq (%r8), %rdx
movq %rsi, (%r9,%rdx,8)
movl (%r13), %esi
movq _DBG_LOUD@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
movq (%r8), %rax
movq (%r9,%rax,8), %r8
xorl %eax, %eax
callq _RT_TRACE
movq (%r15), %rax
movq _MAX_PATH_NUM_8812A@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jae LBB0_42
## %bb.35:
movq %rax, %r12
movq -56(%rbp), %r14 ## 8-byte Reload
movq -48(%rbp), %rbx ## 8-byte Reload
.p2align 4, 0x90
LBB0_36: ## =>This Inner Loop Header: Depth=1
movl (%r13), %esi
movq %r13, %r15
movq _DBG_LOUD@GOTPCREL(%rip), %r13
movl (%r13), %edx
xorl %ecx, %ecx
cmpq %rax, %r12
sete %cl
movl $66, %r8d
subl %ecx, %r8d
movq %r14, %rdi
leaq L_.str.14(%rip), %rcx
xorl %eax, %eax
callq _RT_TRACE
movq 56(%rbx), %rax
movq 64(%rbx), %rcx
movq (%rcx,%r12,8), %rdx
subq (%rax,%r12,8), %rdx
movl $0, %r9d
cmovneq %rdx, %r9
movq 80(%rbx), %rdx
movq %r9, (%rdx,%r12,8)
movl (%r15), %esi
movl (%r13), %edx
xorl %edi, %edi
movq _RF90_PATH_A@GOTPCREL(%rip), %r13
cmpq (%r13), %r12
sete %dil
movl $66, %r8d
subl %edi, %r8d
movq (%rcx,%r12,8), %rcx
movq (%rax,%r12,8), %rax
movq %rax, 8(%rsp)
movq %rcx, (%rsp)
movq %r14, %rdi
leaq L_.str.15(%rip), %rcx
xorl %eax, %eax
callq _RT_TRACE
movq 8(%rbx), %rax
movq 80(%rbx), %rcx
movq (%rcx,%r12,8), %rcx
movl (%rax,%r12,4), %eax
addl %ecx, %eax
movq 88(%rbx), %rdx
movl %eax, (%rdx,%r12,4)
movl 4(%rbx), %eax
addl %ecx, %eax
movl %eax, 96(%rbx)
movl %eax, 100(%rbx)
movl (%rdx,%r12,4), %eax
movq 104(%rbx), %rdx
movl %eax, (%rdx,%r12,4)
movl (%r15), %esi
movq _DBG_LOUD@GOTPCREL(%rip), %r13
movl (%r13), %edx
movl 4(%rbx), %r9d
movl 100(%rbx), %r8d
movq %rcx, (%rsp)
movq %r14, %rdi
leaq L_.str.16(%rip), %rcx
xorl %eax, %eax
callq _RT_TRACE
movl (%r15), %esi
movl (%r13), %edx
movq 104(%rbx), %rax
xorl %ecx, %ecx
movq _RF90_PATH_A@GOTPCREL(%rip), %rdi
cmpq (%rdi), %r12
movl (%rax,%r12,4), %r8d
sete %cl
movl $66, %r9d
subl %ecx, %r9d
movq 8(%rbx), %rax
movq 80(%rbx), %rcx
movl (%rax,%r12,4), %eax
movq (%rcx,%r12,8), %rcx
movq %rcx, 8(%rsp)
movl %eax, (%rsp)
movq %r14, %rdi
leaq L_.str.17(%rip), %rcx
xorl %eax, %eax
callq _RT_TRACE
movq 88(%rbx), %rax
movl (%rax,%r12,4), %edx
movq _TXSCALE_TABLE_SIZE@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
cmpl %ecx, %edx
jge LBB0_37
## %bb.38: ## in Loop: Header=BB0_36 Depth=1
movl $6, %ecx
cmpl $5, %edx
movq _COMP_POWER_TRACKING@GOTPCREL(%rip), %r13
jbe LBB0_39
jmp LBB0_40
.p2align 4, 0x90
LBB0_37: ## in Loop: Header=BB0_36 Depth=1
decl %ecx
movq _COMP_POWER_TRACKING@GOTPCREL(%rip), %r13
LBB0_39: ## in Loop: Header=BB0_36 Depth=1
movl %ecx, (%rax,%r12,4)
LBB0_40: ## in Loop: Header=BB0_36 Depth=1
incq %r12
movq _MAX_PATH_NUM_8812A@GOTPCREL(%rip), %rax
cmpq (%rax), %r12
jae LBB0_42
## %bb.41: ## in Loop: Header=BB0_36 Depth=1
movq _RF90_PATH_A@GOTPCREL(%rip), %r15
movq (%r15), %rax
jmp LBB0_36
LBB0_42:
movl (%r13), %esi
movq _DBG_LOUD@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq L_.str.18(%rip), %rcx
xorl %r15d, %r15d
movq -56(%rbp), %r14 ## 8-byte Reload
movq %r14, %rdi
xorl %eax, %eax
callq _RT_TRACE
movl 96(%rbx), %eax
movq _TXSCALE_TABLE_SIZE@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
cmpl %ecx, %eax
jge LBB0_43
## %bb.45:
testl %eax, %eax
js LBB0_44
## %bb.46:
movq _COMP_POWER_TRACKING@GOTPCREL(%rip), %r13
movq _RF90_PATH_A@GOTPCREL(%rip), %r12
movq -48(%rbp), %rbx ## 8-byte Reload
jmp LBB0_47
LBB0_43:
decl %ecx
movl %ecx, %r15d
LBB0_44:
movq -48(%rbp), %rax ## 8-byte Reload
movl %r15d, 96(%rax)
movq _COMP_POWER_TRACKING@GOTPCREL(%rip), %r13
movq %rax, %rbx
movq _RF90_PATH_A@GOTPCREL(%rip), %r12
LBB0_47:
movl (%r13), %esi
movq _DBG_LOUD@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl 4(%rbx), %r9d
movl 96(%rbx), %r8d
leaq L_.str.20(%rip), %rcx
movq %r14, %rdi
xorl %eax, %eax
callq _RT_TRACE
movq (%r12), %rax
movq _MAX_PATH_NUM_8812A@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jae LBB0_48
## %bb.49:
movq %rax, %rbx
movq _COMP_POWER_TRACKING@GOTPCREL(%rip), %r14
movq _DBG_LOUD@GOTPCREL(%rip), %r15
movq -56(%rbp), %r12 ## 8-byte Reload
movq -48(%rbp), %r13 ## 8-byte Reload
.p2align 4, 0x90
LBB0_50: ## =>This Inner Loop Header: Depth=1
movl (%r14), %esi
movl (%r15), %edx
movq 8(%r13), %rcx
movq 88(%r13), %rdi
movl (%rdi,%rbx,4), %r8d
xorl %edi, %edi
cmpq %rax, %rbx
sete %dil
movl $66, %r9d
subl %edi, %r9d
movl (%rcx,%rbx,4), %eax
movl %eax, (%rsp)
movq %r12, %rdi
leaq L_.str.21(%rip), %rcx
xorl %eax, %eax
callq _RT_TRACE
incq %rbx
movq _RF90_PATH_A@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _MAX_PATH_NUM_8812A@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rbx
jb LBB0_50
jmp LBB0_51
LBB0_48:
movq _COMP_POWER_TRACKING@GOTPCREL(%rip), %r14
movq _DBG_LOUD@GOTPCREL(%rip), %r15
movq -56(%rbp), %r12 ## 8-byte Reload
movq -48(%rbp), %r13 ## 8-byte Reload
LBB0_51:
movq 80(%r13), %rcx
movq (%rcx,%rax,8), %r8
testq %r8, %r8
jne LBB0_53
## %bb.52:
movq _RF90_PATH_B@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq $0, (%rcx,%rax,8)
je LBB0_83
LBB0_53:
cmpl $0, 112(%r13)
je LBB0_83
## %bb.54:
movq 32(%r13), %rax
cmpq %rax, -64(%rbp) ## 8-byte Folded Reload
jbe LBB0_56
## %bb.55:
leaq L_.str.23(%rip), %rcx
movq %rcx, -72(%rbp) ## 8-byte Spill
leaq L_.str.22(%rip), %rcx
jmp LBB0_58
LBB0_56:
movq -64(%rbp), %r13 ## 8-byte Reload
movq -88(%rbp), %rbx ## 8-byte Reload
jae LBB0_59
## %bb.57:
leaq L_.str.25(%rip), %rcx
movq %rcx, -72(%rbp) ## 8-byte Spill
leaq L_.str.24(%rip), %rcx
LBB0_58:
movl (%r14), %esi
movl (%r15), %edx
movq -88(%rbp), %rbx ## 8-byte Reload
movl (%rbx), %edi
movq %rax, 16(%rsp)
movl %edi, 8(%rsp)
movq -64(%rbp), %r13 ## 8-byte Reload
movq %r13, (%rsp)
movq %r12, %rdi
movq -96(%rbp), %r15 ## 8-byte Reload
movq %r15, %r9
xorl %eax, %eax
callq _RT_TRACE
movl (%r14), %esi
movq _DBG_LOUD@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq -48(%rbp), %rcx ## 8-byte Reload
movq 32(%rcx), %rax
movq 80(%rcx), %rcx
movq _RF90_PATH_B@GOTPCREL(%rip), %rdi
movq (%rdi), %rdi
movq (%rcx,%rdi,8), %r8
movl (%rbx), %ecx
movq %rax, 16(%rsp)
movl %ecx, 8(%rsp)
movq %r13, (%rsp)
movq %r12, %rdi
movq -72(%rbp), %rcx ## 8-byte Reload
movq %r15, %r9
movq _DBG_LOUD@GOTPCREL(%rip), %r15
xorl %eax, %eax
callq _RT_TRACE
LBB0_59:
movslq (%rbx), %r9
movl (%r14), %esi
movl (%r15), %edx
cmpq %r9, %r13
jbe LBB0_63
## %bb.60:
leaq L_.str.26(%rip), %rcx
movq %r12, %rdi
movq %r13, %r8
## kill: def $r9d killed $r9d killed $r9
xorl %eax, %eax
callq _RT_TRACE
movl (%r14), %esi
movl (%r15), %edx
leaq L_.str.27(%rip), %rcx
movq %r12, %rdi
xorl %eax, %eax
callq _RT_TRACE
movq _RF90_PATH_A@GOTPCREL(%rip), %rax
movq (%rax), %rbx
movq _MAX_PATH_NUM_8812A@GOTPCREL(%rip), %r14
movq (%r14), %rax
cmpq %rax, %rbx
movq -80(%rbp), %r15 ## 8-byte Reload
jae LBB0_66
## %bb.61:
movq _MIX_MODE@GOTPCREL(%rip), %r12
.p2align 4, 0x90
LBB0_62: ## =>This Inner Loop Header: Depth=1
movl (%r12), %esi
movq %r15, %rdi
movq %rbx, %rdx
xorl %ecx, %ecx
callq _rtl8812ae_dm_txpwr_track_set_pwr
incq %rbx
movq (%r14), %rax
cmpq %rax, %rbx
jb LBB0_62
jmp LBB0_66
LBB0_63:
leaq L_.str.28(%rip), %rcx
movq %r12, %rdi
movq %r13, %r8
## kill: def $r9d killed $r9d killed $r9
xorl %eax, %eax
callq _RT_TRACE
movl (%r14), %esi
movl (%r15), %edx
leaq L_.str.27(%rip), %rcx
movq %r12, %rdi
xorl %eax, %eax
callq _RT_TRACE
movq _RF90_PATH_A@GOTPCREL(%rip), %rax
movq (%rax), %rbx
movq _MAX_PATH_NUM_8812A@GOTPCREL(%rip), %r14
movq (%r14), %rax
cmpq %rax, %rbx
movq -80(%rbp), %r15 ## 8-byte Reload
jae LBB0_66
## %bb.64:
movq _MIX_MODE@GOTPCREL(%rip), %r12
.p2align 4, 0x90
LBB0_65: ## =>This Inner Loop Header: Depth=1
movl (%r12), %esi
movq %r15, %rdi
movq %rbx, %rdx
xorl %ecx, %ecx
callq _rtl8812ae_dm_txpwr_track_set_pwr
incq %rbx
movq (%r14), %rax
cmpq %rax, %rbx
jb LBB0_65
LBB0_66:
movq -48(%rbp), %rdx ## 8-byte Reload
movl 100(%rdx), %ecx
movl %ecx, 4(%rdx)
movq _RF90_PATH_A@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq %rax, %r9
subq %rcx, %r9
movq -56(%rbp), %r12 ## 8-byte Reload
movq _DBG_LOUD@GOTPCREL(%rip), %r15
jbe LBB0_82
## %bb.67:
movq -48(%rbp), %rdx ## 8-byte Reload
movq 8(%rdx), %r14
movq 104(%rdx), %rsi
cmpq $8, %r9
jb LBB0_78
## %bb.68:
leaq (%r14,%rcx,4), %rdx
leaq (%rsi,%rcx,4), %rdi
subq %rdi, %rdx
cmpq $32, %rdx
jb LBB0_78
## %bb.69:
movq %r9, %r8
andq $-8, %r8
leaq -8(%r8), %rdx
movq %rdx, %r11
shrq $3, %r11
incq %r11
movl %r11d, %r10d
andl $3, %r10d
cmpq $24, %rdx
jae LBB0_71
## %bb.70:
xorl %edi, %edi
jmp LBB0_73
LBB0_71:
andq $-4, %r11
leaq (%r14,%rcx,4), %rbx
addq $112, %rbx
leaq (%rsi,%rcx,4), %rdx
addq $112, %rdx
xorl %edi, %edi
.p2align 4, 0x90
LBB0_72: ## =>This Inner Loop Header: Depth=1
movups -112(%rdx,%rdi,4), %xmm0
movups -96(%rdx,%rdi,4), %xmm1
movups %xmm0, -112(%rbx,%rdi,4)
movups %xmm1, -96(%rbx,%rdi,4)
movups -80(%rdx,%rdi,4), %xmm0
movups -64(%rdx,%rdi,4), %xmm1
movups %xmm0, -80(%rbx,%rdi,4)
movups %xmm1, -64(%rbx,%rdi,4)
movups -48(%rdx,%rdi,4), %xmm0
movups -32(%rdx,%rdi,4), %xmm1
movups %xmm0, -48(%rbx,%rdi,4)
movups %xmm1, -32(%rbx,%rdi,4)
movdqu -16(%rdx,%rdi,4), %xmm0
movdqu (%rdx,%rdi,4), %xmm1
movdqu %xmm0, -16(%rbx,%rdi,4)
movdqu %xmm1, (%rbx,%rdi,4)
addq $32, %rdi
addq $-4, %r11
jne LBB0_72
LBB0_73:
testq %r10, %r10
je LBB0_76
## %bb.74:
addq %rcx, %rdi
leaq (%r14,%rdi,4), %rdx
addq $16, %rdx
leaq (%rsi,%rdi,4), %rdi
addq $16, %rdi
shlq $5, %r10
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_75: ## =>This Inner Loop Header: Depth=1
movdqu -16(%rdi,%rbx), %xmm0
movdqu (%rdi,%rbx), %xmm1
movdqu %xmm0, -16(%rdx,%rbx)
movdqu %xmm1, (%rdx,%rbx)
addq $32, %rbx
cmpq %rbx, %r10
jne LBB0_75
LBB0_76:
cmpq %r8, %r9
je LBB0_82
## %bb.77:
addq %r8, %rcx
LBB0_78:
movl %eax, %edi
subl %ecx, %edi
movq %rcx, %rdx
notq %rdx
addq %rax, %rdx
andq $3, %rdi
je LBB0_80
.p2align 4, 0x90
LBB0_79: ## =>This Inner Loop Header: Depth=1
movl (%rsi,%rcx,4), %ebx
movl %ebx, (%r14,%rcx,4)
incq %rcx
decq %rdi
jne LBB0_79
LBB0_80:
cmpq $3, %rdx
jb LBB0_82
.p2align 4, 0x90
LBB0_81: ## =>This Inner Loop Header: Depth=1
movl (%rsi,%rcx,4), %edx
movl %edx, (%r14,%rcx,4)
movl 4(%rsi,%rcx,4), %edx
movl %edx, 4(%r14,%rcx,4)
movl 8(%rsi,%rcx,4), %edx
movl %edx, 8(%r14,%rcx,4)
movl 12(%rsi,%rcx,4), %edx
movl %edx, 12(%r14,%rcx,4)
addq $4, %rcx
cmpq %rcx, %rax
jne LBB0_81
LBB0_82:
movq _COMP_POWER_TRACKING@GOTPCREL(%rip), %r14
movl (%r14), %esi
movl (%r15), %edx
movq -48(%rbp), %r13 ## 8-byte Reload
movq 32(%r13), %r8
leaq L_.str.29(%rip), %rcx
movq %r12, %rdi
movq -64(%rbp), %rbx ## 8-byte Reload
movq %rbx, %r9
xorl %eax, %eax
callq _RT_TRACE
movq %rbx, 32(%r13)
LBB0_83:
movq -136(%rbp), %rsi ## 8-byte Reload
movq _IQK_THRESHOLD@GOTPCREL(%rip), %rax
cmpq (%rax), %rsi
jb LBB0_85
## %bb.84:
movq -80(%rbp), %rdi ## 8-byte Reload
movq -64(%rbp), %rdx ## 8-byte Reload
movl $8, %ecx
callq _rtl8812ae_do_iqk
LBB0_85:
movl (%r14), %esi
movl (%r15), %edx
leaq L_.str.30(%rip), %rcx
movq %r12, %rdi
xorl %eax, %eax
callq _RT_TRACE
LBB0_86:
addq $120, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _COMP_POWER_TRACKING,4,2 ## @COMP_POWER_TRACKING
.comm _DBG_LOUD,4,2 ## @DBG_LOUD
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "pDM_Odm->BbSwingIdxCckBase: %d, pDM_Odm->BbSwingIdxOfdmBase[A]:%d, pDM_Odm->DefaultOfdmIndex: %d\n"
.comm _RF90_PATH_A,8,3 ## @RF90_PATH_A
.comm _RF_T_METER_8812A,4,2 ## @RF_T_METER_8812A
L_.str.1: ## @.str.1
.asciz "Thermal Meter = 0x%X, EFUSE Thermal Base = 0x%X\n"
L_.str.2: ## @.str.2
.asciz "reload ofdm index for band switch\n"
.comm _AVG_THERMAL_NUM_8812A,8,3 ## @AVG_THERMAL_NUM_8812A
L_.str.3: ## @.str.3
.asciz "AVG Thermal Meter = 0x%X, EFUSE Thermal Base = 0x%X\n"
L_.str.4: ## @.str.4
.asciz "(delta, delta_LCK, delta_IQK) = (%d, %d, %d)\n"
.comm _IQK_THRESHOLD,8,3 ## @IQK_THRESHOLD
L_.str.5: ## @.str.5
.asciz "delta_LCK(%d) >= Threshold_IQK(%d)\n"
.comm _TXPWR_TRACK_TABLE_SIZE,8,3 ## @TXPWR_TRACK_TABLE_SIZE
L_.str.6: ## @.str.6
.asciz "delta_swing_table_idx_tup_a[%d] = %d\n"
L_.str.7: ## @.str.7
.asciz "******Temp is higher and pDM_Odm->Absolute_OFDMSwingIdx[ODM_RF_PATH_A] = %d\n"
L_.str.8: ## @.str.8
.asciz "delta_swing_table_idx_tup_b[%d] = %d\n"
.comm _RF90_PATH_B,8,3 ## @RF90_PATH_B
L_.str.9: ## @.str.9
.asciz "******Temp is higher and pDM_Odm->Absolute_OFDMSwingIdx[ODM_RF_PATH_B] = %d\n"
L_.str.10: ## @.str.10
.asciz "delta_swing_table_idx_tdown_a[%d] = %d\n"
L_.str.11: ## @.str.11
.asciz "******Temp is lower and pDM_Odm->Absolute_OFDMSwingIdx[ODM_RF_PATH_A] = %d\n"
L_.str.12: ## @.str.12
.asciz "deltaSwingTableIdx_TDOWN_B[%d] = %d\n"
L_.str.13: ## @.str.13
.asciz "******Temp is lower and pDM_Odm->Absolute_OFDMSwingIdx[ODM_RF_PATH_B] = %d\n"
.comm _MAX_PATH_NUM_8812A,8,3 ## @MAX_PATH_NUM_8812A
L_.str.14: ## @.str.14
.asciz "============================= [Path-%c]Calculating PowerIndexOffset =============================\n"
L_.str.15: ## @.str.15
.asciz "[Path-%c] PowerIndexOffset(%d) =DeltaPowerIndex(%d) -DeltaPowerIndexLast(%d)\n"
L_.str.16: ## @.str.16
.asciz "The 'CCK' final index(%d) = BaseIndex(%d) + PowerIndexOffset(%d)\n"
L_.str.17: ## @.str.17
.asciz "The 'OFDM' final index(%d) = BaseIndex[%c](%d) + PowerIndexOffset(%d)\n"
.comm _TXSCALE_TABLE_SIZE,4,2 ## @TXSCALE_TABLE_SIZE
L_.str.18: ## @.str.18
.asciz "\n\n====================================================================================\n"
L_.str.19: ## @.str.19
.asciz "The thermal meter is unchanged or TxPowerTracking OFF(%d): ThermalValue: %d , pDM_Odm->RFCalibrateInfo.ThermalValue: %d\n"
L_.str.20: ## @.str.20
.asciz "TxPowerTracking: [CCK] Swing Current Index: %d,Swing Base Index: %d\n"
L_.str.21: ## @.str.21
.asciz "TxPowerTracking: [OFDM] Swing Current Index: %d,Swing Base Index[%c]: %d\n"
L_.str.22: ## @.str.22
.asciz "Temperature Increasing(A): delta_pi: %d , delta_t: %d, Now_t: %d,EFUSE_t: %d, Last_t: %d\n"
L_.str.23: ## @.str.23
.asciz "Temperature Increasing(B): delta_pi: %d ,delta_t: %d, Now_t: %d, EFUSE_t: %d, Last_t: %d\n"
L_.str.24: ## @.str.24
.asciz "Temperature Decreasing(A): delta_pi: %d , delta_t: %d, Now_t: %d, EFUSE_t: %d, Last_t: %d\n"
L_.str.25: ## @.str.25
.asciz "Temperature Decreasing(B): delta_pi: %d , delta_t: %d, Now_t: %d, EFUSE_t: %d, Last_t: %d\n"
L_.str.26: ## @.str.26
.asciz "Temperature(%d) higher than PG value(%d)\n"
L_.str.27: ## @.str.27
.asciz "**********Enter POWER Tracking MIX_MODE**********\n"
.comm _MIX_MODE,4,2 ## @MIX_MODE
L_.str.28: ## @.str.28
.asciz "Temperature(%d) lower than PG value(%d)\n"
L_.str.29: ## @.str.29
.asciz "pDM_Odm->RFCalibrateInfo.ThermalValue =%d ThermalValue= %d\n"
L_.str.30: ## @.str.30
.asciz "<===rtl8812ae_dm_txpower_tracking_callback_thermalmeter\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _rtl8812ae_dm_txpower_tracking_callback_thermalmeter ; -- Begin function rtl8812ae_dm_txpower_tracking_callback_thermalmeter
.p2align 2
_rtl8812ae_dm_txpower_tracking_callback_thermalmeter: ; @rtl8812ae_dm_txpower_tracking_callback_thermalmeter
.cfi_startproc
; %bb.0:
sub sp, sp, #208
.cfi_def_cfa_offset 208
stp x28, x27, [sp, #112] ; 16-byte Folded Spill
stp x26, x25, [sp, #128] ; 16-byte Folded Spill
stp x24, x23, [sp, #144] ; 16-byte Folded Spill
stp x22, x21, [sp, #160] ; 16-byte Folded Spill
stp x20, x19, [sp, #176] ; 16-byte Folded Spill
stp x29, x30, [sp, #192] ; 16-byte Folded Spill
add x29, sp, #192
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x0
bl _rtl_priv
mov x20, x0
mov x0, x19
bl _rtl_priv
bl _rtl_efuse
mov x22, x0
mov x0, x19
bl _rtl_priv
bl _rtl_dm
mov x21, x0
mov x0, x19
bl _rtl_priv
bl _rtl_hal
mov x24, x0
sub x1, x29, #88
add x2, sp, #96
add x3, sp, #88
add x4, sp, #80
mov x0, x19
bl _rtl8812ae_get_delta_swing_table
mov w8, #1
str w8, [x21]
Lloh0:
adrp x27, _COMP_POWER_TRACKING@GOTPAGE
Lloh1:
ldr x27, [x27, _COMP_POWER_TRACKING@GOTPAGEOFF]
ldr w1, [x27]
Lloh2:
adrp x26, _DBG_LOUD@GOTPAGE
Lloh3:
ldr x26, [x26, _DBG_LOUD@GOTPAGEOFF]
ldr w2, [x26]
Lloh4:
adrp x28, _RF90_PATH_A@GOTPAGE
Lloh5:
ldr x28, [x28, _RF90_PATH_A@GOTPAGEOFF]
ldr x8, [x21, #8]
ldr x9, [x28]
ldr w8, [x8, x9, lsl #2]
ldr w9, [x21, #4]
ldr w10, [x21, #116]
stp x8, x10, [sp, #8]
str x9, [sp]
Lloh6:
adrp x3, l_.str@PAGE
Lloh7:
add x3, x3, l_.str@PAGEOFF
mov x0, x20
bl _RT_TRACE
ldr x1, [x28]
Lloh8:
adrp x8, _RF_T_METER_8812A@GOTPAGE
Lloh9:
ldr x8, [x8, _RF_T_METER_8812A@GOTPAGEOFF]
Lloh10:
ldr w2, [x8]
mov x0, x19
mov w3, #64512
bl _rtl_get_rfreg
mov x23, x0
ldr w1, [x27]
ldr w2, [x26]
ldr w8, [x22]
stp x0, x8, [sp]
Lloh11:
adrp x3, l_.str.1@PAGE
Lloh12:
add x3, x3, l_.str.1@PAGEOFF
mov x0, x20
bl _RT_TRACE
ldr w8, [x21, #112]
cbz w8, LBB0_69
; %bb.1:
ldr w8, [x22]
cbz w8, LBB0_69
; %bb.2:
cmp w8, #255
b.eq LBB0_69
; %bb.3:
ldr x8, [x24]
cbz x8, LBB0_5
; %bb.4:
ldr w1, [x27]
ldr w2, [x26]
Lloh13:
adrp x3, l_.str.2@PAGE
Lloh14:
add x3, x3, l_.str.2@PAGEOFF
mov x0, x20
bl _RT_TRACE
LBB0_5:
ldp x8, x9, [x21, #16]
str x23, [x8, x9, lsl #3]
ldr x10, [x21, #24]
add x11, x10, #1
Lloh15:
adrp x9, _AVG_THERMAL_NUM_8812A@GOTPAGE
Lloh16:
ldr x9, [x9, _AVG_THERMAL_NUM_8812A@GOTPAGEOFF]
Lloh17:
ldr x9, [x9]
cmp x11, x9
csinc x10, xzr, x10, eq
str x10, [x21, #24]
cbz x9, LBB0_15
; %bb.6:
cmp x9, #8
b.hs LBB0_8
; %bb.7:
mov x12, #0
mov x11, #0
mov x10, #0
b LBB0_11
LBB0_8:
movi.2d v0, #0000000000000000
and x10, x9, #0xfffffffffffffff8
movi.2d v1, #0000000000000000
add x11, x8, #32
mov x12, x10
movi.2d v2, #0000000000000000
movi.2d v3, #0000000000000000
movi.2d v4, #0000000000000000
movi.2d v5, #0000000000000000
movi.2d v6, #0000000000000000
movi.2d v7, #0000000000000000
LBB0_9: ; =>This Inner Loop Header: Depth=1
ldp q16, q17, [x11, #-32]
ldp q18, q19, [x11], #64
add.2d v0, v16, v0
add.2d v1, v17, v1
add.2d v2, v18, v2
add.2d v3, v19, v3
cmtst.2d v16, v16, v16
cmtst.2d v17, v17, v17
cmtst.2d v18, v18, v18
cmtst.2d v19, v19, v19
sub.2d v4, v4, v16
sub.2d v5, v5, v17
sub.2d v6, v6, v18
sub.2d v7, v7, v19
subs x12, x12, #8
b.ne LBB0_9
; %bb.10:
add.2d v4, v5, v4
add.2d v4, v6, v4
add.2d v4, v7, v4
addp.2d d4, v4
fmov x11, d4
add.2d v0, v1, v0
add.2d v0, v2, v0
add.2d v0, v3, v0
addp.2d d0, v0
fmov x12, d0
cmp x9, x10
b.eq LBB0_13
LBB0_11:
sub x9, x9, x10
add x8, x8, x10, lsl #3
LBB0_12: ; =>This Inner Loop Header: Depth=1
ldr x10, [x8], #8
cmp x10, #0
add x12, x10, x12
cinc x11, x11, ne
subs x9, x9, #1
b.ne LBB0_12
LBB0_13:
cbz x11, LBB0_15
; %bb.14:
ldr w1, [x27]
ldr w2, [x26]
ldr w8, [x22]
udiv x23, x12, x11
stp x23, x8, [sp]
Lloh18:
adrp x3, l_.str.3@PAGE
Lloh19:
add x3, x3, l_.str.3@PAGEOFF
mov x0, x20
bl _RT_TRACE
LBB0_15:
str x22, [sp, #72] ; 8-byte Folded Spill
ldp x8, x9, [x21, #32]
sub x10, x8, x23
subs x8, x23, x8
csel x25, x8, x10, hi
sub x8, x9, x23
subs x9, x23, x9
csel x22, x9, x8, hi
ldr x8, [x21, #48]
sub x9, x8, x23
subs x8, x23, x8
csel x8, x8, x9, hi
ldr w1, [x27]
ldr w2, [x26]
str x8, [sp, #48] ; 8-byte Folded Spill
stp x22, x8, [sp, #8]
str x25, [sp]
Lloh20:
adrp x3, l_.str.4@PAGE
Lloh21:
add x3, x3, l_.str.4@PAGEOFF
mov x0, x20
bl _RT_TRACE
Lloh22:
adrp x8, _IQK_THRESHOLD@GOTPAGE
Lloh23:
ldr x8, [x8, _IQK_THRESHOLD@GOTPAGEOFF]
Lloh24:
ldr x8, [x8]
cmp x22, x8
b.lo LBB0_17
; %bb.16:
ldr w1, [x27]
ldr w2, [x26]
stp x22, x8, [sp]
Lloh25:
adrp x3, l_.str.5@PAGE
Lloh26:
add x3, x3, l_.str.5@PAGEOFF
mov x0, x20
bl _RT_TRACE
str x23, [x21, #40]
mov x0, x19
bl _rtl8821ae_phy_lc_calibrate
LBB0_17:
ldr w8, [x21, #112]
Lloh27:
adrp x24, _MAX_PATH_NUM_8812A@GOTPAGE
Lloh28:
ldr x24, [x24, _MAX_PATH_NUM_8812A@GOTPAGEOFF]
stp x19, x23, [sp, #56] ; 16-byte Folded Spill
ldr x9, [sp, #72] ; 8-byte Folded Reload
cbz x25, LBB0_21
; %bb.18:
cbz w8, LBB0_21
; %bb.19:
ldrsw x8, [x9]
sub x9, x8, x23
subs x10, x23, x8
csel x9, x10, x9, hi
Lloh29:
adrp x10, _TXPWR_TRACK_TABLE_SIZE@GOTPAGE
Lloh30:
ldr x10, [x10, _TXPWR_TRACK_TABLE_SIZE@GOTPAGEOFF]
Lloh31:
ldr x10, [x10]
sub x11, x10, #1
cmp x9, x10
csel x9, x9, x11, lo
ldr w1, [x27]
ldr w2, [x26]
Lloh32:
adrp x22, _RF90_PATH_B@GOTPAGE
Lloh33:
ldr x22, [x22, _RF90_PATH_B@GOTPAGEOFF]
lsl x25, x9, #3
cmp x23, x8
str x9, [sp, #40] ; 8-byte Folded Spill
b.ls LBB0_24
; %bb.20:
ldur x8, [x29, #-88]
ldr x8, [x8, x25]
stp x9, x8, [sp]
Lloh34:
adrp x3, l_.str.6@PAGE
Lloh35:
add x3, x3, l_.str.6@PAGEOFF
mov x0, x20
mov x19, x9
bl _RT_TRACE
mov x23, x21
ldr x8, [x23, #72]!
ldr x9, [x28]
lsl x9, x9, #3
ldp x11, x10, [x23, #-16]
ldr x12, [x10, x9]
str x12, [x11, x9]
ldur x9, [x29, #-88]
ldr x11, [x9, x25]
ldr x12, [x28]
str x11, [x10, x12, lsl #3]
ldr x9, [x9, x25]
ldr x10, [x28]
str x9, [x8, x10, lsl #3]
ldr w1, [x27]
ldr w2, [x26]
ldr x9, [x28]
ldr x8, [x8, x9, lsl #3]
str x8, [sp]
Lloh36:
adrp x3, l_.str.7@PAGE
Lloh37:
add x3, x3, l_.str.7@PAGEOFF
mov x0, x20
bl _RT_TRACE
ldr w1, [x27]
ldr w2, [x26]
ldr x8, [sp, #88]
ldr x8, [x8, x25]
stp x19, x8, [sp]
Lloh38:
adrp x3, l_.str.8@PAGE
Lloh39:
add x3, x3, l_.str.8@PAGEOFF
mov x0, x20
bl _RT_TRACE
ldr x8, [x22]
lsl x8, x8, #3
ldp x10, x9, [x23, #-16]
ldr x11, [x9, x8]
str x11, [x10, x8]
ldr x8, [sp, #88]
ldr x10, [x8, x25]
ldr x11, [x22]
str x10, [x9, x11, lsl #3]
ldr x8, [x8, x25]
Lloh40:
adrp x3, l_.str.9@PAGE
Lloh41:
add x3, x3, l_.str.9@PAGEOFF
b LBB0_25
LBB0_21:
str x25, [sp, #40] ; 8-byte Folded Spill
ldr w1, [x27]
ldr w2, [x26]
ldr x9, [x21, #32]
stp x23, x9, [sp, #8]
str x8, [sp]
Lloh42:
adrp x3, l_.str.19@PAGE
Lloh43:
add x3, x3, l_.str.19@PAGEOFF
mov x0, x20
bl _RT_TRACE
ldr x8, [x28]
ldr x9, [x24]
cmp x8, x9
b.hs LBB0_39
; %bb.22:
ldr x9, [x21, #80]
LBB0_23: ; =>This Inner Loop Header: Depth=1
str xzr, [x9, x8, lsl #3]
add x8, x8, #1
ldr x10, [x24]
cmp x8, x10
b.lo LBB0_23
b LBB0_39
LBB0_24:
ldr x8, [sp, #96]
ldr x8, [x8, x25]
stp x9, x8, [sp]
Lloh44:
adrp x3, l_.str.10@PAGE
Lloh45:
add x3, x3, l_.str.10@PAGEOFF
mov x0, x20
mov x19, x9
bl _RT_TRACE
mov x23, x21
ldr x8, [x23, #72]!
ldr x9, [x28]
lsl x9, x9, #3
ldp x11, x10, [x23, #-16]
ldr x12, [x10, x9]
str x12, [x11, x9]
ldr x9, [sp, #96]
ldr x11, [x9, x25]
neg x11, x11
ldr x12, [x28]
str x11, [x10, x12, lsl #3]
ldr x9, [x9, x25]
neg x9, x9
ldr x10, [x28]
str x9, [x8, x10, lsl #3]
ldr w1, [x27]
ldr w2, [x26]
ldr x9, [x28]
ldr x8, [x8, x9, lsl #3]
str x8, [sp]
Lloh46:
adrp x3, l_.str.11@PAGE
Lloh47:
add x3, x3, l_.str.11@PAGEOFF
mov x0, x20
bl _RT_TRACE
ldr w1, [x27]
ldr w2, [x26]
ldr x8, [sp, #80]
ldr x8, [x8, x25]
stp x19, x8, [sp]
Lloh48:
adrp x3, l_.str.12@PAGE
Lloh49:
add x3, x3, l_.str.12@PAGEOFF
mov x0, x20
bl _RT_TRACE
ldr x8, [x22]
lsl x8, x8, #3
ldp x10, x9, [x23, #-16]
ldr x11, [x9, x8]
str x11, [x10, x8]
ldr x8, [sp, #80]
ldr x10, [x8, x25]
neg x10, x10
ldr x11, [x22]
str x10, [x9, x11, lsl #3]
ldr x8, [x8, x25]
neg x8, x8
Lloh50:
adrp x3, l_.str.13@PAGE
Lloh51:
add x3, x3, l_.str.13@PAGEOFF
LBB0_25:
ldr x9, [x23]
ldr x10, [x22]
str x8, [x9, x10, lsl #3]
ldr w1, [x27]
ldr w2, [x26]
ldr x8, [x22]
ldr x8, [x9, x8, lsl #3]
str x8, [sp]
mov x0, x20
bl _RT_TRACE
ldr x8, [x28]
ldr x9, [x24]
cmp x8, x9
b.hs LBB0_34
; %bb.26:
mov x25, x8
LBB0_27: ; =>This Inner Loop Header: Depth=1
ldr w1, [x27]
ldr w2, [x26]
cmp x25, x8
mov w8, #65
cinc x8, x8, ne
mov w19, #65
str x8, [sp]
mov x0, x20
Lloh52:
adrp x3, l_.str.14@PAGE
Lloh53:
add x3, x3, l_.str.14@PAGEOFF
bl _RT_TRACE
lsl x22, x25, #3
ldp x9, x8, [x21, #56]
ldr x10, [x8, x22]
ldr x11, [x9, x22]
subs x10, x10, x11
csel x10, xzr, x10, eq
ldr x11, [x21, #80]
str x10, [x11, x22]
ldr w1, [x27]
ldr w2, [x26]
ldr x11, [x28]
ldr x8, [x8, x22]
ldr x9, [x9, x22]
stp x8, x9, [sp, #16]
cmp x25, x11
cinc x8, x19, ne
stp x8, x10, [sp]
mov x0, x20
Lloh54:
adrp x3, l_.str.15@PAGE
Lloh55:
add x3, x3, l_.str.15@PAGEOFF
bl _RT_TRACE
ldr x8, [x21, #8]
mov x23, x20
mov x20, x26
mov x26, x28
lsl x28, x25, #2
ldr w8, [x8, x28]
ldp x9, x10, [x21, #80]
ldr x9, [x9, x22]
add w8, w8, w9
str w8, [x10, x28]
ldr w8, [x21, #4]
add w8, w8, w9
stp w8, w8, [x21, #96]
ldr w8, [x10, x28]
ldr x10, [x21, #104]
str w8, [x10, x28]
ldr w1, [x27]
ldr w2, [x20]
ldr w8, [x21, #100]
ldr w10, [x21, #4]
stp x10, x9, [sp, #8]
str x8, [sp]
mov x0, x23
Lloh56:
adrp x3, l_.str.16@PAGE
Lloh57:
add x3, x3, l_.str.16@PAGEOFF
bl _RT_TRACE
mov x24, x27
ldr w1, [x27]
mov x19, x20
ldr w2, [x20]
mov x20, x23
ldr x8, [x21, #104]
mov x27, x26
ldr x9, [x26]
ldr x10, [x21, #8]
ldr x11, [x21, #80]
ldr x11, [x11, x22]
ldr w8, [x8, x28]
ldr w10, [x10, x28]
stp x10, x11, [sp, #16]
cmp x25, x9
mov w9, #65
cinc x9, x9, ne
stp x8, x9, [sp]
mov x0, x23
Lloh58:
adrp x3, l_.str.17@PAGE
Lloh59:
add x3, x3, l_.str.17@PAGEOFF
bl _RT_TRACE
ldr x8, [x21, #88]
ldr w9, [x8, x28]
Lloh60:
adrp x10, _TXSCALE_TABLE_SIZE@GOTPAGE
Lloh61:
ldr x10, [x10, _TXSCALE_TABLE_SIZE@GOTPAGEOFF]
Lloh62:
ldr w10, [x10]
cmp w9, w10
b.ge LBB0_30
; %bb.28: ; in Loop: Header=BB0_27 Depth=1
cmp w9, #5
mov x28, x27
mov x27, x24
mov x26, x19
Lloh63:
adrp x24, _MAX_PATH_NUM_8812A@GOTPAGE
Lloh64:
ldr x24, [x24, _MAX_PATH_NUM_8812A@GOTPAGEOFF]
b.hi LBB0_32
; %bb.29: ; in Loop: Header=BB0_27 Depth=1
mov w9, #6
b LBB0_31
LBB0_30: ; in Loop: Header=BB0_27 Depth=1
sub w9, w10, #1
mov x28, x27
mov x27, x24
mov x26, x19
Lloh65:
adrp x24, _MAX_PATH_NUM_8812A@GOTPAGE
Lloh66:
ldr x24, [x24, _MAX_PATH_NUM_8812A@GOTPAGEOFF]
LBB0_31: ; in Loop: Header=BB0_27 Depth=1
str w9, [x8, x25, lsl #2]
LBB0_32: ; in Loop: Header=BB0_27 Depth=1
add x25, x25, #1
ldr x8, [x24]
cmp x25, x8
b.hs LBB0_34
; %bb.33: ; in Loop: Header=BB0_27 Depth=1
ldr x8, [x28]
b LBB0_27
LBB0_34:
ldr w1, [x27]
ldr w2, [x26]
Lloh67:
adrp x3, l_.str.18@PAGE
Lloh68:
add x3, x3, l_.str.18@PAGEOFF
mov x0, x20
bl _RT_TRACE
ldr w8, [x21, #96]
Lloh69:
adrp x9, _TXSCALE_TABLE_SIZE@GOTPAGE
Lloh70:
ldr x9, [x9, _TXSCALE_TABLE_SIZE@GOTPAGEOFF]
Lloh71:
ldr w9, [x9]
cmp w8, w9
b.ge LBB0_37
; %bb.35:
tbz w8, #31, LBB0_39
; %bb.36:
mov w8, #0
b LBB0_38
LBB0_37:
sub w8, w9, #1
LBB0_38:
str w8, [x21, #96]
LBB0_39:
ldr w1, [x27]
ldr w2, [x26]
ldr w8, [x21, #96]
ldr w9, [x21, #4]
stp x8, x9, [sp]
Lloh72:
adrp x3, l_.str.20@PAGE
Lloh73:
add x3, x3, l_.str.20@PAGEOFF
mov x0, x20
bl _RT_TRACE
ldr x8, [x28]
ldr x9, [x24]
cmp x8, x9
b.hs LBB0_42
; %bb.40:
mov w22, #65
Lloh74:
adrp x25, l_.str.21@PAGE
Lloh75:
add x25, x25, l_.str.21@PAGEOFF
mov x23, x8
LBB0_41: ; =>This Inner Loop Header: Depth=1
ldr w1, [x27]
ldr w2, [x26]
ldr x9, [x21, #88]
lsl x10, x23, #2
ldr x11, [x21, #8]
ldr w9, [x9, x10]
ldr w10, [x11, x10]
cmp x23, x8
cinc x8, x22, ne
stp x8, x10, [sp, #8]
str x9, [sp]
mov x0, x20
mov x3, x25
bl _RT_TRACE
add x23, x23, #1
ldr x9, [x24]
ldr x8, [x28]
cmp x23, x9
b.lo LBB0_41
LBB0_42:
ldr x9, [x21, #80]
ldr x8, [x9, x8, lsl #3]
ldp x19, x22, [sp, #56] ; 16-byte Folded Reload
cbnz x8, LBB0_44
; %bb.43:
Lloh76:
adrp x10, _RF90_PATH_B@GOTPAGE
Lloh77:
ldr x10, [x10, _RF90_PATH_B@GOTPAGEOFF]
Lloh78:
ldr x10, [x10]
ldr x9, [x9, x10, lsl #3]
cbz x9, LBB0_66
LBB0_44:
ldr w9, [x21, #112]
cbz w9, LBB0_66
; %bb.45:
ldr x9, [x21, #32]
cmp x22, x9
b.ls LBB0_47
; %bb.46:
Lloh79:
adrp x25, l_.str.23@PAGE
Lloh80:
add x25, x25, l_.str.23@PAGEOFF
Lloh81:
adrp x3, l_.str.22@PAGE
Lloh82:
add x3, x3, l_.str.22@PAGEOFF
b LBB0_49
LBB0_47:
cmp x22, x9
ldr x23, [sp, #72] ; 8-byte Folded Reload
b.hs LBB0_50
; %bb.48:
Lloh83:
adrp x25, l_.str.25@PAGE
Lloh84:
add x25, x25, l_.str.25@PAGEOFF
Lloh85:
adrp x3, l_.str.24@PAGE
Lloh86:
add x3, x3, l_.str.24@PAGEOFF
LBB0_49:
ldr w1, [x27]
ldr w2, [x26]
ldr x23, [sp, #72] ; 8-byte Folded Reload
ldr w10, [x23]
stp x10, x9, [sp, #24]
ldr x19, [sp, #40] ; 8-byte Folded Reload
stp x19, x22, [sp, #8]
str x8, [sp]
mov x0, x20
bl _RT_TRACE
ldr w1, [x27]
ldr w2, [x26]
Lloh87:
adrp x8, _RF90_PATH_B@GOTPAGE
Lloh88:
ldr x8, [x8, _RF90_PATH_B@GOTPAGEOFF]
ldr x9, [x21, #80]
Lloh89:
ldr x8, [x8]
ldr x8, [x9, x8, lsl #3]
ldr x9, [x21, #32]
ldr w10, [x23]
stp x10, x9, [sp, #24]
stp x19, x22, [sp, #8]
str x8, [sp]
mov x0, x20
mov x3, x25
bl _RT_TRACE
ldr x19, [sp, #56] ; 8-byte Folded Reload
LBB0_50:
ldrsw x8, [x23]
ldr w1, [x27]
ldr w2, [x26]
cmp x22, x8
b.ls LBB0_54
; %bb.51:
; kill: def $w8 killed $w8 killed $x8 def $x8
stp x22, x8, [sp]
Lloh90:
adrp x3, l_.str.26@PAGE
Lloh91:
add x3, x3, l_.str.26@PAGEOFF
mov x0, x20
bl _RT_TRACE
ldr w1, [x27]
ldr w2, [x26]
Lloh92:
adrp x3, l_.str.27@PAGE
Lloh93:
add x3, x3, l_.str.27@PAGEOFF
mov x0, x20
bl _RT_TRACE
ldr x23, [x28]
ldr x8, [x24]
cmp x23, x8
b.hs LBB0_57
; %bb.52:
Lloh94:
adrp x22, _MIX_MODE@GOTPAGE
Lloh95:
ldr x22, [x22, _MIX_MODE@GOTPAGEOFF]
LBB0_53: ; =>This Inner Loop Header: Depth=1
ldr w1, [x22]
mov x0, x19
mov x2, x23
mov x3, #0
bl _rtl8812ae_dm_txpwr_track_set_pwr
add x23, x23, #1
ldr x8, [x24]
cmp x23, x8
b.lo LBB0_53
b LBB0_57
LBB0_54:
; kill: def $w8 killed $w8 killed $x8 def $x8
stp x22, x8, [sp]
Lloh96:
adrp x3, l_.str.28@PAGE
Lloh97:
add x3, x3, l_.str.28@PAGEOFF
mov x0, x20
bl _RT_TRACE
ldr w1, [x27]
ldr w2, [x26]
Lloh98:
adrp x3, l_.str.27@PAGE
Lloh99:
add x3, x3, l_.str.27@PAGEOFF
mov x0, x20
bl _RT_TRACE
ldr x23, [x28]
ldr x8, [x24]
cmp x23, x8
b.hs LBB0_57
; %bb.55:
Lloh100:
adrp x22, _MIX_MODE@GOTPAGE
Lloh101:
ldr x22, [x22, _MIX_MODE@GOTPAGEOFF]
LBB0_56: ; =>This Inner Loop Header: Depth=1
ldr w1, [x22]
mov x0, x19
mov x2, x23
mov x3, #0
bl _rtl8812ae_dm_txpwr_track_set_pwr
add x23, x23, #1
ldr x8, [x24]
cmp x23, x8
b.lo LBB0_56
LBB0_57:
ldr w9, [x21, #100]
str w9, [x21, #4]
ldr x9, [x28]
subs x12, x8, x9
ldr x22, [sp, #64] ; 8-byte Folded Reload
b.ls LBB0_65
; %bb.58:
ldr x10, [x21, #104]
ldr x11, [x21, #8]
cmp x12, #16
b.lo LBB0_63
; %bb.59:
lsl x14, x9, #2
add x13, x14, x11
add x15, x14, x10
sub x13, x13, x15
cmp x13, #64
b.lo LBB0_63
; %bb.60:
and x13, x12, #0xfffffffffffffff0
add x9, x9, x13
add x15, x14, #32
add x14, x11, x15
add x15, x10, x15
mov x16, x13
LBB0_61: ; =>This Inner Loop Header: Depth=1
ldp q0, q1, [x15, #-32]
ldp q2, q3, [x15], #64
stp q0, q1, [x14, #-32]
stp q2, q3, [x14], #64
subs x16, x16, #16
b.ne LBB0_61
; %bb.62:
cmp x12, x13
b.eq LBB0_65
LBB0_63:
sub x8, x8, x9
lsl x12, x9, #2
add x9, x11, x12
add x10, x10, x12
LBB0_64: ; =>This Inner Loop Header: Depth=1
ldr w11, [x10], #4
str w11, [x9], #4
subs x8, x8, #1
b.ne LBB0_64
LBB0_65:
ldr w1, [x27]
ldr w2, [x26]
ldr x8, [x21, #32]
stp x8, x22, [sp]
Lloh102:
adrp x3, l_.str.29@PAGE
Lloh103:
add x3, x3, l_.str.29@PAGEOFF
mov x0, x20
bl _RT_TRACE
str x22, [x21, #32]
LBB0_66:
Lloh104:
adrp x8, _IQK_THRESHOLD@GOTPAGE
Lloh105:
ldr x8, [x8, _IQK_THRESHOLD@GOTPAGEOFF]
Lloh106:
ldr x8, [x8]
ldr x1, [sp, #48] ; 8-byte Folded Reload
cmp x1, x8
b.lo LBB0_68
; %bb.67:
mov x0, x19
mov x2, x22
mov w3, #8
bl _rtl8812ae_do_iqk
LBB0_68:
ldr w1, [x27]
ldr w2, [x26]
Lloh107:
adrp x3, l_.str.30@PAGE
Lloh108:
add x3, x3, l_.str.30@PAGEOFF
mov x0, x20
bl _RT_TRACE
LBB0_69:
ldp x29, x30, [sp, #192] ; 16-byte Folded Reload
ldp x20, x19, [sp, #176] ; 16-byte Folded Reload
ldp x22, x21, [sp, #160] ; 16-byte Folded Reload
ldp x24, x23, [sp, #144] ; 16-byte Folded Reload
ldp x26, x25, [sp, #128] ; 16-byte Folded Reload
ldp x28, x27, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #208
ret
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpLdrGot Lloh27, Lloh28
.loh AdrpLdrGot Lloh32, Lloh33
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.loh AdrpAdd Lloh40, Lloh41
.loh AdrpAdd Lloh38, Lloh39
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpAdd Lloh34, Lloh35
.loh AdrpAdd Lloh42, Lloh43
.loh AdrpAdd Lloh50, Lloh51
.loh AdrpAdd Lloh48, Lloh49
.loh AdrpAdd Lloh46, Lloh47
.loh AdrpAdd Lloh44, Lloh45
.loh AdrpLdrGotLdr Lloh60, Lloh61, Lloh62
.loh AdrpAdd Lloh58, Lloh59
.loh AdrpAdd Lloh56, Lloh57
.loh AdrpAdd Lloh54, Lloh55
.loh AdrpAdd Lloh52, Lloh53
.loh AdrpLdrGot Lloh63, Lloh64
.loh AdrpLdrGot Lloh65, Lloh66
.loh AdrpLdrGotLdr Lloh69, Lloh70, Lloh71
.loh AdrpAdd Lloh67, Lloh68
.loh AdrpAdd Lloh72, Lloh73
.loh AdrpAdd Lloh74, Lloh75
.loh AdrpLdrGotLdr Lloh76, Lloh77, Lloh78
.loh AdrpAdd Lloh81, Lloh82
.loh AdrpAdd Lloh79, Lloh80
.loh AdrpAdd Lloh85, Lloh86
.loh AdrpAdd Lloh83, Lloh84
.loh AdrpLdrGotLdr Lloh87, Lloh88, Lloh89
.loh AdrpAdd Lloh92, Lloh93
.loh AdrpAdd Lloh90, Lloh91
.loh AdrpLdrGot Lloh94, Lloh95
.loh AdrpAdd Lloh98, Lloh99
.loh AdrpAdd Lloh96, Lloh97
.loh AdrpLdrGot Lloh100, Lloh101
.loh AdrpAdd Lloh102, Lloh103
.loh AdrpLdrGotLdr Lloh104, Lloh105, Lloh106
.loh AdrpAdd Lloh107, Lloh108
.cfi_endproc
; -- End function
.comm _COMP_POWER_TRACKING,4,2 ; @COMP_POWER_TRACKING
.comm _DBG_LOUD,4,2 ; @DBG_LOUD
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "pDM_Odm->BbSwingIdxCckBase: %d, pDM_Odm->BbSwingIdxOfdmBase[A]:%d, pDM_Odm->DefaultOfdmIndex: %d\n"
.comm _RF90_PATH_A,8,3 ; @RF90_PATH_A
.comm _RF_T_METER_8812A,4,2 ; @RF_T_METER_8812A
l_.str.1: ; @.str.1
.asciz "Thermal Meter = 0x%X, EFUSE Thermal Base = 0x%X\n"
l_.str.2: ; @.str.2
.asciz "reload ofdm index for band switch\n"
.comm _AVG_THERMAL_NUM_8812A,8,3 ; @AVG_THERMAL_NUM_8812A
l_.str.3: ; @.str.3
.asciz "AVG Thermal Meter = 0x%X, EFUSE Thermal Base = 0x%X\n"
l_.str.4: ; @.str.4
.asciz "(delta, delta_LCK, delta_IQK) = (%d, %d, %d)\n"
.comm _IQK_THRESHOLD,8,3 ; @IQK_THRESHOLD
l_.str.5: ; @.str.5
.asciz "delta_LCK(%d) >= Threshold_IQK(%d)\n"
.comm _TXPWR_TRACK_TABLE_SIZE,8,3 ; @TXPWR_TRACK_TABLE_SIZE
l_.str.6: ; @.str.6
.asciz "delta_swing_table_idx_tup_a[%d] = %d\n"
l_.str.7: ; @.str.7
.asciz "******Temp is higher and pDM_Odm->Absolute_OFDMSwingIdx[ODM_RF_PATH_A] = %d\n"
l_.str.8: ; @.str.8
.asciz "delta_swing_table_idx_tup_b[%d] = %d\n"
.comm _RF90_PATH_B,8,3 ; @RF90_PATH_B
l_.str.9: ; @.str.9
.asciz "******Temp is higher and pDM_Odm->Absolute_OFDMSwingIdx[ODM_RF_PATH_B] = %d\n"
l_.str.10: ; @.str.10
.asciz "delta_swing_table_idx_tdown_a[%d] = %d\n"
l_.str.11: ; @.str.11
.asciz "******Temp is lower and pDM_Odm->Absolute_OFDMSwingIdx[ODM_RF_PATH_A] = %d\n"
l_.str.12: ; @.str.12
.asciz "deltaSwingTableIdx_TDOWN_B[%d] = %d\n"
l_.str.13: ; @.str.13
.asciz "******Temp is lower and pDM_Odm->Absolute_OFDMSwingIdx[ODM_RF_PATH_B] = %d\n"
.comm _MAX_PATH_NUM_8812A,8,3 ; @MAX_PATH_NUM_8812A
l_.str.14: ; @.str.14
.asciz "============================= [Path-%c]Calculating PowerIndexOffset =============================\n"
l_.str.15: ; @.str.15
.asciz "[Path-%c] PowerIndexOffset(%d) =DeltaPowerIndex(%d) -DeltaPowerIndexLast(%d)\n"
l_.str.16: ; @.str.16
.asciz "The 'CCK' final index(%d) = BaseIndex(%d) + PowerIndexOffset(%d)\n"
l_.str.17: ; @.str.17
.asciz "The 'OFDM' final index(%d) = BaseIndex[%c](%d) + PowerIndexOffset(%d)\n"
.comm _TXSCALE_TABLE_SIZE,4,2 ; @TXSCALE_TABLE_SIZE
l_.str.18: ; @.str.18
.asciz "\n\n====================================================================================\n"
l_.str.19: ; @.str.19
.asciz "The thermal meter is unchanged or TxPowerTracking OFF(%d): ThermalValue: %d , pDM_Odm->RFCalibrateInfo.ThermalValue: %d\n"
l_.str.20: ; @.str.20
.asciz "TxPowerTracking: [CCK] Swing Current Index: %d,Swing Base Index: %d\n"
l_.str.21: ; @.str.21
.asciz "TxPowerTracking: [OFDM] Swing Current Index: %d,Swing Base Index[%c]: %d\n"
l_.str.22: ; @.str.22
.asciz "Temperature Increasing(A): delta_pi: %d , delta_t: %d, Now_t: %d,EFUSE_t: %d, Last_t: %d\n"
l_.str.23: ; @.str.23
.asciz "Temperature Increasing(B): delta_pi: %d ,delta_t: %d, Now_t: %d, EFUSE_t: %d, Last_t: %d\n"
l_.str.24: ; @.str.24
.asciz "Temperature Decreasing(A): delta_pi: %d , delta_t: %d, Now_t: %d, EFUSE_t: %d, Last_t: %d\n"
l_.str.25: ; @.str.25
.asciz "Temperature Decreasing(B): delta_pi: %d , delta_t: %d, Now_t: %d, EFUSE_t: %d, Last_t: %d\n"
l_.str.26: ; @.str.26
.asciz "Temperature(%d) higher than PG value(%d)\n"
l_.str.27: ; @.str.27
.asciz "**********Enter POWER Tracking MIX_MODE**********\n"
.comm _MIX_MODE,4,2 ; @MIX_MODE
l_.str.28: ; @.str.28
.asciz "Temperature(%d) lower than PG value(%d)\n"
l_.str.29: ; @.str.29
.asciz "pDM_Odm->RFCalibrateInfo.ThermalValue =%d ThermalValue= %d\n"
l_.str.30: ; @.str.30
.asciz "<===rtl8812ae_dm_txpower_tracking_callback_thermalmeter\n"
.subsections_via_symbols
| the_stack_data/716724.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## -- Begin function r8711_wx_get_range
LCPI0_0:
.long 100 ## 0x64
.long 100 ## 0x64
.long 100 ## 0x64
.long 7 ## 0x7
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_r8711_wx_get_range: ## @r8711_wx_get_range
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rcx, %r14
movl $112, (%rdx)
movq %rcx, %rdi
xorl %esi, %esi
movl $112, %edx
callq _memset
movl $5000000, (%r14) ## imm = 0x4C4B40
movaps LCPI0_0(%rip), %xmm0 ## xmm0 = [100,100,100,7]
movups %xmm0, 96(%r14)
movabsq $764504178780, %rax ## imm = 0xB20000005C
movq %rax, 72(%r14)
movq $0, 88(%r14)
movl $7, 80(%r14)
movq _RATE_COUNT@GOTPCREL(%rip), %r8
movl (%r8), %ecx
movl %ecx, 4(%r14)
testl %ecx, %ecx
jle LBB0_5
## %bb.1:
movq _IW_MAX_BITRATES@GOTPCREL(%rip), %r9
cmpl $0, (%r9)
jle LBB0_5
## %bb.2:
movq _rtl8180_rates@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movq 64(%r14), %rsi
movl $1, %edi
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movl -4(%rdx,%rdi,4), %eax
movl %eax, -4(%rsi,%rdi,4)
movslq (%r8), %rax
cmpq %rax, %rdi
jge LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
leaq 1(%rdi), %rax
movslq (%r9), %rcx
cmpq %rcx, %rdi
movq %rax, %rdi
jl LBB0_3
LBB0_5:
movq _MIN_FRAG_THRESHOLD@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 60(%r14)
movq _MAX_FRAG_THRESHOLD@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 56(%r14)
movq $0, 48(%r14)
movq _WIRELESS_EXT@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 40(%r14)
movabsq $60129542160, %rax ## imm = 0xE00000010
movq %rax, 8(%r14)
movq _ieee80211_wlan_frequencies@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq _IW_MAX_FREQUENCIES@GOTPCREL(%rip), %rax
movq (%rax), %rax
xorl %edx, %edx
xorl %esi, %esi
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
cmpq $14, %rsi
je LBB0_7
## %bb.8: ## in Loop: Header=BB0_6 Depth=1
leaq 1(%rsi), %rdi
movq 32(%r14), %rbx
movl %edi, (%rbx,%rdx)
imull $100000, (%rcx,%rsi,4), %esi ## imm = 0x186A0
movl %esi, 4(%rbx,%rdx)
movl $1, 8(%rbx,%rdx)
addq $12, %rdx
movq %rdi, %rsi
cmpq %rdi, %rax
jne LBB0_6
jmp LBB0_9
LBB0_7:
movl $14, %eax
LBB0_9:
movq %rax, 16(%r14)
movq _IW_ENC_CAPA_WPA@GOTPCREL(%rip), %rax
movq _IW_ENC_CAPA_WPA2@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl (%rax), %ecx
movq _IW_ENC_CAPA_CIPHER_TKIP@GOTPCREL(%rip), %rax
orl (%rax), %ecx
movq _IW_ENC_CAPA_CIPHER_CCMP@GOTPCREL(%rip), %rax
orl (%rax), %ecx
movl %ecx, 24(%r14)
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _RATE_COUNT,4,2 ## @RATE_COUNT
.comm _IW_MAX_BITRATES,4,2 ## @IW_MAX_BITRATES
.comm _rtl8180_rates,8,3 ## @rtl8180_rates
.comm _MIN_FRAG_THRESHOLD,4,2 ## @MIN_FRAG_THRESHOLD
.comm _MAX_FRAG_THRESHOLD,4,2 ## @MAX_FRAG_THRESHOLD
.comm _WIRELESS_EXT,4,2 ## @WIRELESS_EXT
.comm _ieee80211_wlan_frequencies,8,3 ## @ieee80211_wlan_frequencies
.comm _IW_MAX_FREQUENCIES,8,3 ## @IW_MAX_FREQUENCIES
.comm _IW_ENC_CAPA_WPA,4,2 ## @IW_ENC_CAPA_WPA
.comm _IW_ENC_CAPA_WPA2,4,2 ## @IW_ENC_CAPA_WPA2
.comm _IW_ENC_CAPA_CIPHER_TKIP,4,2 ## @IW_ENC_CAPA_CIPHER_TKIP
.comm _IW_ENC_CAPA_CIPHER_CCMP,4,2 ## @IW_ENC_CAPA_CIPHER_CCMP
.no_dead_strip _r8711_wx_get_range
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal16,16byte_literals
.p2align 4 ; -- Begin function r8711_wx_get_range
lCPI0_0:
.long 100 ; 0x64
.long 100 ; 0x64
.long 100 ; 0x64
.long 7 ; 0x7
.section __TEXT,__literal8,8byte_literals
.p2align 3
lCPI0_1:
.long 92 ; 0x5c
.long 178 ; 0xb2
lCPI0_2:
.long 16 ; 0x10
.long 14 ; 0xe
.section __TEXT,__text,regular,pure_instructions
.p2align 2
_r8711_wx_get_range: ; @r8711_wx_get_range
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x3
mov w8, #112
str w8, [x2]
mov x0, x3
mov w1, #0
mov w2, #112
bl _memset
mov w8, #19264
movk w8, #76, lsl #16
str w8, [x19]
Lloh0:
adrp x8, lCPI0_0@PAGE
Lloh1:
ldr q0, [x8, lCPI0_0@PAGEOFF]
str q0, [x19, #96]
Lloh2:
adrp x8, lCPI0_1@PAGE
Lloh3:
ldr d0, [x8, lCPI0_1@PAGEOFF]
str d0, [x19, #72]
str xzr, [x19, #88]
mov w8, #7
str w8, [x19, #80]
Lloh4:
adrp x8, _RATE_COUNT@GOTPAGE
Lloh5:
ldr x8, [x8, _RATE_COUNT@GOTPAGEOFF]
ldr w10, [x8]
str w10, [x19, #4]
Lloh6:
adrp x9, _IW_MAX_BITRATES@GOTPAGE
Lloh7:
ldr x9, [x9, _IW_MAX_BITRATES@GOTPAGEOFF]
ldr w11, [x9]
cmp w10, #1
ccmp w11, #1, #8, ge
b.lt LBB0_3
; %bb.1:
mov x10, #0
Lloh8:
adrp x11, _rtl8180_rates@GOTPAGE
Lloh9:
ldr x11, [x11, _rtl8180_rates@GOTPAGEOFF]
Lloh10:
ldr x11, [x11]
ldr x12, [x19, #64]
LBB0_2: ; =>This Inner Loop Header: Depth=1
lsl x13, x10, #2
ldr w14, [x11, x13]
str w14, [x12, x13]
add x10, x10, #1
ldrsw x13, [x8]
ldrsw x14, [x9]
cmp x10, x13
ccmp x10, x14, #0, lt
b.lt LBB0_2
LBB0_3:
mov x8, #0
mov x9, #0
Lloh11:
adrp x10, _MIN_FRAG_THRESHOLD@GOTPAGE
Lloh12:
ldr x10, [x10, _MIN_FRAG_THRESHOLD@GOTPAGEOFF]
Lloh13:
ldr w10, [x10]
Lloh14:
adrp x11, _MAX_FRAG_THRESHOLD@GOTPAGE
Lloh15:
ldr x11, [x11, _MAX_FRAG_THRESHOLD@GOTPAGEOFF]
Lloh16:
ldr w11, [x11]
stp w11, w10, [x19, #56]
str xzr, [x19, #48]
Lloh17:
adrp x10, _WIRELESS_EXT@GOTPAGE
Lloh18:
ldr x10, [x10, _WIRELESS_EXT@GOTPAGEOFF]
Lloh19:
ldr w10, [x10]
str w10, [x19, #40]
Lloh20:
adrp x10, lCPI0_2@PAGE
Lloh21:
ldr d0, [x10, lCPI0_2@PAGEOFF]
str d0, [x19, #8]
Lloh22:
adrp x10, _ieee80211_wlan_frequencies@GOTPAGE
Lloh23:
ldr x10, [x10, _ieee80211_wlan_frequencies@GOTPAGEOFF]
Lloh24:
ldr x11, [x10]
Lloh25:
adrp x10, _IW_MAX_FREQUENCIES@GOTPAGE
Lloh26:
ldr x10, [x10, _IW_MAX_FREQUENCIES@GOTPAGEOFF]
Lloh27:
ldr x10, [x10]
mov w12, #34464
movk w12, #1, lsl #16
mov w13, #1
LBB0_4: ; =>This Inner Loop Header: Depth=1
cmp x9, #14
b.eq LBB0_6
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
add x14, x9, #1
ldr x15, [x19, #32]
add x15, x15, x8
str w14, [x15]
ldr w9, [x11, x9, lsl #2]
mul w9, w9, w12
stp w9, w13, [x15, #4]
add x8, x8, #12
mov x9, x14
cmp x10, x14
b.ne LBB0_4
b LBB0_7
LBB0_6:
mov w10, #14
LBB0_7:
str x10, [x19, #16]
Lloh28:
adrp x8, _IW_ENC_CAPA_WPA@GOTPAGE
Lloh29:
ldr x8, [x8, _IW_ENC_CAPA_WPA@GOTPAGEOFF]
Lloh30:
ldr w8, [x8]
Lloh31:
adrp x9, _IW_ENC_CAPA_WPA2@GOTPAGE
Lloh32:
ldr x9, [x9, _IW_ENC_CAPA_WPA2@GOTPAGEOFF]
Lloh33:
ldr w9, [x9]
orr w8, w9, w8
Lloh34:
adrp x9, _IW_ENC_CAPA_CIPHER_TKIP@GOTPAGE
Lloh35:
ldr x9, [x9, _IW_ENC_CAPA_CIPHER_TKIP@GOTPAGEOFF]
Lloh36:
ldr w9, [x9]
orr w8, w8, w9
Lloh37:
adrp x9, _IW_ENC_CAPA_CIPHER_CCMP@GOTPAGE
Lloh38:
ldr x9, [x9, _IW_ENC_CAPA_CIPHER_CCMP@GOTPAGEOFF]
Lloh39:
ldr w9, [x9]
orr w8, w8, w9
str w8, [x19, #24]
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdr Lloh2, Lloh3
.loh AdrpAdrp Lloh0, Lloh2
.loh AdrpLdr Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpAdrp Lloh20, Lloh22
.loh AdrpLdr Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh37, Lloh38, Lloh39
.loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30
.cfi_endproc
; -- End function
.comm _RATE_COUNT,4,2 ; @RATE_COUNT
.comm _IW_MAX_BITRATES,4,2 ; @IW_MAX_BITRATES
.comm _rtl8180_rates,8,3 ; @rtl8180_rates
.comm _MIN_FRAG_THRESHOLD,4,2 ; @MIN_FRAG_THRESHOLD
.comm _MAX_FRAG_THRESHOLD,4,2 ; @MAX_FRAG_THRESHOLD
.comm _WIRELESS_EXT,4,2 ; @WIRELESS_EXT
.comm _ieee80211_wlan_frequencies,8,3 ; @ieee80211_wlan_frequencies
.comm _IW_MAX_FREQUENCIES,8,3 ; @IW_MAX_FREQUENCIES
.comm _IW_ENC_CAPA_WPA,4,2 ; @IW_ENC_CAPA_WPA
.comm _IW_ENC_CAPA_WPA2,4,2 ; @IW_ENC_CAPA_WPA2
.comm _IW_ENC_CAPA_CIPHER_TKIP,4,2 ; @IW_ENC_CAPA_CIPHER_TKIP
.comm _IW_ENC_CAPA_CIPHER_CCMP,4,2 ; @IW_ENC_CAPA_CIPHER_CCMP
.no_dead_strip _r8711_wx_get_range
.subsections_via_symbols
| AnghaBench/linux/drivers/staging/rtl8712/extr_rtl871x_ioctl_linux.c_r8711_wx_get_range.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
movq _info_compiler(%rip), %rax
movslq %edi, %rcx
movsbl (%rax,%rcx), %eax
movq _info_platform(%rip), %rdx
movsbl (%rdx,%rcx), %edx
addl %eax, %edx
movq _info_arch(%rip), %rax
movsbl (%rax,%rcx), %esi
addl %edx, %esi
leaq _info_version(%rip), %rax
movsbl (%rcx,%rax), %eax
addl %esi, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "INFO:compiler[Clang]"
.section __DATA,__data
.globl _info_compiler ## @info_compiler
.p2align 3
_info_compiler:
.quad L_.str
.section __TEXT,__const
.globl _info_version ## @info_version
.p2align 4
_info_version:
.asciz "INFO:compiler_version[00000014.00000000.00000003]"
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "INFO:platform[Darwin]"
.section __DATA,__data
.globl _info_platform ## @info_platform
.p2align 3
_info_platform:
.quad L_.str.1
.section __TEXT,__cstring,cstring_literals
L_.str.2: ## @.str.2
.asciz "INFO:arch[]"
.section __DATA,__data
.globl _info_arch ## @info_arch
.p2align 3
_info_arch:
.quad L_.str.2
.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:
; kill: def $w0 killed $w0 def $x0
Lloh0:
adrp x8, _info_compiler@PAGE
Lloh1:
ldr x8, [x8, _info_compiler@PAGEOFF]
sxtw x9, w0
ldrsb w8, [x8, x9]
Lloh2:
adrp x10, _info_platform@PAGE
Lloh3:
ldr x10, [x10, _info_platform@PAGEOFF]
ldrsb w10, [x10, x9]
Lloh4:
adrp x11, _info_arch@PAGE
Lloh5:
ldr x11, [x11, _info_arch@PAGEOFF]
ldrsb w11, [x11, x9]
add w8, w10, w8
add w8, w8, w11
Lloh6:
adrp x10, _info_version@PAGE
Lloh7:
add x10, x10, _info_version@PAGEOFF
ldrsb w9, [x10, x9]
add w0, w8, w9
ret
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdr Lloh4, Lloh5
.loh AdrpLdr Lloh2, Lloh3
.loh AdrpLdr Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "INFO:compiler[Clang]"
.section __DATA,__data
.globl _info_compiler ; @info_compiler
.p2align 3
_info_compiler:
.quad l_.str
.section __TEXT,__const
.globl _info_version ; @info_version
_info_version:
.asciz "INFO:compiler_version[00000014.00000000.00000003]"
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "INFO:platform[Darwin]"
.section __DATA,__data
.globl _info_platform ; @info_platform
.p2align 3
_info_platform:
.quad l_.str.1
.section __TEXT,__cstring,cstring_literals
l_.str.2: ; @.str.2
.asciz "INFO:arch[]"
.section __DATA,__data
.globl _info_arch ; @info_arch
.p2align 3
_info_arch:
.quad l_.str.2
.subsections_via_symbols
| the_stack_data/162643731.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_isascii ## -- Begin function ft_isascii
.p2align 4, 0x90
_ft_isascii: ## @ft_isascii
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
cmpl $128, %edi
setb %al
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 _ft_isascii ; -- Begin function ft_isascii
.p2align 2
_ft_isascii: ; @ft_isascii
.cfi_startproc
; %bb.0:
cmp w0, #128
cset w0, lo
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/250354.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _EVP_CIPHER_block_size ## -- Begin function EVP_CIPHER_block_size
.p2align 4, 0x90
_EVP_CIPHER_block_size: ## @EVP_CIPHER_block_size
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rdi), %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 _EVP_CIPHER_block_size ; -- Begin function EVP_CIPHER_block_size
.p2align 2
_EVP_CIPHER_block_size: ; @EVP_CIPHER_block_size
.cfi_startproc
; %bb.0:
ldr w0, [x0]
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/freebsd/crypto/openssl/crypto/evp/extr_evp_lib.c_EVP_CIPHER_block_size.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function pqi_disable_write_same
_pqi_disable_write_same: ## @pqi_disable_write_same
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $1, (%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _pqi_disable_write_same
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function pqi_disable_write_same
_pqi_disable_write_same: ; @pqi_disable_write_same
.cfi_startproc
; %bb.0:
mov w8, #1
str w8, [x0]
ret
.cfi_endproc
; -- End function
.no_dead_strip _pqi_disable_write_same
.subsections_via_symbols
| AnghaBench/linux/drivers/scsi/smartpqi/extr_smartpqi_init.c_pqi_disable_write_same.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _s390_sha_update ## -- Begin function s390_sha_update
.p2align 4, 0x90
_s390_sha_update: ## @s390_sha_update
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %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, %r12d
movq %rsi, -48(%rbp) ## 8-byte Spill
movq %rdi, %rbx
callq _shash_desc_ctx
movq %rax, %r15
movl (%rbx), %edi
callq _crypto_shash_blocksize
movl %eax, %r13d
movl (%r15), %ecx
movl %ecx, %eax
xorl %edx, %edx
divl %r13d
movl %edx, %ebx
addl %r12d, %ecx
movl %ecx, (%r15)
leal (%rbx,%r12), %eax
cmpl %r13d, %eax
jb LBB0_1
## %bb.2:
testl %ebx, %ebx
je LBB0_4
## %bb.3:
movl %ebx, %edi
shlq $2, %rdi
addq 8(%r15), %rdi
movl %r13d, %r14d
subl %ebx, %r14d
movq -48(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rsi
movl %r14d, %edx
callq _memcpy
movl 20(%r15), %edi
movl 16(%r15), %esi
movq 8(%r15), %rdx
movl %r13d, %ecx
callq _cpacf_kimd
leaq (%rbx,%r14,4), %rbx
movq %rbx, -48(%rbp) ## 8-byte Spill
subl %r14d, %r12d
LBB0_4:
xorl %ebx, %ebx
cmpl %r13d, %r12d
jae LBB0_6
LBB0_1:
movq -48(%rbp), %r13 ## 8-byte Reload
testl %r12d, %r12d
je LBB0_8
LBB0_7:
movl %ebx, %edi
shlq $2, %rdi
addq 8(%r15), %rdi
movq %r13, %rsi
movl %r12d, %edx
callq _memcpy
LBB0_8:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_6:
xorl %ebx, %ebx
movl %r12d, %eax
xorl %edx, %edx
divl %r13d
movl %edx, %r14d
subl %edx, %r12d
movl 16(%r15), %esi
movl 20(%r15), %edi
movq -48(%rbp), %r13 ## 8-byte Reload
movq %r13, %rdx
movl %r12d, %ecx
callq _cpacf_kimd
leaq (%r13,%r12,4), %r13
movl %r14d, %r12d
testl %r12d, %r12d
jne LBB0_7
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 _s390_sha_update ; -- Begin function s390_sha_update
.p2align 2
_s390_sha_update: ; @s390_sha_update
.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, x2
mov x20, x1
mov x22, x0
bl _shash_desc_ctx
mov x21, x0
ldr w0, [x22]
bl _crypto_shash_blocksize
ldr w9, [x21]
udiv w8, w9, w0
msub w8, w8, w0, w9
add w9, w9, w19
str w9, [x21]
add w9, w8, w19
cmp w9, w0
b.lo LBB0_5
; %bb.1:
mov x22, x0
cbz w8, LBB0_3
; %bb.2:
ldr x9, [x21, #8]
add x0, x9, w8, uxtw #2
sub w23, w22, w8
mov x1, x20
mov x2, x23
bl _memcpy
ldp w1, w0, [x21, #16]
ldr x2, [x21, #8]
mov x3, x22
bl _cpacf_kimd
add x20, x20, w23, uxtw #2
sub w19, w19, w23
LBB0_3:
cmp w19, w22
b.hs LBB0_8
; %bb.4:
mov w8, #0
LBB0_5:
cbz w19, LBB0_7
LBB0_6:
ldr x9, [x21, #8]
add x0, x9, w8, uxtw #2
mov x1, x20
mov x2, x19
bl _memcpy
LBB0_7:
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
LBB0_8:
udiv w8, w19, w22
mul w22, w8, w22
sub w19, w19, w22
ldp w1, w0, [x21, #16]
mov x2, x20
mov x3, x22
bl _cpacf_kimd
mov w8, #0
add x20, x20, w22, uxtw #2
cbnz w19, LBB0_6
b LBB0_7
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/linux/arch/s390/crypto/extr_sha_common.c_s390_sha_update.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function test_SetupDuplicateDiskSpaceListA
_test_SetupDuplicateDiskSpaceListA: ## @test_SetupDuplicateDiskSpaceListA
.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 _is_win9x@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
callq _win_skip
jmp LBB0_3
LBB0_2:
movl $-559038737, %edi ## imm = 0xDEADBEEF
callq _SetLastError
xorl %edi, %edi
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq _SetupDuplicateDiskSpaceListA
xorl %edi, %edi
testq %rax, %rax
sete %dil
leaq L_.str.1(%rip), %r14
movq %r14, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq _ok
xorl %eax, %eax
callq _GetLastError
movq _ERROR_INVALID_HANDLE@GOTPCREL(%rip), %rcx
xorl %ebx, %ebx
cmpq (%rcx), %rax
sete %bl
xorl %eax, %eax
callq _GetLastError
leaq L_.str.2(%rip), %rsi
movl %ebx, %edi
movq %rax, %rdx
xorl %eax, %eax
callq _ok
movl $-559038737, %edi ## imm = 0xDEADBEEF
callq _SetLastError
movl $3735928559, %esi ## imm = 0xDEADBEEF
xorl %edi, %edi
xorl %edx, %edx
xorl %ecx, %ecx
callq _SetupDuplicateDiskSpaceListA
xorl %edi, %edi
testq %rax, %rax
sete %dil
movq %r14, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq _ok
xorl %eax, %eax
callq _GetLastError
movq _ERROR_INVALID_PARAMETER@GOTPCREL(%rip), %r12
xorl %ebx, %ebx
cmpq (%r12), %rax
sete %bl
xorl %eax, %eax
callq _GetLastError
leaq L_.str.3(%rip), %r15
movl %ebx, %edi
movq %r15, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq _ok
movl $-559038737, %edi ## imm = 0xDEADBEEF
callq _SetLastError
xorl %edi, %edi
xorl %esi, %esi
movl $-559038737, %edx ## imm = 0xDEADBEEF
xorl %ecx, %ecx
callq _SetupDuplicateDiskSpaceListA
xorl %edi, %edi
testq %rax, %rax
sete %dil
movq %r14, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq _ok
xorl %eax, %eax
callq _GetLastError
xorl %ebx, %ebx
cmpq (%r12), %rax
sete %bl
xorl %eax, %eax
callq _GetLastError
movl %ebx, %edi
movq %r15, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq _ok
movl $-559038737, %edi ## imm = 0xDEADBEEF
callq _SetLastError
xorl %edi, %edi
xorl %esi, %esi
xorl %edx, %edx
movl $-1, %ecx
callq _SetupDuplicateDiskSpaceListA
xorl %edi, %edi
testq %rax, %rax
sete %dil
movq %r14, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq _ok
xorl %eax, %eax
callq _GetLastError
xorl %ebx, %ebx
cmpq (%r12), %rax
sete %bl
xorl %eax, %eax
callq _GetLastError
movl %ebx, %edi
movq %r15, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq _ok
LBB0_3:
xorl %edi, %edi
xorl %esi, %esi
xorl %edx, %edx
callq _SetupCreateDiskSpaceListA
movq %rax, %r12
xorl %edi, %edi
testq %rax, %rax
setne %dil
leaq L_.str.4(%rip), %rsi
xorl %eax, %eax
callq _ok
testq %r12, %r12
je LBB0_4
## %bb.5:
movl $-559038737, %edi ## imm = 0xDEADBEEF
callq _SetLastError
movl $3735928559, %esi ## imm = 0xDEADBEEF
movq %r12, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
callq _SetupDuplicateDiskSpaceListA
xorl %edi, %edi
testq %rax, %rax
sete %dil
leaq L_.str.1(%rip), %r14
movq %r14, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq _ok
xorl %eax, %eax
callq _GetLastError
movq _ERROR_INVALID_PARAMETER@GOTPCREL(%rip), %r13
xorl %ebx, %ebx
cmpq (%r13), %rax
sete %bl
xorl %eax, %eax
callq _GetLastError
leaq L_.str.3(%rip), %r15
movl %ebx, %edi
movq %r15, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq _ok
movl $-559038737, %edi ## imm = 0xDEADBEEF
callq _SetLastError
movq %r12, %rdi
xorl %esi, %esi
movl $-559038737, %edx ## imm = 0xDEADBEEF
xorl %ecx, %ecx
callq _SetupDuplicateDiskSpaceListA
xorl %edi, %edi
testq %rax, %rax
sete %dil
movq %r14, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq _ok
xorl %eax, %eax
callq _GetLastError
xorl %ebx, %ebx
cmpq (%r13), %rax
sete %bl
xorl %eax, %eax
callq _GetLastError
movl %ebx, %edi
movq %r15, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq _ok
movl $-559038737, %edi ## imm = 0xDEADBEEF
callq _SetLastError
movq _SPDSL_IGNORE_DISK@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %r12, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq _SetupDuplicateDiskSpaceListA
xorl %edi, %edi
testq %rax, %rax
sete %dil
movq %r14, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq _ok
xorl %eax, %eax
callq _GetLastError
xorl %ebx, %ebx
cmpq (%r13), %rax
sete %bl
xorl %eax, %eax
callq _GetLastError
movl %ebx, %edi
movq %r15, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq _ok
movl $-559038737, %edi ## imm = 0xDEADBEEF
callq _SetLastError
movq %r12, %rdi
xorl %esi, %esi
xorl %edx, %edx
movl $-1, %ecx
callq _SetupDuplicateDiskSpaceListA
xorl %edi, %edi
testq %rax, %rax
sete %dil
movq %r14, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq _ok
xorl %eax, %eax
callq _GetLastError
xorl %ebx, %ebx
cmpq (%r13), %rax
sete %bl
xorl %eax, %eax
callq _GetLastError
movl %ebx, %edi
movq %r15, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq _ok
movq %r12, %rdi
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq _SetupDuplicateDiskSpaceListA
movq %rax, %rbx
xorl %edi, %edi
testq %rax, %rax
setne %dil
movq %r14, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq _ok
xorl %edi, %edi
cmpq %r12, %rbx
setne %dil
leaq L_.str.6(%rip), %rsi
movq %rbx, %rdx
movq %r12, %rcx
xorl %eax, %eax
callq _ok
movq %rbx, %rdi
callq _SetupDestroyDiskSpaceList
leaq L_.str.7(%rip), %rbx
movl %eax, %edi
movq %rbx, %rsi
xorl %eax, %eax
callq _ok
movq %r12, %rdi
callq _SetupDestroyDiskSpaceList
movl %eax, %edi
movq %rbx, %rsi
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _ok ## TAILCALL
LBB0_4:
leaq L_.str.5(%rip), %rdi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _skip ## TAILCALL
.cfi_endproc
## -- End function
.comm _is_win9x,8,3 ## @is_win9x
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "SetupDuplicateDiskSpaceListA crashes with NULL disk space handle on Win9x\n"
L_.str.1: ## @.str.1
.asciz "Expected SetupDuplicateDiskSpaceList to return NULL, got %p\n"
.comm _ERROR_INVALID_HANDLE,8,3 ## @ERROR_INVALID_HANDLE
L_.str.2: ## @.str.2
.asciz "Expected GetLastError() to return ERROR_INVALID_HANDLE, got %u\n"
.comm _ERROR_INVALID_PARAMETER,8,3 ## @ERROR_INVALID_PARAMETER
L_.str.3: ## @.str.3
.asciz "Expected GetLastError() to return ERROR_INVALID_PARAMETER, got %u\n"
L_.str.4: ## @.str.4
.asciz "Expected SetupCreateDiskSpaceListA to return a valid handle, got NULL\n"
L_.str.5: ## @.str.5
.asciz "Failed to create a disk space handle\n"
.comm _SPDSL_IGNORE_DISK,4,2 ## @SPDSL_IGNORE_DISK
L_.str.6: ## @.str.6
.asciz "Expected new handle (%p) to be different from the old handle (%p)\n"
L_.str.7: ## @.str.7
.asciz "Expected SetupDestroyDiskSpaceList to succeed\n"
.no_dead_strip _test_SetupDuplicateDiskSpaceListA
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function test_SetupDuplicateDiskSpaceListA
_test_SetupDuplicateDiskSpaceListA: ; @test_SetupDuplicateDiskSpaceListA
.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
Lloh0:
adrp x8, _is_win9x@GOTPAGE
Lloh1:
ldr x8, [x8, _is_win9x@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
Lloh3:
adrp x23, _ERROR_INVALID_PARAMETER@GOTPAGE
Lloh4:
ldr x23, [x23, _ERROR_INVALID_PARAMETER@GOTPAGEOFF]
cbz x8, LBB0_2
; %bb.1:
Lloh5:
adrp x0, l_.str@PAGE
Lloh6:
add x0, x0, l_.str@PAGEOFF
bl _win_skip
b LBB0_3
LBB0_2:
mov w0, #48879
movk w0, #57005, lsl #16
bl _SetLastError
mov x0, #0
mov x1, #0
mov w2, #0
mov w3, #0
bl _SetupDuplicateDiskSpaceListA
cmp x0, #0
cset w8, eq
str x0, [sp]
Lloh7:
adrp x19, l_.str.1@PAGE
Lloh8:
add x19, x19, l_.str.1@PAGEOFF
mov x0, x8
mov x1, x19
bl _ok
bl _GetLastError
Lloh9:
adrp x8, _ERROR_INVALID_HANDLE@GOTPAGE
Lloh10:
ldr x8, [x8, _ERROR_INVALID_HANDLE@GOTPAGEOFF]
Lloh11:
ldr x8, [x8]
cmp x0, x8
cset w20, eq
bl _GetLastError
str x0, [sp]
Lloh12:
adrp x1, l_.str.2@PAGE
Lloh13:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x20
bl _ok
mov w0, #48879
movk w0, #57005, lsl #16
bl _SetLastError
mov x0, #0
mov w1, #48879
movk w1, #57005, lsl #16
mov w2, #0
mov w3, #0
bl _SetupDuplicateDiskSpaceListA
cmp x0, #0
cset w8, eq
str x0, [sp]
mov x0, x8
mov x1, x19
bl _ok
bl _GetLastError
ldr x8, [x23]
cmp x0, x8
cset w21, eq
bl _GetLastError
str x0, [sp]
Lloh14:
adrp x20, l_.str.3@PAGE
Lloh15:
add x20, x20, l_.str.3@PAGEOFF
mov x0, x21
mov x1, x20
bl _ok
mov w0, #48879
movk w0, #57005, lsl #16
bl _SetLastError
mov x0, #0
mov x1, #0
mov w2, #48879
movk w2, #57005, lsl #16
mov w3, #0
bl _SetupDuplicateDiskSpaceListA
cmp x0, #0
cset w8, eq
str x0, [sp]
mov x0, x8
mov x1, x19
bl _ok
bl _GetLastError
ldr x8, [x23]
cmp x0, x8
cset w21, eq
bl _GetLastError
str x0, [sp]
mov x0, x21
mov x1, x20
bl _ok
mov w0, #48879
movk w0, #57005, lsl #16
bl _SetLastError
mov x0, #0
mov x1, #0
mov w2, #0
mov w3, #-1
bl _SetupDuplicateDiskSpaceListA
cmp x0, #0
cset w8, eq
str x0, [sp]
mov x0, x8
mov x1, x19
bl _ok
bl _GetLastError
ldr x8, [x23]
cmp x0, x8
cset w19, eq
bl _GetLastError
str x0, [sp]
mov x0, x19
mov x1, x20
bl _ok
LBB0_3:
mov x0, #0
mov w1, #0
mov w2, #0
bl _SetupCreateDiskSpaceListA
mov x19, x0
cmp x0, #0
cset w0, ne
Lloh16:
adrp x1, l_.str.4@PAGE
Lloh17:
add x1, x1, l_.str.4@PAGEOFF
bl _ok
cbz x19, LBB0_5
; %bb.4:
mov w0, #48879
movk w0, #57005, lsl #16
bl _SetLastError
mov x0, x19
mov w1, #48879
movk w1, #57005, lsl #16
mov w2, #0
mov w3, #0
bl _SetupDuplicateDiskSpaceListA
cmp x0, #0
cset w8, eq
str x0, [sp]
Lloh18:
adrp x20, l_.str.1@PAGE
Lloh19:
add x20, x20, l_.str.1@PAGEOFF
mov x0, x8
mov x1, x20
bl _ok
bl _GetLastError
ldr x8, [x23]
cmp x0, x8
cset w22, eq
bl _GetLastError
str x0, [sp]
Lloh20:
adrp x21, l_.str.3@PAGE
Lloh21:
add x21, x21, l_.str.3@PAGEOFF
mov x0, x22
mov x1, x21
bl _ok
mov w0, #48879
movk w0, #57005, lsl #16
bl _SetLastError
mov x0, x19
mov x1, #0
mov w2, #48879
movk w2, #57005, lsl #16
mov w3, #0
bl _SetupDuplicateDiskSpaceListA
cmp x0, #0
cset w8, eq
str x0, [sp]
mov x0, x8
mov x1, x20
bl _ok
bl _GetLastError
ldr x8, [x23]
cmp x0, x8
cset w22, eq
bl _GetLastError
str x0, [sp]
mov x0, x22
mov x1, x21
bl _ok
mov w0, #48879
movk w0, #57005, lsl #16
bl _SetLastError
Lloh22:
adrp x8, _SPDSL_IGNORE_DISK@GOTPAGE
Lloh23:
ldr x8, [x8, _SPDSL_IGNORE_DISK@GOTPAGEOFF]
Lloh24:
ldr w3, [x8]
mov x0, x19
mov x1, #0
mov w2, #0
bl _SetupDuplicateDiskSpaceListA
cmp x0, #0
cset w8, eq
str x0, [sp]
mov x0, x8
mov x1, x20
bl _ok
bl _GetLastError
ldr x8, [x23]
cmp x0, x8
cset w22, eq
bl _GetLastError
str x0, [sp]
mov x0, x22
mov x1, x21
bl _ok
mov w0, #48879
movk w0, #57005, lsl #16
bl _SetLastError
mov x0, x19
mov x1, #0
mov w2, #0
mov w3, #-1
bl _SetupDuplicateDiskSpaceListA
cmp x0, #0
cset w8, eq
str x0, [sp]
mov x0, x8
mov x1, x20
bl _ok
bl _GetLastError
ldr x8, [x23]
cmp x0, x8
cset w22, eq
bl _GetLastError
str x0, [sp]
mov x0, x22
mov x1, x21
bl _ok
mov x0, x19
mov x1, #0
mov w2, #0
mov w3, #0
bl _SetupDuplicateDiskSpaceListA
mov x21, x0
cmp x0, #0
cset w0, ne
str x21, [sp]
mov x1, x20
bl _ok
cmp x21, x19
cset w0, ne
stp x21, x19, [sp]
Lloh25:
adrp x1, l_.str.6@PAGE
Lloh26:
add x1, x1, l_.str.6@PAGEOFF
bl _ok
mov x0, x21
bl _SetupDestroyDiskSpaceList
Lloh27:
adrp x20, l_.str.7@PAGE
Lloh28:
add x20, x20, l_.str.7@PAGEOFF
mov x1, x20
bl _ok
mov x0, x19
bl _SetupDestroyDiskSpaceList
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
add sp, sp, #80
b _ok
LBB0_5:
Lloh29:
adrp x0, l_.str.5@PAGE
Lloh30:
add x0, x0, l_.str.5@PAGEOFF
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
b _skip
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh29, Lloh30
.cfi_endproc
; -- End function
.comm _is_win9x,8,3 ; @is_win9x
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "SetupDuplicateDiskSpaceListA crashes with NULL disk space handle on Win9x\n"
l_.str.1: ; @.str.1
.asciz "Expected SetupDuplicateDiskSpaceList to return NULL, got %p\n"
.comm _ERROR_INVALID_HANDLE,8,3 ; @ERROR_INVALID_HANDLE
l_.str.2: ; @.str.2
.asciz "Expected GetLastError() to return ERROR_INVALID_HANDLE, got %u\n"
.comm _ERROR_INVALID_PARAMETER,8,3 ; @ERROR_INVALID_PARAMETER
l_.str.3: ; @.str.3
.asciz "Expected GetLastError() to return ERROR_INVALID_PARAMETER, got %u\n"
l_.str.4: ; @.str.4
.asciz "Expected SetupCreateDiskSpaceListA to return a valid handle, got NULL\n"
l_.str.5: ; @.str.5
.asciz "Failed to create a disk space handle\n"
.comm _SPDSL_IGNORE_DISK,4,2 ; @SPDSL_IGNORE_DISK
l_.str.6: ; @.str.6
.asciz "Expected new handle (%p) to be different from the old handle (%p)\n"
l_.str.7: ; @.str.7
.asciz "Expected SetupDestroyDiskSpaceList to succeed\n"
.no_dead_strip _test_SetupDuplicateDiskSpaceListA
.subsections_via_symbols
| AnghaBench/reactos/modules/rostests/winetests/setupapi/extr_diskspace.c_test_SetupDuplicateDiskSpaceListA.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _vlc_writev ## -- Begin function vlc_writev
.p2align 4, 0x90
_vlc_writev: ## @vlc_writev
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
popq %rbp
jmp _vlc_assert_unreachable ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _vlc_writev ; -- Begin function vlc_writev
.p2align 2
_vlc_writev: ; @vlc_writev
.cfi_startproc
; %bb.0:
b _vlc_assert_unreachable
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/vlc/src/win32/extr_filesystem.c_vlc_writev.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function exprtoken
_exprtoken: ## @exprtoken
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %rdi
movq %rdx, %rsi
callq _strstr
testq %rax, %rax
je LBB0_1
## %bb.2:
movq %rax, %rbx
movb $0, (%rax)
movq %r15, %rdi
callq _strlen
movslq %eax, %rcx
addq %rbx, %rcx
movl $1, %eax
jmp LBB0_3
LBB0_1:
xorl %ecx, %ecx
xorl %eax, %eax
LBB0_3:
movq %rcx, (%r14)
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _exprtoken
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function exprtoken
_exprtoken: ; @exprtoken
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x3
mov x20, x2
mov x0, x1
mov x1, x2
bl _strstr
cbz x0, LBB0_2
; %bb.1:
mov x21, x0
strb wzr, [x0]
mov x0, x20
bl _strlen
add x8, x21, w0, sxtw
mov w0, #1
b LBB0_3
LBB0_2:
mov x8, #0
LBB0_3:
str x8, [x19]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _exprtoken
.subsections_via_symbols
| AnghaBench/radare2/libr/debug/extr_esil.c_exprtoken.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _aofRewriteBufferSize ## -- Begin function aofRewriteBufferSize
.p2align 4, 0x90
_aofRewriteBufferSize: ## @aofRewriteBufferSize
.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 _server@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq -20(%rbp), %rbx
movq %rbx, %rsi
callq _listRewind
movq %rbx, %rdi
callq _listNext
xorl %ebx, %ebx
testq %rax, %rax
je LBB0_3
## %bb.1:
leaq -20(%rbp), %r14
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %rax, %rdi
callq _listNodeValue
addq (%rax), %rbx
movq %r14, %rdi
callq _listNext
testq %rax, %rax
jne LBB0_2
LBB0_3:
movq %rbx, %rax
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _server,4,2 ## @server
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _aofRewriteBufferSize ; -- Begin function aofRewriteBufferSize
.p2align 2
_aofRewriteBufferSize: ; @aofRewriteBufferSize
.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, _server@GOTPAGE
Lloh1:
ldr x8, [x8, _server@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
add x1, sp, #12
bl _listRewind
add x0, sp, #12
bl _listNext
mov x19, #0
cbz x0, LBB0_2
LBB0_1: ; =>This Inner Loop Header: Depth=1
bl _listNodeValue
ldr x8, [x0]
add x19, x8, x19
add x0, sp, #12
bl _listNext
cbnz x0, LBB0_1
LBB0_2:
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 _server,4,2 ; @server
.subsections_via_symbols
| AnghaBench/redis/src/extr_aof.c_aofRewriteBufferSize.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function xts_encrypt
_xts_encrypt: ## @xts_encrypt
.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
callq _crypto_skcipher_reqtfm
movq %rax, %rdi
callq _crypto_skcipher_ctx
movq %rax, %rbx
movq ___cast6_encrypt@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _XTS_TWEAK_CAST
leaq 4(%rbx), %rcx
movq _cast6_enc_xts@GOTPCREL(%rip), %rdi
movq %r14, %rsi
movl %eax, %edx
movq %rbx, %r8
xorl %r9d, %r9d
popq %rbx
popq %r14
popq %rbp
jmp _glue_xts_req_128bit ## TAILCALL
.cfi_endproc
## -- End function
.comm _cast6_enc_xts,4,2 ## @cast6_enc_xts
.comm ___cast6_encrypt,4,2 ## @__cast6_encrypt
.no_dead_strip _xts_encrypt
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function xts_encrypt
_xts_encrypt: ; @xts_encrypt
.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 _crypto_skcipher_reqtfm
bl _crypto_skcipher_ctx
mov x20, x0
Lloh0:
adrp x8, ___cast6_encrypt@GOTPAGE
Lloh1:
ldr x8, [x8, ___cast6_encrypt@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
bl _XTS_TWEAK_CAST
mov x2, x0
add x3, x20, #4
Lloh3:
adrp x0, _cast6_enc_xts@GOTPAGE
Lloh4:
ldr x0, [x0, _cast6_enc_xts@GOTPAGEOFF]
mov x1, x19
mov x4, x20
mov w5, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _glue_xts_req_128bit
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _cast6_enc_xts,4,2 ; @cast6_enc_xts
.comm ___cast6_encrypt,4,2 ; @__cast6_encrypt
.no_dead_strip _xts_encrypt
.subsections_via_symbols
| AnghaBench/linux/arch/x86/crypto/extr_cast6_avx_glue.c_xts_encrypt.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ext2_has_free_blocks
_ext2_has_free_blocks: ## @ext2_has_free_blocks
.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
addq $24, %rdi
callq _percpu_counter_read_positive
movq %rax, %rbx
movq 16(%r15), %rax
movl (%rax), %edi
callq _le32_to_cpu
cmpq %rax, %rbx
jg LBB0_5
## %bb.1:
movq _CAP_SYS_RESOURCE@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _capable
testl %eax, %eax
jne LBB0_5
## %bb.2:
movq (%r15), %rbx
xorl %r14d, %r14d
xorl %eax, %eax
callq _current_fsuid
cmpq %rax, %rbx
je LBB0_5
## %bb.3:
movq 8(%r15), %rdi
testq %rdi, %rdi
je LBB0_6
## %bb.4:
callq _in_group_p
testl %eax, %eax
je LBB0_6
LBB0_5:
movl $1, %r14d
LBB0_6:
movl %r14d, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _CAP_SYS_RESOURCE,4,2 ## @CAP_SYS_RESOURCE
.no_dead_strip _ext2_has_free_blocks
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ext2_has_free_blocks
_ext2_has_free_blocks: ; @ext2_has_free_blocks
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
add x0, x0, #24
bl _percpu_counter_read_positive
mov x20, x0
ldr x8, [x19, #16]
ldr w0, [x8]
bl _le32_to_cpu
cmp x20, x0
b.gt LBB0_5
; %bb.1:
Lloh0:
adrp x8, _CAP_SYS_RESOURCE@GOTPAGE
Lloh1:
ldr x8, [x8, _CAP_SYS_RESOURCE@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
bl _capable
cbnz w0, LBB0_5
; %bb.2:
ldr x20, [x19]
bl _current_fsuid
cmp x20, x0
b.eq LBB0_5
; %bb.3:
ldr x0, [x19, #8]
cbz x0, LBB0_6
; %bb.4:
bl _in_group_p
cbz w0, LBB0_6
LBB0_5:
mov w0, #1
LBB0_6:
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 _CAP_SYS_RESOURCE,4,2 ; @CAP_SYS_RESOURCE
.no_dead_strip _ext2_has_free_blocks
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/fs/ext2/extr_balloc.c_ext2_has_free_blocks.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function xgbe_free_channels
_xgbe_free_channels: ## @xgbe_free_channels
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %r14
movq 8(%rdi), %rdi
callq _ARRAY_SIZE
testl %eax, %eax
je LBB0_5
## %bb.1:
xorl %ebx, %ebx
jmp LBB0_2
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
incq %rbx
callq _ARRAY_SIZE
movl %eax, %eax
cmpq %rax, %rbx
jae LBB0_5
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq 8(%r14), %rdi
movq (%rdi,%rbx,8), %rax
testq %rax, %rax
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq 8(%rax), %rdi
callq _kfree
movq 8(%r14), %rax
movq (%rax,%rbx,8), %rax
movq (%rax), %rdi
callq _kfree
movq 8(%r14), %rax
movq (%rax,%rbx,8), %rdi
callq _kfree
movq 8(%r14), %rax
movq $0, (%rax,%rbx,8)
movq 8(%r14), %rdi
jmp LBB0_4
LBB0_5:
movq $0, (%r14)
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _xgbe_free_channels
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function xgbe_free_channels
_xgbe_free_channels: ; @xgbe_free_channels
.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 x0, [x0, #8]
bl _ARRAY_SIZE
cbz w0, LBB0_5
; %bb.1:
mov x20, #0
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x20, x20, #1
bl _ARRAY_SIZE
cmp x20, w0, uxtw
b.hs LBB0_5
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x0, [x19, #8]
ldr x8, [x0, x20, lsl #3]
cbz x8, LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
ldr x0, [x8, #8]
bl _kfree
ldr x8, [x19, #8]
lsl x21, x20, #3
ldr x8, [x8, x21]
ldr x0, [x8]
bl _kfree
ldr x8, [x19, #8]
ldr x0, [x8, x21]
bl _kfree
ldr x8, [x19, #8]
str xzr, [x8, x21]
ldr x0, [x19, #8]
b LBB0_2
LBB0_5:
str xzr, [x19]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _xgbe_free_channels
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/amd/xgbe/extr_xgbe-drv.c_xgbe_free_channels.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function array_to_args
_array_to_args: ## @array_to_args
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %r14
movq _lengthW@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -48(%rbp), %rdx
movq %r13, %rdi
callq _jsdisp_propget_name
movq %rax, %rbx
movq %rax, %rdi
callq _FAILED
testq %rax, %rax
jne LBB0_16
## %bb.1:
movl -48(%rbp), %esi
leaq -44(%rbp), %rdx
movq %r14, %rdi
callq _to_uint32
movq %rax, %rbx
movl -48(%rbp), %edi
callq _jsval_release
movq %rbx, %rdi
callq _FAILED
testq %rax, %rax
jne LBB0_16
## %bb.2:
movl -44(%rbp), %edi
shll $2, %edi
callq _heap_alloc
testq %rax, %rax
je LBB0_12
## %bb.3:
movl -44(%rbp), %ecx
testl %ecx, %ecx
jle LBB0_14
## %bb.4:
movq %rax, -56(%rbp) ## 8-byte Spill
movq %r12, -64(%rbp) ## 8-byte Spill
movq %r15, -72(%rbp) ## 8-byte Spill
xorl %r12d, %r12d
xorl %r14d, %r14d
jmp LBB0_7
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_7 Depth=1
xorl %eax, %eax
callq _jsval_undefined
movl %eax, (%r15)
LBB0_6: ## in Loop: Header=BB0_7 Depth=1
incq %r14
movslq -44(%rbp), %rcx
addq $4, %r12
cmpq %rcx, %r14
jge LBB0_13
LBB0_7: ## =>This Inner Loop Header: Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
leaq (%rax,%r12), %r15
movq %r13, %rdi
movl %r14d, %esi
movq %r15, %rdx
callq _jsdisp_get_idx
movq %rax, %rbx
movq _DISP_E_UNKNOWNNAME@GOTPCREL(%rip), %rax
cmpq (%rax), %rbx
je LBB0_5
## %bb.8: ## in Loop: Header=BB0_7 Depth=1
movq %rbx, %rdi
callq _FAILED
testq %rax, %rax
je LBB0_6
## %bb.9:
testl %r14d, %r14d
movq -56(%rbp), %r14 ## 8-byte Reload
je LBB0_11
.p2align 4, 0x90
LBB0_10: ## =>This Inner Loop Header: Depth=1
movl -4(%r14,%r12), %edi
callq _jsval_release
addq $-4, %r12
jne LBB0_10
LBB0_11:
movq %r14, %rdi
callq _heap_free
jmp LBB0_16
LBB0_12:
movq _E_OUTOFMEMORY@GOTPCREL(%rip), %rax
jmp LBB0_15
LBB0_13:
movq -72(%rbp), %r15 ## 8-byte Reload
movq -64(%rbp), %r12 ## 8-byte Reload
movq -56(%rbp), %rax ## 8-byte Reload
LBB0_14:
movl %ecx, (%r12)
movq %rax, (%r15)
movq _S_OK@GOTPCREL(%rip), %rax
LBB0_15:
movq (%rax), %rbx
LBB0_16:
movq %rbx, %rax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _lengthW,4,2 ## @lengthW
.comm _E_OUTOFMEMORY,8,3 ## @E_OUTOFMEMORY
.comm _DISP_E_UNKNOWNNAME,8,3 ## @DISP_E_UNKNOWNNAME
.comm _S_OK,8,3 ## @S_OK
.no_dead_strip _array_to_args
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function array_to_args
_array_to_args: ; @array_to_args
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x3
mov x20, x2
mov x21, x1
mov x22, x0
Lloh0:
adrp x8, _lengthW@GOTPAGE
Lloh1:
ldr x8, [x8, _lengthW@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
add x2, sp, #12
mov x0, x21
bl _jsdisp_propget_name
mov x23, x0
bl _FAILED
cbnz x0, LBB0_16
; %bb.1:
ldr w1, [sp, #12]
add x2, sp, #8
mov x0, x22
bl _to_uint32
mov x23, x0
ldr w0, [sp, #12]
bl _jsval_release
mov x0, x23
bl _FAILED
cbnz x0, LBB0_16
; %bb.2:
ldr w8, [sp, #8]
lsl w0, w8, #2
bl _heap_alloc
cbz x0, LBB0_14
; %bb.3:
mov x22, x0
ldr w8, [sp, #8]
cmp w8, #1
b.lt LBB0_13
; %bb.4:
mov x26, #0
mov x24, #0
Lloh3:
adrp x27, _DISP_E_UNKNOWNNAME@GOTPAGE
Lloh4:
ldr x27, [x27, _DISP_E_UNKNOWNNAME@GOTPAGEOFF]
b LBB0_7
LBB0_5: ; in Loop: Header=BB0_7 Depth=1
bl _jsval_undefined
str w0, [x25]
LBB0_6: ; in Loop: Header=BB0_7 Depth=1
add x24, x24, #1
ldrsw x8, [sp, #8]
add x26, x26, #4
cmp x24, x8
b.ge LBB0_13
LBB0_7: ; =>This Inner Loop Header: Depth=1
add x25, x22, x26
mov x0, x21
mov x1, x24
mov x2, x25
bl _jsdisp_get_idx
ldr x8, [x27]
cmp x0, x8
b.eq LBB0_5
; %bb.8: ; in Loop: Header=BB0_7 Depth=1
mov x23, x0
bl _FAILED
cbz x0, LBB0_6
; %bb.9:
cbz w24, LBB0_12
; %bb.10:
sub x19, x22, #4
LBB0_11: ; =>This Inner Loop Header: Depth=1
ldr w0, [x19, x26]
bl _jsval_release
subs x26, x26, #4
b.ne LBB0_11
LBB0_12:
mov x0, x22
bl _heap_free
b LBB0_16
LBB0_13:
str w8, [x20]
str x22, [x19]
Lloh5:
adrp x8, _S_OK@GOTPAGE
Lloh6:
ldr x8, [x8, _S_OK@GOTPAGEOFF]
b LBB0_15
LBB0_14:
Lloh7:
adrp x8, _E_OUTOFMEMORY@GOTPAGE
Lloh8:
ldr x8, [x8, _E_OUTOFMEMORY@GOTPAGEOFF]
LBB0_15:
ldr x23, [x8]
LBB0_16:
mov x0, x23
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _lengthW,4,2 ; @lengthW
.comm _E_OUTOFMEMORY,8,3 ; @E_OUTOFMEMORY
.comm _DISP_E_UNKNOWNNAME,8,3 ; @DISP_E_UNKNOWNNAME
.comm _S_OK,8,3 ; @S_OK
.no_dead_strip _array_to_args
.subsections_via_symbols
| AnghaBench/reactos/dll/win32/jscript/extr_function.c_array_to_args.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function dbri_process_interrupt_buffer
_dbri_process_interrupt_buffer: ## @dbri_process_interrupt_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 %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq (%rdi), %rax
movq 8(%rdi), %rcx
movq (%rcx), %rcx
movq (%rcx,%rax,8), %rsi
testq %rsi, %rsi
je LBB0_3
## %bb.1:
movq %rdi, %rbx
leaq (%rcx,%rax,8), %rax
movq _DBRI_INT_BLK@GOTPCREL(%rip), %r14
movl $1, %r15d
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq $0, (%rax)
movq (%rbx), %rax
incq %rax
movq %rax, (%rbx)
cmpq (%r14), %rax
cmoveq %r15, %rax
movq %rax, (%rbx)
movq %rbx, %rdi
callq _dbri_process_one_interrupt
movq (%rbx), %rcx
movq 8(%rbx), %rax
movq (%rax), %rdx
leaq (%rdx,%rcx,8), %rax
movq (%rdx,%rcx,8), %rsi
testq %rsi, %rsi
jne LBB0_2
LBB0_3:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _DBRI_INT_BLK,8,3 ## @DBRI_INT_BLK
.no_dead_strip _dbri_process_interrupt_buffer
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function dbri_process_interrupt_buffer
_dbri_process_interrupt_buffer: ; @dbri_process_interrupt_buffer
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
ldp x9, x8, [x0]
ldr x8, [x8]
add x8, x8, x9, lsl #3
ldr x1, [x8]
cbz x1, LBB0_3
; %bb.1:
mov x19, x0
Lloh0:
adrp x20, _DBRI_INT_BLK@GOTPAGE
Lloh1:
ldr x20, [x20, _DBRI_INT_BLK@GOTPAGEOFF]
mov w21, #1
LBB0_2: ; =>This Inner Loop Header: Depth=1
str xzr, [x8]
ldr x8, [x19]
add x9, x8, #1
str x9, [x19]
ldr x10, [x20]
cmp x9, x10
csinc x8, x21, x8, eq
str x8, [x19]
mov x0, x19
bl _dbri_process_one_interrupt
ldp x9, x8, [x19]
ldr x8, [x8]
add x8, x8, x9, lsl #3
ldr x1, [x8]
cbnz x1, LBB0_2
LBB0_3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _DBRI_INT_BLK,8,3 ; @DBRI_INT_BLK
.no_dead_strip _dbri_process_interrupt_buffer
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/sound/sparc/extr_dbri.c_dbri_process_interrupt_buffer.c | anghabench |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.