x86
stringlengths 122
5.97M
| arm
stringlengths 122
5.84M
| file
stringlengths 18
195
| source
stringclasses 3
values |
|---|---|---|---|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _strcmp ## -- Begin function strcmp
.p2align 4, 0x90
_strcmp: ## @strcmp
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movzbl (%rdi,%rcx), %eax
movzbl (%rsi,%rcx), %edx
testl %eax, %eax
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
incq %rcx
cmpb %dl, %al
je LBB0_1
LBB0_3:
movzbl %dl, %ecx
subl %ecx, %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 _strcmp ; -- Begin function strcmp
.p2align 2
_strcmp: ; @strcmp
.cfi_startproc
; %bb.0:
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldrb w8, [x0], #1
ldrb w9, [x1], #1
cmp w8, #0
ccmp w8, w9, #0, ne
b.eq LBB0_1
; %bb.2:
sub w0, w8, w9
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
the_stack_data/750114.c
|
stack
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function tncs_derive_recommendation
_tncs_derive_recommendation: ## @tncs_derive_recommendation
.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 _MSG_DEBUG@GOTPCREL(%rip), %rbx
movl (%rbx), %edi
leaq L_.str(%rip), %rsi
xorl %eax, %eax
callq _wpa_printf
cmpl $0, (%r14)
je LBB0_2
## %bb.1:
movq _TNCCS_PROCESS_OK_NO_RECOMMENDATION@GOTPCREL(%rip), %rax
jmp LBB0_21
LBB0_2:
movq %r14, %rdi
callq _tncs_solicit_recommendation
movq 16(%r14), %rax
testq %rax, %rax
je LBB0_3
## %bb.4:
movq 32(%r14), %rcx
movl $128, %r13d
movl $129, %edx
jmp LBB0_5
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_5 Depth=1
movq 8(%rax), %rax
cmpq $131, %rsi
cmovel %edi, %r13d
testq %rax, %rax
je LBB0_10
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq (%rax), %rsi
movq (%rcx,%rsi,8), %rsi
cmpq $129, %rsi
cmovel %edx, %r13d
movl $130, %edi
cmpl $129, %r13d
jne LBB0_7
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movl %r13d, %edi
LBB0_7: ## in Loop: Header=BB0_5 Depth=1
cmpq $130, %rsi
cmovel %edi, %r13d
movl $131, %edi
cmpl $128, %r13d
je LBB0_9
## %bb.8: ## in Loop: Header=BB0_5 Depth=1
movl %r13d, %edi
jmp LBB0_9
LBB0_10:
movl (%rbx), %edi
leaq L_.str.1(%rip), %rsi
movl %r13d, %edx
xorl %eax, %eax
callq _wpa_printf
movl %r13d, 4(%r14)
movl $1, (%r14)
leal -128(%r13), %eax
cmpl $4, %eax
jae LBB0_11
## %bb.12:
movslq %eax, %rcx
leaq l_switch.table.tncs_derive_recommendation(%rip), %rax
movq (%rax,%rcx,8), %rax
leaq l_reltable.tncs_derive_recommendation(%rip), %rdx
movslq (%rdx,%rcx,4), %r12
addq %rdx, %r12
jmp LBB0_13
LBB0_3:
movl (%rbx), %edi
leaq L_.str.1(%rip), %rsi
movl $128, %r13d
movl $128, %edx
xorl %eax, %eax
callq _wpa_printf
movabsq $549755813889, %rax ## imm = 0x8000000001
movq %rax, (%r14)
leaq L_.str.2(%rip), %r12
movq _TNC_CONNECTION_STATE_ACCESS_ALLOWED@GOTPCREL(%rip), %rax
LBB0_13:
movl (%rax), %r15d
movq 24(%r14), %rdi
callq _os_free
movl $200, %edi
callq _os_zalloc
movq %rax, 24(%r14)
testq %rax, %rax
je LBB0_15
## %bb.14:
movq _TNC_TNCCS_RECOMMENDATION@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
leaq L_.str.5(%rip), %rdx
movq %rax, %rdi
movl $199, %esi
movq %r12, %r8
callq _os_snprintf
LBB0_15:
movq 16(%r14), %rbx
jmp LBB0_17
LBB0_11:
movq _TNC_CONNECTION_STATE_ACCESS_ALLOWED@GOTPCREL(%rip), %rax
movl (%rax), %r15d
movq 16(%r14), %rbx
jmp LBB0_17
.p2align 4, 0x90
LBB0_16: ## in Loop: Header=BB0_17 Depth=1
movl 8(%r14), %esi
movq %rbx, %rdi
movl %r15d, %edx
callq _tncs_imv_notify_connection_change
movq 8(%rbx), %rbx
LBB0_17: ## =>This Inner Loop Header: Depth=1
testq %rbx, %rbx
jne LBB0_16
## %bb.18:
addl $-128, %r13d
cmpl $3, %r13d
ja LBB0_19
## %bb.20:
movslq %r13d, %rax
leaq l_switch.table.tncs_derive_recommendation.7(%rip), %rcx
movq (%rcx,%rax,8), %rax
jmp LBB0_21
LBB0_19:
movq _TNCCS_PROCESS_ERROR@GOTPCREL(%rip), %rax
LBB0_21:
movl (%rax), %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MSG_DEBUG,4,2 ## @MSG_DEBUG
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "TNC: No more messages from IMVs"
.comm _TNCCS_PROCESS_OK_NO_RECOMMENDATION,4,2 ## @TNCCS_PROCESS_OK_NO_RECOMMENDATION
L_.str.1: ## @.str.1
.asciz "TNC: Recommendation: %d"
L_.str.2: ## @.str.2
.asciz "allow"
.comm _TNC_CONNECTION_STATE_ACCESS_ALLOWED,4,2 ## @TNC_CONNECTION_STATE_ACCESS_ALLOWED
L_.str.3: ## @.str.3
.asciz "isolate"
.comm _TNC_CONNECTION_STATE_ACCESS_ISOLATED,4,2 ## @TNC_CONNECTION_STATE_ACCESS_ISOLATED
L_.str.4: ## @.str.4
.asciz "none"
.comm _TNC_CONNECTION_STATE_ACCESS_NONE,4,2 ## @TNC_CONNECTION_STATE_ACCESS_NONE
L_.str.5: ## @.str.5
.asciz "<TNCC-TNCS-Message><Type>%08X</Type><XML><TNCCS-Recommendation type=\"%s\"></TNCCS-Recommendation></XML></TNCC-TNCS-Message>"
.comm _TNC_TNCCS_RECOMMENDATION,4,2 ## @TNC_TNCCS_RECOMMENDATION
.comm _TNCCS_RECOMMENDATION_ALLOW,4,2 ## @TNCCS_RECOMMENDATION_ALLOW
.comm _TNCCS_RECOMMENDATION_NO_ACCESS,4,2 ## @TNCCS_RECOMMENDATION_NO_ACCESS
.comm _TNCCS_RECOMMENDATION_ISOLATE,4,2 ## @TNCCS_RECOMMENDATION_ISOLATE
.comm _TNCCS_RECOMMENDATION_NO_RECOMMENDATION,4,2 ## @TNCCS_RECOMMENDATION_NO_RECOMMENDATION
.comm _TNCCS_PROCESS_ERROR,4,2 ## @TNCCS_PROCESS_ERROR
.no_dead_strip _tncs_derive_recommendation
.section __DATA,__const
.p2align 3 ## @switch.table.tncs_derive_recommendation
l_switch.table.tncs_derive_recommendation:
.quad _TNC_CONNECTION_STATE_ACCESS_ALLOWED
.quad _TNC_CONNECTION_STATE_ACCESS_NONE
.quad _TNC_CONNECTION_STATE_ACCESS_ISOLATED
.quad _TNC_CONNECTION_STATE_ACCESS_ALLOWED
.section __TEXT,__const
.p2align 2 ## @reltable.tncs_derive_recommendation
l_reltable.tncs_derive_recommendation:
.long L_.str.2-l_reltable.tncs_derive_recommendation
.long L_.str.4-l_reltable.tncs_derive_recommendation
.long L_.str.3-l_reltable.tncs_derive_recommendation
.long L_.str.2-l_reltable.tncs_derive_recommendation
.section __DATA,__const
.p2align 3 ## @switch.table.tncs_derive_recommendation.7
l_switch.table.tncs_derive_recommendation.7:
.quad _TNCCS_RECOMMENDATION_NO_RECOMMENDATION
.quad _TNCCS_RECOMMENDATION_NO_ACCESS
.quad _TNCCS_RECOMMENDATION_ISOLATE
.quad _TNCCS_RECOMMENDATION_ALLOW
.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 tncs_derive_recommendation
lCPI0_0:
.long 1 ; 0x1
.long 128 ; 0x80
.section __TEXT,__text,regular,pure_instructions
.p2align 2
_tncs_derive_recommendation: ; @tncs_derive_recommendation
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
Lloh0:
adrp x20, _MSG_DEBUG@GOTPAGE
Lloh1:
ldr x20, [x20, _MSG_DEBUG@GOTPAGEOFF]
ldr w0, [x20]
Lloh2:
adrp x1, l_.str@PAGE
Lloh3:
add x1, x1, l_.str@PAGEOFF
bl _wpa_printf
ldr w8, [x19]
cbz w8, LBB0_2
; %bb.1:
Lloh4:
adrp x8, _TNCCS_PROCESS_OK_NO_RECOMMENDATION@GOTPAGE
Lloh5:
ldr x8, [x8, _TNCCS_PROCESS_OK_NO_RECOMMENDATION@GOTPAGEOFF]
b LBB0_15
LBB0_2:
mov x0, x19
bl _tncs_solicit_recommendation
ldr x8, [x19, #16]
cbz x8, LBB0_7
; %bb.3:
ldr x9, [x19, #32]
mov w22, #128
mov w10, #129
mov w11, #130
mov w12, #131
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldp x13, x8, [x8]
ldr x13, [x9, x13, lsl #3]
cmp x13, #129
csel w14, w10, w22, eq
cmp w14, #129
ccmp x13, x11, #0, ne
csel w14, w11, w14, eq
cmp w14, #128
ccmp x13, x12, #0, eq
csel w22, w12, w14, eq
cbnz x8, LBB0_4
; %bb.5:
ldr w0, [x20]
str x22, [sp]
Lloh6:
adrp x1, l_.str.1@PAGE
Lloh7:
add x1, x1, l_.str.1@PAGEOFF
bl _wpa_printf
mov w8, #1
stp w8, w22, [x19]
sub w8, w22, #128
cmp w8, #4
b.hs LBB0_16
; %bb.6:
sbfiz x9, x8, #3, #32
Lloh8:
adrp x8, l_switch.table.tncs_derive_recommendation@PAGE
Lloh9:
add x8, x8, l_switch.table.tncs_derive_recommendation@PAGEOFF
ldr x8, [x8, x9]
Lloh10:
adrp x10, l_switch.table.tncs_derive_recommendation.6@PAGE
Lloh11:
add x10, x10, l_switch.table.tncs_derive_recommendation.6@PAGEOFF
ldr x21, [x10, x9]
b LBB0_8
LBB0_7:
ldr w0, [x20]
mov w22, #128
str x22, [sp]
Lloh12:
adrp x1, l_.str.1@PAGE
Lloh13:
add x1, x1, l_.str.1@PAGEOFF
bl _wpa_printf
Lloh14:
adrp x8, lCPI0_0@PAGE
Lloh15:
ldr d0, [x8, lCPI0_0@PAGEOFF]
str d0, [x19]
Lloh16:
adrp x21, l_.str.2@PAGE
Lloh17:
add x21, x21, l_.str.2@PAGEOFF
Lloh18:
adrp x8, _TNC_CONNECTION_STATE_ACCESS_ALLOWED@GOTPAGE
Lloh19:
ldr x8, [x8, _TNC_CONNECTION_STATE_ACCESS_ALLOWED@GOTPAGEOFF]
; kill: def $w22 killed $w22 killed $x22 def $x22
LBB0_8:
ldr w20, [x8]
ldr x0, [x19, #24]
bl _os_free
mov w0, #200
bl _os_zalloc
str x0, [x19, #24]
cbz x0, LBB0_10
; %bb.9:
Lloh20:
adrp x8, _TNC_TNCCS_RECOMMENDATION@GOTPAGE
Lloh21:
ldr x8, [x8, _TNC_TNCCS_RECOMMENDATION@GOTPAGEOFF]
Lloh22:
ldr w3, [x8]
Lloh23:
adrp x2, l_.str.5@PAGE
Lloh24:
add x2, x2, l_.str.5@PAGEOFF
mov w1, #199
mov x4, x21
bl _os_snprintf
LBB0_10:
ldr x21, [x19, #16]
cbz x21, LBB0_12
LBB0_11: ; =>This Inner Loop Header: Depth=1
ldr w1, [x19, #8]
mov x0, x21
mov x2, x20
bl _tncs_imv_notify_connection_change
ldr x21, [x21, #8]
cbnz x21, LBB0_11
LBB0_12:
sub w8, w22, #128
cmp w8, #3
b.hi LBB0_14
; %bb.13:
Lloh25:
adrp x9, l_switch.table.tncs_derive_recommendation.7@PAGE
Lloh26:
add x9, x9, l_switch.table.tncs_derive_recommendation.7@PAGEOFF
ldr x8, [x9, w8, sxtw #3]
b LBB0_15
LBB0_14:
Lloh27:
adrp x8, _TNCCS_PROCESS_ERROR@GOTPAGE
Lloh28:
ldr x8, [x8, _TNCCS_PROCESS_ERROR@GOTPAGEOFF]
LBB0_15:
ldr w0, [x8]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
LBB0_16:
Lloh29:
adrp x8, _TNC_CONNECTION_STATE_ACCESS_ALLOWED@GOTPAGE
Lloh30:
ldr x8, [x8, _TNC_CONNECTION_STATE_ACCESS_ALLOWED@GOTPAGEOFF]
Lloh31:
ldr w20, [x8]
ldr x21, [x19, #16]
cbnz x21, LBB0_11
b LBB0_12
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGot Lloh18, Lloh19
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdrp Lloh14, Lloh18
.loh AdrpLdr Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpLdrGot Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.cfi_endproc
; -- End function
.comm _MSG_DEBUG,4,2 ; @MSG_DEBUG
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "TNC: No more messages from IMVs"
.comm _TNCCS_PROCESS_OK_NO_RECOMMENDATION,4,2 ; @TNCCS_PROCESS_OK_NO_RECOMMENDATION
l_.str.1: ; @.str.1
.asciz "TNC: Recommendation: %d"
l_.str.2: ; @.str.2
.asciz "allow"
.comm _TNC_CONNECTION_STATE_ACCESS_ALLOWED,4,2 ; @TNC_CONNECTION_STATE_ACCESS_ALLOWED
l_.str.3: ; @.str.3
.asciz "isolate"
.comm _TNC_CONNECTION_STATE_ACCESS_ISOLATED,4,2 ; @TNC_CONNECTION_STATE_ACCESS_ISOLATED
l_.str.4: ; @.str.4
.asciz "none"
.comm _TNC_CONNECTION_STATE_ACCESS_NONE,4,2 ; @TNC_CONNECTION_STATE_ACCESS_NONE
l_.str.5: ; @.str.5
.asciz "<TNCC-TNCS-Message><Type>%08X</Type><XML><TNCCS-Recommendation type=\"%s\"></TNCCS-Recommendation></XML></TNCC-TNCS-Message>"
.comm _TNC_TNCCS_RECOMMENDATION,4,2 ; @TNC_TNCCS_RECOMMENDATION
.comm _TNCCS_RECOMMENDATION_ALLOW,4,2 ; @TNCCS_RECOMMENDATION_ALLOW
.comm _TNCCS_RECOMMENDATION_NO_ACCESS,4,2 ; @TNCCS_RECOMMENDATION_NO_ACCESS
.comm _TNCCS_RECOMMENDATION_ISOLATE,4,2 ; @TNCCS_RECOMMENDATION_ISOLATE
.comm _TNCCS_RECOMMENDATION_NO_RECOMMENDATION,4,2 ; @TNCCS_RECOMMENDATION_NO_RECOMMENDATION
.comm _TNCCS_PROCESS_ERROR,4,2 ; @TNCCS_PROCESS_ERROR
.no_dead_strip _tncs_derive_recommendation
.section __DATA,__const
.p2align 3 ; @switch.table.tncs_derive_recommendation
l_switch.table.tncs_derive_recommendation:
.quad _TNC_CONNECTION_STATE_ACCESS_ALLOWED
.quad _TNC_CONNECTION_STATE_ACCESS_NONE
.quad _TNC_CONNECTION_STATE_ACCESS_ISOLATED
.quad _TNC_CONNECTION_STATE_ACCESS_ALLOWED
.p2align 3 ; @switch.table.tncs_derive_recommendation.6
l_switch.table.tncs_derive_recommendation.6:
.quad l_.str.2
.quad l_.str.4
.quad l_.str.3
.quad l_.str.2
.p2align 3 ; @switch.table.tncs_derive_recommendation.7
l_switch.table.tncs_derive_recommendation.7:
.quad _TNCCS_RECOMMENDATION_NO_RECOMMENDATION
.quad _TNCCS_RECOMMENDATION_NO_ACCESS
.quad _TNCCS_RECOMMENDATION_ISOLATE
.quad _TNCCS_RECOMMENDATION_ALLOW
.subsections_via_symbols
|
AnghaBench/freebsd/contrib/wpa/src/eap_server/extr_tncs.c_tncs_derive_recommendation.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function blake2s_clear_lastblock
_blake2s_clear_lastblock: ## @blake2s_clear_lastblock
.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
cmpq $0, 8(%rdi)
je LBB0_2
## %bb.1:
movq %rbx, %rdi
callq _blake2s_clear_lastnode
LBB0_2:
movq (%rbx), %rax
movl $0, (%rax)
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _blake2s_clear_lastblock
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function blake2s_clear_lastblock
_blake2s_clear_lastblock: ; @blake2s_clear_lastblock
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr x8, [x0, #8]
cbz x8, LBB0_2
; %bb.1:
mov x0, x19
bl _blake2s_clear_lastnode
LBB0_2:
ldr x8, [x19]
str wzr, [x8]
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 _blake2s_clear_lastblock
.subsections_via_symbols
|
AnghaBench/freebsd/sys/contrib/libb2/extr_blake2s.c_blake2s_clear_lastblock.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function test_dns_name_startswith
_test_dns_name_startswith: ## @test_dns_name_startswith
.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
leaq L_.str(%rip), %r14
movq %r14, %rdi
movq %r14, %rsi
movl $1, %edx
callq _test_dns_name_startswith_one
leaq L_.str.1(%rip), %rbx
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq _test_dns_name_startswith_one
movq %rbx, %rdi
movq %r14, %rsi
movl $1, %edx
callq _test_dns_name_startswith_one
leaq L_.str.2(%rip), %r12
movq %r12, %rdi
movq %r12, %rsi
movl $1, %edx
callq _test_dns_name_startswith_one
leaq L_.str.3(%rip), %r15
movq %r12, %rdi
movq %r15, %rsi
xorl %edx, %edx
callq _test_dns_name_startswith_one
leaq L_.str.4(%rip), %rbx
movq %rbx, %rdi
movq %rbx, %rsi
movl $1, %edx
callq _test_dns_name_startswith_one
leaq L_.str.5(%rip), %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq _test_dns_name_startswith_one
movq %rbx, %rdi
movq %r12, %rsi
movl $1, %edx
callq _test_dns_name_startswith_one
leaq L_.str.6(%rip), %r12
movq %rbx, %rdi
movq %r12, %rsi
movl $1, %edx
callq _test_dns_name_startswith_one
movq %rbx, %rdi
movq %r15, %rsi
xorl %edx, %edx
callq _test_dns_name_startswith_one
movq %rbx, %rdi
movq %r14, %rsi
movl $1, %edx
callq _test_dns_name_startswith_one
movq %rbx, %rdi
movq %r12, %rsi
movl $1, %edx
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _test_dns_name_startswith_one ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.space 1
L_.str.1: ## @.str.1
.asciz "xxx"
L_.str.2: ## @.str.2
.asciz "x"
L_.str.3: ## @.str.3
.asciz "y"
L_.str.4: ## @.str.4
.asciz "x.y"
L_.str.5: ## @.str.5
.asciz "y.x"
L_.str.6: ## @.str.6
.asciz "X"
.no_dead_strip _test_dns_name_startswith
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function test_dns_name_startswith
_test_dns_name_startswith: ; @test_dns_name_startswith
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
Lloh0:
adrp x19, l_.str@PAGE
Lloh1:
add x19, x19, l_.str@PAGEOFF
mov x0, x19
mov x1, x19
mov w2, #1
bl _test_dns_name_startswith_one
Lloh2:
adrp x20, l_.str.1@PAGE
Lloh3:
add x20, x20, l_.str.1@PAGEOFF
mov x0, x19
mov x1, x20
mov w2, #0
bl _test_dns_name_startswith_one
mov x0, x20
mov x1, x19
mov w2, #1
bl _test_dns_name_startswith_one
Lloh4:
adrp x20, l_.str.2@PAGE
Lloh5:
add x20, x20, l_.str.2@PAGEOFF
mov x0, x20
mov x1, x20
mov w2, #1
bl _test_dns_name_startswith_one
Lloh6:
adrp x21, l_.str.3@PAGE
Lloh7:
add x21, x21, l_.str.3@PAGEOFF
mov x0, x20
mov x1, x21
mov w2, #0
bl _test_dns_name_startswith_one
Lloh8:
adrp x22, l_.str.4@PAGE
Lloh9:
add x22, x22, l_.str.4@PAGEOFF
mov x0, x22
mov x1, x22
mov w2, #1
bl _test_dns_name_startswith_one
Lloh10:
adrp x1, l_.str.5@PAGE
Lloh11:
add x1, x1, l_.str.5@PAGEOFF
mov x0, x22
mov w2, #0
bl _test_dns_name_startswith_one
mov x0, x22
mov x1, x20
mov w2, #1
bl _test_dns_name_startswith_one
Lloh12:
adrp x20, l_.str.6@PAGE
Lloh13:
add x20, x20, l_.str.6@PAGEOFF
mov x0, x22
mov x1, x20
mov w2, #1
bl _test_dns_name_startswith_one
mov x0, x22
mov x1, x21
mov w2, #0
bl _test_dns_name_startswith_one
mov x0, x22
mov x1, x19
mov w2, #1
bl _test_dns_name_startswith_one
mov x0, x22
mov x1, x20
mov w2, #1
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _test_dns_name_startswith_one
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.space 1
l_.str.1: ; @.str.1
.asciz "xxx"
l_.str.2: ; @.str.2
.asciz "x"
l_.str.3: ; @.str.3
.asciz "y"
l_.str.4: ; @.str.4
.asciz "x.y"
l_.str.5: ; @.str.5
.asciz "y.x"
l_.str.6: ; @.str.6
.asciz "X"
.no_dead_strip _test_dns_name_startswith
.subsections_via_symbols
|
AnghaBench/systemd/src/test/extr_test-dns-domain.c_test_dns_name_startswith.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _rtnl_log_parse_error ## -- Begin function rtnl_log_parse_error
.p2align 4, 0x90
_rtnl_log_parse_error: ## @rtnl_log_parse_error
.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), %rsi
popq %rbp
jmp _log_error_errno ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Failed to parse netlink message: %m"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _rtnl_log_parse_error ; -- Begin function rtnl_log_parse_error
.p2align 2
_rtnl_log_parse_error: ; @rtnl_log_parse_error
.cfi_startproc
; %bb.0:
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
b _log_error_errno
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Failed to parse netlink message: %m"
.subsections_via_symbols
|
AnghaBench/systemd/src/libsystemd/sd-netlink/extr_netlink-util.c_rtnl_log_parse_error.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _tlsv1_set_ca_cert ## -- Begin function tlsv1_set_ca_cert
.p2align 4, 0x90
_tlsv1_set_ca_cert: ## @tlsv1_set_ca_cert
.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 %r8, %r14
callq _tlsv1_set_cert_chain
movl $-1, %ebx
testq %rax, %rax
js LBB0_4
## %bb.1:
testq %r14, %r14
je LBB0_2
## %bb.3:
movq _MSG_INFO@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
callq _wpa_printf
jmp LBB0_4
LBB0_2:
xorl %ebx, %ebx
LBB0_4:
movl %ebx, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MSG_INFO,4,2 ## @MSG_INFO
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "TLSv1: Use of CA certificate directory not yet supported"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _tlsv1_set_ca_cert ; -- Begin function tlsv1_set_ca_cert
.p2align 2
_tlsv1_set_ca_cert: ; @tlsv1_set_ca_cert
.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, x4
bl _tlsv1_set_cert_chain
tbnz x0, #63, LBB0_3
; %bb.1:
cbz x19, LBB0_4
; %bb.2:
Lloh0:
adrp x8, _MSG_INFO@GOTPAGE
Lloh1:
ldr x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
bl _wpa_printf
LBB0_3:
mov w0, #-1
b LBB0_5
LBB0_4:
mov w0, #0
LBB0_5:
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 _MSG_INFO,4,2 ; @MSG_INFO
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "TLSv1: Use of CA certificate directory not yet supported"
.subsections_via_symbols
|
AnghaBench/esp-idf/components/wpa_supplicant/src/tls/extr_tlsv1_cred.c_tlsv1_set_ca_cert.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function snd_rme32_create_switches
_snd_rme32_create_switches: ## @snd_rme32_create_switches
.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, -48(%rbp) ## 8-byte Spill
movq _snd_rme32_controls@GOTPCREL(%rip), %rbx
movq (%rbx), %rdi
callq _ARRAY_SIZE
testl %eax, %eax
jle LBB0_6
## %bb.1:
xorl %r13d, %r13d
xorl %r12d, %r12d
jmp LBB0_2
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
incq %r12
movq %r14, %rbx
movq (%r14), %rdi
callq _ARRAY_SIZE
cltq
addq $4, %r13
cmpq %rax, %r12
jge LBB0_6
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %rbx, %r14
movq (%rbx), %rdi
addq %r13, %rdi
movq %r15, %rsi
callq _snd_ctl_new1
movq %rax, %rbx
movq -48(%rbp), %rdi ## 8-byte Reload
movq %rax, %rsi
callq _snd_ctl_add
testl %eax, %eax
js LBB0_7
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
cmpq $1, %r12
jne LBB0_5
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movq %rbx, (%r15)
jmp LBB0_5
LBB0_6:
xorl %eax, %eax
LBB0_7:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _snd_rme32_controls,8,3 ## @snd_rme32_controls
.no_dead_strip _snd_rme32_create_switches
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function snd_rme32_create_switches
_snd_rme32_create_switches: ; @snd_rme32_create_switches
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x1
mov x20, x0
Lloh0:
adrp x22, _snd_rme32_controls@GOTPAGE
Lloh1:
ldr x22, [x22, _snd_rme32_controls@GOTPAGEOFF]
ldr x0, [x22]
bl _ARRAY_SIZE
cmp w0, #1
b.lt LBB0_6
; %bb.1:
mov x23, #0
mov x24, #0
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x24, x24, #1
ldr x0, [x22]
bl _ARRAY_SIZE
add x23, x23, #4
cmp x24, w0, sxtw
b.ge LBB0_6
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x8, [x22]
add x0, x8, x23
mov x1, x19
bl _snd_ctl_new1
mov x21, x0
mov x0, x20
mov x1, x21
bl _snd_ctl_add
tbnz w0, #31, LBB0_7
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
cmp x24, #1
b.ne LBB0_2
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
str x21, [x19]
b LBB0_2
LBB0_6:
mov w0, #0
LBB0_7:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _snd_rme32_controls,8,3 ; @snd_rme32_controls
.no_dead_strip _snd_rme32_create_switches
.subsections_via_symbols
|
AnghaBench/linux/sound/pci/extr_rme32.c_snd_rme32_create_switches.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _do_thread ## -- Begin function do_thread
.p2align 4, 0x90
_do_thread: ## @do_thread
.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
.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 _do_thread(%rip), %rdx
leaq -16(%rbp), %rdi
xorl %esi, %esi
xorl %ecx, %ecx
callq _pthread_create
testl %eax, %eax
jle LBB1_2
## %bb.1:
leaq L_str.2(%rip), %rdi
callq _puts
movl $1, %ebx
jmp LBB1_3
LBB1_2:
movl %eax, %ebx
movq -16(%rbp), %rdi
xorl %esi, %esi
callq _pthread_join
LBB1_3:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_str: ## @str
.asciz " * pthreads ok"
L_str.2: ## @str.2
.asciz "Unable to create thread"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _do_thread ; -- Begin function do_thread
.p2align 2
_do_thread: ; @do_thread
.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 x0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.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
Lloh2:
adrp x2, _do_thread@PAGE
Lloh3:
add x2, x2, _do_thread@PAGEOFF
add x0, sp, #8
mov x1, #0
mov x3, #0
bl _pthread_create
cmp w0, #1
b.lt LBB1_2
; %bb.1:
Lloh4:
adrp x0, l_str.2@PAGE
Lloh5:
add x0, x0, l_str.2@PAGEOFF
bl _puts
mov w19, #1
b LBB1_3
LBB1_2:
mov x19, x0
ldr x0, [sp, #8]
mov x1, #0
bl _pthread_join
LBB1_3:
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 AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_str: ; @str
.asciz " * pthreads ok"
l_str.2: ; @str.2
.asciz "Unable to create thread"
.subsections_via_symbols
|
the_stack_data/92328904.c
|
stack
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _PHY_SetRF8256OFDMTxPower ## -- Begin function PHY_SetRF8256OFDMTxPower
.p2align 4, 0x90
_PHY_SetRF8256OFDMTxPower: ## @PHY_SetRF8256OFDMTxPower
.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 _ieee80211_priv ## TAILCALL
.cfi_endproc
## -- End function
.comm _MCS_TXAGC,8,3 ## @MCS_TXAGC
.comm _RF_2T4R,8,3 ## @RF_2T4R
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _PHY_SetRF8256OFDMTxPower ; -- Begin function PHY_SetRF8256OFDMTxPower
.p2align 2
_PHY_SetRF8256OFDMTxPower: ; @PHY_SetRF8256OFDMTxPower
.cfi_startproc
; %bb.0:
b _ieee80211_priv
.cfi_endproc
; -- End function
.comm _MCS_TXAGC,8,3 ; @MCS_TXAGC
.comm _RF_2T4R,8,3 ; @RF_2T4R
.subsections_via_symbols
|
AnghaBench/fastsocket/kernel/drivers/staging/rtl8192e/extr_r8190_rtl8256.c_PHY_SetRF8256OFDMTxPower.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _libvlc_media_list_player_set_media_list ## -- Begin function libvlc_media_list_player_set_media_list
.p2align 4, 0x90
_libvlc_media_list_player_set_media_list: ## @libvlc_media_list_player_set_media_list
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, %rdi
callq _assert
movq %rbx, %rdi
callq _lock
cmpq $0, (%rbx)
je LBB0_2
## %bb.1:
movq %rbx, %rdi
callq _uninstall_playlist_observer
movq (%rbx), %rdi
callq _libvlc_media_list_release
LBB0_2:
movq %r14, %rdi
callq _libvlc_media_list_retain
movq %r14, (%rbx)
movq %rbx, %rdi
callq _install_playlist_observer
movq %rbx, %rdi
popq %rbx
popq %r14
popq %rbp
jmp _unlock ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _libvlc_media_list_player_set_media_list ; -- Begin function libvlc_media_list_player_set_media_list
.p2align 2
_libvlc_media_list_player_set_media_list: ; @libvlc_media_list_player_set_media_list
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x20, x1
mov x19, x0
mov x0, x1
bl _assert
mov x0, x19
bl _lock
ldr x8, [x19]
cbz x8, LBB0_2
; %bb.1:
mov x0, x19
bl _uninstall_playlist_observer
ldr x0, [x19]
bl _libvlc_media_list_release
LBB0_2:
mov x0, x20
bl _libvlc_media_list_retain
str x20, [x19]
mov x0, x19
bl _install_playlist_observer
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _unlock
.cfi_endproc
; -- End function
.subsections_via_symbols
|
AnghaBench/vlc/lib/extr_media_list_player.c_libvlc_media_list_player_set_media_list.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 eval_A
LCPI0_0:
.quad 0x3ff0000000000000 ## double 1
.section __TEXT,__text,regular,pure_instructions
.globl _eval_A
.p2align 4, 0x90
_eval_A: ## @eval_A
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
## kill: def $esi killed $esi def $rsi
## kill: def $edi killed $edi def $rdi
leal (%rsi,%rdi), %eax
leal (%rsi,%rdi), %ecx
incl %ecx
imull %eax, %ecx
movl %ecx, %eax
shrl $31, %eax
addl %ecx, %eax
sarl %eax
addl %edi, %eax
incl %eax
cvtsi2sd %eax, %xmm1
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
divsd %xmm1, %xmm0
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## -- Begin function prepare_A
LCPI1_0:
.long 0 ## 0x0
.long 1 ## 0x1
.space 4
.space 4
LCPI1_1:
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 1 ## 0x1
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
LCPI1_2:
.quad 0x3ff0000000000000 ## double 1
.quad 0x3ff0000000000000 ## double 1
LCPI1_3:
.quad 2 ## 0x2
.quad 2 ## 0x2
LCPI1_4:
.long 2 ## 0x2
.long 2 ## 0x2
.space 4
.space 4
.section __TEXT,__literal8,8byte_literals
.p2align 3
LCPI1_5:
.quad 0x3ff0000000000000 ## double 1
.section __TEXT,__text,regular,pure_instructions
.globl _prepare_A
.p2align 4, 0x90
_prepare_A: ## @prepare_A
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl %edi, %r14d
movq _N_global@GOTPCREL(%rip), %rax
movl %edi, (%rax)
imull %edi, %edi
shlq $3, %rdi
callq _malloc
movq %rax, _A_global(%rip)
testq %rax, %rax
je LBB1_1
## %bb.2:
testl %r14d, %r14d
jle LBB1_11
## %bb.3:
movl %r14d, %r10d
movl %r10d, %r9d
andl $-2, %r9d
leaq (,%r10,8), %r8
movl $1, %r11d
xorl %ebx, %ebx
movsd LCPI1_5(%rip), %xmm0 ## xmm0 = mem[0],zero
movdqa LCPI1_0(%rip), %xmm8 ## xmm8 = <0,1,u,u>
movdqa LCPI1_1(%rip), %xmm9 ## xmm9 = [0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0]
pcmpeqd %xmm10, %xmm10
movapd LCPI1_2(%rip), %xmm12 ## xmm12 = [1.0E+0,1.0E+0]
movdqa LCPI1_3(%rip), %xmm11 ## xmm11 = [2,2]
movdqa LCPI1_4(%rip), %xmm13 ## xmm13 = <2,2,u,u>
jmp LBB1_4
.p2align 4, 0x90
LBB1_10: ## in Loop: Header=BB1_4 Depth=1
addq %r8, %rax
incq %r11
movq %rsi, %rbx
cmpq %r10, %rsi
je LBB1_11
LBB1_4: ## =>This Loop Header: Depth=1
## Child Loop BB1_7 Depth 2
## Child Loop BB1_9 Depth 2
leaq 1(%rbx), %rsi
cmpl $2, %r14d
jae LBB1_6
## %bb.5: ## in Loop: Header=BB1_4 Depth=1
xorl %edx, %edx
jmp LBB1_9
.p2align 4, 0x90
LBB1_6: ## in Loop: Header=BB1_4 Depth=1
movq %rbx, %xmm1
pshufd $68, %xmm1, %xmm7 ## xmm7 = xmm1[0,1,0,1]
movd %ebx, %xmm1
pshufd $80, %xmm1, %xmm1 ## xmm1 = xmm1[0,0,1,1]
movd %esi, %xmm2
pshufd $80, %xmm2, %xmm2 ## xmm2 = xmm2[0,0,1,1]
xorl %edx, %edx
movdqa %xmm9, %xmm4
movdqa %xmm8, %xmm6
.p2align 4, 0x90
LBB1_7: ## Parent Loop BB1_4 Depth=1
## => This Inner Loop Header: Depth=2
movdqa %xmm4, %xmm3
paddq %xmm7, %xmm3
movdqa %xmm6, %xmm5
paddd %xmm1, %xmm5
psubd %xmm10, %xmm5
pshufd $232, %xmm3, %xmm3 ## xmm3 = xmm3[0,2,2,3]
pmulld %xmm5, %xmm3
psrld $1, %xmm3
paddd %xmm2, %xmm3
cvtdq2pd %xmm3, %xmm3
movapd %xmm12, %xmm5
divpd %xmm3, %xmm5
movupd %xmm5, (%rax,%rdx,8)
addq $2, %rdx
paddq %xmm11, %xmm4
paddd %xmm13, %xmm6
cmpq %rdx, %r9
jne LBB1_7
## %bb.8: ## in Loop: Header=BB1_4 Depth=1
movq %r9, %rdx
cmpq %r10, %r9
je LBB1_10
.p2align 4, 0x90
LBB1_9: ## Parent Loop BB1_4 Depth=1
## => This Inner Loop Header: Depth=2
leal (%r11,%rdx), %ecx
leal (%rbx,%rdx), %edi
imull %ecx, %edi
shrl %edi
addl %esi, %edi
xorps %xmm1, %xmm1
cvtsi2sd %edi, %xmm1
movapd %xmm0, %xmm2
divsd %xmm1, %xmm2
movsd %xmm2, (%rax,%rdx,8)
incq %rdx
cmpq %rdx, %r10
jne LBB1_9
jmp LBB1_10
LBB1_11:
xorl %eax, %eax
jmp LBB1_12
LBB1_1:
movl $-1, %eax
LBB1_12:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _get_A ## -- Begin function get_A
.p2align 4, 0x90
_get_A: ## @get_A
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _N_global@GOTPCREL(%rip), %rax
imull (%rax), %edi
movq _A_global(%rip), %rax
addl %esi, %edi
movslq %edi, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _eval_A_times_u ## -- Begin function eval_A_times_u
.p2align 4, 0x90
_eval_A_times_u: ## @eval_A_times_u
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edi, %eax
andl $-2, %eax
jle LBB3_1
## %bb.2:
movq _A_global(%rip), %r8
movq _N_global@GOTPCREL(%rip), %rcx
movslq (%rcx), %r13
movl %eax, %r12d
movl %edi, %r10d
leaq 8(%r8), %r11
movq %r13, %r15
shlq $4, %r15
leaq 8(%rsi), %rax
movq %rax, -48(%rbp) ## 8-byte Spill
xorl %r9d, %r9d
jmp LBB3_3
.p2align 4, 0x90
LBB3_4: ## in Loop: Header=BB3_3 Depth=1
movq %r9, %rax
orq $1, %rax
xorpd %xmm1, %xmm1
LBB3_12: ## in Loop: Header=BB3_3 Depth=1
movlpd %xmm1, (%rdx,%r9,8)
movhpd %xmm1, (%rdx,%rax,8)
addq $2, %r9
addq %r15, %r11
cmpq %r12, %r9
jae LBB3_13
LBB3_3: ## =>This Loop Header: Depth=1
## Child Loop BB3_8 Depth 2
testl %edi, %edi
jle LBB3_4
## %bb.5: ## in Loop: Header=BB3_3 Depth=1
xorpd %xmm0, %xmm0
cmpl $1, %edi
jne LBB3_7
## %bb.6: ## in Loop: Header=BB3_3 Depth=1
## implicit-def: $xmm1
xorl %ebx, %ebx
jmp LBB3_10
.p2align 4, 0x90
LBB3_7: ## in Loop: Header=BB3_3 Depth=1
movq -48(%rbp), %rax ## 8-byte Reload
movq %r11, %rcx
xorl %ebx, %ebx
.p2align 4, 0x90
LBB3_8: ## Parent Loop BB3_3 Depth=1
## => This Inner Loop Header: Depth=2
movsd -8(%rcx), %xmm1 ## xmm1 = mem[0],zero
movsd (%rcx), %xmm3 ## xmm3 = mem[0],zero
movhpd -8(%rcx,%r13,8), %xmm1 ## xmm1 = xmm1[0],mem[0]
movddup -8(%rax), %xmm2 ## xmm2 = mem[0,0]
mulpd %xmm1, %xmm2
movhpd (%rcx,%r13,8), %xmm3 ## xmm3 = xmm3[0],mem[0]
addpd %xmm0, %xmm2
movddup (%rax), %xmm1 ## xmm1 = mem[0,0]
mulpd %xmm3, %xmm1
movapd %xmm1, %xmm0
addpd %xmm2, %xmm0
addq $2, %rbx
addq $16, %rcx
addq $16, %rax
cmpq %rbx, %r12
jne LBB3_8
## %bb.9: ## in Loop: Header=BB3_3 Depth=1
addpd %xmm2, %xmm1
LBB3_10: ## in Loop: Header=BB3_3 Depth=1
movq %r9, %rax
orq $1, %rax
testb $1, %r10b
je LBB3_12
## %bb.11: ## in Loop: Header=BB3_3 Depth=1
movq %r9, %rcx
imulq %r13, %rcx
movq %rax, %r14
imulq %r13, %r14
addq %rbx, %rcx
addq %rbx, %r14
movsd (%r8,%rcx,8), %xmm2 ## xmm2 = mem[0],zero
movhpd (%r8,%r14,8), %xmm2 ## xmm2 = xmm2[0],mem[0]
movddup (%rsi,%rbx,8), %xmm1 ## xmm1 = mem[0,0]
mulpd %xmm2, %xmm1
addpd %xmm0, %xmm1
jmp LBB3_12
LBB3_1:
xorl %r9d, %r9d
LBB3_13:
cmpl %edi, %r9d
je LBB3_24
## %bb.14:
testl %edi, %edi
jle LBB3_15
## %bb.16:
movq _A_global(%rip), %r8
movq _N_global@GOTPCREL(%rip), %rax
movslq (%rax), %rax
movslq %r9d, %r10
imulq %rax, %r10
movl %edi, %eax
leaq -1(%rax), %rdi
movl %eax, %ecx
andl $3, %ecx
cmpq $3, %rdi
jae LBB3_18
## %bb.17:
xorpd %xmm0, %xmm0
xorl %edi, %edi
jmp LBB3_20
LBB3_15:
xorpd %xmm0, %xmm0
jmp LBB3_23
LBB3_18:
andl $-4, %eax
leaq (%r8,%r10,8), %rbx
addq $24, %rbx
xorpd %xmm0, %xmm0
xorl %edi, %edi
.p2align 4, 0x90
LBB3_19: ## =>This Inner Loop Header: Depth=1
movsd -24(%rbx,%rdi,8), %xmm1 ## xmm1 = mem[0],zero
movsd -16(%rbx,%rdi,8), %xmm2 ## xmm2 = mem[0],zero
mulsd (%rsi,%rdi,8), %xmm1
mulsd 8(%rsi,%rdi,8), %xmm2
addsd %xmm0, %xmm1
movsd -8(%rbx,%rdi,8), %xmm3 ## xmm3 = mem[0],zero
mulsd 16(%rsi,%rdi,8), %xmm3
addsd %xmm1, %xmm2
movsd (%rbx,%rdi,8), %xmm0 ## xmm0 = mem[0],zero
mulsd 24(%rsi,%rdi,8), %xmm0
addsd %xmm2, %xmm3
addsd %xmm3, %xmm0
addq $4, %rdi
cmpq %rdi, %rax
jne LBB3_19
LBB3_20:
testq %rcx, %rcx
je LBB3_23
## %bb.21:
leaq (%rsi,%rdi,8), %rax
addq %rdi, %r10
leaq (%r8,%r10,8), %rsi
xorl %edi, %edi
.p2align 4, 0x90
LBB3_22: ## =>This Inner Loop Header: Depth=1
movsd (%rsi,%rdi,8), %xmm1 ## xmm1 = mem[0],zero
mulsd (%rax,%rdi,8), %xmm1
addsd %xmm1, %xmm0
incq %rdi
cmpq %rdi, %rcx
jne LBB3_22
LBB3_23:
movl %r9d, %eax
movsd %xmm0, (%rdx,%rax,8)
LBB3_24:
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _eval_At_times_u ## -- Begin function eval_At_times_u
.p2align 4, 0x90
_eval_At_times_u: ## @eval_At_times_u
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edi, %eax
movl %edi, %r12d
andl $-4, %eax
jle LBB4_1
## %bb.7:
movq _A_global(%rip), %r8
movq _N_global@GOTPCREL(%rip), %rcx
movslq (%rcx), %rbx
movl %eax, %r9d
addq $16, %r8
shlq $3, %rbx
xorl %r11d, %r11d
jmp LBB4_8
.p2align 4, 0x90
LBB4_9: ## in Loop: Header=BB4_8 Depth=1
xorpd %xmm0, %xmm0
xorpd %xmm1, %xmm1
LBB4_13: ## in Loop: Header=BB4_8 Depth=1
movupd %xmm0, (%rdx,%r11,8)
movupd %xmm1, (%rdx,%r10,8)
addq $4, %r11
addq $32, %r8
cmpq %r9, %r11
jae LBB4_2
LBB4_8: ## =>This Loop Header: Depth=1
## Child Loop BB4_11 Depth 2
movq %r11, %r10
orq $2, %r10
testl %edi, %edi
jle LBB4_9
## %bb.10: ## in Loop: Header=BB4_8 Depth=1
xorpd %xmm4, %xmm4
movq %r8, %rax
xorl %ecx, %ecx
xorpd %xmm5, %xmm5
.p2align 4, 0x90
LBB4_11: ## Parent Loop BB4_8 Depth=1
## => This Inner Loop Header: Depth=2
movapd %xmm5, %xmm3
movapd %xmm4, %xmm2
movupd -16(%rax), %xmm0
movupd (%rax), %xmm1
movddup (%rsi,%rcx,8), %xmm5 ## xmm5 = mem[0,0]
mulpd %xmm5, %xmm0
movapd %xmm0, %xmm4
addpd %xmm2, %xmm4
mulpd %xmm5, %xmm1
movapd %xmm1, %xmm5
addpd %xmm3, %xmm5
incq %rcx
addq %rbx, %rax
cmpq %rcx, %r12
jne LBB4_11
## %bb.12: ## in Loop: Header=BB4_8 Depth=1
addpd %xmm3, %xmm1
addpd %xmm2, %xmm0
jmp LBB4_13
LBB4_1:
xorl %r11d, %r11d
LBB4_2:
cmpl %edi, %r11d
jge LBB4_19
## %bb.3:
movq _A_global(%rip), %r8
movq _N_global@GOTPCREL(%rip), %rax
movslq (%rax), %r10
movl %r11d, %r9d
movl %r12d, %r11d
andl $-2, %r11d
leaq (%r8,%r10,8), %r13
leaq (%r10,%r10), %r14
movq %r8, %rbx
movq %r9, %r15
jmp LBB4_4
.p2align 4, 0x90
LBB4_18: ## in Loop: Header=BB4_4 Depth=1
movsd %xmm0, (%rdx,%r15,8)
incq %r15
addq $8, %r13
addq $8, %rbx
cmpq %r12, %r15
je LBB4_19
LBB4_4: ## =>This Loop Header: Depth=1
## Child Loop BB4_15 Depth 2
xorpd %xmm0, %xmm0
testl %edi, %edi
jle LBB4_18
## %bb.5: ## in Loop: Header=BB4_4 Depth=1
cmpl $1, %edi
jne LBB4_14
## %bb.6: ## in Loop: Header=BB4_4 Depth=1
xorl %eax, %eax
jmp LBB4_16
.p2align 4, 0x90
LBB4_14: ## in Loop: Header=BB4_4 Depth=1
movq %r9, %rcx
xorl %eax, %eax
.p2align 4, 0x90
LBB4_15: ## Parent Loop BB4_4 Depth=1
## => This Inner Loop Header: Depth=2
movsd (%rbx,%rcx,8), %xmm1 ## xmm1 = mem[0],zero
mulsd (%rsi,%rax,8), %xmm1
addsd %xmm0, %xmm1
movsd (%r13,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
mulsd 8(%rsi,%rax,8), %xmm0
addsd %xmm1, %xmm0
addq $2, %rax
addq %r14, %rcx
cmpq %rax, %r11
jne LBB4_15
LBB4_16: ## in Loop: Header=BB4_4 Depth=1
testb $1, %r12b
je LBB4_18
## %bb.17: ## in Loop: Header=BB4_4 Depth=1
movq %rax, %rcx
imulq %r10, %rcx
addq %r15, %rcx
movsd (%r8,%rcx,8), %xmm1 ## xmm1 = mem[0],zero
mulsd (%rsi,%rax,8), %xmm1
addsd %xmm1, %xmm0
jmp LBB4_18
LBB4_19:
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _eval_AtA_times_u ## -- Begin function eval_AtA_times_u
.p2align 4, 0x90
_eval_AtA_times_u: ## @eval_AtA_times_u
.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 %rdx, %r14
movq %rsi, %r15
movl %edi, %r12d
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movl %edi, %r13d
leaq (,%r13,8), %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %rax
movl %r12d, %ecx
andl $-2, %ecx
jle LBB5_1
## %bb.2:
movq _A_global(%rip), %rbx
movq _N_global@GOTPCREL(%rip), %rdx
movslq (%rdx), %rsi
movl %ecx, %edi
movq %rbx, -72(%rbp) ## 8-byte Spill
leaq 8(%rbx), %r10
movq %rsi, %r8
shlq $4, %r8
leaq 8(%r15), %rcx
movq %rcx, -64(%rbp) ## 8-byte Spill
xorl %r11d, %r11d
movl %r12d, -52(%rbp) ## 4-byte Spill
jmp LBB5_3
.p2align 4, 0x90
LBB5_4: ## in Loop: Header=BB5_3 Depth=1
movq %r11, %rcx
orq $1, %rcx
xorpd %xmm1, %xmm1
LBB5_12: ## in Loop: Header=BB5_3 Depth=1
movlpd %xmm1, (%rax,%r11,8)
movhpd %xmm1, (%rax,%rcx,8)
addq $2, %r11
addq %r8, %r10
cmpq %rdi, %r11
jae LBB5_13
LBB5_3: ## =>This Loop Header: Depth=1
## Child Loop BB5_8 Depth 2
testl %r12d, %r12d
jle LBB5_4
## %bb.5: ## in Loop: Header=BB5_3 Depth=1
xorpd %xmm0, %xmm0
cmpl $1, %r12d
jne LBB5_7
## %bb.6: ## in Loop: Header=BB5_3 Depth=1
## implicit-def: $xmm1
xorl %ebx, %ebx
jmp LBB5_10
.p2align 4, 0x90
LBB5_7: ## in Loop: Header=BB5_3 Depth=1
movq -64(%rbp), %rcx ## 8-byte Reload
movq %r10, %rdx
xorl %ebx, %ebx
.p2align 4, 0x90
LBB5_8: ## Parent Loop BB5_3 Depth=1
## => This Inner Loop Header: Depth=2
movsd -8(%rdx), %xmm1 ## xmm1 = mem[0],zero
movsd (%rdx), %xmm3 ## xmm3 = mem[0],zero
movhpd -8(%rdx,%rsi,8), %xmm1 ## xmm1 = xmm1[0],mem[0]
movddup -8(%rcx), %xmm2 ## xmm2 = mem[0,0]
mulpd %xmm1, %xmm2
movhpd (%rdx,%rsi,8), %xmm3 ## xmm3 = xmm3[0],mem[0]
addpd %xmm0, %xmm2
movddup (%rcx), %xmm1 ## xmm1 = mem[0,0]
mulpd %xmm3, %xmm1
movapd %xmm1, %xmm0
addpd %xmm2, %xmm0
addq $2, %rbx
addq $16, %rdx
addq $16, %rcx
cmpq %rbx, %rdi
jne LBB5_8
## %bb.9: ## in Loop: Header=BB5_3 Depth=1
addpd %xmm2, %xmm1
LBB5_10: ## in Loop: Header=BB5_3 Depth=1
movq %r11, %rcx
orq $1, %rcx
testb $1, %r13b
je LBB5_12
## %bb.11: ## in Loop: Header=BB5_3 Depth=1
movq %r11, %rdx
imulq %rsi, %rdx
movq %r8, %r12
movq %rcx, %r8
imulq %rsi, %r8
addq %rbx, %rdx
addq %rbx, %r8
movq %r14, %r9
movq %r15, %r14
movq -72(%rbp), %r15 ## 8-byte Reload
movsd (%r15,%rdx,8), %xmm2 ## xmm2 = mem[0],zero
movhpd (%r15,%r8,8), %xmm2 ## xmm2 = xmm2[0],mem[0]
movq %r12, %r8
movl -52(%rbp), %r12d ## 4-byte Reload
movq %r14, %r15
movq %r9, %r14
movddup (%r15,%rbx,8), %xmm1 ## xmm1 = mem[0,0]
mulpd %xmm2, %xmm1
addpd %xmm0, %xmm1
jmp LBB5_12
LBB5_1:
xorl %r11d, %r11d
LBB5_13:
cmpl %r12d, %r11d
je LBB5_24
## %bb.14:
testl %r12d, %r12d
jle LBB5_15
## %bb.16:
movq _A_global(%rip), %r8
movq _N_global@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
movslq %r11d, %r9
imulq %rcx, %r9
leaq -1(%r13), %rcx
movl %r13d, %edx
andl $3, %edx
cmpq $3, %rcx
jae LBB5_18
## %bb.17:
xorpd %xmm0, %xmm0
xorl %ebx, %ebx
jmp LBB5_20
LBB5_15:
xorpd %xmm0, %xmm0
jmp LBB5_23
LBB5_18:
movl %r13d, %esi
andl $-4, %esi
leaq (%r8,%r9,8), %rdi
addq $24, %rdi
xorpd %xmm0, %xmm0
xorl %ebx, %ebx
.p2align 4, 0x90
LBB5_19: ## =>This Inner Loop Header: Depth=1
movsd -24(%rdi,%rbx,8), %xmm1 ## xmm1 = mem[0],zero
movsd -16(%rdi,%rbx,8), %xmm2 ## xmm2 = mem[0],zero
mulsd (%r15,%rbx,8), %xmm1
mulsd 8(%r15,%rbx,8), %xmm2
addsd %xmm0, %xmm1
movsd -8(%rdi,%rbx,8), %xmm3 ## xmm3 = mem[0],zero
mulsd 16(%r15,%rbx,8), %xmm3
addsd %xmm1, %xmm2
movsd (%rdi,%rbx,8), %xmm0 ## xmm0 = mem[0],zero
mulsd 24(%r15,%rbx,8), %xmm0
addsd %xmm2, %xmm3
addsd %xmm3, %xmm0
addq $4, %rbx
cmpq %rbx, %rsi
jne LBB5_19
LBB5_20:
testq %rdx, %rdx
je LBB5_23
## %bb.21:
leaq (%r15,%rbx,8), %rcx
addq %rbx, %r9
leaq (%r8,%r9,8), %rsi
xorl %edi, %edi
.p2align 4, 0x90
LBB5_22: ## =>This Inner Loop Header: Depth=1
movsd (%rsi,%rdi,8), %xmm1 ## xmm1 = mem[0],zero
mulsd (%rcx,%rdi,8), %xmm1
addsd %xmm1, %xmm0
incq %rdi
cmpq %rdi, %rdx
jne LBB5_22
LBB5_23:
movl %r11d, %ecx
movsd %xmm0, (%rax,%rcx,8)
LBB5_24:
movl %r12d, %ecx
andl $-4, %ecx
jle LBB5_25
## %bb.31:
movq _A_global(%rip), %rdi
movq _N_global@GOTPCREL(%rip), %rdx
movslq (%rdx), %rsi
movl %ecx, %r8d
addq $16, %rdi
shlq $3, %rsi
xorl %ecx, %ecx
jmp LBB5_32
.p2align 4, 0x90
LBB5_33: ## in Loop: Header=BB5_32 Depth=1
xorpd %xmm0, %xmm0
xorpd %xmm1, %xmm1
LBB5_37: ## in Loop: Header=BB5_32 Depth=1
movupd %xmm0, (%r14,%rcx,8)
movupd %xmm1, (%r14,%r9,8)
addq $4, %rcx
addq $32, %rdi
cmpq %r8, %rcx
jae LBB5_26
LBB5_32: ## =>This Loop Header: Depth=1
## Child Loop BB5_35 Depth 2
movq %rcx, %r9
orq $2, %r9
testl %r12d, %r12d
jle LBB5_33
## %bb.34: ## in Loop: Header=BB5_32 Depth=1
xorpd %xmm4, %xmm4
movq %rdi, %rdx
xorl %ebx, %ebx
xorpd %xmm5, %xmm5
.p2align 4, 0x90
LBB5_35: ## Parent Loop BB5_32 Depth=1
## => This Inner Loop Header: Depth=2
movapd %xmm5, %xmm3
movapd %xmm4, %xmm2
movupd -16(%rdx), %xmm0
movupd (%rdx), %xmm1
movddup (%rax,%rbx,8), %xmm5 ## xmm5 = mem[0,0]
mulpd %xmm5, %xmm0
movapd %xmm0, %xmm4
addpd %xmm2, %xmm4
mulpd %xmm5, %xmm1
movapd %xmm1, %xmm5
addpd %xmm3, %xmm5
incq %rbx
addq %rsi, %rdx
cmpq %rbx, %r13
jne LBB5_35
## %bb.36: ## in Loop: Header=BB5_32 Depth=1
addpd %xmm3, %xmm1
addpd %xmm2, %xmm0
jmp LBB5_37
LBB5_25:
xorl %ecx, %ecx
LBB5_26:
cmpl %r12d, %ecx
jge LBB5_43
## %bb.27:
movq _A_global(%rip), %r9
movq _N_global@GOTPCREL(%rip), %rdx
movslq (%rdx), %r10
movl %ecx, %r8d
movl %r13d, %r15d
andl $-2, %r15d
leaq (%r9,%r10,8), %rsi
leaq (%r10,%r10), %rcx
movq %r9, %rdx
movq %r8, %r11
jmp LBB5_28
.p2align 4, 0x90
LBB5_42: ## in Loop: Header=BB5_28 Depth=1
movsd %xmm0, (%r14,%r11,8)
incq %r11
addq $8, %rsi
addq $8, %rdx
cmpq %r13, %r11
je LBB5_43
LBB5_28: ## =>This Loop Header: Depth=1
## Child Loop BB5_39 Depth 2
xorpd %xmm0, %xmm0
testl %r12d, %r12d
jle LBB5_42
## %bb.29: ## in Loop: Header=BB5_28 Depth=1
cmpl $1, %r12d
jne LBB5_38
## %bb.30: ## in Loop: Header=BB5_28 Depth=1
xorl %ebx, %ebx
jmp LBB5_40
.p2align 4, 0x90
LBB5_38: ## in Loop: Header=BB5_28 Depth=1
movq %r8, %rdi
xorl %ebx, %ebx
.p2align 4, 0x90
LBB5_39: ## Parent Loop BB5_28 Depth=1
## => This Inner Loop Header: Depth=2
movsd (%rdx,%rdi,8), %xmm1 ## xmm1 = mem[0],zero
mulsd (%rax,%rbx,8), %xmm1
addsd %xmm0, %xmm1
movsd (%rsi,%rdi,8), %xmm0 ## xmm0 = mem[0],zero
mulsd 8(%rax,%rbx,8), %xmm0
addsd %xmm1, %xmm0
addq $2, %rbx
addq %rcx, %rdi
cmpq %rbx, %r15
jne LBB5_39
LBB5_40: ## in Loop: Header=BB5_28 Depth=1
testb $1, %r13b
je LBB5_42
## %bb.41: ## in Loop: Header=BB5_28 Depth=1
movq %rbx, %rdi
imulq %r10, %rdi
addq %r11, %rdi
movsd (%r9,%rdi,8), %xmm1 ## xmm1 = mem[0],zero
mulsd (%rax,%rbx,8), %xmm1
addsd %xmm1, %xmm0
jmp LBB5_42
LBB5_43:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB5_45
## %bb.44:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB5_45:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## -- Begin function main
LCPI6_0:
.long 0 ## 0x0
.long 1 ## 0x1
.space 4
.space 4
LCPI6_1:
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 1 ## 0x1
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
LCPI6_2:
.quad 0x3ff0000000000000 ## double 1
.quad 0x3ff0000000000000 ## double 1
LCPI6_3:
.quad 2 ## 0x2
.quad 2 ## 0x2
LCPI6_4:
.long 2 ## 0x2
.long 2 ## 0x2
.space 4
.space 4
.section __TEXT,__literal8,8byte_literals
.p2align 3
LCPI6_5:
.quad 0x3ff0000000000000 ## double 1
LCPI6_6:
.quad 0x7ff8000000000000 ## double NaN
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movl $2000, %ebx ## imm = 0x7D0
cmpl $2, %edi
jne LBB6_2
## %bb.1:
movq 8(%rsi), %rdi
callq _atoi
movl %eax, %ebx
LBB6_2:
movl %ebx, %r13d
leaq (,%r13,8), %r12
movq %r12, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r14
movq %r12, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r15
movq _N_global@GOTPCREL(%rip), %rax
movl %ebx, (%rax)
imull %ebx, %ebx
shlq $3, %rbx
movq %rbx, %rdi
callq _malloc
movq %rax, _A_global(%rip)
testq %rax, %rax
je LBB6_27
## %bb.3:
testl %r13d, %r13d
jle LBB6_15
## %bb.4:
movl %r13d, %r9d
andl $-2, %r9d
movq %r13, %r10
negq %r10
xorl %r8d, %r8d
movsd LCPI6_5(%rip), %xmm0 ## xmm0 = mem[0],zero
movdqa LCPI6_0(%rip), %xmm8 ## xmm8 = <0,1,u,u>
movdqa LCPI6_1(%rip), %xmm9 ## xmm9 = [0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0]
movapd LCPI6_2(%rip), %xmm11 ## xmm11 = [1.0E+0,1.0E+0]
movdqa LCPI6_3(%rip), %xmm10 ## xmm10 = [2,2]
movdqa LCPI6_4(%rip), %xmm12 ## xmm12 = <2,2,u,u>
jmp LBB6_5
.p2align 4, 0x90
LBB6_12: ## in Loop: Header=BB6_5 Depth=1
addq %r12, %rax
movq %rsi, %r8
cmpq %r13, %rsi
je LBB6_13
LBB6_5: ## =>This Loop Header: Depth=1
## Child Loop BB6_8 Depth 2
## Child Loop BB6_11 Depth 2
leaq 1(%r8), %rsi
cmpl $2, %r13d
jae LBB6_7
## %bb.6: ## in Loop: Header=BB6_5 Depth=1
xorl %ecx, %ecx
jmp LBB6_10
.p2align 4, 0x90
LBB6_7: ## in Loop: Header=BB6_5 Depth=1
leal 1(%r8), %ecx
movq %r8, %xmm1
pshufd $68, %xmm1, %xmm6 ## xmm6 = xmm1[0,1,0,1]
movd %ecx, %xmm1
pshufd $80, %xmm1, %xmm5 ## xmm5 = xmm1[0,0,1,1]
movd %esi, %xmm1
pshufd $80, %xmm1, %xmm1 ## xmm1 = xmm1[0,0,1,1]
xorl %ebx, %ebx
movdqa %xmm9, %xmm3
movdqa %xmm8, %xmm4
.p2align 4, 0x90
LBB6_8: ## Parent Loop BB6_5 Depth=1
## => This Inner Loop Header: Depth=2
movdqa %xmm3, %xmm2
paddq %xmm6, %xmm2
movdqa %xmm5, %xmm7
paddd %xmm4, %xmm7
pshufd $232, %xmm2, %xmm2 ## xmm2 = xmm2[0,2,2,3]
pmulld %xmm7, %xmm2
psrld $1, %xmm2
paddd %xmm1, %xmm2
cvtdq2pd %xmm2, %xmm2
movapd %xmm11, %xmm7
divpd %xmm2, %xmm7
movupd %xmm7, (%rax,%rbx,8)
addq $2, %rbx
paddq %xmm10, %xmm3
paddd %xmm12, %xmm4
cmpq %rbx, %r9
jne LBB6_8
## %bb.9: ## in Loop: Header=BB6_5 Depth=1
movq %r9, %rcx
cmpq %r13, %r9
je LBB6_12
LBB6_10: ## in Loop: Header=BB6_5 Depth=1
leaq 1(%rcx), %rbx
addl %r8d, %ecx
.p2align 4, 0x90
LBB6_11: ## Parent Loop BB6_5 Depth=1
## => This Inner Loop Header: Depth=2
leal 1(%rcx), %edi
imull %edi, %ecx
shrl %ecx
addl %esi, %ecx
xorps %xmm1, %xmm1
cvtsi2sd %ecx, %xmm1
movapd %xmm0, %xmm2
divsd %xmm1, %xmm2
movsd %xmm2, -8(%rax,%rbx,8)
leaq (%r10,%rbx), %rdx
incq %rdx
incq %rbx
movl %edi, %ecx
cmpq $1, %rdx
jne LBB6_11
jmp LBB6_12
LBB6_13:
testl %r13d, %r13d
jle LBB6_15
## %bb.14:
leaq L_.memset_pattern(%rip), %rsi
movq %r14, %rdi
movq %r12, %rdx
callq _memset_pattern16
LBB6_15:
movl %r13d, %edi
movq %r14, %rsi
movq %r15, %rdx
callq _eval_AtA_times_u
movl %r13d, %edi
movq %r15, %rsi
movq %r14, %rdx
callq _eval_AtA_times_u
movl %r13d, %edi
movq %r14, %rsi
movq %r15, %rdx
callq _eval_AtA_times_u
movl %r13d, %edi
movq %r15, %rsi
movq %r14, %rdx
callq _eval_AtA_times_u
movl %r13d, %edi
movq %r14, %rsi
movq %r15, %rdx
callq _eval_AtA_times_u
movl %r13d, %edi
movq %r15, %rsi
movq %r14, %rdx
callq _eval_AtA_times_u
movl %r13d, %edi
movq %r14, %rsi
movq %r15, %rdx
callq _eval_AtA_times_u
movl %r13d, %edi
movq %r15, %rsi
movq %r14, %rdx
callq _eval_AtA_times_u
movl %r13d, %edi
movq %r14, %rsi
movq %r15, %rdx
callq _eval_AtA_times_u
movl %r13d, %edi
movq %r15, %rsi
movq %r14, %rdx
callq _eval_AtA_times_u
movl %r13d, %edi
movq %r14, %rsi
movq %r15, %rdx
callq _eval_AtA_times_u
movl %r13d, %edi
movq %r15, %rsi
movq %r14, %rdx
callq _eval_AtA_times_u
movl %r13d, %edi
movq %r14, %rsi
movq %r15, %rdx
callq _eval_AtA_times_u
movl %r13d, %edi
movq %r15, %rsi
movq %r14, %rdx
callq _eval_AtA_times_u
movl %r13d, %edi
movq %r14, %rsi
movq %r15, %rdx
callq _eval_AtA_times_u
movl %r13d, %edi
movq %r15, %rsi
movq %r14, %rdx
callq _eval_AtA_times_u
movl %r13d, %edi
movq %r14, %rsi
movq %r15, %rdx
callq _eval_AtA_times_u
movl %r13d, %edi
movq %r15, %rsi
movq %r14, %rdx
callq _eval_AtA_times_u
movl %r13d, %edi
movq %r14, %rsi
movq %r15, %rdx
callq _eval_AtA_times_u
movl %r13d, %edi
movq %r15, %rsi
movq %r14, %rdx
callq _eval_AtA_times_u
testl %r13d, %r13d
jle LBB6_16
## %bb.17:
cmpl $1, %r13d
jne LBB6_19
## %bb.18:
xorpd %xmm0, %xmm0
xorl %eax, %eax
jmp LBB6_21
LBB6_27:
leaq L_str(%rip), %rdi
callq _puts
movl $1, %eax
jmp LBB6_25
LBB6_16:
movsd LCPI6_6(%rip), %xmm1 ## xmm1 = mem[0],zero
jmp LBB6_24
LBB6_19:
movl %r13d, %ecx
andl $-2, %ecx
pxor %xmm1, %xmm1
xorl %eax, %eax
.p2align 4, 0x90
LBB6_20: ## =>This Inner Loop Header: Depth=1
movsd (%r15,%rax,8), %xmm2 ## xmm2 = mem[0],zero
movsd 8(%r15,%rax,8), %xmm0 ## xmm0 = mem[0],zero
movddup %xmm2, %xmm3 ## xmm3 = xmm2[0,0]
movhpd (%r14,%rax,8), %xmm2 ## xmm2 = xmm2[0],mem[0]
mulpd %xmm3, %xmm2
addpd %xmm1, %xmm2
movddup %xmm0, %xmm1 ## xmm1 = xmm0[0,0]
movhpd 8(%r14,%rax,8), %xmm0 ## xmm0 = xmm0[0],mem[0]
mulpd %xmm1, %xmm0
addpd %xmm2, %xmm0
addq $2, %rax
movapd %xmm0, %xmm1
cmpq %rax, %rcx
jne LBB6_20
LBB6_21:
testb $1, %r13b
je LBB6_23
## %bb.22:
movsd (%r15,%rax,8), %xmm1 ## xmm1 = mem[0],zero
movddup %xmm1, %xmm2 ## xmm2 = xmm1[0,0]
movhpd (%r14,%rax,8), %xmm1 ## xmm1 = xmm1[0],mem[0]
mulpd %xmm1, %xmm2
addpd %xmm2, %xmm0
LBB6_23:
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1 ## xmm1 = xmm1[1],xmm0[1]
divsd %xmm0, %xmm1
LBB6_24:
xorps %xmm0, %xmm0
sqrtsd %xmm1, %xmm0
leaq L_.str.1(%rip), %rdi
movb $1, %al
callq _printf
movq _A_global(%rip), %rdi
callq _free
xorl %eax, %eax
LBB6_25:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB6_28
## %bb.26:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB6_28:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.globl _A_global ## @A_global
.zerofill __DATA,__common,_A_global,8,3
.comm _N_global,4,2 ## @N_global
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "%0.9f\n"
L_str: ## @str
.asciz "Insufficient memory"
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## @.memset_pattern
L_.memset_pattern:
.quad 0x3ff0000000000000 ## double 1
.quad 0x3ff0000000000000 ## double 1
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _eval_A ; -- Begin function eval_A
.p2align 2
_eval_A: ; @eval_A
.cfi_startproc
; %bb.0:
add w8, w1, w0
madd w8, w8, w8, w8
cmp w8, #0
cinc w8, w8, lt
add w8, w0, w8, asr #1
add w8, w8, #1
scvtf d0, w8
fmov d1, #1.00000000
fdiv d0, d1, d0
ret
.cfi_endproc
; -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ; -- Begin function prepare_A
lCPI1_0:
.long 0 ; 0x0
.long 1 ; 0x1
.section __TEXT,__literal16,16byte_literals
.p2align 4
lCPI1_1:
.quad 0 ; 0x0
.quad 1 ; 0x1
.section __TEXT,__text,regular,pure_instructions
.globl _prepare_A
.p2align 2
_prepare_A: ; @prepare_A
.cfi_startproc
; %bb.0:
stp d9, d8, [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 b8, -40
.cfi_offset b9, -48
mov x19, x0
Lloh0:
adrp x8, _N_global@GOTPAGE
Lloh1:
ldr x8, [x8, _N_global@GOTPAGEOFF]
Lloh2:
str w0, [x8]
mul w8, w0, w0
lsl x0, x8, #3
bl _malloc
adrp x8, _A_global@PAGE
str x0, [x8, _A_global@PAGEOFF]
cbz x0, LBB1_11
; %bb.1:
cmp w19, #1
b.lt LBB1_10
; %bb.2:
mov x12, #0
mov w8, w19
and x9, x8, #0xfffffff8
add x10, x0, #32
lsl x11, x8, #3
fmov d0, #1.00000000
Lloh3:
adrp x13, lCPI1_0@PAGE
Lloh4:
ldr d1, [x13, lCPI1_0@PAGEOFF]
Lloh5:
adrp x13, lCPI1_1@PAGE
Lloh6:
ldr q2, [x13, lCPI1_1@PAGEOFF]
fmov.2d v3, #1.00000000
mov w13, #8
dup.2d v4, x13
movi.2s v5, #8
b LBB1_4
LBB1_3: ; in Loop: Header=BB1_4 Depth=1
add x10, x10, x11
add x0, x0, x11
mov x12, x13
cmp x13, x8
b.eq LBB1_10
LBB1_4: ; =>This Loop Header: Depth=1
; Child Loop BB1_7 Depth 2
; Child Loop BB1_9 Depth 2
add x13, x12, #1
cmp w19, #8
b.hs LBB1_6
; %bb.5: ; in Loop: Header=BB1_4 Depth=1
mov x14, #0
b LBB1_9
LBB1_6: ; in Loop: Header=BB1_4 Depth=1
dup.2d v6, x12
dup.2s v7, w12
add x14, x12, #2
dup.2d v16, x14
add x14, x12, #4
dup.2d v17, x14
add x14, x12, #6
dup.2d v18, x14
add w14, w12, #2
dup.2s v19, w14
add w14, w12, #4
add w15, w12, #6
dup.2s v20, w14
dup.2s v21, w15
mov x14, x9
mov x15, x10
dup.2s v22, w13
mov.16b v23, v2
fmov d24, d1
LBB1_7: ; Parent Loop BB1_4 Depth=1
; => This Inner Loop Header: Depth=2
add.2d v25, v23, v6
add.2d v26, v16, v23
add.2d v27, v17, v23
add.2d v28, v18, v23
mvn.8b v29, v24
sub.2s v29, v7, v29
mvn.8b v30, v19
sub.2s v30, v24, v30
mvn.8b v31, v20
sub.2s v31, v24, v31
mvn.8b v8, v21
sub.2s v8, v24, v8
xtn.2s v25, v25
xtn.2s v26, v26
xtn.2s v27, v27
xtn.2s v28, v28
mul.2s v25, v29, v25
mul.2s v26, v30, v26
mul.2s v27, v31, v27
mul.2s v28, v8, v28
fmov d29, d22
usra.2s v29, v25, #1
fmov d25, d22
usra.2s v25, v26, #1
fmov d26, d22
usra.2s v26, v27, #1
fmov d27, d22
usra.2s v27, v28, #1
sshll.2d v28, v29, #0
scvtf.2d v28, v28
sshll.2d v25, v25, #0
scvtf.2d v25, v25
sshll.2d v26, v26, #0
scvtf.2d v26, v26
sshll.2d v27, v27, #0
scvtf.2d v27, v27
fdiv.2d v28, v3, v28
fdiv.2d v25, v3, v25
fdiv.2d v26, v3, v26
fdiv.2d v27, v3, v27
stp q28, q25, [x15, #-32]
stp q26, q27, [x15], #64
add.2d v23, v23, v4
add.2s v24, v24, v5
subs x14, x14, #8
b.ne LBB1_7
; %bb.8: ; in Loop: Header=BB1_4 Depth=1
mov x14, x9
cmp x9, x8
b.eq LBB1_3
LBB1_9: ; Parent Loop BB1_4 Depth=1
; => This Inner Loop Header: Depth=2
add w15, w12, w14
madd w15, w15, w15, w15
add w15, w13, w15, lsr #1
scvtf d6, w15
fdiv d6, d0, d6
str d6, [x0, x14, lsl #3]
add x14, x14, #1
cmp x8, x14
b.ne LBB1_9
b LBB1_3
LBB1_10:
mov w0, #0
b LBB1_12
LBB1_11:
mov w0, #-1
LBB1_12:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp d9, d8, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotStr Lloh0, Lloh1, Lloh2
.loh AdrpLdr Lloh5, Lloh6
.loh AdrpAdrp Lloh3, Lloh5
.loh AdrpLdr Lloh3, Lloh4
.cfi_endproc
; -- End function
.globl _get_A ; -- Begin function get_A
.p2align 2
_get_A: ; @get_A
.cfi_startproc
; %bb.0:
Lloh7:
adrp x8, _N_global@GOTPAGE
Lloh8:
ldr x8, [x8, _N_global@GOTPAGEOFF]
Lloh9:
adrp x9, _A_global@PAGE
Lloh10:
ldr x9, [x9, _A_global@PAGEOFF]
Lloh11:
ldr w8, [x8]
madd w8, w8, w0, w1
ldr d0, [x9, w8, sxtw #3]
ret
.loh AdrpLdr Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh11
.cfi_endproc
; -- End function
.globl _eval_A_times_u ; -- Begin function eval_A_times_u
.p2align 2
_eval_A_times_u: ; @eval_A_times_u
.cfi_startproc
; %bb.0:
and w8, w0, #0xfffffffe
cmp w8, #1
b.lt LBB3_9
; %bb.1:
mov x9, #0
Lloh12:
adrp x10, _A_global@PAGE
Lloh13:
ldr x10, [x10, _A_global@PAGEOFF]
Lloh14:
adrp x11, _N_global@GOTPAGE
Lloh15:
ldr x11, [x11, _N_global@GOTPAGEOFF]
Lloh16:
ldrsw x11, [x11]
mov w12, w0
lsl x13, x11, #4
b LBB3_4
LBB3_2: ; in Loop: Header=BB3_4 Depth=1
movi d1, #0000000000000000
movi d0, #0000000000000000
LBB3_3: ; in Loop: Header=BB3_4 Depth=1
str d1, [x2, x9, lsl #3]
str d0, [x2, x14, lsl #3]
add x9, x9, #2
add x10, x10, x13
cmp x9, x8
b.hs LBB3_7
LBB3_4: ; =>This Loop Header: Depth=1
; Child Loop BB3_6 Depth 2
orr x14, x9, #0x1
cmp w0, #0
b.le LBB3_2
; %bb.5: ; in Loop: Header=BB3_4 Depth=1
movi d0, #0000000000000000
mov x15, x12
mov x16, x10
mov x17, x1
movi d1, #0000000000000000
LBB3_6: ; Parent Loop BB3_4 Depth=1
; => This Inner Loop Header: Depth=2
ldr d2, [x16]
ldr d3, [x17], #8
fmadd d1, d2, d3, d1
ldr d2, [x16, x11, lsl #3]
fmadd d0, d2, d3, d0
add x16, x16, #8
subs x15, x15, #1
b.ne LBB3_6
b LBB3_3
LBB3_7:
mov x8, x9
cmp w8, w0
b.ne LBB3_10
LBB3_8:
ret
LBB3_9:
mov w8, #0
cmp w8, w0
b.eq LBB3_8
LBB3_10:
cmp w0, #1
b.lt LBB3_13
; %bb.11:
Lloh17:
adrp x10, _N_global@GOTPAGE
Lloh18:
ldr x10, [x10, _N_global@GOTPAGEOFF]
Lloh19:
adrp x9, _A_global@PAGE
Lloh20:
ldr x9, [x9, _A_global@PAGEOFF]
Lloh21:
ldrsw x10, [x10]
sxtw x11, w8
mul x11, x10, x11
mov w10, w0
cmp w0, #4
b.hs LBB3_14
; %bb.12:
mov x12, #0
movi d0, #0000000000000000
b LBB3_17
LBB3_13:
movi d0, #0000000000000000
b LBB3_19
LBB3_14:
and x12, x10, #0xfffffffc
add x13, x9, x11, lsl #3
movi d0, #0000000000000000
mov x14, x1
mov x15, x12
LBB3_15: ; =>This Inner Loop Header: Depth=1
ldr d1, [x13]
ldr d2, [x13, #24]
ldr d3, [x14]
ldr d4, [x14, #24]
fmul d1, d1, d3
ldur q3, [x13, #8]
ldur q5, [x14, #8]
fmul.2d v3, v3, v5
fmul d2, d2, d4
fadd d0, d0, d1
fadd d0, d0, d3
mov d1, v3[1]
fadd d0, d0, d1
fadd d0, d0, d2
add x14, x14, #32
add x13, x13, #32
subs x15, x15, #4
b.ne LBB3_15
; %bb.16:
cmp x12, x10
b.eq LBB3_19
LBB3_17:
add x13, x1, x12, lsl #3
add x11, x12, x11
add x9, x9, x11, lsl #3
sub x10, x10, x12
LBB3_18: ; =>This Inner Loop Header: Depth=1
ldr d1, [x9], #8
ldr d2, [x13], #8
fmadd d0, d1, d2, d0
subs x10, x10, #1
b.ne LBB3_18
LBB3_19:
str d0, [x2, w8, uxtw #3]
ret
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdr Lloh12, Lloh13
.loh AdrpLdr Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh21
.cfi_endproc
; -- End function
.globl _eval_At_times_u ; -- Begin function eval_At_times_u
.p2align 2
_eval_At_times_u: ; @eval_At_times_u
.cfi_startproc
; %bb.0:
and w11, w0, #0xfffffffc
adrp x8, _A_global@PAGE
Lloh22:
adrp x9, _N_global@GOTPAGE
Lloh23:
ldr x9, [x9, _N_global@GOTPAGEOFF]
cmp w11, #1
b.lt LBB4_8
; %bb.1:
mov x10, #0
ldr x13, [x8, _A_global@PAGEOFF]
ldrsw x14, [x9]
mov w12, w0
add x13, x13, #24
lsl x14, x14, #3
b LBB4_4
LBB4_2: ; in Loop: Header=BB4_4 Depth=1
movi.2d v2, #0000000000000000
movi d1, #0000000000000000
movi d0, #0000000000000000
LBB4_3: ; in Loop: Header=BB4_4 Depth=1
orr x15, x10, #0x2
lsl x16, x10, #3
str q2, [x2, x16]
str d1, [x2, x15, lsl #3]
orr x15, x10, #0x3
str d0, [x2, x15, lsl #3]
add x10, x10, #4
add x13, x13, #32
cmp x10, x11
b.hs LBB4_9
LBB4_4: ; =>This Loop Header: Depth=1
; Child Loop BB4_6 Depth 2
cmp w0, #1
b.lt LBB4_2
; %bb.5: ; in Loop: Header=BB4_4 Depth=1
movi.2d v3, #0000000000000000
movi d0, #0000000000000000
mov x15, x12
mov x16, x13
mov x17, x1
movi d1, #0000000000000000
LBB4_6: ; Parent Loop BB4_4 Depth=1
; => This Inner Loop Header: Depth=2
mov.16b v2, v3
ldr d5, [x17], #8
ldur q4, [x16, #-24]
fmla.2d v3, v4, v5[0]
ldur d6, [x16, #-8]
fmadd d1, d6, d5, d1
ldr d6, [x16]
fmadd d0, d6, d5, d0
add x16, x16, x14
subs x15, x15, #1
b.ne LBB4_6
; %bb.7: ; in Loop: Header=BB4_4 Depth=1
dup.2d v3, v5[0]
fmla.2d v2, v3, v4
b LBB4_3
LBB4_8:
mov w10, #0
LBB4_9:
cmp w10, w0
b.ge LBB4_15
; %bb.10:
ldr x11, [x8, _A_global@PAGEOFF]
ldrsw x12, [x9]
mov w8, w10
mov w9, w0
add x10, x11, w10, uxtw #3
lsl x11, x12, #3
b LBB4_12
LBB4_11: ; in Loop: Header=BB4_12 Depth=1
str d0, [x2, x8, lsl #3]
add x8, x8, #1
add x10, x10, #8
cmp x8, x9
b.eq LBB4_15
LBB4_12: ; =>This Loop Header: Depth=1
; Child Loop BB4_14 Depth 2
movi d0, #0000000000000000
cmp w0, #1
b.lt LBB4_11
; %bb.13: ; in Loop: Header=BB4_12 Depth=1
mov x12, x9
mov x13, x10
mov x14, x1
LBB4_14: ; Parent Loop BB4_12 Depth=1
; => This Inner Loop Header: Depth=2
ldr d1, [x13]
ldr d2, [x14], #8
fmadd d0, d1, d2, d0
add x13, x13, x11
subs x12, x12, #1
b.ne LBB4_14
b LBB4_11
LBB4_15:
ret
.loh AdrpLdrGot Lloh22, Lloh23
.cfi_endproc
; -- End function
.globl _eval_AtA_times_u ; -- Begin function eval_AtA_times_u
.p2align 2
_eval_AtA_times_u: ; @eval_AtA_times_u
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
sub sp, sp, #16
Lloh24:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh25:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh26:
ldr x8, [x8]
stur x8, [x29, #-8]
mov w12, w0
lsl x8, x12, #3
mov x9, x8
Lloh27:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh28:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0xffffffff0
sub x8, x9, x8
mov sp, x8
and w9, w0, #0xfffffffe
cmp w9, #1
b.lt LBB5_8
; %bb.1:
mov x10, #0
Lloh29:
adrp x11, _A_global@PAGE
Lloh30:
ldr x11, [x11, _A_global@PAGEOFF]
Lloh31:
adrp x13, _N_global@GOTPAGE
Lloh32:
ldr x13, [x13, _N_global@GOTPAGEOFF]
Lloh33:
ldrsw x13, [x13]
lsl x14, x13, #4
b LBB5_4
LBB5_2: ; in Loop: Header=BB5_4 Depth=1
movi d1, #0000000000000000
movi d0, #0000000000000000
LBB5_3: ; in Loop: Header=BB5_4 Depth=1
str d1, [x8, x10, lsl #3]
str d0, [x8, x15, lsl #3]
add x10, x10, #2
add x11, x11, x14
cmp x10, x9
b.hs LBB5_7
LBB5_4: ; =>This Loop Header: Depth=1
; Child Loop BB5_6 Depth 2
orr x15, x10, #0x1
cmp w0, #0
b.le LBB5_2
; %bb.5: ; in Loop: Header=BB5_4 Depth=1
movi d0, #0000000000000000
mov x16, x1
mov x17, x11
mov x3, x12
movi d1, #0000000000000000
LBB5_6: ; Parent Loop BB5_4 Depth=1
; => This Inner Loop Header: Depth=2
ldr d2, [x17]
ldr d3, [x16], #8
fmadd d1, d2, d3, d1
ldr d2, [x17, x13, lsl #3]
fmadd d0, d2, d3, d0
add x17, x17, #8
subs x3, x3, #1
b.ne LBB5_6
b LBB5_3
LBB5_7:
mov x9, x10
cmp w9, w0
b.ne LBB5_9
b LBB5_19
LBB5_8:
mov w9, #0
cmp w9, w0
b.eq LBB5_19
LBB5_9:
cmp w0, #1
b.lt LBB5_12
; %bb.10:
Lloh34:
adrp x10, _A_global@PAGE
Lloh35:
ldr x10, [x10, _A_global@PAGEOFF]
Lloh36:
adrp x11, _N_global@GOTPAGE
Lloh37:
ldr x11, [x11, _N_global@GOTPAGEOFF]
Lloh38:
ldrsw x11, [x11]
sxtw x13, w9
mul x11, x11, x13
cmp w0, #4
b.hs LBB5_13
; %bb.11:
mov x13, #0
movi d0, #0000000000000000
b LBB5_16
LBB5_12:
movi d0, #0000000000000000
b LBB5_18
LBB5_13:
and x13, x12, #0xfffffffc
add x14, x10, x11, lsl #3
movi d0, #0000000000000000
mov x15, x1
mov x16, x13
LBB5_14: ; =>This Inner Loop Header: Depth=1
ldr d1, [x14]
ldr d2, [x14, #24]
ldr d3, [x15]
ldr d4, [x15, #24]
fmul d1, d1, d3
ldur q3, [x14, #8]
ldur q5, [x15, #8]
fmul.2d v3, v3, v5
fmul d2, d2, d4
fadd d0, d0, d1
fadd d0, d0, d3
mov d1, v3[1]
fadd d0, d0, d1
fadd d0, d0, d2
add x15, x15, #32
add x14, x14, #32
subs x16, x16, #4
b.ne LBB5_14
; %bb.15:
cmp x13, x12
b.eq LBB5_18
LBB5_16:
sub x14, x12, x13
add x15, x1, x13, lsl #3
add x11, x13, x11
add x10, x10, x11, lsl #3
LBB5_17: ; =>This Inner Loop Header: Depth=1
ldr d1, [x10], #8
ldr d2, [x15], #8
fmadd d0, d1, d2, d0
subs x14, x14, #1
b.ne LBB5_17
LBB5_18:
str d0, [x8, w9, uxtw #3]
LBB5_19:
and w10, w0, #0xfffffffc
cmp w10, #1
b.lt LBB5_27
; %bb.20:
mov x9, #0
Lloh39:
adrp x11, _A_global@PAGE
Lloh40:
ldr x11, [x11, _A_global@PAGEOFF]
Lloh41:
adrp x13, _N_global@GOTPAGE
Lloh42:
ldr x13, [x13, _N_global@GOTPAGEOFF]
Lloh43:
ldrsw x13, [x13]
add x11, x11, #24
lsl x13, x13, #3
b LBB5_23
LBB5_21: ; in Loop: Header=BB5_23 Depth=1
movi.2d v2, #0000000000000000
movi d1, #0000000000000000
movi d0, #0000000000000000
LBB5_22: ; in Loop: Header=BB5_23 Depth=1
orr x14, x9, #0x2
lsl x15, x9, #3
str q2, [x2, x15]
str d1, [x2, x14, lsl #3]
orr x14, x9, #0x3
str d0, [x2, x14, lsl #3]
add x9, x9, #4
add x11, x11, #32
cmp x9, x10
b.hs LBB5_28
LBB5_23: ; =>This Loop Header: Depth=1
; Child Loop BB5_25 Depth 2
cmp w0, #1
b.lt LBB5_21
; %bb.24: ; in Loop: Header=BB5_23 Depth=1
movi.2d v3, #0000000000000000
movi d0, #0000000000000000
mov x14, x11
mov x15, x8
mov x16, x12
movi d1, #0000000000000000
LBB5_25: ; Parent Loop BB5_23 Depth=1
; => This Inner Loop Header: Depth=2
mov.16b v2, v3
ldr d5, [x15], #8
ldur q4, [x14, #-24]
fmla.2d v3, v4, v5[0]
ldur d6, [x14, #-8]
fmadd d1, d6, d5, d1
ldr d6, [x14]
fmadd d0, d6, d5, d0
add x14, x14, x13
subs x16, x16, #1
b.ne LBB5_25
; %bb.26: ; in Loop: Header=BB5_23 Depth=1
dup.2d v3, v5[0]
fmla.2d v2, v3, v4
b LBB5_22
LBB5_27:
mov w9, #0
LBB5_28:
cmp w9, w0
b.ge LBB5_34
; %bb.29:
Lloh44:
adrp x10, _A_global@PAGE
Lloh45:
ldr x11, [x10, _A_global@PAGEOFF]
Lloh46:
adrp x10, _N_global@GOTPAGE
Lloh47:
ldr x10, [x10, _N_global@GOTPAGEOFF]
Lloh48:
ldrsw x13, [x10]
mov w10, w9
add x9, x11, w9, uxtw #3
lsl x11, x13, #3
b LBB5_31
LBB5_30: ; in Loop: Header=BB5_31 Depth=1
str d0, [x2, x10, lsl #3]
add x10, x10, #1
add x9, x9, #8
cmp x10, x12
b.eq LBB5_34
LBB5_31: ; =>This Loop Header: Depth=1
; Child Loop BB5_33 Depth 2
movi d0, #0000000000000000
cmp w0, #1
b.lt LBB5_30
; %bb.32: ; in Loop: Header=BB5_31 Depth=1
mov x13, x9
mov x14, x8
mov x15, x12
LBB5_33: ; Parent Loop BB5_31 Depth=1
; => This Inner Loop Header: Depth=2
ldr d1, [x13]
ldr d2, [x14], #8
fmadd d0, d1, d2, d0
add x13, x13, x11
subs x15, x15, #1
b.ne LBB5_33
b LBB5_30
LBB5_34:
ldur x8, [x29, #-8]
Lloh49:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh50:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh51:
ldr x9, [x9]
cmp x9, x8
b.ne LBB5_36
; %bb.35:
mov sp, x29
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB5_36:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.loh AdrpLdr Lloh29, Lloh30
.loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38
.loh AdrpLdr Lloh34, Lloh35
.loh AdrpLdrGotLdr Lloh41, Lloh42, Lloh43
.loh AdrpLdr Lloh39, Lloh40
.loh AdrpLdrGotLdr Lloh46, Lloh47, Lloh48
.loh AdrpAdrp Lloh44, Lloh46
.loh AdrpLdr Lloh44, Lloh45
.loh AdrpLdrGotLdr Lloh49, Lloh50, Lloh51
.cfi_endproc
; -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ; -- Begin function main
lCPI6_0:
.long 0 ; 0x0
.long 1 ; 0x1
.section __TEXT,__literal16,16byte_literals
.p2align 4
lCPI6_1:
.quad 0 ; 0x0
.quad 1 ; 0x1
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp d9, d8, [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 b8, -72
.cfi_offset b9, -80
sub sp, sp, #16
Lloh52:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh53:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh54:
ldr x8, [x8]
stur x8, [x29, #-72]
cmp w0, #2
b.ne LBB6_2
; %bb.1:
ldr x0, [x1, #8]
bl _atoi
b LBB6_3
LBB6_2:
mov w0, #2000
LBB6_3:
mov w19, w0
lsl x22, x19, #3
mov x9, x22
Lloh55:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh56:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x8, sp
add x9, x22, #15
and x12, x9, #0xffffffff0
sub x20, x8, x12
mov sp, x20
mov x9, x22
Lloh57:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh58:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x8, sp
sub x21, x8, x12
mov sp, x21
Lloh59:
adrp x8, _N_global@GOTPAGE
Lloh60:
ldr x8, [x8, _N_global@GOTPAGEOFF]
Lloh61:
str w0, [x8]
mul w8, w0, w0
lsl x0, x8, #3
bl _malloc
adrp x23, _A_global@PAGE
str x0, [x23, _A_global@PAGEOFF]
cbz x0, LBB6_18
; %bb.4:
cmp w19, #1
b.lt LBB6_15
; %bb.5:
mov x10, #0
and x8, x19, #0xfffffff8
add x9, x0, #32
fmov d0, #1.00000000
Lloh62:
adrp x11, lCPI6_0@PAGE
Lloh63:
ldr d1, [x11, lCPI6_0@PAGEOFF]
Lloh64:
adrp x11, lCPI6_1@PAGE
Lloh65:
ldr q2, [x11, lCPI6_1@PAGEOFF]
fmov.2d v3, #1.00000000
mov w11, #8
dup.2d v4, x11
movi.2s v5, #8
b LBB6_7
LBB6_6: ; in Loop: Header=BB6_7 Depth=1
add x9, x9, x22
add x0, x0, x22
mov x10, x11
cmp x11, x19
b.eq LBB6_13
LBB6_7: ; =>This Loop Header: Depth=1
; Child Loop BB6_10 Depth 2
; Child Loop BB6_12 Depth 2
add x11, x10, #1
cmp w19, #8
b.hs LBB6_9
; %bb.8: ; in Loop: Header=BB6_7 Depth=1
mov x12, #0
b LBB6_12
LBB6_9: ; in Loop: Header=BB6_7 Depth=1
add w12, w10, #1
dup.2d v6, x10
dup.2s v7, w12
dup.2s v16, w11
add x12, x10, #2
dup.2d v17, x12
add x12, x10, #4
dup.2d v18, x12
add x12, x10, #6
dup.2d v19, x12
add w12, w10, #3
add w13, w10, #5
dup.2s v20, w12
add w14, w10, #7
dup.2s v21, w13
mov x12, x8
dup.2s v22, w14
mov x13, x9
mov.16b v23, v2
fmov d24, d1
LBB6_10: ; Parent Loop BB6_7 Depth=1
; => This Inner Loop Header: Depth=2
add.2d v25, v23, v6
add.2d v26, v17, v23
add.2d v27, v18, v23
add.2d v28, v19, v23
add.2s v29, v7, v24
add.2s v30, v20, v24
add.2s v31, v21, v24
add.2s v8, v22, v24
xtn.2s v25, v25
xtn.2s v26, v26
xtn.2s v27, v27
xtn.2s v28, v28
mul.2s v25, v29, v25
mul.2s v26, v30, v26
mul.2s v27, v31, v27
mul.2s v28, v8, v28
fmov d29, d16
usra.2s v29, v25, #1
fmov d25, d16
usra.2s v25, v26, #1
fmov d26, d16
usra.2s v26, v27, #1
fmov d27, d16
usra.2s v27, v28, #1
sshll.2d v28, v29, #0
scvtf.2d v28, v28
sshll.2d v25, v25, #0
scvtf.2d v25, v25
sshll.2d v26, v26, #0
scvtf.2d v26, v26
sshll.2d v27, v27, #0
scvtf.2d v27, v27
fdiv.2d v28, v3, v28
fdiv.2d v25, v3, v25
fdiv.2d v26, v3, v26
fdiv.2d v27, v3, v27
stp q28, q25, [x13, #-32]
stp q26, q27, [x13], #64
add.2d v23, v23, v4
add.2s v24, v24, v5
subs x12, x12, #8
b.ne LBB6_10
; %bb.11: ; in Loop: Header=BB6_7 Depth=1
mov x12, x8
cmp x8, x19
b.eq LBB6_6
LBB6_12: ; Parent Loop BB6_7 Depth=1
; => This Inner Loop Header: Depth=2
add w13, w10, w12
madd w13, w13, w13, w13
add w13, w11, w13, lsr #1
scvtf d6, w13
fdiv d6, d0, d6
str d6, [x0, x12, lsl #3]
add x12, x12, #1
cmp x19, x12
b.ne LBB6_12
b LBB6_6
LBB6_13:
cmp w19, #1
b.lt LBB6_15
; %bb.14:
Lloh66:
adrp x1, l_.memset_pattern@PAGE
Lloh67:
add x1, x1, l_.memset_pattern@PAGEOFF
mov x0, x20
mov x2, x22
bl _memset_pattern16
LBB6_15:
mov x0, x19
mov x1, x20
mov x2, x21
bl _eval_AtA_times_u
mov x0, x19
mov x1, x21
mov x2, x20
bl _eval_AtA_times_u
mov x0, x19
mov x1, x20
mov x2, x21
bl _eval_AtA_times_u
mov x0, x19
mov x1, x21
mov x2, x20
bl _eval_AtA_times_u
mov x0, x19
mov x1, x20
mov x2, x21
bl _eval_AtA_times_u
mov x0, x19
mov x1, x21
mov x2, x20
bl _eval_AtA_times_u
mov x0, x19
mov x1, x20
mov x2, x21
bl _eval_AtA_times_u
mov x0, x19
mov x1, x21
mov x2, x20
bl _eval_AtA_times_u
mov x0, x19
mov x1, x20
mov x2, x21
bl _eval_AtA_times_u
mov x0, x19
mov x1, x21
mov x2, x20
bl _eval_AtA_times_u
mov x0, x19
mov x1, x20
mov x2, x21
bl _eval_AtA_times_u
mov x0, x19
mov x1, x21
mov x2, x20
bl _eval_AtA_times_u
mov x0, x19
mov x1, x20
mov x2, x21
bl _eval_AtA_times_u
mov x0, x19
mov x1, x21
mov x2, x20
bl _eval_AtA_times_u
mov x0, x19
mov x1, x20
mov x2, x21
bl _eval_AtA_times_u
mov x0, x19
mov x1, x21
mov x2, x20
bl _eval_AtA_times_u
mov x0, x19
mov x1, x20
mov x2, x21
bl _eval_AtA_times_u
mov x0, x19
mov x1, x21
mov x2, x20
bl _eval_AtA_times_u
mov x0, x19
mov x1, x20
mov x2, x21
bl _eval_AtA_times_u
mov x0, x19
mov x1, x21
mov x2, x20
bl _eval_AtA_times_u
cmp w19, #1
b.lt LBB6_19
; %bb.16:
cmp w19, #4
b.hs LBB6_20
; %bb.17:
mov x8, #0
movi d0, #0000000000000000
movi d1, #0000000000000000
b LBB6_23
LBB6_18:
Lloh68:
adrp x0, l_str@PAGE
Lloh69:
add x0, x0, l_str@PAGEOFF
bl _puts
mov w0, #1
b LBB6_27
LBB6_19:
mov x8, #9221120237041090560
fmov d0, x8
b LBB6_26
LBB6_20:
and x8, x19, #0xfffffffc
add x9, x21, #16
add x10, x20, #16
movi d0, #0000000000000000
mov x11, x8
movi d1, #0000000000000000
LBB6_21: ; =>This Inner Loop Header: Depth=1
ldp d2, d3, [x10, #-16]
ldp d4, d5, [x10], #32
ldp d6, d7, [x9, #-16]
ldp d16, d17, [x9], #32
fmul d2, d2, d6
fmul d3, d3, d7
fmul d4, d4, d16
fmul d5, d5, d17
fadd d1, d1, d2
fadd d1, d1, d3
fadd d1, d1, d4
fadd d1, d1, d5
fmul d2, d6, d6
fmul d3, d7, d7
fmul d4, d16, d16
fmul d5, d17, d17
fadd d0, d0, d2
fadd d0, d0, d3
fadd d0, d0, d4
fadd d0, d0, d5
subs x11, x11, #4
b.ne LBB6_21
; %bb.22:
cmp x8, x19
b.eq LBB6_25
LBB6_23:
lsl x10, x8, #3
add x9, x21, x10
add x10, x20, x10
sub x8, x19, x8
LBB6_24: ; =>This Inner Loop Header: Depth=1
ldr d2, [x10], #8
ldr d3, [x9], #8
fmadd d1, d2, d3, d1
fmadd d0, d3, d3, d0
subs x8, x8, #1
b.ne LBB6_24
LBB6_25:
fdiv d0, d1, d0
LBB6_26:
fsqrt d0, d0
str d0, [sp, #-16]!
Lloh70:
adrp x0, l_.str.1@PAGE
Lloh71:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
add sp, sp, #16
ldr x0, [x23, _A_global@PAGEOFF]
bl _free
mov w0, #0
LBB6_27:
ldur x8, [x29, #-72]
Lloh72:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh73:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh74:
ldr x9, [x9]
cmp x9, x8
b.ne LBB6_29
; %bb.28:
sub sp, x29, #64
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 d9, d8, [sp], #80 ; 16-byte Folded Reload
ret
LBB6_29:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh52, Lloh53, Lloh54
.loh AdrpLdrGotStr Lloh59, Lloh60, Lloh61
.loh AdrpLdrGot Lloh57, Lloh58
.loh AdrpLdrGot Lloh55, Lloh56
.loh AdrpLdr Lloh64, Lloh65
.loh AdrpAdrp Lloh62, Lloh64
.loh AdrpLdr Lloh62, Lloh63
.loh AdrpAdd Lloh66, Lloh67
.loh AdrpAdd Lloh68, Lloh69
.loh AdrpAdd Lloh70, Lloh71
.loh AdrpLdrGotLdr Lloh72, Lloh73, Lloh74
.cfi_endproc
; -- End function
.globl _A_global ; @A_global
.zerofill __DATA,__common,_A_global,8,3
.comm _N_global,4,2 ; @N_global
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "%0.9f\n"
l_str: ; @str
.asciz "Insufficient memory"
.section __TEXT,__literal16,16byte_literals
.p2align 4 ; @.memset_pattern
l_.memset_pattern:
.quad 0x3ff0000000000000 ; double 1
.quad 0x3ff0000000000000 ; double 1
.subsections_via_symbols
|
the_stack_data/73574840.c
|
stack
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mbedtls_base64_decode ## -- Begin function mbedtls_base64_decode
.p2align 4, 0x90
_mbedtls_base64_decode: ## @mbedtls_base64_decode
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r15
testq %r8, %r8
je LBB0_25
## %bb.1:
movq %rdi, %r14
movq _base64_dec_map@GOTPCREL(%rip), %r9
movq (%r9), %r12
xorl %r10d, %r10d
xorl %r11d, %r11d
xorl %eax, %eax
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_5 Depth 2
xorl %edx, %edx
cmpq %r8, %rax
jae LBB0_3
.p2align 4, 0x90
LBB0_5: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
cmpb $32, (%rcx,%rax)
jne LBB0_3
## %bb.6: ## in Loop: Header=BB0_5 Depth=2
incq %rax
incl %edx
cmpq %rax, %r8
jne LBB0_5
jmp LBB0_7
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_2 Depth=1
cmpq %r8, %rax
je LBB0_4
## %bb.8: ## in Loop: Header=BB0_2 Depth=1
movq %r8, %rdi
subq %rax, %rdi
movb (%rcx,%rax), %bl
cmpq $2, %rdi
jb LBB0_12
## %bb.9: ## in Loop: Header=BB0_2 Depth=1
cmpb $13, %bl
jne LBB0_12
## %bb.10: ## in Loop: Header=BB0_2 Depth=1
cmpb $10, 1(%rax,%rcx)
je LBB0_23
## %bb.11: ## in Loop: Header=BB0_2 Depth=1
movb $13, %bl
testl %edx, %edx
je LBB0_19
jmp LBB0_14
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_2 Depth=1
cmpb $10, %bl
je LBB0_23
## %bb.13: ## in Loop: Header=BB0_2 Depth=1
testl %edx, %edx
jne LBB0_14
## %bb.15: ## in Loop: Header=BB0_2 Depth=1
cmpb $61, %bl
jne LBB0_18
## %bb.16: ## in Loop: Header=BB0_2 Depth=1
cmpl $2, %r10d
jge LBB0_14
## %bb.17: ## in Loop: Header=BB0_2 Depth=1
incl %r10d
movb $61, %bl
jmp LBB0_19
LBB0_18: ## in Loop: Header=BB0_2 Depth=1
testb %bl, %bl
js LBB0_14
LBB0_19: ## in Loop: Header=BB0_2 Depth=1
movzbl %bl, %edx
movl (%r12,%rdx,4), %edx
cmpl $127, %edx
je LBB0_14
## %bb.20: ## in Loop: Header=BB0_2 Depth=1
cmpl $63, %edx
jg LBB0_22
## %bb.21: ## in Loop: Header=BB0_2 Depth=1
testl %r10d, %r10d
jne LBB0_14
LBB0_22: ## in Loop: Header=BB0_2 Depth=1
incq %r11
LBB0_23: ## in Loop: Header=BB0_2 Depth=1
incq %rax
cmpq %r8, %rax
jb LBB0_2
jmp LBB0_24
LBB0_7:
movq %r8, %rax
LBB0_24:
testq %r11, %r11
je LBB0_25
LBB0_26:
movq %r11, %rdx
shrq $2, %rdx
andq $-2, %rdx
leaq (%rdx,%rdx,2), %rdx
andl $7, %r11d
leaq (%r11,%r11,2), %rdi
addq %rdi, %rdi
addq $7, %rdi
shrq $3, %rdi
movslq %r10d, %rbx
subq %rbx, %rdx
addq %rdi, %rdx
testq %r14, %r14
je LBB0_45
## %bb.27:
cmpq %rsi, %rdx
ja LBB0_45
## %bb.28:
movq %r14, %r12
testq %rax, %rax
je LBB0_42
## %bb.29:
movl $3, %r10d
xorl %ebx, %ebx
movabsq $4294976512, %r8 ## imm = 0x100002400
movq %r14, %r12
xorl %edx, %edx
xorl %r11d, %r11d
jmp LBB0_30
.p2align 4, 0x90
LBB0_32: ## in Loop: Header=BB0_30 Depth=1
movl %edx, %edi
LBB0_41: ## in Loop: Header=BB0_30 Depth=1
incq %rbx
movl %edi, %edx
cmpq %rbx, %rax
je LBB0_42
LBB0_30: ## =>This Inner Loop Header: Depth=1
movzbl (%rcx,%rbx), %edi
cmpq $32, %rdi
ja LBB0_33
## %bb.31: ## in Loop: Header=BB0_30 Depth=1
btq %rdi, %r8
jb LBB0_32
LBB0_33: ## in Loop: Header=BB0_30 Depth=1
movq (%r9), %rsi
movl (%rsi,%rdi,4), %edi
xorl %esi, %esi
cmpl $64, %edi
sete %sil
subl %esi, %r10d
shll $6, %edx
andl $63, %edi
orl %edx, %edi
incq %r11
cmpq $4, %r11
jne LBB0_41
## %bb.34: ## in Loop: Header=BB0_30 Depth=1
testl %r10d, %r10d
jle LBB0_40
## %bb.35: ## in Loop: Header=BB0_30 Depth=1
movl %edx, %esi
shrl $16, %esi
movb %sil, (%r12)
movq %r12, %rsi
cmpl $1, %r10d
jne LBB0_37
## %bb.36: ## in Loop: Header=BB0_30 Depth=1
incq %rsi
movq %rsi, %r12
movl $1, %r10d
jmp LBB0_40
LBB0_37: ## in Loop: Header=BB0_30 Depth=1
movb %dh, 1(%rsi)
cmpl $3, %r10d
movq %rsi, %r12
jb LBB0_38
## %bb.39: ## in Loop: Header=BB0_30 Depth=1
movb %dil, 2(%r12)
addq $3, %r12
jmp LBB0_40
LBB0_38: ## in Loop: Header=BB0_30 Depth=1
addq $2, %r12
movl $2, %r10d
LBB0_40: ## in Loop: Header=BB0_30 Depth=1
xorl %r11d, %r11d
jmp LBB0_41
LBB0_45:
movq %rdx, (%r15)
movq _MBEDTLS_ERR_BASE64_BUFFER_TOO_SMALL@GOTPCREL(%rip), %rax
movl (%rax), %eax
jmp LBB0_44
LBB0_42:
subq %r14, %r12
movq %r12, (%r15)
jmp LBB0_43
LBB0_14:
movq _MBEDTLS_ERR_BASE64_INVALID_CHARACTER@GOTPCREL(%rip), %rax
movl (%rax), %eax
jmp LBB0_44
LBB0_4:
movq %r8, %rax
testq %r11, %r11
jne LBB0_26
LBB0_25:
movq $0, (%r15)
LBB0_43:
xorl %eax, %eax
LBB0_44:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MBEDTLS_ERR_BASE64_INVALID_CHARACTER,4,2 ## @MBEDTLS_ERR_BASE64_INVALID_CHARACTER
.comm _base64_dec_map,8,3 ## @base64_dec_map
.comm _MBEDTLS_ERR_BASE64_BUFFER_TOO_SMALL,4,2 ## @MBEDTLS_ERR_BASE64_BUFFER_TOO_SMALL
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mbedtls_base64_decode ; -- Begin function mbedtls_base64_decode
.p2align 2
_mbedtls_base64_decode: ; @mbedtls_base64_decode
.cfi_startproc
; %bb.0:
cbz x4, LBB0_43
; %bb.1:
mov w10, #0
mov x11, #0
mov x9, #0
Lloh0:
adrp x8, _base64_dec_map@GOTPAGE
Lloh1:
ldr x8, [x8, _base64_dec_map@GOTPAGEOFF]
ldr x12, [x8]
LBB0_2: ; =>This Loop Header: Depth=1
; Child Loop BB0_4 Depth 2
cmp x9, x4
b.hs LBB0_6
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
mov w13, #0
LBB0_4: ; Parent Loop BB0_2 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w14, [x3, x9]
cmp w14, #32
b.ne LBB0_7
; %bb.5: ; in Loop: Header=BB0_4 Depth=2
add x9, x9, #1
add w13, w13, #1
cmp x4, x9
b.ne LBB0_4
b LBB0_23
LBB0_6: ; in Loop: Header=BB0_2 Depth=1
mov w13, #0
LBB0_7: ; in Loop: Header=BB0_2 Depth=1
cmp x9, x4
b.eq LBB0_42
; %bb.8: ; in Loop: Header=BB0_2 Depth=1
sub x15, x4, x9
ldrb w14, [x3, x9]
cmp x15, #2
b.lo LBB0_13
; %bb.9: ; in Loop: Header=BB0_2 Depth=1
cmp w14, #13
b.ne LBB0_13
; %bb.10: ; in Loop: Header=BB0_2 Depth=1
add x14, x9, x3
ldrb w14, [x14, #1]
cmp w14, #10
b.eq LBB0_22
; %bb.11: ; in Loop: Header=BB0_2 Depth=1
cbnz w13, LBB0_41
; %bb.12: ; in Loop: Header=BB0_2 Depth=1
mov w14, #13
b LBB0_19
LBB0_13: ; in Loop: Header=BB0_2 Depth=1
cmp w14, #10
b.eq LBB0_22
; %bb.14: ; in Loop: Header=BB0_2 Depth=1
cbnz w13, LBB0_41
; %bb.15: ; in Loop: Header=BB0_2 Depth=1
cmp w14, #61
b.ne LBB0_18
; %bb.16: ; in Loop: Header=BB0_2 Depth=1
cmp w10, #2
b.ge LBB0_41
; %bb.17: ; in Loop: Header=BB0_2 Depth=1
add w10, w10, #1
mov w14, #61
b LBB0_19
LBB0_18: ; in Loop: Header=BB0_2 Depth=1
tbnz w14, #7, LBB0_41
LBB0_19: ; in Loop: Header=BB0_2 Depth=1
ldr w13, [x12, w14, uxtw #2]
cmp w13, #127
b.eq LBB0_41
; %bb.20: ; in Loop: Header=BB0_2 Depth=1
cmp w13, #63
ccmp w10, #0, #4, le
b.ne LBB0_41
; %bb.21: ; in Loop: Header=BB0_2 Depth=1
add x11, x11, #1
LBB0_22: ; in Loop: Header=BB0_2 Depth=1
add x9, x9, #1
cmp x9, x4
b.lo LBB0_2
b LBB0_24
LBB0_23:
mov x9, x4
LBB0_24:
cbz x11, LBB0_43
LBB0_25:
lsr x12, x11, #3
mov w13, #6
mul x12, x12, x13
and x11, x11, #0x7
orr x14, xzr, #0x7
madd x11, x11, x13, x14
sub x10, x12, w10, sxtw
add x10, x10, x11, lsr #3
cbz x0, LBB0_29
; %bb.26:
cmp x10, x1
b.hi LBB0_29
; %bb.27:
mov x14, x0
cbz x9, LBB0_40
; %bb.28:
mov w10, #0
mov x15, #0
mov w12, #3
mov w11, #1
mov x13, #9216
movk x13, #1, lsl #32
mov x14, x0
b LBB0_32
LBB0_29:
str x10, [x2]
Lloh2:
adrp x8, _MBEDTLS_ERR_BASE64_BUFFER_TOO_SMALL@GOTPAGE
Lloh3:
ldr x8, [x8, _MBEDTLS_ERR_BASE64_BUFFER_TOO_SMALL@GOTPAGEOFF]
Lloh4:
ldr w0, [x8]
ret
LBB0_30: ; in Loop: Header=BB0_32 Depth=1
mov x15, #0
LBB0_31: ; in Loop: Header=BB0_32 Depth=1
add x3, x3, #1
subs x9, x9, #1
b.eq LBB0_40
LBB0_32: ; =>This Inner Loop Header: Depth=1
ldrb w16, [x3]
cmp w16, #32
lsl x17, x11, x16
and x17, x17, x13
ccmp x17, #0, #4, ls
b.ne LBB0_31
; %bb.33: ; in Loop: Header=BB0_32 Depth=1
ldr x17, [x8]
ldr w17, [x17, x16, lsl #2]
cmp w17, #64
cset w16, eq
sub w12, w12, w16
lsl w16, w10, #6
mov x10, x16
bfxil w10, w17, #0, #6
add x15, x15, #1
cmp x15, #4
b.ne LBB0_31
; %bb.34: ; in Loop: Header=BB0_32 Depth=1
cmp w12, #1
b.lt LBB0_30
; %bb.35: ; in Loop: Header=BB0_32 Depth=1
lsr w15, w16, #16
mov x17, x14
strb w15, [x17], #1
cmp w12, #1
b.ne LBB0_37
; %bb.36: ; in Loop: Header=BB0_32 Depth=1
mov x15, #0
mov x14, x17
b LBB0_31
LBB0_37: ; in Loop: Header=BB0_32 Depth=1
lsr w15, w16, #8
strb w15, [x14, #1]
cmp w12, #3
b.lo LBB0_39
; %bb.38: ; in Loop: Header=BB0_32 Depth=1
mov x15, #0
strb w10, [x14, #2]
add x14, x14, #3
b LBB0_31
LBB0_39: ; in Loop: Header=BB0_32 Depth=1
mov x15, #0
add x14, x14, #2
mov w12, #2
b LBB0_31
LBB0_40:
sub x9, x14, x0
str x9, [x2]
mov w0, #0
ret
LBB0_41:
Lloh5:
adrp x8, _MBEDTLS_ERR_BASE64_INVALID_CHARACTER@GOTPAGE
Lloh6:
ldr x8, [x8, _MBEDTLS_ERR_BASE64_INVALID_CHARACTER@GOTPAGEOFF]
Lloh7:
ldr w0, [x8]
ret
LBB0_42:
mov x9, x4
cbnz x11, LBB0_25
LBB0_43:
str xzr, [x2]
mov w0, #0
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _MBEDTLS_ERR_BASE64_INVALID_CHARACTER,4,2 ; @MBEDTLS_ERR_BASE64_INVALID_CHARACTER
.comm _base64_dec_map,8,3 ; @base64_dec_map
.comm _MBEDTLS_ERR_BASE64_BUFFER_TOO_SMALL,4,2 ; @MBEDTLS_ERR_BASE64_BUFFER_TOO_SMALL
.subsections_via_symbols
|
AnghaBench/RetroArch/deps/mbedtls/extr_base64.c_mbedtls_base64_decode.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function duplicate_rel
_duplicate_rel: ## @duplicate_rel
.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
xorl %ebx, %ebx
testl %edx, %edx
je LBB0_3
## %bb.1:
movl %edi, %r14d
movslq %edx, %rax
leaq (%rsi,%rax,4), %rdi
leaq (%rsi,%rax,4), %r15
addq $-4, %r15
movq %r15, %rsi
callq _cmp_rel
testq %rax, %rax
jne LBB0_3
## %bb.2:
movl %r14d, %edi
movq %r15, %rsi
callq _is_zero_addend_relocation
xorl %ebx, %ebx
testq %rax, %rax
setne %bl
LBB0_3:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _duplicate_rel
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function duplicate_rel
_duplicate_rel: ; @duplicate_rel
.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
cbz w2, LBB0_2
; %bb.1:
mov x19, x0
add x0, x1, w2, sxtw #2
sub x20, x0, #4
mov x1, x20
bl _cmp_rel
cbz x0, LBB0_3
LBB0_2:
mov w0, #0
b LBB0_4
LBB0_3:
mov x0, x19
mov x1, x20
bl _is_zero_addend_relocation
cmp x0, #0
cset w0, ne
LBB0_4:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _duplicate_rel
.subsections_via_symbols
|
AnghaBench/linux/arch/arm/kernel/extr_module-plts.c_duplicate_rel.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function blkend
_blkend: ## @blkend
.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
addq $-8, %rax
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpq $0, 8(%rax)
leaq 8(%rax), %rax
jne LBB0_1
## %bb.2:
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _blkend
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function blkend
_blkend: ; @blkend
.cfi_startproc
; %bb.0:
sub x0, x0, #8
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [x0, #8]!
cbnz x8, LBB0_1
; %bb.2:
ret
.cfi_endproc
; -- End function
.no_dead_strip _blkend
.subsections_via_symbols
|
AnghaBench/freebsd/contrib/tcsh/extr_sh.misc.c_blkend.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function i5100_mtr_width
_i5100_mtr_width: ## @i5100_mtr_width
.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
shrl $8, %eax
andl $1, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _i5100_mtr_width
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function i5100_mtr_width
_i5100_mtr_width: ; @i5100_mtr_width
.cfi_startproc
; %bb.0:
ubfx w0, w0, #8, #1
ret
.cfi_endproc
; -- End function
.no_dead_strip _i5100_mtr_width
.subsections_via_symbols
|
AnghaBench/linux/drivers/edac/extr_i5100_edac.c_i5100_mtr_width.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ps3_vuart_disable_interrupt_rx ## -- Begin function ps3_vuart_disable_interrupt_rx
.p2align 4, 0x90
_ps3_vuart_disable_interrupt_rx: ## @ps3_vuart_disable_interrupt_rx
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
callq _to_port_priv
movl (%rax), %esi
movq _INTERRUPT_MASK_RX@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %esi, %eax
je LBB0_1
## %bb.2:
notl %eax
andl %eax, %esi
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _ps3_vuart_set_interrupt_mask ## TAILCALL
LBB0_1:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _INTERRUPT_MASK_RX,4,2 ## @INTERRUPT_MASK_RX
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ps3_vuart_disable_interrupt_rx ; -- Begin function ps3_vuart_disable_interrupt_rx
.p2align 2
_ps3_vuart_disable_interrupt_rx: ; @ps3_vuart_disable_interrupt_rx
.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 _to_port_priv
ldr w8, [x0]
Lloh0:
adrp x9, _INTERRUPT_MASK_RX@GOTPAGE
Lloh1:
ldr x9, [x9, _INTERRUPT_MASK_RX@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_2
; %bb.1:
bic w1, w8, w9
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _ps3_vuart_set_interrupt_mask
LBB0_2:
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _INTERRUPT_MASK_RX,4,2 ; @INTERRUPT_MASK_RX
.subsections_via_symbols
|
AnghaBench/fastsocket/kernel/drivers/ps3/extr_ps3-vuart.c_ps3_vuart_disable_interrupt_rx.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
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
leaq L_str(%rip), %rdi
callq _puts
callq _getuid
movl %eax, %ebx
callq _geteuid
leaq L_.str.1(%rip), %rdi
movl %ebx, %esi
movl %eax, %edx
xorl %eax, %eax
callq _printf
leaq L_.str.2(%rip), %rdi
movl $2, %esi
xorl %eax, %eax
callq _open
movl %eax, %ebx
cmpl $-1, %eax
jne LBB0_2
## %bb.1:
callq ___error
movl (%rax), %r14d
callq ___error
movl (%rax), %edi
callq _strerror
leaq L_.str.3(%rip), %rdi
movl %r14d, %esi
movq %rax, %rdx
xorl %eax, %eax
callq _printf
jmp LBB0_3
LBB0_2:
leaq L_str.5(%rip), %rdi
callq _puts
LBB0_3:
movl %ebx, %edi
callq _close
xorl %edi, %edi
callq _exit
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "Process's uid = %d,euid = %d\n"
L_.str.2: ## @.str.2
.asciz "test.c"
L_.str.3: ## @.str.3
.asciz "Open failure,errno is %d: %s\n"
L_str: ## @str
.asciz "uid study:"
L_str.5: ## @str.5
.asciz "Open successfully"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x0, l_str@PAGE
Lloh1:
add x0, x0, l_str@PAGEOFF
bl _puts
bl _getuid
mov x19, x0
bl _geteuid
; kill: def $w0 killed $w0 def $x0
stp x19, x0, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
mov w1, #2
bl _open
mov x19, x0
cmn w0, #1
b.ne LBB0_2
; %bb.1:
bl ___error
ldr w20, [x0]
bl ___error
ldr w0, [x0]
bl _strerror
stp x20, x0, [sp]
Lloh6:
adrp x0, l_.str.3@PAGE
Lloh7:
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_3
LBB0_2:
Lloh8:
adrp x0, l_str.5@PAGE
Lloh9:
add x0, x0, l_str.5@PAGEOFF
bl _puts
LBB0_3:
mov x0, x19
bl _close
mov w0, #0
bl _exit
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "Process's uid = %d,euid = %d\n"
l_.str.2: ; @.str.2
.asciz "test.c"
l_.str.3: ; @.str.3
.asciz "Open failure,errno is %d: %s\n"
l_str: ; @str
.asciz "uid study:"
l_str.5: ; @str.5
.asciz "Open successfully"
.subsections_via_symbols
|
the_stack_data/70099.c
|
stack
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function init
_init: ## @init
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %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 24(%rdi), %r12
movq 48(%r12), %rax
testq %rax, %rax
je LBB0_2
## %bb.1:
movq %rax, 16(%r14)
LBB0_2:
movl 40(%r12), %eax
movl %eax, 12(%r14)
movq %r14, -48(%rbp)
cmpl $0, 24(%r12)
je LBB0_6
## %bb.3:
jle LBB0_7
## %bb.4:
xorl %r13d, %r13d
leaq -48(%rbp), %r15
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq 32(%r12), %rsi
addq %r13, %rsi
movq %r15, %rdi
callq _mp_chmap_sel_add_map
incq %rbx
movslq 24(%r12), %rax
addq $4, %r13
cmpq %rax, %rbx
jl LBB0_5
jmp LBB0_7
LBB0_6:
leaq -48(%rbp), %rdi
callq _mp_chmap_sel_add_any
LBB0_7:
leaq 8(%r14), %r15
leaq -48(%rbp), %rsi
movq %r14, %rdi
movq %r15, %rdx
callq _ao_chmap_sel_adjust
testl %eax, %eax
jne LBB0_9
## %bb.8:
movq %r15, %rdi
movl $2, %esi
callq _mp_chmap_from_channels
LBB0_9:
movl (%r14), %ecx
movl 4(%r12), %esi
imull %ecx, %esi
movl %esi, (%r12)
imull 8(%r12), %ecx
leal 1(%rcx), %eax
cltd
idivl 12(%r12)
subl %edx, %esi
leal (%rcx,%rsi), %eax
incl %eax
movl %eax, 16(%r12)
xorl %eax, %eax
callq _mp_time_sec
movl %eax, 20(%r12)
movl 12(%r12), %eax
movl %eax, 4(%r14)
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _init
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function init
_init: ; @init
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
ldr x21, [x0, #24]
ldr x8, [x21, #48]
cbz x8, LBB0_2
; %bb.1:
str x8, [x19, #16]
LBB0_2:
ldr w8, [x21, #40]
str w8, [x19, #12]
str x19, [sp, #8]
ldr w8, [x21, #24]
cbz w8, LBB0_6
; %bb.3:
cmp w8, #1
b.lt LBB0_7
; %bb.4:
mov x20, #0
mov x22, #0
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr x8, [x21, #32]
add x1, x8, x20
add x0, sp, #8
bl _mp_chmap_sel_add_map
add x22, x22, #1
ldrsw x8, [x21, #24]
add x20, x20, #4
cmp x22, x8
b.lt LBB0_5
b LBB0_7
LBB0_6:
add x0, sp, #8
bl _mp_chmap_sel_add_any
LBB0_7:
add x20, x19, #8
add x1, sp, #8
mov x0, x19
mov x2, x20
bl _ao_chmap_sel_adjust
cbnz w0, LBB0_9
; %bb.8:
mov x0, x20
mov w1, #2
bl _mp_chmap_from_channels
LBB0_9:
ldr w8, [x19]
ldp w9, w10, [x21, #4]
mul w9, w8, w9
str w9, [x21]
orr w11, wzr, #0x1
madd w8, w10, w8, w11
ldr w10, [x21, #12]
sdiv w11, w8, w10
neg w12, w8
madd w10, w11, w10, w12
add w9, w9, w10
add w8, w9, w8
str w8, [x21, #16]
bl _mp_time_sec
str w0, [x21, #20]
ldr w8, [x21, #12]
str w8, [x19, #4]
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
.cfi_endproc
; -- End function
.no_dead_strip _init
.subsections_via_symbols
|
AnghaBench/mpv/audio/out/extr_ao_null.c_init.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function test_viewgetcolumninfo
_test_viewgetcolumninfo: ## @test_viewgetcolumninfo
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
xorl %eax, %eax
callq _create_db
movl %eax, %ebx
leaq L_.str(%rip), %rsi
movl %eax, %edi
callq _ok
leaq L_.str.1(%rip), %rdx
movl %ebx, %edi
xorl %esi, %esi
callq _run_query
movq _ERROR_SUCCESS@GOTPCREL(%rip), %rcx
xorl %edi, %edi
cmpq (%rcx), %rax
sete %dil
leaq L_.str.2(%rip), %rsi
callq _ok
movq _MSICOLINFO_TYPES@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq L_.str.3(%rip), %rsi
movl %ebx, %edi
callq _get_column_info
movl %eax, %r12d
leaq L_.str.4(%rip), %r13
movl %eax, %edi
movq %r13, %rsi
callq _ok
leaq L_.str.5(%rip), %rdx
movl %r12d, %edi
movl $1, %esi
callq _check_record
leaq L_.str.6(%rip), %r14
movl %eax, %edi
movq %r14, %rsi
callq _ok
leaq L_.str.7(%rip), %rdx
movl %r12d, %edi
movl $2, %esi
callq _check_record
movl %eax, %edi
movq %r14, %rsi
callq _ok
leaq L_.str.8(%rip), %r15
movl %r12d, %edi
movl $3, %esi
movq %r15, %rdx
callq _check_record
movl %eax, %edi
movq %r14, %rsi
callq _ok
movl %r12d, %edi
movl $4, %esi
movq %r15, %rdx
callq _check_record
movl %eax, %edi
movq %r14, %rsi
callq _ok
movl %r12d, %edi
movl $5, %esi
movq %r15, %rdx
callq _check_record
movl %eax, %edi
movq %r14, %rsi
callq _ok
leaq L_.str.9(%rip), %rdx
movl %r12d, %edi
movl $6, %esi
callq _check_record
movl %eax, %edi
movq %r14, %rsi
callq _ok
leaq L_.str.10(%rip), %r15
movl %r12d, %edi
movl $7, %esi
movq %r15, %rdx
callq _check_record
movl %eax, %edi
movq %r14, %rsi
callq _ok
movl %r12d, %edi
movl $8, %esi
movq %r15, %rdx
callq _check_record
movl %eax, %edi
movq %r14, %rsi
callq _ok
leaq L_.str.11(%rip), %rdx
movl %r12d, %edi
movl $9, %esi
callq _check_record
movl %eax, %edi
movq %r14, %rsi
callq _ok
movl %r12d, %edi
callq _MsiCloseHandle
leaq L_.str.12(%rip), %r12
movl %ebx, %edi
movq %r12, %rsi
movl $1, %edx
callq _get_columns_table_type
xorl %edi, %edi
cmpl $15871, %eax ## imm = 0x3DFF
sete %dil
leaq L_.str.13(%rip), %r15
movq %r15, %rsi
callq _ok
movl %ebx, %edi
movq %r12, %rsi
movl $2, %edx
callq _get_columns_table_type
xorl %edi, %edi
cmpl $7425, %eax ## imm = 0x1D01
sete %dil
movq %r15, %rsi
callq _ok
movl %ebx, %edi
movq %r12, %rsi
movl $3, %edx
callq _get_columns_table_type
xorl %edi, %edi
cmpl $5378, %eax ## imm = 0x1502
sete %dil
movq %r15, %rsi
callq _ok
movl %ebx, %edi
movq %r12, %rsi
movl $4, %edx
callq _get_columns_table_type
xorl %edi, %edi
cmpl $5378, %eax ## imm = 0x1502
sete %dil
movq %r15, %rsi
callq _ok
movl %ebx, %edi
movq %r12, %rsi
movl $5, %edx
callq _get_columns_table_type
xorl %edi, %edi
cmpl $5378, %eax ## imm = 0x1502
sete %dil
movq %r15, %rsi
callq _ok
movl %ebx, %edi
movq %r12, %rsi
movl $6, %edx
callq _get_columns_table_type
xorl %edi, %edi
cmpl $4356, %eax ## imm = 0x1104
sete %dil
movq %r15, %rsi
callq _ok
movl %ebx, %edi
movq %r12, %rsi
movl $7, %edx
callq _get_columns_table_type
xorl %edi, %edi
cmpl $7424, %eax ## imm = 0x1D00
sete %dil
movq %r15, %rsi
callq _ok
movl %ebx, %edi
movq %r12, %rsi
movl $8, %edx
callq _get_columns_table_type
xorl %edi, %edi
cmpl $7424, %eax ## imm = 0x1D00
sete %dil
movq %r15, %rsi
callq _ok
movl %ebx, %edi
movq %r12, %rsi
movl $9, %edx
callq _get_columns_table_type
xorl %edi, %edi
cmpl $7936, %eax ## imm = 0x1F00
sete %dil
movq %r15, %rsi
callq _ok
movq _MSICOLINFO_NAMES@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl %ebx, %edi
leaq L_.str.3(%rip), %rsi
callq _get_column_info
movl %eax, %r12d
movl %eax, %edi
movq %r13, %rsi
callq _ok
leaq L_.str.14(%rip), %rdx
movl %r12d, %edi
movl $1, %esi
callq _check_record
movl %eax, %edi
movq %r14, %rsi
callq _ok
leaq L_.str.15(%rip), %rdx
movl %r12d, %edi
movl $2, %esi
callq _check_record
movl %eax, %edi
movq %r14, %rsi
callq _ok
leaq L_.str.16(%rip), %rdx
movl %r12d, %edi
movl $3, %esi
callq _check_record
movl %eax, %edi
movq %r14, %rsi
callq _ok
leaq L_.str.17(%rip), %rdx
movl %r12d, %edi
movl $4, %esi
callq _check_record
movl %eax, %edi
movq %r14, %rsi
callq _ok
leaq L_.str.18(%rip), %rdx
movl %r12d, %edi
movl $5, %esi
callq _check_record
movl %eax, %edi
movq %r14, %rsi
callq _ok
leaq L_.str.19(%rip), %rdx
movl %r12d, %edi
movl $6, %esi
callq _check_record
movl %eax, %edi
movq %r14, %rsi
callq _ok
leaq L_.str.20(%rip), %rdx
movl %r12d, %edi
movl $7, %esi
callq _check_record
movl %eax, %edi
movq %r14, %rsi
callq _ok
leaq L_.str.21(%rip), %rdx
movl %r12d, %edi
movl $8, %esi
callq _check_record
movl %eax, %edi
movq %r14, %rsi
callq _ok
leaq L_.str.22(%rip), %rdx
movl %r12d, %edi
movl $9, %esi
callq _check_record
movl %eax, %edi
movq %r14, %rsi
callq _ok
movl %r12d, %edi
callq _MsiCloseHandle
leaq L_.str.23(%rip), %rdx
movl %ebx, %edi
xorl %esi, %esi
callq _run_query
xorl %edi, %edi
movq _ERROR_SUCCESS@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
sete %dil
leaq L_.str.2(%rip), %rsi
callq _ok
movq _MSICOLINFO_TYPES@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq L_.str.24(%rip), %rsi
movl %ebx, %edi
callq _get_column_info
movl %eax, %r15d
movl %eax, %edi
movq %r13, %rsi
callq _ok
movl %r15d, %edi
movl $1, %esi
leaq L_.str.5(%rip), %rdx
callq _check_record
movl %eax, %edi
movq %r14, %rsi
callq _ok
leaq L_.str.25(%rip), %rdx
movl %r15d, %edi
movl $2, %esi
callq _check_record
movl %eax, %edi
movq %r14, %rsi
callq _ok
movl %r15d, %edi
callq _MsiCloseHandle
leaq L_.str.26(%rip), %r15
movl %ebx, %edi
movq %r15, %rsi
movl $1, %edx
callq _get_columns_table_type
xorl %edi, %edi
cmpl $15871, %eax ## imm = 0x3DFF
sete %dil
leaq L_.str.13(%rip), %r12
movq %r12, %rsi
callq _ok
movl %ebx, %edi
movq %r15, %rsi
movl $2, %edx
callq _get_columns_table_type
xorl %edi, %edi
cmpl $6400, %eax ## imm = 0x1900
sete %dil
movq %r12, %rsi
callq _ok
movq _MSICOLINFO_NAMES@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl %ebx, %edi
leaq L_.str.24(%rip), %rsi
callq _get_column_info
movl %eax, %r12d
movl %eax, %edi
movq %r13, %rsi
callq _ok
leaq L_.str.27(%rip), %rdx
movl %r12d, %edi
movl $1, %esi
callq _check_record
movl %eax, %edi
movq %r14, %rsi
callq _ok
leaq L_.str.28(%rip), %rdx
movl %r12d, %edi
movl $2, %esi
callq _check_record
movl %eax, %edi
movq %r14, %rsi
callq _ok
movl %r12d, %edi
callq _MsiCloseHandle
leaq L_.str.29(%rip), %rdx
movl %ebx, %edi
xorl %esi, %esi
callq _run_query
xorl %edi, %edi
movq _ERROR_SUCCESS@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
sete %dil
leaq L_.str.2(%rip), %rsi
callq _ok
leaq L_.str.30(%rip), %r15
movl %ebx, %edi
movq %r15, %rsi
movl $1, %edx
callq _get_columns_table_type
xorl %edi, %edi
cmpl $11592, %eax ## imm = 0x2D48
sete %dil
leaq L_.str.13(%rip), %r12
movq %r12, %rsi
callq _ok
movl %ebx, %edi
movq %r15, %rsi
movl $2, %edx
callq _get_columns_table_type
xorl %edi, %edi
cmpl $8191, %eax ## imm = 0x1FFF
sete %dil
movq %r12, %rsi
callq _ok
movq _MSICOLINFO_NAMES@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq L_.str.31(%rip), %r12
movl %ebx, %edi
movq %r12, %rsi
callq _get_column_info
movl %eax, %r13d
movl %eax, %edi
leaq L_.str.4(%rip), %r15
movq %r15, %rsi
callq _ok
leaq L_.str.32(%rip), %rdx
movl %r13d, %edi
movl $1, %esi
callq _check_record
movl %eax, %edi
movq %r14, %rsi
callq _ok
leaq L_.str.33(%rip), %rdx
movl %r13d, %edi
movl $2, %esi
callq _check_record
movl %eax, %edi
movq %r14, %rsi
callq _ok
movl %r13d, %edi
callq _MsiCloseHandle
movq _MSICOLINFO_TYPES@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl %ebx, %edi
movq %r12, %rsi
callq _get_column_info
movl %eax, %r12d
movl %eax, %edi
movq %r15, %rsi
callq _ok
leaq L_.str.34(%rip), %rdx
movl %r12d, %edi
movl $1, %esi
callq _check_record
movl %eax, %edi
movq %r14, %rsi
callq _ok
leaq L_.str.35(%rip), %rdx
movl %r12d, %edi
movl $2, %esi
callq _check_record
movl %eax, %edi
movq %r14, %rsi
callq _ok
movl %r12d, %edi
callq _MsiCloseHandle
movl %ebx, %edi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _MsiCloseHandle ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "failed to create db\n"
L_.str.1: ## @.str.1
.asciz "CREATE TABLE `Properties` ( `Property` CHAR(255), `Value` CHAR(1), `Intvalue` INT, `Integervalue` INTEGER, `Shortvalue` SHORT, `Longvalue` LONG, `Longcharvalue` LONGCHAR, `Charvalue` CHAR, `Localizablevalue` CHAR LOCALIZABLE PRIMARY KEY `Property`)"
.comm _ERROR_SUCCESS,8,3 ## @ERROR_SUCCESS
L_.str.2: ## @.str.2
.asciz "Failed to create table\n"
L_.str.3: ## @.str.3
.asciz "select * from `Properties`"
.comm _MSICOLINFO_TYPES,4,2 ## @MSICOLINFO_TYPES
L_.str.4: ## @.str.4
.asciz "failed to get column info record\n"
L_.str.5: ## @.str.5
.asciz "S255"
L_.str.6: ## @.str.6
.asciz "wrong record type\n"
L_.str.7: ## @.str.7
.asciz "S1"
L_.str.8: ## @.str.8
.asciz "I2"
L_.str.9: ## @.str.9
.asciz "I4"
L_.str.10: ## @.str.10
.asciz "S0"
L_.str.11: ## @.str.11
.asciz "L0"
L_.str.12: ## @.str.12
.asciz "Properties"
L_.str.13: ## @.str.13
.asciz "_columns table wrong\n"
.comm _MSICOLINFO_NAMES,4,2 ## @MSICOLINFO_NAMES
L_.str.14: ## @.str.14
.asciz "Property"
L_.str.15: ## @.str.15
.asciz "Value"
L_.str.16: ## @.str.16
.asciz "Intvalue"
L_.str.17: ## @.str.17
.asciz "Integervalue"
L_.str.18: ## @.str.18
.asciz "Shortvalue"
L_.str.19: ## @.str.19
.asciz "Longvalue"
L_.str.20: ## @.str.20
.asciz "Longcharvalue"
L_.str.21: ## @.str.21
.asciz "Charvalue"
L_.str.22: ## @.str.22
.asciz "Localizablevalue"
L_.str.23: ## @.str.23
.asciz "CREATE TABLE `Binary` ( `Name` CHAR(255), `Data` OBJECT PRIMARY KEY `Name`)"
L_.str.24: ## @.str.24
.asciz "select * from `Binary`"
L_.str.25: ## @.str.25
.asciz "V0"
L_.str.26: ## @.str.26
.asciz "Binary"
L_.str.27: ## @.str.27
.asciz "Name"
L_.str.28: ## @.str.28
.asciz "Data"
L_.str.29: ## @.str.29
.asciz "CREATE TABLE `UIText` ( `Key` CHAR(72) NOT NULL, `Text` CHAR(255) LOCALIZABLE PRIMARY KEY `Key`)"
L_.str.30: ## @.str.30
.asciz "UIText"
L_.str.31: ## @.str.31
.asciz "select * from `UIText`"
L_.str.32: ## @.str.32
.asciz "Key"
L_.str.33: ## @.str.33
.asciz "Text"
L_.str.34: ## @.str.34
.asciz "s72"
L_.str.35: ## @.str.35
.asciz "L255"
.no_dead_strip _test_viewgetcolumninfo
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function test_viewgetcolumninfo
_test_viewgetcolumninfo: ; @test_viewgetcolumninfo
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.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
bl _create_db
mov x19, x0
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _ok
Lloh2:
adrp x2, l_.str.1@PAGE
Lloh3:
add x2, x2, l_.str.1@PAGEOFF
mov x0, x19
mov w1, #0 ; =0x0
bl _run_query
Lloh4:
adrp x22, _ERROR_SUCCESS@GOTPAGE
Lloh5:
ldr x22, [x22, _ERROR_SUCCESS@GOTPAGEOFF]
ldr x8, [x22]
cmp x0, x8
cset w0, eq
Lloh6:
adrp x21, l_.str.2@PAGE
Lloh7:
add x21, x21, l_.str.2@PAGEOFF
mov x1, x21
bl _ok
Lloh8:
adrp x8, _MSICOLINFO_TYPES@GOTPAGE
Lloh9:
ldr x8, [x8, _MSICOLINFO_TYPES@GOTPAGEOFF]
Lloh10:
ldr w2, [x8]
Lloh11:
adrp x25, l_.str.3@PAGE
Lloh12:
add x25, x25, l_.str.3@PAGEOFF
mov x0, x19
mov x1, x25
bl _get_column_info
mov x23, x0
Lloh13:
adrp x27, l_.str.4@PAGE
Lloh14:
add x27, x27, l_.str.4@PAGEOFF
mov x1, x27
bl _ok
Lloh15:
adrp x24, l_.str.5@PAGE
Lloh16:
add x24, x24, l_.str.5@PAGEOFF
mov x0, x23
mov w1, #1 ; =0x1
mov x2, x24
bl _check_record
Lloh17:
adrp x20, l_.str.6@PAGE
Lloh18:
add x20, x20, l_.str.6@PAGEOFF
mov x1, x20
bl _ok
Lloh19:
adrp x2, l_.str.7@PAGE
Lloh20:
add x2, x2, l_.str.7@PAGEOFF
mov x0, x23
mov w1, #2 ; =0x2
bl _check_record
mov x1, x20
bl _ok
Lloh21:
adrp x26, l_.str.8@PAGE
Lloh22:
add x26, x26, l_.str.8@PAGEOFF
mov x0, x23
mov w1, #3 ; =0x3
mov x2, x26
bl _check_record
mov x1, x20
bl _ok
mov x0, x23
mov w1, #4 ; =0x4
mov x2, x26
bl _check_record
mov x1, x20
bl _ok
mov x0, x23
mov w1, #5 ; =0x5
mov x2, x26
bl _check_record
mov x1, x20
bl _ok
Lloh23:
adrp x2, l_.str.9@PAGE
Lloh24:
add x2, x2, l_.str.9@PAGEOFF
mov x0, x23
mov w1, #6 ; =0x6
bl _check_record
mov x1, x20
bl _ok
Lloh25:
adrp x26, l_.str.10@PAGE
Lloh26:
add x26, x26, l_.str.10@PAGEOFF
mov x0, x23
mov w1, #7 ; =0x7
mov x2, x26
bl _check_record
mov x1, x20
bl _ok
mov x0, x23
mov w1, #8 ; =0x8
mov x2, x26
bl _check_record
mov x1, x20
bl _ok
Lloh27:
adrp x2, l_.str.11@PAGE
Lloh28:
add x2, x2, l_.str.11@PAGEOFF
mov x0, x23
mov w1, #9 ; =0x9
bl _check_record
mov x1, x20
bl _ok
mov x0, x23
bl _MsiCloseHandle
Lloh29:
adrp x26, l_.str.12@PAGE
Lloh30:
add x26, x26, l_.str.12@PAGEOFF
mov x0, x19
mov x1, x26
mov w2, #1 ; =0x1
bl _get_columns_table_type
mov w8, #15871 ; =0x3dff
cmp w0, w8
cset w0, eq
Lloh31:
adrp x23, l_.str.13@PAGE
Lloh32:
add x23, x23, l_.str.13@PAGEOFF
mov x1, x23
bl _ok
mov x0, x19
mov x1, x26
mov w2, #2 ; =0x2
bl _get_columns_table_type
mov w8, #7425 ; =0x1d01
cmp w0, w8
cset w0, eq
mov x1, x23
bl _ok
mov x0, x19
mov x1, x26
mov w2, #3 ; =0x3
bl _get_columns_table_type
mov w28, #5378 ; =0x1502
cmp w0, w28
cset w0, eq
mov x1, x23
bl _ok
mov x0, x19
mov x1, x26
mov w2, #4 ; =0x4
bl _get_columns_table_type
cmp w0, w28
cset w0, eq
mov x1, x23
bl _ok
mov x0, x19
mov x1, x26
mov w2, #5 ; =0x5
bl _get_columns_table_type
cmp w0, w28
cset w0, eq
mov x1, x23
bl _ok
mov x0, x19
mov x1, x26
mov w2, #6 ; =0x6
bl _get_columns_table_type
mov w8, #4356 ; =0x1104
cmp w0, w8
cset w0, eq
mov x1, x23
bl _ok
mov x0, x19
mov x1, x26
mov w2, #7 ; =0x7
bl _get_columns_table_type
mov w28, #7424 ; =0x1d00
cmp w0, w28
cset w0, eq
mov x1, x23
bl _ok
mov x0, x19
mov x1, x26
mov w2, #8 ; =0x8
bl _get_columns_table_type
cmp w0, w28
cset w0, eq
mov x1, x23
bl _ok
mov x0, x19
mov x1, x26
mov w2, #9 ; =0x9
bl _get_columns_table_type
mov w8, #7936 ; =0x1f00
cmp w0, w8
cset w0, eq
mov x1, x23
bl _ok
Lloh33:
adrp x8, _MSICOLINFO_NAMES@GOTPAGE
Lloh34:
ldr x8, [x8, _MSICOLINFO_NAMES@GOTPAGEOFF]
Lloh35:
ldr w2, [x8]
mov x0, x19
mov x1, x25
bl _get_column_info
mov x25, x0
mov x1, x27
bl _ok
Lloh36:
adrp x2, l_.str.14@PAGE
Lloh37:
add x2, x2, l_.str.14@PAGEOFF
mov x0, x25
mov w1, #1 ; =0x1
bl _check_record
mov x1, x20
bl _ok
Lloh38:
adrp x2, l_.str.15@PAGE
Lloh39:
add x2, x2, l_.str.15@PAGEOFF
mov x0, x25
mov w1, #2 ; =0x2
bl _check_record
mov x1, x20
bl _ok
Lloh40:
adrp x2, l_.str.16@PAGE
Lloh41:
add x2, x2, l_.str.16@PAGEOFF
mov x0, x25
mov w1, #3 ; =0x3
bl _check_record
mov x1, x20
bl _ok
Lloh42:
adrp x2, l_.str.17@PAGE
Lloh43:
add x2, x2, l_.str.17@PAGEOFF
mov x0, x25
mov w1, #4 ; =0x4
bl _check_record
mov x1, x20
bl _ok
Lloh44:
adrp x2, l_.str.18@PAGE
Lloh45:
add x2, x2, l_.str.18@PAGEOFF
mov x0, x25
mov w1, #5 ; =0x5
bl _check_record
mov x1, x20
bl _ok
Lloh46:
adrp x2, l_.str.19@PAGE
Lloh47:
add x2, x2, l_.str.19@PAGEOFF
mov x0, x25
mov w1, #6 ; =0x6
bl _check_record
mov x1, x20
bl _ok
Lloh48:
adrp x2, l_.str.20@PAGE
Lloh49:
add x2, x2, l_.str.20@PAGEOFF
mov x0, x25
mov w1, #7 ; =0x7
bl _check_record
mov x1, x20
bl _ok
Lloh50:
adrp x2, l_.str.21@PAGE
Lloh51:
add x2, x2, l_.str.21@PAGEOFF
mov x0, x25
mov w1, #8 ; =0x8
bl _check_record
mov x1, x20
bl _ok
Lloh52:
adrp x2, l_.str.22@PAGE
Lloh53:
add x2, x2, l_.str.22@PAGEOFF
mov x0, x25
mov w1, #9 ; =0x9
bl _check_record
mov x1, x20
bl _ok
mov x0, x25
bl _MsiCloseHandle
Lloh54:
adrp x2, l_.str.23@PAGE
Lloh55:
add x2, x2, l_.str.23@PAGEOFF
mov x0, x19
mov w1, #0 ; =0x0
bl _run_query
ldr x8, [x22]
cmp x0, x8
cset w0, eq
mov x1, x21
bl _ok
Lloh56:
adrp x28, _MSICOLINFO_TYPES@GOTPAGE
Lloh57:
ldr x28, [x28, _MSICOLINFO_TYPES@GOTPAGEOFF]
ldr w2, [x28]
Lloh58:
adrp x25, l_.str.24@PAGE
Lloh59:
add x25, x25, l_.str.24@PAGEOFF
mov x0, x19
mov x1, x25
bl _get_column_info
mov x26, x0
mov x1, x27
bl _ok
mov x0, x26
mov w1, #1 ; =0x1
mov x2, x24
bl _check_record
mov x1, x20
bl _ok
Lloh60:
adrp x2, l_.str.25@PAGE
Lloh61:
add x2, x2, l_.str.25@PAGEOFF
mov x0, x26
mov w1, #2 ; =0x2
bl _check_record
mov x1, x20
bl _ok
mov x0, x26
bl _MsiCloseHandle
Lloh62:
adrp x24, l_.str.26@PAGE
Lloh63:
add x24, x24, l_.str.26@PAGEOFF
mov x0, x19
mov x1, x24
mov w2, #1 ; =0x1
bl _get_columns_table_type
mov w8, #15871 ; =0x3dff
cmp w0, w8
cset w0, eq
mov x1, x23
bl _ok
mov x0, x19
mov x1, x24
mov w2, #2 ; =0x2
bl _get_columns_table_type
mov w8, #6400 ; =0x1900
cmp w0, w8
cset w0, eq
mov x1, x23
bl _ok
Lloh64:
adrp x26, _MSICOLINFO_NAMES@GOTPAGE
Lloh65:
ldr x26, [x26, _MSICOLINFO_NAMES@GOTPAGEOFF]
ldr w2, [x26]
mov x0, x19
mov x1, x25
bl _get_column_info
mov x24, x0
mov x1, x27
bl _ok
Lloh66:
adrp x2, l_.str.27@PAGE
Lloh67:
add x2, x2, l_.str.27@PAGEOFF
mov x0, x24
mov w1, #1 ; =0x1
bl _check_record
mov x1, x20
bl _ok
Lloh68:
adrp x2, l_.str.28@PAGE
Lloh69:
add x2, x2, l_.str.28@PAGEOFF
mov x0, x24
mov w1, #2 ; =0x2
bl _check_record
mov x1, x20
bl _ok
mov x0, x24
bl _MsiCloseHandle
Lloh70:
adrp x2, l_.str.29@PAGE
Lloh71:
add x2, x2, l_.str.29@PAGEOFF
mov x0, x19
mov w1, #0 ; =0x0
bl _run_query
ldr x8, [x22]
cmp x0, x8
cset w0, eq
mov x1, x21
bl _ok
Lloh72:
adrp x22, l_.str.30@PAGE
Lloh73:
add x22, x22, l_.str.30@PAGEOFF
mov x0, x19
mov x1, x22
mov w2, #1 ; =0x1
bl _get_columns_table_type
mov w8, #11592 ; =0x2d48
cmp w0, w8
cset w0, eq
mov x1, x23
bl _ok
mov x0, x19
mov x1, x22
mov w2, #2 ; =0x2
bl _get_columns_table_type
mov w8, #8191 ; =0x1fff
cmp w0, w8
cset w0, eq
mov x1, x23
bl _ok
ldr w2, [x26]
Lloh74:
adrp x22, l_.str.31@PAGE
Lloh75:
add x22, x22, l_.str.31@PAGEOFF
mov x0, x19
mov x1, x22
bl _get_column_info
mov x23, x0
mov x1, x27
bl _ok
Lloh76:
adrp x2, l_.str.32@PAGE
Lloh77:
add x2, x2, l_.str.32@PAGEOFF
mov x0, x23
mov w1, #1 ; =0x1
bl _check_record
mov x1, x20
bl _ok
Lloh78:
adrp x2, l_.str.33@PAGE
Lloh79:
add x2, x2, l_.str.33@PAGEOFF
mov x0, x23
mov w1, #2 ; =0x2
bl _check_record
mov x1, x20
bl _ok
mov x0, x23
bl _MsiCloseHandle
ldr w2, [x28]
mov x0, x19
mov x1, x22
bl _get_column_info
mov x22, x0
mov x1, x27
bl _ok
Lloh80:
adrp x2, l_.str.34@PAGE
Lloh81:
add x2, x2, l_.str.34@PAGEOFF
mov x0, x22
mov w1, #1 ; =0x1
bl _check_record
mov x1, x20
bl _ok
Lloh82:
adrp x2, l_.str.35@PAGE
Lloh83:
add x2, x2, l_.str.35@PAGEOFF
mov x0, x22
mov w1, #2 ; =0x2
bl _check_record
mov x1, x20
bl _ok
mov x0, x22
bl _MsiCloseHandle
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
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
b _MsiCloseHandle
.loh AdrpAdd Lloh82, Lloh83
.loh AdrpAdd Lloh80, Lloh81
.loh AdrpAdd Lloh78, Lloh79
.loh AdrpAdd Lloh76, Lloh77
.loh AdrpAdd Lloh74, Lloh75
.loh AdrpAdd Lloh72, Lloh73
.loh AdrpAdd Lloh70, Lloh71
.loh AdrpAdd Lloh68, Lloh69
.loh AdrpAdd Lloh66, Lloh67
.loh AdrpLdrGot Lloh64, Lloh65
.loh AdrpAdd Lloh62, Lloh63
.loh AdrpAdd Lloh60, Lloh61
.loh AdrpAdd Lloh58, Lloh59
.loh AdrpLdrGot Lloh56, Lloh57
.loh AdrpAdd Lloh54, Lloh55
.loh AdrpAdd Lloh52, Lloh53
.loh AdrpAdd Lloh50, Lloh51
.loh AdrpAdd Lloh48, Lloh49
.loh AdrpAdd Lloh46, Lloh47
.loh AdrpAdd Lloh44, Lloh45
.loh AdrpAdd Lloh42, Lloh43
.loh AdrpAdd Lloh40, Lloh41
.loh AdrpAdd Lloh38, Lloh39
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.loh AdrpAdd Lloh31, Lloh32
.loh AdrpAdd Lloh29, Lloh30
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "failed to create db\n"
l_.str.1: ; @.str.1
.asciz "CREATE TABLE `Properties` ( `Property` CHAR(255), `Value` CHAR(1), `Intvalue` INT, `Integervalue` INTEGER, `Shortvalue` SHORT, `Longvalue` LONG, `Longcharvalue` LONGCHAR, `Charvalue` CHAR, `Localizablevalue` CHAR LOCALIZABLE PRIMARY KEY `Property`)"
.comm _ERROR_SUCCESS,8,3 ; @ERROR_SUCCESS
l_.str.2: ; @.str.2
.asciz "Failed to create table\n"
l_.str.3: ; @.str.3
.asciz "select * from `Properties`"
.comm _MSICOLINFO_TYPES,4,2 ; @MSICOLINFO_TYPES
l_.str.4: ; @.str.4
.asciz "failed to get column info record\n"
l_.str.5: ; @.str.5
.asciz "S255"
l_.str.6: ; @.str.6
.asciz "wrong record type\n"
l_.str.7: ; @.str.7
.asciz "S1"
l_.str.8: ; @.str.8
.asciz "I2"
l_.str.9: ; @.str.9
.asciz "I4"
l_.str.10: ; @.str.10
.asciz "S0"
l_.str.11: ; @.str.11
.asciz "L0"
l_.str.12: ; @.str.12
.asciz "Properties"
l_.str.13: ; @.str.13
.asciz "_columns table wrong\n"
.comm _MSICOLINFO_NAMES,4,2 ; @MSICOLINFO_NAMES
l_.str.14: ; @.str.14
.asciz "Property"
l_.str.15: ; @.str.15
.asciz "Value"
l_.str.16: ; @.str.16
.asciz "Intvalue"
l_.str.17: ; @.str.17
.asciz "Integervalue"
l_.str.18: ; @.str.18
.asciz "Shortvalue"
l_.str.19: ; @.str.19
.asciz "Longvalue"
l_.str.20: ; @.str.20
.asciz "Longcharvalue"
l_.str.21: ; @.str.21
.asciz "Charvalue"
l_.str.22: ; @.str.22
.asciz "Localizablevalue"
l_.str.23: ; @.str.23
.asciz "CREATE TABLE `Binary` ( `Name` CHAR(255), `Data` OBJECT PRIMARY KEY `Name`)"
l_.str.24: ; @.str.24
.asciz "select * from `Binary`"
l_.str.25: ; @.str.25
.asciz "V0"
l_.str.26: ; @.str.26
.asciz "Binary"
l_.str.27: ; @.str.27
.asciz "Name"
l_.str.28: ; @.str.28
.asciz "Data"
l_.str.29: ; @.str.29
.asciz "CREATE TABLE `UIText` ( `Key` CHAR(72) NOT NULL, `Text` CHAR(255) LOCALIZABLE PRIMARY KEY `Key`)"
l_.str.30: ; @.str.30
.asciz "UIText"
l_.str.31: ; @.str.31
.asciz "select * from `UIText`"
l_.str.32: ; @.str.32
.asciz "Key"
l_.str.33: ; @.str.33
.asciz "Text"
l_.str.34: ; @.str.34
.asciz "s72"
l_.str.35: ; @.str.35
.asciz "L255"
.no_dead_strip _test_viewgetcolumninfo
.subsections_via_symbols
|
assembly_file_135182.c
|
assembly_dataset
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _matrix_master_scan ## -- Begin function matrix_master_scan
.p2align 4, 0x90
_matrix_master_scan: ## @matrix_master_scan
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
xorl %eax, %eax
callq __matrix_scan
movl %eax, %r15d
movq _ROWS_PER_HAND@GOTPCREL(%rip), %r14
movl (%r14), %eax
testl %eax, %eax
jle LBB0_18
## %bb.1:
movq _isLeftHand@GOTPCREL(%rip), %rcx
xorl %edx, %edx
cmpq $0, (%rcx)
movq _matrix@GOTPCREL(%rip), %rcx
movq (%rcx), %r8
movq _serial_master_buffer@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movl $0, %r9d
cmoveq %rax, %r9
cmpl $4, %eax
jb LBB0_12
## %bb.2:
leaq (%r8,%r9,8), %rdx
movq %rcx, %rsi
subq %rdx, %rsi
cmpq $32, %rsi
jae LBB0_4
## %bb.3:
xorl %edx, %edx
jmp LBB0_12
LBB0_4:
movl %eax, %edx
andl $-4, %edx
leaq -4(%rdx), %rsi
movq %rsi, %rbx
shrq $2, %rbx
incq %rbx
movl %ebx, %r10d
andl $3, %r10d
cmpq $12, %rsi
jae LBB0_6
## %bb.5:
xorl %edi, %edi
jmp LBB0_8
LBB0_6:
andq $-4, %rbx
leaq (%r8,%r9,8), %rsi
addq $112, %rsi
xorl %edi, %edi
.p2align 4, 0x90
LBB0_7: ## =>This Inner Loop Header: Depth=1
movups -112(%rsi,%rdi,8), %xmm0
movups -96(%rsi,%rdi,8), %xmm1
movups %xmm0, (%rcx,%rdi,8)
movups %xmm1, 16(%rcx,%rdi,8)
movups -80(%rsi,%rdi,8), %xmm0
movups -64(%rsi,%rdi,8), %xmm1
movups %xmm0, 32(%rcx,%rdi,8)
movups %xmm1, 48(%rcx,%rdi,8)
movups -48(%rsi,%rdi,8), %xmm0
movups -32(%rsi,%rdi,8), %xmm1
movups %xmm0, 64(%rcx,%rdi,8)
movups %xmm1, 80(%rcx,%rdi,8)
movups -16(%rsi,%rdi,8), %xmm0
movups (%rsi,%rdi,8), %xmm1
movups %xmm0, 96(%rcx,%rdi,8)
movups %xmm1, 112(%rcx,%rdi,8)
addq $16, %rdi
addq $-4, %rbx
jne LBB0_7
LBB0_8:
testq %r10, %r10
je LBB0_11
## %bb.9:
leaq (%rcx,%rdi,8), %rsi
addq $16, %rsi
addq %r9, %rdi
leaq (%r8,%rdi,8), %rdi
addq $16, %rdi
shlq $5, %r10
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_10: ## =>This Inner Loop Header: Depth=1
movups -16(%rdi,%rbx), %xmm0
movups (%rdi,%rbx), %xmm1
movups %xmm0, -16(%rsi,%rbx)
movups %xmm1, (%rsi,%rbx)
addq $32, %rbx
cmpq %rbx, %r10
jne LBB0_10
LBB0_11:
cmpq %rax, %rdx
je LBB0_18
LBB0_12:
movq %rdx, %r10
notq %r10
addq %rax, %r10
movq %rax, %rdi
andq $3, %rdi
je LBB0_15
## %bb.13:
leaq (%r8,%r9,8), %rbx
.p2align 4, 0x90
LBB0_14: ## =>This Inner Loop Header: Depth=1
movq (%rbx,%rdx,8), %rsi
movq %rsi, (%rcx,%rdx,8)
incq %rdx
decq %rdi
jne LBB0_14
LBB0_15:
cmpq $3, %r10
jb LBB0_18
## %bb.16:
leaq (%r8,%r9,8), %rsi
addq $24, %rsi
.p2align 4, 0x90
LBB0_17: ## =>This Inner Loop Header: Depth=1
movq -24(%rsi,%rdx,8), %rdi
movq %rdi, (%rcx,%rdx,8)
movq -16(%rsi,%rdx,8), %rdi
movq %rdi, 8(%rcx,%rdx,8)
movq -8(%rsi,%rdx,8), %rdi
movq %rdi, 16(%rcx,%rdx,8)
movq (%rsi,%rdx,8), %rdi
movq %rdi, 24(%rcx,%rdx,8)
addq $4, %rdx
cmpq %rdx, %rax
jne LBB0_17
LBB0_18:
xorl %eax, %eax
callq _serial_transaction
testq %rax, %rax
je LBB0_22
## %bb.19:
movq _error_count@GOTPCREL(%rip), %rax
movq (%rax), %rcx
leaq 1(%rcx), %rdx
movq %rdx, (%rax)
movq _ERROR_DISCONNECT_COUNT@GOTPCREL(%rip), %rax
cmpq (%rax), %rcx
jl LBB0_23
## %bb.20:
movl (%r14), %esi
testl %esi, %esi
jle LBB0_23
## %bb.21:
movq _isLeftHand@GOTPCREL(%rip), %rax
movq (%rax), %rdi
testq %rdi, %rdi
movq _matrix@GOTPCREL(%rip), %rax
cmovneq %rsi, %rdi
shlq $3, %rdi
addq (%rax), %rdi
shlq $3, %rsi
callq ___bzero
jmp LBB0_23
LBB0_22:
movq _error_count@GOTPCREL(%rip), %rax
movq $0, (%rax)
LBB0_23:
xorl %eax, %eax
callq _matrix_scan_quantum
movl %r15d, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _isLeftHand,8,3 ## @isLeftHand
.comm _ROWS_PER_HAND,4,2 ## @ROWS_PER_HAND
.comm _matrix,8,3 ## @matrix
.comm _serial_master_buffer,8,3 ## @serial_master_buffer
.comm _TXLED1,4,2 ## @TXLED1
.comm _error_count,8,3 ## @error_count
.comm _ERROR_DISCONNECT_COUNT,8,3 ## @ERROR_DISCONNECT_COUNT
.comm _TXLED0,4,2 ## @TXLED0
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _matrix_master_scan ; -- Begin function matrix_master_scan
.p2align 2
_matrix_master_scan: ; @matrix_master_scan
.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 __matrix_scan
mov x19, x0
Lloh0:
adrp x20, _ROWS_PER_HAND@GOTPAGE
Lloh1:
ldr x20, [x20, _ROWS_PER_HAND@GOTPAGEOFF]
ldr w8, [x20]
cmp w8, #1
b.lt LBB0_9
; %bb.1:
mov x11, #0
Lloh2:
adrp x9, _isLeftHand@GOTPAGE
Lloh3:
ldr x9, [x9, _isLeftHand@GOTPAGEOFF]
Lloh4:
ldr x12, [x9]
Lloh5:
adrp x9, _matrix@GOTPAGE
Lloh6:
ldr x9, [x9, _matrix@GOTPAGEOFF]
Lloh7:
ldr x9, [x9]
Lloh8:
adrp x10, _serial_master_buffer@GOTPAGE
Lloh9:
ldr x10, [x10, _serial_master_buffer@GOTPAGEOFF]
Lloh10:
ldr x10, [x10]
cmp x12, #0
csel x12, x8, xzr, eq
cmp w8, #8
b.lo LBB0_7
; %bb.2:
add x14, x9, x12, lsl #3
sub x11, x10, x14
cmp x11, #64
b.hs LBB0_4
; %bb.3:
mov x11, #0
b LBB0_7
LBB0_4:
and x11, x8, #0xfffffff8
add x13, x10, #32
add x14, x14, #32
mov x15, x11
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldp q0, q1, [x14, #-32]
ldp q2, q3, [x14], #64
stp q0, q1, [x13, #-32]
stp q2, q3, [x13], #64
subs x15, x15, #8
b.ne LBB0_5
; %bb.6:
cmp x11, x8
b.eq LBB0_9
LBB0_7:
add x12, x12, x11
add x9, x9, x12, lsl #3
add x10, x10, x11, lsl #3
sub x8, x8, x11
LBB0_8: ; =>This Inner Loop Header: Depth=1
ldr x11, [x9], #8
str x11, [x10], #8
subs x8, x8, #1
b.ne LBB0_8
LBB0_9:
bl _serial_transaction
Lloh11:
adrp x8, _error_count@GOTPAGE
Lloh12:
ldr x8, [x8, _error_count@GOTPAGEOFF]
cbz x0, LBB0_13
; %bb.10:
ldr x9, [x8]
add x10, x9, #1
str x10, [x8]
Lloh13:
adrp x8, _ERROR_DISCONNECT_COUNT@GOTPAGE
Lloh14:
ldr x8, [x8, _ERROR_DISCONNECT_COUNT@GOTPAGEOFF]
Lloh15:
ldr x8, [x8]
cmp x9, x8
b.lt LBB0_14
; %bb.11:
ldr w8, [x20]
cmp w8, #1
b.lt LBB0_14
; %bb.12:
Lloh16:
adrp x9, _isLeftHand@GOTPAGE
Lloh17:
ldr x9, [x9, _isLeftHand@GOTPAGEOFF]
Lloh18:
adrp x10, _matrix@GOTPAGE
Lloh19:
ldr x10, [x10, _matrix@GOTPAGEOFF]
Lloh20:
ldr x9, [x9]
Lloh21:
ldr x10, [x10]
cmp x9, #0
csel x9, xzr, x8, eq
add x0, x10, x9, lsl #3
lsl x1, x8, #3
bl _bzero
b LBB0_14
LBB0_13:
str xzr, [x8]
LBB0_14:
bl _matrix_scan_quantum
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh21
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh20
.cfi_endproc
; -- End function
.comm _isLeftHand,8,3 ; @isLeftHand
.comm _ROWS_PER_HAND,4,2 ; @ROWS_PER_HAND
.comm _matrix,8,3 ; @matrix
.comm _serial_master_buffer,8,3 ; @serial_master_buffer
.comm _TXLED1,4,2 ; @TXLED1
.comm _error_count,8,3 ; @error_count
.comm _ERROR_DISCONNECT_COUNT,8,3 ; @ERROR_DISCONNECT_COUNT
.comm _TXLED0,4,2 ; @TXLED0
.subsections_via_symbols
|
AnghaBench/qmk_firmware/keyboards/ergoinu/extr_matrix.c_matrix_master_scan.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mrb_irep_decref ## -- Begin function mrb_irep_decref
.p2align 4, 0x90
_mrb_irep_decref: ## @mrb_irep_decref
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
decq (%rsi)
je LBB0_2
## %bb.1:
popq %rbp
retq
LBB0_2:
popq %rbp
jmp _mrb_irep_free ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mrb_irep_decref ; -- Begin function mrb_irep_decref
.p2align 2
_mrb_irep_decref: ; @mrb_irep_decref
.cfi_startproc
; %bb.0:
ldr x8, [x1]
subs x8, x8, #1
str x8, [x1]
b.eq LBB0_2
; %bb.1:
ret
LBB0_2:
b _mrb_irep_free
.cfi_endproc
; -- End function
.subsections_via_symbols
|
AnghaBench/h2o/deps/mruby/src/extr_state.c_mrb_irep_decref.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _getzoneidbyname ## -- Begin function getzoneidbyname
.p2align 4, 0x90
_getzoneidbyname: ## @getzoneidbyname
.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:
movq _GLOBAL_ZONEID_NAME@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _strcmp
testq %rax, %rax
jne LBB0_2
LBB0_3:
movq _GLOBAL_ZONEID@GOTPCREL(%rip), %rax
jmp LBB0_4
LBB0_2:
movq _EINVAL@GOTPCREL(%rip), %rax
LBB0_4:
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _GLOBAL_ZONEID,4,2 ## @GLOBAL_ZONEID
.comm _GLOBAL_ZONEID_NAME,4,2 ## @GLOBAL_ZONEID_NAME
.comm _EINVAL,4,2 ## @EINVAL
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _getzoneidbyname ; -- Begin function getzoneidbyname
.p2align 2
_getzoneidbyname: ; @getzoneidbyname
.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, _GLOBAL_ZONEID@GOTPAGE
Lloh1:
ldr x19, [x19, _GLOBAL_ZONEID@GOTPAGEOFF]
cbz x0, LBB0_2
; %bb.1:
Lloh2:
adrp x8, _GLOBAL_ZONEID_NAME@GOTPAGE
Lloh3:
ldr x8, [x8, _GLOBAL_ZONEID_NAME@GOTPAGEOFF]
Lloh4:
ldr w1, [x8]
bl _strcmp
Lloh5:
adrp x8, _EINVAL@GOTPAGE
Lloh6:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
cmp x0, #0
csel x19, x19, x8, eq
LBB0_2:
ldr w0, [x19]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _GLOBAL_ZONEID,4,2 ; @GLOBAL_ZONEID
.comm _GLOBAL_ZONEID_NAME,4,2 ; @GLOBAL_ZONEID_NAME
.comm _EINVAL,4,2 ; @EINVAL
.subsections_via_symbols
|
AnghaBench/zfs/lib/libspl/extr_zone.c_getzoneidbyname.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str(%rip), %rdi
movl $1537, %esi ## imm = 0x601
movl $436, %edx ## imm = 0x1B4
xorl %eax, %eax
callq _open
cmpl $-1, %eax
leaq L_str.3(%rip), %rax
leaq L_str(%rip), %rdi
cmoveq %rax, %rdi
callq _puts
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "/home/jonah/linux_sys_prog/test.txt"
L_str: ## @str
.asciz "no wuh-oh!"
L_str.3: ## @str.3
.asciz "wuh-oh"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #436
str x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
mov w1, #1537
bl _open
Lloh2:
adrp x8, l_str@PAGE
Lloh3:
add x8, x8, l_str@PAGEOFF
Lloh4:
adrp x9, l_str.3@PAGE
Lloh5:
add x9, x9, l_str.3@PAGEOFF
cmn w0, #1
csel x0, x9, x8, eq
bl _puts
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
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 "/home/jonah/linux_sys_prog/test.txt"
l_str: ; @str
.asciz "no wuh-oh!"
l_str.3: ; @str.3
.asciz "wuh-oh"
.subsections_via_symbols
|
the_stack_data/159515045.c
|
stack
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _free_item ## -- Begin function free_item
.p2align 4, 0x90
_free_item: ## @free_item
.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 _item_tree@GOTPCREL(%rip), %r14
movq (%r14), %rdi
movl (%rbx), %esi
movq 16(%rbx), %rdx
callq _tree_delete
movq %rax, (%r14)
movq _items_count@GOTPCREL(%rip), %rdx
movq (%rdx), %rcx
decq %rcx
movq %rcx, (%rdx)
testq %rax, %rax
je LBB0_2
## %bb.1:
cmpq %rcx, (%rax)
jmp LBB0_3
LBB0_2:
testq %rcx, %rcx
LBB0_3:
sete %al
movzbl %al, %edi
callq _assert
movl (%rbx), %esi
testl %esi, %esi
je LBB0_5
## %bb.4:
movq 16(%rbx), %rdi
shll $2, %esi
callq _zzfree
movl (%rbx), %eax
movq _items_memory@GOTPCREL(%rip), %rcx
shll $2, %eax
subl %eax, (%rcx)
LBB0_5:
movl 4(%rbx), %esi
testl %esi, %esi
je LBB0_7
## %bb.6:
movq 8(%rbx), %rdi
shll $2, %esi
callq _zzfree
movl 4(%rbx), %eax
movq _items_memory@GOTPCREL(%rip), %rcx
shll $2, %eax
subl %eax, (%rcx)
LBB0_7:
movq %rbx, %rdi
movl $24, %esi
callq _zzfree
movq _items_memory@GOTPCREL(%rip), %rax
addl $-24, (%rax)
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _item_tree,8,3 ## @item_tree
.comm _items_count,8,3 ## @items_count
.comm _items_memory,4,2 ## @items_memory
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _free_item ; -- Begin function free_item
.p2align 2
_free_item: ; @free_item
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
Lloh0:
adrp x20, _item_tree@GOTPAGE
Lloh1:
ldr x20, [x20, _item_tree@GOTPAGEOFF]
ldr x0, [x20]
ldr w1, [x19]
ldr x2, [x19, #16]
bl _tree_delete
str x0, [x20]
Lloh2:
adrp x9, _items_count@GOTPAGE
Lloh3:
ldr x9, [x9, _items_count@GOTPAGEOFF]
ldr x8, [x9]
sub x8, x8, #1
str x8, [x9]
cbz x0, LBB0_2
; %bb.1:
ldr x9, [x0]
cmp x9, x8
b LBB0_3
LBB0_2:
cmp x8, #0
LBB0_3:
cset w0, eq
bl _assert
ldr w8, [x19]
Lloh4:
adrp x20, _items_memory@GOTPAGE
Lloh5:
ldr x20, [x20, _items_memory@GOTPAGEOFF]
cbz w8, LBB0_5
; %bb.4:
ldr x0, [x19, #16]
lsl w1, w8, #2
bl _zzfree
ldr w8, [x19]
ldr w9, [x20]
sub w8, w9, w8, lsl #2
str w8, [x20]
LBB0_5:
ldr w8, [x19, #4]
cbz w8, LBB0_7
; %bb.6:
ldr x0, [x19, #8]
lsl w1, w8, #2
bl _zzfree
ldr w8, [x19, #4]
ldr w9, [x20]
sub w8, w9, w8, lsl #2
str w8, [x20]
LBB0_7:
mov x0, x19
mov w1, #24
bl _zzfree
ldr w8, [x20]
sub w8, w8, #24
str w8, [x20]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _item_tree,8,3 ; @item_tree
.comm _items_count,8,3 ; @items_count
.comm _items_memory,4,2 ; @items_memory
.subsections_via_symbols
|
AnghaBench/kphp-kdb/seqmap/extr_seqmap-data.c_free_item.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sfxge_tx_stop ## -- Begin function sfxge_tx_stop
.p2align 4, 0x90
_sfxge_tx_stop: ## @sfxge_tx_stop
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %r14
movl (%rdi), %ebx
testl %ebx, %ebx
jle LBB0_3
## %bb.1:
incl %ebx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
leal -2(%rbx), %esi
movq %r14, %rdi
callq _sfxge_tx_qstop
decl %ebx
cmpl $1, %ebx
ja LBB0_2
LBB0_3:
movl 4(%r14), %edi
popq %rbx
popq %r14
popq %rbp
jmp _efx_tx_fini ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sfxge_tx_stop ; -- Begin function sfxge_tx_stop
.p2align 2
_sfxge_tx_stop: ; @sfxge_tx_stop
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr w8, [x0]
cmp w8, #1
b.lt LBB0_3
; %bb.1:
add w20, w8, #1
LBB0_2: ; =>This Inner Loop Header: Depth=1
sub w1, w20, #2
mov x0, x19
bl _sfxge_tx_qstop
sub w20, w20, #1
cmp w20, #1
b.hi LBB0_2
LBB0_3:
ldr w0, [x19, #4]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _efx_tx_fini
.cfi_endproc
; -- End function
.subsections_via_symbols
|
AnghaBench/freebsd/sys/dev/sfxge/extr_sfxge_tx.c_sfxge_tx_stop.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _RespawnItem ## -- Begin function RespawnItem
.p2align 4, 0x90
_RespawnItem: ## @RespawnItem
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB0_25
## %bb.1:
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
cmpq $0, 64(%rdi)
je LBB0_12
## %bb.2:
movq 56(%rbx), %r14
testq %r14, %r14
jne LBB0_5
## %bb.3:
leaq L_.str(%rip), %rdi
callq _G_Error
movq 56(%rbx), %r14
testq %r14, %r14
je LBB0_4
LBB0_5:
xorl %ebx, %ebx
movq %r14, %rax
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
movq 48(%rax), %rax
decl %ebx
testq %rax, %rax
jne LBB0_6
LBB0_7:
xorl %eax, %eax
callq _rand
cltd
idivl %ebx
testq %r14, %r14
setne %al
testl %edx, %edx
setg %cl
andb %al, %cl
cmpb $1, %cl
jne LBB0_11
## %bb.8:
movl $1, %eax
.p2align 4, 0x90
LBB0_9: ## =>This Inner Loop Header: Depth=1
movq 48(%r14), %r14
testq %r14, %r14
je LBB0_11
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
leal 1(%rax), %ecx
cmpl %edx, %eax
movl %ecx, %eax
jl LBB0_9
LBB0_11:
movq %r14, %rbx
testq %r14, %r14
je LBB0_24
LBB0_12:
movq _CONTENTS_TRIGGER@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 12(%rbx)
movq _EF_NODRAW@GOTPCREL(%rip), %rax
movl (%rax), %eax
notl %eax
andl %eax, 28(%rbx)
movq _SVF_NOCLIENT@GOTPCREL(%rip), %rax
movl (%rax), %eax
notl %eax
andl %eax, 8(%rbx)
movq %rbx, %rdi
callq _trap_LinkEntity
movq 40(%rbx), %rax
movq (%rax), %rcx
movq _IT_POWERUP@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
jne LBB0_17
## %bb.13:
cmpq $0, 32(%rbx)
movl 24(%rbx), %edi
jne LBB0_14
## %bb.15:
movq _EV_GLOBAL_SOUND@GOTPCREL(%rip), %rax
jmp LBB0_16
LBB0_14:
movq _EV_GENERAL_SOUND@GOTPCREL(%rip), %rax
LBB0_16:
movl (%rax), %esi
callq _G_TempEntity
movq %rax, %r14
leaq L_.str.1(%rip), %rdi
callq _G_SoundIndex
movq %rax, 16(%r14)
movq _SVF_BROADCAST@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %eax, 8(%r14)
movq 40(%rbx), %rax
movq (%rax), %rcx
LBB0_17:
movq _IT_HOLDABLE@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
jne LBB0_23
## %bb.18:
movq 8(%rax), %rax
movq _HI_KAMIKAZE@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_23
## %bb.19:
cmpq $0, 32(%rbx)
movl 24(%rbx), %edi
jne LBB0_20
## %bb.21:
movq _EV_GLOBAL_SOUND@GOTPCREL(%rip), %rax
jmp LBB0_22
LBB0_20:
movq _EV_GENERAL_SOUND@GOTPCREL(%rip), %rax
LBB0_22:
movl (%rax), %esi
callq _G_TempEntity
movq %rax, %r14
leaq L_.str.2(%rip), %rdi
callq _G_SoundIndex
movq %rax, 16(%r14)
movq _SVF_BROADCAST@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %eax, 8(%r14)
LBB0_23:
movq _EV_ITEM_RESPAWN@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
xorl %edx, %edx
callq _G_AddEvent
movq $0, (%rbx)
LBB0_24:
popq %rbx
popq %r14
popq %rbp
LBB0_25:
retq
LBB0_4:
xorl %r14d, %r14d
xorl %ebx, %ebx
jmp LBB0_7
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "RespawnItem: bad teammaster"
.comm _CONTENTS_TRIGGER,4,2 ## @CONTENTS_TRIGGER
.comm _EF_NODRAW,4,2 ## @EF_NODRAW
.comm _SVF_NOCLIENT,4,2 ## @SVF_NOCLIENT
.comm _IT_POWERUP,8,3 ## @IT_POWERUP
.comm _EV_GENERAL_SOUND,4,2 ## @EV_GENERAL_SOUND
.comm _EV_GLOBAL_SOUND,4,2 ## @EV_GLOBAL_SOUND
L_.str.1: ## @.str.1
.asciz "sound/items/poweruprespawn.wav"
.comm _SVF_BROADCAST,4,2 ## @SVF_BROADCAST
.comm _IT_HOLDABLE,8,3 ## @IT_HOLDABLE
.comm _HI_KAMIKAZE,8,3 ## @HI_KAMIKAZE
L_.str.2: ## @.str.2
.asciz "sound/items/kamikazerespawn.wav"
.comm _EV_ITEM_RESPAWN,4,2 ## @EV_ITEM_RESPAWN
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _RespawnItem ; -- Begin function RespawnItem
.p2align 2
_RespawnItem: ; @RespawnItem
.cfi_startproc
; %bb.0:
cbz x0, LBB0_18
; %bb.1:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr x8, [x0, #64]
cbz x8, LBB0_11
; %bb.2:
ldr x20, [x19, #56]
cbnz x20, LBB0_4
; %bb.3:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _G_Error
ldr x20, [x19, #56]
cbz x20, LBB0_19
LBB0_4:
mov w19, #0 ; =0x0
mov x8, x20
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr x8, [x8, #48]
sub w19, w19, #1
cbnz x8, LBB0_5
; %bb.6:
bl _rand
cbz x20, LBB0_10
LBB0_7:
sdiv w8, w0, w19
msub w8, w8, w19, w0
cmp w8, #1
b.lt LBB0_10
; %bb.8:
mov w9, #1 ; =0x1
LBB0_9: ; =>This Inner Loop Header: Depth=1
ldr x20, [x20, #48]
cmp x20, #0
ccmp w9, w8, #0, ne
add w9, w9, #1
b.lt LBB0_9
LBB0_10:
mov x19, x20
cbz x20, LBB0_17
LBB0_11:
Lloh2:
adrp x8, _CONTENTS_TRIGGER@GOTPAGE
Lloh3:
ldr x8, [x8, _CONTENTS_TRIGGER@GOTPAGEOFF]
Lloh4:
adrp x9, _EF_NODRAW@GOTPAGE
Lloh5:
ldr x9, [x9, _EF_NODRAW@GOTPAGEOFF]
Lloh6:
ldr w8, [x8]
Lloh7:
ldr w9, [x9]
ldr w10, [x19, #28]
bic w9, w10, w9
Lloh8:
adrp x10, _SVF_NOCLIENT@GOTPAGE
Lloh9:
ldr x10, [x10, _SVF_NOCLIENT@GOTPAGEOFF]
str w9, [x19, #28]
Lloh10:
ldr w9, [x10]
ldr w10, [x19, #8]
bic w9, w10, w9
stp w9, w8, [x19, #8]
mov x0, x19
bl _trap_LinkEntity
ldr x8, [x19, #40]
ldr x9, [x8]
Lloh11:
adrp x10, _IT_POWERUP@GOTPAGE
Lloh12:
ldr x10, [x10, _IT_POWERUP@GOTPAGEOFF]
Lloh13:
ldr x10, [x10]
cmp x9, x10
b.ne LBB0_13
; %bb.12:
ldr x8, [x19, #32]
Lloh14:
adrp x9, _EV_GLOBAL_SOUND@GOTPAGE
Lloh15:
ldr x9, [x9, _EV_GLOBAL_SOUND@GOTPAGEOFF]
ldr w0, [x19, #24]
Lloh16:
adrp x10, _EV_GENERAL_SOUND@GOTPAGE
Lloh17:
ldr x10, [x10, _EV_GENERAL_SOUND@GOTPAGEOFF]
cmp x8, #0
csel x8, x9, x10, eq
ldr w1, [x8]
bl _G_TempEntity
mov x20, x0
Lloh18:
adrp x0, l_.str.1@PAGE
Lloh19:
add x0, x0, l_.str.1@PAGEOFF
bl _G_SoundIndex
str x0, [x20, #16]
Lloh20:
adrp x8, _SVF_BROADCAST@GOTPAGE
Lloh21:
ldr x8, [x8, _SVF_BROADCAST@GOTPAGEOFF]
Lloh22:
ldr w8, [x8]
ldr w9, [x20, #8]
orr w8, w9, w8
str w8, [x20, #8]
ldr x8, [x19, #40]
ldr x9, [x8]
LBB0_13:
Lloh23:
adrp x10, _IT_HOLDABLE@GOTPAGE
Lloh24:
ldr x10, [x10, _IT_HOLDABLE@GOTPAGEOFF]
Lloh25:
ldr x10, [x10]
cmp x9, x10
b.ne LBB0_16
; %bb.14:
ldr x8, [x8, #8]
Lloh26:
adrp x9, _HI_KAMIKAZE@GOTPAGE
Lloh27:
ldr x9, [x9, _HI_KAMIKAZE@GOTPAGEOFF]
Lloh28:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_16
; %bb.15:
ldr x8, [x19, #32]
Lloh29:
adrp x9, _EV_GLOBAL_SOUND@GOTPAGE
Lloh30:
ldr x9, [x9, _EV_GLOBAL_SOUND@GOTPAGEOFF]
ldr w0, [x19, #24]
Lloh31:
adrp x10, _EV_GENERAL_SOUND@GOTPAGE
Lloh32:
ldr x10, [x10, _EV_GENERAL_SOUND@GOTPAGEOFF]
cmp x8, #0
csel x8, x9, x10, eq
ldr w1, [x8]
bl _G_TempEntity
mov x20, x0
Lloh33:
adrp x0, l_.str.2@PAGE
Lloh34:
add x0, x0, l_.str.2@PAGEOFF
bl _G_SoundIndex
str x0, [x20, #16]
Lloh35:
adrp x8, _SVF_BROADCAST@GOTPAGE
Lloh36:
ldr x8, [x8, _SVF_BROADCAST@GOTPAGEOFF]
Lloh37:
ldr w8, [x8]
ldr w9, [x20, #8]
orr w8, w9, w8
str w8, [x20, #8]
LBB0_16:
Lloh38:
adrp x8, _EV_ITEM_RESPAWN@GOTPAGE
Lloh39:
ldr x8, [x8, _EV_ITEM_RESPAWN@GOTPAGEOFF]
Lloh40:
ldr w1, [x8]
mov x0, x19
mov w2, #0 ; =0x0
bl _G_AddEvent
str xzr, [x19]
LBB0_17:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
LBB0_18:
ret
LBB0_19:
mov w19, #0 ; =0x0
bl _rand
cbnz x20, LBB0_7
b LBB0_10
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh6
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37
.loh AdrpAdd Lloh33, Lloh34
.loh AdrpLdrGot Lloh31, Lloh32
.loh AdrpLdrGot Lloh29, Lloh30
.loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "RespawnItem: bad teammaster"
.comm _CONTENTS_TRIGGER,4,2 ; @CONTENTS_TRIGGER
.comm _EF_NODRAW,4,2 ; @EF_NODRAW
.comm _SVF_NOCLIENT,4,2 ; @SVF_NOCLIENT
.comm _IT_POWERUP,8,3 ; @IT_POWERUP
.comm _EV_GENERAL_SOUND,4,2 ; @EV_GENERAL_SOUND
.comm _EV_GLOBAL_SOUND,4,2 ; @EV_GLOBAL_SOUND
l_.str.1: ; @.str.1
.asciz "sound/items/poweruprespawn.wav"
.comm _SVF_BROADCAST,4,2 ; @SVF_BROADCAST
.comm _IT_HOLDABLE,8,3 ; @IT_HOLDABLE
.comm _HI_KAMIKAZE,8,3 ; @HI_KAMIKAZE
l_.str.2: ; @.str.2
.asciz "sound/items/kamikazerespawn.wav"
.comm _EV_ITEM_RESPAWN,4,2 ; @EV_ITEM_RESPAWN
.subsections_via_symbols
|
assembly_file_18060.c
|
assembly_dataset
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function pixel_cmp
_pixel_cmp: ## @pixel_cmp
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r15d
movq %rsi, %r14
movq %rdi, %rbx
movl %edx, %r12d
sarl $3, %r12d
movl %r12d, %edx
callq _memcmp
testq %rax, %rax
je LBB0_1
LBB0_4:
xorl %eax, %eax
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq %rax, %rcx
movl (%rbx,%rax,4), %edx
incq %rax
cmpl (%r14,%rcx,4), %edx
je LBB0_5
LBB0_6:
## kill: def $eax killed $eax killed $rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_1:
xorl %eax, %eax
andl $7, %r15d
je LBB0_6
## %bb.2:
movslq %r12d, %rcx
movl (%r14,%rcx,4), %edx
xorl (%rbx,%rcx,4), %edx
je LBB0_6
## %bb.3:
movb $8, %cl
subb %r15b, %cl
sarl %cl, %edx
testl %edx, %edx
jne LBB0_4
jmp LBB0_6
.cfi_endproc
## -- End function
.no_dead_strip _pixel_cmp
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function pixel_cmp
_pixel_cmp: ; @pixel_cmp
.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 x22, x2
mov x19, x1
mov x20, x0
asr w21, w2, #3
mov x2, x21
bl _memcmp
cbz x0, LBB0_3
LBB0_1:
mov x0, #0
LBB0_2: ; =>This Inner Loop Header: Depth=1
lsl x8, x0, #2
ldr w9, [x20, x8]
ldr w8, [x19, x8]
add x0, x0, #1
cmp w9, w8
b.eq LBB0_2
b LBB0_7
LBB0_3:
ands w8, w22, #0x7
b.eq LBB0_6
; %bb.4:
sbfiz x9, x21, #2, #32
ldr w10, [x20, x9]
ldr w9, [x19, x9]
eor w9, w9, w10
cbz w9, LBB0_6
; %bb.5:
mov w10, #8
sub w8, w10, w8
asr w8, w9, w8
cbnz w8, LBB0_1
LBB0_6:
mov w0, #0
LBB0_7:
; kill: def $w0 killed $w0 killed $x0
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 _pixel_cmp
.subsections_via_symbols
|
AnghaBench/Provenance/Cores/Mupen64Plus/png/contrib/libtests/extr_pngvalid.c_pixel_cmp.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sortedInsert ## -- Begin function sortedInsert
.p2align 4, 0x90
_sortedInsert: ## @sortedInsert
.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
testq %rax, %rax
je LBB0_5
## %bb.1:
movl (%rsi), %ecx
cmpl %ecx, (%rax)
jge LBB0_5
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %rax, %rdi
movq 8(%rax), %rax
testq %rax, %rax
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
cmpl %ecx, (%rax)
jl LBB0_2
LBB0_4:
addq $8, %rdi
LBB0_5:
movq %rax, 8(%rsi)
movq %rsi, (%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _newNode ## -- Begin function newNode
.p2align 4, 0x90
_newNode: ## @newNode
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movl %edi, %ebx
movl $16, %edi
callq _malloc
movl %ebx, (%rax)
movq $0, 8(%rax)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _printList ## -- Begin function printList
.p2align 4, 0x90
_printList: ## @printList
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
testq %rdi, %rdi
je LBB2_3
## %bb.1:
movq %rdi, %rbx
leaq L_.str(%rip), %r14
.p2align 4, 0x90
LBB2_2: ## =>This Inner Loop Header: Depth=1
movl (%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movq 8(%rbx), %rbx
testq %rbx, %rbx
jne LBB2_2
LBB2_3:
popq %rbx
popq %r14
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 %r14
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl $16, %edi
callq _malloc
movq %rax, %rbx
movl $5, (%rax)
movq %rax, -24(%rbp)
movl $16, %edi
callq _malloc
movl $10, (%rax)
movq $0, 8(%rax)
movq %rax, 8(%rbx)
movl $16, %edi
callq _malloc
movl $7, (%rax)
movq -24(%rbp), %rcx
leaq -24(%rbp), %rbx
testq %rcx, %rcx
je LBB3_4
## %bb.1:
cmpl $6, (%rcx)
jg LBB3_5
.p2align 4, 0x90
LBB3_2: ## =>This Inner Loop Header: Depth=1
movq %rcx, %rdx
movq 8(%rcx), %rcx
testq %rcx, %rcx
je LBB3_6
## %bb.3: ## in Loop: Header=BB3_2 Depth=1
cmpl $7, (%rcx)
jl LBB3_2
jmp LBB3_7
LBB3_4:
xorl %ecx, %ecx
LBB3_5:
movq %rbx, %rdx
jmp LBB3_8
LBB3_6:
xorl %ecx, %ecx
LBB3_7:
addq $8, %rdx
LBB3_8:
movq %rcx, 8(%rax)
movq %rax, (%rdx)
movl $16, %edi
callq _malloc
movl $3, (%rax)
movq $0, 8(%rax)
movq -24(%rbp), %rcx
testq %rcx, %rcx
je LBB3_12
## %bb.9:
cmpl $2, (%rcx)
jg LBB3_13
.p2align 4, 0x90
LBB3_10: ## =>This Inner Loop Header: Depth=1
movq %rcx, %rdx
movq 8(%rcx), %rcx
testq %rcx, %rcx
je LBB3_14
## %bb.11: ## in Loop: Header=BB3_10 Depth=1
cmpl $3, (%rcx)
jl LBB3_10
jmp LBB3_15
LBB3_12:
xorl %ecx, %ecx
LBB3_13:
movq %rbx, %rdx
jmp LBB3_16
LBB3_14:
xorl %ecx, %ecx
LBB3_15:
addq $8, %rdx
LBB3_16:
movq %rcx, 8(%rax)
movq %rax, (%rdx)
movl $16, %edi
callq _malloc
movl $1, (%rax)
movq $0, 8(%rax)
movq -24(%rbp), %rcx
testq %rcx, %rcx
je LBB3_23
## %bb.17:
cmpl $0, (%rcx)
jg LBB3_24
jmp LBB3_20
.p2align 4, 0x90
LBB3_19: ## in Loop: Header=BB3_20 Depth=1
cmpl $0, (%rcx)
jg LBB3_22
LBB3_20: ## =>This Inner Loop Header: Depth=1
movq %rcx, %rdx
movq 8(%rcx), %rcx
testq %rcx, %rcx
jne LBB3_19
## %bb.21:
xorl %ecx, %ecx
LBB3_22:
addq $8, %rdx
jmp LBB3_25
LBB3_23:
xorl %ecx, %ecx
LBB3_24:
movq %rbx, %rdx
LBB3_25:
movq %rcx, 8(%rax)
movq %rax, (%rdx)
movl $16, %edi
callq _malloc
movl $9, (%rax)
movq $0, 8(%rax)
movq -24(%rbp), %rcx
testq %rcx, %rcx
je LBB3_29
## %bb.26:
cmpl $8, (%rcx)
jg LBB3_32
.p2align 4, 0x90
LBB3_27: ## =>This Inner Loop Header: Depth=1
movq %rcx, %rbx
movq 8(%rcx), %rcx
testq %rcx, %rcx
je LBB3_30
## %bb.28: ## in Loop: Header=BB3_27 Depth=1
cmpl $9, (%rcx)
jl LBB3_27
jmp LBB3_31
LBB3_29:
xorl %ecx, %ecx
jmp LBB3_32
LBB3_30:
xorl %ecx, %ecx
LBB3_31:
addq $8, %rbx
LBB3_32:
movq %rcx, 8(%rax)
movq %rax, (%rbx)
leaq L_str(%rip), %rdi
callq _puts
movq -24(%rbp), %rbx
testq %rbx, %rbx
je LBB3_35
## %bb.33:
leaq L_.str(%rip), %r14
.p2align 4, 0x90
LBB3_34: ## =>This Inner Loop Header: Depth=1
movl (%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movq 8(%rbx), %rbx
testq %rbx, %rbx
jne LBB3_34
LBB3_35:
xorl %eax, %eax
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d "
L_str: ## @str
.asciz "\n Created Linked List"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sortedInsert ; -- Begin function sortedInsert
.p2align 2
_sortedInsert: ; @sortedInsert
.cfi_startproc
; %bb.0:
ldr x8, [x0]
cbz x8, LBB0_5
; %bb.1:
ldr w10, [x8]
ldr w9, [x1]
cmp w10, w9
b.ge LBB0_5
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x10, x8
ldr x8, [x8, #8]
cbz x8, LBB0_4
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
ldr w11, [x8]
cmp w11, w9
b.lt LBB0_2
LBB0_4:
add x0, x10, #8
LBB0_5:
str x8, [x1, #8]
str x1, [x0]
ret
.cfi_endproc
; -- End function
.globl _newNode ; -- Begin function newNode
.p2align 2
_newNode: ; @newNode
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
mov w0, #16
bl _malloc
str w19, [x0]
str xzr, [x0, #8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _printList ; -- Begin function printList
.p2align 2
_printList: ; @printList
.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
cbz x0, LBB2_3
; %bb.1:
mov x19, x0
Lloh0:
adrp x20, l_.str@PAGE
Lloh1:
add x20, x20, l_.str@PAGEOFF
LBB2_2: ; =>This Inner Loop Header: Depth=1
ldr w8, [x19]
str x8, [sp]
mov x0, x20
bl _printf
ldr x19, [x19, #8]
cbnz x19, 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
.loh AdrpAdd Lloh0, Lloh1
.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 w0, #16
bl _malloc
mov x19, x0
mov w8, #5
str w8, [x0]
str x0, [sp, #8]
mov w0, #16
bl _malloc
mov w8, #10
str w8, [x0]
str xzr, [x0, #8]
str x0, [x19, #8]
mov w0, #16
bl _malloc
mov w8, #7
str w8, [x0]
ldr x8, [sp, #8]
cbz x8, LBB3_5
; %bb.1:
ldr w9, [x8]
cmp w9, #6
b.gt LBB3_5
LBB3_2: ; =>This Inner Loop Header: Depth=1
mov x9, x8
ldr x8, [x8, #8]
cbz x8, LBB3_4
; %bb.3: ; in Loop: Header=BB3_2 Depth=1
ldr w10, [x8]
cmp w10, #7
b.lt LBB3_2
LBB3_4:
add x9, x9, #8
b LBB3_6
LBB3_5:
add x9, sp, #8
LBB3_6:
str x8, [x0, #8]
str x0, [x9]
mov w0, #16
bl _malloc
mov w8, #3
str w8, [x0]
str xzr, [x0, #8]
ldr x8, [sp, #8]
cbz x8, LBB3_11
; %bb.7:
ldr w9, [x8]
cmp w9, #2
b.gt LBB3_11
LBB3_8: ; =>This Inner Loop Header: Depth=1
mov x9, x8
ldr x8, [x8, #8]
cbz x8, LBB3_10
; %bb.9: ; in Loop: Header=BB3_8 Depth=1
ldr w10, [x8]
cmp w10, #3
b.lt LBB3_8
LBB3_10:
add x9, x9, #8
b LBB3_12
LBB3_11:
add x9, sp, #8
LBB3_12:
str x8, [x0, #8]
str x0, [x9]
mov w0, #16
bl _malloc
mov w8, #1
str w8, [x0]
str xzr, [x0, #8]
ldr x8, [sp, #8]
cbz x8, LBB3_14
; %bb.13:
ldr w9, [x8]
cmp w9, #0
b.le LBB3_16
LBB3_14:
add x9, sp, #8
b LBB3_18
LBB3_15: ; in Loop: Header=BB3_16 Depth=1
ldr w10, [x8]
cmp w10, #1
b.ge LBB3_17
LBB3_16: ; =>This Inner Loop Header: Depth=1
mov x9, x8
ldr x8, [x8, #8]
cbnz x8, LBB3_15
LBB3_17:
add x9, x9, #8
LBB3_18:
str x8, [x0, #8]
str x0, [x9]
mov w0, #16
bl _malloc
mov w8, #9
str w8, [x0]
str xzr, [x0, #8]
ldr x8, [sp, #8]
cbz x8, LBB3_23
; %bb.19:
ldr w9, [x8]
cmp w9, #8
b.gt LBB3_23
LBB3_20: ; =>This Inner Loop Header: Depth=1
mov x9, x8
ldr x8, [x8, #8]
cbz x8, LBB3_22
; %bb.21: ; in Loop: Header=BB3_20 Depth=1
ldr w10, [x8]
cmp w10, #9
b.lt LBB3_20
LBB3_22:
add x9, x9, #8
b LBB3_24
LBB3_23:
add x9, sp, #8
LBB3_24:
str x8, [x0, #8]
str x0, [x9]
Lloh2:
adrp x0, l_str@PAGE
Lloh3:
add x0, x0, l_str@PAGEOFF
bl _puts
ldr x20, [sp, #8]
cbz x20, LBB3_27
; %bb.25:
Lloh4:
adrp x19, l_.str@PAGE
Lloh5:
add x19, x19, l_.str@PAGEOFF
LBB3_26: ; =>This Inner Loop Header: Depth=1
ldr w8, [x20]
str x8, [sp]
mov x0, x19
bl _printf
ldr x20, [x20, #8]
cbnz x20, LBB3_26
LBB3_27:
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 Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d "
l_str: ; @str
.asciz "\n Created Linked List"
.subsections_via_symbols
|
the_stack_data/286993.c
|
stack
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function agp_i810_write_gtt
_agp_i810_write_gtt: ## @agp_i810_write_gtt
.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
movl %esi, %ebx
callq _device_get_softc
movq (%rax), %rax
movl (%rax), %edi
movq _AGP_I810_GTT@GOTPCREL(%rip), %rax
leal (,%rbx,4), %ecx
movslq %ecx, %rsi
addq (%rax), %rsi
movl %r14d, %edx
callq _bus_write_4
movq _KTR_AGP_I810@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
movl %ebx, %edx
movl %r14d, %ecx
popq %rbx
popq %r14
popq %rbp
jmp _CTR2 ## TAILCALL
.cfi_endproc
## -- End function
.comm _AGP_I810_GTT,8,3 ## @AGP_I810_GTT
.comm _KTR_AGP_I810,4,2 ## @KTR_AGP_I810
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "810_pte %x %x"
.no_dead_strip _agp_i810_write_gtt
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function agp_i810_write_gtt
_agp_i810_write_gtt: ; @agp_i810_write_gtt
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x2
mov x20, x1
bl _device_get_softc
ldr x8, [x0]
ldr w0, [x8]
Lloh0:
adrp x8, _AGP_I810_GTT@GOTPAGE
Lloh1:
ldr x8, [x8, _AGP_I810_GTT@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
lsl w9, w20, #2
add x1, x8, w9, sxtw
mov x2, x19
bl _bus_write_4
Lloh3:
adrp x8, _KTR_AGP_I810@GOTPAGE
Lloh4:
ldr x8, [x8, _KTR_AGP_I810@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
Lloh6:
adrp x1, l_.str@PAGE
Lloh7:
add x1, x1, l_.str@PAGEOFF
mov x2, x20
mov x3, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _CTR2
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _AGP_I810_GTT,8,3 ; @AGP_I810_GTT
.comm _KTR_AGP_I810,4,2 ; @KTR_AGP_I810
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "810_pte %x %x"
.no_dead_strip _agp_i810_write_gtt
.subsections_via_symbols
|
AnghaBench/freebsd/sys/dev/agp/extr_agp_i810.c_agp_i810_write_gtt.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function reader_func
_reader_func: ## @reader_func
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdx, %r14
movq %rdi, %rbx
movq %rsi, %rdi
callq _UNUSED
leaq L_.str(%rip), %rdx
movq %rbx, %rdi
movl $2, %esi
callq _luaL_checkstack
movq (%rbx), %rsi
movq 8(%rbx), %rdx
leaq 1(%rsi), %rax
movq %rax, (%rbx)
movq %rbx, %rdi
callq _copyTV
movq %rbx, %rdi
xorl %esi, %esi
movl $1, %edx
callq _lua_call
movq (%rbx), %rdi
decq %rdi
movq %rdi, (%rbx)
callq _tvisnil
testq %rax, %rax
je LBB0_2
## %bb.1:
movq $0, (%r14)
LBB0_5:
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
LBB0_2:
movq (%rbx), %rdi
callq _tvisstr
testq %rax, %rax
jne LBB0_6
## %bb.3:
movq (%rbx), %rdi
callq _tvisnumber
testq %rax, %rax
je LBB0_4
LBB0_6:
movq (%rbx), %rdx
movq 8(%rbx), %rsi
addq $4, %rsi
movq %rbx, %rdi
callq _copyTV
movq %rbx, %rdi
movl $5, %esi
movq %r14, %rdx
popq %rbx
popq %r14
popq %rbp
jmp _lua_tolstring ## TAILCALL
LBB0_4:
movq _LJ_ERR_RDRSTR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _lj_err_caller
jmp LBB0_5
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "too many nested functions"
.comm _LJ_ERR_RDRSTR,4,2 ## @LJ_ERR_RDRSTR
.no_dead_strip _reader_func
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function reader_func
_reader_func: ; @reader_func
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x2
mov x20, x0
mov x0, x1
bl _UNUSED
Lloh0:
adrp x2, l_.str@PAGE
Lloh1:
add x2, x2, l_.str@PAGEOFF
mov x0, x20
mov w1, #2
bl _luaL_checkstack
ldp x1, x2, [x20]
add x8, x1, #1
str x8, [x20]
mov x0, x20
bl _copyTV
mov x0, x20
mov w1, #0
mov w2, #1
bl _lua_call
ldr x8, [x20]
sub x0, x8, #1
str x0, [x20]
bl _tvisnil
cbz x0, LBB0_3
; %bb.1:
str xzr, [x19]
LBB0_2:
mov x0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_3:
ldr x0, [x20]
bl _tvisstr
cbnz x0, LBB0_5
; %bb.4:
ldr x0, [x20]
bl _tvisnumber
cbz x0, LBB0_6
LBB0_5:
ldp x2, x8, [x20]
add x1, x8, #4
mov x0, x20
bl _copyTV
mov x0, x20
mov w1, #5
mov x2, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _lua_tolstring
LBB0_6:
Lloh2:
adrp x8, _LJ_ERR_RDRSTR@GOTPAGE
Lloh3:
ldr x8, [x8, _LJ_ERR_RDRSTR@GOTPAGEOFF]
Lloh4:
ldr w1, [x8]
mov x0, x20
bl _lj_err_caller
b LBB0_2
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "too many nested functions"
.comm _LJ_ERR_RDRSTR,4,2 ; @LJ_ERR_RDRSTR
.no_dead_strip _reader_func
.subsections_via_symbols
|
AnghaBench/xLua/build/luajit-2.1.0b3/src/extr_lib_base.c_reader_func.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _drm_rect_calc_hscale ## -- Begin function drm_rect_calc_hscale
.p2align 4, 0x90
_drm_rect_calc_hscale: ## @drm_rect_calc_hscale
.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, %r14d
movl %edx, %r15d
movq %rsi, %r12
callq _drm_rect_width
movl %eax, %r13d
movq %r12, %rdi
callq _drm_rect_width
movl %eax, %ebx
movl %r13d, %edi
movl %eax, %esi
callq _drm_calc_scale
testl %ebx, %ebx
je LBB0_5
## %bb.1:
testl %eax, %eax
js LBB0_5
## %bb.2:
cmpl %r15d, %eax
jl LBB0_4
## %bb.3:
cmpl %r14d, %eax
jle LBB0_5
LBB0_4:
movq _ERANGE@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
LBB0_5:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ERANGE,4,2 ## @ERANGE
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _drm_rect_calc_hscale ; -- Begin function drm_rect_calc_hscale
.p2align 2
_drm_rect_calc_hscale: ; @drm_rect_calc_hscale
.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 x21, x1
bl _drm_rect_width
mov x22, x0
mov x0, x21
bl _drm_rect_width
mov x21, x0
mov x0, x22
mov x1, x21
bl _drm_calc_scale
cbz w21, LBB0_5
; %bb.1:
tbnz w0, #31, LBB0_5
; %bb.2:
cmp w0, w20
b.lt LBB0_4
; %bb.3:
cmp w0, w19
b.le LBB0_5
LBB0_4:
Lloh0:
adrp x8, _ERANGE@GOTPAGE
Lloh1:
ldr x8, [x8, _ERANGE@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
neg w0, w8
LBB0_5:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _ERANGE,4,2 ; @ERANGE
.subsections_via_symbols
|
AnghaBench/linux/drivers/gpu/drm/extr_drm_rect.c_drm_rect_calc_hscale.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function test_scrollwindowex
_test_scrollwindowex: ## @test_scrollwindowex
.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
movups L___const.test_scrollwindowex.rect(%rip), %xmm0
movaps %xmm0, -64(%rbp)
movq _WS_VISIBLE@GOTPCREL(%rip), %rbx
movq _WS_OVERLAPPEDWINDOW@GOTPCREL(%rip), %rax
movl (%rax), %ecx
orl (%rbx), %ecx
leaq L_.str(%rip), %r14
leaq L_.str.1(%rip), %rdx
xorl %edi, %edi
movq %r14, %rsi
movl $100, %r8d
movl $100, %r9d
pushq $0
pushq $0
pushq $0
pushq $0
pushq $200
pushq $200
callq _CreateWindowExA
addq $48, %rsp
movq %rax, %r13
xorl %edi, %edi
testq %rax, %rax
setne %dil
leaq L_.str.2(%rip), %rsi
callq _ok
movq _WS_CAPTION@GOTPCREL(%rip), %rax
movl (%rax), %ecx
orl (%rbx), %ecx
movq _WS_CHILD@GOTPCREL(%rip), %rax
orl (%rax), %ecx
leaq L_.str.3(%rip), %rdx
xorl %edi, %edi
movq %r14, %rsi
movl $10, %r8d
movl $10, %r9d
pushq $0
pushq $0
pushq $0
pushq %r13
pushq $150
pushq $150
callq _CreateWindowExA
addq $48, %rsp
movq %rax, -72(%rbp) ## 8-byte Spill
xorl %edi, %edi
testq %rax, %rax
setne %dil
leaq L_.str.4(%rip), %rsi
callq _ok
movq %r13, %rdi
callq _UpdateWindow
xorl %eax, %eax
callq _flush_events
xorl %eax, %eax
callq _flush_sequence
leaq L_.str.5(%rip), %rdi
callq _trace
movq _SW_ERASE@GOTPCREL(%rip), %rcx
movq _SW_INVALIDATE@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl (%rcx), %eax
leaq -64(%rbp), %rcx
movq %r13, %rdi
movl $10, %esi
movl $10, %edx
xorl %r8d, %r8d
xorl %r9d, %r9d
pushq %rax
pushq $0
callq _ScrollWindowEx
addq $16, %rsp
movq _WmEmptySeq@GOTPCREL(%rip), %r14
movl (%r14), %edi
movq _FALSE@GOTPCREL(%rip), %rbx
movl (%rbx), %edx
leaq L_.str.6(%rip), %r12
movq %r12, %rsi
callq _ok_sequence
leaq L_.str.7(%rip), %r15
movq %r15, %rdi
callq _trace
xorl %eax, %eax
callq _flush_sequence
xorl %eax, %eax
callq _flush_events
movq _ScrollWindowPaint1@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl (%rbx), %edx
movq %r12, %rsi
callq _ok_sequence
xorl %eax, %eax
callq _flush_events
xorl %eax, %eax
callq _flush_sequence
leaq L_.str.5(%rip), %rdi
callq _trace
movq _SW_INVALIDATE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq %r13, %rdi
movl $10, %esi
movl $10, %edx
leaq -64(%rbp), %rcx
xorl %r8d, %r8d
xorl %r9d, %r9d
pushq %rax
pushq $0
callq _ScrollWindowEx
addq $16, %rsp
movl (%r14), %edi
movl (%rbx), %edx
movq %r12, %rsi
callq _ok_sequence
movq %r15, %rdi
callq _trace
xorl %eax, %eax
callq _flush_sequence
xorl %eax, %eax
callq _flush_events
movq _ScrollWindowPaint2@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl (%rbx), %edx
movq %rbx, %r14
movq %r12, %rsi
callq _ok_sequence
xorl %eax, %eax
callq _flush_events
xorl %eax, %eax
callq _flush_sequence
leaq L_.str.5(%rip), %rdi
callq _trace
movq _SW_SCROLLCHILDREN@GOTPCREL(%rip), %rax
movq _SW_ERASE@GOTPCREL(%rip), %rcx
movl (%rcx), %ebx
orl (%rax), %ebx
movq _SW_INVALIDATE@GOTPCREL(%rip), %rax
orl (%rax), %ebx
movq %r13, %rdi
movl $10, %esi
movl $10, %edx
leaq -64(%rbp), %rcx
xorl %r8d, %r8d
xorl %r9d, %r9d
pushq %rbx
pushq $0
callq _ScrollWindowEx
addq $16, %rsp
movq _WmEmptySeq@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _TRUE@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r12, %rsi
callq _ok_sequence
movq %r15, %rbx
movq %r15, %rdi
callq _trace
xorl %eax, %eax
callq _flush_sequence
xorl %eax, %eax
callq _flush_events
movq _ScrollWindowPaint1@GOTPCREL(%rip), %r15
movl (%r15), %edi
movl (%r14), %edx
movq %r12, %rsi
callq _ok_sequence
xorl %eax, %eax
callq _flush_events
xorl %eax, %eax
callq _flush_sequence
leaq L_.str.8(%rip), %rdi
callq _trace
movq %r13, %rdi
movl $5, %esi
movl $5, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq _ScrollWindow
movq %rbx, %rdi
callq _trace
xorl %eax, %eax
callq _flush_sequence
xorl %eax, %eax
callq _flush_events
movl (%r15), %edi
movl (%r14), %edx
leaq L_.str.9(%rip), %rsi
callq _ok_sequence
movq -72(%rbp), %rdi ## 8-byte Reload
callq _DestroyWindow
leaq L_.str.10(%rip), %rbx
movl %eax, %edi
movq %rbx, %rsi
callq _ok
movq %r13, %rdi
callq _DestroyWindow
movl %eax, %edi
movq %rbx, %rsi
callq _ok
xorl %eax, %eax
callq _flush_sequence
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 2 ## @__const.test_scrollwindowex.rect
L___const.test_scrollwindowex.rect:
.long 0 ## 0x0
.long 0 ## 0x0
.long 130 ## 0x82
.long 130 ## 0x82
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "TestWindowClass"
L_.str.1: ## @.str.1
.asciz "Test Scroll"
.comm _WS_VISIBLE,4,2 ## @WS_VISIBLE
.comm _WS_OVERLAPPEDWINDOW,4,2 ## @WS_OVERLAPPEDWINDOW
L_.str.2: ## @.str.2
.asciz "Failed to create overlapped window\n"
L_.str.3: ## @.str.3
.asciz "Test child"
.comm _WS_CAPTION,4,2 ## @WS_CAPTION
.comm _WS_CHILD,4,2 ## @WS_CHILD
L_.str.4: ## @.str.4
.asciz "Failed to create child\n"
L_.str.5: ## @.str.5
.asciz "start scroll\n"
.comm _SW_ERASE,4,2 ## @SW_ERASE
.comm _SW_INVALIDATE,4,2 ## @SW_INVALIDATE
.comm _WmEmptySeq,4,2 ## @WmEmptySeq
L_.str.6: ## @.str.6
.asciz "ScrollWindowEx"
.comm _FALSE,4,2 ## @FALSE
L_.str.7: ## @.str.7
.asciz "end scroll\n"
.comm _ScrollWindowPaint1,4,2 ## @ScrollWindowPaint1
.comm _ScrollWindowPaint2,4,2 ## @ScrollWindowPaint2
.comm _SW_SCROLLCHILDREN,4,2 ## @SW_SCROLLCHILDREN
.comm _TRUE,4,2 ## @TRUE
L_.str.8: ## @.str.8
.asciz "start scroll with ScrollWindow\n"
L_.str.9: ## @.str.9
.asciz "ScrollWindow"
L_.str.10: ## @.str.10
.asciz "failed to destroy window\n"
.no_dead_strip _test_scrollwindowex
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function test_scrollwindowex
_test_scrollwindowex: ; @test_scrollwindowex
.cfi_startproc
; %bb.0:
sub sp, sp, #144
.cfi_def_cfa_offset 144
stp x28, x27, [sp, #48] ; 16-byte Folded Spill
stp x26, x25, [sp, #64] ; 16-byte Folded Spill
stp x24, x23, [sp, #80] ; 16-byte Folded Spill
stp x22, x21, [sp, #96] ; 16-byte Folded Spill
stp x20, x19, [sp, #112] ; 16-byte Folded Spill
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
Lloh0:
adrp x8, l___const.test_scrollwindowex.rect@PAGE
Lloh1:
add x8, x8, l___const.test_scrollwindowex.rect@PAGEOFF
Lloh2:
ldr q0, [x8]
Lloh3:
adrp x21, _WS_VISIBLE@GOTPAGE
Lloh4:
ldr x21, [x21, _WS_VISIBLE@GOTPAGEOFF]
str q0, [sp, #32]
ldr w8, [x21]
Lloh5:
adrp x9, _WS_OVERLAPPEDWINDOW@GOTPAGE
Lloh6:
ldr x9, [x9, _WS_OVERLAPPEDWINDOW@GOTPAGEOFF]
Lloh7:
ldr w9, [x9]
orr w3, w9, w8
stp xzr, xzr, [sp]
str xzr, [sp, #16]
Lloh8:
adrp x20, l_.str@PAGE
Lloh9:
add x20, x20, l_.str@PAGEOFF
Lloh10:
adrp x2, l_.str.1@PAGE
Lloh11:
add x2, x2, l_.str.1@PAGEOFF
mov w0, #0
mov x1, x20
mov w4, #100
mov w5, #100
mov w6, #200
mov w7, #200
bl _CreateWindowExA
mov x19, x0
cmp x0, #0
cset w0, ne
Lloh12:
adrp x1, l_.str.2@PAGE
Lloh13:
add x1, x1, l_.str.2@PAGEOFF
bl _ok
ldr w8, [x21]
Lloh14:
adrp x9, _WS_CAPTION@GOTPAGE
Lloh15:
ldr x9, [x9, _WS_CAPTION@GOTPAGEOFF]
Lloh16:
ldr w9, [x9]
orr w8, w9, w8
Lloh17:
adrp x9, _WS_CHILD@GOTPAGE
Lloh18:
ldr x9, [x9, _WS_CHILD@GOTPAGEOFF]
Lloh19:
ldr w9, [x9]
orr w3, w8, w9
stp xzr, xzr, [sp, #8]
str x19, [sp]
Lloh20:
adrp x2, l_.str.3@PAGE
Lloh21:
add x2, x2, l_.str.3@PAGEOFF
mov w0, #0
mov x1, x20
mov w4, #10
mov w5, #10
mov w6, #150
mov w7, #150
bl _CreateWindowExA
mov x20, x0
cmp x0, #0
cset w0, ne
Lloh22:
adrp x1, l_.str.4@PAGE
Lloh23:
add x1, x1, l_.str.4@PAGEOFF
bl _ok
mov x0, x19
bl _UpdateWindow
bl _flush_events
bl _flush_sequence
Lloh24:
adrp x23, l_.str.5@PAGE
Lloh25:
add x23, x23, l_.str.5@PAGEOFF
mov x0, x23
bl _trace
Lloh26:
adrp x26, _SW_ERASE@GOTPAGE
Lloh27:
ldr x26, [x26, _SW_ERASE@GOTPAGEOFF]
ldr w8, [x26]
Lloh28:
adrp x27, _SW_INVALIDATE@GOTPAGE
Lloh29:
ldr x27, [x27, _SW_INVALIDATE@GOTPAGEOFF]
ldr w9, [x27]
orr w7, w9, w8
add x3, sp, #32
mov x0, x19
mov w1, #10
mov w2, #10
mov x4, #0
mov x5, #0
mov x6, #0
bl _ScrollWindowEx
Lloh30:
adrp x28, _WmEmptySeq@GOTPAGE
Lloh31:
ldr x28, [x28, _WmEmptySeq@GOTPAGEOFF]
ldr w0, [x28]
Lloh32:
adrp x24, _FALSE@GOTPAGE
Lloh33:
ldr x24, [x24, _FALSE@GOTPAGEOFF]
ldr w2, [x24]
Lloh34:
adrp x22, l_.str.6@PAGE
Lloh35:
add x22, x22, l_.str.6@PAGEOFF
mov x1, x22
bl _ok_sequence
Lloh36:
adrp x21, l_.str.7@PAGE
Lloh37:
add x21, x21, l_.str.7@PAGEOFF
mov x0, x21
bl _trace
bl _flush_sequence
bl _flush_events
Lloh38:
adrp x25, _ScrollWindowPaint1@GOTPAGE
Lloh39:
ldr x25, [x25, _ScrollWindowPaint1@GOTPAGEOFF]
ldr w0, [x25]
ldr w2, [x24]
mov x1, x22
bl _ok_sequence
bl _flush_events
bl _flush_sequence
mov x0, x23
bl _trace
ldr w7, [x27]
add x3, sp, #32
mov x0, x19
mov w1, #10
mov w2, #10
mov x4, #0
mov x5, #0
mov x6, #0
bl _ScrollWindowEx
ldr w0, [x28]
ldr w2, [x24]
mov x1, x22
bl _ok_sequence
mov x0, x21
bl _trace
bl _flush_sequence
bl _flush_events
Lloh40:
adrp x8, _ScrollWindowPaint2@GOTPAGE
Lloh41:
ldr x8, [x8, _ScrollWindowPaint2@GOTPAGEOFF]
Lloh42:
ldr w0, [x8]
ldr w2, [x24]
mov x1, x22
bl _ok_sequence
bl _flush_events
bl _flush_sequence
mov x0, x23
bl _trace
Lloh43:
adrp x8, _SW_SCROLLCHILDREN@GOTPAGE
Lloh44:
ldr x8, [x8, _SW_SCROLLCHILDREN@GOTPAGEOFF]
Lloh45:
ldr w8, [x8]
ldr w9, [x26]
orr w8, w9, w8
ldr w9, [x27]
orr w7, w8, w9
add x3, sp, #32
mov x0, x19
mov w1, #10
mov w2, #10
mov x4, #0
mov x5, #0
mov x6, #0
bl _ScrollWindowEx
ldr w0, [x28]
Lloh46:
adrp x8, _TRUE@GOTPAGE
Lloh47:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
Lloh48:
ldr w2, [x8]
mov x1, x22
bl _ok_sequence
mov x0, x21
bl _trace
bl _flush_sequence
bl _flush_events
ldr w0, [x25]
ldr w2, [x24]
mov x1, x22
bl _ok_sequence
bl _flush_events
bl _flush_sequence
Lloh49:
adrp x0, l_.str.8@PAGE
Lloh50:
add x0, x0, l_.str.8@PAGEOFF
bl _trace
mov x0, x19
mov w1, #5
mov w2, #5
mov x3, #0
mov x4, #0
bl _ScrollWindow
mov x0, x21
bl _trace
bl _flush_sequence
bl _flush_events
ldr w0, [x25]
ldr w2, [x24]
Lloh51:
adrp x1, l_.str.9@PAGE
Lloh52:
add x1, x1, l_.str.9@PAGEOFF
bl _ok_sequence
mov x0, x20
bl _DestroyWindow
Lloh53:
adrp x20, l_.str.10@PAGE
Lloh54:
add x20, x20, l_.str.10@PAGEOFF
mov x1, x20
bl _ok
mov x0, x19
bl _DestroyWindow
mov x1, x20
bl _ok
bl _flush_sequence
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
ldp x20, x19, [sp, #112] ; 16-byte Folded Reload
ldp x22, x21, [sp, #96] ; 16-byte Folded Reload
ldp x24, x23, [sp, #80] ; 16-byte Folded Reload
ldp x26, x25, [sp, #64] ; 16-byte Folded Reload
ldp x28, x27, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #144
ret
.loh AdrpAdd Lloh53, Lloh54
.loh AdrpAdd Lloh51, Lloh52
.loh AdrpAdd Lloh49, Lloh50
.loh AdrpLdrGotLdr Lloh46, Lloh47, Lloh48
.loh AdrpLdrGotLdr Lloh43, Lloh44, Lloh45
.loh AdrpLdrGotLdr Lloh40, Lloh41, Lloh42
.loh AdrpLdrGot Lloh38, Lloh39
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpAdd Lloh34, Lloh35
.loh AdrpLdrGot Lloh32, Lloh33
.loh AdrpLdrGot Lloh30, Lloh31
.loh AdrpLdrGot Lloh28, Lloh29
.loh AdrpLdrGot Lloh26, Lloh27
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpAddLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 2 ; @__const.test_scrollwindowex.rect
l___const.test_scrollwindowex.rect:
.long 0 ; 0x0
.long 0 ; 0x0
.long 130 ; 0x82
.long 130 ; 0x82
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "TestWindowClass"
l_.str.1: ; @.str.1
.asciz "Test Scroll"
.comm _WS_VISIBLE,4,2 ; @WS_VISIBLE
.comm _WS_OVERLAPPEDWINDOW,4,2 ; @WS_OVERLAPPEDWINDOW
l_.str.2: ; @.str.2
.asciz "Failed to create overlapped window\n"
l_.str.3: ; @.str.3
.asciz "Test child"
.comm _WS_CAPTION,4,2 ; @WS_CAPTION
.comm _WS_CHILD,4,2 ; @WS_CHILD
l_.str.4: ; @.str.4
.asciz "Failed to create child\n"
l_.str.5: ; @.str.5
.asciz "start scroll\n"
.comm _SW_ERASE,4,2 ; @SW_ERASE
.comm _SW_INVALIDATE,4,2 ; @SW_INVALIDATE
.comm _WmEmptySeq,4,2 ; @WmEmptySeq
l_.str.6: ; @.str.6
.asciz "ScrollWindowEx"
.comm _FALSE,4,2 ; @FALSE
l_.str.7: ; @.str.7
.asciz "end scroll\n"
.comm _ScrollWindowPaint1,4,2 ; @ScrollWindowPaint1
.comm _ScrollWindowPaint2,4,2 ; @ScrollWindowPaint2
.comm _SW_SCROLLCHILDREN,4,2 ; @SW_SCROLLCHILDREN
.comm _TRUE,4,2 ; @TRUE
l_.str.8: ; @.str.8
.asciz "start scroll with ScrollWindow\n"
l_.str.9: ; @.str.9
.asciz "ScrollWindow"
l_.str.10: ; @.str.10
.asciz "failed to destroy window\n"
.no_dead_strip _test_scrollwindowex
.subsections_via_symbols
|
AnghaBench/reactos/modules/rostests/winetests/user32/extr_msg.c_test_scrollwindowex.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl $24, %edi
callq _malloc
movq %rax, %rbx
movq _A@GOTPCREL(%rip), %rax
movq %rbx, (%rax)
movl $671088640, %edi ## imm = 0x28000000
callq _malloc
movq %rax, %r12
movq %rax, (%rbx)
movl $671088640, %edi ## imm = 0x28000000
callq _malloc
movq %rax, %r15
movq %rax, 8(%rbx)
movl $671088640, %edi ## imm = 0x28000000
callq _malloc
movq %rax, %r14
movq %rax, 16(%rbx)
movl $81920, %edi ## imm = 0x14000
callq _malloc
movq %rax, %rbx
movq _B@GOTPCREL(%rip), %rax
movq %rbx, (%rax)
movl $81920, %edi ## imm = 0x14000
callq _malloc
movq _C@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
xorl %ecx, %ecx
movl $1, %edx
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl %ecx, %esi
imulq $1374389535, %rsi, %rsi ## imm = 0x51EB851F
shrq $37, %rsi
imull $100, %esi, %esi
movl %edx, %edi
subl %esi, %edi
movl $0, -4(%r12,%rdx,4)
xorl %esi, %esi
cmpl $98, %edi
setae %sil
movl %esi, (%r12,%rdx,4)
addq $2, %rdx
addl $2, %ecx
cmpq $167772161, %rdx ## imm = 0xA000001
jne LBB0_1
## %bb.2:
xorl %ecx, %ecx
jmp LBB0_3
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_3 Depth=1
movl $0, (%r15,%rcx,4)
incq %rcx
cmpq $167772160, %rcx ## imm = 0xA000000
je LBB0_7
LBB0_3: ## =>This Inner Loop Header: Depth=1
movl %ecx, %edx
imulq $1374389535, %rdx, %rdx ## imm = 0x51EB851F
shrq $37, %rdx
imull $100, %edx, %edx
movl %ecx, %esi
subl %edx, %esi
cmpl $98, %esi
jb LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
leaq 1(%rcx), %rdx
movl %edx, %esi
andl $1, %esi
movl %esi, (%r15,%rcx,4)
movq %rdx, %rcx
cmpq $167772160, %rcx ## imm = 0xA000000
jne LBB0_3
LBB0_7:
xorl %ecx, %ecx
movl $1, %edx
.p2align 4, 0x90
LBB0_8: ## =>This Inner Loop Header: Depth=1
movl %ecx, %esi
imulq $1374389535, %rsi, %rsi ## imm = 0x51EB851F
shrq $37, %rsi
imull $100, %esi, %esi
movl %edx, %edi
subl %esi, %edi
movl $0, -4(%r14,%rdx,4)
xorl %esi, %esi
cmpl $98, %edi
setae %sil
movl %esi, (%r14,%rdx,4)
addq $2, %rdx
addl $2, %ecx
cmpq $167772161, %rdx ## imm = 0xA000001
jne LBB0_8
## %bb.9:
movw $1, %cx
xorl %edx, %edx
.p2align 4, 0x90
LBB0_10: ## =>This Inner Loop Header: Depth=1
movzwl %dx, %esi
shrl %esi
imull $5243, %esi, %esi ## imm = 0x147B
shrl $17, %esi
imull $50, %esi, %esi
movl %ecx, %edi
subl %esi, %edi
movl $0, (%rbx,%rdx,4)
xorl %esi, %esi
cmpw $48, %di
setae %sil
movl %esi, 4(%rbx,%rdx,4)
addq $2, %rdx
addl $2, %ecx
cmpq $8192, %rdx ## imm = 0x2000
jne LBB0_10
## %bb.11:
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_12: ## =>This Inner Loop Header: Depth=1
movl $0, (%rax,%rcx,4)
movl $0, 4(%rax,%rcx,4)
movl $0, 8(%rax,%rcx,4)
movl $0, 12(%rax,%rcx,4)
movl $0, 16(%rax,%rcx,4)
movl $0, 20(%rax,%rcx,4)
movl $0, 24(%rax,%rcx,4)
movl $0, 28(%rax,%rcx,4)
addq $8, %rcx
cmpq $8192, %rcx ## imm = 0x2000
jne LBB0_12
## %bb.13:
xorl %ecx, %ecx
jmp LBB0_14
.p2align 4, 0x90
LBB0_18: ## in Loop: Header=BB0_14 Depth=1
movl (%rax,%rcx,4), %edx
LBB0_19: ## in Loop: Header=BB0_14 Depth=1
movl %edx, (%rax,%rcx,4)
incq %rcx
addq $81920, %r12 ## imm = 0x14000
cmpq $8192, %rcx ## imm = 0x2000
je LBB0_20
LBB0_14: ## =>This Loop Header: Depth=1
## Child Loop BB0_15 Depth 2
movl $1, %edx
.p2align 4, 0x90
LBB0_15: ## Parent Loop BB0_14 Depth=1
## => This Inner Loop Header: Depth=2
movl -4(%r12,%rdx,4), %esi
imull -4(%rbx,%rdx,4), %esi
addl %esi, (%rax,%rcx,4)
movl (%r12,%rdx,4), %esi
imull (%rbx,%rdx,4), %esi
addl %esi, (%rax,%rcx,4)
addq $2, %rdx
cmpq $20481, %rdx ## imm = 0x5001
jne LBB0_15
## %bb.16: ## in Loop: Header=BB0_14 Depth=1
cmpl $0, (%rax,%rcx,4)
jns LBB0_18
## %bb.17: ## in Loop: Header=BB0_14 Depth=1
xorl %edx, %edx
jmp LBB0_19
LBB0_20:
movl $4, %ecx
.p2align 4, 0x90
LBB0_21: ## =>This Inner Loop Header: Depth=1
movl -16(%rax,%rcx,4), %edx
movl %edx, -16(%rbx,%rcx,4)
movl -12(%rax,%rcx,4), %edx
movl %edx, -12(%rbx,%rcx,4)
movl -8(%rax,%rcx,4), %edx
movl %edx, -8(%rbx,%rcx,4)
movl -4(%rax,%rcx,4), %edx
movl %edx, -4(%rbx,%rcx,4)
movl (%rax,%rcx,4), %edx
movl %edx, (%rbx,%rcx,4)
addq $5, %rcx
cmpq $20484, %rcx ## imm = 0x5004
jne LBB0_21
## %bb.22:
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_23: ## =>This Inner Loop Header: Depth=1
movl $0, (%rax,%rcx,4)
movl $0, 4(%rax,%rcx,4)
movl $0, 8(%rax,%rcx,4)
movl $0, 12(%rax,%rcx,4)
movl $0, 16(%rax,%rcx,4)
movl $0, 20(%rax,%rcx,4)
movl $0, 24(%rax,%rcx,4)
movl $0, 28(%rax,%rcx,4)
addq $8, %rcx
cmpq $8192, %rcx ## imm = 0x2000
jne LBB0_23
## %bb.24:
xorl %ecx, %ecx
jmp LBB0_25
.p2align 4, 0x90
LBB0_29: ## in Loop: Header=BB0_25 Depth=1
movl (%rax,%rcx,4), %edx
LBB0_30: ## in Loop: Header=BB0_25 Depth=1
movl %edx, (%rax,%rcx,4)
incq %rcx
addq $81920, %r15 ## imm = 0x14000
cmpq $8192, %rcx ## imm = 0x2000
je LBB0_31
LBB0_25: ## =>This Loop Header: Depth=1
## Child Loop BB0_26 Depth 2
movl $1, %edx
.p2align 4, 0x90
LBB0_26: ## Parent Loop BB0_25 Depth=1
## => This Inner Loop Header: Depth=2
movl -4(%r15,%rdx,4), %esi
imull -4(%rbx,%rdx,4), %esi
addl %esi, (%rax,%rcx,4)
movl (%r15,%rdx,4), %esi
imull (%rbx,%rdx,4), %esi
addl %esi, (%rax,%rcx,4)
addq $2, %rdx
cmpq $20481, %rdx ## imm = 0x5001
jne LBB0_26
## %bb.27: ## in Loop: Header=BB0_25 Depth=1
cmpl $0, (%rax,%rcx,4)
jns LBB0_29
## %bb.28: ## in Loop: Header=BB0_25 Depth=1
xorl %edx, %edx
jmp LBB0_30
LBB0_31:
movl $4, %ecx
.p2align 4, 0x90
LBB0_32: ## =>This Inner Loop Header: Depth=1
movl -16(%rax,%rcx,4), %edx
movl %edx, -16(%rbx,%rcx,4)
movl -12(%rax,%rcx,4), %edx
movl %edx, -12(%rbx,%rcx,4)
movl -8(%rax,%rcx,4), %edx
movl %edx, -8(%rbx,%rcx,4)
movl -4(%rax,%rcx,4), %edx
movl %edx, -4(%rbx,%rcx,4)
movl (%rax,%rcx,4), %edx
movl %edx, (%rbx,%rcx,4)
addq $5, %rcx
cmpq $20484, %rcx ## imm = 0x5004
jne LBB0_32
## %bb.33:
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_34: ## =>This Inner Loop Header: Depth=1
movl $0, (%rax,%rcx,4)
movl $0, 4(%rax,%rcx,4)
movl $0, 8(%rax,%rcx,4)
movl $0, 12(%rax,%rcx,4)
movl $0, 16(%rax,%rcx,4)
movl $0, 20(%rax,%rcx,4)
movl $0, 24(%rax,%rcx,4)
movl $0, 28(%rax,%rcx,4)
addq $8, %rcx
cmpq $8192, %rcx ## imm = 0x2000
jne LBB0_34
## %bb.35:
xorl %ecx, %ecx
jmp LBB0_36
.p2align 4, 0x90
LBB0_40: ## in Loop: Header=BB0_36 Depth=1
movl (%rax,%rcx,4), %edx
LBB0_41: ## in Loop: Header=BB0_36 Depth=1
movl %edx, (%rax,%rcx,4)
incq %rcx
addq $81920, %r14 ## imm = 0x14000
cmpq $8192, %rcx ## imm = 0x2000
je LBB0_42
LBB0_36: ## =>This Loop Header: Depth=1
## Child Loop BB0_37 Depth 2
movl $1, %edx
.p2align 4, 0x90
LBB0_37: ## Parent Loop BB0_36 Depth=1
## => This Inner Loop Header: Depth=2
movl -4(%r14,%rdx,4), %esi
imull -4(%rbx,%rdx,4), %esi
addl %esi, (%rax,%rcx,4)
movl (%r14,%rdx,4), %esi
imull (%rbx,%rdx,4), %esi
addl %esi, (%rax,%rcx,4)
addq $2, %rdx
cmpq $20481, %rdx ## imm = 0x5001
jne LBB0_37
## %bb.38: ## in Loop: Header=BB0_36 Depth=1
cmpl $0, (%rax,%rcx,4)
jns LBB0_40
## %bb.39: ## in Loop: Header=BB0_36 Depth=1
xorl %edx, %edx
jmp LBB0_41
LBB0_42:
movl $4, %ecx
.p2align 4, 0x90
LBB0_43: ## =>This Inner Loop Header: Depth=1
movl -16(%rax,%rcx,4), %edx
movl %edx, -16(%rbx,%rcx,4)
movl -12(%rax,%rcx,4), %edx
movl %edx, -12(%rbx,%rcx,4)
movl -8(%rax,%rcx,4), %edx
movl %edx, -8(%rbx,%rcx,4)
movl -4(%rax,%rcx,4), %edx
movl %edx, -4(%rbx,%rcx,4)
movl (%rax,%rcx,4), %edx
movl %edx, (%rbx,%rcx,4)
addq $5, %rcx
cmpq $20484, %rcx ## imm = 0x5004
jne LBB0_43
## %bb.44:
xorl %eax, %eax
xorl %esi, %esi
.p2align 4, 0x90
LBB0_45: ## =>This Inner Loop Header: Depth=1
movl (%rbx,%rax,4), %ecx
addq %rsi, %rcx
movl 4(%rbx,%rax,4), %edx
addq %rcx, %rdx
movl 8(%rbx,%rax,4), %ecx
addq %rdx, %rcx
movl 12(%rbx,%rax,4), %edx
addq %rcx, %rdx
movl 16(%rbx,%rax,4), %ecx
addq %rdx, %rcx
movl 20(%rbx,%rax,4), %edx
addq %rcx, %rdx
movl 24(%rbx,%rax,4), %ecx
addq %rdx, %rcx
movl 28(%rbx,%rax,4), %esi
addq %rcx, %rsi
addq $8, %rax
cmpq $8192, %rax ## imm = 0x2000
jne LBB0_45
## %bb.46:
leaq L_.str(%rip), %rdi
## kill: def $esi killed $esi killed $rsi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _A,8,3 ## @A
.comm _B,8,3 ## @B
.comm _C,8,3 ## @C
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "SUM = %d \n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #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 w23, #16384
movk w23, #1, lsl #16
mov w0, #24
bl _malloc
mov x19, x0
Lloh0:
adrp x8, _A@GOTPAGE
Lloh1:
ldr x8, [x8, _A@GOTPAGEOFF]
Lloh2:
str x0, [x8]
mov w0, #671088640
bl _malloc
mov x22, x0
str x0, [x19]
mov w0, #671088640
bl _malloc
mov x21, x0
str x0, [x19, #8]
mov w0, #671088640
bl _malloc
mov x20, x0
str x0, [x19, #16]
mov w0, #16384
movk w0, #1, lsl #16
bl _malloc
mov x19, x0
Lloh3:
adrp x8, _B@GOTPAGE
Lloh4:
ldr x8, [x8, _B@GOTPAGEOFF]
Lloh5:
str x0, [x8]
mov w0, #16384
movk w0, #1, lsl #16
bl _malloc
mov x8, #0
Lloh6:
adrp x9, _C@GOTPAGE
Lloh7:
ldr x9, [x9, _C@GOTPAGEOFF]
Lloh8:
str x0, [x9]
mov w9, #34079
movk w9, #20971, lsl #16
mov w10, #-100
mov w11, #167772160
LBB0_1: ; =>This Inner Loop Header: Depth=1
and x12, x8, #0xffffffff
mul x12, x12, x9
lsr x12, x12, #37
madd w12, w12, w10, w8
and w13, w8, #0x1
cmp w12, #98
csel w12, wzr, w13, lo
str w12, [x22, x8, lsl #2]
add x8, x8, #1
cmp x8, x11
b.ne LBB0_1
; %bb.2:
mov x8, #0
mov w9, #34079
movk w9, #20971, lsl #16
mov w10, #100
mov w11, #167772160
b LBB0_4
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
str wzr, [x21, x8, lsl #2]
add x8, x8, #1
cmp x8, x11
b.eq LBB0_6
LBB0_4: ; =>This Inner Loop Header: Depth=1
and x12, x8, #0xffffffff
mul x12, x12, x9
lsr x12, x12, #37
msub w12, w12, w10, w8
cmp w12, #98
b.lo LBB0_3
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
add x12, x8, #1
and w13, w12, #0x1
str w13, [x21, x8, lsl #2]
mov x8, x12
cmp x8, x11
b.ne LBB0_4
LBB0_6:
mov x8, #0
mov w9, #34079
movk w9, #20971, lsl #16
mov w10, #-100
mov w11, #167772160
LBB0_7: ; =>This Inner Loop Header: Depth=1
and x12, x8, #0xffffffff
mul x12, x12, x9
lsr x12, x12, #37
madd w12, w12, w10, w8
and w13, w8, #0x1
cmp w12, #98
csel w12, wzr, w13, lo
str w12, [x20, x8, lsl #2]
add x8, x8, #1
cmp x8, x11
b.ne LBB0_7
; %bb.8:
mov x8, #0
mov w9, #34079
movk w9, #20971, lsl #16
mov w10, #50
LBB0_9: ; =>This Inner Loop Header: Depth=1
and w11, w8, #0xffff
and x12, x8, #0xffff
mul x12, x12, x9
lsr x12, x12, #36
msub w11, w12, w10, w11
and w12, w8, #0x1
cmp w11, #48
csel w11, wzr, w12, lo
str w11, [x19, x8, lsl #2]
add x8, x8, #1
cmp x8, #2, lsl #12 ; =8192
b.ne LBB0_9
; %bb.10:
mov x8, #0
LBB0_11: ; =>This Inner Loop Header: Depth=1
str wzr, [x0, x8]
add x8, x8, #4
cmp x8, #8, lsl #12 ; =32768
b.ne LBB0_11
; %bb.12:
mov x8, #0
b LBB0_15
LBB0_13: ; in Loop: Header=BB0_15 Depth=1
ldr w9, [x0, x8, lsl #2]
LBB0_14: ; in Loop: Header=BB0_15 Depth=1
str w9, [x0, x8, lsl #2]
add x8, x8, #1
add x22, x22, #20, lsl #12 ; =81920
cmp x8, #2, lsl #12 ; =8192
b.eq LBB0_19
LBB0_15: ; =>This Loop Header: Depth=1
; Child Loop BB0_16 Depth 2
mov x9, #0
LBB0_16: ; Parent Loop BB0_15 Depth=1
; => This Inner Loop Header: Depth=2
ldr w10, [x22, x9]
ldr w11, [x19, x9]
lsl x12, x8, #2
ldr w13, [x0, x12]
madd w10, w11, w10, w13
str w10, [x0, x12]
add x9, x9, #4
cmp x9, x23
b.ne LBB0_16
; %bb.17: ; in Loop: Header=BB0_15 Depth=1
ldr w9, [x0, x8, lsl #2]
tbz w9, #31, LBB0_13
; %bb.18: ; in Loop: Header=BB0_15 Depth=1
mov w9, #0
b LBB0_14
LBB0_19:
mov x8, #0
LBB0_20: ; =>This Inner Loop Header: Depth=1
ldr w9, [x0, x8]
str w9, [x19, x8]
add x8, x8, #4
cmp x8, x23
b.ne LBB0_20
; %bb.21:
mov x8, #0
LBB0_22: ; =>This Inner Loop Header: Depth=1
str wzr, [x0, x8]
add x8, x8, #4
cmp x8, #8, lsl #12 ; =32768
b.ne LBB0_22
; %bb.23:
mov x8, #0
b LBB0_26
LBB0_24: ; in Loop: Header=BB0_26 Depth=1
ldr w9, [x0, x8, lsl #2]
LBB0_25: ; in Loop: Header=BB0_26 Depth=1
str w9, [x0, x8, lsl #2]
add x8, x8, #1
add x21, x21, #20, lsl #12 ; =81920
cmp x8, #2, lsl #12 ; =8192
b.eq LBB0_30
LBB0_26: ; =>This Loop Header: Depth=1
; Child Loop BB0_27 Depth 2
mov x9, #0
LBB0_27: ; Parent Loop BB0_26 Depth=1
; => This Inner Loop Header: Depth=2
ldr w10, [x21, x9]
ldr w11, [x19, x9]
lsl x12, x8, #2
ldr w13, [x0, x12]
madd w10, w11, w10, w13
str w10, [x0, x12]
add x9, x9, #4
cmp x9, x23
b.ne LBB0_27
; %bb.28: ; in Loop: Header=BB0_26 Depth=1
ldr w9, [x0, x8, lsl #2]
tbz w9, #31, LBB0_24
; %bb.29: ; in Loop: Header=BB0_26 Depth=1
mov w9, #0
b LBB0_25
LBB0_30:
mov x8, #0
LBB0_31: ; =>This Inner Loop Header: Depth=1
ldr w9, [x0, x8]
str w9, [x19, x8]
add x8, x8, #4
cmp x8, x23
b.ne LBB0_31
; %bb.32:
mov x8, #0
LBB0_33: ; =>This Inner Loop Header: Depth=1
str wzr, [x0, x8]
add x8, x8, #4
cmp x8, #8, lsl #12 ; =32768
b.ne LBB0_33
; %bb.34:
mov x8, #0
b LBB0_37
LBB0_35: ; in Loop: Header=BB0_37 Depth=1
ldr w9, [x0, x8, lsl #2]
LBB0_36: ; in Loop: Header=BB0_37 Depth=1
str w9, [x0, x8, lsl #2]
add x8, x8, #1
add x20, x20, #20, lsl #12 ; =81920
cmp x8, #2, lsl #12 ; =8192
b.eq LBB0_41
LBB0_37: ; =>This Loop Header: Depth=1
; Child Loop BB0_38 Depth 2
mov x9, #0
LBB0_38: ; Parent Loop BB0_37 Depth=1
; => This Inner Loop Header: Depth=2
ldr w10, [x20, x9]
ldr w11, [x19, x9]
lsl x12, x8, #2
ldr w13, [x0, x12]
madd w10, w11, w10, w13
str w10, [x0, x12]
add x9, x9, #4
cmp x9, x23
b.ne LBB0_38
; %bb.39: ; in Loop: Header=BB0_37 Depth=1
ldr w9, [x0, x8, lsl #2]
tbz w9, #31, LBB0_35
; %bb.40: ; in Loop: Header=BB0_37 Depth=1
mov w9, #0
b LBB0_36
LBB0_41:
mov x8, #0
LBB0_42: ; =>This Inner Loop Header: Depth=1
ldr w9, [x0, x8]
str w9, [x19, x8]
add x8, x8, #4
cmp x8, x23
b.ne LBB0_42
; %bb.43:
mov x9, #0
mov x8, #0
LBB0_44: ; =>This Inner Loop Header: Depth=1
ldr w10, [x19, x9]
add x8, x8, x10
add x9, x9, #4
cmp x9, #8, lsl #12 ; =32768
b.ne LBB0_44
; %bb.45:
str x8, [sp]
Lloh9:
adrp x0, l_.str@PAGE
Lloh10:
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpLdrGotStr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotStr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotStr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh9, Lloh10
.cfi_endproc
; -- End function
.comm _A,8,3 ; @A
.comm _B,8,3 ; @B
.comm _C,8,3 ; @C
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "SUM = %d \n"
.subsections_via_symbols
|
the_stack_data/499181.c
|
stack
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Update_event2
_Update_event2: ## @Update_event2
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpq $0, 24(%rdi)
movq 16(%rdi), %rax
je LBB0_6
## %bb.1:
testq %rax, %rax
je LBB0_3
## %bb.2:
movq _event2_pure@GOTPCREL(%rip), %rax
jmp LBB0_11
LBB0_6:
testq %rax, %rax
je LBB0_8
## %bb.7:
movq _event2_p5@GOTPCREL(%rip), %rax
jmp LBB0_11
LBB0_3:
cmpq $0, 8(%rdi)
jne LBB0_4
## %bb.5:
movq _event2_p917@GOTPCREL(%rip), %rax
jmp LBB0_11
LBB0_8:
cmpq $0, 8(%rdi)
jne LBB0_9
## %bb.10:
movq _event2_p917_p5@GOTPCREL(%rip), %rax
jmp LBB0_11
LBB0_4:
movq _event2_p4@GOTPCREL(%rip), %rax
jmp LBB0_11
LBB0_9:
movq _event2_p4_p5@GOTPCREL(%rip), %rax
LBB0_11:
movl (%rax), %eax
movl %eax, (%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _event2_pure,4,2 ## @event2_pure
.comm _event2_p4,4,2 ## @event2_p4
.comm _event2_p917,4,2 ## @event2_p917
.comm _event2_p5,4,2 ## @event2_p5
.comm _event2_p4_p5,4,2 ## @event2_p4_p5
.comm _event2_p917_p5,4,2 ## @event2_p917_p5
.no_dead_strip _Update_event2
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Update_event2
_Update_event2: ; @Update_event2
.cfi_startproc
; %bb.0:
ldp x8, x9, [x0, #16]
cbz x9, LBB0_3
; %bb.1:
cbz x8, LBB0_5
; %bb.2:
Lloh0:
adrp x8, _event2_pure@GOTPAGE
Lloh1:
ldr x8, [x8, _event2_pure@GOTPAGEOFF]
b LBB0_8
LBB0_3:
cbz x8, LBB0_6
; %bb.4:
Lloh2:
adrp x8, _event2_p5@GOTPAGE
Lloh3:
ldr x8, [x8, _event2_p5@GOTPAGEOFF]
b LBB0_8
LBB0_5:
ldr x8, [x0, #8]
Lloh4:
adrp x9, _event2_p4@GOTPAGE
Lloh5:
ldr x9, [x9, _event2_p4@GOTPAGEOFF]
Lloh6:
adrp x10, _event2_p917@GOTPAGE
Lloh7:
ldr x10, [x10, _event2_p917@GOTPAGEOFF]
b LBB0_7
LBB0_6:
ldr x8, [x0, #8]
Lloh8:
adrp x9, _event2_p4_p5@GOTPAGE
Lloh9:
ldr x9, [x9, _event2_p4_p5@GOTPAGEOFF]
Lloh10:
adrp x10, _event2_p917_p5@GOTPAGE
Lloh11:
ldr x10, [x10, _event2_p917_p5@GOTPAGEOFF]
LBB0_7:
cmp x8, #0
csel x8, x10, x9, eq
LBB0_8:
ldr w8, [x8]
str w8, [x0]
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _event2_pure,4,2 ; @event2_pure
.comm _event2_p4,4,2 ; @event2_p4
.comm _event2_p917,4,2 ; @event2_p917
.comm _event2_p5,4,2 ; @event2_p5
.comm _event2_p4_p5,4,2 ; @event2_p4_p5
.comm _event2_p917_p5,4,2 ; @event2_p917_p5
.no_dead_strip _Update_event2
.subsections_via_symbols
|
AnghaBench/Provenance/Cores/Atari800/atari800-src/extr_mzpokeysnd.c_Update_event2.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _matrix_scan_kb ## -- Begin function matrix_scan_kb
.weak_definition _matrix_scan_kb
.p2align 4, 0x90
_matrix_scan_kb: ## @matrix_scan_kb
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
popq %rbp
jmp _matrix_scan_user ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _matrix_scan_kb ; -- Begin function matrix_scan_kb
.weak_definition _matrix_scan_kb
.p2align 2
_matrix_scan_kb: ; @matrix_scan_kb
.cfi_startproc
; %bb.0:
b _matrix_scan_user
.cfi_endproc
; -- End function
.subsections_via_symbols
|
AnghaBench/qmk_firmware/keyboards/bpiphany/frosty_flake/extr_matrix.c_matrix_scan_kb.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mxge_watchdog_reset
_mxge_watchdog_reset: ## @mxge_watchdog_reset
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
movl 12(%rdi), %edi
leaq L_.str(%rip), %rsi
xorl %eax, %eax
callq _device_printf
movl 12(%rbx), %edi
movq _PCIR_COMMAND@GOTPCREL(%rip), %r14
movl (%r14), %esi
movl $2, %edx
callq _pci_read_config
cmpl $65535, %eax ## imm = 0xFFFF
jne LBB0_3
## %bb.1:
movl $100000, %edi ## imm = 0x186A0
callq _DELAY
movl 12(%rbx), %edi
movl (%r14), %esi
movl $2, %edx
callq _pci_read_config
cmpl $65535, %eax ## imm = 0xFFFF
jne LBB0_3
## %bb.2:
movl 12(%rbx), %edi
leaq L_.str.1(%rip), %rsi
xorl %eax, %eax
callq _device_printf
movl $65535, %eax ## imm = 0xFFFF
LBB0_3:
movq _PCIM_CMD_BUSMASTEREN@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_4
## %bb.11:
movl 12(%rbx), %edi
leaq L_.str.4(%rip), %rsi
xorl %eax, %eax
callq _device_printf
LBB0_17:
cmpl $2, 4(%rbx)
jne LBB0_19
## %bb.18:
movl $0, 4(%rbx)
LBB0_19:
leaq 8(%rbx), %rdi
movq _mxge_ticks@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _mxge_tick@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rcx
popq %rbx
popq %r14
popq %rbp
jmp _callout_reset ## TAILCALL
LBB0_4:
movq %rbx, %rdi
callq _mxge_read_reboot
movl 12(%rbx), %edi
leaq L_.str.2(%rip), %rsi
movl %eax, %edx
xorl %eax, %eax
callq _device_printf
movq 32(%rbx), %rdi
movq _IFF_DRV_RUNNING@GOTPCREL(%rip), %rax
movl (%rax), %r14d
andl (%rdi), %r14d
je LBB0_8
## %bb.5:
cmpq $0, 40(%rbx)
je LBB0_7
## %bb.6:
movq $0, 40(%rbx)
movq _LINK_STATE_DOWN@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _if_link_state_change
LBB0_7:
movq 24(%rbx), %rdi
callq _mtx_lock
movq %rbx, %rdi
movl $1, %esi
callq _mxge_close
LBB0_8:
movl 12(%rbx), %edi
callq _device_get_ivars
movl 12(%rbx), %edi
movq %rax, %rsi
callq _pci_cfg_restore
movq %rbx, %rdi
callq _mxge_setup_cfg_space
movq %rbx, %rdi
xorl %esi, %esi
callq _mxge_load_firmware
testl %eax, %eax
je LBB0_9
## %bb.12:
movl 12(%rbx), %edi
leaq L_.str.3(%rip), %rsi
xorl %eax, %eax
callq _device_printf
testl %r14d, %r14d
je LBB0_14
## %bb.13:
movq 24(%rbx), %rdi
callq _mtx_unlock
LBB0_14:
incl 16(%rbx)
LBB0_15:
movl 12(%rbx), %edi
leaq L_.str.5(%rip), %rsi
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
jmp _device_printf ## TAILCALL
LBB0_9:
testl %r14d, %r14d
je LBB0_10
## %bb.16:
movq %rbx, %rdi
callq _mxge_open
movl %eax, %r14d
movq 24(%rbx), %rdi
callq _mtx_unlock
incl 16(%rbx)
testl %r14d, %r14d
jne LBB0_15
jmp LBB0_17
LBB0_10:
incl 16(%rbx)
jmp LBB0_17
.cfi_endproc
## -- End function
.comm _ENXIO,4,2 ## @ENXIO
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Watchdog reset!\n"
.comm _PCIR_COMMAND,4,2 ## @PCIR_COMMAND
L_.str.1: ## @.str.1
.asciz "NIC disappeared!\n"
.comm _PCIM_CMD_BUSMASTEREN,4,2 ## @PCIM_CMD_BUSMASTEREN
L_.str.2: ## @.str.2
.asciz "NIC rebooted, status = 0x%x\n"
.comm _IFF_DRV_RUNNING,4,2 ## @IFF_DRV_RUNNING
.comm _LINK_STATE_DOWN,4,2 ## @LINK_STATE_DOWN
L_.str.3: ## @.str.3
.asciz "Unable to re-load f/w\n"
L_.str.4: ## @.str.4
.asciz "NIC did not reboot, not resetting\n"
L_.str.5: ## @.str.5
.asciz "watchdog reset failed\n"
.comm _mxge_ticks,4,2 ## @mxge_ticks
.comm _mxge_tick,4,2 ## @mxge_tick
.no_dead_strip _mxge_watchdog_reset
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mxge_watchdog_reset
_mxge_watchdog_reset: ; @mxge_watchdog_reset
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
ldr w0, [x0, #12]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _device_printf
ldr w0, [x19, #12]
Lloh2:
adrp x20, _PCIR_COMMAND@GOTPAGE
Lloh3:
ldr x20, [x20, _PCIR_COMMAND@GOTPAGEOFF]
ldr w1, [x20]
mov w2, #2
bl _pci_read_config
mov w21, #65535
cmp w0, w21
b.ne LBB0_3
; %bb.1:
mov w0, #34464
movk w0, #1, lsl #16
bl _DELAY
ldr w0, [x19, #12]
ldr w1, [x20]
mov w2, #2
bl _pci_read_config
cmp w0, w21
b.ne LBB0_3
; %bb.2:
ldr w0, [x19, #12]
Lloh4:
adrp x1, l_.str.1@PAGE
Lloh5:
add x1, x1, l_.str.1@PAGEOFF
bl _device_printf
mov w0, #65535
LBB0_3:
Lloh6:
adrp x8, _PCIM_CMD_BUSMASTEREN@GOTPAGE
Lloh7:
ldr x8, [x8, _PCIM_CMD_BUSMASTEREN@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
tst w8, w0
b.eq LBB0_8
; %bb.4:
ldr w0, [x19, #12]
Lloh9:
adrp x1, l_.str.4@PAGE
Lloh10:
add x1, x1, l_.str.4@PAGEOFF
bl _device_printf
LBB0_5:
ldr w8, [x19, #4]
cmp w8, #2
b.ne LBB0_7
; %bb.6:
str wzr, [x19, #4]
LBB0_7:
add x0, x19, #8
Lloh11:
adrp x8, _mxge_ticks@GOTPAGE
Lloh12:
ldr x8, [x8, _mxge_ticks@GOTPAGEOFF]
Lloh13:
adrp x9, _mxge_tick@GOTPAGE
Lloh14:
ldr x9, [x9, _mxge_tick@GOTPAGEOFF]
Lloh15:
ldr w1, [x8]
Lloh16:
ldr w2, [x9]
mov x3, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
b _callout_reset
LBB0_8:
mov x0, x19
bl _mxge_read_reboot
; kill: def $w0 killed $w0 def $x0
ldr w8, [x19, #12]
str x0, [sp]
Lloh17:
adrp x1, l_.str.2@PAGE
Lloh18:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x8
bl _device_printf
ldr x0, [x19, #32]
ldr w8, [x0]
Lloh19:
adrp x9, _IFF_DRV_RUNNING@GOTPAGE
Lloh20:
ldr x9, [x9, _IFF_DRV_RUNNING@GOTPAGEOFF]
Lloh21:
ldr w9, [x9]
ands w20, w9, w8
b.eq LBB0_12
; %bb.9:
ldr x8, [x19, #40]
cbz x8, LBB0_11
; %bb.10:
str xzr, [x19, #40]
Lloh22:
adrp x8, _LINK_STATE_DOWN@GOTPAGE
Lloh23:
ldr x8, [x8, _LINK_STATE_DOWN@GOTPAGEOFF]
Lloh24:
ldr w1, [x8]
bl _if_link_state_change
LBB0_11:
ldr x0, [x19, #24]
bl _mtx_lock
mov x0, x19
mov w1, #1
bl _mxge_close
LBB0_12:
ldr w0, [x19, #12]
bl _device_get_ivars
mov x1, x0
ldr w0, [x19, #12]
bl _pci_cfg_restore
mov x0, x19
bl _mxge_setup_cfg_space
mov x0, x19
mov w1, #0
bl _mxge_load_firmware
cbz w0, LBB0_17
; %bb.13:
ldr w0, [x19, #12]
Lloh25:
adrp x1, l_.str.3@PAGE
Lloh26:
add x1, x1, l_.str.3@PAGEOFF
bl _device_printf
cbz w20, LBB0_15
; %bb.14:
ldr x0, [x19, #24]
bl _mtx_unlock
LBB0_15:
ldr w8, [x19, #16]
add w8, w8, #1
str w8, [x19, #16]
LBB0_16:
ldr w0, [x19, #12]
Lloh27:
adrp x1, l_.str.5@PAGE
Lloh28:
add x1, x1, l_.str.5@PAGEOFF
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 _device_printf
LBB0_17:
cbz w20, LBB0_19
; %bb.18:
mov x0, x19
bl _mxge_open
mov x20, x0
ldr x0, [x19, #24]
bl _mtx_unlock
ldr w8, [x19, #16]
add w8, w8, #1
str w8, [x19, #16]
cbnz w20, LBB0_16
b LBB0_5
LBB0_19:
ldr w8, [x19, #16]
add w8, w8, #1
str w8, [x19, #16]
b LBB0_5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh16
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh15
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpAdd Lloh27, Lloh28
.cfi_endproc
; -- End function
.comm _ENXIO,4,2 ; @ENXIO
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Watchdog reset!\n"
.comm _PCIR_COMMAND,4,2 ; @PCIR_COMMAND
l_.str.1: ; @.str.1
.asciz "NIC disappeared!\n"
.comm _PCIM_CMD_BUSMASTEREN,4,2 ; @PCIM_CMD_BUSMASTEREN
l_.str.2: ; @.str.2
.asciz "NIC rebooted, status = 0x%x\n"
.comm _IFF_DRV_RUNNING,4,2 ; @IFF_DRV_RUNNING
.comm _LINK_STATE_DOWN,4,2 ; @LINK_STATE_DOWN
l_.str.3: ; @.str.3
.asciz "Unable to re-load f/w\n"
l_.str.4: ; @.str.4
.asciz "NIC did not reboot, not resetting\n"
l_.str.5: ; @.str.5
.asciz "watchdog reset failed\n"
.comm _mxge_ticks,4,2 ; @mxge_ticks
.comm _mxge_tick,4,2 ; @mxge_tick
.no_dead_strip _mxge_watchdog_reset
.subsections_via_symbols
|
AnghaBench/freebsd/sys/dev/mxge/extr_if_mxge.c_mxge_watchdog_reset.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _espconn_ssl_delete ## -- Begin function espconn_ssl_delete
.p2align 4, 0x90
_espconn_ssl_delete: ## @espconn_ssl_delete
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq $0, -48(%rbp)
movq _ESPCONN_ARG@GOTPCREL(%rip), %r15
testq %rdi, %rdi
je LBB0_6
## %bb.1:
movq %rdi, %rbx
movq _ESPCONN_SSL@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq -48(%rbp), %rsi
callq _espconn_get_connection_info
cmpq $0, (%rbx)
je LBB0_3
## %bb.2:
movq _ESPCONN_INPROGRESS@GOTPCREL(%rip), %r15
LBB0_6:
movl (%r15), %eax
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_3:
movq _plink_server@GOTPCREL(%rip), %r12
movq (%r12), %r14
testq %r14, %r14
je LBB0_6
## %bb.4:
cmpq %rbx, 8(%r14)
jne LBB0_6
## %bb.5:
movq (%r14), %r15
movq %r15, -40(%rbp)
movq 8(%rbx), %rax
movl (%rax), %edi
callq _espconn_kill_pcb
movq %r15, %rdi
callq _mbedtls_net_free
leaq -40(%rbp), %rdi
callq _mbedtls_msg_free
movq -40(%rbp), %rax
movq %rax, (%r14)
movq %r14, %rdi
callq _os_free
movq $0, (%r12)
movq _def_private_key@GOTPCREL(%rip), %rdi
callq _mbedtls_parame_free
movq _def_certificate@GOTPCREL(%rip), %rdi
callq _mbedtls_parame_free
movq _ESPCONN_OK@GOTPCREL(%rip), %r15
jmp LBB0_6
.cfi_endproc
## -- End function
.comm _ESPCONN_ARG,4,2 ## @ESPCONN_ARG
.comm _ESPCONN_SSL,4,2 ## @ESPCONN_SSL
.comm _ESPCONN_INPROGRESS,4,2 ## @ESPCONN_INPROGRESS
.comm _plink_server,8,3 ## @plink_server
.comm _def_private_key,4,2 ## @def_private_key
.comm _def_certificate,4,2 ## @def_certificate
.comm _ESPCONN_OK,4,2 ## @ESPCONN_OK
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _espconn_ssl_delete ; -- Begin function espconn_ssl_delete
.p2align 2
_espconn_ssl_delete: ; @espconn_ssl_delete
.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
str xzr, [sp, #8]
cbz x0, LBB0_5
; %bb.1:
mov x20, x0
Lloh0:
adrp x8, _ESPCONN_SSL@GOTPAGE
Lloh1:
ldr x8, [x8, _ESPCONN_SSL@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
add x1, sp, #8
bl _espconn_get_connection_info
ldr x8, [x20]
cbz x8, LBB0_3
; %bb.2:
Lloh3:
adrp x8, _ESPCONN_INPROGRESS@GOTPAGE
Lloh4:
ldr x8, [x8, _ESPCONN_INPROGRESS@GOTPAGEOFF]
b LBB0_6
LBB0_3:
Lloh5:
adrp x22, _plink_server@GOTPAGE
Lloh6:
ldr x22, [x22, _plink_server@GOTPAGEOFF]
ldr x19, [x22]
cbz x19, LBB0_5
; %bb.4:
ldr x8, [x19, #8]
cmp x8, x20
b.eq LBB0_7
LBB0_5:
Lloh7:
adrp x8, _ESPCONN_ARG@GOTPAGE
Lloh8:
ldr x8, [x8, _ESPCONN_ARG@GOTPAGEOFF]
LBB0_6:
ldr w0, [x8]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
LBB0_7:
ldr x21, [x19]
str x21, [sp]
ldr x8, [x20, #8]
ldr w0, [x8]
bl _espconn_kill_pcb
mov x0, x21
bl _mbedtls_net_free
mov x0, sp
bl _mbedtls_msg_free
ldr x8, [sp]
str x8, [x19]
mov x0, x19
bl _os_free
str xzr, [x22]
Lloh9:
adrp x0, _def_private_key@GOTPAGE
Lloh10:
ldr x0, [x0, _def_private_key@GOTPAGEOFF]
bl _mbedtls_parame_free
Lloh11:
adrp x0, _def_certificate@GOTPAGE
Lloh12:
ldr x0, [x0, _def_certificate@GOTPAGEOFF]
bl _mbedtls_parame_free
Lloh13:
adrp x8, _ESPCONN_OK@GOTPAGE
Lloh14:
ldr x8, [x8, _ESPCONN_OK@GOTPAGEOFF]
b LBB0_6
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGot Lloh9, Lloh10
.cfi_endproc
; -- End function
.comm _ESPCONN_ARG,4,2 ; @ESPCONN_ARG
.comm _ESPCONN_SSL,4,2 ; @ESPCONN_SSL
.comm _ESPCONN_INPROGRESS,4,2 ; @ESPCONN_INPROGRESS
.comm _plink_server,8,3 ; @plink_server
.comm _def_private_key,4,2 ; @def_private_key
.comm _def_certificate,4,2 ; @def_certificate
.comm _ESPCONN_OK,4,2 ; @ESPCONN_OK
.subsections_via_symbols
|
AnghaBench/nodemcu-firmware/app/mbedtls/app/extr_espconn_mbedtls.c_espconn_ssl_delete.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function snd_intel8x0_free
_snd_intel8x0_free: ## @snd_intel8x0_free
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
cmpq $0, (%rdi)
js LBB0_11
## %bb.1:
xorl %r15d, %r15d
movq _ICH_REG_OFF_CR@GOTPCREL(%rip), %r14
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq 56(%rbx), %rax
movl %r15d, %ecx
movq (%rax,%rcx,8), %rsi
addq (%r14), %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq _iputbyte
decl %r15d
movl 8(%rbx), %eax
cmpl %eax, %r15d
jbe LBB0_2
## %bb.3:
testl %eax, %eax
je LBB0_6
## %bb.4:
xorl %r15d, %r15d
movq _ICH_RESETREGS@GOTPCREL(%rip), %r12
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq 56(%rbx), %rax
movq (%rax,%r15,8), %rsi
addq (%r14), %rsi
movl (%r12), %edx
movq %rbx, %rdi
callq _iputbyte
incq %r15
movl 8(%rbx), %eax
cmpq %rax, %r15
jb LBB0_5
LBB0_6:
movq 16(%rbx), %rax
movq _DEVICE_NFORCE@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_9
## %bb.7:
movq _spdif_aclink@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jne LBB0_9
## %bb.8:
movl 24(%rbx), %edi
leaq -36(%rbp), %rdx
movl $76, %esi
callq _pci_read_config_dword
movl $-16777217, %edx ## imm = 0xFEFFFFFF
andl -36(%rbp), %edx
movl %edx, -36(%rbp)
movl 24(%rbx), %edi
movl $76, %esi
callq _pci_write_config_dword
LBB0_9:
movq (%rbx), %rdi
testq %rdi, %rdi
js LBB0_11
## %bb.10:
movq %rbx, %rsi
callq _free_irq
LBB0_11:
cmpq $0, 48(%rbx)
je LBB0_13
## %bb.12:
leaq 48(%rbx), %rdi
callq _snd_dma_free_pages
LBB0_13:
movq 40(%rbx), %rsi
testq %rsi, %rsi
je LBB0_15
## %bb.14:
movl 24(%rbx), %edi
callq _pci_iounmap
LBB0_15:
movq 32(%rbx), %rsi
testq %rsi, %rsi
je LBB0_17
## %bb.16:
movl 24(%rbx), %edi
callq _pci_iounmap
LBB0_17:
movl 24(%rbx), %edi
callq _pci_release_regions
movl 24(%rbx), %edi
callq _pci_disable_device
movq %rbx, %rdi
callq _kfree
xorl %eax, %eax
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ICH_REG_OFF_CR,8,3 ## @ICH_REG_OFF_CR
.comm _ICH_RESETREGS,4,2 ## @ICH_RESETREGS
.comm _DEVICE_NFORCE,8,3 ## @DEVICE_NFORCE
.comm _spdif_aclink,4,2 ## @spdif_aclink
.no_dead_strip _snd_intel8x0_free
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function snd_intel8x0_free
_snd_intel8x0_free: ; @snd_intel8x0_free
.cfi_startproc
; %bb.0:
sub sp, sp, #64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
ldr x8, [x0]
tbnz x8, #63, LBB0_10
; %bb.1:
mov w21, #0 ; =0x0
Lloh0:
adrp x20, _ICH_REG_OFF_CR@GOTPAGE
Lloh1:
ldr x20, [x20, _ICH_REG_OFF_CR@GOTPAGEOFF]
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x8, [x20]
ldr x9, [x19, #56]
ldr x9, [x9, w21, uxtw #3]
add x1, x9, x8
mov x0, x19
mov w2, #0 ; =0x0
bl _iputbyte
sub w21, w21, #1
ldr w8, [x19, #8]
cmp w21, w8
b.ls LBB0_2
; %bb.3:
cbz w8, LBB0_6
; %bb.4:
mov x21, #0 ; =0x0
Lloh2:
adrp x22, _ICH_RESETREGS@GOTPAGE
Lloh3:
ldr x22, [x22, _ICH_RESETREGS@GOTPAGEOFF]
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr x8, [x20]
ldr x9, [x19, #56]
ldr x9, [x9, x21, lsl #3]
ldr w2, [x22]
add x1, x9, x8
mov x0, x19
bl _iputbyte
add x21, x21, #1
ldr w8, [x19, #8]
cmp x21, x8
b.lo LBB0_5
LBB0_6:
ldr x8, [x19, #16]
Lloh4:
adrp x9, _DEVICE_NFORCE@GOTPAGE
Lloh5:
ldr x9, [x9, _DEVICE_NFORCE@GOTPAGEOFF]
Lloh6:
ldr x9, [x9]
Lloh7:
adrp x10, _spdif_aclink@GOTPAGE
Lloh8:
ldr x10, [x10, _spdif_aclink@GOTPAGEOFF]
Lloh9:
ldr w10, [x10]
cmp x8, x9
ccmp w10, #0, #0, eq
b.ne LBB0_8
; %bb.7:
ldr w0, [x19, #24]
add x2, sp, #12
mov w1, #76 ; =0x4c
bl _pci_read_config_dword
ldr w8, [sp, #12]
and w2, w8, #0xfeffffff
str w2, [sp, #12]
ldr w0, [x19, #24]
mov w1, #76 ; =0x4c
bl _pci_write_config_dword
LBB0_8:
ldr x0, [x19]
tbnz x0, #63, LBB0_10
; %bb.9:
mov x1, x19
bl _free_irq
LBB0_10:
mov x0, x19
ldr x8, [x0, #48]!
cbz x8, LBB0_12
; %bb.11:
bl _snd_dma_free_pages
LBB0_12:
ldr x1, [x19, #40]
cbz x1, LBB0_14
; %bb.13:
ldr w0, [x19, #24]
bl _pci_iounmap
LBB0_14:
ldr x1, [x19, #32]
cbz x1, LBB0_16
; %bb.15:
ldr w0, [x19, #24]
bl _pci_iounmap
LBB0_16:
ldr w0, [x19, #24]
bl _pci_release_regions
ldr w0, [x19, #24]
bl _pci_disable_device
mov x0, x19
bl _kfree
mov w0, #0 ; =0x0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _ICH_REG_OFF_CR,8,3 ; @ICH_REG_OFF_CR
.comm _ICH_RESETREGS,4,2 ; @ICH_RESETREGS
.comm _DEVICE_NFORCE,8,3 ; @DEVICE_NFORCE
.comm _spdif_aclink,4,2 ; @spdif_aclink
.no_dead_strip _snd_intel8x0_free
.subsections_via_symbols
|
assembly_file_151465.c
|
assembly_dataset
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function vlan_seq_open
_vlan_seq_open: ## @vlan_seq_open
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _vlan_seq_ops@GOTPCREL(%rip), %rdx
movl $4, %ecx
popq %rbp
jmp _seq_open_net ## TAILCALL
.cfi_endproc
## -- End function
.comm _vlan_seq_ops,4,2 ## @vlan_seq_ops
.no_dead_strip _vlan_seq_open
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function vlan_seq_open
_vlan_seq_open: ; @vlan_seq_open
.cfi_startproc
; %bb.0:
Lloh0:
adrp x2, _vlan_seq_ops@GOTPAGE
Lloh1:
ldr x2, [x2, _vlan_seq_ops@GOTPAGEOFF]
mov w3, #4
b _seq_open_net
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _vlan_seq_ops,4,2 ; @vlan_seq_ops
.no_dead_strip _vlan_seq_open
.subsections_via_symbols
|
AnghaBench/fastsocket/kernel/net/8021q/extr_vlanproc.c_vlan_seq_open.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function getnumlimit
_getnumlimit: ## @getnumlimit
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movq %rsi, %rdi
movl %edx, %esi
callq _getnum
movq _MAXINTSIZE@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
testl %eax, %eax
jle LBB0_3
## %bb.1:
cmpl %ecx, %eax
jg LBB0_3
## %bb.2:
addq $8, %rsp
popq %rbx
popq %rbp
retq
LBB0_3:
movl (%rbx), %edi
leaq L_.str(%rip), %rsi
movl %eax, %edx
addq $8, %rsp
popq %rbx
popq %rbp
jmp _luaL_error ## TAILCALL
.cfi_endproc
## -- End function
.comm _MAXINTSIZE,4,2 ## @MAXINTSIZE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "integral size (%d) out of limits [1,%d]"
.no_dead_strip _getnumlimit
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function getnumlimit
_getnumlimit: ; @getnumlimit
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
mov x0, x1
mov x1, x2
bl _getnum
mov x2, x0
Lloh0:
adrp x8, _MAXINTSIZE@GOTPAGE
Lloh1:
ldr x8, [x8, _MAXINTSIZE@GOTPAGEOFF]
Lloh2:
ldr w3, [x8]
cmp w0, #1
b.lt LBB0_3
; %bb.1:
cmp w2, w3
b.gt LBB0_3
; %bb.2:
mov x0, x2
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_3:
ldr w0, [x19]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _luaL_error
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _MAXINTSIZE,4,2 ; @MAXINTSIZE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "integral size (%d) out of limits [1,%d]"
.no_dead_strip _getnumlimit
.subsections_via_symbols
|
AnghaBench/RetroArch/deps/lua/src/extr_lstrlib.c_getnumlimit.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _Log_UnifyEndOfLine ## -- Begin function Log_UnifyEndOfLine
.p2align 4, 0x90
_Log_UnifyEndOfLine: ## @Log_UnifyEndOfLine
.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, %r14
xorl %ebx, %ebx
jmp LBB0_1
.p2align 4, 0x90
LBB0_2: ## in Loop: Header=BB0_1 Depth=1
testb %cl, %cl
je LBB0_3
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
incl %ebx
LBB0_1: ## =>This Inner Loop Header: Depth=1
movslq %ebx, %rax
movzbl (%r14,%rax), %ecx
cmpb $10, %cl
jne LBB0_2
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
testl %ebx, %ebx
jle LBB0_6
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
leal -1(%rbx), %ecx
cmpb $13, (%r14,%rcx)
je LBB0_7
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
leaq (%r14,%rax), %r12
incl %ebx
leaq (%rax,%r14), %r15
incq %r15
movq %r12, %rdi
callq _strlen
leaq 1(%rax), %rdx
movq %r15, %rdi
movq %r12, %rsi
callq _memmove
movb $13, (%r12)
jmp LBB0_7
LBB0_3:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _Log_UnifyEndOfLine ; -- Begin function Log_UnifyEndOfLine
.p2align 2
_Log_UnifyEndOfLine: ; @Log_UnifyEndOfLine
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x0
mov w8, #0
mov w22, #13
b LBB0_3
LBB0_1: ; in Loop: Header=BB0_3 Depth=1
cbz w9, LBB0_7
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add w8, w8, #1
LBB0_3: ; =>This Inner Loop Header: Depth=1
sxtw x23, w8
add x20, x19, x23
ldrb w9, [x20]
cmp w9, #10
b.ne LBB0_1
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
subs w9, w8, #1
b.lt LBB0_6
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
ldrb w9, [x19, w9, uxtw]
cmp w9, #13
b.eq LBB0_2
LBB0_6: ; in Loop: Header=BB0_3 Depth=1
add x24, x23, #1
add x21, x19, x24
mov x0, x20
bl _strlen
add x2, x0, #1
mov x0, x21
mov x1, x20
bl _memmove
strb w22, [x19, x23]
mov x8, x24
b LBB0_2
LBB0_7:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
AnghaBench/lab/engine/code/bspc/extr_l_log.c_Log_UnifyEndOfLine.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function proxy_resultset_lua_push
_proxy_resultset_lua_push: ## @proxy_resultset_lua_push
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %r15
xorl %eax, %eax
callq _g_ref_new
movq %rax, %rbx
movq _proxy_resultset_free@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
movq %r14, %rsi
callq _g_ref_set
movq %r15, %rdi
movl $8, %esi
callq _lua_newuserdata
movq %rbx, (%rax)
movq _methods_proxy_resultset@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r15, %rdi
callq _proxy_getmetatable
movq %r15, %rdi
movl $-2, %esi
callq _lua_setmetatable
movl $1, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _proxy_resultset_free,8,3 ## @proxy_resultset_free
.comm _methods_proxy_resultset,4,2 ## @methods_proxy_resultset
.no_dead_strip _proxy_resultset_lua_push
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function proxy_resultset_lua_push
_proxy_resultset_lua_push: ; @proxy_resultset_lua_push
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
bl _g_ref_new
mov x21, x0
Lloh0:
adrp x8, _proxy_resultset_free@GOTPAGE
Lloh1:
ldr x8, [x8, _proxy_resultset_free@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
mov x1, x19
bl _g_ref_set
mov x0, x20
mov w1, #8
bl _lua_newuserdata
str x21, [x0]
Lloh3:
adrp x8, _methods_proxy_resultset@GOTPAGE
Lloh4:
ldr x8, [x8, _methods_proxy_resultset@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
mov x0, x20
bl _proxy_getmetatable
mov x0, x20
mov w1, #-2
bl _lua_setmetatable
mov w0, #1
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _proxy_resultset_free,8,3 ; @proxy_resultset_free
.comm _methods_proxy_resultset,4,2 ; @methods_proxy_resultset
.no_dead_strip _proxy_resultset_lua_push
.subsections_via_symbols
|
AnghaBench/Atlas/src/extr_network-injection-lua.c_proxy_resultset_lua_push.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function knl_get_dimm_capacity
_knl_get_dimm_capacity: ## @knl_get_dimm_capacity
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $136, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r13
movq %rdi, -72(%rbp) ## 8-byte Spill
movq %rsp, -144(%rbp) ## 8-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _KNL_MAX_CHAS@GOTPCREL(%rip), %rbx
movl (%rbx), %eax
shlq $3, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r15
movl (%rbx), %ebx
leaq (,%rbx,8), %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, -104(%rbp) ## 8-byte Spill
movq _KNL_MAX_EDCS@GOTPCREL(%rip), %rax
movl (%rax), %eax
addl %eax, %eax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, -64(%rbp) ## 8-byte Spill
movq _KNL_MAX_CHANNELS@GOTPCREL(%rip), %rax
movl (%rax), %r14d
leal (%r14,%r14), %eax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, -88(%rbp) ## 8-byte Spill
movq %r14, %rax
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r12
testl %r14d, %r14d
jle LBB0_4
## %bb.1:
movl $1, %eax
movq _KNL_MAX_CHANNELS@GOTPCREL(%rip), %rdx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl $0, -4(%r13,%rax,4)
movslq (%rdx), %rcx
decq %rax
cmpq %rcx, %rax
jle LBB0_2
## %bb.3:
movq _KNL_MAX_CHAS@GOTPCREL(%rip), %rax
movl (%rax), %ebx
LBB0_4:
movq -64(%rbp), %r14 ## 8-byte Reload
testl %ebx, %ebx
movq %r13, -168(%rbp) ## 8-byte Spill
jle LBB0_5
## %bb.6:
movq -72(%rbp), %rax ## 8-byte Reload
movq 48(%rax), %rax
movl (%rax), %edi
movq _KNL_EDC_ROUTE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq -104(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rdx
callq _pci_read_config_dword
movq -8(%rbx), %rdi
cmpq %rdi, (%rbx)
je LBB0_8
## %bb.7:
movq %r14, %rsi
callq _knl_show_edc_route
leaq L_.str.1(%rip), %rsi
xorl %edi, %edi
xorl %edx, %edx
movl $-1, %ecx
movq %r14, %r8
xorl %eax, %eax
callq _edac_dbg
LBB0_8:
xorl %r14d, %r14d
movq _KNL_MAX_CHAS@GOTPCREL(%rip), %rax
cmpl $2, (%rax)
movl $0, %eax
jl LBB0_16
## %bb.9:
addq $8, %rbx
movl $1, %r14d
movq -64(%rbp), %r13 ## 8-byte Reload
jmp LBB0_10
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_10 Depth=1
leaq L_.str.1(%rip), %rsi
movq -80(%rbp), %rcx ## 8-byte Reload
movl %ecx, %edx
## kill: def $ecx killed $ecx killed $rcx
movq %r13, %r8
xorl %eax, %eax
callq _edac_dbg
LBB0_13: ## in Loop: Header=BB0_10 Depth=1
incq %r14
movq _KNL_MAX_CHAS@GOTPCREL(%rip), %rax
movslq (%rax), %rax
addq $8, %rbx
cmpq %rax, %r14
jge LBB0_14
LBB0_10: ## =>This Inner Loop Header: Depth=1
leaq -1(%r14), %rax
movq %rax, -80(%rbp) ## 8-byte Spill
movq -72(%rbp), %rax ## 8-byte Reload
movq 48(%rax), %rax
movl (%rax,%r14,4), %edi
movq _KNL_EDC_ROUTE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdx
callq _pci_read_config_dword
movq -8(%rbx), %rdi
movq %r13, %rsi
callq _knl_show_edc_route
xorl %eax, %eax
xorl %edi, %edi
testb %al, %al
jne LBB0_12
## %bb.11: ## in Loop: Header=BB0_10 Depth=1
leaq L_.str(%rip), %rsi
movq -80(%rbp), %rdx ## 8-byte Reload
## kill: def $edx killed $edx killed $rdx
movq %r13, %rcx
xorl %eax, %eax
callq _edac_dbg
jmp LBB0_13
LBB0_5:
xorl %eax, %eax
movl $-1, %r14d
jmp LBB0_15
LBB0_14:
decl %r14d
movl %r14d, %eax
LBB0_15:
movq -104(%rbp), %rbx ## 8-byte Reload
LBB0_16:
movslq %r14d, %r13
movq (%rbx,%r13,8), %rdi
movq -64(%rbp), %rsi ## 8-byte Reload
movl %eax, %ebx
callq _knl_show_edc_route
cmpl %r13d, %ebx
jne LBB0_18
## %bb.17:
leaq L_.str(%rip), %rsi
xorl %edi, %edi
movl %r14d, %edx
movq -64(%rbp), %rcx ## 8-byte Reload
xorl %eax, %eax
callq _edac_dbg
jmp LBB0_19
LBB0_18:
leaq L_.str.1(%rip), %rsi
xorl %edi, %edi
movl %ebx, %edx
movl %r14d, %ecx
movq -64(%rbp), %r8 ## 8-byte Reload
xorl %eax, %eax
callq _edac_dbg
LBB0_19:
movq _KNL_MAX_CHAS@GOTPCREL(%rip), %rcx
cmpl $0, (%rcx)
jle LBB0_20
## %bb.21:
movq -72(%rbp), %rax ## 8-byte Reload
movq 48(%rax), %rax
movl (%rax), %edi
movq _KNL_MC_ROUTE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r15, %rdx
movq %rcx, %rbx
callq _pci_read_config_dword
xorl %r13d, %r13d
cmpl $2, (%rbx)
movl $0, -64(%rbp) ## 4-byte Folded Spill
jl LBB0_29
## %bb.22:
movq %r15, %rbx
addq $8, %rbx
movl $1, %r14d
xorl %r13d, %r13d
movl $0, -64(%rbp) ## 4-byte Folded Spill
jmp LBB0_23
.p2align 4, 0x90
LBB0_26: ## in Loop: Header=BB0_23 Depth=1
leaq L_.str.3(%rip), %rsi
movq %r13, %r8
xorl %eax, %eax
callq _edac_dbg
LBB0_27: ## in Loop: Header=BB0_23 Depth=1
movl %r14d, -64(%rbp) ## 4-byte Spill
LBB0_28: ## in Loop: Header=BB0_23 Depth=1
incq %r14
movq _KNL_MAX_CHAS@GOTPCREL(%rip), %rax
movslq (%rax), %rax
movl -80(%rbp), %r13d ## 4-byte Reload
incl %r13d
addq $8, %rbx
cmpq %rax, %r14
jge LBB0_29
LBB0_23: ## =>This Inner Loop Header: Depth=1
movl %r13d, -80(%rbp) ## 4-byte Spill
movq -72(%rbp), %rax ## 8-byte Reload
movq 48(%rax), %rax
movl (%rax,%r14,4), %edi
movq _KNL_MC_ROUTE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdx
callq _pci_read_config_dword
movq -8(%rbx), %rdi
cmpq %rdi, (%rbx)
je LBB0_28
## %bb.24: ## in Loop: Header=BB0_23 Depth=1
movq -88(%rbp), %r13 ## 8-byte Reload
movq %r13, %rsi
callq _knl_show_mc_route
movl -80(%rbp), %ecx ## 4-byte Reload
movl -64(%rbp), %edx ## 4-byte Reload
xorl %edi, %edi
cmpl %edx, %ecx
jne LBB0_26
## %bb.25: ## in Loop: Header=BB0_23 Depth=1
leaq L_.str.2(%rip), %rsi
movq %r13, %rcx
xorl %eax, %eax
callq _edac_dbg
jmp LBB0_27
LBB0_20:
movl $0, -64(%rbp) ## 4-byte Folded Spill
movl $-1, %r13d
LBB0_29:
movslq %r13d, %rbx
movq (%r15,%rbx,8), %rdi
movq -88(%rbp), %r14 ## 8-byte Reload
movq %r14, %rsi
callq _knl_show_mc_route
movl -64(%rbp), %edx ## 4-byte Reload
cmpl %ebx, %edx
jne LBB0_31
## %bb.30:
leaq L_.str.2(%rip), %rsi
xorl %edi, %edi
movl %r13d, %edx
movq %r14, %rcx
xorl %eax, %eax
callq _edac_dbg
jmp LBB0_32
LBB0_31:
leaq L_.str.3(%rip), %rsi
xorl %edi, %edi
movl %r13d, %ecx
movq %r14, %r8
xorl %eax, %eax
callq _edac_dbg
LBB0_32:
movq -72(%rbp), %rax ## 8-byte Reload
cmpl $0, (%rax)
jle LBB0_93
## %bb.33:
xorl %ebx, %ebx
movl $0, -80(%rbp) ## 4-byte Folded Spill
jmp LBB0_34
.p2align 4, 0x90
LBB0_91: ## in Loop: Header=BB0_34 Depth=1
movl -92(%rbp), %eax ## 4-byte Reload
movl %eax, -80(%rbp) ## 4-byte Spill
movq -88(%rbp), %rbx ## 8-byte Reload
LBB0_92: ## in Loop: Header=BB0_34 Depth=1
incq %rbx
movq -72(%rbp), %rax ## 8-byte Reload
movslq (%rax), %rax
cmpq %rax, %rbx
jge LBB0_93
LBB0_34: ## =>This Loop Header: Depth=1
## Child Loop BB0_52 Depth 2
## Child Loop BB0_65 Depth 2
## Child Loop BB0_79 Depth 2
## Child Loop BB0_81 Depth 3
## Child Loop BB0_83 Depth 4
## Child Loop BB0_88 Depth 2
movq -72(%rbp), %rax ## 8-byte Reload
movl 40(%rax), %edi
movq 32(%rax), %rax
movl (%rax,%rbx,4), %esi
leaq -136(%rbp), %rdx
callq _pci_read_config_dword
movq -136(%rbp), %rdi
callq _DRAM_RULE_ENABLE
testl %eax, %eax
je LBB0_92
## %bb.35: ## in Loop: Header=BB0_34 Depth=1
movq -136(%rbp), %rdi
callq _KNL_EDRAM_ONLY
movl %eax, -124(%rbp) ## 4-byte Spill
movq -136(%rbp), %rdi
movq -72(%rbp), %r13 ## 8-byte Reload
callq *8(%r13)
## kill: def $eax killed $eax def $rax
movq %rax, -64(%rbp) ## 8-byte Spill
movl 40(%r13), %edi
movq 24(%r13), %rax
movl (%rax,%rbx,4), %esi
leaq -112(%rbp), %rdx
callq _pci_read_config_dword
movl 16(%r13), %edi
movq -112(%rbp), %rsi
xorl %edx, %edx
callq _sad_pkg
movq %rax, %r14
movl 16(%r13), %edi
movq -112(%rbp), %rsi
movl $1, %edx
callq _sad_pkg
testb $8, %al
je LBB0_36
## %bb.37: ## in Loop: Header=BB0_34 Depth=1
movq %rbx, -88(%rbp) ## 8-byte Spill
movl $1, %ebx
cmpq %r14, %rax
je LBB0_50
## %bb.38: ## in Loop: Header=BB0_34 Depth=1
movq -72(%rbp), %rax ## 8-byte Reload
movl 16(%rax), %edi
movq -112(%rbp), %rsi
movl $2, %edx
callq _sad_pkg
testb $8, %al
je LBB0_36
## %bb.39: ## in Loop: Header=BB0_34 Depth=1
movl $2, %ebx
cmpq %r14, %rax
je LBB0_50
## %bb.40: ## in Loop: Header=BB0_34 Depth=1
movq -72(%rbp), %rax ## 8-byte Reload
movl 16(%rax), %edi
movq -112(%rbp), %rsi
movl $3, %edx
callq _sad_pkg
testb $8, %al
je LBB0_36
## %bb.41: ## in Loop: Header=BB0_34 Depth=1
movl $3, %ebx
cmpq %r14, %rax
je LBB0_50
## %bb.42: ## in Loop: Header=BB0_34 Depth=1
movq -72(%rbp), %rax ## 8-byte Reload
movl 16(%rax), %edi
movq -112(%rbp), %rsi
movl $4, %edx
callq _sad_pkg
testb $8, %al
je LBB0_36
## %bb.43: ## in Loop: Header=BB0_34 Depth=1
movl $4, %ebx
cmpq %r14, %rax
je LBB0_50
## %bb.44: ## in Loop: Header=BB0_34 Depth=1
movq -72(%rbp), %rax ## 8-byte Reload
movl 16(%rax), %edi
movq -112(%rbp), %rsi
movl $5, %edx
callq _sad_pkg
testb $8, %al
je LBB0_36
## %bb.45: ## in Loop: Header=BB0_34 Depth=1
movl $5, %ebx
cmpq %r14, %rax
je LBB0_50
## %bb.46: ## in Loop: Header=BB0_34 Depth=1
movq -72(%rbp), %rax ## 8-byte Reload
movl 16(%rax), %edi
movq -112(%rbp), %rsi
movl $6, %edx
callq _sad_pkg
testb $8, %al
je LBB0_36
## %bb.47: ## in Loop: Header=BB0_34 Depth=1
movl $6, %ebx
cmpq %r14, %rax
je LBB0_50
## %bb.48: ## in Loop: Header=BB0_34 Depth=1
movq -72(%rbp), %rax ## 8-byte Reload
movl 16(%rax), %edi
movq -112(%rbp), %rsi
movl $7, %edx
callq _sad_pkg
testb $8, %al
je LBB0_36
## %bb.49: ## in Loop: Header=BB0_34 Depth=1
xorl %ebx, %ebx
cmpq %r14, %rax
setne %bl
addl $7, %ebx
.p2align 4, 0x90
LBB0_50: ## in Loop: Header=BB0_34 Depth=1
movq -64(%rbp), %rax ## 8-byte Reload
leal 1(%rax), %r14d
movq -136(%rbp), %rdi
callq _KNL_MOD3
testq %rax, %rax
leal (%rbx,%rbx,2), %r9d
cmovel %ebx, %r9d
cmpl $0, -124(%rbp) ## 4-byte Folded Reload
leaq L_.str.6(%rip), %r10
leaq L_.str.7(%rip), %rax
cmoveq %rax, %r10
subq $8, %rsp
movl $0, -104(%rbp) ## 4-byte Folded Spill
movl $3, %edi
leaq L_.str.5(%rip), %rsi
movq -88(%rbp), %rdx ## 8-byte Reload
## kill: def $edx killed $edx killed $rdx
movl -80(%rbp), %ecx ## 4-byte Reload
movl %r14d, -92(%rbp) ## 4-byte Spill
movl %r14d, %r8d
movl %r9d, -156(%rbp) ## 4-byte Spill
xorl %eax, %eax
pushq %r10
callq _edac_dbg
addq $16, %rsp
movl $0, -56(%rbp)
movq _knl_tad_dram_limit_lo@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _ARRAY_SIZE
movl $0, %r14d
testl %eax, %eax
jle LBB0_63
## %bb.51: ## in Loop: Header=BB0_34 Depth=1
movl $0, -96(%rbp) ## 4-byte Folded Spill
xorl %ebx, %ebx
xorl %r14d, %r14d
jmp LBB0_52
LBB0_60: ## in Loop: Header=BB0_52 Depth=2
leal 1(%rdx), %r13d
subq $8, %rsp
movl $3, %edi
leaq L_.str.10(%rip), %rsi
movq %rdx, -152(%rbp) ## 8-byte Spill
movl %r14d, %edx
movl %r13d, %r9d
xorl %eax, %eax
pushq $0
callq _edac_dbg
movq -152(%rbp), %rdx ## 8-byte Reload
addq $16, %rsp
addl %r13d, -96(%rbp) ## 4-byte Folded Spill
.p2align 4, 0x90
LBB0_61: ## in Loop: Header=BB0_52 Depth=2
addl %edx, %ebx
incl %ebx
incl %r14d
movq _knl_tad_dram_limit_lo@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _ARRAY_SIZE
cmpl %eax, %r14d
jge LBB0_62
LBB0_52: ## Parent Loop BB0_34 Depth=1
## => This Inner Loop Header: Depth=2
movq -72(%rbp), %rdi ## 8-byte Reload
movl %r14d, %esi
xorl %edx, %edx
leaq -116(%rbp), %rcx
leaq -120(%rbp), %r8
leaq -160(%rbp), %r9
callq _knl_get_tad
testq %rax, %rax
jne LBB0_62
## %bb.53: ## in Loop: Header=BB0_52 Depth=2
movl -120(%rbp), %r8d
movl -116(%rbp), %ecx
addl %ebx, %ecx
movl %r8d, %edx
subl %ecx, %edx
movl -80(%rbp), %eax ## 4-byte Reload
cmpl %eax, %ecx
jge LBB0_57
## %bb.54: ## in Loop: Header=BB0_52 Depth=2
cmpl %eax, %r8d
jle LBB0_61
## %bb.55: ## in Loop: Header=BB0_52 Depth=2
xorl %edi, %edi
leaq L_.str.8(%rip), %rsi
jmp LBB0_56
.p2align 4, 0x90
LBB0_57: ## in Loop: Header=BB0_52 Depth=2
movq -64(%rbp), %rax ## 8-byte Reload
cmpl %eax, %ecx
jg LBB0_61
## %bb.58: ## in Loop: Header=BB0_52 Depth=2
cmpl %eax, %r8d
jle LBB0_60
## %bb.59: ## in Loop: Header=BB0_52 Depth=2
xorl %edi, %edi
leaq L_.str.9(%rip), %rsi
LBB0_56: ## in Loop: Header=BB0_52 Depth=2
xorl %eax, %eax
movq %rdx, %r13
callq _edac_dbg
movq %r13, %rdx
jmp LBB0_61
.p2align 4, 0x90
LBB0_62: ## in Loop: Header=BB0_34 Depth=1
movl -96(%rbp), %r14d ## 4-byte Reload
movl %r14d, -56(%rbp)
LBB0_63: ## in Loop: Header=BB0_34 Depth=1
movl $0, -52(%rbp)
movq _knl_tad_dram_limit_lo@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _ARRAY_SIZE
testl %eax, %eax
jle LBB0_76
## %bb.64: ## in Loop: Header=BB0_34 Depth=1
movl %r14d, -96(%rbp) ## 4-byte Spill
movl $0, -104(%rbp) ## 4-byte Folded Spill
xorl %ebx, %ebx
xorl %r14d, %r14d
jmp LBB0_65
LBB0_70: ## in Loop: Header=BB0_65 Depth=2
xorl %edi, %edi
leaq L_.str.9(%rip), %rsi
LBB0_73: ## in Loop: Header=BB0_65 Depth=2
xorl %eax, %eax
callq _edac_dbg
LBB0_74: ## in Loop: Header=BB0_65 Depth=2
addl %r13d, %ebx
incl %ebx
incl %r14d
movq _knl_tad_dram_limit_lo@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _ARRAY_SIZE
cmpl %eax, %r14d
jge LBB0_75
LBB0_65: ## Parent Loop BB0_34 Depth=1
## => This Inner Loop Header: Depth=2
movq -72(%rbp), %rdi ## 8-byte Reload
movl %r14d, %esi
movl $1, %edx
leaq -116(%rbp), %rcx
leaq -120(%rbp), %r8
leaq -160(%rbp), %r9
callq _knl_get_tad
testq %rax, %rax
jne LBB0_75
## %bb.66: ## in Loop: Header=BB0_65 Depth=2
movl -120(%rbp), %r8d
movl -116(%rbp), %ecx
addl %ebx, %ecx
movl %r8d, %r13d
subl %ecx, %r13d
movl -80(%rbp), %eax ## 4-byte Reload
cmpl %eax, %ecx
jge LBB0_67
## %bb.71: ## in Loop: Header=BB0_65 Depth=2
cmpl %eax, %r8d
jle LBB0_74
## %bb.72: ## in Loop: Header=BB0_65 Depth=2
xorl %edi, %edi
leaq L_.str.8(%rip), %rsi
jmp LBB0_73
.p2align 4, 0x90
LBB0_67: ## in Loop: Header=BB0_65 Depth=2
movq -64(%rbp), %rax ## 8-byte Reload
cmpl %eax, %ecx
jg LBB0_74
## %bb.68: ## in Loop: Header=BB0_65 Depth=2
cmpl %eax, %r8d
jg LBB0_70
## %bb.69: ## in Loop: Header=BB0_65 Depth=2
leal 1(%r13), %r9d
movl %r9d, -152(%rbp) ## 4-byte Spill
subq $8, %rsp
movl $3, %edi
leaq L_.str.10(%rip), %rsi
movl %r14d, %edx
xorl %eax, %eax
pushq $1
callq _edac_dbg
addq $16, %rsp
movl -152(%rbp), %eax ## 4-byte Reload
addl %eax, -104(%rbp) ## 4-byte Folded Spill
jmp LBB0_74
.p2align 4, 0x90
LBB0_75: ## in Loop: Header=BB0_34 Depth=1
movl -104(%rbp), %eax ## 4-byte Reload
movl %eax, -52(%rbp)
movl -96(%rbp), %r14d ## 4-byte Reload
LBB0_76: ## in Loop: Header=BB0_34 Depth=1
movl $3, %edi
leaq L_.str.11(%rip), %rbx
movq %rbx, %rsi
xorl %edx, %edx
movl %r14d, %ecx
movl %r14d, %r8d
xorl %eax, %eax
callq _edac_dbg
movl $3, %edi
movq %rbx, %rsi
movl $1, %edx
movl -104(%rbp), %ecx ## 4-byte Reload
movl %ecx, %r8d
xorl %eax, %eax
callq _edac_dbg
cmpl $0, -124(%rbp) ## 4-byte Folded Reload
jne LBB0_91
## %bb.77: ## in Loop: Header=BB0_34 Depth=1
movq _KNL_MAX_CHANNELS@GOTPCREL(%rip), %rax
movslq (%rax), %r13
testq %r13, %r13
jle LBB0_91
## %bb.78: ## in Loop: Header=BB0_34 Depth=1
movq %r13, %rsi
shlq $2, %rsi
movq %r12, %rdi
callq ___bzero
xorl %r14d, %r14d
movq _KNL_MAX_CHAS@GOTPCREL(%rip), %rcx
jmp LBB0_79
.p2align 4, 0x90
LBB0_98: ## in Loop: Header=BB0_79 Depth=2
incq %r14
movslq %r13d, %rax
cmpq %rax, %r14
jge LBB0_86
LBB0_79: ## Parent Loop BB0_34 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_81 Depth 3
## Child Loop BB0_83 Depth 4
testl %r13d, %r13d
jle LBB0_98
## %bb.80: ## in Loop: Header=BB0_79 Depth=2
xorl %ebx, %ebx
jmp LBB0_81
.p2align 4, 0x90
LBB0_97: ## in Loop: Header=BB0_81 Depth=3
incl %ebx
movq _KNL_MAX_CHANNELS@GOTPCREL(%rip), %rax
movl (%rax), %r13d
cmpl %r13d, %ebx
jge LBB0_98
LBB0_81: ## Parent Loop BB0_34 Depth=1
## Parent Loop BB0_79 Depth=2
## => This Loop Header: Depth=3
## Child Loop BB0_83 Depth 4
cmpl $0, (%rcx)
jle LBB0_97
## %bb.82: ## in Loop: Header=BB0_81 Depth=3
xorl %r13d, %r13d
jmp LBB0_83
.p2align 4, 0x90
LBB0_96: ## in Loop: Header=BB0_83 Depth=4
incq %r13
movq _KNL_MAX_CHAS@GOTPCREL(%rip), %rcx
movslq (%rcx), %rax
cmpq %rax, %r13
jge LBB0_97
LBB0_83: ## Parent Loop BB0_34 Depth=1
## Parent Loop BB0_79 Depth=2
## Parent Loop BB0_81 Depth=3
## => This Inner Loop Header: Depth=4
movq (%r15,%r13,8), %rsi
movl %ebx, %edi
callq _knl_get_mc_route
movl %eax, %eax
cmpq %rax, %r14
jne LBB0_96
## %bb.84: ## in Loop: Header=BB0_83 Depth=4
cmpl $0, (%r12,%r14,4)
jne LBB0_96
## %bb.85: ## in Loop: Header=BB0_81 Depth=3
movl $1, (%r12,%r14,4)
movq _KNL_MAX_CHAS@GOTPCREL(%rip), %rcx
jmp LBB0_97
LBB0_86: ## in Loop: Header=BB0_34 Depth=1
testl %r13d, %r13d
jle LBB0_91
## %bb.87: ## in Loop: Header=BB0_34 Depth=1
xorl %ebx, %ebx
movq -168(%rbp), %r13 ## 8-byte Reload
movq _KNL_MAX_CHANNELS@GOTPCREL(%rip), %r14
jmp LBB0_88
.p2align 4, 0x90
LBB0_90: ## in Loop: Header=BB0_88 Depth=2
incq %rbx
movslq (%r14), %rax
cmpq %rax, %rbx
jge LBB0_91
LBB0_88: ## Parent Loop BB0_34 Depth=1
## => This Inner Loop Header: Depth=2
movl %ebx, %edi
callq _knl_channel_mc
cmpl $0, (%r12,%rbx,4)
je LBB0_90
## %bb.89: ## in Loop: Header=BB0_88 Depth=2
cltq
movl -56(%rbp,%rax,4), %eax
cltd
idivl -156(%rbp) ## 4-byte Folded Reload
movl %eax, %r14d
movl $4, %edi
leaq L_.str.12(%rip), %rsi
movl %ebx, %edx
movl %eax, %ecx
movq -88(%rbp), %r8 ## 8-byte Reload
## kill: def $r8d killed $r8d killed $r8
xorl %eax, %eax
callq _edac_dbg
addl %r14d, (%r13,%rbx,4)
movq _KNL_MAX_CHANNELS@GOTPCREL(%rip), %r14
jmp LBB0_90
LBB0_93:
xorl %eax, %eax
jmp LBB0_94
LBB0_36:
leaq L_.str.4(%rip), %rsi
xorl %edi, %edi
movq %rax, %rdx
xorl %eax, %eax
callq _edac_dbg
movl $-1, %eax
LBB0_94:
movq -144(%rbp), %rcx ## 8-byte Reload
movq %rcx, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_99
## %bb.95:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_99:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _KNL_MAX_CHAS,4,2 ## @KNL_MAX_CHAS
.comm _KNL_MAX_EDCS,4,2 ## @KNL_MAX_EDCS
.comm _KNL_MAX_CHANNELS,4,2 ## @KNL_MAX_CHANNELS
.comm _KNL_EDC_ROUTE,4,2 ## @KNL_EDC_ROUTE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "edc route table for CHA %d: %s\n"
L_.str.1: ## @.str.1
.asciz "edc route table for CHA %d-%d: %s\n"
.comm _KNL_MC_ROUTE,4,2 ## @KNL_MC_ROUTE
L_.str.2: ## @.str.2
.asciz "mc route table for CHA %d: %s\n"
L_.str.3: ## @.str.3
.asciz "mc route table for CHA %d-%d: %s\n"
L_.str.4: ## @.str.4
.asciz "Unexpected interleave target %d\n"
L_.str.5: ## @.str.5
.asciz "dram rule %d (base 0x%llx, limit 0x%llx), %d way interleave%s\n"
L_.str.6: ## @.str.6
.asciz ", EDRAM"
L_.str.7: ## @.str.7
.space 1
.comm _knl_tad_dram_limit_lo,4,2 ## @knl_tad_dram_limit_lo
L_.str.8: ## @.str.8
.asciz "TAD region overlaps lower SAD boundary -- TAD tables may be configured incorrectly.\n"
L_.str.9: ## @.str.9
.asciz "TAD region overlaps upper SAD boundary -- TAD tables may be configured incorrectly.\n"
L_.str.10: ## @.str.10
.asciz "TAD region %d 0x%llx - 0x%llx (%lld bytes) table%d\n"
L_.str.11: ## @.str.11
.asciz " total TAD DRAM footprint in table%d : 0x%llx (%lld bytes)\n"
L_.str.12: ## @.str.12
.asciz "mc channel %d contributes %lld bytes via sad entry %d\n"
.no_dead_strip _knl_get_dimm_capacity
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function knl_get_dimm_capacity
_knl_get_dimm_capacity: ; @knl_get_dimm_capacity
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
sub sp, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x8, sp
stur x8, [x29, #-192] ; 8-byte Folded Spill
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-88]
Lloh3:
adrp x28, _KNL_MAX_CHAS@GOTPAGE
Lloh4:
ldr x28, [x28, _KNL_MAX_CHAS@GOTPAGEOFF]
ldr w8, [x28]
lsl x8, x8, #3
mov x9, x8
Lloh5:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh6:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0xffffffff0
sub x21, x9, x8
mov sp, x21
ldr w12, [x28]
lsl x8, x12, #3
mov x9, x8
Lloh7:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh8:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0xffffffff0
sub x25, x9, x8
mov sp, x25
Lloh9:
adrp x8, _KNL_MAX_EDCS@GOTPAGE
Lloh10:
ldr x8, [x8, _KNL_MAX_EDCS@GOTPAGEOFF]
Lloh11:
ldr w8, [x8]
lsl w8, w8, #1
mov x9, x8
Lloh12:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh13:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x1fffffff0
sub x24, x9, x8
mov sp, x24
Lloh14:
adrp x19, _KNL_MAX_CHANNELS@GOTPAGE
Lloh15:
ldr x19, [x19, _KNL_MAX_CHANNELS@GOTPAGEOFF]
ldr w13, [x19]
lsl w8, w13, #1
mov x9, x8
Lloh16:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh17:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x1fffffff0
sub x23, x9, x8
mov sp, x23
lsl x8, x13, #2
mov x9, x8
Lloh18:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh19:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x7fffffff0
sub x22, x9, x8
mov sp, x22
cmp w13, #1
b.lt LBB0_4
; %bb.1:
mov w8, #1 ; =0x1
mov x9, x1
LBB0_2: ; =>This Inner Loop Header: Depth=1
str wzr, [x9], #-4
ldrsw x10, [x19]
sub x8, x8, #1
cmp x8, x10
b.le LBB0_2
; %bb.3:
ldr w12, [x28]
LBB0_4:
cmp w12, #0
stur x1, [x29, #-184] ; 8-byte Folded Spill
stur x0, [x29, #-136] ; 8-byte Folded Spill
b.le LBB0_13
; %bb.5:
ldr x8, [x0, #48]
ldr w0, [x8]
Lloh20:
adrp x26, _KNL_EDC_ROUTE@GOTPAGE
Lloh21:
ldr x26, [x26, _KNL_EDC_ROUTE@GOTPAGEOFF]
ldr w1, [x26]
mov x2, x25
bl _pci_read_config_dword
ldp x0, x8, [x25, #-8]
cmp x8, x0
b.eq LBB0_7
; %bb.6:
mov x1, x24
bl _knl_show_edc_route
sub sp, sp, #32
mov w8, #-1 ; =0xffffffff
stp x8, x24, [sp, #8]
str xzr, [sp]
Lloh22:
adrp x1, l_.str.1@PAGE
Lloh23:
add x1, x1, l_.str.1@PAGEOFF
mov w0, #0 ; =0x0
bl _edac_dbg
add sp, sp, #32
LBB0_7:
ldr w8, [x28]
cmp w8, #2
b.lt LBB0_14
; %bb.8:
mov w20, #1 ; =0x1
b LBB0_11
LBB0_9: ; in Loop: Header=BB0_11 Depth=1
sub sp, sp, #32
stp x27, x24, [sp, #8]
str x27, [sp]
mov w0, #0 ; =0x0
Lloh24:
adrp x1, l_.str.1@PAGE
Lloh25:
add x1, x1, l_.str.1@PAGEOFF
bl _edac_dbg
add sp, sp, #32
LBB0_10: ; in Loop: Header=BB0_11 Depth=1
add x20, x20, #1
ldrsw x8, [x28]
add x25, x25, #8
cmp x20, x8
b.ge LBB0_15
LBB0_11: ; =>This Inner Loop Header: Depth=1
sub x27, x20, #1
ldur x8, [x29, #-136] ; 8-byte Folded Reload
ldr x8, [x8, #48]
ldr w0, [x8, x20, lsl #2]
ldr w1, [x26]
add x2, x25, #8
bl _pci_read_config_dword
ldr x0, [x25]
mov x1, x24
bl _knl_show_edc_route
cbnz wzr, LBB0_9
; %bb.12: ; in Loop: Header=BB0_11 Depth=1
stp x27, x24, [sp, #-16]!
mov w0, #0 ; =0x0
Lloh26:
adrp x1, l_.str@PAGE
Lloh27:
add x1, x1, l_.str@PAGEOFF
bl _edac_dbg
add sp, sp, #16
b LBB0_10
LBB0_13:
mov x20, x0
ldur x0, [x25, #-8]
mov x1, x24
bl _knl_show_edc_route
sub sp, sp, #32
mov w8, #-1 ; =0xffffffff
stp x8, x24, [sp, #8]
str xzr, [sp]
Lloh28:
adrp x1, l_.str.1@PAGE
Lloh29:
add x1, x1, l_.str.1@PAGEOFF
mov w0, #0 ; =0x0
bl _edac_dbg
add sp, sp, #32
b LBB0_17
LBB0_14:
mov w20, #0 ; =0x0
b LBB0_16
LBB0_15:
sub w20, w20, #1
LBB0_16:
ldr x0, [x25]
mov x1, x24
bl _knl_show_edc_route
stp x20, x24, [sp, #-16]!
Lloh30:
adrp x1, l_.str@PAGE
Lloh31:
add x1, x1, l_.str@PAGEOFF
mov w0, #0 ; =0x0
bl _edac_dbg
add sp, sp, #16
ldur x20, [x29, #-136] ; 8-byte Folded Reload
LBB0_17:
ldr w8, [x28]
cmp w8, #1
b.lt LBB0_26
; %bb.18:
ldr x8, [x20, #48]
ldr w0, [x8]
Lloh32:
adrp x25, _KNL_MC_ROUTE@GOTPAGE
Lloh33:
ldr x25, [x25, _KNL_MC_ROUTE@GOTPAGEOFF]
ldr w1, [x25]
mov x2, x21
bl _pci_read_config_dword
ldr w8, [x28]
cmp w8, #1
b.le LBB0_27
; %bb.19:
mov x20, #0 ; =0x0
mov w27, #0 ; =0x0
add x24, x21, #8
b LBB0_23
LBB0_20: ; in Loop: Header=BB0_23 Depth=1
sub sp, sp, #32
stp x26, x23, [sp, #8]
; kill: def $w27 killed $w27 killed $x27 def $x27
str x27, [sp]
mov w0, #0 ; =0x0
Lloh34:
adrp x1, l_.str.3@PAGE
Lloh35:
add x1, x1, l_.str.3@PAGEOFF
bl _edac_dbg
add sp, sp, #32
LBB0_21: ; in Loop: Header=BB0_23 Depth=1
mov x27, x20
LBB0_22: ; in Loop: Header=BB0_23 Depth=1
ldrsw x8, [x28]
add x24, x24, #8
add x20, x26, #1
add x9, x26, #2
cmp x9, x8
b.ge LBB0_28
LBB0_23: ; =>This Inner Loop Header: Depth=1
mov x26, x20
ldur x8, [x29, #-136] ; 8-byte Folded Reload
ldr x8, [x8, #48]
add x8, x8, x20, lsl #2
ldr w0, [x8, #4]
ldr w1, [x25]
mov x2, x24
bl _pci_read_config_dword
ldp x0, x8, [x24, #-8]
cmp x8, x0
b.eq LBB0_22
; %bb.24: ; in Loop: Header=BB0_23 Depth=1
mov x1, x23
bl _knl_show_mc_route
add x20, x26, #1
cmp w26, w27
b.ne LBB0_20
; %bb.25: ; in Loop: Header=BB0_23 Depth=1
stp x27, x23, [sp, #-16]!
mov w0, #0 ; =0x0
Lloh36:
adrp x1, l_.str.2@PAGE
Lloh37:
add x1, x1, l_.str.2@PAGEOFF
bl _edac_dbg
add sp, sp, #16
b LBB0_21
LBB0_26:
ldur x0, [x21, #-8]
mov x1, x23
bl _knl_show_mc_route
mov w27, #0 ; =0x0
mov w20, #-1 ; =0xffffffff
b LBB0_32
LBB0_27:
ldr x0, [x21]
mov x1, x23
bl _knl_show_mc_route
mov w20, #0 ; =0x0
b LBB0_30
LBB0_28:
ldur x0, [x24, #-8]
mov x1, x23
bl _knl_show_mc_route
cmp w20, w27
b.ne LBB0_31
; %bb.29:
; kill: def $w20 killed $w20 killed $x20 def $x20
LBB0_30:
stp x20, x23, [sp, #-16]!
Lloh38:
adrp x1, l_.str.2@PAGE
Lloh39:
add x1, x1, l_.str.2@PAGEOFF
mov w0, #0 ; =0x0
bl _edac_dbg
add sp, sp, #16
b LBB0_33
LBB0_31:
; kill: def $w20 killed $w20 killed $x20 def $x20
LBB0_32:
sub sp, sp, #32
stp x20, x23, [sp, #8]
; kill: def $w27 killed $w27 killed $x27 def $x27
str x27, [sp]
Lloh40:
adrp x1, l_.str.3@PAGE
Lloh41:
add x1, x1, l_.str.3@PAGEOFF
mov w0, #0 ; =0x0
bl _edac_dbg
add sp, sp, #32
LBB0_33:
ldur x20, [x29, #-136] ; 8-byte Folded Reload
ldr w8, [x20]
cmp w8, #1
b.lt LBB0_104
; %bb.34:
mov x26, #0 ; =0x0
mov w23, #0 ; =0x0
b LBB0_37
LBB0_35: ; in Loop: Header=BB0_37 Depth=1
ldp x23, x26, [x29, #-176] ; 16-byte Folded Reload
; kill: def $w23 killed $w23 killed $x23 def $x23
LBB0_36: ; in Loop: Header=BB0_37 Depth=1
add x26, x26, #1
ldrsw x8, [x20]
cmp x26, x8
b.ge LBB0_104
LBB0_37: ; =>This Loop Header: Depth=1
; Child Loop BB0_62 Depth 2
; Child Loop BB0_76 Depth 2
; Child Loop BB0_89 Depth 2
; Child Loop BB0_92 Depth 3
; Child Loop BB0_95 Depth 4
; Child Loop BB0_101 Depth 2
ldr w0, [x20, #40]
ldr x8, [x20, #32]
ldr w1, [x8, x26, lsl #2]
sub x2, x29, #120
bl _pci_read_config_dword
ldur x0, [x29, #-120]
bl _DRAM_RULE_ENABLE
cbz w0, LBB0_36
; %bb.38: ; in Loop: Header=BB0_37 Depth=1
ldur x0, [x29, #-120]
bl _KNL_EDRAM_ONLY
stur w0, [x29, #-156] ; 4-byte Folded Spill
ldr x8, [x20, #8]
ldur x0, [x29, #-120]
blr x8
mov x27, x0
ldr w0, [x20, #40]
ldr x8, [x20, #24]
ldr w1, [x8, x26, lsl #2]
sub x2, x29, #128
bl _pci_read_config_dword
ldr w0, [x20, #16]
ldur x1, [x29, #-128]
mov w2, #0 ; =0x0
bl _sad_pkg
mov x25, x0
ldr w0, [x20, #16]
ldur x1, [x29, #-128]
mov w2, #1 ; =0x1
bl _sad_pkg
tbz w0, #3, LBB0_105
; %bb.39: ; in Loop: Header=BB0_37 Depth=1
cmp x0, x25
b.ne LBB0_41
; %bb.40: ; in Loop: Header=BB0_37 Depth=1
mov w20, #1 ; =0x1
b LBB0_58
LBB0_41: ; in Loop: Header=BB0_37 Depth=1
ldr w0, [x20, #16]
ldur x1, [x29, #-128]
mov w2, #2 ; =0x2
bl _sad_pkg
tbz w0, #3, LBB0_105
; %bb.42: ; in Loop: Header=BB0_37 Depth=1
cmp x0, x25
b.ne LBB0_44
; %bb.43: ; in Loop: Header=BB0_37 Depth=1
mov w20, #2 ; =0x2
b LBB0_58
LBB0_44: ; in Loop: Header=BB0_37 Depth=1
ldr w0, [x20, #16]
ldur x1, [x29, #-128]
mov w2, #3 ; =0x3
bl _sad_pkg
tbz w0, #3, LBB0_105
; %bb.45: ; in Loop: Header=BB0_37 Depth=1
cmp x0, x25
b.ne LBB0_47
; %bb.46: ; in Loop: Header=BB0_37 Depth=1
mov w20, #3 ; =0x3
b LBB0_58
LBB0_47: ; in Loop: Header=BB0_37 Depth=1
ldr w0, [x20, #16]
ldur x1, [x29, #-128]
mov w2, #4 ; =0x4
bl _sad_pkg
tbz w0, #3, LBB0_105
; %bb.48: ; in Loop: Header=BB0_37 Depth=1
cmp x0, x25
b.ne LBB0_50
; %bb.49: ; in Loop: Header=BB0_37 Depth=1
mov w20, #4 ; =0x4
b LBB0_58
LBB0_50: ; in Loop: Header=BB0_37 Depth=1
ldr w0, [x20, #16]
ldur x1, [x29, #-128]
mov w2, #5 ; =0x5
bl _sad_pkg
tbz w0, #3, LBB0_105
; %bb.51: ; in Loop: Header=BB0_37 Depth=1
cmp x0, x25
b.ne LBB0_53
; %bb.52: ; in Loop: Header=BB0_37 Depth=1
mov w20, #5 ; =0x5
b LBB0_58
LBB0_53: ; in Loop: Header=BB0_37 Depth=1
ldr w0, [x20, #16]
ldur x1, [x29, #-128]
mov w2, #6 ; =0x6
bl _sad_pkg
tbz w0, #3, LBB0_105
; %bb.54: ; in Loop: Header=BB0_37 Depth=1
cmp x0, x25
b.ne LBB0_56
; %bb.55: ; in Loop: Header=BB0_37 Depth=1
mov w20, #6 ; =0x6
b LBB0_58
LBB0_56: ; in Loop: Header=BB0_37 Depth=1
ldr w0, [x20, #16]
ldur x1, [x29, #-128]
mov w2, #7 ; =0x7
bl _sad_pkg
tbz w0, #3, LBB0_105
; %bb.57: ; in Loop: Header=BB0_37 Depth=1
cmp x0, x25
mov w8, #7 ; =0x7
cinc w20, w8, ne
LBB0_58: ; in Loop: Header=BB0_37 Depth=1
add w24, w27, #1
ldur x0, [x29, #-120]
bl _KNL_MOD3
add w8, w20, w20, lsl #1
cmp x0, #0
csel w10, w20, w8, eq
ldur w8, [x29, #-156] ; 4-byte Folded Reload
cmp w8, #0
Lloh42:
adrp x8, l_.str.6@PAGE
Lloh43:
add x8, x8, l_.str.6@PAGEOFF
Lloh44:
adrp x9, l_.str.7@PAGE
Lloh45:
add x9, x9, l_.str.7@PAGEOFF
csel x8, x9, x8, eq
sub sp, sp, #48
str x8, [sp, #32]
str x23, [sp, #8]
stur x26, [x29, #-168] ; 8-byte Folded Spill
str x26, [sp]
stur x24, [x29, #-176] ; 8-byte Folded Spill
str x24, [sp, #16]
stur x10, [x29, #-152] ; 8-byte Folded Spill
str x10, [sp, #24]
mov w0, #3 ; =0x3
Lloh46:
adrp x1, l_.str.5@PAGE
Lloh47:
add x1, x1, l_.str.5@PAGEOFF
bl _edac_dbg
add sp, sp, #48
stur wzr, [x29, #-96]
Lloh48:
adrp x8, _knl_tad_dram_limit_lo@GOTPAGE
Lloh49:
ldr x8, [x8, _knl_tad_dram_limit_lo@GOTPAGEOFF]
Lloh50:
ldr w0, [x8]
bl _ARRAY_SIZE
cmp w0, #1
b.lt LBB0_70
; %bb.59: ; in Loop: Header=BB0_37 Depth=1
stur xzr, [x29, #-144] ; 8-byte Folded Spill
mov w26, #0 ; =0x0
mov w25, #0 ; =0x0
ldur x20, [x29, #-136] ; 8-byte Folded Reload
b LBB0_62
LBB0_60: ; in Loop: Header=BB0_62 Depth=2
sub sp, sp, #48
stp x24, xzr, [sp, #24]
stp x9, x8, [sp, #8]
str x25, [sp]
mov w0, #3 ; =0x3
Lloh51:
adrp x1, l_.str.10@PAGE
Lloh52:
add x1, x1, l_.str.10@PAGEOFF
bl _edac_dbg
add sp, sp, #48
ldur x8, [x29, #-144] ; 8-byte Folded Reload
add w8, w8, w24
stur x8, [x29, #-144] ; 8-byte Folded Spill
LBB0_61: ; in Loop: Header=BB0_62 Depth=2
add w26, w24, w26
add w25, w25, #1
Lloh53:
adrp x8, _knl_tad_dram_limit_lo@GOTPAGE
Lloh54:
ldr x8, [x8, _knl_tad_dram_limit_lo@GOTPAGEOFF]
Lloh55:
ldr w0, [x8]
bl _ARRAY_SIZE
cmp w25, w0
b.ge LBB0_69
LBB0_62: ; Parent Loop BB0_37 Depth=1
; => This Inner Loop Header: Depth=2
sub x3, x29, #104
sub x4, x29, #100
sub x5, x29, #108
mov x0, x20
mov x1, x25
mov w2, #0 ; =0x0
bl _knl_get_tad
cbnz x0, LBB0_69
; %bb.63: ; in Loop: Header=BB0_62 Depth=2
ldp w9, w8, [x29, #-104]
add w9, w9, w26
sub w10, w8, w9
add w24, w10, #1
cmp w9, w23
b.ge LBB0_66
; %bb.64: ; in Loop: Header=BB0_62 Depth=2
cmp w8, w23
b.le LBB0_61
; %bb.65: ; in Loop: Header=BB0_62 Depth=2
mov w0, #0 ; =0x0
Lloh56:
adrp x1, l_.str.8@PAGE
Lloh57:
add x1, x1, l_.str.8@PAGEOFF
bl _edac_dbg
b LBB0_61
LBB0_66: ; in Loop: Header=BB0_62 Depth=2
cmp w9, w27
b.gt LBB0_61
; %bb.67: ; in Loop: Header=BB0_62 Depth=2
cmp w8, w27
b.le LBB0_60
; %bb.68: ; in Loop: Header=BB0_62 Depth=2
mov w0, #0 ; =0x0
Lloh58:
adrp x1, l_.str.9@PAGE
Lloh59:
add x1, x1, l_.str.9@PAGEOFF
bl _edac_dbg
b LBB0_61
LBB0_69: ; in Loop: Header=BB0_37 Depth=1
ldur x24, [x29, #-144] ; 8-byte Folded Reload
stur w24, [x29, #-96]
b LBB0_71
LBB0_70: ; in Loop: Header=BB0_37 Depth=1
mov w24, #0 ; =0x0
ldur x20, [x29, #-136] ; 8-byte Folded Reload
LBB0_71: ; in Loop: Header=BB0_37 Depth=1
stur wzr, [x29, #-92]
Lloh60:
adrp x8, _knl_tad_dram_limit_lo@GOTPAGE
Lloh61:
ldr x8, [x8, _knl_tad_dram_limit_lo@GOTPAGEOFF]
Lloh62:
ldr w0, [x8]
bl _ARRAY_SIZE
cmp w0, #1
b.lt LBB0_84
; %bb.72: ; in Loop: Header=BB0_37 Depth=1
stur x24, [x29, #-144] ; 8-byte Folded Spill
mov w26, #0 ; =0x0
mov w24, #0 ; =0x0
mov w25, #0 ; =0x0
b LBB0_76
LBB0_73: ; in Loop: Header=BB0_76 Depth=2
mov w0, #0 ; =0x0
Lloh63:
adrp x1, l_.str.9@PAGE
Lloh64:
add x1, x1, l_.str.9@PAGEOFF
LBB0_74: ; in Loop: Header=BB0_76 Depth=2
bl _edac_dbg
LBB0_75: ; in Loop: Header=BB0_76 Depth=2
add w24, w20, w24
add w25, w25, #1
Lloh65:
adrp x8, _knl_tad_dram_limit_lo@GOTPAGE
Lloh66:
ldr x8, [x8, _knl_tad_dram_limit_lo@GOTPAGEOFF]
Lloh67:
ldr w0, [x8]
bl _ARRAY_SIZE
cmp w25, w0
ldur x20, [x29, #-136] ; 8-byte Folded Reload
b.ge LBB0_83
LBB0_76: ; Parent Loop BB0_37 Depth=1
; => This Inner Loop Header: Depth=2
sub x3, x29, #104
sub x4, x29, #100
sub x5, x29, #108
mov x0, x20
mov x1, x25
mov w2, #1 ; =0x1
bl _knl_get_tad
cbnz x0, LBB0_83
; %bb.77: ; in Loop: Header=BB0_76 Depth=2
ldp w9, w8, [x29, #-104]
add w9, w9, w24
sub w10, w8, w9
add w20, w10, #1
cmp w9, w23
b.ge LBB0_80
; %bb.78: ; in Loop: Header=BB0_76 Depth=2
cmp w8, w23
b.le LBB0_75
; %bb.79: ; in Loop: Header=BB0_76 Depth=2
mov w0, #0 ; =0x0
Lloh68:
adrp x1, l_.str.8@PAGE
Lloh69:
add x1, x1, l_.str.8@PAGEOFF
b LBB0_74
LBB0_80: ; in Loop: Header=BB0_76 Depth=2
cmp w9, w27
b.gt LBB0_75
; %bb.81: ; in Loop: Header=BB0_76 Depth=2
cmp w8, w27
b.gt LBB0_73
; %bb.82: ; in Loop: Header=BB0_76 Depth=2
sub sp, sp, #48
mov w10, #1 ; =0x1
stp x20, x10, [sp, #24]
stp x9, x8, [sp, #8]
str x25, [sp]
mov w0, #3 ; =0x3
Lloh70:
adrp x1, l_.str.10@PAGE
Lloh71:
add x1, x1, l_.str.10@PAGEOFF
bl _edac_dbg
add sp, sp, #48
add w26, w26, w20
b LBB0_75
LBB0_83: ; in Loop: Header=BB0_37 Depth=1
stur w26, [x29, #-92]
ldur x24, [x29, #-144] ; 8-byte Folded Reload
b LBB0_85
LBB0_84: ; in Loop: Header=BB0_37 Depth=1
mov w26, #0 ; =0x0
LBB0_85: ; in Loop: Header=BB0_37 Depth=1
sub sp, sp, #32
stp x24, x24, [sp, #8]
str xzr, [sp]
mov w0, #3 ; =0x3
Lloh72:
adrp x23, l_.str.11@PAGE
Lloh73:
add x23, x23, l_.str.11@PAGEOFF
mov x1, x23
bl _edac_dbg
add sp, sp, #32
sub sp, sp, #32
stp x26, x26, [sp, #8]
mov w27, #1 ; =0x1
str x27, [sp]
mov w0, #3 ; =0x3
mov x1, x23
bl _edac_dbg
add sp, sp, #32
ldur w8, [x29, #-156] ; 4-byte Folded Reload
cbnz w8, LBB0_35
; %bb.86: ; in Loop: Header=BB0_37 Depth=1
ldr w20, [x19]
cmp w20, #1
ldur x25, [x29, #-184] ; 8-byte Folded Reload
ldur x26, [x29, #-168] ; 8-byte Folded Reload
b.lt LBB0_103
; %bb.87: ; in Loop: Header=BB0_37 Depth=1
lsl x1, x20, #2
mov x0, x22
bl _bzero
mov x24, #0 ; =0x0
b LBB0_89
LBB0_88: ; in Loop: Header=BB0_89 Depth=2
add x24, x24, #1
cmp x24, w20, sxtw
b.ge LBB0_98
LBB0_89: ; Parent Loop BB0_37 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_92 Depth 3
; Child Loop BB0_95 Depth 4
cmp w20, #1
b.lt LBB0_88
; %bb.90: ; in Loop: Header=BB0_89 Depth=2
mov w23, #0 ; =0x0
b LBB0_92
LBB0_91: ; in Loop: Header=BB0_92 Depth=3
add w23, w23, #1
ldr w20, [x19]
cmp w23, w20
b.ge LBB0_88
LBB0_92: ; Parent Loop BB0_37 Depth=1
; Parent Loop BB0_89 Depth=2
; => This Loop Header: Depth=3
; Child Loop BB0_95 Depth 4
ldr w8, [x28]
cmp w8, #1
b.lt LBB0_91
; %bb.93: ; in Loop: Header=BB0_92 Depth=3
mov x20, #0 ; =0x0
b LBB0_95
LBB0_94: ; in Loop: Header=BB0_95 Depth=4
add x20, x20, #1
ldrsw x8, [x28]
cmp x20, x8
b.ge LBB0_91
LBB0_95: ; Parent Loop BB0_37 Depth=1
; Parent Loop BB0_89 Depth=2
; Parent Loop BB0_92 Depth=3
; => This Inner Loop Header: Depth=4
ldr x1, [x21, x20, lsl #3]
mov x0, x23
bl _knl_get_mc_route
cmp x24, w0, uxtw
b.ne LBB0_94
; %bb.96: ; in Loop: Header=BB0_95 Depth=4
ldr w8, [x22, x24, lsl #2]
cbnz w8, LBB0_94
; %bb.97: ; in Loop: Header=BB0_92 Depth=3
str w27, [x22, x24, lsl #2]
b LBB0_91
LBB0_98: ; in Loop: Header=BB0_37 Depth=1
cmp w20, #1
sub x27, x29, #96
b.lt LBB0_103
; %bb.99: ; in Loop: Header=BB0_37 Depth=1
mov x23, #0 ; =0x0
mov x20, x26
b LBB0_101
LBB0_100: ; in Loop: Header=BB0_101 Depth=2
add x23, x23, #1
ldrsw x8, [x19]
cmp x23, x8
b.ge LBB0_103
LBB0_101: ; Parent Loop BB0_37 Depth=1
; => This Inner Loop Header: Depth=2
mov x0, x23
bl _knl_channel_mc
ldr w8, [x22, x23, lsl #2]
cbz w8, LBB0_100
; %bb.102: ; in Loop: Header=BB0_101 Depth=2
ldr w8, [x27, w0, sxtw #2]
ldur x9, [x29, #-152] ; 8-byte Folded Reload
sdiv w24, w8, w9
sub sp, sp, #32
stp x24, x20, [sp, #8]
str x23, [sp]
mov w0, #4 ; =0x4
Lloh74:
adrp x1, l_.str.12@PAGE
Lloh75:
add x1, x1, l_.str.12@PAGEOFF
bl _edac_dbg
add sp, sp, #32
ldr w8, [x25, x23, lsl #2]
add w8, w8, w24
str w8, [x25, x23, lsl #2]
b LBB0_100
LBB0_103: ; in Loop: Header=BB0_37 Depth=1
ldur x23, [x29, #-176] ; 8-byte Folded Reload
; kill: def $w23 killed $w23 killed $x23 def $x23
ldur x20, [x29, #-136] ; 8-byte Folded Reload
b LBB0_36
LBB0_104:
mov w0, #0 ; =0x0
b LBB0_106
LBB0_105:
str x0, [sp, #-16]!
Lloh76:
adrp x1, l_.str.4@PAGE
Lloh77:
add x1, x1, l_.str.4@PAGEOFF
mov w0, #0 ; =0x0
bl _edac_dbg
add sp, sp, #16
mov w0, #-1 ; =0xffffffff
LBB0_106:
ldur x8, [x29, #-192] ; 8-byte Folded Reload
mov sp, x8
ldur x8, [x29, #-88]
Lloh78:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh79:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh80:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_108
; %bb.107:
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_108:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh20, Lloh21
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpLdrGot Lloh32, Lloh33
.loh AdrpAdd Lloh34, Lloh35
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpAdd Lloh38, Lloh39
.loh AdrpAdd Lloh40, Lloh41
.loh AdrpLdrGotLdr Lloh48, Lloh49, Lloh50
.loh AdrpAdd Lloh46, Lloh47
.loh AdrpAdd Lloh44, Lloh45
.loh AdrpAdd Lloh42, Lloh43
.loh AdrpAdd Lloh51, Lloh52
.loh AdrpLdrGotLdr Lloh53, Lloh54, Lloh55
.loh AdrpAdd Lloh56, Lloh57
.loh AdrpAdd Lloh58, Lloh59
.loh AdrpLdrGotLdr Lloh60, Lloh61, Lloh62
.loh AdrpAdd Lloh63, Lloh64
.loh AdrpLdrGotLdr Lloh65, Lloh66, Lloh67
.loh AdrpAdd Lloh68, Lloh69
.loh AdrpAdd Lloh70, Lloh71
.loh AdrpAdd Lloh72, Lloh73
.loh AdrpAdd Lloh74, Lloh75
.loh AdrpAdd Lloh76, Lloh77
.loh AdrpLdrGotLdr Lloh78, Lloh79, Lloh80
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGot Lloh18, Lloh19
.cfi_endproc
; -- End function
.comm _KNL_MAX_CHAS,4,2 ; @KNL_MAX_CHAS
.comm _KNL_MAX_EDCS,4,2 ; @KNL_MAX_EDCS
.comm _KNL_MAX_CHANNELS,4,2 ; @KNL_MAX_CHANNELS
.comm _KNL_EDC_ROUTE,4,2 ; @KNL_EDC_ROUTE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "edc route table for CHA %d: %s\n"
l_.str.1: ; @.str.1
.asciz "edc route table for CHA %d-%d: %s\n"
.comm _KNL_MC_ROUTE,4,2 ; @KNL_MC_ROUTE
l_.str.2: ; @.str.2
.asciz "mc route table for CHA %d: %s\n"
l_.str.3: ; @.str.3
.asciz "mc route table for CHA %d-%d: %s\n"
l_.str.4: ; @.str.4
.asciz "Unexpected interleave target %d\n"
l_.str.5: ; @.str.5
.asciz "dram rule %d (base 0x%llx, limit 0x%llx), %d way interleave%s\n"
l_.str.6: ; @.str.6
.asciz ", EDRAM"
l_.str.7: ; @.str.7
.space 1
.comm _knl_tad_dram_limit_lo,4,2 ; @knl_tad_dram_limit_lo
l_.str.8: ; @.str.8
.asciz "TAD region overlaps lower SAD boundary -- TAD tables may be configured incorrectly.\n"
l_.str.9: ; @.str.9
.asciz "TAD region overlaps upper SAD boundary -- TAD tables may be configured incorrectly.\n"
l_.str.10: ; @.str.10
.asciz "TAD region %d 0x%llx - 0x%llx (%lld bytes) table%d\n"
l_.str.11: ; @.str.11
.asciz " total TAD DRAM footprint in table%d : 0x%llx (%lld bytes)\n"
l_.str.12: ; @.str.12
.asciz "mc channel %d contributes %lld bytes via sad entry %d\n"
.no_dead_strip _knl_get_dimm_capacity
.subsections_via_symbols
|
assembly_file_108827.c
|
assembly_dataset
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function rb_advance_iter
_rb_advance_iter: ## @rb_advance_iter
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movq 8(%rdi), %rdi
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq (%rbx), %r15
movq 16(%rbx), %r14
callq _rb_page_size
cmpq %rax, %r15
jge LBB0_2
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
movq %rbx, %rdi
callq _rb_iter_head_event
movq %rax, %r15
movq %rax, %rdi
callq _rb_event_length
movq 8(%rbx), %rcx
xorl %esi, %esi
movl %eax, %r12d
cmpq (%r14), %rcx
jne LBB0_6
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
movq (%rbx), %r13
addq %r12, %r13
movq %r14, %rdi
callq _rb_commit_index
xorl %esi, %esi
cmpq %rax, %r13
setg %sil
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movq %r14, %rdi
callq _RB_WARN_ON
testq %rax, %rax
jne LBB0_9
## %bb.7: ## in Loop: Header=BB0_1 Depth=1
movq %rbx, %rdi
movq %r15, %rsi
callq _rb_update_iter_read_stamp
addq (%rbx), %r12
movq %r12, (%rbx)
movq 8(%rbx), %rdi
callq _rb_page_size
cmpq %rax, %r12
jl LBB0_9
## %bb.8: ## in Loop: Header=BB0_1 Depth=1
movq 8(%rbx), %rdi
cmpq (%r14), %rdi
jne LBB0_1
jmp LBB0_9
LBB0_2:
movq 8(%rbx), %rax
cmpq (%r14), %rax
jne LBB0_3
LBB0_9:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_3:
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _rb_inc_iter ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _rb_advance_iter
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function rb_advance_iter
_rb_advance_iter: ; @rb_advance_iter
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x0
ldr x0, [x0, #8]
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x20, [x19, #16]
ldr x21, [x19]
bl _rb_page_size
cmp x21, x0
b.ge LBB0_8
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
mov x0, x19
bl _rb_iter_head_event
mov x22, x0
bl _rb_event_length
mov x21, x0
ldr x8, [x19, #8]
ldr x9, [x20]
cmp x8, x9
b.ne LBB0_4
; %bb.3: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [x19]
add x23, x8, w21, uxtw
mov x0, x20
bl _rb_commit_index
cmp x23, x0
cset w1, gt
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
mov w1, #0
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
mov x0, x20
bl _RB_WARN_ON
cbnz x0, LBB0_9
; %bb.6: ; in Loop: Header=BB0_1 Depth=1
mov x0, x19
mov x1, x22
bl _rb_update_iter_read_stamp
ldp x8, x0, [x19]
add x21, x8, w21, uxtw
str x21, [x19]
bl _rb_page_size
cmp x21, x0
b.lt LBB0_9
; %bb.7: ; in Loop: Header=BB0_1 Depth=1
ldr x0, [x19, #8]
ldr x8, [x20]
cmp x0, x8
b.ne LBB0_1
b LBB0_9
LBB0_8:
ldr x8, [x19, #8]
ldr x9, [x20]
cmp x8, x9
b.ne LBB0_10
LBB0_9:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
LBB0_10:
mov x0, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
b _rb_inc_iter
.cfi_endproc
; -- End function
.no_dead_strip _rb_advance_iter
.subsections_via_symbols
|
AnghaBench/fastsocket/kernel/kernel/trace/extr_ring_buffer.c_rb_advance_iter.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.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/118695.c
|
stack
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function vdbeSorterMergeTreeBuild
_vdbeSorterMergeTreeBuild: ## @vdbeSorterMergeTreeBuild
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $72, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, -104(%rbp) ## 8-byte Spill
movq %rdi, %r15
movq _SQLITE_OK@GOTPCREL(%rip), %r12
movl (%r12), %ebx
xorl %edx, %edx
movq $0, -64(%rbp) ## 8-byte Folded Spill
movq %rdi, -80(%rbp) ## 8-byte Spill
jmp LBB0_1
.p2align 4, 0x90
LBB0_17: ## in Loop: Header=BB0_1 Depth=1
movq -48(%rbp), %rdi
callq _vdbeMergeEngineFree
LBB0_18: ## in Loop: Header=BB0_1 Depth=1
movq -80(%rbp), %r15 ## 8-byte Reload
movq -88(%rbp), %rdx ## 8-byte Reload
LBB0_19: ## in Loop: Header=BB0_1 Depth=1
decq %rdx
cmpl (%r12), %ebx
jne LBB0_20
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_11 Depth 2
movslq (%r15), %rax
cmpq %rax, %rdx
jge LBB0_2
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movq 8(%r15), %r14
cmpq $0, (%r14,%rdx,8)
setg %al
movq _SQLITE_MAX_WORKER_THREADS@GOTPCREL(%rip), %r13
cmpq $0, (%r13)
setg %cl
orb %al, %cl
movzbl %cl, %edi
movq %rdx, -88(%rbp) ## 8-byte Spill
callq _assert
movq -88(%rbp), %rdx ## 8-byte Reload
cmpq $0, (%r13)
setne %al
movq (%r14,%rdx,8), %rdi
testq %rdi, %rdi
sete %cl
testb %cl, %al
jne LBB0_19
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
leaq (%r14,%rdx,8), %r15
movq $0, -48(%rbp)
callq _vdbeSorterTreeDepth
movl %eax, -68(%rbp) ## 4-byte Spill
movl $0, -52(%rbp)
movq (%r15), %rsi
movq _SORTER_MAX_MERGE_COUNT@GOTPCREL(%rip), %rax
movslq (%rax), %rdi
cmpq %rdi, %rsi
jle LBB0_5
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
## kill: def $edi killed $edi killed $rdi
callq _vdbeMergeEngineNew
movq %rax, -48(%rbp)
testq %rax, %rax
jne LBB0_8
## %bb.7: ## in Loop: Header=BB0_1 Depth=1
movq _SQLITE_NOMEM_BKPT@GOTPCREL(%rip), %rax
movl (%rax), %ebx
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
movq (%r15), %rdi
movl (%r12), %eax
testq %rdi, %rdi
jle LBB0_15
## %bb.9: ## in Loop: Header=BB0_1 Depth=1
cmpl %eax, %ebx
jne LBB0_15
## %bb.10: ## in Loop: Header=BB0_1 Depth=1
movq _SORTER_MAX_MERGE_COUNT@GOTPCREL(%rip), %rax
movl (%rax), %esi
xorl %r13d, %r13d
xorl %r14d, %r14d
.p2align 4, 0x90
LBB0_11: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movq $0, -96(%rbp)
addl %r14d, %edi
## kill: def $edi killed $edi killed $rdi
callq _MIN
movq %r15, %rdi
movl %eax, %esi
leaq -52(%rbp), %rdx
leaq -96(%rbp), %rcx
callq _vdbeMergeEngineLevel0
movl %eax, %ebx
movl (%r12), %eax
cmpl %eax, %ebx
jne LBB0_13
## %bb.12: ## in Loop: Header=BB0_11 Depth=2
movq %r13, %rdx
incl %r13d
movq -48(%rbp), %rcx
movq -96(%rbp), %r8
movq %r15, %rdi
movl -68(%rbp), %esi ## 4-byte Reload
## kill: def $edx killed $edx killed $rdx
callq _vdbeSorterAddToTree
movl %eax, %ebx
movl (%r12), %eax
## kill: def $r13d killed $r13d def $r13
LBB0_13: ## in Loop: Header=BB0_11 Depth=2
movq _SORTER_MAX_MERGE_COUNT@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
addl %esi, %r14d
movslq %r14d, %rcx
movq (%r15), %rdi
cmpq %rcx, %rdi
jle LBB0_15
## %bb.14: ## in Loop: Header=BB0_11 Depth=2
cmpl %eax, %ebx
je LBB0_11
jmp LBB0_15
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movq %r15, %rdi
## kill: def $esi killed $esi killed $rsi
leaq -52(%rbp), %rdx
leaq -48(%rbp), %rcx
callq _vdbeMergeEngineLevel0
movl %eax, %ebx
movl (%r12), %eax
LBB0_15: ## in Loop: Header=BB0_1 Depth=1
cmpl %eax, %ebx
jne LBB0_17
## %bb.16: ## in Loop: Header=BB0_1 Depth=1
xorl %edi, %edi
cmpq $0, -64(%rbp) ## 8-byte Folded Reload
sete %dil
callq _assert
movq -48(%rbp), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
jmp LBB0_18
LBB0_2:
movq -64(%rbp), %rcx ## 8-byte Reload
jmp LBB0_21
LBB0_20:
movq -64(%rbp), %rdi ## 8-byte Reload
callq _vdbeMergeEngineFree
xorl %ecx, %ecx
LBB0_21:
movq -104(%rbp), %rax ## 8-byte Reload
movq %rcx, (%rax)
movl %ebx, %eax
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SQLITE_OK,4,2 ## @SQLITE_OK
.comm _SQLITE_MAX_WORKER_THREADS,8,3 ## @SQLITE_MAX_WORKER_THREADS
.comm _SORTER_MAX_MERGE_COUNT,4,2 ## @SORTER_MAX_MERGE_COUNT
.comm _SQLITE_NOMEM_BKPT,4,2 ## @SQLITE_NOMEM_BKPT
.no_dead_strip _vdbeSorterMergeTreeBuild
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function vdbeSorterMergeTreeBuild
_vdbeSorterMergeTreeBuild: ; @vdbeSorterMergeTreeBuild
.cfi_startproc
; %bb.0:
sub sp, sp, #144
stp x28, x27, [sp, #48] ; 16-byte Folded Spill
stp x26, x25, [sp, #64] ; 16-byte Folded Spill
stp x24, x23, [sp, #80] ; 16-byte Folded Spill
stp x22, x21, [sp, #96] ; 16-byte Folded Spill
stp x20, x19, [sp, #112] ; 16-byte Folded Spill
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
stp x1, xzr, [sp, #8] ; 16-byte Folded Spill
mov x21, x0
mov x25, #0 ; =0x0
Lloh0:
adrp x26, _SQLITE_OK@GOTPAGE
Lloh1:
ldr x26, [x26, _SQLITE_OK@GOTPAGEOFF]
ldr w0, [x26]
Lloh2:
adrp x27, _SQLITE_MAX_WORKER_THREADS@GOTPAGE
Lloh3:
ldr x27, [x27, _SQLITE_MAX_WORKER_THREADS@GOTPAGEOFF]
Lloh4:
adrp x28, _SORTER_MAX_MERGE_COUNT@GOTPAGE
Lloh5:
ldr x28, [x28, _SORTER_MAX_MERGE_COUNT@GOTPAGEOFF]
b LBB0_3
LBB0_1: ; in Loop: Header=BB0_3 Depth=1
ldr x0, [sp, #40]
bl _vdbeMergeEngineFree
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
mov x0, x19
sub x25, x25, #1
ldr w8, [x26]
cmp w19, w8
b.ne LBB0_15
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_9 Depth 2
ldrsw x8, [x21]
cmp x25, x8
b.ge LBB0_14
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov x19, x0
ldr x8, [x21, #8]
add x22, x8, x25, lsl #3
ldr x8, [x22]
cmp x8, #0
ldr x8, [x27]
ccmp x8, #0, #0, le
cset w0, gt
bl _assert
ldr x8, [x27]
ldr x0, [x22]
cmp x8, #0
ccmp x0, #0, #0, ne
b.eq LBB0_2
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
str xzr, [sp, #40]
bl _vdbeSorterTreeDepth
mov x23, x0
str wzr, [sp, #36]
ldr x1, [x22]
ldrsw x0, [x28]
cmp x1, x0
b.le LBB0_11
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
; kill: def $w0 killed $w0 killed $x0
bl _vdbeMergeEngineNew
str x0, [sp, #40]
Lloh6:
adrp x8, _SQLITE_NOMEM_BKPT@GOTPAGE
Lloh7:
ldr x8, [x8, _SQLITE_NOMEM_BKPT@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
cmp x0, #0
csel w0, w8, w19, eq
ldr x9, [x22]
ldr w8, [x26]
cmp x9, #1
ccmp w0, w8, #0, ge
b.ne LBB0_12
; %bb.7: ; in Loop: Header=BB0_3 Depth=1
mov w20, #0 ; =0x0
mov w19, #0 ; =0x0
ldr w1, [x28]
b LBB0_9
LBB0_8: ; in Loop: Header=BB0_9 Depth=2
ldr w1, [x28]
add w19, w1, w19
ldr x9, [x22]
cmp x9, w19, sxtw
ccmp w0, w8, #0, gt
b.ne LBB0_12
LBB0_9: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
str xzr, [sp, #24]
add w0, w19, w9
bl _MIN
mov x1, x0
add x2, sp, #36
add x3, sp, #24
mov x0, x22
bl _vdbeMergeEngineLevel0
ldr w8, [x26]
cmp w0, w8
b.ne LBB0_8
; %bb.10: ; in Loop: Header=BB0_9 Depth=2
add w24, w20, #1
ldr x3, [sp, #40]
ldr x4, [sp, #24]
mov x0, x22
mov x1, x23
mov x2, x20
bl _vdbeSorterAddToTree
ldr w8, [x26]
mov x20, x24
b LBB0_8
LBB0_11: ; in Loop: Header=BB0_3 Depth=1
add x2, sp, #36
add x3, sp, #40
mov x0, x22
; kill: def $w1 killed $w1 killed $x1
bl _vdbeMergeEngineLevel0
ldr w8, [x26]
LBB0_12: ; in Loop: Header=BB0_3 Depth=1
mov x19, x0
cmp w0, w8
b.ne LBB0_1
; %bb.13: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [sp, #16] ; 8-byte Folded Reload
cmp x8, #0
cset w0, eq
bl _assert
ldr x8, [sp, #40]
str x8, [sp, #16] ; 8-byte Folded Spill
b LBB0_2
LBB0_14:
ldr x9, [sp, #16] ; 8-byte Folded Reload
b LBB0_16
LBB0_15:
mov x19, x0
ldr x0, [sp, #16] ; 8-byte Folded Reload
bl _vdbeMergeEngineFree
mov x0, x19
mov x9, #0 ; =0x0
LBB0_16:
ldr x8, [sp, #8] ; 8-byte Folded Reload
str x9, [x8]
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
ldp x20, x19, [sp, #112] ; 16-byte Folded Reload
ldp x22, x21, [sp, #96] ; 16-byte Folded Reload
ldp x24, x23, [sp, #80] ; 16-byte Folded Reload
ldp x26, x25, [sp, #64] ; 16-byte Folded Reload
ldp x28, x27, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #144
ret
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _SQLITE_OK,4,2 ; @SQLITE_OK
.comm _SQLITE_MAX_WORKER_THREADS,8,3 ; @SQLITE_MAX_WORKER_THREADS
.comm _SORTER_MAX_MERGE_COUNT,4,2 ; @SORTER_MAX_MERGE_COUNT
.comm _SQLITE_NOMEM_BKPT,4,2 ; @SQLITE_NOMEM_BKPT
.no_dead_strip _vdbeSorterMergeTreeBuild
.subsections_via_symbols
|
assembly_file_25644.c
|
assembly_dataset
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function ws_realloc_frm_payload
_ws_realloc_frm_payload: ## @ws_realloc_frm_payload
.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), %rsi
movq 8(%rbx), %rdi
addq (%rbx), %rsi
setle %r14b
callq _realloc
testq %rax, %rax
setne %cl
testb %cl, %r14b
jne LBB0_1
## %bb.2:
movq 8(%rbx), %rdi
callq _free
movl $1, %ecx
xorl %eax, %eax
jmp LBB0_3
LBB0_1:
xorl %ecx, %ecx
LBB0_3:
movq %rax, 8(%rbx)
movl %ecx, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _ws_realloc_frm_payload
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function ws_realloc_frm_payload
_ws_realloc_frm_payload: ; @ws_realloc_frm_payload
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
ldr x8, [x0]
ldp x9, x0, [x1]
add x20, x8, x9
mov x1, x20
bl _realloc
cmp x20, #0
ccmp x0, #0, #4, le
b.ne LBB0_2
; %bb.1:
ldr x0, [x19, #8]
bl _free
mov x0, #0 ; =0x0
mov w8, #1 ; =0x1
b LBB0_3
LBB0_2:
mov w8, #0 ; =0x0
LBB0_3:
str x0, [x19, #8]
mov x0, x8
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 _ws_realloc_frm_payload
.subsections_via_symbols
|
assembly_file_183790.c
|
assembly_dataset
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _layer_state_set_user ## -- Begin function layer_state_set_user
.p2align 4, 0x90
_layer_state_set_user: ## @layer_state_set_user
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movl %edi, %ebx
callq _biton32
movq _B3@GOTPCREL(%rip), %rcx
movl (%rcx), %edi
cmpl $1, %eax
jne LBB0_2
## %bb.1:
callq _writePinHigh
jmp LBB0_3
LBB0_2:
callq _writePinLow
LBB0_3:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _B3,4,2 ## @B3
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _layer_state_set_user ; -- Begin function layer_state_set_user
.p2align 2
_layer_state_set_user: ; @layer_state_set_user
.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 _biton32
mov x8, x0
Lloh0:
adrp x9, _B3@GOTPAGE
Lloh1:
ldr x9, [x9, _B3@GOTPAGEOFF]
Lloh2:
ldr w0, [x9]
cmp w8, #1
b.ne LBB0_2
; %bb.1:
bl _writePinHigh
b LBB0_3
LBB0_2:
bl _writePinLow
LBB0_3:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _B3,4,2 ; @B3
.subsections_via_symbols
|
AnghaBench/qmk_firmware/keyboards/primekb/prime_e/keymaps/default/extr_keymap.c_layer_state_set_user.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function context_clear_entry
_context_clear_entry: ## @context_clear_entry
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _context_clear_entry
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function context_clear_entry
_context_clear_entry: ; @context_clear_entry
.cfi_startproc
; %bb.0:
stp xzr, xzr, [x0]
ret
.cfi_endproc
; -- End function
.no_dead_strip _context_clear_entry
.subsections_via_symbols
|
AnghaBench/linux/drivers/iommu/extr_intel-iommu.c_context_clear_entry.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function sbsm_remove
_sbsm_remove: ## @sbsm_remove
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _i2c_get_clientdata
movl (%rax), %edi
callq _i2c_mux_del_adapters
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _sbsm_remove
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function sbsm_remove
_sbsm_remove: ; @sbsm_remove
.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 _i2c_get_clientdata
ldr w0, [x0]
bl _i2c_mux_del_adapters
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _sbsm_remove
.subsections_via_symbols
|
AnghaBench/linux/drivers/power/supply/extr_sbs-manager.c_sbsm_remove.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _print_version ## -- Begin function print_version
.p2align 4, 0x90
_print_version: ## @print_version
.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 _print_summary ## -- Begin function print_summary
.p2align 4, 0x90
_print_summary: ## @print_summary
.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
movl %edi, %ebx
leaq L_str.16(%rip), %r15
movq %r15, %rdi
callq _puts
leaq L_.str.2(%rip), %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _printf
leaq L_.str.3(%rip), %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _printf
leaq L_.str.4(%rip), %rdi
movl %r14d, %esi
xorl %eax, %eax
callq _printf
movq %r15, %rdi
callq _puts
leaq L_str.17(%rip), %rdi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _puts ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function print_results
LCPI2_0:
.quad 0x412e848000000000 ## double 1.0E+6
.section __TEXT,__text,regular,pure_instructions
.globl _print_results
.p2align 4, 0x90
_print_results: ## @print_results
.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
movsd %xmm0, -8(%rbp) ## 8-byte Spill
movsd LCPI2_0(%rip), %xmm1 ## xmm1 = mem[0],zero
divsd %xmm0, %xmm1
movsd %xmm1, -16(%rbp) ## 8-byte Spill
leaq L_str.18(%rip), %rdi
callq _puts
leaq L_.str.7(%rip), %rdi
movl $1000000, %esi ## imm = 0xF4240
xorl %eax, %eax
callq _printf
leaq L_.str.8(%rip), %rdi
movsd -8(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movb $1, %al
callq _printf
leaq L_.str.9(%rip), %rdi
movsd -16(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movb $1, %al
callq _printf
leaq L_str.19(%rip), %rdi
addq $16, %rsp
popq %rbp
jmp _puts ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function tic
LCPI3_0:
.quad 0x412e848000000000 ## double 1.0E+6
.section __TEXT,__text,regular,pure_instructions
.globl _tic
.p2align 4, 0x90
_tic: ## @tic
.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 -16(%rbp), %rdi
xorl %esi, %esi
callq _gettimeofday
cvtsi2sdq -16(%rbp), %xmm1
cvtsi2sdl -8(%rbp), %xmm0
divsd LCPI3_0(%rip), %xmm0
addsd %xmm1, %xmm0
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function rand_double
LCPI4_0:
.quad 0x3e00000000000000 ## double 4.6566128730773926E-10
.section __TEXT,__text,regular,pure_instructions
.globl _rand_double
.p2align 4, 0x90
_rand_double: ## @rand_double
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _rand
cvtsi2sd %eax, %xmm0
mulsd LCPI4_0(%rip), %xmm0
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function benchmark
LCPI5_0:
.quad 0x3e00000000000000 ## double 4.6566128730773926E-10
LCPI5_1:
.quad 0x4034000000000000 ## double 20
LCPI5_2:
.quad 0xc024000000000000 ## double -10
LCPI5_3:
.quad 0x412e848000000000 ## double 1.0E+6
.section __TEXT,__text,regular,pure_instructions
.globl _benchmark
.p2align 4, 0x90
_benchmark: ## @benchmark
.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
leaq -72(%rbp), %rdi
xorl %esi, %esi
callq _gettimeofday
movq -72(%rbp), %r15
movl -64(%rbp), %r12d
movl $1000000, %ebx ## imm = 0xF4240
leaq -56(%rbp), %r14
leaq -48(%rbp), %r13
.p2align 4, 0x90
LBB5_2: ## =>This Inner Loop Header: Depth=1
callq _rand
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
mulsd LCPI5_0(%rip), %xmm0
mulsd LCPI5_1(%rip), %xmm0
addsd LCPI5_2(%rip), %xmm0
xorps %xmm1, %xmm1
movq %r14, %rdi
movq %r13, %rsi
callq _sincos
movsd -56(%rbp), %xmm0 ## xmm0 = mem[0],zero
ucomisd %xmm0, %xmm0
jp LBB5_4
## %bb.3: ## in Loop: Header=BB5_2 Depth=1
movsd -48(%rbp), %xmm0 ## xmm0 = mem[0],zero
ucomisd %xmm0, %xmm0
jp LBB5_4
## %bb.1: ## in Loop: Header=BB5_2 Depth=1
decl %ebx
jne LBB5_2
jmp LBB5_5
LBB5_4:
leaq L_str.21(%rip), %rdi
callq _puts
LBB5_5:
leaq -72(%rbp), %rdi
xorl %esi, %esi
callq _gettimeofday
movq -72(%rbp), %r14
movl -64(%rbp), %ebx
movsd -56(%rbp), %xmm0 ## xmm0 = mem[0],zero
ucomisd %xmm0, %xmm0
jp LBB5_7
## %bb.6:
movsd -48(%rbp), %xmm0 ## xmm0 = mem[0],zero
ucomisd %xmm0, %xmm0
jnp LBB5_8
LBB5_7:
leaq L_str.21(%rip), %rdi
callq _puts
LBB5_8:
xorps %xmm1, %xmm1
cvtsi2sd %ebx, %xmm1
movsd LCPI5_3(%rip), %xmm2 ## xmm2 = mem[0],zero
divsd %xmm2, %xmm1
xorps %xmm0, %xmm0
cvtsi2sd %r14, %xmm0
addsd %xmm1, %xmm0
xorps %xmm1, %xmm1
cvtsi2sd %r12d, %xmm1
divsd %xmm2, %xmm1
xorps %xmm2, %xmm2
cvtsi2sd %r15, %xmm2
addsd %xmm1, %xmm2
subsd %xmm2, %xmm0
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI6_0:
.quad 0x412e848000000000 ## double 1.0E+6
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %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
xorl %edi, %edi
callq _time
movl %eax, %edi
callq _srand
leaq L_str(%rip), %rdi
callq _puts
leaq L_.str.12(%rip), %rdi
leaq L_.str.13(%rip), %rsi
xorl %eax, %eax
callq _printf
callq _benchmark
movapd %xmm0, %xmm1
movsd %xmm0, -56(%rbp) ## 8-byte Spill
movsd LCPI6_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -64(%rbp) ## 8-byte Spill
divsd %xmm1, %xmm0
movsd %xmm0, -48(%rbp) ## 8-byte Spill
leaq L_str.18(%rip), %rdi
callq _puts
leaq L_.str.7(%rip), %r15
movq %r15, %rdi
movl $1000000, %esi ## imm = 0xF4240
xorl %eax, %eax
callq _printf
leaq L_.str.8(%rip), %r12
movq %r12, %rdi
movsd -56(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movb $1, %al
callq _printf
leaq L_.str.9(%rip), %rbx
movq %rbx, %rdi
movsd -48(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movb $1, %al
callq _printf
leaq L_str.19(%rip), %r13
movq %r13, %rdi
callq _puts
leaq L_.str.14(%rip), %r14
movq %r14, %rdi
movl $1, %esi
xorl %eax, %eax
callq _printf
leaq L_.str.12(%rip), %rdi
leaq L_.str.13(%rip), %rsi
xorl %eax, %eax
callq _printf
callq _benchmark
movapd %xmm0, %xmm1
movsd %xmm0, -56(%rbp) ## 8-byte Spill
movsd LCPI6_0(%rip), %xmm0 ## xmm0 = mem[0],zero
divsd %xmm1, %xmm0
movsd %xmm0, -48(%rbp) ## 8-byte Spill
leaq L_str.18(%rip), %rdi
callq _puts
movq %r15, %rdi
movl $1000000, %esi ## imm = 0xF4240
xorl %eax, %eax
callq _printf
movq %r12, %rdi
movsd -56(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movb $1, %al
callq _printf
movq %rbx, %rdi
movsd -48(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movb $1, %al
callq _printf
movq %r13, %rdi
callq _puts
movq %r14, %rdi
movl $2, %esi
xorl %eax, %eax
callq _printf
leaq L_.str.12(%rip), %rdi
leaq L_.str.13(%rip), %rsi
xorl %eax, %eax
callq _printf
callq _benchmark
movapd %xmm0, %xmm1
movsd %xmm0, -48(%rbp) ## 8-byte Spill
movsd -64(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
divsd %xmm1, %xmm0
movsd %xmm0, -64(%rbp) ## 8-byte Spill
leaq L_str.18(%rip), %rdi
callq _puts
movq %r15, %rdi
movl $1000000, %esi ## imm = 0xF4240
xorl %eax, %eax
callq _printf
movq %r12, %rdi
movsd -48(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movb $1, %al
callq _printf
movq %rbx, %rdi
movsd -64(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movb $1, %al
callq _printf
movq %r13, %rdi
callq _puts
movq %r14, %rdi
movl $3, %esi
xorl %eax, %eax
callq _printf
leaq L_str.16(%rip), %rbx
movq %rbx, %rdi
callq _puts
leaq L_.str.2(%rip), %rdi
movl $3, %esi
xorl %eax, %eax
callq _printf
leaq L_.str.3(%rip), %rdi
movl $3, %esi
xorl %eax, %eax
callq _printf
leaq L_.str.4(%rip), %rdi
movl $3, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
callq _puts
leaq L_str.17(%rip), %rdi
callq _puts
xorl %eax, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str.2: ## @.str.2
.asciz "1..%d\n"
L_.str.3: ## @.str.3
.asciz "# total %d\n"
L_.str.4: ## @.str.4
.asciz "# pass %d\n"
L_.str.7: ## @.str.7
.asciz " iterations: %d\n"
L_.str.8: ## @.str.8
.asciz " elapsed: %0.9f\n"
L_.str.9: ## @.str.9
.asciz " rate: %0.9f\n"
L_.str.12: ## @.str.12
.asciz "# c::cephes::%s\n"
L_.str.13: ## @.str.13
.asciz "sincos"
L_.str.14: ## @.str.14
.asciz "ok %d benchmark finished\n"
L_str: ## @str
.asciz "TAP version 13"
L_str.16: ## @str.16
.asciz "#"
L_str.17: ## @str.17
.asciz "# ok"
L_str.18: ## @str.18
.asciz " ---"
L_str.19: ## @str.19
.asciz " ..."
L_str.21: ## @str.21
.asciz "should not return NaN"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _print_version ; -- Begin function print_version
.p2align 2
_print_version: ; @print_version
.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 _print_summary ; -- Begin function print_summary
.p2align 2
_print_summary: ; @print_summary
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
Lloh2:
adrp x21, l_str.16@PAGE
Lloh3:
add x21, x21, l_str.16@PAGEOFF
mov x0, x21
bl _puts
str x20, [sp]
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
str x20, [sp]
Lloh6:
adrp x0, l_.str.3@PAGE
Lloh7:
add x0, x0, l_.str.3@PAGEOFF
bl _printf
str x19, [sp]
Lloh8:
adrp x0, l_.str.4@PAGE
Lloh9:
add x0, x0, l_.str.4@PAGEOFF
bl _printf
mov x0, x21
bl _puts
Lloh10:
adrp x0, l_str.17@PAGE
Lloh11:
add x0, x0, l_str.17@PAGEOFF
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 _puts
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.globl _print_results ; -- Begin function print_results
.p2align 2
_print_results: ; @print_results
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp d9, d8, [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 b8, -24
.cfi_offset b9, -32
fmov d8, d0
mov x8, #145685290680320
movk x8, #16686, lsl #48
fmov d0, x8
fdiv d9, d0, d8
Lloh12:
adrp x0, l_str.18@PAGE
Lloh13:
add x0, x0, l_str.18@PAGEOFF
bl _puts
mov w8, #16960
movk w8, #15, lsl #16
str x8, [sp]
Lloh14:
adrp x0, l_.str.7@PAGE
Lloh15:
add x0, x0, l_.str.7@PAGEOFF
bl _printf
str d8, [sp]
Lloh16:
adrp x0, l_.str.8@PAGE
Lloh17:
add x0, x0, l_.str.8@PAGEOFF
bl _printf
str d9, [sp]
Lloh18:
adrp x0, l_.str.9@PAGE
Lloh19:
add x0, x0, l_.str.9@PAGEOFF
bl _printf
Lloh20:
adrp x0, l_str.19@PAGE
Lloh21:
add x0, x0, l_str.19@PAGEOFF
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp d9, d8, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
b _puts
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.cfi_endproc
; -- End function
.globl _tic ; -- Begin function tic
.p2align 2
_tic: ; @tic
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov x0, sp
mov x1, #0
bl _gettimeofday
ldr d0, [sp]
scvtf d0, d0
ldr s1, [sp, #8]
sshll.2d v1, v1, #0
scvtf d1, d1
mov x8, #145685290680320
movk x8, #16686, lsl #48
fmov d2, x8
fdiv d1, d1, d2
fadd d0, d1, d0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _rand_double ; -- Begin function rand_double
.p2align 2
_rand_double: ; @rand_double
.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 _rand
scvtf d0, w0
mov x8, #4467570830351532032
fmov d1, x8
fmul d0, d0, d1
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _benchmark ; -- Begin function benchmark
.p2align 2
_benchmark: ; @benchmark
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp d9, d8, [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 b8, -56
.cfi_offset b9, -64
add x0, sp, #16
mov x1, #0
bl _gettimeofday
ldr x19, [sp, #16]
ldr w20, [sp, #24]
mov w21, #16960
movk w21, #15, lsl #16
mov x22, #4467570830351532032
fmov d8, #-10.00000000
fmov d9, #20.00000000
LBB5_1: ; =>This Inner Loop Header: Depth=1
bl _rand
scvtf d0, w0
fmov d1, x22
fmul d0, d0, d1
fmadd d0, d0, d9, d8
add x0, sp, #8
mov x1, sp
movi d1, #0000000000000000
bl _sincos
ldp d1, d0, [sp]
fcmp d0, d0
fccmp d1, d1, #1, vc
b.vs LBB5_3
; %bb.2: ; in Loop: Header=BB5_1 Depth=1
subs w21, w21, #1
b.ne LBB5_1
b LBB5_4
LBB5_3:
Lloh22:
adrp x0, l_str.21@PAGE
Lloh23:
add x0, x0, l_str.21@PAGEOFF
bl _puts
LBB5_4:
add x0, sp, #16
mov x1, #0
bl _gettimeofday
ldr x21, [sp, #16]
ldr w22, [sp, #24]
ldp d1, d0, [sp]
fcmp d0, d0
fccmp d1, d1, #1, vc
b.vc LBB5_6
; %bb.5:
Lloh24:
adrp x0, l_str.21@PAGE
Lloh25:
add x0, x0, l_str.21@PAGEOFF
bl _puts
LBB5_6:
scvtf d0, w22
mov x8, #145685290680320
movk x8, #16686, lsl #48
fmov d1, x8
fdiv d0, d0, d1
scvtf d2, x21
fadd d0, d0, d2
scvtf d2, w20
fdiv d1, d2, d1
scvtf d2, x19
fadd d1, d1, d2
fsub d0, d0, d1
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 d9, d8, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh24, Lloh25
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #144
.cfi_def_cfa_offset 144
stp d11, d10, [sp, #16] ; 16-byte Folded Spill
stp d9, d8, [sp, #32] ; 16-byte Folded Spill
stp x28, x27, [sp, #48] ; 16-byte Folded Spill
stp x26, x25, [sp, #64] ; 16-byte Folded Spill
stp x24, x23, [sp, #80] ; 16-byte Folded Spill
stp x22, x21, [sp, #96] ; 16-byte Folded Spill
stp x20, x19, [sp, #112] ; 16-byte Folded Spill
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
.cfi_offset b8, -104
.cfi_offset b9, -112
.cfi_offset b10, -120
.cfi_offset b11, -128
mov x0, #0
bl _time
; kill: def $w0 killed $w0 killed $x0
bl _srand
Lloh26:
adrp x0, l_str@PAGE
Lloh27:
add x0, x0, l_str@PAGEOFF
bl _puts
Lloh28:
adrp x26, l_.str.13@PAGE
Lloh29:
add x26, x26, l_.str.13@PAGEOFF
str x26, [sp]
Lloh30:
adrp x19, l_.str.12@PAGE
Lloh31:
add x19, x19, l_.str.12@PAGEOFF
mov x0, x19
bl _printf
bl _benchmark
fmov d8, d0
mov x8, #145685290680320
movk x8, #16686, lsl #48
fmov d9, x8
fdiv d10, d9, d0
Lloh32:
adrp x20, l_str.18@PAGE
Lloh33:
add x20, x20, l_str.18@PAGEOFF
mov x0, x20
bl _puts
mov w27, #16960
movk w27, #15, lsl #16
str x27, [sp]
Lloh34:
adrp x21, l_.str.7@PAGE
Lloh35:
add x21, x21, l_.str.7@PAGEOFF
mov x0, x21
bl _printf
str d8, [sp]
Lloh36:
adrp x22, l_.str.8@PAGE
Lloh37:
add x22, x22, l_.str.8@PAGEOFF
mov x0, x22
bl _printf
str d10, [sp]
Lloh38:
adrp x23, l_.str.9@PAGE
Lloh39:
add x23, x23, l_.str.9@PAGEOFF
mov x0, x23
bl _printf
Lloh40:
adrp x24, l_str.19@PAGE
Lloh41:
add x24, x24, l_str.19@PAGEOFF
mov x0, x24
bl _puts
mov w8, #1
str x8, [sp]
Lloh42:
adrp x25, l_.str.14@PAGE
Lloh43:
add x25, x25, l_.str.14@PAGEOFF
mov x0, x25
bl _printf
str x26, [sp]
mov x0, x19
bl _printf
bl _benchmark
fmov d8, d0
fdiv d10, d9, d0
mov x0, x20
bl _puts
str x27, [sp]
mov x0, x21
bl _printf
str d8, [sp]
mov x0, x22
bl _printf
str d10, [sp]
mov x0, x23
bl _printf
mov x0, x24
bl _puts
mov w8, #2
str x8, [sp]
mov x0, x25
bl _printf
str x26, [sp]
mov x0, x19
bl _printf
bl _benchmark
fmov d8, d0
fdiv d9, d9, d0
mov x0, x20
bl _puts
str x27, [sp]
mov x0, x21
bl _printf
str d8, [sp]
mov x0, x22
bl _printf
str d9, [sp]
mov x0, x23
bl _printf
mov x0, x24
bl _puts
mov w20, #3
str x20, [sp]
mov x0, x25
bl _printf
Lloh44:
adrp x19, l_str.16@PAGE
Lloh45:
add x19, x19, l_str.16@PAGEOFF
mov x0, x19
bl _puts
str x20, [sp]
Lloh46:
adrp x0, l_.str.2@PAGE
Lloh47:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
str x20, [sp]
Lloh48:
adrp x0, l_.str.3@PAGE
Lloh49:
add x0, x0, l_.str.3@PAGEOFF
bl _printf
str x20, [sp]
Lloh50:
adrp x0, l_.str.4@PAGE
Lloh51:
add x0, x0, l_.str.4@PAGEOFF
bl _printf
mov x0, x19
bl _puts
Lloh52:
adrp x0, l_str.17@PAGE
Lloh53:
add x0, x0, l_str.17@PAGEOFF
bl _puts
mov w0, #0
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
ldp x20, x19, [sp, #112] ; 16-byte Folded Reload
ldp x22, x21, [sp, #96] ; 16-byte Folded Reload
ldp x24, x23, [sp, #80] ; 16-byte Folded Reload
ldp x26, x25, [sp, #64] ; 16-byte Folded Reload
ldp x28, x27, [sp, #48] ; 16-byte Folded Reload
ldp d9, d8, [sp, #32] ; 16-byte Folded Reload
ldp d11, d10, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #144
ret
.loh AdrpAdd Lloh52, Lloh53
.loh AdrpAdd Lloh50, Lloh51
.loh AdrpAdd Lloh48, Lloh49
.loh AdrpAdd Lloh46, Lloh47
.loh AdrpAdd Lloh44, Lloh45
.loh AdrpAdd Lloh42, Lloh43
.loh AdrpAdd Lloh40, Lloh41
.loh AdrpAdd Lloh38, Lloh39
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpAdd Lloh34, Lloh35
.loh AdrpAdd Lloh32, Lloh33
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdd Lloh26, Lloh27
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str.2: ; @.str.2
.asciz "1..%d\n"
l_.str.3: ; @.str.3
.asciz "# total %d\n"
l_.str.4: ; @.str.4
.asciz "# pass %d\n"
l_.str.7: ; @.str.7
.asciz " iterations: %d\n"
l_.str.8: ; @.str.8
.asciz " elapsed: %0.9f\n"
l_.str.9: ; @.str.9
.asciz " rate: %0.9f\n"
l_.str.12: ; @.str.12
.asciz "# c::cephes::%s\n"
l_.str.13: ; @.str.13
.asciz "sincos"
l_.str.14: ; @.str.14
.asciz "ok %d benchmark finished\n"
l_str: ; @str
.asciz "TAP version 13"
l_str.16: ; @str.16
.asciz "#"
l_str.17: ; @str.17
.asciz "# ok"
l_str.18: ; @str.18
.asciz " ---"
l_str.19: ; @str.19
.asciz " ..."
l_str.21: ; @str.21
.asciz "should not return NaN"
.subsections_via_symbols
|
the_stack_data/159515116.c
|
stack
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _pcmcia_get_mem_page ## -- Begin function pcmcia_get_mem_page
.p2align 4, 0x90
_pcmcia_get_mem_page: ## @pcmcia_get_mem_page
.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_2
## %bb.1:
movq (%rdi), %rax
movq _WINDOW_MAGIC@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_2
## %bb.3:
movq $0, 8(%rsi)
movl 8(%rdi), %eax
movl %eax, (%rsi)
xorl %eax, %eax
popq %rbp
retq
LBB0_2:
movq _EINVAL@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _WINDOW_MAGIC,8,3 ## @WINDOW_MAGIC
.comm _EINVAL,4,2 ## @EINVAL
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _pcmcia_get_mem_page ; -- Begin function pcmcia_get_mem_page
.p2align 2
_pcmcia_get_mem_page: ; @pcmcia_get_mem_page
.cfi_startproc
; %bb.0:
cbz x0, LBB0_3
; %bb.1:
mov x8, x0
ldr x9, [x0]
Lloh0:
adrp x10, _WINDOW_MAGIC@GOTPAGE
Lloh1:
ldr x10, [x10, _WINDOW_MAGIC@GOTPAGEOFF]
Lloh2:
ldr x10, [x10]
cmp x9, x10
b.ne LBB0_3
; %bb.2:
mov w0, #0
str xzr, [x1, #8]
ldr w8, [x8, #8]
str w8, [x1]
ret
LBB0_3:
Lloh3:
adrp x8, _EINVAL@GOTPAGE
Lloh4:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
neg w0, w8
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _WINDOW_MAGIC,8,3 ; @WINDOW_MAGIC
.comm _EINVAL,4,2 ; @EINVAL
.subsections_via_symbols
|
AnghaBench/fastsocket/kernel/drivers/pcmcia/extr_pcmcia_resource.c_pcmcia_get_mem_page.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function roff_evalnum
_roff_evalnum: ## @roff_evalnum
.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 %r9d, %ebx
movq %r8, %r14
movq %rcx, %r13
movq %rdx, %r15
movl %esi, -52(%rbp) ## 4-byte Spill
movq %rdi, -64(%rbp) ## 8-byte Spill
testq %rcx, %rcx
jne LBB0_2
## %bb.1:
movl $0, -56(%rbp)
leaq -56(%rbp), %r13
LBB0_2:
movq _ROFFNUM_WHITE@GOTPCREL(%rip), %r12
testl %ebx, (%r12)
je LBB0_6
## %bb.3:
movslq (%r13), %rax
movzbl (%r15,%rax), %edi
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
callq _isspace
testq %rax, %rax
je LBB0_6
## %bb.4: ## in Loop: Header=BB0_5 Depth=1
movslq (%r13), %rax
leaq -1(%rax), %rcx
movl %ecx, (%r13)
movzbl -1(%r15,%rax), %edi
jmp LBB0_5
LBB0_6:
movq -64(%rbp), %rdi ## 8-byte Reload
movl -52(%rbp), %esi ## 4-byte Reload
movq %r15, %rdx
movq %r13, %rcx
movq %r14, %r8
movl %ebx, %r9d
callq _roff_evalpar
testl %eax, %eax
jne LBB0_7
LBB0_43:
xorl %eax, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_35: ## in Loop: Header=BB0_7 Depth=1
movl (%r14), %ecx
xorl %eax, %eax
cmpl -44(%rbp), %ecx
sete %al
movl %eax, (%r14)
.p2align 4, 0x90
LBB0_7: ## =>This Loop Header: Depth=1
## Child Loop BB0_10 Depth 2
## Child Loop BB0_15 Depth 2
## Child Loop BB0_20 Depth 2
testl %ebx, (%r12)
je LBB0_11
## %bb.8: ## in Loop: Header=BB0_7 Depth=1
movslq (%r13), %rax
movzbl (%r15,%rax), %edi
.p2align 4, 0x90
LBB0_10: ## Parent Loop BB0_7 Depth=1
## => This Inner Loop Header: Depth=2
callq _isspace
testq %rax, %rax
je LBB0_11
## %bb.9: ## in Loop: Header=BB0_10 Depth=2
movslq (%r13), %rax
leaq 1(%rax), %rcx
movl %ecx, (%r13)
movzbl 1(%r15,%rax), %edi
jmp LBB0_10
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_7 Depth=1
movq %r15, %rdi
movq %r13, %rsi
leaq -45(%rbp), %rdx
callq _roff_getop
testl %eax, %eax
je LBB0_7
## %bb.12: ## in Loop: Header=BB0_7 Depth=1
testl %ebx, (%r12)
je LBB0_16
## %bb.13: ## in Loop: Header=BB0_7 Depth=1
movslq (%r13), %rax
movzbl (%r15,%rax), %edi
.p2align 4, 0x90
LBB0_15: ## Parent Loop BB0_7 Depth=1
## => This Inner Loop Header: Depth=2
callq _isspace
testq %rax, %rax
je LBB0_16
## %bb.14: ## in Loop: Header=BB0_15 Depth=2
movslq (%r13), %rax
leaq 1(%rax), %rcx
movl %ecx, (%r13)
movzbl 1(%r15,%rax), %edi
jmp LBB0_15
.p2align 4, 0x90
LBB0_16: ## in Loop: Header=BB0_7 Depth=1
movq -64(%rbp), %rdi ## 8-byte Reload
movl -52(%rbp), %esi ## 4-byte Reload
movq %r15, %rdx
movq %r13, %rcx
leaq -44(%rbp), %r8
movl %ebx, %r9d
callq _roff_evalpar
testl %eax, %eax
je LBB0_43
## %bb.17: ## in Loop: Header=BB0_7 Depth=1
testl %ebx, (%r12)
je LBB0_21
## %bb.18: ## in Loop: Header=BB0_7 Depth=1
movslq (%r13), %rax
movzbl (%r15,%rax), %edi
.p2align 4, 0x90
LBB0_20: ## Parent Loop BB0_7 Depth=1
## => This Inner Loop Header: Depth=2
callq _isspace
testq %rax, %rax
je LBB0_21
## %bb.19: ## in Loop: Header=BB0_20 Depth=2
movslq (%r13), %rax
leaq 1(%rax), %rcx
movl %ecx, (%r13)
movzbl 1(%r15,%rax), %edi
jmp LBB0_20
.p2align 4, 0x90
LBB0_21: ## in Loop: Header=BB0_7 Depth=1
testq %r14, %r14
je LBB0_7
## %bb.22: ## in Loop: Header=BB0_7 Depth=1
movzbl -45(%rbp), %eax
addl $-33, %eax
cmpl $75, %eax
ja LBB0_40
## %bb.23: ## in Loop: Header=BB0_7 Depth=1
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_37: ## in Loop: Header=BB0_7 Depth=1
movl -44(%rbp), %ecx
xorl %eax, %eax
orl (%r14), %ecx
setne %al
movl %eax, (%r14)
jmp LBB0_7
LBB0_39: ## in Loop: Header=BB0_7 Depth=1
movl -44(%rbp), %eax
cmpl (%r14), %eax
jle LBB0_7
jmp LBB0_42
LBB0_34: ## in Loop: Header=BB0_7 Depth=1
movl (%r14), %ecx
xorl %eax, %eax
cmpl -44(%rbp), %ecx
setge %al
movl %eax, (%r14)
jmp LBB0_7
LBB0_32: ## in Loop: Header=BB0_7 Depth=1
movl (%r14), %ecx
xorl %eax, %eax
cmpl -44(%rbp), %ecx
setg %al
movl %eax, (%r14)
jmp LBB0_7
LBB0_31: ## in Loop: Header=BB0_7 Depth=1
movl (%r14), %ecx
xorl %eax, %eax
cmpl -44(%rbp), %ecx
setl %al
movl %eax, (%r14)
jmp LBB0_7
LBB0_38: ## in Loop: Header=BB0_7 Depth=1
movl -44(%rbp), %eax
cmpl (%r14), %eax
jge LBB0_7
jmp LBB0_42
LBB0_33: ## in Loop: Header=BB0_7 Depth=1
movl (%r14), %ecx
xorl %eax, %eax
cmpl -44(%rbp), %ecx
setle %al
movl %eax, (%r14)
jmp LBB0_7
LBB0_24: ## in Loop: Header=BB0_7 Depth=1
movl (%r14), %eax
subl -44(%rbp), %eax
movl %eax, (%r14)
jmp LBB0_7
LBB0_29: ## in Loop: Header=BB0_7 Depth=1
movl -44(%rbp), %ecx
testl %ecx, %ecx
je LBB0_27
## %bb.30: ## in Loop: Header=BB0_7 Depth=1
movl (%r14), %eax
cltd
idivl %ecx
movl %edx, (%r14)
jmp LBB0_7
LBB0_36: ## in Loop: Header=BB0_7 Depth=1
movl (%r14), %ecx
xorl %eax, %eax
cmpl -44(%rbp), %ecx
setne %al
movl %eax, (%r14)
jmp LBB0_7
LBB0_26: ## in Loop: Header=BB0_7 Depth=1
movl -44(%rbp), %ecx
testl %ecx, %ecx
je LBB0_27
## %bb.28: ## in Loop: Header=BB0_7 Depth=1
movl (%r14), %eax
cltd
idivl %ecx
movl %eax, (%r14)
jmp LBB0_7
LBB0_25: ## in Loop: Header=BB0_7 Depth=1
movl (%r14), %eax
imull -44(%rbp), %eax
movl %eax, (%r14)
jmp LBB0_7
LBB0_41: ## in Loop: Header=BB0_7 Depth=1
movl (%r14), %eax
addl -44(%rbp), %eax
LBB0_42: ## in Loop: Header=BB0_7 Depth=1
movl %eax, (%r14)
jmp LBB0_7
LBB0_27: ## in Loop: Header=BB0_7 Depth=1
movq _MANDOCERR_DIVZERO@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl (%r13), %edx
movl -52(%rbp), %esi ## 4-byte Reload
leaq L_.str(%rip), %rcx
movq %r15, %r8
callq _mandoc_msg
xorl %eax, %eax
movl %eax, (%r14)
jmp LBB0_7
LBB0_40:
xorl %eax, %eax
callq _abort
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_36, LBB0_36-LJTI0_0
.set L0_0_set_40, LBB0_40-LJTI0_0
.set L0_0_set_29, LBB0_29-LJTI0_0
.set L0_0_set_37, LBB0_37-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_41, LBB0_41-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_26, LBB0_26-LJTI0_0
.set L0_0_set_31, LBB0_31-LJTI0_0
.set L0_0_set_35, LBB0_35-LJTI0_0
.set L0_0_set_32, LBB0_32-LJTI0_0
.set L0_0_set_39, LBB0_39-LJTI0_0
.set L0_0_set_34, LBB0_34-LJTI0_0
.set L0_0_set_38, LBB0_38-LJTI0_0
.set L0_0_set_33, LBB0_33-LJTI0_0
LJTI0_0:
.long L0_0_set_36
.long L0_0_set_40
.long L0_0_set_40
.long L0_0_set_40
.long L0_0_set_29
.long L0_0_set_37
.long L0_0_set_40
.long L0_0_set_40
.long L0_0_set_40
.long L0_0_set_25
.long L0_0_set_41
.long L0_0_set_40
.long L0_0_set_24
.long L0_0_set_40
.long L0_0_set_26
.long L0_0_set_40
.long L0_0_set_40
.long L0_0_set_40
.long L0_0_set_40
.long L0_0_set_40
.long L0_0_set_40
.long L0_0_set_40
.long L0_0_set_40
.long L0_0_set_40
.long L0_0_set_40
.long L0_0_set_37
.long L0_0_set_40
.long L0_0_set_31
.long L0_0_set_35
.long L0_0_set_32
.long L0_0_set_40
.long L0_0_set_40
.long L0_0_set_40
.long L0_0_set_40
.long L0_0_set_40
.long L0_0_set_40
.long L0_0_set_40
.long L0_0_set_40
.long L0_0_set_40
.long L0_0_set_40
.long L0_0_set_40
.long L0_0_set_40
.long L0_0_set_40
.long L0_0_set_40
.long L0_0_set_40
.long L0_0_set_40
.long L0_0_set_40
.long L0_0_set_40
.long L0_0_set_40
.long L0_0_set_40
.long L0_0_set_40
.long L0_0_set_40
.long L0_0_set_40
.long L0_0_set_40
.long L0_0_set_40
.long L0_0_set_40
.long L0_0_set_40
.long L0_0_set_40
.long L0_0_set_40
.long L0_0_set_40
.long L0_0_set_40
.long L0_0_set_40
.long L0_0_set_40
.long L0_0_set_40
.long L0_0_set_39
.long L0_0_set_40
.long L0_0_set_40
.long L0_0_set_40
.long L0_0_set_40
.long L0_0_set_40
.long L0_0_set_34
.long L0_0_set_40
.long L0_0_set_38
.long L0_0_set_40
.long L0_0_set_40
.long L0_0_set_33
.end_data_region
## -- End function
.comm _ROFFNUM_WHITE,4,2 ## @ROFFNUM_WHITE
.comm _MANDOCERR_DIVZERO,4,2 ## @MANDOCERR_DIVZERO
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s"
.no_dead_strip _roff_evalnum
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function roff_evalnum
_roff_evalnum: ; @roff_evalnum
.cfi_startproc
; %bb.0:
sub sp, sp, #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, x5
mov x20, x4
mov x24, x3
mov x21, x2
mov x22, x1
mov x23, x0
cbnz x3, LBB0_2
; %bb.1:
str wzr, [sp, #12]
add x24, sp, #12
LBB0_2:
Lloh0:
adrp x26, _ROFFNUM_WHITE@GOTPAGE
Lloh1:
ldr x26, [x26, _ROFFNUM_WHITE@GOTPAGEOFF]
ldr w8, [x26]
tst w8, w19
b.eq LBB0_6
; %bb.3:
ldrsw x8, [x24]
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldrb w0, [x21, x8]
bl _isspace
cbz x0, LBB0_6
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
ldrsw x8, [x24]
sub x8, x8, #1
str w8, [x24]
b LBB0_4
LBB0_6:
mov x0, x23
mov x1, x22
mov x2, x21
mov x3, x24
mov x4, x20
mov x5, x19
bl _roff_evalpar
cbz w0, LBB0_43
; %bb.7:
Lloh2:
adrp x27, lJTI0_0@PAGE
Lloh3:
add x27, x27, lJTI0_0@PAGEOFF
Lloh4:
adrp x28, _MANDOCERR_DIVZERO@GOTPAGE
Lloh5:
ldr x28, [x28, _MANDOCERR_DIVZERO@GOTPAGEOFF]
Lloh6:
adrp x25, l_.str@PAGE
Lloh7:
add x25, x25, l_.str@PAGEOFF
b LBB0_9
LBB0_8: ; in Loop: Header=BB0_9 Depth=1
ldr w8, [x20]
ldr w9, [sp, #8]
cmp w8, w9
cset w8, eq
str w8, [x20]
LBB0_9: ; =>This Loop Header: Depth=1
; Child Loop BB0_11 Depth 2
; Child Loop BB0_16 Depth 2
; Child Loop BB0_21 Depth 2
ldr w8, [x26]
tst w8, w19
b.eq LBB0_13
; %bb.10: ; in Loop: Header=BB0_9 Depth=1
ldrsw x8, [x24]
LBB0_11: ; Parent Loop BB0_9 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w0, [x21, x8]
bl _isspace
cbz x0, LBB0_13
; %bb.12: ; in Loop: Header=BB0_11 Depth=2
ldrsw x8, [x24]
add x8, x8, #1
str w8, [x24]
b LBB0_11
LBB0_13: ; in Loop: Header=BB0_9 Depth=1
add x2, sp, #7
mov x0, x21
mov x1, x24
bl _roff_getop
cbz w0, LBB0_9
; %bb.14: ; in Loop: Header=BB0_9 Depth=1
ldr w8, [x26]
tst w8, w19
b.eq LBB0_18
; %bb.15: ; in Loop: Header=BB0_9 Depth=1
ldrsw x8, [x24]
LBB0_16: ; Parent Loop BB0_9 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w0, [x21, x8]
bl _isspace
cbz x0, LBB0_18
; %bb.17: ; in Loop: Header=BB0_16 Depth=2
ldrsw x8, [x24]
add x8, x8, #1
str w8, [x24]
b LBB0_16
LBB0_18: ; in Loop: Header=BB0_9 Depth=1
add x4, sp, #8
mov x0, x23
mov x1, x22
mov x2, x21
mov x3, x24
mov x5, x19
bl _roff_evalpar
cbz w0, LBB0_43
; %bb.19: ; in Loop: Header=BB0_9 Depth=1
ldr w8, [x26]
tst w8, w19
b.eq LBB0_23
; %bb.20: ; in Loop: Header=BB0_9 Depth=1
ldrsw x8, [x24]
LBB0_21: ; Parent Loop BB0_9 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w0, [x21, x8]
bl _isspace
cbz x0, LBB0_23
; %bb.22: ; in Loop: Header=BB0_21 Depth=2
ldrsw x8, [x24]
add x8, x8, #1
str w8, [x24]
b LBB0_21
LBB0_23: ; in Loop: Header=BB0_9 Depth=1
cbz x20, LBB0_9
; %bb.24: ; in Loop: Header=BB0_9 Depth=1
ldrb w8, [sp, #7]
sub w8, w8, #33
cmp w8, #75
b.hi LBB0_44
; %bb.25: ; in Loop: Header=BB0_9 Depth=1
adr x9, LBB0_8
ldrb w10, [x27, x8]
add x9, x9, x10, lsl #2
br x9
LBB0_26: ; in Loop: Header=BB0_9 Depth=1
ldr w8, [x20]
ldr w9, [sp, #8]
orr w8, w8, w9
cmp w8, #0
cset w8, ne
str w8, [x20]
b LBB0_9
LBB0_27: ; in Loop: Header=BB0_9 Depth=1
ldr w8, [sp, #8]
ldr w9, [x20]
cmp w8, w9
b.le LBB0_9
b LBB0_41
LBB0_28: ; in Loop: Header=BB0_9 Depth=1
ldr w8, [x20]
ldr w9, [sp, #8]
cmp w8, w9
cset w8, ge
str w8, [x20]
b LBB0_9
LBB0_29: ; in Loop: Header=BB0_9 Depth=1
ldr w8, [x20]
ldr w9, [sp, #8]
cmp w8, w9
cset w8, gt
str w8, [x20]
b LBB0_9
LBB0_30: ; in Loop: Header=BB0_9 Depth=1
ldr w8, [x20]
ldr w9, [sp, #8]
cmp w8, w9
cset w8, lt
str w8, [x20]
b LBB0_9
LBB0_31: ; in Loop: Header=BB0_9 Depth=1
ldr w8, [sp, #8]
ldr w9, [x20]
cmp w8, w9
b.ge LBB0_9
b LBB0_41
LBB0_32: ; in Loop: Header=BB0_9 Depth=1
ldr w8, [x20]
ldr w9, [sp, #8]
cmp w8, w9
cset w8, le
str w8, [x20]
b LBB0_9
LBB0_33: ; in Loop: Header=BB0_9 Depth=1
ldr w8, [sp, #8]
ldr w9, [x20]
sub w8, w9, w8
str w8, [x20]
b LBB0_9
LBB0_34: ; in Loop: Header=BB0_9 Depth=1
ldr w8, [sp, #8]
cbz w8, LBB0_42
; %bb.35: ; in Loop: Header=BB0_9 Depth=1
ldr w9, [x20]
sdiv w10, w9, w8
msub w8, w10, w8, w9
str w8, [x20]
b LBB0_9
LBB0_36: ; in Loop: Header=BB0_9 Depth=1
ldr w8, [x20]
ldr w9, [sp, #8]
cmp w8, w9
cset w8, ne
str w8, [x20]
b LBB0_9
LBB0_37: ; in Loop: Header=BB0_9 Depth=1
ldr w8, [sp, #8]
cbz w8, LBB0_42
; %bb.38: ; in Loop: Header=BB0_9 Depth=1
ldr w9, [x20]
sdiv w8, w9, w8
str w8, [x20]
b LBB0_9
LBB0_39: ; in Loop: Header=BB0_9 Depth=1
ldr w8, [sp, #8]
ldr w9, [x20]
mul w8, w9, w8
str w8, [x20]
b LBB0_9
LBB0_40: ; in Loop: Header=BB0_9 Depth=1
ldr w8, [sp, #8]
ldr w9, [x20]
add w8, w9, w8
LBB0_41: ; in Loop: Header=BB0_9 Depth=1
str w8, [x20]
b LBB0_9
LBB0_42: ; in Loop: Header=BB0_9 Depth=1
ldr w0, [x28]
ldr w2, [x24]
mov x1, x22
mov x3, x25
mov x4, x21
bl _mandoc_msg
str wzr, [x20]
b LBB0_9
LBB0_43:
mov w0, #0 ; =0x0
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_44:
bl _abort
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_36-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_34-LBB0_8)>>2
.byte (LBB0_26-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_39-LBB0_8)>>2
.byte (LBB0_40-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_33-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_37-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_26-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_30-LBB0_8)>>2
.byte (LBB0_8-LBB0_8)>>2
.byte (LBB0_29-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_27-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_28-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_31-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_44-LBB0_8)>>2
.byte (LBB0_32-LBB0_8)>>2
; -- End function
.comm _ROFFNUM_WHITE,4,2 ; @ROFFNUM_WHITE
.comm _MANDOCERR_DIVZERO,4,2 ; @MANDOCERR_DIVZERO
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s"
.no_dead_strip _roff_evalnum
.subsections_via_symbols
|
assembly_file_82489.c
|
assembly_dataset
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function handle_retire_connection_id_frame
_handle_retire_connection_id_frame: ## @handle_retire_connection_id_frame
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _QUICLY_TRANSPORT_ERROR_PROTOCOL_VIOLATION@GOTPCREL(%rip), %rax
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _QUICLY_TRANSPORT_ERROR_PROTOCOL_VIOLATION,4,2 ## @QUICLY_TRANSPORT_ERROR_PROTOCOL_VIOLATION
.no_dead_strip _handle_retire_connection_id_frame
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function handle_retire_connection_id_frame
_handle_retire_connection_id_frame: ; @handle_retire_connection_id_frame
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _QUICLY_TRANSPORT_ERROR_PROTOCOL_VIOLATION@GOTPAGE
Lloh1:
ldr x8, [x8, _QUICLY_TRANSPORT_ERROR_PROTOCOL_VIOLATION@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _QUICLY_TRANSPORT_ERROR_PROTOCOL_VIOLATION,4,2 ; @QUICLY_TRANSPORT_ERROR_PROTOCOL_VIOLATION
.no_dead_strip _handle_retire_connection_id_frame
.subsections_via_symbols
|
AnghaBench/h2o/deps/quicly/lib/extr_quicly.c_handle_retire_connection_id_frame.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function java_new_method
_java_new_method: ## @java_new_method
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _METHOD_START@GOTPCREL(%rip), %rax
movl %edi, (%rax)
xorl %eax, %eax
callq _r_java_new_method
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _METHOD_START,4,2 ## @METHOD_START
.no_dead_strip _java_new_method
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function java_new_method
_java_new_method: ; @java_new_method
.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 x8, _METHOD_START@GOTPAGE
Lloh1:
ldr x8, [x8, _METHOD_START@GOTPAGEOFF]
Lloh2:
str w0, [x8]
bl _r_java_new_method
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotStr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _METHOD_START,4,2 ; @METHOD_START
.no_dead_strip _java_new_method
.subsections_via_symbols
|
AnghaBench/radare2/libr/anal/p/extr_anal_java.c_java_new_method.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mkssltbl
_mkssltbl: ## @mkssltbl
.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 $1, %edi
movl $24, %esi
callq _calloc
movq %rax, %r14
movq _YYTD_ID_START_STATE_LIST@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
callq _yytbl_data_init
movq _YYTD_DATA32@GOTPCREL(%rip), %rax
movq _YYTD_PTRANS@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl (%rax), %ecx
movl %ecx, (%r14)
movq $0, 16(%r14)
movq _lastsc@GOTPCREL(%rip), %rbx
movl (%rbx), %eax
leal (%rax,%rax), %edi
incl %edi
movl %edi, 4(%r14)
movl $4, %esi
callq _calloc
movq %rax, 8(%r14)
cmpl $0, (%rbx)
js LBB0_3
## %bb.1:
movq _base@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq $-1, %rdx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl 4(%rcx,%rdx,4), %esi
movl %esi, 4(%rax,%rdx,4)
movslq (%rbx), %rsi
addq %rsi, %rsi
incq %rdx
cmpq %rsi, %rdx
jl LBB0_2
LBB0_3:
movq _yydmap_buf@GOTPCREL(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.1(%rip), %rdx
callq _buf_prints
movq %r14, %rax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _YYTD_ID_START_STATE_LIST,4,2 ## @YYTD_ID_START_STATE_LIST
.comm _YYTD_DATA32,4,2 ## @YYTD_DATA32
.comm _YYTD_PTRANS,4,2 ## @YYTD_PTRANS
.comm _lastsc,4,2 ## @lastsc
.comm _base,8,3 ## @base
.comm _yydmap_buf,4,2 ## @yydmap_buf
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\t{YYTD_ID_START_STATE_LIST, (void**)&yy_start_state_list, sizeof(%s)},\n"
L_.str.1: ## @.str.1
.asciz "struct yy_trans_info*"
.no_dead_strip _mkssltbl
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mkssltbl
_mkssltbl: ; @mkssltbl
.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 w20, #1
mov w0, #1
mov w1, #24
bl _calloc
mov x19, x0
Lloh0:
adrp x8, _YYTD_ID_START_STATE_LIST@GOTPAGE
Lloh1:
ldr x8, [x8, _YYTD_ID_START_STATE_LIST@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _yytbl_data_init
Lloh3:
adrp x8, _YYTD_DATA32@GOTPAGE
Lloh4:
ldr x8, [x8, _YYTD_DATA32@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
Lloh6:
adrp x9, _YYTD_PTRANS@GOTPAGE
Lloh7:
ldr x9, [x9, _YYTD_PTRANS@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
orr w8, w9, w8
str w8, [x19]
str xzr, [x19, #16]
Lloh9:
adrp x21, _lastsc@GOTPAGE
Lloh10:
ldr x21, [x21, _lastsc@GOTPAGEOFF]
ldr w8, [x21]
bfi w20, w8, #1, #31
str w20, [x19, #4]
mov x0, x20
mov w1, #4
bl _calloc
str x0, [x19, #8]
ldr w8, [x21]
tbnz w8, #31, LBB0_3
; %bb.1:
mov x8, #0
Lloh11:
adrp x9, _base@GOTPAGE
Lloh12:
ldr x9, [x9, _base@GOTPAGEOFF]
Lloh13:
ldr x9, [x9]
LBB0_2: ; =>This Inner Loop Header: Depth=1
lsl x10, x8, #2
ldr w11, [x9, x10]
str w11, [x0, x10]
ldrsw x10, [x21]
cmp x8, x10, lsl #1
add x8, x8, #1
b.lt LBB0_2
LBB0_3:
Lloh14:
adrp x0, _yydmap_buf@GOTPAGE
Lloh15:
ldr x0, [x0, _yydmap_buf@GOTPAGEOFF]
Lloh16:
adrp x1, l_.str@PAGE
Lloh17:
add x1, x1, l_.str@PAGEOFF
Lloh18:
adrp x2, l_.str.1@PAGE
Lloh19:
add x2, x2, l_.str.1@PAGEOFF
bl _buf_prints
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpLdrGot Lloh14, Lloh15
.cfi_endproc
; -- End function
.comm _YYTD_ID_START_STATE_LIST,4,2 ; @YYTD_ID_START_STATE_LIST
.comm _YYTD_DATA32,4,2 ; @YYTD_DATA32
.comm _YYTD_PTRANS,4,2 ; @YYTD_PTRANS
.comm _lastsc,4,2 ; @lastsc
.comm _base,8,3 ; @base
.comm _yydmap_buf,4,2 ; @yydmap_buf
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\t{YYTD_ID_START_STATE_LIST, (void**)&yy_start_state_list, sizeof(%s)},\n"
l_.str.1: ; @.str.1
.asciz "struct yy_trans_info*"
.no_dead_strip _mkssltbl
.subsections_via_symbols
|
AnghaBench/freebsd/contrib/flex/extr_gen.c_mkssltbl.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ## -- Begin function ccv_icf_detect_objects
LCPI0_0:
.quad 0x3fd0000000000000 ## double 0.25
LCPI0_1:
.quad 0x3fe0000000000000 ## double 0.5
.section __TEXT,__text,regular,pure_instructions
.globl _ccv_icf_detect_objects
.p2align 4, 0x90
_ccv_icf_detect_objects: ## @ccv_icf_detect_objects
.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 $168, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %rbx
movl %edx, %r15d
movq %rsi, %r14
movq %rdi, %r12
xorl %edi, %edi
testl %edx, %edx
setg %dil
callq _assert
movq %r14, -56(%rbp) ## 8-byte Spill
movq (%r14), %rax
movl (%rax), %r14d
movl %r15d, %eax
movq %rax, -80(%rbp) ## 8-byte Spill
testl %r15d, %r15d
movq %rbx, -88(%rbp) ## 8-byte Spill
jle LBB0_1
## %bb.2:
movq %r12, -48(%rbp) ## 8-byte Spill
leal 1(%r15), %r13d
movl $1, %r12d
movq -56(%rbp), %rbx ## 8-byte Reload
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq (%rbx,%r12,8), %rax
xorl %edi, %edi
cmpl %r14d, (%rax)
sete %dil
callq _assert
incq %r12
cmpq %r12, %r13
jne LBB0_3
## %bb.4:
leal (,%r15,8), %edi
callq _alloca
movq %rax, -64(%rbp) ## 8-byte Spill
testl %r15d, %r15d
jle LBB0_5
## %bb.6:
movq %r15, -72(%rbp) ## 8-byte Spill
xorl %r12d, %r12d
movq -88(%rbp), %r13 ## 8-byte Reload
movq -80(%rbp), %rbx ## 8-byte Reload
movq -64(%rbp), %r15 ## 8-byte Reload
.p2align 4, 0x90
LBB0_7: ## =>This Inner Loop Header: Depth=1
movl $48, %edi
movl $64, %esi
xorl %edx, %edx
callq _ccv_array_new
movq %rax, (%r15,%r12,8)
incq %r12
cmpq %r12, %rbx
jne LBB0_7
## %bb.8:
movq %r13, %rbx
movq -72(%rbp), %r15 ## 8-byte Reload
jmp LBB0_9
LBB0_1:
leal (,%r15,8), %edi
callq _alloca
movq %rax, -64(%rbp) ## 8-byte Spill
cmpl $128, %r14d
jne LBB0_11
LBB0_13:
movq %r12, %rdi
movq -56(%rbp), %rsi ## 8-byte Reload
movl %r15d, %edx
movq %rbx, %rcx
movq -64(%rbp), %r8 ## 8-byte Reload
callq __ccv_icf_detect_objects_with_multiscale_classifier_cascade
movq -80(%rbp), %r14 ## 8-byte Reload
jmp LBB0_14
LBB0_5:
movq -88(%rbp), %rbx ## 8-byte Reload
LBB0_9:
movq -48(%rbp), %r12 ## 8-byte Reload
cmpl $128, %r14d
je LBB0_13
LBB0_11:
cmpl $129, %r14d
movq -80(%rbp), %r14 ## 8-byte Reload
jne LBB0_14
## %bb.12:
movq %r12, %rdi
movq -56(%rbp), %rsi ## 8-byte Reload
movl %r15d, %edx
movq %rbx, %rcx
movq -64(%rbp), %r8 ## 8-byte Reload
callq __ccv_icf_detect_objects_with_classifier_cascade
LBB0_14:
movl $48, %edi
movl $64, %esi
xorl %edx, %edx
callq _ccv_array_new
movq %rax, %r12
movl $48, %edi
movl $64, %esi
xorl %edx, %edx
callq _ccv_array_new
movq %rax, -56(%rbp) ## 8-byte Spill
testl %r15d, %r15d
movq -64(%rbp), %r15 ## 8-byte Reload
jle LBB0_63
## %bb.15:
xorl %r13d, %r13d
movq %r12, -96(%rbp) ## 8-byte Spill
jmp LBB0_16
.p2align 4, 0x90
LBB0_61: ## in Loop: Header=BB0_16 Depth=1
movq -136(%rbp), %rdi
callq _ccv_array_free
movq -200(%rbp), %rdi ## 8-byte Reload
callq _ccfree
movq -64(%rbp), %r15 ## 8-byte Reload
movq -144(%rbp), %r13 ## 8-byte Reload
movq (%r15,%r13,8), %rdi
movq -80(%rbp), %r14 ## 8-byte Reload
movq -96(%rbp), %r12 ## 8-byte Reload
LBB0_62: ## in Loop: Header=BB0_16 Depth=1
callq _ccv_array_free
incq %r13
cmpq %r14, %r13
je LBB0_63
LBB0_16: ## =>This Loop Header: Depth=1
## Child Loop BB0_23 Depth 2
## Child Loop BB0_29 Depth 2
## Child Loop BB0_34 Depth 2
## Child Loop BB0_36 Depth 3
## Child Loop BB0_47 Depth 2
## Child Loop BB0_50 Depth 3
## Child Loop BB0_20 Depth 2
cmpq $0, -88(%rbp) ## 8-byte Folded Reload
je LBB0_17
## %bb.21: ## in Loop: Header=BB0_16 Depth=1
movq $0, -136(%rbp)
movq -56(%rbp), %rdi ## 8-byte Reload
callq _ccv_array_clear
movq (%r15,%r13,8), %rdi
movq __ccv_is_equal_same_class@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq -136(%rbp), %rsi
xorl %ecx, %ecx
callq _ccv_array_group
movl %eax, %ebx
leal 1(%rbx), %edi
movl $48, %esi
callq _cccalloc
movq %r13, -144(%rbp) ## 8-byte Spill
movq (%r15,%r13,8), %rdi
movq %rax, %r13
cmpl $0, (%rdi)
jle LBB0_27
## %bb.22: ## in Loop: Header=BB0_16 Depth=1
xorl %r14d, %r14d
jmp LBB0_23
.p2align 4, 0x90
LBB0_26: ## in Loop: Header=BB0_23 Depth=2
incq %rcx
movq %rcx, (%rax)
incl %r14d
movq -64(%rbp), %rax ## 8-byte Reload
movq -144(%rbp), %rcx ## 8-byte Reload
movq (%rax,%rcx,8), %rdi
cmpl (%rdi), %r14d
jge LBB0_27
LBB0_23: ## Parent Loop BB0_16 Depth=1
## => This Inner Loop Header: Depth=2
movl %r14d, %esi
callq _ccv_array_get
movq 8(%rax), %r12
movq 16(%rax), %r15
movq 40(%rax), %rcx
movq %rcx, -176(%rbp)
movupd 24(%rax), %xmm0
movapd %xmm0, -192(%rbp)
movq -136(%rbp), %rdi
movl %r14d, %esi
callq _ccv_array_get
movslq (%rax), %rax
leaq (%rax,%rax,2), %rdx
shlq $4, %rdx
leaq (%rdx,%r13), %rax
movq %r12, 8(%r13,%rdx)
movq (%r13,%rdx), %rcx
cmpq 16(%r13,%rdx), %r15
jle LBB0_26
## %bb.24: ## in Loop: Header=BB0_23 Depth=2
testq %rcx, %rcx
jne LBB0_26
## %bb.25: ## in Loop: Header=BB0_23 Depth=2
movq -176(%rbp), %rdx
movq %rdx, 40(%rax)
movapd -192(%rbp), %xmm0
movupd %xmm0, 24(%rax)
movq %r15, 16(%rax)
jmp LBB0_26
.p2align 4, 0x90
LBB0_27: ## in Loop: Header=BB0_16 Depth=1
testl %ebx, %ebx
movq -56(%rbp), %r12 ## 8-byte Reload
movq -88(%rbp), %r15 ## 8-byte Reload
jle LBB0_32
## %bb.28: ## in Loop: Header=BB0_16 Depth=1
movl %ebx, %r14d
movq %r13, %rbx
jmp LBB0_29
.p2align 4, 0x90
LBB0_31: ## in Loop: Header=BB0_29 Depth=2
addq $48, %rbx
decq %r14
je LBB0_32
LBB0_29: ## Parent Loop BB0_16 Depth=1
## => This Inner Loop Header: Depth=2
movslq (%rbx), %rax
cmpq %r15, %rax
jl LBB0_31
## %bb.30: ## in Loop: Header=BB0_29 Depth=2
movq %r12, %rdi
movq %rbx, %rsi
callq _ccv_array_push
jmp LBB0_31
.p2align 4, 0x90
LBB0_32: ## in Loop: Header=BB0_16 Depth=1
movq %r13, -200(%rbp) ## 8-byte Spill
cmpl $0, (%r12)
jle LBB0_61
## %bb.33: ## in Loop: Header=BB0_16 Depth=1
xorl %ebx, %ebx
jmp LBB0_34
.p2align 4, 0x90
LBB0_17: ## in Loop: Header=BB0_16 Depth=1
movq %r13, %rax
movq (%r15,%r13,8), %rdi
cmpl $0, (%rdi)
jle LBB0_18
## %bb.19: ## in Loop: Header=BB0_16 Depth=1
xorl %ebx, %ebx
movq -96(%rbp), %r12 ## 8-byte Reload
movq %rax, %r13
.p2align 4, 0x90
LBB0_20: ## Parent Loop BB0_16 Depth=1
## => This Inner Loop Header: Depth=2
movl %ebx, %esi
callq _ccv_array_get
movq %r12, %rdi
movq %rax, %rsi
callq _ccv_array_push
incl %ebx
movq (%r15,%r13,8), %rdi
cmpl (%rdi), %ebx
jl LBB0_20
jmp LBB0_62
LBB0_18: ## in Loop: Header=BB0_16 Depth=1
movq -96(%rbp), %r12 ## 8-byte Reload
movq %rax, %r13
jmp LBB0_62
LBB0_44: ## in Loop: Header=BB0_34 Depth=2
negq %rax
movq -48(%rbp), %rcx ## 8-byte Reload
movq %rax, 8(%rcx)
movq -56(%rbp), %r12 ## 8-byte Reload
movl (%r12), %eax
.p2align 4, 0x90
LBB0_65: ## in Loop: Header=BB0_34 Depth=2
incl %ebx
cmpl %eax, %ebx
jge LBB0_45
LBB0_34: ## Parent Loop BB0_16 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_36 Depth 3
movq %r12, %rdi
movl %ebx, %esi
callq _ccv_array_get
movq 24(%rax), %rdi
movq %rax, -48(%rbp) ## 8-byte Spill
movq 32(%rax), %rsi
callq _ccv_min
mulsd LCPI0_0(%rip), %xmm0
addsd LCPI0_1(%rip), %xmm0
movl (%r12), %eax
testl %eax, %eax
jle LBB0_65
## %bb.35: ## in Loop: Header=BB0_34 Depth=2
cvttsd2si %xmm0, %eax
movl %eax, -112(%rbp) ## 4-byte Spill
cltq
movq %rax, -104(%rbp) ## 8-byte Spill
xorl %r14d, %r14d
jmp LBB0_36
.p2align 4, 0x90
LBB0_64: ## in Loop: Header=BB0_36 Depth=3
incl %r14d
movq -56(%rbp), %r12 ## 8-byte Reload
movl (%r12), %eax
cmpl %eax, %r14d
jge LBB0_65
LBB0_36: ## Parent Loop BB0_16 Depth=1
## Parent Loop BB0_34 Depth=2
## => This Inner Loop Header: Depth=3
movq %r12, %rdi
movl %r14d, %esi
callq _ccv_array_get
cmpl %r14d, %ebx
je LBB0_64
## %bb.37: ## in Loop: Header=BB0_36 Depth=3
movq (%rax), %rcx
movq %rcx, -128(%rbp) ## 8-byte Spill
movq 16(%rax), %rcx
movq %rcx, -120(%rbp) ## 8-byte Spill
movq 24(%rax), %r13
movq 32(%rax), %rcx
movq %rcx, -72(%rbp) ## 8-byte Spill
movslq 40(%rax), %r15
movslq 44(%rax), %r12
movq 8(%rax), %rdi
callq _abs
movq -48(%rbp), %rcx ## 8-byte Reload
cmpq 8(%rcx), %rax
jne LBB0_64
## %bb.38: ## in Loop: Header=BB0_36 Depth=3
movq -48(%rbp), %rcx ## 8-byte Reload
movslq 40(%rcx), %rdx
movl %edx, %ecx
subl -112(%rbp), %ecx ## 4-byte Folded Reload
cmpl %ecx, %r15d
jl LBB0_64
## %bb.39: ## in Loop: Header=BB0_36 Depth=3
movq -48(%rbp), %rcx ## 8-byte Reload
movslq 44(%rcx), %rcx
movl %ecx, %esi
subl -112(%rbp), %esi ## 4-byte Folded Reload
cmpl %esi, %r12d
jl LBB0_64
## %bb.40: ## in Loop: Header=BB0_36 Depth=3
addq %r15, %r13
addq -104(%rbp), %rdx ## 8-byte Folded Reload
movq -48(%rbp), %rsi ## 8-byte Reload
addq 24(%rsi), %rdx
cmpq %rdx, %r13
jg LBB0_64
## %bb.41: ## in Loop: Header=BB0_36 Depth=3
movq -72(%rbp), %rsi ## 8-byte Reload
addq %r12, %rsi
addq -104(%rbp), %rcx ## 8-byte Folded Reload
movq -48(%rbp), %rdx ## 8-byte Reload
addq 32(%rdx), %rcx
cmpq %rcx, %rsi
jg LBB0_64
## %bb.42: ## in Loop: Header=BB0_36 Depth=3
movq -48(%rbp), %rcx ## 8-byte Reload
movq -120(%rbp), %rdx ## 8-byte Reload
cmpq %rdx, 16(%rcx)
jg LBB0_64
## %bb.43: ## in Loop: Header=BB0_36 Depth=3
movq -48(%rbp), %rcx ## 8-byte Reload
movq -128(%rbp), %rdx ## 8-byte Reload
cmpq %rdx, (%rcx)
jge LBB0_64
jmp LBB0_44
.p2align 4, 0x90
LBB0_45: ## in Loop: Header=BB0_16 Depth=1
testl %eax, %eax
jle LBB0_61
## %bb.46: ## in Loop: Header=BB0_16 Depth=1
xorl %esi, %esi
jmp LBB0_47
.p2align 4, 0x90
LBB0_59: ## in Loop: Header=BB0_47 Depth=2
movq -96(%rbp), %rdi ## 8-byte Reload
leaq -192(%rbp), %rsi
callq _ccv_array_push
LBB0_60: ## in Loop: Header=BB0_47 Depth=2
movl -72(%rbp), %esi ## 4-byte Reload
incl %esi
cmpl (%r12), %esi
jge LBB0_61
LBB0_47: ## Parent Loop BB0_16 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_50 Depth 3
movq %r12, %rdi
movl %esi, -72(%rbp) ## 4-byte Spill
callq _ccv_array_get
movupd (%rax), %xmm0
movups 16(%rax), %xmm1
movups 32(%rax), %xmm2
movapd %xmm0, -192(%rbp)
movaps %xmm1, -176(%rbp)
movaps %xmm2, -160(%rbp)
cmpq $0, -184(%rbp)
jle LBB0_60
## %bb.48: ## in Loop: Header=BB0_47 Depth=2
cmpl $0, (%r12)
jle LBB0_59
## %bb.49: ## in Loop: Header=BB0_47 Depth=2
xorl %r15d, %r15d
jmp LBB0_50
.p2align 4, 0x90
LBB0_58: ## in Loop: Header=BB0_50 Depth=3
incl %r15d
cmpl (%r12), %r15d
jge LBB0_59
LBB0_50: ## Parent Loop BB0_16 Depth=1
## Parent Loop BB0_47 Depth=2
## => This Inner Loop Header: Depth=3
movq %r12, %rdi
movl %r15d, %esi
callq _ccv_array_get
movq (%rax), %rcx
movq %rcx, -112(%rbp) ## 8-byte Spill
movq 8(%rax), %rbx
movq 16(%rax), %rcx
movq %rcx, -128(%rbp) ## 8-byte Spill
movq 24(%rax), %r13
movq 32(%rax), %r14
movslq 40(%rax), %rcx
movq %rcx, -48(%rbp) ## 8-byte Spill
movslq 44(%rax), %rax
movq %rax, -120(%rbp) ## 8-byte Spill
movq %r13, %rdi
movq %r14, %rsi
callq _ccv_min
mulsd LCPI0_0(%rip), %xmm0
addsd LCPI0_1(%rip), %xmm0
cmpl %r15d, -72(%rbp) ## 4-byte Folded Reload
je LBB0_58
## %bb.51: ## in Loop: Header=BB0_50 Depth=3
movq -184(%rbp), %rdi
movsd %xmm0, -104(%rbp) ## 8-byte Spill
callq _abs
movq %rax, %r12
movq %rbx, %rdi
callq _abs
movsd -104(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
cmpq %rax, %r12
movq -56(%rbp), %r12 ## 8-byte Reload
jne LBB0_58
## %bb.52: ## in Loop: Header=BB0_50 Depth=3
cvttsd2si %xmm0, %edx
movslq -152(%rbp), %rcx
movq -48(%rbp), %rax ## 8-byte Reload
## kill: def $eax killed $eax killed $rax
subl %edx, %eax
cmpl %eax, %ecx
jl LBB0_58
## %bb.53: ## in Loop: Header=BB0_50 Depth=3
movslq -148(%rbp), %rax
movq -120(%rbp), %rsi ## 8-byte Reload
## kill: def $esi killed $esi killed $rsi
subl %edx, %esi
cmpl %esi, %eax
jl LBB0_58
## %bb.54: ## in Loop: Header=BB0_50 Depth=3
addq -168(%rbp), %rcx
addq -48(%rbp), %r13 ## 8-byte Folded Reload
movslq %edx, %rdx
addq %rdx, %r13
cmpq %r13, %rcx
jg LBB0_58
## %bb.55: ## in Loop: Header=BB0_50 Depth=3
addq -160(%rbp), %rax
addq -120(%rbp), %r14 ## 8-byte Folded Reload
addq %rdx, %r14
cmpq %r14, %rax
jg LBB0_58
## %bb.56: ## in Loop: Header=BB0_50 Depth=3
movq -128(%rbp), %rax ## 8-byte Reload
cmpq -176(%rbp), %rax
jg LBB0_60
## %bb.57: ## in Loop: Header=BB0_50 Depth=3
movq -112(%rbp), %rax ## 8-byte Reload
cmpq -192(%rbp), %rax
jl LBB0_58
jmp LBB0_60
LBB0_63:
movq -56(%rbp), %rdi ## 8-byte Reload
callq _ccv_array_free
movq %r12, %rax
addq $168, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm __ccv_is_equal_same_class,4,2 ## @_ccv_is_equal_same_class
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _ccv_icf_detect_objects ; -- Begin function ccv_icf_detect_objects
.p2align 2
_ccv_icf_detect_objects: ; @ccv_icf_detect_objects
.cfi_startproc
; %bb.0:
sub sp, sp, #256
stp d11, d10, [sp, #128] ; 16-byte Folded Spill
stp d9, d8, [sp, #144] ; 16-byte Folded Spill
stp x28, x27, [sp, #160] ; 16-byte Folded Spill
stp x26, x25, [sp, #176] ; 16-byte Folded Spill
stp x24, x23, [sp, #192] ; 16-byte Folded Spill
stp x22, x21, [sp, #208] ; 16-byte Folded Spill
stp x20, x19, [sp, #224] ; 16-byte Folded Spill
stp x29, x30, [sp, #240] ; 16-byte Folded Spill
add x29, sp, #240
.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
.cfi_offset b8, -104
.cfi_offset b9, -112
.cfi_offset b10, -120
.cfi_offset b11, -128
mov x25, x3
mov x23, x2
mov x21, x1
mov x22, x0
cmp w2, #0
cset w0, gt
bl _assert
ldr x8, [x21]
ldr w19, [x8]
cmp w23, #0
b.le LBB0_9
; %bb.1:
add w8, w23, #1
add x20, x21, #8
sub x24, x8, #1
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x8, [x20], #8
ldr w8, [x8]
cmp w8, w19
cset w0, eq
bl _assert
subs x24, x24, #1
b.ne LBB0_2
; %bb.3:
lsl w0, w23, #3
bl _alloca
mov x26, x0
cmp w23, #1
b.lt LBB0_6
; %bb.4:
mov x20, #0 ; =0x0
ubfiz x24, x23, #3, #32
LBB0_5: ; =>This Inner Loop Header: Depth=1
mov w0, #48 ; =0x30
mov w1, #64 ; =0x40
mov w2, #0 ; =0x0
bl _ccv_array_new
str x0, [x26, x20]
add x20, x20, #8
cmp x24, x20
b.ne LBB0_5
LBB0_6:
cmp w19, #128
b.eq LBB0_10
LBB0_7:
cmp w19, #129
b.ne LBB0_11
; %bb.8:
mov x0, x22
mov x1, x21
mov x2, x23
mov x3, x25
mov x4, x26
bl __ccv_icf_detect_objects_with_classifier_cascade
b LBB0_11
LBB0_9:
lsl w0, w23, #3
bl _alloca
mov x26, x0
cmp w19, #128
b.ne LBB0_7
LBB0_10:
mov x0, x22
mov x1, x21
mov x2, x23
mov x3, x25
mov x4, x26
bl __ccv_icf_detect_objects_with_multiscale_classifier_cascade
LBB0_11:
mov w0, #48 ; =0x30
mov w1, #64 ; =0x40
mov w2, #0 ; =0x0
bl _ccv_array_new
mov x19, x0
mov w0, #48 ; =0x30
mov w1, #64 ; =0x40
mov w2, #0 ; =0x0
bl _ccv_array_new
mov x22, x0
cmp w23, #1
b.lt LBB0_60
; %bb.12:
mov x21, #0 ; =0x0
fmov d9, #0.50000000
fmov d10, #0.25000000
mov w8, w23
stp x26, x8, [sp] ; 16-byte Folded Spill
stp x25, x19, [sp, #24] ; 16-byte Folded Spill
b LBB0_15
LBB0_13: ; in Loop: Header=BB0_15 Depth=1
ldr x0, [sp, #112]
bl _ccv_array_free
ldr x0, [sp, #40] ; 8-byte Folded Reload
bl _ccfree
ldr x26, [sp] ; 8-byte Folded Reload
ldp x21, x25, [sp, #16] ; 16-byte Folded Reload
ldr x0, [x26, x21, lsl #3]
ldr x19, [sp, #32] ; 8-byte Folded Reload
LBB0_14: ; in Loop: Header=BB0_15 Depth=1
bl _ccv_array_free
add x21, x21, #1
ldr x8, [sp, #8] ; 8-byte Folded Reload
cmp x21, x8
b.eq LBB0_60
LBB0_15: ; =>This Loop Header: Depth=1
; Child Loop BB0_19 Depth 2
; Child Loop BB0_24 Depth 2
; Child Loop BB0_33 Depth 2
; Child Loop BB0_36 Depth 3
; Child Loop BB0_48 Depth 2
; Child Loop BB0_52 Depth 3
; Child Loop BB0_30 Depth 2
cbz x25, LBB0_28
; %bb.16: ; in Loop: Header=BB0_15 Depth=1
str xzr, [sp, #112]
mov x0, x22
bl _ccv_array_clear
ldr x0, [x26, x21, lsl #3]
Lloh0:
adrp x8, __ccv_is_equal_same_class@GOTPAGE
Lloh1:
ldr x8, [x8, __ccv_is_equal_same_class@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
add x1, sp, #112
mov w3, #0 ; =0x0
bl _ccv_array_group
mov x24, x0
add w0, w0, #1
mov w1, #48 ; =0x30
bl _cccalloc
str x0, [sp, #40] ; 8-byte Folded Spill
ldr x0, [x26, x21, lsl #3]
ldr w8, [x0]
cmp w8, #1
b.lt LBB0_21
; %bb.17: ; in Loop: Header=BB0_15 Depth=1
mov w25, #0 ; =0x0
b LBB0_19
LBB0_18: ; in Loop: Header=BB0_19 Depth=2
add x9, x9, #1
str x9, [x8]
add w25, w25, #1
ldr x0, [x26, x21, lsl #3]
ldr w8, [x0]
cmp w25, w8
b.ge LBB0_21
LBB0_19: ; Parent Loop BB0_15 Depth=1
; => This Inner Loop Header: Depth=2
mov x1, x25
bl _ccv_array_get
ldp x20, x19, [x0, #8]
ldur q0, [x0, #24]
str q0, [sp, #64]
ldr x8, [x0, #40]
str x8, [sp, #80]
ldr x0, [sp, #112]
mov x1, x25
bl _ccv_array_get
ldrsw x8, [x0]
mov w9, #48 ; =0x30
ldr x10, [sp, #40] ; 8-byte Folded Reload
smaddl x8, w8, w9, x10
str x20, [x8, #8]
ldr x10, [x8, #16]
ldr x9, [x8]
cmp x19, x10
ccmp x9, #0, #0, gt
b.ne LBB0_18
; %bb.20: ; in Loop: Header=BB0_19 Depth=2
ldr q0, [sp, #64]
stur q0, [x8, #24]
ldr x10, [sp, #80]
str x10, [x8, #40]
str x19, [x8, #16]
b LBB0_18
LBB0_21: ; in Loop: Header=BB0_15 Depth=1
cmp w24, #1
ldr x20, [sp, #24] ; 8-byte Folded Reload
b.lt LBB0_26
; %bb.22: ; in Loop: Header=BB0_15 Depth=1
mov w19, w24
ldr x24, [sp, #40] ; 8-byte Folded Reload
b LBB0_24
LBB0_23: ; in Loop: Header=BB0_24 Depth=2
add x24, x24, #48
subs x19, x19, #1
b.eq LBB0_26
LBB0_24: ; Parent Loop BB0_15 Depth=1
; => This Inner Loop Header: Depth=2
ldrsw x8, [x24]
cmp x8, x20
b.lt LBB0_23
; %bb.25: ; in Loop: Header=BB0_24 Depth=2
mov x0, x22
mov x1, x24
bl _ccv_array_push
b LBB0_23
LBB0_26: ; in Loop: Header=BB0_15 Depth=1
str x21, [sp, #16] ; 8-byte Folded Spill
ldr w8, [x22]
cmp w8, #1
b.lt LBB0_13
; %bb.27: ; in Loop: Header=BB0_15 Depth=1
mov w24, #0 ; =0x0
b LBB0_33
LBB0_28: ; in Loop: Header=BB0_15 Depth=1
ldr x0, [x26, x21, lsl #3]
ldr w8, [x0]
cmp w8, #1
b.lt LBB0_14
; %bb.29: ; in Loop: Header=BB0_15 Depth=1
mov w23, #0 ; =0x0
LBB0_30: ; Parent Loop BB0_15 Depth=1
; => This Inner Loop Header: Depth=2
mov x1, x23
bl _ccv_array_get
mov x1, x0
mov x0, x19
bl _ccv_array_push
add w23, w23, #1
ldr x0, [x26, x21, lsl #3]
ldr w8, [x0]
cmp w23, w8
b.lt LBB0_30
b LBB0_14
LBB0_31: ; in Loop: Header=BB0_33 Depth=2
neg x8, x0
str x8, [x25, #8]
ldr w8, [x22]
LBB0_32: ; in Loop: Header=BB0_33 Depth=2
add w24, w24, #1
cmp w24, w8
b.ge LBB0_44
LBB0_33: ; Parent Loop BB0_15 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_36 Depth 3
mov x0, x22
mov x1, x24
bl _ccv_array_get
mov x25, x0
ldr x0, [x0, #24]
ldr x1, [x25, #32]
bl _ccv_min
ldr w8, [x22]
cmp w8, #1
b.lt LBB0_32
; %bb.34: ; in Loop: Header=BB0_33 Depth=2
mov w26, #0 ; =0x0
fmadd d0, d0, d10, d9
fcvtzs w8, d0
str x8, [sp, #56] ; 8-byte Folded Spill
sxtw x8, w8
str x8, [sp, #48] ; 8-byte Folded Spill
b LBB0_36
LBB0_35: ; in Loop: Header=BB0_36 Depth=3
add w26, w26, #1
ldr w8, [x22]
cmp w26, w8
b.ge LBB0_32
LBB0_36: ; Parent Loop BB0_15 Depth=1
; Parent Loop BB0_33 Depth=2
; => This Inner Loop Header: Depth=3
mov x0, x22
mov x1, x26
bl _ccv_array_get
cmp w24, w26
b.eq LBB0_35
; %bb.37: ; in Loop: Header=BB0_36 Depth=3
ldp x21, x27, [x0, #16]
ldr x23, [x0, #32]
ldpsw x19, x28, [x0, #40]
ldp x20, x0, [x0]
bl _abs
ldr x8, [x25, #8]
cmp x0, x8
b.ne LBB0_35
; %bb.38: ; in Loop: Header=BB0_36 Depth=3
ldrsw x8, [x25, #40]
ldr x9, [sp, #56] ; 8-byte Folded Reload
sub w9, w8, w9
cmp w19, w9
b.lt LBB0_35
; %bb.39: ; in Loop: Header=BB0_36 Depth=3
ldrsw x9, [x25, #44]
ldr x10, [sp, #56] ; 8-byte Folded Reload
sub w10, w9, w10
cmp w28, w10
b.lt LBB0_35
; %bb.40: ; in Loop: Header=BB0_36 Depth=3
ldr x10, [x25, #24]
ldr x11, [sp, #48] ; 8-byte Folded Reload
add x8, x8, x11
add x8, x8, x10
add x10, x27, x19
cmp x10, x8
b.gt LBB0_35
; %bb.41: ; in Loop: Header=BB0_36 Depth=3
ldr x8, [x25, #32]
ldr x10, [sp, #48] ; 8-byte Folded Reload
add x9, x9, x10
add x8, x9, x8
add x9, x23, x28
cmp x9, x8
b.gt LBB0_35
; %bb.42: ; in Loop: Header=BB0_36 Depth=3
ldr x8, [x25, #16]
cmp x8, x21
b.gt LBB0_35
; %bb.43: ; in Loop: Header=BB0_36 Depth=3
ldr x8, [x25]
cmp x8, x20
b.ge LBB0_35
b LBB0_31
LBB0_44: ; in Loop: Header=BB0_15 Depth=1
cmp w8, #1
b.lt LBB0_13
; %bb.45: ; in Loop: Header=BB0_15 Depth=1
mov w24, #0 ; =0x0
b LBB0_48
LBB0_46: ; in Loop: Header=BB0_48 Depth=2
add x1, sp, #64
ldr x0, [sp, #32] ; 8-byte Folded Reload
bl _ccv_array_push
LBB0_47: ; in Loop: Header=BB0_48 Depth=2
add w24, w24, #1
ldr w8, [x22]
cmp w24, w8
b.ge LBB0_13
LBB0_48: ; Parent Loop BB0_15 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_52 Depth 3
mov x0, x22
mov x1, x24
bl _ccv_array_get
ldp q1, q0, [x0, #16]
ldr q2, [x0]
stp q2, q1, [sp, #64]
str q0, [sp, #96]
ldr x8, [sp, #72]
cmp x8, #1
b.lt LBB0_47
; %bb.49: ; in Loop: Header=BB0_48 Depth=2
ldr w8, [x22]
cmp w8, #1
b.lt LBB0_46
; %bb.50: ; in Loop: Header=BB0_48 Depth=2
mov w25, #0 ; =0x0
b LBB0_52
LBB0_51: ; in Loop: Header=BB0_52 Depth=3
add w25, w25, #1
ldr w8, [x22]
cmp w25, w8
b.ge LBB0_46
LBB0_52: ; Parent Loop BB0_15 Depth=1
; Parent Loop BB0_48 Depth=2
; => This Inner Loop Header: Depth=3
mov x0, x22
mov x1, x25
bl _ccv_array_get
ldp x19, x28, [x0]
ldp x20, x27, [x0, #16]
ldr x26, [x0, #32]
ldpsw x23, x21, [x0, #40]
mov x0, x27
mov x1, x26
bl _ccv_min
cmp w24, w25
b.eq LBB0_51
; %bb.53: ; in Loop: Header=BB0_52 Depth=3
fmov d8, d0
ldr x0, [sp, #72]
bl _abs
str x27, [sp, #56] ; 8-byte Folded Spill
mov x27, x26
mov x26, x23
mov x23, x22
mov x22, x21
mov x21, x20
mov x20, x24
mov x24, x19
mov x19, x0
mov x0, x28
bl _abs
cmp x19, x0
mov x13, x24
mov x24, x20
mov x15, x22
mov x22, x23
ldr x17, [sp, #56] ; 8-byte Folded Reload
b.ne LBB0_51
; %bb.54: ; in Loop: Header=BB0_52 Depth=3
fmadd d0, d8, d10, d9
fcvtzs w10, d0
ldrsw x8, [sp, #104]
sub w9, w26, w10
cmp w8, w9
b.lt LBB0_51
; %bb.55: ; in Loop: Header=BB0_52 Depth=3
ldrsw x9, [sp, #108]
sub w11, w15, w10
cmp w9, w11
b.lt LBB0_51
; %bb.56: ; in Loop: Header=BB0_52 Depth=3
ldr x11, [sp, #88]
sxtw x10, w10
add x12, x17, x26
add x12, x12, x10
add x8, x11, x8
cmp x8, x12
b.gt LBB0_51
; %bb.57: ; in Loop: Header=BB0_52 Depth=3
ldr x8, [sp, #96]
add x11, x27, x15
add x10, x11, x10
add x8, x8, x9
cmp x8, x10
b.gt LBB0_51
; %bb.58: ; in Loop: Header=BB0_52 Depth=3
ldr x8, [sp, #80]
cmp x21, x8
b.gt LBB0_47
; %bb.59: ; in Loop: Header=BB0_52 Depth=3
ldr x8, [sp, #64]
cmp x13, x8
b.lt LBB0_51
b LBB0_47
LBB0_60:
mov x0, x22
bl _ccv_array_free
mov x0, x19
ldp x29, x30, [sp, #240] ; 16-byte Folded Reload
ldp x20, x19, [sp, #224] ; 16-byte Folded Reload
ldp x22, x21, [sp, #208] ; 16-byte Folded Reload
ldp x24, x23, [sp, #192] ; 16-byte Folded Reload
ldp x26, x25, [sp, #176] ; 16-byte Folded Reload
ldp x28, x27, [sp, #160] ; 16-byte Folded Reload
ldp d9, d8, [sp, #144] ; 16-byte Folded Reload
ldp d11, d10, [sp, #128] ; 16-byte Folded Reload
add sp, sp, #256
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm __ccv_is_equal_same_class,4,2 ; @_ccv_is_equal_same_class
.subsections_via_symbols
|
assembly_file_139975.c
|
assembly_dataset
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
|
the_stack_data/187643052.c
|
stack
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function update_keys
_update_keys: ## @update_keys
.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 (%rdi), %rdi
movl %edx, %esi
callq _CRC32
movq %rax, (%rbx)
movzbl %al, %eax
addq 8(%rbx), %rax
imulq $134775813, %rax, %rsi ## imm = 0x8088405
incq %rsi
movq %rsi, 8(%rbx)
shrq $24, %rsi
movq 16(%rbx), %rdi
## kill: def $esi killed $esi killed $rsi
callq _CRC32
movq %rax, 16(%rbx)
movl %r14d, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _update_keys
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function update_keys
_update_keys: ; @update_keys
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x2
mov x20, x0
ldr x0, [x0]
mov x1, x2
bl _CRC32
ldp x9, x8, [x20, #8]
add x9, x9, w0, uxtb
mov w10, #33797
movk w10, #2056, lsl #16
orr x11, xzr, #0x1
madd x9, x9, x10, x11
stp x0, x9, [x20]
lsr x1, x9, #24
mov x0, x8
; kill: def $w1 killed $w1 killed $x1
bl _CRC32
str x0, [x20, #16]
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _update_keys
.subsections_via_symbols
|
AnghaBench/sumatrapdf/ext/zlib/contrib/minizip/extr_crypt.h_update_keys.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _InitProtocol ## -- Begin function InitProtocol
.p2align 4, 0x90
_InitProtocol: ## @InitProtocol
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _InitProtocol ; -- Begin function InitProtocol
.p2align 2
_InitProtocol: ; @InitProtocol
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
AnghaBench/SoftEtherVPN/src/Cedar/extr_Protocol.c_InitProtocol.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function imx319_do_get_pad_format
_imx319_do_get_pad_format: ## @imx319_do_get_pad_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 %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdx, %rbx
movq (%rdx), %rax
movq _V4L2_SUBDEV_FORMAT_TRY@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_2
## %bb.1:
addq $4, %rdi
movl 12(%rbx), %edx
callq _v4l2_subdev_get_try_format
movl (%rax), %eax
movl %eax, 8(%rbx)
jmp LBB0_3
LBB0_2:
movl (%rdi), %esi
movq %rbx, %rdx
callq _imx319_update_pad_format
LBB0_3:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _V4L2_SUBDEV_FORMAT_TRY,8,3 ## @V4L2_SUBDEV_FORMAT_TRY
.no_dead_strip _imx319_do_get_pad_format
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function imx319_do_get_pad_format
_imx319_do_get_pad_format: ; @imx319_do_get_pad_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 x19, x2
ldr x8, [x2]
Lloh0:
adrp x9, _V4L2_SUBDEV_FORMAT_TRY@GOTPAGE
Lloh1:
ldr x9, [x9, _V4L2_SUBDEV_FORMAT_TRY@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_2
; %bb.1:
add x0, x0, #4
ldr w2, [x19, #12]
bl _v4l2_subdev_get_try_format
ldr w8, [x0]
str w8, [x19, #8]
b LBB0_3
LBB0_2:
ldr w1, [x0]
mov x2, x19
bl _imx319_update_pad_format
LBB0_3:
mov w0, #0
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 _V4L2_SUBDEV_FORMAT_TRY,8,3 ; @V4L2_SUBDEV_FORMAT_TRY
.no_dead_strip _imx319_do_get_pad_format
.subsections_via_symbols
|
AnghaBench/linux/drivers/media/i2c/extr_imx319.c_imx319_do_get_pad_format.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _virtio_gpu_object_kunmap ## -- Begin function virtio_gpu_object_kunmap
.p2align 4, 0x90
_virtio_gpu_object_kunmap: ## @virtio_gpu_object_kunmap
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq $0, 8(%rdi)
popq %rbp
jmp _ttm_bo_kunmap ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _virtio_gpu_object_kunmap ; -- Begin function virtio_gpu_object_kunmap
.p2align 2
_virtio_gpu_object_kunmap: ; @virtio_gpu_object_kunmap
.cfi_startproc
; %bb.0:
str xzr, [x0, #8]
b _ttm_bo_kunmap
.cfi_endproc
; -- End function
.subsections_via_symbols
|
AnghaBench/linux/drivers/gpu/drm/virtio/extr_virtgpu_object.c_virtio_gpu_object_kunmap.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal4,4byte_literals
.p2align 2, 0x0 ## -- Begin function scale_internal_short
LCPI0_0:
.long 0x3f800000 ## float 1
LCPI0_1:
.long 0xbf800000 ## float -1
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0
LCPI0_2:
.space 16
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_scale_internal_short: ## @scale_internal_short
.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 $344, %rsp ## imm = 0x158
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %r9d, %r14d
movl %r8d, %r15d
movq %rcx, %r13
movl %edx, %r12d
movl 48(%rbp), %r10d
movl 40(%rbp), %ebx
movl 32(%rbp), %r11d
movl 24(%rbp), %r9d
movq 16(%rbp), %r8
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
leal (%r15,%r15), %eax
xorl %esi, %eax
leal (%r14,%r14), %ecx
xorl %edx, %ecx
orl %eax, %ecx
jne LBB0_4
## %bb.1:
subq $8, %rsp
movl %r12d, %edx
movq %r13, %rcx
pushq %r10
pushq %rbx
pushq %r11
callq _halveImage_short
addq $32, %rsp
jmp LBB0_2
LBB0_4:
movl %edi, -88(%rbp) ## 4-byte Spill
cvtsi2ss %r12d, %xmm0
cvtsi2ss %r14d, %xmm1
divss %xmm1, %xmm0
cvtsi2ss %esi, %xmm2
xorps %xmm1, %xmm1
cvtsi2ss %r15d, %xmm1
divss %xmm1, %xmm2
movaps %xmm2, -160(%rbp) ## 16-byte Spill
movss %xmm0, -68(%rbp) ## 4-byte Spill
callq _floor
movl %eax, %ebx
movaps -160(%rbp), %xmm0 ## 16-byte Reload
callq _floor
## kill: def $eax killed $eax def $rax
testl %r14d, %r14d
jle LBB0_2
## %bb.5:
movq %rbx, %rdi
xorps %xmm0, %xmm0
cvtsi2ss %edi, %xmm0
xorps %xmm1, %xmm1
cvtsi2ss %eax, %xmm1
movaps -160(%rbp), %xmm3 ## 16-byte Reload
movaps %xmm3, %xmm2
subss %xmm1, %xmm2
movss %xmm2, -196(%rbp) ## 4-byte Spill
movss -68(%rbp), %xmm2 ## 4-byte Reload
## xmm2 = mem[0],zero,zero,zero
mulss %xmm2, %xmm3
subss %xmm0, %xmm2
movq %r12, %rbx
leal -1(%r12), %ecx
movl %ecx, -236(%rbp) ## 4-byte Spill
movq %r13, %rdx
movslq 24(%rbp), %r13
movl 40(%rbp), %ecx
movslq %ecx, %rsi
movl 32(%rbp), %ecx
movslq %ecx, %rcx
movq %rcx, -232(%rbp) ## 8-byte Spill
movq %rdx, -280(%rbp) ## 8-byte Spill
movq %rsi, -184(%rbp) ## 8-byte Spill
leaq (%rdx,%rsi), %rcx
movq %rcx, -272(%rbp) ## 8-byte Spill
movl -88(%rbp), %r12d ## 4-byte Reload
movslq %r12d, %rcx
movslq %r15d, %rdx
movl %r15d, %esi
movq %rsi, -336(%rbp) ## 8-byte Spill
movl %ecx, %r10d
movl %r10d, %esi
andl $2147483644, %esi ## imm = 0x7FFFFFFC
movq %rsi, -312(%rbp) ## 8-byte Spill
movaps %xmm3, %xmm4
shufps $0, %xmm3, %xmm4 ## xmm4 = xmm4[0,0],xmm3[0,0]
imulq %rcx, %rdx
shlq $2, %rdx
negq %rdx
movq %rdx, -288(%rbp) ## 8-byte Spill
movq %rcx, %rdx
shlq $2, %rdx
movq %rdx, -328(%rbp) ## 8-byte Spill
shrl $2, %ecx
andl $536870911, %ecx ## imm = 0x1FFFFFFF
shlq $4, %rcx
movq %rcx, -344(%rbp) ## 8-byte Spill
movq $0, -216(%rbp) ## 8-byte Folded Spill
xorps %xmm0, %xmm0
movaps %xmm2, %xmm1
movl %edi, %r9d
movl 48(%rbp), %esi
movq 16(%rbp), %rcx
movss %xmm2, -68(%rbp) ## 4-byte Spill
movaps %xmm3, -160(%rbp) ## 16-byte Spill
movq %rdi, -360(%rbp) ## 8-byte Spill
movq %rax, %r8
movq %rax, -352(%rbp) ## 8-byte Spill
movq %r10, -104(%rbp) ## 8-byte Spill
movaps %xmm4, -176(%rbp) ## 16-byte Spill
movq %rbx, -304(%rbp) ## 8-byte Spill
movq %r15, -296(%rbp) ## 8-byte Spill
jmp LBB0_6
.p2align 4, 0x90
LBB0_131: ## in Loop: Header=BB0_6 Depth=1
movq -120(%rbp), %rax ## 8-byte Reload
movb %cl, %r9b
addl %eax, %r9d
addl %edi, %r9d
movq -248(%rbp), %rcx ## 8-byte Reload
addq -288(%rbp), %rcx ## 8-byte Folded Reload
movss -112(%rbp), %xmm0 ## 4-byte Reload
## xmm0 = mem[0],zero,zero,zero
## kill: def $eax killed $eax killed $rax def $rax
movq %rax, -216(%rbp) ## 8-byte Spill
movq -304(%rbp), %rbx ## 8-byte Reload
movq -296(%rbp), %r15 ## 8-byte Reload
LBB0_6: ## =>This Loop Header: Depth=1
## Child Loop BB0_8 Depth 2
## Child Loop BB0_105 Depth 3
## Child Loop BB0_85 Depth 3
## Child Loop BB0_95 Depth 3
## Child Loop BB0_97 Depth 4
## Child Loop BB0_92 Depth 3
## Child Loop BB0_64 Depth 3
## Child Loop BB0_74 Depth 3
## Child Loop BB0_76 Depth 4
## Child Loop BB0_71 Depth 3
## Child Loop BB0_12 Depth 3
## Child Loop BB0_18 Depth 3
## Child Loop BB0_20 Depth 4
## Child Loop BB0_27 Depth 3
## Child Loop BB0_33 Depth 3
## Child Loop BB0_37 Depth 3
## Child Loop BB0_39 Depth 4
## Child Loop BB0_49 Depth 3
## Child Loop BB0_55 Depth 3
## Child Loop BB0_57 Depth 4
## Child Loop BB0_111 Depth 3
## Child Loop BB0_113 Depth 4
## Child Loop BB0_115 Depth 5
## Child Loop BB0_123 Depth 3
## Child Loop BB0_125 Depth 3
movq %rcx, -248(%rbp) ## 8-byte Spill
movss %xmm1, -112(%rbp) ## 4-byte Spill
cmpl %ebx, %r9d
movl %r9d, %eax
cmovgel -236(%rbp), %eax ## 4-byte Folded Reload
movq %rax, -120(%rbp) ## 8-byte Spill
testl %r15d, %r15d
jle LBB0_129
## %bb.7: ## in Loop: Header=BB0_6 Depth=1
movss -112(%rbp), %xmm1 ## 4-byte Reload
## xmm1 = mem[0],zero,zero,zero
subss %xmm0, %xmm1
movss %xmm1, -136(%rbp) ## 4-byte Spill
movq -216(%rbp), %rdi ## 8-byte Reload
movl %edi, %eax
movl 32(%rbp), %ecx
imull %ecx, %eax
cltq
movq -280(%rbp), %rdx ## 8-byte Reload
addq %rdx, %rax
movq %rax, -208(%rbp) ## 8-byte Spill
movss LCPI0_0(%rip), %xmm1 ## xmm1 = [1.0E+0,0.0E+0,0.0E+0,0.0E+0]
subss %xmm0, %xmm1
movss %xmm1, -140(%rbp) ## 4-byte Spill
incl %edi
movq -120(%rbp), %rax ## 8-byte Reload
## kill: def $eax killed $eax killed $rax
imull %ecx, %eax
cltq
addq %rdx, %rax
movq %rax, -256(%rbp) ## 8-byte Spill
movl %edi, -132(%rbp) ## 4-byte Spill
movl %edi, %eax
imull %ecx, %eax
cltq
addq -272(%rbp), %rax ## 8-byte Folded Reload
movq %rax, -320(%rbp) ## 8-byte Spill
xorl %ebx, %ebx
xorps %xmm0, %xmm0
movq -248(%rbp), %r9 ## 8-byte Reload
movss -196(%rbp), %xmm1 ## 4-byte Reload
## xmm1 = mem[0],zero,zero,zero
movl %r8d, %eax
xorl %r11d, %r11d
jmp LBB0_8
.p2align 4, 0x90
LBB0_128: ## in Loop: Header=BB0_8 Depth=2
movb %cl, %al
addl %r11d, %eax
addl %r8d, %eax
incq %rbx
addq -328(%rbp), %r9 ## 8-byte Folded Reload
movss -84(%rbp), %xmm0 ## 4-byte Reload
## xmm0 = mem[0],zero,zero,zero
## kill: def $r11d killed $r11d killed $r11 def $r11
cmpq -336(%rbp), %rbx ## 8-byte Folded Reload
je LBB0_129
LBB0_8: ## Parent Loop BB0_6 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_105 Depth 3
## Child Loop BB0_85 Depth 3
## Child Loop BB0_95 Depth 3
## Child Loop BB0_97 Depth 4
## Child Loop BB0_92 Depth 3
## Child Loop BB0_64 Depth 3
## Child Loop BB0_74 Depth 3
## Child Loop BB0_76 Depth 4
## Child Loop BB0_71 Depth 3
## Child Loop BB0_12 Depth 3
## Child Loop BB0_18 Depth 3
## Child Loop BB0_20 Depth 4
## Child Loop BB0_27 Depth 3
## Child Loop BB0_33 Depth 3
## Child Loop BB0_37 Depth 3
## Child Loop BB0_39 Depth 4
## Child Loop BB0_49 Depth 3
## Child Loop BB0_55 Depth 3
## Child Loop BB0_57 Depth 4
## Child Loop BB0_111 Depth 3
## Child Loop BB0_113 Depth 4
## Child Loop BB0_115 Depth 5
## Child Loop BB0_123 Depth 3
## Child Loop BB0_125 Depth 3
movl %eax, %ecx
movss %xmm1, -84(%rbp) ## 4-byte Spill
movl %r11d, %edx
movl 40(%rbp), %eax
imull %eax, %edx
xorps %xmm1, %xmm1
movaps %xmm1, -64(%rbp)
movq -216(%rbp), %rax ## 8-byte Reload
cmpl %eax, -120(%rbp) ## 4-byte Folded Reload
movq %rbx, -376(%rbp) ## 8-byte Spill
movq %r9, -368(%rbp) ## 8-byte Spill
movq %rcx, -128(%rbp) ## 8-byte Spill
movq %r11, -192(%rbp) ## 8-byte Spill
movl %edx, -200(%rbp) ## 4-byte Spill
jle LBB0_61
## %bb.9: ## in Loop: Header=BB0_8 Depth=2
cmpl %r11d, %ecx
jle LBB0_61
## %bb.10: ## in Loop: Header=BB0_8 Depth=2
movslq %edx, %rcx
movq -208(%rbp), %rax ## 8-byte Reload
movq %rcx, -264(%rbp) ## 8-byte Spill
subq %rcx, %rax
movq %rax, -224(%rbp) ## 8-byte Spill
movss LCPI0_0(%rip), %xmm1 ## xmm1 = [1.0E+0,0.0E+0,0.0E+0,0.0E+0]
subss %xmm0, %xmm1
movss %xmm1, -96(%rbp) ## 4-byte Spill
testl %r12d, %r12d
jle LBB0_16
## %bb.11: ## in Loop: Header=BB0_8 Depth=2
movss -140(%rbp), %xmm0 ## 4-byte Reload
## xmm0 = mem[0],zero,zero,zero
mulss -96(%rbp), %xmm0 ## 4-byte Folded Reload
movss %xmm0, -80(%rbp) ## 4-byte Spill
xorl %r15d, %r15d
movq -224(%rbp), %r14 ## 8-byte Reload
jmp LBB0_12
.p2align 4, 0x90
LBB0_14: ## in Loop: Header=BB0_12 Depth=3
movd (%r14), %xmm0 ## xmm0 = mem[0],zero,zero,zero
LBB0_15: ## in Loop: Header=BB0_12 Depth=3
mulss -80(%rbp), %xmm0 ## 4-byte Folded Reload
addss -64(%rbp,%r15,4), %xmm0
movss %xmm0, -64(%rbp,%r15,4)
incq %r15
addq %r13, %r14
cmpq %r15, %r10
je LBB0_16
LBB0_12: ## Parent Loop BB0_6 Depth=1
## Parent Loop BB0_8 Depth=2
## => This Inner Loop Header: Depth=3
testl %esi, %esi
je LBB0_14
## %bb.13: ## in Loop: Header=BB0_12 Depth=3
movq %r14, %rdi
callq ___GLU_SWAP_2_BYTES
movaps -176(%rbp), %xmm4 ## 16-byte Reload
movq -104(%rbp), %r10 ## 8-byte Reload
movaps -160(%rbp), %xmm3 ## 16-byte Reload
movss -68(%rbp), %xmm2 ## 4-byte Reload
## xmm2 = mem[0],zero,zero,zero
movl 48(%rbp), %esi
movd %eax, %xmm0
jmp LBB0_15
.p2align 4, 0x90
LBB0_61: ## in Loop: Header=BB0_8 Depth=2
movq -216(%rbp), %rax ## 8-byte Reload
cmpl %eax, -120(%rbp) ## 4-byte Folded Reload
jle LBB0_82
## %bb.62: ## in Loop: Header=BB0_8 Depth=2
movslq %edx, %rax
addq -208(%rbp), %rax ## 8-byte Folded Reload
movq %rax, -96(%rbp) ## 8-byte Spill
movss -84(%rbp), %xmm1 ## 4-byte Reload
## xmm1 = mem[0],zero,zero,zero
subss %xmm0, %xmm1
movss %xmm1, -80(%rbp) ## 4-byte Spill
testl %r12d, %r12d
jle LBB0_68
## %bb.63: ## in Loop: Header=BB0_8 Depth=2
movss -140(%rbp), %xmm0 ## 4-byte Reload
## xmm0 = mem[0],zero,zero,zero
mulss -80(%rbp), %xmm0 ## 4-byte Folded Reload
movss %xmm0, -108(%rbp) ## 4-byte Spill
xorl %r15d, %r15d
movq -96(%rbp), %r14 ## 8-byte Reload
jmp LBB0_64
.p2align 4, 0x90
LBB0_66: ## in Loop: Header=BB0_64 Depth=3
movd (%r14), %xmm0 ## xmm0 = mem[0],zero,zero,zero
LBB0_67: ## in Loop: Header=BB0_64 Depth=3
mulss -108(%rbp), %xmm0 ## 4-byte Folded Reload
addss -64(%rbp,%r15,4), %xmm0
movss %xmm0, -64(%rbp,%r15,4)
incq %r15
addq %r13, %r14
cmpq %r15, %r10
je LBB0_68
LBB0_64: ## Parent Loop BB0_6 Depth=1
## Parent Loop BB0_8 Depth=2
## => This Inner Loop Header: Depth=3
testl %esi, %esi
je LBB0_66
## %bb.65: ## in Loop: Header=BB0_64 Depth=3
movq %r14, %rdi
callq ___GLU_SWAP_2_BYTES
movaps -176(%rbp), %xmm4 ## 16-byte Reload
movq -104(%rbp), %r10 ## 8-byte Reload
movaps -160(%rbp), %xmm3 ## 16-byte Reload
movss -68(%rbp), %xmm2 ## 4-byte Reload
## xmm2 = mem[0],zero,zero,zero
movl 48(%rbp), %esi
movd %eax, %xmm0
jmp LBB0_67
.p2align 4, 0x90
LBB0_16: ## in Loop: Header=BB0_8 Depth=2
movq -192(%rbp), %rax ## 8-byte Reload
incl %eax
movq -224(%rbp), %r14 ## 8-byte Reload
movl %eax, -80(%rbp) ## 4-byte Spill
cmpl -128(%rbp), %eax ## 4-byte Folded Reload
jge LBB0_25
## %bb.17: ## in Loop: Header=BB0_8 Depth=2
movl -80(%rbp), %r12d ## 4-byte Reload
movq -224(%rbp), %r14 ## 8-byte Reload
jmp LBB0_18
.p2align 4, 0x90
LBB0_24: ## in Loop: Header=BB0_18 Depth=3
incl %r12d
cmpl -128(%rbp), %r12d ## 4-byte Folded Reload
je LBB0_25
LBB0_18: ## Parent Loop BB0_6 Depth=1
## Parent Loop BB0_8 Depth=2
## => This Loop Header: Depth=3
## Child Loop BB0_20 Depth 4
addq -184(%rbp), %r14 ## 8-byte Folded Reload
cmpl $0, -88(%rbp) ## 4-byte Folded Reload
jle LBB0_24
## %bb.19: ## in Loop: Header=BB0_18 Depth=3
xorl %ebx, %ebx
movq %r14, %r15
jmp LBB0_20
.p2align 4, 0x90
LBB0_21: ## in Loop: Header=BB0_20 Depth=4
movq %r15, %rdi
callq ___GLU_SWAP_2_BYTES
movaps -176(%rbp), %xmm4 ## 16-byte Reload
movq -104(%rbp), %r10 ## 8-byte Reload
movaps -160(%rbp), %xmm3 ## 16-byte Reload
movss -68(%rbp), %xmm2 ## 4-byte Reload
## xmm2 = mem[0],zero,zero,zero
movl 48(%rbp), %esi
movd %eax, %xmm0
LBB0_23: ## in Loop: Header=BB0_20 Depth=4
mulss -140(%rbp), %xmm0 ## 4-byte Folded Reload
addss -64(%rbp,%rbx,4), %xmm0
movss %xmm0, -64(%rbp,%rbx,4)
incq %rbx
addq %r13, %r15
cmpq %rbx, %r10
je LBB0_24
LBB0_20: ## Parent Loop BB0_6 Depth=1
## Parent Loop BB0_8 Depth=2
## Parent Loop BB0_18 Depth=3
## => This Inner Loop Header: Depth=4
testl %esi, %esi
jne LBB0_21
## %bb.22: ## in Loop: Header=BB0_20 Depth=4
movd (%r15), %xmm0 ## xmm0 = mem[0],zero,zero,zero
jmp LBB0_23
.p2align 4, 0x90
LBB0_25: ## in Loop: Header=BB0_8 Depth=2
addq -184(%rbp), %r14 ## 8-byte Folded Reload
cmpl $0, -88(%rbp) ## 4-byte Folded Reload
jle LBB0_35
## %bb.26: ## in Loop: Header=BB0_8 Depth=2
movss -140(%rbp), %xmm0 ## 4-byte Reload
## xmm0 = mem[0],zero,zero,zero
mulss -84(%rbp), %xmm0 ## 4-byte Folded Reload
movss %xmm0, -108(%rbp) ## 4-byte Spill
xorl %r15d, %r15d
movq %r14, %rbx
jmp LBB0_27
.p2align 4, 0x90
LBB0_29: ## in Loop: Header=BB0_27 Depth=3
movd (%rbx), %xmm0 ## xmm0 = mem[0],zero,zero,zero
LBB0_30: ## in Loop: Header=BB0_27 Depth=3
mulss -108(%rbp), %xmm0 ## 4-byte Folded Reload
addss -64(%rbp,%r15,4), %xmm0
movss %xmm0, -64(%rbp,%r15,4)
incq %r15
addq %r13, %rbx
cmpq %r15, %r10
je LBB0_31
LBB0_27: ## Parent Loop BB0_6 Depth=1
## Parent Loop BB0_8 Depth=2
## => This Inner Loop Header: Depth=3
testl %esi, %esi
je LBB0_29
## %bb.28: ## in Loop: Header=BB0_27 Depth=3
movq %rbx, %rdi
callq ___GLU_SWAP_2_BYTES
movaps -176(%rbp), %xmm4 ## 16-byte Reload
movq -104(%rbp), %r10 ## 8-byte Reload
movaps -160(%rbp), %xmm3 ## 16-byte Reload
movss -68(%rbp), %xmm2 ## 4-byte Reload
## xmm2 = mem[0],zero,zero,zero
movl 48(%rbp), %esi
movd %eax, %xmm0
jmp LBB0_30
.p2align 4, 0x90
LBB0_31: ## in Loop: Header=BB0_8 Depth=2
movq -264(%rbp), %r15 ## 8-byte Reload
addq -256(%rbp), %r15 ## 8-byte Folded Reload
cmpl $0, -88(%rbp) ## 4-byte Folded Reload
jle LBB0_36
## %bb.32: ## in Loop: Header=BB0_8 Depth=2
movss -112(%rbp), %xmm0 ## 4-byte Reload
## xmm0 = mem[0],zero,zero,zero
mulss -96(%rbp), %xmm0 ## 4-byte Folded Reload
movss %xmm0, -108(%rbp) ## 4-byte Spill
xorl %ebx, %ebx
movq %r15, %r12
jmp LBB0_33
.p2align 4, 0x90
LBB0_41: ## in Loop: Header=BB0_33 Depth=3
movd (%r15), %xmm0 ## xmm0 = mem[0],zero,zero,zero
LBB0_42: ## in Loop: Header=BB0_33 Depth=3
mulss -108(%rbp), %xmm0 ## 4-byte Folded Reload
addss -64(%rbp,%rbx,4), %xmm0
movss %xmm0, -64(%rbp,%rbx,4)
incq %rbx
addq %r13, %r15
cmpq %rbx, %r10
je LBB0_43
LBB0_33: ## Parent Loop BB0_6 Depth=1
## Parent Loop BB0_8 Depth=2
## => This Inner Loop Header: Depth=3
testl %esi, %esi
je LBB0_41
## %bb.34: ## in Loop: Header=BB0_33 Depth=3
movq %r15, %rdi
callq ___GLU_SWAP_2_BYTES
movaps -176(%rbp), %xmm4 ## 16-byte Reload
movq -104(%rbp), %r10 ## 8-byte Reload
movaps -160(%rbp), %xmm3 ## 16-byte Reload
movss -68(%rbp), %xmm2 ## 4-byte Reload
## xmm2 = mem[0],zero,zero,zero
movl 48(%rbp), %esi
movd %eax, %xmm0
jmp LBB0_42
.p2align 4, 0x90
LBB0_82: ## in Loop: Header=BB0_8 Depth=2
cmpl %r11d, %ecx
jle LBB0_103
## %bb.83: ## in Loop: Header=BB0_8 Depth=2
movslq %edx, %rax
addq -208(%rbp), %rax ## 8-byte Folded Reload
movq %rax, -80(%rbp) ## 8-byte Spill
testl %r12d, %r12d
jle LBB0_89
## %bb.84: ## in Loop: Header=BB0_8 Depth=2
movss LCPI0_0(%rip), %xmm1 ## xmm1 = [1.0E+0,0.0E+0,0.0E+0,0.0E+0]
subss %xmm0, %xmm1
mulss -136(%rbp), %xmm1 ## 4-byte Folded Reload
movss %xmm1, -96(%rbp) ## 4-byte Spill
xorl %r15d, %r15d
movq -80(%rbp), %r14 ## 8-byte Reload
jmp LBB0_85
.p2align 4, 0x90
LBB0_87: ## in Loop: Header=BB0_85 Depth=3
movd (%r14), %xmm0 ## xmm0 = mem[0],zero,zero,zero
LBB0_88: ## in Loop: Header=BB0_85 Depth=3
mulss -96(%rbp), %xmm0 ## 4-byte Folded Reload
addss -64(%rbp,%r15,4), %xmm0
movss %xmm0, -64(%rbp,%r15,4)
incq %r15
addq %r13, %r14
cmpq %r15, %r10
je LBB0_89
LBB0_85: ## Parent Loop BB0_6 Depth=1
## Parent Loop BB0_8 Depth=2
## => This Inner Loop Header: Depth=3
testl %esi, %esi
je LBB0_87
## %bb.86: ## in Loop: Header=BB0_85 Depth=3
movq %r14, %rdi
callq ___GLU_SWAP_2_BYTES
movaps -176(%rbp), %xmm4 ## 16-byte Reload
movq -104(%rbp), %r10 ## 8-byte Reload
movaps -160(%rbp), %xmm3 ## 16-byte Reload
movss -68(%rbp), %xmm2 ## 4-byte Reload
## xmm2 = mem[0],zero,zero,zero
movl 48(%rbp), %esi
movd %eax, %xmm0
jmp LBB0_88
.p2align 4, 0x90
LBB0_68: ## in Loop: Header=BB0_8 Depth=2
movl -132(%rbp), %eax ## 4-byte Reload
movl %eax, %r15d
cmpl -120(%rbp), %eax ## 4-byte Folded Reload
jl LBB0_74
LBB0_69: ## in Loop: Header=BB0_8 Depth=2
testl %r12d, %r12d
movq -96(%rbp), %r14 ## 8-byte Reload
jle LBB0_109
## %bb.70: ## in Loop: Header=BB0_8 Depth=2
movss -80(%rbp), %xmm0 ## 4-byte Reload
## xmm0 = mem[0],zero,zero,zero
mulss -112(%rbp), %xmm0 ## 4-byte Folded Reload
movss %xmm0, -80(%rbp) ## 4-byte Spill
addq -232(%rbp), %r14 ## 8-byte Folded Reload
xorl %ebx, %ebx
jmp LBB0_71
.p2align 4, 0x90
LBB0_73: ## in Loop: Header=BB0_74 Depth=3
incl %r15d
cmpl -120(%rbp), %r15d ## 4-byte Folded Reload
je LBB0_69
LBB0_74: ## Parent Loop BB0_6 Depth=1
## Parent Loop BB0_8 Depth=2
## => This Loop Header: Depth=3
## Child Loop BB0_76 Depth 4
movq -96(%rbp), %rax ## 8-byte Reload
addq -232(%rbp), %rax ## 8-byte Folded Reload
movq %rax, -96(%rbp) ## 8-byte Spill
testl %r12d, %r12d
jle LBB0_73
## %bb.75: ## in Loop: Header=BB0_74 Depth=3
xorl %ebx, %ebx
movq -96(%rbp), %r14 ## 8-byte Reload
jmp LBB0_76
.p2align 4, 0x90
LBB0_77: ## in Loop: Header=BB0_76 Depth=4
movq %r14, %rdi
callq ___GLU_SWAP_2_BYTES
movaps -176(%rbp), %xmm4 ## 16-byte Reload
movq -104(%rbp), %r10 ## 8-byte Reload
movaps -160(%rbp), %xmm3 ## 16-byte Reload
movss -68(%rbp), %xmm2 ## 4-byte Reload
## xmm2 = mem[0],zero,zero,zero
movl 48(%rbp), %esi
movd %eax, %xmm0
LBB0_79: ## in Loop: Header=BB0_76 Depth=4
mulss -80(%rbp), %xmm0 ## 4-byte Folded Reload
addss -64(%rbp,%rbx,4), %xmm0
movss %xmm0, -64(%rbp,%rbx,4)
incq %rbx
addq %r13, %r14
cmpq %rbx, %r10
je LBB0_73
LBB0_76: ## Parent Loop BB0_6 Depth=1
## Parent Loop BB0_8 Depth=2
## Parent Loop BB0_74 Depth=3
## => This Inner Loop Header: Depth=4
testl %esi, %esi
jne LBB0_77
## %bb.78: ## in Loop: Header=BB0_76 Depth=4
movd (%r14), %xmm0 ## xmm0 = mem[0],zero,zero,zero
jmp LBB0_79
.p2align 4, 0x90
LBB0_80: ## in Loop: Header=BB0_71 Depth=3
movd (%r14), %xmm0 ## xmm0 = mem[0],zero,zero,zero
LBB0_81: ## in Loop: Header=BB0_71 Depth=3
mulss -80(%rbp), %xmm0 ## 4-byte Folded Reload
addss -64(%rbp,%rbx,4), %xmm0
movss %xmm0, -64(%rbp,%rbx,4)
incq %rbx
addq %r13, %r14
cmpq %rbx, %r10
je LBB0_109
LBB0_71: ## Parent Loop BB0_6 Depth=1
## Parent Loop BB0_8 Depth=2
## => This Inner Loop Header: Depth=3
testl %esi, %esi
je LBB0_80
## %bb.72: ## in Loop: Header=BB0_71 Depth=3
movq %r14, %rdi
callq ___GLU_SWAP_2_BYTES
movaps -176(%rbp), %xmm4 ## 16-byte Reload
movq -104(%rbp), %r10 ## 8-byte Reload
movaps -160(%rbp), %xmm3 ## 16-byte Reload
movss -68(%rbp), %xmm2 ## 4-byte Reload
## xmm2 = mem[0],zero,zero,zero
movl 48(%rbp), %esi
movd %eax, %xmm0
jmp LBB0_81
LBB0_43: ## in Loop: Header=BB0_8 Depth=2
movq %r12, %r15
jmp LBB0_36
LBB0_35: ## in Loop: Header=BB0_8 Depth=2
movq -264(%rbp), %r15 ## 8-byte Reload
addq -256(%rbp), %r15 ## 8-byte Folded Reload
LBB0_36: ## in Loop: Header=BB0_8 Depth=2
movq %r15, %r12
movl -80(%rbp), %eax ## 4-byte Reload
cmpl -128(%rbp), %eax ## 4-byte Folded Reload
jl LBB0_37
LBB0_47: ## in Loop: Header=BB0_8 Depth=2
cmpl $0, -88(%rbp) ## 4-byte Folded Reload
movq -224(%rbp), %rbx ## 8-byte Reload
jle LBB0_53
## %bb.48: ## in Loop: Header=BB0_8 Depth=2
movss -112(%rbp), %xmm0 ## 4-byte Reload
## xmm0 = mem[0],zero,zero,zero
mulss -84(%rbp), %xmm0 ## 4-byte Folded Reload
movss %xmm0, -80(%rbp) ## 4-byte Spill
addq -184(%rbp), %r12 ## 8-byte Folded Reload
xorl %r15d, %r15d
jmp LBB0_49
.p2align 4, 0x90
LBB0_46: ## in Loop: Header=BB0_37 Depth=3
movl -80(%rbp), %eax ## 4-byte Reload
incl %eax
movl %eax, -80(%rbp) ## 4-byte Spill
cmpl -128(%rbp), %eax ## 4-byte Folded Reload
je LBB0_47
LBB0_37: ## Parent Loop BB0_6 Depth=1
## Parent Loop BB0_8 Depth=2
## => This Loop Header: Depth=3
## Child Loop BB0_39 Depth 4
addq -184(%rbp), %r12 ## 8-byte Folded Reload
cmpl $0, -88(%rbp) ## 4-byte Folded Reload
jle LBB0_46
## %bb.38: ## in Loop: Header=BB0_37 Depth=3
xorl %ebx, %ebx
movq %r12, %r15
jmp LBB0_39
.p2align 4, 0x90
LBB0_40: ## in Loop: Header=BB0_39 Depth=4
movq %r15, %rdi
callq ___GLU_SWAP_2_BYTES
movaps -176(%rbp), %xmm4 ## 16-byte Reload
movq -104(%rbp), %r10 ## 8-byte Reload
movaps -160(%rbp), %xmm3 ## 16-byte Reload
movss -68(%rbp), %xmm2 ## 4-byte Reload
## xmm2 = mem[0],zero,zero,zero
movl 48(%rbp), %esi
movd %eax, %xmm0
LBB0_45: ## in Loop: Header=BB0_39 Depth=4
mulss -112(%rbp), %xmm0 ## 4-byte Folded Reload
addss -64(%rbp,%rbx,4), %xmm0
movss %xmm0, -64(%rbp,%rbx,4)
incq %rbx
addq %r13, %r15
cmpq %rbx, %r10
je LBB0_46
LBB0_39: ## Parent Loop BB0_6 Depth=1
## Parent Loop BB0_8 Depth=2
## Parent Loop BB0_37 Depth=3
## => This Inner Loop Header: Depth=4
testl %esi, %esi
jne LBB0_40
## %bb.44: ## in Loop: Header=BB0_39 Depth=4
movd (%r15), %xmm0 ## xmm0 = mem[0],zero,zero,zero
jmp LBB0_45
.p2align 4, 0x90
LBB0_51: ## in Loop: Header=BB0_49 Depth=3
movd (%r12), %xmm0 ## xmm0 = mem[0],zero,zero,zero
LBB0_52: ## in Loop: Header=BB0_49 Depth=3
mulss -80(%rbp), %xmm0 ## 4-byte Folded Reload
addss -64(%rbp,%r15,4), %xmm0
movss %xmm0, -64(%rbp,%r15,4)
incq %r15
addq %r13, %r12
cmpq %r15, %r10
je LBB0_53
LBB0_49: ## Parent Loop BB0_6 Depth=1
## Parent Loop BB0_8 Depth=2
## => This Inner Loop Header: Depth=3
testl %esi, %esi
je LBB0_51
## %bb.50: ## in Loop: Header=BB0_49 Depth=3
movq %r12, %rdi
callq ___GLU_SWAP_2_BYTES
movaps -176(%rbp), %xmm4 ## 16-byte Reload
movq -104(%rbp), %r10 ## 8-byte Reload
movaps -160(%rbp), %xmm3 ## 16-byte Reload
movss -68(%rbp), %xmm2 ## 4-byte Reload
## xmm2 = mem[0],zero,zero,zero
movl 48(%rbp), %esi
movd %eax, %xmm0
jmp LBB0_52
.p2align 4, 0x90
LBB0_53: ## in Loop: Header=BB0_8 Depth=2
movl -132(%rbp), %eax ## 4-byte Reload
movl %eax, %ecx
cmpl -120(%rbp), %eax ## 4-byte Folded Reload
movl -88(%rbp), %r12d ## 4-byte Reload
jl LBB0_55
jmp LBB0_121
.p2align 4, 0x90
LBB0_54: ## in Loop: Header=BB0_55 Depth=3
movl -108(%rbp), %ecx ## 4-byte Reload
incl %ecx
cmpl -120(%rbp), %ecx ## 4-byte Folded Reload
je LBB0_109
LBB0_55: ## Parent Loop BB0_6 Depth=1
## Parent Loop BB0_8 Depth=2
## => This Loop Header: Depth=3
## Child Loop BB0_57 Depth 4
movl %ecx, -108(%rbp) ## 4-byte Spill
movq -232(%rbp), %rax ## 8-byte Reload
addq %rax, %rbx
addq %rax, %r14
testl %r12d, %r12d
jle LBB0_54
## %bb.56: ## in Loop: Header=BB0_55 Depth=3
xorl %r15d, %r15d
jmp LBB0_57
.p2align 4, 0x90
LBB0_58: ## in Loop: Header=BB0_57 Depth=4
movq %rbx, %rdi
callq ___GLU_SWAP_2_BYTES
movd %eax, %xmm0
mulss -96(%rbp), %xmm0 ## 4-byte Folded Reload
addss -64(%rbp,%r15,4), %xmm0
movss %xmm0, -80(%rbp) ## 4-byte Spill
movq %r14, %rdi
callq ___GLU_SWAP_2_BYTES
movaps -176(%rbp), %xmm4 ## 16-byte Reload
movq -104(%rbp), %r10 ## 8-byte Reload
movaps -160(%rbp), %xmm3 ## 16-byte Reload
movss -68(%rbp), %xmm2 ## 4-byte Reload
## xmm2 = mem[0],zero,zero,zero
movl 48(%rbp), %esi
movd %eax, %xmm0
mulss -84(%rbp), %xmm0 ## 4-byte Folded Reload
addss -80(%rbp), %xmm0 ## 4-byte Folded Reload
movss %xmm0, -64(%rbp,%r15,4)
LBB0_60: ## in Loop: Header=BB0_57 Depth=4
incq %r15
addq %r13, %rbx
addq %r13, %r14
cmpq %r15, %r10
je LBB0_54
LBB0_57: ## Parent Loop BB0_6 Depth=1
## Parent Loop BB0_8 Depth=2
## Parent Loop BB0_55 Depth=3
## => This Inner Loop Header: Depth=4
testl %esi, %esi
jne LBB0_58
## %bb.59: ## in Loop: Header=BB0_57 Depth=4
movss (%r14), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss -84(%rbp), %xmm0 ## 4-byte Folded Reload
movss (%rbx), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss -96(%rbp), %xmm1 ## 4-byte Folded Reload
addss %xmm0, %xmm1
addss -64(%rbp,%r15,4), %xmm1
movss %xmm1, -64(%rbp,%r15,4)
jmp LBB0_60
LBB0_103: ## in Loop: Header=BB0_8 Depth=2
testl %r12d, %r12d
jle LBB0_109
## %bb.104: ## in Loop: Header=BB0_8 Depth=2
movss -84(%rbp), %xmm1 ## 4-byte Reload
## xmm1 = mem[0],zero,zero,zero
subss %xmm0, %xmm1
mulss -136(%rbp), %xmm1 ## 4-byte Folded Reload
movss %xmm1, -80(%rbp) ## 4-byte Spill
movslq -200(%rbp), %rbx ## 4-byte Folded Reload
addq -208(%rbp), %rbx ## 8-byte Folded Reload
xorl %r14d, %r14d
jmp LBB0_105
.p2align 4, 0x90
LBB0_107: ## in Loop: Header=BB0_105 Depth=3
movd (%rbx), %xmm0 ## xmm0 = mem[0],zero,zero,zero
LBB0_108: ## in Loop: Header=BB0_105 Depth=3
mulss -80(%rbp), %xmm0 ## 4-byte Folded Reload
addss -64(%rbp,%r14,4), %xmm0
movss %xmm0, -64(%rbp,%r14,4)
incq %r14
addq %r13, %rbx
cmpq %r14, %r10
je LBB0_109
LBB0_105: ## Parent Loop BB0_6 Depth=1
## Parent Loop BB0_8 Depth=2
## => This Inner Loop Header: Depth=3
testl %esi, %esi
je LBB0_107
## %bb.106: ## in Loop: Header=BB0_105 Depth=3
movq %rbx, %rdi
callq ___GLU_SWAP_2_BYTES
movaps -176(%rbp), %xmm4 ## 16-byte Reload
movq -104(%rbp), %r10 ## 8-byte Reload
movaps -160(%rbp), %xmm3 ## 16-byte Reload
movss -68(%rbp), %xmm2 ## 4-byte Reload
## xmm2 = mem[0],zero,zero,zero
movl 48(%rbp), %esi
movd %eax, %xmm0
jmp LBB0_108
LBB0_89: ## in Loop: Header=BB0_8 Depth=2
movq -192(%rbp), %rax ## 8-byte Reload
leal 1(%rax), %r15d
cmpl -128(%rbp), %r15d ## 4-byte Folded Reload
jl LBB0_95
LBB0_90: ## in Loop: Header=BB0_8 Depth=2
testl %r12d, %r12d
movq -80(%rbp), %r14 ## 8-byte Reload
jle LBB0_109
## %bb.91: ## in Loop: Header=BB0_8 Depth=2
movss -136(%rbp), %xmm0 ## 4-byte Reload
## xmm0 = mem[0],zero,zero,zero
mulss -84(%rbp), %xmm0 ## 4-byte Folded Reload
movss %xmm0, -96(%rbp) ## 4-byte Spill
addq -184(%rbp), %r14 ## 8-byte Folded Reload
xorl %ebx, %ebx
jmp LBB0_92
.p2align 4, 0x90
LBB0_94: ## in Loop: Header=BB0_95 Depth=3
incl %r15d
cmpl -128(%rbp), %r15d ## 4-byte Folded Reload
je LBB0_90
LBB0_95: ## Parent Loop BB0_6 Depth=1
## Parent Loop BB0_8 Depth=2
## => This Loop Header: Depth=3
## Child Loop BB0_97 Depth 4
movq -80(%rbp), %rax ## 8-byte Reload
addq -184(%rbp), %rax ## 8-byte Folded Reload
movq %rax, -80(%rbp) ## 8-byte Spill
testl %r12d, %r12d
jle LBB0_94
## %bb.96: ## in Loop: Header=BB0_95 Depth=3
xorl %ebx, %ebx
movq -80(%rbp), %r14 ## 8-byte Reload
jmp LBB0_97
.p2align 4, 0x90
LBB0_98: ## in Loop: Header=BB0_97 Depth=4
movq %r14, %rdi
callq ___GLU_SWAP_2_BYTES
movaps -176(%rbp), %xmm4 ## 16-byte Reload
movq -104(%rbp), %r10 ## 8-byte Reload
movaps -160(%rbp), %xmm3 ## 16-byte Reload
movss -68(%rbp), %xmm2 ## 4-byte Reload
## xmm2 = mem[0],zero,zero,zero
movl 48(%rbp), %esi
movd %eax, %xmm0
LBB0_100: ## in Loop: Header=BB0_97 Depth=4
mulss -136(%rbp), %xmm0 ## 4-byte Folded Reload
addss -64(%rbp,%rbx,4), %xmm0
movss %xmm0, -64(%rbp,%rbx,4)
incq %rbx
addq %r13, %r14
cmpq %rbx, %r10
je LBB0_94
LBB0_97: ## Parent Loop BB0_6 Depth=1
## Parent Loop BB0_8 Depth=2
## Parent Loop BB0_95 Depth=3
## => This Inner Loop Header: Depth=4
testl %esi, %esi
jne LBB0_98
## %bb.99: ## in Loop: Header=BB0_97 Depth=4
movd (%r14), %xmm0 ## xmm0 = mem[0],zero,zero,zero
jmp LBB0_100
.p2align 4, 0x90
LBB0_101: ## in Loop: Header=BB0_92 Depth=3
movd (%r14), %xmm0 ## xmm0 = mem[0],zero,zero,zero
LBB0_102: ## in Loop: Header=BB0_92 Depth=3
mulss -96(%rbp), %xmm0 ## 4-byte Folded Reload
addss -64(%rbp,%rbx,4), %xmm0
movss %xmm0, -64(%rbp,%rbx,4)
incq %rbx
addq %r13, %r14
cmpq %rbx, %r10
je LBB0_109
LBB0_92: ## Parent Loop BB0_6 Depth=1
## Parent Loop BB0_8 Depth=2
## => This Inner Loop Header: Depth=3
testl %esi, %esi
je LBB0_101
## %bb.93: ## in Loop: Header=BB0_92 Depth=3
movq %r14, %rdi
callq ___GLU_SWAP_2_BYTES
movaps -176(%rbp), %xmm4 ## 16-byte Reload
movq -104(%rbp), %r10 ## 8-byte Reload
movaps -160(%rbp), %xmm3 ## 16-byte Reload
movss -68(%rbp), %xmm2 ## 4-byte Reload
## xmm2 = mem[0],zero,zero,zero
movl 48(%rbp), %esi
movd %eax, %xmm0
jmp LBB0_102
.p2align 4, 0x90
LBB0_109: ## in Loop: Header=BB0_8 Depth=2
movl -132(%rbp), %eax ## 4-byte Reload
cmpl -120(%rbp), %eax ## 4-byte Folded Reload
jge LBB0_121
## %bb.110: ## in Loop: Header=BB0_8 Depth=2
movslq -200(%rbp), %rax ## 4-byte Folded Reload
addq -320(%rbp), %rax ## 8-byte Folded Reload
movq %rax, -80(%rbp) ## 8-byte Spill
movq -192(%rbp), %rax ## 8-byte Reload
incl %eax
movq %rax, -192(%rbp) ## 8-byte Spill
movl -132(%rbp), %eax ## 4-byte Reload
jmp LBB0_111
.p2align 4, 0x90
LBB0_120: ## in Loop: Header=BB0_111 Depth=3
movq -80(%rbp), %rax ## 8-byte Reload
addq -232(%rbp), %rax ## 8-byte Folded Reload
movq %rax, -80(%rbp) ## 8-byte Spill
movl -96(%rbp), %eax ## 4-byte Reload
incl %eax
cmpl -120(%rbp), %eax ## 4-byte Folded Reload
je LBB0_121
LBB0_111: ## Parent Loop BB0_6 Depth=1
## Parent Loop BB0_8 Depth=2
## => This Loop Header: Depth=3
## Child Loop BB0_113 Depth 4
## Child Loop BB0_115 Depth 5
movl %eax, -96(%rbp) ## 4-byte Spill
movq -192(%rbp), %rax ## 8-byte Reload
cmpl -128(%rbp), %eax ## 4-byte Folded Reload
jge LBB0_120
## %bb.112: ## in Loop: Header=BB0_111 Depth=3
movq -192(%rbp), %rax ## 8-byte Reload
movl %eax, %r14d
movq -80(%rbp), %r15 ## 8-byte Reload
jmp LBB0_113
.p2align 4, 0x90
LBB0_119: ## in Loop: Header=BB0_113 Depth=4
addq -184(%rbp), %r15 ## 8-byte Folded Reload
incl %r14d
cmpl -128(%rbp), %r14d ## 4-byte Folded Reload
movl -88(%rbp), %r12d ## 4-byte Reload
je LBB0_120
LBB0_113: ## Parent Loop BB0_6 Depth=1
## Parent Loop BB0_8 Depth=2
## Parent Loop BB0_111 Depth=3
## => This Loop Header: Depth=4
## Child Loop BB0_115 Depth 5
testl %r12d, %r12d
jle LBB0_119
## %bb.114: ## in Loop: Header=BB0_113 Depth=4
xorl %r12d, %r12d
movq %r15, %rbx
jmp LBB0_115
.p2align 4, 0x90
LBB0_117: ## in Loop: Header=BB0_115 Depth=5
movd (%rbx), %xmm0 ## xmm0 = mem[0],zero,zero,zero
LBB0_118: ## in Loop: Header=BB0_115 Depth=5
addss -64(%rbp,%r12,4), %xmm0
movss %xmm0, -64(%rbp,%r12,4)
incq %r12
addq %r13, %rbx
cmpq %r12, %r10
je LBB0_119
LBB0_115: ## Parent Loop BB0_6 Depth=1
## Parent Loop BB0_8 Depth=2
## Parent Loop BB0_111 Depth=3
## Parent Loop BB0_113 Depth=4
## => This Inner Loop Header: Depth=5
testl %esi, %esi
je LBB0_117
## %bb.116: ## in Loop: Header=BB0_115 Depth=5
movq %rbx, %rdi
callq ___GLU_SWAP_2_BYTES
movaps -176(%rbp), %xmm4 ## 16-byte Reload
movq -104(%rbp), %r10 ## 8-byte Reload
movaps -160(%rbp), %xmm3 ## 16-byte Reload
movss -68(%rbp), %xmm2 ## 4-byte Reload
## xmm2 = mem[0],zero,zero,zero
movl 48(%rbp), %esi
movd %eax, %xmm0
jmp LBB0_118
.p2align 4, 0x90
LBB0_121: ## in Loop: Header=BB0_8 Depth=2
testl %r12d, %r12d
movq -360(%rbp), %rdi ## 8-byte Reload
movq -352(%rbp), %r8 ## 8-byte Reload
movq -344(%rbp), %rcx ## 8-byte Reload
movq -376(%rbp), %rbx ## 8-byte Reload
movq -368(%rbp), %r9 ## 8-byte Reload
jle LBB0_126
## %bb.122: ## in Loop: Header=BB0_8 Depth=2
xorl %eax, %eax
cmpl $4, %r12d
jb LBB0_125
.p2align 4, 0x90
LBB0_123: ## Parent Loop BB0_6 Depth=1
## Parent Loop BB0_8 Depth=2
## => This Inner Loop Header: Depth=3
movaps -64(%rbp,%rax), %xmm0
divps %xmm4, %xmm0
movups %xmm0, (%r9,%rax)
addq $16, %rax
cmpq %rax, %rcx
jne LBB0_123
## %bb.124: ## in Loop: Header=BB0_8 Depth=2
movq -312(%rbp), %rcx ## 8-byte Reload
movq %rcx, %rax
cmpl %r10d, %ecx
je LBB0_126
.p2align 4, 0x90
LBB0_125: ## Parent Loop BB0_6 Depth=1
## Parent Loop BB0_8 Depth=2
## => This Inner Loop Header: Depth=3
movss -64(%rbp,%rax,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
divss %xmm3, %xmm0
movss %xmm0, (%r9,%rax,4)
incq %rax
cmpq %rax, %r10
jne LBB0_125
LBB0_126: ## in Loop: Header=BB0_8 Depth=2
movss -196(%rbp), %xmm0 ## 4-byte Reload
## xmm0 = mem[0],zero,zero,zero
addss -84(%rbp), %xmm0 ## 4-byte Folded Reload
xorl %eax, %eax
ucomiss LCPI0_0(%rip), %xmm0
seta %cl
movaps %xmm0, %xmm1
addss LCPI0_1(%rip), %xmm1
movq -128(%rbp), %r11 ## 8-byte Reload
ja LBB0_128
## %bb.127: ## in Loop: Header=BB0_8 Depth=2
movaps %xmm0, %xmm1
jmp LBB0_128
.p2align 4, 0x90
LBB0_129: ## in Loop: Header=BB0_6 Depth=1
movaps %xmm2, %xmm0
addss -112(%rbp), %xmm0 ## 4-byte Folded Reload
xorl %r9d, %r9d
ucomiss LCPI0_0(%rip), %xmm0
seta %cl
movaps %xmm0, %xmm1
addss LCPI0_1(%rip), %xmm1
ja LBB0_131
## %bb.130: ## in Loop: Header=BB0_6 Depth=1
movaps %xmm0, %xmm1
jmp LBB0_131
LBB0_2:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_132
## %bb.3:
addq $344, %rsp ## imm = 0x158
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_132:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.no_dead_strip _scale_internal_short
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function scale_internal_short
_scale_internal_short: ; @scale_internal_short
.cfi_startproc
; %bb.0:
sub sp, sp, #448
stp d15, d14, [sp, #288] ; 16-byte Folded Spill
stp d13, d12, [sp, #304] ; 16-byte Folded Spill
stp d11, d10, [sp, #320] ; 16-byte Folded Spill
stp d9, d8, [sp, #336] ; 16-byte Folded Spill
stp x28, x27, [sp, #352] ; 16-byte Folded Spill
stp x26, x25, [sp, #368] ; 16-byte Folded Spill
stp x24, x23, [sp, #384] ; 16-byte Folded Spill
stp x22, x21, [sp, #400] ; 16-byte Folded Spill
stp x20, x19, [sp, #416] ; 16-byte Folded Spill
stp x29, x30, [sp, #432] ; 16-byte Folded Spill
add x29, sp, #432
.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
.cfi_offset b8, -104
.cfi_offset b9, -112
.cfi_offset b10, -120
.cfi_offset b11, -128
.cfi_offset b12, -136
.cfi_offset b13, -144
.cfi_offset b14, -152
.cfi_offset b15, -160
mov x23, x7
str x6, [sp, #56] ; 8-byte Folded Spill
mov x26, x5
mov x20, x4
str x3, [sp, #8] ; 8-byte Folded Spill
; kill: def $w0 killed $w0 def $x0
stur x0, [x29, #-184] ; 8-byte Folded Spill
ldp w28, w21, [x29, #20]
ldr w27, [x29, #16]
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-160]
cmp w1, w4, lsl #1
b.ne LBB0_4
; %bb.1:
lsl w8, w26, #1
cmp w8, w2
b.ne LBB0_4
; %bb.2:
str w21, [x29, #16]
ldur x8, [x29, #-160]
Lloh3:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh4:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_132
; %bb.3:
ldur x0, [x29, #-184] ; 8-byte Folded Reload
; kill: def $w0 killed $w0 killed $x0
ldr x3, [sp, #8] ; 8-byte Folded Reload
ldr x4, [sp, #56] ; 8-byte Folded Reload
mov x5, x23
mov x6, x27
mov x7, x28
ldp x29, x30, [sp, #432] ; 16-byte Folded Reload
ldp x20, x19, [sp, #416] ; 16-byte Folded Reload
ldp x22, x21, [sp, #400] ; 16-byte Folded Reload
ldp x24, x23, [sp, #384] ; 16-byte Folded Reload
ldp x26, x25, [sp, #368] ; 16-byte Folded Reload
ldp x28, x27, [sp, #352] ; 16-byte Folded Reload
ldp d9, d8, [sp, #336] ; 16-byte Folded Reload
ldp d11, d10, [sp, #320] ; 16-byte Folded Reload
ldp d13, d12, [sp, #304] ; 16-byte Folded Reload
ldp d15, d14, [sp, #288] ; 16-byte Folded Reload
add sp, sp, #448
b _halveImage_short
LBB0_4:
mov x19, x2
scvtf s0, w2
scvtf s1, w26
fdiv s8, s0, s1
scvtf s0, w1
scvtf s1, w20
fdiv s9, s0, s1
fmov s0, s8
bl _floor
mov x22, x0
fmov s0, s9
bl _floor
cmp w26, #1
b.lt LBB0_130
; %bb.5:
str xzr, [sp, #168] ; 8-byte Folded Spill
scvtf s0, w22
scvtf s1, w0
fsub s2, s8, s0
fsub s11, s9, s1
fmul s0, s9, s8
str q0, [sp, #144] ; 16-byte Folded Spill
mov x9, x19
sub w8, w19, #1
str w8, [sp, #28] ; 4-byte Folded Spill
sxtw x24, w23
sxtw x10, w28
sxtw x8, w27
str x8, [sp, #216] ; 8-byte Folded Spill
ldr x8, [sp, #8] ; 8-byte Folded Reload
stur x10, [x29, #-192] ; 8-byte Folded Spill
add x8, x8, x10
str x8, [sp] ; 8-byte Folded Spill
mov w8, w20
str x8, [sp, #136] ; 8-byte Folded Spill
ldur x10, [x29, #-184] ; 8-byte Folded Reload
mov w8, w10
dup.4s v0, v0[0]
str q0, [sp, #112] ; 16-byte Folded Spill
stur x8, [x29, #-200] ; 8-byte Folded Spill
and x8, x8, #0x7ffffff0
str x8, [sp, #88] ; 8-byte Folded Spill
ldr x8, [sp, #56] ; 8-byte Folded Reload
add x8, x8, #32
str x8, [sp, #48] ; 8-byte Folded Spill
stp w22, w20, [sp, #36] ; 8-byte Folded Spill
smull x8, w20, w10
neg x8, x8, lsl #2
str x8, [sp, #16] ; 8-byte Folded Spill
sbfiz x8, x10, #2, #32
str x8, [sp, #104] ; 8-byte Folded Spill
sub x8, x29, #176
add x8, x8, #32
str x8, [sp, #64] ; 8-byte Folded Spill
movi d0, #0000000000000000
fmov s8, #1.00000000
str s2, [sp, #32] ; 4-byte Folded Spill
fmov s1, s2
str w0, [sp, #160] ; 4-byte Folded Spill
str w19, [sp, #44] ; 4-byte Folded Spill
b LBB0_7
LBB0_6: ; in Loop: Header=BB0_7 Depth=1
ldr w8, [sp, #36] ; 4-byte Folded Reload
ldur w11, [x29, #-204] ; 4-byte Folded Reload
add w8, w11, w8
ldr s0, [sp, #32] ; 4-byte Folded Reload
fadd s0, s0, s12
fmov s1, #-1.00000000
fadd s1, s0, s1
fcmp s0, s8
cinc w22, w8, gt
fcsel s1, s1, s0, gt
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldr x10, [sp, #16] ; 8-byte Folded Reload
add x9, x9, x10
str x9, [sp, #48] ; 8-byte Folded Spill
ldr x9, [sp, #56] ; 8-byte Folded Reload
add x9, x9, x10
str x9, [sp, #56] ; 8-byte Folded Spill
fmov s0, s12
mov x9, x11
str x9, [sp, #168] ; 8-byte Folded Spill
ldr w9, [sp, #44] ; 4-byte Folded Reload
LBB0_7: ; =>This Loop Header: Depth=1
; Child Loop BB0_10 Depth 2
; Child Loop BB0_94 Depth 3
; Child Loop BB0_51 Depth 3
; Child Loop BB0_100 Depth 3
; Child Loop BB0_104 Depth 4
; Child Loop BB0_108 Depth 3
; Child Loop BB0_23 Depth 3
; Child Loop BB0_57 Depth 3
; Child Loop BB0_61 Depth 4
; Child Loop BB0_65 Depth 3
; Child Loop BB0_16 Depth 3
; Child Loop BB0_28 Depth 3
; Child Loop BB0_32 Depth 4
; Child Loop BB0_38 Depth 3
; Child Loop BB0_44 Depth 3
; Child Loop BB0_72 Depth 3
; Child Loop BB0_76 Depth 4
; Child Loop BB0_80 Depth 3
; Child Loop BB0_84 Depth 3
; Child Loop BB0_88 Depth 4
; Child Loop BB0_113 Depth 3
; Child Loop BB0_116 Depth 4
; Child Loop BB0_120 Depth 5
; Child Loop BB0_126 Depth 3
; Child Loop BB0_129 Depth 3
fmov s12, s1
cmp w22, w9
ldr w9, [sp, #28] ; 4-byte Folded Reload
csel w8, w22, w9, lt
stur w8, [x29, #-204] ; 4-byte Folded Spill
ldr w8, [sp, #40] ; 4-byte Folded Reload
cmp w8, #1
b.lt LBB0_6
; %bb.8: ; in Loop: Header=BB0_7 Depth=1
mov x28, #0 ; =0x0
mov w19, #0 ; =0x0
fsub s13, s12, s0
ldr x11, [sp, #168] ; 8-byte Folded Reload
sxtw x8, w11
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr x10, [sp, #216] ; 8-byte Folded Reload
smaddl x11, w10, w11, x9
str x11, [sp, #96] ; 8-byte Folded Spill
fsub s14, s8, s0
add x11, x8, #1
ldur w8, [x29, #-204] ; 4-byte Folded Reload
smaddl x8, w10, w8, x9
str x8, [sp, #80] ; 8-byte Folded Spill
ldr x8, [sp] ; 8-byte Folded Reload
str x11, [sp, #176] ; 8-byte Folded Spill
madd x8, x11, x10, x8
str x8, [sp, #72] ; 8-byte Folded Spill
movi d15, #0000000000000000
ldp x13, x12, [sp, #48] ; 16-byte Folded Reload
fmov s1, s11
mov x8, x0
b LBB0_10
LBB0_9: ; in Loop: Header=BB0_10 Depth=2
add w8, w19, w0
fadd s0, s11, s15
fmov s1, #-1.00000000
fadd s1, s0, s1
fcmp s0, s8
cinc w8, w8, gt
fcsel s1, s1, s0, gt
add x28, x28, #1
ldr x9, [sp, #104] ; 8-byte Folded Reload
add x13, x13, x9
add x12, x12, x9
ldr x9, [sp, #136] ; 8-byte Folded Reload
cmp x28, x9
b.eq LBB0_6
LBB0_10: ; Parent Loop BB0_7 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_94 Depth 3
; Child Loop BB0_51 Depth 3
; Child Loop BB0_100 Depth 3
; Child Loop BB0_104 Depth 4
; Child Loop BB0_108 Depth 3
; Child Loop BB0_23 Depth 3
; Child Loop BB0_57 Depth 3
; Child Loop BB0_61 Depth 4
; Child Loop BB0_65 Depth 3
; Child Loop BB0_16 Depth 3
; Child Loop BB0_28 Depth 3
; Child Loop BB0_32 Depth 4
; Child Loop BB0_38 Depth 3
; Child Loop BB0_44 Depth 3
; Child Loop BB0_72 Depth 3
; Child Loop BB0_76 Depth 4
; Child Loop BB0_80 Depth 3
; Child Loop BB0_84 Depth 3
; Child Loop BB0_88 Depth 4
; Child Loop BB0_113 Depth 3
; Child Loop BB0_116 Depth 4
; Child Loop BB0_120 Depth 5
; Child Loop BB0_126 Depth 3
; Child Loop BB0_129 Depth 3
mov x22, x19
mov x19, x8
fmov s0, s15
fmov s15, s1
ldur x8, [x29, #-192] ; 8-byte Folded Reload
smull x10, w8, w22
stp xzr, xzr, [x29, #-176]
ldr x8, [sp, #168] ; 8-byte Folded Reload
ldur w9, [x29, #-204] ; 4-byte Folded Reload
cmp w9, w8
stp x12, x28, [sp, #192] ; 16-byte Folded Spill
str x13, [sp, #184] ; 8-byte Folded Spill
str w22, [sp, #164] ; 4-byte Folded Spill
str x10, [sp, #208] ; 8-byte Folded Spill
b.le LBB0_18
; %bb.11: ; in Loop: Header=BB0_10 Depth=2
cmp w19, w22
b.le LBB0_18
; %bb.12: ; in Loop: Header=BB0_10 Depth=2
ldr x8, [sp, #96] ; 8-byte Folded Reload
sub x26, x8, x10
fsub s10, s8, s0
ldur x8, [x29, #-184] ; 8-byte Folded Reload
cmp w8, #1
b.lt LBB0_25
; %bb.13: ; in Loop: Header=BB0_10 Depth=2
fmul s9, s14, s10
sub x20, x29, #176
ldur x23, [x29, #-200] ; 8-byte Folded Reload
mov x27, x26
b LBB0_16
LBB0_14: ; in Loop: Header=BB0_16 Depth=3
ldr s0, [x27]
LBB0_15: ; in Loop: Header=BB0_16 Depth=3
ldr s1, [x20]
fmadd s0, s0, s9, s1
str s0, [x20], #4
add x27, x27, x24
subs x23, x23, #1
b.eq LBB0_25
LBB0_16: ; Parent Loop BB0_7 Depth=1
; Parent Loop BB0_10 Depth=2
; => This Inner Loop Header: Depth=3
cbz w21, LBB0_14
; %bb.17: ; in Loop: Header=BB0_16 Depth=3
mov x0, x27
bl ___GLU_SWAP_2_BYTES
fmov s0, w0
b LBB0_15
LBB0_18: ; in Loop: Header=BB0_10 Depth=2
ldr x8, [sp, #168] ; 8-byte Folded Reload
ldur w9, [x29, #-204] ; 4-byte Folded Reload
cmp w9, w8
b.le LBB0_46
; %bb.19: ; in Loop: Header=BB0_10 Depth=2
fsub s10, s15, s0
ldr x8, [sp, #96] ; 8-byte Folded Reload
add x20, x8, w10, sxtw
ldur x8, [x29, #-184] ; 8-byte Folded Reload
cmp w8, #1
b.lt LBB0_53
; %bb.20: ; in Loop: Header=BB0_10 Depth=2
fmul s9, s14, s10
sub x25, x29, #176
ldur x23, [x29, #-200] ; 8-byte Folded Reload
mov x26, x20
b LBB0_23
LBB0_21: ; in Loop: Header=BB0_23 Depth=3
ldr s0, [x26]
LBB0_22: ; in Loop: Header=BB0_23 Depth=3
ldr s1, [x25]
fmadd s0, s0, s9, s1
str s0, [x25], #4
add x26, x26, x24
subs x23, x23, #1
b.eq LBB0_53
LBB0_23: ; Parent Loop BB0_7 Depth=1
; Parent Loop BB0_10 Depth=2
; => This Inner Loop Header: Depth=3
cbz w21, LBB0_21
; %bb.24: ; in Loop: Header=BB0_23 Depth=3
mov x0, x26
bl ___GLU_SWAP_2_BYTES
fmov s0, w0
b LBB0_22
LBB0_25: ; in Loop: Header=BB0_10 Depth=2
add w20, w22, #1
mov x25, x26
cmp w20, w19
b.ge LBB0_34
; %bb.26: ; in Loop: Header=BB0_10 Depth=2
mov x28, x20
mov x25, x26
b LBB0_28
LBB0_27: ; in Loop: Header=BB0_28 Depth=3
add w28, w28, #1
cmp w28, w19
b.eq LBB0_34
LBB0_28: ; Parent Loop BB0_7 Depth=1
; Parent Loop BB0_10 Depth=2
; => This Loop Header: Depth=3
; Child Loop BB0_32 Depth 4
ldp x9, x8, [x29, #-192] ; 16-byte Folded Reload
add x25, x25, x9
cmp w8, #1
b.lt LBB0_27
; %bb.29: ; in Loop: Header=BB0_28 Depth=3
sub x23, x29, #176
ldur x22, [x29, #-200] ; 8-byte Folded Reload
mov x27, x25
b LBB0_32
LBB0_30: ; in Loop: Header=BB0_32 Depth=4
mov x0, x27
bl ___GLU_SWAP_2_BYTES
fmov s0, w0
LBB0_31: ; in Loop: Header=BB0_32 Depth=4
ldr s1, [x23]
fmadd s0, s0, s14, s1
str s0, [x23], #4
add x27, x27, x24
subs x22, x22, #1
b.eq LBB0_27
LBB0_32: ; Parent Loop BB0_7 Depth=1
; Parent Loop BB0_10 Depth=2
; Parent Loop BB0_28 Depth=3
; => This Inner Loop Header: Depth=4
cbnz w21, LBB0_30
; %bb.33: ; in Loop: Header=BB0_32 Depth=4
ldr s0, [x27]
b LBB0_31
LBB0_34: ; in Loop: Header=BB0_10 Depth=2
ldp x9, x8, [x29, #-192] ; 16-byte Folded Reload
add x27, x25, x9
cmp w8, #1
b.lt LBB0_67
; %bb.35: ; in Loop: Header=BB0_10 Depth=2
fmul s9, s14, s15
sub x25, x29, #176
ldur x23, [x29, #-200] ; 8-byte Folded Reload
mov x28, x27
b LBB0_38
LBB0_36: ; in Loop: Header=BB0_38 Depth=3
ldr s0, [x28]
LBB0_37: ; in Loop: Header=BB0_38 Depth=3
ldr s1, [x25]
fmadd s0, s0, s9, s1
str s0, [x25], #4
add x28, x28, x24
subs x23, x23, #1
b.eq LBB0_40
LBB0_38: ; Parent Loop BB0_7 Depth=1
; Parent Loop BB0_10 Depth=2
; => This Inner Loop Header: Depth=3
cbz w21, LBB0_36
; %bb.39: ; in Loop: Header=BB0_38 Depth=3
mov x0, x28
bl ___GLU_SWAP_2_BYTES
fmov s0, w0
b LBB0_37
LBB0_40: ; in Loop: Header=BB0_10 Depth=2
ldr x8, [sp, #80] ; 8-byte Folded Reload
ldr x9, [sp, #208] ; 8-byte Folded Reload
add x25, x8, x9
ldur x8, [x29, #-184] ; 8-byte Folded Reload
cmp w8, #1
b.lt LBB0_68
; %bb.41: ; in Loop: Header=BB0_10 Depth=2
fmul s9, s12, s10
sub x23, x29, #176
ldur x22, [x29, #-200] ; 8-byte Folded Reload
mov x28, x25
b LBB0_44
LBB0_42: ; in Loop: Header=BB0_44 Depth=3
ldr s0, [x28]
LBB0_43: ; in Loop: Header=BB0_44 Depth=3
ldr s1, [x23]
fmadd s0, s0, s9, s1
str s0, [x23], #4
add x28, x28, x24
subs x22, x22, #1
b.eq LBB0_68
LBB0_44: ; Parent Loop BB0_7 Depth=1
; Parent Loop BB0_10 Depth=2
; => This Inner Loop Header: Depth=3
cbz w21, LBB0_42
; %bb.45: ; in Loop: Header=BB0_44 Depth=3
mov x0, x28
bl ___GLU_SWAP_2_BYTES
fmov s0, w0
b LBB0_43
LBB0_46: ; in Loop: Header=BB0_10 Depth=2
cmp w19, w22
b.le LBB0_90
; %bb.47: ; in Loop: Header=BB0_10 Depth=2
ldr x8, [sp, #96] ; 8-byte Folded Reload
add x20, x8, w10, sxtw
ldur x8, [x29, #-184] ; 8-byte Folded Reload
cmp w8, #1
b.lt LBB0_96
; %bb.48: ; in Loop: Header=BB0_10 Depth=2
fsub s0, s8, s0
fmul s9, s13, s0
sub x25, x29, #176
ldur x23, [x29, #-200] ; 8-byte Folded Reload
mov x26, x20
b LBB0_51
LBB0_49: ; in Loop: Header=BB0_51 Depth=3
ldr s0, [x26]
LBB0_50: ; in Loop: Header=BB0_51 Depth=3
ldr s1, [x25]
fmadd s0, s0, s9, s1
str s0, [x25], #4
add x26, x26, x24
subs x23, x23, #1
b.eq LBB0_96
LBB0_51: ; Parent Loop BB0_7 Depth=1
; Parent Loop BB0_10 Depth=2
; => This Inner Loop Header: Depth=3
cbz w21, LBB0_49
; %bb.52: ; in Loop: Header=BB0_51 Depth=3
mov x0, x26
bl ___GLU_SWAP_2_BYTES
fmov s0, w0
b LBB0_50
LBB0_53: ; in Loop: Header=BB0_10 Depth=2
ldr x9, [sp, #176] ; 8-byte Folded Reload
mov x25, x9
ldur w8, [x29, #-204] ; 4-byte Folded Reload
cmp w9, w8
b.lt LBB0_57
LBB0_54: ; in Loop: Header=BB0_10 Depth=2
ldur x8, [x29, #-184] ; 8-byte Folded Reload
cmp w8, #1
b.lt LBB0_110
; %bb.55: ; in Loop: Header=BB0_10 Depth=2
fmul s9, s12, s10
ldr x8, [sp, #216] ; 8-byte Folded Reload
add x26, x20, x8
sub x20, x29, #176
ldur x22, [x29, #-200] ; 8-byte Folded Reload
b LBB0_65
LBB0_56: ; in Loop: Header=BB0_57 Depth=3
add w25, w25, #1
ldur w8, [x29, #-204] ; 4-byte Folded Reload
cmp w25, w8
b.eq LBB0_54
LBB0_57: ; Parent Loop BB0_7 Depth=1
; Parent Loop BB0_10 Depth=2
; => This Loop Header: Depth=3
; Child Loop BB0_61 Depth 4
ldr x8, [sp, #216] ; 8-byte Folded Reload
add x20, x20, x8
ldur x8, [x29, #-184] ; 8-byte Folded Reload
cmp w8, #1
b.lt LBB0_56
; %bb.58: ; in Loop: Header=BB0_57 Depth=3
sub x23, x29, #176
ldur x22, [x29, #-200] ; 8-byte Folded Reload
mov x26, x20
b LBB0_61
LBB0_59: ; in Loop: Header=BB0_61 Depth=4
mov x0, x26
bl ___GLU_SWAP_2_BYTES
fmov s0, w0
LBB0_60: ; in Loop: Header=BB0_61 Depth=4
ldr s1, [x23]
fmadd s0, s0, s10, s1
str s0, [x23], #4
add x26, x26, x24
subs x22, x22, #1
b.eq LBB0_56
LBB0_61: ; Parent Loop BB0_7 Depth=1
; Parent Loop BB0_10 Depth=2
; Parent Loop BB0_57 Depth=3
; => This Inner Loop Header: Depth=4
cbnz w21, LBB0_59
; %bb.62: ; in Loop: Header=BB0_61 Depth=4
ldr s0, [x26]
b LBB0_60
LBB0_63: ; in Loop: Header=BB0_65 Depth=3
ldr s0, [x26]
LBB0_64: ; in Loop: Header=BB0_65 Depth=3
ldr s1, [x20]
fmadd s0, s0, s9, s1
str s0, [x20], #4
add x26, x26, x24
subs x22, x22, #1
b.eq LBB0_110
LBB0_65: ; Parent Loop BB0_7 Depth=1
; Parent Loop BB0_10 Depth=2
; => This Inner Loop Header: Depth=3
cbz w21, LBB0_63
; %bb.66: ; in Loop: Header=BB0_65 Depth=3
mov x0, x26
bl ___GLU_SWAP_2_BYTES
fmov s0, w0
b LBB0_64
LBB0_67: ; in Loop: Header=BB0_10 Depth=2
ldr x8, [sp, #80] ; 8-byte Folded Reload
ldr x9, [sp, #208] ; 8-byte Folded Reload
add x25, x8, x9
LBB0_68: ; in Loop: Header=BB0_10 Depth=2
cmp w20, w19
b.lt LBB0_72
LBB0_69: ; in Loop: Header=BB0_10 Depth=2
ldur x8, [x29, #-184] ; 8-byte Folded Reload
cmp w8, #1
b.lt LBB0_82
; %bb.70: ; in Loop: Header=BB0_10 Depth=2
fmul s9, s12, s15
ldp x23, x8, [x29, #-200] ; 16-byte Folded Reload
add x28, x25, x8
sub x20, x29, #176
b LBB0_80
LBB0_71: ; in Loop: Header=BB0_72 Depth=3
add w20, w20, #1
cmp w20, w19
b.eq LBB0_69
LBB0_72: ; Parent Loop BB0_7 Depth=1
; Parent Loop BB0_10 Depth=2
; => This Loop Header: Depth=3
; Child Loop BB0_76 Depth 4
ldp x9, x8, [x29, #-192] ; 16-byte Folded Reload
add x25, x25, x9
cmp w8, #1
b.lt LBB0_71
; %bb.73: ; in Loop: Header=BB0_72 Depth=3
sub x23, x29, #176
ldur x22, [x29, #-200] ; 8-byte Folded Reload
mov x28, x25
b LBB0_76
LBB0_74: ; in Loop: Header=BB0_76 Depth=4
mov x0, x28
bl ___GLU_SWAP_2_BYTES
fmov s0, w0
LBB0_75: ; in Loop: Header=BB0_76 Depth=4
ldr s1, [x23]
fmadd s0, s0, s12, s1
str s0, [x23], #4
add x28, x28, x24
subs x22, x22, #1
b.eq LBB0_71
LBB0_76: ; Parent Loop BB0_7 Depth=1
; Parent Loop BB0_10 Depth=2
; Parent Loop BB0_72 Depth=3
; => This Inner Loop Header: Depth=4
cbnz w21, LBB0_74
; %bb.77: ; in Loop: Header=BB0_76 Depth=4
ldr s0, [x28]
b LBB0_75
LBB0_78: ; in Loop: Header=BB0_80 Depth=3
ldr s0, [x28]
LBB0_79: ; in Loop: Header=BB0_80 Depth=3
ldr s1, [x20]
fmadd s0, s0, s9, s1
str s0, [x20], #4
add x28, x28, x24
subs x23, x23, #1
b.eq LBB0_82
LBB0_80: ; Parent Loop BB0_7 Depth=1
; Parent Loop BB0_10 Depth=2
; => This Inner Loop Header: Depth=3
cbz w21, LBB0_78
; %bb.81: ; in Loop: Header=BB0_80 Depth=3
mov x0, x28
bl ___GLU_SWAP_2_BYTES
fmov s0, w0
b LBB0_79
LBB0_82: ; in Loop: Header=BB0_10 Depth=2
ldr x9, [sp, #176] ; 8-byte Folded Reload
mov x20, x9
ldur w8, [x29, #-204] ; 4-byte Folded Reload
cmp w9, w8
b.lt LBB0_84
b LBB0_122
LBB0_83: ; in Loop: Header=BB0_84 Depth=3
add w20, w20, #1
ldur w8, [x29, #-204] ; 4-byte Folded Reload
cmp w20, w8
b.eq LBB0_110
LBB0_84: ; Parent Loop BB0_7 Depth=1
; Parent Loop BB0_10 Depth=2
; => This Loop Header: Depth=3
; Child Loop BB0_88 Depth 4
ldr x8, [sp, #216] ; 8-byte Folded Reload
add x26, x26, x8
add x27, x27, x8
ldur x8, [x29, #-184] ; 8-byte Folded Reload
cmp w8, #1
b.lt LBB0_83
; %bb.85: ; in Loop: Header=BB0_84 Depth=3
sub x25, x29, #176
ldur x28, [x29, #-200] ; 8-byte Folded Reload
b LBB0_88
LBB0_86: ; in Loop: Header=BB0_88 Depth=4
mov x0, x26
bl ___GLU_SWAP_2_BYTES
fmov s0, w0
ldr s1, [x25]
fmadd s9, s0, s10, s1
mov x0, x27
bl ___GLU_SWAP_2_BYTES
fmov s0, w0
fmadd s0, s0, s15, s9
LBB0_87: ; in Loop: Header=BB0_88 Depth=4
str s0, [x25], #4
add x26, x26, x24
add x27, x27, x24
subs x28, x28, #1
b.eq LBB0_83
LBB0_88: ; Parent Loop BB0_7 Depth=1
; Parent Loop BB0_10 Depth=2
; Parent Loop BB0_84 Depth=3
; => This Inner Loop Header: Depth=4
cbnz w21, LBB0_86
; %bb.89: ; in Loop: Header=BB0_88 Depth=4
ldr s0, [x26]
ldr s1, [x27]
fmul s1, s15, s1
fmadd s0, s0, s10, s1
ldr s1, [x25]
fadd s0, s1, s0
b LBB0_87
LBB0_90: ; in Loop: Header=BB0_10 Depth=2
ldur x8, [x29, #-184] ; 8-byte Folded Reload
cmp w8, #1
b.lt LBB0_110
; %bb.91: ; in Loop: Header=BB0_10 Depth=2
fsub s0, s15, s0
fmul s9, s13, s0
ldr x8, [sp, #96] ; 8-byte Folded Reload
ldr x9, [sp, #208] ; 8-byte Folded Reload
add x26, x8, w9, sxtw
sub x20, x29, #176
ldur x22, [x29, #-200] ; 8-byte Folded Reload
b LBB0_94
LBB0_92: ; in Loop: Header=BB0_94 Depth=3
ldr s0, [x26]
LBB0_93: ; in Loop: Header=BB0_94 Depth=3
ldr s1, [x20]
fmadd s0, s0, s9, s1
str s0, [x20], #4
add x26, x26, x24
subs x22, x22, #1
b.eq LBB0_110
LBB0_94: ; Parent Loop BB0_7 Depth=1
; Parent Loop BB0_10 Depth=2
; => This Inner Loop Header: Depth=3
cbz w21, LBB0_92
; %bb.95: ; in Loop: Header=BB0_94 Depth=3
mov x0, x26
bl ___GLU_SWAP_2_BYTES
fmov s0, w0
b LBB0_93
LBB0_96: ; in Loop: Header=BB0_10 Depth=2
add w25, w22, #1
cmp w25, w19
b.lt LBB0_100
LBB0_97: ; in Loop: Header=BB0_10 Depth=2
ldur x8, [x29, #-184] ; 8-byte Folded Reload
cmp w8, #1
b.lt LBB0_110
; %bb.98: ; in Loop: Header=BB0_10 Depth=2
fmul s9, s13, s15
ldp x22, x8, [x29, #-200] ; 16-byte Folded Reload
add x26, x20, x8
sub x20, x29, #176
b LBB0_108
LBB0_99: ; in Loop: Header=BB0_100 Depth=3
add w25, w25, #1
cmp w25, w19
b.eq LBB0_97
LBB0_100: ; Parent Loop BB0_7 Depth=1
; Parent Loop BB0_10 Depth=2
; => This Loop Header: Depth=3
; Child Loop BB0_104 Depth 4
ldp x9, x8, [x29, #-192] ; 16-byte Folded Reload
add x20, x20, x9
cmp w8, #1
b.lt LBB0_99
; %bb.101: ; in Loop: Header=BB0_100 Depth=3
sub x23, x29, #176
ldur x22, [x29, #-200] ; 8-byte Folded Reload
mov x26, x20
b LBB0_104
LBB0_102: ; in Loop: Header=BB0_104 Depth=4
mov x0, x26
bl ___GLU_SWAP_2_BYTES
fmov s0, w0
LBB0_103: ; in Loop: Header=BB0_104 Depth=4
ldr s1, [x23]
fmadd s0, s0, s13, s1
str s0, [x23], #4
add x26, x26, x24
subs x22, x22, #1
b.eq LBB0_99
LBB0_104: ; Parent Loop BB0_7 Depth=1
; Parent Loop BB0_10 Depth=2
; Parent Loop BB0_100 Depth=3
; => This Inner Loop Header: Depth=4
cbnz w21, LBB0_102
; %bb.105: ; in Loop: Header=BB0_104 Depth=4
ldr s0, [x26]
b LBB0_103
LBB0_106: ; in Loop: Header=BB0_108 Depth=3
ldr s0, [x26]
LBB0_107: ; in Loop: Header=BB0_108 Depth=3
ldr s1, [x20]
fmadd s0, s0, s9, s1
str s0, [x20], #4
add x26, x26, x24
subs x22, x22, #1
b.eq LBB0_110
LBB0_108: ; Parent Loop BB0_7 Depth=1
; Parent Loop BB0_10 Depth=2
; => This Inner Loop Header: Depth=3
cbz w21, LBB0_106
; %bb.109: ; in Loop: Header=BB0_108 Depth=3
mov x0, x26
bl ___GLU_SWAP_2_BYTES
fmov s0, w0
b LBB0_107
LBB0_110: ; in Loop: Header=BB0_10 Depth=2
ldur w8, [x29, #-204] ; 4-byte Folded Reload
ldr x9, [sp, #176] ; 8-byte Folded Reload
cmp w9, w8
b.ge LBB0_122
; %bb.111: ; in Loop: Header=BB0_10 Depth=2
ldr x8, [sp, #72] ; 8-byte Folded Reload
ldr x9, [sp, #208] ; 8-byte Folded Reload
add x25, x8, w9, sxtw
ldr w8, [sp, #164] ; 4-byte Folded Reload
add w8, w8, #1
str w8, [sp, #208] ; 4-byte Folded Spill
ldr x8, [sp, #176] ; 8-byte Folded Reload
mov x27, x8
b LBB0_113
LBB0_112: ; in Loop: Header=BB0_113 Depth=3
ldr x8, [sp, #216] ; 8-byte Folded Reload
add x25, x25, x8
add w27, w27, #1
ldur w8, [x29, #-204] ; 4-byte Folded Reload
cmp w27, w8
b.eq LBB0_122
LBB0_113: ; Parent Loop BB0_7 Depth=1
; Parent Loop BB0_10 Depth=2
; => This Loop Header: Depth=3
; Child Loop BB0_116 Depth 4
; Child Loop BB0_120 Depth 5
ldr w8, [sp, #208] ; 4-byte Folded Reload
cmp w8, w19
b.ge LBB0_112
; %bb.114: ; in Loop: Header=BB0_113 Depth=3
ldr w28, [sp, #208] ; 4-byte Folded Reload
mov x20, x25
b LBB0_116
LBB0_115: ; in Loop: Header=BB0_116 Depth=4
ldur x8, [x29, #-192] ; 8-byte Folded Reload
add x20, x20, x8
add w28, w28, #1
cmp w28, w19
b.eq LBB0_112
LBB0_116: ; Parent Loop BB0_7 Depth=1
; Parent Loop BB0_10 Depth=2
; Parent Loop BB0_113 Depth=3
; => This Loop Header: Depth=4
; Child Loop BB0_120 Depth 5
ldur x8, [x29, #-184] ; 8-byte Folded Reload
cmp w8, #1
b.lt LBB0_115
; %bb.117: ; in Loop: Header=BB0_116 Depth=4
sub x23, x29, #176
ldur x22, [x29, #-200] ; 8-byte Folded Reload
mov x26, x20
b LBB0_120
LBB0_118: ; in Loop: Header=BB0_120 Depth=5
ldr s0, [x26]
ldr s1, [x23]
fadd s0, s0, s1
LBB0_119: ; in Loop: Header=BB0_120 Depth=5
str s0, [x23], #4
add x26, x26, x24
subs x22, x22, #1
b.eq LBB0_115
LBB0_120: ; Parent Loop BB0_7 Depth=1
; Parent Loop BB0_10 Depth=2
; Parent Loop BB0_113 Depth=3
; Parent Loop BB0_116 Depth=4
; => This Inner Loop Header: Depth=5
cbz w21, LBB0_118
; %bb.121: ; in Loop: Header=BB0_120 Depth=5
mov x0, x26
bl ___GLU_SWAP_2_BYTES
fmov s0, w0
ldr s1, [x23]
fadd s0, s1, s0
b LBB0_119
LBB0_122: ; in Loop: Header=BB0_10 Depth=2
ldur x8, [x29, #-184] ; 8-byte Folded Reload
cmp w8, #1
ldr w0, [sp, #160] ; 4-byte Folded Reload
ldr q4, [sp, #144] ; 16-byte Folded Reload
ldr q5, [sp, #112] ; 16-byte Folded Reload
ldp x12, x28, [sp, #192] ; 16-byte Folded Reload
ldr x13, [sp, #184] ; 8-byte Folded Reload
b.lt LBB0_9
; %bb.123: ; in Loop: Header=BB0_10 Depth=2
ldur x8, [x29, #-184] ; 8-byte Folded Reload
cmp w8, #16
b.hs LBB0_125
; %bb.124: ; in Loop: Header=BB0_10 Depth=2
mov x10, #0 ; =0x0
b LBB0_128
LBB0_125: ; in Loop: Header=BB0_10 Depth=2
ldr x8, [sp, #64] ; 8-byte Folded Reload
mov x9, x13
ldr x10, [sp, #88] ; 8-byte Folded Reload
LBB0_126: ; Parent Loop BB0_7 Depth=1
; Parent Loop BB0_10 Depth=2
; => This Inner Loop Header: Depth=3
ldp q0, q1, [x8, #-32]
ldp q2, q3, [x8], #64
fdiv.4s v0, v0, v5
fdiv.4s v1, v1, v5
fdiv.4s v2, v2, v5
fdiv.4s v3, v3, v5
stp q0, q1, [x9, #-32]
stp q2, q3, [x9], #64
subs x10, x10, #16
b.ne LBB0_126
; %bb.127: ; in Loop: Header=BB0_10 Depth=2
ldr x9, [sp, #88] ; 8-byte Folded Reload
mov x10, x9
ldur x8, [x29, #-200] ; 8-byte Folded Reload
cmp x9, x8
b.eq LBB0_9
LBB0_128: ; in Loop: Header=BB0_10 Depth=2
lsl x9, x10, #2
add x8, x12, x9
sub x11, x29, #176
add x9, x11, x9
ldur x11, [x29, #-200] ; 8-byte Folded Reload
sub x10, x11, x10
LBB0_129: ; Parent Loop BB0_7 Depth=1
; Parent Loop BB0_10 Depth=2
; => This Inner Loop Header: Depth=3
ldr s0, [x9], #4
fdiv s0, s0, s4
str s0, [x8], #4
subs x10, x10, #1
b.ne LBB0_129
b LBB0_9
LBB0_130:
ldur x8, [x29, #-160]
Lloh6:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh7:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_132
; %bb.131:
ldp x29, x30, [sp, #432] ; 16-byte Folded Reload
ldp x20, x19, [sp, #416] ; 16-byte Folded Reload
ldp x22, x21, [sp, #400] ; 16-byte Folded Reload
ldp x24, x23, [sp, #384] ; 16-byte Folded Reload
ldp x26, x25, [sp, #368] ; 16-byte Folded Reload
ldp x28, x27, [sp, #352] ; 16-byte Folded Reload
ldp d9, d8, [sp, #336] ; 16-byte Folded Reload
ldp d11, d10, [sp, #320] ; 16-byte Folded Reload
ldp d13, d12, [sp, #304] ; 16-byte Folded Reload
ldp d15, d14, [sp, #288] ; 16-byte Folded Reload
add sp, sp, #448
ret
LBB0_132:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.no_dead_strip _scale_internal_short
.subsections_via_symbols
|
assembly_file_78174.c
|
assembly_dataset
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function pcan_usb_set_bittiming
_pcan_usb_set_bittiming: ## @pcan_usb_set_bittiming
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r12
movq %rdi, %r14
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _PCAN_USB_CMD_ARGS_LEN@GOTPCREL(%rip), %rax
movl (%rax), %eax
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r15
movl (%r12), %eax
movl 8(%r12), %ecx
movl 12(%r12), %edx
addl %edx, %ecx
decl %ecx
andl $15, %ecx
movl 16(%r12), %edx
shll $4, %edx
addl $112, %edx
andl $112, %edx
movq _CAN_CTRLMODE_3_SAMPLES@GOTPCREL(%rip), %rsi
movl (%rsi), %esi
andl 4(%r14), %esi
leal (%rdx,%rcx), %esi
leal 128(%rdx,%rcx), %r13d
cmovel %esi, %r13d
movl 4(%r12), %ecx
decl %eax
andl $63, %eax
shll $6, %ecx
addl $192, %ecx
movzbl %cl, %ebx
orl %eax, %ebx
movl (%r14), %edi
leaq L_.str(%rip), %rsi
movl %ebx, %edx
movl %r13d, %ecx
callq _netdev_info
movl %r13d, (%r15)
movl %ebx, 4(%r15)
movq %r14, %rdi
movl $1, %esi
movl $2, %edx
movq %r15, %rcx
callq _pcan_usb_send_cmd
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_2
## %bb.1:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _PCAN_USB_CMD_ARGS_LEN,4,2 ## @PCAN_USB_CMD_ARGS_LEN
.comm _CAN_CTRLMODE_3_SAMPLES,4,2 ## @CAN_CTRLMODE_3_SAMPLES
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "setting BTR0=0x%02x BTR1=0x%02x\n"
.no_dead_strip _pcan_usb_set_bittiming
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function pcan_usb_set_bittiming
_pcan_usb_set_bittiming: ; @pcan_usb_set_bittiming
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
sub sp, sp, #16
mov x19, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-40]
Lloh3:
adrp x8, _PCAN_USB_CMD_ARGS_LEN@GOTPAGE
Lloh4:
ldr x8, [x8, _PCAN_USB_CMD_ARGS_LEN@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
lsl x8, x8, #2
mov x9, x8
Lloh6:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh7:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x7fffffff0
sub x20, x9, x8
mov sp, x20
ldp w8, w9, [x1]
ldp w10, w11, [x1, #8]
add w10, w10, w11
sub w10, w10, #1
ldr w11, [x1, #16]
lsl w11, w11, #4
add w11, w11, #112
and w11, w11, #0x70
Lloh8:
adrp x12, _CAN_CTRLMODE_3_SAMPLES@GOTPAGE
Lloh9:
ldr x12, [x12, _CAN_CTRLMODE_3_SAMPLES@GOTPAGEOFF]
bfxil w11, w10, #0, #4
Lloh10:
ldr w10, [x12]
ldp w0, w12, [x0]
tst w10, w12
orr w10, w11, #0x80
csel w21, w11, w10, eq
sub w8, w8, #1
lsl w9, w9, #6
add w9, w9, #192
and w22, w9, #0xc0
bfxil w22, w8, #0, #6
Lloh11:
adrp x1, l_.str@PAGE
Lloh12:
add x1, x1, l_.str@PAGEOFF
mov x2, x22
mov x3, x21
bl _netdev_info
stp w21, w22, [x20]
mov x0, x19
mov w1, #1
mov w2, #2
mov x3, x20
bl _pcan_usb_send_cmd
ldur x8, [x29, #-40]
Lloh13:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh14:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_2
; %bb.1:
sub sp, x29, #32
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_2:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _PCAN_USB_CMD_ARGS_LEN,4,2 ; @PCAN_USB_CMD_ARGS_LEN
.comm _CAN_CTRLMODE_3_SAMPLES,4,2 ; @CAN_CTRLMODE_3_SAMPLES
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "setting BTR0=0x%02x BTR1=0x%02x\n"
.no_dead_strip _pcan_usb_set_bittiming
.subsections_via_symbols
|
AnghaBench/linux/drivers/net/can/usb/peak_usb/extr_pcan_usb.c_pcan_usb_set_bittiming.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _sym_expand_string_value ## -- Begin function sym_expand_string_value
.p2align 4, 0x90
_sym_expand_string_value: ## @sym_expand_string_value
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
callq _strlen
incl %eax
movslq %eax, %rdi
movq %rdi, -56(%rbp) ## 8-byte Spill
callq _xmalloc
movq %rax, %r14
movb $0, (%rax)
movq %rbx, %rdi
movl $36, %esi
callq _strchr
testq %rax, %rax
je LBB0_11
## %bb.1:
movq %rax, %r13
jmp LBB0_2
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_2 Depth=1
movq %r14, %rdi
movq %r12, %rsi
callq _strcat
movq -64(%rbp), %rsp ## 8-byte Reload
movq %rbx, %rdi
movl $36, %esi
callq _strchr
movq %rax, %r13
testq %rax, %rax
je LBB0_11
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_4 Depth 2
movq %rsp, -64(%rbp) ## 8-byte Spill
movq _SYMBOL_MAXLENGTH@GOTPCREL(%rip), %rax
movl (%rax), %eax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r12
movl %r13d, %edx
subl %ebx, %edx
movq %r14, %rdi
movq %rbx, %rsi
callq _strncat
movsbl 1(%r13), %edi
movq %r13, %rbx
incq %rbx
callq _isalnum
movq %r12, %r15
testq %rax, %rax
je LBB0_6
.p2align 4, 0x90
LBB0_4: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
cmpb $95, (%rbx)
jne LBB0_6
## %bb.5: ## in Loop: Header=BB0_4 Depth=2
movb $95, (%r15)
incq %r15
movsbl 1(%rbx), %edi
incq %rbx
callq _isalnum
testq %rax, %rax
jne LBB0_4
LBB0_6: ## in Loop: Header=BB0_2 Depth=1
movb $0, (%r15)
movq %r12, %rdi
callq _sym_find
leaq L_.str(%rip), %r12
testq %rax, %rax
je LBB0_8
## %bb.7: ## in Loop: Header=BB0_2 Depth=1
movq %rax, %r13
movq %rax, %rdi
callq _sym_calc_value
movq %r13, %rdi
callq _sym_get_string_value
movq %rax, %r12
LBB0_8: ## in Loop: Header=BB0_2 Depth=1
movq %r14, %rdi
callq _strlen
movl %eax, %r13d
movq %r12, %rdi
callq _strlen
movl %eax, %r15d
movq %rbx, %rdi
callq _strlen
## kill: def $eax killed $eax def $rax
addl %r13d, %r15d
addl %r15d, %eax
incl %eax
movslq %eax, %r13
cmpq %r13, -56(%rbp) ## 8-byte Folded Reload
jae LBB0_10
## %bb.9: ## in Loop: Header=BB0_2 Depth=1
movq %r14, %rdi
movq %r13, %rsi
callq _realloc
movq %rax, %r14
movq %r13, -56(%rbp) ## 8-byte Spill
jmp LBB0_10
LBB0_11:
movq %r14, %rdi
movq %rbx, %rsi
callq _strcat
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_13
## %bb.12:
movq %r14, %rax
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_13:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _SYMBOL_MAXLENGTH,4,2 ## @SYMBOL_MAXLENGTH
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.space 1
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _sym_expand_string_value ; -- Begin function sym_expand_string_value
.p2align 2
_sym_expand_string_value: ; @sym_expand_string_value
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
sub sp, sp, #16
.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
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-88]
bl _strlen
add w8, w0, #1
sxtw x21, w8
mov x0, x21
bl _xmalloc
mov x20, x0
strb wzr, [x0]
mov x0, x19
mov w1, #36 ; =0x24
bl _strchr
cbz x0, LBB0_11
; %bb.1:
mov x23, x0
Lloh3:
adrp x25, _SYMBOL_MAXLENGTH@GOTPAGE
Lloh4:
ldr x25, [x25, _SYMBOL_MAXLENGTH@GOTPAGEOFF]
Lloh5:
adrp x26, l_.str@PAGE
Lloh6:
add x26, x26, l_.str@PAGEOFF
mov w27, #95 ; =0x5f
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
mov x0, x20
mov x1, x22
bl _strcat
mov sp, x28
mov x0, x19
mov w1, #36 ; =0x24
bl _strchr
mov x23, x0
cbz x0, LBB0_11
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_4 Depth 2
mov x28, sp
ldr w8, [x25]
mov x9, x8
Lloh7:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh8:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x1fffffff0
sub x22, x9, x8
mov sp, x22
sub w2, w23, w19
mov x0, x20
mov x1, x19
bl _strncat
ldrsb w0, [x23, #1]!
mov x19, x23
bl _isalnum
mov x23, x22
cbz x0, LBB0_6
LBB0_4: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w8, [x19]
cmp w8, #95
b.ne LBB0_6
; %bb.5: ; in Loop: Header=BB0_4 Depth=2
strb w27, [x23], #1
ldrsb w0, [x19, #1]!
bl _isalnum
cbnz x0, LBB0_4
LBB0_6: ; in Loop: Header=BB0_3 Depth=1
strb wzr, [x23]
mov x0, x22
bl _sym_find
cbz x0, LBB0_8
; %bb.7: ; in Loop: Header=BB0_3 Depth=1
mov x22, x0
bl _sym_calc_value
mov x0, x22
bl _sym_get_string_value
mov x22, x0
b LBB0_9
LBB0_8: ; in Loop: Header=BB0_3 Depth=1
mov x22, x26
LBB0_9: ; in Loop: Header=BB0_3 Depth=1
mov x0, x20
bl _strlen
mov x23, x0
mov x0, x22
bl _strlen
mov x24, x0
mov x0, x19
bl _strlen
add w8, w23, w0
add w8, w8, w24
add w8, w8, #1
sxtw x23, w8
cmp x21, x23
b.hs LBB0_2
; %bb.10: ; in Loop: Header=BB0_3 Depth=1
mov x0, x20
mov x1, x23
bl _realloc
mov x20, x0
mov x21, x23
b LBB0_2
LBB0_11:
mov x0, x20
mov x1, x19
bl _strcat
ldur x8, [x29, #-88]
Lloh9:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh10:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_13
; %bb.12:
mov x0, x20
sub sp, x29, #80
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
LBB0_13:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGot Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _SYMBOL_MAXLENGTH,4,2 ; @SYMBOL_MAXLENGTH
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.space 1
.subsections_via_symbols
|
assembly_file_181040.c
|
assembly_dataset
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ntfs_setup_allocators
_ntfs_setup_allocators: ## @ntfs_setup_allocators
.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
leaq L_.str(%rip), %rdi
popq %rbp
jmp _ntfs_debug ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "vol->mft_zone_multiplier = 0x%x"
.no_dead_strip _ntfs_setup_allocators
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ntfs_setup_allocators
_ntfs_setup_allocators: ; @ntfs_setup_allocators
.cfi_startproc
; %bb.0:
ldr x1, [x0]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
b _ntfs_debug
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "vol->mft_zone_multiplier = 0x%x"
.no_dead_strip _ntfs_setup_allocators
.subsections_via_symbols
|
AnghaBench/fastsocket/kernel/fs/ntfs/extr_super.c_ntfs_setup_allocators.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function adau1761_component_probe
_adau1761_component_probe: ## @adau1761_component_probe
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r13
callq _snd_soc_component_get_dapm
movq %rax, %r14
movq (%r13), %rax
movq (%rax), %rbx
movq %r13, %rdi
callq _snd_soc_component_get_drvdata
movq %rax, %r15
movq %r13, %rdi
callq _adau17x1_add_widgets
testl %eax, %eax
js LBB0_15
## %bb.1:
testq %rbx, %rbx
je LBB0_4
## %bb.2:
cmpq $0, (%rbx)
je LBB0_4
## %bb.3:
movl 8(%r15), %edi
movq _ADAU1761_LEFT_DIFF_INPUT_VOL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _ADAU1761_DIFF_INPUT_VOL_LDEN@GOTPCREL(%rip), %rbx
movl (%rbx), %ecx
movl %ecx, %edx
callq _regmap_update_bits
movl 8(%r15), %edi
movq _ADAU1761_RIGHT_DIFF_INPUT_VOL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl (%rbx), %ecx
movl %ecx, %edx
callq _regmap_update_bits
movq _adau1761_differential_mode_controls@GOTPCREL(%rip), %rax
movl (%rax), %r12d
movl %r12d, %edi
callq _ARRAY_SIZE
movq %r13, %rdi
movl %r12d, %esi
jmp LBB0_5
LBB0_4:
movq _adau1761_single_mode_controls@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movl %ebx, %edi
callq _ARRAY_SIZE
movq %r13, %rdi
movl %ebx, %esi
LBB0_5:
movl %eax, %edx
callq _snd_soc_add_component_controls
testl %eax, %eax
jne LBB0_15
## %bb.6:
movq %r13, %rdi
callq _adau1761_get_lineout_mode
cmpl $128, %eax
je LBB0_9
## %bb.7:
cmpl $129, %eax
jne LBB0_16
## %bb.8:
movl 8(%r15), %edi
movq _ADAU1761_PLAY_LINE_LEFT_VOL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _ADAU1761_PLAY_LINE_LEFT_VOL_MODE_HP@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl %ecx, %edx
callq _regmap_update_bits
movl 8(%r15), %edi
movq _ADAU1761_PLAY_LINE_RIGHT_VOL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _ADAU1761_PLAY_LINE_RIGHT_VOL_MODE_HP@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl %ecx, %edx
callq _regmap_update_bits
LBB0_9:
movq %r13, %rdi
callq _adau1761_setup_headphone_mode
testl %eax, %eax
jne LBB0_15
## %bb.10:
movq %r13, %rdi
callq _adau1761_setup_digmic_jackdetect
testl %eax, %eax
jne LBB0_15
## %bb.11:
movq (%r15), %rax
movq _ADAU1761@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_14
## %bb.12:
movq _adau1761_dapm_widgets@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movl %ebx, %edi
callq _ARRAY_SIZE
movq %r14, %rdi
movl %ebx, %esi
movl %eax, %edx
callq _snd_soc_dapm_new_controls
testl %eax, %eax
jne LBB0_15
## %bb.13:
movq _adau1761_dapm_routes@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movl %ebx, %edi
callq _ARRAY_SIZE
movq %r14, %rdi
movl %ebx, %esi
movl %eax, %edx
callq _snd_soc_dapm_add_routes
testl %eax, %eax
jne LBB0_15
LBB0_14:
movq %r13, %rdi
callq _adau17x1_add_routes
movl %eax, %ecx
sarl $31, %ecx
andl %ecx, %eax
jmp LBB0_15
LBB0_16:
movq _EINVAL@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
LBB0_15:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ADAU1761_LEFT_DIFF_INPUT_VOL,4,2 ## @ADAU1761_LEFT_DIFF_INPUT_VOL
.comm _ADAU1761_DIFF_INPUT_VOL_LDEN,4,2 ## @ADAU1761_DIFF_INPUT_VOL_LDEN
.comm _ADAU1761_RIGHT_DIFF_INPUT_VOL,4,2 ## @ADAU1761_RIGHT_DIFF_INPUT_VOL
.comm _adau1761_differential_mode_controls,4,2 ## @adau1761_differential_mode_controls
.comm _adau1761_single_mode_controls,4,2 ## @adau1761_single_mode_controls
.comm _ADAU1761_PLAY_LINE_LEFT_VOL,4,2 ## @ADAU1761_PLAY_LINE_LEFT_VOL
.comm _ADAU1761_PLAY_LINE_LEFT_VOL_MODE_HP,4,2 ## @ADAU1761_PLAY_LINE_LEFT_VOL_MODE_HP
.comm _ADAU1761_PLAY_LINE_RIGHT_VOL,4,2 ## @ADAU1761_PLAY_LINE_RIGHT_VOL
.comm _ADAU1761_PLAY_LINE_RIGHT_VOL_MODE_HP,4,2 ## @ADAU1761_PLAY_LINE_RIGHT_VOL_MODE_HP
.comm _EINVAL,4,2 ## @EINVAL
.comm _ADAU1761,8,3 ## @ADAU1761
.comm _adau1761_dapm_widgets,4,2 ## @adau1761_dapm_widgets
.comm _adau1761_dapm_routes,4,2 ## @adau1761_dapm_routes
.no_dead_strip _adau1761_component_probe
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function adau1761_component_probe
_adau1761_component_probe: ; @adau1761_component_probe
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
bl _snd_soc_component_get_dapm
mov x20, x0
ldr x8, [x19]
ldr x22, [x8]
mov x0, x19
bl _snd_soc_component_get_drvdata
mov x21, x0
mov x0, x19
bl _adau17x1_add_widgets
tbnz w0, #31, LBB0_16
; %bb.1:
cbz x22, LBB0_4
; %bb.2:
ldr x8, [x22]
cbz x8, LBB0_4
; %bb.3:
ldr w0, [x21, #8]
Lloh0:
adrp x8, _ADAU1761_LEFT_DIFF_INPUT_VOL@GOTPAGE
Lloh1:
ldr x8, [x8, _ADAU1761_LEFT_DIFF_INPUT_VOL@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
Lloh3:
adrp x22, _ADAU1761_DIFF_INPUT_VOL_LDEN@GOTPAGE
Lloh4:
ldr x22, [x22, _ADAU1761_DIFF_INPUT_VOL_LDEN@GOTPAGEOFF]
ldr w2, [x22]
mov x3, x2
bl _regmap_update_bits
ldr w0, [x21, #8]
Lloh5:
adrp x8, _ADAU1761_RIGHT_DIFF_INPUT_VOL@GOTPAGE
Lloh6:
ldr x8, [x8, _ADAU1761_RIGHT_DIFF_INPUT_VOL@GOTPAGEOFF]
Lloh7:
ldr w1, [x8]
ldr w2, [x22]
mov x3, x2
bl _regmap_update_bits
Lloh8:
adrp x8, _adau1761_differential_mode_controls@GOTPAGE
Lloh9:
ldr x8, [x8, _adau1761_differential_mode_controls@GOTPAGEOFF]
b LBB0_5
LBB0_4:
Lloh10:
adrp x8, _adau1761_single_mode_controls@GOTPAGE
Lloh11:
ldr x8, [x8, _adau1761_single_mode_controls@GOTPAGEOFF]
LBB0_5:
ldr w22, [x8]
mov x0, x22
bl _ARRAY_SIZE
mov x2, x0
mov x0, x19
mov x1, x22
bl _snd_soc_add_component_controls
cbnz w0, LBB0_16
; %bb.6:
mov x0, x19
bl _adau1761_get_lineout_mode
cmp w0, #128
b.eq LBB0_9
; %bb.7:
cmp w0, #129
b.ne LBB0_15
; %bb.8:
ldr w0, [x21, #8]
Lloh12:
adrp x8, _ADAU1761_PLAY_LINE_LEFT_VOL@GOTPAGE
Lloh13:
ldr x8, [x8, _ADAU1761_PLAY_LINE_LEFT_VOL@GOTPAGEOFF]
Lloh14:
ldr w1, [x8]
Lloh15:
adrp x8, _ADAU1761_PLAY_LINE_LEFT_VOL_MODE_HP@GOTPAGE
Lloh16:
ldr x8, [x8, _ADAU1761_PLAY_LINE_LEFT_VOL_MODE_HP@GOTPAGEOFF]
Lloh17:
ldr w2, [x8]
mov x3, x2
bl _regmap_update_bits
ldr w0, [x21, #8]
Lloh18:
adrp x8, _ADAU1761_PLAY_LINE_RIGHT_VOL@GOTPAGE
Lloh19:
ldr x8, [x8, _ADAU1761_PLAY_LINE_RIGHT_VOL@GOTPAGEOFF]
Lloh20:
ldr w1, [x8]
Lloh21:
adrp x8, _ADAU1761_PLAY_LINE_RIGHT_VOL_MODE_HP@GOTPAGE
Lloh22:
ldr x8, [x8, _ADAU1761_PLAY_LINE_RIGHT_VOL_MODE_HP@GOTPAGEOFF]
Lloh23:
ldr w2, [x8]
mov x3, x2
bl _regmap_update_bits
LBB0_9:
mov x0, x19
bl _adau1761_setup_headphone_mode
cbnz w0, LBB0_16
; %bb.10:
mov x0, x19
bl _adau1761_setup_digmic_jackdetect
cbnz w0, LBB0_16
; %bb.11:
ldr x8, [x21]
Lloh24:
adrp x9, _ADAU1761@GOTPAGE
Lloh25:
ldr x9, [x9, _ADAU1761@GOTPAGEOFF]
Lloh26:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_14
; %bb.12:
Lloh27:
adrp x8, _adau1761_dapm_widgets@GOTPAGE
Lloh28:
ldr x8, [x8, _adau1761_dapm_widgets@GOTPAGEOFF]
Lloh29:
ldr w21, [x8]
mov x0, x21
bl _ARRAY_SIZE
mov x2, x0
mov x0, x20
mov x1, x21
bl _snd_soc_dapm_new_controls
cbnz w0, LBB0_16
; %bb.13:
Lloh30:
adrp x8, _adau1761_dapm_routes@GOTPAGE
Lloh31:
ldr x8, [x8, _adau1761_dapm_routes@GOTPAGEOFF]
Lloh32:
ldr w21, [x8]
mov x0, x21
bl _ARRAY_SIZE
mov x2, x0
mov x0, x20
mov x1, x21
bl _snd_soc_dapm_add_routes
cbnz w0, LBB0_16
LBB0_14:
mov x0, x19
bl _adau17x1_add_routes
cmp w0, #0
csel w0, w0, wzr, lt
b LBB0_16
LBB0_15:
Lloh33:
adrp x8, _EINVAL@GOTPAGE
Lloh34:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh35:
ldr w8, [x8]
neg w0, w8
LBB0_16:
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 Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.cfi_endproc
; -- End function
.comm _ADAU1761_LEFT_DIFF_INPUT_VOL,4,2 ; @ADAU1761_LEFT_DIFF_INPUT_VOL
.comm _ADAU1761_DIFF_INPUT_VOL_LDEN,4,2 ; @ADAU1761_DIFF_INPUT_VOL_LDEN
.comm _ADAU1761_RIGHT_DIFF_INPUT_VOL,4,2 ; @ADAU1761_RIGHT_DIFF_INPUT_VOL
.comm _adau1761_differential_mode_controls,4,2 ; @adau1761_differential_mode_controls
.comm _adau1761_single_mode_controls,4,2 ; @adau1761_single_mode_controls
.comm _ADAU1761_PLAY_LINE_LEFT_VOL,4,2 ; @ADAU1761_PLAY_LINE_LEFT_VOL
.comm _ADAU1761_PLAY_LINE_LEFT_VOL_MODE_HP,4,2 ; @ADAU1761_PLAY_LINE_LEFT_VOL_MODE_HP
.comm _ADAU1761_PLAY_LINE_RIGHT_VOL,4,2 ; @ADAU1761_PLAY_LINE_RIGHT_VOL
.comm _ADAU1761_PLAY_LINE_RIGHT_VOL_MODE_HP,4,2 ; @ADAU1761_PLAY_LINE_RIGHT_VOL_MODE_HP
.comm _EINVAL,4,2 ; @EINVAL
.comm _ADAU1761,8,3 ; @ADAU1761
.comm _adau1761_dapm_widgets,4,2 ; @adau1761_dapm_widgets
.comm _adau1761_dapm_routes,4,2 ; @adau1761_dapm_routes
.no_dead_strip _adau1761_component_probe
.subsections_via_symbols
|
AnghaBench/linux/sound/soc/codecs/extr_adau1761.c_adau1761_component_probe.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function load_GL_VERSION_3_3
_load_GL_VERSION_3_3: ## @load_GL_VERSION_3_3
.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 _GLAD_GL_VERSION_3_3@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB0_2
## %bb.1:
movq %rdi, %rbx
leaq L_.str(%rip), %rdi
callq *%rbx
movq _glad_glBindFragDataLocationIndexed@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.1(%rip), %rdi
callq *%rbx
movq _glad_glGetFragDataIndex@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.2(%rip), %rdi
callq *%rbx
movq _glad_glGenSamplers@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.3(%rip), %rdi
callq *%rbx
movq _glad_glDeleteSamplers@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.4(%rip), %rdi
callq *%rbx
movq _glad_glIsSampler@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.5(%rip), %rdi
callq *%rbx
movq _glad_glBindSampler@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.6(%rip), %rdi
callq *%rbx
movq _glad_glSamplerParameteri@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.7(%rip), %rdi
callq *%rbx
movq _glad_glSamplerParameteriv@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.8(%rip), %rdi
callq *%rbx
movq _glad_glSamplerParameterf@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.9(%rip), %rdi
callq *%rbx
movq _glad_glSamplerParameterfv@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.10(%rip), %rdi
callq *%rbx
movq _glad_glSamplerParameterIiv@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.11(%rip), %rdi
callq *%rbx
movq _glad_glSamplerParameterIuiv@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.12(%rip), %rdi
callq *%rbx
movq _glad_glGetSamplerParameteriv@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.13(%rip), %rdi
callq *%rbx
movq _glad_glGetSamplerParameterIiv@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.14(%rip), %rdi
callq *%rbx
movq _glad_glGetSamplerParameterfv@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.15(%rip), %rdi
callq *%rbx
movq _glad_glGetSamplerParameterIuiv@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.16(%rip), %rdi
callq *%rbx
movq _glad_glQueryCounter@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.17(%rip), %rdi
callq *%rbx
movq _glad_glGetQueryObjecti64v@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.18(%rip), %rdi
callq *%rbx
movq _glad_glGetQueryObjectui64v@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.19(%rip), %rdi
callq *%rbx
movq _glad_glVertexAttribDivisor@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.20(%rip), %rdi
callq *%rbx
movq _glad_glVertexAttribP1ui@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.21(%rip), %rdi
callq *%rbx
movq _glad_glVertexAttribP1uiv@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.22(%rip), %rdi
callq *%rbx
movq _glad_glVertexAttribP2ui@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.23(%rip), %rdi
callq *%rbx
movq _glad_glVertexAttribP2uiv@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.24(%rip), %rdi
callq *%rbx
movq _glad_glVertexAttribP3ui@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.25(%rip), %rdi
callq *%rbx
movq _glad_glVertexAttribP3uiv@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.26(%rip), %rdi
callq *%rbx
movq _glad_glVertexAttribP4ui@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.27(%rip), %rdi
callq *%rbx
movq _glad_glVertexAttribP4uiv@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.28(%rip), %rdi
callq *%rbx
movq _glad_glVertexP2ui@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.29(%rip), %rdi
callq *%rbx
movq _glad_glVertexP2uiv@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.30(%rip), %rdi
callq *%rbx
movq _glad_glVertexP3ui@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.31(%rip), %rdi
callq *%rbx
movq _glad_glVertexP3uiv@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.32(%rip), %rdi
callq *%rbx
movq _glad_glVertexP4ui@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.33(%rip), %rdi
callq *%rbx
movq _glad_glVertexP4uiv@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.34(%rip), %rdi
callq *%rbx
movq _glad_glTexCoordP1ui@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.35(%rip), %rdi
callq *%rbx
movq _glad_glTexCoordP1uiv@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.36(%rip), %rdi
callq *%rbx
movq _glad_glTexCoordP2ui@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.37(%rip), %rdi
callq *%rbx
movq _glad_glTexCoordP2uiv@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.38(%rip), %rdi
callq *%rbx
movq _glad_glTexCoordP3ui@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.39(%rip), %rdi
callq *%rbx
movq _glad_glTexCoordP3uiv@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.40(%rip), %rdi
callq *%rbx
movq _glad_glTexCoordP4ui@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.41(%rip), %rdi
callq *%rbx
movq _glad_glTexCoordP4uiv@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.42(%rip), %rdi
callq *%rbx
movq _glad_glMultiTexCoordP1ui@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.43(%rip), %rdi
callq *%rbx
movq _glad_glMultiTexCoordP1uiv@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.44(%rip), %rdi
callq *%rbx
movq _glad_glMultiTexCoordP2ui@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.45(%rip), %rdi
callq *%rbx
movq _glad_glMultiTexCoordP2uiv@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.46(%rip), %rdi
callq *%rbx
movq _glad_glMultiTexCoordP3ui@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.47(%rip), %rdi
callq *%rbx
movq _glad_glMultiTexCoordP3uiv@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.48(%rip), %rdi
callq *%rbx
movq _glad_glMultiTexCoordP4ui@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.49(%rip), %rdi
callq *%rbx
movq _glad_glMultiTexCoordP4uiv@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.50(%rip), %rdi
callq *%rbx
movq _glad_glNormalP3ui@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.51(%rip), %rdi
callq *%rbx
movq _glad_glNormalP3uiv@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.52(%rip), %rdi
callq *%rbx
movq _glad_glColorP3ui@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.53(%rip), %rdi
callq *%rbx
movq _glad_glColorP3uiv@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.54(%rip), %rdi
callq *%rbx
movq _glad_glColorP4ui@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.55(%rip), %rdi
callq *%rbx
movq _glad_glColorP4uiv@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.56(%rip), %rdi
callq *%rbx
movq _glad_glSecondaryColorP3ui@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.57(%rip), %rdi
callq *%rbx
movq _glad_glSecondaryColorP3uiv@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
LBB0_2:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _GLAD_GL_VERSION_3_3,4,2 ## @GLAD_GL_VERSION_3_3
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "glBindFragDataLocationIndexed"
.comm _glad_glBindFragDataLocationIndexed,8,3 ## @glad_glBindFragDataLocationIndexed
L_.str.1: ## @.str.1
.asciz "glGetFragDataIndex"
.comm _glad_glGetFragDataIndex,8,3 ## @glad_glGetFragDataIndex
L_.str.2: ## @.str.2
.asciz "glGenSamplers"
.comm _glad_glGenSamplers,8,3 ## @glad_glGenSamplers
L_.str.3: ## @.str.3
.asciz "glDeleteSamplers"
.comm _glad_glDeleteSamplers,8,3 ## @glad_glDeleteSamplers
L_.str.4: ## @.str.4
.asciz "glIsSampler"
.comm _glad_glIsSampler,8,3 ## @glad_glIsSampler
L_.str.5: ## @.str.5
.asciz "glBindSampler"
.comm _glad_glBindSampler,8,3 ## @glad_glBindSampler
L_.str.6: ## @.str.6
.asciz "glSamplerParameteri"
.comm _glad_glSamplerParameteri,8,3 ## @glad_glSamplerParameteri
L_.str.7: ## @.str.7
.asciz "glSamplerParameteriv"
.comm _glad_glSamplerParameteriv,8,3 ## @glad_glSamplerParameteriv
L_.str.8: ## @.str.8
.asciz "glSamplerParameterf"
.comm _glad_glSamplerParameterf,8,3 ## @glad_glSamplerParameterf
L_.str.9: ## @.str.9
.asciz "glSamplerParameterfv"
.comm _glad_glSamplerParameterfv,8,3 ## @glad_glSamplerParameterfv
L_.str.10: ## @.str.10
.asciz "glSamplerParameterIiv"
.comm _glad_glSamplerParameterIiv,8,3 ## @glad_glSamplerParameterIiv
L_.str.11: ## @.str.11
.asciz "glSamplerParameterIuiv"
.comm _glad_glSamplerParameterIuiv,8,3 ## @glad_glSamplerParameterIuiv
L_.str.12: ## @.str.12
.asciz "glGetSamplerParameteriv"
.comm _glad_glGetSamplerParameteriv,8,3 ## @glad_glGetSamplerParameteriv
L_.str.13: ## @.str.13
.asciz "glGetSamplerParameterIiv"
.comm _glad_glGetSamplerParameterIiv,8,3 ## @glad_glGetSamplerParameterIiv
L_.str.14: ## @.str.14
.asciz "glGetSamplerParameterfv"
.comm _glad_glGetSamplerParameterfv,8,3 ## @glad_glGetSamplerParameterfv
L_.str.15: ## @.str.15
.asciz "glGetSamplerParameterIuiv"
.comm _glad_glGetSamplerParameterIuiv,8,3 ## @glad_glGetSamplerParameterIuiv
L_.str.16: ## @.str.16
.asciz "glQueryCounter"
.comm _glad_glQueryCounter,8,3 ## @glad_glQueryCounter
L_.str.17: ## @.str.17
.asciz "glGetQueryObjecti64v"
.comm _glad_glGetQueryObjecti64v,8,3 ## @glad_glGetQueryObjecti64v
L_.str.18: ## @.str.18
.asciz "glGetQueryObjectui64v"
.comm _glad_glGetQueryObjectui64v,8,3 ## @glad_glGetQueryObjectui64v
L_.str.19: ## @.str.19
.asciz "glVertexAttribDivisor"
.comm _glad_glVertexAttribDivisor,8,3 ## @glad_glVertexAttribDivisor
L_.str.20: ## @.str.20
.asciz "glVertexAttribP1ui"
.comm _glad_glVertexAttribP1ui,8,3 ## @glad_glVertexAttribP1ui
L_.str.21: ## @.str.21
.asciz "glVertexAttribP1uiv"
.comm _glad_glVertexAttribP1uiv,8,3 ## @glad_glVertexAttribP1uiv
L_.str.22: ## @.str.22
.asciz "glVertexAttribP2ui"
.comm _glad_glVertexAttribP2ui,8,3 ## @glad_glVertexAttribP2ui
L_.str.23: ## @.str.23
.asciz "glVertexAttribP2uiv"
.comm _glad_glVertexAttribP2uiv,8,3 ## @glad_glVertexAttribP2uiv
L_.str.24: ## @.str.24
.asciz "glVertexAttribP3ui"
.comm _glad_glVertexAttribP3ui,8,3 ## @glad_glVertexAttribP3ui
L_.str.25: ## @.str.25
.asciz "glVertexAttribP3uiv"
.comm _glad_glVertexAttribP3uiv,8,3 ## @glad_glVertexAttribP3uiv
L_.str.26: ## @.str.26
.asciz "glVertexAttribP4ui"
.comm _glad_glVertexAttribP4ui,8,3 ## @glad_glVertexAttribP4ui
L_.str.27: ## @.str.27
.asciz "glVertexAttribP4uiv"
.comm _glad_glVertexAttribP4uiv,8,3 ## @glad_glVertexAttribP4uiv
L_.str.28: ## @.str.28
.asciz "glVertexP2ui"
.comm _glad_glVertexP2ui,8,3 ## @glad_glVertexP2ui
L_.str.29: ## @.str.29
.asciz "glVertexP2uiv"
.comm _glad_glVertexP2uiv,8,3 ## @glad_glVertexP2uiv
L_.str.30: ## @.str.30
.asciz "glVertexP3ui"
.comm _glad_glVertexP3ui,8,3 ## @glad_glVertexP3ui
L_.str.31: ## @.str.31
.asciz "glVertexP3uiv"
.comm _glad_glVertexP3uiv,8,3 ## @glad_glVertexP3uiv
L_.str.32: ## @.str.32
.asciz "glVertexP4ui"
.comm _glad_glVertexP4ui,8,3 ## @glad_glVertexP4ui
L_.str.33: ## @.str.33
.asciz "glVertexP4uiv"
.comm _glad_glVertexP4uiv,8,3 ## @glad_glVertexP4uiv
L_.str.34: ## @.str.34
.asciz "glTexCoordP1ui"
.comm _glad_glTexCoordP1ui,8,3 ## @glad_glTexCoordP1ui
L_.str.35: ## @.str.35
.asciz "glTexCoordP1uiv"
.comm _glad_glTexCoordP1uiv,8,3 ## @glad_glTexCoordP1uiv
L_.str.36: ## @.str.36
.asciz "glTexCoordP2ui"
.comm _glad_glTexCoordP2ui,8,3 ## @glad_glTexCoordP2ui
L_.str.37: ## @.str.37
.asciz "glTexCoordP2uiv"
.comm _glad_glTexCoordP2uiv,8,3 ## @glad_glTexCoordP2uiv
L_.str.38: ## @.str.38
.asciz "glTexCoordP3ui"
.comm _glad_glTexCoordP3ui,8,3 ## @glad_glTexCoordP3ui
L_.str.39: ## @.str.39
.asciz "glTexCoordP3uiv"
.comm _glad_glTexCoordP3uiv,8,3 ## @glad_glTexCoordP3uiv
L_.str.40: ## @.str.40
.asciz "glTexCoordP4ui"
.comm _glad_glTexCoordP4ui,8,3 ## @glad_glTexCoordP4ui
L_.str.41: ## @.str.41
.asciz "glTexCoordP4uiv"
.comm _glad_glTexCoordP4uiv,8,3 ## @glad_glTexCoordP4uiv
L_.str.42: ## @.str.42
.asciz "glMultiTexCoordP1ui"
.comm _glad_glMultiTexCoordP1ui,8,3 ## @glad_glMultiTexCoordP1ui
L_.str.43: ## @.str.43
.asciz "glMultiTexCoordP1uiv"
.comm _glad_glMultiTexCoordP1uiv,8,3 ## @glad_glMultiTexCoordP1uiv
L_.str.44: ## @.str.44
.asciz "glMultiTexCoordP2ui"
.comm _glad_glMultiTexCoordP2ui,8,3 ## @glad_glMultiTexCoordP2ui
L_.str.45: ## @.str.45
.asciz "glMultiTexCoordP2uiv"
.comm _glad_glMultiTexCoordP2uiv,8,3 ## @glad_glMultiTexCoordP2uiv
L_.str.46: ## @.str.46
.asciz "glMultiTexCoordP3ui"
.comm _glad_glMultiTexCoordP3ui,8,3 ## @glad_glMultiTexCoordP3ui
L_.str.47: ## @.str.47
.asciz "glMultiTexCoordP3uiv"
.comm _glad_glMultiTexCoordP3uiv,8,3 ## @glad_glMultiTexCoordP3uiv
L_.str.48: ## @.str.48
.asciz "glMultiTexCoordP4ui"
.comm _glad_glMultiTexCoordP4ui,8,3 ## @glad_glMultiTexCoordP4ui
L_.str.49: ## @.str.49
.asciz "glMultiTexCoordP4uiv"
.comm _glad_glMultiTexCoordP4uiv,8,3 ## @glad_glMultiTexCoordP4uiv
L_.str.50: ## @.str.50
.asciz "glNormalP3ui"
.comm _glad_glNormalP3ui,8,3 ## @glad_glNormalP3ui
L_.str.51: ## @.str.51
.asciz "glNormalP3uiv"
.comm _glad_glNormalP3uiv,8,3 ## @glad_glNormalP3uiv
L_.str.52: ## @.str.52
.asciz "glColorP3ui"
.comm _glad_glColorP3ui,8,3 ## @glad_glColorP3ui
L_.str.53: ## @.str.53
.asciz "glColorP3uiv"
.comm _glad_glColorP3uiv,8,3 ## @glad_glColorP3uiv
L_.str.54: ## @.str.54
.asciz "glColorP4ui"
.comm _glad_glColorP4ui,8,3 ## @glad_glColorP4ui
L_.str.55: ## @.str.55
.asciz "glColorP4uiv"
.comm _glad_glColorP4uiv,8,3 ## @glad_glColorP4uiv
L_.str.56: ## @.str.56
.asciz "glSecondaryColorP3ui"
.comm _glad_glSecondaryColorP3ui,8,3 ## @glad_glSecondaryColorP3ui
L_.str.57: ## @.str.57
.asciz "glSecondaryColorP3uiv"
.comm _glad_glSecondaryColorP3uiv,8,3 ## @glad_glSecondaryColorP3uiv
.no_dead_strip _load_GL_VERSION_3_3
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function load_GL_VERSION_3_3
_load_GL_VERSION_3_3: ; @load_GL_VERSION_3_3
.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, _GLAD_GL_VERSION_3_3@GOTPAGE
Lloh1:
ldr x8, [x8, _GLAD_GL_VERSION_3_3@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cbz w8, LBB0_2
; %bb.1:
mov x19, x0
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
blr x19
Lloh5:
adrp x8, _glad_glBindFragDataLocationIndexed@GOTPAGE
Lloh6:
ldr x8, [x8, _glad_glBindFragDataLocationIndexed@GOTPAGEOFF]
Lloh7:
str x0, [x8]
Lloh8:
adrp x0, l_.str.1@PAGE
Lloh9:
add x0, x0, l_.str.1@PAGEOFF
blr x19
Lloh10:
adrp x8, _glad_glGetFragDataIndex@GOTPAGE
Lloh11:
ldr x8, [x8, _glad_glGetFragDataIndex@GOTPAGEOFF]
Lloh12:
str x0, [x8]
Lloh13:
adrp x0, l_.str.2@PAGE
Lloh14:
add x0, x0, l_.str.2@PAGEOFF
blr x19
Lloh15:
adrp x8, _glad_glGenSamplers@GOTPAGE
Lloh16:
ldr x8, [x8, _glad_glGenSamplers@GOTPAGEOFF]
Lloh17:
str x0, [x8]
Lloh18:
adrp x0, l_.str.3@PAGE
Lloh19:
add x0, x0, l_.str.3@PAGEOFF
blr x19
Lloh20:
adrp x8, _glad_glDeleteSamplers@GOTPAGE
Lloh21:
ldr x8, [x8, _glad_glDeleteSamplers@GOTPAGEOFF]
Lloh22:
str x0, [x8]
Lloh23:
adrp x0, l_.str.4@PAGE
Lloh24:
add x0, x0, l_.str.4@PAGEOFF
blr x19
Lloh25:
adrp x8, _glad_glIsSampler@GOTPAGE
Lloh26:
ldr x8, [x8, _glad_glIsSampler@GOTPAGEOFF]
Lloh27:
str x0, [x8]
Lloh28:
adrp x0, l_.str.5@PAGE
Lloh29:
add x0, x0, l_.str.5@PAGEOFF
blr x19
Lloh30:
adrp x8, _glad_glBindSampler@GOTPAGE
Lloh31:
ldr x8, [x8, _glad_glBindSampler@GOTPAGEOFF]
Lloh32:
str x0, [x8]
Lloh33:
adrp x0, l_.str.6@PAGE
Lloh34:
add x0, x0, l_.str.6@PAGEOFF
blr x19
Lloh35:
adrp x8, _glad_glSamplerParameteri@GOTPAGE
Lloh36:
ldr x8, [x8, _glad_glSamplerParameteri@GOTPAGEOFF]
Lloh37:
str x0, [x8]
Lloh38:
adrp x0, l_.str.7@PAGE
Lloh39:
add x0, x0, l_.str.7@PAGEOFF
blr x19
Lloh40:
adrp x8, _glad_glSamplerParameteriv@GOTPAGE
Lloh41:
ldr x8, [x8, _glad_glSamplerParameteriv@GOTPAGEOFF]
Lloh42:
str x0, [x8]
Lloh43:
adrp x0, l_.str.8@PAGE
Lloh44:
add x0, x0, l_.str.8@PAGEOFF
blr x19
Lloh45:
adrp x8, _glad_glSamplerParameterf@GOTPAGE
Lloh46:
ldr x8, [x8, _glad_glSamplerParameterf@GOTPAGEOFF]
Lloh47:
str x0, [x8]
Lloh48:
adrp x0, l_.str.9@PAGE
Lloh49:
add x0, x0, l_.str.9@PAGEOFF
blr x19
Lloh50:
adrp x8, _glad_glSamplerParameterfv@GOTPAGE
Lloh51:
ldr x8, [x8, _glad_glSamplerParameterfv@GOTPAGEOFF]
Lloh52:
str x0, [x8]
Lloh53:
adrp x0, l_.str.10@PAGE
Lloh54:
add x0, x0, l_.str.10@PAGEOFF
blr x19
Lloh55:
adrp x8, _glad_glSamplerParameterIiv@GOTPAGE
Lloh56:
ldr x8, [x8, _glad_glSamplerParameterIiv@GOTPAGEOFF]
Lloh57:
str x0, [x8]
Lloh58:
adrp x0, l_.str.11@PAGE
Lloh59:
add x0, x0, l_.str.11@PAGEOFF
blr x19
Lloh60:
adrp x8, _glad_glSamplerParameterIuiv@GOTPAGE
Lloh61:
ldr x8, [x8, _glad_glSamplerParameterIuiv@GOTPAGEOFF]
Lloh62:
str x0, [x8]
Lloh63:
adrp x0, l_.str.12@PAGE
Lloh64:
add x0, x0, l_.str.12@PAGEOFF
blr x19
Lloh65:
adrp x8, _glad_glGetSamplerParameteriv@GOTPAGE
Lloh66:
ldr x8, [x8, _glad_glGetSamplerParameteriv@GOTPAGEOFF]
Lloh67:
str x0, [x8]
Lloh68:
adrp x0, l_.str.13@PAGE
Lloh69:
add x0, x0, l_.str.13@PAGEOFF
blr x19
Lloh70:
adrp x8, _glad_glGetSamplerParameterIiv@GOTPAGE
Lloh71:
ldr x8, [x8, _glad_glGetSamplerParameterIiv@GOTPAGEOFF]
Lloh72:
str x0, [x8]
Lloh73:
adrp x0, l_.str.14@PAGE
Lloh74:
add x0, x0, l_.str.14@PAGEOFF
blr x19
Lloh75:
adrp x8, _glad_glGetSamplerParameterfv@GOTPAGE
Lloh76:
ldr x8, [x8, _glad_glGetSamplerParameterfv@GOTPAGEOFF]
Lloh77:
str x0, [x8]
Lloh78:
adrp x0, l_.str.15@PAGE
Lloh79:
add x0, x0, l_.str.15@PAGEOFF
blr x19
Lloh80:
adrp x8, _glad_glGetSamplerParameterIuiv@GOTPAGE
Lloh81:
ldr x8, [x8, _glad_glGetSamplerParameterIuiv@GOTPAGEOFF]
Lloh82:
str x0, [x8]
Lloh83:
adrp x0, l_.str.16@PAGE
Lloh84:
add x0, x0, l_.str.16@PAGEOFF
blr x19
Lloh85:
adrp x8, _glad_glQueryCounter@GOTPAGE
Lloh86:
ldr x8, [x8, _glad_glQueryCounter@GOTPAGEOFF]
Lloh87:
str x0, [x8]
Lloh88:
adrp x0, l_.str.17@PAGE
Lloh89:
add x0, x0, l_.str.17@PAGEOFF
blr x19
Lloh90:
adrp x8, _glad_glGetQueryObjecti64v@GOTPAGE
Lloh91:
ldr x8, [x8, _glad_glGetQueryObjecti64v@GOTPAGEOFF]
Lloh92:
str x0, [x8]
Lloh93:
adrp x0, l_.str.18@PAGE
Lloh94:
add x0, x0, l_.str.18@PAGEOFF
blr x19
Lloh95:
adrp x8, _glad_glGetQueryObjectui64v@GOTPAGE
Lloh96:
ldr x8, [x8, _glad_glGetQueryObjectui64v@GOTPAGEOFF]
Lloh97:
str x0, [x8]
Lloh98:
adrp x0, l_.str.19@PAGE
Lloh99:
add x0, x0, l_.str.19@PAGEOFF
blr x19
Lloh100:
adrp x8, _glad_glVertexAttribDivisor@GOTPAGE
Lloh101:
ldr x8, [x8, _glad_glVertexAttribDivisor@GOTPAGEOFF]
Lloh102:
str x0, [x8]
Lloh103:
adrp x0, l_.str.20@PAGE
Lloh104:
add x0, x0, l_.str.20@PAGEOFF
blr x19
Lloh105:
adrp x8, _glad_glVertexAttribP1ui@GOTPAGE
Lloh106:
ldr x8, [x8, _glad_glVertexAttribP1ui@GOTPAGEOFF]
Lloh107:
str x0, [x8]
Lloh108:
adrp x0, l_.str.21@PAGE
Lloh109:
add x0, x0, l_.str.21@PAGEOFF
blr x19
Lloh110:
adrp x8, _glad_glVertexAttribP1uiv@GOTPAGE
Lloh111:
ldr x8, [x8, _glad_glVertexAttribP1uiv@GOTPAGEOFF]
Lloh112:
str x0, [x8]
Lloh113:
adrp x0, l_.str.22@PAGE
Lloh114:
add x0, x0, l_.str.22@PAGEOFF
blr x19
Lloh115:
adrp x8, _glad_glVertexAttribP2ui@GOTPAGE
Lloh116:
ldr x8, [x8, _glad_glVertexAttribP2ui@GOTPAGEOFF]
Lloh117:
str x0, [x8]
Lloh118:
adrp x0, l_.str.23@PAGE
Lloh119:
add x0, x0, l_.str.23@PAGEOFF
blr x19
Lloh120:
adrp x8, _glad_glVertexAttribP2uiv@GOTPAGE
Lloh121:
ldr x8, [x8, _glad_glVertexAttribP2uiv@GOTPAGEOFF]
Lloh122:
str x0, [x8]
Lloh123:
adrp x0, l_.str.24@PAGE
Lloh124:
add x0, x0, l_.str.24@PAGEOFF
blr x19
Lloh125:
adrp x8, _glad_glVertexAttribP3ui@GOTPAGE
Lloh126:
ldr x8, [x8, _glad_glVertexAttribP3ui@GOTPAGEOFF]
Lloh127:
str x0, [x8]
Lloh128:
adrp x0, l_.str.25@PAGE
Lloh129:
add x0, x0, l_.str.25@PAGEOFF
blr x19
Lloh130:
adrp x8, _glad_glVertexAttribP3uiv@GOTPAGE
Lloh131:
ldr x8, [x8, _glad_glVertexAttribP3uiv@GOTPAGEOFF]
Lloh132:
str x0, [x8]
Lloh133:
adrp x0, l_.str.26@PAGE
Lloh134:
add x0, x0, l_.str.26@PAGEOFF
blr x19
Lloh135:
adrp x8, _glad_glVertexAttribP4ui@GOTPAGE
Lloh136:
ldr x8, [x8, _glad_glVertexAttribP4ui@GOTPAGEOFF]
Lloh137:
str x0, [x8]
Lloh138:
adrp x0, l_.str.27@PAGE
Lloh139:
add x0, x0, l_.str.27@PAGEOFF
blr x19
Lloh140:
adrp x8, _glad_glVertexAttribP4uiv@GOTPAGE
Lloh141:
ldr x8, [x8, _glad_glVertexAttribP4uiv@GOTPAGEOFF]
Lloh142:
str x0, [x8]
Lloh143:
adrp x0, l_.str.28@PAGE
Lloh144:
add x0, x0, l_.str.28@PAGEOFF
blr x19
Lloh145:
adrp x8, _glad_glVertexP2ui@GOTPAGE
Lloh146:
ldr x8, [x8, _glad_glVertexP2ui@GOTPAGEOFF]
Lloh147:
str x0, [x8]
Lloh148:
adrp x0, l_.str.29@PAGE
Lloh149:
add x0, x0, l_.str.29@PAGEOFF
blr x19
Lloh150:
adrp x8, _glad_glVertexP2uiv@GOTPAGE
Lloh151:
ldr x8, [x8, _glad_glVertexP2uiv@GOTPAGEOFF]
Lloh152:
str x0, [x8]
Lloh153:
adrp x0, l_.str.30@PAGE
Lloh154:
add x0, x0, l_.str.30@PAGEOFF
blr x19
Lloh155:
adrp x8, _glad_glVertexP3ui@GOTPAGE
Lloh156:
ldr x8, [x8, _glad_glVertexP3ui@GOTPAGEOFF]
Lloh157:
str x0, [x8]
Lloh158:
adrp x0, l_.str.31@PAGE
Lloh159:
add x0, x0, l_.str.31@PAGEOFF
blr x19
Lloh160:
adrp x8, _glad_glVertexP3uiv@GOTPAGE
Lloh161:
ldr x8, [x8, _glad_glVertexP3uiv@GOTPAGEOFF]
Lloh162:
str x0, [x8]
Lloh163:
adrp x0, l_.str.32@PAGE
Lloh164:
add x0, x0, l_.str.32@PAGEOFF
blr x19
Lloh165:
adrp x8, _glad_glVertexP4ui@GOTPAGE
Lloh166:
ldr x8, [x8, _glad_glVertexP4ui@GOTPAGEOFF]
Lloh167:
str x0, [x8]
Lloh168:
adrp x0, l_.str.33@PAGE
Lloh169:
add x0, x0, l_.str.33@PAGEOFF
blr x19
Lloh170:
adrp x8, _glad_glVertexP4uiv@GOTPAGE
Lloh171:
ldr x8, [x8, _glad_glVertexP4uiv@GOTPAGEOFF]
Lloh172:
str x0, [x8]
Lloh173:
adrp x0, l_.str.34@PAGE
Lloh174:
add x0, x0, l_.str.34@PAGEOFF
blr x19
Lloh175:
adrp x8, _glad_glTexCoordP1ui@GOTPAGE
Lloh176:
ldr x8, [x8, _glad_glTexCoordP1ui@GOTPAGEOFF]
Lloh177:
str x0, [x8]
Lloh178:
adrp x0, l_.str.35@PAGE
Lloh179:
add x0, x0, l_.str.35@PAGEOFF
blr x19
Lloh180:
adrp x8, _glad_glTexCoordP1uiv@GOTPAGE
Lloh181:
ldr x8, [x8, _glad_glTexCoordP1uiv@GOTPAGEOFF]
Lloh182:
str x0, [x8]
Lloh183:
adrp x0, l_.str.36@PAGE
Lloh184:
add x0, x0, l_.str.36@PAGEOFF
blr x19
Lloh185:
adrp x8, _glad_glTexCoordP2ui@GOTPAGE
Lloh186:
ldr x8, [x8, _glad_glTexCoordP2ui@GOTPAGEOFF]
Lloh187:
str x0, [x8]
Lloh188:
adrp x0, l_.str.37@PAGE
Lloh189:
add x0, x0, l_.str.37@PAGEOFF
blr x19
Lloh190:
adrp x8, _glad_glTexCoordP2uiv@GOTPAGE
Lloh191:
ldr x8, [x8, _glad_glTexCoordP2uiv@GOTPAGEOFF]
Lloh192:
str x0, [x8]
Lloh193:
adrp x0, l_.str.38@PAGE
Lloh194:
add x0, x0, l_.str.38@PAGEOFF
blr x19
Lloh195:
adrp x8, _glad_glTexCoordP3ui@GOTPAGE
Lloh196:
ldr x8, [x8, _glad_glTexCoordP3ui@GOTPAGEOFF]
Lloh197:
str x0, [x8]
Lloh198:
adrp x0, l_.str.39@PAGE
Lloh199:
add x0, x0, l_.str.39@PAGEOFF
blr x19
Lloh200:
adrp x8, _glad_glTexCoordP3uiv@GOTPAGE
Lloh201:
ldr x8, [x8, _glad_glTexCoordP3uiv@GOTPAGEOFF]
Lloh202:
str x0, [x8]
Lloh203:
adrp x0, l_.str.40@PAGE
Lloh204:
add x0, x0, l_.str.40@PAGEOFF
blr x19
Lloh205:
adrp x8, _glad_glTexCoordP4ui@GOTPAGE
Lloh206:
ldr x8, [x8, _glad_glTexCoordP4ui@GOTPAGEOFF]
Lloh207:
str x0, [x8]
Lloh208:
adrp x0, l_.str.41@PAGE
Lloh209:
add x0, x0, l_.str.41@PAGEOFF
blr x19
Lloh210:
adrp x8, _glad_glTexCoordP4uiv@GOTPAGE
Lloh211:
ldr x8, [x8, _glad_glTexCoordP4uiv@GOTPAGEOFF]
Lloh212:
str x0, [x8]
Lloh213:
adrp x0, l_.str.42@PAGE
Lloh214:
add x0, x0, l_.str.42@PAGEOFF
blr x19
Lloh215:
adrp x8, _glad_glMultiTexCoordP1ui@GOTPAGE
Lloh216:
ldr x8, [x8, _glad_glMultiTexCoordP1ui@GOTPAGEOFF]
Lloh217:
str x0, [x8]
Lloh218:
adrp x0, l_.str.43@PAGE
Lloh219:
add x0, x0, l_.str.43@PAGEOFF
blr x19
Lloh220:
adrp x8, _glad_glMultiTexCoordP1uiv@GOTPAGE
Lloh221:
ldr x8, [x8, _glad_glMultiTexCoordP1uiv@GOTPAGEOFF]
Lloh222:
str x0, [x8]
Lloh223:
adrp x0, l_.str.44@PAGE
Lloh224:
add x0, x0, l_.str.44@PAGEOFF
blr x19
Lloh225:
adrp x8, _glad_glMultiTexCoordP2ui@GOTPAGE
Lloh226:
ldr x8, [x8, _glad_glMultiTexCoordP2ui@GOTPAGEOFF]
Lloh227:
str x0, [x8]
Lloh228:
adrp x0, l_.str.45@PAGE
Lloh229:
add x0, x0, l_.str.45@PAGEOFF
blr x19
Lloh230:
adrp x8, _glad_glMultiTexCoordP2uiv@GOTPAGE
Lloh231:
ldr x8, [x8, _glad_glMultiTexCoordP2uiv@GOTPAGEOFF]
Lloh232:
str x0, [x8]
Lloh233:
adrp x0, l_.str.46@PAGE
Lloh234:
add x0, x0, l_.str.46@PAGEOFF
blr x19
Lloh235:
adrp x8, _glad_glMultiTexCoordP3ui@GOTPAGE
Lloh236:
ldr x8, [x8, _glad_glMultiTexCoordP3ui@GOTPAGEOFF]
Lloh237:
str x0, [x8]
Lloh238:
adrp x0, l_.str.47@PAGE
Lloh239:
add x0, x0, l_.str.47@PAGEOFF
blr x19
Lloh240:
adrp x8, _glad_glMultiTexCoordP3uiv@GOTPAGE
Lloh241:
ldr x8, [x8, _glad_glMultiTexCoordP3uiv@GOTPAGEOFF]
Lloh242:
str x0, [x8]
Lloh243:
adrp x0, l_.str.48@PAGE
Lloh244:
add x0, x0, l_.str.48@PAGEOFF
blr x19
Lloh245:
adrp x8, _glad_glMultiTexCoordP4ui@GOTPAGE
Lloh246:
ldr x8, [x8, _glad_glMultiTexCoordP4ui@GOTPAGEOFF]
Lloh247:
str x0, [x8]
Lloh248:
adrp x0, l_.str.49@PAGE
Lloh249:
add x0, x0, l_.str.49@PAGEOFF
blr x19
Lloh250:
adrp x8, _glad_glMultiTexCoordP4uiv@GOTPAGE
Lloh251:
ldr x8, [x8, _glad_glMultiTexCoordP4uiv@GOTPAGEOFF]
Lloh252:
str x0, [x8]
Lloh253:
adrp x0, l_.str.50@PAGE
Lloh254:
add x0, x0, l_.str.50@PAGEOFF
blr x19
Lloh255:
adrp x8, _glad_glNormalP3ui@GOTPAGE
Lloh256:
ldr x8, [x8, _glad_glNormalP3ui@GOTPAGEOFF]
Lloh257:
str x0, [x8]
Lloh258:
adrp x0, l_.str.51@PAGE
Lloh259:
add x0, x0, l_.str.51@PAGEOFF
blr x19
Lloh260:
adrp x8, _glad_glNormalP3uiv@GOTPAGE
Lloh261:
ldr x8, [x8, _glad_glNormalP3uiv@GOTPAGEOFF]
Lloh262:
str x0, [x8]
Lloh263:
adrp x0, l_.str.52@PAGE
Lloh264:
add x0, x0, l_.str.52@PAGEOFF
blr x19
Lloh265:
adrp x8, _glad_glColorP3ui@GOTPAGE
Lloh266:
ldr x8, [x8, _glad_glColorP3ui@GOTPAGEOFF]
Lloh267:
str x0, [x8]
Lloh268:
adrp x0, l_.str.53@PAGE
Lloh269:
add x0, x0, l_.str.53@PAGEOFF
blr x19
Lloh270:
adrp x8, _glad_glColorP3uiv@GOTPAGE
Lloh271:
ldr x8, [x8, _glad_glColorP3uiv@GOTPAGEOFF]
Lloh272:
str x0, [x8]
Lloh273:
adrp x0, l_.str.54@PAGE
Lloh274:
add x0, x0, l_.str.54@PAGEOFF
blr x19
Lloh275:
adrp x8, _glad_glColorP4ui@GOTPAGE
Lloh276:
ldr x8, [x8, _glad_glColorP4ui@GOTPAGEOFF]
Lloh277:
str x0, [x8]
Lloh278:
adrp x0, l_.str.55@PAGE
Lloh279:
add x0, x0, l_.str.55@PAGEOFF
blr x19
Lloh280:
adrp x8, _glad_glColorP4uiv@GOTPAGE
Lloh281:
ldr x8, [x8, _glad_glColorP4uiv@GOTPAGEOFF]
Lloh282:
str x0, [x8]
Lloh283:
adrp x0, l_.str.56@PAGE
Lloh284:
add x0, x0, l_.str.56@PAGEOFF
blr x19
Lloh285:
adrp x8, _glad_glSecondaryColorP3ui@GOTPAGE
Lloh286:
ldr x8, [x8, _glad_glSecondaryColorP3ui@GOTPAGEOFF]
Lloh287:
str x0, [x8]
Lloh288:
adrp x0, l_.str.57@PAGE
Lloh289:
add x0, x0, l_.str.57@PAGEOFF
blr x19
Lloh290:
adrp x8, _glad_glSecondaryColorP3uiv@GOTPAGE
Lloh291:
ldr x8, [x8, _glad_glSecondaryColorP3uiv@GOTPAGEOFF]
Lloh292:
str x0, [x8]
LBB0_2:
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 AdrpLdrGotStr Lloh290, Lloh291, Lloh292
.loh AdrpAdd Lloh288, Lloh289
.loh AdrpLdrGotStr Lloh285, Lloh286, Lloh287
.loh AdrpAdd Lloh283, Lloh284
.loh AdrpLdrGotStr Lloh280, Lloh281, Lloh282
.loh AdrpAdd Lloh278, Lloh279
.loh AdrpLdrGotStr Lloh275, Lloh276, Lloh277
.loh AdrpAdd Lloh273, Lloh274
.loh AdrpLdrGotStr Lloh270, Lloh271, Lloh272
.loh AdrpAdd Lloh268, Lloh269
.loh AdrpLdrGotStr Lloh265, Lloh266, Lloh267
.loh AdrpAdd Lloh263, Lloh264
.loh AdrpLdrGotStr Lloh260, Lloh261, Lloh262
.loh AdrpAdd Lloh258, Lloh259
.loh AdrpLdrGotStr Lloh255, Lloh256, Lloh257
.loh AdrpAdd Lloh253, Lloh254
.loh AdrpLdrGotStr Lloh250, Lloh251, Lloh252
.loh AdrpAdd Lloh248, Lloh249
.loh AdrpLdrGotStr Lloh245, Lloh246, Lloh247
.loh AdrpAdd Lloh243, Lloh244
.loh AdrpLdrGotStr Lloh240, Lloh241, Lloh242
.loh AdrpAdd Lloh238, Lloh239
.loh AdrpLdrGotStr Lloh235, Lloh236, Lloh237
.loh AdrpAdd Lloh233, Lloh234
.loh AdrpLdrGotStr Lloh230, Lloh231, Lloh232
.loh AdrpAdd Lloh228, Lloh229
.loh AdrpLdrGotStr Lloh225, Lloh226, Lloh227
.loh AdrpAdd Lloh223, Lloh224
.loh AdrpLdrGotStr Lloh220, Lloh221, Lloh222
.loh AdrpAdd Lloh218, Lloh219
.loh AdrpLdrGotStr Lloh215, Lloh216, Lloh217
.loh AdrpAdd Lloh213, Lloh214
.loh AdrpLdrGotStr Lloh210, Lloh211, Lloh212
.loh AdrpAdd Lloh208, Lloh209
.loh AdrpLdrGotStr Lloh205, Lloh206, Lloh207
.loh AdrpAdd Lloh203, Lloh204
.loh AdrpLdrGotStr Lloh200, Lloh201, Lloh202
.loh AdrpAdd Lloh198, Lloh199
.loh AdrpLdrGotStr Lloh195, Lloh196, Lloh197
.loh AdrpAdd Lloh193, Lloh194
.loh AdrpLdrGotStr Lloh190, Lloh191, Lloh192
.loh AdrpAdd Lloh188, Lloh189
.loh AdrpLdrGotStr Lloh185, Lloh186, Lloh187
.loh AdrpAdd Lloh183, Lloh184
.loh AdrpLdrGotStr Lloh180, Lloh181, Lloh182
.loh AdrpAdd Lloh178, Lloh179
.loh AdrpLdrGotStr Lloh175, Lloh176, Lloh177
.loh AdrpAdd Lloh173, Lloh174
.loh AdrpLdrGotStr Lloh170, Lloh171, Lloh172
.loh AdrpAdd Lloh168, Lloh169
.loh AdrpLdrGotStr Lloh165, Lloh166, Lloh167
.loh AdrpAdd Lloh163, Lloh164
.loh AdrpLdrGotStr Lloh160, Lloh161, Lloh162
.loh AdrpAdd Lloh158, Lloh159
.loh AdrpLdrGotStr Lloh155, Lloh156, Lloh157
.loh AdrpAdd Lloh153, Lloh154
.loh AdrpLdrGotStr Lloh150, Lloh151, Lloh152
.loh AdrpAdd Lloh148, Lloh149
.loh AdrpLdrGotStr Lloh145, Lloh146, Lloh147
.loh AdrpAdd Lloh143, Lloh144
.loh AdrpLdrGotStr Lloh140, Lloh141, Lloh142
.loh AdrpAdd Lloh138, Lloh139
.loh AdrpLdrGotStr Lloh135, Lloh136, Lloh137
.loh AdrpAdd Lloh133, Lloh134
.loh AdrpLdrGotStr Lloh130, Lloh131, Lloh132
.loh AdrpAdd Lloh128, Lloh129
.loh AdrpLdrGotStr Lloh125, Lloh126, Lloh127
.loh AdrpAdd Lloh123, Lloh124
.loh AdrpLdrGotStr Lloh120, Lloh121, Lloh122
.loh AdrpAdd Lloh118, Lloh119
.loh AdrpLdrGotStr Lloh115, Lloh116, Lloh117
.loh AdrpAdd Lloh113, Lloh114
.loh AdrpLdrGotStr Lloh110, Lloh111, Lloh112
.loh AdrpAdd Lloh108, Lloh109
.loh AdrpLdrGotStr Lloh105, Lloh106, Lloh107
.loh AdrpAdd Lloh103, Lloh104
.loh AdrpLdrGotStr Lloh100, Lloh101, Lloh102
.loh AdrpAdd Lloh98, Lloh99
.loh AdrpLdrGotStr Lloh95, Lloh96, Lloh97
.loh AdrpAdd Lloh93, Lloh94
.loh AdrpLdrGotStr Lloh90, Lloh91, Lloh92
.loh AdrpAdd Lloh88, Lloh89
.loh AdrpLdrGotStr Lloh85, Lloh86, Lloh87
.loh AdrpAdd Lloh83, Lloh84
.loh AdrpLdrGotStr Lloh80, Lloh81, Lloh82
.loh AdrpAdd Lloh78, Lloh79
.loh AdrpLdrGotStr Lloh75, Lloh76, Lloh77
.loh AdrpAdd Lloh73, Lloh74
.loh AdrpLdrGotStr Lloh70, Lloh71, Lloh72
.loh AdrpAdd Lloh68, Lloh69
.loh AdrpLdrGotStr Lloh65, Lloh66, Lloh67
.loh AdrpAdd Lloh63, Lloh64
.loh AdrpLdrGotStr Lloh60, Lloh61, Lloh62
.loh AdrpAdd Lloh58, Lloh59
.loh AdrpLdrGotStr Lloh55, Lloh56, Lloh57
.loh AdrpAdd Lloh53, Lloh54
.loh AdrpLdrGotStr Lloh50, Lloh51, Lloh52
.loh AdrpAdd Lloh48, Lloh49
.loh AdrpLdrGotStr Lloh45, Lloh46, Lloh47
.loh AdrpAdd Lloh43, Lloh44
.loh AdrpLdrGotStr Lloh40, Lloh41, Lloh42
.loh AdrpAdd Lloh38, Lloh39
.loh AdrpLdrGotStr Lloh35, Lloh36, Lloh37
.loh AdrpAdd Lloh33, Lloh34
.loh AdrpLdrGotStr Lloh30, Lloh31, Lloh32
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpLdrGotStr Lloh25, Lloh26, Lloh27
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpLdrGotStr Lloh20, Lloh21, Lloh22
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpLdrGotStr Lloh15, Lloh16, Lloh17
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGotStr Lloh10, Lloh11, Lloh12
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGotStr Lloh5, Lloh6, Lloh7
.loh AdrpAdd Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _GLAD_GL_VERSION_3_3,4,2 ; @GLAD_GL_VERSION_3_3
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "glBindFragDataLocationIndexed"
.comm _glad_glBindFragDataLocationIndexed,8,3 ; @glad_glBindFragDataLocationIndexed
l_.str.1: ; @.str.1
.asciz "glGetFragDataIndex"
.comm _glad_glGetFragDataIndex,8,3 ; @glad_glGetFragDataIndex
l_.str.2: ; @.str.2
.asciz "glGenSamplers"
.comm _glad_glGenSamplers,8,3 ; @glad_glGenSamplers
l_.str.3: ; @.str.3
.asciz "glDeleteSamplers"
.comm _glad_glDeleteSamplers,8,3 ; @glad_glDeleteSamplers
l_.str.4: ; @.str.4
.asciz "glIsSampler"
.comm _glad_glIsSampler,8,3 ; @glad_glIsSampler
l_.str.5: ; @.str.5
.asciz "glBindSampler"
.comm _glad_glBindSampler,8,3 ; @glad_glBindSampler
l_.str.6: ; @.str.6
.asciz "glSamplerParameteri"
.comm _glad_glSamplerParameteri,8,3 ; @glad_glSamplerParameteri
l_.str.7: ; @.str.7
.asciz "glSamplerParameteriv"
.comm _glad_glSamplerParameteriv,8,3 ; @glad_glSamplerParameteriv
l_.str.8: ; @.str.8
.asciz "glSamplerParameterf"
.comm _glad_glSamplerParameterf,8,3 ; @glad_glSamplerParameterf
l_.str.9: ; @.str.9
.asciz "glSamplerParameterfv"
.comm _glad_glSamplerParameterfv,8,3 ; @glad_glSamplerParameterfv
l_.str.10: ; @.str.10
.asciz "glSamplerParameterIiv"
.comm _glad_glSamplerParameterIiv,8,3 ; @glad_glSamplerParameterIiv
l_.str.11: ; @.str.11
.asciz "glSamplerParameterIuiv"
.comm _glad_glSamplerParameterIuiv,8,3 ; @glad_glSamplerParameterIuiv
l_.str.12: ; @.str.12
.asciz "glGetSamplerParameteriv"
.comm _glad_glGetSamplerParameteriv,8,3 ; @glad_glGetSamplerParameteriv
l_.str.13: ; @.str.13
.asciz "glGetSamplerParameterIiv"
.comm _glad_glGetSamplerParameterIiv,8,3 ; @glad_glGetSamplerParameterIiv
l_.str.14: ; @.str.14
.asciz "glGetSamplerParameterfv"
.comm _glad_glGetSamplerParameterfv,8,3 ; @glad_glGetSamplerParameterfv
l_.str.15: ; @.str.15
.asciz "glGetSamplerParameterIuiv"
.comm _glad_glGetSamplerParameterIuiv,8,3 ; @glad_glGetSamplerParameterIuiv
l_.str.16: ; @.str.16
.asciz "glQueryCounter"
.comm _glad_glQueryCounter,8,3 ; @glad_glQueryCounter
l_.str.17: ; @.str.17
.asciz "glGetQueryObjecti64v"
.comm _glad_glGetQueryObjecti64v,8,3 ; @glad_glGetQueryObjecti64v
l_.str.18: ; @.str.18
.asciz "glGetQueryObjectui64v"
.comm _glad_glGetQueryObjectui64v,8,3 ; @glad_glGetQueryObjectui64v
l_.str.19: ; @.str.19
.asciz "glVertexAttribDivisor"
.comm _glad_glVertexAttribDivisor,8,3 ; @glad_glVertexAttribDivisor
l_.str.20: ; @.str.20
.asciz "glVertexAttribP1ui"
.comm _glad_glVertexAttribP1ui,8,3 ; @glad_glVertexAttribP1ui
l_.str.21: ; @.str.21
.asciz "glVertexAttribP1uiv"
.comm _glad_glVertexAttribP1uiv,8,3 ; @glad_glVertexAttribP1uiv
l_.str.22: ; @.str.22
.asciz "glVertexAttribP2ui"
.comm _glad_glVertexAttribP2ui,8,3 ; @glad_glVertexAttribP2ui
l_.str.23: ; @.str.23
.asciz "glVertexAttribP2uiv"
.comm _glad_glVertexAttribP2uiv,8,3 ; @glad_glVertexAttribP2uiv
l_.str.24: ; @.str.24
.asciz "glVertexAttribP3ui"
.comm _glad_glVertexAttribP3ui,8,3 ; @glad_glVertexAttribP3ui
l_.str.25: ; @.str.25
.asciz "glVertexAttribP3uiv"
.comm _glad_glVertexAttribP3uiv,8,3 ; @glad_glVertexAttribP3uiv
l_.str.26: ; @.str.26
.asciz "glVertexAttribP4ui"
.comm _glad_glVertexAttribP4ui,8,3 ; @glad_glVertexAttribP4ui
l_.str.27: ; @.str.27
.asciz "glVertexAttribP4uiv"
.comm _glad_glVertexAttribP4uiv,8,3 ; @glad_glVertexAttribP4uiv
l_.str.28: ; @.str.28
.asciz "glVertexP2ui"
.comm _glad_glVertexP2ui,8,3 ; @glad_glVertexP2ui
l_.str.29: ; @.str.29
.asciz "glVertexP2uiv"
.comm _glad_glVertexP2uiv,8,3 ; @glad_glVertexP2uiv
l_.str.30: ; @.str.30
.asciz "glVertexP3ui"
.comm _glad_glVertexP3ui,8,3 ; @glad_glVertexP3ui
l_.str.31: ; @.str.31
.asciz "glVertexP3uiv"
.comm _glad_glVertexP3uiv,8,3 ; @glad_glVertexP3uiv
l_.str.32: ; @.str.32
.asciz "glVertexP4ui"
.comm _glad_glVertexP4ui,8,3 ; @glad_glVertexP4ui
l_.str.33: ; @.str.33
.asciz "glVertexP4uiv"
.comm _glad_glVertexP4uiv,8,3 ; @glad_glVertexP4uiv
l_.str.34: ; @.str.34
.asciz "glTexCoordP1ui"
.comm _glad_glTexCoordP1ui,8,3 ; @glad_glTexCoordP1ui
l_.str.35: ; @.str.35
.asciz "glTexCoordP1uiv"
.comm _glad_glTexCoordP1uiv,8,3 ; @glad_glTexCoordP1uiv
l_.str.36: ; @.str.36
.asciz "glTexCoordP2ui"
.comm _glad_glTexCoordP2ui,8,3 ; @glad_glTexCoordP2ui
l_.str.37: ; @.str.37
.asciz "glTexCoordP2uiv"
.comm _glad_glTexCoordP2uiv,8,3 ; @glad_glTexCoordP2uiv
l_.str.38: ; @.str.38
.asciz "glTexCoordP3ui"
.comm _glad_glTexCoordP3ui,8,3 ; @glad_glTexCoordP3ui
l_.str.39: ; @.str.39
.asciz "glTexCoordP3uiv"
.comm _glad_glTexCoordP3uiv,8,3 ; @glad_glTexCoordP3uiv
l_.str.40: ; @.str.40
.asciz "glTexCoordP4ui"
.comm _glad_glTexCoordP4ui,8,3 ; @glad_glTexCoordP4ui
l_.str.41: ; @.str.41
.asciz "glTexCoordP4uiv"
.comm _glad_glTexCoordP4uiv,8,3 ; @glad_glTexCoordP4uiv
l_.str.42: ; @.str.42
.asciz "glMultiTexCoordP1ui"
.comm _glad_glMultiTexCoordP1ui,8,3 ; @glad_glMultiTexCoordP1ui
l_.str.43: ; @.str.43
.asciz "glMultiTexCoordP1uiv"
.comm _glad_glMultiTexCoordP1uiv,8,3 ; @glad_glMultiTexCoordP1uiv
l_.str.44: ; @.str.44
.asciz "glMultiTexCoordP2ui"
.comm _glad_glMultiTexCoordP2ui,8,3 ; @glad_glMultiTexCoordP2ui
l_.str.45: ; @.str.45
.asciz "glMultiTexCoordP2uiv"
.comm _glad_glMultiTexCoordP2uiv,8,3 ; @glad_glMultiTexCoordP2uiv
l_.str.46: ; @.str.46
.asciz "glMultiTexCoordP3ui"
.comm _glad_glMultiTexCoordP3ui,8,3 ; @glad_glMultiTexCoordP3ui
l_.str.47: ; @.str.47
.asciz "glMultiTexCoordP3uiv"
.comm _glad_glMultiTexCoordP3uiv,8,3 ; @glad_glMultiTexCoordP3uiv
l_.str.48: ; @.str.48
.asciz "glMultiTexCoordP4ui"
.comm _glad_glMultiTexCoordP4ui,8,3 ; @glad_glMultiTexCoordP4ui
l_.str.49: ; @.str.49
.asciz "glMultiTexCoordP4uiv"
.comm _glad_glMultiTexCoordP4uiv,8,3 ; @glad_glMultiTexCoordP4uiv
l_.str.50: ; @.str.50
.asciz "glNormalP3ui"
.comm _glad_glNormalP3ui,8,3 ; @glad_glNormalP3ui
l_.str.51: ; @.str.51
.asciz "glNormalP3uiv"
.comm _glad_glNormalP3uiv,8,3 ; @glad_glNormalP3uiv
l_.str.52: ; @.str.52
.asciz "glColorP3ui"
.comm _glad_glColorP3ui,8,3 ; @glad_glColorP3ui
l_.str.53: ; @.str.53
.asciz "glColorP3uiv"
.comm _glad_glColorP3uiv,8,3 ; @glad_glColorP3uiv
l_.str.54: ; @.str.54
.asciz "glColorP4ui"
.comm _glad_glColorP4ui,8,3 ; @glad_glColorP4ui
l_.str.55: ; @.str.55
.asciz "glColorP4uiv"
.comm _glad_glColorP4uiv,8,3 ; @glad_glColorP4uiv
l_.str.56: ; @.str.56
.asciz "glSecondaryColorP3ui"
.comm _glad_glSecondaryColorP3ui,8,3 ; @glad_glSecondaryColorP3ui
l_.str.57: ; @.str.57
.asciz "glSecondaryColorP3uiv"
.comm _glad_glSecondaryColorP3uiv,8,3 ; @glad_glSecondaryColorP3uiv
.no_dead_strip _load_GL_VERSION_3_3
.subsections_via_symbols
|
AnghaBench/obs-studio/deps/glad/src/extr_glad.c_load_GL_VERSION_3_3.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ocxl_pasid_afu_free ## -- Begin function ocxl_pasid_afu_free
.p2align 4, 0x90
_ocxl_pasid_afu_free: ## @ocxl_pasid_afu_free
.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), %rcx
popq %rbp
jmp _range_free ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "afu pasid"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ocxl_pasid_afu_free ; -- Begin function ocxl_pasid_afu_free
.p2align 2
_ocxl_pasid_afu_free: ; @ocxl_pasid_afu_free
.cfi_startproc
; %bb.0:
Lloh0:
adrp x3, l_.str@PAGE
Lloh1:
add x3, x3, l_.str@PAGEOFF
b _range_free
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "afu pasid"
.subsections_via_symbols
|
AnghaBench/linux/drivers/misc/ocxl/extr_pasid.c_ocxl_pasid_afu_free.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function rack_do_closing
_rack_do_closing: ## @rack_do_closing
.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 %r8, -56(%rbp) ## 8-byte Spill
movq %rcx, %rbx
movq %rdx, %r13
movq %rsi, %r14
movq %rdi, -72(%rbp) ## 8-byte Spill
movl 40(%rbp), %eax
movq %rax, -96(%rbp) ## 8-byte Spill
movl 32(%rbp), %r12d
movl 24(%rbp), %eax
movq %rax, -88(%rbp) ## 8-byte Spill
movl 16(%rbp), %r15d
movl %r9d, -60(%rbp)
movl $0, -44(%rbp)
movl $0, -76(%rbp)
movq %rdx, %rdi
movq %rcx, %rsi
callq _ctf_calc_rwin
movq _TH_RST@GOTPCREL(%rip), %rax
testl %r12d, (%rax)
je LBB0_2
LBB0_1:
movq -72(%rbp), %rdi ## 8-byte Reload
movq %r14, %rsi
movq %r13, %rdx
movq %rbx, %rcx
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _ctf_process_rst ## TAILCALL
LBB0_2:
cmpq $0, 40(%rbx)
je LBB0_4
## %bb.3:
movq _TH_FIN@GOTPCREL(%rip), %rax
testl %r12d, (%rax)
jne LBB0_1
LBB0_4:
movq _TH_SYN@GOTPCREL(%rip), %rax
testl %r12d, (%rax)
je LBB0_6
## %bb.5:
leaq -44(%rbp), %rcx
movq -72(%rbp), %rdi ## 8-byte Reload
movq %r14, %rsi
movq %rbx, %rdx
callq _ctf_challenge_ack
jmp LBB0_12
LBB0_6:
movq _TOF_TS@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq -56(%rbp), %rdi ## 8-byte Reload
testl %eax, (%rdi)
je LBB0_11
## %bb.7:
movq 24(%rbx), %rsi
testq %rsi, %rsi
je LBB0_11
## %bb.8:
movq -56(%rbp), %rax ## 8-byte Reload
movq 8(%rax), %rdi
callq _TSTMP_LT
movq -56(%rbp), %rdi ## 8-byte Reload
testq %rax, %rax
je LBB0_11
## %bb.9:
leaq -44(%rbp), %r9
movq -72(%rbp), %rdi ## 8-byte Reload
movq %r14, %rsi
movq %rbx, %rdx
movl %r15d, %ecx
movl %r12d, %r8d
callq _ctf_ts_check
movq -56(%rbp), %rdi ## 8-byte Reload
testq %rax, %rax
jne LBB0_12
LBB0_11:
leaq -44(%rbp), %r12
leaq -60(%rbp), %rax
leaq 16(%rbp), %r8
leaq 32(%rbp), %r9
movq -72(%rbp), %rsi ## 8-byte Reload
movq %r14, %rdx
movq %rbx, %rcx
pushq %r12
pushq %rax
callq _ctf_drop_checks
addq $16, %rsp
testq %rax, %rax
je LBB0_14
LBB0_12:
movl -44(%rbp), %r15d
LBB0_13:
movl %r15d, %eax
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_14:
movq _SS_NOFDREF@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, (%r13)
je LBB0_17
## %bb.15:
cmpl $0, 16(%rbp)
je LBB0_17
## %bb.16:
leaq 16(%rbp), %rdx
movq -72(%rbp), %rdi ## 8-byte Reload
movq %rbx, %rsi
movq %r14, %rcx
movq %r13, %r8
callq _rack_check_data_after_close
movl $1, %r15d
testq %rax, %rax
jne LBB0_13
LBB0_17:
movq _TOF_TS@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq -56(%rbp), %rcx ## 8-byte Reload
testl %eax, (%rcx)
je LBB0_21
## %bb.18:
movl (%r14), %edi
movl (%rbx), %esi
callq _SEQ_LEQ
testq %rax, %rax
je LBB0_21
## %bb.19:
movl 16(%rbp), %esi
addl (%r14), %esi
movq _TH_FIN@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _TH_SYN@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
andl 32(%rbp), %eax
movl (%rbx), %edi
cmpl $1, %eax
sbbl $-1, %esi
callq _SEQ_LEQ
testq %rax, %rax
je LBB0_21
## %bb.20:
xorl %eax, %eax
callq _tcp_ts_getticks
movl %eax, 32(%rbx)
movq -56(%rbp), %rax ## 8-byte Reload
movq 8(%rax), %rax
movq %rax, 24(%rbx)
LBB0_21:
movl 32(%rbp), %eax
movq _TH_ACK@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
movq -72(%rbp), %r15 ## 8-byte Reload
je LBB0_24
## %bb.22:
movl 16(%rbp), %r10d
leaq -76(%rbp), %r11
movq %r15, %rdi
movq %r14, %rsi
movq %r13, %rdx
movq %rbx, %rcx
movq -56(%rbp), %r8 ## 8-byte Reload
movq -88(%rbp), %r9 ## 8-byte Reload
## kill: def $r9d killed $r9d killed $r9
pushq %r12
pushq %rax
pushq %r11
pushq %r10
callq _rack_process_ack
addq $32, %rsp
testq %rax, %rax
jne LBB0_12
## %bb.27:
cmpl $0, -76(%rbp)
je LBB0_31
## %bb.28:
movq %rbx, %rdi
callq _tcp_twstart
movq %r15, %rdi
callq _m_freem
movl $1, %r15d
jmp LBB0_13
LBB0_24:
movl 4(%rbx), %ecx
movq _TF_NEEDSYN@GOTPCREL(%rip), %rdx
testl %ecx, (%rdx)
je LBB0_29
## %bb.25:
movl -60(%rbp), %r8d
movl 16(%rbp), %r9d
LBB0_26:
subq $8, %rsp
movq %r15, %rdi
movq %r14, %rsi
movq %r13, %rdx
movq %rbx, %rcx
pushq -96(%rbp) ## 8-byte Folded Reload
pushq %rax
pushq -88(%rbp) ## 8-byte Folded Reload
callq _rack_process_data
addq $32, %rsp
movl %eax, %r15d
jmp LBB0_13
LBB0_29:
movq _TF_ACKNOW@GOTPCREL(%rip), %rdx
testl %ecx, (%rdx)
je LBB0_34
## %bb.30:
movl 16(%rbp), %r8d
leaq -44(%rbp), %r9
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
movl %eax, %ecx
callq _ctf_do_dropafterack
movq 16(%rbx), %rax
incl (%rax)
jmp LBB0_12
LBB0_31:
leaq 4(%r13), %rdi
callq _sbavail
testq %rax, %rax
je LBB0_35
## %bb.32:
movq %rbx, %rdi
callq _rack_progress_timeout_check
testq %rax, %rax
je LBB0_35
## %bb.33:
movl 8(%rbx), %edi
movq _ETIMEDOUT@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _tcp_set_inp_to_drop
movq _BANDLIM_RST_OPENPORT@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl 16(%rbp), %r8d
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq _ctf_do_dropwithreset
movl $1, %r15d
jmp LBB0_13
LBB0_34:
movq %r15, %rdi
xorl %r15d, %r15d
xorl %esi, %esi
callq _ctf_do_drop
jmp LBB0_13
LBB0_35:
movl -60(%rbp), %r8d
movl 16(%rbp), %r9d
movl 32(%rbp), %eax
jmp LBB0_26
.cfi_endproc
## -- End function
.comm _TH_RST,4,2 ## @TH_RST
.comm _TH_FIN,4,2 ## @TH_FIN
.comm _TH_SYN,4,2 ## @TH_SYN
.comm _TOF_TS,4,2 ## @TOF_TS
.comm _SS_NOFDREF,4,2 ## @SS_NOFDREF
.comm _TH_ACK,4,2 ## @TH_ACK
.comm _TF_NEEDSYN,4,2 ## @TF_NEEDSYN
.comm _TF_ACKNOW,4,2 ## @TF_ACKNOW
.comm _ETIMEDOUT,4,2 ## @ETIMEDOUT
.comm _BANDLIM_RST_OPENPORT,4,2 ## @BANDLIM_RST_OPENPORT
.no_dead_strip _rack_do_closing
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function rack_do_closing
_rack_do_closing: ; @rack_do_closing
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x28, x27, [sp, #32] ; 16-byte Folded Spill
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x22, x7
mov x25, x6
mov x24, x4
mov x19, x3
mov x23, x2
mov x21, x1
mov x20, x0
ldp w26, w27, [x29, #16]
stp w6, w5, [sp, #24]
str xzr, [sp, #16]
mov x0, x2
mov x1, x3
bl _ctf_calc_rwin
Lloh0:
adrp x8, _TH_RST@GOTPAGE
Lloh1:
ldr x8, [x8, _TH_RST@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
tst w8, w26
b.eq LBB0_2
LBB0_1:
mov x0, x20
mov x1, x21
mov x2, x23
mov x3, x19
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
ldp x28, x27, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #128
b _ctf_process_rst
LBB0_2:
ldr x8, [x19, #40]
cbz x8, LBB0_4
; %bb.3:
Lloh3:
adrp x8, _TH_FIN@GOTPAGE
Lloh4:
ldr x8, [x8, _TH_FIN@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
tst w8, w26
b.ne LBB0_1
LBB0_4:
Lloh6:
adrp x28, _TH_SYN@GOTPAGE
Lloh7:
ldr x28, [x28, _TH_SYN@GOTPAGEOFF]
ldr w8, [x28]
tst w8, w26
b.eq LBB0_6
; %bb.5:
add x3, sp, #20
mov x0, x20
mov x1, x21
mov x2, x19
bl _ctf_challenge_ack
b LBB0_11
LBB0_6:
ldr w8, [x24]
Lloh8:
adrp x9, _TOF_TS@GOTPAGE
Lloh9:
ldr x9, [x9, _TOF_TS@GOTPAGEOFF]
Lloh10:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_10
; %bb.7:
ldr x1, [x19, #24]
cbz x1, LBB0_10
; %bb.8:
ldr x0, [x24, #8]
bl _TSTMP_LT
cbz x0, LBB0_10
; %bb.9:
add x5, sp, #20
mov x0, x20
mov x1, x21
mov x2, x19
mov x3, x25
mov x4, x26
bl _ctf_ts_check
cbnz x0, LBB0_11
LBB0_10:
add x4, sp, #24
add x5, x29, #16
add x6, sp, #28
add x7, sp, #20
mov x0, x24
mov x1, x20
mov x2, x21
mov x3, x19
bl _ctf_drop_checks
cbz x0, LBB0_13
LBB0_11:
ldr w0, [sp, #20]
LBB0_12:
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
ldp x28, x27, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #128
ret
LBB0_13:
Lloh11:
adrp x8, _SS_NOFDREF@GOTPAGE
Lloh12:
ldr x8, [x8, _SS_NOFDREF@GOTPAGEOFF]
ldr w9, [x23]
Lloh13:
ldr w8, [x8]
and w8, w8, w9
ldr w9, [sp, #24]
cmp w8, #0
ccmp w9, #0, #4, ne
b.eq LBB0_16
; %bb.14:
add x2, sp, #24
mov x0, x20
mov x1, x19
mov x3, x21
mov x4, x23
bl _rack_check_data_after_close
cbz x0, LBB0_16
; %bb.15:
mov w0, #1
b LBB0_12
LBB0_16:
ldr w8, [x24]
Lloh14:
adrp x9, _TOF_TS@GOTPAGE
Lloh15:
ldr x9, [x9, _TOF_TS@GOTPAGEOFF]
Lloh16:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_20
; %bb.17:
ldr w0, [x21]
ldr w1, [x19]
bl _SEQ_LEQ
cbz x0, LBB0_20
; %bb.18:
ldr w0, [x19]
ldr w8, [x21]
ldr w9, [sp, #24]
add w8, w9, w8
ldr w9, [x29, #16]
ldr w10, [x28]
Lloh17:
adrp x11, _TH_FIN@GOTPAGE
Lloh18:
ldr x11, [x11, _TH_FIN@GOTPAGEOFF]
Lloh19:
ldr w11, [x11]
orr w10, w11, w10
tst w10, w9
cinc w1, w8, ne
bl _SEQ_LEQ
cbz x0, LBB0_20
; %bb.19:
bl _tcp_ts_getticks
str w0, [x19, #32]
ldr x8, [x24, #8]
str x8, [x19, #24]
LBB0_20:
ldr w7, [x29, #16]
Lloh20:
adrp x8, _TH_ACK@GOTPAGE
Lloh21:
ldr x8, [x8, _TH_ACK@GOTPAGEOFF]
Lloh22:
ldr w8, [x8]
tst w8, w7
b.eq LBB0_24
; %bb.21:
ldr w6, [sp, #24]
add x8, sp, #20
str x8, [sp, #8]
str w7, [sp]
add x7, sp, #16
mov x0, x20
mov x1, x21
mov x2, x23
mov x3, x19
mov x4, x24
mov x5, x22
bl _rack_process_ack
cbnz x0, LBB0_11
; %bb.22:
ldr w8, [sp, #16]
cbz w8, LBB0_29
; %bb.23:
mov x0, x19
bl _tcp_twstart
mov x0, x20
bl _m_freem
mov w0, #1
b LBB0_12
LBB0_24:
ldr w8, [x19, #4]
Lloh23:
adrp x9, _TF_NEEDSYN@GOTPAGE
Lloh24:
ldr x9, [x9, _TF_NEEDSYN@GOTPAGEOFF]
Lloh25:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_27
; %bb.25:
ldp w5, w4, [sp, #24]
LBB0_26:
str w27, [sp]
mov x0, x20
mov x1, x21
mov x2, x23
mov x3, x19
mov x6, x22
bl _rack_process_data
b LBB0_12
LBB0_27:
Lloh26:
adrp x9, _TF_ACKNOW@GOTPAGE
Lloh27:
ldr x9, [x9, _TF_ACKNOW@GOTPAGEOFF]
Lloh28:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_32
; %bb.28:
ldr w4, [sp, #24]
add x5, sp, #20
mov x0, x20
mov x1, x19
mov x2, x21
mov x3, x7
bl _ctf_do_dropafterack
ldr x8, [x19, #16]
ldr w9, [x8]
add w9, w9, #1
str w9, [x8]
b LBB0_11
LBB0_29:
add x0, x23, #4
bl _sbavail
cbz x0, LBB0_33
; %bb.30:
mov x0, x19
bl _rack_progress_timeout_check
cbz x0, LBB0_33
; %bb.31:
ldr w0, [x19, #8]
Lloh29:
adrp x8, _ETIMEDOUT@GOTPAGE
Lloh30:
ldr x8, [x8, _ETIMEDOUT@GOTPAGEOFF]
Lloh31:
ldr w1, [x8]
bl _tcp_set_inp_to_drop
Lloh32:
adrp x8, _BANDLIM_RST_OPENPORT@GOTPAGE
Lloh33:
ldr x8, [x8, _BANDLIM_RST_OPENPORT@GOTPAGEOFF]
Lloh34:
ldr w3, [x8]
ldr w4, [sp, #24]
mov x0, x20
mov x1, x19
mov x2, x21
bl _ctf_do_dropwithreset
mov w0, #1
b LBB0_12
LBB0_32:
mov x0, x20
mov x1, #0
bl _ctf_do_drop
mov w0, #0
b LBB0_12
LBB0_33:
ldp w5, w4, [sp, #24]
ldr w7, [x29, #16]
b LBB0_26
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.cfi_endproc
; -- End function
.comm _TH_RST,4,2 ; @TH_RST
.comm _TH_FIN,4,2 ; @TH_FIN
.comm _TH_SYN,4,2 ; @TH_SYN
.comm _TOF_TS,4,2 ; @TOF_TS
.comm _SS_NOFDREF,4,2 ; @SS_NOFDREF
.comm _TH_ACK,4,2 ; @TH_ACK
.comm _TF_NEEDSYN,4,2 ; @TF_NEEDSYN
.comm _TF_ACKNOW,4,2 ; @TF_ACKNOW
.comm _ETIMEDOUT,4,2 ; @ETIMEDOUT
.comm _BANDLIM_RST_OPENPORT,4,2 ; @BANDLIM_RST_OPENPORT
.no_dead_strip _rack_do_closing
.subsections_via_symbols
|
AnghaBench/freebsd/sys/netinet/tcp_stacks/extr_rack.c_rack_do_closing.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function telem_pss_states_show
_telem_pss_states_show: ## @telem_pss_states_show
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $72, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _TELEM_MAX_OS_ALLOCATED_EVENTS@GOTPCREL(%rip), %rax
movl (%rax), %r14d
movq %r14, %rax
shlq $4, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r15
movq _debugfs_conf@GOTPCREL(%rip), %rax
movq (%rax), %r12
movq %r14, %rax
shlq $3, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, -104(%rbp) ## 8-byte Spill
movq _TELEM_PSS_IDLE_BLOCKED_EVTS@GOTPCREL(%rip), %rax
movl (%rax), %eax
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, -80(%rbp) ## 8-byte Spill
movq _TELEM_PSS_S0IX_BLOCKED_EVTS@GOTPCREL(%rip), %rax
movl (%rax), %eax
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, -88(%rbp) ## 8-byte Spill
movq _TELEM_PSS_S0IX_WAKEUP_EVTS@GOTPCREL(%rip), %rax
movl (%rax), %eax
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, -96(%rbp) ## 8-byte Spill
movq _TELEM_PSS_LTR_BLOCKING_EVTS@GOTPCREL(%rip), %rax
movl (%rax), %eax
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, -72(%rbp) ## 8-byte Spill
movq _TELEM_PSS_IDLE_EVTS@GOTPCREL(%rip), %rax
movl (%rax), %eax
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, -64(%rbp) ## 8-byte Spill
movq _TELEM_PSS@GOTPCREL(%rip), %r13
movl (%r13), %edi
movq %r15, %rsi
movl %r14d, %edx
callq _telemetry_read_eventlog
movl %eax, %r14d
testl %eax, %eax
js LBB0_27
## %bb.1:
movl (%r13), %edi
movq _TELEM_MAX_OS_ALLOCATED_EVENTS@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq -104(%rbp), %rsi ## 8-byte Reload
callq _telemetry_get_evtname
testl %eax, %eax
js LBB0_2
## %bb.3:
leaq L_.str(%rip), %rsi
movq %rbx, %rdi
callq _seq_puts
leaq L_.str.1(%rip), %rsi
movq %rbx, %rdi
callq _seq_puts
leaq L_.str.2(%rip), %rsi
movq %rbx, %rdi
callq _seq_puts
testl %r14d, %r14d
je LBB0_4
## %bb.5:
movl %r14d, %eax
shlq $3, %rax
movq %rax, -112(%rbp) ## 8-byte Spill
movq _TELEM_MASK_BYTE@GOTPCREL(%rip), %r13
xorl %r14d, %r14d
movl $0, -52(%rbp) ## 4-byte Folded Spill
jmp LBB0_6
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_6 Depth=1
addq $8, %r14
cmpq %r14, -112(%rbp) ## 8-byte Folded Reload
je LBB0_11
LBB0_6: ## =>This Inner Loop Header: Depth=1
movq -104(%rbp), %rax ## 8-byte Reload
movq (%rax,%r14), %rdx
movl (%r15,%r14,2), %ecx
movq %rbx, %rdi
leaq L_.str.3(%rip), %rsi
xorl %eax, %eax
callq _seq_printf
movq (%r12), %rdi
movq 120(%r12), %r8
movslq 8(%r12), %rsi
movl (%r15,%r14,2), %eax
cmpq %rdi, 8(%r15,%r14,2)
jne LBB0_8
## %bb.7: ## in Loop: Header=BB0_6 Depth=1
movzbl -8(%r8,%rsi,8), %ecx
movl %eax, %edx
sarl %cl, %edx
movq _TELEM_APL_MASK_PCS_STATE@GOTPCREL(%rip), %rcx
andl (%rcx), %edx
movq -64(%rbp), %rcx ## 8-byte Reload
movl %edx, -4(%rcx,%rsi,4)
LBB0_8: ## in Loop: Header=BB0_6 Depth=1
decl %esi
movq _TELEM_MASK_BIT@GOTPCREL(%rip), %rcx
movl (%rcx), %r9d
## kill: def $esi killed $esi killed $rsi
movq -64(%rbp), %rdx ## 8-byte Reload
movl %eax, %ecx
callq _TELEM_CHECK_AND_PARSE_EVTS
movq 16(%r12), %rdi
movl 24(%r12), %esi
movl (%r15,%r14,2), %ecx
movq 112(%r12), %r8
movl (%r13), %r9d
movq -80(%rbp), %rdx ## 8-byte Reload
callq _TELEM_CHECK_AND_PARSE_EVTS
movq 32(%r12), %rdi
movl 40(%r12), %esi
movl (%r15,%r14,2), %ecx
movq 104(%r12), %r8
movl (%r13), %r9d
movq -88(%rbp), %rdx ## 8-byte Reload
callq _TELEM_CHECK_AND_PARSE_EVTS
movq 48(%r12), %rdi
movl 56(%r12), %esi
movl (%r15,%r14,2), %ecx
movq 88(%r12), %r8
movl (%r13), %r9d
movq -96(%rbp), %rdx ## 8-byte Reload
callq _TELEM_CHECK_AND_PARSE_EVTS
movq 64(%r12), %rdi
movl 72(%r12), %esi
movl (%r15,%r14,2), %ecx
movq 96(%r12), %r8
movl (%r13), %r9d
movq -72(%rbp), %rdx ## 8-byte Reload
callq _TELEM_CHECK_AND_PARSE_EVTS
movq 8(%r15,%r14,2), %rax
movq _debugfs_conf@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq 80(%rcx), %rax
jne LBB0_10
## %bb.9: ## in Loop: Header=BB0_6 Depth=1
movl (%r15,%r14,2), %eax
movl %eax, -52(%rbp) ## 4-byte Spill
jmp LBB0_10
LBB0_2:
movl %eax, %r14d
jmp LBB0_27
LBB0_4:
movl $0, -52(%rbp) ## 4-byte Folded Spill
LBB0_11:
leaq L_.str.4(%rip), %r15
movq %rbx, %rdi
movq %r15, %rsi
callq _seq_puts
leaq L_.str.5(%rip), %rsi
movq %rbx, %rdi
callq _seq_puts
leaq L_.str.6(%rip), %r12
movq %rbx, %rdi
movq %r12, %rsi
callq _seq_puts
leaq L_.str.7(%rip), %rsi
movq %rbx, %rdi
callq _seq_puts
movq _TELEM_MASK_BYTE@GOTPCREL(%rip), %r14
movl (%r14), %eax
movl -52(%rbp), %r13d ## 4-byte Reload
movl %r13d, %ecx
sarl $8, %ecx
andl %eax, %ecx
orl %r13d, %eax
imull $100, %eax, %edx
imull $50, %ecx, %eax
cltq
imulq $1431655766, %rax, %rcx ## imm = 0x55555556
movq %rcx, %rax
shrq $63, %rax
shrq $32, %rcx
addl %eax, %ecx
leaq L_.str.8(%rip), %rsi
movq %rbx, %rdi
## kill: def $ecx killed $ecx killed $rcx
xorl %eax, %eax
callq _seq_printf
movl %r13d, %eax
sarl $16, %eax
movl (%r14), %ecx
andl %ecx, %eax
leal (%rax,%rax,4), %eax
leal (%rax,%rax,4), %edx
sarl $24, %r13d
andl %ecx, %r13d
imull $50, %r13d, %eax
cltq
imulq $1431655766, %rax, %rcx ## imm = 0x55555556
movq %rcx, %rax
shrq $63, %rax
shrq $32, %rcx
addl %eax, %ecx
leaq L_.str.9(%rip), %rsi
movq %rbx, %rdi
## kill: def $ecx killed $ecx killed $rcx
xorl %eax, %eax
callq _seq_printf
movq %rbx, %rdi
movq %r15, %rsi
callq _seq_puts
leaq L_.str.10(%rip), %rsi
movq %rbx, %rdi
callq _seq_puts
movq %rbx, %rdi
movq %r12, %rsi
callq _seq_puts
leaq L_.str.11(%rip), %rsi
movq %rbx, %rdi
callq _seq_puts
movq _debugfs_conf@GOTPCREL(%rip), %r13
movq (%r13), %rax
cmpl $0, 8(%rax)
movq -64(%rbp), %r12 ## 8-byte Reload
jle LBB0_14
## %bb.12:
leaq L_.str.12(%rip), %r15
xorl %r14d, %r14d
.p2align 4, 0x90
LBB0_13: ## =>This Inner Loop Header: Depth=1
movq 120(%rax), %rax
movl 4(%rax,%r14,8), %edx
movl (%r12,%r14,4), %ecx
movq %rbx, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _seq_printf
incq %r14
movq (%r13), %rax
movslq 8(%rax), %rcx
cmpq %rcx, %r14
jl LBB0_13
LBB0_14:
leaq L_.str.4(%rip), %rsi
movq %rbx, %rdi
callq _seq_puts
leaq L_.str.13(%rip), %rsi
movq %rbx, %rdi
callq _seq_puts
leaq L_.str.6(%rip), %rsi
movq %rbx, %rdi
callq _seq_puts
leaq L_.str.14(%rip), %rsi
movq %rbx, %rdi
callq _seq_puts
movq (%r13), %rax
cmpl $0, 24(%rax)
movq -88(%rbp), %r13 ## 8-byte Reload
movq -80(%rbp), %r12 ## 8-byte Reload
jle LBB0_17
## %bb.15:
leaq L_.str.12(%rip), %r14
xorl %r15d, %r15d
.p2align 4, 0x90
LBB0_16: ## =>This Inner Loop Header: Depth=1
movq 112(%rax), %rax
movl 4(%rax,%r15,8), %edx
movl (%r12,%r15,4), %ecx
movq %rbx, %rdi
movq %r14, %rsi
xorl %eax, %eax
callq _seq_printf
incq %r15
movq _debugfs_conf@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq 24(%rax), %rcx
cmpq %rcx, %r15
jl LBB0_16
LBB0_17:
leaq L_.str.4(%rip), %rsi
movq %rbx, %rdi
callq _seq_puts
leaq L_.str.15(%rip), %rsi
movq %rbx, %rdi
callq _seq_puts
leaq L_.str.6(%rip), %rsi
movq %rbx, %rdi
callq _seq_puts
leaq L_.str.14(%rip), %rsi
movq %rbx, %rdi
callq _seq_puts
movq _debugfs_conf@GOTPCREL(%rip), %r12
movq (%r12), %rax
cmpl $0, 40(%rax)
jle LBB0_20
## %bb.18:
leaq L_.str.12(%rip), %r14
xorl %r15d, %r15d
.p2align 4, 0x90
LBB0_19: ## =>This Inner Loop Header: Depth=1
movq 104(%rax), %rax
movl 4(%rax,%r15,8), %edx
movl (%r13,%r15,4), %ecx
movq %rbx, %rdi
movq %r14, %rsi
xorl %eax, %eax
callq _seq_printf
incq %r15
movq (%r12), %rax
movslq 40(%rax), %rcx
cmpq %rcx, %r15
jl LBB0_19
LBB0_20:
leaq L_.str.4(%rip), %rsi
movq %rbx, %rdi
callq _seq_puts
leaq L_.str.16(%rip), %rsi
movq %rbx, %rdi
callq _seq_puts
leaq L_.str.6(%rip), %rsi
movq %rbx, %rdi
callq _seq_puts
leaq L_.str.14(%rip), %rsi
movq %rbx, %rdi
callq _seq_puts
movq (%r12), %rax
cmpl $0, 72(%rax)
movq -96(%rbp), %r13 ## 8-byte Reload
jle LBB0_23
## %bb.21:
leaq L_.str.12(%rip), %r14
xorl %r15d, %r15d
.p2align 4, 0x90
LBB0_22: ## =>This Inner Loop Header: Depth=1
movq 96(%rax), %rax
movl 4(%rax,%r15,8), %edx
movl (%r13,%r15,4), %ecx
movq %rbx, %rdi
movq %r14, %rsi
xorl %eax, %eax
callq _seq_printf
incq %r15
movq (%r12), %rax
movslq 72(%rax), %rcx
cmpq %rcx, %r15
jl LBB0_22
LBB0_23:
leaq L_.str.4(%rip), %rsi
movq %rbx, %rdi
callq _seq_puts
leaq L_.str.17(%rip), %rsi
movq %rbx, %rdi
callq _seq_puts
leaq L_.str.6(%rip), %rsi
movq %rbx, %rdi
callq _seq_puts
leaq L_.str.18(%rip), %rsi
movq %rbx, %rdi
callq _seq_puts
movq (%r12), %rax
cmpl $0, 56(%rax)
jle LBB0_26
## %bb.24:
leaq L_.str.12(%rip), %r14
xorl %r15d, %r15d
movq -72(%rbp), %r13 ## 8-byte Reload
.p2align 4, 0x90
LBB0_25: ## =>This Inner Loop Header: Depth=1
movq 88(%rax), %rax
movl 4(%rax,%r15,8), %edx
movl (%r13,%r15,4), %ecx
movq %rbx, %rdi
movq %r14, %rsi
xorl %eax, %eax
callq _seq_printf
incq %r15
movq (%r12), %rax
movslq 56(%rax), %rcx
cmpq %rcx, %r15
jl LBB0_25
LBB0_26:
xorl %r14d, %r14d
LBB0_27:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_29
## %bb.28:
movl %r14d, %eax
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_29:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _TELEM_MAX_OS_ALLOCATED_EVENTS,4,2 ## @TELEM_MAX_OS_ALLOCATED_EVENTS
.comm _debugfs_conf,8,3 ## @debugfs_conf
.comm _TELEM_PSS_IDLE_BLOCKED_EVTS,4,2 ## @TELEM_PSS_IDLE_BLOCKED_EVTS
.comm _TELEM_PSS_S0IX_BLOCKED_EVTS,4,2 ## @TELEM_PSS_S0IX_BLOCKED_EVTS
.comm _TELEM_PSS_S0IX_WAKEUP_EVTS,4,2 ## @TELEM_PSS_S0IX_WAKEUP_EVTS
.comm _TELEM_PSS_LTR_BLOCKING_EVTS,4,2 ## @TELEM_PSS_LTR_BLOCKING_EVTS
.comm _TELEM_PSS_IDLE_EVTS,4,2 ## @TELEM_PSS_IDLE_EVTS
.comm _TELEM_PSS,4,2 ## @TELEM_PSS
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\n++--------------------------------------------------\n"
L_.str.1: ## @.str.1
.asciz "\tPSS TELEM EVENTLOG (Residency = field/19.2 us\n"
L_.str.2: ## @.str.2
.asciz "----------------------------------------------------\n"
L_.str.3: ## @.str.3
.asciz "%-32s %llu\n"
.comm _TELEM_APL_MASK_PCS_STATE,4,2 ## @TELEM_APL_MASK_PCS_STATE
.comm _TELEM_MASK_BIT,4,2 ## @TELEM_MASK_BIT
.comm _TELEM_MASK_BYTE,4,2 ## @TELEM_MASK_BYTE
L_.str.4: ## @.str.4
.asciz "\n--------------------------------------\n"
L_.str.5: ## @.str.5
.asciz "PStates\n"
L_.str.6: ## @.str.6
.asciz "--------------------------------------\n"
L_.str.7: ## @.str.7
.asciz "Domain\t\t\t\tFreq(Mhz)\n"
L_.str.8: ## @.str.8
.asciz " IA\t\t\t\t %llu\n GT\t\t\t\t %llu\n"
L_.str.9: ## @.str.9
.asciz " IUNIT\t\t\t\t %llu\n SA\t\t\t\t %llu\n"
L_.str.10: ## @.str.10
.asciz "PSS IDLE Status\n"
L_.str.11: ## @.str.11
.asciz "Device\t\t\t\t\tIDLE\n"
L_.str.12: ## @.str.12
.asciz "%-32s\t%u\n"
L_.str.13: ## @.str.13
.asciz "PSS Idle blkd Status (~1ms saturating bucket)\n"
L_.str.14: ## @.str.14
.asciz "Blocker\t\t\t\t\tCount\n"
L_.str.15: ## @.str.15
.asciz "PSS S0ix blkd Status (~1ms saturating bucket)\n"
L_.str.16: ## @.str.16
.asciz "LTR Blocking Status (~1ms saturating bucket)\n"
L_.str.17: ## @.str.17
.asciz "Wakes Status (~1ms saturating bucket)\n"
L_.str.18: ## @.str.18
.asciz "Wakes\t\t\t\t\tCount\n"
.no_dead_strip _telem_pss_states_show
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function telem_pss_states_show
_telem_pss_states_show: ; @telem_pss_states_show
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
sub sp, sp, #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
.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
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-88]
Lloh3:
adrp x21, _TELEM_MAX_OS_ALLOCATED_EVENTS@GOTPAGE
Lloh4:
ldr x21, [x21, _TELEM_MAX_OS_ALLOCATED_EVENTS@GOTPAGEOFF]
ldr w2, [x21]
lsl x8, x2, #4
mov x9, x8
Lloh5:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh6:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
sub x25, x9, x8
mov sp, x25
Lloh7:
adrp x28, _debugfs_conf@GOTPAGE
Lloh8:
ldr x28, [x28, _debugfs_conf@GOTPAGEOFF]
ldr x27, [x28]
lsl x8, x2, #3
mov x9, x8
Lloh9:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh10:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0xffffffff0
sub x26, x9, x8
mov sp, x26
Lloh11:
adrp x8, _TELEM_PSS_IDLE_BLOCKED_EVTS@GOTPAGE
Lloh12:
ldr x8, [x8, _TELEM_PSS_IDLE_BLOCKED_EVTS@GOTPAGEOFF]
Lloh13:
ldr w8, [x8]
lsl x8, x8, #2
mov x9, x8
Lloh14:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh15:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x7fffffff0
sub x23, x9, x8
mov sp, x23
Lloh16:
adrp x8, _TELEM_PSS_S0IX_BLOCKED_EVTS@GOTPAGE
Lloh17:
ldr x8, [x8, _TELEM_PSS_S0IX_BLOCKED_EVTS@GOTPAGEOFF]
Lloh18:
ldr w8, [x8]
lsl x8, x8, #2
mov x9, x8
Lloh19:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh20:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x7fffffff0
sub x22, x9, x8
mov sp, x22
Lloh21:
adrp x8, _TELEM_PSS_S0IX_WAKEUP_EVTS@GOTPAGE
Lloh22:
ldr x8, [x8, _TELEM_PSS_S0IX_WAKEUP_EVTS@GOTPAGEOFF]
Lloh23:
ldr w8, [x8]
lsl x8, x8, #2
mov x9, x8
Lloh24:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh25:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x7fffffff0
sub x8, x9, x8
stur x8, [x29, #-104] ; 8-byte Folded Spill
mov sp, x8
Lloh26:
adrp x8, _TELEM_PSS_LTR_BLOCKING_EVTS@GOTPAGE
Lloh27:
ldr x8, [x8, _TELEM_PSS_LTR_BLOCKING_EVTS@GOTPAGEOFF]
Lloh28:
ldr w8, [x8]
lsl x8, x8, #2
mov x9, x8
Lloh29:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh30:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x7fffffff0
sub x8, x9, x8
stur x8, [x29, #-96] ; 8-byte Folded Spill
mov sp, x8
Lloh31:
adrp x8, _TELEM_PSS_IDLE_EVTS@GOTPAGE
Lloh32:
ldr x8, [x8, _TELEM_PSS_IDLE_EVTS@GOTPAGEOFF]
Lloh33:
ldr w8, [x8]
lsl x8, x8, #2
mov x9, x8
Lloh34:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh35:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x7fffffff0
sub x24, x9, x8
mov sp, x24
Lloh36:
adrp x20, _TELEM_PSS@GOTPAGE
Lloh37:
ldr x20, [x20, _TELEM_PSS@GOTPAGEOFF]
ldr w0, [x20]
mov x1, x25
; kill: def $w2 killed $w2 killed $x2
bl _telemetry_read_eventlog
tbnz w0, #31, LBB0_26
; %bb.1:
mov x8, x21
mov x21, x0
ldr w0, [x20]
ldr w2, [x8]
mov x1, x26
bl _telemetry_get_evtname
tbnz w0, #31, LBB0_26
; %bb.2:
Lloh38:
adrp x1, l_.str@PAGE
Lloh39:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _seq_puts
Lloh40:
adrp x1, l_.str.1@PAGE
Lloh41:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _seq_puts
Lloh42:
adrp x1, l_.str.2@PAGE
Lloh43:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x19
bl _seq_puts
Lloh44:
adrp x20, _TELEM_MASK_BYTE@GOTPAGE
Lloh45:
ldr x20, [x20, _TELEM_MASK_BYTE@GOTPAGEOFF]
cbz w21, LBB0_9
; %bb.3:
stur wzr, [x29, #-108] ; 4-byte Folded Spill
mov w21, w21
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
add x25, x25, #16
add x26, x26, #8
subs x21, x21, #1
b.eq LBB0_10
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr x8, [x26]
ldr w9, [x25]
stp x8, x9, [sp, #-16]!
mov x0, x19
Lloh46:
adrp x1, l_.str.3@PAGE
Lloh47:
add x1, x1, l_.str.3@PAGEOFF
bl _seq_printf
add sp, sp, #16
ldr x8, [x25, #8]
ldr x0, [x27]
ldrsw x9, [x27, #8]
ldr w3, [x25]
ldr x4, [x27, #120]
sub x1, x9, #1
cmp x8, x0
b.ne LBB0_7
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
lsl x8, x1, #3
ldr w8, [x4, x8]
asr w8, w3, w8
Lloh48:
adrp x9, _TELEM_APL_MASK_PCS_STATE@GOTPAGE
Lloh49:
ldr x9, [x9, _TELEM_APL_MASK_PCS_STATE@GOTPAGEOFF]
Lloh50:
ldr w9, [x9]
and w8, w8, w9
str w8, [x24, x1, lsl #2]
LBB0_7: ; in Loop: Header=BB0_5 Depth=1
Lloh51:
adrp x8, _TELEM_MASK_BIT@GOTPAGE
Lloh52:
ldr x8, [x8, _TELEM_MASK_BIT@GOTPAGEOFF]
Lloh53:
ldr w5, [x8]
; kill: def $w1 killed $w1 killed $x1
mov x2, x24
bl _TELEM_CHECK_AND_PARSE_EVTS
ldr x0, [x27, #16]
ldr w1, [x27, #24]
ldr w3, [x25]
ldr x4, [x27, #112]
ldr w5, [x20]
mov x2, x23
bl _TELEM_CHECK_AND_PARSE_EVTS
ldr x0, [x27, #32]
ldr w1, [x27, #40]
ldr w3, [x25]
ldr x4, [x27, #104]
ldr w5, [x20]
mov x2, x22
bl _TELEM_CHECK_AND_PARSE_EVTS
ldr x0, [x27, #48]
ldr w1, [x27, #56]
ldr w3, [x25]
ldr x4, [x27, #88]
ldr w5, [x20]
ldur x2, [x29, #-104] ; 8-byte Folded Reload
bl _TELEM_CHECK_AND_PARSE_EVTS
ldr x0, [x27, #64]
ldr w1, [x27, #72]
ldr w3, [x25]
ldr x4, [x27, #96]
ldr w5, [x20]
ldur x2, [x29, #-96] ; 8-byte Folded Reload
bl _TELEM_CHECK_AND_PARSE_EVTS
ldr x8, [x25, #8]
ldr x9, [x28]
ldr x9, [x9, #80]
cmp x8, x9
b.ne LBB0_4
; %bb.8: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [x25]
stur w8, [x29, #-108] ; 4-byte Folded Spill
b LBB0_4
LBB0_9:
stur wzr, [x29, #-108] ; 4-byte Folded Spill
LBB0_10:
Lloh54:
adrp x1, l_.str.4@PAGE
Lloh55:
add x1, x1, l_.str.4@PAGEOFF
mov x0, x19
bl _seq_puts
Lloh56:
adrp x1, l_.str.5@PAGE
Lloh57:
add x1, x1, l_.str.5@PAGEOFF
mov x0, x19
bl _seq_puts
Lloh58:
adrp x26, l_.str.6@PAGE
Lloh59:
add x26, x26, l_.str.6@PAGEOFF
mov x0, x19
mov x1, x26
bl _seq_puts
Lloh60:
adrp x1, l_.str.7@PAGE
Lloh61:
add x1, x1, l_.str.7@PAGEOFF
mov x0, x19
bl _seq_puts
ldr w8, [x20]
ldur w25, [x29, #-108] ; 4-byte Folded Reload
orr w9, w8, w25
mov w10, #100 ; =0x64
mul w9, w9, w10
and w8, w8, w25, asr #8
mov w21, #50 ; =0x32
mul w8, w8, w21
mov w27, #21846 ; =0x5556
movk w27, #21845, lsl #16
smull x8, w8, w27
lsr x10, x8, #63
lsr x8, x8, #32
add w8, w8, w10
stp x9, x8, [sp, #-16]!
Lloh62:
adrp x1, l_.str.8@PAGE
Lloh63:
add x1, x1, l_.str.8@PAGEOFF
mov x0, x19
bl _seq_printf
add sp, sp, #16
ldr w8, [x20]
and w9, w8, w25, asr #16
mov w10, #25 ; =0x19
mul w9, w9, w10
and w8, w8, w25, asr #24
mul w8, w8, w21
smull x8, w8, w27
lsr x10, x8, #63
lsr x8, x8, #32
add w8, w8, w10
stp x9, x8, [sp, #-16]!
Lloh64:
adrp x1, l_.str.9@PAGE
Lloh65:
add x1, x1, l_.str.9@PAGEOFF
mov x0, x19
bl _seq_printf
add sp, sp, #16
mov x0, x19
Lloh66:
adrp x1, l_.str.4@PAGE
Lloh67:
add x1, x1, l_.str.4@PAGEOFF
bl _seq_puts
Lloh68:
adrp x1, l_.str.10@PAGE
Lloh69:
add x1, x1, l_.str.10@PAGEOFF
mov x0, x19
bl _seq_puts
mov x0, x19
mov x1, x26
bl _seq_puts
Lloh70:
adrp x1, l_.str.11@PAGE
Lloh71:
add x1, x1, l_.str.11@PAGEOFF
mov x0, x19
bl _seq_puts
ldr x8, [x28]
ldr w9, [x8, #8]
cmp w9, #1
b.lt LBB0_13
; %bb.11:
mov x20, #0 ; =0x0
mov w21, #4 ; =0x4
Lloh72:
adrp x25, l_.str.12@PAGE
Lloh73:
add x25, x25, l_.str.12@PAGEOFF
LBB0_12: ; =>This Inner Loop Header: Depth=1
ldr x8, [x8, #120]
ldr w8, [x8, x21]
ldr w9, [x24, x20, lsl #2]
stp x8, x9, [sp, #-16]!
mov x0, x19
mov x1, x25
bl _seq_printf
add sp, sp, #16
add x20, x20, #1
ldr x8, [x28]
ldrsw x9, [x8, #8]
add x21, x21, #8
cmp x20, x9
b.lt LBB0_12
LBB0_13:
Lloh74:
adrp x1, l_.str.4@PAGE
Lloh75:
add x1, x1, l_.str.4@PAGEOFF
mov x0, x19
bl _seq_puts
Lloh76:
adrp x1, l_.str.13@PAGE
Lloh77:
add x1, x1, l_.str.13@PAGEOFF
mov x0, x19
bl _seq_puts
Lloh78:
adrp x1, l_.str.6@PAGE
Lloh79:
add x1, x1, l_.str.6@PAGEOFF
mov x0, x19
bl _seq_puts
Lloh80:
adrp x1, l_.str.14@PAGE
Lloh81:
add x1, x1, l_.str.14@PAGEOFF
mov x0, x19
bl _seq_puts
ldr x8, [x28]
ldr w9, [x8, #24]
cmp w9, #1
b.lt LBB0_16
; %bb.14:
mov x20, #0 ; =0x0
mov w21, #4 ; =0x4
Lloh82:
adrp x24, l_.str.12@PAGE
Lloh83:
add x24, x24, l_.str.12@PAGEOFF
LBB0_15: ; =>This Inner Loop Header: Depth=1
ldr x8, [x8, #112]
ldr w8, [x8, x21]
ldr w9, [x23, x20, lsl #2]
stp x8, x9, [sp, #-16]!
mov x0, x19
mov x1, x24
bl _seq_printf
add sp, sp, #16
add x20, x20, #1
ldr x8, [x28]
ldrsw x9, [x8, #24]
add x21, x21, #8
cmp x20, x9
b.lt LBB0_15
LBB0_16:
Lloh84:
adrp x1, l_.str.4@PAGE
Lloh85:
add x1, x1, l_.str.4@PAGEOFF
mov x0, x19
bl _seq_puts
Lloh86:
adrp x1, l_.str.15@PAGE
Lloh87:
add x1, x1, l_.str.15@PAGEOFF
mov x0, x19
bl _seq_puts
Lloh88:
adrp x1, l_.str.6@PAGE
Lloh89:
add x1, x1, l_.str.6@PAGEOFF
mov x0, x19
bl _seq_puts
Lloh90:
adrp x1, l_.str.14@PAGE
Lloh91:
add x1, x1, l_.str.14@PAGEOFF
mov x0, x19
bl _seq_puts
ldr x8, [x28]
ldr w9, [x8, #40]
cmp w9, #1
b.lt LBB0_19
; %bb.17:
mov x20, #0 ; =0x0
mov w21, #4 ; =0x4
Lloh92:
adrp x23, l_.str.12@PAGE
Lloh93:
add x23, x23, l_.str.12@PAGEOFF
LBB0_18: ; =>This Inner Loop Header: Depth=1
ldr x8, [x8, #104]
ldr w8, [x8, x21]
ldr w9, [x22, x20, lsl #2]
stp x8, x9, [sp, #-16]!
mov x0, x19
mov x1, x23
bl _seq_printf
add sp, sp, #16
add x20, x20, #1
ldr x8, [x28]
ldrsw x9, [x8, #40]
add x21, x21, #8
cmp x20, x9
b.lt LBB0_18
LBB0_19:
Lloh94:
adrp x1, l_.str.4@PAGE
Lloh95:
add x1, x1, l_.str.4@PAGEOFF
mov x0, x19
bl _seq_puts
Lloh96:
adrp x1, l_.str.16@PAGE
Lloh97:
add x1, x1, l_.str.16@PAGEOFF
mov x0, x19
bl _seq_puts
Lloh98:
adrp x1, l_.str.6@PAGE
Lloh99:
add x1, x1, l_.str.6@PAGEOFF
mov x0, x19
bl _seq_puts
Lloh100:
adrp x1, l_.str.14@PAGE
Lloh101:
add x1, x1, l_.str.14@PAGEOFF
mov x0, x19
bl _seq_puts
ldr x8, [x28]
ldr w9, [x8, #72]
cmp w9, #1
ldur x23, [x29, #-104] ; 8-byte Folded Reload
b.lt LBB0_22
; %bb.20:
mov x20, #0 ; =0x0
mov w21, #4 ; =0x4
Lloh102:
adrp x22, l_.str.12@PAGE
Lloh103:
add x22, x22, l_.str.12@PAGEOFF
LBB0_21: ; =>This Inner Loop Header: Depth=1
ldr x8, [x8, #96]
ldr w8, [x8, x21]
ldr w9, [x23, x20, lsl #2]
stp x8, x9, [sp, #-16]!
mov x0, x19
mov x1, x22
bl _seq_printf
add sp, sp, #16
add x20, x20, #1
ldr x8, [x28]
ldrsw x9, [x8, #72]
add x21, x21, #8
cmp x20, x9
b.lt LBB0_21
LBB0_22:
Lloh104:
adrp x1, l_.str.4@PAGE
Lloh105:
add x1, x1, l_.str.4@PAGEOFF
mov x0, x19
bl _seq_puts
Lloh106:
adrp x1, l_.str.17@PAGE
Lloh107:
add x1, x1, l_.str.17@PAGEOFF
mov x0, x19
bl _seq_puts
Lloh108:
adrp x1, l_.str.6@PAGE
Lloh109:
add x1, x1, l_.str.6@PAGEOFF
mov x0, x19
bl _seq_puts
Lloh110:
adrp x1, l_.str.18@PAGE
Lloh111:
add x1, x1, l_.str.18@PAGEOFF
mov x0, x19
bl _seq_puts
ldr x8, [x28]
ldr w9, [x8, #56]
cmp w9, #1
ldur x23, [x29, #-96] ; 8-byte Folded Reload
b.lt LBB0_25
; %bb.23:
mov x20, #0 ; =0x0
mov w22, #4 ; =0x4
Lloh112:
adrp x21, l_.str.12@PAGE
Lloh113:
add x21, x21, l_.str.12@PAGEOFF
LBB0_24: ; =>This Inner Loop Header: Depth=1
ldr x8, [x8, #88]
ldr w8, [x8, x22]
ldr w9, [x23, x20, lsl #2]
stp x8, x9, [sp, #-16]!
mov x0, x19
mov x1, x21
bl _seq_printf
add sp, sp, #16
add x20, x20, #1
ldr x8, [x28]
ldrsw x9, [x8, #56]
add x22, x22, #8
cmp x20, x9
b.lt LBB0_24
LBB0_25:
mov w0, #0 ; =0x0
LBB0_26:
ldur x8, [x29, #-88]
Lloh114:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh115:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh116:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_28
; %bb.27:
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_28:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh36, Lloh37
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh44, Lloh45
.loh AdrpAdd Lloh42, Lloh43
.loh AdrpAdd Lloh40, Lloh41
.loh AdrpAdd Lloh38, Lloh39
.loh AdrpAdd Lloh46, Lloh47
.loh AdrpLdrGotLdr Lloh48, Lloh49, Lloh50
.loh AdrpLdrGotLdr Lloh51, Lloh52, Lloh53
.loh AdrpAdd Lloh70, Lloh71
.loh AdrpAdd Lloh68, Lloh69
.loh AdrpAdd Lloh66, Lloh67
.loh AdrpAdd Lloh64, Lloh65
.loh AdrpAdd Lloh62, Lloh63
.loh AdrpAdd Lloh60, Lloh61
.loh AdrpAdd Lloh58, Lloh59
.loh AdrpAdd Lloh56, Lloh57
.loh AdrpAdd Lloh54, Lloh55
.loh AdrpAdd Lloh72, Lloh73
.loh AdrpAdd Lloh80, Lloh81
.loh AdrpAdd Lloh78, Lloh79
.loh AdrpAdd Lloh76, Lloh77
.loh AdrpAdd Lloh74, Lloh75
.loh AdrpAdd Lloh82, Lloh83
.loh AdrpAdd Lloh90, Lloh91
.loh AdrpAdd Lloh88, Lloh89
.loh AdrpAdd Lloh86, Lloh87
.loh AdrpAdd Lloh84, Lloh85
.loh AdrpAdd Lloh92, Lloh93
.loh AdrpAdd Lloh100, Lloh101
.loh AdrpAdd Lloh98, Lloh99
.loh AdrpAdd Lloh96, Lloh97
.loh AdrpAdd Lloh94, Lloh95
.loh AdrpAdd Lloh102, Lloh103
.loh AdrpAdd Lloh110, Lloh111
.loh AdrpAdd Lloh108, Lloh109
.loh AdrpAdd Lloh106, Lloh107
.loh AdrpAdd Lloh104, Lloh105
.loh AdrpAdd Lloh112, Lloh113
.loh AdrpLdrGotLdr Lloh114, Lloh115, Lloh116
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGot Lloh19, Lloh20
.loh AdrpLdrGot Lloh24, Lloh25
.loh AdrpLdrGot Lloh29, Lloh30
.loh AdrpLdrGot Lloh34, Lloh35
.cfi_endproc
; -- End function
.comm _TELEM_MAX_OS_ALLOCATED_EVENTS,4,2 ; @TELEM_MAX_OS_ALLOCATED_EVENTS
.comm _debugfs_conf,8,3 ; @debugfs_conf
.comm _TELEM_PSS_IDLE_BLOCKED_EVTS,4,2 ; @TELEM_PSS_IDLE_BLOCKED_EVTS
.comm _TELEM_PSS_S0IX_BLOCKED_EVTS,4,2 ; @TELEM_PSS_S0IX_BLOCKED_EVTS
.comm _TELEM_PSS_S0IX_WAKEUP_EVTS,4,2 ; @TELEM_PSS_S0IX_WAKEUP_EVTS
.comm _TELEM_PSS_LTR_BLOCKING_EVTS,4,2 ; @TELEM_PSS_LTR_BLOCKING_EVTS
.comm _TELEM_PSS_IDLE_EVTS,4,2 ; @TELEM_PSS_IDLE_EVTS
.comm _TELEM_PSS,4,2 ; @TELEM_PSS
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\n++--------------------------------------------------\n"
l_.str.1: ; @.str.1
.asciz "\tPSS TELEM EVENTLOG (Residency = field/19.2 us\n"
l_.str.2: ; @.str.2
.asciz "----------------------------------------------------\n"
l_.str.3: ; @.str.3
.asciz "%-32s %llu\n"
.comm _TELEM_APL_MASK_PCS_STATE,4,2 ; @TELEM_APL_MASK_PCS_STATE
.comm _TELEM_MASK_BIT,4,2 ; @TELEM_MASK_BIT
.comm _TELEM_MASK_BYTE,4,2 ; @TELEM_MASK_BYTE
l_.str.4: ; @.str.4
.asciz "\n--------------------------------------\n"
l_.str.5: ; @.str.5
.asciz "PStates\n"
l_.str.6: ; @.str.6
.asciz "--------------------------------------\n"
l_.str.7: ; @.str.7
.asciz "Domain\t\t\t\tFreq(Mhz)\n"
l_.str.8: ; @.str.8
.asciz " IA\t\t\t\t %llu\n GT\t\t\t\t %llu\n"
l_.str.9: ; @.str.9
.asciz " IUNIT\t\t\t\t %llu\n SA\t\t\t\t %llu\n"
l_.str.10: ; @.str.10
.asciz "PSS IDLE Status\n"
l_.str.11: ; @.str.11
.asciz "Device\t\t\t\t\tIDLE\n"
l_.str.12: ; @.str.12
.asciz "%-32s\t%u\n"
l_.str.13: ; @.str.13
.asciz "PSS Idle blkd Status (~1ms saturating bucket)\n"
l_.str.14: ; @.str.14
.asciz "Blocker\t\t\t\t\tCount\n"
l_.str.15: ; @.str.15
.asciz "PSS S0ix blkd Status (~1ms saturating bucket)\n"
l_.str.16: ; @.str.16
.asciz "LTR Blocking Status (~1ms saturating bucket)\n"
l_.str.17: ; @.str.17
.asciz "Wakes Status (~1ms saturating bucket)\n"
l_.str.18: ; @.str.18
.asciz "Wakes\t\t\t\t\tCount\n"
.no_dead_strip _telem_pss_states_show
.subsections_via_symbols
|
assembly_file_130102.c
|
assembly_dataset
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ngx_thread_pool_init
_ngx_thread_pool_init: ## @ngx_thread_pool_init
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %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 _ngx_notify@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB0_5
## %bb.1:
movq %rdi, %r12
addq $24, %rdi
callq _ngx_thread_pool_queue_init
leaq 16(%r12), %rbx
movq %rbx, %rdi
movq %r14, %rsi
callq _ngx_thread_mutex_create
movq _NGX_OK@GOTPCREL(%rip), %r13
movq _NGX_ERROR@GOTPCREL(%rip), %r15
cmpq (%r13), %rax
jne LBB0_11
## %bb.2:
leaq 20(%r12), %rdi
movq %r14, %rsi
callq _ngx_thread_cond_create
cmpq (%r13), %rax
jne LBB0_7
## %bb.3:
movq %r14, 8(%r12)
leaq -44(%rbp), %rdi
callq _pthread_attr_init
testl %eax, %eax
je LBB0_8
## %bb.4:
movq _NGX_LOG_ALERT@GOTPCREL(%rip), %rcx
movl (%rcx), %edi
leaq L_.str.1(%rip), %rcx
jmp LBB0_10
LBB0_5:
movq _NGX_LOG_ALERT@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rcx
movq %r14, %rsi
xorl %edx, %edx
callq _ngx_log_error
movq _NGX_ERROR@GOTPCREL(%rip), %r13
jmp LBB0_12
LBB0_7:
movq %rbx, %rdi
movq %r14, %rsi
callq _ngx_thread_mutex_destroy
jmp LBB0_11
LBB0_8:
movq _PTHREAD_CREATE_DETACHED@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -44(%rbp), %rdi
callq _pthread_attr_setdetachstate
testl %eax, %eax
je LBB0_13
## %bb.9:
movq _NGX_LOG_ALERT@GOTPCREL(%rip), %rcx
movl (%rcx), %edi
leaq L_.str.2(%rip), %rcx
LBB0_10:
movq %r14, %rsi
movl %eax, %edx
callq _ngx_log_error
LBB0_11:
movq %r15, %r13
LBB0_12:
movq (%r13), %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_13:
cmpq $0, (%r12)
jle LBB0_17
## %bb.14:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_15: ## =>This Inner Loop Header: Depth=1
movq _ngx_thread_pool_cycle@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq -48(%rbp), %rdi
leaq -44(%rbp), %rsi
movq %r12, %rcx
callq _pthread_create
testl %eax, %eax
jne LBB0_18
## %bb.16: ## in Loop: Header=BB0_15 Depth=1
incq %rbx
cmpq (%r12), %rbx
jl LBB0_15
LBB0_17:
leaq -44(%rbp), %rdi
callq _pthread_attr_destroy
jmp LBB0_12
LBB0_18:
movq _NGX_LOG_ALERT@GOTPCREL(%rip), %rcx
movl (%rcx), %edi
leaq L_.str.3(%rip), %rcx
jmp LBB0_10
.cfi_endproc
## -- End function
.comm _ngx_notify,8,3 ## @ngx_notify
.comm _NGX_LOG_ALERT,4,2 ## @NGX_LOG_ALERT
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "the configured event method cannot be used with thread pools"
.comm _NGX_ERROR,8,3 ## @NGX_ERROR
.comm _NGX_OK,8,3 ## @NGX_OK
L_.str.1: ## @.str.1
.asciz "pthread_attr_init() failed"
.comm _PTHREAD_CREATE_DETACHED,4,2 ## @PTHREAD_CREATE_DETACHED
L_.str.2: ## @.str.2
.asciz "pthread_attr_setdetachstate() failed"
.comm _ngx_thread_pool_cycle,4,2 ## @ngx_thread_pool_cycle
L_.str.3: ## @.str.3
.asciz "pthread_create() failed"
.comm _PTHREAD_STACK_MIN,4,2 ## @PTHREAD_STACK_MIN
.no_dead_strip _ngx_thread_pool_init
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ngx_thread_pool_init
_ngx_thread_pool_init: ; @ngx_thread_pool_init
.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, _ngx_notify@GOTPAGE
Lloh1:
ldr x8, [x8, _ngx_notify@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cbz x8, LBB0_5
; %bb.1:
mov x20, x0
add x0, x0, #24
bl _ngx_thread_pool_queue_init
add x21, x20, #16
mov x0, x21
mov x1, x19
bl _ngx_thread_mutex_create
Lloh3:
adrp x22, _NGX_OK@GOTPAGE
Lloh4:
ldr x22, [x22, _NGX_OK@GOTPAGEOFF]
ldr x8, [x22]
cmp x0, x8
b.ne LBB0_11
; %bb.2:
add x0, x20, #20
mov x1, x19
bl _ngx_thread_cond_create
ldr x8, [x22]
cmp x0, x8
b.ne LBB0_6
; %bb.3:
str x19, [x20, #8]
add x0, sp, #8
bl _pthread_attr_init
cbz w0, LBB0_7
; %bb.4:
mov x2, x0
Lloh5:
adrp x8, _NGX_LOG_ALERT@GOTPAGE
Lloh6:
ldr x8, [x8, _NGX_LOG_ALERT@GOTPAGEOFF]
Lloh7:
ldr w0, [x8]
Lloh8:
adrp x3, l_.str.1@PAGE
Lloh9:
add x3, x3, l_.str.1@PAGEOFF
b LBB0_9
LBB0_5:
Lloh10:
adrp x8, _NGX_LOG_ALERT@GOTPAGE
Lloh11:
ldr x8, [x8, _NGX_LOG_ALERT@GOTPAGEOFF]
Lloh12:
ldr w0, [x8]
Lloh13:
adrp x3, l_.str@PAGE
Lloh14:
add x3, x3, l_.str@PAGEOFF
mov x1, x19
mov w2, #0
b LBB0_10
LBB0_6:
mov x0, x21
mov x1, x19
bl _ngx_thread_mutex_destroy
b LBB0_11
LBB0_7:
Lloh15:
adrp x8, _PTHREAD_CREATE_DETACHED@GOTPAGE
Lloh16:
ldr x8, [x8, _PTHREAD_CREATE_DETACHED@GOTPAGEOFF]
Lloh17:
ldr w1, [x8]
add x0, sp, #8
bl _pthread_attr_setdetachstate
cbz w0, LBB0_13
; %bb.8:
mov x2, x0
Lloh18:
adrp x8, _NGX_LOG_ALERT@GOTPAGE
Lloh19:
ldr x8, [x8, _NGX_LOG_ALERT@GOTPAGEOFF]
Lloh20:
ldr w0, [x8]
Lloh21:
adrp x3, l_.str.2@PAGE
Lloh22:
add x3, x3, l_.str.2@PAGEOFF
LBB0_9:
mov x1, x19
LBB0_10:
bl _ngx_log_error
LBB0_11:
Lloh23:
adrp x8, _NGX_ERROR@GOTPAGE
Lloh24:
ldr x8, [x8, _NGX_ERROR@GOTPAGEOFF]
LBB0_12:
ldr x0, [x8]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
LBB0_13:
ldr x8, [x20]
cmp x8, #1
b.lt LBB0_17
; %bb.14:
mov x21, #0
Lloh25:
adrp x22, _ngx_thread_pool_cycle@GOTPAGE
Lloh26:
ldr x22, [x22, _ngx_thread_pool_cycle@GOTPAGEOFF]
LBB0_15: ; =>This Inner Loop Header: Depth=1
ldr w2, [x22]
add x0, sp, #12
add x1, sp, #8
mov x3, x20
bl _pthread_create
cbnz w0, LBB0_18
; %bb.16: ; in Loop: Header=BB0_15 Depth=1
add x21, x21, #1
ldr x8, [x20]
cmp x21, x8
b.lt LBB0_15
LBB0_17:
add x0, sp, #8
bl _pthread_attr_destroy
Lloh27:
adrp x8, _NGX_OK@GOTPAGE
Lloh28:
ldr x8, [x8, _NGX_OK@GOTPAGEOFF]
b LBB0_12
LBB0_18:
mov x2, x0
Lloh29:
adrp x8, _NGX_LOG_ALERT@GOTPAGE
Lloh30:
ldr x8, [x8, _NGX_LOG_ALERT@GOTPAGEOFF]
Lloh31:
ldr w0, [x8]
Lloh32:
adrp x3, l_.str.3@PAGE
Lloh33:
add x3, x3, l_.str.3@PAGEOFF
b LBB0_9
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGot Lloh23, Lloh24
.loh AdrpLdrGot Lloh25, Lloh26
.loh AdrpLdrGot Lloh27, Lloh28
.loh AdrpAdd Lloh32, Lloh33
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.cfi_endproc
; -- End function
.comm _ngx_notify,8,3 ; @ngx_notify
.comm _NGX_LOG_ALERT,4,2 ; @NGX_LOG_ALERT
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "the configured event method cannot be used with thread pools"
.comm _NGX_ERROR,8,3 ; @NGX_ERROR
.comm _NGX_OK,8,3 ; @NGX_OK
l_.str.1: ; @.str.1
.asciz "pthread_attr_init() failed"
.comm _PTHREAD_CREATE_DETACHED,4,2 ; @PTHREAD_CREATE_DETACHED
l_.str.2: ; @.str.2
.asciz "pthread_attr_setdetachstate() failed"
.comm _ngx_thread_pool_cycle,4,2 ; @ngx_thread_pool_cycle
l_.str.3: ; @.str.3
.asciz "pthread_create() failed"
.comm _PTHREAD_STACK_MIN,4,2 ; @PTHREAD_STACK_MIN
.no_dead_strip _ngx_thread_pool_init
.subsections_via_symbols
|
AnghaBench/tengine/src/core/extr_ngx_thread_pool.c_ngx_thread_pool_init.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function test_sanity_enum_size
_test_sanity_enum_size: ## @test_sanity_enum_size
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movl $4, %edi
movl $4, %esi
callq _TEST_size_t_eq
xorl %ebx, %ebx
testl %eax, %eax
je LBB0_3
## %bb.1:
movl $4, %edi
movl $4, %esi
callq _TEST_size_t_eq
testl %eax, %eax
je LBB0_3
## %bb.2:
movl $4, %edi
movl $4, %esi
callq _TEST_size_t_eq
xorl %ebx, %ebx
testl %eax, %eax
setne %bl
LBB0_3:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _test_sanity_enum_size
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function test_sanity_enum_size
_test_sanity_enum_size: ; @test_sanity_enum_size
.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, #4
mov w1, #4
bl _TEST_size_t_eq
cbz w0, LBB0_3
; %bb.1:
mov w0, #4
mov w1, #4
bl _TEST_size_t_eq
cbz w0, LBB0_3
; %bb.2:
mov w0, #4
mov w1, #4
bl _TEST_size_t_eq
cmp w0, #0
cset w0, ne
LBB0_3:
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _test_sanity_enum_size
.subsections_via_symbols
|
AnghaBench/openssl/test/extr_sanitytest.c_test_sanity_enum_size.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function nfsd4_open_rsize
_nfsd4_open_rsize: ## @nfsd4_open_rsize
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _op_encode_hdr_size@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _op_encode_stateid_maxsz@GOTPCREL(%rip), %rcx
movq _op_encode_change_info_maxsz@GOTPCREL(%rip), %rdx
movq _nfs4_fattr_bitmap_maxsz@GOTPCREL(%rip), %rsi
addl (%rcx), %eax
addl (%rdx), %eax
addl (%rsi), %eax
movq _op_encode_delegation_maxsz@GOTPCREL(%rip), %rcx
addl (%rcx), %eax
leal 4(,%rax,4), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _op_encode_hdr_size,4,2 ## @op_encode_hdr_size
.comm _op_encode_stateid_maxsz,4,2 ## @op_encode_stateid_maxsz
.comm _op_encode_change_info_maxsz,4,2 ## @op_encode_change_info_maxsz
.comm _nfs4_fattr_bitmap_maxsz,4,2 ## @nfs4_fattr_bitmap_maxsz
.comm _op_encode_delegation_maxsz,4,2 ## @op_encode_delegation_maxsz
.no_dead_strip _nfsd4_open_rsize
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function nfsd4_open_rsize
_nfsd4_open_rsize: ; @nfsd4_open_rsize
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _op_encode_hdr_size@GOTPAGE
Lloh1:
ldr x8, [x8, _op_encode_hdr_size@GOTPAGEOFF]
Lloh2:
adrp x9, _op_encode_stateid_maxsz@GOTPAGE
Lloh3:
ldr x9, [x9, _op_encode_stateid_maxsz@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
Lloh5:
ldr w9, [x9]
Lloh6:
adrp x10, _op_encode_change_info_maxsz@GOTPAGE
Lloh7:
ldr x10, [x10, _op_encode_change_info_maxsz@GOTPAGEOFF]
Lloh8:
adrp x11, _nfs4_fattr_bitmap_maxsz@GOTPAGE
Lloh9:
ldr x11, [x11, _nfs4_fattr_bitmap_maxsz@GOTPAGEOFF]
Lloh10:
ldr w10, [x10]
Lloh11:
ldr w11, [x11]
Lloh12:
adrp x12, _op_encode_delegation_maxsz@GOTPAGE
Lloh13:
ldr x12, [x12, _op_encode_delegation_maxsz@GOTPAGEOFF]
Lloh14:
ldr w12, [x12]
add w8, w8, w9
add w8, w8, w10
add w8, w8, w11
add w8, w8, w12
lsl w8, w8, #2
add w0, w8, #4
ret
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh10
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh4
.cfi_endproc
; -- End function
.comm _op_encode_hdr_size,4,2 ; @op_encode_hdr_size
.comm _op_encode_stateid_maxsz,4,2 ; @op_encode_stateid_maxsz
.comm _op_encode_change_info_maxsz,4,2 ; @op_encode_change_info_maxsz
.comm _nfs4_fattr_bitmap_maxsz,4,2 ; @nfs4_fattr_bitmap_maxsz
.comm _op_encode_delegation_maxsz,4,2 ; @op_encode_delegation_maxsz
.no_dead_strip _nfsd4_open_rsize
.subsections_via_symbols
|
AnghaBench/linux/fs/nfsd/extr_nfs4proc.c_nfsd4_open_rsize.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _generate_die_string ## -- Begin function generate_die_string
.p2align 4, 0x90
_generate_die_string: ## @generate_die_string
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edi, %ebx
leaq L_.str.1(%rip), %rdi
callq _strlen
movl %eax, %r14d
leaq L_.str(%rip), %r12
movq %r12, %rdi
callq _strlen
## kill: def $eax killed $eax def $rax
addl %ebx, %r14d
leal (%rax,%r14), %edi
incl %edi
callq _malloc
movq %rax, %r14
movq %rax, %rdi
movq %r12, %rsi
callq _strcpy
movq %r12, %rdi
callq _strlen
movl %eax, %r15d
movq %r12, %rdi
callq _strlen
addl %ebx, %eax
cmpl %eax, %r15d
jge LBB0_3
## %bb.1:
movslq %r15d, %r15
leaq L_.str(%rip), %r12
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movb $88, (%r14,%r15)
incq %r15
movq %r12, %rdi
callq _strlen
addl %ebx, %eax
cltq
cmpq %rax, %r15
jl LBB0_2
LBB0_3:
movslq %r15d, %rax
movb $0, (%r14,%rax)
leaq L_.str.1(%rip), %rsi
movq %r14, %rdi
callq _strcat
movq %r14, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "GET /?bye="
L_.str.1: ## @.str.1
.asciz " HTTP/1.0\r\n\r\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _generate_die_string ; -- Begin function generate_die_string
.p2align 2
_generate_die_string: ; @generate_die_string
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x0
Lloh0:
adrp x0, l_.str.1@PAGE
Lloh1:
add x0, x0, l_.str.1@PAGEOFF
bl _strlen
mov x20, x0
Lloh2:
adrp x22, l_.str@PAGE
Lloh3:
add x22, x22, l_.str@PAGEOFF
mov x0, x22
bl _strlen
add w8, w19, w20
add w8, w8, w0
add w0, w8, #1
bl _malloc
mov x20, x0
mov x1, x22
bl _strcpy
mov x0, x22
bl _strlen
mov x21, x0
mov x0, x22
bl _strlen
add w8, w0, w19
cmp w21, w8
b.ge LBB0_4
; %bb.1:
sxtw x22, w21
mov w23, #88 ; =0x58
Lloh4:
adrp x21, l_.str@PAGE
Lloh5:
add x21, x21, l_.str@PAGEOFF
LBB0_2: ; =>This Inner Loop Header: Depth=1
strb w23, [x20, x22]
add x22, x22, #1
mov x0, x21
bl _strlen
add w8, w0, w19
cmp x22, w8, sxtw
b.lt LBB0_2
; %bb.3:
mov x21, x22
LBB0_4:
strb wzr, [x20, w21, sxtw]
Lloh6:
adrp x1, l_.str.1@PAGE
Lloh7:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x20
bl _strcat
mov x0, x20
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "GET /?bye="
l_.str.1: ; @.str.1
.asciz " HTTP/1.0\r\n\r\n"
.subsections_via_symbols
|
assembly_file_145217.c
|
assembly_dataset
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ocfs2_write_block ## -- Begin function ocfs2_write_block
.p2align 4, 0x90
_ocfs2_write_block: ## @ocfs2_write_block
.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, %r14
movq %rsi, %r12
movq %rdi, %r15
movq (%rsi), %rsi
leaq L_.str(%rip), %rdi
callq _mlog_entry
movq (%r12), %rax
movq _OCFS2_SUPER_BLOCK_BLKNO@GOTPCREL(%rip), %rcx
xorl %edi, %edi
cmpq (%rcx), %rax
setl %dil
callq _BUG_ON
movq %r12, %rdi
callq _buffer_jbd
movl %eax, %edi
callq _BUG_ON
movq %r15, %rdi
callq _ocfs2_is_hard_readonly
testq %rax, %rax
je LBB0_2
## %bb.1:
movq _EROFS@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
subl (%rax), %ebx
jmp LBB0_6
LBB0_2:
movq %r14, %rdi
callq _ocfs2_metadata_cache_io_lock
movq %r12, %rdi
callq _lock_buffer
movq %r12, %rdi
callq _set_buffer_uptodate
movq %r12, %rdi
callq _clear_buffer_dirty
movq %r12, %rdi
callq _get_bh
movq _end_buffer_write_sync@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 8(%r12)
movq _WRITE@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq %r12, %rsi
callq _submit_bh
movq %r12, %rdi
callq _wait_on_buffer
movq %r12, %rdi
callq _buffer_uptodate
testq %rax, %rax
je LBB0_4
## %bb.3:
movq %r14, %rdi
movq %r12, %rsi
callq _ocfs2_set_buffer_uptodate
xorl %ebx, %ebx
jmp LBB0_5
LBB0_4:
movq _EIO@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
subl (%rax), %ebx
movq %r12, %rdi
callq _put_bh
LBB0_5:
movq %r14, %rdi
callq _ocfs2_metadata_cache_io_unlock
LBB0_6:
movl %ebx, %edi
callq _mlog_exit
movl %ebx, %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 "(bh->b_blocknr = %llu, ci=%p)\n"
.comm _OCFS2_SUPER_BLOCK_BLKNO,8,3 ## @OCFS2_SUPER_BLOCK_BLKNO
.comm _EROFS,4,2 ## @EROFS
.comm _end_buffer_write_sync,4,2 ## @end_buffer_write_sync
.comm _WRITE,4,2 ## @WRITE
.comm _EIO,4,2 ## @EIO
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ocfs2_write_block ; -- Begin function ocfs2_write_block
.p2align 2
_ocfs2_write_block: ; @ocfs2_write_block
.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
ldr x1, [x1]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _mlog_entry
ldr x8, [x20]
Lloh2:
adrp x9, _OCFS2_SUPER_BLOCK_BLKNO@GOTPAGE
Lloh3:
ldr x9, [x9, _OCFS2_SUPER_BLOCK_BLKNO@GOTPAGEOFF]
Lloh4:
ldr x9, [x9]
cmp x8, x9
cset w0, lt
bl _BUG_ON
mov x0, x20
bl _buffer_jbd
bl _BUG_ON
mov x0, x21
bl _ocfs2_is_hard_readonly
cbz x0, LBB0_2
; %bb.1:
Lloh5:
adrp x8, _EROFS@GOTPAGE
Lloh6:
ldr x8, [x8, _EROFS@GOTPAGEOFF]
Lloh7:
ldr w8, [x8]
neg w21, w8
b LBB0_6
LBB0_2:
mov x0, x19
bl _ocfs2_metadata_cache_io_lock
mov x0, x20
bl _lock_buffer
mov x0, x20
bl _set_buffer_uptodate
mov x0, x20
bl _clear_buffer_dirty
mov x0, x20
bl _get_bh
Lloh8:
adrp x8, _end_buffer_write_sync@GOTPAGE
Lloh9:
ldr x8, [x8, _end_buffer_write_sync@GOTPAGEOFF]
Lloh10:
ldr w8, [x8]
str w8, [x20, #8]
Lloh11:
adrp x8, _WRITE@GOTPAGE
Lloh12:
ldr x8, [x8, _WRITE@GOTPAGEOFF]
Lloh13:
ldr w0, [x8]
mov x1, x20
bl _submit_bh
mov x0, x20
bl _wait_on_buffer
mov x0, x20
bl _buffer_uptodate
cbz x0, LBB0_4
; %bb.3:
mov x0, x19
mov x1, x20
bl _ocfs2_set_buffer_uptodate
mov w21, #0
b LBB0_5
LBB0_4:
Lloh14:
adrp x8, _EIO@GOTPAGE
Lloh15:
ldr x8, [x8, _EIO@GOTPAGEOFF]
Lloh16:
ldr w8, [x8]
neg w21, w8
mov x0, x20
bl _put_bh
LBB0_5:
mov x0, x19
bl _ocfs2_metadata_cache_io_unlock
LBB0_6:
mov x0, x21
bl _mlog_exit
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
ret
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "(bh->b_blocknr = %llu, ci=%p)\n"
.comm _OCFS2_SUPER_BLOCK_BLKNO,8,3 ; @OCFS2_SUPER_BLOCK_BLKNO
.comm _EROFS,4,2 ; @EROFS
.comm _end_buffer_write_sync,4,2 ; @end_buffer_write_sync
.comm _WRITE,4,2 ; @WRITE
.comm _EIO,4,2 ; @EIO
.subsections_via_symbols
|
AnghaBench/fastsocket/kernel/fs/ocfs2/extr_buffer_head_io.c_ocfs2_write_block.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _parport_open ## -- Begin function parport_open
.p2align 4, 0x90
_parport_open: ## @parport_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 %r12
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movl %edi, %r14d
movq _topology@GOTPCREL(%rip), %rax
movq (%rax), %r12
movq _topology_lock@GOTPCREL(%rip), %rdi
callq _spin_lock
testq %r12, %r12
je LBB0_3
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl %r14d, (%r12)
je LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq 16(%r12), %r12
testq %r12, %r12
jne LBB0_1
LBB0_3:
movq _topology_lock@GOTPCREL(%rip), %rdi
callq _spin_unlock
LBB0_4:
xorl %eax, %eax
LBB0_5:
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_6:
movl 4(%r12), %r15d
movl 8(%r12), %edi
callq _parport_get_port
movq %rax, %r14
movq _topology_lock@GOTPCREL(%rip), %rdi
callq _spin_unlock
movq $0, (%rsp)
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq _parport_register_device
movq %rax, %rbx
movq %r14, %rdi
callq _parport_put_port
xorl %eax, %eax
testq %rbx, %rbx
je LBB0_5
## %bb.7:
movl %r15d, (%rbx)
testl %r15d, %r15d
js LBB0_10
## %bb.8:
movq %rbx, %rdi
callq _parport_claim_or_block
movl (%r14), %r14d
movq %rbx, %rdi
callq _parport_release
cmpl %r15d, %r14d
jne LBB0_11
LBB0_10:
movq %rbx, %rax
jmp LBB0_5
LBB0_11:
movq %rbx, %rdi
callq _parport_unregister_device
jmp LBB0_4
.cfi_endproc
## -- End function
.comm _topology,8,3 ## @topology
.comm _topology_lock,4,2 ## @topology_lock
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _parport_open ; -- Begin function parport_open
.p2align 2
_parport_open: ; @parport_open
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
Lloh0:
adrp x8, _topology@GOTPAGE
Lloh1:
ldr x8, [x8, _topology@GOTPAGEOFF]
Lloh2:
ldr x21, [x8]
Lloh3:
adrp x0, _topology_lock@GOTPAGE
Lloh4:
ldr x0, [x0, _topology_lock@GOTPAGEOFF]
bl _spin_lock
cbz x21, LBB0_3
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [x21]
cmp w8, w20
b.eq LBB0_6
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
ldr x21, [x21, #16]
cbnz x21, LBB0_1
LBB0_3:
Lloh5:
adrp x0, _topology_lock@GOTPAGE
Lloh6:
ldr x0, [x0, _topology_lock@GOTPAGEOFF]
bl _spin_unlock
LBB0_4:
mov x0, #0 ; =0x0
LBB0_5:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_6:
ldp w22, w0, [x21, #4]
bl _parport_get_port
mov x20, x0
Lloh7:
adrp x0, _topology_lock@GOTPAGE
Lloh8:
ldr x0, [x0, _topology_lock@GOTPAGEOFF]
bl _spin_unlock
mov x0, x20
mov x1, x19
mov x2, #0 ; =0x0
mov x3, #0 ; =0x0
mov x4, #0 ; =0x0
mov w5, #0 ; =0x0
mov x6, #0 ; =0x0
bl _parport_register_device
mov x19, x0
mov x0, x20
bl _parport_put_port
mov x0, x19
cbz x19, LBB0_5
; %bb.7:
str w22, [x0]
tbnz w22, #31, LBB0_5
; %bb.8:
mov x21, x0
bl _parport_claim_or_block
ldr w20, [x20]
mov x0, x21
bl _parport_release
mov x0, x21
cmp w20, w22
b.eq LBB0_5
; %bb.9:
bl _parport_unregister_device
b LBB0_4
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _topology,8,3 ; @topology
.comm _topology_lock,4,2 ; @topology_lock
.subsections_via_symbols
|
assembly_file_80903.c
|
assembly_dataset
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _raw_pci_write ## -- Begin function raw_pci_write
.p2align 4, 0x90
_raw_pci_write: ## @raw_pci_write
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
cmpl $4095, %ecx ## imm = 0xFFF
jg LBB0_9
## %bb.1:
movl %edi, %r14d
cmpl $65535, %edi ## imm = 0xFFFF
ja LBB0_9
## %bb.2:
movl %edx, %r12d
movl %esi, %r13d
movl %edx, %eax
orl %esi, %eax
cmpl $256, %eax ## imm = 0x100
jae LBB0_9
## %bb.3:
movl %r9d, %r15d
movl %ecx, %ebx
movl %r8d, -48(%rbp) ## 4-byte Spill
movl %ecx, %eax
orl %r14d, %eax
cmpl $255, %eax
ja LBB0_5
## %bb.4:
movl %r14d, %edi
movl %r13d, %esi
movl %r12d, %edx
movl %ebx, %ecx
callq _PCI_SAL_ADDRESS
xorl %esi, %esi
jmp LBB0_7
LBB0_5:
movl %r15d, -44(%rbp) ## 4-byte Spill
movq _sal_revision@GOTPCREL(%rip), %rax
movq (%rax), %r15
movl $3, %edi
movl $2, %esi
callq _SAL_VERSION_CODE
cmpq %rax, %r15
jl LBB0_9
## %bb.6:
movl %r14d, %edi
movl %r13d, %esi
movl %r12d, %edx
movl %ebx, %ecx
callq _PCI_SAL_EXT_ADDRESS
movl $1, %esi
movl -44(%rbp), %r15d ## 4-byte Reload
LBB0_7:
movl %eax, %edi
movl -48(%rbp), %edx ## 4-byte Reload
movl %r15d, %ecx
callq _ia64_sal_pci_config_write
testl %eax, %eax
je LBB0_8
LBB0_9:
movq _EINVAL@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
LBB0_10:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_8:
xorl %eax, %eax
jmp LBB0_10
.cfi_endproc
## -- End function
.comm _EINVAL,4,2 ## @EINVAL
.comm _sal_revision,8,3 ## @sal_revision
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _raw_pci_write ; -- Begin function raw_pci_write
.p2align 2
_raw_pci_write: ; @raw_pci_write
.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
cmp w3, #4095
b.gt LBB0_8
; %bb.1:
mov x24, x0
lsr w8, w0, #16
cbnz w8, LBB0_8
; %bb.2:
mov x22, x2
mov x23, x1
orr w8, w2, w1
cmp w8, #256
b.hs LBB0_8
; %bb.3:
mov x19, x5
mov x20, x4
mov x21, x3
orr w8, w3, w24
cmp w8, #255
b.hi LBB0_5
; %bb.4:
mov x0, x24
mov x1, x23
mov x2, x22
mov x3, x21
bl _PCI_SAL_ADDRESS
mov w1, #0
b LBB0_7
LBB0_5:
Lloh0:
adrp x8, _sal_revision@GOTPAGE
Lloh1:
ldr x8, [x8, _sal_revision@GOTPAGEOFF]
Lloh2:
ldr x25, [x8]
mov w0, #3
mov w1, #2
bl _SAL_VERSION_CODE
cmp x25, x0
b.lt LBB0_8
; %bb.6:
mov x0, x24
mov x1, x23
mov x2, x22
mov x3, x21
bl _PCI_SAL_EXT_ADDRESS
mov w1, #1
LBB0_7:
mov x2, x20
mov x3, x19
bl _ia64_sal_pci_config_write
cbz w0, LBB0_9
LBB0_8:
Lloh3:
adrp x8, _EINVAL@GOTPAGE
Lloh4:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
neg w0, w8
LBB0_9:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _EINVAL,4,2 ; @EINVAL
.comm _sal_revision,8,3 ; @sal_revision
.subsections_via_symbols
|
AnghaBench/linux/arch/ia64/pci/extr_pci.c_raw_pci_write.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function settabsi
_settabsi: ## @settabsi
.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
movl %edx, %esi
callq _lua_pushinteger
movq %rbx, %rdi
movl $-2, %esi
movq %r14, %rdx
popq %rbx
popq %r14
popq %rbp
jmp _lua_setfield ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _settabsi
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function settabsi
_settabsi: ; @settabsi
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov x20, x0
mov x1, x2
bl _lua_pushinteger
mov x0, x20
mov w1, #-2
mov x2, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _lua_setfield
.cfi_endproc
; -- End function
.no_dead_strip _settabsi
.subsections_via_symbols
|
AnghaBench/skynet/3rd/lua/extr_ldblib.c_settabsi.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function is_empty_line
_is_empty_line: ## @is_empty_line
.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
jmp LBB0_1
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
incq %r14
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpq %rbx, %r14
jbe LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movsbl (%r14), %edi
callq _isspace
testq %rax, %rax
jne LBB0_3
## %bb.4:
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _is_empty_line
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function is_empty_line
_is_empty_line: ; @is_empty_line
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov x20, x0
b LBB0_2
LBB0_1: ; in Loop: Header=BB0_2 Depth=1
add x20, x20, #1
LBB0_2: ; =>This Inner Loop Header: Depth=1
cmp x20, x19
b.ls LBB0_1
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
ldrsb w0, [x20]
bl _isspace
cbnz x0, LBB0_1
; %bb.4:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _is_empty_line
.subsections_via_symbols
|
assembly_file_165946.c
|
assembly_dataset
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function add_adjusted
_add_adjusted: ## @add_adjusted
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
callq _dd_add
testq %rax, %rax
je LBB0_2
## %bb.1:
movq %rax, %rbx
movsd %xmm0, -16(%rbp) ## 8-byte Spill
movsd -16(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
callq _EXTRACT_WORD64
xorps %xmm0, %xmm0
cvtsi2sd %rbx, %xmm0
callq _EXTRACT_WORD64
movsd -16(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
callq _INSERT_WORD64
movsd -16(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
LBB0_2:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _add_adjusted
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function add_adjusted
_add_adjusted: ; @add_adjusted
.cfi_startproc
; %bb.0:
stp d9, d8, [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 b8, -40
.cfi_offset b9, -48
bl _dd_add
fmov d8, x1
cbz x0, LBB0_2
; %bb.1:
mov x19, x0
fmov d0, d8
bl _EXTRACT_WORD64
scvtf d0, x19
bl _EXTRACT_WORD64
fmov d0, d8
bl _INSERT_WORD64
LBB0_2:
fmov d0, d8
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp d9, d8, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _add_adjusted
.subsections_via_symbols
|
AnghaBench/freebsd/lib/msun/src/extr_s_fma.c_add_adjusted.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ubi_mtd_param_parse
_ubi_mtd_param_parse: ## @ubi_mtd_param_parse
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _MTD_PARAM_LEN_MAX@GOTPCREL(%rip), %r12
movl (%r12), %ebx
movq %rbx, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r15
movq %r15, -56(%rbp)
movq _MTD_PARAM_MAX_COUNT@GOTPCREL(%rip), %rax
movl (%rax), %eax
shlq $3, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r13
testq %r14, %r14
je LBB0_4
## %bb.1:
movq _mtd_devs@GOTPCREL(%rip), %rax
movq (%rax), %rsi
movq _UBI_MAX_DEVICES@GOTPCREL(%rip), %rax
cmpq (%rax), %rsi
jne LBB0_5
## %bb.2:
leaq L_.str(%rip), %rdi
xorl %ebx, %ebx
LBB0_3:
xorl %eax, %eax
callq _pr_err
jmp LBB0_7
LBB0_4:
movq _EINVAL@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
jmp LBB0_8
LBB0_5:
movq %r14, %rdi
movl %ebx, %esi
callq _strnlen
movq %r12, %rcx
movl %eax, %r12d
cmpl (%rcx), %eax
jne LBB0_11
## %bb.6:
leaq L_.str.1(%rip), %rdi
xorl %ebx, %ebx
movq %r14, %rsi
movl %r12d, %edx
xorl %eax, %eax
callq _pr_err
LBB0_7:
movq _EINVAL@GOTPCREL(%rip), %rax
LBB0_8:
subl (%rax), %ebx
LBB0_9:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_33
## %bb.10:
movl %ebx, %eax
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_11:
testl %r12d, %r12d
je LBB0_19
## %bb.12:
movq %r15, %rdi
movq %r14, -64(%rbp) ## 8-byte Spill
movq %r14, %rsi
callq _strcpy
movslq %r12d, %rax
cmpb $10, -1(%rax,%r15)
jne LBB0_14
## %bb.13:
movb $0, -1(%r15,%rax)
LBB0_14:
movq _MTD_PARAM_MAX_COUNT@GOTPCREL(%rip), %r14
cmpl $0, (%r14)
jle LBB0_18
## %bb.15:
xorl %ebx, %ebx
leaq L_.str.3(%rip), %r15
leaq -56(%rbp), %r12
.p2align 4, 0x90
LBB0_16: ## =>This Inner Loop Header: Depth=1
movq %r12, %rdi
movq %r15, %rsi
callq _strsep
movq %rax, (%r13,%rbx,8)
incq %rbx
movslq (%r14), %rax
cmpq %rax, %rbx
jl LBB0_16
## %bb.17:
cmpq $0, -56(%rbp)
je LBB0_21
LBB0_18:
leaq L_.str.4(%rip), %rdi
xorl %ebx, %ebx
movq -64(%rbp), %rsi ## 8-byte Reload
jmp LBB0_3
LBB0_19:
leaq L_.str.2(%rip), %rdi
callq _pr_warn
LBB0_20:
xorl %ebx, %ebx
jmp LBB0_9
LBB0_21:
movq _mtd_dev_param@GOTPCREL(%rip), %rax
movq (%rax), %r15
movq _mtd_devs@GOTPCREL(%rip), %rax
movq (%rax), %rax
leaq (%rax,%rax,2), %r12
movq (%r15,%r12,8), %rdi
movq (%r13), %rsi
callq _strcpy
movq 8(%r13), %rdi
testq %rdi, %rdi
je LBB0_23
## %bb.22:
callq _bytes_str_to_int
movq %rax, 8(%r15,%r12,8)
testq %rax, %rax
js LBB0_30
LBB0_23:
movq 16(%r13), %r14
testq %r14, %r14
je LBB0_26
## %bb.24:
leaq (%r15,%r12,8), %rdx
addq $20, %rdx
movq %r14, %rdi
movl $10, %esi
callq _kstrtoint
testl %eax, %eax
je LBB0_26
## %bb.25:
leaq L_.str.5(%rip), %rdi
jmp LBB0_29
LBB0_26:
movq 24(%r13), %r14
testq %r14, %r14
je LBB0_31
## %bb.27:
leaq (%r15,%r12,8), %rdx
addq $16, %rdx
movq %r14, %rdi
movl $10, %esi
callq _kstrtoint
testl %eax, %eax
je LBB0_32
## %bb.28:
leaq L_.str.6(%rip), %rdi
LBB0_29:
xorl %ebx, %ebx
movq %r14, %rsi
jmp LBB0_3
LBB0_30:
movq %rax, %rbx
jmp LBB0_9
LBB0_31:
movq _UBI_DEV_NUM_AUTO@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 16(%r15,%r12,8)
LBB0_32:
movq _mtd_devs@GOTPCREL(%rip), %rax
incq (%rax)
jmp LBB0_20
LBB0_33:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _MTD_PARAM_LEN_MAX,4,2 ## @MTD_PARAM_LEN_MAX
.comm _MTD_PARAM_MAX_COUNT,4,2 ## @MTD_PARAM_MAX_COUNT
.comm _EINVAL,4,2 ## @EINVAL
.comm _mtd_devs,8,3 ## @mtd_devs
.comm _UBI_MAX_DEVICES,8,3 ## @UBI_MAX_DEVICES
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "UBI error: too many parameters, max. is %d\n"
L_.str.1: ## @.str.1
.asciz "UBI error: parameter \"%s\" is too long, max. is %d\n"
L_.str.2: ## @.str.2
.asciz "UBI warning: empty 'mtd=' parameter - ignored\n"
L_.str.3: ## @.str.3
.asciz ","
L_.str.4: ## @.str.4
.asciz "UBI error: too many arguments at \"%s\"\n"
.comm _mtd_dev_param,8,3 ## @mtd_dev_param
L_.str.5: ## @.str.5
.asciz "UBI error: bad value for max_beb_per1024 parameter: %s"
L_.str.6: ## @.str.6
.asciz "UBI error: bad value for ubi_num parameter: %s"
.comm _UBI_DEV_NUM_AUTO,4,2 ## @UBI_DEV_NUM_AUTO
.no_dead_strip _ubi_mtd_param_parse
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ubi_mtd_param_parse
_ubi_mtd_param_parse: ; @ubi_mtd_param_parse
.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
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, #-72]
Lloh3:
adrp x25, _MTD_PARAM_LEN_MAX@GOTPAGE
Lloh4:
ldr x25, [x25, _MTD_PARAM_LEN_MAX@GOTPAGEOFF]
ldr w1, [x25]
mov x9, x1
Lloh5:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh6:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x8, sp
add x9, x1, #15
and x9, x9, #0x1fffffff0
sub x20, x8, x9
mov sp, x20
stur x20, [x29, #-80]
Lloh7:
adrp x24, _MTD_PARAM_MAX_COUNT@GOTPAGE
Lloh8:
ldr x24, [x24, _MTD_PARAM_MAX_COUNT@GOTPAGEOFF]
ldr w8, [x24]
lsl x8, x8, #3
mov x9, x8
Lloh9:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh10:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0xffffffff0
sub x23, x9, x8
mov sp, x23
cbz x0, LBB0_14
; %bb.1:
Lloh11:
adrp x22, _mtd_devs@GOTPAGE
Lloh12:
ldr x22, [x22, _mtd_devs@GOTPAGEOFF]
ldr x8, [x22]
Lloh13:
adrp x9, _UBI_MAX_DEVICES@GOTPAGE
Lloh14:
ldr x9, [x9, _UBI_MAX_DEVICES@GOTPAGEOFF]
Lloh15:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_3
; %bb.2:
str x8, [sp, #-16]!
Lloh16:
adrp x0, l_.str@PAGE
Lloh17:
add x0, x0, l_.str@PAGEOFF
b LBB0_13
LBB0_3:
mov x0, x19
; kill: def $w1 killed $w1 killed $x1
bl _strnlen
mov x21, x0
ldr w8, [x25]
cmp w0, w8
b.ne LBB0_5
; %bb.4:
; kill: def $w21 killed $w21 killed $x21 def $x21
stp x19, x21, [sp, #-16]!
Lloh18:
adrp x0, l_.str.1@PAGE
Lloh19:
add x0, x0, l_.str.1@PAGEOFF
b LBB0_13
LBB0_5:
cbz w21, LBB0_17
; %bb.6:
mov x0, x20
mov x1, x19
bl _strcpy
sxtw x8, w21
sub x8, x8, #1
ldrb w9, [x20, x8]
cmp w9, #10
b.ne LBB0_8
; %bb.7:
strb wzr, [x20, x8]
LBB0_8:
ldr w8, [x24]
cmp w8, #1
b.lt LBB0_12
; %bb.9:
mov x21, #0
Lloh20:
adrp x20, l_.str.3@PAGE
Lloh21:
add x20, x20, l_.str.3@PAGEOFF
LBB0_10: ; =>This Inner Loop Header: Depth=1
sub x0, x29, #80
mov x1, x20
bl _strsep
str x0, [x23, x21, lsl #3]
add x21, x21, #1
ldrsw x8, [x24]
cmp x21, x8
b.lt LBB0_10
; %bb.11:
ldur x8, [x29, #-80]
cbz x8, LBB0_18
LBB0_12:
str x19, [sp, #-16]!
Lloh22:
adrp x0, l_.str.4@PAGE
Lloh23:
add x0, x0, l_.str.4@PAGEOFF
LBB0_13:
bl _pr_err
add sp, sp, #16
LBB0_14:
Lloh24:
adrp x8, _EINVAL@GOTPAGE
Lloh25:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh26:
ldr w8, [x8]
neg w0, w8
LBB0_15:
ldur x8, [x29, #-72]
Lloh27:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh28:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh29:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_28
; %bb.16:
; kill: def $w0 killed $w0 killed $x0
sub sp, x29, #64
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
LBB0_17:
Lloh30:
adrp x0, l_.str.2@PAGE
Lloh31:
add x0, x0, l_.str.2@PAGEOFF
bl _pr_warn
mov w0, #0
b LBB0_15
LBB0_18:
Lloh32:
adrp x8, _mtd_dev_param@GOTPAGE
Lloh33:
ldr x8, [x8, _mtd_dev_param@GOTPAGEOFF]
Lloh34:
ldr x20, [x8]
ldr x21, [x22]
mov w8, #24
mul x8, x21, x8
ldr x0, [x20, x8]
ldr x1, [x23]
bl _strcpy
ldr x0, [x23, #8]
cbz x0, LBB0_20
; %bb.19:
bl _bytes_str_to_int
mov w8, #24
madd x8, x21, x8, x20
str x0, [x8, #8]
tbnz x0, #63, LBB0_15
LBB0_20:
ldr x19, [x23, #16]
cbz x19, LBB0_23
; %bb.21:
mov w8, #24
madd x8, x21, x8, x20
add x2, x8, #20
mov x0, x19
mov w1, #10
bl _kstrtoint
cbz w0, LBB0_23
; %bb.22:
str x19, [sp, #-16]!
Lloh35:
adrp x0, l_.str.5@PAGE
Lloh36:
add x0, x0, l_.str.5@PAGEOFF
b LBB0_13
LBB0_23:
ldr x19, [x23, #24]
cbz x19, LBB0_26
; %bb.24:
mov w8, #24
madd x8, x21, x8, x20
add x2, x8, #16
mov x0, x19
mov w1, #10
bl _kstrtoint
cbz w0, LBB0_27
; %bb.25:
str x19, [sp, #-16]!
Lloh37:
adrp x0, l_.str.6@PAGE
Lloh38:
add x0, x0, l_.str.6@PAGEOFF
b LBB0_13
LBB0_26:
Lloh39:
adrp x8, _UBI_DEV_NUM_AUTO@GOTPAGE
Lloh40:
ldr x8, [x8, _UBI_DEV_NUM_AUTO@GOTPAGEOFF]
Lloh41:
ldr w8, [x8]
mov w9, #24
madd x9, x21, x9, x20
str w8, [x9, #16]
LBB0_27:
mov w0, #0
ldr x8, [x22]
add x8, x8, #1
str x8, [x22]
b LBB0_15
LBB0_28:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34
.loh AdrpAdd Lloh35, Lloh36
.loh AdrpAdd Lloh37, Lloh38
.loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41
.cfi_endproc
; -- End function
.comm _MTD_PARAM_LEN_MAX,4,2 ; @MTD_PARAM_LEN_MAX
.comm _MTD_PARAM_MAX_COUNT,4,2 ; @MTD_PARAM_MAX_COUNT
.comm _EINVAL,4,2 ; @EINVAL
.comm _mtd_devs,8,3 ; @mtd_devs
.comm _UBI_MAX_DEVICES,8,3 ; @UBI_MAX_DEVICES
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "UBI error: too many parameters, max. is %d\n"
l_.str.1: ; @.str.1
.asciz "UBI error: parameter \"%s\" is too long, max. is %d\n"
l_.str.2: ; @.str.2
.asciz "UBI warning: empty 'mtd=' parameter - ignored\n"
l_.str.3: ; @.str.3
.asciz ","
l_.str.4: ; @.str.4
.asciz "UBI error: too many arguments at \"%s\"\n"
.comm _mtd_dev_param,8,3 ; @mtd_dev_param
l_.str.5: ; @.str.5
.asciz "UBI error: bad value for max_beb_per1024 parameter: %s"
l_.str.6: ; @.str.6
.asciz "UBI error: bad value for ubi_num parameter: %s"
.comm _UBI_DEV_NUM_AUTO,4,2 ; @UBI_DEV_NUM_AUTO
.no_dead_strip _ubi_mtd_param_parse
.subsections_via_symbols
|
AnghaBench/linux/drivers/mtd/ubi/extr_build.c_ubi_mtd_param_parse.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function audcom
_audcom: ## @audcom
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _COMTYPE_MISC@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _AV7110_FW_AUDIO_COMMAND@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
movzwl %si, %r9d
movl %esi, %r8d
sarl $16, %r8d
movl %eax, %esi
movl $2, %ecx
popq %rbp
jmp _av7110_fw_cmd ## TAILCALL
.cfi_endproc
## -- End function
.comm _COMTYPE_MISC,4,2 ## @COMTYPE_MISC
.comm _AV7110_FW_AUDIO_COMMAND,4,2 ## @AV7110_FW_AUDIO_COMMAND
.no_dead_strip _audcom
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function audcom
_audcom: ; @audcom
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _COMTYPE_MISC@GOTPAGE
Lloh1:
ldr x8, [x8, _COMTYPE_MISC@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
Lloh3:
adrp x9, _AV7110_FW_AUDIO_COMMAND@GOTPAGE
Lloh4:
ldr x9, [x9, _AV7110_FW_AUDIO_COMMAND@GOTPAGEOFF]
Lloh5:
ldr w2, [x9]
asr w4, w1, #16
and w5, w1, #0xffff
mov x1, x8
mov w3, #2
b _av7110_fw_cmd
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _COMTYPE_MISC,4,2 ; @COMTYPE_MISC
.comm _AV7110_FW_AUDIO_COMMAND,4,2 ; @AV7110_FW_AUDIO_COMMAND
.no_dead_strip _audcom
.subsections_via_symbols
|
AnghaBench/linux/drivers/media/pci/ttpci/extr_av7110_hw.h_audcom.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _coerce_to_boolean ## -- Begin function coerce_to_boolean
.p2align 4, 0x90
_coerce_to_boolean: ## @coerce_to_boolean
.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, %r14
movq %rsi, %r12
movq %rdi, %r15
movq %rsi, %rdi
callq _exprType
movq %rax, %rbx
movq _BOOLOID@GOTPCREL(%rip), %rax
movq (%rax), %rcx
cmpq %rcx, %rbx
jne LBB0_2
## %bb.1:
movq %r12, %r13
jmp LBB0_4
LBB0_2:
movq _COERCION_ASSIGNMENT@GOTPCREL(%rip), %rax
movl (%rax), %r9d
movq _COERCE_IMPLICIT_CAST@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq %r15, %rdi
movq %r12, %rsi
movq %rbx, %rdx
movl $-1, %r8d
pushq $-1
pushq %rax
callq _coerce_to_target_type
addq $16, %rsp
movq %rax, %r13
testq %rax, %rax
jne LBB0_4
## %bb.3:
movq _ERROR@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -44(%rbp) ## 4-byte Spill
movq _ERRCODE_DATATYPE_MISMATCH@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _errcode
movq %rbx, %rdi
callq _format_type_be
leaq L_.str(%rip), %rdi
leaq L_.str.1(%rip), %rdx
xorl %r13d, %r13d
movq %r14, %rsi
movl %eax, %ecx
xorl %eax, %eax
callq _errmsg
movq %r12, %rdi
callq _exprLocation
movq %r15, %rdi
movl %eax, %esi
callq _parser_errposition
movl -44(%rbp), %edi ## 4-byte Reload
movl %eax, %esi
callq _ereport
LBB0_4:
movq %r13, %rdi
callq _expression_returns_set
testq %rax, %rax
je LBB0_6
## %bb.5:
movq _ERROR@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movq _ERRCODE_DATATYPE_MISMATCH@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _errcode
leaq L_.str.2(%rip), %rdi
movq %r14, %rsi
xorl %eax, %eax
callq _errmsg
movq %r13, %rdi
callq _exprLocation
movq %r15, %rdi
movl %eax, %esi
callq _parser_errposition
movl %ebx, %edi
movl %eax, %esi
callq _ereport
LBB0_6:
movq %r13, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _BOOLOID,8,3 ## @BOOLOID
.comm _COERCION_ASSIGNMENT,4,2 ## @COERCION_ASSIGNMENT
.comm _COERCE_IMPLICIT_CAST,4,2 ## @COERCE_IMPLICIT_CAST
.comm _ERROR,4,2 ## @ERROR
.comm _ERRCODE_DATATYPE_MISMATCH,4,2 ## @ERRCODE_DATATYPE_MISMATCH
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "argument of %s must be type %s, not type %s"
L_.str.1: ## @.str.1
.asciz "boolean"
L_.str.2: ## @.str.2
.asciz "argument of %s must not return a set"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _coerce_to_boolean ; -- Begin function coerce_to_boolean
.p2align 2
_coerce_to_boolean: ; @coerce_to_boolean
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x20, x2
mov x21, x1
mov x19, x0
mov x0, x1
bl _exprType
Lloh0:
adrp x8, _BOOLOID@GOTPAGE
Lloh1:
ldr x8, [x8, _BOOLOID@GOTPAGEOFF]
Lloh2:
ldr x3, [x8]
cmp x0, x3
b.ne LBB0_2
; %bb.1:
mov x22, x21
b LBB0_4
LBB0_2:
mov x23, x0
Lloh3:
adrp x8, _COERCION_ASSIGNMENT@GOTPAGE
Lloh4:
ldr x8, [x8, _COERCION_ASSIGNMENT@GOTPAGEOFF]
Lloh5:
ldr w5, [x8]
Lloh6:
adrp x8, _COERCE_IMPLICIT_CAST@GOTPAGE
Lloh7:
ldr x8, [x8, _COERCE_IMPLICIT_CAST@GOTPAGEOFF]
Lloh8:
ldr w6, [x8]
mov x0, x19
mov x1, x21
mov x2, x23
mov w4, #-1
mov w7, #-1
bl _coerce_to_target_type
mov x22, x0
cbnz x0, LBB0_4
; %bb.3:
Lloh9:
adrp x8, _ERROR@GOTPAGE
Lloh10:
ldr x8, [x8, _ERROR@GOTPAGEOFF]
Lloh11:
ldr w22, [x8]
Lloh12:
adrp x8, _ERRCODE_DATATYPE_MISMATCH@GOTPAGE
Lloh13:
ldr x8, [x8, _ERRCODE_DATATYPE_MISMATCH@GOTPAGEOFF]
Lloh14:
ldr w0, [x8]
bl _errcode
mov x0, x23
bl _format_type_be
; kill: def $w0 killed $w0 def $x0
Lloh15:
adrp x8, l_.str.1@PAGE
Lloh16:
add x8, x8, l_.str.1@PAGEOFF
stp x8, x0, [sp]
Lloh17:
adrp x0, l_.str@PAGE
Lloh18:
add x0, x0, l_.str@PAGEOFF
mov x1, x20
bl _errmsg
mov x0, x21
bl _exprLocation
mov x1, x0
mov x0, x19
bl _parser_errposition
mov x1, x0
mov x0, x22
bl _ereport
mov x22, #0
LBB0_4:
mov x0, x22
bl _expression_returns_set
cbz x0, LBB0_6
; %bb.5:
Lloh19:
adrp x8, _ERROR@GOTPAGE
Lloh20:
ldr x8, [x8, _ERROR@GOTPAGEOFF]
Lloh21:
ldr w21, [x8]
Lloh22:
adrp x8, _ERRCODE_DATATYPE_MISMATCH@GOTPAGE
Lloh23:
ldr x8, [x8, _ERRCODE_DATATYPE_MISMATCH@GOTPAGEOFF]
Lloh24:
ldr w0, [x8]
bl _errcode
Lloh25:
adrp x0, l_.str.2@PAGE
Lloh26:
add x0, x0, l_.str.2@PAGEOFF
mov x1, x20
bl _errmsg
mov x0, x22
bl _exprLocation
mov x1, x0
mov x0, x19
bl _parser_errposition
mov x1, x0
mov x0, x21
bl _ereport
LBB0_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
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.cfi_endproc
; -- End function
.comm _BOOLOID,8,3 ; @BOOLOID
.comm _COERCION_ASSIGNMENT,4,2 ; @COERCION_ASSIGNMENT
.comm _COERCE_IMPLICIT_CAST,4,2 ; @COERCE_IMPLICIT_CAST
.comm _ERROR,4,2 ; @ERROR
.comm _ERRCODE_DATATYPE_MISMATCH,4,2 ; @ERRCODE_DATATYPE_MISMATCH
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "argument of %s must be type %s, not type %s"
l_.str.1: ; @.str.1
.asciz "boolean"
l_.str.2: ; @.str.2
.asciz "argument of %s must not return a set"
.subsections_via_symbols
|
AnghaBench/postgres/src/backend/parser/extr_parse_coerce.c_coerce_to_boolean.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function setting_get_string_representation_uint_menu_left_thumbnails
_setting_get_string_representation_uint_menu_left_thumbnails: ## @setting_get_string_representation_uint_menu_left_thumbnails
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
testq %rdi, %rdi
je LBB0_2
## %bb.1:
movq (%rdi), %rax
movslq (%rax), %rax
cmpq $3, %rax
ja LBB0_2
## %bb.3:
movq %rdx, %r14
movq %rsi, %rbx
leaq l_switch.table.setting_get_string_representation_uint_menu_left_thumbnails(%rip), %rcx
movq (%rcx,%rax,8), %rax
movl (%rax), %edi
callq _msg_hash_to_str
movq %rbx, %rdi
movl %eax, %esi
movq %r14, %rdx
popq %rbx
popq %r14
popq %rbp
jmp _strlcpy ## TAILCALL
LBB0_2:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MENU_ENUM_LABEL_VALUE_OFF,4,2 ## @MENU_ENUM_LABEL_VALUE_OFF
.comm _MENU_ENUM_LABEL_VALUE_THUMBNAIL_MODE_SCREENSHOTS,4,2 ## @MENU_ENUM_LABEL_VALUE_THUMBNAIL_MODE_SCREENSHOTS
.comm _MENU_ENUM_LABEL_VALUE_THUMBNAIL_MODE_TITLE_SCREENS,4,2 ## @MENU_ENUM_LABEL_VALUE_THUMBNAIL_MODE_TITLE_SCREENS
.comm _MENU_ENUM_LABEL_VALUE_THUMBNAIL_MODE_BOXARTS,4,2 ## @MENU_ENUM_LABEL_VALUE_THUMBNAIL_MODE_BOXARTS
.no_dead_strip _setting_get_string_representation_uint_menu_left_thumbnails
.section __DATA,__const
.p2align 3 ## @switch.table.setting_get_string_representation_uint_menu_left_thumbnails
l_switch.table.setting_get_string_representation_uint_menu_left_thumbnails:
.quad _MENU_ENUM_LABEL_VALUE_OFF
.quad _MENU_ENUM_LABEL_VALUE_THUMBNAIL_MODE_SCREENSHOTS
.quad _MENU_ENUM_LABEL_VALUE_THUMBNAIL_MODE_TITLE_SCREENS
.quad _MENU_ENUM_LABEL_VALUE_THUMBNAIL_MODE_BOXARTS
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function setting_get_string_representation_uint_menu_left_thumbnails
_setting_get_string_representation_uint_menu_left_thumbnails: ; @setting_get_string_representation_uint_menu_left_thumbnails
.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
cbz x0, LBB0_3
; %bb.1:
ldr x8, [x0]
ldrsw x8, [x8]
cmp w8, #3
b.hi LBB0_3
; %bb.2:
mov x19, x2
mov x20, x1
Lloh0:
adrp x9, l_switch.table.setting_get_string_representation_uint_menu_left_thumbnails@PAGE
Lloh1:
add x9, x9, l_switch.table.setting_get_string_representation_uint_menu_left_thumbnails@PAGEOFF
ldr x8, [x9, x8, lsl #3]
ldr w0, [x8]
bl _msg_hash_to_str
mov x1, x0
mov x0, x20
mov x2, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _strlcpy
LBB0_3:
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
.comm _MENU_ENUM_LABEL_VALUE_OFF,4,2 ; @MENU_ENUM_LABEL_VALUE_OFF
.comm _MENU_ENUM_LABEL_VALUE_THUMBNAIL_MODE_SCREENSHOTS,4,2 ; @MENU_ENUM_LABEL_VALUE_THUMBNAIL_MODE_SCREENSHOTS
.comm _MENU_ENUM_LABEL_VALUE_THUMBNAIL_MODE_TITLE_SCREENS,4,2 ; @MENU_ENUM_LABEL_VALUE_THUMBNAIL_MODE_TITLE_SCREENS
.comm _MENU_ENUM_LABEL_VALUE_THUMBNAIL_MODE_BOXARTS,4,2 ; @MENU_ENUM_LABEL_VALUE_THUMBNAIL_MODE_BOXARTS
.no_dead_strip _setting_get_string_representation_uint_menu_left_thumbnails
.section __DATA,__const
.p2align 3 ; @switch.table.setting_get_string_representation_uint_menu_left_thumbnails
l_switch.table.setting_get_string_representation_uint_menu_left_thumbnails:
.quad _MENU_ENUM_LABEL_VALUE_OFF
.quad _MENU_ENUM_LABEL_VALUE_THUMBNAIL_MODE_SCREENSHOTS
.quad _MENU_ENUM_LABEL_VALUE_THUMBNAIL_MODE_TITLE_SCREENS
.quad _MENU_ENUM_LABEL_VALUE_THUMBNAIL_MODE_BOXARTS
.subsections_via_symbols
|
AnghaBench/RetroArch/menu/extr_menu_setting.c_setting_get_string_representation_uint_menu_left_thumbnails.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ulpt_start_read
_ulpt_start_read: ## @ulpt_start_read
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _usb_fifo_softc
movq (%rax), %rax
movq _ULPT_BULK_DT_RD@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movl (%rax,%rcx,4), %edi
popq %rbp
jmp _usbd_transfer_start ## TAILCALL
.cfi_endproc
## -- End function
.comm _ULPT_BULK_DT_RD,8,3 ## @ULPT_BULK_DT_RD
.no_dead_strip _ulpt_start_read
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ulpt_start_read
_ulpt_start_read: ; @ulpt_start_read
.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 _usb_fifo_softc
ldr x8, [x0]
Lloh0:
adrp x9, _ULPT_BULK_DT_RD@GOTPAGE
Lloh1:
ldr x9, [x9, _ULPT_BULK_DT_RD@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
ldr w0, [x8, x9, lsl #2]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
b _usbd_transfer_start
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _ULPT_BULK_DT_RD,8,3 ; @ULPT_BULK_DT_RD
.no_dead_strip _ulpt_start_read
.subsections_via_symbols
|
AnghaBench/freebsd/sys/dev/usb/serial/extr_ulpt.c_ulpt_start_read.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ixgbevf_stop_hw_vf
_ixgbevf_stop_hw_vf: ## @ixgbevf_stop_hw_vf
.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
movl $1, (%rdi)
movq 8(%rdi), %r12
testq %r12, %r12
jle LBB0_5
## %bb.1:
xorl %ebx, %ebx
movq _IXGBE_RXDCTL_ENABLE@GOTPCREL(%rip), %r13
jmp LBB0_2
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
incq %rbx
cmpq %rbx, %r12
je LBB0_5
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
callq _IXGBE_VFRXDCTL
movq %r14, %rdi
movl %eax, %esi
callq _IXGBE_READ_REG
movq %rax, %r15
movq (%r13), %rax
testq %r15, %rax
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
notq %rax
andq %rax, %r15
movq %rbx, %rdi
callq _IXGBE_VFRXDCTL
movq %r14, %rdi
movl %eax, %esi
movq %r15, %rdx
callq _IXGBE_WRITE_REG
jmp LBB0_4
LBB0_5:
movq %r14, %rdi
callq _IXGBE_WRITE_FLUSH
movq _IXGBE_VTEIMC@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _IXGBE_VF_IRQ_CLEAR_MASK@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movq %r14, %rdi
callq _IXGBE_WRITE_REG
movq _IXGBE_VTEICR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
callq _IXGBE_READ_REG
movq 16(%r14), %r12
testq %r12, %r12
jle LBB0_10
## %bb.6:
xorl %ebx, %ebx
movq _IXGBE_TXDCTL_ENABLE@GOTPCREL(%rip), %r13
jmp LBB0_7
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_7 Depth=1
incq %rbx
cmpq %rbx, %r12
je LBB0_10
LBB0_7: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
callq _IXGBE_VFTXDCTL
movq %r14, %rdi
movl %eax, %esi
callq _IXGBE_READ_REG
movq %rax, %r15
movq (%r13), %rax
testq %r15, %rax
je LBB0_9
## %bb.8: ## in Loop: Header=BB0_7 Depth=1
notq %rax
andq %rax, %r15
movq %rbx, %rdi
callq _IXGBE_VFTXDCTL
movq %r14, %rdi
movl %eax, %esi
movq %r15, %rdx
callq _IXGBE_WRITE_REG
jmp LBB0_9
LBB0_10:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _IXGBE_RXDCTL_ENABLE,8,3 ## @IXGBE_RXDCTL_ENABLE
.comm _IXGBE_VTEIMC,4,2 ## @IXGBE_VTEIMC
.comm _IXGBE_VF_IRQ_CLEAR_MASK,8,3 ## @IXGBE_VF_IRQ_CLEAR_MASK
.comm _IXGBE_VTEICR,4,2 ## @IXGBE_VTEICR
.comm _IXGBE_TXDCTL_ENABLE,8,3 ## @IXGBE_TXDCTL_ENABLE
.no_dead_strip _ixgbevf_stop_hw_vf
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ixgbevf_stop_hw_vf
_ixgbevf_stop_hw_vf: ; @ixgbevf_stop_hw_vf
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x0
mov w8, #1
str w8, [x0]
ldr x22, [x0, #8]
cmp x22, #1
b.lt LBB0_5
; %bb.1:
mov x20, #0
Lloh0:
adrp x23, _IXGBE_RXDCTL_ENABLE@GOTPAGE
Lloh1:
ldr x23, [x23, _IXGBE_RXDCTL_ENABLE@GOTPAGEOFF]
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x20, x20, #1
cmp x22, x20
b.eq LBB0_5
LBB0_3: ; =>This Inner Loop Header: Depth=1
mov x0, x20
bl _IXGBE_VFRXDCTL
mov x1, x0
mov x0, x19
bl _IXGBE_READ_REG
ldr x8, [x23]
tst x8, x0
b.eq LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
bic x21, x0, x8
mov x0, x20
bl _IXGBE_VFRXDCTL
mov x1, x0
mov x0, x19
mov x2, x21
bl _IXGBE_WRITE_REG
b LBB0_2
LBB0_5:
mov x0, x19
bl _IXGBE_WRITE_FLUSH
Lloh2:
adrp x8, _IXGBE_VTEIMC@GOTPAGE
Lloh3:
ldr x8, [x8, _IXGBE_VTEIMC@GOTPAGEOFF]
Lloh4:
ldr w1, [x8]
Lloh5:
adrp x8, _IXGBE_VF_IRQ_CLEAR_MASK@GOTPAGE
Lloh6:
ldr x8, [x8, _IXGBE_VF_IRQ_CLEAR_MASK@GOTPAGEOFF]
Lloh7:
ldr x2, [x8]
mov x0, x19
bl _IXGBE_WRITE_REG
Lloh8:
adrp x8, _IXGBE_VTEICR@GOTPAGE
Lloh9:
ldr x8, [x8, _IXGBE_VTEICR@GOTPAGEOFF]
Lloh10:
ldr w1, [x8]
mov x0, x19
bl _IXGBE_READ_REG
ldr x22, [x19, #16]
cmp x22, #1
b.lt LBB0_10
; %bb.6:
mov x20, #0
Lloh11:
adrp x23, _IXGBE_TXDCTL_ENABLE@GOTPAGE
Lloh12:
ldr x23, [x23, _IXGBE_TXDCTL_ENABLE@GOTPAGEOFF]
b LBB0_8
LBB0_7: ; in Loop: Header=BB0_8 Depth=1
add x20, x20, #1
cmp x22, x20
b.eq LBB0_10
LBB0_8: ; =>This Inner Loop Header: Depth=1
mov x0, x20
bl _IXGBE_VFTXDCTL
mov x1, x0
mov x0, x19
bl _IXGBE_READ_REG
ldr x8, [x23]
tst x8, x0
b.eq LBB0_7
; %bb.9: ; in Loop: Header=BB0_8 Depth=1
bic x21, x0, x8
mov x0, x20
bl _IXGBE_VFTXDCTL
mov x1, x0
mov x0, x19
mov x2, x21
bl _IXGBE_WRITE_REG
b LBB0_7
LBB0_10:
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
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh11, Lloh12
.cfi_endproc
; -- End function
.comm _IXGBE_RXDCTL_ENABLE,8,3 ; @IXGBE_RXDCTL_ENABLE
.comm _IXGBE_VTEIMC,4,2 ; @IXGBE_VTEIMC
.comm _IXGBE_VF_IRQ_CLEAR_MASK,8,3 ; @IXGBE_VF_IRQ_CLEAR_MASK
.comm _IXGBE_VTEICR,4,2 ; @IXGBE_VTEICR
.comm _IXGBE_TXDCTL_ENABLE,8,3 ; @IXGBE_TXDCTL_ENABLE
.no_dead_strip _ixgbevf_stop_hw_vf
.subsections_via_symbols
|
AnghaBench/linux/drivers/net/ethernet/intel/ixgbevf/extr_vf.c_ixgbevf_stop_hw_vf.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function igc_tx_ctxtdesc
_igc_tx_ctxtdesc: ## @igc_tx_ctxtdesc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %r8d, %r12d
movl %ecx, %r13d
movl %edx, -44(%rbp) ## 4-byte Spill
movq %rsi, -56(%rbp) ## 8-byte Spill
movq %rdi, %r14
movq (%rdi), %rbx
movq %rbx, %rsi
callq _IGC_TX_CTXTDESC
incq %rbx
xorl %ecx, %ecx
cmpq 8(%r14), %rbx
cmovlq %rbx, %rcx
movq %rcx, (%r14)
movq _IGC_TXD_CMD_DEXT@GOTPCREL(%rip), %rcx
movq _IGC_ADVTXD_DTYP_CTXT@GOTPCREL(%rip), %rdx
orl (%rcx), %r13d
orl (%rdx), %r13d
movq %rax, %r15
movq _IGC_RING_FLAG_TX_CTX_IDX@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq 32(%r14), %rsi
callq _test_bit
testq %rax, %rax
je LBB0_2
## %bb.1:
movl 16(%r14), %eax
shll $4, %eax
orl %eax, %r12d
LBB0_2:
movl -44(%rbp), %edi ## 4-byte Reload
callq _cpu_to_le32
movq %rax, 24(%r15)
movl %r13d, %edi
callq _cpu_to_le32
movq %rax, 16(%r15)
movl %r12d, %edi
callq _cpu_to_le32
movq %rax, 8(%r15)
cmpq $0, 24(%r14)
je LBB0_3
## %bb.4:
movq -56(%rbp), %r14 ## 8-byte Reload
movq (%r14), %rax
movl (%rax), %edi
callq _ktime_to_timespec64
movl %eax, %ebx
xorl %edi, %edi
xorl %esi, %esi
callq _ktime_set
movq (%r14), %rcx
movl %eax, (%rcx)
leal 31(%rbx), %edi
testl %ebx, %ebx
cmovnsl %ebx, %edi
sarl $5, %edi
callq _cpu_to_le32
jmp LBB0_5
LBB0_3:
xorl %eax, %eax
LBB0_5:
movq %rax, (%r15)
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _IGC_TXD_CMD_DEXT,4,2 ## @IGC_TXD_CMD_DEXT
.comm _IGC_ADVTXD_DTYP_CTXT,4,2 ## @IGC_ADVTXD_DTYP_CTXT
.comm _IGC_RING_FLAG_TX_CTX_IDX,4,2 ## @IGC_RING_FLAG_TX_CTX_IDX
.no_dead_strip _igc_tx_ctxtdesc
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function igc_tx_ctxtdesc
_igc_tx_ctxtdesc: ; @igc_tx_ctxtdesc
.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 x22, x4
mov x24, x3
mov x23, x2
mov x20, x1
mov x21, x0
ldr x25, [x0]
mov x1, x25
bl _IGC_TX_CTXTDESC
mov x19, x0
add x8, x25, #1
ldr x9, [x21, #8]
cmp x8, x9
csinc x8, xzr, x25, ge
str x8, [x21]
Lloh0:
adrp x8, _IGC_TXD_CMD_DEXT@GOTPAGE
Lloh1:
ldr x8, [x8, _IGC_TXD_CMD_DEXT@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
Lloh3:
adrp x9, _IGC_ADVTXD_DTYP_CTXT@GOTPAGE
Lloh4:
ldr x9, [x9, _IGC_ADVTXD_DTYP_CTXT@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
orr w8, w8, w24
orr w24, w8, w9
Lloh6:
adrp x8, _IGC_RING_FLAG_TX_CTX_IDX@GOTPAGE
Lloh7:
ldr x8, [x8, _IGC_RING_FLAG_TX_CTX_IDX@GOTPAGEOFF]
Lloh8:
ldr w0, [x8]
add x1, x21, #32
bl _test_bit
cbz x0, LBB0_2
; %bb.1:
ldr w8, [x21, #16]
orr w22, w22, w8, lsl #4
LBB0_2:
mov x0, x23
bl _cpu_to_le32
str x0, [x19, #24]
mov x0, x24
bl _cpu_to_le32
str x0, [x19, #16]
mov x0, x22
bl _cpu_to_le32
str x0, [x19, #8]
ldr x8, [x21, #24]
cbz x8, LBB0_4
; %bb.3:
ldr x8, [x20]
ldr w0, [x8]
bl _ktime_to_timespec64
mov x21, x0
mov w0, #0
mov w1, #0
bl _ktime_set
ldr x8, [x20]
str w0, [x8]
add w8, w21, #31
cmp w21, #0
csel w8, w8, w21, lt
asr w0, w8, #5
bl _cpu_to_le32
b LBB0_5
LBB0_4:
mov x0, #0
LBB0_5:
str x0, [x19]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _IGC_TXD_CMD_DEXT,4,2 ; @IGC_TXD_CMD_DEXT
.comm _IGC_ADVTXD_DTYP_CTXT,4,2 ; @IGC_ADVTXD_DTYP_CTXT
.comm _IGC_RING_FLAG_TX_CTX_IDX,4,2 ; @IGC_RING_FLAG_TX_CTX_IDX
.no_dead_strip _igc_tx_ctxtdesc
.subsections_via_symbols
|
AnghaBench/linux/drivers/net/ethernet/intel/igc/extr_igc_main.c_igc_tx_ctxtdesc.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _key_entry_create_rrset ## -- Begin function key_entry_create_rrset
.p2align 4, 0x90
_key_entry_create_rrset: ## @key_entry_create_rrset
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r9, %r14
movq %r8, %rbx
movq %rdi, %r15
movq 8(%r8), %r12
leaq -48(%rbp), %r8
leaq -40(%rbp), %r9
callq _key_entry_setup
testl %eax, %eax
je LBB0_9
## %bb.1:
movq 16(%rbp), %rax
addq (%r12), %rax
movq -40(%rbp), %rcx
movq %rax, 40(%rcx)
xorps %xmm0, %xmm0
movups %xmm0, 24(%rcx)
movl (%rbx), %edi
callq _ntohs
movq -40(%rbp), %rcx
movl %eax, 16(%rcx)
movq %r12, %rdi
callq _packed_rrset_sizeof
movq %r15, %rdi
movq %r12, %rsi
movl %eax, %edx
callq _regional_alloc_init
movq -40(%rbp), %rcx
movq %rax, (%rcx)
movq -40(%rbp), %rax
movq (%rax), %rdi
testq %rdi, %rdi
je LBB0_9
## %bb.2:
testq %r14, %r14
je LBB0_7
## %bb.3:
movq %r15, %rdi
movq %r14, %rsi
callq _regional_strdup
movq -40(%rbp), %rcx
movq %rax, 8(%rcx)
testq %rax, %rax
je LBB0_9
## %bb.4:
movq (%rcx), %rdi
jmp LBB0_8
LBB0_9:
xorl %eax, %eax
jmp LBB0_10
LBB0_7:
movq $0, 8(%rax)
LBB0_8:
callq _packed_rrset_ptr_fixup
movq -48(%rbp), %rax
LBB0_10:
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _key_entry_create_rrset ; -- Begin function key_entry_create_rrset
.p2align 2
_key_entry_create_rrset: ; @key_entry_create_rrset
.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 x23, x6
mov x19, x5
mov x22, x4
mov x20, x0
ldr x21, [x4, #8]
add x4, sp, #8
mov x5, sp
bl _key_entry_setup
cbz w0, LBB0_5
; %bb.1:
ldr x8, [x21]
add x8, x8, x23
ldr x9, [sp]
stp xzr, x8, [x9, #32]
str xzr, [x9, #24]
ldr w0, [x22]
bl _ntohs
ldr x8, [sp]
str w0, [x8, #16]
mov x0, x21
bl _packed_rrset_sizeof
mov x2, x0
mov x0, x20
mov x1, x21
bl _regional_alloc_init
ldr x8, [sp]
str x0, [x8]
ldr x8, [sp]
ldr x0, [x8]
cbz x0, LBB0_8
; %bb.2:
cbz x19, LBB0_6
; %bb.3:
mov x0, x20
mov x1, x19
bl _regional_strdup
ldr x8, [sp]
str x0, [x8, #8]
cbz x0, LBB0_8
; %bb.4:
ldr x0, [x8]
b LBB0_7
LBB0_5:
mov x0, #0
b LBB0_8
LBB0_6:
str xzr, [x8, #8]
LBB0_7:
bl _packed_rrset_ptr_fixup
ldr x0, [sp, #8]
LBB0_8:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
AnghaBench/freebsd/contrib/unbound/validator/extr_val_kentry.c_key_entry_create_rrset.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _LZ4_compress_limitedOutput_withState ## -- Begin function LZ4_compress_limitedOutput_withState
.p2align 4, 0x90
_LZ4_compress_limitedOutput_withState: ## @LZ4_compress_limitedOutput_withState
.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, %r9d
popq %rbp
jmp _LZ4_compress_fast_extState ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _LZ4_compress_limitedOutput_withState ; -- Begin function LZ4_compress_limitedOutput_withState
.p2align 2
_LZ4_compress_limitedOutput_withState: ; @LZ4_compress_limitedOutput_withState
.cfi_startproc
; %bb.0:
mov w5, #1
b _LZ4_compress_fast_extState
.cfi_endproc
; -- End function
.subsections_via_symbols
|
AnghaBench/borg/src/borg/algorithms/lz4/lib/extr_lz4.c_LZ4_compress_limitedOutput_withState.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _vulnfunc ## -- Begin function vulnfunc
.p2align 4, 0x90
_vulnfunc: ## @vulnfunc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpl $15668, %edi ## imm = 0x3D34
jne LBB0_2
## %bb.1:
leaq L_.str(%rip), %rax
movq %rsi, %rdi
movq %rax, %rsi
callq _strcmp
testl %eax, %eax
je LBB0_3
LBB0_2:
popq %rbp
retq
LBB0_3:
callq _abort
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
leaq L_.str.1(%rip), %rdi
xorl %esi, %esi
xorl %eax, %eax
callq _open
testl %eax, %eax
js LBB1_1
## %bb.2:
leaq -20(%rbp), %rsi
movl $8, %edx
movl %eax, %edi
callq _read
movq %rax, %rcx
movl $1, %eax
cmpq $8, %rcx
jne LBB1_5
## %bb.3:
movb $0, -12(%rbp)
xorl %eax, %eax
cmpl $15668, -20(%rbp) ## imm = 0x3D34
jne LBB1_5
## %bb.4:
movl $560226626, %ecx ## imm = 0x21646142
xorl -16(%rbp), %ecx
movzbl -12(%rbp), %edx
orl %ecx, %edx
jne LBB1_5
## %bb.7:
callq _abort
LBB1_1:
movl $-1, %eax
LBB1_5:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -8(%rbp), %rcx
jne LBB1_8
## %bb.6:
addq $32, %rsp
popq %rbp
retq
LBB1_8:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Bad!"
L_.str.1: ## @.str.1
.asciz "input"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _vulnfunc ; -- Begin function vulnfunc
.p2align 2
_vulnfunc: ; @vulnfunc
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #15668
cmp w0, w8
b.ne LBB0_2
; %bb.1:
Lloh0:
adrp x8, l_.str@PAGE
Lloh1:
add x8, x8, l_.str@PAGEOFF
mov x0, x1
mov x1, x8
bl _strcmp
cbz w0, LBB0_3
LBB0_2:
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB0_3:
bl _abort
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh2:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh3:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
ldr x8, [x8]
stur x8, [x29, #-8]
Lloh5:
adrp x0, l_.str.1@PAGE
Lloh6:
add x0, x0, l_.str.1@PAGEOFF
mov w1, #0
bl _open
tbnz w0, #31, LBB1_5
; %bb.1:
add x1, sp, #12
mov w2, #8
bl _read
cmp x0, #8
b.ne LBB1_6
; %bb.2:
mov w0, #0
strb wzr, [sp, #20]
ldr w8, [sp, #12]
mov w9, #15668
cmp w8, w9
b.ne LBB1_7
; %bb.3:
ldr w8, [sp, #16]
mov w9, #24898
movk w9, #8548, lsl #16
eor w8, w8, w9
ldrb w9, [sp, #20]
orr w8, w8, w9
cbz w8, LBB1_10
; %bb.4:
mov w0, #0
b LBB1_7
LBB1_5:
mov w0, #-1
b LBB1_7
LBB1_6:
mov w0, #1
LBB1_7:
ldur x8, [x29, #-8]
Lloh7:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh8:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
ldr x9, [x9]
cmp x9, x8
b.ne LBB1_9
; %bb.8:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
LBB1_9:
bl ___stack_chk_fail
LBB1_10:
bl _abort
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Bad!"
l_.str.1: ; @.str.1
.asciz "input"
.subsections_via_symbols
|
the_stack_data/1231760.c
|
stack
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _printRepeating ## -- Begin function printRepeating
.p2align 4, 0x90
_printRepeating: ## @printRepeating
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r14d
movq %rdi, %r12
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
testl %r14d, %r14d
jle LBB0_8
## %bb.1:
movl %r14d, %eax
movq %rax, %r13
movq %r12, %rbx
xorl %r15d, %r15d
movq %rax, -48(%rbp) ## 8-byte Spill
jmp LBB0_3
.p2align 4, 0x90
LBB0_2: ## in Loop: Header=BB0_3 Depth=1
addq $4, %rbx
decq %r13
movq -48(%rbp), %rax ## 8-byte Reload
movq -56(%rbp), %r15 ## 8-byte Reload
cmpq %rax, %r15
je LBB0_8
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_5 Depth 2
leaq 1(%r15), %rcx
movq %rcx, -56(%rbp) ## 8-byte Spill
cmpq %rax, %rcx
jae LBB0_2
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movl $1, %r14d
jmp LBB0_5
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_5 Depth=2
incq %r14
cmpq %r14, %r13
je LBB0_2
LBB0_5: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movl (%r12,%r15,4), %esi
cmpl (%rbx,%r14,4), %esi
jne LBB0_7
## %bb.6: ## in Loop: Header=BB0_5 Depth=2
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _printf
jmp LBB0_7
LBB0_8:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $232, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.3(%rip), %rdi
leaq -260(%rbp), %rsi
xorl %eax, %eax
callq _scanf
cmpl $0, -260(%rbp)
jle LBB1_11
## %bb.1:
leaq -256(%rbp), %rbx
leaq L_.str.3(%rip), %r14
leaq L_.str.4(%rip), %r15
xorl %r12d, %r12d
.p2align 4, 0x90
LBB1_2: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _scanf
movl (%rbx), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _printf
incq %r12
movslq -260(%rbp), %rax
addq $4, %rbx
cmpq %rax, %r12
jl LBB1_2
## %bb.3:
movl %eax, %r15d
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
testl %r15d, %r15d
jle LBB1_12
## %bb.4:
leaq -256(%rbp), %r12
movq %r15, %rbx
xorl %r14d, %r14d
movq %r15, -272(%rbp) ## 8-byte Spill
jmp LBB1_6
.p2align 4, 0x90
LBB1_5: ## in Loop: Header=BB1_6 Depth=1
addq $4, %r12
decq %rbx
movq -272(%rbp), %r15 ## 8-byte Reload
cmpq %r15, %r14
je LBB1_12
LBB1_6: ## =>This Loop Header: Depth=1
## Child Loop BB1_8 Depth 2
movq %r14, %r13
incq %r14
cmpq %r15, %r14
jae LBB1_5
## %bb.7: ## in Loop: Header=BB1_6 Depth=1
movl $1, %r15d
jmp LBB1_8
.p2align 4, 0x90
LBB1_10: ## in Loop: Header=BB1_8 Depth=2
incq %r15
cmpq %r15, %rbx
je LBB1_5
LBB1_8: ## Parent Loop BB1_6 Depth=1
## => This Inner Loop Header: Depth=2
movl -256(%rbp,%r13,4), %esi
cmpl (%r12,%r15,4), %esi
jne LBB1_10
## %bb.9: ## in Loop: Header=BB1_8 Depth=2
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _printf
jmp LBB1_10
LBB1_11:
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
LBB1_12:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB1_14
## %bb.13:
xorl %eax, %eax
addq $232, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB1_14:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\nRepeating elements are "
L_.str.1: ## @.str.1
.asciz " %d "
L_.str.2: ## @.str.2
.asciz "specify the storing capacity of the array: "
L_.str.3: ## @.str.3
.asciz "%d"
L_.str.4: ## @.str.4
.asciz " %3d"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _printRepeating ; -- Begin function printRepeating
.p2align 2
_printRepeating: ; @printRepeating
.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
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
cmp w20, #1
b.lt LBB0_8
; %bb.1:
mov x24, #0
mov w21, w20
add x22, x19, #4
mov w23, #1
Lloh2:
adrp x20, l_.str.1@PAGE
Lloh3:
add x20, x20, l_.str.1@PAGEOFF
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x23, x23, #1
add x22, x22, #4
mov x24, x25
cmp x25, x21
b.eq LBB0_8
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_6 Depth 2
add x25, x24, #1
cmp x25, x21
b.hs LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov x26, x21
mov x27, x22
b LBB0_6
LBB0_5: ; in Loop: Header=BB0_6 Depth=2
add x27, x27, #4
sub x26, x26, #1
cmp x23, x26
b.eq LBB0_2
LBB0_6: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [x19, x24, lsl #2]
ldr w9, [x27]
cmp w8, w9
b.ne LBB0_5
; %bb.7: ; in Loop: Header=BB0_6 Depth=2
str x8, [sp]
mov x0, x20
bl _printf
b LBB0_5
LBB0_8:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #320
.cfi_def_cfa_offset 320
stp x28, x27, [sp, #224] ; 16-byte Folded Spill
stp x26, x25, [sp, #240] ; 16-byte Folded Spill
stp x24, x23, [sp, #256] ; 16-byte Folded Spill
stp x22, x21, [sp, #272] ; 16-byte Folded Spill
stp x20, x19, [sp, #288] ; 16-byte Folded Spill
stp x29, x30, [sp, #304] ; 16-byte Folded Spill
add x29, sp, #304
.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
Lloh4:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh5:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh6:
ldr x8, [x8]
stur x8, [x29, #-88]
Lloh7:
adrp x0, l_.str.2@PAGE
Lloh8:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
add x8, sp, #12
str x8, [sp]
Lloh9:
adrp x0, l_.str.3@PAGE
Lloh10:
add x0, x0, l_.str.3@PAGEOFF
bl _scanf
ldr w8, [sp, #12]
cmp w8, #1
b.lt LBB1_11
; %bb.1:
mov x21, #0
add x22, sp, #16
Lloh11:
adrp x19, l_.str.3@PAGE
Lloh12:
add x19, x19, l_.str.3@PAGEOFF
Lloh13:
adrp x20, l_.str.4@PAGE
Lloh14:
add x20, x20, l_.str.4@PAGEOFF
LBB1_2: ; =>This Inner Loop Header: Depth=1
str x22, [sp]
mov x0, x19
bl _scanf
ldr w8, [x22], #4
str x8, [sp]
mov x0, x20
bl _printf
add x21, x21, #1
ldrsw x8, [sp, #12]
cmp x21, x8
b.lt LBB1_2
; %bb.3:
and x20, x8, #0xffffffff
Lloh15:
adrp x0, l_.str@PAGE
Lloh16:
add x0, x0, l_.str@PAGEOFF
bl _printf
cmp w20, #1
b.lt LBB1_12
; %bb.4:
mov x24, #0
add x21, sp, #16
add x22, x21, #4
mov w23, #1
Lloh17:
adrp x19, l_.str.1@PAGE
Lloh18:
add x19, x19, l_.str.1@PAGEOFF
b LBB1_6
LBB1_5: ; in Loop: Header=BB1_6 Depth=1
add x23, x23, #1
add x22, x22, #4
mov x24, x25
cmp x25, x20
b.eq LBB1_12
LBB1_6: ; =>This Loop Header: Depth=1
; Child Loop BB1_9 Depth 2
add x25, x24, #1
cmp x25, x20
b.hs LBB1_5
; %bb.7: ; in Loop: Header=BB1_6 Depth=1
mov x26, x20
mov x27, x22
b LBB1_9
LBB1_8: ; in Loop: Header=BB1_9 Depth=2
add x27, x27, #4
sub x26, x26, #1
cmp x23, x26
b.eq LBB1_5
LBB1_9: ; Parent Loop BB1_6 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [x21, x24, lsl #2]
ldr w9, [x27]
cmp w8, w9
b.ne LBB1_8
; %bb.10: ; in Loop: Header=BB1_9 Depth=2
str x8, [sp]
mov x0, x19
bl _printf
b LBB1_8
LBB1_11:
Lloh19:
adrp x0, l_.str@PAGE
Lloh20:
add x0, x0, l_.str@PAGEOFF
bl _printf
LBB1_12:
ldur x8, [x29, #-88]
Lloh21:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh22:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
ldr x9, [x9]
cmp x9, x8
b.ne LBB1_14
; %bb.13:
mov w0, #0
ldp x29, x30, [sp, #304] ; 16-byte Folded Reload
ldp x20, x19, [sp, #288] ; 16-byte Folded Reload
ldp x22, x21, [sp, #272] ; 16-byte Folded Reload
ldp x24, x23, [sp, #256] ; 16-byte Folded Reload
ldp x26, x25, [sp, #240] ; 16-byte Folded Reload
ldp x28, x27, [sp, #224] ; 16-byte Folded Reload
add sp, sp, #320
ret
LBB1_14:
bl ___stack_chk_fail
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\nRepeating elements are "
l_.str.1: ; @.str.1
.asciz " %d "
l_.str.2: ; @.str.2
.asciz "specify the storing capacity of the array: "
l_.str.3: ; @.str.3
.asciz "%d"
l_.str.4: ; @.str.4
.asciz " %3d"
.subsections_via_symbols
|
the_stack_data/8627.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
leaq L_.str(%rip), %rdi
movl $8, %esi
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
movl $13, %esi
xorl %eax, %eax
popq %rbp
jmp _printf ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "struct unpacked_struct size = %lu\n"
L_.str.1: ## @.str.1
.asciz "struct packed_struct size = %lu\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #8
str x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w8, #13
str x8, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "struct unpacked_struct size = %lu\n"
l_.str.1: ; @.str.1
.asciz "struct packed_struct size = %lu\n"
.subsections_via_symbols
|
the_stack_data/225142626.c
|
stack
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function em_sti_enable
_em_sti_enable: ## @em_sti_enable
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
movl 8(%rdi), %edi
callq _clk_enable
movl %eax, %r14d
testl %eax, %eax
je LBB0_2
## %bb.1:
movq (%rbx), %rdi
leaq L_.str(%rip), %rsi
callq _dev_err
jmp LBB0_3
LBB0_2:
movq _STI_SET_H@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
movl $1073741824, %edx ## imm = 0x40000000
callq _em_sti_write
movq _STI_SET_L@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
xorl %edx, %edx
callq _em_sti_write
movq _STI_INTENCLR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
movl $3, %edx
callq _em_sti_write
movq _STI_INTFFCLR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
movl $3, %edx
callq _em_sti_write
movq _STI_CONTROL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
movl $1, %edx
callq _em_sti_write
LBB0_3:
movl %r14d, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "cannot enable clock\n"
.comm _STI_SET_H,4,2 ## @STI_SET_H
.comm _STI_SET_L,4,2 ## @STI_SET_L
.comm _STI_INTENCLR,4,2 ## @STI_INTENCLR
.comm _STI_INTFFCLR,4,2 ## @STI_INTFFCLR
.comm _STI_CONTROL,4,2 ## @STI_CONTROL
.no_dead_strip _em_sti_enable
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function em_sti_enable
_em_sti_enable: ; @em_sti_enable
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x20, x0
ldr w0, [x0, #8]
bl _clk_enable
mov x19, x0
cbz w0, LBB0_2
; %bb.1:
ldr x0, [x20]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _dev_err
b LBB0_3
LBB0_2:
Lloh2:
adrp x8, _STI_SET_H@GOTPAGE
Lloh3:
ldr x8, [x8, _STI_SET_H@GOTPAGEOFF]
Lloh4:
ldr w1, [x8]
mov x0, x20
mov w2, #1073741824
bl _em_sti_write
Lloh5:
adrp x8, _STI_SET_L@GOTPAGE
Lloh6:
ldr x8, [x8, _STI_SET_L@GOTPAGEOFF]
Lloh7:
ldr w1, [x8]
mov x0, x20
mov w2, #0
bl _em_sti_write
Lloh8:
adrp x8, _STI_INTENCLR@GOTPAGE
Lloh9:
ldr x8, [x8, _STI_INTENCLR@GOTPAGEOFF]
Lloh10:
ldr w1, [x8]
mov x0, x20
mov w2, #3
bl _em_sti_write
Lloh11:
adrp x8, _STI_INTFFCLR@GOTPAGE
Lloh12:
ldr x8, [x8, _STI_INTFFCLR@GOTPAGEOFF]
Lloh13:
ldr w1, [x8]
mov x0, x20
mov w2, #3
bl _em_sti_write
Lloh14:
adrp x8, _STI_CONTROL@GOTPAGE
Lloh15:
ldr x8, [x8, _STI_CONTROL@GOTPAGEOFF]
Lloh16:
ldr w1, [x8]
mov x0, x20
mov w2, #1
bl _em_sti_write
LBB0_3:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "cannot enable clock\n"
.comm _STI_SET_H,4,2 ; @STI_SET_H
.comm _STI_SET_L,4,2 ; @STI_SET_L
.comm _STI_INTENCLR,4,2 ; @STI_INTENCLR
.comm _STI_INTFFCLR,4,2 ; @STI_INTFFCLR
.comm _STI_CONTROL,4,2 ; @STI_CONTROL
.no_dead_strip _em_sti_enable
.subsections_via_symbols
|
AnghaBench/linux/drivers/clocksource/extr_em_sti.c_em_sti_enable.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), %rbx
movq %rbx, %rdi
xorl %esi, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $1, %esi
xorl %eax, %eax
callq _printf
movl $10, %edi
callq _putchar
movq %rbx, %rdi
movl $2, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $3, %esi
xorl %eax, %eax
callq _printf
movl $10, %edi
callq _putchar
movq %rbx, %rdi
movl $4, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $5, %esi
xorl %eax, %eax
callq _printf
movl $10, %edi
callq _putchar
movl $10, %edi
callq _putchar
movq %rbx, %rdi
movl $6, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $7, %esi
xorl %eax, %eax
callq _printf
movl $10, %edi
callq _putchar
movq %rbx, %rdi
movl $8, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $9, %esi
xorl %eax, %eax
callq _printf
movl $10, %edi
callq _putchar
movq %rbx, %rdi
movl $10, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $11, %esi
xorl %eax, %eax
callq _printf
movl $10, %edi
callq _putchar
movl $10, %edi
callq _putchar
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%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, #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
str xzr, [sp]
Lloh0:
adrp x19, l_.str@PAGE
Lloh1:
add x19, x19, l_.str@PAGEOFF
mov x0, x19
bl _printf
mov w8, #1
str x8, [sp]
mov x0, x19
bl _printf
mov w20, #10
mov w0, #10
bl _putchar
mov w8, #2
str x8, [sp]
mov x0, x19
bl _printf
mov w8, #3
str x8, [sp]
mov x0, x19
bl _printf
mov w0, #10
bl _putchar
mov w8, #4
str x8, [sp]
mov x0, x19
bl _printf
mov w8, #5
str x8, [sp]
mov x0, x19
bl _printf
mov w0, #10
bl _putchar
mov w0, #10
bl _putchar
mov w8, #6
str x8, [sp]
mov x0, x19
bl _printf
mov w8, #7
str x8, [sp]
mov x0, x19
bl _printf
mov w0, #10
bl _putchar
mov w8, #8
str x8, [sp]
mov x0, x19
bl _printf
mov w8, #9
str x8, [sp]
mov x0, x19
bl _printf
mov w0, #10
bl _putchar
str x20, [sp]
mov x0, x19
bl _printf
mov w8, #11
str x8, [sp]
mov x0, x19
bl _printf
mov w0, #10
bl _putchar
mov w0, #10
bl _putchar
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d "
.subsections_via_symbols
|
the_stack_data/66398.c
|
stack
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function bd_realstrategy
_bd_realstrategy: ## @bd_realstrategy
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $104, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r9, %rbx
movq %r8, -112(%rbp) ## 8-byte Spill
movq %rcx, %r13
movq %rdx, %r15
movl %esi, -116(%rbp) ## 4-byte Spill
movq %rdi, -72(%rbp) ## 8-byte Spill
leaq 8(%rdi), %r12
movq %r12, %rdi
callq _bd_get_bdinfo
testq %rax, %rax
je LBB0_6
## %bb.1:
movq %rax, %r14
movl (%rax), %eax
movq _BD_NO_MEDIA@GOTPCREL(%rip), %rcx
notl %eax
testl %eax, (%rcx)
je LBB0_6
## %bb.2:
movq %rbx, -104(%rbp) ## 8-byte Spill
movq _BIOSDISK_SECSIZE@GOTPCREL(%rip), %rbx
movq (%rbx), %rcx
movq %r13, %rsi
testq %r13, %r13
je LBB0_5
## %bb.3:
movq %rsi, %rax
orq %rcx, %rax
shrq $32, %rax
je LBB0_8
## %bb.4:
movq %rsi, %rax
xorl %edx, %edx
divq %rcx
testq %rdx, %rdx
je LBB0_9
LBB0_5:
leaq L_.str(%rip), %rdi
movq %rcx, %rdx
callq _printf
LBB0_6:
movq _EIO@GOTPCREL(%rip), %rax
movl (%rax), %ebx
LBB0_7:
movl %ebx, %eax
addq $104, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_8:
movl %esi, %eax
xorl %edx, %edx
divl %ecx
## kill: def $edx killed $edx def $rdx
testq %rdx, %rdx
jne LBB0_5
LBB0_9:
leaq L_.str.1(%rip), %rdi
movq -72(%rbp), %rsi ## 8-byte Reload
xorl %eax, %eax
callq _DPRINTF
imulq (%rbx), %r15
movq 8(%r14), %rcx
movq %r15, %rax
orq %rcx, %rax
shrq $32, %rax
je LBB0_11
## %bb.10:
movq %r15, %rax
xorl %edx, %edx
divq %rcx
jmp LBB0_12
LBB0_11:
movl %r15d, %eax
xorl %edx, %edx
divl %ecx
## kill: def $edx killed $edx def $rdx
## kill: def $eax killed $eax def $rax
LBB0_12:
movq %r13, %rsi
movq -104(%rbp), %r8 ## 8-byte Reload
movq _INT_MAX@GOTPCREL(%rip), %rbx
cmpq %r13, (%rbx)
jae LBB0_14
## %bb.13:
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _DPRINTF
jmp LBB0_6
LBB0_14:
movq %rsi, %rbx
orq %rcx, %rbx
shrq $32, %rbx
movq %rdx, -80(%rbp) ## 8-byte Spill
movq %rax, %rbx
je LBB0_16
## %bb.15:
movq %rsi, %rax
xorl %edx, %edx
divq %rcx
movq %rax, %rdi
jmp LBB0_17
LBB0_16:
movl %esi, %eax
xorl %edx, %edx
divl %ecx
## kill: def $edx killed $edx def $rdx
movl %eax, %edi
LBB0_17:
leaq 1(%rdi), %rax
testq %rdx, %rdx
cmovneq %rax, %rdi
cmpq %rsi, %rcx
cmovaq %rax, %rdi
movq %rdi, %rdx
addq %rbx, %rdx
jb LBB0_6
## %bb.18:
testq %r8, %r8
je LBB0_20
## %bb.19:
movq $0, (%r8)
LBB0_20:
movq $0, -88(%rbp)
movq (%r12), %rax
movq (%rax), %rax
movq _DEVT_DISK@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_23
## %bb.21:
movq %rdx, -48(%rbp) ## 8-byte Spill
movq %rdi, -56(%rbp) ## 8-byte Spill
movq _DIOCGMEDIASIZE@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -88(%rbp), %rdx
movq -72(%rbp), %r12 ## 8-byte Reload
movq %r12, %rdi
callq _disk_ioctl
testq %rax, %rax
je LBB0_24
## %bb.22:
movq -88(%rbp), %rax
movq %r13, %rsi
movq -56(%rbp), %rdi ## 8-byte Reload
movq -48(%rbp), %rdx ## 8-byte Reload
jmp LBB0_28
LBB0_23:
xorl %ecx, %ecx
jmp LBB0_29
LBB0_24:
movq 8(%r14), %rcx
movq -88(%rbp), %rax
movq %rax, %rdx
orq %rcx, %rdx
shrq $32, %rdx
je LBB0_26
## %bb.25:
xorl %edx, %edx
divq %rcx
jmp LBB0_27
LBB0_26:
## kill: def $eax killed $eax killed $rax
xorl %edx, %edx
divl %ecx
## kill: def $eax killed $eax def $rax
LBB0_27:
movq %r13, %rsi
movq -56(%rbp), %rdi ## 8-byte Reload
movq -48(%rbp), %rdx ## 8-byte Reload
movq %rax, -88(%rbp)
LBB0_28:
movq (%r12), %rcx
testq %rax, %rax
jne LBB0_30
LBB0_29:
movq 16(%r14), %rax
subq %rcx, %rax
movq %rax, -88(%rbp)
LBB0_30:
cmpq %rcx, %rbx
jb LBB0_6
## %bb.31:
addq %rcx, %rax
movq %rax, %r12
subq %rbx, %r12
jbe LBB0_6
## %bb.32:
cmpq %rax, %rdx
jb LBB0_34
## %bb.33:
movq 8(%r14), %r13
imulq %r12, %r13
leaq L_.str.3(%rip), %rdi
movq %r12, %rsi
xorl %eax, %eax
callq _DPRINTF
movq %r13, %rsi
movq %r12, %rdi
LBB0_34:
movq %rdi, -56(%rbp) ## 8-byte Spill
movq _BIO_BUFFER_SIZE@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq %rsi, -128(%rbp) ## 8-byte Spill
callq _min
movq %rax, %r12
movq 8(%r14), %rax
cmpq %r12, %rax
jae LBB0_37
LBB0_35: ## =>This Inner Loop Header: Depth=1
movq %r12, %rdi
callq _bio_alloc
testq %rax, %rax
jne LBB0_40
## %bb.36: ## in Loop: Header=BB0_35 Depth=1
movq 8(%r14), %rax
subq %rax, %r12
cmpq %rax, %r12
ja LBB0_35
LBB0_37:
movq _V86_IO_BUFFER_SIZE@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq %rcx, -96(%rbp) ## 8-byte Spill
cmpq %rcx, %rax
jbe LBB0_39
## %bb.38:
leaq L_.str.4(%rip), %rdi
callq _panic
LBB0_39:
movq _V86_IO_BUFFER@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _PTOV
movq %rax, -64(%rbp) ## 8-byte Spill
jmp LBB0_41
LBB0_40:
movq %rax, -64(%rbp) ## 8-byte Spill
movq %r12, -96(%rbp) ## 8-byte Spill
LBB0_41:
movq -56(%rbp), %rdi ## 8-byte Reload
testq %rdi, %rdi
movq -128(%rbp), %rdx ## 8-byte Reload
movq -104(%rbp), %rcx ## 8-byte Reload
movq -96(%rbp), %rax ## 8-byte Reload
je LBB0_57
## %bb.42:
movq %rdx, %r13
jmp LBB0_47
LBB0_43: ## in Loop: Header=BB0_47 Depth=1
leaq L_.str.6(%rip), %rdi
movl %r15d, %esi
movq %rbx, %rdx
movq -112(%rbp), %rcx ## 8-byte Reload
xorl %eax, %eax
callq _DPRINTF
movq 8(%r14), %r12
movq -80(%rbp), %rax ## 8-byte Reload
testq %rax, %rax
je LBB0_54
## %bb.44: ## in Loop: Header=BB0_47 Depth=1
subq %rax, %r12
movq %r12, %rdi
movq %r13, %rsi
movq %rax, %r15
callq _min
movq %rax, %r12
movq _BD_RD@GOTPCREL(%rip), %rax
movl (%rax), %r9d
movl $1, %eax
movq %rax, -48(%rbp) ## 8-byte Spill
movq -72(%rbp), %rdi ## 8-byte Reload
movq %r14, %rsi
movq %rbx, %rdx
movl $1, %ecx
movq -64(%rbp), %r13 ## 8-byte Reload
movq %r13, %r8
callq _bd_io
LBB0_45: ## in Loop: Header=BB0_47 Depth=1
addq %r13, %r15
movq %r15, %rdi
movq -112(%rbp), %rsi ## 8-byte Reload
movq %r12, %rdx
callq _memmove
movq _BD_WR@GOTPCREL(%rip), %rax
movl (%rax), %r9d
movq -72(%rbp), %rdi ## 8-byte Reload
movq %r14, %rsi
movq %rbx, %rdx
movq -48(%rbp), %rcx ## 8-byte Reload
## kill: def $ecx killed $ecx killed $rcx
movq %r13, %r8
callq _bd_io
testl %eax, %eax
movq -136(%rbp), %r13 ## 8-byte Reload
jne LBB0_59
LBB0_46: ## in Loop: Header=BB0_47 Depth=1
addq %r12, -112(%rbp) ## 8-byte Folded Spill
subq %r12, %r13
movslq -48(%rbp), %rax ## 4-byte Folded Reload
addq %rax, %rbx
movl $0, %ecx
movq %rcx, -80(%rbp) ## 8-byte Spill
movq -56(%rbp), %rdi ## 8-byte Reload
subq %rax, %rdi
movq -128(%rbp), %rdx ## 8-byte Reload
movq -104(%rbp), %rcx ## 8-byte Reload
movq -96(%rbp), %rax ## 8-byte Reload
je LBB0_57
LBB0_47: ## =>This Inner Loop Header: Depth=1
movq 8(%r14), %rcx
movq %rax, %rdx
orq %rcx, %rdx
shrq $32, %rdx
je LBB0_49
## %bb.48: ## in Loop: Header=BB0_47 Depth=1
xorl %edx, %edx
divq %rcx
jmp LBB0_50
LBB0_49: ## in Loop: Header=BB0_47 Depth=1
## kill: def $eax killed $eax killed $rax
xorl %edx, %edx
divl %ecx
## kill: def $eax killed $eax def $rax
LBB0_50: ## in Loop: Header=BB0_47 Depth=1
movq %rdi, -56(%rbp) ## 8-byte Spill
movq %rax, %rsi
callq _min
movq %rax, %r15
movq _F_MASK@GOTPCREL(%rip), %rax
movl (%rax), %eax
andl -116(%rbp), %eax ## 4-byte Folded Reload
cmpl $128, %eax
movq %r13, -136(%rbp) ## 8-byte Spill
je LBB0_43
## %bb.51: ## in Loop: Header=BB0_47 Depth=1
cmpl $129, %eax
jne LBB0_60
## %bb.52: ## in Loop: Header=BB0_47 Depth=1
leaq L_.str.5(%rip), %rdi
movl %r15d, %esi
movq %rbx, %rdx
movq -112(%rbp), %r13 ## 8-byte Reload
movq %r13, %rcx
xorl %eax, %eax
callq _DPRINTF
movq 8(%r14), %r12
movq _BD_RD@GOTPCREL(%rip), %rax
movl (%rax), %r9d
movq -72(%rbp), %rdi ## 8-byte Reload
movq %r14, %rsi
movq %rbx, -144(%rbp) ## 8-byte Spill
movq %rbx, %rdx
movq %r15, -48(%rbp) ## 8-byte Spill
movl %r15d, %ecx
movq %r13, %rbx
movq -64(%rbp), %r15 ## 8-byte Reload
movq %r15, %r8
callq _bd_io
testl %eax, %eax
jne LBB0_59
## %bb.53: ## in Loop: Header=BB0_47 Depth=1
movslq -48(%rbp), %rax ## 4-byte Folded Reload
imulq %rax, %r12
movq -80(%rbp), %rsi ## 8-byte Reload
subq %rsi, %r12
movq -136(%rbp), %r13 ## 8-byte Reload
cmpq %r12, %r13
cmovbq %r13, %r12
addq %r15, %rsi
movq %rbx, %rdi
movq %r12, %rdx
callq _memmove
movq -144(%rbp), %rbx ## 8-byte Reload
jmp LBB0_46
LBB0_54: ## in Loop: Header=BB0_47 Depth=1
cmpq %r12, %r13
jae LBB0_56
## %bb.55: ## in Loop: Header=BB0_47 Depth=1
movq %r13, %r15
movq _BD_RD@GOTPCREL(%rip), %rax
movl (%rax), %r9d
movl $1, %eax
movq %rax, -48(%rbp) ## 8-byte Spill
movq -72(%rbp), %rdi ## 8-byte Reload
movq %r14, %rsi
movq %rbx, %rdx
movl $1, %ecx
movq -64(%rbp), %r13 ## 8-byte Reload
movq %r13, %r8
callq _bd_io
movq %r15, %r12
movq -80(%rbp), %r15 ## 8-byte Reload
jmp LBB0_45
LBB0_56: ## in Loop: Header=BB0_47 Depth=1
movq %r15, %rax
movq %r15, -48(%rbp) ## 8-byte Spill
cltq
imulq %rax, %r12
movq -80(%rbp), %r15 ## 8-byte Reload
movq -64(%rbp), %r13 ## 8-byte Reload
jmp LBB0_45
LBB0_57:
xorl %ebx, %ebx
testq %rcx, %rcx
je LBB0_62
## %bb.58:
movq %rdx, (%rcx)
jmp LBB0_62
LBB0_59:
movq _EIO@GOTPCREL(%rip), %rax
jmp LBB0_61
LBB0_60:
movq _EROFS@GOTPCREL(%rip), %rax
LBB0_61:
movl (%rax), %ebx
LBB0_62:
movq _V86_IO_BUFFER@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _PTOV
movq -64(%rbp), %rdi ## 8-byte Reload
cmpq %rax, %rdi
je LBB0_7
## %bb.63:
movq -96(%rbp), %rsi ## 8-byte Reload
callq _bio_free
jmp LBB0_7
.cfi_endproc
## -- End function
.comm _BD_NO_MEDIA,4,2 ## @BD_NO_MEDIA
.comm _EIO,4,2 ## @EIO
.comm _BIOSDISK_SECSIZE,8,3 ## @BIOSDISK_SECSIZE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "bd_strategy: %d bytes I/O not multiple of %d\n"
L_.str.1: ## @.str.1
.asciz "open_disk %p"
.comm _INT_MAX,8,3 ## @INT_MAX
L_.str.2: ## @.str.2
.asciz "too large I/O: %zu bytes"
.comm _DEVT_DISK,8,3 ## @DEVT_DISK
.comm _DIOCGMEDIASIZE,4,2 ## @DIOCGMEDIASIZE
L_.str.3: ## @.str.3
.asciz "short I/O %d"
.comm _BIO_BUFFER_SIZE,8,3 ## @BIO_BUFFER_SIZE
.comm _V86_IO_BUFFER_SIZE,8,3 ## @V86_IO_BUFFER_SIZE
L_.str.4: ## @.str.4
.asciz "BUG: Real mode buffer is too small"
.comm _V86_IO_BUFFER,4,2 ## @V86_IO_BUFFER
.comm _F_MASK,4,2 ## @F_MASK
L_.str.5: ## @.str.5
.asciz "read %d from %lld to %p"
.comm _BD_RD,4,2 ## @BD_RD
L_.str.6: ## @.str.6
.asciz "write %d from %lld to %p"
.comm _BD_WR,4,2 ## @BD_WR
.comm _EROFS,4,2 ## @EROFS
.no_dead_strip _bd_realstrategy
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function bd_realstrategy
_bd_realstrategy: ; @bd_realstrategy
.cfi_startproc
; %bb.0:
sub sp, sp, #176
.cfi_def_cfa_offset 176
stp x28, x27, [sp, #80] ; 16-byte Folded Spill
stp x26, x25, [sp, #96] ; 16-byte Folded Spill
stp x24, x23, [sp, #112] ; 16-byte Folded Spill
stp x22, x21, [sp, #128] ; 16-byte Folded Spill
stp x20, x19, [sp, #144] ; 16-byte Folded Spill
stp x29, x30, [sp, #160] ; 16-byte Folded Spill
add x29, sp, #160
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x20, x5
mov x21, x4
mov x19, x3
mov x26, x2
mov x22, x1
mov x23, x0
add x25, x0, #8
mov x0, x25
bl _bd_get_bdinfo
cbz x0, LBB0_5
; %bb.1:
mov x24, x0
ldr w8, [x0]
Lloh0:
adrp x9, _BD_NO_MEDIA@GOTPAGE
Lloh1:
ldr x9, [x9, _BD_NO_MEDIA@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
bics wzr, w9, w8
b.eq LBB0_5
; %bb.2:
Lloh3:
adrp x27, _BIOSDISK_SECSIZE@GOTPAGE
Lloh4:
ldr x27, [x27, _BIOSDISK_SECSIZE@GOTPAGEOFF]
ldr x2, [x27]
cbz x19, LBB0_4
; %bb.3:
udiv x8, x19, x2
msub x8, x8, x2, x19
cbz x8, LBB0_7
LBB0_4:
Lloh5:
adrp x0, l_.str@PAGE
Lloh6:
add x0, x0, l_.str@PAGEOFF
mov x1, x19
bl _printf
LBB0_5:
Lloh7:
adrp x8, _EIO@GOTPAGE
Lloh8:
ldr x8, [x8, _EIO@GOTPAGEOFF]
Lloh9:
ldr w21, [x8]
LBB0_6:
mov x0, x21
ldp x29, x30, [sp, #160] ; 16-byte Folded Reload
ldp x20, x19, [sp, #144] ; 16-byte Folded Reload
ldp x22, x21, [sp, #128] ; 16-byte Folded Reload
ldp x24, x23, [sp, #112] ; 16-byte Folded Reload
ldp x26, x25, [sp, #96] ; 16-byte Folded Reload
ldp x28, x27, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #176
ret
LBB0_7:
str x23, [sp]
Lloh10:
adrp x0, l_.str.1@PAGE
Lloh11:
add x0, x0, l_.str.1@PAGEOFF
bl _DPRINTF
Lloh12:
adrp x8, _INT_MAX@GOTPAGE
Lloh13:
ldr x8, [x8, _INT_MAX@GOTPAGEOFF]
Lloh14:
ldr x8, [x8]
cmp x8, x19
b.hs LBB0_9
; %bb.8:
str x19, [sp]
Lloh15:
adrp x0, l_.str.2@PAGE
Lloh16:
add x0, x0, l_.str.2@PAGEOFF
bl _DPRINTF
b LBB0_5
LBB0_9:
ldr x8, [x27]
mul x26, x8, x26
ldr x28, [x24, #8]
udiv x11, x26, x28
udiv x9, x19, x28
cmp x28, x19
b.hi LBB0_11
; %bb.10:
msub x8, x9, x28, x19
cbz x8, LBB0_12
LBB0_11:
add x9, x9, #1
LBB0_12:
adds x27, x9, x11
b.hs LBB0_5
; %bb.13:
str x9, [sp, #56] ; 8-byte Folded Spill
cbz x20, LBB0_15
; %bb.14:
str xzr, [x20]
LBB0_15:
mov x8, #0
str xzr, [sp, #72]
ldr x9, [x25]
ldr x9, [x9]
Lloh17:
adrp x10, _DEVT_DISK@GOTPAGE
Lloh18:
ldr x10, [x10, _DEVT_DISK@GOTPAGEOFF]
Lloh19:
ldr x10, [x10]
cmp x9, x10
b.ne LBB0_20
; %bb.16:
mov x25, x11
Lloh20:
adrp x8, _DIOCGMEDIASIZE@GOTPAGE
Lloh21:
ldr x8, [x8, _DIOCGMEDIASIZE@GOTPAGEOFF]
Lloh22:
ldr w1, [x8]
add x2, sp, #72
mov x0, x23
bl _disk_ioctl
cbz x0, LBB0_18
; %bb.17:
ldr x9, [sp, #72]
b LBB0_19
LBB0_18:
ldr x8, [x24, #8]
ldr x9, [sp, #72]
udiv x9, x9, x8
str x9, [sp, #72]
LBB0_19:
ldr x8, [x23]
mov x11, x25
cbnz x9, LBB0_21
LBB0_20:
ldr x9, [x24, #16]
sub x9, x9, x8
str x9, [sp, #72]
LBB0_21:
cmp x11, x8
b.lo LBB0_5
; %bb.22:
add x8, x9, x8
subs x25, x8, x11
b.ls LBB0_5
; %bb.23:
str x11, [sp, #64] ; 8-byte Folded Spill
cmp x27, x8
b.lo LBB0_25
; %bb.24:
ldr x8, [x24, #8]
mul x19, x8, x25
str x25, [sp]
Lloh23:
adrp x0, l_.str.3@PAGE
Lloh24:
add x0, x0, l_.str.3@PAGEOFF
bl _DPRINTF
str x25, [sp, #56] ; 8-byte Folded Spill
LBB0_25:
Lloh25:
adrp x8, _BIO_BUFFER_SIZE@GOTPAGE
Lloh26:
ldr x8, [x8, _BIO_BUFFER_SIZE@GOTPAGEOFF]
Lloh27:
ldr x0, [x8]
mov x1, x19
bl _min
ldr x8, [x24, #8]
Lloh28:
adrp x27, _V86_IO_BUFFER@GOTPAGE
Lloh29:
ldr x27, [x27, _V86_IO_BUFFER@GOTPAGEOFF]
cmp x8, x0
b.hs LBB0_29
; %bb.26:
mov x25, x0
LBB0_27: ; =>This Inner Loop Header: Depth=1
mov x0, x25
bl _bio_alloc
cbnz x0, LBB0_32
; %bb.28: ; in Loop: Header=BB0_27 Depth=1
ldr x8, [x24, #8]
sub x25, x25, x8
cmp x25, x8
b.hi LBB0_27
LBB0_29:
Lloh30:
adrp x9, _V86_IO_BUFFER_SIZE@GOTPAGE
Lloh31:
ldr x9, [x9, _V86_IO_BUFFER_SIZE@GOTPAGEOFF]
Lloh32:
ldr x25, [x9]
cmp x8, x25
b.ls LBB0_31
; %bb.30:
Lloh33:
adrp x0, l_.str.4@PAGE
Lloh34:
add x0, x0, l_.str.4@PAGEOFF
bl _panic
LBB0_31:
ldr w0, [x27]
bl _PTOV
LBB0_32:
str x0, [sp, #40] ; 8-byte Folded Spill
ldp x0, x27, [sp, #56] ; 16-byte Folded Reload
cbz x0, LBB0_46
; %bb.33:
msub x9, x27, x28, x26
mov x26, x19
str x25, [sp, #32] ; 8-byte Folded Spill
b LBB0_37
LBB0_34: ; in Loop: Header=BB0_37 Depth=1
sxtw x9, w25
mul x28, x8, x9
ldr x27, [sp, #64] ; 8-byte Folded Reload
ldr x26, [sp, #40] ; 8-byte Folded Reload
LBB0_35: ; in Loop: Header=BB0_37 Depth=1
add x0, x26, x10
mov x1, x21
mov x2, x28
bl _memmove
Lloh35:
adrp x8, _BD_WR@GOTPAGE
Lloh36:
ldr x8, [x8, _BD_WR@GOTPAGEOFF]
Lloh37:
ldr w5, [x8]
mov x0, x23
mov x1, x24
mov x2, x27
mov x3, x25
mov x4, x26
bl _bd_io
ldr x26, [sp, #24] ; 8-byte Folded Reload
cbnz w0, LBB0_48
LBB0_36: ; in Loop: Header=BB0_37 Depth=1
mov x9, #0
add x21, x21, x28
sub x26, x26, x28
; kill: def $w25 killed $w25 killed $x25 def $x25
sxtw x8, w25
add x27, x27, x8
ldr x0, [sp, #56] ; 8-byte Folded Reload
subs x0, x0, x8
ldr x25, [sp, #32] ; 8-byte Folded Reload
b.eq LBB0_46
LBB0_37: ; =>This Inner Loop Header: Depth=1
stp x9, x0, [sp, #48] ; 16-byte Folded Spill
str x27, [sp, #64] ; 8-byte Folded Spill
ldr x8, [x24, #8]
udiv x1, x25, x8
bl _min
mov x25, x0
Lloh38:
adrp x8, _F_MASK@GOTPAGE
Lloh39:
ldr x8, [x8, _F_MASK@GOTPAGEOFF]
Lloh40:
ldr w8, [x8]
and w8, w8, w22
cmp w8, #128
b.eq LBB0_41
; %bb.38: ; in Loop: Header=BB0_37 Depth=1
cmp w8, #129
ldr x27, [sp, #64] ; 8-byte Folded Reload
b.ne LBB0_49
; %bb.39: ; in Loop: Header=BB0_37 Depth=1
stp x27, x21, [sp, #8]
mov x8, x25
str x8, [sp]
Lloh41:
adrp x0, l_.str.5@PAGE
Lloh42:
add x0, x0, l_.str.5@PAGEOFF
bl _DPRINTF
ldr x28, [x24, #8]
Lloh43:
adrp x8, _BD_RD@GOTPAGE
Lloh44:
ldr x8, [x8, _BD_RD@GOTPAGEOFF]
Lloh45:
ldr w5, [x8]
mov x0, x23
mov x1, x24
mov x2, x27
mov x3, x25
ldr x27, [sp, #40] ; 8-byte Folded Reload
mov x4, x27
bl _bd_io
cbnz w0, LBB0_54
; %bb.40: ; in Loop: Header=BB0_37 Depth=1
sxtw x8, w25
ldr x10, [sp, #48] ; 8-byte Folded Reload
neg x9, x10
madd x8, x28, x8, x9
cmp x26, x8
csel x28, x26, x8, lo
add x1, x27, x10
mov x0, x21
mov x2, x28
bl _memmove
ldr x27, [sp, #64] ; 8-byte Folded Reload
b LBB0_36
LBB0_41: ; in Loop: Header=BB0_37 Depth=1
mov x8, x25
ldr x27, [sp, #64] ; 8-byte Folded Reload
stp x27, x21, [sp, #8]
str x8, [sp]
Lloh46:
adrp x0, l_.str.6@PAGE
Lloh47:
add x0, x0, l_.str.6@PAGEOFF
bl _DPRINTF
ldr x8, [x24, #8]
ldr x10, [sp, #48] ; 8-byte Folded Reload
str x26, [sp, #24] ; 8-byte Folded Spill
cbz x10, LBB0_43
; %bb.42: ; in Loop: Header=BB0_37 Depth=1
sub x0, x8, x10
mov x1, x26
bl _min
mov x28, x0
Lloh48:
adrp x8, _BD_RD@GOTPAGE
Lloh49:
ldr x8, [x8, _BD_RD@GOTPAGEOFF]
Lloh50:
ldr w5, [x8]
mov w25, #1
mov x0, x23
mov x1, x24
b LBB0_45
LBB0_43: ; in Loop: Header=BB0_37 Depth=1
cmp x26, x8
b.hs LBB0_34
; %bb.44: ; in Loop: Header=BB0_37 Depth=1
mov x28, x26
Lloh51:
adrp x8, _BD_RD@GOTPAGE
Lloh52:
ldr x8, [x8, _BD_RD@GOTPAGEOFF]
Lloh53:
ldr w5, [x8]
mov w25, #1
mov x0, x23
mov x1, x24
ldr x27, [sp, #64] ; 8-byte Folded Reload
LBB0_45: ; in Loop: Header=BB0_37 Depth=1
mov x2, x27
mov w3, #1
ldr x4, [sp, #40] ; 8-byte Folded Reload
mov x26, x4
bl _bd_io
ldr x10, [sp, #48] ; 8-byte Folded Reload
b LBB0_35
LBB0_46:
mov w21, #0
cbz x20, LBB0_51
; %bb.47:
str x19, [x20]
b LBB0_51
LBB0_48:
Lloh54:
adrp x8, _EIO@GOTPAGE
Lloh55:
ldr x8, [x8, _EIO@GOTPAGEOFF]
b LBB0_50
LBB0_49:
Lloh56:
adrp x8, _EROFS@GOTPAGE
Lloh57:
ldr x8, [x8, _EROFS@GOTPAGEOFF]
LBB0_50:
ldr w21, [x8]
ldr x25, [sp, #32] ; 8-byte Folded Reload
LBB0_51:
Lloh58:
adrp x8, _V86_IO_BUFFER@GOTPAGE
Lloh59:
ldr x8, [x8, _V86_IO_BUFFER@GOTPAGEOFF]
ldr x27, [sp, #40] ; 8-byte Folded Reload
LBB0_52:
ldr w0, [x8]
bl _PTOV
cmp x27, x0
b.eq LBB0_6
; %bb.53:
mov x0, x27
mov x1, x25
bl _bio_free
b LBB0_6
LBB0_54:
Lloh60:
adrp x8, _EIO@GOTPAGE
Lloh61:
ldr x8, [x8, _EIO@GOTPAGEOFF]
Lloh62:
ldr w21, [x8]
ldr x25, [sp, #32] ; 8-byte Folded Reload
Lloh63:
adrp x8, _V86_IO_BUFFER@GOTPAGE
Lloh64:
ldr x8, [x8, _V86_IO_BUFFER@GOTPAGEOFF]
b LBB0_52
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpLdrGot Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpAdd Lloh33, Lloh34
.loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37
.loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40
.loh AdrpLdrGotLdr Lloh43, Lloh44, Lloh45
.loh AdrpAdd Lloh41, Lloh42
.loh AdrpAdd Lloh46, Lloh47
.loh AdrpLdrGotLdr Lloh48, Lloh49, Lloh50
.loh AdrpLdrGotLdr Lloh51, Lloh52, Lloh53
.loh AdrpLdrGot Lloh54, Lloh55
.loh AdrpLdrGot Lloh56, Lloh57
.loh AdrpLdrGot Lloh58, Lloh59
.loh AdrpLdrGot Lloh63, Lloh64
.loh AdrpLdrGotLdr Lloh60, Lloh61, Lloh62
.cfi_endproc
; -- End function
.comm _BD_NO_MEDIA,4,2 ; @BD_NO_MEDIA
.comm _EIO,4,2 ; @EIO
.comm _BIOSDISK_SECSIZE,8,3 ; @BIOSDISK_SECSIZE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "bd_strategy: %d bytes I/O not multiple of %d\n"
l_.str.1: ; @.str.1
.asciz "open_disk %p"
.comm _INT_MAX,8,3 ; @INT_MAX
l_.str.2: ; @.str.2
.asciz "too large I/O: %zu bytes"
.comm _DEVT_DISK,8,3 ; @DEVT_DISK
.comm _DIOCGMEDIASIZE,4,2 ; @DIOCGMEDIASIZE
l_.str.3: ; @.str.3
.asciz "short I/O %d"
.comm _BIO_BUFFER_SIZE,8,3 ; @BIO_BUFFER_SIZE
.comm _V86_IO_BUFFER_SIZE,8,3 ; @V86_IO_BUFFER_SIZE
l_.str.4: ; @.str.4
.asciz "BUG: Real mode buffer is too small"
.comm _V86_IO_BUFFER,4,2 ; @V86_IO_BUFFER
.comm _F_MASK,4,2 ; @F_MASK
l_.str.5: ; @.str.5
.asciz "read %d from %lld to %p"
.comm _BD_RD,4,2 ; @BD_RD
l_.str.6: ; @.str.6
.asciz "write %d from %lld to %p"
.comm _BD_WR,4,2 ; @BD_WR
.comm _EROFS,4,2 ; @EROFS
.no_dead_strip _bd_realstrategy
.subsections_via_symbols
|
AnghaBench/freebsd/stand/i386/libi386/extr_biosdisk.c_bd_realstrategy.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _remap_pfn_range ## -- Begin function remap_pfn_range
.p2align 4, 0x90
_remap_pfn_range: ## @remap_pfn_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 %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, %r12
movq %rdx, %r14
movq %rsi, %r13
movq %rdi, %r15
movl %r8d, -44(%rbp)
movq %rcx, %rdi
callq _PAGE_ALIGN
movq %rax, %rbx
addq %r13, %rbx
movq 32(%r15), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
cmpq %r13, (%r15)
jne LBB0_3
## %bb.1:
cmpq 8(%r15), %rbx
jne LBB0_3
## %bb.2:
movq %r14, 16(%r15)
movq _VM_PFN_AT_MMAP@GOTPCREL(%rip), %rcx
movl 24(%r15), %eax
orl (%rcx), %eax
jmp LBB0_5
LBB0_3:
movl 24(%r15), %edi
callq _is_cow_mapping
testq %rax, %rax
jne LBB0_7
## %bb.4:
movl 24(%r15), %eax
LBB0_5:
movq _VM_IO@GOTPCREL(%rip), %rdx
movq _VM_RESERVED@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl (%rdx), %ecx
movq _VM_PFNMAP@GOTPCREL(%rip), %rdx
orl (%rdx), %ecx
orl %eax, %ecx
movl %ecx, 24(%r15)
movq %r12, %rdi
callq _PAGE_ALIGN
leaq -44(%rbp), %rsi
movq %r15, %rdi
movq %r14, %rdx
movq %rax, %rcx
callq _track_pfn_vma_new
testl %eax, %eax
je LBB0_8
## %bb.6:
movq _VM_RESERVED@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _VM_IO@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
movq _VM_PFNMAP@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
movq _VM_PFN_AT_MMAP@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
notl %eax
andl %eax, 24(%r15)
LBB0_7:
movq _EINVAL@GOTPCREL(%rip), %rax
xorl %r12d, %r12d
subl (%rax), %r12d
LBB0_14:
movl %r12d, %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_8:
movq %r12, -72(%rbp) ## 8-byte Spill
xorl %edi, %edi
cmpq %r13, %rbx
setbe %dil
callq _BUG_ON
movq _PAGE_SHIFT@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq %r13, %rax
shrq %cl, %rax
subq %rax, %r14
movq %r14, -56(%rbp) ## 8-byte Spill
movq -64(%rbp), %rdi ## 8-byte Reload
movq %r13, %rsi
callq _pgd_offset
movq %rax, %r14
movq %r15, -80(%rbp) ## 8-byte Spill
movq %r15, %rdi
movq %r13, %rsi
movq %rbx, %rdx
callq _flush_cache_range
.p2align 4, 0x90
LBB0_9: ## =>This Inner Loop Header: Depth=1
movq %r13, %rdi
movq %rbx, %rsi
callq _pgd_addr_end
movq _PAGE_SHIFT@GOTPCREL(%rip), %rcx
movzbl (%rcx), %ecx
movq %r13, %r8
shrq %cl, %r8
movq %rax, %r15
addq -56(%rbp), %r8 ## 8-byte Folded Reload
movl -44(%rbp), %r9d
movq -64(%rbp), %rdi ## 8-byte Reload
movq %r14, %rsi
movq %r13, %rdx
movq %rax, %rcx
callq _remap_pud_range
movl %eax, %r12d
testl %eax, %eax
jne LBB0_11
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
addq $4, %r14
movq %r15, %r13
cmpq %rbx, %r15
jne LBB0_9
LBB0_11:
testl %r12d, %r12d
je LBB0_12
## %bb.13:
movq -72(%rbp), %rdi ## 8-byte Reload
callq _PAGE_ALIGN
movq -80(%rbp), %rdi ## 8-byte Reload
movq -56(%rbp), %rsi ## 8-byte Reload
movq %rax, %rdx
callq _untrack_pfn_vma
jmp LBB0_14
LBB0_12:
xorl %r12d, %r12d
jmp LBB0_14
.cfi_endproc
## -- End function
.comm _VM_PFN_AT_MMAP,4,2 ## @VM_PFN_AT_MMAP
.comm _EINVAL,4,2 ## @EINVAL
.comm _VM_IO,4,2 ## @VM_IO
.comm _VM_RESERVED,4,2 ## @VM_RESERVED
.comm _VM_PFNMAP,4,2 ## @VM_PFNMAP
.comm _PAGE_SHIFT,8,3 ## @PAGE_SHIFT
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _remap_pfn_range ; -- Begin function remap_pfn_range
.p2align 2
_remap_pfn_range: ; @remap_pfn_range
.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, x3
mov x24, x2
mov x23, x1
mov x19, x0
str w4, [sp, #12]
mov x0, x3
bl _PAGE_ALIGN
add x21, x0, x23
ldr x22, [x19, #32]
ldr x8, [x19]
cmp x8, x23
b.ne LBB0_3
; %bb.1:
ldr x8, [x19, #8]
cmp x21, x8
b.ne LBB0_3
; %bb.2:
str x24, [x19, #16]
Lloh0:
adrp x8, _VM_PFN_AT_MMAP@GOTPAGE
Lloh1:
ldr x8, [x8, _VM_PFN_AT_MMAP@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
ldr w9, [x19, #24]
orr w8, w9, w8
b LBB0_5
LBB0_3:
ldr w0, [x19, #24]
bl _is_cow_mapping
cbnz x0, LBB0_7
; %bb.4:
ldr w8, [x19, #24]
LBB0_5:
Lloh3:
adrp x25, _VM_IO@GOTPAGE
Lloh4:
ldr x25, [x25, _VM_IO@GOTPAGEOFF]
ldr w9, [x25]
Lloh5:
adrp x26, _VM_RESERVED@GOTPAGE
Lloh6:
ldr x26, [x26, _VM_RESERVED@GOTPAGEOFF]
ldr w10, [x26]
orr w9, w10, w9
Lloh7:
adrp x27, _VM_PFNMAP@GOTPAGE
Lloh8:
ldr x27, [x27, _VM_PFNMAP@GOTPAGEOFF]
ldr w10, [x27]
orr w9, w9, w10
orr w8, w9, w8
str w8, [x19, #24]
mov x0, x20
bl _PAGE_ALIGN
mov x3, x0
add x1, sp, #12
mov x0, x19
mov x2, x24
bl _track_pfn_vma_new
cbz w0, LBB0_9
; %bb.6:
ldr w8, [x25]
ldr w9, [x26]
orr w8, w9, w8
ldr w9, [x27]
orr w8, w8, w9
ldr w9, [x19, #24]
Lloh9:
adrp x10, _VM_PFN_AT_MMAP@GOTPAGE
Lloh10:
ldr x10, [x10, _VM_PFN_AT_MMAP@GOTPAGEOFF]
Lloh11:
ldr w10, [x10]
orr w8, w8, w10
bic w8, w9, w8
str w8, [x19, #24]
LBB0_7:
Lloh12:
adrp x8, _EINVAL@GOTPAGE
Lloh13:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh14:
ldr w8, [x8]
neg w26, w8
LBB0_8:
mov x0, x26
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
LBB0_9:
cmp x21, x23
cset w0, ls
bl _BUG_ON
Lloh15:
adrp x28, _PAGE_SHIFT@GOTPAGE
Lloh16:
ldr x28, [x28, _PAGE_SHIFT@GOTPAGEOFF]
ldr x8, [x28]
lsr x8, x23, x8
sub x24, x24, x8
mov x0, x22
mov x1, x23
bl _pgd_offset
mov x25, x0
mov x0, x19
mov x1, x23
mov x2, x21
bl _flush_cache_range
LBB0_10: ; =>This Inner Loop Header: Depth=1
mov x0, x23
mov x1, x21
bl _pgd_addr_end
mov x27, x0
ldr x8, [x28]
lsr x8, x23, x8
add x4, x8, x24
ldr w5, [sp, #12]
mov x0, x22
mov x1, x25
mov x2, x23
mov x3, x27
bl _remap_pud_range
add x25, x25, #4
cmp w0, #0
ccmp x27, x21, #4, eq
mov x23, x27
b.ne LBB0_10
; %bb.11:
mov x26, x0
cbz w0, LBB0_8
; %bb.12:
mov x0, x20
bl _PAGE_ALIGN
mov x2, x0
mov x0, x19
mov x1, x24
bl _untrack_pfn_vma
b LBB0_8
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGot Lloh15, Lloh16
.cfi_endproc
; -- End function
.comm _VM_PFN_AT_MMAP,4,2 ; @VM_PFN_AT_MMAP
.comm _EINVAL,4,2 ; @EINVAL
.comm _VM_IO,4,2 ; @VM_IO
.comm _VM_RESERVED,4,2 ; @VM_RESERVED
.comm _VM_PFNMAP,4,2 ; @VM_PFNMAP
.comm _PAGE_SHIFT,8,3 ; @PAGE_SHIFT
.subsections_via_symbols
|
AnghaBench/fastsocket/kernel/mm/extr_memory.c_remap_pfn_range.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function qib_6120_ib_updown
_qib_6120_ib_updown: ## @qib_6120_ib_updown
.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
leaq 8(%rdi), %rbx
movq %rbx, %rdi
callq _spin_lock_irqsave
movq _QIBL_IB_FORCE_NOTIFY@GOTPCREL(%rip), %rax
movl (%rax), %eax
notl %eax
andl %eax, 12(%r15)
movq %rbx, %rdi
callq _spin_unlock_irqrestore
movq (%r15), %rdi
movq (%rdi), %rax
testl %r14d, %r14d
je LBB0_4
## %bb.1:
cmpl $0, (%rax)
je LBB0_3
## %bb.2:
movl $0, (%rax)
movq _cr_ibsymbolerr@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _read_6120_creg32
movq (%r15), %rdi
movq (%rdi), %rcx
subl 8(%rcx), %eax
addl %eax, 36(%rcx)
movq _cr_iblinkerrrecov@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _read_6120_creg32
movq (%r15), %rcx
movq (%rcx), %rcx
subl 16(%rcx), %eax
addl %eax, 32(%rcx)
LBB0_3:
movq %r15, %rdi
callq _qib_hol_init
jmp LBB0_7
LBB0_4:
movq $0, 24(%rax)
cmpl $0, (%rax)
jne LBB0_6
## %bb.5:
movl $1, (%rax)
movq _cr_ibsymbolerr@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _read_6120_creg32
movq (%r15), %rdi
movq (%rdi), %rcx
movq %rax, 8(%rcx)
movq _cr_iblinkerrrecov@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _read_6120_creg32
movq (%r15), %rcx
movq (%rcx), %rcx
movq %rax, 16(%rcx)
LBB0_6:
movq %r15, %rdi
callq _qib_hol_down
LBB0_7:
movq %r15, %rdi
movl %r14d, %esi
callq _qib_6120_setup_setextled
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _QIBL_IB_FORCE_NOTIFY,4,2 ## @QIBL_IB_FORCE_NOTIFY
.comm _cr_ibsymbolerr,4,2 ## @cr_ibsymbolerr
.comm _cr_iblinkerrrecov,4,2 ## @cr_iblinkerrrecov
.no_dead_strip _qib_6120_ib_updown
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function qib_6120_ib_updown
_qib_6120_ib_updown: ; @qib_6120_ib_updown
.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
add x21, x0, #8
mov x0, x21
bl _spin_lock_irqsave
Lloh0:
adrp x8, _QIBL_IB_FORCE_NOTIFY@GOTPAGE
Lloh1:
ldr x8, [x8, _QIBL_IB_FORCE_NOTIFY@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
ldr w9, [x20, #12]
bic w8, w9, w8
str w8, [x20, #12]
mov x0, x21
bl _spin_unlock_irqrestore
ldr x0, [x20]
ldr x8, [x0]
cbz w19, LBB0_4
; %bb.1:
ldr w9, [x8]
cbz w9, LBB0_3
; %bb.2:
str wzr, [x8]
Lloh3:
adrp x8, _cr_ibsymbolerr@GOTPAGE
Lloh4:
ldr x8, [x8, _cr_ibsymbolerr@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
bl _read_6120_creg32
ldr x8, [x20]
ldr x9, [x8]
ldr w10, [x9, #8]
ldr w11, [x9, #36]
sub w10, w0, w10
add w10, w11, w10
str w10, [x9, #36]
Lloh6:
adrp x9, _cr_iblinkerrrecov@GOTPAGE
Lloh7:
ldr x9, [x9, _cr_iblinkerrrecov@GOTPAGEOFF]
Lloh8:
ldr w1, [x9]
mov x0, x8
bl _read_6120_creg32
ldr x8, [x20]
ldr x8, [x8]
ldr w9, [x8, #16]
ldr w10, [x8, #32]
sub w9, w0, w9
add w9, w10, w9
str w9, [x8, #32]
LBB0_3:
mov x0, x20
bl _qib_hol_init
b LBB0_7
LBB0_4:
str xzr, [x8, #24]
ldr w9, [x8]
cbnz w9, LBB0_6
; %bb.5:
mov w9, #1
str w9, [x8]
Lloh9:
adrp x8, _cr_ibsymbolerr@GOTPAGE
Lloh10:
ldr x8, [x8, _cr_ibsymbolerr@GOTPAGEOFF]
Lloh11:
ldr w1, [x8]
bl _read_6120_creg32
ldr x8, [x20]
ldr x9, [x8]
str x0, [x9, #8]
Lloh12:
adrp x9, _cr_iblinkerrrecov@GOTPAGE
Lloh13:
ldr x9, [x9, _cr_iblinkerrrecov@GOTPAGEOFF]
Lloh14:
ldr w1, [x9]
mov x0, x8
bl _read_6120_creg32
ldr x8, [x20]
ldr x8, [x8]
str x0, [x8, #16]
LBB0_6:
mov x0, x20
bl _qib_hol_down
LBB0_7:
mov x0, x20
mov x1, x19
bl _qib_6120_setup_setextled
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.cfi_endproc
; -- End function
.comm _QIBL_IB_FORCE_NOTIFY,4,2 ; @QIBL_IB_FORCE_NOTIFY
.comm _cr_ibsymbolerr,4,2 ; @cr_ibsymbolerr
.comm _cr_iblinkerrrecov,4,2 ; @cr_iblinkerrrecov
.no_dead_strip _qib_6120_ib_updown
.subsections_via_symbols
|
AnghaBench/fastsocket/kernel/drivers/infiniband/hw/qib/extr_qib_iba6120.c_qib_6120_ib_updown.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function pp_cxx_function_specifier
_pp_cxx_function_specifier: ## @pp_cxx_function_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 %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl %esi, %ebx
movq %rdi, %r14
movl %esi, %edi
callq _TREE_CODE
cmpl $128, %eax
jne LBB0_8
## %bb.1:
movl %ebx, %edi
callq _DECL_VIRTUAL_P
testl %eax, %eax
je LBB0_4
## %bb.2:
leaq L_.str(%rip), %rsi
jmp LBB0_3
LBB0_8:
popq %rbx
popq %r14
popq %rbp
retq
LBB0_4:
movl %ebx, %edi
callq _DECL_CONSTRUCTOR_P
testl %eax, %eax
je LBB0_7
## %bb.5:
movl %ebx, %edi
callq _DECL_NONCONVERTING_P
testl %eax, %eax
je LBB0_7
## %bb.6:
leaq L_.str.1(%rip), %rsi
LBB0_3:
movq %r14, %rdi
popq %rbx
popq %r14
popq %rbp
jmp _pp_cxx_identifier ## TAILCALL
LBB0_7:
movq %r14, %rdi
callq _pp_c_base
movl %eax, %edi
movl %ebx, %esi
popq %rbx
popq %r14
popq %rbp
jmp _pp_c_function_specifier ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "virtual"
L_.str.1: ## @.str.1
.asciz "explicit"
.no_dead_strip _pp_cxx_function_specifier
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function pp_cxx_function_specifier
_pp_cxx_function_specifier: ; @pp_cxx_function_specifier
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov x20, x0
mov x0, x1
bl _TREE_CODE
cmp w0, #128
b.ne LBB0_3
; %bb.1:
mov x0, x19
bl _DECL_VIRTUAL_P
cbz w0, LBB0_4
; %bb.2:
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
b LBB0_7
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_4:
mov x0, x19
bl _DECL_CONSTRUCTOR_P
cbz w0, LBB0_8
; %bb.5:
mov x0, x19
bl _DECL_NONCONVERTING_P
cbz w0, LBB0_8
; %bb.6:
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
LBB0_7:
mov x0, x20
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _pp_cxx_identifier
LBB0_8:
mov x0, x20
bl _pp_c_base
mov x1, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _pp_c_function_specifier
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "virtual"
l_.str.1: ; @.str.1
.asciz "explicit"
.no_dead_strip _pp_cxx_function_specifier
.subsections_via_symbols
|
AnghaBench/freebsd/contrib/gcc/cp/extr_cxx-pretty-print.c_pp_cxx_function_specifier.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ipc_task_reset ## -- Begin function ipc_task_reset
.p2align 4, 0x90
_ipc_task_reset: ## @ipc_task_reset
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _EXC_TYPES_COUNT@GOTPCREL(%rip), %r14
movl (%r14), %eax
shlq $3, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r15
xorl %eax, %eax
callq _ipc_port_alloc_kernel
movq %rax, %r12
movq _IP_NULL@GOTPCREL(%rip), %rax
cmpq (%rax), %r12
jne LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
callq _panic
LBB0_2:
movq %rbx, %rdi
callq _itk_lock
movq (%rbx), %r13
movq _IP_NULL@GOTPCREL(%rip), %rax
cmpq (%rax), %r13
jne LBB0_4
## %bb.3:
movq %rbx, %rdi
callq _itk_unlock
jmp LBB0_20
LBB0_4:
movq %r12, (%rbx)
movq 8(%rbx), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
movq %r12, %rdi
callq _ipc_port_make_send
movq %rax, 8(%rbx)
movq %r13, %rdi
callq _ip_lock
movq _IKO_NULL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _IKOT_NONE@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r13, %rdi
callq _ipc_kobject_set_atomically
incl 16(%rbx)
movq %r13, -64(%rbp) ## 8-byte Spill
movq %r13, %rdi
callq _ip_unlock
movq _IKOT_TASK@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r12, %rdi
movl %ebx, %esi
callq _ipc_kobject_set
movq _IP_NULL@GOTPCREL(%rip), %rdx
movq _FIRST_EXCEPTION@GOTPCREL(%rip), %rax
movslq (%rax), %r12
cmpl (%r14), %r12d
jge LBB0_11
## %bb.5:
leaq (,%r12,8), %r13
movq _EXC_CORPSE_NOTIFY@GOTPCREL(%rip), %r14
jmp LBB0_6
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_6 Depth=1
movq 32(%rbx), %rax
cmpl $0, 8(%rax,%r13,2)
je LBB0_9
LBB0_10: ## in Loop: Header=BB0_6 Depth=1
incq %r12
movq _EXC_TYPES_COUNT@GOTPCREL(%rip), %rax
movslq (%rax), %rax
addq $8, %r13
cmpq %rax, %r12
jge LBB0_11
LBB0_6: ## =>This Inner Loop Header: Depth=1
movq (%rdx), %rax
movq %rax, (%r15,%r13)
cmpl (%r14), %r12d
jne LBB0_8
## %bb.7: ## in Loop: Header=BB0_6 Depth=1
movq %rbx, %rdi
callq _task_corpse_pending_report
movq _IP_NULL@GOTPCREL(%rip), %rdx
testq %rax, %rax
jne LBB0_10
jmp LBB0_8
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_6 Depth=1
movq (%rax,%r13,2), %rcx
movq %rcx, (%r15,%r13)
movq (%rdx), %rcx
movq %rcx, (%rax,%r13,2)
jmp LBB0_10
LBB0_11:
movq 24(%rbx), %rdi
callq _IP_VALID
testq %rax, %rax
je LBB0_13
## %bb.12:
movq 24(%rbx), %rdi
callq _ipc_port_release_send
LBB0_13:
movq _IP_NULL@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, 24(%rbx)
movq %rbx, %rdi
callq _itk_unlock
movq -56(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rdi
callq _IP_VALID
testq %rax, %rax
movq _EXC_TYPES_COUNT@GOTPCREL(%rip), %r12
je LBB0_15
## %bb.14:
movq %rbx, %rdi
callq _ipc_port_release_send
LBB0_15:
movq _FIRST_EXCEPTION@GOTPCREL(%rip), %rax
movslq (%rax), %rbx
cmpl (%r12), %ebx
movq -64(%rbp), %r13 ## 8-byte Reload
jl LBB0_16
LBB0_19:
movq %r13, %r12
LBB0_20:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_21
## %bb.22:
movq %r12, %rdi
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _ipc_port_dealloc_kernel ## TAILCALL
.p2align 4, 0x90
LBB0_18: ## in Loop: Header=BB0_16 Depth=1
incq %rbx
movslq (%r12), %rax
cmpq %rax, %rbx
jge LBB0_19
LBB0_16: ## =>This Inner Loop Header: Depth=1
movq (%r15,%rbx,8), %r14
movq %r14, %rdi
callq _IP_VALID
testq %rax, %rax
je LBB0_18
## %bb.17: ## in Loop: Header=BB0_16 Depth=1
movq %r14, %rdi
callq _ipc_port_release_send
jmp LBB0_18
LBB0_21:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _EXC_TYPES_COUNT,4,2 ## @EXC_TYPES_COUNT
.comm _IP_NULL,8,3 ## @IP_NULL
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "ipc_task_reset"
.comm _IKO_NULL,4,2 ## @IKO_NULL
.comm _IKOT_NONE,4,2 ## @IKOT_NONE
.comm _IKOT_TASK,4,2 ## @IKOT_TASK
.comm _FIRST_EXCEPTION,4,2 ## @FIRST_EXCEPTION
.comm _EXC_CORPSE_NOTIFY,4,2 ## @EXC_CORPSE_NOTIFY
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ipc_task_reset ; -- Begin function ipc_task_reset
.p2align 2
_ipc_task_reset: ; @ipc_task_reset
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
sub sp, sp, #16
mov x20, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-88]
Lloh3:
adrp x23, _EXC_TYPES_COUNT@GOTPAGE
Lloh4:
ldr x23, [x23, _EXC_TYPES_COUNT@GOTPAGEOFF]
ldr w8, [x23]
lsl x8, x8, #3
mov x9, x8
Lloh5:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh6:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0xffffffff0
sub x24, x9, x8
mov sp, x24
bl _ipc_port_alloc_kernel
mov x22, x0
Lloh7:
adrp x25, _IP_NULL@GOTPAGE
Lloh8:
ldr x25, [x25, _IP_NULL@GOTPAGEOFF]
ldr x8, [x25]
cmp x0, x8
b.ne LBB0_2
; %bb.1:
Lloh9:
adrp x0, l_.str@PAGE
Lloh10:
add x0, x0, l_.str@PAGEOFF
bl _panic
LBB0_2:
mov x0, x20
bl _itk_lock
ldr x19, [x20]
ldr x8, [x25]
cmp x19, x8
b.ne LBB0_4
; %bb.3:
mov x0, x20
bl _itk_unlock
b LBB0_17
LBB0_4:
str x22, [x20]
ldr x21, [x20, #8]
mov x0, x22
bl _ipc_port_make_send
str x0, [x20, #8]
mov x0, x19
bl _ip_lock
Lloh11:
adrp x8, _IKO_NULL@GOTPAGE
Lloh12:
ldr x8, [x8, _IKO_NULL@GOTPAGEOFF]
Lloh13:
ldr w1, [x8]
Lloh14:
adrp x8, _IKOT_NONE@GOTPAGE
Lloh15:
ldr x8, [x8, _IKOT_NONE@GOTPAGEOFF]
Lloh16:
ldr w2, [x8]
mov x0, x19
bl _ipc_kobject_set_atomically
ldr w8, [x20, #16]
add w8, w8, #1
str w8, [x20, #16]
mov x0, x19
bl _ip_unlock
Lloh17:
adrp x8, _IKOT_TASK@GOTPAGE
Lloh18:
ldr x8, [x8, _IKOT_TASK@GOTPAGEOFF]
Lloh19:
ldr w2, [x8]
mov x0, x22
mov x1, x20
bl _ipc_kobject_set
Lloh20:
adrp x22, _FIRST_EXCEPTION@GOTPAGE
Lloh21:
ldr x22, [x22, _FIRST_EXCEPTION@GOTPAGEOFF]
ldrsw x26, [x22]
ldr w8, [x23]
cmp w26, w8
b.ge LBB0_11
; %bb.5:
lsl x27, x26, #4
Lloh22:
adrp x28, _EXC_CORPSE_NOTIFY@GOTPAGE
Lloh23:
ldr x28, [x28, _EXC_CORPSE_NOTIFY@GOTPAGEOFF]
b LBB0_8
LBB0_6: ; in Loop: Header=BB0_8 Depth=1
ldr x8, [x20, #32]
add x9, x8, x27
ldr w9, [x9, #8]
cbz w9, LBB0_10
LBB0_7: ; in Loop: Header=BB0_8 Depth=1
add x26, x26, #1
ldrsw x8, [x23]
add x27, x27, #16
cmp x26, x8
b.ge LBB0_11
LBB0_8: ; =>This Inner Loop Header: Depth=1
ldr x8, [x25]
str x8, [x24, x26, lsl #3]
ldr w8, [x28]
cmp w26, w8
b.ne LBB0_6
; %bb.9: ; in Loop: Header=BB0_8 Depth=1
mov x0, x20
bl _task_corpse_pending_report
cbnz x0, LBB0_7
b LBB0_6
LBB0_10: ; in Loop: Header=BB0_8 Depth=1
ldr x9, [x8, x27]
str x9, [x24, x26, lsl #3]
ldr x9, [x25]
str x9, [x8, x27]
b LBB0_7
LBB0_11:
ldr x0, [x20, #24]
bl _IP_VALID
cbz x0, LBB0_13
; %bb.12:
ldr x0, [x20, #24]
bl _ipc_port_release_send
LBB0_13:
ldr x8, [x25]
str x8, [x20, #24]
mov x0, x20
bl _itk_unlock
mov x0, x21
bl _IP_VALID
cbz x0, LBB0_15
; %bb.14:
mov x0, x21
bl _ipc_port_release_send
LBB0_15:
ldrsw x21, [x22]
ldr w8, [x23]
cmp w21, w8
b.lt LBB0_20
LBB0_16:
mov x22, x19
LBB0_17:
ldur x8, [x29, #-88]
Lloh24:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh25:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh26:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_22
; %bb.18:
mov x0, x22
sub sp, x29, #80
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
b _ipc_port_dealloc_kernel
LBB0_19: ; in Loop: Header=BB0_20 Depth=1
add x21, x21, #1
ldrsw x8, [x23]
cmp x21, x8
b.ge LBB0_16
LBB0_20: ; =>This Inner Loop Header: Depth=1
ldr x20, [x24, x21, lsl #3]
mov x0, x20
bl _IP_VALID
cbz x0, LBB0_19
; %bb.21: ; in Loop: Header=BB0_20 Depth=1
mov x0, x20
bl _ipc_port_release_send
b LBB0_19
LBB0_22:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGot Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGot Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.cfi_endproc
; -- End function
.comm _EXC_TYPES_COUNT,4,2 ; @EXC_TYPES_COUNT
.comm _IP_NULL,8,3 ; @IP_NULL
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "ipc_task_reset"
.comm _IKO_NULL,4,2 ; @IKO_NULL
.comm _IKOT_NONE,4,2 ; @IKOT_NONE
.comm _IKOT_TASK,4,2 ; @IKOT_TASK
.comm _FIRST_EXCEPTION,4,2 ; @FIRST_EXCEPTION
.comm _EXC_CORPSE_NOTIFY,4,2 ; @EXC_CORPSE_NOTIFY
.subsections_via_symbols
|
AnghaBench/darwin-xnu/osfmk/kern/extr_ipc_tt.c_ipc_task_reset.c
|
anghabench
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.