x86
stringlengths 122
99k
| arm
stringlengths 122
86.4k
|
---|---|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function sha2big_out
_sha2big_out: ## @sha2big_out
.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 $160, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %r15
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
movslq (%rdi), %r12
orq $127, %r12
movl 8(%rdi), %esi
leaq -176(%rbp), %rdi
movl %r12d, %edx
callq _memcpy
movl 4(%r15), %esi
leaq -184(%rbp), %rdi
movl $8, %edx
callq _memcpy
movb $-128, -176(%rbp,%r12)
movq %r12, %rax
incq %rax
je LBB0_2
## %bb.1:
leaq (%rax,%rbp), %rdi
addq $-176, %rdi
movl $127, %edx
subl %r12d, %edx
xorl %esi, %esi
callq _memset
leaq -176(%rbp), %rdi
leaq -184(%rbp), %rsi
callq _sha2big_round
LBB0_2:
leaq -176(%rbp), %r12
movq %r12, %rdi
xorl %esi, %esi
movl $112, %edx
callq _memset
leaq -64(%rbp), %rdi
callq _br_enc64be
leaq -56(%rbp), %rdi
movl (%r15), %esi
shll $3, %esi
callq _br_enc64be
leaq -184(%rbp), %r15
movq %r12, %rdi
movq %r15, %rsi
callq _sha2big_round
movq %r14, %rdi
movq %r15, %rsi
movl %ebx, %edx
callq _br_range_enc64be
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -40(%rbp), %rax
jne LBB0_4
## %bb.3:
addq $160, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_4:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.no_dead_strip _sha2big_out
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function sha2big_out
_sha2big_out: ; @sha2big_out
.cfi_startproc
; %bb.0:
sub sp, sp, #208
stp x24, x23, [sp, #144] ; 16-byte Folded Spill
stp x22, x21, [sp, #160] ; 16-byte Folded Spill
stp x20, x19, [sp, #176] ; 16-byte Folded Spill
stp x29, x30, [sp, #192] ; 16-byte Folded Spill
add x29, sp, #192
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x2
mov x20, x1
mov x21, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-56]
ldrsw x8, [x0]
orr x22, x8, #0x7f
ldr w1, [x0, #8]
add x23, sp, #8
add x0, sp, #8
mov x2, x22
bl _memcpy
ldr w1, [x21, #4]
mov x0, sp
mov w2, #8 ; =0x8
bl _memcpy
mov w8, #128 ; =0x80
strb w8, [x23, x22]
adds x8, x22, #1
b.hs LBB0_2
; %bb.1:
mov w9, #127 ; =0x7f
sub w2, w9, w22
add x0, x23, x8
mov w1, #0 ; =0x0
bl _memset
add x0, sp, #8
mov x1, sp
bl _sha2big_round
LBB0_2:
add x0, sp, #8
mov w1, #0 ; =0x0
mov w2, #112 ; =0x70
bl _memset
add x0, x23, #112
bl _br_enc64be
ldr w8, [x21]
lsl w1, w8, #3
add x0, x23, #120
bl _br_enc64be
add x0, sp, #8
mov x1, sp
bl _sha2big_round
mov x1, sp
mov x0, x20
mov x2, x19
bl _br_range_enc64be
ldur x8, [x29, #-56]
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_4
; %bb.3:
ldp x29, x30, [sp, #192] ; 16-byte Folded Reload
ldp x20, x19, [sp, #176] ; 16-byte Folded Reload
ldp x22, x21, [sp, #160] ; 16-byte Folded Reload
ldp x24, x23, [sp, #144] ; 16-byte Folded Reload
add sp, sp, #208
ret
LBB0_4:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.no_dead_strip _sha2big_out
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _C68k_Set_Fetch ## -- Begin function C68k_Set_Fetch
.p2align 4, 0x90
_C68k_Set_Fetch: ## @C68k_Set_Fetch
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %ecx, %eax
## kill: def $edx killed $edx def $rdx
movq _C68K_FETCH_SFT@GOTPCREL(%rip), %rcx
movzbl (%rcx), %ecx
sarl %cl, %esi
movq _C68K_FETCH_MASK@GOTPCREL(%rip), %r8
movl (%r8), %r8d
orl %r8d, %esi
sarl %cl, %edx
movl %esi, %r9d
shll %cl, %r9d
andl %r8d, %edx
movl %edx, %r8d
subl %esi, %r8d
jl LBB0_8
## %bb.1:
subl %r9d, %eax
movq (%rdi), %rcx
movslq %esi, %r9
cmpl $7, %r8d
jae LBB0_3
## %bb.2:
movq %r9, %rsi
jmp LBB0_6
LBB0_3:
incq %r8
movq %r8, %rdi
andq $-8, %rdi
leaq (%rdi,%r9), %rsi
movd %eax, %xmm0
pshufd $0, %xmm0, %xmm0 ## xmm0 = xmm0[0,0,0,0]
leaq (%rcx,%r9,4), %r9
addq $16, %r9
xorl %r10d, %r10d
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movdqu %xmm0, -16(%r9,%r10,4)
movdqu %xmm0, (%r9,%r10,4)
addq $8, %r10
cmpq %r10, %rdi
jne LBB0_4
## %bb.5:
cmpq %rdi, %r8
je LBB0_8
LBB0_6:
leaq (%rcx,%rsi,4), %rcx
subl %esi, %edx
incl %edx
xorl %esi, %esi
.p2align 4, 0x90
LBB0_7: ## =>This Inner Loop Header: Depth=1
movl %eax, (%rcx,%rsi,4)
incq %rsi
cmpl %esi, %edx
jne LBB0_7
LBB0_8:
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _C68K_FETCH_SFT,4,2 ## @C68K_FETCH_SFT
.comm _C68K_FETCH_MASK,4,2 ## @C68K_FETCH_MASK
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _C68k_Set_Fetch ; -- Begin function C68k_Set_Fetch
.p2align 2
_C68k_Set_Fetch: ; @C68k_Set_Fetch
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _C68K_FETCH_SFT@GOTPAGE
Lloh1:
ldr x8, [x8, _C68K_FETCH_SFT@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
Lloh3:
adrp x9, _C68K_FETCH_MASK@GOTPAGE
Lloh4:
ldr x9, [x9, _C68K_FETCH_MASK@GOTPAGEOFF]
asr w10, w1, w8
Lloh5:
ldr w9, [x9]
orr w11, w10, w9
asr w10, w2, w8
and w9, w10, w9
subs w12, w9, w11
b.lt LBB0_7
; %bb.1:
lsl w8, w11, w8
sub w8, w3, w8
ldr x10, [x0]
sxtw x14, w11
mov x11, x14
cmp w12, #15
b.lo LBB0_5
; %bb.2:
add x12, x12, #1
and x13, x12, #0x1fffffff0
add x11, x13, x14
dup.4s v0, w8
add x14, x10, x14, lsl #2
add x14, x14, #32
mov x15, x13
LBB0_3: ; =>This Inner Loop Header: Depth=1
stp q0, q0, [x14, #-32]
stp q0, q0, [x14], #64
subs x15, x15, #16
b.ne LBB0_3
; %bb.4:
cmp x12, x13
b.eq LBB0_7
LBB0_5:
add x10, x10, x11, lsl #2
sub w9, w9, w11
add w9, w9, #1
LBB0_6: ; =>This Inner Loop Header: Depth=1
str w8, [x10], #4
subs w9, w9, #1
b.ne LBB0_6
LBB0_7:
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _C68K_FETCH_SFT,4,2 ; @C68K_FETCH_SFT
.comm _C68K_FETCH_MASK,4,2 ; @C68K_FETCH_MASK
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _remove_marked_cache_entries ## -- Begin function remove_marked_cache_entries
.p2align 4, 0x90
_remove_marked_cache_entries: ## @remove_marked_cache_entries
.cfi_startproc
## %bb.0:
movl (%rdi), %ecx
testl %ecx, %ecx
je LBB0_9
## %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
movl %esi, %eax
movq %rdi, %rbx
movq 8(%rdi), %r14
movq (%r14), %rsi
movq _CE_REMOVE@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
testl %edx, (%rsi)
je LBB0_2
## %bb.3:
testl %eax, %eax
je LBB0_5
## %bb.4:
movl 4(%rsi), %esi
movq %rbx, %rdi
callq _cache_tree_invalidate_path
movq (%r14), %rax
movl 4(%rax), %esi
movq %rbx, %rdi
callq _untracked_cache_remove_from_index
movq (%r14), %rsi
LBB0_5:
movq %rbx, %rdi
callq _remove_name_hash
movq (%r14), %rsi
movq %rbx, %rdi
callq _save_or_free_index_entry
movl (%rbx), %ecx
xorl %eax, %eax
cmpl %ecx, %eax
je LBB0_8
LBB0_7:
movq _CE_ENTRY_REMOVED@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl %ecx, 4(%rbx)
movl %eax, (%rbx)
LBB0_8:
popq %rbx
popq %r14
popq %rbp
LBB0_9:
retq
LBB0_2:
movl $1, %eax
cmpl %ecx, %eax
jne LBB0_7
jmp LBB0_8
.cfi_endproc
## -- End function
.comm _CE_REMOVE,4,2 ## @CE_REMOVE
.comm _CE_ENTRY_REMOVED,4,2 ## @CE_ENTRY_REMOVED
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _remove_marked_cache_entries ; -- Begin function remove_marked_cache_entries
.p2align 2
_remove_marked_cache_entries: ; @remove_marked_cache_entries
.cfi_startproc
; %bb.0:
ldr w9, [x0]
cbz w9, LBB0_7
; %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 x8, x1
mov x19, x0
ldr x20, [x0, #8]
ldr x1, [x20]
ldr w10, [x1]
Lloh0:
adrp x11, _CE_REMOVE@GOTPAGE
Lloh1:
ldr x11, [x11, _CE_REMOVE@GOTPAGEOFF]
Lloh2:
ldr w11, [x11]
tst w11, w10
b.eq LBB0_8
; %bb.2:
cbz w8, LBB0_4
; %bb.3:
ldr w1, [x1, #4]
mov x0, x19
bl _cache_tree_invalidate_path
ldr x8, [x20]
ldr w1, [x8, #4]
mov x0, x19
bl _untracked_cache_remove_from_index
ldr x1, [x20]
LBB0_4:
mov x0, x19
bl _remove_name_hash
ldr x1, [x20]
mov x0, x19
bl _save_or_free_index_entry
mov w8, #0 ; =0x0
ldr w9, [x19]
cmp w8, w9
b.eq LBB0_6
LBB0_5:
Lloh3:
adrp x9, _CE_ENTRY_REMOVED@GOTPAGE
Lloh4:
ldr x9, [x9, _CE_ENTRY_REMOVED@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
ldr w10, [x19, #4]
orr w9, w10, w9
stp w8, w9, [x19]
LBB0_6:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
LBB0_7:
ret
LBB0_8:
mov w8, #1 ; =0x1
cmp w8, w9
b.ne LBB0_5
b LBB0_6
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _CE_REMOVE,4,2 ; @CE_REMOVE
.comm _CE_ENTRY_REMOVED,4,2 ; @CE_ENTRY_REMOVED
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function handle_stctg
_handle_stctg: ## @handle_stctg
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $88, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq (%rdi), %rax
movl (%rax), %r14d
decl 8(%rdi)
movq _PSW_MASK_PSTATE@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
testl %ecx, 16(%rax)
je LBB0_3
## %bb.1:
movq _PGM_PRIVILEGED_OP@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_13
## %bb.2:
addq $88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _kvm_s390_inject_program_int ## TAILCALL
LBB0_3:
leaq -124(%rbp), %rsi
movq %rdi, -120(%rbp) ## 8-byte Spill
callq _kvm_s390_get_base_disp_rsy
movl %eax, %r15d
testb $7, %r15b
je LBB0_5
## %bb.4:
movq _PGM_SPECIFICATION@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq -120(%rbp), %rdi ## 8-byte Reload
callq _kvm_s390_inject_program_int
jmp LBB0_11
LBB0_5:
movl %r14d, %r13d
shrl $4, %r13d
andl $15, %r13d
andl $15, %r14d
leaq L_.str(%rip), %rdx
movl $4, %r12d
movq -120(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rdi
movl $4, %esi
movl %r13d, %ecx
movl %r14d, %r8d
movl %r15d, %r9d
callq _VCPU_EVENT
movq %rbx, %rdi
movl $1, %esi
movl %r13d, %edx
movl %r14d, %ecx
movl %r15d, %r8d
callq _trace_kvm_s390_handle_stctl
movq (%rbx), %rax
movq 8(%rax), %rax
movl (%rax,%r13,4), %ecx
movl %ecx, -112(%rbp)
cmpl %r14d, %r13d
je LBB0_8
## %bb.6:
movl $4, %r12d
.p2align 4, 0x90
LBB0_7: ## =>This Inner Loop Header: Depth=1
incl %r13d
andl $15, %r13d
movl (%rax,%r13,4), %ecx
movl %ecx, -112(%rbp,%r12)
addq $4, %r12
cmpl %r14d, %r13d
jne LBB0_7
LBB0_8:
movl -124(%rbp), %edx
leaq -112(%rbp), %rcx
movq %rbx, %rdi
movl %r15d, %esi
movl %r12d, %r8d
callq _write_guest
testl %eax, %eax
je LBB0_9
## %bb.10:
movq -120(%rbp), %rdi ## 8-byte Reload
movl %eax, %esi
callq _kvm_s390_inject_prog_cond
jmp LBB0_11
LBB0_9:
xorl %eax, %eax
LBB0_11:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_13
## %bb.12:
addq $88, %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 _PSW_MASK_PSTATE,4,2 ## @PSW_MASK_PSTATE
.comm _PGM_PRIVILEGED_OP,4,2 ## @PGM_PRIVILEGED_OP
.comm _PGM_SPECIFICATION,4,2 ## @PGM_SPECIFICATION
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "STCTG r1:%d, r3:%d, addr: 0x%llx"
.no_dead_strip _handle_stctg
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function handle_stctg
_handle_stctg: ; @handle_stctg
.cfi_startproc
; %bb.0:
sub sp, sp, #144
stp x24, x23, [sp, #80] ; 16-byte Folded Spill
stp x22, x21, [sp, #96] ; 16-byte Folded Spill
stp x20, x19, [sp, #112] ; 16-byte Folded Spill
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-56]
ldr x8, [x0]
ldr w21, [x8]
ldr w9, [x0, #8]
sub w9, w9, #1
str w9, [x0, #8]
ldr w8, [x8, #16]
Lloh3:
adrp x9, _PSW_MASK_PSTATE@GOTPAGE
Lloh4:
ldr x9, [x9, _PSW_MASK_PSTATE@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_3
; %bb.1:
Lloh6:
adrp x8, _PGM_PRIVILEGED_OP@GOTPAGE
Lloh7:
ldr x8, [x8, _PGM_PRIVILEGED_OP@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
ldur x8, [x29, #-56]
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_12
; %bb.2:
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
ldp x20, x19, [sp, #112] ; 16-byte Folded Reload
ldp x22, x21, [sp, #96] ; 16-byte Folded Reload
ldp x24, x23, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #144
b _kvm_s390_inject_program_int
LBB0_3:
add x1, sp, #4
mov x19, x0
bl _kvm_s390_get_base_disp_rsy
tst w0, #0x7
b.eq LBB0_5
; %bb.4:
Lloh12:
adrp x8, _PGM_SPECIFICATION@GOTPAGE
Lloh13:
ldr x8, [x8, _PGM_SPECIFICATION@GOTPAGEOFF]
Lloh14:
ldr w1, [x8]
mov x0, x19
bl _kvm_s390_inject_program_int
b LBB0_10
LBB0_5:
mov x20, x0
ubfx x22, x21, #4, #4
and w23, w21, #0xf
Lloh15:
adrp x2, l_.str@PAGE
Lloh16:
add x2, x2, l_.str@PAGEOFF
mov w21, #4 ; =0x4
mov x24, x19
mov x0, x19
mov w1, #4 ; =0x4
mov x3, x22
mov x4, x23
mov x5, x20
bl _VCPU_EVENT
mov x0, x19
mov w1, #1 ; =0x1
mov x2, x22
mov x3, x23
mov x4, x20
bl _trace_kvm_s390_handle_stctl
ldr x8, [x19]
ldr x8, [x8, #8]
ldr w9, [x8, x22, lsl #2]
str w9, [sp, #8]
cmp w22, w23
b.eq LBB0_8
; %bb.6:
mov w21, #4 ; =0x4
add x9, sp, #8
LBB0_7: ; =>This Inner Loop Header: Depth=1
add w10, w22, #1
and w22, w10, #0xf
ldr w10, [x8, w22, uxtw #2]
str w10, [x9, x21]
add x21, x21, #4
cmp w22, w23
b.ne LBB0_7
LBB0_8:
ldr w2, [sp, #4]
add x3, sp, #8
mov x0, x24
mov x1, x20
mov x4, x21
bl _write_guest
cbz w0, LBB0_10
; %bb.9:
mov x1, x0
mov x0, x19
bl _kvm_s390_inject_prog_cond
LBB0_10:
ldur x8, [x29, #-56]
Lloh17:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh18:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_12
; %bb.11:
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
ldp x20, x19, [sp, #112] ; 16-byte Folded Reload
ldp x22, x21, [sp, #96] ; 16-byte Folded Reload
ldp x24, x23, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #144
ret
LBB0_12:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.cfi_endproc
; -- End function
.comm _PSW_MASK_PSTATE,4,2 ; @PSW_MASK_PSTATE
.comm _PGM_PRIVILEGED_OP,4,2 ; @PGM_PRIVILEGED_OP
.comm _PGM_SPECIFICATION,4,2 ; @PGM_SPECIFICATION
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "STCTG r1:%d, r3:%d, addr: 0x%llx"
.no_dead_strip _handle_stctg
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _rtstrmactohex ## -- Begin function rtstrmactohex
.p2align 4, 0x90
_rtstrmactohex: ## @rtstrmactohex
.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, %rbx
movq %rdi, %r14
callq _strlen
movq _ETH_MAC_ADDR_STR_LEN@GOTPCREL(%rip), %rcx
movq _FALSE@GOTPCREL(%rip), %r12
cmpl (%rcx), %eax
jne LBB0_9
## %bb.1:
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
cmpb $0, (%r14)
je LBB0_7
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq %r14, %rdi
movl $58, %esi
callq _strchr
movq %rax, %r15
movq %r14, %rdi
callq _strlen
cmpl $2, %eax
jne LBB0_7
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movsbl (%r14), %edi
callq _isxdigit
testl %eax, %eax
je LBB0_7
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
movsbl 1(%r14), %edi
callq _isxdigit
testl %eax, %eax
je LBB0_7
## %bb.6: ## in Loop: Header=BB0_2 Depth=1
leaq (%rbx,%r13), %rsi
incq %r13
movq %r14, %rdi
movl $1, %edx
callq _AtoH
movq %r15, %r14
cmpq $6, %r13
jne LBB0_2
jmp LBB0_8
LBB0_7:
cmpq $6, %r13
jne LBB0_9
LBB0_8:
movq _TRUE@GOTPCREL(%rip), %r12
LBB0_9:
movl (%r12), %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ETH_MAC_ADDR_STR_LEN,4,2 ## @ETH_MAC_ADDR_STR_LEN
.comm _FALSE,4,2 ## @FALSE
.comm _TRUE,4,2 ## @TRUE
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _rtstrmactohex ; -- Begin function rtstrmactohex
.p2align 2
_rtstrmactohex: ; @rtstrmactohex
.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
bl _strlen
Lloh0:
adrp x8, _ETH_MAC_ADDR_STR_LEN@GOTPAGE
Lloh1:
ldr x8, [x8, _ETH_MAC_ADDR_STR_LEN@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cmp w0, w8
b.ne LBB0_8
; %bb.1:
mov w22, #6 ; =0x6
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldrb w8, [x20]
cbz w8, LBB0_7
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
mov x0, x20
mov w1, #58 ; =0x3a
bl _strchr
mov x21, x0
mov x0, x20
bl _strlen
cmp w0, #2
b.ne LBB0_7
; %bb.4: ; in Loop: Header=BB0_2 Depth=1
ldrsb w0, [x20]
bl _isxdigit
cbz w0, LBB0_7
; %bb.5: ; in Loop: Header=BB0_2 Depth=1
ldrsb w0, [x20, #1]
bl _isxdigit
cbz w0, LBB0_7
; %bb.6: ; in Loop: Header=BB0_2 Depth=1
mov x0, x20
mov x1, x19
mov w2, #1 ; =0x1
bl _AtoH
add x19, x19, #1
mov x20, x21
subs x22, x22, #1
b.ne LBB0_2
b LBB0_9
LBB0_7:
cbz x22, LBB0_9
LBB0_8:
Lloh3:
adrp x8, _FALSE@GOTPAGE
Lloh4:
ldr x8, [x8, _FALSE@GOTPAGEOFF]
b LBB0_10
LBB0_9:
Lloh5:
adrp x8, _TRUE@GOTPAGE
Lloh6:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_10:
ldr w0, [x8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGot Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _ETH_MAC_ADDR_STR_LEN,4,2 ; @ETH_MAC_ADDR_STR_LEN
.comm _FALSE,4,2 ; @FALSE
.comm _TRUE,4,2 ; @TRUE
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _isp_print_bytes ## -- Begin function isp_print_bytes
.p2align 4, 0x90
_isp_print_bytes: ## @isp_print_bytes
.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 $184, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, -208(%rbp) ## 8-byte Spill
movl %edx, -180(%rbp) ## 4-byte Spill
movq %rdi, %rbx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
testq %rsi, %rsi
je LBB0_2
## %bb.1:
movq %rsi, %rcx
movq _ISP_LOGALL@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rdx
movq %rbx, %rdi
xorl %eax, %eax
callq _isp_prt
LBB0_2:
movb $0, -176(%rbp)
cmpl $0, -180(%rbp) ## 4-byte Folded Reload
jle LBB0_8
## %bb.3:
movl $1, %eax
subl -180(%rbp), %eax ## 4-byte Folded Reload
movq %rax, -192(%rbp) ## 8-byte Spill
leaq L_.str.1(%rip), %r12
leaq -176(%rbp), %r13
xorl %r15d, %r15d
movq %rbx, -200(%rbp) ## 8-byte Spill
jmp LBB0_4
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_4 Depth=1
movq _ISP_LOGALL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq -200(%rbp), %rdi ## 8-byte Reload
leaq L_.str.2(%rip), %rdx
movq -216(%rbp), %r14 ## 8-byte Reload
movl %r14d, %ecx
movq %r13, %r8
xorl %eax, %eax
callq _isp_prt
movb $0, -176(%rbp)
addl %r14d, %r15d
cmpl -180(%rbp), %r15d ## 4-byte Folded Reload
jge LBB0_8
LBB0_4: ## =>This Loop Header: Depth=1
## Child Loop BB0_5 Depth 2
movl %r15d, %edx
movslq %r15d, %rax
movq -208(%rbp), %rcx ## 8-byte Reload
leaq (%rcx,%rax,4), %rbx
movq -192(%rbp), %rax ## 8-byte Reload
movq %rdx, -216(%rbp) ## 8-byte Spill
leaq (%rax,%rdx), %r14
xorl %r15d, %r15d
.p2align 4, 0x90
LBB0_5: ## Parent Loop BB0_4 Depth=1
## => This Inner Loop Header: Depth=2
movl (%rbx,%r15,4), %r8d
movl $255, %eax
orl %eax, %r8d
movq %r13, %rdi
movl $128, %esi
movq %r12, %rdx
movq %r13, %rcx
callq _ISP_SNPRINTF
movl %r15d, %eax
incq %r15
movl %r14d, %ecx
addl %eax, %ecx
je LBB0_7
## %bb.6: ## in Loop: Header=BB0_5 Depth=2
cmpl $15, %eax
jb LBB0_5
jmp LBB0_7
LBB0_8:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_10
## %bb.9:
addq $184, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_10:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _ISP_LOGALL,4,2 ## @ISP_LOGALL
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s:"
L_.str.1: ## @.str.1
.asciz "%s %02x"
L_.str.2: ## @.str.2
.asciz "0x%08x:%s"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _isp_print_bytes ; -- Begin function isp_print_bytes
.p2align 2
_isp_print_bytes: ; @isp_print_bytes
.cfi_startproc
; %bb.0:
sub sp, sp, #256
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
mov x19, x3
mov x20, x2
mov x21, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-96]
Lloh3:
adrp x23, _ISP_LOGALL@GOTPAGE
Lloh4:
ldr x23, [x23, _ISP_LOGALL@GOTPAGEOFF]
cbz x1, LBB0_2
; %bb.1:
ldr w8, [x23]
str x1, [sp]
Lloh5:
adrp x2, l_.str@PAGE
Lloh6:
add x2, x2, l_.str@PAGEOFF
mov x0, x21
mov x1, x8
bl _isp_prt
LBB0_2:
strb wzr, [sp, #16]
cmp w20, #1
b.lt LBB0_8
; %bb.3:
mov w8, #0 ; =0x0
mov w9, #1 ; =0x1
sub w25, w9, w20
Lloh7:
adrp x22, l_.str.1@PAGE
Lloh8:
add x22, x22, l_.str.1@PAGEOFF
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
ldr w1, [x23]
add x8, sp, #16
stp x28, x8, [sp]
mov x0, x21
Lloh9:
adrp x2, l_.str.2@PAGE
Lloh10:
add x2, x2, l_.str.2@PAGEOFF
bl _isp_prt
strb wzr, [sp, #16]
add w8, w28, w27
cmp w8, w20
b.ge LBB0_8
LBB0_5: ; =>This Loop Header: Depth=1
; Child Loop BB0_6 Depth 2
mov x27, #0 ; =0x0
mov w28, w8
add x24, x19, w8, sxtw #2
add x26, x25, x28
LBB0_6: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [x24, x27, lsl #2]
add x0, sp, #16
add x3, sp, #16
orr w4, w8, #0xff
mov w1, #128 ; =0x80
mov x2, x22
bl _ISP_SNPRINTF
mov x8, x27
add x27, x27, #1
cmn w26, w8
b.eq LBB0_4
; %bb.7: ; in Loop: Header=BB0_6 Depth=2
cmp w8, #15
b.lo LBB0_6
b LBB0_4
LBB0_8:
ldur x8, [x29, #-96]
Lloh11:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh12:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_10
; %bb.9:
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
add sp, sp, #256
ret
LBB0_10:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.cfi_endproc
; -- End function
.comm _ISP_LOGALL,4,2 ; @ISP_LOGALL
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s:"
l_.str.1: ; @.str.1
.asciz "%s %02x"
l_.str.2: ; @.str.2
.asciz "0x%08x:%s"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ## -- Begin function avc_ca_pmt
LCPI0_0:
.long 0 ## 0x0
.long 0 ## 0x0
.long 31 ## 0x1f
.long 255 ## 0xff
.section __TEXT,__text,regular,pure_instructions
.globl _avc_ca_pmt
.p2align 4, 0x90
_avc_ca_pmt: ## @avc_ca_pmt
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %ebx
movq %rsi, %r13
movq %rdi, %r14
movq 16(%rdi), %r15
movq _avc_debug@GOTPCREL(%rip), %rax
movq _AVC_DEBUG_APPLICATION_PMT@GOTPCREL(%rip), %rcx
movl (%rcx), %edi
orl (%rax), %edi
callq _unlikely
testq %rax, %rax
je LBB0_2
## %bb.1:
movq %r13, %rdi
movl %ebx, %esi
callq _debug_pmt
LBB0_2:
movl %ebx, -44(%rbp) ## 4-byte Spill
leaq 4(%r14), %rdi
movq %rdi, -64(%rbp) ## 8-byte Spill
callq _mutex_lock
movq _AVC_CTYPE_CONTROL@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 20(%r15)
movq _AVC_SUBUNIT_TYPE_TUNER@GOTPCREL(%rip), %rax
movl (%r14), %ecx
orl (%rax), %ecx
movl %ecx, (%r15)
movq _AVC_OPCODE_VENDOR@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 16(%r15)
movzbl (%r13), %eax
movq _EN50221_LIST_MANAGEMENT_ONLY@GOTPCREL(%rip), %rbx
cmpb (%rbx), %al
je LBB0_4
## %bb.3:
movl 8(%r14), %edi
leaq L_.str(%rip), %rsi
callq _dev_info
movzbl (%rbx), %eax
movb %al, (%r13)
LBB0_4:
movsbl %al, %eax
movzbl 4(%r13), %ecx
andl $15, %ecx
shll $8, %ecx
movsbl 5(%r13), %ebx
addl %ecx, %ebx
xorl %ecx, %ecx
testl %ebx, %ebx
setg %cl
subl %ecx, %ebx
movq _SFE_VENDOR_DE_COMPANYID_0@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
movq 8(%r15), %rcx
movl %edx, (%rcx)
movq _SFE_VENDOR_DE_COMPANYID_1@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
movl %edx, 4(%rcx)
movq _SFE_VENDOR_DE_COMPANYID_2@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
movl %edx, 8(%rcx)
movq _SFE_VENDOR_OPCODE_HOST2CA@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
movl %edx, 12(%rcx)
movl $0, 16(%rcx)
movq _SFE_VENDOR_TAG_CA_PMT@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
movl %edx, 20(%rcx)
movl $0, 24(%rcx)
movl %eax, 40(%rcx)
movabsq $8589934593, %rax ## imm = 0x200000001
movq %rax, 44(%rcx)
movl $128, 52(%rcx)
movsbl 1(%r13), %eax
movl %eax, 60(%rcx)
movsbl 2(%r13), %eax
movl %eax, 64(%rcx)
movsbl 3(%r13), %eax
movl %eax, 68(%rcx)
movaps LCPI0_0(%rip), %xmm0 ## xmm0 = [0,0,31,255]
movups %xmm0, 72(%rcx)
movl %ebx, %eax
sarl $8, %eax
movl %eax, 88(%rcx)
movzbl %bl, %eax
movl %eax, 92(%rcx)
testl %ebx, %ebx
jle LBB0_5
## %bb.6:
movsbl 6(%r13), %edx
movl 8(%r14), %edi
leaq L_.str.1(%rip), %rsi
callq _dev_err
movq 8(%r15), %rdi
addq $96, %rdi
leaq 7(%r13), %rsi
movl %ebx, %edx
callq _memcpy
leal 7(%rbx), %r12d
addl $24, %ebx
jmp LBB0_7
LBB0_5:
movl $24, %ebx
movl $6, %r12d
LBB0_7:
movl -44(%rbp), %edi ## 4-byte Reload
cmpl %edi, %r12d
movq %r14, -56(%rbp) ## 8-byte Spill
jle LBB0_8
jmp LBB0_17
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_8 Depth=1
movl %eax, %r12d
cmpl %edi, %r12d
jg LBB0_17
LBB0_8: ## =>This Inner Loop Header: Depth=1
movslq %r12d, %rax
movsbl (%r13,%rax), %esi
movq 8(%r15), %rcx
movslq %ebx, %rdx
movl %esi, (%rcx,%rdx,4)
movsbl 1(%r13,%rax), %esi
movl %esi, 4(%rcx,%rdx,4)
movsbl 2(%r13,%rax), %esi
movl %esi, 8(%rcx,%rdx,4)
movzbl 3(%r13,%rax), %esi
andl $15, %esi
shll $8, %esi
movsbl 4(%r13,%rax), %r14d
addl %esi, %r14d
addq $5, %rax
xorl %esi, %esi
testl %r14d, %r14d
setg %sil
subl %esi, %r14d
movl %r14d, %esi
sarl $8, %esi
movl %esi, 12(%rcx,%rdx,4)
movzbl %r14b, %esi
leal 5(%rdx), %ebx
movl %esi, 16(%rcx,%rdx,4)
testl %r14d, %r14d
jle LBB0_9
## %bb.10: ## in Loop: Header=BB0_8 Depth=1
movzbl (%r13,%rax), %eax
cmpl $1, %eax
je LBB0_13
## %bb.11: ## in Loop: Header=BB0_8 Depth=1
cmpl $4, %eax
je LBB0_13
## %bb.12: ## in Loop: Header=BB0_8 Depth=1
movsbl %al, %edx
movq -56(%rbp), %rax ## 8-byte Reload
movl 8(%rax), %edi
leaq L_.str.2(%rip), %rsi
callq _dev_err
LBB0_13: ## in Loop: Header=BB0_8 Depth=1
movl %r14d, %eax
movslq %ebx, %rbx
movl $4, %ecx
subq %rbx, %rcx
cmpq %rax, %rcx
jb LBB0_14
## %bb.15: ## in Loop: Header=BB0_8 Depth=1
addl $6, %r12d
leaq (,%rbx,4), %rdi
addq 8(%r15), %rdi
movslq %r12d, %r12
leaq (%r12,%r13), %rsi
movl %r14d, %edx
callq _memcpy
movl -44(%rbp), %edi ## 4-byte Reload
addl %r14d, %r12d
addl %r14d, %ebx
cmpl %edi, %r12d
jle LBB0_8
LBB0_17:
leal 4(%rbx), %r14d
movq 8(%r15), %rsi
movl $130, 28(%rsi)
leal -6(%rbx), %eax
movzbl %al, %ecx
sarl $8, %eax
movl %eax, 32(%rsi)
movl %ecx, 36(%rsi)
leal -11(%rbx), %eax
movl %eax, 56(%rsi)
movl 48(%rsi), %edx
addq $40, %rsi
decl %edx
xorl %edi, %edi
callq _crc32_be
movl %eax, %ecx
movzbl %ah, %edx
movzbl %al, %esi
shrl $24, %eax
movq 8(%r15), %rdi
movslq %ebx, %rbx
movl %eax, (%rdi,%rbx,4)
shrl $16, %ecx
movzbl %cl, %eax
movl %eax, 4(%rdi,%rbx,4)
movl %edx, 8(%rdi,%rbx,4)
movl %esi, 12(%rdi,%rbx,4)
movq %r15, %rdi
movl %r14d, %esi
callq _pad_operands
addl $7, %ebx
movl %ebx, %edi
movl $4, %esi
callq _ALIGN
movq -56(%rbp), %r14 ## 8-byte Reload
movl %eax, 12(%r14)
movq %r14, %rdi
callq _avc_write
movl %eax, %ebx
testl %eax, %eax
js LBB0_21
## %bb.18:
movl (%r15), %edx
movq _AVC_RESPONSE_ACCEPTED@GOTPCREL(%rip), %rax
cmpl (%rax), %edx
je LBB0_21
## %bb.19:
movl 8(%r14), %edi
leaq L_.str.3(%rip), %rsi
callq _dev_err
movq _EACCES@GOTPCREL(%rip), %rax
jmp LBB0_20
LBB0_14:
movq _EINVAL@GOTPCREL(%rip), %rax
LBB0_20:
xorl %ebx, %ebx
subl (%rax), %ebx
LBB0_21:
movq -64(%rbp), %rdi ## 8-byte Reload
callq _mutex_unlock
movl %ebx, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _avc_debug,4,2 ## @avc_debug
.comm _AVC_DEBUG_APPLICATION_PMT,4,2 ## @AVC_DEBUG_APPLICATION_PMT
.comm _AVC_CTYPE_CONTROL,4,2 ## @AVC_CTYPE_CONTROL
.comm _AVC_SUBUNIT_TYPE_TUNER,4,2 ## @AVC_SUBUNIT_TYPE_TUNER
.comm _AVC_OPCODE_VENDOR,4,2 ## @AVC_OPCODE_VENDOR
.comm _EN50221_LIST_MANAGEMENT_ONLY,1,0 ## @EN50221_LIST_MANAGEMENT_ONLY
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "forcing list_management to ONLY\n"
.comm _SFE_VENDOR_DE_COMPANYID_0,4,2 ## @SFE_VENDOR_DE_COMPANYID_0
.comm _SFE_VENDOR_DE_COMPANYID_1,4,2 ## @SFE_VENDOR_DE_COMPANYID_1
.comm _SFE_VENDOR_DE_COMPANYID_2,4,2 ## @SFE_VENDOR_DE_COMPANYID_2
.comm _SFE_VENDOR_OPCODE_HOST2CA,4,2 ## @SFE_VENDOR_OPCODE_HOST2CA
.comm _SFE_VENDOR_TAG_CA_PMT,4,2 ## @SFE_VENDOR_TAG_CA_PMT
L_.str.1: ## @.str.1
.asciz "invalid pmt_cmd_id %d\n"
.comm _EINVAL,4,2 ## @EINVAL
L_.str.2: ## @.str.2
.asciz "invalid pmt_cmd_id %d at stream level\n"
.comm _AVC_RESPONSE_ACCEPTED,4,2 ## @AVC_RESPONSE_ACCEPTED
L_.str.3: ## @.str.3
.asciz "CA PMT failed with response 0x%x\n"
.comm _EACCES,4,2 ## @EACCES
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ; -- Begin function avc_ca_pmt
lCPI0_0:
.long 1 ; 0x1
.long 2 ; 0x2
lCPI0_2:
.long 4294967280 ; 0xfffffff0
.long 4294967288 ; 0xfffffff8
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0
lCPI0_1:
.long 0 ; 0x0
.long 0 ; 0x0
.long 31 ; 0x1f
.long 255 ; 0xff
.section __TEXT,__text,regular,pure_instructions
.globl _avc_ca_pmt
.p2align 2
_avc_ca_pmt: ; @avc_ca_pmt
.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
mov x21, x2
mov x22, x1
mov x19, x0
ldr x20, [x0, #16]
Lloh0:
adrp x8, _avc_debug@GOTPAGE
Lloh1:
ldr x8, [x8, _avc_debug@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
Lloh3:
adrp x9, _AVC_DEBUG_APPLICATION_PMT@GOTPAGE
Lloh4:
ldr x9, [x9, _AVC_DEBUG_APPLICATION_PMT@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
orr w0, w9, w8
bl _unlikely
cbz x0, LBB0_2
; %bb.1:
mov x0, x22
mov x1, x21
bl _debug_pmt
LBB0_2:
add x0, x19, #4
bl _mutex_lock
Lloh6:
adrp x8, _AVC_CTYPE_CONTROL@GOTPAGE
Lloh7:
ldr x8, [x8, _AVC_CTYPE_CONTROL@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
Lloh9:
adrp x9, _AVC_SUBUNIT_TYPE_TUNER@GOTPAGE
Lloh10:
ldr x9, [x9, _AVC_SUBUNIT_TYPE_TUNER@GOTPAGEOFF]
Lloh11:
ldr w9, [x9]
ldr w10, [x19]
orr w9, w10, w9
str w9, [x20]
Lloh12:
adrp x9, _AVC_OPCODE_VENDOR@GOTPAGE
Lloh13:
ldr x9, [x9, _AVC_OPCODE_VENDOR@GOTPAGEOFF]
Lloh14:
ldr w9, [x9]
stp w9, w8, [x20, #16]
ldrb w8, [x22]
Lloh15:
adrp x23, _EN50221_LIST_MANAGEMENT_ONLY@GOTPAGE
Lloh16:
ldr x23, [x23, _EN50221_LIST_MANAGEMENT_ONLY@GOTPAGEOFF]
ldrb w9, [x23]
cmp w8, w9
b.eq LBB0_4
; %bb.3:
ldr w0, [x19, #8]
Lloh17:
adrp x1, l_.str@PAGE
Lloh18:
add x1, x1, l_.str@PAGEOFF
bl _dev_info
ldrb w8, [x23]
strb w8, [x22]
LBB0_4:
sxtb w8, w8
ldrb w9, [x22, #4]
and w9, w9, #0xf
ldrsb w10, [x22, #5]
add w9, w10, w9, lsl #8
cmp w9, #0
cset w10, gt
sub w23, w9, w10
Lloh19:
adrp x9, _SFE_VENDOR_DE_COMPANYID_0@GOTPAGE
Lloh20:
ldr x9, [x9, _SFE_VENDOR_DE_COMPANYID_0@GOTPAGEOFF]
Lloh21:
ldr w9, [x9]
ldr x10, [x20, #8]
str w9, [x10]
Lloh22:
adrp x9, _SFE_VENDOR_DE_COMPANYID_1@GOTPAGE
Lloh23:
ldr x9, [x9, _SFE_VENDOR_DE_COMPANYID_1@GOTPAGEOFF]
Lloh24:
adrp x11, _SFE_VENDOR_DE_COMPANYID_2@GOTPAGE
Lloh25:
ldr x11, [x11, _SFE_VENDOR_DE_COMPANYID_2@GOTPAGEOFF]
Lloh26:
ldr w9, [x9]
Lloh27:
ldr w11, [x11]
stp w9, w11, [x10, #4]
Lloh28:
adrp x9, _SFE_VENDOR_OPCODE_HOST2CA@GOTPAGE
Lloh29:
ldr x9, [x9, _SFE_VENDOR_OPCODE_HOST2CA@GOTPAGEOFF]
Lloh30:
ldr w9, [x9]
stp w9, wzr, [x10, #12]
Lloh31:
adrp x9, _SFE_VENDOR_TAG_CA_PMT@GOTPAGE
Lloh32:
ldr x9, [x9, _SFE_VENDOR_TAG_CA_PMT@GOTPAGEOFF]
Lloh33:
ldr w9, [x9]
stp w9, wzr, [x10, #20]
str w8, [x10, #40]
Lloh34:
adrp x8, lCPI0_0@PAGE
Lloh35:
ldr d0, [x8, lCPI0_0@PAGEOFF]
stur d0, [x10, #44]
mov w8, #128 ; =0x80
str w8, [x10, #52]
ldrsb w8, [x22, #1]
str w8, [x10, #60]
ldrsb w8, [x22, #2]
str w8, [x10, #64]
mov x25, x22
ldrsb w8, [x25, #3]!
str w8, [x10, #68]
Lloh36:
adrp x8, lCPI0_1@PAGE
Lloh37:
ldr q0, [x8, lCPI0_1@PAGEOFF]
stur q0, [x10, #72]
asr w8, w23, #8
and w9, w23, #0xff
stp w8, w9, [x10, #88]
cmp w23, #1
b.lt LBB0_10
; %bb.5:
ldrsb w2, [x22, #6]
ldr w0, [x19, #8]
Lloh38:
adrp x1, l_.str.1@PAGE
Lloh39:
add x1, x1, l_.str.1@PAGEOFF
bl _dev_err
ldr x8, [x20, #8]
add x0, x8, #96
add x1, x22, #7
mov x2, x23
bl _memcpy
add w8, w23, #7
add w9, w23, #24
cmp w8, w21
b.le LBB0_11
LBB0_6:
mov x26, x9
LBB0_7:
ldr x8, [x20, #8]
mov w9, #130 ; =0x82
sub w10, w26, #6
asr w11, w10, #8
stp w9, w11, [x8, #28]
and w9, w10, #0xff
str w9, [x8, #36]
sub w9, w26, #11
str w9, [x8, #56]
ldr w9, [x8, #48]
sub w2, w9, #1
add x1, x8, #40
mov w0, #0 ; =0x0
bl _crc32_be
lsr w8, w0, #24
ldr x9, [x20, #8]
add x9, x9, w26, sxtw #2
str w8, [x9]
dup.2s v0, w0
Lloh40:
adrp x8, lCPI0_2@PAGE
Lloh41:
ldr d1, [x8, lCPI0_2@PAGEOFF]
ushl.2s v0, v0, v1
movi d1, #0x0000ff000000ff
and.8b v0, v0, v1
stur d0, [x9, #4]
and w8, w0, #0xff
str w8, [x9, #12]
add w1, w26, #4
mov x0, x20
bl _pad_operands
add w0, w26, #7
mov w1, #4 ; =0x4
bl _ALIGN
str w0, [x19, #12]
mov x0, x19
bl _avc_write
mov x21, x0
tbnz w0, #31, LBB0_21
; %bb.8:
ldr w2, [x20]
Lloh42:
adrp x8, _AVC_RESPONSE_ACCEPTED@GOTPAGE
Lloh43:
ldr x8, [x8, _AVC_RESPONSE_ACCEPTED@GOTPAGEOFF]
Lloh44:
ldr w8, [x8]
cmp w2, w8
b.eq LBB0_21
; %bb.9:
ldr w0, [x19, #8]
Lloh45:
adrp x1, l_.str.3@PAGE
Lloh46:
add x1, x1, l_.str.3@PAGEOFF
bl _dev_err
Lloh47:
adrp x8, _EACCES@GOTPAGE
Lloh48:
ldr x8, [x8, _EACCES@GOTPAGEOFF]
b LBB0_20
LBB0_10:
mov w9, #24 ; =0x18
mov w8, #6 ; =0x6
cmp w8, w21
b.gt LBB0_6
LBB0_11:
mov w27, #4 ; =0x4
Lloh49:
adrp x23, l_.str.2@PAGE
Lloh50:
add x23, x23, l_.str.2@PAGEOFF
b LBB0_14
LBB0_12: ; in Loop: Header=BB0_14 Depth=1
; kill: def $w8 killed $w8 killed $x8 def $x8
LBB0_13: ; in Loop: Header=BB0_14 Depth=1
mov x9, x26
cmp w8, w21
b.gt LBB0_7
LBB0_14: ; =>This Inner Loop Header: Depth=1
sxtw x28, w8
add x8, x22, x28
ldrsb w10, [x8]
ldr x11, [x20, #8]
sxtw x12, w9
add x9, x11, w9, sxtw #2
str w10, [x9]
ldrsb w10, [x8, #1]
str w10, [x9, #4]
ldrsb w10, [x8, #2]
str w10, [x9, #8]
ldrb w10, [x25, x28]
and w10, w10, #0xf
ldrsb w8, [x8, #4]
add w10, w8, w10, lsl #8
add x8, x28, #5
cmp w10, #0
cset w11, gt
sub w24, w10, w11
asr w10, w24, #8
and w11, w24, #0xff
add x26, x12, #5
stp w10, w11, [x9, #12]
cmp w24, #1
b.lt LBB0_12
; %bb.15: ; in Loop: Header=BB0_14 Depth=1
ldrb w8, [x22, x8]
cmp w8, #1
ccmp w8, #4, #4, ne
b.eq LBB0_17
; %bb.16: ; in Loop: Header=BB0_14 Depth=1
sxtb w2, w8
ldr w0, [x19, #8]
mov x1, x23
bl _dev_err
LBB0_17: ; in Loop: Header=BB0_14 Depth=1
sub x8, x27, x26
cmp x8, w24, uxtw
b.lo LBB0_19
; %bb.18: ; in Loop: Header=BB0_14 Depth=1
add x28, x28, #6
ldr x8, [x20, #8]
add x0, x8, x26, lsl #2
add x1, x22, x28
mov x2, x24
bl _memcpy
add w8, w24, w28
add w26, w24, w26
b LBB0_13
LBB0_19:
Lloh51:
adrp x8, _EINVAL@GOTPAGE
Lloh52:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_20:
ldr w8, [x8]
neg w21, w8
LBB0_21:
add x0, x19, #4
bl _mutex_unlock
mov x0, x21
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpLdr Lloh36, Lloh37
.loh AdrpLdr Lloh34, Lloh35
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh27
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh26
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpAdd Lloh38, Lloh39
.loh AdrpLdr Lloh40, Lloh41
.loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44
.loh AdrpLdrGot Lloh47, Lloh48
.loh AdrpAdd Lloh45, Lloh46
.loh AdrpAdd Lloh49, Lloh50
.loh AdrpLdrGot Lloh51, Lloh52
.cfi_endproc
; -- End function
.comm _avc_debug,4,2 ; @avc_debug
.comm _AVC_DEBUG_APPLICATION_PMT,4,2 ; @AVC_DEBUG_APPLICATION_PMT
.comm _AVC_CTYPE_CONTROL,4,2 ; @AVC_CTYPE_CONTROL
.comm _AVC_SUBUNIT_TYPE_TUNER,4,2 ; @AVC_SUBUNIT_TYPE_TUNER
.comm _AVC_OPCODE_VENDOR,4,2 ; @AVC_OPCODE_VENDOR
.comm _EN50221_LIST_MANAGEMENT_ONLY,1,0 ; @EN50221_LIST_MANAGEMENT_ONLY
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "forcing list_management to ONLY\n"
.comm _SFE_VENDOR_DE_COMPANYID_0,4,2 ; @SFE_VENDOR_DE_COMPANYID_0
.comm _SFE_VENDOR_DE_COMPANYID_1,4,2 ; @SFE_VENDOR_DE_COMPANYID_1
.comm _SFE_VENDOR_DE_COMPANYID_2,4,2 ; @SFE_VENDOR_DE_COMPANYID_2
.comm _SFE_VENDOR_OPCODE_HOST2CA,4,2 ; @SFE_VENDOR_OPCODE_HOST2CA
.comm _SFE_VENDOR_TAG_CA_PMT,4,2 ; @SFE_VENDOR_TAG_CA_PMT
l_.str.1: ; @.str.1
.asciz "invalid pmt_cmd_id %d\n"
.comm _EINVAL,4,2 ; @EINVAL
l_.str.2: ; @.str.2
.asciz "invalid pmt_cmd_id %d at stream level\n"
.comm _AVC_RESPONSE_ACCEPTED,4,2 ; @AVC_RESPONSE_ACCEPTED
l_.str.3: ; @.str.3
.asciz "CA PMT failed with response 0x%x\n"
.comm _EACCES,4,2 ; @EACCES
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _parse_int_list ## -- Begin function parse_int_list
.p2align 4, 0x90
_parse_int_list: ## @parse_int_list
.cfi_startproc
## %bb.0:
testl %esi, %esi
jle LBB0_1
## %bb.3:
movl $-1, %eax
cmpb $44, (%rdi)
jne LBB0_2
## %bb.4:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r15d
movq %rdi, %r14
leaq -1(%rdi), %rbx
leaq -32(%rbp), %rsi
movq %rbx, %rdi
movl $10, %edx
callq _strtol
movq _R@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq %rax, (%rcx)
movq -32(%rbp), %rcx
cmpq %rcx, %rbx
je LBB0_5
## %bb.6:
movq _MAX_USERS@GOTPCREL(%rip), %rdx
cmpl $1, (%rdx)
sete %dl
addq $-2147483647, %rax ## imm = 0x80000001
cmpq $-2147483646, %rax ## imm = 0x80000002
setb %al
orb %dl, %al
cmpb $1, %al
movl $-1, %eax
je LBB0_8
## %bb.7:
movslq %r15d, %rax
addq %rax, %r14
xorl %eax, %eax
cmpq %r14, %rcx
sbbl %eax, %eax
orl $1, %eax
jmp LBB0_8
LBB0_1:
xorl %eax, %eax
LBB0_2:
retq
LBB0_5:
movl $-1, %eax
LBB0_8:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _R,8,3 ## @R
.comm _MAX_USERS,4,2 ## @MAX_USERS
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _parse_int_list ; -- Begin function parse_int_list
.p2align 2
_parse_int_list: ; @parse_int_list
.cfi_startproc
; %bb.0:
cmp w1, #1
b.lt LBB0_5
; %bb.1:
ldrb w8, [x0]
cmp w8, #44
b.ne LBB0_6
; %bb.2:
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 x20, x1
mov x21, x0
sub x19, x0, #1
add x1, sp, #8
mov x0, x19
mov w2, #10 ; =0xa
bl _strtol
Lloh0:
adrp x8, _R@GOTPAGE
Lloh1:
ldr x8, [x8, _R@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x0, [x8]
ldr x8, [sp, #8]
cmp x19, x8
b.eq LBB0_7
; %bb.3:
Lloh3:
adrp x9, _MAX_USERS@GOTPAGE
Lloh4:
ldr x9, [x9, _MAX_USERS@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
mov x10, #-2147483647 ; =0xffffffff80000001
add x11, x0, x10
mov w0, #-1 ; =0xffffffff
cmp w9, #1
ccmp x11, x10, #0, ne
b.ls LBB0_8
; %bb.4:
add x9, x21, w20, sxtw
cmp x8, x9
cneg w0, w0, hs
b LBB0_8
LBB0_5:
mov w0, #0 ; =0x0
ret
LBB0_6:
mov w0, #-1 ; =0xffffffff
ret
LBB0_7:
mov w0, #-1 ; =0xffffffff
LBB0_8:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _R,8,3 ; @R
.comm _MAX_USERS,4,2 ; @MAX_USERS
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function FSE_readNCount
_FSE_readNCount: ## @FSE_readNCount
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $88, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, -80(%rbp) ## 8-byte Spill
movq %rdi, -112(%rbp) ## 8-byte Spill
movq _srcSize_wrong@GOTPCREL(%rip), %rax
cmpq $4, %r8
jae LBB0_2
## %bb.1:
movq %rax, %rcx
jmp LBB0_4
LBB0_2:
movq %rdx, %r14
movq %r8, %r15
movq %rcx, -88(%rbp) ## 8-byte Spill
movq %rcx, %rdi
callq _MEM_readLE32
movl %eax, %ebx
movl %eax, %r13d
orl $15, %r13d
movq _FSE_MIN_TABLELOG@GOTPCREL(%rip), %rax
addl (%rax), %r13d
movq _FSE_TABLELOG_ABSOLUTE_MAX@GOTPCREL(%rip), %rax
cmpl (%rax), %r13d
jle LBB0_5
## %bb.3:
movq _tableLog_tooLarge@GOTPCREL(%rip), %rcx
jmp LBB0_4
LBB0_5:
movl %r13d, (%r14)
movq _GENERIC@GOTPCREL(%rip), %rcx
cmpl $31, %r13d
je LBB0_4
## %bb.6:
movq %r15, -120(%rbp) ## 8-byte Spill
movq -88(%rbp), %rax ## 8-byte Reload
leaq (%rax,%r15,4), %rdx
movl $1, %r15d
movl %r13d, %ecx
shll %cl, %r15d
leal 1(%r15), %ecx
movl %ecx, -44(%rbp) ## 4-byte Spill
decl %r13d
sarl $4, %ebx
leaq -20(%rdx), %rcx
movq %rcx, -128(%rbp) ## 8-byte Spill
leaq -28(%rdx), %rcx
movq %rcx, -104(%rbp) ## 8-byte Spill
addq $-16, %rdx
movq %rdx, -96(%rbp) ## 8-byte Spill
movl $4, %r14d
movb $1, %cl
xorl %r12d, %r12d
movq %rax, -56(%rbp) ## 8-byte Spill
jmp LBB0_7
.p2align 4, 0x90
LBB0_32: ## in Loop: Header=BB0_7 Depth=1
addl %r14d, %r12d
leal 1(%rsi), %r8d
movq -56(%rbp), %r9 ## 8-byte Reload
cmpq -104(%rbp), %r9 ## 8-byte Folded Reload
movl %eax, -44(%rbp) ## 4-byte Spill
seta %al
movl %r12d, %ecx
sarl $3, %ecx
movslq %ecx, %rcx
leaq (%r9,%rcx,4), %rdi
movq -96(%rbp), %rsi ## 8-byte Reload
cmpq %rsi, %rdi
seta %cl
subl %esi, %r9d
movl %r12d, %edx
andl $7, %edx
leal (%r12,%r9,2), %r14d
movq %r8, %r12
testb %cl, %al
cmovneq %rsi, %rdi
cmovel %edx, %r14d
movq %rdi, -56(%rbp) ## 8-byte Spill
callq _MEM_readLE32
movl %eax, %ebx
movl %r14d, %ecx
sarl %cl, %ebx
cmpl $1, -44(%rbp) ## 4-byte Folded Reload
movzbl -72(%rbp), %ecx ## 1-byte Folded Reload
jle LBB0_33
LBB0_7: ## =>This Loop Header: Depth=1
## Child Loop BB0_12 Depth 2
## Child Loop BB0_17 Depth 2
## Child Loop BB0_31 Depth 2
movq -80(%rbp), %rax ## 8-byte Reload
cmpl (%rax), %r12d
ja LBB0_8
## %bb.9: ## in Loop: Header=BB0_7 Depth=1
testb $1, %cl
je LBB0_11
## %bb.10: ## in Loop: Header=BB0_7 Depth=1
movl %r12d, %eax
movq %rax, -64(%rbp) ## 8-byte Spill
jmp LBB0_27
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_7 Depth=1
movq %r12, -72(%rbp) ## 8-byte Spill
## kill: def $r12d killed $r12d killed $r12 def $r12
cmpw $-1, %bx
movq -56(%rbp), %rsi ## 8-byte Reload
jne LBB0_17
jmp LBB0_12
.p2align 4, 0x90
LBB0_14: ## in Loop: Header=BB0_12 Depth=2
sarl $16, %ebx
addl $16, %r14d
LBB0_15: ## in Loop: Header=BB0_12 Depth=2
addl $24, %r12d
cmpw $-1, %bx
jne LBB0_17
LBB0_12: ## Parent Loop BB0_7 Depth=1
## => This Inner Loop Header: Depth=2
cmpq -128(%rbp), %rsi ## 8-byte Folded Reload
jae LBB0_14
## %bb.13: ## in Loop: Header=BB0_12 Depth=2
addq $8, %rsi
movq %rsi, %rbx
movq %rsi, %rdi
callq _MEM_readLE32
movq %rbx, %rsi
movl %eax, %ebx
movl %r14d, %ecx
sarl %cl, %ebx
jmp LBB0_15
.p2align 4, 0x90
LBB0_16: ## in Loop: Header=BB0_17 Depth=2
addl $3, %r12d
sarl $2, %ebx
addl $2, %r14d
LBB0_17: ## Parent Loop BB0_7 Depth=1
## => This Inner Loop Header: Depth=2
movl %ebx, %eax
andl $3, %eax
cmpl $3, %eax
je LBB0_16
## %bb.18: ## in Loop: Header=BB0_7 Depth=1
leal (%r12,%rax), %edx
movq -80(%rbp), %rcx ## 8-byte Reload
cmpl (%rcx), %edx
ja LBB0_19
## %bb.20: ## in Loop: Header=BB0_7 Depth=1
movq -72(%rbp), %r8 ## 8-byte Reload
cmpl %edx, %r8d
jae LBB0_21
## %bb.22: ## in Loop: Header=BB0_7 Depth=1
movq %rdx, -64(%rbp) ## 8-byte Spill
movl %r8d, %ecx
movq -112(%rbp), %rdx ## 8-byte Reload
movq %rsi, -56(%rbp) ## 8-byte Spill
leaq (%rdx,%rcx,2), %rdi
addl %eax, %r12d
notl %r8d
addl %r12d, %r8d
leaq 2(,%r8,2), %rsi
callq ___bzero
movq -56(%rbp), %rsi ## 8-byte Reload
jmp LBB0_23
.p2align 4, 0x90
LBB0_21: ## in Loop: Header=BB0_7 Depth=1
movl %r8d, %eax
movq %rax, -64(%rbp) ## 8-byte Spill
LBB0_23: ## in Loop: Header=BB0_7 Depth=1
addl $2, %r14d
movl %r14d, %eax
sarl $3, %eax
cltq
leaq (%rsi,%rax,4), %rdi
cmpq -104(%rbp), %rsi ## 8-byte Folded Reload
jbe LBB0_25
## %bb.24: ## in Loop: Header=BB0_7 Depth=1
cmpq -96(%rbp), %rdi ## 8-byte Folded Reload
jbe LBB0_25
## %bb.26: ## in Loop: Header=BB0_7 Depth=1
sarl $2, %ebx
movq %rsi, -56(%rbp) ## 8-byte Spill
jmp LBB0_27
.p2align 4, 0x90
LBB0_25: ## in Loop: Header=BB0_7 Depth=1
andl $7, %r14d
movq %rdi, -56(%rbp) ## 8-byte Spill
callq _MEM_readLE32
movl %eax, %ebx
movl %r14d, %ecx
sarl %cl, %ebx
LBB0_27: ## in Loop: Header=BB0_7 Depth=1
movl -44(%rbp), %eax ## 4-byte Reload
leal -1(,%r15,2), %edx
movl %edx, %ecx
subl %eax, %ecx
leal -1(%r15), %eax
andl %ebx, %eax
movswl %cx, %esi
cmpl %esi, %eax
jge LBB0_29
## %bb.28: ## in Loop: Header=BB0_7 Depth=1
leal -1(%r13), %r12d
jmp LBB0_30
.p2align 4, 0x90
LBB0_29: ## in Loop: Header=BB0_7 Depth=1
andl %edx, %ebx
movswl %bx, %eax
cmpl %r15d, %eax
movl $0, %eax
cmovll %eax, %ecx
subl %ecx, %ebx
movl %r13d, %r12d
movl %ebx, %eax
LBB0_30: ## in Loop: Header=BB0_7 Depth=1
decl %eax
movswl %ax, %ebx
movl %ebx, %edi
callq _FSE_abs
movl -44(%rbp), %edx ## 4-byte Reload
subl %eax, %edx
movq -64(%rbp), %rsi ## 8-byte Reload
movl %esi, %eax
movq -112(%rbp), %rcx ## 8-byte Reload
movw %bx, (%rcx,%rax,2)
movl %edx, %eax
testw %bx, %bx
setne %cl
cmpl %r15d, %edx
movb %cl, -72(%rbp) ## 1-byte Spill
jge LBB0_32
.p2align 4, 0x90
LBB0_31: ## Parent Loop BB0_7 Depth=1
## => This Inner Loop Header: Depth=2
decl %r13d
sarl %r15d
cmpl %r15d, %eax
jl LBB0_31
jmp LBB0_32
LBB0_8:
movq _GENERIC@GOTPCREL(%rip), %rcx
jmp LBB0_4
LBB0_33:
movq _GENERIC@GOTPCREL(%rip), %rcx
jne LBB0_4
## %bb.34:
addl $7, %r14d
sarl $3, %r14d
movslq %r14d, %rax
movq -80(%rbp), %rcx ## 8-byte Reload
movq -64(%rbp), %rdx ## 8-byte Reload
movl %edx, (%rcx)
movq -56(%rbp), %rcx ## 8-byte Reload
leaq (%rcx,%rax,4), %rax
subq -88(%rbp), %rax ## 8-byte Folded Reload
sarq $2, %rax
movq _srcSize_wrong@GOTPCREL(%rip), %rcx
cmpq -120(%rbp), %rax ## 8-byte Folded Reload
ja LBB0_4
## %bb.35:
addq $88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_19:
movq _maxSymbolValue_tooSmall@GOTPCREL(%rip), %rcx
LBB0_4:
movl (%rcx), %edi
addq $88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _ERROR ## TAILCALL
.cfi_endproc
## -- End function
.comm _srcSize_wrong,4,2 ## @srcSize_wrong
.comm _FSE_MIN_TABLELOG,4,2 ## @FSE_MIN_TABLELOG
.comm _FSE_TABLELOG_ABSOLUTE_MAX,4,2 ## @FSE_TABLELOG_ABSOLUTE_MAX
.comm _tableLog_tooLarge,4,2 ## @tableLog_tooLarge
.comm _maxSymbolValue_tooSmall,4,2 ## @maxSymbolValue_tooSmall
.comm _GENERIC,4,2 ## @GENERIC
.no_dead_strip _FSE_readNCount
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function FSE_readNCount
_FSE_readNCount: ; @FSE_readNCount
.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
str x0, [sp, #40] ; 8-byte Folded Spill
cmp x4, #4
b.hs LBB0_2
LBB0_1:
Lloh0:
adrp x8, _srcSize_wrong@GOTPAGE
Lloh1:
ldr x8, [x8, _srcSize_wrong@GOTPAGEOFF]
b LBB0_6
LBB0_2:
mov x23, x2
mov x21, x1
mov x19, x4
mov x20, x3
mov x0, x3
bl _MEM_readLE32
orr w8, w0, #0xf
Lloh2:
adrp x9, _FSE_MIN_TABLELOG@GOTPAGE
Lloh3:
ldr x9, [x9, _FSE_MIN_TABLELOG@GOTPAGEOFF]
Lloh4:
ldr w9, [x9]
Lloh5:
adrp x10, _FSE_TABLELOG_ABSOLUTE_MAX@GOTPAGE
Lloh6:
ldr x10, [x10, _FSE_TABLELOG_ABSOLUTE_MAX@GOTPAGEOFF]
Lloh7:
ldr w10, [x10]
add w8, w8, w9
cmp w8, w10
b.le LBB0_4
; %bb.3:
Lloh8:
adrp x8, _tableLog_tooLarge@GOTPAGE
Lloh9:
ldr x8, [x8, _tableLog_tooLarge@GOTPAGEOFF]
b LBB0_6
LBB0_4:
str w8, [x23]
cmp w8, #31
b.ne LBB0_7
LBB0_5:
Lloh10:
adrp x8, _GENERIC@GOTPAGE
Lloh11:
ldr x8, [x8, _GENERIC@GOTPAGEOFF]
LBB0_6:
ldr w0, [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
b _ERROR
LBB0_7:
stp x19, x21, [sp, #8] ; 16-byte Folded Spill
mov w24, #0 ; =0x0
mov x23, x20
add x9, x20, x19, lsl #2
mov w19, #1 ; =0x1
lsl w26, w19, w8
add w27, w26, #1
sub w28, w8, #1
asr w21, w0, #4
sub x20, x9, #20
sub x10, x9, #28
sub x8, x9, #16
stp x8, x10, [sp, #24] ; 16-byte Folded Spill
mov w22, #4 ; =0x4
str x23, [sp] ; 8-byte Folded Spill
LBB0_8: ; =>This Loop Header: Depth=1
; Child Loop BB0_13 Depth 2
; Child Loop BB0_17 Depth 2
; Child Loop BB0_28 Depth 2
ldr x25, [sp, #16] ; 8-byte Folded Reload
ldr w8, [x25]
cmp w24, w8
b.hi LBB0_5
; %bb.9: ; in Loop: Header=BB0_8 Depth=1
tbz w19, #0, LBB0_11
; %bb.10: ; in Loop: Header=BB0_8 Depth=1
mov x25, x24
b LBB0_26
LBB0_11: ; in Loop: Header=BB0_8 Depth=1
mov x19, x24
b LBB0_13
LBB0_12: ; in Loop: Header=BB0_13 Depth=2
add x23, x23, #8
mov x0, x23
bl _MEM_readLE32
asr w21, w0, w22
add w19, w19, #24
LBB0_13: ; Parent Loop BB0_8 Depth=1
; => This Inner Loop Header: Depth=2
mov w8, #65535 ; =0xffff
bics wzr, w8, w21
b.ne LBB0_17
; %bb.14: ; in Loop: Header=BB0_13 Depth=2
cmp x23, x20
b.lo LBB0_12
; %bb.15: ; in Loop: Header=BB0_13 Depth=2
asr w21, w21, #16
add w22, w22, #16
add w19, w19, #24
b LBB0_13
LBB0_16: ; in Loop: Header=BB0_17 Depth=2
add w19, w19, #3
asr w21, w21, #2
add w22, w22, #2
LBB0_17: ; Parent Loop BB0_8 Depth=1
; => This Inner Loop Header: Depth=2
and w8, w21, #0x3
cmp w8, #3
b.eq LBB0_16
; %bb.18: ; in Loop: Header=BB0_8 Depth=1
ldr w9, [x25]
add w25, w19, w8
cmp w25, w9
b.hi LBB0_33
; %bb.19: ; in Loop: Header=BB0_8 Depth=1
cmp w24, w25
b.hs LBB0_21
; %bb.20: ; in Loop: Header=BB0_8 Depth=1
ldr x9, [sp, #40] ; 8-byte Folded Reload
add x0, x9, w24, uxtw #1
mvn w9, w24
add w8, w19, w8
add w8, w9, w8
ubfiz x8, x8, #1, #32
add x1, x8, #2
bl _bzero
b LBB0_22
LBB0_21: ; in Loop: Header=BB0_8 Depth=1
mov x25, x24
LBB0_22: ; in Loop: Header=BB0_8 Depth=1
add w22, w22, #2
asr w8, w22, #3
add x24, x23, w8, sxtw #2
ldr x8, [sp, #32] ; 8-byte Folded Reload
cmp x23, x8
b.ls LBB0_25
; %bb.23: ; in Loop: Header=BB0_8 Depth=1
ldr x8, [sp, #24] ; 8-byte Folded Reload
cmp x24, x8
b.ls LBB0_25
; %bb.24: ; in Loop: Header=BB0_8 Depth=1
asr w21, w21, #2
b LBB0_26
LBB0_25: ; in Loop: Header=BB0_8 Depth=1
and w22, w22, #0x7
mov x0, x24
bl _MEM_readLE32
asr w21, w0, w22
mov x23, x24
LBB0_26: ; in Loop: Header=BB0_8 Depth=1
lsl w8, w26, #1
sub w8, w8, #1
sub w9, w8, w27
sub w10, w26, #1
and w10, w21, w10
and w8, w21, w8
cmp w26, w8, sxth
csel w11, wzr, w9, gt
sub w8, w8, w11
sub w11, w28, #1
cmp w10, w9, sxth
csel w21, w28, w11, ge
csel w8, w8, w10, ge
sub w19, w8, #1
sxth w0, w19
bl _FSE_abs
ldr x8, [sp, #40] ; 8-byte Folded Reload
strh w19, [x8, w25, uxtw #1]
tst w19, #0xffff
cset w19, ne
sub w27, w27, w0
b LBB0_28
LBB0_27: ; in Loop: Header=BB0_28 Depth=2
sub w28, w28, #1
asr w26, w26, #1
LBB0_28: ; Parent Loop BB0_8 Depth=1
; => This Inner Loop Header: Depth=2
cmp w27, w26
b.lt LBB0_27
; %bb.29: ; in Loop: Header=BB0_8 Depth=1
add w8, w21, w22
add w24, w25, #1
ldp x14, x9, [sp, #24] ; 16-byte Folded Reload
cmp x23, x9
cset w9, hi
asr w10, w8, #3
add x10, x23, w10, sxtw #2
cmp x10, x14
cset w11, hi
and w12, w8, #0x7
sub w13, w23, w14
add w8, w8, w13, lsl #1
tst w9, w11
csel x23, x14, x10, ne
csel w22, w8, w12, ne
mov x0, x23
bl _MEM_readLE32
asr w21, w0, w22
cmp w27, #1
b.gt LBB0_8
; %bb.30:
b.ne LBB0_5
; %bb.31:
add w8, w22, #7
asr w8, w8, #3
ldr x9, [sp, #16] ; 8-byte Folded Reload
str w25, [x9]
add x8, x23, w8, sxtw #2
ldr x9, [sp] ; 8-byte Folded Reload
sub x8, x8, x9
asr x0, x8, #2
ldr x8, [sp, #8] ; 8-byte Folded Reload
cmp x0, x8
b.hi LBB0_1
; %bb.32:
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
LBB0_33:
Lloh12:
adrp x8, _maxSymbolValue_tooSmall@GOTPAGE
Lloh13:
ldr x8, [x8, _maxSymbolValue_tooSmall@GOTPAGEOFF]
b LBB0_6
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh12, Lloh13
.cfi_endproc
; -- End function
.comm _srcSize_wrong,4,2 ; @srcSize_wrong
.comm _FSE_MIN_TABLELOG,4,2 ; @FSE_MIN_TABLELOG
.comm _FSE_TABLELOG_ABSOLUTE_MAX,4,2 ; @FSE_TABLELOG_ABSOLUTE_MAX
.comm _tableLog_tooLarge,4,2 ; @tableLog_tooLarge
.comm _maxSymbolValue_tooSmall,4,2 ; @maxSymbolValue_tooSmall
.comm _GENERIC,4,2 ; @GENERIC
.no_dead_strip _FSE_readNCount
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function bpf_fill_jump_around_ld_abs
_bpf_fill_jump_around_ld_abs: ## @bpf_fill_jump_around_ld_abs
.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), %r14
movq _BPF_REG_6@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _BPF_REG_1@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _BPF_MOV64_REG
movl %eax, (%r14)
movq _BPF_B@GOTPCREL(%rip), %r15
movl (%r15), %edi
xorl %esi, %esi
callq _BPF_LD_ABS
movl %eax, -4(%r14)
movq _BPF_JEQ@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _BPF_REG_0@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $10, %edx
movl $4679, %ecx ## imm = 0x1247
callq _BPF_JMP_IMM
movl %eax, (%r14)
movl $1, %r12d
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
leaq 1(%r12), %r13
movl (%r15), %edi
movl $1, %esi
callq _BPF_LD_ABS
movl %eax, (%r14,%r12,4)
movq %r13, %r12
cmpq $4680, %r13 ## imm = 0x1248
jne LBB0_1
## %bb.2:
xorl %eax, %eax
callq _BPF_EXIT_INSN
movl %eax, 18720(%r14)
movl $4679, (%rbx) ## imm = 0x1247
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _BPF_REG_6,4,2 ## @BPF_REG_6
.comm _BPF_REG_1,4,2 ## @BPF_REG_1
.comm _BPF_B,4,2 ## @BPF_B
.comm _BPF_JEQ,4,2 ## @BPF_JEQ
.comm _BPF_REG_0,4,2 ## @BPF_REG_0
.no_dead_strip _bpf_fill_jump_around_ld_abs
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function bpf_fill_jump_around_ld_abs
_bpf_fill_jump_around_ld_abs: ; @bpf_fill_jump_around_ld_abs
.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
ldr x20, [x0, #8]
Lloh0:
adrp x8, _BPF_REG_6@GOTPAGE
Lloh1:
ldr x8, [x8, _BPF_REG_6@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
Lloh3:
adrp x8, _BPF_REG_1@GOTPAGE
Lloh4:
ldr x8, [x8, _BPF_REG_1@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
bl _BPF_MOV64_REG
str w0, [x20]
Lloh6:
adrp x21, _BPF_B@GOTPAGE
Lloh7:
ldr x21, [x21, _BPF_B@GOTPAGEOFF]
ldr w0, [x21]
mov w1, #0 ; =0x0
bl _BPF_LD_ABS
stur w0, [x20, #-4]
Lloh8:
adrp x8, _BPF_JEQ@GOTPAGE
Lloh9:
ldr x8, [x8, _BPF_JEQ@GOTPAGEOFF]
Lloh10:
ldr w0, [x8]
Lloh11:
adrp x8, _BPF_REG_0@GOTPAGE
Lloh12:
ldr x8, [x8, _BPF_REG_0@GOTPAGEOFF]
Lloh13:
ldr w1, [x8]
mov w22, #4679 ; =0x1247
mov w2, #10 ; =0xa
mov w3, #4679 ; =0x1247
bl _BPF_JMP_IMM
str w0, [x20]
add x23, x20, #4
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w0, [x21]
mov w1, #1 ; =0x1
bl _BPF_LD_ABS
str w0, [x23], #4
subs x22, x22, #1
b.ne LBB0_1
; %bb.2:
bl _BPF_EXIT_INSN
mov w8, #18720 ; =0x4920
str w0, [x20, x8]
mov w8, #4679 ; =0x1247
str w8, [x19]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _BPF_REG_6,4,2 ; @BPF_REG_6
.comm _BPF_REG_1,4,2 ; @BPF_REG_1
.comm _BPF_B,4,2 ; @BPF_B
.comm _BPF_JEQ,4,2 ; @BPF_JEQ
.comm _BPF_REG_0,4,2 ; @BPF_REG_0
.no_dead_strip _bpf_fill_jump_around_ld_abs
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function process_directory
_process_directory: ## @process_directory
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r14
movl %esi, %r15d
movq %rdi, %rbx
callq _cache_name_pos
testl %eax, %eax
js LBB0_4
## %bb.1:
movq _active_cache@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movl %eax, %eax
movq (%rcx,%rax,8), %r12
movl 8(%r12), %edi
callq _S_ISGITLINK
testq %rax, %rax
je LBB0_7
## %bb.2:
leaq L_.str(%rip), %rsi
leaq -44(%rbp), %rdx
movq %rbx, %rdi
callq _resolve_gitlink_ref
testq %rax, %rax
js LBB0_14
## %bb.3:
movq %r12, %rdi
movq %rbx, %rsi
movl %r15d, %edx
movq %r14, %rcx
jmp LBB0_16
LBB0_4:
movq %r14, -56(%rbp) ## 8-byte Spill
movl %eax, %ecx
notl %ecx
movq _active_nr@GOTPCREL(%rip), %rdx
cmpl %ecx, (%rdx)
jge LBB0_8
LBB0_5:
leaq L_.str(%rip), %rsi
leaq -44(%rbp), %rdx
movq %rbx, %rdi
callq _resolve_gitlink_ref
testq %rax, %rax
je LBB0_15
## %bb.6:
leaq L_.str.2(%rip), %rdi
movq %rbx, %rsi
callq _error
jmp LBB0_17
LBB0_7:
movq %rbx, %rdi
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _remove_one_path ## TAILCALL
LBB0_8:
movslq %r15d, %rdx
movq %rdx, -64(%rbp) ## 8-byte Spill
movl %ecx, %r14d
movl $-2, %r13d
subl %eax, %r13d
jmp LBB0_10
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_10 Depth=1
incl %r13d
incq %r14
movq _active_nr@GOTPCREL(%rip), %rax
cmpl %r13d, (%rax)
jle LBB0_5
LBB0_10: ## =>This Inner Loop Header: Depth=1
movq _active_cache@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rax,%r14,8), %r12
movq (%r12), %rdi
movq %rbx, %rsi
movl %r15d, %edx
callq _strncmp
testq %rax, %rax
jne LBB0_9
## %bb.11: ## in Loop: Header=BB0_10 Depth=1
movq (%r12), %rax
movq -64(%rbp), %rcx ## 8-byte Reload
cmpb $47, (%rax,%rcx)
jg LBB0_5
## %bb.12: ## in Loop: Header=BB0_10 Depth=1
jne LBB0_9
## %bb.13:
leaq L_.str.1(%rip), %rdi
movq %rbx, %rsi
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _error ## TAILCALL
LBB0_14:
xorl %eax, %eax
jmp LBB0_17
LBB0_15:
xorl %edi, %edi
movq %rbx, %rsi
movl %r15d, %edx
movq -56(%rbp), %rcx ## 8-byte Reload
LBB0_16:
callq _add_one_path
LBB0_17:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _active_cache,8,3 ## @active_cache
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "HEAD"
.comm _active_nr,4,2 ## @active_nr
L_.str.1: ## @.str.1
.asciz "%s: is a directory - add individual files instead"
L_.str.2: ## @.str.2
.asciz "%s: is a directory - add files inside instead"
.no_dead_strip _process_directory
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function process_directory
_process_directory: ; @process_directory
.cfi_startproc
; %bb.0:
sub sp, sp, #96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x20, x2
mov x21, x1
mov x19, x0
bl _cache_name_pos
tbnz w0, #31, LBB0_4
; %bb.1:
Lloh0:
adrp x8, _active_cache@GOTPAGE
Lloh1:
ldr x8, [x8, _active_cache@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
ldr x22, [x8, w0, uxtw #3]
ldr w0, [x22, #8]
bl _S_ISGITLINK
cbz x0, LBB0_8
; %bb.2:
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
add x2, sp, #12
mov x0, x19
bl _resolve_gitlink_ref
tbnz x0, #63, LBB0_15
; %bb.3:
mov x0, x22
b LBB0_7
LBB0_4:
mvn w8, w0
Lloh5:
adrp x22, _active_nr@GOTPAGE
Lloh6:
ldr x22, [x22, _active_nr@GOTPAGEOFF]
ldr w9, [x22]
cmp w9, w8
b.ge LBB0_9
LBB0_5:
Lloh7:
adrp x1, l_.str@PAGE
Lloh8:
add x1, x1, l_.str@PAGEOFF
add x2, sp, #12
mov x0, x19
bl _resolve_gitlink_ref
cbz x0, LBB0_7
; %bb.6:
Lloh9:
adrp x0, l_.str.2@PAGE
Lloh10:
add x0, x0, l_.str.2@PAGEOFF
mov x1, x19
bl _error
b LBB0_16
LBB0_7:
mov x1, x19
mov x2, x21
mov x3, x20
bl _add_one_path
b LBB0_16
LBB0_8:
mov x0, x19
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
b _remove_one_path
LBB0_9:
mov w9, #-2 ; =0xfffffffe
sub w23, w9, w0
ubfiz x24, x8, #3, #32
Lloh11:
adrp x25, _active_cache@GOTPAGE
Lloh12:
ldr x25, [x25, _active_cache@GOTPAGEOFF]
b LBB0_11
LBB0_10: ; in Loop: Header=BB0_11 Depth=1
ldr w8, [x22]
add w23, w23, #1
add x24, x24, #8
cmp w8, w23
b.le LBB0_5
LBB0_11: ; =>This Inner Loop Header: Depth=1
ldr x8, [x25]
ldr x26, [x8, x24]
ldr x0, [x26]
mov x1, x19
mov x2, x21
bl _strncmp
cbnz x0, LBB0_10
; %bb.12: ; in Loop: Header=BB0_11 Depth=1
ldr x8, [x26]
ldrsb w8, [x8, w21, sxtw]
cmp w8, #47
b.gt LBB0_5
; %bb.13: ; in Loop: Header=BB0_11 Depth=1
b.ne LBB0_10
; %bb.14:
Lloh13:
adrp x0, l_.str.1@PAGE
Lloh14:
add x0, x0, l_.str.1@PAGEOFF
mov x1, x19
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
b _error
LBB0_15:
mov w0, #0 ; =0x0
LBB0_16:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpAdd Lloh13, Lloh14
.cfi_endproc
; -- End function
.comm _active_cache,8,3 ; @active_cache
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "HEAD"
.comm _active_nr,4,2 ; @active_nr
l_.str.1: ; @.str.1
.asciz "%s: is a directory - add individual files instead"
l_.str.2: ; @.str.2
.asciz "%s: is a directory - add files inside instead"
.no_dead_strip _process_directory
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function runScript
_runScript: ## @runScript
.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 $1208, %rsp ## imm = 0x4B8
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, -1152(%rbp) ## 8-byte Spill
movq %rdx, %r12
movl %esi, %r13d
movl %edi, -1116(%rbp) ## 4-byte Spill
movq %rsp, -1248(%rbp) ## 8-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movl $1, -1124(%rbp)
movq _MX_ARG@GOTPCREL(%rip), %rax
movl (%rax), %eax
imulq $100, %rax, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r14
leaq -1132(%rbp), %rbx
movq %rbx, %rdi
xorl %esi, %esi
movl $8, %edx
callq _memset
movq %rbx, %rdi
callq _stringReset
movzbl (%r12), %r15d
testb %r15b, %r15b
je LBB0_128
## %bb.1:
movq %r14, -1144(%rbp) ## 8-byte Spill
leaq 100(%r14), %rax
movq %rax, -1200(%rbp) ## 8-byte Spill
leaq 2(%r12), %rax
movq %rax, -1232(%rbp) ## 8-byte Spill
movq %r12, %rbx
xorl %esi, %esi
movl $0, -1176(%rbp) ## 4-byte Folded Spill
movq %r12, -1112(%rbp) ## 8-byte Spill
movl %r13d, -1184(%rbp) ## 4-byte Spill
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_4 Depth 2
## Child Loop BB0_14 Depth 2
## Child Loop BB0_15 Depth 3
## Child Loop BB0_23 Depth 2
## Child Loop BB0_83 Depth 2
## Child Loop BB0_76 Depth 2
## Child Loop BB0_91 Depth 2
## Child Loop BB0_50 Depth 2
## Child Loop BB0_59 Depth 2
movl %esi, %r13d
jmp LBB0_4
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_4 Depth=2
addl %r14d, %r13d
movslq %r13d, %rax
leaq (%r12,%rax), %rbx
movzbl (%r12,%rax), %r15d
testb %r15b, %r15b
je LBB0_125
LBB0_4: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movl %r13d, %r14d
movl -1124(%rbp), %eax
movl %eax, -1120(%rbp) ## 4-byte Spill
movq %rbx, %rdi
leaq -1124(%rbp), %rsi
callq _tokenLength
movl %eax, %r13d
movsbl %r15b, %r12d
movl %r12d, %edi
callq _ISSPACE
testq %rax, %rax
sete %al
cmpb $45, %r12b
movq -1112(%rbp), %r12 ## 8-byte Reload
sete %cl
testb %cl, %al
je LBB0_3
## %bb.5: ## in Loop: Header=BB0_4 Depth=2
cmpb $45, 1(%rbx)
jne LBB0_3
## %bb.6: ## in Loop: Header=BB0_4 Depth=2
movslq %r14d, %r15
movsbl 2(%r12,%r15), %edi
callq _isalpha
testl %eax, %eax
je LBB0_3
## %bb.7: ## in Loop: Header=BB0_2 Depth=1
movl %r14d, %esi
movl -1176(%rbp), %eax ## 4-byte Reload
subl %eax, %esi
jle LBB0_9
## %bb.8: ## in Loop: Header=BB0_2 Depth=1
movslq %eax, %rdx
addq %r12, %rdx
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _sqlite3_mprintf
movq %rax, %r12
leaq -1132(%rbp), %rdi
movq %rax, %rsi
callq _evalSql
movq %r12, %rdi
movq -1112(%rbp), %r12 ## 8-byte Reload
callq _sqlite3_free
leal (%r14,%r13), %eax
movl %eax, -1176(%rbp) ## 4-byte Spill
LBB0_9: ## in Loop: Header=BB0_2 Depth=1
movl %r13d, -1092(%rbp) ## 4-byte Spill
movq _g@GOTPCREL(%rip), %rax
cmpl $2, (%rax)
jl LBB0_11
## %bb.10: ## in Loop: Header=BB0_2 Depth=1
leaq L_.str(%rip), %rdi
movl -1092(%rbp), %esi ## 4-byte Reload
movq %rbx, %rdx
xorl %eax, %eax
callq _logMessage
LBB0_11: ## in Loop: Header=BB0_2 Depth=1
leaq 2(%rbx), %rdi
leal -2(%r13), %esi
movl %esi, -1164(%rbp) ## 4-byte Spill
movq %rdi, -1224(%rbp) ## 8-byte Spill
leaq -80(%rbp), %rdx
movl $30, %ecx
callq _extractToken
movl -1164(%rbp), %edi ## 4-byte Reload
movl %eax, %r8d
cmpl %edi, %eax
setle %cl
movq _MX_ARG@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, %eax
setg %dl
andb %cl, %dl
xorl %esi, %esi
cmpb $1, %dl
movq %r14, -1104(%rbp) ## 8-byte Spill
jne LBB0_21
## %bb.12: ## in Loop: Header=BB0_2 Depth=1
cmpl %edi, %r8d
jge LBB0_19
## %bb.13: ## in Loop: Header=BB0_2 Depth=1
movslq %edi, %rcx
movq -1232(%rbp), %rax ## 8-byte Reload
leaq (%rax,%r15), %rdx
xorl %esi, %esi
movq %rcx, -1216(%rbp) ## 8-byte Spill
movq %rdx, -1208(%rbp) ## 8-byte Spill
LBB0_14: ## Parent Loop BB0_2 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_15 Depth 3
movq %rsi, -1160(%rbp) ## 8-byte Spill
movl %r8d, -1180(%rbp) ## 4-byte Spill
movslq %r8d, %r12
leaq (%rdx,%r12), %rax
movq %rax, -1192(%rbp) ## 8-byte Spill
subq %r12, %rcx
movq %rcx, -1240(%rbp) ## 8-byte Spill
shlq $32, %r12
xorl %r14d, %r14d
.p2align 4, 0x90
LBB0_15: ## Parent Loop BB0_2 Depth=1
## Parent Loop BB0_14 Depth=2
## => This Inner Loop Header: Depth=3
movq -1192(%rbp), %rax ## 8-byte Reload
movsbl (%rax,%r14), %edi
callq _ISSPACE
testq %rax, %rax
je LBB0_17
## %bb.16: ## in Loop: Header=BB0_15 Depth=3
movabsq $4294967296, %rax ## imm = 0x100000000
addq %rax, %r12
incq %r14
cmpq %r14, -1240(%rbp) ## 8-byte Folded Reload
jne LBB0_15
jmp LBB0_20
LBB0_17: ## in Loop: Header=BB0_14 Depth=2
sarq $32, %r12
addq -1224(%rbp), %r12 ## 8-byte Folded Reload
movl -1164(%rbp), %esi ## 4-byte Reload
subl -1180(%rbp), %esi ## 4-byte Folded Reload
subl %r14d, %esi
imulq $100, -1160(%rbp), %rdx ## 8-byte Folded Reload
addq -1144(%rbp), %rdx ## 8-byte Folded Reload
movq %r12, %rdi
movl $100, %ecx
callq _extractToken
movl -1180(%rbp), %r8d ## 4-byte Reload
movl -1164(%rbp), %edi ## 4-byte Reload
movq -1160(%rbp), %rsi ## 8-byte Reload
addl %r14d, %r8d
addl %eax, %r8d
incq %rsi
movq _MX_ARG@GOTPCREL(%rip), %rax
movl (%rax), %eax
cmpl %edi, %r8d
jge LBB0_80
## %bb.18: ## in Loop: Header=BB0_14 Depth=2
movslq %eax, %rcx
cmpq %rcx, %rsi
movq -1112(%rbp), %r12 ## 8-byte Reload
movq -1216(%rbp), %rcx ## 8-byte Reload
movq -1208(%rbp), %rdx ## 8-byte Reload
jl LBB0_14
jmp LBB0_21
LBB0_19: ## in Loop: Header=BB0_2 Depth=1
xorl %esi, %esi
cmpl %eax, %esi
jge LBB0_24
jmp LBB0_22
LBB0_20: ## in Loop: Header=BB0_2 Depth=1
movq _MX_ARG@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq -1112(%rbp), %r12 ## 8-byte Reload
movq -1160(%rbp), %rsi ## 8-byte Reload
LBB0_21: ## in Loop: Header=BB0_2 Depth=1
cmpl %eax, %esi
jge LBB0_24
LBB0_22: ## in Loop: Header=BB0_2 Depth=1
movl %esi, %ecx
imulq $100, %rcx, %rcx
addq -1144(%rbp), %rcx ## 8-byte Folded Reload
movl %esi, %edx
.p2align 4, 0x90
LBB0_23: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movb $0, (%rcx)
addq $200, %rcx
addl $2, %edx
cmpl %edx, %eax
jg LBB0_23
LBB0_24: ## in Loop: Header=BB0_2 Depth=1
movq %rsi, -1160(%rbp) ## 8-byte Spill
leaq -80(%rbp), %r14
movq %r14, %rdi
leaq L_.str.1(%rip), %rsi
callq _strcmp
testq %rax, %rax
je LBB0_30
## %bb.25: ## in Loop: Header=BB0_2 Depth=1
movq %r14, %rdi
leaq L_.str.2(%rip), %rsi
callq _strcmp
testq %rax, %rax
je LBB0_131
## %bb.26: ## in Loop: Header=BB0_2 Depth=1
movq %r14, %rdi
leaq L_.str.3(%rip), %rsi
callq _strcmp
testq %rax, %rax
je LBB0_31
## %bb.27: ## in Loop: Header=BB0_2 Depth=1
movq %r14, %rdi
leaq L_.str.4(%rip), %rsi
callq _strcmp
cmpl $0, -1116(%rbp) ## 4-byte Folded Reload
jle LBB0_34
## %bb.28: ## in Loop: Header=BB0_2 Depth=1
testq %rax, %rax
jne LBB0_34
## %bb.29: ## in Loop: Header=BB0_2 Depth=1
movl -1116(%rbp), %edi ## 4-byte Reload
movl -1184(%rbp), %esi ## 4-byte Reload
movl $1, %edx
callq _finishScript
jmp LBB0_68
LBB0_30: ## in Loop: Header=BB0_2 Depth=1
movq -1144(%rbp), %rdi ## 8-byte Reload
callq _atoi
movl %eax, %edi
callq _sqlite3_sleep
jmp LBB0_68
LBB0_31: ## in Loop: Header=BB0_2 Depth=1
movq _g@GOTPCREL(%rip), %rax
cmpl $1, (%rax)
movq -1104(%rbp), %r14 ## 8-byte Reload
jne LBB0_33
## %bb.32: ## in Loop: Header=BB0_2 Depth=1
decl %r13d
leaq L_.str(%rip), %rdi
movl %r13d, %esi
movq %rbx, %rdx
xorl %eax, %eax
callq _logMessage
LBB0_33: ## in Loop: Header=BB0_2 Depth=1
leaq -1132(%rbp), %rdi
callq _stringReset
jmp LBB0_69
LBB0_34: ## in Loop: Header=BB0_2 Depth=1
leaq -80(%rbp), %rdi
leaq L_.str.5(%rip), %rsi
callq _strcmp
testq %rax, %rax
leaq L_.str.6(%rip), %rsi
leaq L_.str.8(%rip), %r14
je LBB0_67
## %bb.35: ## in Loop: Header=BB0_2 Depth=1
leaq -80(%rbp), %rdi
callq _strcmp
testq %rax, %rax
je LBB0_57
## %bb.36: ## in Loop: Header=BB0_2 Depth=1
leaq -80(%rbp), %rdi
movq %r14, %rsi
callq _strcmp
testq %rax, %rax
leaq L_.str.9(%rip), %rsi
je LBB0_48
## %bb.37: ## in Loop: Header=BB0_2 Depth=1
leaq -80(%rbp), %rdi
callq _strcmp
testq %rax, %rax
je LBB0_48
## %bb.38: ## in Loop: Header=BB0_2 Depth=1
leaq -80(%rbp), %rdi
leaq L_.str.11(%rip), %rsi
callq _strcmp
testq %rax, %rax
je LBB0_71
## %bb.39: ## in Loop: Header=BB0_2 Depth=1
leaq -80(%rbp), %rdi
leaq L_.str.13(%rip), %rsi
callq _strcmp
testq %rax, %rax
leaq L_.str.14(%rip), %r14
je LBB0_72
## %bb.40: ## in Loop: Header=BB0_2 Depth=1
movl %r13d, %r12d
leaq -80(%rbp), %rdi
leaq L_.str.17(%rip), %rsi
callq _strcmp
testq %rax, %rax
je LBB0_74
## %bb.41: ## in Loop: Header=BB0_2 Depth=1
leaq -80(%rbp), %rdi
leaq L_.str.18(%rip), %rsi
callq _strcmp
testq %rax, %rax
je LBB0_81
## %bb.42: ## in Loop: Header=BB0_2 Depth=1
leaq -80(%rbp), %r14
movq %r14, %rdi
leaq L_.str.20(%rip), %rsi
callq _strcmp
testq %rax, %rax
je LBB0_95
## %bb.43: ## in Loop: Header=BB0_2 Depth=1
movq %r14, %rdi
leaq L_.str.21(%rip), %rsi
callq _strcmp
testq %rax, %rax
movq -1112(%rbp), %r12 ## 8-byte Reload
je LBB0_68
## %bb.44: ## in Loop: Header=BB0_2 Depth=1
movq %r14, %rdi
leaq L_.str.22(%rip), %rsi
callq _strcmp
cmpl $0, -1116(%rbp) ## 4-byte Folded Reload
jne LBB0_97
## %bb.45: ## in Loop: Header=BB0_2 Depth=1
testq %rax, %rax
jne LBB0_97
## %bb.46: ## in Loop: Header=BB0_2 Depth=1
movq -1144(%rbp), %rdi ## 8-byte Reload
callq _atoi
testl %eax, %eax
jle LBB0_68
## %bb.47: ## in Loop: Header=BB0_2 Depth=1
movl %eax, %edi
callq _startClient
jmp LBB0_68
LBB0_48: ## in Loop: Header=BB0_2 Depth=1
movzbl -80(%rbp), %ecx
xorl %eax, %eax
cmpb $103, %cl
setne %al
leal (%rax,%rax,2), %r15d
addl $6, %r15d
leal -1(%r13), %r14d
cmpl %r14d, %r15d
jge LBB0_54
## %bb.49: ## in Loop: Header=BB0_2 Depth=1
movb %cl, -1192(%rbp) ## 1-byte Spill
movl %r15d, %r15d
movl %r14d, %r12d
LBB0_50: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movsbl (%rbx,%r15), %edi
callq _ISSPACE
testq %rax, %rax
je LBB0_53
## %bb.51: ## in Loop: Header=BB0_50 Depth=2
incq %r15
cmpq %r15, %r12
jne LBB0_50
## %bb.52: ## in Loop: Header=BB0_2 Depth=1
movl %r14d, %r15d
LBB0_53: ## in Loop: Header=BB0_2 Depth=1
movq -1112(%rbp), %r12 ## 8-byte Reload
movzbl -1192(%rbp), %ecx ## 1-byte Folded Reload
LBB0_54: ## in Loop: Header=BB0_2 Depth=1
cmpb $103, %cl
sete %r14b
movl %r15d, %eax
addq %rax, %rbx
notl %r15d
addl %r15d, %r13d
leaq L_.str(%rip), %rdi
movl %r13d, %esi
movq %rbx, %rdx
xorl %eax, %eax
callq _sqlite3_mprintf
movq %rax, %rbx
movl -1128(%rbp), %esi
movq %rax, %rdi
callq _sqlite3_strglob
testq %rax, %rax
sete %al
cmpb %al, %r14b
je LBB0_56
## %bb.55: ## in Loop: Header=BB0_2 Depth=1
movl -1128(%rbp), %r8d
leaq L_.str.10(%rip), %rdi
movl -1120(%rbp), %esi ## 4-byte Reload
movq -1152(%rbp), %rdx ## 8-byte Reload
movq %rbx, %rcx
xorl %eax, %eax
callq _errorMessage
LBB0_56: ## in Loop: Header=BB0_2 Depth=1
movq %rbx, %rdi
callq _sqlite3_free
jmp LBB0_66
LBB0_57: ## in Loop: Header=BB0_2 Depth=1
movl $7, %r14d
cmpl $9, %r13d
jl LBB0_63
## %bb.58: ## in Loop: Header=BB0_2 Depth=1
leal -1(%r13), %r14d
movl %r14d, %r12d
movl $7, %r15d
LBB0_59: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movsbl (%rbx,%r15), %edi
callq _ISSPACE
testq %rax, %rax
je LBB0_61
## %bb.60: ## in Loop: Header=BB0_59 Depth=2
incq %r15
cmpq %r15, %r12
jne LBB0_59
jmp LBB0_62
LBB0_61: ## in Loop: Header=BB0_2 Depth=1
movl %r15d, %r14d
LBB0_62: ## in Loop: Header=BB0_2 Depth=1
movq -1112(%rbp), %r12 ## 8-byte Reload
LBB0_63: ## in Loop: Header=BB0_2 Depth=1
movl %r14d, %eax
addq %rax, %rbx
notl %r14d
addl %r14d, %r13d
cmpl -1132(%rbp), %r13d
jne LBB0_65
## %bb.64: ## in Loop: Header=BB0_2 Depth=1
movl -1128(%rbp), %edi
movq %rbx, %rsi
movl %r13d, %edx
callq _strncmp
testq %rax, %rax
je LBB0_66
LBB0_65: ## in Loop: Header=BB0_2 Depth=1
movl -1128(%rbp), %r9d
leaq L_.str.7(%rip), %rdi
movl -1120(%rbp), %esi ## 4-byte Reload
movq -1152(%rbp), %rdx ## 8-byte Reload
movl %r13d, %ecx
movq %rbx, %r8
xorl %eax, %eax
callq _errorMessage
LBB0_66: ## in Loop: Header=BB0_2 Depth=1
movq _g@GOTPCREL(%rip), %r14
incl 8(%r14)
LBB0_67: ## in Loop: Header=BB0_2 Depth=1
leaq -1132(%rbp), %rdi
callq _stringReset
LBB0_68: ## in Loop: Header=BB0_2 Depth=1
movq -1104(%rbp), %r14 ## 8-byte Reload
LBB0_69: ## in Loop: Header=BB0_2 Depth=1
movl -1092(%rbp), %esi ## 4-byte Reload
LBB0_70: ## in Loop: Header=BB0_2 Depth=1
addl %r14d, %esi
movslq %esi, %rax
leaq (%r12,%rax), %rbx
movzbl (%r12,%rax), %r15d
testb %r15b, %r15b
jne LBB0_2
jmp LBB0_126
LBB0_71: ## in Loop: Header=BB0_2 Depth=1
movl -1128(%rbp), %esi
leaq L_.str.12(%rip), %rdi
xorl %eax, %eax
callq _logMessage
jmp LBB0_68
LBB0_72: ## in Loop: Header=BB0_2 Depth=1
movq -1144(%rbp), %r15 ## 8-byte Reload
movsbl (%r15), %edi
callq _isDirSep
testl %eax, %eax
je LBB0_90
LBB0_102: ## in Loop: Header=BB0_2 Depth=1
xorl %r13d, %r13d
LBB0_103: ## in Loop: Header=BB0_2 Depth=1
movq %r15, %rdi
callq _readFile
movq %rax, %r12
movq _g@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
leaq L_.str.16(%rip), %r14
je LBB0_105
## %bb.104: ## in Loop: Header=BB0_2 Depth=1
leaq L_.str.15(%rip), %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _logMessage
LBB0_105: ## in Loop: Header=BB0_2 Depth=1
xorl %edi, %edi
xorl %esi, %esi
movq %r12, %rdx
movq %r15, %rcx
callq _runScript
movq %r12, %rdi
callq _sqlite3_free
movq _g@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB0_107
## %bb.106: ## in Loop: Header=BB0_2 Depth=1
movq %r14, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _logMessage
LBB0_107: ## in Loop: Header=BB0_2 Depth=1
movq %r13, %rdi
callq _sqlite3_free
jmp LBB0_108
LBB0_74: ## in Loop: Header=BB0_2 Depth=1
movl $7, %r14d
cmpl $8, %r13d
jl LBB0_79
## %bb.75: ## in Loop: Header=BB0_2 Depth=1
addq -1112(%rbp), %r15 ## 8-byte Folded Reload
movl $7, %r14d
LBB0_76: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movsbl (%r15,%r14), %edi
callq _ISSPACE
testq %rax, %rax
je LBB0_79
## %bb.77: ## in Loop: Header=BB0_76 Depth=2
incq %r14
cmpq %r14, %r12
jne LBB0_76
## %bb.78: ## in Loop: Header=BB0_2 Depth=1
movl %r12d, %r14d
LBB0_79: ## in Loop: Header=BB0_2 Depth=1
subl %r14d, %r13d
movl %r14d, %eax
addq %rax, %rbx
leaq L_.str(%rip), %rdi
movl %r13d, %esi
movq %rbx, %rdx
xorl %eax, %eax
callq _logMessage
jmp LBB0_108
LBB0_80: ## in Loop: Header=BB0_2 Depth=1
movq -1112(%rbp), %r12 ## 8-byte Reload
cmpl %eax, %esi
jl LBB0_22
jmp LBB0_24
LBB0_81: ## in Loop: Header=BB0_2 Depth=1
movl $4, %r14d
cmpl $5, %r13d
jl LBB0_86
## %bb.82: ## in Loop: Header=BB0_2 Depth=1
addq -1112(%rbp), %r15 ## 8-byte Folded Reload
movl $4, %r14d
LBB0_83: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movsbl (%r15,%r14), %edi
callq _ISSPACE
testq %rax, %rax
je LBB0_86
## %bb.84: ## in Loop: Header=BB0_83 Depth=2
incq %r14
cmpq %r14, %r12
jne LBB0_83
## %bb.85: ## in Loop: Header=BB0_2 Depth=1
movl %r12d, %r14d
LBB0_86: ## in Loop: Header=BB0_2 Depth=1
movl %r13d, %esi
subl %r14d, %esi
movl %r14d, %edx
addq %rbx, %rdx
leaq L_.str.19(%rip), %rdi
callq _prepareSql
movq %rax, %r12
movq %rax, %rdi
callq _sqlite3_step
movq _SQLITE_ROW@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB0_88
## %bb.87: ## in Loop: Header=BB0_2 Depth=1
movq %r12, %rdi
xorl %esi, %esi
callq _sqlite3_column_int
testq %rax, %rax
jne LBB0_89
LBB0_88: ## in Loop: Header=BB0_2 Depth=1
movslq %r13d, %rax
addq %rax, %rbx
movq %rbx, %rdi
movl $1, %esi
leaq -1124(%rbp), %rdx
callq _findEndif
movq -1104(%rbp), %rcx ## 8-byte Reload
addl %eax, %ecx
movq %rcx, -1104(%rbp) ## 8-byte Spill
LBB0_89: ## in Loop: Header=BB0_2 Depth=1
movq %r12, %rdi
callq _sqlite3_finalize
LBB0_108: ## in Loop: Header=BB0_2 Depth=1
movq -1112(%rbp), %r12 ## 8-byte Reload
jmp LBB0_68
LBB0_90: ## in Loop: Header=BB0_2 Depth=1
movq -1152(%rbp), %rdi ## 8-byte Reload
callq _strlen
movl %eax, %ebx
LBB0_91: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
testl %ebx, %ebx
jle LBB0_102
## %bb.92: ## in Loop: Header=BB0_91 Depth=2
movq -1152(%rbp), %rax ## 8-byte Reload
movsbl -1(%rax,%rbx), %edi
decq %rbx
callq _isDirSep
testl %eax, %eax
je LBB0_91
## %bb.93: ## in Loop: Header=BB0_2 Depth=1
testq %rbx, %rbx
je LBB0_102
## %bb.94: ## in Loop: Header=BB0_2 Depth=1
movq %r14, %rdi
movl %ebx, %esi
movq -1152(%rbp), %rdx ## 8-byte Reload
movq %r15, %rcx
xorl %eax, %eax
callq _sqlite3_mprintf
movq %rax, %r15
movq %rax, %r13
jmp LBB0_103
LBB0_95: ## in Loop: Header=BB0_2 Depth=1
movslq %r13d, %rax
addq %rax, %rbx
movq %rbx, %rdi
xorl %esi, %esi
leaq -1124(%rbp), %rdx
callq _findEndif
movq -1104(%rbp), %r14 ## 8-byte Reload
addl %eax, %r14d
movq -1112(%rbp), %r12 ## 8-byte Reload
jmp LBB0_69
LBB0_97: ## in Loop: Header=BB0_2 Depth=1
movq %r14, %rdi
leaq L_.str.23(%rip), %rsi
callq _strcmp
cmpl $0, -1116(%rbp) ## 4-byte Folded Reload
jne LBB0_109
## %bb.98: ## in Loop: Header=BB0_2 Depth=1
testq %rax, %rax
jne LBB0_109
## %bb.99: ## in Loop: Header=BB0_2 Depth=1
movl $10000, %ebx ## imm = 0x2710
cmpl $2, -1160(%rbp) ## 4-byte Folded Reload
jb LBB0_101
## %bb.100: ## in Loop: Header=BB0_2 Depth=1
movq -1200(%rbp), %rdi ## 8-byte Reload
callq _atoi
movl %eax, %ebx
LBB0_101: ## in Loop: Header=BB0_2 Depth=1
movl $1000, %edi ## imm = 0x3E8
leaq -1088(%rbp), %r14
movq %r14, %rsi
leaq L_.str.24(%rip), %rdx
movl -1120(%rbp), %ecx ## 4-byte Reload
movq -1152(%rbp), %r8 ## 8-byte Reload
callq _sqlite3_snprintf
movq -1144(%rbp), %rdi ## 8-byte Reload
callq _atoi
movl %eax, %edi
movl %ebx, %esi
movq %r14, %rdx
callq _waitForClient
jmp LBB0_68
LBB0_109: ## in Loop: Header=BB0_2 Depth=1
movq _g@GOTPCREL(%rip), %r14
leaq -80(%rbp), %rdi
leaq L_.str.25(%rip), %rsi
callq _strcmp
cmpl $0, -1116(%rbp) ## 4-byte Folded Reload
jne LBB0_114
## %bb.110: ## in Loop: Header=BB0_2 Depth=1
testq %rax, %rax
jne LBB0_114
## %bb.111: ## in Loop: Header=BB0_2 Depth=1
movq -1144(%rbp), %rdi ## 8-byte Reload
callq _atoi
movl %eax, %r12d
movslq %r13d, %rax
addq %rax, %rbx
movq %rbx, %rdi
leaq -1124(%rbp), %rsi
callq _findEnd
movl %eax, %r14d
testl %r12d, %r12d
js LBB0_118
## %bb.112: ## in Loop: Header=BB0_2 Depth=1
leaq L_.str(%rip), %rdi
movl %r14d, %esi
movq %rbx, %rdx
xorl %eax, %eax
callq _sqlite3_mprintf
movq %rax, -1176(%rbp) ## 8-byte Spill
cmpl $2, -1160(%rbp) ## 4-byte Folded Reload
jb LBB0_119
## %bb.113: ## in Loop: Header=BB0_2 Depth=1
leaq L_.str.12(%rip), %rdi
movq -1200(%rbp), %rsi ## 8-byte Reload
xorl %eax, %eax
callq _sqlite3_mprintf
jmp LBB0_120
LBB0_114: ## in Loop: Header=BB0_2 Depth=1
leaq -80(%rbp), %rdi
leaq L_.str.29(%rip), %rsi
callq _strcmp
testq %rax, %rax
je LBB0_117
## %bb.115: ## in Loop: Header=BB0_2 Depth=1
leaq -80(%rbp), %rdi
leaq L_.str.30(%rip), %rsi
callq _strcmp
testq %rax, %rax
je LBB0_122
## %bb.116: ## in Loop: Header=BB0_2 Depth=1
leaq L_.str.31(%rip), %rdi
movl -1120(%rbp), %esi ## 4-byte Reload
movq -1152(%rbp), %rdx ## 8-byte Reload
leaq -80(%rbp), %rcx
xorl %eax, %eax
callq _errorMessage
jmp LBB0_108
LBB0_117: ## in Loop: Header=BB0_2 Depth=1
xorl %eax, %eax
callq _test_breakpoint
jmp LBB0_108
LBB0_118: ## in Loop: Header=BB0_2 Depth=1
leaq L_.str.26(%rip), %rdi
movl -1120(%rbp), %esi ## 4-byte Reload
movq -1152(%rbp), %rdx ## 8-byte Reload
movl %r12d, %ecx
xorl %eax, %eax
callq _errorMessage
jmp LBB0_121
LBB0_119: ## in Loop: Header=BB0_2 Depth=1
movq -1152(%rbp), %rdi ## 8-byte Reload
callq _filenameTail
leaq L_.str.27(%rip), %rdi
movl %eax, %esi
movl -1120(%rbp), %edx ## 4-byte Reload
xorl %eax, %eax
callq _sqlite3_mprintf
LBB0_120: ## in Loop: Header=BB0_2 Depth=1
movq %rax, %r15
movl %r12d, %edi
callq _startClient
leaq L_.str.28(%rip), %rdi
movl %r12d, %esi
movq -1176(%rbp), %r12 ## 8-byte Reload
movq %r12, %rdx
movq %r15, %rcx
xorl %eax, %eax
callq _runSql
movq %r12, %rdi
callq _sqlite3_free
movq %r15, %rdi
callq _sqlite3_free
LBB0_121: ## in Loop: Header=BB0_2 Depth=1
movslq %r14d, %rax
addq %rax, %rbx
movq %rbx, %rdi
leaq -1124(%rbp), %rsi
callq _tokenLength
addl %r14d, %r13d
addl %eax, %r13d
movq -1104(%rbp), %rax ## 8-byte Reload
leal (%rax,%r13), %ecx
movl %ecx, -1176(%rbp) ## 4-byte Spill
movl %r13d, %esi
movq %rax, %r14
movq -1112(%rbp), %r12 ## 8-byte Reload
jmp LBB0_70
LBB0_122: ## in Loop: Header=BB0_2 Depth=1
cmpl $0, -1160(%rbp) ## 4-byte Folded Reload
je LBB0_124
## %bb.123: ## in Loop: Header=BB0_2 Depth=1
movq -1144(%rbp), %rdi ## 8-byte Reload
callq _booleanValue
xorl %ecx, %ecx
testl %eax, %eax
sete %cl
movl %ecx, 4(%r14)
jmp LBB0_108
LBB0_124: ## in Loop: Header=BB0_2 Depth=1
movl $1, %ecx
movl %ecx, 4(%r14)
jmp LBB0_108
LBB0_125:
movl %r13d, %esi
LBB0_126:
movl -1176(%rbp), %eax ## 4-byte Reload
subl %eax, %esi
jle LBB0_128
## %bb.127:
cltq
addq %rax, %r12
leaq L_.str(%rip), %rdi
movq %r12, %rdx
xorl %eax, %eax
callq _sqlite3_mprintf
movq %rax, %rbx
movq %rax, %rdi
xorl %eax, %eax
callq _runSql
movq %rbx, %rdi
callq _sqlite3_free
LBB0_128:
leaq -1132(%rbp), %rdi
callq _stringFree
movq -1248(%rbp), %rsp ## 8-byte Reload
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_130
## %bb.129:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_130:
callq ___stack_chk_fail
LBB0_131:
movq _g@GOTPCREL(%rip), %r14
movq -1144(%rbp), %rdi ## 8-byte Reload
callq _atoi
movl %eax, %ebx
movl -1116(%rbp), %edi ## 4-byte Reload
movl -1184(%rbp), %esi ## 4-byte Reload
movl $1, %edx
callq _finishScript
testl %ebx, %ebx
jne LBB0_133
## %bb.132:
movl 12(%r14), %edi
callq _sqlite3_close
LBB0_133:
movl %ebx, %edi
callq _exit
.cfi_endproc
## -- End function
.comm _MX_ARG,4,2 ## @MX_ARG
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%.*s"
.comm _g,16,2 ## @g
L_.str.1: ## @.str.1
.asciz "sleep"
L_.str.2: ## @.str.2
.asciz "exit"
L_.str.3: ## @.str.3
.asciz "testcase"
L_.str.4: ## @.str.4
.asciz "finish"
L_.str.5: ## @.str.5
.asciz "reset"
L_.str.6: ## @.str.6
.asciz "match"
L_.str.7: ## @.str.7
.asciz "line %d of %s:\nExpected [%.*s]\n Got [%s]"
L_.str.8: ## @.str.8
.asciz "glob"
L_.str.9: ## @.str.9
.asciz "notglob"
L_.str.10: ## @.str.10
.asciz "line %d of %s:\nExpected [%s]\n Got [%s]"
L_.str.11: ## @.str.11
.asciz "output"
L_.str.12: ## @.str.12
.asciz "%s"
L_.str.13: ## @.str.13
.asciz "source"
L_.str.14: ## @.str.14
.asciz "%.*s/%s"
L_.str.15: ## @.str.15
.asciz "begin script [%s]\n"
L_.str.16: ## @.str.16
.asciz "end script [%s]\n"
L_.str.17: ## @.str.17
.asciz "print"
L_.str.18: ## @.str.18
.asciz "if"
L_.str.19: ## @.str.19
.asciz "SELECT %.*s"
.comm _SQLITE_ROW,4,2 ## @SQLITE_ROW
L_.str.20: ## @.str.20
.asciz "else"
L_.str.21: ## @.str.21
.asciz "endif"
L_.str.22: ## @.str.22
.asciz "start"
L_.str.23: ## @.str.23
.asciz "wait"
L_.str.24: ## @.str.24
.asciz "line %d of %s\n"
L_.str.25: ## @.str.25
.asciz "task"
L_.str.26: ## @.str.26
.asciz "line %d of %s: bad client number: %d"
L_.str.27: ## @.str.27
.asciz "%s:%d"
L_.str.28: ## @.str.28
.asciz "INSERT INTO task(client,script,name) VALUES(%d,'%q',%Q)"
L_.str.29: ## @.str.29
.asciz "breakpoint"
L_.str.30: ## @.str.30
.asciz "show-sql-errors"
L_.str.31: ## @.str.31
.asciz "line %d of %s: unknown command --%s"
.no_dead_strip _runScript
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function runScript
_runScript: ; @runScript
.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, #1184
mov x19, sp
.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, x3
mov x27, x2
mov x23, x1
mov x20, x0
mov x25, sp
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-96]
mov w8, #1 ; =0x1
Lloh3:
adrp x9, _MX_ARG@GOTPAGE
Lloh4:
ldr x9, [x9, _MX_ARG@GOTPAGEOFF]
str w8, [x19, #132]
Lloh5:
ldr w8, [x9]
mov w9, #100 ; =0x64
umull x9, w8, w9
add x8, x9, #15
and x8, x8, #0xfffffffff0
Lloh6:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh7:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
sub x24, x9, x8
mov sp, x24
add x0, x19, #124
mov w1, #0 ; =0x0
mov w2, #8 ; =0x8
bl _memset
add x0, x19, #124
bl _stringReset
ldrb w21, [x27]
cbz w21, LBB0_133
; %bb.1:
str x22, [x19, #80] ; 8-byte Folded Spill
str w20, [x19, #100] ; 4-byte Folded Spill
mov w22, #0 ; =0x0
str wzr, [x19, #112] ; 4-byte Folded Spill
str x24, [x19, #104] ; 8-byte Folded Spill
add x8, x24, #100
str x8, [x19, #72] ; 8-byte Folded Spill
add x8, x27, #2
str x8, [x19, #88] ; 8-byte Folded Spill
mov x20, x27
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
sxtw x8, w28
add x22, x8, w22, sxtw
add x20, x27, x22
ldrb w21, [x20]
cbz w21, LBB0_131
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_15 Depth 2
; Child Loop BB0_16 Depth 3
; Child Loop BB0_25 Depth 2
; Child Loop BB0_28 Depth 2
; Child Loop BB0_84 Depth 2
; Child Loop BB0_79 Depth 2
; Child Loop BB0_88 Depth 2
; Child Loop BB0_54 Depth 2
; Child Loop BB0_63 Depth 2
ldr w26, [x19, #132]
add x1, x19, #132
mov x0, x20
bl _tokenLength
mov x28, x0
sxtb w0, w21
bl _ISSPACE
cbnz x0, LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
and w8, w21, #0xff
cmp w8, #45
b.ne LBB0_2
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
ldrb w8, [x20, #1]
cmp w8, #45
b.ne LBB0_2
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
mov x8, x22
sxtw x24, w8
add x8, x27, x24
ldrsb w0, [x8, #2]
bl _isalpha
cbz w0, LBB0_2
; %bb.7: ; in Loop: Header=BB0_3 Depth=1
ldr w9, [x19, #112] ; 4-byte Folded Reload
subs w8, w22, w9
b.le LBB0_9
; %bb.8: ; in Loop: Header=BB0_3 Depth=1
add x9, x27, w9, sxtw
stp x8, x9, [sp, #-16]!
Lloh8:
adrp x0, l_.str@PAGE
Lloh9:
add x0, x0, l_.str@PAGEOFF
bl _sqlite3_mprintf
add sp, sp, #16
mov x21, x0
add x0, x19, #124
mov x1, x21
bl _evalSql
mov x0, x21
bl _sqlite3_free
add w8, w28, w22
str w8, [x19, #112] ; 4-byte Folded Spill
LBB0_9: ; in Loop: Header=BB0_3 Depth=1
Lloh10:
adrp x8, _g@GOTPAGE
Lloh11:
ldr x8, [x8, _g@GOTPAGEOFF]
Lloh12:
ldr w8, [x8]
cmp w8, #2
b.lt LBB0_11
; %bb.10: ; in Loop: Header=BB0_3 Depth=1
mov x8, x28
stp x8, x20, [sp, #-16]!
Lloh13:
adrp x0, l_.str@PAGE
Lloh14:
add x0, x0, l_.str@PAGEOFF
bl _logMessage
add sp, sp, #16
LBB0_11: ; in Loop: Header=BB0_3 Depth=1
add x0, x20, #2
sub w21, w28, #2
sub x2, x29, #126
str x0, [x19, #64] ; 8-byte Folded Spill
mov x1, x21
mov w3, #30 ; =0x1e
bl _extractToken
mov x10, x21
; kill: def $w0 killed $w0 def $x0
mov w21, #0 ; =0x0
Lloh15:
adrp x8, _MX_ARG@GOTPAGE
Lloh16:
ldr x8, [x8, _MX_ARG@GOTPAGEOFF]
Lloh17:
ldr w8, [x8]
cmp w0, w10
b.gt LBB0_21
; %bb.12: ; in Loop: Header=BB0_3 Depth=1
cmp w8, #1
b.lt LBB0_21
; %bb.13: ; in Loop: Header=BB0_3 Depth=1
cmp w0, w10
b.ge LBB0_20
; %bb.14: ; in Loop: Header=BB0_3 Depth=1
str w23, [x19, #52] ; 4-byte Folded Spill
stp x27, x25, [x19, #32] ; 16-byte Folded Spill
mov x21, #0 ; =0x0
sxtw x9, w10
ldr x8, [x19, #88] ; 8-byte Folded Reload
add x11, x8, x24
stp x9, x10, [x19, #16] ; 16-byte Folded Spill
str x11, [x19, #8] ; 8-byte Folded Spill
LBB0_15: ; Parent Loop BB0_3 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_16 Depth 3
str x21, [x19, #56] ; 8-byte Folded Spill
sxtw x8, w0
sbfiz x23, x0, #32, #32
neg w25, w0
add x27, x11, x8
sub x21, x9, x8
LBB0_16: ; Parent Loop BB0_3 Depth=1
; Parent Loop BB0_15 Depth=2
; => This Inner Loop Header: Depth=3
ldrsb w0, [x27], #1
bl _ISSPACE
cbz x0, LBB0_18
; %bb.17: ; in Loop: Header=BB0_16 Depth=3
mov x8, #4294967296 ; =0x100000000
add x23, x23, x8
sub w25, w25, #1
sub x21, x21, #1
cbnz x21, LBB0_16
b LBB0_29
LBB0_18: ; in Loop: Header=BB0_15 Depth=2
ldp x10, x8, [x19, #56] ; 16-byte Folded Reload
add x0, x8, x23, asr #32
ldr x8, [x19, #104] ; 8-byte Folded Reload
mov w9, #100 ; =0x64
madd x2, x10, x9, x8
mov x1, x21
mov x21, x10
mov w3, #100 ; =0x64
bl _extractToken
add x21, x21, #1
Lloh18:
adrp x8, _MX_ARG@GOTPAGE
Lloh19:
ldr x8, [x8, _MX_ARG@GOTPAGEOFF]
Lloh20:
ldr w8, [x8]
sxtw x9, w8
sub w0, w0, w25
ldr x10, [x19, #24] ; 8-byte Folded Reload
cmp w0, w10
ccmp x21, x9, #0, lt
ldp x11, x9, [x19, #8] ; 16-byte Folded Reload
b.lt LBB0_15
; %bb.19: ; in Loop: Header=BB0_3 Depth=1
ldp x27, x25, [x19, #32] ; 16-byte Folded Reload
ldr w23, [x19, #52] ; 4-byte Folded Reload
cmp w21, w8
b.lt LBB0_22
b LBB0_30
LBB0_20: ; in Loop: Header=BB0_3 Depth=1
mov x21, #0 ; =0x0
LBB0_21: ; in Loop: Header=BB0_3 Depth=1
cmp w21, w8
b.ge LBB0_30
LBB0_22: ; in Loop: Header=BB0_3 Depth=1
mov w12, w21
add w9, w21, #2
cmp w8, w9
csel w9, w8, w9, gt
mvn w10, w21
add w9, w9, w10
cmp w9, #6
b.hs LBB0_24
; %bb.23: ; in Loop: Header=BB0_3 Depth=1
mov x9, x12
b LBB0_27
LBB0_24: ; in Loop: Header=BB0_3 Depth=1
lsr w9, w9, #1
add w10, w9, #1
and x11, x10, #0xfffffffc
add x9, x12, x11, lsl #1
ldr x13, [x19, #104] ; 8-byte Folded Reload
mov w14, #100 ; =0x64
umaddl x12, w12, w14, x13
mov x13, x11
LBB0_25: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
strb wzr, [x12]
strb wzr, [x12, #200]
strb wzr, [x12, #400]
strb wzr, [x12, #600]
add x12, x12, #800
subs x13, x13, #4
b.ne LBB0_25
; %bb.26: ; in Loop: Header=BB0_3 Depth=1
cmp x11, x10
b.eq LBB0_30
LBB0_27: ; in Loop: Header=BB0_3 Depth=1
ldr x10, [x19, #104] ; 8-byte Folded Reload
mov w11, #100 ; =0x64
madd x10, x9, x11, x10
LBB0_28: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
strb wzr, [x10], #200
add w9, w9, #2
cmp w8, w9
b.gt LBB0_28
b LBB0_30
LBB0_29: ; in Loop: Header=BB0_3 Depth=1
Lloh21:
adrp x8, _MX_ARG@GOTPAGE
Lloh22:
ldr x8, [x8, _MX_ARG@GOTPAGEOFF]
Lloh23:
ldr w8, [x8]
ldp x27, x25, [x19, #32] ; 16-byte Folded Reload
ldr w23, [x19, #52] ; 4-byte Folded Reload
ldr x21, [x19, #56] ; 8-byte Folded Reload
cmp w21, w8
b.lt LBB0_22
LBB0_30: ; in Loop: Header=BB0_3 Depth=1
sub x0, x29, #126
Lloh24:
adrp x1, l_.str.1@PAGE
Lloh25:
add x1, x1, l_.str.1@PAGEOFF
bl _strcmp
cbz x0, LBB0_36
; %bb.31: ; in Loop: Header=BB0_3 Depth=1
sub x0, x29, #126
Lloh26:
adrp x1, l_.str.2@PAGE
Lloh27:
add x1, x1, l_.str.2@PAGEOFF
bl _strcmp
cbz x0, LBB0_136
; %bb.32: ; in Loop: Header=BB0_3 Depth=1
sub x0, x29, #126
Lloh28:
adrp x1, l_.str.3@PAGE
Lloh29:
add x1, x1, l_.str.3@PAGEOFF
bl _strcmp
cbz x0, LBB0_37
; %bb.33: ; in Loop: Header=BB0_3 Depth=1
sub x0, x29, #126
Lloh30:
adrp x1, l_.str.4@PAGE
Lloh31:
add x1, x1, l_.str.4@PAGEOFF
bl _strcmp
ldr w8, [x19, #100] ; 4-byte Folded Reload
cmp w8, #1
b.lt LBB0_39
; %bb.34: ; in Loop: Header=BB0_3 Depth=1
cbnz x0, LBB0_39
; %bb.35: ; in Loop: Header=BB0_3 Depth=1
ldr w0, [x19, #100] ; 4-byte Folded Reload
mov x1, x23
mov w2, #1 ; =0x1
bl _finishScript
b LBB0_73
LBB0_36: ; in Loop: Header=BB0_3 Depth=1
ldr x0, [x19, #104] ; 8-byte Folded Reload
bl _atoi
bl _sqlite3_sleep
b LBB0_73
LBB0_37: ; in Loop: Header=BB0_3 Depth=1
Lloh32:
adrp x8, _g@GOTPAGE
Lloh33:
ldr x8, [x8, _g@GOTPAGEOFF]
Lloh34:
ldr w8, [x8]
cmp w8, #1
b.ne LBB0_72
; %bb.38: ; in Loop: Header=BB0_3 Depth=1
sub w8, w28, #1
stp x8, x20, [sp, #-16]!
Lloh35:
adrp x0, l_.str@PAGE
Lloh36:
add x0, x0, l_.str@PAGEOFF
bl _logMessage
add sp, sp, #16
b LBB0_72
LBB0_39: ; in Loop: Header=BB0_3 Depth=1
sub x0, x29, #126
Lloh37:
adrp x1, l_.str.5@PAGE
Lloh38:
add x1, x1, l_.str.5@PAGEOFF
bl _strcmp
cbz x0, LBB0_72
; %bb.40: ; in Loop: Header=BB0_3 Depth=1
sub x0, x29, #126
Lloh39:
adrp x1, l_.str.6@PAGE
Lloh40:
add x1, x1, l_.str.6@PAGEOFF
bl _strcmp
cbz x0, LBB0_61
; %bb.41: ; in Loop: Header=BB0_3 Depth=1
sub x0, x29, #126
Lloh41:
adrp x1, l_.str.8@PAGE
Lloh42:
add x1, x1, l_.str.8@PAGEOFF
bl _strcmp
cbz x0, LBB0_53
; %bb.42: ; in Loop: Header=BB0_3 Depth=1
sub x0, x29, #126
Lloh43:
adrp x1, l_.str.9@PAGE
Lloh44:
add x1, x1, l_.str.9@PAGEOFF
bl _strcmp
cbz x0, LBB0_53
; %bb.43: ; in Loop: Header=BB0_3 Depth=1
sub x0, x29, #126
Lloh45:
adrp x1, l_.str.11@PAGE
Lloh46:
add x1, x1, l_.str.11@PAGEOFF
bl _strcmp
cbz x0, LBB0_74
; %bb.44: ; in Loop: Header=BB0_3 Depth=1
sub x0, x29, #126
Lloh47:
adrp x1, l_.str.13@PAGE
Lloh48:
add x1, x1, l_.str.13@PAGEOFF
bl _strcmp
cbz x0, LBB0_75
; %bb.45: ; in Loop: Header=BB0_3 Depth=1
str x21, [x19, #56] ; 8-byte Folded Spill
mov w21, w28
sub x0, x29, #126
Lloh49:
adrp x1, l_.str.17@PAGE
Lloh50:
add x1, x1, l_.str.17@PAGEOFF
bl _strcmp
cbz x0, LBB0_77
; %bb.46: ; in Loop: Header=BB0_3 Depth=1
sub x0, x29, #126
Lloh51:
adrp x1, l_.str.18@PAGE
Lloh52:
add x1, x1, l_.str.18@PAGEOFF
bl _strcmp
cbz x0, LBB0_82
; %bb.47: ; in Loop: Header=BB0_3 Depth=1
sub x0, x29, #126
Lloh53:
adrp x1, l_.str.20@PAGE
Lloh54:
add x1, x1, l_.str.20@PAGEOFF
bl _strcmp
cbz x0, LBB0_94
; %bb.48: ; in Loop: Header=BB0_3 Depth=1
sub x0, x29, #126
Lloh55:
adrp x1, l_.str.21@PAGE
Lloh56:
add x1, x1, l_.str.21@PAGEOFF
bl _strcmp
cbz x0, LBB0_73
; %bb.49: ; in Loop: Header=BB0_3 Depth=1
sub x0, x29, #126
Lloh57:
adrp x1, l_.str.22@PAGE
Lloh58:
add x1, x1, l_.str.22@PAGEOFF
bl _strcmp
ldr w8, [x19, #100] ; 4-byte Folded Reload
cbnz w8, LBB0_107
; %bb.50: ; in Loop: Header=BB0_3 Depth=1
cbnz x0, LBB0_107
; %bb.51: ; in Loop: Header=BB0_3 Depth=1
ldr x0, [x19, #104] ; 8-byte Folded Reload
bl _atoi
cmp w0, #1
b.lt LBB0_73
; %bb.52: ; in Loop: Header=BB0_3 Depth=1
bl _startClient
b LBB0_73
LBB0_53: ; in Loop: Header=BB0_3 Depth=1
str w23, [x19, #52] ; 4-byte Folded Spill
ldurb w21, [x29, #-126]
cmp w21, #103
mov w8, #9 ; =0x9
mov w9, #6 ; =0x6
csel w23, w9, w8, eq
sub w24, w28, #1
cmp w23, w24
b.ge LBB0_57
LBB0_54: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldrsb w0, [x20, x23]
bl _ISSPACE
cbz x0, LBB0_57
; %bb.55: ; in Loop: Header=BB0_54 Depth=2
add x23, x23, #1
cmp x24, x23
b.ne LBB0_54
; %bb.56: ; in Loop: Header=BB0_3 Depth=1
mov x23, x24
LBB0_57: ; in Loop: Header=BB0_3 Depth=1
cmp w21, #103
cset w21, eq
add x8, x20, w23, uxtw
mvn w9, w23
add w9, w28, w9
stp x9, x8, [sp, #-16]!
Lloh59:
adrp x0, l_.str@PAGE
Lloh60:
add x0, x0, l_.str@PAGEOFF
bl _sqlite3_mprintf
add sp, sp, #16
mov x20, x0
ldr w1, [x19, #128]
bl _sqlite3_strglob
cmp x0, #0
cset w8, eq
cmp w21, w8
b.eq LBB0_59
; %bb.58: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [x19, #128]
stp x20, x8, [sp, #-16]!
Lloh61:
adrp x0, l_.str.10@PAGE
Lloh62:
add x0, x0, l_.str.10@PAGEOFF
mov x1, x26
ldr x2, [x19, #80] ; 8-byte Folded Reload
bl _errorMessage
add sp, sp, #16
LBB0_59: ; in Loop: Header=BB0_3 Depth=1
mov x0, x20
bl _sqlite3_free
Lloh63:
adrp x9, _g@GOTPAGE
Lloh64:
ldr x9, [x9, _g@GOTPAGEOFF]
ldr w8, [x9, #8]
add w8, w8, #1
str w8, [x9, #8]
add x0, x19, #124
bl _stringReset
LBB0_60: ; in Loop: Header=BB0_3 Depth=1
ldr w23, [x19, #52] ; 4-byte Folded Reload
b LBB0_73
LBB0_61: ; in Loop: Header=BB0_3 Depth=1
cmp w28, #9
b.lt LBB0_65
; %bb.62: ; in Loop: Header=BB0_3 Depth=1
mov x24, x23
sub w21, w28, #1
mov w23, #7 ; =0x7
LBB0_63: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldrsb w0, [x20, x23]
bl _ISSPACE
cbz x0, LBB0_66
; %bb.64: ; in Loop: Header=BB0_63 Depth=2
add x23, x23, #1
cmp x21, x23
b.ne LBB0_63
b LBB0_67
LBB0_65: ; in Loop: Header=BB0_3 Depth=1
mov w21, #7 ; =0x7
b LBB0_68
LBB0_66: ; in Loop: Header=BB0_3 Depth=1
mov x21, x23
LBB0_67: ; in Loop: Header=BB0_3 Depth=1
mov x23, x24
LBB0_68: ; in Loop: Header=BB0_3 Depth=1
add x20, x20, w21, uxtw
mvn w8, w21
ldr w9, [x19, #124]
add w21, w28, w8
cmp w21, w9
b.ne LBB0_70
; %bb.69: ; in Loop: Header=BB0_3 Depth=1
ldr w0, [x19, #128]
mov x1, x20
mov x2, x21
bl _strncmp
cbz x0, LBB0_71
LBB0_70: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [x19, #128]
sub sp, sp, #32
stp x20, x8, [sp, #8]
str x21, [sp]
Lloh65:
adrp x0, l_.str.7@PAGE
Lloh66:
add x0, x0, l_.str.7@PAGEOFF
mov x1, x26
ldr x2, [x19, #80] ; 8-byte Folded Reload
bl _errorMessage
add sp, sp, #32
LBB0_71: ; in Loop: Header=BB0_3 Depth=1
Lloh67:
adrp x9, _g@GOTPAGE
Lloh68:
ldr x9, [x9, _g@GOTPAGEOFF]
ldr w8, [x9, #8]
add w8, w8, #1
str w8, [x9, #8]
LBB0_72: ; in Loop: Header=BB0_3 Depth=1
add x0, x19, #124
bl _stringReset
LBB0_73: ; in Loop: Header=BB0_3 Depth=1
add w22, w22, w28
add x20, x27, w22, sxtw
ldrb w21, [x20]
cbnz w21, LBB0_3
b LBB0_131
LBB0_74: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [x19, #128]
str x8, [sp, #-16]!
Lloh69:
adrp x0, l_.str.12@PAGE
Lloh70:
add x0, x0, l_.str.12@PAGEOFF
bl _logMessage
add sp, sp, #16
b LBB0_73
LBB0_75: ; in Loop: Header=BB0_3 Depth=1
ldr x21, [x19, #104] ; 8-byte Folded Reload
ldrsb w0, [x21]
bl _isDirSep
cbz w0, LBB0_87
; %bb.76: ; in Loop: Header=BB0_3 Depth=1
mov x24, x23
mov x20, #0 ; =0x0
mov x23, x21
b LBB0_102
LBB0_77: ; in Loop: Header=BB0_3 Depth=1
mov x26, x23
cmp w28, #8
b.lt LBB0_92
; %bb.78: ; in Loop: Header=BB0_3 Depth=1
add x24, x27, x24
mov w23, #7 ; =0x7
LBB0_79: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldrsb w0, [x24, x23]
bl _ISSPACE
cbz x0, LBB0_93
; %bb.80: ; in Loop: Header=BB0_79 Depth=2
add x23, x23, #1
cmp x21, x23
b.ne LBB0_79
; %bb.81: ; in Loop: Header=BB0_3 Depth=1
mov x23, x21
b LBB0_93
LBB0_82: ; in Loop: Header=BB0_3 Depth=1
mov x26, x23
cmp w28, #5
b.lt LBB0_95
; %bb.83: ; in Loop: Header=BB0_3 Depth=1
add x24, x27, x24
mov w23, #4 ; =0x4
LBB0_84: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldrsb w0, [x24, x23]
bl _ISSPACE
cbz x0, LBB0_96
; %bb.85: ; in Loop: Header=BB0_84 Depth=2
add x23, x23, #1
cmp x21, x23
b.ne LBB0_84
; %bb.86: ; in Loop: Header=BB0_3 Depth=1
mov x23, x21
b LBB0_96
LBB0_87: ; in Loop: Header=BB0_3 Depth=1
ldr x0, [x19, #80] ; 8-byte Folded Reload
bl _strlen
mov w8, w0
LBB0_88: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
cmp w8, #1
b.lt LBB0_100
; %bb.89: ; in Loop: Header=BB0_88 Depth=2
sub x20, x8, #1
ldr x9, [x19, #80] ; 8-byte Folded Reload
add x8, x9, x8
ldursb w0, [x8, #-1]
bl _isDirSep
mov x8, x20
cbz w0, LBB0_88
; %bb.90: ; in Loop: Header=BB0_3 Depth=1
mov x24, x23
cbz x20, LBB0_101
; %bb.91: ; in Loop: Header=BB0_3 Depth=1
sub sp, sp, #32
ldr x8, [x19, #104] ; 8-byte Folded Reload
str x8, [sp, #16]
; kill: def $w20 killed $w20 killed $x20 def $x20
ldr x8, [x19, #80] ; 8-byte Folded Reload
stp x20, x8, [sp]
Lloh71:
adrp x0, l_.str.14@PAGE
Lloh72:
add x0, x0, l_.str.14@PAGEOFF
bl _sqlite3_mprintf
add sp, sp, #32
mov x23, x0
mov x20, x0
b LBB0_102
LBB0_92: ; in Loop: Header=BB0_3 Depth=1
mov w23, #7 ; =0x7
LBB0_93: ; in Loop: Header=BB0_3 Depth=1
sub w8, w28, w23
add x9, x20, w23, uxtw
stp x8, x9, [sp, #-16]!
Lloh73:
adrp x0, l_.str@PAGE
Lloh74:
add x0, x0, l_.str@PAGEOFF
bl _logMessage
add sp, sp, #16
mov x23, x26
b LBB0_73
LBB0_94: ; in Loop: Header=BB0_3 Depth=1
add x0, x20, w28, sxtw
add x2, x19, #132
mov w1, #0 ; =0x0
bl _findEndif
add w22, w22, w0
b LBB0_73
LBB0_95: ; in Loop: Header=BB0_3 Depth=1
mov w23, #4 ; =0x4
LBB0_96: ; in Loop: Header=BB0_3 Depth=1
sub w1, w28, w23
add x2, x20, w23, uxtw
Lloh75:
adrp x0, l_.str.19@PAGE
Lloh76:
add x0, x0, l_.str.19@PAGEOFF
bl _prepareSql
mov x21, x0
bl _sqlite3_step
Lloh77:
adrp x8, _SQLITE_ROW@GOTPAGE
Lloh78:
ldr x8, [x8, _SQLITE_ROW@GOTPAGEOFF]
Lloh79:
ldr w8, [x8]
cmp w0, w8
b.ne LBB0_98
; %bb.97: ; in Loop: Header=BB0_3 Depth=1
mov x0, x21
mov w1, #0 ; =0x0
bl _sqlite3_column_int
cbnz x0, LBB0_99
LBB0_98: ; in Loop: Header=BB0_3 Depth=1
add x0, x20, w28, sxtw
add x2, x19, #132
mov w1, #1 ; =0x1
bl _findEndif
add w22, w22, w0
LBB0_99: ; in Loop: Header=BB0_3 Depth=1
mov x23, x26
mov x0, x21
bl _sqlite3_finalize
b LBB0_73
LBB0_100: ; in Loop: Header=BB0_3 Depth=1
mov x24, x23
mov x20, #0 ; =0x0
LBB0_101: ; in Loop: Header=BB0_3 Depth=1
ldr x23, [x19, #104] ; 8-byte Folded Reload
LBB0_102: ; in Loop: Header=BB0_3 Depth=1
mov x0, x23
bl _readFile
mov x21, x0
Lloh80:
adrp x8, _g@GOTPAGE
Lloh81:
ldr x8, [x8, _g@GOTPAGEOFF]
Lloh82:
ldr w8, [x8]
cbz w8, LBB0_104
; %bb.103: ; in Loop: Header=BB0_3 Depth=1
str x23, [sp, #-16]!
Lloh83:
adrp x0, l_.str.15@PAGE
Lloh84:
add x0, x0, l_.str.15@PAGEOFF
bl _logMessage
add sp, sp, #16
LBB0_104: ; in Loop: Header=BB0_3 Depth=1
mov w0, #0 ; =0x0
mov w1, #0 ; =0x0
mov x2, x21
mov x3, x23
bl _runScript
mov x0, x21
bl _sqlite3_free
Lloh85:
adrp x8, _g@GOTPAGE
Lloh86:
ldr x8, [x8, _g@GOTPAGEOFF]
Lloh87:
ldr w8, [x8]
cbz w8, LBB0_106
; %bb.105: ; in Loop: Header=BB0_3 Depth=1
str x23, [sp, #-16]!
Lloh88:
adrp x0, l_.str.16@PAGE
Lloh89:
add x0, x0, l_.str.16@PAGEOFF
bl _logMessage
add sp, sp, #16
LBB0_106: ; in Loop: Header=BB0_3 Depth=1
mov x0, x20
bl _sqlite3_free
mov x23, x24
b LBB0_73
LBB0_107: ; in Loop: Header=BB0_3 Depth=1
sub x0, x29, #126
Lloh90:
adrp x1, l_.str.23@PAGE
Lloh91:
add x1, x1, l_.str.23@PAGEOFF
bl _strcmp
ldr w8, [x19, #100] ; 4-byte Folded Reload
cbnz w8, LBB0_111
; %bb.108: ; in Loop: Header=BB0_3 Depth=1
cbnz x0, LBB0_111
; %bb.109: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x19, #56] ; 8-byte Folded Reload
cmp w8, #2
b.lo LBB0_119
; %bb.110: ; in Loop: Header=BB0_3 Depth=1
ldr x0, [x19, #72] ; 8-byte Folded Reload
bl _atoi
mov x20, x0
b LBB0_120
LBB0_111: ; in Loop: Header=BB0_3 Depth=1
str w23, [x19, #52] ; 4-byte Folded Spill
mov x24, x25
sub x0, x29, #126
Lloh92:
adrp x1, l_.str.25@PAGE
Lloh93:
add x1, x1, l_.str.25@PAGEOFF
bl _strcmp
ldr w8, [x19, #100] ; 4-byte Folded Reload
cbnz w8, LBB0_116
; %bb.112: ; in Loop: Header=BB0_3 Depth=1
cbnz x0, LBB0_116
; %bb.113: ; in Loop: Header=BB0_3 Depth=1
ldr x0, [x19, #104] ; 8-byte Folded Reload
bl _atoi
mov x25, x0
add x23, x20, w28, sxtw
add x1, x19, #132
mov x0, x23
bl _findEnd
mov x20, x0
tbnz w25, #31, LBB0_122
; %bb.114: ; in Loop: Header=BB0_3 Depth=1
stp x20, x23, [sp, #-16]!
Lloh94:
adrp x0, l_.str@PAGE
Lloh95:
add x0, x0, l_.str@PAGEOFF
bl _sqlite3_mprintf
add sp, sp, #16
str x0, [x19, #112] ; 8-byte Folded Spill
ldr x8, [x19, #56] ; 8-byte Folded Reload
cmp w8, #2
b.lo LBB0_123
; %bb.115: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x19, #72] ; 8-byte Folded Reload
str x8, [sp, #-16]!
Lloh96:
adrp x0, l_.str.12@PAGE
Lloh97:
add x0, x0, l_.str.12@PAGEOFF
b LBB0_124
LBB0_116: ; in Loop: Header=BB0_3 Depth=1
sub x0, x29, #126
Lloh98:
adrp x1, l_.str.29@PAGE
Lloh99:
add x1, x1, l_.str.29@PAGEOFF
bl _strcmp
cbz x0, LBB0_121
; %bb.117: ; in Loop: Header=BB0_3 Depth=1
sub x0, x29, #126
Lloh100:
adrp x1, l_.str.30@PAGE
Lloh101:
add x1, x1, l_.str.30@PAGEOFF
bl _strcmp
cbz x0, LBB0_127
; %bb.118: ; in Loop: Header=BB0_3 Depth=1
sub x8, x29, #126
str x8, [sp, #-16]!
Lloh102:
adrp x0, l_.str.31@PAGE
Lloh103:
add x0, x0, l_.str.31@PAGEOFF
mov x1, x26
ldr x2, [x19, #80] ; 8-byte Folded Reload
bl _errorMessage
add sp, sp, #16
b LBB0_126
LBB0_119: ; in Loop: Header=BB0_3 Depth=1
mov w20, #10000 ; =0x2710
LBB0_120: ; in Loop: Header=BB0_3 Depth=1
add x1, x19, #138
mov w0, #1000 ; =0x3e8
Lloh104:
adrp x2, l_.str.24@PAGE
Lloh105:
add x2, x2, l_.str.24@PAGEOFF
mov x3, x26
ldr x4, [x19, #80] ; 8-byte Folded Reload
bl _sqlite3_snprintf
ldr x0, [x19, #104] ; 8-byte Folded Reload
bl _atoi
add x2, x19, #138
mov x1, x20
bl _waitForClient
b LBB0_73
LBB0_121: ; in Loop: Header=BB0_3 Depth=1
bl _test_breakpoint
b LBB0_126
LBB0_122: ; in Loop: Header=BB0_3 Depth=1
; kill: def $w25 killed $w25 killed $x25 def $x25
str x25, [sp, #-16]!
Lloh106:
adrp x0, l_.str.26@PAGE
Lloh107:
add x0, x0, l_.str.26@PAGEOFF
mov x1, x26
ldr x2, [x19, #80] ; 8-byte Folded Reload
bl _errorMessage
add sp, sp, #16
b LBB0_125
LBB0_123: ; in Loop: Header=BB0_3 Depth=1
ldr x0, [x19, #80] ; 8-byte Folded Reload
bl _filenameTail
; kill: def $w0 killed $w0 def $x0
stp x0, x26, [sp, #-16]!
Lloh108:
adrp x0, l_.str.27@PAGE
Lloh109:
add x0, x0, l_.str.27@PAGEOFF
LBB0_124: ; in Loop: Header=BB0_3 Depth=1
bl _sqlite3_mprintf
add sp, sp, #16
mov x21, x0
mov x0, x25
bl _startClient
sub sp, sp, #32
str x21, [sp, #16]
ldr x26, [x19, #112] ; 8-byte Folded Reload
stp x25, x26, [sp]
Lloh110:
adrp x0, l_.str.28@PAGE
Lloh111:
add x0, x0, l_.str.28@PAGEOFF
bl _runSql
add sp, sp, #32
mov x0, x26
bl _sqlite3_free
mov x0, x21
bl _sqlite3_free
LBB0_125: ; in Loop: Header=BB0_3 Depth=1
add x0, x23, w20, sxtw
add x1, x19, #132
bl _tokenLength
add w8, w20, w28
add w28, w8, w0
add w8, w28, w22
str w8, [x19, #112] ; 4-byte Folded Spill
LBB0_126: ; in Loop: Header=BB0_3 Depth=1
mov x25, x24
b LBB0_60
LBB0_127: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x19, #56] ; 8-byte Folded Reload
cbz w8, LBB0_129
; %bb.128: ; in Loop: Header=BB0_3 Depth=1
ldr x0, [x19, #104] ; 8-byte Folded Reload
bl _booleanValue
cmp w0, #0
cset w8, eq
b LBB0_130
LBB0_129: ; in Loop: Header=BB0_3 Depth=1
mov w8, #1 ; =0x1
LBB0_130: ; in Loop: Header=BB0_3 Depth=1
Lloh112:
adrp x9, _g@GOTPAGE
Lloh113:
ldr x9, [x9, _g@GOTPAGEOFF]
Lloh114:
str w8, [x9, #4]
b LBB0_126
LBB0_131:
ldr w9, [x19, #112] ; 4-byte Folded Reload
subs w8, w22, w9
b.le LBB0_133
; %bb.132:
add x9, x27, w9, sxtw
stp x8, x9, [sp, #-16]!
Lloh115:
adrp x0, l_.str@PAGE
Lloh116:
add x0, x0, l_.str@PAGEOFF
bl _sqlite3_mprintf
add sp, sp, #16
mov x20, x0
bl _runSql
mov x0, x20
bl _sqlite3_free
LBB0_133:
add x0, x19, #124
bl _stringFree
mov sp, x25
ldur x8, [x29, #-96]
Lloh117:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh118:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh119:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_135
; %bb.134:
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_135:
bl ___stack_chk_fail
LBB0_136:
ldr x0, [x19, #104] ; 8-byte Folded Reload
bl _atoi
mov x20, x0
ldr w0, [x19, #100] ; 4-byte Folded Reload
mov x1, x23
mov w2, #1 ; =0x1
bl _finishScript
cbnz w20, LBB0_138
; %bb.137:
Lloh120:
adrp x8, _g@GOTPAGE
Lloh121:
ldr x8, [x8, _g@GOTPAGEOFF]
Lloh122:
ldr w0, [x8, #12]
bl _sqlite3_close
LBB0_138:
mov x0, x20
bl _exit
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34
.loh AdrpAdd Lloh35, Lloh36
.loh AdrpAdd Lloh37, Lloh38
.loh AdrpAdd Lloh39, Lloh40
.loh AdrpAdd Lloh41, Lloh42
.loh AdrpAdd Lloh43, Lloh44
.loh AdrpAdd Lloh45, Lloh46
.loh AdrpAdd Lloh47, Lloh48
.loh AdrpAdd Lloh49, Lloh50
.loh AdrpAdd Lloh51, Lloh52
.loh AdrpAdd Lloh53, Lloh54
.loh AdrpAdd Lloh55, Lloh56
.loh AdrpAdd Lloh57, Lloh58
.loh AdrpAdd Lloh59, Lloh60
.loh AdrpAdd Lloh61, Lloh62
.loh AdrpLdrGot Lloh63, Lloh64
.loh AdrpAdd Lloh65, Lloh66
.loh AdrpLdrGot Lloh67, Lloh68
.loh AdrpAdd Lloh69, Lloh70
.loh AdrpAdd Lloh71, Lloh72
.loh AdrpAdd Lloh73, Lloh74
.loh AdrpLdrGotLdr Lloh77, Lloh78, Lloh79
.loh AdrpAdd Lloh75, Lloh76
.loh AdrpLdrGotLdr Lloh80, Lloh81, Lloh82
.loh AdrpAdd Lloh83, Lloh84
.loh AdrpLdrGotLdr Lloh85, Lloh86, Lloh87
.loh AdrpAdd Lloh88, Lloh89
.loh AdrpAdd Lloh90, Lloh91
.loh AdrpAdd Lloh92, Lloh93
.loh AdrpAdd Lloh94, Lloh95
.loh AdrpAdd Lloh96, Lloh97
.loh AdrpAdd Lloh98, Lloh99
.loh AdrpAdd Lloh100, Lloh101
.loh AdrpAdd Lloh102, Lloh103
.loh AdrpAdd Lloh104, Lloh105
.loh AdrpAdd Lloh106, Lloh107
.loh AdrpAdd Lloh108, Lloh109
.loh AdrpAdd Lloh110, Lloh111
.loh AdrpLdrGotStr Lloh112, Lloh113, Lloh114
.loh AdrpAdd Lloh115, Lloh116
.loh AdrpLdrGotLdr Lloh117, Lloh118, Lloh119
.loh AdrpLdrGotLdr Lloh120, Lloh121, Lloh122
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _MX_ARG,4,2 ; @MX_ARG
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%.*s"
.comm _g,16,2 ; @g
l_.str.1: ; @.str.1
.asciz "sleep"
l_.str.2: ; @.str.2
.asciz "exit"
l_.str.3: ; @.str.3
.asciz "testcase"
l_.str.4: ; @.str.4
.asciz "finish"
l_.str.5: ; @.str.5
.asciz "reset"
l_.str.6: ; @.str.6
.asciz "match"
l_.str.7: ; @.str.7
.asciz "line %d of %s:\nExpected [%.*s]\n Got [%s]"
l_.str.8: ; @.str.8
.asciz "glob"
l_.str.9: ; @.str.9
.asciz "notglob"
l_.str.10: ; @.str.10
.asciz "line %d of %s:\nExpected [%s]\n Got [%s]"
l_.str.11: ; @.str.11
.asciz "output"
l_.str.12: ; @.str.12
.asciz "%s"
l_.str.13: ; @.str.13
.asciz "source"
l_.str.14: ; @.str.14
.asciz "%.*s/%s"
l_.str.15: ; @.str.15
.asciz "begin script [%s]\n"
l_.str.16: ; @.str.16
.asciz "end script [%s]\n"
l_.str.17: ; @.str.17
.asciz "print"
l_.str.18: ; @.str.18
.asciz "if"
l_.str.19: ; @.str.19
.asciz "SELECT %.*s"
.comm _SQLITE_ROW,4,2 ; @SQLITE_ROW
l_.str.20: ; @.str.20
.asciz "else"
l_.str.21: ; @.str.21
.asciz "endif"
l_.str.22: ; @.str.22
.asciz "start"
l_.str.23: ; @.str.23
.asciz "wait"
l_.str.24: ; @.str.24
.asciz "line %d of %s\n"
l_.str.25: ; @.str.25
.asciz "task"
l_.str.26: ; @.str.26
.asciz "line %d of %s: bad client number: %d"
l_.str.27: ; @.str.27
.asciz "%s:%d"
l_.str.28: ; @.str.28
.asciz "INSERT INTO task(client,script,name) VALUES(%d,'%q',%Q)"
l_.str.29: ; @.str.29
.asciz "breakpoint"
l_.str.30: ; @.str.30
.asciz "show-sql-errors"
l_.str.31: ; @.str.31
.asciz "line %d of %s: unknown command --%s"
.no_dead_strip _runScript
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _base64encode ## -- Begin function base64encode
.p2align 4, 0x90
_base64encode: ## @base64encode
.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, -48(%rbp) ## 8-byte Spill
movq %rsi, %r15
movq %rdi, %r12
leaq 12(,%rsi,4), %r13
andq $-16, %r13
leaq 1(%r13), %rdi
callq _malloc
movq %rax, %r14
testq %rax, %rax
je LBB0_14
## %bb.1:
xorl %edi, %edi
testq %r12, %r12
setne %dil
callq _assert
xorl %edi, %edi
testq %r15, %r15
setne %dil
callq _assert
incq %r15
movq _b64_encode_table@GOTPCREL(%rip), %rax
movq (%rax), %rsi
xorl %ecx, %ecx
movabsq $-6148914691236517205, %rdi ## imm = 0xAAAAAAAAAAAAAAAB
xorl %ebx, %ebx
jmp LBB0_2
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_2 Depth=1
andl $63, %eax
LBB0_7: ## in Loop: Header=BB0_2 Depth=1
movl (%rsi,%rax,4), %eax
movl %eax, (%r14,%rbx,4)
incq %rbx
LBB0_8: ## in Loop: Header=BB0_2 Depth=1
decq %rcx
cmpq %r15, %rcx
ja LBB0_9
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %rcx, %rax
mulq %rdi
shrq %rdx
leaq (%rdx,%rdx,2), %rax
movq %rcx, %rdx
subq %rax, %rdx
movl (%r12,%rcx,4), %eax
cmpq $2, %rdx
je LBB0_6
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
cmpq $1, %rdx
jne LBB0_4
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
andl $15, %eax
movl 4(%r12,%rcx,4), %edx
shrl $6, %edx
andl $3, %edx
leal (%rdx,%rax,4), %eax
jmp LBB0_7
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
movl %eax, %edx
sarl $2, %edx
movslq %edx, %rdx
movl (%rsi,%rdx,4), %edx
movl %edx, (%r14,%rbx,4)
shll $4, %eax
andl $48, %eax
movl 4(%r12,%rcx,4), %edx
shrl $4, %edx
andl $15, %edx
orl %eax, %edx
movl (%rsi,%rdx,4), %eax
movl %eax, 4(%r14,%rbx,4)
addq $2, %rbx
jmp LBB0_8
LBB0_9:
testb $3, %bl
je LBB0_11
## %bb.10:
leaq 3(%rbx), %r15
andq $-4, %r15
leaq 1(%rbx), %rax
cmpq %rax, %r15
cmovbeq %rax, %r15
leaq (%r14,%rbx,4), %rdi
movq %r15, %rdx
subq %rbx, %rdx
shlq $2, %rdx
leaq L_.memset_pattern(%rip), %rsi
callq _memset_pattern16
movq %r15, %rbx
LBB0_11:
xorl %edi, %edi
cmpq %r13, %rbx
setbe %dil
callq _assert
movq -48(%rbp), %rax ## 8-byte Reload
testq %rax, %rax
je LBB0_13
## %bb.12:
movq %rbx, (%rax)
LBB0_13:
movl $0, (%r14,%rbx,4)
LBB0_14:
movq %r14, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _b64_encode_table,8,3 ## @b64_encode_table
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ## @.memset_pattern
L_.memset_pattern:
.long 61 ## 0x3d
.long 61 ## 0x3d
.long 61 ## 0x3d
.long 61 ## 0x3d
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _base64encode ; -- Begin function base64encode
.p2align 2
_base64encode: ; @base64encode
.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, x2
mov x22, x1
mov x21, x0
lsl x8, x1, #2
add x8, x8, #12
and x23, x8, #0xfffffffffffffff0
orr x0, x23, #0x1
bl _malloc
mov x20, x0
cbz x0, LBB0_14
; %bb.1:
cmp x21, #0
cset w0, ne
bl _assert
cmp x22, #0
cset w0, ne
bl _assert
mov x8, #0 ; =0x0
mov x24, #0 ; =0x0
add x9, x22, #1
Lloh0:
adrp x10, _b64_encode_table@GOTPAGE
Lloh1:
ldr x10, [x10, _b64_encode_table@GOTPAGEOFF]
Lloh2:
ldr x10, [x10]
mov x11, #-6148914691236517206 ; =0xaaaaaaaaaaaaaaaa
movk x11, #43691
b LBB0_5
LBB0_2: ; in Loop: Header=BB0_5 Depth=1
and x12, x12, #0x3f
ldr w12, [x10, x12, lsl #2]
LBB0_3: ; in Loop: Header=BB0_5 Depth=1
str w12, [x20, x24, lsl #2]
add x24, x24, #1
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
sub x8, x8, #1
cmp x8, x9
b.hi LBB0_9
LBB0_5: ; =>This Inner Loop Header: Depth=1
umulh x12, x8, x11
lsr x12, x12, #1
sub x12, x12, x12, lsl #2
add x14, x8, x12
ldr w12, [x21, x8, lsl #2]
cmp x14, #2
b.eq LBB0_2
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
add x13, x21, x8, lsl #2
cmp x14, #1
b.ne LBB0_8
; %bb.7: ; in Loop: Header=BB0_5 Depth=1
ubfiz w12, w12, #2, #4
ldr w13, [x13, #4]
bfxil w12, w13, #6, #2
ldr w12, [x10, w12, uxtw #2]
b LBB0_3
LBB0_8: ; in Loop: Header=BB0_5 Depth=1
asr w14, w12, #2
ldr w14, [x10, w14, sxtw #2]
ubfiz w12, w12, #4, #2
ldr w13, [x13, #4]
bfxil w12, w13, #4, #4
ldr w12, [x10, w12, uxtw #2]
add x13, x20, x24, lsl #2
add x24, x24, #2
stp w14, w12, [x13]
b LBB0_4
LBB0_9:
tst x24, #0x3
b.eq LBB0_11
; %bb.10:
add x8, x24, #3
and x8, x8, #0xfffffffffffffffc
add x0, x20, x24, lsl #2
add x9, x24, #1
cmp x8, x9
csinc x21, x8, x24, hi
sub x8, x21, x24
lsl x2, x8, #2
Lloh3:
adrp x1, l_.memset_pattern@PAGE
Lloh4:
add x1, x1, l_.memset_pattern@PAGEOFF
bl _memset_pattern16
mov x24, x21
LBB0_11:
cmp x24, x23
cset w0, ls
bl _assert
cbz x19, LBB0_13
; %bb.12:
str x24, [x19]
LBB0_13:
str wzr, [x20, x24, lsl #2]
LBB0_14:
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 AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _b64_encode_table,8,3 ; @b64_encode_table
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ; @.memset_pattern
l_.memset_pattern:
.long 61 ; 0x3d
.long 61 ; 0x3d
.long 61 ; 0x3d
.long 61 ; 0x3d
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function SHA256
_SHA256: ## @SHA256
.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 $536, %rsp ## imm = 0x218
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, -568(%rbp) ## 8-byte Spill
movl %edx, %r15d
movq %rsi, %r12
movq %rdi, %r14
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movl %edx, %r13d
andl $-64, %r13d
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl %ebx, %eax
leaq (%r12,%rax,4), %rsi
movq %r14, %rdi
callq _SHA256Transform
addl $64, %ebx
cmpl %r13d, %ebx
jbe LBB0_1
## %bb.2:
movl %r15d, %r13d
andl $63, %r13d
je LBB0_3
## %bb.4:
movl %ebx, %eax
leaq (%r12,%rax,4), %rsi
leal (,%r15,4), %eax
movzbl %al, %edx
leaq -560(%rbp), %rdi
callq _memcpy
movl %r13d, %eax
movl $128, -560(%rbp,%rax,4)
incl %r13d
movl %r13d, %eax
andl $63, %eax
movl %r13d, %r12d
cmpl $56, %eax
jne LBB0_5
jmp LBB0_12
LBB0_3:
movl %r13d, %eax
movl $128, -560(%rbp,%rax,4)
movl $1, %r13d
LBB0_5:
leal 2(%r15), %ecx
andl $63, %ecx
movl $57, %eax
subl %ecx, %eax
cmpl $27, %eax
jbe LBB0_6
## %bb.8:
movl $56, %edx
subl %ecx, %edx
movl %edx, %ecx
andb $63, %cl
movb $61, %sil
subb %r15b, %sil
andb $63, %sil
cmpb %cl, %sil
setb %cl
cmpl $64, %edx
setae %sil
addl %r13d, %edx
setb %dl
orb %sil, %dl
orb %cl, %dl
je LBB0_9
LBB0_6:
movl %r13d, %r12d
.p2align 4, 0x90
LBB0_7: ## =>This Inner Loop Header: Depth=1
movl %r12d, %eax
movl $0, -560(%rbp,%rax,4)
incl %r12d
movl %r12d, %eax
andl $63, %eax
cmpl $56, %eax
jne LBB0_7
LBB0_12:
leal (,%r15,8), %eax
movl %r15d, %ecx
shrl $21, %ecx
movsbl %cl, %ecx
movl %r12d, %edx
movl %ecx, -544(%rbp,%rdx,4)
shrl $13, %r15d
movswl %r15w, %ecx
movl %ecx, -540(%rbp,%rdx,4)
movl %eax, %ecx
sarl $8, %ecx
movl %ecx, -536(%rbp,%rdx,4)
movl %eax, -532(%rbp,%rdx,4)
addl $8, %r12d
je LBB0_15
## %bb.13:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_14: ## =>This Inner Loop Header: Depth=1
movl %ebx, %eax
leaq -560(,%rax,4), %rsi
addq %rbp, %rsi
movq %r14, %rdi
callq _SHA256Transform
addl $64, %ebx
cmpl %r12d, %ebx
jb LBB0_14
LBB0_15:
movq -568(%rbp), %rdi ## 8-byte Reload
callq _ZIO_SET_CHECKSUM
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_17
## %bb.16:
addq $536, %rsp ## imm = 0x218
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_9:
movl %eax, %ecx
andl $-8, %ecx
leal (%rcx,%r13), %r12d
xorps %xmm0, %xmm0
movl %ecx, %edx
.p2align 4, 0x90
LBB0_10: ## =>This Inner Loop Header: Depth=1
movl %r13d, %esi
movups %xmm0, -560(%rbp,%rsi,4)
movups %xmm0, -544(%rbp,%rsi,4)
addl $8, %r13d
addl $-8, %edx
jne LBB0_10
## %bb.11:
cmpl %ecx, %eax
jne LBB0_7
jmp LBB0_12
LBB0_17:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.no_dead_strip _SHA256
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ; -- Begin function SHA256
lCPI0_0:
.long 4294967272 ; 0xffffffe8
.long 4294967280 ; 0xfffffff0
.section __TEXT,__text,regular,pure_instructions
.p2align 2
_SHA256: ; @SHA256
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-80]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
sub sp, sp, #528
.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 w27, -72
.cfi_offset w28, -80
mov x19, x3
mov x21, x2
mov x22, x1
mov x20, x0
mov w23, #0 ; =0x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-72]
and w24, w2, #0xffffffc0
LBB0_1: ; =>This Inner Loop Header: Depth=1
add x1, x22, w23, uxtw #2
mov x0, x20
bl _SHA256Transform
add w23, w23, #64
cmp w23, w24
b.ls LBB0_1
; %bb.2:
ands w24, w21, #0x3f
b.eq LBB0_4
; %bb.3:
ubfiz w2, w21, #2, #6
add x1, x22, w23, uxtw #2
add x22, sp, #8
add x0, sp, #8
bl _memcpy
mov w8, #128 ; =0x80
str w8, [x22, w24, uxtw #2]
add w9, w24, #1
and w10, w9, #0x3f
mov x8, x9
cmp w10, #56
b.ne LBB0_5
b LBB0_9
LBB0_4:
add x8, sp, #8
mov w9, #128 ; =0x80
str w9, [x8, w24, uxtw #2]
mov w9, #1 ; =0x1
LBB0_5:
add w8, w21, #2
and w8, w8, #0x3f
mov w10, #57 ; =0x39
sub w10, w10, w8
cmp w10, #19
b.hi LBB0_14
LBB0_6:
mov x8, x9
LBB0_7:
add x9, sp, #8
LBB0_8: ; =>This Inner Loop Header: Depth=1
str wzr, [x9, w8, uxtw #2]
add w8, w8, #1
and w10, w8, #0x3f
cmp w10, #56
b.ne LBB0_8
LBB0_9:
lsl w9, w21, #3
add w10, w8, #4
ubfiz x10, x10, #2, #32
add w11, w8, #6
dup.2s v0, w9
Lloh3:
adrp x12, lCPI0_0@PAGE
Lloh4:
ldr d1, [x12, lCPI0_0@PAGEOFF]
sshl.2s v0, v0, v1
add x22, sp, #8
str d0, [x22, x10]
sbfx w10, w21, #5, #24
add w12, w8, #7
str w10, [x22, w11, uxtw #2]
str w9, [x22, w12, uxtw #2]
adds w21, w8, #8
b.eq LBB0_12
; %bb.10:
mov w23, #0 ; =0x0
LBB0_11: ; =>This Inner Loop Header: Depth=1
add x1, x22, w23, uxtw #2
mov x0, x20
bl _SHA256Transform
add w23, w23, #64
cmp w23, w21
b.lo LBB0_11
LBB0_12:
mov x0, x19
bl _ZIO_SET_CHECKSUM
ldur x8, [x29, #-72]
Lloh5:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh6:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_20
; %bb.13:
add sp, sp, #528
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 x28, x27, [sp], #80 ; 16-byte Folded Reload
ret
LBB0_14:
mov w11, #56 ; =0x38
sub w8, w11, w8
cmn w9, w8
and w12, w8, #0x3f
mov w11, #61 ; =0x3d
sub w11, w11, w21
and w13, w11, #0x3f
cset w11, hs
cmp w13, w12
b.lo LBB0_6
; %bb.15:
cmp w8, #63
b.hi LBB0_6
; %bb.16:
tbnz w11, #0, LBB0_6
; %bb.17:
and w11, w10, #0xfffffff0
add w8, w9, w11
add x12, sp, #8
movi.2d v0, #0000000000000000
mov x13, x11
LBB0_18: ; =>This Inner Loop Header: Depth=1
add x14, x12, w9, uxtw #2
stp q0, q0, [x14]
stp q0, q0, [x14, #32]
add w9, w9, #16
subs w13, w13, #16
b.ne LBB0_18
; %bb.19:
cmp w10, w11
b.ne LBB0_7
b LBB0_9
LBB0_20:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdr Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.cfi_endproc
; -- End function
.no_dead_strip _SHA256
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _zbuffami ## -- Begin function zbuffami
.p2align 4, 0x90
_zbuffami: ## @zbuffami
.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, %rbx
movl %esi, %eax
movl %edi, %r13d
movq _EIP_POS@GOTPCREL(%rip), %r14
cmpl $0, (%r14)
jle LBB0_3
## %bb.1:
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movb $-112, (%rbx,%rcx)
incq %rcx
movslq (%r14), %rdx
cmpq %rdx, %rcx
jl LBB0_2
LBB0_3:
movb $-1, (%rbx)
movq _FAKE_FP@GOTPCREL(%rip), %rcx
movzbl 1(%rcx), %edx
movb %dl, 1(%rbx)
movzbl 2(%rcx), %edx
movb %dl, 2(%rbx)
movzbl 3(%rcx), %ecx
movb %cl, 3(%rbx)
movb %al, 4(%rbx)
movb %ah, 5(%rbx)
movl %eax, %ecx
shrl $16, %ecx
movb %cl, 6(%rbx)
shrl $24, %eax
movb %al, 7(%rbx)
movl (%r14), %r15d
movq _shellcode@GOTPCREL(%rip), %r12
movq (%r12), %rdi
callq _strlen
subl %eax, %r15d
addl $-12, %r15d
movl (%r14), %eax
addl $-12, %eax
cmpl %eax, %r15d
jge LBB0_7
## %bb.4:
movslq %r15d, %rax
leaq (%rbx,%rax), %rcx
xorl %edx, %edx
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq (%r12), %rsi
movzbl (%rsi,%rdx), %esi
movb %sil, (%rcx,%rdx)
leaq (%rax,%rdx), %rsi
incq %rsi
incq %rdx
movslq (%r14), %rdi
addq $-12, %rdi
cmpq %rdi, %rsi
jl LBB0_5
## %bb.6:
addl %edx, %r15d
LBB0_7:
movslq %r15d, %rax
movabsq $7595718147998050665, %rcx ## imm = 0x6969696969696969
movq %rcx, (%rbx,%rax)
movslq (%r14), %rax
movl %r13d, %edx
movb %dl, -4(%rbx,%rax)
movslq (%r14), %rax
movb %dh, -3(%rbx,%rax)
movl %r13d, %eax
shrl $16, %eax
movslq (%r14), %rcx
movb %al, -2(%rbx,%rcx)
shrl $24, %edx
movslq (%r14), %rax
movb %dl, -1(%rbx,%rax)
movslq (%r14), %rax
movb $0, (%rbx,%rax)
leaq L_.str(%rip), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq _strcat
movq %rbx, %rdi
movq %r14, %rsi
callq _strcat
movq %rbx, %rdi
movq %r14, %rsi
callq _strcat
movq %rbx, %rdi
movq %r14, %rsi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _strcat ## TAILCALL
.cfi_endproc
## -- End function
.comm _EIP_POS,4,2 ## @EIP_POS
.comm _FAKE_FP,4,2 ## @FAKE_FP
.comm _shellcode,8,3 ## @shellcode
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "iiii"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _zbuffami ; -- Begin function zbuffami
.p2align 2
_zbuffami: ; @zbuffami
.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, x2
mov x20, x0
Lloh0:
adrp x21, _EIP_POS@GOTPAGE
Lloh1:
ldr x21, [x21, _EIP_POS@GOTPAGEOFF]
ldr w8, [x21]
cmp w8, #1
b.lt LBB0_3
; %bb.1:
mov x8, #0 ; =0x0
mov w9, #144 ; =0x90
LBB0_2: ; =>This Inner Loop Header: Depth=1
strb w9, [x19, x8]
add x8, x8, #1
ldrsw x10, [x21]
cmp x8, x10
b.lt LBB0_2
LBB0_3:
mov w8, #255 ; =0xff
strb w8, [x19]
Lloh2:
adrp x8, _FAKE_FP@GOTPAGE
Lloh3:
ldr x8, [x8, _FAKE_FP@GOTPAGEOFF]
ldr w9, [x8]
lsr w9, w9, #8
strb w9, [x19, #1]
ldrh w9, [x8, #2]
strb w9, [x19, #2]
ldrb w8, [x8, #3]
strb w8, [x19, #3]
strb w1, [x19, #4]
lsr w8, w1, #8
strb w8, [x19, #5]
lsr w8, w1, #16
strb w8, [x19, #6]
lsr w8, w1, #24
strb w8, [x19, #7]
ldr w23, [x21]
Lloh4:
adrp x22, _shellcode@GOTPAGE
Lloh5:
ldr x22, [x22, _shellcode@GOTPAGEOFF]
ldr x0, [x22]
bl _strlen
sub w8, w23, w0
sub w8, w8, #12
ldr w9, [x21]
sub w9, w9, #12
cmp w8, w9
b.ge LBB0_7
; %bb.4:
mov x9, #0 ; =0x0
sxtw x8, w8
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr x10, [x22]
ldrb w10, [x10, x9]
strb w10, [x19, x8]
add x9, x9, #1
add x8, x8, #1
ldrsw x10, [x21]
sub x10, x10, #12
cmp x8, x10
b.lt LBB0_5
; %bb.6:
; kill: def $w8 killed $w8 killed $x8 def $x8
LBB0_7:
mov x9, #1229782938247303441 ; =0x1111111111111111
eor x9, x9, #0x7878787878787878
str x9, [x19, w8, sxtw]
ldrsw x8, [x21]
add x8, x19, x8
sturb w20, [x8, #-4]
lsr w8, w20, #8
ldrsw x9, [x21]
add x9, x19, x9
sturb w8, [x9, #-3]
lsr w8, w20, #16
ldrsw x9, [x21]
add x9, x19, x9
sturb w8, [x9, #-2]
lsr w8, w20, #24
ldrsw x9, [x21]
add x9, x19, x9
sturb w8, [x9, #-1]
ldrsw x8, [x21]
strb wzr, [x19, x8]
Lloh6:
adrp x20, l_.str@PAGE
Lloh7:
add x20, x20, l_.str@PAGEOFF
mov x0, x19
mov x1, x20
bl _strcat
mov x0, x19
mov x1, x20
bl _strcat
mov x0, x19
mov x1, x20
bl _strcat
mov x0, x19
mov x1, 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
b _strcat
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpAdd Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _EIP_POS,4,2 ; @EIP_POS
.comm _FAKE_FP,4,2 ; @FAKE_FP
.comm _shellcode,8,3 ; @shellcode
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "iiii"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function s_uvpack
_s_uvpack: ## @s_uvpack
.cfi_startproc
## %bb.0:
## kill: def $edi killed $edi def $rdi
testl %edi, %edi
je LBB0_4
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _MP_DIGIT_BIT@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, %ecx
shrl $31, %ecx
addl %eax, %ecx
sarl %ecx
xorl %eax, %eax
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movslq %edi, %rdi
movq %rdi, (%rsi,%rax,8)
incq %rax
sarl %cl, %edi
sarl %cl, %edi
testl %edi, %edi
jne LBB0_2
## %bb.3:
popq %rbp
## kill: def $eax killed $eax killed $rax
retq
LBB0_4:
movq $0, (%rsi)
movl $-1, %eax
## kill: def $eax killed $eax killed $rax
retq
.cfi_endproc
## -- End function
.comm _MP_DIGIT_BIT,4,2 ## @MP_DIGIT_BIT
.no_dead_strip _s_uvpack
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function s_uvpack
_s_uvpack: ; @s_uvpack
.cfi_startproc
; %bb.0:
; kill: def $w0 killed $w0 def $x0
cbz w0, LBB0_4
; %bb.1:
mov x8, #0 ; =0x0
Lloh0:
adrp x9, _MP_DIGIT_BIT@GOTPAGE
Lloh1:
ldr x9, [x9, _MP_DIGIT_BIT@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
add w9, w9, w9, lsr #31
asr w9, w9, #1
LBB0_2: ; =>This Inner Loop Header: Depth=1
sxtw x10, w0
str x10, [x1, x8, lsl #3]
add x8, x8, #1
asr w10, w0, w9
asr w0, w10, w9
cbnz w0, LBB0_2
; %bb.3:
mov x0, x8
ret
LBB0_4:
str xzr, [x1]
mov w8, #-1 ; =0xffffffff
mov x0, x8
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _MP_DIGIT_BIT,4,2 ; @MP_DIGIT_BIT
.no_dead_strip _s_uvpack
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _ff_psy_find_group ## -- Begin function ff_psy_find_group
.p2align 4, 0x90
_ff_psy_find_group: ## @ff_psy_find_group
.cfi_startproc
## %bb.0:
xorl %ecx, %ecx
movq (%rdi), %rax
testl %esi, %esi
js LBB0_4
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %edx, %edx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
addl (%rax,%rdx,8), %ecx
incq %rdx
cmpl %esi, %ecx
jle LBB0_2
## %bb.3:
movl %edx, %ecx
popq %rbp
LBB0_4:
leaq (%rax,%rcx,8), %rax
addq $-8, %rax
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _ff_psy_find_group ; -- Begin function ff_psy_find_group
.p2align 2
_ff_psy_find_group: ; @ff_psy_find_group
.cfi_startproc
; %bb.0:
ldr x8, [x0]
tbnz w1, #31, LBB0_4
; %bb.1:
mov x10, #0 ; =0x0
mov w9, #0 ; =0x0
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x11, [x8, x10, lsl #3]
add x10, x10, #1
add w9, w9, w11
cmp w9, w1
b.le LBB0_2
; %bb.3:
mov w9, w10
b LBB0_5
LBB0_4:
mov x9, #0 ; =0x0
LBB0_5:
add x8, x8, x9, lsl #3
sub x0, x8, #8
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function write_block
_write_block: ## @write_block
.cfi_startproc
## %bb.0:
movl (%rdi), %eax
movl 4(%rdi), %r9d
movq _HAS_DIFF_BLOCKS@GOTPCREL(%rip), %r8
leal 2(%rax), %r10d
testl %r9d, (%r8)
cmovel %eax, %r10d
movq _ZLIB_PRIME_COMPRESS_CURRENT@GOTPCREL(%rip), %rcx
leal 2(%r10), %eax
testl %r9d, (%rcx)
cmovel %r10d, %eax
leal 1(%rax), %r9d
testl %eax, %eax
cmovel %eax, %r9d
leal -2(%r9), %r10d
movl $-1, %eax
cmpl %edx, %r10d
jae LBB0_9
## %bb.1:
movl %r9d, %eax
shrl $8, %eax
movl %eax, (%rsi)
movl %r9d, 4(%rsi)
testl %r9d, %r9d
je LBB0_2
## %bb.3:
movl 4(%rdi), %eax
movl %eax, 8(%rsi)
testl %eax, (%r8)
je LBB0_4
## %bb.5:
movl 8(%rdi), %eax
movl %eax, 12(%rsi)
movl 12(%rdi), %eax
movl %eax, 16(%rsi)
movl 4(%rdi), %eax
movl $5, %r8d
testl %eax, (%rcx)
je LBB0_8
LBB0_7:
movl 16(%rdi), %eax
movl %r8d, %ecx
movl %eax, (%rsi,%rcx,4)
movl 20(%rdi), %eax
addl $2, %r8d
movl %eax, 4(%rsi,%rcx,4)
LBB0_8:
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 %r8d, %eax
leaq (%rsi,%rax,4), %rax
movl (%rdi), %edx
movl 24(%rdi), %esi
movq %rdi, %r14
movq %rax, %rdi
movl %r8d, %ebx
callq _memcpy
movl %ebx, %eax
addl (%r14), %eax
popq %rbx
popq %r14
popq %rbp
LBB0_9:
retq
LBB0_2:
movl $2, %eax
retq
LBB0_4:
movl $3, %r8d
testl %eax, (%rcx)
jne LBB0_7
jmp LBB0_8
.cfi_endproc
## -- End function
.comm _HAS_DIFF_BLOCKS,4,2 ## @HAS_DIFF_BLOCKS
.comm _ZLIB_PRIME_COMPRESS_CURRENT,4,2 ## @ZLIB_PRIME_COMPRESS_CURRENT
.no_dead_strip _write_block
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function write_block
_write_block: ; @write_block
.cfi_startproc
; %bb.0:
ldp w8, w10, [x0]
Lloh0:
adrp x9, _HAS_DIFF_BLOCKS@GOTPAGE
Lloh1:
ldr x9, [x9, _HAS_DIFF_BLOCKS@GOTPAGEOFF]
ldr w11, [x9]
add w12, w8, #2
tst w11, w10
csel w11, w8, w12, eq
Lloh2:
adrp x8, _ZLIB_PRIME_COMPRESS_CURRENT@GOTPAGE
Lloh3:
ldr x8, [x8, _ZLIB_PRIME_COMPRESS_CURRENT@GOTPAGEOFF]
ldr w12, [x8]
add w13, w11, #2
tst w12, w10
csel w10, w11, w13, eq
cmp w10, #0
csinc w10, wzr, w10, eq
sub w11, w10, #2
cmp w11, w2
b.hs LBB0_4
; %bb.1:
lsr w11, w10, #8
stp w11, w10, [x1]
cbz w10, LBB0_5
; %bb.2:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
ldr w10, [x0, #4]
str w10, [x1, #8]
ldr w9, [x9]
tst w9, w10
b.eq LBB0_6
; %bb.3:
ldr w9, [x0, #8]
str w9, [x1, #12]
ldr w9, [x0, #12]
str w9, [x1, #16]
ldr w10, [x0, #4]
mov w19, #5 ; =0x5
b LBB0_7
LBB0_4:
mov w0, #-1 ; =0xffffffff
ret
LBB0_5:
mov w0, #2 ; =0x2
ret
LBB0_6:
mov w19, #3 ; =0x3
LBB0_7:
ldr w8, [x8]
tst w8, w10
b.eq LBB0_9
; %bb.8:
ldr w8, [x0, #16]
add x9, x1, w19, uxtw #2
str w8, [x9]
ldr w8, [x0, #20]
add w19, w19, #2
str w8, [x9, #4]
LBB0_9:
add x8, x1, w19, uxtw #2
ldr w1, [x0, #24]
ldr w2, [x0]
mov x20, x0
mov x0, x8
bl _memcpy
ldr w8, [x20]
add w0, w8, w19
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
.cfi_endproc
; -- End function
.comm _HAS_DIFF_BLOCKS,4,2 ; @HAS_DIFF_BLOCKS
.comm _ZLIB_PRIME_COMPRESS_CURRENT,4,2 ; @ZLIB_PRIME_COMPRESS_CURRENT
.no_dead_strip _write_block
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function amfs_host_mount
_amfs_host_mount: ## @amfs_host_mount
.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 %rsp, %r12
movq _RPC_ANYSOCK@GOTPCREL(%rip), %r13
movl (%r13), %eax
movl %eax, -44(%rbp)
movq _MFF_WEBNFS@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, (%rsi)
je LBB0_2
## %bb.1:
movq _XLOG_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
xorl %eax, %eax
callq _plog
movq _EIO@GOTPCREL(%rip), %rax
movl (%rax), %eax
jmp LBB0_10
LBB0_2:
movq _FALSE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -48(%rbp) ## 4-byte Spill
movl 16(%rsi), %edi
movq _mnttab_file_name@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq %rsi, %r14
movl %eax, %esi
callq _read_mtab
movq %rax, %rbx
movq 24(%r14), %rax
movq (%rax), %r15
movq 16(%rax), %rcx
movl (%rcx), %ecx
movl %ecx, -52(%rbp)
movq _XLOG_INFO@GOTPCREL(%rip), %rcx
movl (%rcx), %edi
movl 8(%rax), %edx
leaq L_.str.1(%rip), %rsi
xorl %eax, %eax
callq _plog
movq _MOUNTVERS@GOTPCREL(%rip), %rax
movl (%rax), %r8d
movl $2, -72(%rbp)
movq $0, -64(%rbp)
leaq -52(%rbp), %rsi
leaq -72(%rbp), %rdx
leaq -44(%rbp), %rcx
movq %r15, %rdi
callq _get_mount_client
movq %rax, %r14
testq %rax, %rax
je LBB0_4
## %bb.3:
movq _XLOG_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.2(%rip), %rsi
movq %r15, %rdx
xorl %eax, %eax
callq _plog
movq _EIO@GOTPCREL(%rip), %rax
movl (%rax), %r15d
jmp LBB0_5
LBB0_4:
xorl %eax, %eax
callq _make_nfs_auth
movl %eax, %r15d
LBB0_5:
movq %rbx, %rdi
callq _discard_mntlist
xorl %edi, %edi
callq _XFREE
xorl %edi, %edi
callq _XFREE
movl -44(%rbp), %edi
cmpl (%r13), %edi
je LBB0_7
## %bb.6:
callq _amu_close
LBB0_7:
testq %r14, %r14
je LBB0_9
## %bb.8:
movq %r14, %rdi
callq _clnt_destroy
LBB0_9:
xorl %eax, %eax
cmpl $0, -48(%rbp) ## 4-byte Folded Reload
cmovel %r15d, %eax
LBB0_10:
movq %r12, %rsp
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _RPC_ANYSOCK,4,2 ## @RPC_ANYSOCK
.comm _FALSE,4,2 ## @FALSE
.comm _MAXPATHLEN,4,2 ## @MAXPATHLEN
.comm _MFF_WEBNFS,4,2 ## @MFF_WEBNFS
.comm _XLOG_ERROR,4,2 ## @XLOG_ERROR
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "amfs_host_mount: cannot support WebNFS"
.comm _EIO,4,2 ## @EIO
.comm _mnttab_file_name,4,2 ## @mnttab_file_name
.comm _XLOG_INFO,4,2 ## @XLOG_INFO
L_.str.1: ## @.str.1
.asciz "amfs_host_mount: NFS version %d"
.comm _MOUNTVERS,4,2 ## @MOUNTVERS
L_.str.2: ## @.str.2
.asciz "get_mount_client failed for %s"
.comm _nfs_auth,8,3 ## @nfs_auth
.comm _MOUNTPROC_EXPORT,4,2 ## @MOUNTPROC_EXPORT
.comm _xdr_void,8,3 ## @xdr_void
.comm _xdr_exports,8,3 ## @xdr_exports
.comm _RPC_SUCCESS,4,2 ## @RPC_SUCCESS
.comm _TRUE,4,2 ## @TRUE
.comm _sortfun,4,2 ## @sortfun
.comm _XLOG_FATAL,4,2 ## @XLOG_FATAL
.comm _EINVAL,4,2 ## @EINVAL
.comm _AM_MOUNTVERS3,4,2 ## @AM_MOUNTVERS3
.comm _NFS_VERSION3,8,3 ## @NFS_VERSION3
.no_dead_strip _amfs_host_mount
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function amfs_host_mount
_amfs_host_mount: ; @amfs_host_mount
.cfi_startproc
; %bb.0:
sub sp, sp, #96
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x22, sp
Lloh0:
adrp x24, _RPC_ANYSOCK@GOTPAGE
Lloh1:
ldr x24, [x24, _RPC_ANYSOCK@GOTPAGEOFF]
ldr w8, [x24]
str w8, [sp, #24]
ldr w8, [x1]
Lloh2:
adrp x9, _MFF_WEBNFS@GOTPAGE
Lloh3:
ldr x9, [x9, _MFF_WEBNFS@GOTPAGEOFF]
Lloh4:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_2
; %bb.1:
Lloh5:
adrp x8, _XLOG_ERROR@GOTPAGE
Lloh6:
ldr x8, [x8, _XLOG_ERROR@GOTPAGEOFF]
Lloh7:
ldr w0, [x8]
Lloh8:
adrp x1, l_.str@PAGE
Lloh9:
add x1, x1, l_.str@PAGEOFF
bl _plog
Lloh10:
adrp x8, _EIO@GOTPAGE
Lloh11:
ldr x8, [x8, _EIO@GOTPAGEOFF]
Lloh12:
ldr w0, [x8]
b LBB0_10
LBB0_2:
Lloh13:
adrp x8, _FALSE@GOTPAGE
Lloh14:
ldr x8, [x8, _FALSE@GOTPAGEOFF]
Lloh15:
ldr w23, [x8]
ldr w0, [x1, #16]
Lloh16:
adrp x8, _mnttab_file_name@GOTPAGE
Lloh17:
ldr x8, [x8, _mnttab_file_name@GOTPAGEOFF]
Lloh18:
ldr w8, [x8]
mov x20, x1
mov x1, x8
bl _read_mtab
mov x19, x0
ldr x8, [x20, #24]
ldr x9, [x8, #16]
ldr w9, [x9]
str w9, [sp, #28]
Lloh19:
adrp x9, _XLOG_INFO@GOTPAGE
Lloh20:
ldr x9, [x9, _XLOG_INFO@GOTPAGEOFF]
Lloh21:
ldr w0, [x9]
ldp x21, x8, [x8]
str x8, [sp]
Lloh22:
adrp x1, l_.str.1@PAGE
Lloh23:
add x1, x1, l_.str.1@PAGEOFF
bl _plog
Lloh24:
adrp x8, _MOUNTVERS@GOTPAGE
Lloh25:
ldr x8, [x8, _MOUNTVERS@GOTPAGEOFF]
Lloh26:
ldr w4, [x8]
mov w8, #2 ; =0x2
str w8, [sp, #8]
str xzr, [sp, #16]
add x1, sp, #28
add x2, sp, #8
add x3, sp, #24
mov x0, x21
bl _get_mount_client
mov x20, x0
cbz x0, LBB0_4
; %bb.3:
Lloh27:
adrp x8, _XLOG_ERROR@GOTPAGE
Lloh28:
ldr x8, [x8, _XLOG_ERROR@GOTPAGEOFF]
Lloh29:
ldr w0, [x8]
str x21, [sp]
Lloh30:
adrp x1, l_.str.2@PAGE
Lloh31:
add x1, x1, l_.str.2@PAGEOFF
bl _plog
Lloh32:
adrp x8, _EIO@GOTPAGE
Lloh33:
ldr x8, [x8, _EIO@GOTPAGEOFF]
Lloh34:
ldr w21, [x8]
b LBB0_5
LBB0_4:
bl _make_nfs_auth
mov x21, x0
LBB0_5:
mov x0, x19
bl _discard_mntlist
mov x0, #0 ; =0x0
bl _XFREE
mov x0, #0 ; =0x0
bl _XFREE
ldr w0, [sp, #24]
ldr w8, [x24]
cmp w0, w8
b.eq LBB0_7
; %bb.6:
bl _amu_close
LBB0_7:
cbz x20, LBB0_9
; %bb.8:
mov x0, x20
bl _clnt_destroy
LBB0_9:
cmp w23, #0
csel w0, w21, wzr, eq
LBB0_10:
mov sp, x22
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.cfi_endproc
; -- End function
.comm _RPC_ANYSOCK,4,2 ; @RPC_ANYSOCK
.comm _FALSE,4,2 ; @FALSE
.comm _MAXPATHLEN,4,2 ; @MAXPATHLEN
.comm _MFF_WEBNFS,4,2 ; @MFF_WEBNFS
.comm _XLOG_ERROR,4,2 ; @XLOG_ERROR
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "amfs_host_mount: cannot support WebNFS"
.comm _EIO,4,2 ; @EIO
.comm _mnttab_file_name,4,2 ; @mnttab_file_name
.comm _XLOG_INFO,4,2 ; @XLOG_INFO
l_.str.1: ; @.str.1
.asciz "amfs_host_mount: NFS version %d"
.comm _MOUNTVERS,4,2 ; @MOUNTVERS
l_.str.2: ; @.str.2
.asciz "get_mount_client failed for %s"
.comm _nfs_auth,8,3 ; @nfs_auth
.comm _MOUNTPROC_EXPORT,4,2 ; @MOUNTPROC_EXPORT
.comm _xdr_void,8,3 ; @xdr_void
.comm _xdr_exports,8,3 ; @xdr_exports
.comm _RPC_SUCCESS,4,2 ; @RPC_SUCCESS
.comm _TRUE,4,2 ; @TRUE
.comm _sortfun,4,2 ; @sortfun
.comm _XLOG_FATAL,4,2 ; @XLOG_FATAL
.comm _EINVAL,4,2 ; @EINVAL
.comm _AM_MOUNTVERS3,4,2 ; @AM_MOUNTVERS3
.comm _NFS_VERSION3,8,3 ; @NFS_VERSION3
.no_dead_strip _amfs_host_mount
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function perf_output_read_one
_perf_output_read_one: ## @perf_output_read_one
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, %r12d
movl %edx, %r15d
movq %rsi, %r14
movq %rdi, %rbx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movl 8(%rsi), %r13d
movq %rsi, %rdi
callq _perf_event_count
movl %eax, -64(%rbp)
movq _PERF_FORMAT_TOTAL_TIME_ENABLED@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %r13d, %eax
je LBB0_1
## %bb.2:
leaq 4(%r14), %rdi
callq _atomic64_read
addl %r15d, %eax
movl %eax, -60(%rbp)
movl $2, %r15d
jmp LBB0_3
LBB0_1:
movl $1, %r15d
LBB0_3:
movq _PERF_FORMAT_TOTAL_TIME_RUNNING@GOTPCREL(%rip), %rax
testl %r13d, (%rax)
je LBB0_5
## %bb.4:
movq %r14, %rdi
callq _atomic64_read
addl %r12d, %eax
movl %r15d, %ecx
incl %r15d
movl %eax, -64(%rbp,%rcx,4)
LBB0_5:
movq _PERF_FORMAT_ID@GOTPCREL(%rip), %rax
testl %r13d, (%rax)
je LBB0_7
## %bb.6:
movq %r14, %rdi
callq _primary_event_id
movl %r15d, %ecx
incl %r15d
movl %eax, -64(%rbp,%rcx,4)
LBB0_7:
shll $2, %r15d
leaq -64(%rbp), %rsi
movq %rbx, %rdi
movl %r15d, %edx
callq ___output_copy
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_9
## %bb.8:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_9:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _PERF_FORMAT_TOTAL_TIME_ENABLED,4,2 ## @PERF_FORMAT_TOTAL_TIME_ENABLED
.comm _PERF_FORMAT_TOTAL_TIME_RUNNING,4,2 ## @PERF_FORMAT_TOTAL_TIME_RUNNING
.comm _PERF_FORMAT_ID,4,2 ## @PERF_FORMAT_ID
.no_dead_strip _perf_output_read_one
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function perf_output_read_one
_perf_output_read_one: ; @perf_output_read_one
.cfi_startproc
; %bb.0:
sub sp, sp, #96
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x21, x3
mov x22, x2
mov x20, x1
mov x19, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #24]
ldr w23, [x1, #8]
mov x0, x1
bl _perf_event_count
str w0, [sp, #8]
Lloh3:
adrp x8, _PERF_FORMAT_TOTAL_TIME_ENABLED@GOTPAGE
Lloh4:
ldr x8, [x8, _PERF_FORMAT_TOTAL_TIME_ENABLED@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
orr w8, w8, w23
cbz w8, LBB0_2
; %bb.1:
add x0, x20, #4
bl _atomic64_read
add w8, w0, w22
str w8, [sp, #12]
mov w22, #2 ; =0x2
b LBB0_3
LBB0_2:
mov w22, #1 ; =0x1
LBB0_3:
Lloh6:
adrp x8, _PERF_FORMAT_TOTAL_TIME_RUNNING@GOTPAGE
Lloh7:
ldr x8, [x8, _PERF_FORMAT_TOTAL_TIME_RUNNING@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
tst w8, w23
b.eq LBB0_5
; %bb.4:
mov x0, x20
bl _atomic64_read
add w8, w0, w21
add x9, sp, #8
str w8, [x9, w22, uxtw #2]
add w22, w22, #1
LBB0_5:
Lloh9:
adrp x8, _PERF_FORMAT_ID@GOTPAGE
Lloh10:
ldr x8, [x8, _PERF_FORMAT_ID@GOTPAGEOFF]
Lloh11:
ldr w8, [x8]
tst w8, w23
b.eq LBB0_7
; %bb.6:
mov x0, x20
bl _primary_event_id
add x8, sp, #8
str w0, [x8, w22, uxtw #2]
add w22, w22, #1
LBB0_7:
lsl w2, w22, #2
add x1, sp, #8
mov x0, x19
bl ___output_copy
ldr x8, [sp, #24]
Lloh12:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh13:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_9
; %bb.8:
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
add sp, sp, #96
ret
LBB0_9:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.cfi_endproc
; -- End function
.comm _PERF_FORMAT_TOTAL_TIME_ENABLED,4,2 ; @PERF_FORMAT_TOTAL_TIME_ENABLED
.comm _PERF_FORMAT_TOTAL_TIME_RUNNING,4,2 ; @PERF_FORMAT_TOTAL_TIME_RUNNING
.comm _PERF_FORMAT_ID,4,2 ; @PERF_FORMAT_ID
.no_dead_strip _perf_output_read_one
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function rtl8192_process_phyinfo
_rtl8192_process_phyinfo: ## @rtl8192_process_phyinfo
.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 %rcx, %r15
movq %rdx, %r14
movq %rdi, %rbx
movl (%rsi), %edi
callq _le16_to_cpu
movl %eax, %r12d
movl %eax, %edi
callq _WLAN_GET_SEQ_FRAG
movl %r12d, %edi
callq _WLAN_GET_SEQ_SEQ
movl %eax, (%r15)
movl 104(%r14), %r12d
movq _rtl8192_process_phyinfo.slide_rssi_statistics(%rip), %rax
leaq -1(%rax), %rcx
movq %rcx, _rtl8192_process_phyinfo.slide_rssi_statistics(%rip)
movq _PHY_RSSI_SLID_WIN_MAX@GOTPCREL(%rip), %r8
movq (%r8), %rdi
cmpq %rdi, %rax
jae LBB0_2
## %bb.1:
movq 8(%rbx), %rax
movq 16(%rbx), %rsi
movq _rtl8192_process_phyinfo.slide_rssi_index(%rip), %rdx
jmp LBB0_3
LBB0_2:
movq %rdi, _rtl8192_process_phyinfo.slide_rssi_statistics(%rip)
movq 8(%rbx), %rax
movq 16(%rbx), %rsi
movq _rtl8192_process_phyinfo.slide_rssi_index(%rip), %rdx
subq (%rax,%rdx,8), %rsi
movq %rdi, %rcx
LBB0_3:
movq 8(%r14), %rdi
addq %rdi, %rsi
movq %rsi, 16(%rbx)
leaq 1(%rdx), %rsi
movq %rsi, _rtl8192_process_phyinfo.slide_rssi_index(%rip)
movq %rdi, (%rax,%rdx,8)
cmpq (%r8), %rsi
jb LBB0_5
## %bb.4:
movq $0, _rtl8192_process_phyinfo.slide_rssi_index(%rip)
LBB0_5:
movq 16(%rbx), %rax
movq %rax, %rdx
orq %rcx, %rdx
shrq $32, %rdx
je LBB0_6
## %bb.7:
xorl %edx, %edx
divq %rcx
jmp LBB0_8
LBB0_6:
## kill: def $eax killed $eax killed $rax
xorl %edx, %edx
divl %ecx
## kill: def $eax killed $eax def $rax
LBB0_8:
movq %rax, %rdi
callq _rtl819x_translate_todbm
movq %rax, 88(%rbx)
movq %rax, 88(%r15)
cmpl $0, 80(%r14)
je LBB0_9
## %bb.10:
testl %r12d, %r12d
jne LBB0_67
jmp LBB0_11
LBB0_9:
testl %r12d, %r12d
setne %al
cmpq $0, 48(%r14)
sete %cl
orb %al, %cl
jne LBB0_67
LBB0_11:
movq %rbx, %rdi
movq %r14, %rsi
callq _rtl8190_process_cck_rxpathsel
incl 96(%rbx)
cmpq $0, 72(%r14)
je LBB0_12
LBB0_23:
cmpq $0, 56(%r14)
je LBB0_24
## %bb.25:
movq _rtl8192_process_phyinfo.slide_beacon_adc_pwdb_statistics(%rip), %rdx
leaq 1(%rdx), %rcx
movq %rcx, _rtl8192_process_phyinfo.slide_beacon_adc_pwdb_statistics(%rip)
movq _PHY_Beacon_RSSI_SLID_WIN_MAX@GOTPCREL(%rip), %rax
movq (%rax), %r8
cmpq %r8, %rdx
jae LBB0_27
## %bb.26:
movq 32(%rbx), %rsi
movq 40(%rbx), %rdi
movq _rtl8192_process_phyinfo.slide_beacon_adc_pwdb_index(%rip), %rdx
jmp LBB0_28
LBB0_12:
cmpq $0, 64(%r14)
je LBB0_23
## %bb.13:
movq _RF90_PATH_A@GOTPCREL(%rip), %rax
movq (%rax), %r15
movq _RF90_PATH_C@GOTPCREL(%rip), %r12
cmpq (%r12), %r15
jae LBB0_23
## %bb.14:
movq _COMP_DBG@GOTPCREL(%rip), %r13
jmp LBB0_15
LBB0_20: ## in Loop: Header=BB0_15 Depth=1
movq _Rx_Smooth_Factor@GOTPCREL(%rip), %rax
movl (%rax), %edi
leal -1(%rdi), %eax
imull %esi, %eax
addl %edx, %eax
cltd
idivl %edi
decl %eax
LBB0_21: ## in Loop: Header=BB0_15 Depth=1
movl %eax, (%rcx,%r15,4)
movl (%r13), %edi
leaq L_.str.1(%rip), %rsi
movl %eax, %edx
xorl %eax, %eax
callq _RT_TRACE
LBB0_22: ## in Loop: Header=BB0_15 Depth=1
incq %r15
cmpq (%r12), %r15
jae LBB0_23
LBB0_15: ## =>This Inner Loop Header: Depth=1
movq 104(%rbx), %rax
movl (%rax), %edi
movq %r15, %rsi
callq _rtl8192_phy_CheckIsLegalRFPath
testl %eax, %eax
je LBB0_22
## %bb.16: ## in Loop: Header=BB0_15 Depth=1
movl (%r13), %edi
movq 16(%r14), %rax
movl (%rax,%r15,4), %edx
leaq L_.str(%rip), %rsi
xorl %eax, %eax
callq _RT_TRACE
movq 24(%rbx), %rcx
movl (%rcx,%r15,4), %esi
movq 16(%r14), %rax
movl (%rax,%r15,4), %edx
testl %esi, %esi
je LBB0_17
## %bb.19: ## in Loop: Header=BB0_15 Depth=1
cmpl %esi, %edx
jg LBB0_20
jmp LBB0_18
.p2align 4, 0x90
LBB0_17: ## in Loop: Header=BB0_15 Depth=1
movl %edx, (%rcx,%r15,4)
movl %edx, %esi
LBB0_18: ## in Loop: Header=BB0_15 Depth=1
movq _Rx_Smooth_Factor@GOTPCREL(%rip), %rax
movl (%rax), %edi
leal -1(%rdi), %eax
imull %esi, %eax
addl %edx, %eax
cltd
idivl %edi
jmp LBB0_21
LBB0_24:
movq 24(%r14), %rcx
movq _PHY_RSSI_SLID_WIN_MAX@GOTPCREL(%rip), %r15
jmp LBB0_33
LBB0_27:
movq %r8, _rtl8192_process_phyinfo.slide_beacon_adc_pwdb_statistics(%rip)
movq 32(%rbx), %rsi
movq 40(%rbx), %rdi
movq _rtl8192_process_phyinfo.slide_beacon_adc_pwdb_index(%rip), %rdx
subq (%rsi,%rdx,8), %rdi
movq %r8, %rcx
LBB0_28:
movq 24(%r14), %r8
addq %r8, %rdi
movq %rdi, 40(%rbx)
movq %r8, (%rsi,%rdx,8)
incq %rdx
xorl %esi, %esi
cmpq (%rax), %rdx
cmovbq %rdx, %rsi
movq %rsi, _rtl8192_process_phyinfo.slide_beacon_adc_pwdb_index(%rip)
movq 40(%rbx), %rax
movq %rax, %rdx
orq %rcx, %rdx
shrq $32, %rdx
movq _PHY_RSSI_SLID_WIN_MAX@GOTPCREL(%rip), %r15
je LBB0_29
## %bb.30:
xorl %edx, %edx
divq %rcx
movq %rax, %rcx
jmp LBB0_31
LBB0_29:
## kill: def $eax killed $eax killed $rax
xorl %edx, %edx
divl %ecx
movl %eax, %ecx
LBB0_31:
movq %rcx, 24(%r14)
cmpq $3, %rcx
jb LBB0_33
## %bb.32:
addq $-3, %rcx
movq %rcx, 24(%r14)
LBB0_33:
movq _COMP_RXDESC@GOTPCREL(%rip), %rax
movl (%rax), %edi
cmpq $0, 72(%r14)
leaq L_.str.4(%rip), %rax
leaq L_.str.3(%rip), %rdx
cmoveq %rax, %rdx
leaq L_.str.2(%rip), %rsi
xorl %eax, %eax
callq _RT_TRACE
cmpq $0, 64(%r14)
jne LBB0_36
## %bb.34:
cmpq $0, 56(%r14)
jne LBB0_36
## %bb.35:
cmpq $0, 48(%r14)
je LBB0_42
LBB0_36:
movl (%rbx), %eax
movq 24(%r14), %rcx
testl %eax, %eax
jns LBB0_38
## %bb.37:
movl %ecx, (%rbx)
movl %ecx, %eax
LBB0_38:
movslq %eax, %rsi
movq _Rx_Smooth_Factor@GOTPCREL(%rip), %rax
movslq (%rax), %rdi
leaq -1(%rdi), %rax
imulq %rsi, %rax
addq %rcx, %rax
movq %rax, %rdx
orq %rdi, %rdx
shrq $32, %rdx
je LBB0_39
## %bb.40:
xorl %edx, %edx
divq %rdi
jmp LBB0_41
LBB0_39:
## kill: def $eax killed $eax killed $rax
xorl %edx, %edx
divl %edi
## kill: def $eax killed $eax def $rax
LBB0_41:
cmpq %rcx, %rsi
adcl $0, %eax
movl %eax, (%rbx)
movq %rbx, %rdi
movq %r14, %rsi
callq _rtl819x_update_rxsignalstatistics8190pci
LBB0_42:
movq 32(%r14), %rax
testq %rax, %rax
je LBB0_67
## %bb.43:
cmpq $0, 64(%r14)
jne LBB0_46
## %bb.44:
cmpq $0, 56(%r14)
jne LBB0_46
## %bb.45:
cmpq $0, 48(%r14)
je LBB0_55
LBB0_46:
movq _rtl8192_process_phyinfo.slide_evm_statistics(%rip), %rdx
leaq 1(%rdx), %rcx
movq %rcx, _rtl8192_process_phyinfo.slide_evm_statistics(%rip)
movq (%r15), %r8
cmpq %r8, %rdx
jae LBB0_48
## %bb.47:
movq 48(%rbx), %rdx
movq 56(%rbx), %rdi
movq _rtl8192_process_phyinfo.slide_evm_index(%rip), %rsi
jmp LBB0_49
LBB0_48:
movq %r8, _rtl8192_process_phyinfo.slide_evm_statistics(%rip)
movq 48(%rbx), %rdx
movq 56(%rbx), %rdi
movq _rtl8192_process_phyinfo.slide_evm_index(%rip), %rsi
subq (%rdx,%rsi,8), %rdi
movq %r8, %rcx
LBB0_49:
addq %rax, %rdi
movq %rdi, 56(%rbx)
leaq 1(%rsi), %rdi
movq %rdi, _rtl8192_process_phyinfo.slide_evm_index(%rip)
movq %rax, (%rdx,%rsi,8)
cmpq (%r15), %rdi
jb LBB0_51
## %bb.50:
movq $0, _rtl8192_process_phyinfo.slide_evm_index(%rip)
LBB0_51:
movq 56(%rbx), %rax
movq %rax, %rdx
orq %rcx, %rdx
shrq $32, %rdx
je LBB0_52
## %bb.53:
xorl %edx, %edx
divq %rcx
jmp LBB0_54
LBB0_52:
## kill: def $eax killed $eax killed $rax
xorl %edx, %edx
divl %ecx
## kill: def $eax killed $eax def $rax
LBB0_54:
movq %rax, 64(%rbx)
movq %rax, 72(%rbx)
cmpq $0, 64(%r14)
jne LBB0_57
LBB0_55:
cmpq $0, 56(%r14)
jne LBB0_57
## %bb.56:
cmpq $0, 48(%r14)
je LBB0_67
LBB0_57:
movq 40(%r14), %rcx
movl (%rcx), %edx
cmpl $-1, %edx
je LBB0_62
## %bb.58:
movq 80(%rbx), %rsi
movl (%rsi), %eax
testl %eax, %eax
je LBB0_60
## %bb.59:
movl %edx, %edi
movl %eax, %edx
jmp LBB0_61
LBB0_60:
movl %edx, (%rsi)
movl (%rcx), %edi
LBB0_61:
movq _Rx_Smooth_Factor@GOTPCREL(%rip), %rax
movl (%rax), %r8d
leal -1(%r8), %eax
imull %edx, %eax
addl %edi, %eax
cltd
idivl %r8d
movl %eax, (%rsi)
LBB0_62:
movl 4(%rcx), %edx
cmpl $-1, %edx
je LBB0_67
## %bb.63:
movq 80(%rbx), %rsi
movl 4(%rsi), %eax
testl %eax, %eax
je LBB0_65
## %bb.64:
movl %edx, %ecx
movl %eax, %edx
jmp LBB0_66
LBB0_65:
movl %edx, 4(%rsi)
movl 4(%rcx), %ecx
LBB0_66:
movq _Rx_Smooth_Factor@GOTPCREL(%rip), %rax
movl (%rax), %edi
leal -1(%rdi), %eax
imull %edx, %eax
addl %ecx, %eax
cltd
idivl %edi
movl %eax, 4(%rsi)
LBB0_67:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_rtl8192_process_phyinfo.slide_rssi_index,8,3 ## @rtl8192_process_phyinfo.slide_rssi_index
.zerofill __DATA,__bss,_rtl8192_process_phyinfo.slide_rssi_statistics,8,3 ## @rtl8192_process_phyinfo.slide_rssi_statistics
.zerofill __DATA,__bss,_rtl8192_process_phyinfo.slide_evm_index,8,3 ## @rtl8192_process_phyinfo.slide_evm_index
.zerofill __DATA,__bss,_rtl8192_process_phyinfo.slide_evm_statistics,8,3 ## @rtl8192_process_phyinfo.slide_evm_statistics
.zerofill __DATA,__bss,_rtl8192_process_phyinfo.slide_beacon_adc_pwdb_index,8,3 ## @rtl8192_process_phyinfo.slide_beacon_adc_pwdb_index
.zerofill __DATA,__bss,_rtl8192_process_phyinfo.slide_beacon_adc_pwdb_statistics,8,3 ## @rtl8192_process_phyinfo.slide_beacon_adc_pwdb_statistics
.comm _PHY_RSSI_SLID_WIN_MAX,8,3 ## @PHY_RSSI_SLID_WIN_MAX
.comm _RF90_PATH_A,8,3 ## @RF90_PATH_A
.comm _RF90_PATH_C,8,3 ## @RF90_PATH_C
.comm _COMP_DBG,4,2 ## @COMP_DBG
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Jacken -> pPreviousstats->RxMIMOSignalStrength[rfpath] = %d \n"
.comm _Rx_Smooth_Factor,4,2 ## @Rx_Smooth_Factor
L_.str.1: ## @.str.1
.asciz "Jacken -> priv->RxStats.RxRSSIPercentage[rfPath] = %d \n"
.comm _PHY_Beacon_RSSI_SLID_WIN_MAX,8,3 ## @PHY_Beacon_RSSI_SLID_WIN_MAX
.comm _COMP_RXDESC,4,2 ## @COMP_RXDESC
L_.str.2: ## @.str.2
.asciz "Smooth %s PWDB = %d\n"
L_.str.3: ## @.str.3
.asciz "CCK"
L_.str.4: ## @.str.4
.asciz "OFDM"
.comm _pHalData,8,3 ## @pHalData
.comm _pPreviousRfd,8,3 ## @pPreviousRfd
.no_dead_strip _rtl8192_process_phyinfo
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function rtl8192_process_phyinfo
_rtl8192_process_phyinfo: ; @rtl8192_process_phyinfo
.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 x21, x3
mov x20, x2
mov x19, x0
ldr w0, [x1]
bl _le16_to_cpu
mov x22, x0
bl _WLAN_GET_SEQ_FRAG
mov x0, x22
bl _WLAN_GET_SEQ_SEQ
str w0, [x21]
ldr w22, [x20, #104]
adrp x10, _rtl8192_process_phyinfo.slide_rssi_statistics@PAGE
ldr x11, [x10, _rtl8192_process_phyinfo.slide_rssi_statistics@PAGEOFF]
sub x9, x11, #1
str x9, [x10, _rtl8192_process_phyinfo.slide_rssi_statistics@PAGEOFF]
Lloh0:
adrp x24, _PHY_RSSI_SLID_WIN_MAX@GOTPAGE
Lloh1:
ldr x24, [x24, _PHY_RSSI_SLID_WIN_MAX@GOTPAGEOFF]
ldr x13, [x24]
adrp x8, _rtl8192_process_phyinfo.slide_rssi_index@PAGE
cmp x11, x13
b.hs LBB0_2
; %bb.1:
ldp x10, x12, [x19, #8]
ldr x11, [x8, _rtl8192_process_phyinfo.slide_rssi_index@PAGEOFF]
b LBB0_3
LBB0_2:
str x13, [x10, _rtl8192_process_phyinfo.slide_rssi_statistics@PAGEOFF]
ldr x11, [x8, _rtl8192_process_phyinfo.slide_rssi_index@PAGEOFF]
ldp x10, x9, [x19, #8]
ldr x12, [x10, x11, lsl #3]
sub x12, x9, x12
mov x9, x13
LBB0_3:
ldr x13, [x20, #8]
add x12, x12, x13
str x12, [x19, #16]
add x12, x11, #1
str x12, [x8, _rtl8192_process_phyinfo.slide_rssi_index@PAGEOFF]
str x13, [x10, x11, lsl #3]
ldr x10, [x24]
cmp x12, x10
b.lo LBB0_5
; %bb.4:
str xzr, [x8, _rtl8192_process_phyinfo.slide_rssi_index@PAGEOFF]
LBB0_5:
ldr x8, [x19, #16]
udiv x0, x8, x9
bl _rtl819x_translate_todbm
str x0, [x19, #88]
str x0, [x21, #88]
ldr w8, [x20, #80]
cbnz w8, LBB0_7
; %bb.6:
ldr x8, [x20, #48]
cbz x8, LBB0_55
LBB0_7:
cbnz w22, LBB0_55
; %bb.8:
mov x0, x19
mov x1, x20
bl _rtl8190_process_cck_rxpathsel
ldr w8, [x19, #96]
add w8, w8, #1
str w8, [x19, #96]
ldr x8, [x20, #72]
Lloh2:
adrp x25, _Rx_Smooth_Factor@GOTPAGE
Lloh3:
ldr x25, [x25, _Rx_Smooth_Factor@GOTPAGEOFF]
cbz x8, LBB0_12
LBB0_9:
ldr x8, [x20, #56]
cbz x8, LBB0_23
; %bb.10:
adrp x11, _rtl8192_process_phyinfo.slide_beacon_adc_pwdb_statistics@PAGE
ldr x12, [x11, _rtl8192_process_phyinfo.slide_beacon_adc_pwdb_statistics@PAGEOFF]
add x10, x12, #1
str x10, [x11, _rtl8192_process_phyinfo.slide_beacon_adc_pwdb_statistics@PAGEOFF]
Lloh4:
adrp x9, _PHY_Beacon_RSSI_SLID_WIN_MAX@GOTPAGE
Lloh5:
ldr x9, [x9, _PHY_Beacon_RSSI_SLID_WIN_MAX@GOTPAGEOFF]
ldr x14, [x9]
adrp x8, _rtl8192_process_phyinfo.slide_beacon_adc_pwdb_index@PAGE
cmp x12, x14
b.hs LBB0_24
; %bb.11:
ldp x12, x13, [x19, #32]
ldr x11, [x8, _rtl8192_process_phyinfo.slide_beacon_adc_pwdb_index@PAGEOFF]
b LBB0_25
LBB0_12:
ldr x8, [x20, #64]
cbz x8, LBB0_9
; %bb.13:
Lloh6:
adrp x8, _RF90_PATH_A@GOTPAGE
Lloh7:
ldr x8, [x8, _RF90_PATH_A@GOTPAGEOFF]
Lloh8:
ldr x21, [x8]
Lloh9:
adrp x26, _RF90_PATH_C@GOTPAGE
Lloh10:
ldr x26, [x26, _RF90_PATH_C@GOTPAGEOFF]
ldr x8, [x26]
cmp x21, x8
b.hs LBB0_9
; %bb.14:
Lloh11:
adrp x27, _COMP_DBG@GOTPAGE
Lloh12:
ldr x27, [x27, _COMP_DBG@GOTPAGEOFF]
Lloh13:
adrp x22, l_.str@PAGE
Lloh14:
add x22, x22, l_.str@PAGEOFF
Lloh15:
adrp x23, l_.str.1@PAGE
Lloh16:
add x23, x23, l_.str.1@PAGEOFF
b LBB0_19
LBB0_15: ; in Loop: Header=BB0_19 Depth=1
str w9, [x8, x21, lsl #2]
mov x10, x9
LBB0_16: ; in Loop: Header=BB0_19 Depth=1
ldr w11, [x25]
sub w12, w11, #1
madd w9, w12, w10, w9
sdiv w9, w9, w11
LBB0_17: ; in Loop: Header=BB0_19 Depth=1
str w9, [x8, x21, lsl #2]
ldr w0, [x27]
str x9, [sp]
mov x1, x23
bl _RT_TRACE
LBB0_18: ; in Loop: Header=BB0_19 Depth=1
add x21, x21, #1
ldr x8, [x26]
cmp x21, x8
b.hs LBB0_9
LBB0_19: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #104]
ldr w0, [x8]
mov x1, x21
bl _rtl8192_phy_CheckIsLegalRFPath
cbz w0, LBB0_18
; %bb.20: ; in Loop: Header=BB0_19 Depth=1
ldr w0, [x27]
ldr x8, [x20, #16]
ldr w8, [x8, x21, lsl #2]
str x8, [sp]
mov x1, x22
bl _RT_TRACE
ldr x8, [x19, #24]
ldr w10, [x8, x21, lsl #2]
ldr x9, [x20, #16]
ldr w9, [x9, x21, lsl #2]
cbz w10, LBB0_15
; %bb.21: ; in Loop: Header=BB0_19 Depth=1
cmp w9, w10
b.le LBB0_16
; %bb.22: ; in Loop: Header=BB0_19 Depth=1
ldr w11, [x25]
sub w12, w11, #1
madd w9, w12, w10, w9
sdiv w9, w9, w11
sub w9, w9, #1
b LBB0_17
LBB0_23:
ldr x8, [x20, #24]
b LBB0_27
LBB0_24:
str x14, [x11, _rtl8192_process_phyinfo.slide_beacon_adc_pwdb_statistics@PAGEOFF]
ldr x11, [x8, _rtl8192_process_phyinfo.slide_beacon_adc_pwdb_index@PAGEOFF]
ldp x12, x10, [x19, #32]
ldr x13, [x12, x11, lsl #3]
sub x13, x10, x13
mov x10, x14
LBB0_25:
ldr x14, [x20, #24]
add x13, x13, x14
str x13, [x19, #40]
str x14, [x12, x11, lsl #3]
add x12, x11, #1
ldr x9, [x9]
cmp x12, x9
csinc x9, xzr, x11, hs
str x9, [x8, _rtl8192_process_phyinfo.slide_beacon_adc_pwdb_index@PAGEOFF]
ldr x8, [x19, #40]
udiv x8, x8, x10
str x8, [x20, #24]
subs x9, x8, #3
b.lo LBB0_27
; %bb.26:
str x9, [x20, #24]
mov x8, x9
LBB0_27:
Lloh17:
adrp x9, _COMP_RXDESC@GOTPAGE
Lloh18:
ldr x9, [x9, _COMP_RXDESC@GOTPAGEOFF]
Lloh19:
ldr w0, [x9]
ldr x9, [x20, #72]
Lloh20:
adrp x10, l_.str.3@PAGE
Lloh21:
add x10, x10, l_.str.3@PAGEOFF
Lloh22:
adrp x11, l_.str.4@PAGE
Lloh23:
add x11, x11, l_.str.4@PAGEOFF
cmp x9, #0
csel x9, x11, x10, eq
stp x9, x8, [sp]
Lloh24:
adrp x1, l_.str.2@PAGE
Lloh25:
add x1, x1, l_.str.2@PAGEOFF
bl _RT_TRACE
ldr x8, [x20, #64]
cbnz x8, LBB0_30
; %bb.28:
ldr x8, [x20, #56]
cbnz x8, LBB0_30
; %bb.29:
ldr x8, [x20, #48]
cbz x8, LBB0_33
LBB0_30:
ldr w9, [x19]
ldr x8, [x20, #24]
tbz w9, #31, LBB0_32
; %bb.31:
str w8, [x19]
mov x9, x8
LBB0_32:
sxtw x9, w9
ldrsw x10, [x25]
sub x11, x10, #1
cmp x8, x9
madd x8, x11, x9, x8
udiv x8, x8, x10
cinc w8, w8, hi
str w8, [x19]
mov x0, x19
mov x1, x20
bl _rtl819x_update_rxsignalstatistics8190pci
LBB0_33:
ldr x8, [x20, #32]
cbz x8, LBB0_55
; %bb.34:
ldr x9, [x20, #64]
cbnz x9, LBB0_37
; %bb.35:
ldr x9, [x20, #56]
cbnz x9, LBB0_37
; %bb.36:
ldr x9, [x20, #48]
cbz x9, LBB0_43
LBB0_37:
adrp x11, _rtl8192_process_phyinfo.slide_evm_statistics@PAGE
ldr x12, [x11, _rtl8192_process_phyinfo.slide_evm_statistics@PAGEOFF]
add x10, x12, #1
str x10, [x11, _rtl8192_process_phyinfo.slide_evm_statistics@PAGEOFF]
ldr x14, [x24]
adrp x9, _rtl8192_process_phyinfo.slide_evm_index@PAGE
cmp x12, x14
b.hs LBB0_39
; %bb.38:
ldp x11, x13, [x19, #48]
ldr x12, [x9, _rtl8192_process_phyinfo.slide_evm_index@PAGEOFF]
b LBB0_40
LBB0_39:
str x14, [x11, _rtl8192_process_phyinfo.slide_evm_statistics@PAGEOFF]
ldr x12, [x9, _rtl8192_process_phyinfo.slide_evm_index@PAGEOFF]
ldp x11, x10, [x19, #48]
ldr x13, [x11, x12, lsl #3]
sub x13, x10, x13
mov x10, x14
LBB0_40:
add x13, x13, x8
str x13, [x19, #56]
add x13, x12, #1
str x13, [x9, _rtl8192_process_phyinfo.slide_evm_index@PAGEOFF]
str x8, [x11, x12, lsl #3]
ldr x8, [x24]
cmp x13, x8
b.lo LBB0_42
; %bb.41:
str xzr, [x9, _rtl8192_process_phyinfo.slide_evm_index@PAGEOFF]
LBB0_42:
ldr x8, [x19, #56]
udiv x8, x8, x10
stp x8, x8, [x19, #64]
ldr x8, [x20, #64]
cbnz x8, LBB0_45
LBB0_43:
ldr x8, [x20, #56]
cbnz x8, LBB0_45
; %bb.44:
ldr x8, [x20, #48]
cbz x8, LBB0_55
LBB0_45:
ldr x8, [x20, #40]
ldr w9, [x8]
cmn w9, #1
b.eq LBB0_50
; %bb.46:
ldr x10, [x19, #80]
ldr w12, [x10]
cbz w12, LBB0_48
; %bb.47:
mov x11, x9
mov x9, x12
b LBB0_49
LBB0_48:
str w9, [x10]
ldr w11, [x8]
LBB0_49:
ldr w12, [x25]
sub w13, w12, #1
madd w9, w13, w9, w11
sdiv w9, w9, w12
str w9, [x10]
LBB0_50:
ldr w9, [x8, #4]
cmn w9, #1
b.eq LBB0_55
; %bb.51:
ldr x10, [x19, #80]
ldr w11, [x10, #4]
cbz w11, LBB0_53
; %bb.52:
mov x8, x9
mov x9, x11
b LBB0_54
LBB0_53:
str w9, [x10, #4]
ldr w8, [x8, #4]
LBB0_54:
ldr w11, [x25]
sub w12, w11, #1
madd w8, w12, w9, w8
sdiv w8, w8, w11
str w8, [x10, #4]
LBB0_55:
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 AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_rtl8192_process_phyinfo.slide_rssi_index,8,3 ; @rtl8192_process_phyinfo.slide_rssi_index
.zerofill __DATA,__bss,_rtl8192_process_phyinfo.slide_rssi_statistics,8,3 ; @rtl8192_process_phyinfo.slide_rssi_statistics
.zerofill __DATA,__bss,_rtl8192_process_phyinfo.slide_evm_index,8,3 ; @rtl8192_process_phyinfo.slide_evm_index
.zerofill __DATA,__bss,_rtl8192_process_phyinfo.slide_evm_statistics,8,3 ; @rtl8192_process_phyinfo.slide_evm_statistics
.zerofill __DATA,__bss,_rtl8192_process_phyinfo.slide_beacon_adc_pwdb_index,8,3 ; @rtl8192_process_phyinfo.slide_beacon_adc_pwdb_index
.zerofill __DATA,__bss,_rtl8192_process_phyinfo.slide_beacon_adc_pwdb_statistics,8,3 ; @rtl8192_process_phyinfo.slide_beacon_adc_pwdb_statistics
.comm _PHY_RSSI_SLID_WIN_MAX,8,3 ; @PHY_RSSI_SLID_WIN_MAX
.comm _RF90_PATH_A,8,3 ; @RF90_PATH_A
.comm _RF90_PATH_C,8,3 ; @RF90_PATH_C
.comm _COMP_DBG,4,2 ; @COMP_DBG
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Jacken -> pPreviousstats->RxMIMOSignalStrength[rfpath] = %d \n"
.comm _Rx_Smooth_Factor,4,2 ; @Rx_Smooth_Factor
l_.str.1: ; @.str.1
.asciz "Jacken -> priv->RxStats.RxRSSIPercentage[rfPath] = %d \n"
.comm _PHY_Beacon_RSSI_SLID_WIN_MAX,8,3 ; @PHY_Beacon_RSSI_SLID_WIN_MAX
.comm _COMP_RXDESC,4,2 ; @COMP_RXDESC
l_.str.2: ; @.str.2
.asciz "Smooth %s PWDB = %d\n"
l_.str.3: ; @.str.3
.asciz "CCK"
l_.str.4: ; @.str.4
.asciz "OFDM"
.comm _pHalData,8,3 ; @pHalData
.comm _pPreviousRfd,8,3 ; @pPreviousRfd
.no_dead_strip _rtl8192_process_phyinfo
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _uconv_u16tou32 ## -- Begin function uconv_u16tou32
.p2align 4, 0x90
_uconv_u16tou32: ## @uconv_u16tou32
.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, %r13
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
setne %cl
orb %al, %cl
jne LBB0_2
LBB0_1:
movq _EILSEQ@GOTPCREL(%rip), %rax
movl (%rax), %eax
jmp LBB0_41
LBB0_2:
movq %rdx, %r15
testq %rdx, %rdx
setne %al
testq %r13, %r13
setne %cl
testb %cl, %al
jne LBB0_4
LBB0_3:
movq _E2BIG@GOTPCREL(%rip), %rax
movl (%rax), %eax
jmp LBB0_41
LBB0_4:
movq %rsi, %r14
movq %rdi, %r12
leaq -48(%rbp), %rsi
leaq -44(%rbp), %rdx
movl %r8d, %ebx
movl %r8d, %edi
callq _check_endian
testq %rax, %rax
je LBB0_6
## %bb.5:
movq _EBADF@GOTPCREL(%rip), %rax
movl (%rax), %eax
jmp LBB0_41
LBB0_6:
movq %r13, -64(%rbp) ## 8-byte Spill
movq _UCONV_IGNORE_NULL@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -52(%rbp) ## 4-byte Spill
movq _UCONV_IN_ACCEPT_BOM@GOTPCREL(%rip), %rax
testl %ebx, (%rax)
je LBB0_8
## %bb.7:
movq (%r14), %rsi
leaq -48(%rbp), %rdx
movq %r12, %rdi
callq _check_bom16
movl %ebx, %ecx
xorl %r13d, %r13d
negq %rax
sbbq %r13, %r13
jmp LBB0_9
LBB0_8:
movl %ebx, %ecx
xorl %r13d, %r13d
LBB0_9:
movq _UCONV_IN_NAT_ENDIAN@GOTPCREL(%rip), %rax
movl (%rax), %eax
andl %eax, -48(%rbp)
movq _UCONV_OUT_NAT_ENDIAN@GOTPCREL(%rip), %rax
movl -44(%rbp), %edx
andl (%rax), %edx
movl %edx, -44(%rbp)
movq (%r14), %rax
testq %rax, %rax
je LBB0_14
## %bb.10:
movq -64(%rbp), %rsi ## 8-byte Reload
cmpq $0, (%rsi)
je LBB0_15
## %bb.11:
movq _UCONV_OUT_EMIT_BOM@GOTPCREL(%rip), %rsi
testl %ecx, (%rsi)
je LBB0_15
## %bb.12:
testl %edx, %edx
jne LBB0_16
## %bb.13:
movq _UCONV_BOM_SWAPPED_32@GOTPCREL(%rip), %rax
jmp LBB0_17
LBB0_14:
xorl %eax, %eax
LBB0_15:
xorl %esi, %esi
cmpq %rax, %r13
jae LBB0_40
jmp LBB0_19
LBB0_16:
movq _UCONV_BOM_NORMAL@GOTPCREL(%rip), %rax
LBB0_17:
movq (%rax), %rax
movq %rax, (%r15)
movq (%r14), %rax
movl $1, %esi
cmpq %rax, %r13
jae LBB0_40
LBB0_19:
xorl %ebx, %ebx
andl %ecx, -52(%rbp) ## 4-byte Folded Spill
movq _UCONV_U16_HI_MIN@GOTPCREL(%rip), %rdi
xorl %r13d, %r13d
movq %r12, -72(%rbp) ## 8-byte Spill
jmp LBB0_22
.p2align 4, 0x90
LBB0_20: ## in Loop: Header=BB0_22 Depth=1
movq %rax, (%r15,%rsi,8)
incq %rsi
xorl %eax, %eax
LBB0_21: ## in Loop: Header=BB0_22 Depth=1
incq %r13
movq %rax, %rbx
cmpq (%r14), %r13
jae LBB0_38
LBB0_22: ## =>This Inner Loop Header: Depth=1
movq (%r12,%r13,8), %rax
testq %rax, %rax
jne LBB0_24
## %bb.23: ## in Loop: Header=BB0_22 Depth=1
cmpl $0, -52(%rbp) ## 4-byte Folded Reload
je LBB0_37
LBB0_24: ## in Loop: Header=BB0_22 Depth=1
cmpl $0, -48(%rbp)
jne LBB0_26
## %bb.25: ## in Loop: Header=BB0_22 Depth=1
movq %rax, %rdi
movq %r14, %r12
movq %r15, %r14
movq %rsi, %r15
callq _BSWAP_16
movq _UCONV_U16_HI_MIN@GOTPCREL(%rip), %rdi
movq %r15, %rsi
movq %r14, %r15
movq %r12, %r14
movq -72(%rbp), %r12 ## 8-byte Reload
LBB0_26: ## in Loop: Header=BB0_22 Depth=1
movq (%rdi), %rcx
cmpq %rcx, %rax
jl LBB0_29
## %bb.27: ## in Loop: Header=BB0_22 Depth=1
movq _UCONV_U16_HI_MAX@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rax
jg LBB0_29
## %bb.28: ## in Loop: Header=BB0_22 Depth=1
testq %rbx, %rbx
je LBB0_21
jmp LBB0_1
.p2align 4, 0x90
LBB0_29: ## in Loop: Header=BB0_22 Depth=1
movq %rax, %rdx
movq _UCONV_U16_LO_MIN@GOTPCREL(%rip), %r8
subq (%r8), %rdx
jl LBB0_33
## %bb.30: ## in Loop: Header=BB0_22 Depth=1
movq _UCONV_U16_LO_MAX@GOTPCREL(%rip), %r8
cmpq (%r8), %rax
jg LBB0_33
## %bb.31: ## in Loop: Header=BB0_22 Depth=1
testq %rbx, %rbx
je LBB0_1
## %bb.32: ## in Loop: Header=BB0_22 Depth=1
subq %rcx, %rbx
movq _UCONV_U16_BIT_SHIFT@GOTPCREL(%rip), %rax
imulq (%rax), %rbx
addq %rbx, %rdx
movq _UCONV_U16_BIT_MASK@GOTPCREL(%rip), %rax
andq (%rax), %rdx
movq _UCONV_U16_START@GOTPCREL(%rip), %rax
addq (%rax), %rdx
movq %rdx, %rax
jmp LBB0_34
LBB0_33: ## in Loop: Header=BB0_22 Depth=1
testq %rbx, %rbx
jne LBB0_1
LBB0_34: ## in Loop: Header=BB0_22 Depth=1
movq -64(%rbp), %rcx ## 8-byte Reload
cmpq (%rcx), %rsi
jae LBB0_3
## %bb.35: ## in Loop: Header=BB0_22 Depth=1
cmpl $0, -44(%rbp)
jne LBB0_20
## %bb.36: ## in Loop: Header=BB0_22 Depth=1
movq %rax, %rdi
movq %rsi, %rbx
callq _BSWAP_32
movq _UCONV_U16_HI_MIN@GOTPCREL(%rip), %rdi
movq %rbx, %rsi
jmp LBB0_20
LBB0_37:
movq %rbx, %rax
LBB0_38:
testq %rax, %rax
je LBB0_40
## %bb.39:
movq _EINVAL@GOTPCREL(%rip), %rax
movl (%rax), %eax
jmp LBB0_41
LBB0_40:
movq %r13, (%r14)
movq -64(%rbp), %rax ## 8-byte Reload
movq %rsi, (%rax)
xorl %eax, %eax
LBB0_41:
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EILSEQ,4,2 ## @EILSEQ
.comm _E2BIG,4,2 ## @E2BIG
.comm _EBADF,4,2 ## @EBADF
.comm _UCONV_IGNORE_NULL,4,2 ## @UCONV_IGNORE_NULL
.comm _UCONV_IN_ACCEPT_BOM,4,2 ## @UCONV_IN_ACCEPT_BOM
.comm _UCONV_IN_NAT_ENDIAN,4,2 ## @UCONV_IN_NAT_ENDIAN
.comm _UCONV_OUT_NAT_ENDIAN,4,2 ## @UCONV_OUT_NAT_ENDIAN
.comm _UCONV_OUT_EMIT_BOM,4,2 ## @UCONV_OUT_EMIT_BOM
.comm _UCONV_BOM_NORMAL,8,3 ## @UCONV_BOM_NORMAL
.comm _UCONV_BOM_SWAPPED_32,8,3 ## @UCONV_BOM_SWAPPED_32
.comm _UCONV_U16_HI_MIN,8,3 ## @UCONV_U16_HI_MIN
.comm _UCONV_U16_HI_MAX,8,3 ## @UCONV_U16_HI_MAX
.comm _UCONV_U16_LO_MIN,8,3 ## @UCONV_U16_LO_MIN
.comm _UCONV_U16_LO_MAX,8,3 ## @UCONV_U16_LO_MAX
.comm _UCONV_U16_BIT_SHIFT,8,3 ## @UCONV_U16_BIT_SHIFT
.comm _UCONV_U16_BIT_MASK,8,3 ## @UCONV_U16_BIT_MASK
.comm _UCONV_U16_START,8,3 ## @UCONV_U16_START
.comm _EINVAL,4,2 ## @EINVAL
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _uconv_u16tou32 ; -- Begin function uconv_u16tou32
.p2align 2
_uconv_u16tou32: ; @uconv_u16tou32
.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, x3
mov x21, x2
mov x20, x1
mov x22, x0
cbz x0, LBB0_3
; %bb.1:
cbnz x20, LBB0_3
LBB0_2:
Lloh0:
adrp x8, _EILSEQ@GOTPAGE
Lloh1:
ldr x8, [x8, _EILSEQ@GOTPAGEOFF]
b LBB0_31
LBB0_3:
cbz x21, LBB0_30
; %bb.4:
cbz x19, LBB0_30
; %bb.5:
add x1, sp, #12
add x2, sp, #8
mov x23, x4
mov x0, x4
bl _check_endian
cbz x0, LBB0_7
; %bb.6:
Lloh2:
adrp x8, _EBADF@GOTPAGE
Lloh3:
ldr x8, [x8, _EBADF@GOTPAGEOFF]
b LBB0_31
LBB0_7:
Lloh4:
adrp x8, _UCONV_IGNORE_NULL@GOTPAGE
Lloh5:
ldr x8, [x8, _UCONV_IGNORE_NULL@GOTPAGEOFF]
Lloh6:
ldr w25, [x8]
Lloh7:
adrp x8, _UCONV_IN_ACCEPT_BOM@GOTPAGE
Lloh8:
ldr x8, [x8, _UCONV_IN_ACCEPT_BOM@GOTPAGEOFF]
Lloh9:
ldr w9, [x8]
tst w9, w23
b.eq LBB0_9
; %bb.8:
ldr x1, [x20]
add x2, sp, #12
mov x0, x22
bl _check_bom16
mov x8, x23
cmp x0, #0
csetm x23, ne
b LBB0_10
LBB0_9:
mov x8, x23
mov x23, #0 ; =0x0
LBB0_10:
Lloh10:
adrp x9, _UCONV_IN_NAT_ENDIAN@GOTPAGE
Lloh11:
ldr x9, [x9, _UCONV_IN_NAT_ENDIAN@GOTPAGEOFF]
Lloh12:
ldr w9, [x9]
ldr w10, [sp, #12]
and w9, w10, w9
Lloh13:
adrp x10, _UCONV_OUT_NAT_ENDIAN@GOTPAGE
Lloh14:
ldr x10, [x10, _UCONV_OUT_NAT_ENDIAN@GOTPAGEOFF]
str w9, [sp, #12]
Lloh15:
ldr w9, [x10]
ldr w10, [sp, #8]
and w10, w10, w9
str w10, [sp, #8]
ldr x9, [x20]
cbz x9, LBB0_14
; %bb.11:
ldr x11, [x19]
cbz x11, LBB0_14
; %bb.12:
Lloh16:
adrp x11, _UCONV_OUT_EMIT_BOM@GOTPAGE
Lloh17:
ldr x11, [x11, _UCONV_OUT_EMIT_BOM@GOTPAGEOFF]
Lloh18:
ldr w11, [x11]
tst w11, w8
b.eq LBB0_14
; %bb.13:
Lloh19:
adrp x9, _UCONV_BOM_NORMAL@GOTPAGE
Lloh20:
ldr x9, [x9, _UCONV_BOM_NORMAL@GOTPAGEOFF]
Lloh21:
adrp x11, _UCONV_BOM_SWAPPED_32@GOTPAGE
Lloh22:
ldr x11, [x11, _UCONV_BOM_SWAPPED_32@GOTPAGEOFF]
cmp w10, #0
csel x9, x11, x9, eq
ldr x9, [x9]
str x9, [x21]
ldr x9, [x20]
mov w24, #1 ; =0x1
cmp x23, x9
b.lo LBB0_15
b LBB0_36
LBB0_14:
mov x24, #0 ; =0x0
cmp x23, x9
b.hs LBB0_36
LBB0_15:
mov x28, #0 ; =0x0
mov x23, #0 ; =0x0
and w25, w25, w8
Lloh23:
adrp x26, _UCONV_U16_HI_MIN@GOTPAGE
Lloh24:
ldr x26, [x26, _UCONV_U16_HI_MIN@GOTPAGEOFF]
Lloh25:
adrp x27, _UCONV_U16_HI_MAX@GOTPAGE
Lloh26:
ldr x27, [x27, _UCONV_U16_HI_MAX@GOTPAGEOFF]
b LBB0_18
LBB0_16: ; in Loop: Header=BB0_18 Depth=1
cbnz x28, LBB0_2
LBB0_17: ; in Loop: Header=BB0_18 Depth=1
add x23, x23, #1
ldr x8, [x20]
mov x28, x0
cmp x23, x8
b.hs LBB0_34
LBB0_18: ; =>This Inner Loop Header: Depth=1
ldr x0, [x22, x23, lsl #3]
cmp x0, #0
ccmp w25, #0, #0, eq
b.eq LBB0_33
; %bb.19: ; in Loop: Header=BB0_18 Depth=1
ldr w8, [sp, #12]
cbnz w8, LBB0_21
; %bb.20: ; in Loop: Header=BB0_18 Depth=1
bl _BSWAP_16
LBB0_21: ; in Loop: Header=BB0_18 Depth=1
ldr x8, [x26]
ldr x9, [x27]
cmp x0, x8
ccmp x0, x9, #0, ge
b.le LBB0_16
; %bb.22: ; in Loop: Header=BB0_18 Depth=1
Lloh27:
adrp x9, _UCONV_U16_LO_MIN@GOTPAGE
Lloh28:
ldr x9, [x9, _UCONV_U16_LO_MIN@GOTPAGEOFF]
Lloh29:
ldr x9, [x9]
Lloh30:
adrp x10, _UCONV_U16_LO_MAX@GOTPAGE
Lloh31:
ldr x10, [x10, _UCONV_U16_LO_MAX@GOTPAGEOFF]
Lloh32:
ldr x10, [x10]
subs x9, x0, x9
ccmp x0, x10, #0, ge
b.le LBB0_24
; %bb.23: ; in Loop: Header=BB0_18 Depth=1
cbz x28, LBB0_26
b LBB0_2
LBB0_24: ; in Loop: Header=BB0_18 Depth=1
cbz x28, LBB0_2
; %bb.25: ; in Loop: Header=BB0_18 Depth=1
sub x8, x28, x8
Lloh33:
adrp x10, _UCONV_U16_BIT_SHIFT@GOTPAGE
Lloh34:
ldr x10, [x10, _UCONV_U16_BIT_SHIFT@GOTPAGEOFF]
Lloh35:
ldr x10, [x10]
madd x8, x10, x8, x9
Lloh36:
adrp x9, _UCONV_U16_BIT_MASK@GOTPAGE
Lloh37:
ldr x9, [x9, _UCONV_U16_BIT_MASK@GOTPAGEOFF]
Lloh38:
ldr x9, [x9]
and x8, x8, x9
Lloh39:
adrp x9, _UCONV_U16_START@GOTPAGE
Lloh40:
ldr x9, [x9, _UCONV_U16_START@GOTPAGEOFF]
Lloh41:
ldr x9, [x9]
add x0, x8, x9
LBB0_26: ; in Loop: Header=BB0_18 Depth=1
ldr x8, [x19]
cmp x24, x8
b.hs LBB0_30
; %bb.27: ; in Loop: Header=BB0_18 Depth=1
ldr w8, [sp, #8]
cbnz w8, LBB0_29
; %bb.28: ; in Loop: Header=BB0_18 Depth=1
bl _BSWAP_32
LBB0_29: ; in Loop: Header=BB0_18 Depth=1
str x0, [x21, x24, lsl #3]
add x24, x24, #1
mov x0, #0 ; =0x0
b LBB0_17
LBB0_30:
Lloh42:
adrp x8, _E2BIG@GOTPAGE
Lloh43:
ldr x8, [x8, _E2BIG@GOTPAGEOFF]
LBB0_31:
ldr w0, [x8]
LBB0_32:
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_33:
mov x0, x28
LBB0_34:
cbz x0, LBB0_36
; %bb.35:
Lloh44:
adrp x8, _EINVAL@GOTPAGE
Lloh45:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
b LBB0_31
LBB0_36:
mov w0, #0 ; =0x0
str x23, [x20]
str x24, [x19]
b LBB0_32
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGot Lloh21, Lloh22
.loh AdrpLdrGot Lloh19, Lloh20
.loh AdrpLdrGot Lloh25, Lloh26
.loh AdrpLdrGot Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41
.loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.loh AdrpLdrGot Lloh42, Lloh43
.loh AdrpLdrGot Lloh44, Lloh45
.cfi_endproc
; -- End function
.comm _EILSEQ,4,2 ; @EILSEQ
.comm _E2BIG,4,2 ; @E2BIG
.comm _EBADF,4,2 ; @EBADF
.comm _UCONV_IGNORE_NULL,4,2 ; @UCONV_IGNORE_NULL
.comm _UCONV_IN_ACCEPT_BOM,4,2 ; @UCONV_IN_ACCEPT_BOM
.comm _UCONV_IN_NAT_ENDIAN,4,2 ; @UCONV_IN_NAT_ENDIAN
.comm _UCONV_OUT_NAT_ENDIAN,4,2 ; @UCONV_OUT_NAT_ENDIAN
.comm _UCONV_OUT_EMIT_BOM,4,2 ; @UCONV_OUT_EMIT_BOM
.comm _UCONV_BOM_NORMAL,8,3 ; @UCONV_BOM_NORMAL
.comm _UCONV_BOM_SWAPPED_32,8,3 ; @UCONV_BOM_SWAPPED_32
.comm _UCONV_U16_HI_MIN,8,3 ; @UCONV_U16_HI_MIN
.comm _UCONV_U16_HI_MAX,8,3 ; @UCONV_U16_HI_MAX
.comm _UCONV_U16_LO_MIN,8,3 ; @UCONV_U16_LO_MIN
.comm _UCONV_U16_LO_MAX,8,3 ; @UCONV_U16_LO_MAX
.comm _UCONV_U16_BIT_SHIFT,8,3 ; @UCONV_U16_BIT_SHIFT
.comm _UCONV_U16_BIT_MASK,8,3 ; @UCONV_U16_BIT_MASK
.comm _UCONV_U16_START,8,3 ; @UCONV_U16_START
.comm _EINVAL,4,2 ; @EINVAL
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function ddebug_tokenize
_ddebug_tokenize: ## @ddebug_tokenize
.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
cmpb $0, (%rdi)
je LBB0_1
## %bb.2:
movq %rdi, %r12
movl %edx, -44(%rbp) ## 4-byte Spill
movl %edx, %r15d
xorl %ebx, %ebx
jmp LBB0_3
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_3 Depth=1
movq %r13, (%r14,%rbx,8)
incq %rbx
cmpb $0, (%r12)
je LBB0_13
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_6 Depth 2
movq %r12, %rdi
callq _skip_spaces
movq %rax, %r13
movzbl (%rax), %eax
testl %eax, %eax
je LBB0_13
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
cmpl $35, %eax
je LBB0_13
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movq %r13, %r12
.p2align 4, 0x90
LBB0_6: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movsbl %al, %edi
callq _isspace
testl %eax, %eax
jne LBB0_8
## %bb.7: ## in Loop: Header=BB0_6 Depth=2
movzbl 1(%r12), %eax
incq %r12
testb %al, %al
jne LBB0_6
LBB0_8: ## in Loop: Header=BB0_3 Depth=1
xorl %edi, %edi
cmpq %r13, %r12
sete %dil
callq _BUG_ON
cmpq %r15, %rbx
je LBB0_9
## %bb.10: ## in Loop: Header=BB0_3 Depth=1
cmpb $0, (%r12)
je LBB0_12
## %bb.11: ## in Loop: Header=BB0_3 Depth=1
movb $0, (%r12)
incq %r12
jmp LBB0_12
LBB0_1:
xorl %ebx, %ebx
LBB0_13:
movq _verbose@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB0_17
## %bb.14:
leaq L_.str.2(%rip), %rdi
callq _pr_info
leal 1(%rbx), %r12d
leaq L_.str.3(%rip), %r15
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_15: ## =>This Inner Loop Header: Depth=1
movq (%r14,%r13,8), %rsi
movq %r15, %rdi
xorl %eax, %eax
callq _pr_cont
incq %r13
cmpq %r13, %r12
jne LBB0_15
## %bb.16:
leaq L_.str.4(%rip), %rdi
xorl %eax, %eax
callq _pr_cont
jmp LBB0_17
LBB0_9:
leaq L_.str.1(%rip), %rdi
xorl %ebx, %ebx
movl -44(%rbp), %esi ## 4-byte Reload
xorl %eax, %eax
callq _pr_err
movq _EINVAL@GOTPCREL(%rip), %rax
subl (%rax), %ebx
LBB0_17:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EINVAL,4,2 ## @EINVAL
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "too many words, legal max <=%d\n"
.comm _verbose,8,3 ## @verbose
L_.str.2: ## @.str.2
.asciz "split into words:"
L_.str.3: ## @.str.3
.asciz " \"%s\""
L_.str.4: ## @.str.4
.asciz "\n"
.no_dead_strip _ddebug_tokenize
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function ddebug_tokenize
_ddebug_tokenize: ; @ddebug_tokenize
.cfi_startproc
; %bb.0:
sub sp, sp, #96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x1
ldrb w8, [x0]
cbz w8, LBB0_11
; %bb.1:
mov x20, x2
mov x21, x0
mov x24, #0 ; =0x0
mov w25, w2
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x22, x24, #1
str x23, [x19, x24, lsl #3]
ldrb w8, [x21]
mov x24, x22
cbz w8, LBB0_13
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_6 Depth 2
mov x0, x21
bl _skip_spaces
ldrb w8, [x0]
cbz w8, LBB0_12
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
cmp w8, #35
b.eq LBB0_12
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
mov x23, x0
mov x21, x0
LBB0_6: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
sxtb w0, w8
bl _isspace
cbnz w0, LBB0_8
; %bb.7: ; in Loop: Header=BB0_6 Depth=2
ldrb w8, [x21, #1]!
cbnz w8, LBB0_6
LBB0_8: ; in Loop: Header=BB0_3 Depth=1
cmp x21, x23
cset w0, eq
bl _BUG_ON
cmp x24, x25
b.eq LBB0_17
; %bb.9: ; in Loop: Header=BB0_3 Depth=1
ldrb w8, [x21]
cbz w8, LBB0_2
; %bb.10: ; in Loop: Header=BB0_3 Depth=1
strb wzr, [x21], #1
b LBB0_2
LBB0_11:
mov w22, #0 ; =0x0
b LBB0_13
LBB0_12:
mov x22, x24
LBB0_13:
Lloh0:
adrp x8, _verbose@GOTPAGE
Lloh1:
ldr x8, [x8, _verbose@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cbz x8, LBB0_18
; %bb.14:
Lloh3:
adrp x0, l_.str.2@PAGE
Lloh4:
add x0, x0, l_.str.2@PAGEOFF
bl _pr_info
add w21, w22, #1
Lloh5:
adrp x20, l_.str.3@PAGE
Lloh6:
add x20, x20, l_.str.3@PAGEOFF
LBB0_15: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19], #8
str x8, [sp]
mov x0, x20
bl _pr_cont
subs x21, x21, #1
b.ne LBB0_15
; %bb.16:
Lloh7:
adrp x0, l_.str.4@PAGE
Lloh8:
add x0, x0, l_.str.4@PAGEOFF
bl _pr_cont
b LBB0_18
LBB0_17:
str x20, [sp]
Lloh9:
adrp x0, l_.str.1@PAGE
Lloh10:
add x0, x0, l_.str.1@PAGEOFF
bl _pr_err
Lloh11:
adrp x8, _EINVAL@GOTPAGE
Lloh12:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh13:
ldr w8, [x8]
neg w22, w8
LBB0_18:
mov x0, x22
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpAdd Lloh9, Lloh10
.cfi_endproc
; -- End function
.comm _EINVAL,4,2 ; @EINVAL
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "too many words, legal max <=%d\n"
.comm _verbose,8,3 ; @verbose
l_.str.2: ; @.str.2
.asciz "split into words:"
l_.str.3: ; @.str.3
.asciz " \"%s\""
l_.str.4: ; @.str.4
.asciz "\n"
.no_dead_strip _ddebug_tokenize
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function rd_allocate_sgl_table
_rd_allocate_sgl_table: ## @rd_allocate_sgl_table
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, -80(%rbp) ## 8-byte Spill
testq %rdx, %rdx
je LBB0_10
## %bb.1:
movq %rdx, %rbx
movq _RD_MAX_ALLOCATION_SIZE@GOTPCREL(%rip), %rax
movslq (%rax), %r14
shrq $2, %r14
movq $0, -64(%rbp) ## 8-byte Folded Spill
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movzbl %cl, %ecx
movl %ecx, -44(%rbp) ## 4-byte Spill
movq $0, -56(%rbp) ## 8-byte Folded Spill
movq %r14, -72(%rbp) ## 8-byte Spill
jmp LBB0_2
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_2 Depth=1
addq %r14, -56(%rbp) ## 8-byte Folded Spill
decq -64(%rbp) ## 8-byte Folded Spill
movq -88(%rbp), %rbx ## 8-byte Reload
subq %r14, %rbx
movq -72(%rbp), %r14 ## 8-byte Reload
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
je LBB0_10
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_6 Depth 2
xorl %r13d, %r13d
cmpq %r14, %rbx
cmovlq %rbx, %r14
setg %r13b
movq %r14, %rdi
subq %r13, %rdi
movl (%rax), %edx
movl $4, %esi
callq _kcalloc
testq %rax, %rax
je LBB0_3
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movq %rax, %r12
movq %rbx, -88(%rbp) ## 8-byte Spill
addq %r14, %r13
movq %rax, %rdi
movq %r13, %rsi
callq _sg_init_table
movq -64(%rbp), %rax ## 8-byte Reload
shlq $5, %rax
movq -80(%rbp), %rdx ## 8-byte Reload
movq %r12, 24(%rdx,%rax)
movq %r14, 16(%rdx,%rax)
movq -56(%rbp), %rcx ## 8-byte Reload
movq %rcx, 8(%rdx,%rax)
addq %r14, %rcx
decq %rcx
movq %rcx, (%rdx,%rax)
testq %r14, %r14
jle LBB0_9
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
movq %r14, %rbx
.p2align 4, 0x90
LBB0_6: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %edi
xorl %esi, %esi
callq _alloc_pages
testq %rax, %rax
je LBB0_7
## %bb.8: ## in Loop: Header=BB0_6 Depth=2
movq %rax, %r13
movq %r12, %rdi
movq %rax, %rsi
callq _sg_assign_page
movq _PAGE_SIZE@GOTPCREL(%rip), %r15
movl (%r15), %eax
movl %eax, (%r12)
movq %r13, %rdi
callq _kmap
movl (%r15), %edx
movq %rax, %rdi
movl -44(%rbp), %esi ## 4-byte Reload
callq _memset
movq %r13, %rdi
callq _kunmap
addq $4, %r12
decq %rbx
jne LBB0_6
jmp LBB0_9
LBB0_7:
leaq L_.str(%rip), %rdi
callq _pr_err
LBB0_3:
movq _ENOMEM@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
jmp LBB0_11
LBB0_10:
xorl %eax, %eax
LBB0_11:
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _RD_MAX_ALLOCATION_SIZE,4,2 ## @RD_MAX_ALLOCATION_SIZE
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _ENOMEM,4,2 ## @ENOMEM
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Unable to allocate scatterlist pages for struct rd_dev_sg_table\n"
.comm _PAGE_SIZE,4,2 ## @PAGE_SIZE
.no_dead_strip _rd_allocate_sgl_table
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function rd_allocate_sgl_table
_rd_allocate_sgl_table: ; @rd_allocate_sgl_table
.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
str x1, [sp, #8] ; 8-byte Folded Spill
cbz x2, LBB0_10
; %bb.1:
mov x19, x3
mov x20, x2
mov x24, #0 ; =0x0
mov x25, #0 ; =0x0
Lloh0:
adrp x8, _RD_MAX_ALLOCATION_SIZE@GOTPAGE
Lloh1:
ldr x8, [x8, _RD_MAX_ALLOCATION_SIZE@GOTPAGEOFF]
Lloh2:
ldrsw x8, [x8]
lsr x23, x8, #2
Lloh3:
adrp x27, _GFP_KERNEL@GOTPAGE
Lloh4:
ldr x27, [x27, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
adrp x28, _PAGE_SIZE@GOTPAGE
Lloh6:
ldr x28, [x28, _PAGE_SIZE@GOTPAGEOFF]
str x23, [sp] ; 8-byte Folded Spill
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
sub x24, x24, #1
subs x20, x20, x26
ldr x23, [sp] ; 8-byte Folded Reload
b.eq LBB0_10
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_6 Depth 2
cmp x20, x23
csel x26, x20, x23, lt
cset w21, gt
sub x0, x26, x21
ldr w2, [x27]
mov w1, #4 ; =0x4
bl _kcalloc
cbz x0, LBB0_9
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov x22, x0
add x1, x26, x21
bl _sg_init_table
ldr x8, [sp, #8] ; 8-byte Folded Reload
add x8, x8, x24, lsl #5
stp x26, x22, [x8, #16]
str x25, [x8, #8]
add x25, x26, x25
sub x9, x25, #1
str x9, [x8]
cmp x26, #1
b.lt LBB0_2
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
mov x21, x26
LBB0_6: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr w0, [x27]
mov w1, #0 ; =0x0
bl _alloc_pages
cbz x0, LBB0_8
; %bb.7: ; in Loop: Header=BB0_6 Depth=2
mov x23, x0
mov x0, x22
mov x1, x23
bl _sg_assign_page
ldr w8, [x28]
str w8, [x22], #4
mov x0, x23
bl _kmap
ldr w2, [x28]
mov x1, x19
bl _memset
mov x0, x23
bl _kunmap
subs x21, x21, #1
b.ne LBB0_6
b LBB0_2
LBB0_8:
Lloh7:
adrp x0, l_.str@PAGE
Lloh8:
add x0, x0, l_.str@PAGEOFF
bl _pr_err
LBB0_9:
Lloh9:
adrp x8, _ENOMEM@GOTPAGE
Lloh10:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh11:
ldr w8, [x8]
neg w0, w8
b LBB0_11
LBB0_10:
mov w0, #0 ; =0x0
LBB0_11:
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 AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.cfi_endproc
; -- End function
.comm _RD_MAX_ALLOCATION_SIZE,4,2 ; @RD_MAX_ALLOCATION_SIZE
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _ENOMEM,4,2 ; @ENOMEM
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Unable to allocate scatterlist pages for struct rd_dev_sg_table\n"
.comm _PAGE_SIZE,4,2 ; @PAGE_SIZE
.no_dead_strip _rd_allocate_sgl_table
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _Curl_urldecode ## -- Begin function Curl_urldecode
.p2align 4, 0x90
_Curl_urldecode: ## @Curl_urldecode
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %r9d, -48(%rbp) ## 4-byte Spill
movq %r8, -64(%rbp) ## 8-byte Spill
movq %rcx, %r13
movq %rdx, %r14
movq %rsi, %r12
movq %rdi, -72(%rbp) ## 8-byte Spill
testq %rdx, %rdx
jne LBB0_2
## %bb.1:
movq %r12, %rdi
callq _strlen
movq %rax, %r14
LBB0_2:
leaq -1(%r14), %r15
movq %r15, %rdi
callq _malloc
testq %rax, %rax
je LBB0_19
## %bb.3:
movq %rax, %rbx
movq %r13, -56(%rbp) ## 8-byte Spill
xorl %r13d, %r13d
addq $-2, %r14
je LBB0_16
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movzbl (%r12), %eax
movb %al, -41(%rbp)
cmpb $37, %al
jne LBB0_8
LBB0_5: ## in Loop: Header=BB0_4 Depth=1
movzbl 1(%r12), %eax
movb %al, -44(%rbp)
movzbl 2(%r12), %eax
movb %al, -43(%rbp)
movb $0, -42(%rbp)
leaq -44(%rbp), %rdi
leaq -80(%rbp), %rsi
movl $16, %edx
callq _strtoul
movq %rax, %rdi
callq _curlx_ultouc
movb %al, -41(%rbp)
movq -72(%rbp), %rdi ## 8-byte Reload
testq %rdi, %rdi
je LBB0_7
## %bb.6: ## in Loop: Header=BB0_4 Depth=1
leaq -41(%rbp), %rsi
movl $1, %edx
callq _Curl_convert_from_network
testl %eax, %eax
jne LBB0_23
LBB0_7: ## in Loop: Header=BB0_4 Depth=1
addq $2, %r12
addq $-3, %r15
jmp LBB0_14
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_4 Depth=1
cmpq $3, %r14
jb LBB0_13
## %bb.9: ## in Loop: Header=BB0_4 Depth=1
movsbl 1(%r12), %edi
callq _ISXDIGIT
testq %rax, %rax
je LBB0_13
## %bb.10: ## in Loop: Header=BB0_4 Depth=1
movsbl 2(%r12), %edi
callq _ISXDIGIT
testq %rax, %rax
jne LBB0_5
.p2align 4, 0x90
LBB0_13: ## in Loop: Header=BB0_4 Depth=1
movq %r14, %r15
LBB0_14: ## in Loop: Header=BB0_4 Depth=1
cmpl $0, -48(%rbp) ## 4-byte Folded Reload
setne %cl
movzbl -41(%rbp), %eax
cmpb $33, %al
setb %dl
andb %cl, %dl
cmpb $1, %dl
je LBB0_20
## %bb.15: ## in Loop: Header=BB0_4 Depth=1
movb %al, (%rbx,%r13)
incq %r13
incq %r12
movq %r15, %r14
decq %r14
jne LBB0_4
LBB0_16:
movb $0, (%rbx,%r13)
movq -64(%rbp), %rax ## 8-byte Reload
testq %rax, %rax
je LBB0_18
## %bb.17:
movq %r13, (%rax)
LBB0_18:
movq -56(%rbp), %rax ## 8-byte Reload
movq %rbx, (%rax)
movq _CURLE_OK@GOTPCREL(%rip), %rax
jmp LBB0_21
LBB0_19:
movq _CURLE_OUT_OF_MEMORY@GOTPCREL(%rip), %rax
jmp LBB0_21
LBB0_20:
movq %rbx, %rdi
callq _free
movq _CURLE_URL_MALFORMAT@GOTPCREL(%rip), %rax
LBB0_21:
movl (%rax), %eax
LBB0_22:
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_23:
movq %rbx, %rdi
movl %eax, %ebx
callq _free
movl %ebx, %eax
jmp LBB0_22
.cfi_endproc
## -- End function
.comm _CURLE_OK,4,2 ## @CURLE_OK
.comm _CURLE_OUT_OF_MEMORY,4,2 ## @CURLE_OUT_OF_MEMORY
.comm _CURLE_URL_MALFORMAT,4,2 ## @CURLE_URL_MALFORMAT
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _Curl_urldecode ; -- Begin function Curl_urldecode
.p2align 2
_Curl_urldecode: ; @Curl_urldecode
.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 x21, x5
mov x20, x4
mov x19, x3
mov x26, x2
mov x22, x1
mov x24, x0
cbnz x2, LBB0_2
; %bb.1:
mov x0, x22
bl _strlen
mov x26, x0
LBB0_2:
sub x25, x26, #1
mov x0, x25
bl _malloc
cbz x0, LBB0_15
; %bb.3:
mov x23, x0
subs x27, x26, #2
b.eq LBB0_16
; %bb.4:
mov x26, #0 ; =0x0
b LBB0_8
LBB0_5: ; in Loop: Header=BB0_8 Depth=1
mov x25, x27
ldrb w9, [sp, #15]
cbz w21, LBB0_7
LBB0_6: ; in Loop: Header=BB0_8 Depth=1
cmp w9, #32
b.ls LBB0_20
LBB0_7: ; in Loop: Header=BB0_8 Depth=1
add x8, x26, #1
strb w9, [x23, x26]
add x22, x22, #1
mov x26, x8
subs x27, x25, #1
b.eq LBB0_17
LBB0_8: ; =>This Inner Loop Header: Depth=1
ldrb w8, [x22]
strb w8, [sp, #15]
cmp w8, #37
b.ne LBB0_12
LBB0_9: ; in Loop: Header=BB0_8 Depth=1
ldurh w8, [x22, #1]
strh w8, [sp, #12]
strb wzr, [sp, #14]
add x0, sp, #12
mov x1, sp
mov w2, #16 ; =0x10
bl _strtoul
bl _curlx_ultouc
strb w0, [sp, #15]
cbz x24, LBB0_11
; %bb.10: ; in Loop: Header=BB0_8 Depth=1
add x1, sp, #15
mov x0, x24
mov w2, #1 ; =0x1
bl _Curl_convert_from_network
cbnz w0, LBB0_23
LBB0_11: ; in Loop: Header=BB0_8 Depth=1
add x22, x22, #2
sub x25, x25, #3
ldrb w9, [sp, #15]
cbnz w21, LBB0_6
b LBB0_7
LBB0_12: ; in Loop: Header=BB0_8 Depth=1
cmp x27, #3
b.lo LBB0_5
; %bb.13: ; in Loop: Header=BB0_8 Depth=1
ldrsb w0, [x22, #1]
bl _ISXDIGIT
cbz x0, LBB0_5
; %bb.14: ; in Loop: Header=BB0_8 Depth=1
ldrsb w0, [x22, #2]
bl _ISXDIGIT
cbnz x0, LBB0_9
b LBB0_5
LBB0_15:
Lloh0:
adrp x8, _CURLE_OUT_OF_MEMORY@GOTPAGE
Lloh1:
ldr x8, [x8, _CURLE_OUT_OF_MEMORY@GOTPAGEOFF]
b LBB0_21
LBB0_16:
mov x8, #0 ; =0x0
LBB0_17:
strb wzr, [x23, x8]
cbz x20, LBB0_19
; %bb.18:
str x8, [x20]
LBB0_19:
str x23, [x19]
Lloh2:
adrp x8, _CURLE_OK@GOTPAGE
Lloh3:
ldr x8, [x8, _CURLE_OK@GOTPAGEOFF]
b LBB0_21
LBB0_20:
mov x0, x23
bl _free
Lloh4:
adrp x8, _CURLE_URL_MALFORMAT@GOTPAGE
Lloh5:
ldr x8, [x8, _CURLE_URL_MALFORMAT@GOTPAGEOFF]
LBB0_21:
ldr w0, [x8]
LBB0_22:
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_23:
mov x19, x0
mov x0, x23
bl _free
mov x0, x19
b LBB0_22
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _CURLE_OK,4,2 ; @CURLE_OK
.comm _CURLE_OUT_OF_MEMORY,4,2 ; @CURLE_OUT_OF_MEMORY
.comm _CURLE_URL_MALFORMAT,4,2 ; @CURLE_URL_MALFORMAT
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function DecodeContextMap
_DecodeContextMap: ## @DecodeContextMap
.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, -64(%rbp) ## 8-byte Spill
movl (%rcx), %eax
addl $-128, %eax
cmpl $4, %eax
ja LBB0_16
## %bb.1:
movq %rcx, %rbx
movq %rsi, %r13
movl %edi, %r14d
leaq 20(%rcx), %r15
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_2:
leaq -44(%rbp), %rdx
movq %r15, %rdi
movl $5, %esi
callq _BrotliSafeGetBits
testl %eax, %eax
je LBB0_43
## %bb.3:
movl -44(%rbp), %eax
sarl %eax
decl %eax
movl %eax, 8(%rbx)
movq %r15, %rdi
movl $5, %esi
callq _BrotliDropBits
movl 8(%rbx), %edi
callq _BROTLI_LOG_UINT
movl $131, (%rbx)
LBB0_4:
movl 8(%rbx), %edi
movl 16(%rbx), %edx
addl (%r13), %edi
movl %edi, %esi
xorl %ecx, %ecx
movq %rbx, %r8
callq _ReadHuffmanCode
movq _BROTLI_DECODER_SUCCESS@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB0_44
## %bb.5:
movq %r15, -56(%rbp) ## 8-byte Spill
movl $65535, 12(%rbx) ## imm = 0xFFFF
movl $132, (%rbx)
movl $65535, %eax ## imm = 0xFFFF
jmp LBB0_7
LBB0_6:
movq %r15, -56(%rbp) ## 8-byte Spill
movl 12(%rbx), %eax
LBB0_7:
movl 4(%rbx), %r15d
movl 8(%rbx), %ecx
movl %ecx, -68(%rbp) ## 4-byte Spill
movq -64(%rbp), %rcx ## 8-byte Reload
movq (%rcx), %r13
movl %eax, -44(%rbp)
cmpl $65535, %eax ## imm = 0xFFFF
sete %al
cmpl %r14d, %r15d
setge %cl
testb %al, %cl
je LBB0_18
LBB0_8:
movq -56(%rbp), %r15 ## 8-byte Reload
LBB0_9:
leaq -44(%rbp), %rdx
movq %r15, %rdi
movl $1, %esi
callq _BrotliSafeReadBits
testl %eax, %eax
je LBB0_36
## %bb.10:
movq _BROTLI_DECODER_SUCCESS@GOTPCREL(%rip), %r15
movl $130, %r12d
cmpl $0, -44(%rbp)
je LBB0_37
## %bb.11:
movq -64(%rbp), %rax ## 8-byte Reload
movq (%rax), %rdi
movl %r14d, %esi
movq %rbx, %rdx
callq _InverseMoveToFrontTransform
jmp LBB0_37
LBB0_12:
movq %rbx, %rdi
movq %r15, %r12
movq %r15, %rsi
movq %r13, %rdx
callq _DecodeVarLenUint8
movq _BROTLI_DECODER_SUCCESS@GOTPCREL(%rip), %r15
cmpl (%r15), %eax
jne LBB0_44
## %bb.13:
decl (%r13)
movl $0, 4(%rbx)
movl %r14d, %edi
callq _BROTLI_LOG_UINT
movl (%r13), %edi
callq _BROTLI_LOG_UINT
movslq %r14d, %rsi
movq %rbx, %rdi
movq %rsi, -56(%rbp) ## 8-byte Spill
callq _BROTLI_DECODER_ALLOC
movq -64(%rbp), %rcx ## 8-byte Reload
movq %rax, (%rcx)
testq %rax, %rax
je LBB0_40
## %bb.14:
cmpl $1, (%r13)
jg LBB0_45
## %bb.15:
movq %rax, %rdi
xorl %esi, %esi
movq -56(%rbp), %rdx ## 8-byte Reload
callq _memset
movl (%r15), %eax
jmp LBB0_44
LBB0_16:
movq _BROTLI_DECODER_ERROR_UNREACHABLE@GOTPCREL(%rip), %rax
LBB0_17:
movl (%rax), %edi
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _BROTLI_FAILURE ## TAILCALL
LBB0_18:
leaq 16(%r13), %rcx
movq %rcx, -80(%rbp) ## 8-byte Spill
jmp LBB0_22
LBB0_19: ## in Loop: Header=BB0_22 Depth=1
movslq %r15d, %rax
incl %r15d
movl $0, (%r13,%rax,4)
LBB0_20: ## in Loop: Header=BB0_22 Depth=1
xorl %r12d, %r12d
LBB0_21: ## in Loop: Header=BB0_22 Depth=1
cmpl %r14d, %r15d
setge %cl
testl %r12d, %r12d
sete %al
testb %al, %cl
jne LBB0_8
LBB0_22: ## =>This Loop Header: Depth=1
## Child Loop BB0_33 Depth 2
## Child Loop BB0_35 Depth 2
testb $1, %al
je LBB0_27
## %bb.23: ## in Loop: Header=BB0_22 Depth=1
movl 16(%rbx), %edi
movq -56(%rbp), %rsi ## 8-byte Reload
leaq -44(%rbp), %rdx
callq _SafeReadSymbol
testl %eax, %eax
je LBB0_41
## %bb.24: ## in Loop: Header=BB0_22 Depth=1
movl -44(%rbp), %edi
callq _BROTLI_LOG_UINT
movl -44(%rbp), %esi
testl %esi, %esi
je LBB0_19
## %bb.25: ## in Loop: Header=BB0_22 Depth=1
xorl %r12d, %r12d
movl %esi, %eax
subl -68(%rbp), %eax ## 4-byte Folded Reload
jle LBB0_28
## %bb.26: ## in Loop: Header=BB0_22 Depth=1
movslq %r15d, %rcx
incl %r15d
movl %eax, (%r13,%rcx,4)
jmp LBB0_20
.p2align 4, 0x90
LBB0_27: ## in Loop: Header=BB0_22 Depth=1
movq _BROTLI_FALSE@GOTPCREL(%rip), %rax
movl (%rax), %r12d
movl -44(%rbp), %esi
LBB0_28: ## in Loop: Header=BB0_22 Depth=1
movq -56(%rbp), %rdi ## 8-byte Reload
leaq -48(%rbp), %rdx
callq _BrotliSafeReadBits
movl -44(%rbp), %ecx
testl %eax, %eax
je LBB0_38
## %bb.29: ## in Loop: Header=BB0_22 Depth=1
movl $1, %edi
## kill: def $cl killed $cl killed $ecx
shll %cl, %edi
addl -48(%rbp), %edi
movl %edi, -48(%rbp)
callq _BROTLI_LOG_UINT
movl -48(%rbp), %eax
leal (%rax,%r15), %ecx
cmpl %r14d, %ecx
jg LBB0_39
## %bb.30: ## in Loop: Header=BB0_22 Depth=1
movslq %r15d, %rsi
leal -1(%rax), %ecx
cmpl $6, %ecx
ja LBB0_32
## %bb.31: ## in Loop: Header=BB0_22 Depth=1
movq %rsi, %r15
jmp LBB0_35
.p2align 4, 0x90
LBB0_32: ## in Loop: Header=BB0_22 Depth=1
incq %rcx
movq %rcx, %rdx
andq $-8, %rdx
subl %edx, %eax
leaq (%rdx,%rsi), %r15
movq -80(%rbp), %rdi ## 8-byte Reload
leaq (%rdi,%rsi,4), %rsi
xorl %edi, %edi
xorps %xmm0, %xmm0
.p2align 4, 0x90
LBB0_33: ## Parent Loop BB0_22 Depth=1
## => This Inner Loop Header: Depth=2
movups %xmm0, -16(%rsi,%rdi,4)
movups %xmm0, (%rsi,%rdi,4)
addq $8, %rdi
cmpq %rdi, %rdx
jne LBB0_33
## %bb.34: ## in Loop: Header=BB0_22 Depth=1
cmpq %rdx, %rcx
je LBB0_21
.p2align 4, 0x90
LBB0_35: ## Parent Loop BB0_22 Depth=1
## => This Inner Loop Header: Depth=2
movl $0, (%r13,%r15,4)
incq %r15
decl %eax
jne LBB0_35
jmp LBB0_21
LBB0_36:
movq _BROTLI_DECODER_NEEDS_MORE_INPUT@GOTPCREL(%rip), %r15
movl $128, %r12d
LBB0_37:
movl %r12d, (%rbx)
movl (%r15), %eax
jmp LBB0_44
LBB0_38:
movl %ecx, 12(%rbx)
jmp LBB0_42
LBB0_39:
movq _BROTLI_DECODER_ERROR_FORMAT_CONTEXT_MAP_REPEAT@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _BROTLI_FAILURE
jmp LBB0_44
LBB0_40:
movq _BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MAP@GOTPCREL(%rip), %rax
jmp LBB0_17
LBB0_41:
movl $65535, 12(%rbx) ## imm = 0xFFFF
LBB0_42:
movl %r15d, 4(%rbx)
LBB0_43:
movq _BROTLI_DECODER_NEEDS_MORE_INPUT@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_44:
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_45:
movl $129, (%rbx)
movq %r12, %r15
jmp LBB0_2
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
.long L0_0_set_9
.long L0_0_set_2
.long L0_0_set_12
.long L0_0_set_4
.long L0_0_set_6
.end_data_region
## -- End function
.comm _BROTLI_DECODER_SUCCESS,4,2 ## @BROTLI_DECODER_SUCCESS
.comm _BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MAP,4,2 ## @BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MAP
.comm _BROTLI_DECODER_NEEDS_MORE_INPUT,4,2 ## @BROTLI_DECODER_NEEDS_MORE_INPUT
.comm _BROTLI_FALSE,4,2 ## @BROTLI_FALSE
.comm _BROTLI_DECODER_ERROR_FORMAT_CONTEXT_MAP_REPEAT,4,2 ## @BROTLI_DECODER_ERROR_FORMAT_CONTEXT_MAP_REPEAT
.comm _BROTLI_DECODER_ERROR_UNREACHABLE,4,2 ## @BROTLI_DECODER_ERROR_UNREACHABLE
.no_dead_strip _DecodeContextMap
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function DecodeContextMap
_DecodeContextMap: ; @DecodeContextMap
.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, x3
mov x21, x2
mov x23, x1
mov x20, x0
mov x22, x3
ldr w8, [x22], #20
cmp w8, #129
b.le LBB0_5
; %bb.1:
cmp w8, #130
b.eq LBB0_38
; %bb.2:
cmp w8, #131
b.eq LBB0_9
; %bb.3:
cmp w8, #132
b.ne LBB0_42
; %bb.4:
ldr w9, [x19, #12]
b LBB0_11
LBB0_5:
cmp w8, #128
b.eq LBB0_34
; %bb.6:
cmp w8, #129
b.ne LBB0_42
LBB0_7:
add x2, sp, #12
mov x0, x22
mov w1, #5 ; =0x5
bl _BrotliSafeGetBits
cbz w0, LBB0_50
; %bb.8:
ldr w8, [sp, #12]
asr w8, w8, #1
sub w8, w8, #1
str w8, [x19, #8]
mov x0, x22
mov w1, #5 ; =0x5
bl _BrotliDropBits
ldr w0, [x19, #8]
bl _BROTLI_LOG_UINT
mov w8, #131 ; =0x83
str w8, [x19]
LBB0_9:
ldr w8, [x23]
ldr w9, [x19, #8]
ldr w2, [x19, #16]
add w0, w9, w8
add w1, w9, w8
mov x3, #0 ; =0x0
mov x4, x19
bl _ReadHuffmanCode
Lloh0:
adrp x8, _BROTLI_DECODER_SUCCESS@GOTPAGE
Lloh1:
ldr x8, [x8, _BROTLI_DECODER_SUCCESS@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cmp w0, w8
b.ne LBB0_52
; %bb.10:
mov w9, #65535 ; =0xffff
str w9, [x19, #12]
mov w8, #132 ; =0x84
str w8, [x19]
LBB0_11:
ldp w27, w23, [x19, #4]
ldr x24, [x21]
str w9, [sp, #12]
mov w10, #65535 ; =0xffff
cmp w9, w10
cset w8, eq
cmp w27, w20
b.lt LBB0_13
; %bb.12:
cmp w9, w10
b.eq LBB0_34
LBB0_13:
add x25, x24, #32
mov w26, #1 ; =0x1
LBB0_14: ; =>This Loop Header: Depth=1
; Child Loop BB0_25 Depth 2
; Child Loop BB0_28 Depth 2
tbz w8, #0, LBB0_19
; %bb.15: ; in Loop: Header=BB0_14 Depth=1
ldr w0, [x19, #16]
add x2, sp, #12
mov x1, x22
bl _SafeReadSymbol
cbz w0, LBB0_48
; %bb.16: ; in Loop: Header=BB0_14 Depth=1
ldr w0, [sp, #12]
bl _BROTLI_LOG_UINT
ldr w1, [sp, #12]
cbz w1, LBB0_30
; %bb.17: ; in Loop: Header=BB0_14 Depth=1
mov w28, #0 ; =0x0
subs w8, w1, w23
b.le LBB0_20
; %bb.18: ; in Loop: Header=BB0_14 Depth=1
str w8, [x24, w27, sxtw #2]
b LBB0_31
LBB0_19: ; in Loop: Header=BB0_14 Depth=1
Lloh3:
adrp x8, _BROTLI_FALSE@GOTPAGE
Lloh4:
ldr x8, [x8, _BROTLI_FALSE@GOTPAGEOFF]
Lloh5:
ldr w28, [x8]
ldr w1, [sp, #12]
LBB0_20: ; in Loop: Header=BB0_14 Depth=1
add x2, sp, #8
mov x0, x22
bl _BrotliSafeReadBits
ldr w8, [sp, #12]
cbz w0, LBB0_49
; %bb.21: ; in Loop: Header=BB0_14 Depth=1
lsl w8, w26, w8
ldr w9, [sp, #8]
add w0, w9, w8
str w0, [sp, #8]
bl _BROTLI_LOG_UINT
ldr w8, [sp, #8]
add w9, w8, w27
cmp w9, w20
b.gt LBB0_46
; %bb.22: ; in Loop: Header=BB0_14 Depth=1
sxtw x11, w27
sub w9, w8, #1
cmp w9, #14
b.hi LBB0_24
; %bb.23: ; in Loop: Header=BB0_14 Depth=1
mov x27, x11
b LBB0_27
LBB0_24: ; in Loop: Header=BB0_14 Depth=1
add x9, x9, #1
and x10, x9, #0x1fffffff0
sub w8, w8, w10
add x27, x10, x11
add x11, x25, x11, lsl #2
mov x12, x10
movi.2d v0, #0000000000000000
LBB0_25: ; Parent Loop BB0_14 Depth=1
; => This Inner Loop Header: Depth=2
stp q0, q0, [x11, #-32]
stp q0, q0, [x11], #64
subs x12, x12, #16
b.ne LBB0_25
; %bb.26: ; in Loop: Header=BB0_14 Depth=1
cmp x9, x10
b.eq LBB0_29
LBB0_27: ; in Loop: Header=BB0_14 Depth=1
mov x9, x27
LBB0_28: ; Parent Loop BB0_14 Depth=1
; => This Inner Loop Header: Depth=2
add x27, x9, #1
str wzr, [x24, x9, lsl #2]
mov x9, x27
subs w8, w8, #1
b.ne LBB0_28
LBB0_29: ; in Loop: Header=BB0_14 Depth=1
; kill: def $w27 killed $w27 killed $x27 def $x27
b LBB0_32
LBB0_30: ; in Loop: Header=BB0_14 Depth=1
mov w28, #0 ; =0x0
str wzr, [x24, w27, sxtw #2]
LBB0_31: ; in Loop: Header=BB0_14 Depth=1
add w8, w27, #1
mov x27, x8
LBB0_32: ; in Loop: Header=BB0_14 Depth=1
cmp w28, #0
cset w8, eq
cmp w27, w20
b.lt LBB0_14
; %bb.33: ; in Loop: Header=BB0_14 Depth=1
cbnz w28, LBB0_14
LBB0_34:
add x2, sp, #12
mov x0, x22
mov w1, #1 ; =0x1
bl _BrotliSafeReadBits
cbz w0, LBB0_44
; %bb.35:
ldr w8, [sp, #12]
cbz w8, LBB0_37
; %bb.36:
ldr x0, [x21]
mov x1, x20
mov x2, x19
bl _InverseMoveToFrontTransform
LBB0_37:
Lloh6:
adrp x8, _BROTLI_DECODER_SUCCESS@GOTPAGE
Lloh7:
ldr x8, [x8, _BROTLI_DECODER_SUCCESS@GOTPAGEOFF]
mov w9, #130 ; =0x82
b LBB0_45
LBB0_38:
mov x0, x19
mov x1, x22
mov x2, x23
bl _DecodeVarLenUint8
Lloh8:
adrp x25, _BROTLI_DECODER_SUCCESS@GOTPAGE
Lloh9:
ldr x25, [x25, _BROTLI_DECODER_SUCCESS@GOTPAGEOFF]
ldr w8, [x25]
cmp w0, w8
b.ne LBB0_52
; %bb.39:
ldr w8, [x23]
sub w8, w8, #1
str w8, [x23]
str wzr, [x19, #4]
mov x0, x20
bl _BROTLI_LOG_UINT
ldr w0, [x23]
bl _BROTLI_LOG_UINT
sxtw x24, w20
mov x0, x19
mov x1, x24
bl _BROTLI_DECODER_ALLOC
str x0, [x21]
cbz x0, LBB0_47
; %bb.40:
ldr w8, [x23]
cmp w8, #1
b.gt LBB0_53
; %bb.41:
mov w1, #0 ; =0x0
mov x2, x24
bl _memset
ldr w0, [x25]
b LBB0_52
LBB0_42:
Lloh10:
adrp x8, _BROTLI_DECODER_ERROR_UNREACHABLE@GOTPAGE
Lloh11:
ldr x8, [x8, _BROTLI_DECODER_ERROR_UNREACHABLE@GOTPAGEOFF]
LBB0_43:
ldr w0, [x8]
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
b _BROTLI_FAILURE
LBB0_44:
Lloh12:
adrp x8, _BROTLI_DECODER_NEEDS_MORE_INPUT@GOTPAGE
Lloh13:
ldr x8, [x8, _BROTLI_DECODER_NEEDS_MORE_INPUT@GOTPAGEOFF]
mov w9, #128 ; =0x80
LBB0_45:
str w9, [x19]
b LBB0_51
LBB0_46:
Lloh14:
adrp x8, _BROTLI_DECODER_ERROR_FORMAT_CONTEXT_MAP_REPEAT@GOTPAGE
Lloh15:
ldr x8, [x8, _BROTLI_DECODER_ERROR_FORMAT_CONTEXT_MAP_REPEAT@GOTPAGEOFF]
Lloh16:
ldr w0, [x8]
bl _BROTLI_FAILURE
b LBB0_52
LBB0_47:
Lloh17:
adrp x8, _BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MAP@GOTPAGE
Lloh18:
ldr x8, [x8, _BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MAP@GOTPAGEOFF]
b LBB0_43
LBB0_48:
mov w8, #65535 ; =0xffff
LBB0_49:
str w8, [x19, #12]
str w27, [x19, #4]
LBB0_50:
Lloh19:
adrp x8, _BROTLI_DECODER_NEEDS_MORE_INPUT@GOTPAGE
Lloh20:
ldr x8, [x8, _BROTLI_DECODER_NEEDS_MORE_INPUT@GOTPAGEOFF]
LBB0_51:
ldr w0, [x8]
LBB0_52:
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_53:
mov w8, #129 ; =0x81
str w8, [x19]
b LBB0_7
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGot Lloh17, Lloh18
.loh AdrpLdrGot Lloh19, Lloh20
.cfi_endproc
; -- End function
.comm _BROTLI_DECODER_SUCCESS,4,2 ; @BROTLI_DECODER_SUCCESS
.comm _BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MAP,4,2 ; @BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MAP
.comm _BROTLI_DECODER_NEEDS_MORE_INPUT,4,2 ; @BROTLI_DECODER_NEEDS_MORE_INPUT
.comm _BROTLI_FALSE,4,2 ; @BROTLI_FALSE
.comm _BROTLI_DECODER_ERROR_FORMAT_CONTEXT_MAP_REPEAT,4,2 ; @BROTLI_DECODER_ERROR_FORMAT_CONTEXT_MAP_REPEAT
.comm _BROTLI_DECODER_ERROR_UNREACHABLE,4,2 ; @BROTLI_DECODER_ERROR_UNREACHABLE
.no_dead_strip _DecodeContextMap
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function rtl8192_process_phyinfo
_rtl8192_process_phyinfo: ## @rtl8192_process_phyinfo
.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 %rcx, %r15
movq %rdx, %r14
movq %rdi, %rbx
movl (%rsi), %edi
callq _le16_to_cpu
movl %eax, %edi
callq _WLAN_GET_SEQ_SEQ
movl %eax, (%r15)
movl 88(%r14), %r12d
movq _rtl8192_process_phyinfo.slide_rssi_statistics(%rip), %rax
leaq -1(%rax), %rcx
movq %rcx, _rtl8192_process_phyinfo.slide_rssi_statistics(%rip)
movq _PHY_RSSI_SLID_WIN_MAX@GOTPCREL(%rip), %r13
movq (%r13), %rdi
cmpq %rdi, %rax
jae LBB0_2
## %bb.1:
movq 16(%rbx), %rax
movq 24(%rbx), %rsi
movq _rtl8192_process_phyinfo.slide_rssi_index(%rip), %rdx
jmp LBB0_3
LBB0_2:
movq %rdi, _rtl8192_process_phyinfo.slide_rssi_statistics(%rip)
movq 16(%rbx), %rax
movq 24(%rbx), %rsi
movq _rtl8192_process_phyinfo.slide_rssi_index(%rip), %rdx
subq (%rax,%rdx,8), %rsi
movq %rdi, %rcx
LBB0_3:
movq 8(%r14), %rdi
addq %rdi, %rsi
movq %rsi, 24(%rbx)
leaq 1(%rdx), %rsi
movq %rsi, _rtl8192_process_phyinfo.slide_rssi_index(%rip)
movq %rdi, (%rax,%rdx,8)
cmpq (%r13), %rsi
jb LBB0_5
## %bb.4:
movq $0, _rtl8192_process_phyinfo.slide_rssi_index(%rip)
LBB0_5:
movq 24(%rbx), %rax
movq %rax, %rdx
orq %rcx, %rdx
shrq $32, %rdx
je LBB0_6
## %bb.7:
xorl %edx, %edx
divq %rcx
jmp LBB0_8
LBB0_6:
## kill: def $eax killed $eax killed $rax
xorl %edx, %edx
divl %ecx
## kill: def $eax killed $eax def $rax
LBB0_8:
movq %rax, %rdi
callq _rtl819x_translate_todbm
movl %eax, 100(%rbx)
movl %eax, 84(%r15)
cmpl $0, 80(%r14)
je LBB0_9
## %bb.10:
testl %r12d, %r12d
jne LBB0_70
jmp LBB0_11
LBB0_9:
testl %r12d, %r12d
setne %al
cmpq $0, 48(%r14)
sete %cl
orb %al, %cl
jne LBB0_70
LBB0_11:
incl 96(%rbx)
cmpq $0, 72(%r14)
je LBB0_13
## %bb.12:
movq _COMP_RXDESC@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.2(%rip), %rdx
jmp LBB0_29
LBB0_13:
cmpq $0, 64(%r14)
jne LBB0_15
## %bb.14:
cmpq $0, 48(%r14)
je LBB0_27
LBB0_15:
movq _RF90_PATH_A@GOTPCREL(%rip), %rax
movq (%rax), %r15
cmpq (%rbx), %r15
jbe LBB0_16
LBB0_27:
movq _COMP_RXDESC@GOTPCREL(%rip), %rax
movl (%rax), %edi
jmp LBB0_28
LBB0_16:
movq _COMP_DBG@GOTPCREL(%rip), %r13
leaq L_.str(%rip), %r12
jmp LBB0_17
.p2align 4, 0x90
LBB0_22: ## in Loop: Header=BB0_17 Depth=1
movq _RX_SMOOTH_FACTOR@GOTPCREL(%rip), %rax
movl (%rax), %edi
leal -1(%rdi), %eax
imull %esi, %eax
addl %edx, %eax
cltd
idivl %edi
decl %eax
LBB0_23: ## in Loop: Header=BB0_17 Depth=1
movl %eax, (%rcx,%r15,4)
movl (%r13), %edi
movq %r12, %rsi
movl %eax, %edx
xorl %eax, %eax
callq _RT_TRACE
incq %r15
cmpq (%rbx), %r15
ja LBB0_24
LBB0_17: ## =>This Inner Loop Header: Depth=1
movq 104(%rbx), %rax
movl (%rax), %edi
movq %r15, %rsi
callq _rtl8192_phy_CheckIsLegalRFPath
testl %eax, %eax
je LBB0_24
## %bb.18: ## in Loop: Header=BB0_17 Depth=1
movq 32(%rbx), %rcx
movl (%rcx,%r15,4), %esi
movq 16(%r14), %rax
movl (%rax,%r15,4), %edx
testl %esi, %esi
je LBB0_19
## %bb.21: ## in Loop: Header=BB0_17 Depth=1
cmpl %esi, %edx
jg LBB0_22
jmp LBB0_20
.p2align 4, 0x90
LBB0_19: ## in Loop: Header=BB0_17 Depth=1
movl %edx, (%rcx,%r15,4)
movl %edx, %esi
LBB0_20: ## in Loop: Header=BB0_17 Depth=1
movq _RX_SMOOTH_FACTOR@GOTPCREL(%rip), %rax
movl (%rax), %edi
leal -1(%rdi), %eax
imull %esi, %eax
addl %edx, %eax
cltd
idivl %edi
jmp LBB0_23
LBB0_24:
movq _COMP_RXDESC@GOTPCREL(%rip), %rax
movl (%rax), %edi
cmpq $0, 72(%r14)
je LBB0_25
## %bb.26:
leaq L_.str.2(%rip), %rdx
movq _PHY_RSSI_SLID_WIN_MAX@GOTPCREL(%rip), %r13
jmp LBB0_29
LBB0_25:
movq _PHY_RSSI_SLID_WIN_MAX@GOTPCREL(%rip), %r13
LBB0_28:
leaq L_.str.3(%rip), %rdx
LBB0_29:
movq 24(%r14), %rcx
leaq L_.str.1(%rip), %rsi
xorl %eax, %eax
callq _RT_TRACE
cmpq $0, 56(%r14)
je LBB0_30
## %bb.31:
movq _rtl8192_process_phyinfo.slide_beacon_adc_pwdb_statistics(%rip), %rdx
leaq 1(%rdx), %rcx
movq %rcx, _rtl8192_process_phyinfo.slide_beacon_adc_pwdb_statistics(%rip)
movq _PHY_Beacon_RSSI_SLID_WIN_MAX@GOTPCREL(%rip), %rax
movq (%rax), %r8
cmpq %r8, %rdx
jae LBB0_33
## %bb.32:
movq 40(%rbx), %rsi
movq 48(%rbx), %rdi
movq _rtl8192_process_phyinfo.slide_beacon_adc_pwdb_index(%rip), %rdx
jmp LBB0_34
LBB0_30:
movq 24(%r14), %rcx
jmp LBB0_39
LBB0_33:
movq %r8, _rtl8192_process_phyinfo.slide_beacon_adc_pwdb_statistics(%rip)
movq 40(%rbx), %rsi
movq 48(%rbx), %rdi
movq _rtl8192_process_phyinfo.slide_beacon_adc_pwdb_index(%rip), %rdx
subq (%rsi,%rdx,8), %rdi
movq %r8, %rcx
LBB0_34:
movq 24(%r14), %r8
addq %r8, %rdi
movq %rdi, 48(%rbx)
movq %r8, (%rsi,%rdx,8)
incq %rdx
xorl %esi, %esi
cmpq (%rax), %rdx
cmovbq %rdx, %rsi
movq %rsi, _rtl8192_process_phyinfo.slide_beacon_adc_pwdb_index(%rip)
movq 48(%rbx), %rax
movq %rax, %rdx
orq %rcx, %rdx
shrq $32, %rdx
je LBB0_35
## %bb.36:
xorl %edx, %edx
divq %rcx
movq %rax, %rcx
jmp LBB0_37
LBB0_35:
## kill: def $eax killed $eax killed $rax
xorl %edx, %edx
divl %ecx
movl %eax, %ecx
LBB0_37:
movq %rcx, 24(%r14)
cmpq $3, %rcx
jb LBB0_39
## %bb.38:
addq $-3, %rcx
movq %rcx, 24(%r14)
LBB0_39:
movq _COMP_RXDESC@GOTPCREL(%rip), %rax
movl (%rax), %edi
cmpq $0, 72(%r14)
leaq L_.str.3(%rip), %rax
leaq L_.str.2(%rip), %rdx
cmoveq %rax, %rdx
leaq L_.str.1(%rip), %rsi
xorl %eax, %eax
callq _RT_TRACE
movq 64(%r14), %rcx
testq %rcx, %rcx
jne LBB0_42
## %bb.40:
cmpq $0, 56(%r14)
jne LBB0_42
## %bb.41:
cmpq $0, 48(%r14)
je LBB0_71
LBB0_42:
movl 8(%rbx), %eax
testl %eax, %eax
movq 24(%r14), %rsi
movl %esi, %edx
cmovnsl %eax, %edx
movslq %edx, %rdi
movq _RX_SMOOTH_FACTOR@GOTPCREL(%rip), %rax
movslq (%rax), %r8
leaq -1(%r8), %rax
imulq %rdi, %rax
addq %rsi, %rax
movq %rax, %rdx
orq %r8, %rdx
shrq $32, %rdx
je LBB0_43
## %bb.44:
xorl %edx, %edx
divq %r8
jmp LBB0_45
LBB0_43:
## kill: def $eax killed $eax killed $rax
xorl %edx, %edx
divl %r8d
## kill: def $eax killed $eax def $rax
LBB0_45:
cmpq %rsi, %rdi
adcl $0, %eax
movl %eax, 8(%rbx)
movq 32(%r14), %rax
testq %rax, %rax
je LBB0_70
## %bb.46:
testq %rcx, %rcx
jne LBB0_49
## %bb.47:
cmpq $0, 56(%r14)
jne LBB0_49
jmp LBB0_48
LBB0_71:
movq 32(%r14), %rax
testq %rax, %rax
je LBB0_70
LBB0_48:
cmpq $0, 48(%r14)
je LBB0_58
LBB0_49:
movq _rtl8192_process_phyinfo.slide_evm_statistics(%rip), %rdx
leaq 1(%rdx), %rcx
movq %rcx, _rtl8192_process_phyinfo.slide_evm_statistics(%rip)
movq (%r13), %r8
cmpq %r8, %rdx
jae LBB0_51
## %bb.50:
movq 56(%rbx), %rdx
movq 64(%rbx), %rdi
movq _rtl8192_process_phyinfo.slide_evm_index(%rip), %rsi
jmp LBB0_52
LBB0_51:
movq %r8, _rtl8192_process_phyinfo.slide_evm_statistics(%rip)
movq 56(%rbx), %rdx
movq 64(%rbx), %rdi
movq _rtl8192_process_phyinfo.slide_evm_index(%rip), %rsi
subq (%rdx,%rsi,8), %rdi
movq %r8, %rcx
LBB0_52:
addq %rax, %rdi
movq %rdi, 64(%rbx)
leaq 1(%rsi), %rdi
movq %rdi, _rtl8192_process_phyinfo.slide_evm_index(%rip)
movq %rax, (%rdx,%rsi,8)
cmpq (%r13), %rdi
jb LBB0_54
## %bb.53:
movq $0, _rtl8192_process_phyinfo.slide_evm_index(%rip)
LBB0_54:
movq 64(%rbx), %rax
movq %rax, %rdx
orq %rcx, %rdx
shrq $32, %rdx
je LBB0_55
## %bb.56:
xorl %edx, %edx
divq %rcx
jmp LBB0_57
LBB0_55:
## kill: def $eax killed $eax killed $rax
xorl %edx, %edx
divl %ecx
## kill: def $eax killed $eax def $rax
LBB0_57:
movq %rax, 72(%rbx)
movq %rax, 80(%rbx)
cmpq $0, 64(%r14)
jne LBB0_60
LBB0_58:
cmpq $0, 56(%r14)
jne LBB0_60
## %bb.59:
cmpq $0, 48(%r14)
je LBB0_70
LBB0_60:
movq 40(%r14), %rcx
movl (%rcx), %edx
cmpl $-1, %edx
je LBB0_65
## %bb.61:
movq 88(%rbx), %rsi
movl (%rsi), %eax
testl %eax, %eax
je LBB0_63
## %bb.62:
movl %edx, %edi
movl %eax, %edx
jmp LBB0_64
LBB0_63:
movl %edx, (%rsi)
movl (%rcx), %edi
LBB0_64:
movq _RX_SMOOTH_FACTOR@GOTPCREL(%rip), %rax
movl (%rax), %r8d
leal -1(%r8), %eax
imull %edx, %eax
addl %edi, %eax
cltd
idivl %r8d
movl %eax, (%rsi)
LBB0_65:
movl 4(%rcx), %edx
cmpl $-1, %edx
je LBB0_70
## %bb.66:
movq 88(%rbx), %rsi
movl 4(%rsi), %eax
testl %eax, %eax
je LBB0_68
## %bb.67:
movl %edx, %ecx
movl %eax, %edx
jmp LBB0_69
LBB0_68:
movl %edx, 4(%rsi)
movl 4(%rcx), %ecx
LBB0_69:
movq _RX_SMOOTH_FACTOR@GOTPCREL(%rip), %rax
movl (%rax), %edi
leal -1(%rdi), %eax
imull %edx, %eax
addl %ecx, %eax
cltd
idivl %edi
movl %eax, 4(%rsi)
LBB0_70:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_rtl8192_process_phyinfo.slide_rssi_index,8,3 ## @rtl8192_process_phyinfo.slide_rssi_index
.zerofill __DATA,__bss,_rtl8192_process_phyinfo.slide_rssi_statistics,8,3 ## @rtl8192_process_phyinfo.slide_rssi_statistics
.zerofill __DATA,__bss,_rtl8192_process_phyinfo.slide_evm_index,8,3 ## @rtl8192_process_phyinfo.slide_evm_index
.zerofill __DATA,__bss,_rtl8192_process_phyinfo.slide_evm_statistics,8,3 ## @rtl8192_process_phyinfo.slide_evm_statistics
.zerofill __DATA,__bss,_rtl8192_process_phyinfo.slide_beacon_adc_pwdb_index,8,3 ## @rtl8192_process_phyinfo.slide_beacon_adc_pwdb_index
.zerofill __DATA,__bss,_rtl8192_process_phyinfo.slide_beacon_adc_pwdb_statistics,8,3 ## @rtl8192_process_phyinfo.slide_beacon_adc_pwdb_statistics
.comm _PHY_RSSI_SLID_WIN_MAX,8,3 ## @PHY_RSSI_SLID_WIN_MAX
.comm _RF90_PATH_A,8,3 ## @RF90_PATH_A
.comm _RX_SMOOTH_FACTOR,4,2 ## @RX_SMOOTH_FACTOR
.comm _COMP_DBG,4,2 ## @COMP_DBG
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "priv->stats.rx_rssi_percentage[rfPath] = %d\n"
.comm _COMP_RXDESC,4,2 ## @COMP_RXDESC
L_.str.1: ## @.str.1
.asciz "Smooth %s PWDB = %d\n"
L_.str.2: ## @.str.2
.asciz "CCK"
L_.str.3: ## @.str.3
.asciz "OFDM"
.comm _PHY_Beacon_RSSI_SLID_WIN_MAX,8,3 ## @PHY_Beacon_RSSI_SLID_WIN_MAX
.no_dead_strip _rtl8192_process_phyinfo
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function rtl8192_process_phyinfo
_rtl8192_process_phyinfo: ; @rtl8192_process_phyinfo
.cfi_startproc
; %bb.0:
sub sp, sp, #96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x21, x3
mov x20, x2
mov x19, x0
ldr w0, [x1]
bl _le16_to_cpu
bl _WLAN_GET_SEQ_SEQ
str w0, [x21]
ldr w22, [x20, #88]
adrp x10, _rtl8192_process_phyinfo.slide_rssi_statistics@PAGE
ldr x11, [x10, _rtl8192_process_phyinfo.slide_rssi_statistics@PAGEOFF]
sub x9, x11, #1
str x9, [x10, _rtl8192_process_phyinfo.slide_rssi_statistics@PAGEOFF]
Lloh0:
adrp x23, _PHY_RSSI_SLID_WIN_MAX@GOTPAGE
Lloh1:
ldr x23, [x23, _PHY_RSSI_SLID_WIN_MAX@GOTPAGEOFF]
ldr x13, [x23]
adrp x8, _rtl8192_process_phyinfo.slide_rssi_index@PAGE
cmp x11, x13
b.hs LBB0_2
; %bb.1:
ldp x10, x12, [x19, #16]
ldr x11, [x8, _rtl8192_process_phyinfo.slide_rssi_index@PAGEOFF]
b LBB0_3
LBB0_2:
str x13, [x10, _rtl8192_process_phyinfo.slide_rssi_statistics@PAGEOFF]
ldr x11, [x8, _rtl8192_process_phyinfo.slide_rssi_index@PAGEOFF]
ldp x10, x9, [x19, #16]
ldr x12, [x10, x11, lsl #3]
sub x12, x9, x12
mov x9, x13
LBB0_3:
ldr x13, [x20, #8]
add x12, x12, x13
str x12, [x19, #24]
add x12, x11, #1
str x12, [x8, _rtl8192_process_phyinfo.slide_rssi_index@PAGEOFF]
str x13, [x10, x11, lsl #3]
ldr x10, [x23]
cmp x12, x10
b.lo LBB0_5
; %bb.4:
str xzr, [x8, _rtl8192_process_phyinfo.slide_rssi_index@PAGEOFF]
LBB0_5:
ldr x8, [x19, #24]
udiv x0, x8, x9
bl _rtl819x_translate_todbm
str w0, [x19, #100]
str w0, [x21, #84]
ldr w8, [x20, #80]
cbnz w8, LBB0_7
; %bb.6:
ldr x8, [x20, #48]
cbz x8, LBB0_58
LBB0_7:
cbnz w22, LBB0_58
; %bb.8:
ldr w8, [x19, #96]
add w8, w8, #1
str w8, [x19, #96]
ldr x8, [x20, #72]
Lloh2:
adrp x25, _COMP_RXDESC@GOTPAGE
Lloh3:
ldr x25, [x25, _COMP_RXDESC@GOTPAGEOFF]
Lloh4:
adrp x24, _RX_SMOOTH_FACTOR@GOTPAGE
Lloh5:
ldr x24, [x24, _RX_SMOOTH_FACTOR@GOTPAGEOFF]
cbz x8, LBB0_11
; %bb.9:
ldr w0, [x25]
LBB0_10:
Lloh6:
adrp x8, l_.str.2@PAGE
Lloh7:
add x8, x8, l_.str.2@PAGEOFF
b LBB0_25
LBB0_11:
ldr x8, [x20, #64]
cbnz x8, LBB0_13
; %bb.12:
ldr x8, [x20, #48]
cbz x8, LBB0_14
LBB0_13:
Lloh8:
adrp x8, _RF90_PATH_A@GOTPAGE
Lloh9:
ldr x8, [x8, _RF90_PATH_A@GOTPAGEOFF]
Lloh10:
ldr x21, [x8]
ldr x8, [x19]
cmp x21, x8
b.ls LBB0_15
LBB0_14:
ldr w0, [x25]
b LBB0_24
LBB0_15:
Lloh11:
adrp x26, _COMP_DBG@GOTPAGE
Lloh12:
ldr x26, [x26, _COMP_DBG@GOTPAGEOFF]
Lloh13:
adrp x22, l_.str@PAGE
Lloh14:
add x22, x22, l_.str@PAGEOFF
b LBB0_18
LBB0_16: ; in Loop: Header=BB0_18 Depth=1
ldr w11, [x24]
sub w12, w11, #1
madd w9, w12, w10, w9
sdiv w9, w9, w11
sub w9, w9, #1
LBB0_17: ; in Loop: Header=BB0_18 Depth=1
str w9, [x8, x21, lsl #2]
ldr w0, [x26]
str x9, [sp]
mov x1, x22
bl _RT_TRACE
add x21, x21, #1
ldr x8, [x19]
cmp x21, x8
b.hi LBB0_23
LBB0_18: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #104]
ldr w0, [x8]
mov x1, x21
bl _rtl8192_phy_CheckIsLegalRFPath
cbz w0, LBB0_23
; %bb.19: ; in Loop: Header=BB0_18 Depth=1
ldr x8, [x19, #32]
ldr w10, [x8, x21, lsl #2]
ldr x9, [x20, #16]
ldr w9, [x9, x21, lsl #2]
cbz w10, LBB0_21
; %bb.20: ; in Loop: Header=BB0_18 Depth=1
cmp w9, w10
b.gt LBB0_16
b LBB0_22
LBB0_21: ; in Loop: Header=BB0_18 Depth=1
str w9, [x8, x21, lsl #2]
mov x10, x9
LBB0_22: ; in Loop: Header=BB0_18 Depth=1
ldr w11, [x24]
sub w12, w11, #1
madd w9, w12, w10, w9
sdiv w9, w9, w11
b LBB0_17
LBB0_23:
ldr x8, [x20, #72]
ldr w0, [x25]
cbnz x8, LBB0_10
LBB0_24:
Lloh15:
adrp x8, l_.str.3@PAGE
Lloh16:
add x8, x8, l_.str.3@PAGEOFF
LBB0_25:
Lloh17:
adrp x21, l_.str.2@PAGE
Lloh18:
add x21, x21, l_.str.2@PAGEOFF
ldr x9, [x20, #24]
stp x8, x9, [sp]
Lloh19:
adrp x1, l_.str.1@PAGE
Lloh20:
add x1, x1, l_.str.1@PAGEOFF
bl _RT_TRACE
ldr x8, [x20, #56]
cbz x8, LBB0_28
; %bb.26:
adrp x11, _rtl8192_process_phyinfo.slide_beacon_adc_pwdb_statistics@PAGE
ldr x12, [x11, _rtl8192_process_phyinfo.slide_beacon_adc_pwdb_statistics@PAGEOFF]
add x10, x12, #1
str x10, [x11, _rtl8192_process_phyinfo.slide_beacon_adc_pwdb_statistics@PAGEOFF]
Lloh21:
adrp x9, _PHY_Beacon_RSSI_SLID_WIN_MAX@GOTPAGE
Lloh22:
ldr x9, [x9, _PHY_Beacon_RSSI_SLID_WIN_MAX@GOTPAGEOFF]
ldr x14, [x9]
adrp x8, _rtl8192_process_phyinfo.slide_beacon_adc_pwdb_index@PAGE
cmp x12, x14
b.hs LBB0_29
; %bb.27:
ldp x12, x13, [x19, #40]
ldr x11, [x8, _rtl8192_process_phyinfo.slide_beacon_adc_pwdb_index@PAGEOFF]
b LBB0_30
LBB0_28:
ldr x8, [x20, #24]
b LBB0_32
LBB0_29:
str x14, [x11, _rtl8192_process_phyinfo.slide_beacon_adc_pwdb_statistics@PAGEOFF]
ldr x11, [x8, _rtl8192_process_phyinfo.slide_beacon_adc_pwdb_index@PAGEOFF]
ldp x12, x10, [x19, #40]
ldr x13, [x12, x11, lsl #3]
sub x13, x10, x13
mov x10, x14
LBB0_30:
ldr x14, [x20, #24]
add x13, x13, x14
str x13, [x19, #48]
str x14, [x12, x11, lsl #3]
add x12, x11, #1
ldr x9, [x9]
cmp x12, x9
csinc x9, xzr, x11, hs
str x9, [x8, _rtl8192_process_phyinfo.slide_beacon_adc_pwdb_index@PAGEOFF]
ldr x8, [x19, #48]
udiv x8, x8, x10
str x8, [x20, #24]
subs x9, x8, #3
b.lo LBB0_32
; %bb.31:
str x9, [x20, #24]
mov x8, x9
LBB0_32:
ldr w0, [x25]
ldr x9, [x20, #72]
Lloh23:
adrp x10, l_.str.3@PAGE
Lloh24:
add x10, x10, l_.str.3@PAGEOFF
cmp x9, #0
csel x9, x10, x21, eq
stp x9, x8, [sp]
Lloh25:
adrp x1, l_.str.1@PAGE
Lloh26:
add x1, x1, l_.str.1@PAGEOFF
bl _RT_TRACE
ldr x9, [x20, #64]
cbnz x9, LBB0_35
; %bb.33:
ldr x8, [x20, #56]
cbnz x8, LBB0_35
; %bb.34:
ldr x8, [x20, #48]
cbz x8, LBB0_38
LBB0_35:
ldr w10, [x19, #8]
ldp x11, x8, [x20, #24]
cmp w10, #0
csel w10, w11, w10, lt
sxtw x10, w10
ldrsw x12, [x24]
sub x13, x12, #1
cmp x11, x10
madd x10, x13, x10, x11
udiv x10, x10, x12
cinc w10, w10, hi
str w10, [x19, #8]
cbz x8, LBB0_58
; %bb.36:
cbnz x9, LBB0_40
; %bb.37:
ldr x9, [x20, #56]
cbnz x9, LBB0_40
b LBB0_39
LBB0_38:
ldr x8, [x20, #32]
cbz x8, LBB0_58
LBB0_39:
ldr x9, [x20, #48]
cbz x9, LBB0_46
LBB0_40:
adrp x11, _rtl8192_process_phyinfo.slide_evm_statistics@PAGE
ldr x12, [x11, _rtl8192_process_phyinfo.slide_evm_statistics@PAGEOFF]
add x10, x12, #1
str x10, [x11, _rtl8192_process_phyinfo.slide_evm_statistics@PAGEOFF]
ldr x14, [x23]
adrp x9, _rtl8192_process_phyinfo.slide_evm_index@PAGE
cmp x12, x14
b.hs LBB0_42
; %bb.41:
ldp x11, x13, [x19, #56]
ldr x12, [x9, _rtl8192_process_phyinfo.slide_evm_index@PAGEOFF]
b LBB0_43
LBB0_42:
str x14, [x11, _rtl8192_process_phyinfo.slide_evm_statistics@PAGEOFF]
ldr x12, [x9, _rtl8192_process_phyinfo.slide_evm_index@PAGEOFF]
ldp x11, x10, [x19, #56]
ldr x13, [x11, x12, lsl #3]
sub x13, x10, x13
mov x10, x14
LBB0_43:
add x13, x13, x8
str x13, [x19, #64]
add x13, x12, #1
str x13, [x9, _rtl8192_process_phyinfo.slide_evm_index@PAGEOFF]
str x8, [x11, x12, lsl #3]
ldr x8, [x23]
cmp x13, x8
b.lo LBB0_45
; %bb.44:
str xzr, [x9, _rtl8192_process_phyinfo.slide_evm_index@PAGEOFF]
LBB0_45:
ldr x8, [x19, #64]
udiv x8, x8, x10
stp x8, x8, [x19, #72]
ldr x8, [x20, #64]
cbnz x8, LBB0_48
LBB0_46:
ldr x8, [x20, #56]
cbnz x8, LBB0_48
; %bb.47:
ldr x8, [x20, #48]
cbz x8, LBB0_58
LBB0_48:
ldr x8, [x20, #40]
ldr w9, [x8]
cmn w9, #1
b.eq LBB0_53
; %bb.49:
ldr x10, [x19, #88]
ldr w12, [x10]
cbz w12, LBB0_51
; %bb.50:
mov x11, x9
mov x9, x12
b LBB0_52
LBB0_51:
str w9, [x10]
ldr w11, [x8]
LBB0_52:
ldr w12, [x24]
sub w13, w12, #1
madd w9, w13, w9, w11
sdiv w9, w9, w12
str w9, [x10]
LBB0_53:
ldr w9, [x8, #4]
cmn w9, #1
b.eq LBB0_58
; %bb.54:
ldr x10, [x19, #88]
ldr w11, [x10, #4]
cbz w11, LBB0_56
; %bb.55:
mov x8, x9
mov x9, x11
b LBB0_57
LBB0_56:
str w9, [x10, #4]
ldr w8, [x8, #4]
LBB0_57:
ldr w11, [x24]
sub w12, w11, #1
madd w8, w12, w9, w8
sdiv w8, w8, w11
str w8, [x10, #4]
LBB0_58:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpLdrGot Lloh21, Lloh22
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpAdd Lloh23, Lloh24
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_rtl8192_process_phyinfo.slide_rssi_index,8,3 ; @rtl8192_process_phyinfo.slide_rssi_index
.zerofill __DATA,__bss,_rtl8192_process_phyinfo.slide_rssi_statistics,8,3 ; @rtl8192_process_phyinfo.slide_rssi_statistics
.zerofill __DATA,__bss,_rtl8192_process_phyinfo.slide_evm_index,8,3 ; @rtl8192_process_phyinfo.slide_evm_index
.zerofill __DATA,__bss,_rtl8192_process_phyinfo.slide_evm_statistics,8,3 ; @rtl8192_process_phyinfo.slide_evm_statistics
.zerofill __DATA,__bss,_rtl8192_process_phyinfo.slide_beacon_adc_pwdb_index,8,3 ; @rtl8192_process_phyinfo.slide_beacon_adc_pwdb_index
.zerofill __DATA,__bss,_rtl8192_process_phyinfo.slide_beacon_adc_pwdb_statistics,8,3 ; @rtl8192_process_phyinfo.slide_beacon_adc_pwdb_statistics
.comm _PHY_RSSI_SLID_WIN_MAX,8,3 ; @PHY_RSSI_SLID_WIN_MAX
.comm _RF90_PATH_A,8,3 ; @RF90_PATH_A
.comm _RX_SMOOTH_FACTOR,4,2 ; @RX_SMOOTH_FACTOR
.comm _COMP_DBG,4,2 ; @COMP_DBG
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "priv->stats.rx_rssi_percentage[rfPath] = %d\n"
.comm _COMP_RXDESC,4,2 ; @COMP_RXDESC
l_.str.1: ; @.str.1
.asciz "Smooth %s PWDB = %d\n"
l_.str.2: ; @.str.2
.asciz "CCK"
l_.str.3: ; @.str.3
.asciz "OFDM"
.comm _PHY_Beacon_RSSI_SLID_WIN_MAX,8,3 ; @PHY_Beacon_RSSI_SLID_WIN_MAX
.no_dead_strip _rtl8192_process_phyinfo
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function wpa_setband_scan_freqs_list
_wpa_setband_scan_freqs_list: ## @wpa_setband_scan_freqs_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 %rdx, %r14
movl %esi, %edx
movl (%rdi), %esi
movl 4(%rdi), %edi
callq _get_mode
testq %rax, %rax
je LBB0_1
## %bb.2:
movq %rax, %rbx
movl (%rax), %edi
decl %edi
movl $4, %esi
callq _os_calloc
movq %rax, (%r14)
testq %rax, %rax
je LBB0_8
## %bb.3:
movl (%rbx), %esi
testl %esi, %esi
js LBB0_8
## %bb.4:
movq 8(%rbx), %rcx
movq _HOSTAPD_CHAN_DISABLED@GOTPCREL(%rip), %rdx
movl (%rdx), %r9d
xorl %edi, %edi
movq $-1, %r8
jmp LBB0_5
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_5 Depth=1
movslq %esi, %r10
incq %r8
cmpq %r10, %r8
jge LBB0_8
LBB0_5: ## =>This Inner Loop Header: Depth=1
movl 8(%rcx,%r8,8), %r10d
orl %r9d, %r10d
jne LBB0_7
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movl 12(%rcx,%r8,8), %esi
movslq %edi, %r9
incl %edi
movl %esi, (%rax,%r9,4)
movl (%rdx), %r9d
movl (%rbx), %esi
jmp LBB0_7
LBB0_1:
movl $4, %edi
callq _os_zalloc
movq %rax, (%r14)
LBB0_8:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _HOSTAPD_CHAN_DISABLED,4,2 ## @HOSTAPD_CHAN_DISABLED
.no_dead_strip _wpa_setband_scan_freqs_list
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function wpa_setband_scan_freqs_list
_wpa_setband_scan_freqs_list: ; @wpa_setband_scan_freqs_list
.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 x20, x2
mov x2, x1
ldp w1, w8, [x0]
mov x0, x8
bl _get_mode
cbz x0, LBB0_7
; %bb.1:
mov x19, x0
ldr w8, [x0]
sub w0, w8, #1
mov w1, #4 ; =0x4
bl _os_calloc
str x0, [x20]
cbz x0, LBB0_8
; %bb.2:
ldr w9, [x19]
tbnz w9, #31, LBB0_8
; %bb.3:
mov w11, #0 ; =0x0
ldr x10, [x19, #8]
Lloh0:
adrp x8, _HOSTAPD_CHAN_DISABLED@GOTPAGE
Lloh1:
ldr x8, [x8, _HOSTAPD_CHAN_DISABLED@GOTPAGEOFF]
ldr w13, [x8]
add x10, x10, #4
mov x12, #-1 ; =0xffffffffffffffff
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
add x12, x12, #1
add x10, x10, #8
cmp x12, w9, sxtw
b.ge LBB0_8
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldur w14, [x10, #-4]
orr w14, w13, w14
cbnz w14, LBB0_4
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
ldr w9, [x10]
str w9, [x0, w11, sxtw #2]
add w11, w11, #1
ldr w13, [x8]
ldr w9, [x19]
b LBB0_4
LBB0_7:
mov w0, #4 ; =0x4
bl _os_zalloc
str x0, [x20]
LBB0_8:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _HOSTAPD_CHAN_DISABLED,4,2 ; @HOSTAPD_CHAN_DISABLED
.no_dead_strip _wpa_setband_scan_freqs_list
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _conv_ip ## -- Begin function conv_ip
.p2align 4, 0x90
_conv_ip: ## @conv_ip
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $32, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -24(%rbp)
movq _ip_buff@GOTPCREL(%rip), %r14
movq (%r14), %rax
movzbl (%rax), %ecx
testb %cl, %cl
je LBB0_4
## %bb.1:
leaq -1(%rax), %rsi
xorl %edx, %edx
movl %ecx, %edi
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
xorl %r8d, %r8d
cmpb $46, %dil
sete %r8b
addl %r8d, %edx
movzbl (%rsi), %edi
decq %rsi
testb %dil, %dil
jne LBB0_2
## %bb.3:
testl %edx, %edx
je LBB0_4
## %bb.6:
testb %cl, %cl
je LBB0_7
LBB0_8:
xorl %esi, %esi
xorl %edx, %edx
xorl %edi, %edi
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_9: ## =>This Inner Loop Header: Depth=1
cmpb $46, %cl
jne LBB0_13
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
cmpl $3, %edi
je LBB0_11
## %bb.12: ## in Loop: Header=BB0_9 Depth=1
movslq %edi, %rcx
incl %edi
movl %edx, -48(%rbp,%rcx,4)
xorl %edx, %edx
cmpq $18, %rsi
jbe LBB0_17
jmp LBB0_18
.p2align 4, 0x90
LBB0_13: ## in Loop: Header=BB0_9 Depth=1
leal -48(%rcx), %r8d
cmpb $9, %r8b
ja LBB0_20
## %bb.14: ## in Loop: Header=BB0_9 Depth=1
movsbl %cl, %ecx
addl %edx, %edx
leal (%rdx,%rdx,4), %edx
subl %ecx, %edx
cmpl $303, %edx ## imm = 0x12F
jg LBB0_20
## %bb.15: ## in Loop: Header=BB0_9 Depth=1
addl $-48, %edx
cmpq $18, %rsi
ja LBB0_18
LBB0_17: ## in Loop: Header=BB0_9 Depth=1
movzbl 1(%rax,%rsi), %ecx
incq %rsi
testb %cl, %cl
jne LBB0_9
LBB0_18:
movslq %edi, %rax
jmp LBB0_19
LBB0_4:
xorl %ebx, %ebx
xorl %eax, %eax
callq _ipv6_to_ipv4
testl %eax, %eax
je LBB0_20
## %bb.5:
movq (%r14), %rax
movzbl (%rax), %ecx
testb %cl, %cl
jne LBB0_8
LBB0_7:
xorl %eax, %eax
xorl %edx, %edx
LBB0_19:
movl %edx, -48(%rbp,%rax,4)
movl -48(%rbp), %eax
movl -44(%rbp), %ecx
shll $24, %eax
shll $16, %ecx
orl %eax, %ecx
movl -40(%rbp), %ebx
shll $8, %ebx
orl %ecx, %ebx
orl -36(%rbp), %ebx
LBB0_20:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -24(%rbp), %rax
jne LBB0_22
## %bb.21:
movl %ebx, %eax
addq $32, %rsp
popq %rbx
popq %r14
popq %rbp
retq
LBB0_11:
xorl %ebx, %ebx
jmp LBB0_20
LBB0_22:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _ip_buff,8,3 ## @ip_buff
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _conv_ip ; -- Begin function conv_ip
.p2align 2
_conv_ip: ; @conv_ip
.cfi_startproc
; %bb.0:
sub sp, sp, #64
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #24]
Lloh3:
adrp x19, _ip_buff@GOTPAGE
Lloh4:
ldr x19, [x19, _ip_buff@GOTPAGEOFF]
ldr x12, [x19]
ldrb w8, [x12]
cbz w8, LBB0_14
; %bb.1:
mov w9, #0 ; =0x0
mov x10, #-1 ; =0xffffffffffffffff
mov x11, x8
LBB0_2: ; =>This Inner Loop Header: Depth=1
and w11, w11, #0xff
cmp w11, #46
cinc w9, w9, eq
ldrb w11, [x12, x10]
sub x10, x10, #1
cbnz w11, LBB0_2
; %bb.3:
cbz w9, LBB0_14
; %bb.4:
cbz w8, LBB0_16
LBB0_5:
mov x10, #0 ; =0x0
mov w9, #0 ; =0x0
mov w11, #0 ; =0x0
add x12, x12, #1
add x13, sp, #8
mov w14, #10 ; =0xa
b LBB0_7
LBB0_6: ; in Loop: Header=BB0_7 Depth=1
ldrb w8, [x12, x10]
add x10, x10, #1
cbz w8, LBB0_13
LBB0_7: ; =>This Inner Loop Header: Depth=1
and w15, w8, #0xff
cmp w15, #46
b.ne LBB0_10
; %bb.8: ; in Loop: Header=BB0_7 Depth=1
cmp w11, #3
b.eq LBB0_18
; %bb.9: ; in Loop: Header=BB0_7 Depth=1
str w9, [x13, w11, sxtw #2]
add w8, w11, #1
mov x11, x8
mov w9, #0 ; =0x0
cmp x10, #18
b.ls LBB0_6
b LBB0_13
LBB0_10: ; in Loop: Header=BB0_7 Depth=1
sxtb w8, w8
sub w15, w8, #48
cmp w15, #9
b.hi LBB0_18
; %bb.11: ; in Loop: Header=BB0_7 Depth=1
neg w8, w8
madd w8, w9, w14, w8
cmp w8, #303
b.gt LBB0_18
; %bb.12: ; in Loop: Header=BB0_7 Depth=1
sub w9, w8, #48
cmp x10, #18
b.ls LBB0_6
LBB0_13:
sxtw x8, w11
b LBB0_17
LBB0_14:
bl _ipv6_to_ipv4
cbz w0, LBB0_19
; %bb.15:
ldr x12, [x19]
ldrb w8, [x12]
cbnz w8, LBB0_5
LBB0_16:
mov x8, #0 ; =0x0
mov w9, #0 ; =0x0
LBB0_17:
add x10, sp, #8
str w9, [x10, x8, lsl #2]
ldp w8, w9, [sp, #8]
lsl w9, w9, #16
orr w8, w9, w8, lsl #24
ldp w9, w10, [sp, #16]
orr w8, w8, w9, lsl #8
orr w0, w8, w10
b LBB0_19
LBB0_18:
mov w0, #0 ; =0x0
LBB0_19:
ldr x8, [sp, #24]
Lloh5:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh6:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_21
; %bb.20:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #64
ret
LBB0_21:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _ip_buff,8,3 ; @ip_buff
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _Poly1305_Final ## -- Begin function Poly1305_Final
.p2align 4, 0x90
_Poly1305_Final: ## @Poly1305_Final
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rax
movq %rdi, %rbx
movq (%rdi), %rsi
testq %rsi, %rsi
je LBB0_4
## %bb.1:
movq %rax, %r12
movq 8(%rbx), %r14
movl $1, (%r14,%rsi,4)
movq _POLY1305_BLOCK_SIZE@GOTPCREL(%rip), %rax
movq (%rax), %r15
leaq 1(%rsi), %rax
cmpq %r15, %rax
ja LBB0_3
## %bb.2:
leaq 2(%rsi), %rax
leaq 1(%r15), %rcx
cmpq %rcx, %rax
cmovaq %rax, %rcx
leaq (%r14,%rsi,4), %rdi
addq $4, %rdi
notq %rsi
addq %rcx, %rsi
shlq $2, %rsi
callq ___bzero
LBB0_3:
movl 20(%rbx), %edi
movq %r14, %rsi
movq %r15, %rdx
xorl %ecx, %ecx
callq _poly1305_blocks
movq %r12, %rax
LBB0_4:
movl 16(%rbx), %edx
movl 20(%rbx), %edi
movq %rax, %rsi
callq _poly1305_emit
movq %rbx, %rdi
movl $32, %esi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _OPENSSL_cleanse ## TAILCALL
.cfi_endproc
## -- End function
.comm _POLY1305_BLOCK_SIZE,8,3 ## @POLY1305_BLOCK_SIZE
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _Poly1305_Final ; -- Begin function Poly1305_Final
.p2align 2
_Poly1305_Final: ; @Poly1305_Final
.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, x0
ldr x8, [x0]
cbz x8, LBB0_4
; %bb.1:
mov x22, x1
ldr x20, [x19, #8]
mov w9, #1 ; =0x1
str w9, [x20, x8, lsl #2]
Lloh0:
adrp x9, _POLY1305_BLOCK_SIZE@GOTPAGE
Lloh1:
ldr x9, [x9, _POLY1305_BLOCK_SIZE@GOTPAGEOFF]
Lloh2:
ldr x21, [x9]
add x9, x8, #1
cmp x9, x21
b.hi LBB0_3
; %bb.2:
add x9, x20, x8, lsl #2
add x10, x8, #2
add x11, x21, #1
cmp x10, x11
csinc x10, x10, x21, hi
mvn x8, x8
add x8, x10, x8
lsl x1, x8, #2
add x0, x9, #4
bl _bzero
LBB0_3:
ldr w0, [x19, #20]
mov x1, x20
mov x2, x21
mov w3, #0 ; =0x0
bl _poly1305_blocks
mov x1, x22
LBB0_4:
ldp w2, w0, [x19, #16]
bl _poly1305_emit
mov x0, x19
mov w1, #32 ; =0x20
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 _OPENSSL_cleanse
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _POLY1305_BLOCK_SIZE,8,3 ; @POLY1305_BLOCK_SIZE
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function em28xx_card_setup
_em28xx_card_setup: ## @em28xx_card_setup
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %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
cmpq $0, 72(%rdi)
je LBB0_3
## %bb.1:
movq %rbx, %rdi
callq _em28xx_detect_sensor
movq (%rbx), %rax
movq _EM28XX_NOSENSOR@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_3
## %bb.2:
movq $0, 72(%rbx)
LBB0_3:
movl $-136, %eax
addl 8(%rbx), %eax
cmpl $6, %eax
ja LBB0_8
## %bb.4:
movl $97, %ecx
btl %eax, %ecx
jae LBB0_8
## %bb.5:
movq %rbx, %rdi
callq _em28xx_hint_board
testl %eax, %eax
js LBB0_6
## %bb.7:
movq %rbx, %rdi
callq _em28xx_set_model
movq %rbx, %rdi
callq _em28xx_pre_card_setup
jmp LBB0_9
LBB0_6:
movq 48(%rbx), %rdi
leaq L_.str(%rip), %rsi
callq _dev_err
jmp LBB0_9
LBB0_8:
movq %rbx, %rdi
callq _em28xx_set_model
LBB0_9:
movq 48(%rbx), %rdi
movl 68(%rbx), %edx
movl 8(%rbx), %ecx
leaq L_.str.1(%rip), %rsi
callq _dev_info
movq _em28xx_boards@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq 8(%rbx), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, 32(%rbx)
leal -128(%rcx), %eax
cmpl $13, %eax
ja LBB0_19
## %bb.10:
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_11:
movq 40(%rbx), %rsi
testq %rsi, %rsi
je LBB0_19
## %bb.12:
leaq -56(%rbp), %rdi
callq _tveeprom_hauppauge_analog
movq -48(%rbp), %rax
movq %rax, 32(%rbx)
movl -56(%rbp), %eax
movq _TVEEPROM_AUDPROC_MSP@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB0_19
## %bb.13:
movabsq $4297015296, %rax ## imm = 0x1001F4000
movq %rax, 12(%rbx)
jmp LBB0_19
LBB0_16:
movq %rbx, %rdi
callq _em28xx_hint_board
testl %eax, %eax
jne LBB0_18
## %bb.17:
movq %rbx, %rdi
callq _em28xx_set_model
LBB0_18:
movl 64(%rbx), %esi
movq %rbx, %rdi
callq _em28xx_gpio_set
movq _EM28XX_ANALOG_MODE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _em28xx_set_mode
jmp LBB0_19
LBB0_14:
movq %rbx, %rdi
movl $13, %esi
movl $66, %edx
callq _em28xx_write_reg
movl $10000, %edi ## imm = 0x2710
movl $11000, %esi ## imm = 0x2AF8
callq _usleep_range
movq _EM2820_R08_GPIO_CTRL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
movl $253, %edx
callq _em28xx_write_reg
movl $10000, %edi ## imm = 0x2710
movl $11000, %esi ## imm = 0x2AF8
callq _usleep_range
jmp LBB0_19
LBB0_15:
movq _EM2820_R08_GPIO_CTRL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
movl $249, %edx
callq _em28xx_write_reg
LBB0_19:
movq 56(%rbx), %rax
movq _EM28XX_BOARD_NOT_VALIDATED@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_21
## %bb.20:
movq 48(%rbx), %rdi
leaq L_.str.2(%rip), %rsi
callq _dev_err
LBB0_21:
movq 40(%rbx), %rdi
callq _kfree
movq $0, 40(%rbx)
movq _tuner@GOTPCREL(%rip), %rax
movq (%rax), %rax
testq %rax, %rax
js LBB0_23
## %bb.22:
movq %rax, 32(%rbx)
LBB0_23:
movq _MAX_EM28XX_INPUT@GOTPCREL(%rip), %rax
movl (%rax), %ecx
xorl %r15d, %r15d
testl %ecx, %ecx
jle LBB0_24
## %bb.32:
xorl %r14d, %r14d
jmp LBB0_33
.p2align 4, 0x90
LBB0_38: ## in Loop: Header=BB0_33 Depth=1
movl %r14d, %edi
callq _INPUT
movq (%rax), %rax
movq 24(%rbx), %rcx
movslq %r15d, %rdx
incl %r15d
movq %rax, (%rcx,%rdx,8)
LBB0_39: ## in Loop: Header=BB0_33 Depth=1
leal -1(%r14), %eax
movq _MAX_EM28XX_INPUT@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
cmpl %ecx, %r14d
movl %eax, %r14d
jg LBB0_24
LBB0_33: ## =>This Loop Header: Depth=1
## Child Loop BB0_37 Depth 2
movl %r14d, %edi
callq _INPUT
cmpl $0, 8(%rax)
je LBB0_39
## %bb.34: ## in Loop: Header=BB0_33 Depth=1
testl %r15d, %r15d
jle LBB0_38
## %bb.35: ## in Loop: Header=BB0_33 Depth=1
movl %r15d, %r13d
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_37: ## Parent Loop BB0_33 Depth=1
## => This Inner Loop Header: Depth=2
movl %r14d, %edi
callq _INPUT
movq (%rax), %rax
movq 24(%rbx), %rcx
cmpq (%rcx,%r12,8), %rax
je LBB0_39
## %bb.36: ## in Loop: Header=BB0_37 Depth=2
incq %r12
cmpq %r12, %r13
jne LBB0_37
jmp LBB0_38
LBB0_24:
cmpl %ecx, %r15d
jge LBB0_31
## %bb.25:
movq 24(%rbx), %rax
movslq %r15d, %r9
movslq %ecx, %rcx
movq _EM28XX_AMUX_UNUSED@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movq %rcx, %rdi
subq %r9, %rdi
cmpq $3, %rdi
ja LBB0_27
## %bb.26:
movq %r9, %rsi
jmp LBB0_30
LBB0_27:
movq %rdi, %r8
andq $-4, %r8
leaq (%r8,%r9), %rsi
movq %rdx, %xmm0
pshufd $68, %xmm0, %xmm0 ## xmm0 = xmm0[0,1,0,1]
leaq (%rax,%r9,8), %r9
addq $16, %r9
xorl %r10d, %r10d
.p2align 4, 0x90
LBB0_28: ## =>This Inner Loop Header: Depth=1
movdqu %xmm0, -16(%r9,%r10,8)
movdqu %xmm0, (%r9,%r10,8)
addq $4, %r10
cmpq %r10, %r8
jne LBB0_28
## %bb.29:
cmpq %r8, %rdi
je LBB0_31
.p2align 4, 0x90
LBB0_30: ## =>This Inner Loop Header: Depth=1
movq %rdx, (%rax,%rsi,8)
incq %rsi
cmpq %rsi, %rcx
jne LBB0_30
LBB0_31:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
LJTI0_0:
.long L0_0_set_11
.long L0_0_set_11
.long L0_0_set_11
.long L0_0_set_16
.long L0_0_set_14
.long L0_0_set_16
.long L0_0_set_11
.long L0_0_set_11
.long L0_0_set_16
.long L0_0_set_15
.long L0_0_set_11
.long L0_0_set_11
.long L0_0_set_11
.long L0_0_set_16
.end_data_region
## -- End function
.comm _EM28XX_NOSENSOR,8,3 ## @EM28XX_NOSENSOR
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Board not discovered\n"
L_.str.1: ## @.str.1
.asciz "Identified as %s (card=%d)\n"
.comm _em28xx_boards,8,3 ## @em28xx_boards
.comm _TVEEPROM_AUDPROC_MSP,4,2 ## @TVEEPROM_AUDPROC_MSP
.comm _EM2820_R08_GPIO_CTRL,4,2 ## @EM2820_R08_GPIO_CTRL
.comm _EM28XX_ANALOG_MODE,4,2 ## @EM28XX_ANALOG_MODE
.comm _EM28XX_BOARD_NOT_VALIDATED,8,3 ## @EM28XX_BOARD_NOT_VALIDATED
L_.str.2: ## @.str.2
.asciz "\n\nThe support for this board weren't valid yet.\nPlease send a report of having this working\nnot to V4L mailing list (and/or to other addresses)\n\n"
.comm _tuner,8,3 ## @tuner
.comm _MAX_EM28XX_INPUT,4,2 ## @MAX_EM28XX_INPUT
.comm _EM28XX_AMUX_UNUSED,8,3 ## @EM28XX_AMUX_UNUSED
.no_dead_strip _em28xx_card_setup
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ; -- Begin function em28xx_card_setup
lCPI0_0:
.long 2048000 ; 0x1f4000
.long 1 ; 0x1
.section __TEXT,__text,regular,pure_instructions
.p2align 2
_em28xx_card_setup: ; @em28xx_card_setup
.cfi_startproc
; %bb.0:
sub sp, sp, #80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x0
ldr x8, [x0, #72]
cbz x8, LBB0_3
; %bb.1:
mov x0, x19
bl _em28xx_detect_sensor
ldr x8, [x19]
Lloh0:
adrp x9, _EM28XX_NOSENSOR@GOTPAGE
Lloh1:
ldr x9, [x9, _EM28XX_NOSENSOR@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_3
; %bb.2:
str xzr, [x19, #72]
LBB0_3:
ldr w8, [x19, #8]
sub w8, w8, #136
cmp w8, #6
mov w9, #1 ; =0x1
lsl w8, w9, w8
mov w9, #97 ; =0x61
and w8, w8, w9
mov x0, x19
ccmp w8, #0, #4, ls
b.eq LBB0_7
; %bb.4:
bl _em28xx_hint_board
tbnz w0, #31, LBB0_6
; %bb.5:
mov x0, x19
bl _em28xx_set_model
mov x0, x19
bl _em28xx_pre_card_setup
b LBB0_8
LBB0_6:
ldr x0, [x19, #48]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
bl _dev_err
b LBB0_8
LBB0_7:
bl _em28xx_set_model
LBB0_8:
ldr x0, [x19, #48]
ldr w2, [x19, #68]
ldr w3, [x19, #8]
Lloh5:
adrp x1, l_.str.1@PAGE
Lloh6:
add x1, x1, l_.str.1@PAGEOFF
bl _dev_info
Lloh7:
adrp x8, _em28xx_boards@GOTPAGE
Lloh8:
ldr x8, [x8, _em28xx_boards@GOTPAGEOFF]
Lloh9:
ldr x9, [x8]
ldrsw x8, [x19, #8]
ldr x9, [x9, x8, lsl #3]
str x9, [x19, #32]
cmp w8, #132
b.le LBB0_13
; %bb.9:
sub w8, w8, #133
cmp w8, #8
b.hi LBB0_23
; %bb.10:
mov w9, #1 ; =0x1
lsl w8, w9, w8
mov w9, #230 ; =0xe6
tst w8, w9
b.ne LBB0_14
; %bb.11:
mov w9, #265 ; =0x109
tst w8, w9
b.ne LBB0_20
; %bb.12:
Lloh10:
adrp x8, _EM2820_R08_GPIO_CTRL@GOTPAGE
Lloh11:
ldr x8, [x8, _EM2820_R08_GPIO_CTRL@GOTPAGEOFF]
Lloh12:
ldr w1, [x8]
mov x0, x19
mov w2, #249 ; =0xf9
bl _em28xx_write_reg
b LBB0_23
LBB0_13:
sub w9, w8, #128
cmp w9, #3
b.hs LBB0_17
LBB0_14:
ldr x1, [x19, #40]
cbz x1, LBB0_23
; %bb.15:
mov x0, sp
bl _tveeprom_hauppauge_analog
ldr x8, [sp, #8]
str x8, [x19, #32]
ldr w8, [sp]
Lloh13:
adrp x9, _TVEEPROM_AUDPROC_MSP@GOTPAGE
Lloh14:
ldr x9, [x9, _TVEEPROM_AUDPROC_MSP@GOTPAGEOFF]
Lloh15:
ldr w9, [x9]
cmp w8, w9
b.ne LBB0_23
; %bb.16:
Lloh16:
adrp x8, lCPI0_0@PAGE
Lloh17:
ldr d0, [x8, lCPI0_0@PAGEOFF]
stur d0, [x19, #12]
b LBB0_23
LBB0_17:
cmp w8, #131
b.eq LBB0_20
; %bb.18:
cmp w8, #132
b.ne LBB0_23
; %bb.19:
mov x0, x19
mov w1, #13 ; =0xd
mov w2, #66 ; =0x42
bl _em28xx_write_reg
mov w0, #10000 ; =0x2710
mov w1, #11000 ; =0x2af8
bl _usleep_range
Lloh18:
adrp x8, _EM2820_R08_GPIO_CTRL@GOTPAGE
Lloh19:
ldr x8, [x8, _EM2820_R08_GPIO_CTRL@GOTPAGEOFF]
Lloh20:
ldr w1, [x8]
mov x0, x19
mov w2, #253 ; =0xfd
bl _em28xx_write_reg
mov w0, #10000 ; =0x2710
mov w1, #11000 ; =0x2af8
bl _usleep_range
b LBB0_23
LBB0_20:
mov x0, x19
bl _em28xx_hint_board
cbnz w0, LBB0_22
; %bb.21:
mov x0, x19
bl _em28xx_set_model
LBB0_22:
ldr w1, [x19, #64]
mov x0, x19
bl _em28xx_gpio_set
Lloh21:
adrp x8, _EM28XX_ANALOG_MODE@GOTPAGE
Lloh22:
ldr x8, [x8, _EM28XX_ANALOG_MODE@GOTPAGEOFF]
Lloh23:
ldr w1, [x8]
mov x0, x19
bl _em28xx_set_mode
LBB0_23:
ldr x8, [x19, #56]
Lloh24:
adrp x9, _EM28XX_BOARD_NOT_VALIDATED@GOTPAGE
Lloh25:
ldr x9, [x9, _EM28XX_BOARD_NOT_VALIDATED@GOTPAGEOFF]
Lloh26:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_25
; %bb.24:
ldr x0, [x19, #48]
Lloh27:
adrp x1, l_.str.2@PAGE
Lloh28:
add x1, x1, l_.str.2@PAGEOFF
bl _dev_err
LBB0_25:
ldr x0, [x19, #40]
bl _kfree
str xzr, [x19, #40]
Lloh29:
adrp x8, _tuner@GOTPAGE
Lloh30:
ldr x8, [x8, _tuner@GOTPAGEOFF]
Lloh31:
ldr x8, [x8]
tbnz x8, #63, LBB0_27
; %bb.26:
str x8, [x19, #32]
LBB0_27:
Lloh32:
adrp x22, _MAX_EM28XX_INPUT@GOTPAGE
Lloh33:
ldr x22, [x22, _MAX_EM28XX_INPUT@GOTPAGEOFF]
ldr w8, [x22]
cmp w8, #1
b.lt LBB0_36
; %bb.28:
mov w21, #0 ; =0x0
mov w20, #0 ; =0x0
b LBB0_31
LBB0_29: ; in Loop: Header=BB0_31 Depth=1
mov x0, x20
bl _INPUT
ldr x8, [x0]
ldr x9, [x19, #24]
str x8, [x9, w21, sxtw #3]
add w8, w21, #1
mov x21, x8
LBB0_30: ; in Loop: Header=BB0_31 Depth=1
sub w9, w20, #1
ldr w8, [x22]
cmp w20, w8
mov x20, x9
b.gt LBB0_37
LBB0_31: ; =>This Loop Header: Depth=1
; Child Loop BB0_34 Depth 2
mov x0, x20
bl _INPUT
ldr w8, [x0, #8]
cbz w8, LBB0_30
; %bb.32: ; in Loop: Header=BB0_31 Depth=1
cmp w21, #1
b.lt LBB0_29
; %bb.33: ; in Loop: Header=BB0_31 Depth=1
mov x23, #0 ; =0x0
ubfiz x24, x21, #3, #32
LBB0_34: ; Parent Loop BB0_31 Depth=1
; => This Inner Loop Header: Depth=2
mov x0, x20
bl _INPUT
ldr x8, [x0]
ldr x9, [x19, #24]
ldr x9, [x9, x23]
cmp x8, x9
b.eq LBB0_30
; %bb.35: ; in Loop: Header=BB0_34 Depth=2
add x23, x23, #8
cmp x24, x23
b.ne LBB0_34
b LBB0_29
LBB0_36:
mov w21, #0 ; =0x0
LBB0_37:
cmp w21, w8
b.ge LBB0_44
; %bb.38:
ldr x9, [x19, #24]
; kill: def $w21 killed $w21 killed $x21 def $x21
sxtw x14, w21
sxtw x10, w8
Lloh34:
adrp x8, _EM28XX_AMUX_UNUSED@GOTPAGE
Lloh35:
ldr x8, [x8, _EM28XX_AMUX_UNUSED@GOTPAGEOFF]
Lloh36:
ldr x8, [x8]
sub x12, x10, x14
mov x11, x14
cmp x12, #7
b.ls LBB0_42
; %bb.39:
and x13, x12, #0xfffffffffffffff8
add x11, x13, x14
dup.2d v0, x8
add x14, x9, x14, lsl #3
add x14, x14, #32
mov x15, x13
LBB0_40: ; =>This Inner Loop Header: Depth=1
stp q0, q0, [x14, #-32]
stp q0, q0, [x14], #64
subs x15, x15, #8
b.ne LBB0_40
; %bb.41:
cmp x12, x13
b.eq LBB0_44
LBB0_42:
add x9, x9, x11, lsl #3
sub x10, x10, x11
LBB0_43: ; =>This Inner Loop Header: Depth=1
str x8, [x9], #8
subs x10, x10, #1
b.ne LBB0_43
LBB0_44:
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 AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdr Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.loh AdrpLdrGot Lloh32, Lloh33
.loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36
.cfi_endproc
; -- End function
.comm _EM28XX_NOSENSOR,8,3 ; @EM28XX_NOSENSOR
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Board not discovered\n"
l_.str.1: ; @.str.1
.asciz "Identified as %s (card=%d)\n"
.comm _em28xx_boards,8,3 ; @em28xx_boards
.comm _TVEEPROM_AUDPROC_MSP,4,2 ; @TVEEPROM_AUDPROC_MSP
.comm _EM2820_R08_GPIO_CTRL,4,2 ; @EM2820_R08_GPIO_CTRL
.comm _EM28XX_ANALOG_MODE,4,2 ; @EM28XX_ANALOG_MODE
.comm _EM28XX_BOARD_NOT_VALIDATED,8,3 ; @EM28XX_BOARD_NOT_VALIDATED
l_.str.2: ; @.str.2
.asciz "\n\nThe support for this board weren't valid yet.\nPlease send a report of having this working\nnot to V4L mailing list (and/or to other addresses)\n\n"
.comm _tuner,8,3 ; @tuner
.comm _MAX_EM28XX_INPUT,4,2 ; @MAX_EM28XX_INPUT
.comm _EM28XX_AMUX_UNUSED,8,3 ; @EM28XX_AMUX_UNUSED
.no_dead_strip _em28xx_card_setup
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function singfunc
_singfunc: ## @singfunc
.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 $1608, %rsp ## imm = 0x648
.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 _KERNELDOC@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -1648(%rbp)
movq _DOCBOOK@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -1640(%rbp)
movzbl (%rsi), %ecx
testb %cl, %cl
je LBB0_1
## %bb.2:
movq %rsi, %r14
movl $2, %r15d
movl $1, %r13d
movq _FUNCTION@GOTPCREL(%rip), %r12
jmp LBB0_3
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_3 Depth=1
movb $0, (%r14)
movl $1, %eax
LBB0_7: ## in Loop: Header=BB0_3 Depth=1
movzbl 1(%r14), %ecx
incq %r14
movl %eax, %r13d
testb %cl, %cl
je LBB0_8
LBB0_3: ## =>This Inner Loop Header: Depth=1
movsbl %cl, %edi
callq _isspace
testq %rax, %rax
jne LBB0_4
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
xorl %eax, %eax
testl %r13d, %r13d
je LBB0_7
## %bb.6: ## in Loop: Header=BB0_3 Depth=1
movq (%r12), %rcx
movslq %r15d, %rdx
movq %rcx, -1648(%rbp,%rdx,8)
leal 2(%rdx), %r15d
movq %r14, -1640(%rbp,%rdx,8)
jmp LBB0_7
LBB0_1:
movl $2, %r15d
LBB0_8:
movslq %r15d, %rax
movq %rbx, -1648(%rbp,%rax,8)
movq $0, -1640(%rbp,%rax,8)
leaq -1648(%rbp), %rdi
callq _exec_kernel_doc
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_10
## %bb.9:
addq $1608, %rsp ## imm = 0x648
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_10:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _KERNELDOC,8,3 ## @KERNELDOC
.comm _DOCBOOK,8,3 ## @DOCBOOK
.comm _FUNCTION,8,3 ## @FUNCTION
.no_dead_strip _singfunc
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function singfunc
_singfunc: ; @singfunc
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-80]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
sub sp, sp, #1616
.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 w27, -72
.cfi_offset w28, -80
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 x8, _KERNELDOC@GOTPAGE
Lloh4:
ldr x8, [x8, _KERNELDOC@GOTPAGEOFF]
Lloh5:
ldr x8, [x8]
Lloh6:
adrp x9, _DOCBOOK@GOTPAGE
Lloh7:
ldr x9, [x9, _DOCBOOK@GOTPAGEOFF]
Lloh8:
ldr x9, [x9]
stp x8, x9, [sp, #8]
ldrb w8, [x1]
cbz w8, LBB0_7
; %bb.1:
mov x20, x1
mov w21, #2 ; =0x2
mov w24, #1 ; =0x1
Lloh9:
adrp x22, _FUNCTION@GOTPAGE
Lloh10:
ldr x22, [x22, _FUNCTION@GOTPAGEOFF]
add x23, sp, #8
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
strb wzr, [x20]
mov w24, #1 ; =0x1
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
ldrb w8, [x20, #1]!
cbz w8, LBB0_8
LBB0_4: ; =>This Inner Loop Header: Depth=1
sxtb w0, w8
bl _isspace
cbnz x0, LBB0_2
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
cbz w24, LBB0_3
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
mov w24, #0 ; =0x0
ldr x8, [x22]
add x9, x23, w21, sxtw #3
add w21, w21, #2
stp x8, x20, [x9]
b LBB0_3
LBB0_7:
mov w21, #2 ; =0x2
LBB0_8:
add x8, sp, #8
add x8, x8, w21, sxtw #3
stp x19, xzr, [x8]
add x0, sp, #8
bl _exec_kernel_doc
ldur x8, [x29, #-72]
Lloh11:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh12:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_10
; %bb.9:
add sp, sp, #1616
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 x28, x27, [sp], #80 ; 16-byte Folded Reload
ret
LBB0_10:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.cfi_endproc
; -- End function
.comm _KERNELDOC,8,3 ; @KERNELDOC
.comm _DOCBOOK,8,3 ; @DOCBOOK
.comm _FUNCTION,8,3 ; @FUNCTION
.no_dead_strip _singfunc
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _history_q_add ## -- Begin function history_q_add
.p2align 4, 0x90
_history_q_add: ## @history_q_add
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB0_7
## %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
callq _dl_strdup
movq _history_q@GOTPCREL(%rip), %rbx
movq (%rbx), %rcx
movq _history_r@GOTPCREL(%rip), %rdx
movq (%rdx), %rsi
leaq -1(%rsi), %rdi
movq %rdi, (%rdx)
movq %rax, (%rcx,%rsi,8)
movq (%rdx), %rsi
movq _MAX_HISTORY@GOTPCREL(%rip), %r14
cmpq (%r14), %rsi
jae LBB0_2
## %bb.3:
movq _history_l@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq %rsi, %rax
jae LBB0_4
jmp LBB0_6
LBB0_2:
movq $0, (%rdx)
movq _history_l@GOTPCREL(%rip), %rax
movq (%rax), %rax
LBB0_4:
movq (%rcx,%rax,8), %rdi
callq _dl_strfree
movq (%rbx), %rcx
movq _history_l@GOTPCREL(%rip), %rax
movq (%rax), %rdx
leaq 1(%rdx), %rsi
movq %rsi, (%rax)
movq $0, (%rcx,%rdx,8)
movq (%rax), %rcx
cmpq (%r14), %rcx
jbe LBB0_6
## %bb.5:
movq $0, (%rax)
LBB0_6:
popq %rbx
popq %r14
popq %rbp
LBB0_7:
retq
.cfi_endproc
## -- End function
.comm _history_q,8,3 ## @history_q
.comm _history_r,8,3 ## @history_r
.comm _MAX_HISTORY,8,3 ## @MAX_HISTORY
.comm _history_l,8,3 ## @history_l
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _history_q_add ; -- Begin function history_q_add
.p2align 2
_history_q_add: ; @history_q_add
.cfi_startproc
; %bb.0:
cbz x0, LBB0_7
; %bb.1:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
bl _dl_strdup
Lloh0:
adrp x20, _history_q@GOTPAGE
Lloh1:
ldr x20, [x20, _history_q@GOTPAGEOFF]
ldr x8, [x20]
Lloh2:
adrp x9, _history_r@GOTPAGE
Lloh3:
ldr x9, [x9, _history_r@GOTPAGEOFF]
ldr x10, [x9]
sub x11, x10, #1
str x11, [x9]
str x0, [x8, x10, lsl #3]
ldr x10, [x9]
Lloh4:
adrp x21, _MAX_HISTORY@GOTPAGE
Lloh5:
ldr x21, [x21, _MAX_HISTORY@GOTPAGEOFF]
ldr x11, [x21]
Lloh6:
adrp x19, _history_l@GOTPAGE
Lloh7:
ldr x19, [x19, _history_l@GOTPAGEOFF]
cmp x10, x11
b.hs LBB0_3
; %bb.2:
ldr x9, [x19]
cmp x9, x10
b.hs LBB0_4
b LBB0_6
LBB0_3:
str xzr, [x9]
ldr x9, [x19]
LBB0_4:
ldr x0, [x8, x9, lsl #3]
bl _dl_strfree
ldr x8, [x20]
ldr x9, [x19]
add x10, x9, #1
str x10, [x19]
str xzr, [x8, x9, lsl #3]
ldr x8, [x19]
ldr x9, [x21]
cmp x8, x9
b.ls LBB0_6
; %bb.5:
str xzr, [x19]
LBB0_6:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
LBB0_7:
ret
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _history_q,8,3 ; @history_q
.comm _history_r,8,3 ; @history_r
.comm _MAX_HISTORY,8,3 ; @MAX_HISTORY
.comm _history_l,8,3 ; @history_l
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _icy2utf8 ## -- Begin function icy2utf8
.p2align 4, 0x90
_icy2utf8: ## @icy2utf8
.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
testl %esi, %esi
je LBB0_1
LBB0_2:
callq _strlen
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
LBB0_1:
movq %rdi, %rbx
callq _is_utf8
movq %rbx, %rdi
testq %rax, %rax
je LBB0_2
## %bb.3:
addq $8, %rsp
popq %rbx
popq %rbp
jmp _compat_strdup ## TAILCALL
.cfi_endproc
## -- End function
.comm _tblofs,8,3 ## @tblofs
.comm _cp1252_utf8,8,3 ## @cp1252_utf8
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _icy2utf8 ; -- Begin function icy2utf8
.p2align 2
_icy2utf8: ; @icy2utf8
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
cbz w1, LBB0_2
LBB0_1:
bl _strlen
mov x0, #0 ; =0x0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_2:
mov x19, x0
bl _is_utf8
mov x8, x0
mov x0, x19
cbz x8, LBB0_1
; %bb.3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _compat_strdup
.cfi_endproc
; -- End function
.comm _tblofs,8,3 ; @tblofs
.comm _cp1252_utf8,8,3 ; @cp1252_utf8
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function createNativeWindow
_createNativeWindow: ## @createNativeWindow
.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
## kill: def $ecx killed $ecx def $rcx
movq %rcx, -104(%rbp) ## 8-byte Spill
movq %rdx, %r14
movq %rsi, %r12
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
cmpq $0, 56(%rsi)
movq %rdi, %rbx
movq __glfw@GOTPCREL(%rip), %rax
movl $1, %r15d
movl $1, %r13d
je LBB0_2
## %bb.1:
movl 4(%rax), %r15d
movl (%rax), %r13d
LBB0_2:
imull 4(%r12), %r15d
imull (%r12), %r13d
movl 24(%rax), %edi
movl 108(%rax), %esi
movq _AllocNone@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %r14, %rdx
callq _XCreateColormap
movl %eax, 28(%rbx)
movq %r14, %rdi
callq __glfwIsVisualTransparentX11
movl %eax, 32(%rbx)
movq _CWBorderPixel@GOTPCREL(%rip), %rax
movq _CWColormap@GOTPCREL(%rip), %rcx
movq %r12, -96(%rbp) ## 8-byte Spill
movq (%rcx), %r12
andq (%rax), %r12
movq _CWEventMask@GOTPCREL(%rip), %rax
orq (%rax), %r12
movq _StructureNotifyMask@GOTPCREL(%rip), %rcx
movq _KeyPressMask@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl (%rcx), %eax
movq _KeyReleaseMask@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
movq _PointerMotionMask@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
movq _ButtonPressMask@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
movq _ButtonReleaseMask@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
movq _ExposureMask@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
movq _FocusChangeMask@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
movq _VisibilityChangeMask@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
movl 28(%rbx), %ecx
movl %ecx, -64(%rbp)
movq _EnterWindowMask@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
movq $0, -72(%rbp)
movq _LeaveWindowMask@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
movq _PropertyChangeMask@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
movl %eax, -80(%rbp)
xorl %eax, %eax
callq __glfwGrabErrorHandlerX11
movq __glfw@GOTPCREL(%rip), %rax
movl 24(%rax), %edi
movl 108(%rax), %esi
movq _InputOutput@GOTPCREL(%rip), %rax
movl (%rax), %eax
leaq -80(%rbp), %r9
xorl %edx, %edx
xorl %ecx, %ecx
movl %r13d, -84(%rbp) ## 4-byte Spill
movl %r13d, %r8d
movq %r9, %r13
movl %r15d, -88(%rbp) ## 4-byte Spill
movl %r15d, %r9d
pushq %r13
pushq %r12
pushq %r14
pushq %rax
pushq -104(%rbp) ## 8-byte Folded Reload
pushq $0
callq _XCreateWindow
addq $48, %rsp
movl %eax, 16(%rbx)
xorl %eax, %eax
callq __glfwReleaseErrorHandlerX11
movl 16(%rbx), %esi
testl %esi, %esi
je LBB0_3
## %bb.5:
movq __glfw@GOTPCREL(%rip), %r15
movl 24(%r15), %edi
movl 104(%r15), %edx
movl %ebx, %ecx
callq _XSaveContext
movq -96(%rbp), %r12 ## 8-byte Reload
cmpl $0, 48(%r12)
jne LBB0_7
## %bb.6:
movq _GLFW_FALSE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq __glfwPlatformSetWindowDecorated
LBB0_7:
movq 72(%r15), %rdx
testq %rdx, %rdx
je LBB0_16
## %bb.8:
cmpl $0, 36(%rbx)
jne LBB0_16
## %bb.9:
cmpq $0, 40(%r12)
sete %dil
movq 96(%r15), %rsi
testq %rsi, %rsi
sete %cl
xorl %eax, %eax
orb %dil, %cl
jne LBB0_11
## %bb.10:
movq %rsi, -80(%rbp)
movl $-1, %eax
LBB0_11:
cmpq $0, 32(%r12)
je LBB0_14
## %bb.12:
movq 80(%r15), %rsi
movq 88(%r15), %rdi
testq %rdi, %rdi
setne %r8b
testq %rsi, %rsi
setne %r9b
andb %r8b, %r9b
cmpb $1, %r9b
jne LBB0_14
## %bb.13:
movslq %eax, %r10
incl %eax
movq %rdi, -80(%rbp,%r10,8)
addl $2, %r10d
movq %rsi, -80(%rbp,%rax,8)
movq _GLFW_TRUE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 24(%rbx)
jmp LBB0_15
LBB0_3:
movq _GLFW_PLATFORM_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
callq __glfwInputErrorX11
movq _GLFW_FALSE@GOTPCREL(%rip), %rax
jmp LBB0_35
LBB0_14:
movl $-1, %r10d
testb %cl, %cl
jne LBB0_16
LBB0_15:
movl 24(%r15), %edi
movl 16(%rbx), %esi
movq _XA_ATOM@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _PropModeReplace@GOTPCREL(%rip), %rax
movl (%rax), %r9d
movl $32, %r8d
pushq %r10
pushq %r13
callq _XChangeProperty
addq $16, %rsp
LBB0_16:
movdqu 56(%r15), %xmm0
pshufd $78, %xmm0, %xmm0 ## xmm0 = xmm0[2,3,0,1]
movdqa %xmm0, -80(%rbp)
movl 24(%r15), %edi
movl 16(%rbx), %esi
leaq -80(%rbp), %r13
movq %r13, %rdx
movl $2, %ecx
callq _XSetWMProtocols
xorl %eax, %eax
callq _getpid
movq %rax, -80(%rbp)
movl 24(%r15), %edi
movl 16(%rbx), %esi
movq 48(%r15), %rdx
movq _XA_CARDINAL@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _PropModeReplace@GOTPCREL(%rip), %r14
movl (%r14), %r9d
movl $32, %r8d
pushq $1
pushq %r13
callq _XChangeProperty
addq $16, %rsp
movq 32(%r15), %rdx
movq 40(%r15), %rax
testq %rdx, %rdx
setne %cl
testq %rax, %rax
setne %sil
andb %cl, %sil
cmpb $1, %sil
jne LBB0_18
## %bb.17:
movq %rax, -80(%rbp)
movl 24(%r15), %edi
movl 16(%rbx), %esi
movq _XA_ATOM@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl (%r14), %r9d
movl $32, %r8d
pushq $1
pushq %r13
callq _XChangeProperty
addq $16, %rsp
LBB0_18:
xorl %eax, %eax
callq _XAllocWMHints
testq %rax, %rax
je LBB0_19
## %bb.20:
movq _StateHint@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 20(%rax)
movq _NormalState@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 16(%rax)
movl 24(%r15), %edi
movl 16(%rbx), %esi
movq %rax, %rdx
movq %rax, %r14
callq _XSetWMHints
movq %r14, %rdi
callq _XFree
movq %rbx, %rdi
movl -84(%rbp), %esi ## 4-byte Reload
movl -88(%rbp), %edx ## 4-byte Reload
callq _updateNormalHints
xorl %eax, %eax
callq _XAllocClassHint
movq %rax, %r14
movq 16(%r12), %rax
cmpb $0, (%rax)
je LBB0_23
## %bb.21:
movq 24(%r12), %rcx
cmpb $0, (%rcx)
je LBB0_23
## %bb.22:
movq %rax, (%r14)
movq %rcx, 8(%r14)
jmp LBB0_32
LBB0_23:
leaq L_.str.2(%rip), %rdi
callq _getenv
testq %rax, %rax
je LBB0_26
## %bb.24:
cmpb $0, (%rax)
je LBB0_26
## %bb.25:
movq %rax, (%r14)
movq 8(%r12), %rax
cmpb $0, (%rax)
jne LBB0_31
jmp LBB0_30
LBB0_19:
movq _GLFW_OUT_OF_MEMORY@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.1(%rip), %rsi
callq __glfwInputError
movq _GLFW_FALSE@GOTPCREL(%rip), %rax
jmp LBB0_35
LBB0_26:
movq 8(%r12), %rax
cmpb $0, (%rax)
je LBB0_28
## %bb.27:
movq %rax, (%r14)
cmpb $0, (%rax)
jne LBB0_31
LBB0_30:
leaq L_.str.4(%rip), %rax
LBB0_31:
movq %rax, 8(%r14)
LBB0_32:
movl 24(%r15), %edi
movl 16(%rbx), %esi
movq %r14, %rdx
callq _XSetClassHint
movq %r14, %rdi
callq _XFree
movq __GLFW_XDND_VERSION@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -80(%rbp)
movl 24(%r15), %edi
movl 16(%rbx), %esi
movq 16(%r15), %rdx
movq _XA_ATOM@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _PropModeReplace@GOTPCREL(%rip), %rax
movl (%rax), %r9d
movl $32, %r8d
pushq $1
pushq %r13
callq _XChangeProperty
addq $16, %rsp
movq 8(%r12), %rsi
movq %rbx, %rdi
callq __glfwPlatformSetWindowTitle
movq 8(%r15), %rdi
testq %rdi, %rdi
je LBB0_34
## %bb.33:
movq _XNInputStyle@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _XIMPreeditNothing@GOTPCREL(%rip), %rax
movq _XIMStatusNothing@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
orl (%rax), %edx
movq _XNClientWindow@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl 16(%rbx), %r8d
movq _XNFocusWindow@GOTPCREL(%rip), %rax
movl (%rax), %r9d
pushq $0
pushq %r8
callq _XCreateIC
addq $16, %rsp
movl %eax, 20(%rbx)
LBB0_34:
leaq 12(%rbx), %rsi
leaq 8(%rbx), %rdx
movq %rbx, %rdi
callq __glfwPlatformGetWindowPos
leaq 4(%rbx), %rsi
movq %rbx, %rdi
movq %rbx, %rdx
callq __glfwPlatformGetWindowSize
movq _GLFW_TRUE@GOTPCREL(%rip), %rax
LBB0_35:
movl (%rax), %eax
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_37
## %bb.36:
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_28:
leaq L_.str.3(%rip), %rcx
movq %rcx, (%r14)
cmpb $0, (%rax)
jne LBB0_31
jmp LBB0_30
LBB0_37:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm __glfw,112,3 ## @_glfw
.comm _AllocNone,4,2 ## @AllocNone
.comm _CWBorderPixel,8,3 ## @CWBorderPixel
.comm _CWColormap,8,3 ## @CWColormap
.comm _CWEventMask,8,3 ## @CWEventMask
.comm _StructureNotifyMask,4,2 ## @StructureNotifyMask
.comm _KeyPressMask,4,2 ## @KeyPressMask
.comm _KeyReleaseMask,4,2 ## @KeyReleaseMask
.comm _PointerMotionMask,4,2 ## @PointerMotionMask
.comm _ButtonPressMask,4,2 ## @ButtonPressMask
.comm _ButtonReleaseMask,4,2 ## @ButtonReleaseMask
.comm _ExposureMask,4,2 ## @ExposureMask
.comm _FocusChangeMask,4,2 ## @FocusChangeMask
.comm _VisibilityChangeMask,4,2 ## @VisibilityChangeMask
.comm _EnterWindowMask,4,2 ## @EnterWindowMask
.comm _LeaveWindowMask,4,2 ## @LeaveWindowMask
.comm _PropertyChangeMask,4,2 ## @PropertyChangeMask
.comm _InputOutput,4,2 ## @InputOutput
.comm _GLFW_PLATFORM_ERROR,4,2 ## @GLFW_PLATFORM_ERROR
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "X11: Failed to create window"
.comm _GLFW_FALSE,4,2 ## @GLFW_FALSE
.comm _GLFW_TRUE,4,2 ## @GLFW_TRUE
.comm _XA_ATOM,4,2 ## @XA_ATOM
.comm _PropModeReplace,4,2 ## @PropModeReplace
.comm _XA_CARDINAL,4,2 ## @XA_CARDINAL
.comm _GLFW_OUT_OF_MEMORY,4,2 ## @GLFW_OUT_OF_MEMORY
L_.str.1: ## @.str.1
.asciz "X11: Failed to allocate WM hints"
.comm _StateHint,4,2 ## @StateHint
.comm _NormalState,4,2 ## @NormalState
L_.str.2: ## @.str.2
.asciz "RESOURCE_NAME"
L_.str.3: ## @.str.3
.asciz "glfw-application"
L_.str.4: ## @.str.4
.asciz "GLFW-Application"
.comm __GLFW_XDND_VERSION,8,3 ## @_GLFW_XDND_VERSION
.comm _XNInputStyle,4,2 ## @XNInputStyle
.comm _XIMPreeditNothing,4,2 ## @XIMPreeditNothing
.comm _XIMStatusNothing,4,2 ## @XIMStatusNothing
.comm _XNClientWindow,4,2 ## @XNClientWindow
.comm _XNFocusWindow,4,2 ## @XNFocusWindow
.no_dead_strip _createNativeWindow
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function createNativeWindow
_createNativeWindow: ; @createNativeWindow
.cfi_startproc
; %bb.0:
sub sp, sp, #144
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
mov x23, x3
mov x24, x2
mov x20, x1
mov x19, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #56]
ldp w8, w9, [x1]
ldr x10, [x1, #56]
Lloh3:
adrp x25, __glfw@GOTPAGE
Lloh4:
ldr x25, [x25, __glfw@GOTPAGEOFF]
ldp w11, w12, [x25]
cmp x10, #0
csinc w10, w12, wzr, ne
mul w21, w10, w9
csinc w9, w11, wzr, ne
mul w22, w9, w8
ldr w0, [x25, #24]
ldr w1, [x25, #108]
Lloh5:
adrp x8, _AllocNone@GOTPAGE
Lloh6:
ldr x8, [x8, _AllocNone@GOTPAGEOFF]
Lloh7:
ldr w3, [x8]
bl _XCreateColormap
str w0, [x19, #28]
mov x0, x24
bl __glfwIsVisualTransparentX11
str w0, [x19, #32]
Lloh8:
adrp x8, _CWBorderPixel@GOTPAGE
Lloh9:
ldr x8, [x8, _CWBorderPixel@GOTPAGEOFF]
Lloh10:
ldr x8, [x8]
Lloh11:
adrp x9, _CWColormap@GOTPAGE
Lloh12:
ldr x9, [x9, _CWColormap@GOTPAGEOFF]
Lloh13:
ldr x9, [x9]
Lloh14:
adrp x10, _CWEventMask@GOTPAGE
Lloh15:
ldr x10, [x10, _CWEventMask@GOTPAGEOFF]
and x8, x9, x8
Lloh16:
ldr x9, [x10]
orr x26, x8, x9
ldr w8, [x19, #28]
str w8, [sp, #48]
str xzr, [sp, #40]
Lloh17:
adrp x8, _StructureNotifyMask@GOTPAGE
Lloh18:
ldr x8, [x8, _StructureNotifyMask@GOTPAGEOFF]
Lloh19:
ldr w8, [x8]
Lloh20:
adrp x9, _KeyPressMask@GOTPAGE
Lloh21:
ldr x9, [x9, _KeyPressMask@GOTPAGEOFF]
Lloh22:
ldr w9, [x9]
orr w8, w9, w8
Lloh23:
adrp x9, _KeyReleaseMask@GOTPAGE
Lloh24:
ldr x9, [x9, _KeyReleaseMask@GOTPAGEOFF]
Lloh25:
ldr w9, [x9]
Lloh26:
adrp x10, _PointerMotionMask@GOTPAGE
Lloh27:
ldr x10, [x10, _PointerMotionMask@GOTPAGEOFF]
Lloh28:
ldr w10, [x10]
orr w9, w9, w10
orr w8, w8, w9
Lloh29:
adrp x9, _ButtonPressMask@GOTPAGE
Lloh30:
ldr x9, [x9, _ButtonPressMask@GOTPAGEOFF]
Lloh31:
ldr w9, [x9]
Lloh32:
adrp x10, _ButtonReleaseMask@GOTPAGE
Lloh33:
ldr x10, [x10, _ButtonReleaseMask@GOTPAGEOFF]
Lloh34:
ldr w10, [x10]
orr w9, w9, w10
Lloh35:
adrp x10, _ExposureMask@GOTPAGE
Lloh36:
ldr x10, [x10, _ExposureMask@GOTPAGEOFF]
Lloh37:
ldr w10, [x10]
orr w9, w9, w10
orr w8, w8, w9
Lloh38:
adrp x9, _FocusChangeMask@GOTPAGE
Lloh39:
ldr x9, [x9, _FocusChangeMask@GOTPAGEOFF]
Lloh40:
ldr w9, [x9]
Lloh41:
adrp x10, _VisibilityChangeMask@GOTPAGE
Lloh42:
ldr x10, [x10, _VisibilityChangeMask@GOTPAGEOFF]
Lloh43:
ldr w10, [x10]
orr w9, w9, w10
Lloh44:
adrp x10, _EnterWindowMask@GOTPAGE
Lloh45:
ldr x10, [x10, _EnterWindowMask@GOTPAGEOFF]
Lloh46:
ldr w10, [x10]
orr w9, w9, w10
Lloh47:
adrp x10, _LeaveWindowMask@GOTPAGE
Lloh48:
ldr x10, [x10, _LeaveWindowMask@GOTPAGEOFF]
Lloh49:
ldr w10, [x10]
orr w9, w9, w10
orr w8, w8, w9
Lloh50:
adrp x9, _PropertyChangeMask@GOTPAGE
Lloh51:
ldr x9, [x9, _PropertyChangeMask@GOTPAGEOFF]
Lloh52:
ldr w9, [x9]
orr w8, w8, w9
str w8, [sp, #32]
bl __glfwGrabErrorHandlerX11
ldr w0, [x25, #24]
ldr w1, [x25, #108]
Lloh53:
adrp x8, _InputOutput@GOTPAGE
Lloh54:
ldr x8, [x8, _InputOutput@GOTPAGEOFF]
Lloh55:
ldr w8, [x8]
add x9, sp, #32
stp x26, x9, [sp, #16]
str x24, [sp, #8]
str w8, [sp]
mov w2, #0 ; =0x0
mov w3, #0 ; =0x0
mov x4, x22
mov x5, x21
mov w6, #0 ; =0x0
mov x7, x23
bl _XCreateWindow
str w0, [x19, #16]
bl __glfwReleaseErrorHandlerX11
ldr w1, [x19, #16]
cbz w1, LBB0_7
; %bb.1:
ldr w0, [x25, #24]
ldr w2, [x25, #104]
mov x3, x19
bl _XSaveContext
ldr w8, [x20, #48]
cbnz w8, LBB0_3
; %bb.2:
Lloh56:
adrp x8, _GLFW_FALSE@GOTPAGE
Lloh57:
ldr x8, [x8, _GLFW_FALSE@GOTPAGEOFF]
Lloh58:
ldr w1, [x8]
mov x0, x19
bl __glfwPlatformSetWindowDecorated
LBB0_3:
ldr x2, [x25, #72]
Lloh59:
adrp x24, _PropModeReplace@GOTPAGE
Lloh60:
ldr x24, [x24, _PropModeReplace@GOTPAGEOFF]
cbz x2, LBB0_15
; %bb.4:
ldr w8, [x19, #36]
cbnz w8, LBB0_15
; %bb.5:
ldr x8, [x20, #40]
cmp x8, #0
ldr x9, [x25, #96]
ccmp x9, #0, #4, ne
cset w8, eq
b.ne LBB0_8
; %bb.6:
mov w9, #0 ; =0x0
ldr x10, [x20, #32]
cbnz x10, LBB0_9
b LBB0_12
LBB0_7:
Lloh61:
adrp x8, _GLFW_PLATFORM_ERROR@GOTPAGE
Lloh62:
ldr x8, [x8, _GLFW_PLATFORM_ERROR@GOTPAGEOFF]
Lloh63:
ldr w0, [x8]
Lloh64:
adrp x1, l_.str@PAGE
Lloh65:
add x1, x1, l_.str@PAGEOFF
bl __glfwInputErrorX11
b LBB0_31
LBB0_8:
str x9, [sp, #32]
mov w9, #-1 ; =0xffffffff
ldr x10, [x20, #32]
cbz x10, LBB0_12
LBB0_9:
ldr x10, [x25, #88]
cbz x10, LBB0_12
; %bb.10:
ldr x11, [x25, #80]
cbz x11, LBB0_12
; %bb.11:
add w8, w9, #1
add x12, sp, #32
str x10, [x12, w9, sxtw #3]
add w7, w9, #2
str x11, [x12, w8, uxtw #3]
Lloh66:
adrp x8, _GLFW_TRUE@GOTPAGE
Lloh67:
ldr x8, [x8, _GLFW_TRUE@GOTPAGEOFF]
Lloh68:
ldr w8, [x8]
str w8, [x19, #24]
b LBB0_14
LBB0_12:
tbnz w8, #0, LBB0_15
; %bb.13:
mov w7, #-1 ; =0xffffffff
LBB0_14:
ldr w0, [x25, #24]
ldr w1, [x19, #16]
Lloh69:
adrp x8, _XA_ATOM@GOTPAGE
Lloh70:
ldr x8, [x8, _XA_ATOM@GOTPAGEOFF]
Lloh71:
ldr w3, [x8]
ldr w5, [x24]
add x6, sp, #32
mov w4, #32 ; =0x20
bl _XChangeProperty
LBB0_15:
ldur q0, [x25, #56]
ext.16b v0, v0, v0, #8
str q0, [sp, #32]
ldr w0, [x25, #24]
ldr w1, [x19, #16]
add x2, sp, #32
mov w3, #2 ; =0x2
bl _XSetWMProtocols
bl _getpid
str x0, [sp, #32]
ldr w0, [x25, #24]
ldr w1, [x19, #16]
ldr x2, [x25, #48]
Lloh72:
adrp x8, _XA_CARDINAL@GOTPAGE
Lloh73:
ldr x8, [x8, _XA_CARDINAL@GOTPAGEOFF]
Lloh74:
ldr w3, [x8]
ldr w5, [x24]
add x6, sp, #32
mov w4, #32 ; =0x20
mov w7, #1 ; =0x1
bl _XChangeProperty
ldr x2, [x25, #32]
cbz x2, LBB0_18
; %bb.16:
ldr x8, [x25, #40]
cbz x8, LBB0_18
; %bb.17:
str x8, [sp, #32]
ldr w0, [x25, #24]
ldr w1, [x19, #16]
Lloh75:
adrp x8, _XA_ATOM@GOTPAGE
Lloh76:
ldr x8, [x8, _XA_ATOM@GOTPAGEOFF]
Lloh77:
ldr w3, [x8]
ldr w5, [x24]
add x6, sp, #32
mov w4, #32 ; =0x20
mov w7, #1 ; =0x1
bl _XChangeProperty
LBB0_18:
bl _XAllocWMHints
cbz x0, LBB0_30
; %bb.19:
Lloh78:
adrp x8, _StateHint@GOTPAGE
Lloh79:
ldr x8, [x8, _StateHint@GOTPAGEOFF]
Lloh80:
adrp x9, _NormalState@GOTPAGE
Lloh81:
ldr x9, [x9, _NormalState@GOTPAGEOFF]
Lloh82:
ldr w8, [x8]
Lloh83:
ldr w9, [x9]
stp w9, w8, [x0, #16]
ldr w8, [x25, #24]
ldr w1, [x19, #16]
mov x23, x0
mov x0, x8
mov x2, x23
bl _XSetWMHints
mov x0, x23
bl _XFree
mov x0, x19
mov x1, x22
mov x2, x21
bl _updateNormalHints
bl _XAllocClassHint
mov x21, x0
ldr x8, [x20, #16]
ldrb w9, [x8]
cbz w9, LBB0_22
; %bb.20:
ldr x9, [x20, #24]
ldrb w10, [x9]
cbz w10, LBB0_22
; %bb.21:
stp x8, x9, [x21]
b LBB0_27
LBB0_22:
Lloh84:
adrp x0, l_.str.2@PAGE
Lloh85:
add x0, x0, l_.str.2@PAGEOFF
bl _getenv
cbz x0, LBB0_34
; %bb.23:
ldrb w8, [x0]
cbz w8, LBB0_34
; %bb.24:
str x0, [x21]
ldr x8, [x20, #8]
ldrb w9, [x8]
cbnz w9, LBB0_26
LBB0_25:
Lloh86:
adrp x8, l_.str.4@PAGE
Lloh87:
add x8, x8, l_.str.4@PAGEOFF
LBB0_26:
str x8, [x21, #8]
LBB0_27:
ldr w0, [x25, #24]
ldr w1, [x19, #16]
mov x2, x21
bl _XSetClassHint
mov x0, x21
bl _XFree
Lloh88:
adrp x8, __GLFW_XDND_VERSION@GOTPAGE
Lloh89:
ldr x8, [x8, __GLFW_XDND_VERSION@GOTPAGEOFF]
Lloh90:
ldr x8, [x8]
str x8, [sp, #32]
ldr w0, [x25, #24]
ldr w1, [x19, #16]
ldr x2, [x25, #16]
Lloh91:
adrp x8, _XA_ATOM@GOTPAGE
Lloh92:
ldr x8, [x8, _XA_ATOM@GOTPAGEOFF]
Lloh93:
ldr w3, [x8]
ldr w5, [x24]
add x6, sp, #32
mov w4, #32 ; =0x20
mov w7, #1 ; =0x1
bl _XChangeProperty
ldr x1, [x20, #8]
mov x0, x19
bl __glfwPlatformSetWindowTitle
ldr x0, [x25, #8]
cbz x0, LBB0_29
; %bb.28:
Lloh94:
adrp x8, _XNInputStyle@GOTPAGE
Lloh95:
ldr x8, [x8, _XNInputStyle@GOTPAGEOFF]
Lloh96:
adrp x9, _XIMPreeditNothing@GOTPAGE
Lloh97:
ldr x9, [x9, _XIMPreeditNothing@GOTPAGEOFF]
Lloh98:
ldr w1, [x8]
Lloh99:
ldr w8, [x9]
Lloh100:
adrp x9, _XIMStatusNothing@GOTPAGE
Lloh101:
ldr x9, [x9, _XIMStatusNothing@GOTPAGEOFF]
Lloh102:
adrp x10, _XNClientWindow@GOTPAGE
Lloh103:
ldr x10, [x10, _XNClientWindow@GOTPAGEOFF]
Lloh104:
ldr w9, [x9]
Lloh105:
ldr w3, [x10]
ldr w4, [x19, #16]
Lloh106:
adrp x10, _XNFocusWindow@GOTPAGE
Lloh107:
ldr x10, [x10, _XNFocusWindow@GOTPAGEOFF]
Lloh108:
ldr w5, [x10]
orr w2, w9, w8
mov x6, x4
mov x7, #0 ; =0x0
bl _XCreateIC
str w0, [x19, #20]
LBB0_29:
add x1, x19, #12
add x2, x19, #8
mov x0, x19
bl __glfwPlatformGetWindowPos
add x1, x19, #4
mov x0, x19
mov x2, x19
bl __glfwPlatformGetWindowSize
Lloh109:
adrp x8, _GLFW_TRUE@GOTPAGE
Lloh110:
ldr x8, [x8, _GLFW_TRUE@GOTPAGEOFF]
b LBB0_32
LBB0_30:
Lloh111:
adrp x8, _GLFW_OUT_OF_MEMORY@GOTPAGE
Lloh112:
ldr x8, [x8, _GLFW_OUT_OF_MEMORY@GOTPAGEOFF]
Lloh113:
ldr w0, [x8]
Lloh114:
adrp x1, l_.str.1@PAGE
Lloh115:
add x1, x1, l_.str.1@PAGEOFF
bl __glfwInputError
LBB0_31:
Lloh116:
adrp x8, _GLFW_FALSE@GOTPAGE
Lloh117:
ldr x8, [x8, _GLFW_FALSE@GOTPAGEOFF]
LBB0_32:
ldr w0, [x8]
ldr x8, [sp, #56]
Lloh118:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh119:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh120:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_37
; %bb.33:
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
add sp, sp, #144
ret
LBB0_34:
ldr x8, [x20, #8]
ldrb w9, [x8]
cbz w9, LBB0_36
; %bb.35:
str x8, [x21]
ldrb w9, [x8]
cbnz w9, LBB0_26
b LBB0_25
LBB0_36:
Lloh121:
adrp x9, l_.str.3@PAGE
Lloh122:
add x9, x9, l_.str.3@PAGEOFF
str x9, [x21]
ldrb w9, [x8]
cbnz w9, LBB0_26
b LBB0_25
LBB0_37:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh53, Lloh54, Lloh55
.loh AdrpLdrGotLdr Lloh50, Lloh51, Lloh52
.loh AdrpLdrGotLdr Lloh47, Lloh48, Lloh49
.loh AdrpLdrGotLdr Lloh44, Lloh45, Lloh46
.loh AdrpLdrGotLdr Lloh41, Lloh42, Lloh43
.loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40
.loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37
.loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh56, Lloh57, Lloh58
.loh AdrpLdrGot Lloh59, Lloh60
.loh AdrpAdd Lloh64, Lloh65
.loh AdrpLdrGotLdr Lloh61, Lloh62, Lloh63
.loh AdrpLdrGotLdr Lloh66, Lloh67, Lloh68
.loh AdrpLdrGotLdr Lloh69, Lloh70, Lloh71
.loh AdrpLdrGotLdr Lloh72, Lloh73, Lloh74
.loh AdrpLdrGotLdr Lloh75, Lloh76, Lloh77
.loh AdrpLdrGotLdr Lloh80, Lloh81, Lloh83
.loh AdrpLdrGotLdr Lloh78, Lloh79, Lloh82
.loh AdrpAdd Lloh84, Lloh85
.loh AdrpAdd Lloh86, Lloh87
.loh AdrpLdrGotLdr Lloh91, Lloh92, Lloh93
.loh AdrpLdrGotLdr Lloh88, Lloh89, Lloh90
.loh AdrpLdrGotLdr Lloh106, Lloh107, Lloh108
.loh AdrpLdrGotLdr Lloh102, Lloh103, Lloh105
.loh AdrpLdrGotLdr Lloh100, Lloh101, Lloh104
.loh AdrpLdrGotLdr Lloh96, Lloh97, Lloh99
.loh AdrpLdrGotLdr Lloh94, Lloh95, Lloh98
.loh AdrpLdrGot Lloh109, Lloh110
.loh AdrpAdd Lloh114, Lloh115
.loh AdrpLdrGotLdr Lloh111, Lloh112, Lloh113
.loh AdrpLdrGot Lloh116, Lloh117
.loh AdrpLdrGotLdr Lloh118, Lloh119, Lloh120
.loh AdrpAdd Lloh121, Lloh122
.cfi_endproc
; -- End function
.comm __glfw,112,3 ; @_glfw
.comm _AllocNone,4,2 ; @AllocNone
.comm _CWBorderPixel,8,3 ; @CWBorderPixel
.comm _CWColormap,8,3 ; @CWColormap
.comm _CWEventMask,8,3 ; @CWEventMask
.comm _StructureNotifyMask,4,2 ; @StructureNotifyMask
.comm _KeyPressMask,4,2 ; @KeyPressMask
.comm _KeyReleaseMask,4,2 ; @KeyReleaseMask
.comm _PointerMotionMask,4,2 ; @PointerMotionMask
.comm _ButtonPressMask,4,2 ; @ButtonPressMask
.comm _ButtonReleaseMask,4,2 ; @ButtonReleaseMask
.comm _ExposureMask,4,2 ; @ExposureMask
.comm _FocusChangeMask,4,2 ; @FocusChangeMask
.comm _VisibilityChangeMask,4,2 ; @VisibilityChangeMask
.comm _EnterWindowMask,4,2 ; @EnterWindowMask
.comm _LeaveWindowMask,4,2 ; @LeaveWindowMask
.comm _PropertyChangeMask,4,2 ; @PropertyChangeMask
.comm _InputOutput,4,2 ; @InputOutput
.comm _GLFW_PLATFORM_ERROR,4,2 ; @GLFW_PLATFORM_ERROR
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "X11: Failed to create window"
.comm _GLFW_FALSE,4,2 ; @GLFW_FALSE
.comm _GLFW_TRUE,4,2 ; @GLFW_TRUE
.comm _XA_ATOM,4,2 ; @XA_ATOM
.comm _PropModeReplace,4,2 ; @PropModeReplace
.comm _XA_CARDINAL,4,2 ; @XA_CARDINAL
.comm _GLFW_OUT_OF_MEMORY,4,2 ; @GLFW_OUT_OF_MEMORY
l_.str.1: ; @.str.1
.asciz "X11: Failed to allocate WM hints"
.comm _StateHint,4,2 ; @StateHint
.comm _NormalState,4,2 ; @NormalState
l_.str.2: ; @.str.2
.asciz "RESOURCE_NAME"
l_.str.3: ; @.str.3
.asciz "glfw-application"
l_.str.4: ; @.str.4
.asciz "GLFW-Application"
.comm __GLFW_XDND_VERSION,8,3 ; @_GLFW_XDND_VERSION
.comm _XNInputStyle,4,2 ; @XNInputStyle
.comm _XIMPreeditNothing,4,2 ; @XIMPreeditNothing
.comm _XIMStatusNothing,4,2 ; @XIMStatusNothing
.comm _XNClientWindow,4,2 ; @XNClientWindow
.comm _XNFocusWindow,4,2 ; @XNFocusWindow
.no_dead_strip _createNativeWindow
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function rbtree_insert
_rbtree_insert: ## @rbtree_insert
.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 $584, %rsp ## imm = 0x248
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r14d
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
addl %esi, %r14d
testq %rdi, %rdi
je LBB0_18
## %bb.1:
movq %rdi, %r8
movl %r14d, %edi
orl $1, %edi
xorl %ebx, %ebx
movq %r8, %r12
jmp LBB0_3
.p2align 4, 0x90
LBB0_2: ## in Loop: Header=BB0_3 Depth=1
movq (%r12,%rax), %r12
incq %rbx
testq %r12, %r12
je LBB0_5
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq %r12, -608(%rbp,%rbx,8)
movl (%r12), %esi
movl $16, %eax
cmpl %r14d, %esi
jl LBB0_2
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movl $8, %eax
cmpl %edi, %esi
jg LBB0_2
jmp LBB0_25
LBB0_5:
movq %r8, -624(%rbp) ## 8-byte Spill
movl %edx, %esi
movq %rcx, %rdx
callq _new_node
jmp LBB0_8
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_8 Depth=1
movq 8(%r13), %rax
movq %rax, 16(%r12)
movq %r12, 8(%r13)
movq -616(%rbp), %rdi ## 8-byte Reload
callq _BLACKEN
movq %r13, %r12
LBB0_7: ## in Loop: Header=BB0_8 Depth=1
movq %r12, %rax
testl %ebx, %ebx
jle LBB0_25
LBB0_8: ## =>This Inner Loop Header: Depth=1
movq %rax, -616(%rbp) ## 8-byte Spill
leal -1(%rbx), %r12d
movq -608(%rbp,%r12,8), %r13
movl (%r13), %r15d
movq %r13, %rdi
callq _IS_BLACK
cmpl %r15d, %r14d
jle LBB0_13
## %bb.9: ## in Loop: Header=BB0_8 Depth=1
testq %rax, %rax
jne LBB0_21
## %bb.10: ## in Loop: Header=BB0_8 Depth=1
testl %r12d, %r12d
je LBB0_20
## %bb.11: ## in Loop: Header=BB0_8 Depth=1
addl $-2, %ebx
movq -608(%rbp,%rbx,8), %r12
cmpl (%r12), %r14d
jge LBB0_6
## %bb.12: ## in Loop: Header=BB0_8 Depth=1
movq -616(%rbp), %r15 ## 8-byte Reload
movq 16(%r15), %rax
movq %rax, 8(%r13)
movq %r13, %rdi
callq _BLACKEN
movq %r13, 16(%r15)
movq 8(%r15), %rax
movq %rax, 16(%r12)
movq %r12, 8(%r15)
movq %r15, %r12
jmp LBB0_7
.p2align 4, 0x90
LBB0_13: ## in Loop: Header=BB0_8 Depth=1
testq %rax, %rax
jne LBB0_23
## %bb.14: ## in Loop: Header=BB0_8 Depth=1
testl %r12d, %r12d
je LBB0_22
## %bb.15: ## in Loop: Header=BB0_8 Depth=1
addl $-2, %ebx
movq -608(%rbp,%rbx,8), %r12
cmpl (%r12), %r14d
jge LBB0_17
## %bb.16: ## in Loop: Header=BB0_8 Depth=1
movq 16(%r13), %rax
movq %rax, 8(%r12)
movq %r12, 16(%r13)
movq -616(%rbp), %rdi ## 8-byte Reload
callq _BLACKEN
jmp LBB0_7
.p2align 4, 0x90
LBB0_17: ## in Loop: Header=BB0_8 Depth=1
movq -616(%rbp), %r15 ## 8-byte Reload
movq 8(%r15), %rax
movq %rax, 16(%r13)
movq %r13, %rdi
callq _BLACKEN
movq %r13, 8(%r15)
movq 16(%r15), %rax
movq %rax, 8(%r12)
movq %r12, 16(%r15)
movq %r15, %r12
jmp LBB0_7
LBB0_18:
cmpq -48(%rbp), %rax
jne LBB0_27
## %bb.19:
movl %r14d, %edi
movl %edx, %esi
movq %rcx, %rdx
addq $584, %rsp ## imm = 0x248
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _new_node ## TAILCALL
LBB0_20:
movq %r13, %rdi
callq _BLACKEN
LBB0_21:
movq -616(%rbp), %rax ## 8-byte Reload
movq %rax, 16(%r13)
jmp LBB0_24
LBB0_22:
movq %r13, %rdi
callq _BLACKEN
LBB0_23:
movq -616(%rbp), %rax ## 8-byte Reload
movq %rax, 8(%r13)
LBB0_24:
movq -624(%rbp), %r12 ## 8-byte Reload
LBB0_25:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_27
## %bb.26:
movq %r12, %rax
addq $584, %rsp ## imm = 0x248
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_27:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.no_dead_strip _rbtree_insert
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function rbtree_insert
_rbtree_insert: ; @rbtree_insert
.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, #576
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-88]
lsl w20, w1, #1
cbz x0, LBB0_20
; %bb.1:
mov x19, x0
mov x24, #0 ; =0x0
orr w0, w20, #0x1
add x8, sp, #8
mov x22, x19
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
mov w9, #16 ; =0x10
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
ldr x22, [x22, x9]
add x24, x24, #1
cbz x22, LBB0_7
LBB0_4: ; =>This Inner Loop Header: Depth=1
str x22, [x8, x24, lsl #3]
ldr w9, [x22]
cmp w9, w20
b.lt LBB0_2
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
cmp w9, w0
b.le LBB0_27
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
mov w9, #8 ; =0x8
b LBB0_3
LBB0_7:
mov x1, x2
mov x2, x3
bl _new_node
mov x21, x0
add x25, sp, #8
b LBB0_10
LBB0_8: ; in Loop: Header=BB0_10 Depth=1
ldr x8, [x23, #8]
str x8, [x22, #16]
str x22, [x23, #8]
mov x0, x21
bl _BLACKEN
mov x22, x23
LBB0_9: ; in Loop: Header=BB0_10 Depth=1
mov x21, x22
cmp w24, #0
b.le LBB0_27
LBB0_10: ; =>This Inner Loop Header: Depth=1
sub w22, w24, #1
ldr x23, [x25, w22, uxtw #3]
ldr w26, [x23]
mov x0, x23
bl _IS_BLACK
cmp w20, w26
b.le LBB0_15
; %bb.11: ; in Loop: Header=BB0_10 Depth=1
cbnz x0, LBB0_23
; %bb.12: ; in Loop: Header=BB0_10 Depth=1
cbz w22, LBB0_22
; %bb.13: ; in Loop: Header=BB0_10 Depth=1
sub w24, w24, #2
ldr x22, [x25, w24, uxtw #3]
ldr w8, [x22]
cmp w20, w8
b.ge LBB0_8
; %bb.14: ; in Loop: Header=BB0_10 Depth=1
ldr x8, [x21, #16]
str x8, [x23, #8]
mov x0, x23
bl _BLACKEN
ldr x8, [x21, #8]
str x23, [x21, #16]
str x8, [x22, #16]
str x22, [x21, #8]
mov x22, x21
b LBB0_9
LBB0_15: ; in Loop: Header=BB0_10 Depth=1
cbnz x0, LBB0_25
; %bb.16: ; in Loop: Header=BB0_10 Depth=1
cbz w22, LBB0_24
; %bb.17: ; in Loop: Header=BB0_10 Depth=1
sub w24, w24, #2
ldr x22, [x25, w24, uxtw #3]
ldr w8, [x22]
cmp w20, w8
b.ge LBB0_19
; %bb.18: ; in Loop: Header=BB0_10 Depth=1
ldr x8, [x23, #16]
str x8, [x22, #8]
str x22, [x23, #16]
mov x0, x21
bl _BLACKEN
b LBB0_9
LBB0_19: ; in Loop: Header=BB0_10 Depth=1
ldr x8, [x21, #8]
str x8, [x23, #16]
mov x0, x23
bl _BLACKEN
ldr x8, [x21, #16]
str x23, [x21, #8]
str x8, [x22, #8]
str x22, [x21, #16]
mov x22, x21
b LBB0_9
LBB0_20:
ldur x8, [x29, #-88]
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_29
; %bb.21:
mov x0, x20
mov x1, x2
mov x2, x3
add sp, sp, #576
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 _new_node
LBB0_22:
mov x0, x23
bl _BLACKEN
LBB0_23:
str x21, [x23, #16]
b LBB0_26
LBB0_24:
mov x0, x23
bl _BLACKEN
LBB0_25:
str x21, [x23, #8]
LBB0_26:
mov x22, x19
LBB0_27:
ldur x8, [x29, #-88]
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_29
; %bb.28:
mov x0, x22
add sp, sp, #576
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_29:
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 _rbtree_insert
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function zone_import
_zone_import: ## @zone_import
.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
testl %edx, %edx
js LBB0_1
## %bb.2:
movq %rdi, -56(%rbp) ## 8-byte Spill
movl %ecx, -48(%rbp) ## 4-byte Spill
movl %edx, %eax
movq %rax, -72(%rbp) ## 8-byte Spill
xorl %ebx, %ebx
xorl %ecx, %ecx
movl %edx, -44(%rbp) ## 4-byte Spill
movq %rsi, -64(%rbp) ## 8-byte Spill
jmp LBB0_3
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_3 Depth=1
movq _M_WAITOK@GOTPCREL(%rip), %rax
movl (%rax), %eax
notl %eax
andl %eax, %r13d
movl %r13d, %r8d
movq _M_NOWAIT@GOTPCREL(%rip), %rax
orl (%rax), %r8d
movl -44(%rbp), %edx ## 4-byte Reload
cmpl %edx, %ebx
jg LBB0_10
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_4 Depth 2
## Child Loop BB0_6 Depth 2
movl -48(%rbp), %r12d ## 4-byte Reload
movq -56(%rbp), %r14 ## 8-byte Reload
.p2align 4, 0x90
LBB0_4: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movq %r14, %rdi
movq %rcx, %r15
movq %rcx, %rsi
movl %r12d, %edx
movl %r8d, %ecx
movl %r8d, %r13d
callq _zone_fetch_slab
movq %r15, %rcx
movl %r13d, %r8d
testq %rax, %rax
je LBB0_4
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movq %rax, %r15
movq 8(%rax), %rcx
movslq %ebx, %rbx
movq -64(%rbp), %r12 ## 8-byte Reload
jmp LBB0_6
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_6 Depth=2
movq %rcx, %rdi
movq %rcx, %r14
movq %r15, %rsi
callq _slab_alloc_item
movq %r14, %rcx
movq %rax, (%r12,%rbx,8)
decq %rbx
movq (%r14), %rax
cmpq 8(%r14), %rax
jle LBB0_9
LBB0_6: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
cmpq $0, (%r15)
jne LBB0_8
## %bb.7: ## in Loop: Header=BB0_6 Depth=2
cmpq -72(%rbp), %rbx ## 8-byte Folded Reload
jl LBB0_8
jmp LBB0_9
LBB0_10:
movq %rcx, %rdi
callq _KEG_UNLOCK
jmp LBB0_11
LBB0_1:
xorl %ebx, %ebx
LBB0_11:
movl %ebx, %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _M_WAITOK,4,2 ## @M_WAITOK
.comm _M_NOWAIT,4,2 ## @M_NOWAIT
.comm _UMA_ZONE_NUMA,4,2 ## @UMA_ZONE_NUMA
.comm _vm_ndomains,4,2 ## @vm_ndomains
.no_dead_strip _zone_import
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function zone_import
_zone_import: ; @zone_import
.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
tbnz w2, #31, LBB0_9
; %bb.1:
mov x21, x4
mov x19, x3
mov x20, x2
mov x22, x1
mov x23, x0
mov x28, #0 ; =0x0
mov x24, #0 ; =0x0
mov w27, w2
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
mov x28, x25
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
Lloh0:
adrp x8, _M_WAITOK@GOTPAGE
Lloh1:
ldr x8, [x8, _M_WAITOK@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
bic w8, w21, w8
Lloh3:
adrp x9, _M_NOWAIT@GOTPAGE
Lloh4:
ldr x9, [x9, _M_NOWAIT@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
orr w21, w8, w9
cmp w28, w20
b.gt LBB0_8
LBB0_4: ; =>This Loop Header: Depth=1
; Child Loop BB0_6 Depth 2
mov x0, x23
mov x1, x24
mov x2, x19
mov x3, x21
bl _zone_fetch_slab
cbz x0, LBB0_4
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
mov x26, x0
ldr x24, [x0, #8]
sxtw x25, w28
LBB0_6: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [x26]
cmp x8, #0
ccmp x25, x27, #8, eq
b.ge LBB0_2
; %bb.7: ; in Loop: Header=BB0_6 Depth=2
mov x0, x24
mov x1, x26
bl _slab_alloc_item
sub x28, x25, #1
str x0, [x22, x25, lsl #3]
ldp x8, x9, [x24]
mov x25, x28
cmp x8, x9
b.gt LBB0_6
b LBB0_3
LBB0_8:
mov x0, x24
bl _KEG_UNLOCK
b LBB0_10
LBB0_9:
mov w28, #0 ; =0x0
LBB0_10:
mov x0, x28
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _M_WAITOK,4,2 ; @M_WAITOK
.comm _M_NOWAIT,4,2 ; @M_NOWAIT
.comm _UMA_ZONE_NUMA,4,2 ; @UMA_ZONE_NUMA
.comm _vm_ndomains,4,2 ; @vm_ndomains
.no_dead_strip _zone_import
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function parse_clr_tables
_parse_clr_tables: ## @parse_clr_tables
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r14d
movq %rdi, %rbx
callq _assembly_data_offset
movq %rax, 40(%rbx)
movq _E_FAIL@GOTPCREL(%rip), %r12
testq %rax, %rax
je LBB0_14
## %bb.1:
movabsq $17179869188, %rax ## imm = 0x400000004
movq %rax, (%rbx)
movl $4, 8(%rbx)
addl $4, %r14d
movq %rbx, %rdi
movl %r14d, %esi
callq _assembly_data_offset
movq %rax, 16(%rbx)
testq %rax, %rax
je LBB0_14
## %bb.2:
movq 32(%rbx), %rdi
movq _MAX_CLR_TABLES@GOTPCREL(%rip), %r15
movl (%r15), %edx
shll $2, %edx
movl $-1, %esi
callq _memset
movl (%r15), %eax
testl %eax, %eax
js LBB0_3
## %bb.4:
movq 40(%rbx), %rcx
movl 4(%rcx), %edx
xorl %esi, %esi
movl $1, %edi
xorl %ecx, %ecx
jmp LBB0_5
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_5 Depth=1
decq %rsi
addl %edi, %edi
movslq %eax, %r8
cmpq %r8, %rsi
jg LBB0_8
LBB0_5: ## =>This Inner Loop Header: Depth=1
testl %edi, %edx
je LBB0_7
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movslq %ecx, %rax
incl %ecx
movq 16(%rbx), %r8
movq 32(%rbx), %r9
movl (%r8,%rax,4), %eax
movl %eax, (%r9,%rsi,8)
movl (%r15), %eax
jmp LBB0_7
LBB0_8:
movl %ecx, 24(%rbx)
movq _S_OK@GOTPCREL(%rip), %r12
testl %eax, %eax
jle LBB0_14
## %bb.9:
leal (%r14,%rcx,4), %r13d
movl $1, %r12d
xorl %r14d, %r14d
jmp LBB0_10
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_10 Depth=1
incq %r14
addl %r12d, %r12d
movslq %eax, %rcx
cmpq %rcx, %r14
jge LBB0_13
LBB0_10: ## =>This Inner Loop Header: Depth=1
movq 40(%rbx), %rcx
testl %r12d, 4(%rcx)
je LBB0_12
## %bb.11: ## in Loop: Header=BB0_10 Depth=1
movq 32(%rbx), %rax
movl %r13d, 4(%rax,%r14,8)
movq %rbx, %rdi
movl %r14d, %esi
callq _get_table_size
movq 32(%rbx), %rcx
imull (%rcx,%r14,8), %eax
addl %eax, %r13d
movl (%r15), %eax
jmp LBB0_12
LBB0_3:
movl $0, 24(%rbx)
LBB0_13:
movq _S_OK@GOTPCREL(%rip), %r12
LBB0_14:
movl (%r12), %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _E_FAIL,4,2 ## @E_FAIL
.comm _MD_STRINGS_BIT,4,2 ## @MD_STRINGS_BIT
.comm _MD_GUIDS_BIT,4,2 ## @MD_GUIDS_BIT
.comm _MD_BLOBS_BIT,4,2 ## @MD_BLOBS_BIT
.comm _MAX_CLR_TABLES,4,2 ## @MAX_CLR_TABLES
.comm _S_OK,4,2 ## @S_OK
.no_dead_strip _parse_clr_tables
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function parse_clr_tables
_parse_clr_tables: ; @parse_clr_tables
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x20, x1
mov x19, x0
bl _assembly_data_offset
str x0, [x19, #40]
cbz x0, LBB0_7
; %bb.1:
movi.2s v0, #4
str d0, [x19]
mov w8, #4 ; =0x4
str w8, [x19, #8]
add w20, w20, #4
mov x0, x19
mov x1, x20
bl _assembly_data_offset
str x0, [x19, #16]
cbz x0, LBB0_7
; %bb.2:
ldr x0, [x19, #32]
Lloh0:
adrp x22, _MAX_CLR_TABLES@GOTPAGE
Lloh1:
ldr x22, [x22, _MAX_CLR_TABLES@GOTPAGEOFF]
ldr w8, [x22]
lsl w2, w8, #2
mov w1, #-1 ; =0xffffffff
bl _memset
ldr w8, [x22]
tbnz w8, #31, LBB0_13
; %bb.3:
mov x10, #0 ; =0x0
mov x11, #0 ; =0x0
mov w9, #0 ; =0x0
ldr x12, [x19, #40]
ldr w12, [x12, #4]
mov w13, #1 ; =0x1
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
sub x11, x11, #1
lsl w13, w13, #1
sub x10, x10, #8
cmp x11, w8, sxtw
b.gt LBB0_8
LBB0_5: ; =>This Inner Loop Header: Depth=1
tst w12, w13
b.eq LBB0_4
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [x19, #16]
ldr w8, [x8, w9, sxtw #2]
add w9, w9, #1
ldr x14, [x19, #32]
str w8, [x14, x10]
ldr w8, [x22]
b LBB0_4
LBB0_7:
Lloh2:
adrp x23, _E_FAIL@GOTPAGE
Lloh3:
ldr x23, [x23, _E_FAIL@GOTPAGEOFF]
b LBB0_15
LBB0_8:
str w9, [x19, #24]
cmp w8, #1
b.lt LBB0_14
; %bb.9:
mov x24, #0 ; =0x0
mov x21, #0 ; =0x0
mov w25, #1 ; =0x1
Lloh4:
adrp x23, _S_OK@GOTPAGE
Lloh5:
ldr x23, [x23, _S_OK@GOTPAGEOFF]
add w20, w20, w9, lsl #2
b LBB0_11
LBB0_10: ; in Loop: Header=BB0_11 Depth=1
add x21, x21, #1
lsl w25, w25, #1
add x24, x24, #8
cmp x21, w8, sxtw
b.ge LBB0_15
LBB0_11: ; =>This Inner Loop Header: Depth=1
ldr x9, [x19, #40]
ldr w9, [x9, #4]
tst w9, w25
b.eq LBB0_10
; %bb.12: ; in Loop: Header=BB0_11 Depth=1
ldr x8, [x19, #32]
add x8, x8, x24
str w20, [x8, #4]
mov x0, x19
mov x1, x21
bl _get_table_size
ldr x8, [x19, #32]
ldr w8, [x8, x24]
madd w20, w8, w0, w20
ldr w8, [x22]
b LBB0_10
LBB0_13:
str wzr, [x19, #24]
LBB0_14:
Lloh6:
adrp x23, _S_OK@GOTPAGE
Lloh7:
ldr x23, [x23, _S_OK@GOTPAGEOFF]
LBB0_15:
ldr w0, [x23]
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 AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _E_FAIL,4,2 ; @E_FAIL
.comm _MD_STRINGS_BIT,4,2 ; @MD_STRINGS_BIT
.comm _MD_GUIDS_BIT,4,2 ; @MD_GUIDS_BIT
.comm _MD_BLOBS_BIT,4,2 ; @MD_BLOBS_BIT
.comm _MAX_CLR_TABLES,4,2 ; @MAX_CLR_TABLES
.comm _S_OK,4,2 ; @S_OK
.no_dead_strip _parse_clr_tables
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function fmr2_pnp_probe
_fmr2_pnp_probe: ## @fmr2_pnp_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 %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r15
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $4, %edi
callq _kzalloc
testq %rax, %rax
je LBB0_1
## %bb.2:
movq %rax, %rbx
movl $1, (%rax)
xorl %r14d, %r14d
movq %r15, %rdi
xorl %esi, %esi
callq _pnp_port_start
movq %rbx, %rdi
movq %r15, %rsi
movl %eax, %edx
callq _fmr2_probe
testl %eax, %eax
je LBB0_4
## %bb.3:
movl %eax, %r12d
movq %rbx, %rdi
callq _kfree
movl %r12d, %r14d
jmp LBB0_5
LBB0_1:
movq _ENOMEM@GOTPCREL(%rip), %rax
xorl %r14d, %r14d
subl (%rax), %r14d
jmp LBB0_5
LBB0_4:
movq %r15, %rdi
movq %rbx, %rsi
callq _pnp_set_drvdata
movq _fmr2_cards@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _num_fmr2_cards@GOTPCREL(%rip), %rcx
movslq (%rcx), %rdx
leal 1(%rdx), %esi
movl %esi, (%rcx)
movq %rbx, (%rax,%rdx,8)
LBB0_5:
movl %r14d, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _fmr2_cards,8,3 ## @fmr2_cards
.comm _num_fmr2_cards,4,2 ## @num_fmr2_cards
.no_dead_strip _fmr2_pnp_probe
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function fmr2_pnp_probe
_fmr2_pnp_probe: ; @fmr2_pnp_probe
.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 x20, x0
Lloh0:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh1:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov w0, #4 ; =0x4
bl _kzalloc
cbz x0, LBB0_3
; %bb.1:
mov x19, x0
mov w8, #1 ; =0x1
str w8, [x0]
mov x0, x20
mov w1, #0 ; =0x0
bl _pnp_port_start
mov x2, x0
mov x0, x19
mov x1, x20
bl _fmr2_probe
cbz w0, LBB0_4
; %bb.2:
mov x20, x0
mov x0, x19
bl _kfree
mov x0, x20
b LBB0_5
LBB0_3:
Lloh3:
adrp x8, _ENOMEM@GOTPAGE
Lloh4:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
neg w0, w8
b LBB0_5
LBB0_4:
mov x0, x20
mov x1, x19
bl _pnp_set_drvdata
mov w0, #0 ; =0x0
Lloh6:
adrp x8, _fmr2_cards@GOTPAGE
Lloh7:
ldr x8, [x8, _fmr2_cards@GOTPAGEOFF]
Lloh8:
adrp x9, _num_fmr2_cards@GOTPAGE
Lloh9:
ldr x9, [x9, _num_fmr2_cards@GOTPAGEOFF]
Lloh10:
ldr x8, [x8]
ldrsw x10, [x9]
add w11, w10, #1
str w11, [x9]
str x19, [x8, x10, lsl #3]
LBB0_5:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh10
.cfi_endproc
; -- End function
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _fmr2_cards,8,3 ; @fmr2_cards
.comm _num_fmr2_cards,4,2 ; @num_fmr2_cards
.no_dead_strip _fmr2_pnp_probe
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function base64
_base64: ## @base64
.cfi_startproc
## %bb.0:
testq %rdx, %rdx
je LBB0_1
## %bb.2:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq _base64tab@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movl $2, %r8d
xorl %eax, %eax
jmp LBB0_3
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_3 Depth=1
movl -8(%rdi,%r8,4), %r11d
movl %r11d, %r14d
sarl $2, %r14d
shll $4, %r11d
andl $48, %r11d
sarl $4, %r9d
orl %r11d, %r9d
movslq %r14d, %r11
movl (%rcx,%r11,4), %r11d
movslq %r9d, %r9
movl (%rcx,%r9,4), %r9d
movl %r11d, (%rsi,%rax,4)
movl %r9d, 4(%rsi,%rax,4)
movl %ebx, 8(%rsi,%rax,4)
movl %r10d, 12(%rsi,%rax,4)
addq $4, %rax
leaq 3(%r8), %r9
incq %r8
cmpq %rdx, %r8
movq %r9, %r8
jae LBB0_12
LBB0_3: ## =>This Inner Loop Header: Depth=1
leaq -3(%r8), %r10
movl $0, %r9d
cmpq %rdx, %r10
jae LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movl -4(%rdi,%r8,4), %r9d
LBB0_5: ## in Loop: Header=BB0_3 Depth=1
xorl %r11d, %r11d
cmpq %rdx, %r8
jae LBB0_7
## %bb.6: ## in Loop: Header=BB0_3 Depth=1
movl (%rdi,%r8,4), %r11d
LBB0_7: ## in Loop: Header=BB0_3 Depth=1
leaq -1(%r8), %r14
movl $61, %r10d
movl $61, %ebx
cmpq %rdx, %r14
jae LBB0_9
## %bb.8: ## in Loop: Header=BB0_3 Depth=1
leal (,%r9,4), %ebx
andl $60, %ebx
movl %r11d, %r14d
sarl $6, %r14d
orl %ebx, %r14d
movslq %r14d, %rbx
movl (%rcx,%rbx,4), %ebx
LBB0_9: ## in Loop: Header=BB0_3 Depth=1
cmpq %rdx, %r8
jae LBB0_11
## %bb.10: ## in Loop: Header=BB0_3 Depth=1
andl $63, %r11d
movl (%rcx,%r11,4), %r10d
jmp LBB0_11
LBB0_12:
andl $-4, %eax
popq %rbx
popq %r14
popq %rbp
jmp LBB0_13
LBB0_1:
xorl %eax, %eax
LBB0_13:
movl $0, (%rsi,%rax,4)
movq %rsi, %rdi
jmp _strlen ## TAILCALL
.cfi_endproc
## -- End function
.comm _base64tab,8,3 ## @base64tab
.no_dead_strip _base64
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function base64
_base64: ; @base64
.cfi_startproc
; %bb.0:
mov x8, #0 ; =0x0
cbz x2, LBB0_9
; %bb.1:
Lloh0:
adrp x9, _base64tab@GOTPAGE
Lloh1:
ldr x9, [x9, _base64tab@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
add x10, x1, #8
add x11, x0, #8
mov w12, #2 ; =0x2
mov w13, #61 ; =0x3d
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
ldr w15, [x11]
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
ldur w16, [x11, #-8]
asr w17, w16, #2
ldr w17, [x9, w17, sxtw #2]
ubfiz w16, w16, #4, #2
orr w16, w16, w14, asr #4
ldr w16, [x9, w16, sxtw #2]
ubfiz w14, w14, #2, #4
orr w14, w14, w15, asr #6
ldr w14, [x9, w14, sxtw #2]
and w15, w15, #0x3f
ldr w15, [x9, w15, uxtw #2]
sub x0, x12, #1
cmp x0, x2
csel w14, w14, w13, lo
cmp x12, x2
csel w15, w15, w13, lo
stp w17, w16, [x10, #-8]
add x8, x8, #4
stp w14, w15, [x10], #16
add x11, x11, #12
add x14, x12, #1
add x12, x12, #3
cmp x14, x2
b.hs LBB0_8
LBB0_4: ; =>This Inner Loop Header: Depth=1
sub x14, x12, #3
cmp x14, x2
b.hs LBB0_6
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
ldur w14, [x11, #-4]
cmp x12, x2
b.lo LBB0_2
b LBB0_7
LBB0_6: ; in Loop: Header=BB0_4 Depth=1
mov w14, #0 ; =0x0
cmp x12, x2
b.lo LBB0_2
LBB0_7: ; in Loop: Header=BB0_4 Depth=1
mov w15, #0 ; =0x0
b LBB0_3
LBB0_8:
and x8, x8, #0xfffffffc
LBB0_9:
str wzr, [x1, x8, lsl #2]
mov x0, x1
b _strlen
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _base64tab,8,3 ; @base64tab
.no_dead_strip _base64
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _tQSortEx ## -- Begin function tQSortEx
.p2align 4, 0x90
_tQSortEx: ## @tQSortEx
.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, %r13
movq %r8, -80(%rbp) ## 8-byte Spill
movl %ecx, %ebx
movl %edx, %r14d
movq %rsi, -64(%rbp) ## 8-byte Spill
movslq %ecx, %rax
leal 1(%rax), %ecx
movl %ecx, -100(%rbp) ## 4-byte Spill
leaq 8(%rdi), %rcx
movq %rcx, -120(%rbp) ## 8-byte Spill
movq %rdi, -48(%rbp) ## 8-byte Spill
leaq (%rdi,%rax,8), %rcx
movq %rcx, -112(%rbp) ## 8-byte Spill
decq %rax
movq %rax, -128(%rbp) ## 8-byte Spill
movq %r9, -136(%rbp) ## 8-byte Spill
movl %ebx, -68(%rbp) ## 4-byte Spill
jmp LBB0_1
.p2align 4, 0x90
LBB0_20: ## in Loop: Header=BB0_1 Depth=1
movl %r15d, %r14d
cmpl %ebx, %r15d
jge LBB0_21
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_4 Depth 2
## Child Loop BB0_14 Depth 2
movl %r14d, %eax
subl %ebx, %eax
cmpl $-9, %eax
jge LBB0_22
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -48(%rbp), %rdi ## 8-byte Reload
movq -64(%rbp), %rsi ## 8-byte Reload
movl %r14d, %edx
movl %ebx, %ecx
movq -80(%rbp), %r8 ## 8-byte Reload
movq %r13, %r9
callq _median
movl %ebx, %r12d
movl -100(%rbp), %r15d ## 4-byte Reload
cmpl %ebx, %r14d
jge LBB0_18
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl %r14d, -52(%rbp) ## 4-byte Spill
movslq %r14d, %rax
movl %ebx, %ecx
movq -48(%rbp), %rdx ## 8-byte Reload
leaq (%rdx,%rax,8), %rbx
movl %ecx, %r14d
movl %ecx, %r12d
jmp LBB0_4
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_4 Depth=2
decl %r12d
LBB0_8: ## in Loop: Header=BB0_4 Depth=2
cmpl -52(%rbp), %r12d ## 4-byte Folded Reload
jle LBB0_9
LBB0_4: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movslq %r12d, %r15
movq -48(%rbp), %rax ## 8-byte Reload
movq (%rax,%r15,8), %rdi
movq (%rbx), %rsi
movq -80(%rbp), %rdx ## 8-byte Reload
callq *%r13
testl %eax, %eax
js LBB0_8
## %bb.5: ## in Loop: Header=BB0_4 Depth=2
setne %al
cmpl %r14d, %r12d
sete %cl
orb %al, %cl
jne LBB0_7
## %bb.6: ## in Loop: Header=BB0_4 Depth=2
movq -48(%rbp), %rcx ## 8-byte Reload
leaq (%rcx,%r15,8), %rdi
movslq %r14d, %rax
incl %r14d
leaq (%rcx,%rax,8), %rsi
movq _TSDB_DATA_TYPE_BINARY@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq -64(%rbp), %rcx ## 8-byte Reload
callq _tsDataSwap
jmp LBB0_7
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
je LBB0_11
## %bb.10: ## in Loop: Header=BB0_1 Depth=1
movslq %r12d, %rax
movq -48(%rbp), %rcx ## 8-byte Reload
leaq (%rcx,%rax,8), %rdi
movq %rdi, -88(%rbp) ## 8-byte Spill
movq _TSDB_DATA_TYPE_BINARY@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rsi
movq -64(%rbp), %r15 ## 8-byte Reload
movq %r15, %rcx
callq _tsDataSwap
movq _TSDB_DATA_TYPE_BINARY@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
movq -88(%rbp), %rsi ## 8-byte Reload
movq %r15, %rcx
callq _tsDataSwap
LBB0_11: ## in Loop: Header=BB0_1 Depth=1
leal 1(%r12), %r15d
movl -68(%rbp), %ebx ## 4-byte Reload
cmpl %r14d, %ebx
sete %al
cmpl %ebx, %r12d
setge %cl
orb %al, %cl
jne LBB0_17
## %bb.12: ## in Loop: Header=BB0_1 Depth=1
movl %r15d, -96(%rbp) ## 4-byte Spill
subl %r14d, %ebx
movl %ebx, -92(%rbp) ## 4-byte Spill
setle %al
cmpl %r14d, %r12d
setge %cl
orb %al, %cl
jne LBB0_16
## %bb.13: ## in Loop: Header=BB0_1 Depth=1
movslq %r14d, %rcx
movslq %r12d, %r13
movq -120(%rbp), %rax ## 8-byte Reload
leaq (%rax,%r13,8), %rbx
incq %r13
movq -128(%rbp), %r15 ## 8-byte Reload
movq -112(%rbp), %r14 ## 8-byte Reload
movq %rcx, -88(%rbp) ## 8-byte Spill
.p2align 4, 0x90
LBB0_14: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movq _TSDB_DATA_TYPE_BINARY@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
movq %r14, %rsi
movq -64(%rbp), %rcx ## 8-byte Reload
callq _tsDataSwap
movq -88(%rbp), %rcx ## 8-byte Reload
cmpq %rcx, %r15
jle LBB0_16
## %bb.15: ## in Loop: Header=BB0_14 Depth=2
addq $8, %rbx
leaq 1(%r13), %rax
addq $-8, %r14
decq %r15
cmpq %rcx, %r13
movq %rax, %r13
jl LBB0_14
LBB0_16: ## in Loop: Header=BB0_1 Depth=1
movl -96(%rbp), %r15d ## 4-byte Reload
addl -92(%rbp), %r15d ## 4-byte Folded Reload
movq -136(%rbp), %r13 ## 8-byte Reload
movl -68(%rbp), %ebx ## 4-byte Reload
LBB0_17: ## in Loop: Header=BB0_1 Depth=1
movl -52(%rbp), %r14d ## 4-byte Reload
LBB0_18: ## in Loop: Header=BB0_1 Depth=1
decl %r12d
cmpl %r14d, %r12d
jle LBB0_20
## %bb.19: ## in Loop: Header=BB0_1 Depth=1
movq -48(%rbp), %rdi ## 8-byte Reload
movq -64(%rbp), %rsi ## 8-byte Reload
movl %r14d, %edx
movl %r12d, %ecx
movq -80(%rbp), %r8 ## 8-byte Reload
movq %r13, %r9
callq _tQSortEx
jmp LBB0_20
LBB0_22:
movq -48(%rbp), %rdi ## 8-byte Reload
movq -64(%rbp), %rsi ## 8-byte Reload
movl %r14d, %edx
movl %ebx, %ecx
movq -80(%rbp), %r8 ## 8-byte Reload
movq %r13, %r9
addq $104, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _tInsertSort ## TAILCALL
LBB0_21:
addq $104, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _TSDB_DATA_TYPE_BINARY,4,2 ## @TSDB_DATA_TYPE_BINARY
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _tQSortEx ; -- Begin function tQSortEx
.p2align 2
_tQSortEx: ; @tQSortEx
.cfi_startproc
; %bb.0:
sub sp, sp, #160
stp x28, x27, [sp, #64] ; 16-byte Folded Spill
stp x26, x25, [sp, #80] ; 16-byte Folded Spill
stp x24, x23, [sp, #96] ; 16-byte Folded Spill
stp x22, x21, [sp, #112] ; 16-byte Folded Spill
stp x20, x19, [sp, #128] ; 16-byte Folded Spill
stp x29, x30, [sp, #144] ; 16-byte Folded Spill
add x29, sp, #144
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x5
mov x20, x4
mov x28, x3
mov x24, x2
str x1, [sp, #56] ; 8-byte Folded Spill
mov x23, x0
sxtw x8, w28
add w22, w3, #1
add x9, x0, #8
sub x8, x8, #1
stp x8, x9, [sp, #16] ; 16-byte Folded Spill
add x8, x0, w3, sxtw #3
str x8, [sp, #8] ; 8-byte Folded Spill
str x28, [sp, #32] ; 8-byte Folded Spill
str w22, [sp, #52] ; 4-byte Folded Spill
b LBB0_2
LBB0_1: ; in Loop: Header=BB0_2 Depth=1
mov x24, x25
cmp w25, w28
b.ge LBB0_24
LBB0_2: ; =>This Loop Header: Depth=1
; Child Loop BB0_7 Depth 2
; Child Loop BB0_17 Depth 2
sub w8, w24, w28
cmn w8, #9
b.ge LBB0_23
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
mov x0, x23
ldr x1, [sp, #56] ; 8-byte Folded Reload
mov x2, x24
mov x3, x28
mov x4, x20
mov x5, x19
bl _median
mov x21, x28
mov x25, x22
cmp w24, w28
b.ge LBB0_21
; %bb.4: ; in Loop: Header=BB0_2 Depth=1
add x25, x23, w24, sxtw #3
mov x27, x28
mov x21, x28
b LBB0_7
LBB0_5: ; in Loop: Header=BB0_7 Depth=2
sub w21, w21, #1
LBB0_6: ; in Loop: Header=BB0_7 Depth=2
cmp w21, w24
b.le LBB0_10
LBB0_7: ; Parent Loop BB0_2 Depth=1
; => This Inner Loop Header: Depth=2
add x26, x23, w21, sxtw #3
ldr x0, [x26]
ldr x1, [x25]
mov x2, x20
blr x19
tbnz w0, #31, LBB0_6
; %bb.8: ; in Loop: Header=BB0_7 Depth=2
cmp w0, #0
ccmp w21, w27, #4, eq
b.eq LBB0_5
; %bb.9: ; in Loop: Header=BB0_7 Depth=2
add w22, w27, #1
add x1, x23, w27, sxtw #3
Lloh0:
adrp x8, _TSDB_DATA_TYPE_BINARY@GOTPAGE
Lloh1:
ldr x8, [x8, _TSDB_DATA_TYPE_BINARY@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
mov x0, x26
ldr x3, [sp, #56] ; 8-byte Folded Reload
bl _tsDataSwap
mov x27, x22
b LBB0_5
LBB0_10: ; in Loop: Header=BB0_2 Depth=1
b.eq LBB0_12
; %bb.11: ; in Loop: Header=BB0_2 Depth=1
add x26, x23, w21, sxtw #3
Lloh3:
adrp x8, _TSDB_DATA_TYPE_BINARY@GOTPAGE
Lloh4:
ldr x8, [x8, _TSDB_DATA_TYPE_BINARY@GOTPAGEOFF]
Lloh5:
ldr w2, [x8]
mov x0, x26
mov x1, x25
ldr x22, [sp, #56] ; 8-byte Folded Reload
mov x3, x22
bl _tsDataSwap
Lloh6:
adrp x8, _TSDB_DATA_TYPE_BINARY@GOTPAGE
Lloh7:
ldr x8, [x8, _TSDB_DATA_TYPE_BINARY@GOTPAGEOFF]
Lloh8:
ldr w2, [x8]
mov x0, x25
mov x1, x26
mov x3, x22
bl _tsDataSwap
LBB0_12: ; in Loop: Header=BB0_2 Depth=1
add w25, w21, #1
cmp w21, w28
b.ge LBB0_20
; %bb.13: ; in Loop: Header=BB0_2 Depth=1
subs w8, w28, w27
b.eq LBB0_20
; %bb.14: ; in Loop: Header=BB0_2 Depth=1
stp w8, w25, [sp, #44] ; 8-byte Folded Spill
b.le LBB0_19
; %bb.15: ; in Loop: Header=BB0_2 Depth=1
cmp w21, w27
b.ge LBB0_19
; %bb.16: ; in Loop: Header=BB0_2 Depth=1
sxtw x27, w27
sxtw x8, w21
ldp x28, x9, [sp, #16] ; 16-byte Folded Reload
add x25, x9, w21, sxtw #3
add x22, x8, #1
ldr x26, [sp, #8] ; 8-byte Folded Reload
LBB0_17: ; Parent Loop BB0_2 Depth=1
; => This Inner Loop Header: Depth=2
Lloh9:
adrp x8, _TSDB_DATA_TYPE_BINARY@GOTPAGE
Lloh10:
ldr x8, [x8, _TSDB_DATA_TYPE_BINARY@GOTPAGEOFF]
Lloh11:
ldr w2, [x8]
mov x0, x25
mov x1, x26
ldr x3, [sp, #56] ; 8-byte Folded Reload
bl _tsDataSwap
cmp x28, x27
b.le LBB0_19
; %bb.18: ; in Loop: Header=BB0_17 Depth=2
add x25, x25, #8
add x8, x22, #1
sub x26, x26, #8
sub x28, x28, #1
cmp x22, x27
mov x22, x8
b.lt LBB0_17
LBB0_19: ; in Loop: Header=BB0_2 Depth=1
ldp w8, w25, [sp, #44] ; 8-byte Folded Reload
add w25, w8, w25
ldr x28, [sp, #32] ; 8-byte Folded Reload
LBB0_20: ; in Loop: Header=BB0_2 Depth=1
ldr w22, [sp, #52] ; 4-byte Folded Reload
LBB0_21: ; in Loop: Header=BB0_2 Depth=1
sub w3, w21, #1
cmp w3, w24
b.le LBB0_1
; %bb.22: ; in Loop: Header=BB0_2 Depth=1
mov x0, x23
ldr x1, [sp, #56] ; 8-byte Folded Reload
mov x2, x24
mov x4, x20
mov x5, x19
bl _tQSortEx
b LBB0_1
LBB0_23:
mov x0, x23
ldr x1, [sp, #56] ; 8-byte Folded Reload
mov x2, x24
mov x3, x28
mov x4, x20
mov x5, x19
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
ldp x20, x19, [sp, #128] ; 16-byte Folded Reload
ldp x22, x21, [sp, #112] ; 16-byte Folded Reload
ldp x24, x23, [sp, #96] ; 16-byte Folded Reload
ldp x26, x25, [sp, #80] ; 16-byte Folded Reload
ldp x28, x27, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #160
b _tInsertSort
LBB0_24:
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
ldp x20, x19, [sp, #128] ; 16-byte Folded Reload
ldp x22, x21, [sp, #112] ; 16-byte Folded Reload
ldp x24, x23, [sp, #96] ; 16-byte Folded Reload
ldp x26, x25, [sp, #80] ; 16-byte Folded Reload
ldp x28, x27, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #160
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.cfi_endproc
; -- End function
.comm _TSDB_DATA_TYPE_BINARY,4,2 ; @TSDB_DATA_TYPE_BINARY
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ## -- Begin function gl_userclip_polygon
LCPI0_0:
.long 0x80000000 ## float -0
.long 0x80000000 ## float -0
.long 0x80000000 ## float -0
.long 0x80000000 ## float -0
.section __TEXT,__literal4,4byte_literals
.p2align 2, 0x0
LCPI0_1:
.long 0x3f800000 ## float 1
.section __TEXT,__text,regular,pure_instructions
.globl _gl_userclip_polygon
.p2align 4, 0x90
_gl_userclip_polygon: ## @gl_userclip_polygon
.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 %rdx, %rbx
movq %rsi, %r12
movq %rdi, %r14
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq 24(%rdi), %r13
movq _VB_SIZE@GOTPCREL(%rip), %r15
movl (%r15), %eax
shlq $3, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %rax
movq %rbx, -112(%rbp) ## 8-byte Spill
movq %rbx, -96(%rbp) ## 8-byte Spill
xorl %ecx, %ecx
movq %rax, -120(%rbp) ## 8-byte Spill
movq %rax, -72(%rbp) ## 8-byte Spill
## implicit-def: $rdx
movq %r14, -88(%rbp) ## 8-byte Spill
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_11 Depth 2
movq 16(%r14), %rax
cmpq $0, (%rax,%rcx,8)
je LBB0_2
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
cmpq $3, %r12
jb LBB0_7
## %bb.10: ## in Loop: Header=BB0_1 Depth=1
movq -88(%rbp), %rax ## 8-byte Reload
movq 8(%rax), %rax
movq %rcx, -128(%rbp) ## 8-byte Spill
movq (%rax,%rcx,8), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -64(%rbp) ## 4-byte Spill
movss 4(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -60(%rbp) ## 4-byte Spill
movss 8(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -56(%rbp) ## 4-byte Spill
movss 12(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -52(%rbp) ## 4-byte Spill
movq %r12, -136(%rbp) ## 8-byte Spill
movq -96(%rbp), %rax ## 8-byte Reload
movq -8(%rax,%r12,8), %rbx
xorl %edx, %edx
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_11: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movq %rdx, -104(%rbp) ## 8-byte Spill
movq %r13, %r14
movq %r15, %r13
movq -96(%rbp), %rax ## 8-byte Reload
movq (%rax,%r12,8), %rdi
movq %rdi, -80(%rbp) ## 8-byte Spill
movss -64(%rbp), %xmm0 ## 4-byte Reload
## xmm0 = mem[0],zero,zero,zero
movss -60(%rbp), %xmm1 ## 4-byte Reload
## xmm1 = mem[0],zero,zero,zero
movss -56(%rbp), %xmm2 ## 4-byte Reload
## xmm2 = mem[0],zero,zero,zero
movss -52(%rbp), %xmm3 ## 4-byte Reload
## xmm3 = mem[0],zero,zero,zero
callq _INSIDE
movq %rax, %r15
movq %rbx, %rdi
movss -64(%rbp), %xmm0 ## 4-byte Reload
## xmm0 = mem[0],zero,zero,zero
movss -60(%rbp), %xmm1 ## 4-byte Reload
## xmm1 = mem[0],zero,zero,zero
movss -56(%rbp), %xmm2 ## 4-byte Reload
## xmm2 = mem[0],zero,zero,zero
movss -52(%rbp), %xmm3 ## 4-byte Reload
## xmm3 = mem[0],zero,zero,zero
callq _INSIDE
testq %r15, %r15
je LBB0_20
## %bb.12: ## in Loop: Header=BB0_11 Depth=2
testq %rax, %rax
movq %r13, %r15
je LBB0_14
## %bb.13: ## in Loop: Header=BB0_11 Depth=2
movq -104(%rbp), %rdx ## 8-byte Reload
movq -72(%rbp), %rax ## 8-byte Reload
movq -80(%rbp), %r8 ## 8-byte Reload
movq %r8, (%rax,%rdx,8)
incq %rdx
movq %r14, %r13
jmp LBB0_28
.p2align 4, 0x90
LBB0_20: ## in Loop: Header=BB0_11 Depth=2
testq %rax, %rax
movq %r13, %r15
je LBB0_21
## %bb.22: ## in Loop: Header=BB0_11 Depth=2
movq %r14, %r13
movq (%r14), %rcx
movq -80(%rbp), %r8 ## 8-byte Reload
movq (%rcx,%r8,8), %rdx
movq (%rcx,%rbx,8), %rax
movss (%rax), %xmm5 ## xmm5 = mem[0],zero,zero,zero
movss 4(%rax), %xmm7 ## xmm7 = mem[0],zero,zero,zero
movss (%rdx), %xmm4 ## xmm4 = mem[0],zero,zero,zero
movss 4(%rdx), %xmm2 ## xmm2 = mem[0],zero,zero,zero
subss %xmm5, %xmm4
subss %xmm7, %xmm2
movss 8(%rdx), %xmm3 ## xmm3 = mem[0],zero,zero,zero
movss 8(%rax), %xmm8 ## xmm8 = mem[0],zero,zero,zero
subss %xmm8, %xmm3
movss 12(%rdx), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movss 12(%rax), %xmm6 ## xmm6 = mem[0],zero,zero,zero
subss %xmm6, %xmm1
movss -60(%rbp), %xmm0 ## 4-byte Reload
## xmm0 = mem[0],zero,zero,zero
mulss %xmm2, %xmm0
movaps %xmm4, %xmm9
mulss -64(%rbp), %xmm9 ## 4-byte Folded Reload
addss %xmm0, %xmm9
movaps %xmm3, %xmm0
mulss -56(%rbp), %xmm0 ## 4-byte Folded Reload
addss %xmm9, %xmm0
movaps %xmm1, %xmm9
mulss -52(%rbp), %xmm9 ## 4-byte Folded Reload
addss %xmm0, %xmm9
xorps %xmm0, %xmm0
ucomiss %xmm0, %xmm9
jne LBB0_23
jnp LBB0_25
LBB0_23: ## in Loop: Header=BB0_11 Depth=2
mulss -60(%rbp), %xmm7 ## 4-byte Folded Reload
movaps %xmm5, %xmm0
mulss -64(%rbp), %xmm0 ## 4-byte Folded Reload
addss %xmm7, %xmm0
mulss -56(%rbp), %xmm8 ## 4-byte Folded Reload
addss %xmm0, %xmm8
mulss -52(%rbp), %xmm6 ## 4-byte Folded Reload
addss %xmm8, %xmm6
xorps LCPI0_0(%rip), %xmm6
divss %xmm9, %xmm6
ucomiss LCPI0_1(%rip), %xmm6
movaps %xmm6, %xmm0
jbe LBB0_25
## %bb.24: ## in Loop: Header=BB0_11 Depth=2
movss LCPI0_1(%rip), %xmm0 ## xmm0 = [1.0E+0,0.0E+0,0.0E+0,0.0E+0]
.p2align 4, 0x90
LBB0_25: ## in Loop: Header=BB0_11 Depth=2
mulss %xmm0, %xmm4
addss %xmm5, %xmm4
movq 8(%r13), %rdx
movq (%rcx,%rdx,8), %rcx
movss %xmm4, (%rcx)
mulss %xmm0, %xmm2
addss 4(%rax), %xmm2
movss %xmm2, 4(%rcx)
mulss %xmm0, %xmm3
addss 8(%rax), %xmm3
movss %xmm3, 8(%rcx)
mulss %xmm0, %xmm1
addss 12(%rax), %xmm1
movss %xmm1, 12(%rcx)
movq -88(%rbp), %rdi ## 8-byte Reload
cmpq $0, (%rdi)
je LBB0_27
## %bb.26: ## in Loop: Header=BB0_11 Depth=2
movq _EYE_SPACE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rcx
movq -80(%rbp), %r8 ## 8-byte Reload
callq _interpolate_aux
movq -80(%rbp), %r8 ## 8-byte Reload
movq 8(%r13), %rdx
LBB0_27: ## in Loop: Header=BB0_11 Depth=2
movq 16(%r13), %rax
movl (%rax,%rbx,4), %ecx
movl %ecx, (%rax,%rdx,4)
movq -104(%rbp), %rax ## 8-byte Reload
movq -72(%rbp), %rcx ## 8-byte Reload
movq %rdx, (%rcx,%rax,8)
movq %rax, %rdx
incq %rdx
movq 8(%r13), %rax
incq %rax
movslq (%r15), %rcx
cmpq %rcx, %rax
movl $1, %ecx
cmoveq %rcx, %rax
movq %rax, 8(%r13)
jmp LBB0_28
.p2align 4, 0x90
LBB0_14: ## in Loop: Header=BB0_11 Depth=2
movq %r14, %r13
movq (%r14), %rcx
movq (%rcx,%rbx,8), %rdx
movq -80(%rbp), %r8 ## 8-byte Reload
movq (%rcx,%r8,8), %rax
movss (%rax), %xmm5 ## xmm5 = mem[0],zero,zero,zero
movss 4(%rax), %xmm7 ## xmm7 = mem[0],zero,zero,zero
movss (%rdx), %xmm4 ## xmm4 = mem[0],zero,zero,zero
movss 4(%rdx), %xmm2 ## xmm2 = mem[0],zero,zero,zero
subss %xmm5, %xmm4
subss %xmm7, %xmm2
movss 8(%rdx), %xmm3 ## xmm3 = mem[0],zero,zero,zero
movss 8(%rax), %xmm8 ## xmm8 = mem[0],zero,zero,zero
subss %xmm8, %xmm3
movss 12(%rdx), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movss 12(%rax), %xmm6 ## xmm6 = mem[0],zero,zero,zero
subss %xmm6, %xmm1
movss -60(%rbp), %xmm0 ## 4-byte Reload
## xmm0 = mem[0],zero,zero,zero
mulss %xmm2, %xmm0
movaps %xmm4, %xmm9
mulss -64(%rbp), %xmm9 ## 4-byte Folded Reload
addss %xmm0, %xmm9
movaps %xmm3, %xmm0
mulss -56(%rbp), %xmm0 ## 4-byte Folded Reload
addss %xmm9, %xmm0
movaps %xmm1, %xmm9
mulss -52(%rbp), %xmm9 ## 4-byte Folded Reload
addss %xmm0, %xmm9
xorps %xmm0, %xmm0
ucomiss %xmm0, %xmm9
jne LBB0_15
jnp LBB0_17
LBB0_15: ## in Loop: Header=BB0_11 Depth=2
mulss -60(%rbp), %xmm7 ## 4-byte Folded Reload
movaps %xmm5, %xmm0
mulss -64(%rbp), %xmm0 ## 4-byte Folded Reload
addss %xmm7, %xmm0
mulss -56(%rbp), %xmm8 ## 4-byte Folded Reload
addss %xmm0, %xmm8
mulss -52(%rbp), %xmm6 ## 4-byte Folded Reload
addss %xmm8, %xmm6
xorps LCPI0_0(%rip), %xmm6
divss %xmm9, %xmm6
ucomiss LCPI0_1(%rip), %xmm6
movaps %xmm6, %xmm0
jbe LBB0_17
## %bb.16: ## in Loop: Header=BB0_11 Depth=2
movss LCPI0_1(%rip), %xmm0 ## xmm0 = [1.0E+0,0.0E+0,0.0E+0,0.0E+0]
.p2align 4, 0x90
LBB0_17: ## in Loop: Header=BB0_11 Depth=2
mulss %xmm0, %xmm4
addss %xmm5, %xmm4
movq 8(%r13), %rdx
movq (%rcx,%rdx,8), %rcx
movss %xmm4, (%rcx)
mulss %xmm0, %xmm2
addss 4(%rax), %xmm2
movss %xmm2, 4(%rcx)
mulss %xmm0, %xmm3
addss 8(%rax), %xmm3
movss %xmm3, 8(%rcx)
mulss %xmm0, %xmm1
addss 12(%rax), %xmm1
movss %xmm1, 12(%rcx)
movq -88(%rbp), %rdi ## 8-byte Reload
cmpq $0, (%rdi)
je LBB0_19
## %bb.18: ## in Loop: Header=BB0_11 Depth=2
movq _EYE_SPACE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r8, %rcx
movq %rbx, %r8
callq _interpolate_aux
movq -80(%rbp), %r8 ## 8-byte Reload
movq 8(%r13), %rdx
LBB0_19: ## in Loop: Header=BB0_11 Depth=2
movq 16(%r13), %rax
movl (%rax,%rbx,4), %ecx
movl %ecx, (%rax,%rdx,4)
movq -104(%rbp), %rax ## 8-byte Reload
movq -72(%rbp), %rsi ## 8-byte Reload
movq %rdx, (%rsi,%rax,8)
movq %rax, %rdx
movq 8(%r13), %rax
incq %rax
movslq (%r15), %rcx
cmpq %rcx, %rax
movl $1, %ecx
cmoveq %rcx, %rax
movq %rax, 8(%r13)
movq %r8, 8(%rsi,%rdx,8)
addq $2, %rdx
jmp LBB0_28
LBB0_21: ## in Loop: Header=BB0_11 Depth=2
movq %r14, %r13
movq -104(%rbp), %rdx ## 8-byte Reload
movq -80(%rbp), %r8 ## 8-byte Reload
.p2align 4, 0x90
LBB0_28: ## in Loop: Header=BB0_11 Depth=2
movslq (%r15), %rax
decq %rax
cmpq %rax, %rdx
jae LBB0_29
## %bb.8: ## in Loop: Header=BB0_11 Depth=2
incq %r12
movq %r8, %rbx
cmpq %r12, -136(%rbp) ## 8-byte Folded Reload
jne LBB0_11
## %bb.9: ## in Loop: Header=BB0_1 Depth=1
movq %rdx, %r12
movq -96(%rbp), %rax ## 8-byte Reload
movq -72(%rbp), %rcx ## 8-byte Reload
movq %rcx, -96(%rbp) ## 8-byte Spill
movq %rax, -72(%rbp) ## 8-byte Spill
movq -128(%rbp), %rcx ## 8-byte Reload
jmp LBB0_3
.p2align 4, 0x90
LBB0_2: ## in Loop: Header=BB0_1 Depth=1
movq -72(%rbp), %rax ## 8-byte Reload
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
decq %rcx
movq _MAX_CLIP_PLANES@GOTPCREL(%rip), %rsi
cmpq (%rsi), %rcx
movq -88(%rbp), %r14 ## 8-byte Reload
jbe LBB0_1
## %bb.4:
movq -120(%rbp), %rsi ## 8-byte Reload
cmpq %rsi, %rax
je LBB0_5
## %bb.31:
movq %rdx, %rbx
leaq (,%rdx,8), %rdx
movq -112(%rbp), %rdi ## 8-byte Reload
callq _MEMCPY
movq %rbx, %rax
jmp LBB0_32
LBB0_29:
movq -120(%rbp), %rsi ## 8-byte Reload
cmpq %rsi, -72(%rbp) ## 8-byte Folded Reload
je LBB0_32
## %bb.30:
shlq $3, %rdx
movq -112(%rbp), %rdi ## 8-byte Reload
callq _MEMCPY
movslq (%r15), %rax
decq %rax
LBB0_32:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_34
## %bb.33:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_7:
xorl %eax, %eax
jmp LBB0_32
LBB0_5:
movq %rdx, %rax
jmp LBB0_32
LBB0_34:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _VB_SIZE,4,2 ## @VB_SIZE
.comm _MAX_CLIP_PLANES,8,3 ## @MAX_CLIP_PLANES
.comm _EYE_SPACE,4,2 ## @EYE_SPACE
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _gl_userclip_polygon ; -- Begin function gl_userclip_polygon
.p2align 2
_gl_userclip_polygon: ; @gl_userclip_polygon
.cfi_startproc
; %bb.0:
stp d13, d12, [sp, #-144]! ; 16-byte Folded Spill
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
sub sp, 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
.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
mov x22, x2
mov x21, x1
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-136]
ldr x28, [x0, #24]
Lloh3:
adrp x20, _VB_SIZE@GOTPAGE
Lloh4:
ldr x20, [x20, _VB_SIZE@GOTPAGEOFF]
ldr w8, [x20]
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 x19, x9, x8
mov sp, x19
mov x10, #0 ; =0x0
Lloh7:
adrp x11, _MAX_CLIP_PLANES@GOTPAGE
Lloh8:
ldr x11, [x11, _MAX_CLIP_PLANES@GOTPAGEOFF]
fmov s12, #1.00000000
stp x2, x19, [x29, #-168] ; 16-byte Folded Spill
; implicit-def: $x23
stur x0, [x29, #-144] ; 8-byte Folded Spill
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_4 Depth 2
ldr x8, [x0, #16]
ldr x8, [x8, x10, lsl #3]
cbz x8, LBB0_23
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
cmp x21, #3
b.lo LBB0_30
; %bb.3: ; in Loop: Header=BB0_1 Depth=1
mov x23, #0 ; =0x0
mov x27, #0 ; =0x0
ldr x8, [x0, #8]
stur x10, [x29, #-152] ; 8-byte Folded Spill
ldr x8, [x8, x10, lsl #3]
ldp s8, s9, [x8]
ldp s10, s11, [x8, #8]
add x8, x22, x21, lsl #3
ldur x25, [x8, #-8]
LBB0_4: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x24, [x22, x27, lsl #3]
mov x0, x24
fmov s0, s8
fmov s1, s9
fmov s2, s10
fmov s3, s11
bl _INSIDE
mov x26, x0
mov x0, x25
fmov s0, s8
fmov s1, s9
fmov s2, s10
fmov s3, s11
bl _INSIDE
cbz x26, LBB0_7
; %bb.5: ; in Loop: Header=BB0_4 Depth=2
cbz x0, LBB0_14
; %bb.6: ; in Loop: Header=BB0_4 Depth=2
str x24, [x19, x23, lsl #3]
add x23, x23, #1
b LBB0_20
LBB0_7: ; in Loop: Header=BB0_4 Depth=2
cbz x0, LBB0_20
; %bb.8: ; in Loop: Header=BB0_4 Depth=2
ldr x9, [x28]
ldr x10, [x9, x24, lsl #3]
ldr x8, [x9, x25, lsl #3]
ldp s0, s2, [x10]
ldp s1, s6, [x8]
fsub s3, s0, s1
fsub s2, s2, s6
ldp s0, s4, [x10, #8]
ldp s7, s16, [x8, #8]
fsub s5, s0, s7
fsub s4, s4, s16
fmul s0, s9, s2
fmadd s0, s3, s8, s0
fmadd s0, s5, s10, s0
fmadd s17, s4, s11, s0
movi d0, #0000000000000000
fcmp s17, #0.0
b.eq LBB0_11
; %bb.9: ; in Loop: Header=BB0_4 Depth=2
fmul s0, s9, s6
fmadd s0, s1, s8, s0
fmadd s0, s7, s10, s0
fnmadd s0, s16, s11, s0
fdiv s0, s0, s17
fcmp s0, s12
b.le LBB0_11
; %bb.10: ; in Loop: Header=BB0_4 Depth=2
fmov s0, #1.00000000
LBB0_11: ; in Loop: Header=BB0_4 Depth=2
ldr x2, [x28, #8]
ldr x9, [x9, x2, lsl #3]
fmadd s1, s0, s3, s1
str s1, [x9]
ldr s1, [x8, #4]
fmadd s1, s0, s2, s1
str s1, [x9, #4]
ldr s1, [x8, #8]
fmadd s1, s0, s5, s1
str s1, [x9, #8]
ldr s1, [x8, #12]
fmadd s1, s0, s4, s1
str s1, [x9, #12]
ldur x0, [x29, #-144] ; 8-byte Folded Reload
ldr x8, [x0]
cbz x8, LBB0_13
; %bb.12: ; in Loop: Header=BB0_4 Depth=2
Lloh9:
adrp x8, _EYE_SPACE@GOTPAGE
Lloh10:
ldr x8, [x8, _EYE_SPACE@GOTPAGEOFF]
Lloh11:
ldr w1, [x8]
mov x3, x25
mov x4, x24
bl _interpolate_aux
ldr x2, [x28, #8]
LBB0_13: ; in Loop: Header=BB0_4 Depth=2
str x2, [x19, x23, lsl #3]
ldp x9, x8, [x28, #8]
ldr w10, [x8, x25, lsl #2]
str w10, [x8, x2, lsl #2]
add x23, x23, #1
add x8, x9, #1
ldrsw x10, [x20]
cmp x8, x10
mov w8, #1 ; =0x1
csinc x8, x8, x9, eq
str x8, [x28, #8]
b LBB0_20
LBB0_14: ; in Loop: Header=BB0_4 Depth=2
ldr x9, [x28]
ldr x10, [x9, x25, lsl #3]
ldr x8, [x9, x24, lsl #3]
ldp s0, s2, [x10]
ldp s1, s6, [x8]
fsub s3, s0, s1
fsub s2, s2, s6
ldp s0, s4, [x10, #8]
ldp s7, s16, [x8, #8]
fsub s5, s0, s7
fsub s4, s4, s16
fmul s0, s9, s2
fmadd s0, s3, s8, s0
fmadd s0, s5, s10, s0
fmadd s17, s4, s11, s0
movi d0, #0000000000000000
fcmp s17, #0.0
b.eq LBB0_17
; %bb.15: ; in Loop: Header=BB0_4 Depth=2
fmul s0, s9, s6
fmadd s0, s1, s8, s0
fmadd s0, s7, s10, s0
fnmadd s0, s16, s11, s0
fdiv s0, s0, s17
fcmp s0, s12
b.le LBB0_17
; %bb.16: ; in Loop: Header=BB0_4 Depth=2
fmov s0, #1.00000000
LBB0_17: ; in Loop: Header=BB0_4 Depth=2
ldr x2, [x28, #8]
ldr x9, [x9, x2, lsl #3]
fmadd s1, s0, s3, s1
str s1, [x9]
ldr s1, [x8, #4]
fmadd s1, s0, s2, s1
str s1, [x9, #4]
ldr s1, [x8, #8]
fmadd s1, s0, s5, s1
str s1, [x9, #8]
ldr s1, [x8, #12]
fmadd s1, s0, s4, s1
str s1, [x9, #12]
ldur x0, [x29, #-144] ; 8-byte Folded Reload
ldr x8, [x0]
cbz x8, LBB0_19
; %bb.18: ; in Loop: Header=BB0_4 Depth=2
Lloh12:
adrp x8, _EYE_SPACE@GOTPAGE
Lloh13:
ldr x8, [x8, _EYE_SPACE@GOTPAGEOFF]
Lloh14:
ldr w1, [x8]
mov x3, x24
mov x4, x25
bl _interpolate_aux
ldr x2, [x28, #8]
LBB0_19: ; in Loop: Header=BB0_4 Depth=2
add x8, x19, x23, lsl #3
str x2, [x8]
ldp x10, x9, [x28, #8]
ldr w11, [x9, x25, lsl #2]
str w11, [x9, x2, lsl #2]
add x9, x10, #1
ldrsw x11, [x20]
cmp x9, x11
mov w9, #1 ; =0x1
csinc x9, x9, x10, eq
str x9, [x28, #8]
add x23, x23, #2
str x24, [x8, #8]
LBB0_20: ; in Loop: Header=BB0_4 Depth=2
ldrsw x8, [x20]
sub x8, x8, #1
cmp x23, x8
b.hs LBB0_27
; %bb.21: ; in Loop: Header=BB0_4 Depth=2
add x27, x27, #1
mov x25, x24
cmp x21, x27
b.ne LBB0_4
; %bb.22: ; in Loop: Header=BB0_1 Depth=1
mov x21, x23
mov x8, x22
mov x22, x19
mov x19, x8
ldp x10, x0, [x29, #-152] ; 16-byte Folded Reload
Lloh15:
adrp x11, _MAX_CLIP_PLANES@GOTPAGE
Lloh16:
ldr x11, [x11, _MAX_CLIP_PLANES@GOTPAGEOFF]
b LBB0_24
LBB0_23: ; in Loop: Header=BB0_1 Depth=1
mov x8, x19
LBB0_24: ; in Loop: Header=BB0_1 Depth=1
sub x10, x10, #1
ldr x9, [x11]
cmp x10, x9
b.ls LBB0_1
; %bb.25:
ldur x1, [x29, #-160] ; 8-byte Folded Reload
cmp x8, x1
b.eq LBB0_31
; %bb.26:
lsl x2, x23, #3
ldur x0, [x29, #-168] ; 8-byte Folded Reload
bl _MEMCPY
b LBB0_31
LBB0_27:
ldur x1, [x29, #-160] ; 8-byte Folded Reload
cmp x19, x1
b.eq LBB0_29
; %bb.28:
lsl x2, x23, #3
ldur x0, [x29, #-168] ; 8-byte Folded Reload
bl _MEMCPY
ldrsw x8, [x20]
sub x23, x8, #1
b LBB0_31
LBB0_29:
mov x23, x8
b LBB0_31
LBB0_30:
mov x23, #0 ; =0x0
LBB0_31:
ldur x8, [x29, #-136]
Lloh17:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh18:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_33
; %bb.32:
mov x0, x23
sub sp, x29, #128
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
ldp d13, d12, [sp], #144 ; 16-byte Folded Reload
ret
LBB0_33:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGot Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _VB_SIZE,4,2 ; @VB_SIZE
.comm _MAX_CLIP_PLANES,8,3 ; @MAX_CLIP_PLANES
.comm _EYE_SPACE,4,2 ; @EYE_SPACE
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _fill_truth_swag ## -- Begin function fill_truth_swag
.p2align 4, 0x90
_fill_truth_swag: ## @fill_truth_swag
.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
movl $4136, %eax ## imm = 0x1028
callq ____chkstk_darwin
subq %rax, %rsp
popq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movss %xmm3, -4164(%rbp) ## 4-byte Spill
movss %xmm2, -4160(%rbp) ## 4-byte Spill
movss %xmm1, -4156(%rbp) ## 4-byte Spill
movss %xmm0, -4152(%rbp) ## 4-byte Spill
movl %ecx, %r12d
movl %edx, %ebx
movq %rsi, %r14
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
leaq L_.str(%rip), %rsi
leaq L_.str.1(%rip), %r13
leaq -4144(%rbp), %r15
movq %r13, %rdx
movq %r15, %rcx
callq _find_replace
leaq L_.str.2(%rip), %rsi
movq %r15, %rdi
movq %r13, %rdx
movq %r15, %rcx
callq _find_replace
leaq L_.str.3(%rip), %rsi
leaq L_.str.4(%rip), %r13
movq %r15, %rdi
movq %r13, %rdx
movq %r15, %rcx
callq _find_replace
leaq L_.str.5(%rip), %rsi
movq %r15, %rdi
movq %r13, %rdx
movq %r15, %rcx
callq _find_replace
leaq L_.str.6(%rip), %rsi
movq %r15, %rdi
movq %r13, %rdx
movq %r15, %rcx
callq _find_replace
movl $0, -4148(%rbp)
leaq -4148(%rbp), %rsi
movq %r15, %rdi
callq _read_boxes
movq %rax, %r15
movl -4148(%rbp), %esi
movq %rax, %rdi
callq _randomize_boxes
movl -4148(%rbp), %esi
movq %r15, %rdi
movss -4152(%rbp), %xmm0 ## 4-byte Reload
## xmm0 = mem[0],zero,zero,zero
movss -4156(%rbp), %xmm1 ## 4-byte Reload
## xmm1 = mem[0],zero,zero,zero
movss -4160(%rbp), %xmm2 ## 4-byte Reload
## xmm2 = mem[0],zero,zero,zero
movss -4164(%rbp), %xmm3 ## 4-byte Reload
## xmm3 = mem[0],zero,zero,zero
movl %r12d, %edx
callq _correct_boxes
cmpl $0, -4148(%rbp)
jle LBB0_7
## %bb.1:
leal 4(%rbx), %eax
cltq
addq $16, %r14
shlq $2, %rax
negq %rax
addq $16, %r15
xorps %xmm0, %xmm0
jmp LBB0_2
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_2 Depth=1
addq %rax, %r14
addq $-20, %r15
LBB0_2: ## =>This Inner Loop Header: Depth=1
movsd -8(%r15), %xmm1 ## xmm1 = mem[0],zero
ucomiss %xmm1, %xmm0
ja LBB0_6
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movshdup %xmm1, %xmm2 ## xmm2 = xmm1[1,1,3,3]
ucomiss %xmm2, %xmm0
ja LBB0_6
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movslq (%r15), %rcx
movsd -16(%r15), %xmm2 ## xmm2 = mem[0],zero
movlhps %xmm1, %xmm2 ## xmm2 = xmm2[0],xmm1[0]
movups %xmm2, -16(%r14)
cmpl %ebx, %ecx
jge LBB0_6
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
movl $1065353216, (%r14,%rcx,4) ## imm = 0x3F800000
jmp LBB0_6
LBB0_7:
movq %r15, %rdi
callq _free
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_9
## %bb.8:
addq $4136, %rsp ## imm = 0x1028
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_9:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "images"
L_.str.1: ## @.str.1
.asciz "labels"
L_.str.2: ## @.str.2
.asciz "JPEGImages"
L_.str.3: ## @.str.3
.asciz ".jpg"
L_.str.4: ## @.str.4
.asciz ".txt"
L_.str.5: ## @.str.5
.asciz ".JPG"
L_.str.6: ## @.str.6
.asciz ".JPEG"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _fill_truth_swag ; -- Begin function fill_truth_swag
.p2align 2
_fill_truth_swag: ; @fill_truth_swag
.cfi_startproc
; %bb.0:
stp d11, d10, [sp, #-96]! ; 16-byte Folded Spill
stp d9, d8, [sp, #16] ; 16-byte Folded Spill
stp x28, x27, [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
mov w9, #4112 ; =0x1010
Lloh0:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh1:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
sub sp, sp, #1, lsl #12 ; =4096
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 w27, -56
.cfi_offset w28, -64
.cfi_offset b8, -72
.cfi_offset b9, -80
.cfi_offset b10, -88
.cfi_offset b11, -96
fmov s8, s3
fmov s9, s2
fmov s10, s1
fmov s11, s0
mov x21, x3
mov x19, x2
mov x20, x1
Lloh2:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh3:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
ldr x8, [x8]
stur x8, [x29, #-88]
Lloh5:
adrp x1, l_.str@PAGE
Lloh6:
add x1, x1, l_.str@PAGEOFF
Lloh7:
adrp x22, l_.str.1@PAGE
Lloh8:
add x22, x22, l_.str.1@PAGEOFF
add x3, sp, #8
mov x2, x22
bl _find_replace
Lloh9:
adrp x1, l_.str.2@PAGE
Lloh10:
add x1, x1, l_.str.2@PAGEOFF
add x0, sp, #8
add x3, sp, #8
mov x2, x22
bl _find_replace
Lloh11:
adrp x1, l_.str.3@PAGE
Lloh12:
add x1, x1, l_.str.3@PAGEOFF
Lloh13:
adrp x22, l_.str.4@PAGE
Lloh14:
add x22, x22, l_.str.4@PAGEOFF
add x0, sp, #8
add x3, sp, #8
mov x2, x22
bl _find_replace
Lloh15:
adrp x1, l_.str.5@PAGE
Lloh16:
add x1, x1, l_.str.5@PAGEOFF
add x0, sp, #8
add x3, sp, #8
mov x2, x22
bl _find_replace
Lloh17:
adrp x1, l_.str.6@PAGE
Lloh18:
add x1, x1, l_.str.6@PAGEOFF
add x0, sp, #8
add x3, sp, #8
mov x2, x22
bl _find_replace
str wzr, [sp, #4]
add x0, sp, #8
add x1, sp, #4
bl _read_boxes
mov x22, x0
ldr w1, [sp, #4]
bl _randomize_boxes
ldr w1, [sp, #4]
mov x0, x22
fmov s0, s11
fmov s1, s10
fmov s2, s9
fmov s3, s8
mov x2, x21
bl _correct_boxes
ldr w8, [sp, #4]
cmp w8, #1
b.lt LBB0_7
; %bb.1:
mov x9, #0 ; =0x0
add w10, w19, #4
add x8, x20, #16
sub x9, x9, w10, sxtw #2
add x10, x22, #16
mov w11, #1065353216 ; =0x3f800000
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x8, x8, x9
sub x10, x10, #20
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldur s0, [x10, #-8]
fcmp s0, #0.0
b.mi LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
ldur s1, [x10, #-4]
fcmp s1, #0.0
b.mi LBB0_2
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
ldrsw x12, [x10]
ldur d2, [x10, #-16]
stur d2, [x8, #-16]
stp s0, s1, [x8, #-8]
cmp w12, w19
b.ge LBB0_2
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
str w11, [x8, x12, lsl #2]
b LBB0_2
LBB0_7:
mov x0, x22
bl _free
ldur x8, [x29, #-88]
Lloh19:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh20:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_9
; %bb.8:
add sp, sp, #1, lsl #12 ; =4096
add sp, sp, #16
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 x28, x27, [sp, #32] ; 16-byte Folded Reload
ldp d9, d8, [sp, #16] ; 16-byte Folded Reload
ldp d11, d10, [sp], #96 ; 16-byte Folded Reload
ret
LBB0_9:
bl ___stack_chk_fail
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "images"
l_.str.1: ; @.str.1
.asciz "labels"
l_.str.2: ; @.str.2
.asciz "JPEGImages"
l_.str.3: ; @.str.3
.asciz ".jpg"
l_.str.4: ; @.str.4
.asciz ".txt"
l_.str.5: ; @.str.5
.asciz ".JPG"
l_.str.6: ; @.str.6
.asciz ".JPEG"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _br_md5sha1_out ## -- Begin function br_md5sha1_out
.p2align 4, 0x90
_br_md5sha1_out: ## @br_md5sha1_out
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $88, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r12
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movslq (%rdi), %r15
movq %r15, %r13
orq $63, %r13
movl 12(%rdi), %esi
leaq -112(%rbp), %r14
movq %r14, %rdi
movl %r13d, %edx
callq _memcpy
movl 8(%r12), %esi
leaq -121(%rbp), %rdi
movl $4, %edx
callq _memcpy
movl 4(%r12), %esi
leaq -117(%rbp), %rdi
movl $5, %edx
callq _memcpy
movb $-128, -112(%rbp,%r13)
leaq -113(,%r13), %rdi
addq %rbp, %rdi
movl $65, %edx
subl %r13d, %edx
xorl %esi, %esi
callq _memset
movq %r14, %rdi
leaq -121(%rbp), %r12
movq %r12, %rsi
callq _br_md5_round
movq %r14, %rdi
leaq -117(%rbp), %rsi
callq _br_sha1_round
movq %r14, %rdi
xorl %esi, %esi
movl $56, %edx
callq _memset
leal (,%r15,8), %r13d
leaq -56(%rbp), %r15
movq %r15, %rdi
movl %r13d, %esi
callq _br_enc64le
movq %r14, %rdi
movq %r12, %rsi
callq _br_md5_round
movq %r15, %rdi
movl %r13d, %esi
callq _br_enc64be
movq %r14, %rdi
leaq -117(%rbp), %r14
movq %r14, %rsi
callq _br_sha1_round
movq %rbx, %rdi
movq %r12, %rsi
movl $4, %edx
callq _br_range_enc32le
addq $16, %rbx
movq %rbx, %rdi
movq %r14, %rsi
movl $5, %edx
callq _br_range_enc32be
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_2
## %bb.1:
addq $88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _br_md5sha1_out ; -- Begin function br_md5sha1_out
.p2align 2
_br_md5sha1_out: ; @br_md5sha1_out
.cfi_startproc
; %bb.0:
sub sp, sp, #160
stp x24, x23, [sp, #96] ; 16-byte Folded Spill
stp x22, x21, [sp, #112] ; 16-byte Folded Spill
stp x20, x19, [sp, #128] ; 16-byte Folded Spill
stp x29, x30, [sp, #144] ; 16-byte Folded Spill
add x29, sp, #144
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x1
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, #-56]
ldrsw x23, [x0]
orr x21, x23, #0x3f
ldr w1, [x0, #12]
add x22, sp, #24
add x0, sp, #24
mov x2, x21
bl _memcpy
ldr w1, [x20, #8]
add x0, sp, #20
mov w2, #4 ; =0x4
bl _memcpy
ldr w1, [x20, #4]
add x0, sp, #15
mov w2, #5 ; =0x5
bl _memcpy
add x0, x22, x21
mov w8, #128 ; =0x80
strb w8, [x0], #-1
mov w8, #65 ; =0x41
sub w2, w8, w21
mov w1, #0 ; =0x0
bl _memset
add x0, sp, #24
add x1, sp, #20
bl _br_md5_round
add x0, sp, #24
add x1, sp, #15
bl _br_sha1_round
add x0, sp, #24
mov w1, #0 ; =0x0
mov w2, #56 ; =0x38
bl _memset
lsl w20, w23, #3
add x0, x22, #56
mov x1, x20
bl _br_enc64le
add x0, sp, #24
add x1, sp, #20
bl _br_md5_round
add x0, x22, #56
mov x1, x20
bl _br_enc64be
add x0, sp, #24
add x1, sp, #15
bl _br_sha1_round
add x1, sp, #20
mov x0, x19
mov w2, #4 ; =0x4
bl _br_range_enc32le
add x0, x19, #16
add x1, sp, #15
mov w2, #5 ; =0x5
bl _br_range_enc32be
ldur x8, [x29, #-56]
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_2
; %bb.1:
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
ldp x20, x19, [sp, #128] ; 16-byte Folded Reload
ldp x22, x21, [sp, #112] ; 16-byte Folded Reload
ldp x24, x23, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #160
ret
LBB0_2:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function sh_eth_get_ethtool_stats
_sh_eth_get_ethtool_stats: ## @sh_eth_get_ethtool_stats
.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
callq _netdev_priv
movl 12(%rax), %ecx
movl %ecx, (%rbx)
movl 8(%rax), %ecx
movl %ecx, -4(%rbx)
movl 4(%rax), %ecx
movl %ecx, (%rbx)
movl (%rax), %eax
movl %eax, 4(%rbx)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _sh_eth_get_ethtool_stats
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function sh_eth_get_ethtool_stats
_sh_eth_get_ethtool_stats: ; @sh_eth_get_ethtool_stats
.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, x2
bl _netdev_priv
ldr w8, [x0, #12]
str w8, [x19]
ldr w8, [x0, #8]
stur w8, [x19, #-4]
ldr w8, [x0, #4]
str w8, [x19]
ldr w8, [x0]
str w8, [x19, #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 _sh_eth_get_ethtool_stats
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _userdiff_config ## -- Begin function userdiff_config
.p2align 4, 0x90
_userdiff_config: ## @userdiff_config
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r14
leaq L_.str(%rip), %rsi
leaq -56(%rbp), %rdx
leaq -44(%rbp), %rcx
leaq -64(%rbp), %r8
callq _parse_config_key
testq %rax, %rax
sete %al
movq -56(%rbp), %rdi
testq %rdi, %rdi
setne %cl
orb %al, %cl
xorl %eax, %eax
cmpb $1, %cl
jne LBB0_18
## %bb.1:
movl -44(%rbp), %esi
callq _userdiff_find_by_namelen
movq %rax, %r15
testq %rax, %rax
jne LBB0_3
## %bb.2:
movq _drivers@GOTPCREL(%rip), %r15
movq (%r15), %rdi
movq _ndrivers@GOTPCREL(%rip), %r12
movq (%r12), %rsi
incq %rsi
movq _drivers_alloc@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _ALLOC_GROW
movq (%r15), %r13
movq (%r12), %rax
leaq 1(%rax), %rcx
movq %rcx, (%r12)
leaq (%rax,%rax,8), %rcx
leaq (%rcx,%rcx,2), %r12
addq %rax, %r12
leaq (%r12,%r13), %r15
movq %r15, %rdi
xorl %esi, %esi
movl $28, %edx
callq _memset
movq -56(%rbp), %rdi
movl -44(%rbp), %esi
callq _xmemdupz
movl %eax, 24(%r13,%r12)
movl $-1, (%r13,%r12)
LBB0_3:
movq -64(%rbp), %r12
leaq L_.str.1(%rip), %rsi
movq %r12, %rdi
callq _strcmp
testl %eax, %eax
je LBB0_4
## %bb.5:
leaq L_.str.2(%rip), %rsi
movq %r12, %rdi
callq _strcmp
testl %eax, %eax
je LBB0_6
## %bb.7:
leaq L_.str.3(%rip), %rsi
movq %r12, %rdi
callq _strcmp
testl %eax, %eax
je LBB0_8
## %bb.9:
leaq L_.str.4(%rip), %rsi
movq %r12, %rdi
callq _strcmp
testl %eax, %eax
je LBB0_10
## %bb.11:
leaq L_.str.5(%rip), %rsi
movq %r12, %rdi
callq _strcmp
testl %eax, %eax
je LBB0_12
## %bb.13:
leaq L_.str.6(%rip), %rsi
movq %r12, %rdi
callq _strcmp
testl %eax, %eax
je LBB0_14
## %bb.15:
leaq L_.str.7(%rip), %rsi
movq %r12, %rdi
callq _strcmp
testl %eax, %eax
movl $0, %eax
jne LBB0_18
## %bb.16:
addq $4, %r15
jmp LBB0_17
LBB0_4:
addq $20, %r15
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
xorl %ecx, %ecx
callq _parse_funcname
jmp LBB0_18
LBB0_6:
addq $20, %r15
movq _REG_EXTENDED@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq _parse_funcname
jmp LBB0_18
LBB0_8:
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq _parse_tristate
jmp LBB0_18
LBB0_10:
addq $16, %r15
jmp LBB0_17
LBB0_12:
addq $12, %r15
LBB0_17:
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq _git_config_string
LBB0_18:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_14:
addq $8, %r15
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq _parse_bool
jmp LBB0_18
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "diff"
.comm _drivers,8,3 ## @drivers
.comm _ndrivers,8,3 ## @ndrivers
.comm _drivers_alloc,4,2 ## @drivers_alloc
L_.str.1: ## @.str.1
.asciz "funcname"
L_.str.2: ## @.str.2
.asciz "xfuncname"
.comm _REG_EXTENDED,4,2 ## @REG_EXTENDED
L_.str.3: ## @.str.3
.asciz "binary"
L_.str.4: ## @.str.4
.asciz "command"
L_.str.5: ## @.str.5
.asciz "textconv"
L_.str.6: ## @.str.6
.asciz "cachetextconv"
L_.str.7: ## @.str.7
.asciz "wordregex"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _userdiff_config ; -- Begin function userdiff_config
.p2align 2
_userdiff_config: ; @userdiff_config
.cfi_startproc
; %bb.0:
sub sp, sp, #80
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
add x2, sp, #24
add x3, sp, #12
add x4, sp, #16
bl _parse_config_key
mov x8, x0
ldr x0, [sp, #24]
cmp x8, #0
ccmp x0, #0, #0, ne
b.eq LBB0_10
; %bb.1:
ldr w1, [sp, #12]
bl _userdiff_find_by_namelen
mov x21, x0
cbnz x0, LBB0_3
; %bb.2:
Lloh2:
adrp x21, _drivers@GOTPAGE
Lloh3:
ldr x21, [x21, _drivers@GOTPAGEOFF]
ldr x0, [x21]
Lloh4:
adrp x22, _ndrivers@GOTPAGE
Lloh5:
ldr x22, [x22, _ndrivers@GOTPAGEOFF]
ldr x8, [x22]
Lloh6:
adrp x9, _drivers_alloc@GOTPAGE
Lloh7:
ldr x9, [x9, _drivers_alloc@GOTPAGEOFF]
Lloh8:
ldr w2, [x9]
add x1, x8, #1
bl _ALLOC_GROW
ldr x8, [x21]
ldr x9, [x22]
add x10, x9, #1
str x10, [x22]
mov w10, #28 ; =0x1c
madd x21, x9, x10, x8
mov x0, x21
mov w1, #0 ; =0x0
mov w2, #28 ; =0x1c
bl _memset
ldr x0, [sp, #24]
ldr w1, [sp, #12]
bl _xmemdupz
str w0, [x21, #24]
mov w8, #-1 ; =0xffffffff
str w8, [x21]
LBB0_3:
ldr x22, [sp, #16]
Lloh9:
adrp x1, l_.str.1@PAGE
Lloh10:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x22
bl _strcmp
cbz w0, LBB0_11
; %bb.4:
Lloh11:
adrp x1, l_.str.2@PAGE
Lloh12:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x22
bl _strcmp
cbz w0, LBB0_12
; %bb.5:
Lloh13:
adrp x1, l_.str.3@PAGE
Lloh14:
add x1, x1, l_.str.3@PAGEOFF
mov x0, x22
bl _strcmp
cbz w0, LBB0_13
; %bb.6:
Lloh15:
adrp x1, l_.str.4@PAGE
Lloh16:
add x1, x1, l_.str.4@PAGEOFF
mov x0, x22
bl _strcmp
cbz w0, LBB0_14
; %bb.7:
Lloh17:
adrp x1, l_.str.5@PAGE
Lloh18:
add x1, x1, l_.str.5@PAGEOFF
mov x0, x22
bl _strcmp
cbz w0, LBB0_15
; %bb.8:
Lloh19:
adrp x1, l_.str.6@PAGE
Lloh20:
add x1, x1, l_.str.6@PAGEOFF
mov x0, x22
bl _strcmp
cbz w0, LBB0_16
; %bb.9:
Lloh21:
adrp x1, l_.str.7@PAGE
Lloh22:
add x1, x1, l_.str.7@PAGEOFF
mov x0, x22
bl _strcmp
cbz w0, LBB0_17
LBB0_10:
mov w0, #0 ; =0x0
b LBB0_19
LBB0_11:
add x0, x21, #20
mov x1, x20
mov x2, x19
mov w3, #0 ; =0x0
bl _parse_funcname
b LBB0_19
LBB0_12:
Lloh23:
adrp x8, _REG_EXTENDED@GOTPAGE
Lloh24:
ldr x8, [x8, _REG_EXTENDED@GOTPAGEOFF]
Lloh25:
ldr w3, [x8]
add x0, x21, #20
mov x1, x20
mov x2, x19
bl _parse_funcname
b LBB0_19
LBB0_13:
mov x0, x21
mov x1, x20
mov x2, x19
bl _parse_tristate
b LBB0_19
LBB0_14:
add x0, x21, #16
b LBB0_18
LBB0_15:
add x0, x21, #12
b LBB0_18
LBB0_16:
add x0, x21, #8
mov x1, x20
mov x2, x19
bl _parse_bool
b LBB0_19
LBB0_17:
add x0, x21, #4
LBB0_18:
mov x1, x20
mov x2, x19
bl _git_config_string
LBB0_19:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "diff"
.comm _drivers,8,3 ; @drivers
.comm _ndrivers,8,3 ; @ndrivers
.comm _drivers_alloc,4,2 ; @drivers_alloc
l_.str.1: ; @.str.1
.asciz "funcname"
l_.str.2: ; @.str.2
.asciz "xfuncname"
.comm _REG_EXTENDED,4,2 ; @REG_EXTENDED
l_.str.3: ; @.str.3
.asciz "binary"
l_.str.4: ; @.str.4
.asciz "command"
l_.str.5: ; @.str.5
.asciz "textconv"
l_.str.6: ; @.str.6
.asciz "cachetextconv"
l_.str.7: ; @.str.7
.asciz "wordregex"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function mkANode
_mkANode: ## @mkANode
.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
## kill: def $esi killed $esi def $rsi
xorl %r15d, %r15d
movl %edx, %eax
subl %esi, %eax
jl LBB0_1
## %bb.2:
movl %ecx, %r13d
movq %rax, -56(%rbp) ## 8-byte Spill
movq %rdi, -104(%rbp) ## 8-byte Spill
movl %edx, -48(%rbp) ## 4-byte Spill
movl %r8d, -44(%rbp) ## 4-byte Spill
movslq %esi, %rax
movq %rax, -64(%rbp) ## 8-byte Spill
leaq (,%rax,4), %r12
movq %rsi, -80(%rbp) ## 8-byte Spill
leal -1(%rsi), %ebx
xorl %r14d, %r14d
jmp LBB0_5
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_5 Depth=1
incl %r15d
addq %r12, %rdi
movl %r13d, %esi
movl -44(%rbp), %edx ## 4-byte Reload
callq _GETCHAR
movl %eax, %r14d
LBB0_4: ## in Loop: Header=BB0_5 Depth=1
addq $4, %r12
incl %ebx
cmpl %ebx, -48(%rbp) ## 4-byte Folded Reload
je LBB0_8
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq -104(%rbp), %rax ## 8-byte Reload
movq (%rax), %rdi
cmpl %r13d, (%rdi,%r12)
jg LBB0_3
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
addq %r12, %rdi
movl %r13d, %esi
movl -44(%rbp), %edx ## 4-byte Reload
callq _GETCHAR
cmpb %al, %r14b
je LBB0_4
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movq -104(%rbp), %rax ## 8-byte Reload
movq (%rax), %rdi
jmp LBB0_3
LBB0_8:
testl %r15d, %r15d
je LBB0_1
## %bb.9:
movq -56(%rbp), %rax ## 8-byte Reload
leal 8(,%rax,8), %edi
callq _tmpalloc
movq %rax, -96(%rbp) ## 8-byte Spill
movq _ANHRDSZ@GOTPCREL(%rip), %rax
movslq %r15d, %rcx
leaq (%rcx,%rcx,2), %rdi
shlq $3, %rdi
addq (%rax), %rdi
callq _cpalloc0
leal 1(%r13), %ecx
movl %r15d, (%rax)
movq 8(%rax), %r14
movl -48(%rbp), %edx ## 4-byte Reload
movq -80(%rbp), %rsi ## 8-byte Reload
cmpl %esi, %edx
jle LBB0_24
## %bb.10:
movq %r14, -56(%rbp) ## 8-byte Spill
movq %rax, -112(%rbp) ## 8-byte Spill
movq -64(%rbp), %rax ## 8-byte Reload
shlq $2, %rax
movl $0, -64(%rbp) ## 4-byte Folded Spill
movl %esi, -68(%rbp) ## 4-byte Spill
xorl %ebx, %ebx
movl -44(%rbp), %r8d ## 4-byte Reload
movq -104(%rbp), %r12 ## 8-byte Reload
movl %ecx, -84(%rbp) ## 4-byte Spill
jmp LBB0_13
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_13 Depth=1
movq -80(%rbp), %rsi ## 8-byte Reload
movq %r15, %rax
movl -48(%rbp), %edx ## 4-byte Reload
movl -44(%rbp), %r8d ## 4-byte Reload
LBB0_12: ## in Loop: Header=BB0_13 Depth=1
incl %esi
addq $4, %rax
cmpl %esi, %edx
je LBB0_25
LBB0_13: ## =>This Inner Loop Header: Depth=1
movq (%r12), %rdi
cmpl %r13d, (%rdi,%rax)
jle LBB0_12
## %bb.14: ## in Loop: Header=BB0_13 Depth=1
movq %rsi, -80(%rbp) ## 8-byte Spill
movq %rax, %r15
addq %rax, %rdi
movl %r13d, %esi
movl %r8d, %edx
callq _GETCHAR
cmpb %al, %bl
jne LBB0_16
## %bb.15: ## in Loop: Header=BB0_13 Depth=1
movl -44(%rbp), %r14d ## 4-byte Reload
jmp LBB0_21
.p2align 4, 0x90
LBB0_16: ## in Loop: Header=BB0_13 Depth=1
testb %bl, %bl
je LBB0_20
## %bb.17: ## in Loop: Header=BB0_13 Depth=1
movq %r12, %rdi
movl -68(%rbp), %esi ## 4-byte Reload
movq -80(%rbp), %rdx ## 8-byte Reload
## kill: def $edx killed $edx killed $rdx
movl -84(%rbp), %ecx ## 4-byte Reload
movl -44(%rbp), %r8d ## 4-byte Reload
callq _mkANode
movq -56(%rbp), %rcx ## 8-byte Reload
movq %rax, 16(%rcx)
movq %rcx, %rax
movl -64(%rbp), %ebx ## 4-byte Reload
testl %ebx, %ebx
je LBB0_19
## %bb.18: ## in Loop: Header=BB0_13 Depth=1
movl %ebx, (%rax)
shll $3, %ebx
movl %ebx, %edi
callq _cpalloc
movq -56(%rbp), %rcx ## 8-byte Reload
movq %rax, 8(%rcx)
movq %rax, %rdi
movq -96(%rbp), %rsi ## 8-byte Reload
movl %ebx, %edx
callq _memcpy
movq -56(%rbp), %rax ## 8-byte Reload
LBB0_19: ## in Loop: Header=BB0_13 Depth=1
addq $24, %rax
movq %rax, -56(%rbp) ## 8-byte Spill
movl $0, -64(%rbp) ## 4-byte Folded Spill
movq -80(%rbp), %rax ## 8-byte Reload
## kill: def $eax killed $eax killed $rax
movl %eax, -68(%rbp) ## 4-byte Spill
LBB0_20: ## in Loop: Header=BB0_13 Depth=1
movl -44(%rbp), %r14d ## 4-byte Reload
movq (%r12), %rdi
addq %r15, %rdi
movl %r13d, %esi
movl %r14d, %edx
callq _GETCHAR
movl %eax, %ebx
LBB0_21: ## in Loop: Header=BB0_13 Depth=1
movq (%r12), %rdi
addq %r15, %rdi
movl %r13d, %esi
movl %r14d, %edx
callq _GETCHAR
movq -56(%rbp), %rcx ## 8-byte Reload
movb %al, 4(%rcx)
movq (%r12), %rax
movl -84(%rbp), %ecx ## 4-byte Reload
cmpl %ecx, (%rax,%r15)
jne LBB0_11
## %bb.22: ## in Loop: Header=BB0_13 Depth=1
addq %r15, %rax
movl -64(%rbp), %edx ## 4-byte Reload
movslq %edx, %rsi
incl %edx
movl %edx, -64(%rbp) ## 4-byte Spill
movq -96(%rbp), %rdx ## 8-byte Reload
movq %rax, (%rdx,%rsi,8)
jmp LBB0_11
LBB0_1:
xorl %eax, %eax
jmp LBB0_28
LBB0_24:
movq %rax, %rbx
movq -104(%rbp), %rdi ## 8-byte Reload
## kill: def $esi killed $esi killed $rsi
movl -44(%rbp), %r8d ## 4-byte Reload
callq _mkANode
movq %rax, 16(%r14)
jmp LBB0_27
LBB0_25:
movq %r12, %rdi
movl -68(%rbp), %esi ## 4-byte Reload
callq _mkANode
movq -56(%rbp), %rcx ## 8-byte Reload
movq %rax, 16(%rcx)
movl -64(%rbp), %r15d ## 4-byte Reload
testl %r15d, %r15d
movq -112(%rbp), %rbx ## 8-byte Reload
je LBB0_27
## %bb.26:
movl %r15d, (%rcx)
shll $3, %r15d
movl %r15d, %edi
movq %rcx, %r14
callq _cpalloc
movq %rax, 8(%r14)
movq %rax, %rdi
movq -96(%rbp), %rsi ## 8-byte Reload
movl %r15d, %edx
callq _memcpy
LBB0_27:
movq -96(%rbp), %rdi ## 8-byte Reload
callq _pfree
movq %rbx, %rax
LBB0_28:
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ANHRDSZ,8,3 ## @ANHRDSZ
.no_dead_strip _mkANode
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function mkANode
_mkANode: ; @mkANode
.cfi_startproc
; %bb.0:
sub sp, sp, #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
subs w26, w2, w1
b.lt LBB0_20
; %bb.1:
mov x19, x4
mov x23, x3
mov x20, x2
mov x22, x1
mov x21, x0
mov w24, #0 ; =0x0
mov w25, #0 ; =0x0
sxtw x8, w22
str x8, [sp, #16] ; 8-byte Folded Spill
sbfiz x27, x22, #2, #32
add w28, w26, #1
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
add w25, w25, #1
add x0, x8, x27
mov x1, x23
mov x2, x19
bl _GETCHAR
mov x24, x0
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
add x27, x27, #4
subs w28, w28, #1
b.eq LBB0_7
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr x8, [x21]
ldr w9, [x8, x27]
cmp w9, w23
b.gt LBB0_2
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
add x0, x8, x27
mov x1, x23
mov x2, x19
bl _GETCHAR
and w8, w24, #0xff
cmp w8, w0, uxtb
b.eq LBB0_3
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x21]
b LBB0_2
LBB0_7:
cbz w25, LBB0_20
; %bb.8:
lsl w8, w26, #3
add w0, w8, #8
bl _tmpalloc
str x0, [sp, #24] ; 8-byte Folded Spill
Lloh0:
adrp x8, _ANHRDSZ@GOTPAGE
Lloh1:
ldr x8, [x8, _ANHRDSZ@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
mov w9, #24 ; =0x18
smaddl x0, w25, w9, x8
bl _cpalloc0
str w25, [x0]
ldr x25, [x0, #8]
add w26, w23, #1
cmp w20, w22
b.le LBB0_21
; %bb.9:
str x0, [sp, #8] ; 8-byte Folded Spill
mov w27, #0 ; =0x0
mov w28, #0 ; =0x0
ldr x8, [sp, #16] ; 8-byte Folded Reload
lsl x24, x8, #2
str w22, [sp, #16] ; 4-byte Folded Spill
b LBB0_11
LBB0_10: ; in Loop: Header=BB0_11 Depth=1
add w22, w22, #1
add x24, x24, #4
cmp w20, w22
b.eq LBB0_22
LBB0_11: ; =>This Inner Loop Header: Depth=1
ldr x8, [x21]
ldr w9, [x8, x24]
cmp w9, w23
b.le LBB0_10
; %bb.12: ; in Loop: Header=BB0_11 Depth=1
add x0, x8, x24
mov x1, x23
mov x2, x19
bl _GETCHAR
and w8, w28, #0xff
cmp w8, w0, uxtb
b.eq LBB0_18
; %bb.13: ; in Loop: Header=BB0_11 Depth=1
tst w28, #0xff
b.eq LBB0_17
; %bb.14: ; in Loop: Header=BB0_11 Depth=1
mov x0, x21
ldr w1, [sp, #16] ; 4-byte Folded Reload
mov x2, x22
mov x3, x26
mov x4, x19
bl _mkANode
str x0, [x25, #16]
cbz w27, LBB0_16
; %bb.15: ; in Loop: Header=BB0_11 Depth=1
str w27, [x25]
lsl w27, w27, #3
mov x0, x27
bl _cpalloc
str x0, [x25, #8]
ldr x1, [sp, #24] ; 8-byte Folded Reload
mov x2, x27
bl _memcpy
LBB0_16: ; in Loop: Header=BB0_11 Depth=1
mov w27, #0 ; =0x0
add x25, x25, #24
str w22, [sp, #16] ; 4-byte Folded Spill
LBB0_17: ; in Loop: Header=BB0_11 Depth=1
ldr x8, [x21]
add x0, x8, x24
mov x1, x23
mov x2, x19
bl _GETCHAR
mov x28, x0
LBB0_18: ; in Loop: Header=BB0_11 Depth=1
ldr x8, [x21]
add x0, x8, x24
mov x1, x23
mov x2, x19
bl _GETCHAR
strb w0, [x25, #4]
ldr x8, [x21]
add x8, x8, x24
ldr w9, [x8]
cmp w9, w26
b.ne LBB0_10
; %bb.19: ; in Loop: Header=BB0_11 Depth=1
ldr x9, [sp, #24] ; 8-byte Folded Reload
str x8, [x9, w27, sxtw #3]
add w27, w27, #1
b LBB0_10
LBB0_20:
mov x0, #0 ; =0x0
b LBB0_25
LBB0_21:
mov x23, x0
mov x0, x21
mov x1, x22
mov x2, x20
mov x3, x26
mov x4, x19
bl _mkANode
str x0, [x25, #16]
b LBB0_24
LBB0_22:
mov x0, x21
ldr w1, [sp, #16] ; 4-byte Folded Reload
mov x2, x20
mov x3, x26
mov x4, x19
bl _mkANode
str x0, [x25, #16]
ldr x23, [sp, #8] ; 8-byte Folded Reload
cbz w27, LBB0_24
; %bb.23:
str w27, [x25]
lsl w19, w27, #3
mov x0, x19
bl _cpalloc
str x0, [x25, #8]
ldr x1, [sp, #24] ; 8-byte Folded Reload
mov x2, x19
bl _memcpy
LBB0_24:
ldr x0, [sp, #24] ; 8-byte Folded Reload
bl _pfree
mov x0, x23
LBB0_25:
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
ldp x28, x27, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #128
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _ANHRDSZ,8,3 ; @ANHRDSZ
.no_dead_strip _mkANode
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function affs_symlink_readpage
_affs_symlink_readpage: ## @affs_symlink_readpage
.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, %rbx
movq (%rsi), %rax
movq (%rax), %r12
movq %rsi, %rdi
callq _page_address
movq %rax, %r14
movl 4(%r12), %esi
leaq L_.str(%rip), %rdi
callq _pr_debug
movl (%r12), %edi
movl 4(%r12), %esi
callq _affs_bread
testq %rax, %rax
je LBB0_21
## %bb.1:
movq %rax, -48(%rbp) ## 8-byte Spill
movq (%rax), %r15
movq (%r15), %rdi
movl $58, %esi
callq _strchr
testq %rax, %rax
je LBB0_2
## %bb.3:
movl (%r12), %edi
callq _AFFS_SB
movq %rax, %r13
leaq 8(%rax), %r12
movq %r12, %rdi
callq _spin_lock
movq (%r13), %rcx
testq %rcx, %rcx
leaq L_.str.1(%rip), %rax
cmovneq %rcx, %rax
movzbl (%rax), %ecx
testb %cl, %cl
je LBB0_7
## %bb.4:
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movb %cl, (%r14,%r13)
movzbl -1(%rax,%r13), %ecx
decq %r13
testb %cl, %cl
jne LBB0_5
## %bb.6:
movq %r12, %rdi
callq _spin_unlock
leaq 1(%r13), %rax
cmpq $1023, %rax ## imm = 0x3FF
jle LBB0_8
jmp LBB0_20
LBB0_21:
movq %rbx, %rdi
callq _SetPageError
movq %rbx, %rdi
callq _unlock_page
movq _EIO@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
jmp LBB0_22
LBB0_2:
xorl %eax, %eax
xorl %r13d, %r13d
xorl %ecx, %ecx
jmp LBB0_14
LBB0_7:
movq %r12, %rdi
callq _spin_unlock
xorl %r13d, %r13d
LBB0_8:
movslq %r13d, %rcx
movl $1023, %eax ## imm = 0x3FF
subl %ecx, %eax
movq %r14, %rsi
addq %rcx, %rsi
shlq $32, %rcx
xorl %edx, %edx
movabsq $4294967296, %rdi ## imm = 0x100000000
.p2align 4, 0x90
LBB0_9: ## =>This Inner Loop Header: Depth=1
movq (%r15), %r8
movzbl (%r8,%rdx), %r8d
cmpb $58, %r8b
je LBB0_23
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
movb %r8b, (%rsi,%rdx)
incq %rdx
addq %rdi, %rcx
cmpq %rdx, %rax
jne LBB0_9
## %bb.11:
addl %edx, %r13d
cmpl $1022, %r13d ## imm = 0x3FE
jle LBB0_13
jmp LBB0_20
LBB0_23:
addl %edx, %r13d
incl %r13d
sarq $32, %rcx
movb $47, (%r14,%rcx)
movl %edx, %eax
cmpl $1022, %r13d ## imm = 0x3FE
jg LBB0_20
LBB0_13:
incl %eax
cltq
movb $47, %cl
jmp LBB0_14
.p2align 4, 0x90
LBB0_19: ## in Loop: Header=BB0_14 Depth=1
movslq %r13d, %rdx
incl %r13d
movb %cl, (%r14,%rdx)
incq %rax
cmpl $1022, %edx ## imm = 0x3FE
jge LBB0_20
LBB0_14: ## =>This Inner Loop Header: Depth=1
movl %ecx, %edx
movq (%r15), %rcx
movzbl (%rcx,%rax), %ecx
testb %cl, %cl
je LBB0_20
## %bb.15: ## in Loop: Header=BB0_14 Depth=1
cmpl $1019, %r13d ## imm = 0x3FB
jg LBB0_19
## %bb.16: ## in Loop: Header=BB0_14 Depth=1
cmpb $47, %dl
jne LBB0_19
## %bb.17: ## in Loop: Header=BB0_14 Depth=1
cmpb $47, %cl
jne LBB0_19
## %bb.18: ## in Loop: Header=BB0_14 Depth=1
movslq %r13d, %rdx
movw $11822, (%r14,%rdx) ## imm = 0x2E2E
addl $2, %r13d
jmp LBB0_19
LBB0_20:
movslq %r13d, %rax
movb $0, (%r14,%rax)
movq -48(%rbp), %rdi ## 8-byte Reload
callq _affs_brelse
movq %rbx, %rdi
callq _SetPageUptodate
movq %rbx, %rdi
callq _unlock_page
xorl %eax, %eax
LBB0_22:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "get_link(ino=%lu)\n"
L_.str.1: ## @.str.1
.asciz "/"
.comm _EIO,4,2 ## @EIO
.no_dead_strip _affs_symlink_readpage
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function affs_symlink_readpage
_affs_symlink_readpage: ; @affs_symlink_readpage
.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, x1
ldr x8, [x1]
ldr x22, [x8]
mov x0, x1
bl _page_address
mov x20, x0
ldr w1, [x22, #4]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _pr_debug
ldp w0, w1, [x22]
bl _affs_bread
cbz x0, LBB0_7
; %bb.1:
mov x21, x0
ldr x23, [x0]
ldr x0, [x23]
mov w1, #58 ; =0x3a
bl _strchr
cbz x0, LBB0_8
; %bb.2:
ldr w0, [x22]
bl _AFFS_SB
mov x22, x0
add x0, x0, #8
bl _spin_lock
ldr x8, [x22]
Lloh2:
adrp x9, l_.str.1@PAGE
Lloh3:
add x9, x9, l_.str.1@PAGEOFF
cmp x8, #0
csel x9, x9, x8, eq
ldrb w8, [x9]
cbz w8, LBB0_9
; %bb.3:
mov x24, #0 ; =0x0
sub x9, x9, #1
LBB0_4: ; =>This Inner Loop Header: Depth=1
strb w8, [x20, x24]
ldrb w8, [x9, x24]
sub x24, x24, #1
cbnz w8, LBB0_4
; %bb.5:
add x0, x22, #8
bl _spin_unlock
add x8, x24, #1
cmp x8, #1023
b.gt LBB0_24
; %bb.6:
; kill: def $w24 killed $w24 killed $x24 def $x24
b LBB0_10
LBB0_7:
mov x0, x19
bl _SetPageError
mov x0, x19
bl _unlock_page
Lloh4:
adrp x8, _EIO@GOTPAGE
Lloh5:
ldr x8, [x8, _EIO@GOTPAGEOFF]
Lloh6:
ldr w8, [x8]
neg w0, w8
b LBB0_25
LBB0_8:
mov x8, #0 ; =0x0
mov w24, #0 ; =0x0
mov w12, #0 ; =0x0
b LBB0_16
LBB0_9:
add x0, x22, #8
bl _spin_unlock
mov w24, #0 ; =0x0
LBB0_10:
mov x9, #0 ; =0x0
mov w8, #1023 ; =0x3ff
sub w8, w8, w24
sbfiz x10, x24, #32, #32
add x11, x20, w24, sxtw
mov x12, #4294967296 ; =0x100000000
LBB0_11: ; =>This Inner Loop Header: Depth=1
ldr x13, [x23]
ldrb w14, [x13, x9]
cmp w14, #58
b.eq LBB0_14
; %bb.12: ; in Loop: Header=BB0_11 Depth=1
add x13, x9, #1
strb w14, [x11, x9]
add x10, x10, x12
mov x9, x13
cmp x8, x13
b.ne LBB0_11
; %bb.13:
add w24, w24, w13
cmp w24, #1022
b.le LBB0_15
b LBB0_24
LBB0_14:
add w8, w24, w9
add w24, w8, #1
asr x8, x10, #32
mov w10, #47 ; =0x2f
strb w10, [x20, x8]
mov x8, x9
cmp w24, #1022
b.gt LBB0_24
LBB0_15:
add w8, w8, #1
sxtw x8, w8
mov w12, #47 ; =0x2f
LBB0_16:
mov w9, #11822 ; =0x2e2e
mov x10, x24
b LBB0_18
LBB0_17: ; in Loop: Header=BB0_18 Depth=1
add w24, w10, #1
strb w11, [x20, w10, sxtw]
add x8, x8, #1
mov x12, x11
cmp w10, #1022
mov x10, x24
b.ge LBB0_24
LBB0_18: ; =>This Inner Loop Header: Depth=1
ldr x11, [x23]
ldrb w11, [x11, x8]
cbz w11, LBB0_23
; %bb.19: ; in Loop: Header=BB0_18 Depth=1
cmp w10, #1019
b.gt LBB0_17
; %bb.20: ; in Loop: Header=BB0_18 Depth=1
cmp w12, #47
b.ne LBB0_17
; %bb.21: ; in Loop: Header=BB0_18 Depth=1
cmp w11, #47
b.ne LBB0_17
; %bb.22: ; in Loop: Header=BB0_18 Depth=1
strh w9, [x20, w10, sxtw]
add w10, w10, #2
b LBB0_17
LBB0_23:
mov x24, x10
LBB0_24:
strb wzr, [x20, w24, sxtw]
mov x0, x21
bl _affs_brelse
mov x0, x19
bl _SetPageUptodate
mov x0, x19
bl _unlock_page
mov w0, #0 ; =0x0
LBB0_25:
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 Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "get_link(ino=%lu)\n"
l_.str.1: ; @.str.1
.asciz "/"
.comm _EIO,4,2 ; @EIO
.no_dead_strip _affs_symlink_readpage
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function set_number_format
_set_number_format: ## @set_number_format
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl %esi, %r14d
movq %rdi, %rbx
movl $1, %edi
callq _assert
movw $11813, (%rbx) ## imm = 0x2E25
leal 9(%r14), %edx
movl $2, %ecx
movslq %r14d, %rax
cmpl $19, %edx
jb LBB0_2
## %bb.1:
imulq $-1717986919, %rax, %rcx ## imm = 0x99999999
movq %rcx, %rdx
shrq $63, %rdx
shrq $34, %rcx
addl %edx, %ecx
addb $48, %cl
movb %cl, 2(%rbx)
movl $1, %ecx
LBB0_2:
imulq $1717986919, %rax, %rdx ## imm = 0x66666667
movq %rdx, %rsi
shrq $63, %rsi
shrq $34, %rdx
addl %esi, %edx
addl %edx, %edx
leal (%rdx,%rdx,4), %edx
subl %edx, %eax
addb $48, %al
movb %al, (%rbx,%rcx)
movw $103, 1(%rbx,%rcx)
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _set_number_format
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function set_number_format
_set_number_format: ; @set_number_format
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
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 w0, #1 ; =0x1
bl _assert
mov w8, #11813 ; =0x2e25
strh w8, [x19]
add w8, w20, #9
cmp w8, #19
b.hs LBB0_2
; %bb.1:
mov w8, #2 ; =0x2
b LBB0_3
LBB0_2:
mov w8, #-1717986919 ; =0x99999999
smull x8, w20, w8
lsr x9, x8, #63
lsr x8, x8, #34
add w8, w8, w9
add w8, w8, #48
strb w8, [x19, #2]
mov w8, #1 ; =0x1
LBB0_3:
mov w9, #26215 ; =0x6667
movk w9, #26214, lsl #16
smull x9, w20, w9
lsr x10, x9, #63
lsr x9, x9, #34
add w9, w9, w10
mov w10, #10 ; =0xa
msub w9, w9, w10, w20
add w9, w9, #48
add x8, x19, x8
strb w9, [x8]
mov w9, #103 ; =0x67
sturh w9, [x8, #1]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _set_number_format
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _sslread ## -- Begin function sslread
.p2align 4, 0x90
_sslread: ## @sslread
.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
movl $1025, %r14d ## imm = 0x401
xorl %r13d, %r13d
leaq -41(%rbp), %r15
xorl %r12d, %r12d
testq %r12, %r12
je LBB0_2
.p2align 4, 0x90
LBB0_3:
testl $1023, %r13d ## imm = 0x3FF
jne LBB0_6
## %bb.4:
movq %r12, %rdi
movl %r14d, %esi
callq _realloc
jmp LBB0_5
.p2align 4, 0x90
LBB0_2:
movl $1024, %edi ## imm = 0x400
movl $2, %esi
callq _calloc
LBB0_5:
movq %rax, %r12
LBB0_6:
movl (%rbx), %edi
movq %r15, %rsi
movl $1, %edx
callq _SSL_read
cmpl $1, %eax
jne LBB0_8
## %bb.7:
movzbl -41(%rbp), %eax
movb %al, (%r12,%r13)
incq %r13
addl $1024, %r14d ## imm = 0x400
testq %r12, %r12
jne LBB0_3
jmp LBB0_2
LBB0_8:
movq %r12, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _sslread ; -- Begin function sslread
.p2align 2
_sslread: ; @sslread
.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
mov x22, #0 ; =0x0
mov x21, #0 ; =0x0
mov w20, #1025 ; =0x401
cbz x21, LBB0_3
LBB0_1:
tst w22, #0x3ff
b.ne LBB0_5
; %bb.2:
mov x0, x21
mov x1, x20
bl _realloc
b LBB0_4
LBB0_3:
mov w0, #1024 ; =0x400
mov w1, #2 ; =0x2
bl _calloc
LBB0_4:
mov x21, x0
LBB0_5:
ldr w0, [x19]
add x1, sp, #15
mov w2, #1 ; =0x1
bl _SSL_read
cmp w0, #1
b.ne LBB0_7
; %bb.6:
ldrb w8, [sp, #15]
strb w8, [x21, x22]
add x22, x22, #1
add w20, w20, #1024
cbnz x21, LBB0_1
b LBB0_3
LBB0_7:
mov x0, x21
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function quirk_intel_qat_vf_cap
_quirk_intel_qat_vf_cap: ## @quirk_intel_qat_vf_cap
.cfi_startproc
## %bb.0:
cmpl $0, (%rdi)
je LBB0_1
## %bb.12:
retq
LBB0_1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movq _PCI_CAP_ID_EXP@GOTPCREL(%rip), %r15
movl (%r15), %esi
callq _pci_find_capability
testl %eax, %eax
je LBB0_2
LBB0_11:
addq $24, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_2:
movq _PCI_CAP_ID_MSI@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _pci_find_capability
testl %eax, %eax
je LBB0_11
## %bb.3:
incl %eax
leaq -40(%rbp), %rdx
movq %rbx, %rdi
movl %eax, %esi
callq _pci_read_config_byte
cmpq $0, -40(%rbp)
jne LBB0_11
## %bb.4:
leaq -28(%rbp), %rdx
movq %rbx, %rdi
movl $80, %esi
callq _pci_read_config_word
movl -28(%rbp), %eax
cmpl (%r15), %eax
jne LBB0_11
## %bb.5:
movl $80, (%rbx)
movq _PCI_EXP_FLAGS@GOTPCREL(%rip), %rax
movl (%rax), %esi
addl $80, %esi
leaq -28(%rbp), %r14
movq %rbx, %rdi
movq %r14, %rdx
callq _pci_read_config_word
movl -28(%rbp), %eax
movl %eax, 4(%rbx)
movq _PCI_EXP_DEVCAP@GOTPCREL(%rip), %rax
movl (%rax), %esi
addl $80, %esi
movq %rbx, %rdi
movq %r14, %rdx
callq _pci_read_config_word
movq _PCI_EXP_DEVCAP_PAYLOAD@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl -28(%rbp), %eax
movl %eax, 8(%rbx)
movq _PCI_CFG_SPACE_EXP_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 16(%rbx)
movq _PCI_CFG_SPACE_SIZE@GOTPCREL(%rip), %r14
movl (%r14), %esi
leaq -32(%rbp), %rdx
movq %rbx, %rdi
callq _pci_read_config_dword
movq _PCIBIOS_SUCCESSFUL@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_7
## %bb.6:
cmpl $-1, -32(%rbp)
jne LBB0_8
LBB0_7:
movl (%r14), %eax
movl %eax, 16(%rbx)
LBB0_8:
movl (%r15), %esi
movq %rbx, %rdi
callq _pci_find_saved_cap
testq %rax, %rax
jne LBB0_11
## %bb.9:
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $60, %edi
callq _kzalloc
testq %rax, %rax
je LBB0_11
## %bb.10:
movl (%r15), %ecx
movl %ecx, 8(%rax)
movq $0, 24(%rax)
movl $28, 12(%rax)
movq 16(%rax), %r14
movq _PCI_EXP_DEVCTL@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movq %rbx, %rdi
movq %r14, %rdx
movq %rax, %r15
callq _pcie_capability_read_word
movq _PCI_EXP_LNKCTL@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq 4(%r14), %rdx
movq %rbx, %rdi
callq _pcie_capability_read_word
movq _PCI_EXP_SLTCTL@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq 8(%r14), %rdx
movq %rbx, %rdi
callq _pcie_capability_read_word
movq _PCI_EXP_RTCTL@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq 12(%r14), %rdx
movq %rbx, %rdi
callq _pcie_capability_read_word
movq _PCI_EXP_DEVCTL2@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq 16(%r14), %rdx
movq %rbx, %rdi
callq _pcie_capability_read_word
movq _PCI_EXP_LNKCTL2@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq 20(%r14), %rdx
movq %rbx, %rdi
callq _pcie_capability_read_word
movq _PCI_EXP_SLTCTL2@GOTPCREL(%rip), %rax
movl (%rax), %esi
addq $24, %r14
movq %rbx, %rdi
movq %r14, %rdx
callq _pcie_capability_read_word
addq $12, %rbx
movq %r15, %rdi
movq %rbx, %rsi
callq _hlist_add_head
jmp LBB0_11
.cfi_endproc
## -- End function
.comm _PCI_CAP_ID_EXP,4,2 ## @PCI_CAP_ID_EXP
.comm _PCI_CAP_ID_MSI,4,2 ## @PCI_CAP_ID_MSI
.comm _PCI_EXP_FLAGS,4,2 ## @PCI_EXP_FLAGS
.comm _PCI_EXP_DEVCAP,4,2 ## @PCI_EXP_DEVCAP
.comm _PCI_EXP_DEVCAP_PAYLOAD,4,2 ## @PCI_EXP_DEVCAP_PAYLOAD
.comm _PCI_CFG_SPACE_EXP_SIZE,4,2 ## @PCI_CFG_SPACE_EXP_SIZE
.comm _PCI_CFG_SPACE_SIZE,4,2 ## @PCI_CFG_SPACE_SIZE
.comm _PCIBIOS_SUCCESSFUL,8,3 ## @PCIBIOS_SUCCESSFUL
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _PCI_EXP_DEVCTL,4,2 ## @PCI_EXP_DEVCTL
.comm _PCI_EXP_LNKCTL,4,2 ## @PCI_EXP_LNKCTL
.comm _PCI_EXP_SLTCTL,4,2 ## @PCI_EXP_SLTCTL
.comm _PCI_EXP_RTCTL,4,2 ## @PCI_EXP_RTCTL
.comm _PCI_EXP_DEVCTL2,4,2 ## @PCI_EXP_DEVCTL2
.comm _PCI_EXP_LNKCTL2,4,2 ## @PCI_EXP_LNKCTL2
.comm _PCI_EXP_SLTCTL2,4,2 ## @PCI_EXP_SLTCTL2
.comm _PCI_EXP_SAVE_REGS,4,2 ## @PCI_EXP_SAVE_REGS
.no_dead_strip _quirk_intel_qat_vf_cap
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function quirk_intel_qat_vf_cap
_quirk_intel_qat_vf_cap: ; @quirk_intel_qat_vf_cap
.cfi_startproc
; %bb.0:
ldr w8, [x0]
cbz w8, LBB0_2
; %bb.1:
ret
LBB0_2:
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
Lloh0:
adrp x20, _PCI_CAP_ID_EXP@GOTPAGE
Lloh1:
ldr x20, [x20, _PCI_CAP_ID_EXP@GOTPAGEOFF]
ldr w1, [x20]
bl _pci_find_capability
cbz w0, LBB0_4
LBB0_3:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
LBB0_4:
Lloh2:
adrp x8, _PCI_CAP_ID_MSI@GOTPAGE
Lloh3:
ldr x8, [x8, _PCI_CAP_ID_MSI@GOTPAGEOFF]
Lloh4:
ldr w1, [x8]
mov x0, x19
bl _pci_find_capability
cbz w0, LBB0_3
; %bb.5:
add w1, w0, #1
add x2, sp, #8
mov x0, x19
bl _pci_read_config_byte
ldr x8, [sp, #8]
cbnz x8, LBB0_3
; %bb.6:
mov w21, #80 ; =0x50
add x2, sp, #4
mov x0, x19
mov w1, #80 ; =0x50
bl _pci_read_config_word
ldr w8, [sp, #4]
ldr w9, [x20]
cmp w8, w9
b.ne LBB0_3
; %bb.7:
str w21, [x19]
Lloh5:
adrp x8, _PCI_EXP_FLAGS@GOTPAGE
Lloh6:
ldr x8, [x8, _PCI_EXP_FLAGS@GOTPAGEOFF]
Lloh7:
ldr w8, [x8]
add w1, w8, #80
add x2, sp, #4
mov x0, x19
bl _pci_read_config_word
ldr w8, [sp, #4]
str w8, [x19, #4]
Lloh8:
adrp x8, _PCI_EXP_DEVCAP@GOTPAGE
Lloh9:
ldr x8, [x8, _PCI_EXP_DEVCAP@GOTPAGEOFF]
Lloh10:
ldr w8, [x8]
add w1, w8, #80
add x2, sp, #4
mov x0, x19
bl _pci_read_config_word
ldr w8, [sp, #4]
Lloh11:
adrp x9, _PCI_EXP_DEVCAP_PAYLOAD@GOTPAGE
Lloh12:
ldr x9, [x9, _PCI_EXP_DEVCAP_PAYLOAD@GOTPAGEOFF]
Lloh13:
ldr w9, [x9]
orr w8, w9, w8
Lloh14:
adrp x9, _PCI_CFG_SPACE_EXP_SIZE@GOTPAGE
Lloh15:
ldr x9, [x9, _PCI_CFG_SPACE_EXP_SIZE@GOTPAGEOFF]
str w8, [x19, #8]
Lloh16:
ldr w8, [x9]
str w8, [x19, #16]
Lloh17:
adrp x21, _PCI_CFG_SPACE_SIZE@GOTPAGE
Lloh18:
ldr x21, [x21, _PCI_CFG_SPACE_SIZE@GOTPAGEOFF]
ldr w1, [x21]
mov x2, sp
mov x0, x19
bl _pci_read_config_dword
Lloh19:
adrp x8, _PCIBIOS_SUCCESSFUL@GOTPAGE
Lloh20:
ldr x8, [x8, _PCIBIOS_SUCCESSFUL@GOTPAGEOFF]
Lloh21:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_9
; %bb.8:
ldr w8, [sp]
cmn w8, #1
b.ne LBB0_10
LBB0_9:
ldr w8, [x21]
str w8, [x19, #16]
LBB0_10:
ldr w1, [x20]
mov x0, x19
bl _pci_find_saved_cap
cbnz x0, LBB0_3
; %bb.11:
Lloh22:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh23:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh24:
ldr w1, [x8]
mov w0, #60 ; =0x3c
bl _kzalloc
cbz x0, LBB0_3
; %bb.12:
ldr w8, [x20]
str xzr, [x0, #24]
mov w9, #28 ; =0x1c
stp w8, w9, [x0, #8]
ldr x21, [x0, #16]
Lloh25:
adrp x8, _PCI_EXP_DEVCTL@GOTPAGE
Lloh26:
ldr x8, [x8, _PCI_EXP_DEVCTL@GOTPAGEOFF]
Lloh27:
ldr w1, [x8]
mov x20, x0
mov x0, x19
mov x2, x21
bl _pcie_capability_read_word
Lloh28:
adrp x8, _PCI_EXP_LNKCTL@GOTPAGE
Lloh29:
ldr x8, [x8, _PCI_EXP_LNKCTL@GOTPAGEOFF]
Lloh30:
ldr w1, [x8]
add x2, x21, #4
mov x0, x19
bl _pcie_capability_read_word
Lloh31:
adrp x8, _PCI_EXP_SLTCTL@GOTPAGE
Lloh32:
ldr x8, [x8, _PCI_EXP_SLTCTL@GOTPAGEOFF]
Lloh33:
ldr w1, [x8]
add x2, x21, #8
mov x0, x19
bl _pcie_capability_read_word
Lloh34:
adrp x8, _PCI_EXP_RTCTL@GOTPAGE
Lloh35:
ldr x8, [x8, _PCI_EXP_RTCTL@GOTPAGEOFF]
Lloh36:
ldr w1, [x8]
add x2, x21, #12
mov x0, x19
bl _pcie_capability_read_word
Lloh37:
adrp x8, _PCI_EXP_DEVCTL2@GOTPAGE
Lloh38:
ldr x8, [x8, _PCI_EXP_DEVCTL2@GOTPAGEOFF]
Lloh39:
ldr w1, [x8]
add x2, x21, #16
mov x0, x19
bl _pcie_capability_read_word
Lloh40:
adrp x8, _PCI_EXP_LNKCTL2@GOTPAGE
Lloh41:
ldr x8, [x8, _PCI_EXP_LNKCTL2@GOTPAGEOFF]
Lloh42:
ldr w1, [x8]
add x2, x21, #20
mov x0, x19
bl _pcie_capability_read_word
Lloh43:
adrp x8, _PCI_EXP_SLTCTL2@GOTPAGE
Lloh44:
ldr x8, [x8, _PCI_EXP_SLTCTL2@GOTPAGEOFF]
Lloh45:
ldr w1, [x8]
add x2, x21, #24
mov x0, x19
bl _pcie_capability_read_word
add x1, x19, #12
mov x0, x20
bl _hlist_add_head
b LBB0_3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGot Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh43, Lloh44, Lloh45
.loh AdrpLdrGotLdr Lloh40, Lloh41, Lloh42
.loh AdrpLdrGotLdr Lloh37, Lloh38, Lloh39
.loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.cfi_endproc
; -- End function
.comm _PCI_CAP_ID_EXP,4,2 ; @PCI_CAP_ID_EXP
.comm _PCI_CAP_ID_MSI,4,2 ; @PCI_CAP_ID_MSI
.comm _PCI_EXP_FLAGS,4,2 ; @PCI_EXP_FLAGS
.comm _PCI_EXP_DEVCAP,4,2 ; @PCI_EXP_DEVCAP
.comm _PCI_EXP_DEVCAP_PAYLOAD,4,2 ; @PCI_EXP_DEVCAP_PAYLOAD
.comm _PCI_CFG_SPACE_EXP_SIZE,4,2 ; @PCI_CFG_SPACE_EXP_SIZE
.comm _PCI_CFG_SPACE_SIZE,4,2 ; @PCI_CFG_SPACE_SIZE
.comm _PCIBIOS_SUCCESSFUL,8,3 ; @PCIBIOS_SUCCESSFUL
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _PCI_EXP_DEVCTL,4,2 ; @PCI_EXP_DEVCTL
.comm _PCI_EXP_LNKCTL,4,2 ; @PCI_EXP_LNKCTL
.comm _PCI_EXP_SLTCTL,4,2 ; @PCI_EXP_SLTCTL
.comm _PCI_EXP_RTCTL,4,2 ; @PCI_EXP_RTCTL
.comm _PCI_EXP_DEVCTL2,4,2 ; @PCI_EXP_DEVCTL2
.comm _PCI_EXP_LNKCTL2,4,2 ; @PCI_EXP_LNKCTL2
.comm _PCI_EXP_SLTCTL2,4,2 ; @PCI_EXP_SLTCTL2
.comm _PCI_EXP_SAVE_REGS,4,2 ; @PCI_EXP_SAVE_REGS
.no_dead_strip _quirk_intel_qat_vf_cap
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function lio_get_ethtool_stats
_lio_get_ethtool_stats: ## @lio_get_ethtool_stats
.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 %rdx, %rbx
movq %rdi, %r12
callq _GET_LIO
movq %rax, %r15
movq 8(%rax), %r14
movq _LIO_IFSTATE_RESETTING@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r15, %rdi
callq _ifstate_check
testq %rax, %rax
je LBB0_1
LBB0_7:
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_1:
movq (%r12), %rax
leaq -104(%rbp), %rsi
movq %r12, %rdi
callq *(%rax)
movdqu -56(%rbp), %xmm0
pshufd $78, %xmm0, %xmm0 ## xmm0 = xmm0[2,3,0,1]
movdqu %xmm0, (%rbx)
movdqu -72(%rbp), %xmm0
pshufd $78, %xmm0, %xmm0 ## xmm0 = xmm0[2,3,0,1]
movdqu %xmm0, 16(%rbx)
movq 24(%r14), %rax
addq -80(%rbp), %rax
addq 224(%r14), %rax
addq 216(%r14), %rax
addq 208(%r14), %rax
movq %rax, 32(%rbx)
movq -88(%rbp), %rax
movq %rax, 40(%rbx)
movq 40(%r14), %rax
addq -96(%rbp), %rax
addq 32(%r14), %rax
addq 264(%r14), %rax
addq 200(%r14), %rax
addq 192(%r14), %rax
addq 184(%r14), %rax
movq %rax, 48(%rbx)
movq 296(%r14), %rax
addq -104(%rbp), %rax
addq 288(%r14), %rax
addq 320(%r14), %rax
addq 440(%r14), %rax
addq 424(%r14), %rax
addq 416(%r14), %rax
addq 432(%r14), %rax
movq %rax, 56(%rbx)
movq 456(%r14), %rdi
callq _CVM_CAST64
movq %rax, 64(%rbx)
movq 448(%r14), %rdi
callq _CVM_CAST64
movq %rax, 72(%rbx)
movq 440(%r14), %rdi
callq _CVM_CAST64
movq %rax, 80(%rbx)
movq 432(%r14), %rdi
callq _CVM_CAST64
movq %rax, 88(%rbx)
movq 424(%r14), %rdi
callq _CVM_CAST64
movq %rax, 96(%rbx)
movq 416(%r14), %rdi
callq _CVM_CAST64
movq %rax, 104(%rbx)
movq 408(%r14), %rdi
callq _CVM_CAST64
movq %rax, 112(%rbx)
movq 400(%r14), %rdi
callq _CVM_CAST64
movq %rax, 120(%rbx)
movq 392(%r14), %rdi
callq _CVM_CAST64
movq %rax, 128(%rbx)
movq 384(%r14), %rdi
callq _CVM_CAST64
movq %rax, 136(%rbx)
movq 376(%r14), %rax
movq %rax, 144(%rbx)
movq 368(%r14), %rax
movq %rax, 152(%rbx)
movq 360(%r14), %rdi
callq _CVM_CAST64
movq %rax, 160(%rbx)
movq 352(%r14), %rdi
callq _CVM_CAST64
movq %rax, 168(%rbx)
movq 344(%r14), %rdi
callq _CVM_CAST64
movq %rax, 176(%rbx)
movq 336(%r14), %rdi
callq _CVM_CAST64
movq %rax, 184(%rbx)
movq 328(%r14), %rdi
callq _CVM_CAST64
movq %rax, 192(%rbx)
movq 320(%r14), %rdi
callq _CVM_CAST64
movq %rax, 200(%rbx)
movq 312(%r14), %rdi
callq _CVM_CAST64
movq %rax, 208(%rbx)
movq 304(%r14), %rdi
callq _CVM_CAST64
movq %rax, 216(%rbx)
movq 296(%r14), %rdi
callq _CVM_CAST64
movq %rax, 224(%rbx)
movq 288(%r14), %rdi
callq _CVM_CAST64
movq %rax, 232(%rbx)
movq 280(%r14), %rdi
callq _CVM_CAST64
movq %rax, 240(%rbx)
movq 272(%r14), %rdi
callq _CVM_CAST64
movq %rax, 248(%rbx)
movq 256(%r14), %rdi
callq _CVM_CAST64
movq %rax, 256(%rbx)
movq 248(%r14), %rdi
callq _CVM_CAST64
movq %rax, 264(%rbx)
movq 240(%r14), %rax
movq %rax, 272(%rbx)
movq 232(%r14), %rax
movq %rax, 280(%rbx)
movq 224(%r14), %rdi
callq _CVM_CAST64
movq %rax, 288(%rbx)
movq 216(%r14), %rdi
callq _CVM_CAST64
movq %rax, 296(%rbx)
movq 208(%r14), %rdi
callq _CVM_CAST64
movq %rax, 304(%rbx)
movq 200(%r14), %rdi
callq _CVM_CAST64
movq %rax, 312(%rbx)
movq 192(%r14), %rdi
callq _CVM_CAST64
movq %rax, 320(%rbx)
movq 184(%r14), %rdi
callq _CVM_CAST64
movq %rax, 328(%rbx)
movq 176(%r14), %rdi
callq _CVM_CAST64
movq %rax, 336(%rbx)
movq 168(%r14), %rdi
callq _CVM_CAST64
movq %rax, 344(%rbx)
movq 160(%r14), %rdi
callq _CVM_CAST64
movq %rax, 352(%rbx)
movq 152(%r14), %rdi
callq _CVM_CAST64
movq %rax, 360(%rbx)
movq 144(%r14), %rdi
callq _CVM_CAST64
movq %rax, 368(%rbx)
movq 136(%r14), %rdi
callq _CVM_CAST64
movq %rax, 376(%rbx)
movq 128(%r14), %rdi
callq _CVM_CAST64
movq %rax, 384(%rbx)
movq 120(%r14), %rdi
callq _CVM_CAST64
movq %rax, 392(%rbx)
movq 112(%r14), %rdi
callq _CVM_CAST64
movq %rax, 400(%rbx)
movq 104(%r14), %rdi
callq _CVM_CAST64
movq %rax, 408(%rbx)
movq 96(%r14), %rdi
callq _CVM_CAST64
movq %rax, 416(%rbx)
movq 88(%r14), %rdi
callq _CVM_CAST64
movq %rax, 424(%rbx)
movq 80(%r14), %rdi
callq _CVM_CAST64
movq %rax, 432(%rbx)
movq 72(%r14), %rdi
callq _CVM_CAST64
movq %rax, 440(%rbx)
movq 64(%r14), %rdi
callq _CVM_CAST64
movq %rax, 448(%rbx)
movq 56(%r14), %rdi
callq _CVM_CAST64
movq %rax, 456(%rbx)
movq 48(%r14), %rdi
callq _CVM_CAST64
movq %rax, 464(%rbx)
movq 40(%r14), %rdi
callq _CVM_CAST64
movq %rax, 472(%rbx)
movq 32(%r14), %rdi
callq _CVM_CAST64
movq %rax, 480(%rbx)
movq 24(%r14), %rdi
callq _CVM_CAST64
movq %rax, 488(%rbx)
movq (%r15), %rdi
callq _CVM_CAST64
movq %rax, 496(%rbx)
movq %r14, %rdi
callq _MAX_OCTEON_INSTR_QUEUES
movl $63, %r12d
testl %eax, %eax
js LBB0_2
## %bb.8:
movq $-1, %r15
jmp LBB0_9
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_9 Depth=1
movq %r14, %rdi
callq _MAX_OCTEON_INSTR_QUEUES
cltq
incq %r15
cmpq %rax, %r15
jge LBB0_2
LBB0_9: ## =>This Inner Loop Header: Depth=1
movl 8(%r14), %r13d
leal 1(%r15), %edi
callq _BIT_ULL
orl %r13d, %eax
je LBB0_11
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
movq 16(%r14), %rax
movq 8(%rax,%r15,8), %rax
movq 88(%rax), %rdi
callq _CVM_CAST64
movslq %r12d, %r13
movq %rax, (%rbx,%r13,8)
movq 16(%r14), %rax
movq 8(%rax,%r15,8), %rax
movq 80(%rax), %rdi
callq _CVM_CAST64
movq %rax, 8(%rbx,%r13,8)
movq 16(%r14), %rax
movq 8(%rax,%r15,8), %rax
movq 72(%rax), %rdi
callq _CVM_CAST64
movq %rax, 16(%rbx,%r13,8)
movq 16(%r14), %rax
movq 8(%rax,%r15,8), %rax
movq 64(%rax), %rdi
callq _CVM_CAST64
movq %rax, 24(%rbx,%r13,8)
movq 16(%r14), %rax
movq 8(%rax,%r15,8), %rax
movq 56(%rax), %rdi
callq _CVM_CAST64
movq %rax, 32(%rbx,%r13,8)
movq 16(%r14), %rax
movq 8(%rax,%r15,8), %rax
movq 48(%rax), %rdi
callq _CVM_CAST64
movq %rax, 40(%rbx,%r13,8)
movq 16(%r14), %rax
movq 8(%rax,%r15,8), %rax
movq 40(%rax), %rdi
callq _CVM_CAST64
movq %rax, 48(%rbx,%r13,8)
movq 16(%r14), %rax
movq 8(%rax,%r15,8), %rax
movq 32(%rax), %rdi
callq _CVM_CAST64
movq %rax, 56(%rbx,%r13,8)
movq 16(%r14), %rax
movq 8(%rax,%r15,8), %rax
movq 24(%rax), %rdi
callq _CVM_CAST64
movq %rax, 64(%rbx,%r13,8)
movq 16(%r14), %rax
movq 8(%rax,%r15,8), %rax
movq 16(%rax), %rdi
callq _CVM_CAST64
movq %rax, 72(%rbx,%r13,8)
movq 16(%r14), %rax
movq 8(%rax,%r15,8), %rax
movq 8(%rax), %rdi
callq _CVM_CAST64
movq %rax, 80(%rbx,%r13,8)
movq 16(%r14), %rax
movq 8(%rax,%r15,8), %rax
movq (%rax), %rdi
callq _CVM_CAST64
leal 12(%r13), %r12d
movq %rax, 88(%rbx,%r13,8)
jmp LBB0_11
LBB0_2:
movq %r14, %rdi
callq _MAX_OCTEON_OUTPUT_QUEUES
testl %eax, %eax
jle LBB0_7
## %bb.3:
xorl %r15d, %r15d
jmp LBB0_4
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_4 Depth=1
incq %r15
movq %r14, %rdi
callq _MAX_OCTEON_OUTPUT_QUEUES
cltq
cmpq %rax, %r15
jge LBB0_7
LBB0_4: ## =>This Inner Loop Header: Depth=1
movl 12(%r14), %r13d
movl %r15d, %edi
callq _BIT_ULL
testl %r13d, %eax
je LBB0_6
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movq (%r14), %rax
movq (%rax,%r15,8), %rax
movq 72(%rax), %rdi
callq _CVM_CAST64
movslq %r12d, %r13
movq %rax, (%rbx,%r13,8)
movq (%r14), %rax
movq (%rax,%r15,8), %rax
movq 64(%rax), %rdi
callq _CVM_CAST64
movq %rax, 8(%rbx,%r13,8)
movq (%r14), %rax
movq (%rax,%r15,8), %rax
movq 48(%rax), %rdi
addq 56(%rax), %rdi
addq 40(%rax), %rdi
callq _CVM_CAST64
movq %rax, 16(%rbx,%r13,8)
movq (%r14), %rax
movq (%rax,%r15,8), %rax
movq 56(%rax), %rdi
callq _CVM_CAST64
movq %rax, 24(%rbx,%r13,8)
movq (%r14), %rax
movq (%rax,%r15,8), %rax
movq 48(%rax), %rdi
callq _CVM_CAST64
movq %rax, 32(%rbx,%r13,8)
movq (%r14), %rax
movq (%rax,%r15,8), %rax
movq 40(%rax), %rdi
callq _CVM_CAST64
movq %rax, 40(%rbx,%r13,8)
movq (%r14), %rax
movq (%rax,%r15,8), %rax
movq 32(%rax), %rdi
callq _CVM_CAST64
movq %rax, 48(%rbx,%r13,8)
movq (%r14), %rax
movq (%rax,%r15,8), %rax
movq 24(%rax), %rdi
callq _CVM_CAST64
movq %rax, 56(%rbx,%r13,8)
movq (%r14), %rax
movq (%rax,%r15,8), %rax
movq 16(%rax), %rdi
callq _CVM_CAST64
movq %rax, 64(%rbx,%r13,8)
movq (%r14), %rax
movq (%rax,%r15,8), %rax
movq 8(%rax), %rdi
callq _CVM_CAST64
movq %rax, 72(%rbx,%r13,8)
movq (%r14), %rax
movq (%rax,%r15,8), %rax
movq (%rax), %rdi
callq _CVM_CAST64
leal 11(%r13), %r12d
movq %rax, 80(%rbx,%r13,8)
jmp LBB0_6
.cfi_endproc
## -- End function
.comm _LIO_IFSTATE_RESETTING,4,2 ## @LIO_IFSTATE_RESETTING
.no_dead_strip _lio_get_ethtool_stats
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function lio_get_ethtool_stats
_lio_get_ethtool_stats: ; @lio_get_ethtool_stats
.cfi_startproc
; %bb.0:
sub sp, sp, #128
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
mov x19, x2
mov x22, x0
bl _GET_LIO
mov x21, x0
ldr x20, [x0, #8]
Lloh0:
adrp x8, _LIO_IFSTATE_RESETTING@GOTPAGE
Lloh1:
ldr x8, [x8, _LIO_IFSTATE_RESETTING@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _ifstate_check
cbz x0, LBB0_2
LBB0_1:
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
add sp, sp, #128
ret
LBB0_2:
ldr x8, [x22]
ldr x8, [x8]
mov x1, sp
mov x0, x22
blr x8
ldp q1, q0, [sp, #32]
ext.16b v0, v0, v0, #8
ext.16b v1, v1, v1, #8
stp q0, q1, [x19]
ldr x8, [x20, #24]
ldp x10, x9, [sp, #16]
add x8, x8, x9
ldp x11, x9, [x20, #216]
ldr x12, [x20, #208]
add x9, x9, x11
add x8, x8, x9
add x8, x8, x12
stp x8, x10, [x19, #32]
ldp x9, x8, [x20, #32]
ldp x11, x10, [sp]
add x8, x8, x10
ldr x10, [x20, #264]
add x9, x9, x10
add x8, x8, x9
ldp x10, x9, [x20, #192]
ldr x12, [x20, #184]
add x9, x9, x10
add x9, x9, x12
add x8, x8, x9
str x8, [x19, #48]
ldp x9, x8, [x20, #288]
add x8, x8, x11
ldr x10, [x20, #320]
add x9, x9, x10
add x8, x8, x9
ldp x10, x9, [x20, #416]
ldp x12, x11, [x20, #432]
add x9, x11, x9
add x9, x9, x10
add x8, x8, x9
add x8, x8, x12
str x8, [x19, #56]
ldr x0, [x20, #456]
bl _CVM_CAST64
str x0, [x19, #64]
ldr x0, [x20, #448]
bl _CVM_CAST64
str x0, [x19, #72]
ldr x0, [x20, #440]
bl _CVM_CAST64
str x0, [x19, #80]
ldr x0, [x20, #432]
bl _CVM_CAST64
str x0, [x19, #88]
ldr x0, [x20, #424]
bl _CVM_CAST64
str x0, [x19, #96]
ldr x0, [x20, #416]
bl _CVM_CAST64
str x0, [x19, #104]
ldr x0, [x20, #408]
bl _CVM_CAST64
str x0, [x19, #112]
ldr x0, [x20, #400]
bl _CVM_CAST64
str x0, [x19, #120]
ldr x0, [x20, #392]
bl _CVM_CAST64
str x0, [x19, #128]
ldr x0, [x20, #384]
bl _CVM_CAST64
str x0, [x19, #136]
ldr x8, [x20, #376]
str x8, [x19, #144]
ldr x8, [x20, #368]
str x8, [x19, #152]
ldr x0, [x20, #360]
bl _CVM_CAST64
str x0, [x19, #160]
ldr x0, [x20, #352]
bl _CVM_CAST64
str x0, [x19, #168]
ldr x0, [x20, #344]
bl _CVM_CAST64
str x0, [x19, #176]
ldr x0, [x20, #336]
bl _CVM_CAST64
str x0, [x19, #184]
ldr x0, [x20, #328]
bl _CVM_CAST64
str x0, [x19, #192]
ldr x0, [x20, #320]
bl _CVM_CAST64
str x0, [x19, #200]
ldr x0, [x20, #312]
bl _CVM_CAST64
str x0, [x19, #208]
ldr x0, [x20, #304]
bl _CVM_CAST64
str x0, [x19, #216]
ldr x0, [x20, #296]
bl _CVM_CAST64
str x0, [x19, #224]
ldr x0, [x20, #288]
bl _CVM_CAST64
str x0, [x19, #232]
ldr x0, [x20, #280]
bl _CVM_CAST64
str x0, [x19, #240]
ldr x0, [x20, #272]
bl _CVM_CAST64
str x0, [x19, #248]
ldr x0, [x20, #256]
bl _CVM_CAST64
str x0, [x19, #256]
ldr x0, [x20, #248]
bl _CVM_CAST64
str x0, [x19, #264]
ldr x8, [x20, #240]
str x8, [x19, #272]
ldr x8, [x20, #232]
str x8, [x19, #280]
ldr x0, [x20, #224]
bl _CVM_CAST64
str x0, [x19, #288]
ldr x0, [x20, #216]
bl _CVM_CAST64
str x0, [x19, #296]
ldr x0, [x20, #208]
bl _CVM_CAST64
str x0, [x19, #304]
ldr x0, [x20, #200]
bl _CVM_CAST64
str x0, [x19, #312]
ldr x0, [x20, #192]
bl _CVM_CAST64
str x0, [x19, #320]
ldr x0, [x20, #184]
bl _CVM_CAST64
str x0, [x19, #328]
ldr x0, [x20, #176]
bl _CVM_CAST64
str x0, [x19, #336]
ldr x0, [x20, #168]
bl _CVM_CAST64
str x0, [x19, #344]
ldr x0, [x20, #160]
bl _CVM_CAST64
str x0, [x19, #352]
ldr x0, [x20, #152]
bl _CVM_CAST64
str x0, [x19, #360]
ldr x0, [x20, #144]
bl _CVM_CAST64
str x0, [x19, #368]
ldr x0, [x20, #136]
bl _CVM_CAST64
str x0, [x19, #376]
ldr x0, [x20, #128]
bl _CVM_CAST64
str x0, [x19, #384]
ldr x0, [x20, #120]
bl _CVM_CAST64
str x0, [x19, #392]
ldr x0, [x20, #112]
bl _CVM_CAST64
str x0, [x19, #400]
ldr x0, [x20, #104]
bl _CVM_CAST64
str x0, [x19, #408]
ldr x0, [x20, #96]
bl _CVM_CAST64
str x0, [x19, #416]
ldr x0, [x20, #88]
bl _CVM_CAST64
str x0, [x19, #424]
ldr x0, [x20, #80]
bl _CVM_CAST64
str x0, [x19, #432]
ldr x0, [x20, #72]
bl _CVM_CAST64
str x0, [x19, #440]
ldr x0, [x20, #64]
bl _CVM_CAST64
str x0, [x19, #448]
ldr x0, [x20, #56]
bl _CVM_CAST64
str x0, [x19, #456]
ldr x0, [x20, #48]
bl _CVM_CAST64
str x0, [x19, #464]
ldr x0, [x20, #40]
bl _CVM_CAST64
str x0, [x19, #472]
ldr x0, [x20, #32]
bl _CVM_CAST64
str x0, [x19, #480]
ldr x0, [x20, #24]
bl _CVM_CAST64
str x0, [x19, #488]
ldr x0, [x21]
bl _CVM_CAST64
str x0, [x19, #496]
mov x0, x20
bl _MAX_OCTEON_INSTR_QUEUES
tbnz w0, #31, LBB0_7
; %bb.3:
mov x21, #0 ; =0x0
mov w22, #63 ; =0x3f
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
add x23, x21, #1
mov x0, x20
bl _MAX_OCTEON_INSTR_QUEUES
cmp x21, w0, sxtw
mov x21, x23
b.ge LBB0_8
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr w23, [x20, #8]
mov x0, x21
bl _BIT_ULL
orr w8, w0, w23
cbz w8, LBB0_4
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [x20, #16]
ldr x8, [x8, x21, lsl #3]
ldr x0, [x8, #88]
bl _CVM_CAST64
add x23, x19, w22, sxtw #3
str x0, [x23]
ldr x8, [x20, #16]
ldr x8, [x8, x21, lsl #3]
ldr x0, [x8, #80]
bl _CVM_CAST64
str x0, [x23, #8]
ldr x8, [x20, #16]
ldr x8, [x8, x21, lsl #3]
ldr x0, [x8, #72]
bl _CVM_CAST64
str x0, [x23, #16]
ldr x8, [x20, #16]
ldr x8, [x8, x21, lsl #3]
ldr x0, [x8, #64]
bl _CVM_CAST64
str x0, [x23, #24]
ldr x8, [x20, #16]
ldr x8, [x8, x21, lsl #3]
ldr x0, [x8, #56]
bl _CVM_CAST64
str x0, [x23, #32]
ldr x8, [x20, #16]
ldr x8, [x8, x21, lsl #3]
ldr x0, [x8, #48]
bl _CVM_CAST64
str x0, [x23, #40]
ldr x8, [x20, #16]
ldr x8, [x8, x21, lsl #3]
ldr x0, [x8, #40]
bl _CVM_CAST64
str x0, [x23, #48]
ldr x8, [x20, #16]
ldr x8, [x8, x21, lsl #3]
ldr x0, [x8, #32]
bl _CVM_CAST64
str x0, [x23, #56]
ldr x8, [x20, #16]
ldr x8, [x8, x21, lsl #3]
ldr x0, [x8, #24]
bl _CVM_CAST64
str x0, [x23, #64]
ldr x8, [x20, #16]
ldr x8, [x8, x21, lsl #3]
ldr x0, [x8, #16]
bl _CVM_CAST64
str x0, [x23, #72]
ldr x8, [x20, #16]
ldr x8, [x8, x21, lsl #3]
ldr x0, [x8, #8]
bl _CVM_CAST64
str x0, [x23, #80]
ldr x8, [x20, #16]
ldr x8, [x8, x21, lsl #3]
ldr x0, [x8]
bl _CVM_CAST64
add w22, w22, #12
str x0, [x23, #88]
b LBB0_4
LBB0_7:
mov w22, #63 ; =0x3f
LBB0_8:
mov x0, x20
bl _MAX_OCTEON_OUTPUT_QUEUES
cmp w0, #1
b.lt LBB0_1
; %bb.9:
mov x21, #0 ; =0x0
b LBB0_11
LBB0_10: ; in Loop: Header=BB0_11 Depth=1
add x21, x21, #1
mov x0, x20
bl _MAX_OCTEON_OUTPUT_QUEUES
cmp x21, w0, sxtw
b.ge LBB0_1
LBB0_11: ; =>This Inner Loop Header: Depth=1
ldr w23, [x20, #12]
mov x0, x21
bl _BIT_ULL
tst w0, w23
b.eq LBB0_10
; %bb.12: ; in Loop: Header=BB0_11 Depth=1
ldr x8, [x20]
ldr x8, [x8, x21, lsl #3]
ldr x0, [x8, #72]
bl _CVM_CAST64
add x23, x19, w22, sxtw #3
str x0, [x23]
ldr x8, [x20]
ldr x8, [x8, x21, lsl #3]
ldr x0, [x8, #64]
bl _CVM_CAST64
str x0, [x23, #8]
ldr x8, [x20]
ldr x8, [x8, x21, lsl #3]
ldp x10, x9, [x8, #48]
ldr x8, [x8, #40]
add x9, x10, x9
add x0, x9, x8
bl _CVM_CAST64
str x0, [x23, #16]
ldr x8, [x20]
ldr x8, [x8, x21, lsl #3]
ldr x0, [x8, #56]
bl _CVM_CAST64
str x0, [x23, #24]
ldr x8, [x20]
ldr x8, [x8, x21, lsl #3]
ldr x0, [x8, #48]
bl _CVM_CAST64
str x0, [x23, #32]
ldr x8, [x20]
ldr x8, [x8, x21, lsl #3]
ldr x0, [x8, #40]
bl _CVM_CAST64
str x0, [x23, #40]
ldr x8, [x20]
ldr x8, [x8, x21, lsl #3]
ldr x0, [x8, #32]
bl _CVM_CAST64
str x0, [x23, #48]
ldr x8, [x20]
ldr x8, [x8, x21, lsl #3]
ldr x0, [x8, #24]
bl _CVM_CAST64
str x0, [x23, #56]
ldr x8, [x20]
ldr x8, [x8, x21, lsl #3]
ldr x0, [x8, #16]
bl _CVM_CAST64
str x0, [x23, #64]
ldr x8, [x20]
ldr x8, [x8, x21, lsl #3]
ldr x0, [x8, #8]
bl _CVM_CAST64
str x0, [x23, #72]
ldr x8, [x20]
ldr x8, [x8, x21, lsl #3]
ldr x0, [x8]
bl _CVM_CAST64
add w22, w22, #11
str x0, [x23, #80]
b LBB0_10
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _LIO_IFSTATE_RESETTING,4,2 ; @LIO_IFSTATE_RESETTING
.no_dead_strip _lio_get_ethtool_stats
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ## -- Begin function mem_lock
LCPI0_0:
.long 0 ## 0x0
.long 20 ## 0x14
.long 4 ## 0x4
.long 4 ## 0x4
.section __TEXT,__text,regular,pure_instructions
.globl _mem_lock
.p2align 4, 0x90
_mem_lock: ## @mem_lock
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $144, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl %esi, -132(%rbp)
movl $0, -128(%rbp)
movaps LCPI0_0(%rip), %xmm0 ## xmm0 = [0,20,4,4]
movups %xmm0, -148(%rbp)
leaq -144(%rbp), %rsi
callq _mbox_property
movl -124(%rbp), %eax
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -8(%rbp), %rcx
jne LBB0_2
## %bb.1:
addq $144, %rsp
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ; -- Begin function mem_lock
lCPI0_0:
.long 0 ; 0x0
.long 20 ; 0x14
.long 4 ; 0x4
.long 4 ; 0x4
.section __TEXT,__text,regular,pure_instructions
.globl _mem_lock
.p2align 2
_mem_lock: ; @mem_lock
.cfi_startproc
; %bb.0:
sub sp, sp, #160
stp x29, x30, [sp, #144] ; 16-byte Folded Spill
add x29, sp, #144
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-8]
stp w1, wzr, [sp, #20]
Lloh3:
adrp x8, lCPI0_0@PAGE
Lloh4:
ldr q0, [x8, lCPI0_0@PAGEOFF]
stur q0, [sp, #4]
add x1, sp, #8
bl _mbox_property
ldr w0, [sp, #28]
ldur x8, [x29, #-8]
Lloh5:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh6:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_2
; %bb.1:
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
add sp, sp, #160
ret
LBB0_2:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdr Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function read_args
_read_args: ## @read_args
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl $8216, %eax ## imm = 0x2018
callq ____chkstk_darwin
subq %rax, %rsp
popq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r8, %r14
movq %rcx, -8248(%rbp) ## 8-byte Spill
movq %rdi, %r15
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq (%rdi), %rax
movsbl (%rax), %ecx
xorl %ebx, %ebx
cmpl %esi, %ecx
je LBB0_5
## %bb.1:
movq %rdx, %r12
movl %esi, %r13d
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
cmpb $44, %cl
jne LBB0_3
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
decq %rax
movq %rax, (%r15)
movq %r15, %rdi
movq %r12, %rsi
callq _STABS_CONTINUE
movq %r15, %rdi
movq %r12, %rsi
callq _read_type
movq %rax, -8240(%rbp,%rbx,8)
incq %rbx
movq (%r15), %rax
movsbl (%rax), %ecx
cmpl %r13d, %ecx
jne LBB0_2
LBB0_5:
incq %rax
movq %rax, (%r15)
movl %ebx, %eax
movq -8232(%rbp,%rax,8), %rdi
callq _TYPE_CODE
movq _TYPE_CODE_VOID@GOTPCREL(%rip), %rcx
xorl %edx, %edx
xorl %esi, %esi
cmpq (%rcx), %rax
sete %dl
setne %sil
subl %edx, %ebx
movl %esi, (%r14)
leal (,%rbx,8), %r15d
movl %r15d, %edi
callq _xmalloc
movq %rax, %r14
movq %rax, %rdi
xorl %esi, %esi
movl %r15d, %edx
callq _memset
testl %ebx, %ebx
jle LBB0_7
## %bb.6:
leal -1(%rbx), %eax
leaq 8(,%rax,8), %rdx
leaq -8240(%rbp), %rsi
movq %r14, %rdi
callq _memcpy
LBB0_7:
movq -8248(%rbp), %rax ## 8-byte Reload
movl %ebx, (%rax)
jmp LBB0_8
LBB0_3:
movq $-1, %r14
LBB0_8:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_10
## %bb.9:
movq %r14, %rax
addq $8216, %rsp ## imm = 0x2018
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_10:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _TYPE_CODE_VOID,8,3 ## @TYPE_CODE_VOID
.no_dead_strip _read_args
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function read_args
_read_args: ; @read_args
.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
mov w9, #8208 ; =0x2010
Lloh0:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh1:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
sub sp, sp, #2, lsl #12 ; =8192
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 x20, x4
mov x19, x3
mov x21, x0
Lloh2:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh3:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
ldr x8, [x8]
stur x8, [x29, #-88]
ldr x8, [x0]
ldrsb w9, [x8]
cmp w9, w1
b.ne LBB0_2
; %bb.1:
mov w26, #0 ; =0x0
b LBB0_5
LBB0_2:
mov x22, x2
mov x23, x1
mov x25, #0 ; =0x0
and w9, w9, #0xff
add x24, sp, #8
LBB0_3: ; =>This Inner Loop Header: Depth=1
and w9, w9, #0xff
cmp w9, #44
b.ne LBB0_8
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
sub x8, x8, #1
str x8, [x21]
mov x0, x21
mov x1, x22
bl _STABS_CONTINUE
mov x0, x21
mov x1, x22
bl _read_type
str x0, [x24, x25, lsl #3]
add x26, x25, #1
ldr x8, [x21]
ldrsb w10, [x8]
and w9, w10, #0xff
mov x25, x26
cmp w10, w23
b.ne LBB0_3
LBB0_5:
add x8, x8, #1
str x8, [x21]
add w8, w26, #1
add x9, sp, #8
ldr x0, [x9, w8, uxtw #3]
bl _TYPE_CODE
Lloh5:
adrp x8, _TYPE_CODE_VOID@GOTPAGE
Lloh6:
ldr x8, [x8, _TYPE_CODE_VOID@GOTPAGEOFF]
Lloh7:
ldr x8, [x8]
cmp x0, x8
cset w8, ne
cset w9, eq
sub w22, w26, w9
str w8, [x20]
lsl w21, w22, #3
mov x0, x21
bl _xmalloc
mov x20, x0
mov w1, #0 ; =0x0
mov x2, x21
bl _memset
subs w8, w22, #1
b.lt LBB0_7
; %bb.6:
ubfiz x8, x8, #3, #32
add x1, sp, #8
add x2, x8, #8
mov x0, x20
bl _memcpy
LBB0_7:
str w22, [x19]
b LBB0_9
LBB0_8:
mov x20, #-1 ; =0xffffffffffffffff
LBB0_9:
ldur x8, [x29, #-88]
Lloh8:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh9:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_11
; %bb.10:
mov x0, x20
add sp, sp, #2, lsl #12 ; =8192
add sp, sp, #16
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_11:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _TYPE_CODE_VOID,8,3 ; @TYPE_CODE_VOID
.no_dead_strip _read_args
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function read_empty
_read_empty: ## @read_empty
.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 $64, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -24(%rbp)
leaq L_.str(%rip), %rax
movq %rax, -80(%rbp)
testl %esi, %esi
je LBB0_1
## %bb.2:
leaq L_.str.1(%rip), %rax
movq %rax, -72(%rbp)
movl $2, %eax
jmp LBB0_3
LBB0_1:
movl $1, %eax
LBB0_3:
leaq L_.str.2(%rip), %rcx
movl %eax, %r14d
movq %rcx, -80(%rbp,%r14,8)
leaq L_.str.3(%rip), %rax
movq %rax, -72(%rbp,%r14,8)
xorl %eax, %eax
callq _empty_tree_oid_hex
movq %rax, -64(%rbp,%r14,8)
movq %rbx, %rdi
callq _oid_to_hex
movq %rax, -56(%rbp,%r14,8)
movq $0, -48(%rbp,%r14,8)
movq _RUN_GIT_CMD@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -80(%rbp), %rdi
callq _run_command_v_opt
testq %rax, %rax
je LBB0_5
## %bb.4:
leaq L_.str.4(%rip), %rdi
callq __
movl %eax, %edi
callq _die
LBB0_5:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -24(%rbp), %rax
jne LBB0_7
## %bb.6:
addq $64, %rsp
popq %rbx
popq %r14
popq %rbp
retq
LBB0_7:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "read-tree"
L_.str.1: ## @.str.1
.asciz "-v"
L_.str.2: ## @.str.2
.asciz "-m"
L_.str.3: ## @.str.3
.asciz "-u"
.comm _RUN_GIT_CMD,4,2 ## @RUN_GIT_CMD
L_.str.4: ## @.str.4
.asciz "read-tree failed"
.no_dead_strip _read_empty
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function read_empty
_read_empty: ; @read_empty
.cfi_startproc
; %bb.0:
sub sp, sp, #128
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
mov x19, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #56]
Lloh3:
adrp x8, l_.str@PAGE
Lloh4:
add x8, x8, l_.str@PAGEOFF
str x8, [sp]
cbz w1, LBB0_2
; %bb.1:
Lloh5:
adrp x8, l_.str.1@PAGE
Lloh6:
add x8, x8, l_.str.1@PAGEOFF
str x8, [sp, #8]
mov w20, #2 ; =0x2
b LBB0_3
LBB0_2:
mov w20, #1 ; =0x1
LBB0_3:
Lloh7:
adrp x8, l_.str.2@PAGE
Lloh8:
add x8, x8, l_.str.2@PAGEOFF
mov x21, sp
str x8, [x21, w20, uxtw #3]
add w8, w20, #1
add w22, w20, #2
Lloh9:
adrp x9, l_.str.3@PAGE
Lloh10:
add x9, x9, l_.str.3@PAGEOFF
str x9, [x21, w8, uxtw #3]
bl _empty_tree_oid_hex
add w23, w20, #3
str x0, [x21, w22, uxtw #3]
mov x0, x19
bl _oid_to_hex
str x0, [x21, w23, uxtw #3]
orr w8, w20, #0x4
str xzr, [x21, w8, uxtw #3]
Lloh11:
adrp x8, _RUN_GIT_CMD@GOTPAGE
Lloh12:
ldr x8, [x8, _RUN_GIT_CMD@GOTPAGEOFF]
Lloh13:
ldr w1, [x8]
mov x0, sp
bl _run_command_v_opt
cbz x0, LBB0_5
; %bb.4:
Lloh14:
adrp x0, l_.str.4@PAGE
Lloh15:
add x0, x0, l_.str.4@PAGEOFF
bl __
bl _die
LBB0_5:
ldr x8, [sp, #56]
Lloh16:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh17:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_7
; %bb.6:
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
add sp, sp, #128
ret
LBB0_7:
bl ___stack_chk_fail
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "read-tree"
l_.str.1: ; @.str.1
.asciz "-v"
l_.str.2: ; @.str.2
.asciz "-m"
l_.str.3: ; @.str.3
.asciz "-u"
.comm _RUN_GIT_CMD,4,2 ; @RUN_GIT_CMD
l_.str.4: ; @.str.4
.asciz "read-tree failed"
.no_dead_strip _read_empty
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _p2p_channel_random_social ## -- Begin function p2p_channel_random_social
.p2align 4, 0x90
_p2p_channel_random_social: ## @p2p_channel_random_social
.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 %r8, %r13
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, -72(%rbp) ## 8-byte Spill
movq %rdi, %r12
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movl $81, %esi
movl $1, %edx
callq _p2p_channels_includes
xorl %r15d, %r15d
testq %rax, %rax
je LBB0_4
## %bb.1:
movq %rbx, %rdi
movl $2412, %esi ## imm = 0x96C
callq _freq_range_list_includes
testq %rax, %rax
je LBB0_4
## %bb.2:
movq %r13, %rdi
movl $2412, %esi ## imm = 0x96C
callq _freq_range_list_includes
testq %rax, %rax
jne LBB0_4
## %bb.3:
movl $1, -64(%rbp)
movl $1, %r15d
LBB0_4:
movq %r12, %rdi
movl $81, %esi
movl $6, %edx
callq _p2p_channels_includes
testq %rax, %rax
je LBB0_5
LBB0_7:
movl %r15d, %eax
incl %r15d
movl $6, -64(%rbp,%rax,4)
LBB0_8:
movq %r12, %rdi
movl $81, %esi
movl $11, %edx
callq _p2p_channels_includes
testq %rax, %rax
je LBB0_9
LBB0_11:
movl %r15d, %eax
incl %r15d
movl $11, -64(%rbp,%rax,4)
LBB0_12:
movq %r12, %rdi
movl $180, %esi
movl $2, %edx
callq _p2p_channels_includes
testq %rax, %rax
je LBB0_15
## %bb.13:
movl %r15d, %eax
incl %r15d
movl $2, -64(%rbp,%rax,4)
jmp LBB0_14
LBB0_5:
movq %rbx, %rdi
movl $2437, %esi ## imm = 0x985
callq _freq_range_list_includes
testq %rax, %rax
je LBB0_8
## %bb.6:
movq %r13, %rdi
movl $2437, %esi ## imm = 0x985
callq _freq_range_list_includes
testq %rax, %rax
jne LBB0_8
jmp LBB0_7
LBB0_9:
movq %rbx, %rdi
movl $2462, %esi ## imm = 0x99E
callq _freq_range_list_includes
testq %rax, %rax
je LBB0_12
## %bb.10:
movq %r13, %rdi
movl $2462, %esi ## imm = 0x99E
callq _freq_range_list_includes
testq %rax, %rax
jne LBB0_12
jmp LBB0_11
LBB0_15:
testl %r15d, %r15d
je LBB0_16
LBB0_14:
leaq -64(%rbp), %rdi
movl %r15d, %esi
callq _p2p_channel_pick_random
movl %eax, (%r14)
cmpl $2, %eax
movl $180, %eax
movl $81, %ecx
cmovel %eax, %ecx
movq -72(%rbp), %rax ## 8-byte Reload
movl %ecx, (%rax)
xorl %eax, %eax
LBB0_17:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_19
## %bb.18:
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_16:
movl $-1, %eax
jmp LBB0_17
LBB0_19:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _p2p_channel_random_social ; -- Begin function p2p_channel_random_social
.p2align 2
_p2p_channel_random_social: ; @p2p_channel_random_social
.cfi_startproc
; %bb.0:
sub sp, sp, #112
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
mov x23, x4
mov x24, x3
mov x20, x2
mov x19, x1
mov x21, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #24]
mov w1, #81 ; =0x51
mov w2, #1 ; =0x1
bl _p2p_channels_includes
cbz x0, LBB0_3
; %bb.1:
mov x0, x24
mov w1, #2412 ; =0x96c
bl _freq_range_list_includes
cbz x0, LBB0_3
; %bb.2:
mov x0, x23
mov w1, #2412 ; =0x96c
bl _freq_range_list_includes
cbz x0, LBB0_18
LBB0_3:
mov w22, #0 ; =0x0
LBB0_4:
mov w25, #6 ; =0x6
mov x0, x21
mov w1, #81 ; =0x51
mov w2, #6 ; =0x6
bl _p2p_channels_includes
cbz x0, LBB0_10
LBB0_5:
add x8, sp, #8
str w25, [x8, w22, uxtw #2]
add w22, w22, #1
LBB0_6:
mov w25, #11 ; =0xb
mov x0, x21
mov w1, #81 ; =0x51
mov w2, #11 ; =0xb
bl _p2p_channels_includes
cbz x0, LBB0_12
LBB0_7:
add x8, sp, #8
str w25, [x8, w22, uxtw #2]
add w22, w22, #1
LBB0_8:
mov w23, #2 ; =0x2
mov x0, x21
mov w1, #180 ; =0xb4
mov w2, #2 ; =0x2
bl _p2p_channels_includes
cbz x0, LBB0_14
; %bb.9:
add x8, sp, #8
str w23, [x8, w22, uxtw #2]
add w22, w22, #1
b LBB0_15
LBB0_10:
mov x0, x24
mov w1, #2437 ; =0x985
bl _freq_range_list_includes
cbz x0, LBB0_6
; %bb.11:
mov x0, x23
mov w1, #2437 ; =0x985
bl _freq_range_list_includes
cbnz x0, LBB0_6
b LBB0_5
LBB0_12:
mov x0, x24
mov w1, #2462 ; =0x99e
bl _freq_range_list_includes
cbz x0, LBB0_8
; %bb.13:
mov x0, x23
mov w1, #2462 ; =0x99e
bl _freq_range_list_includes
cbnz x0, LBB0_8
b LBB0_7
LBB0_14:
cbz w22, LBB0_19
LBB0_15:
add x0, sp, #8
mov x1, x22
bl _p2p_channel_pick_random
mov x8, x0
mov w0, #0 ; =0x0
str w8, [x20]
mov w9, #81 ; =0x51
mov w10, #180 ; =0xb4
cmp w8, #2
csel w8, w10, w9, eq
str w8, [x19]
LBB0_16:
ldr x8, [sp, #24]
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_20
; %bb.17:
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
add sp, sp, #112
ret
LBB0_18:
mov w22, #1 ; =0x1
str w22, [sp, #8]
b LBB0_4
LBB0_19:
mov w0, #-1 ; =0xffffffff
b LBB0_16
LBB0_20:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _eMBRegDiscreteCBSerialSlave ## -- Begin function eMBRegDiscreteCBSerialSlave
.p2align 4, 0x90
_eMBRegDiscreteCBSerialSlave: ## @eMBRegDiscreteCBSerialSlave
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %ebx
movl %esi, %r13d
movq _mbs_interface_ptr@GOTPCREL(%rip), %r14
xorl %eax, %eax
cmpq $0, (%r14)
movq %rdi, %r15
sete %al
movq _MB_EILLSTATE@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
leaq L_.str(%rip), %rdx
movl %eax, %edi
callq _MB_SLAVE_CHECK
xorl %edi, %edi
testq %r15, %r15
setne %dil
movq _MB_EINVAL@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str.1(%rip), %rdx
callq _MB_SLAVE_CHECK
movq (%r14), %rax
movq (%rax), %rax
movq _MB_PARAM_DISCRETE@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
leaq (%rcx,%rcx,2), %rsi
movl (%rax,%rsi,8), %ecx
sarl %ecx
movl 16(%rax,%rsi,8), %edx
leal 7(%rbx), %r14d
testl %ebx, %ebx
cmovnsl %ebx, %r14d
movq 8(%rax,%rsi,8), %rax
incl %r13d
movl %r13d, %r12d
subl %edx, %r12d
setge %sil
testl %ecx, %ecx
setg %dil
testq %rax, %rax
setne %r8b
andb %sil, %r8b
andb %dil, %r8b
cmpb $1, %r8b
jne LBB0_6
## %bb.1:
testl %ebx, %ebx
jle LBB0_6
## %bb.2:
leal (%rbx,%r13), %esi
shll $4, %ecx
addl %edx, %ecx
cmpl %ecx, %esi
jg LBB0_6
## %bb.3:
movq %r13, -64(%rbp) ## 8-byte Spill
movq _MB_ENOERR@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, -44(%rbp) ## 4-byte Spill
sarl $3, %r14d
leal 7(%r12), %ecx
testl %r12d, %r12d
cmovnsl %r12d, %ecx
movl %ecx, %edx
andl $-8, %edx
subl %edx, %r12d
sarl $3, %ecx
movslq %ecx, %rcx
leaq (%rax,%rcx,4), %r13
addl $2, %r14d
movq %r13, -56(%rbp) ## 8-byte Spill
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq %r13, %rdi
movl %r12d, %esi
movl $8, %edx
callq _xMBUtilGetBits
movl %eax, (%r15)
addq $4, %r15
addq $4, %r13
decl %r14d
jg LBB0_4
## %bb.5:
andl $7, %ebx
movb $8, %cl
subb %bl, %cl
shll %cl, %eax
sarl %cl, %eax
movl %eax, -4(%r15)
movq _MB_EVENT_DISCRETE_RD@GOTPCREL(%rip), %r14
movl (%r14), %edi
callq _send_param_access_notification
movl (%r14), %edi
movq -64(%rbp), %rsi ## 8-byte Reload
## kill: def $esi killed $esi killed $rsi
movq -56(%rbp), %rdx ## 8-byte Reload
movl %ebx, %ecx
callq _send_param_info
movl -44(%rbp), %eax ## 4-byte Reload
jmp LBB0_7
LBB0_6:
movq _MB_ENOREG@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_7:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _mbs_interface_ptr,8,3 ## @mbs_interface_ptr
.comm _MB_EILLSTATE,4,2 ## @MB_EILLSTATE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Slave stack uninitialized."
.comm _MB_EINVAL,4,2 ## @MB_EINVAL
L_.str.1: ## @.str.1
.asciz "Slave stack call failed."
.comm _MB_PARAM_DISCRETE,8,3 ## @MB_PARAM_DISCRETE
.comm _MB_ENOERR,4,2 ## @MB_ENOERR
.comm _MB_EVENT_DISCRETE_RD,4,2 ## @MB_EVENT_DISCRETE_RD
.comm _MB_ENOREG,4,2 ## @MB_ENOREG
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _eMBRegDiscreteCBSerialSlave ; -- Begin function eMBRegDiscreteCBSerialSlave
.p2align 2
_eMBRegDiscreteCBSerialSlave: ; @eMBRegDiscreteCBSerialSlave
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x20, x2
mov x21, x1
mov x19, x0
Lloh0:
adrp x22, _mbs_interface_ptr@GOTPAGE
Lloh1:
ldr x22, [x22, _mbs_interface_ptr@GOTPAGEOFF]
ldr x8, [x22]
cmp x8, #0
cset w0, eq
Lloh2:
adrp x8, _MB_EILLSTATE@GOTPAGE
Lloh3:
ldr x8, [x8, _MB_EILLSTATE@GOTPAGEOFF]
Lloh4:
ldr w1, [x8]
Lloh5:
adrp x2, l_.str@PAGE
Lloh6:
add x2, x2, l_.str@PAGEOFF
bl _MB_SLAVE_CHECK
cmp x19, #0
cset w0, ne
Lloh7:
adrp x8, _MB_EINVAL@GOTPAGE
Lloh8:
ldr x8, [x8, _MB_EINVAL@GOTPAGEOFF]
Lloh9:
ldr w1, [x8]
Lloh10:
adrp x2, l_.str.1@PAGE
Lloh11:
add x2, x2, l_.str.1@PAGEOFF
bl _MB_SLAVE_CHECK
ldr x8, [x22]
ldr x8, [x8]
Lloh12:
adrp x9, _MB_PARAM_DISCRETE@GOTPAGE
Lloh13:
ldr x9, [x9, _MB_PARAM_DISCRETE@GOTPAGEOFF]
Lloh14:
ldr x9, [x9]
mov w10, #24 ; =0x18
madd x8, x9, x10, x8
ldr w9, [x8]
asr w11, w9, #1
ldr w12, [x8, #16]
ldr x8, [x8, #8]
add w9, w20, #7
cmp w20, #0
csel w10, w9, w20, lt
add w21, w21, #1
subs w9, w21, w12
ccmp w11, #1, #8, ge
ccmp x8, #0, #4, ge
add w13, w21, w20
add w11, w12, w11, lsl #4
ccmp w20, #1, #8, ne
ccmp w13, w11, #0, ge
b.le LBB0_2
; %bb.1:
Lloh15:
adrp x8, _MB_ENOREG@GOTPAGE
Lloh16:
ldr x8, [x8, _MB_ENOREG@GOTPAGEOFF]
Lloh17:
ldr w0, [x8]
b LBB0_5
LBB0_2:
Lloh18:
adrp x11, _MB_ENOERR@GOTPAGE
Lloh19:
ldr x11, [x11, _MB_ENOERR@GOTPAGEOFF]
Lloh20:
ldr w25, [x11]
asr w10, w10, #3
add w11, w9, #7
cmp w9, #0
csel w11, w11, w9, lt
asr w12, w11, #3
and w11, w11, #0xfffffff8
sub w23, w9, w11
add x22, x8, w12, sxtw #2
add w26, w10, #2
mov x24, x22
LBB0_3: ; =>This Inner Loop Header: Depth=1
mov x0, x24
mov x1, x23
mov w2, #8 ; =0x8
bl _xMBUtilGetBits
str w0, [x19], #4
add x24, x24, #4
subs w26, w26, #1
b.gt LBB0_3
; %bb.4:
and w20, w20, #0x7
mov w8, #8 ; =0x8
sub w8, w8, w20
lsl w9, w0, w8
asr w8, w9, w8
stur w8, [x19, #-4]
Lloh21:
adrp x19, _MB_EVENT_DISCRETE_RD@GOTPAGE
Lloh22:
ldr x19, [x19, _MB_EVENT_DISCRETE_RD@GOTPAGEOFF]
ldr w0, [x19]
bl _send_param_access_notification
ldr w0, [x19]
mov x1, x21
mov x2, x22
mov x3, x20
bl _send_param_info
mov x0, x25
LBB0_5:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGot Lloh21, Lloh22
.cfi_endproc
; -- End function
.comm _mbs_interface_ptr,8,3 ; @mbs_interface_ptr
.comm _MB_EILLSTATE,4,2 ; @MB_EILLSTATE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Slave stack uninitialized."
.comm _MB_EINVAL,4,2 ; @MB_EINVAL
l_.str.1: ; @.str.1
.asciz "Slave stack call failed."
.comm _MB_PARAM_DISCRETE,8,3 ; @MB_PARAM_DISCRETE
.comm _MB_ENOERR,4,2 ; @MB_ENOERR
.comm _MB_EVENT_DISCRETE_RD,4,2 ; @MB_EVENT_DISCRETE_RD
.comm _MB_ENOREG,4,2 ; @MB_ENOREG
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function opaam
_opaam: ## @opaam
.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, %rbx
movq %rsi, %r14
movq %rdx, %rdi
callq _is_valid_registers
movq (%rbx), %rax
movl 4(%rax), %ecx
imull (%rax), %ecx
movl $212, (%r14)
testl %ecx, %ecx
movl $10, %eax
cmovnel %ecx, %eax
movl %eax, -4(%r14)
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _opaam
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function opaam
_opaam: ; @opaam
.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, x2
mov x20, x1
mov x0, x2
bl _is_valid_registers
ldr x8, [x19]
ldp w9, w8, [x8]
mul w8, w8, w9
mov w9, #212 ; =0xd4
mov w10, #10 ; =0xa
cmp w8, #0
csel w8, w10, w8, eq
stp w8, w9, [x20, #-4]
mov w0, #0 ; =0x0
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 _opaam
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _avc_lnb_control ## -- Begin function avc_lnb_control
.p2align 4, 0x90
_avc_lnb_control: ## @avc_lnb_control
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r9, %r12
movl %r8d, %r13d
movl %ecx, -48(%rbp) ## 4-byte Spill
movl %edx, -44(%rbp) ## 4-byte Spill
movl %esi, %ebx
movq %rdi, %r14
movq 16(%rdi), %r15
addq $4, %rdi
movq %rdi, -56(%rbp) ## 8-byte Spill
callq _mutex_lock
movq _AVC_CTYPE_CONTROL@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 20(%r15)
movq _AVC_SUBUNIT_TYPE_TUNER@GOTPCREL(%rip), %rax
movl (%r14), %ecx
orl (%rax), %ecx
movl %ecx, (%r15)
movq _AVC_OPCODE_VENDOR@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 16(%r15)
movq _SFE_VENDOR_DE_COMPANYID_0@GOTPCREL(%rip), %rax
movzbl (%rax), %eax
movq 8(%r15), %rcx
movb %al, (%rcx)
movq _SFE_VENDOR_DE_COMPANYID_1@GOTPCREL(%rip), %rax
movzbl (%rax), %eax
movq 8(%r15), %rcx
movb %al, 1(%rcx)
movq _SFE_VENDOR_DE_COMPANYID_2@GOTPCREL(%rip), %rax
movzbl (%rax), %eax
movq 8(%r15), %rcx
movb %al, 2(%rcx)
movq _SFE_VENDOR_OPCODE_LNB_CONTROL@GOTPCREL(%rip), %rax
movzbl (%rax), %eax
movq 8(%r15), %rcx
movb %al, 3(%rcx)
movq 8(%r15), %rax
movb %bl, 4(%rax)
movq 8(%r15), %rax
movb %r13b, 5(%rax)
testb %r13b, %r13b
js LBB0_1
## %bb.2:
incb %r13b
movzbl %r13b, %ecx
movl $6, %eax
xorl %edx, %edx
jmp LBB0_3
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_3 Depth=1
incq %rdx
cmpq %rcx, %rdx
je LBB0_8
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_5 Depth 2
movq %rdx, %rsi
shlq $4, %rsi
movzbl (%r12,%rsi), %edi
movq 8(%r15), %r8
cltq
movb %dil, (%r8,%rax)
incl %eax
cmpl $0, (%r12,%rsi)
jle LBB0_7
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
addq %r12, %rsi
movslq %eax, %r8
xorl %edi, %edi
.p2align 4, 0x90
LBB0_5: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movq 8(%rsi), %r9
movzbl (%r9,%rdi,4), %r9d
movq 8(%r15), %r10
addq %r8, %r10
movb %r9b, (%rdi,%r10)
incq %rdi
movslq (%rsi), %r9
cmpq %r9, %rdi
jl LBB0_5
## %bb.6: ## in Loop: Header=BB0_3 Depth=1
addl %edi, %eax
jmp LBB0_7
LBB0_1:
movl $6, %eax
LBB0_8:
movq 8(%r15), %rcx
movslq %eax, %rbx
movl -44(%rbp), %eax ## 4-byte Reload
movb %al, (%rcx,%rbx)
movq 8(%r15), %rax
leal 2(%rbx), %esi
movl -48(%rbp), %ecx ## 4-byte Reload
movb %cl, 1(%rax,%rbx)
movq %r15, %rdi
callq _pad_operands
leal 5(%rbx), %edi
movl $4, %esi
callq _ALIGN
movl %eax, 12(%r14)
movq %r14, %rdi
callq _avc_write
movl %eax, %ebx
testl %eax, %eax
js LBB0_11
## %bb.9:
movq (%r15), %rax
movq _AVC_RESPONSE_ACCEPTED@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_11
## %bb.10:
movl 8(%r14), %edi
leaq L_.str(%rip), %rsi
callq _dev_err
movq _EINVAL@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
subl (%rax), %ebx
LBB0_11:
movq -56(%rbp), %rdi ## 8-byte Reload
callq _mutex_unlock
movl %ebx, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _AVC_CTYPE_CONTROL,4,2 ## @AVC_CTYPE_CONTROL
.comm _AVC_SUBUNIT_TYPE_TUNER,4,2 ## @AVC_SUBUNIT_TYPE_TUNER
.comm _AVC_OPCODE_VENDOR,4,2 ## @AVC_OPCODE_VENDOR
.comm _SFE_VENDOR_DE_COMPANYID_0,1,0 ## @SFE_VENDOR_DE_COMPANYID_0
.comm _SFE_VENDOR_DE_COMPANYID_1,1,0 ## @SFE_VENDOR_DE_COMPANYID_1
.comm _SFE_VENDOR_DE_COMPANYID_2,1,0 ## @SFE_VENDOR_DE_COMPANYID_2
.comm _SFE_VENDOR_OPCODE_LNB_CONTROL,1,0 ## @SFE_VENDOR_OPCODE_LNB_CONTROL
.comm _AVC_RESPONSE_ACCEPTED,8,3 ## @AVC_RESPONSE_ACCEPTED
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "LNB control failed\n"
.comm _EINVAL,4,2 ## @EINVAL
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _avc_lnb_control ; -- Begin function avc_lnb_control
.p2align 2
_avc_lnb_control: ; @avc_lnb_control
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x23, x5
mov x24, x4
mov x21, x3
mov x22, x2
mov x25, x1
mov x19, x0
ldr x20, [x0, #16]
add x0, x0, #4
bl _mutex_lock
Lloh0:
adrp x8, _AVC_CTYPE_CONTROL@GOTPAGE
Lloh1:
ldr x8, [x8, _AVC_CTYPE_CONTROL@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
Lloh3:
adrp x9, _AVC_SUBUNIT_TYPE_TUNER@GOTPAGE
Lloh4:
ldr x9, [x9, _AVC_SUBUNIT_TYPE_TUNER@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
ldr w10, [x19]
orr w9, w10, w9
str w9, [x20]
Lloh6:
adrp x9, _AVC_OPCODE_VENDOR@GOTPAGE
Lloh7:
ldr x9, [x9, _AVC_OPCODE_VENDOR@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
stp w9, w8, [x20, #16]
Lloh9:
adrp x8, _SFE_VENDOR_DE_COMPANYID_0@GOTPAGE
Lloh10:
ldr x8, [x8, _SFE_VENDOR_DE_COMPANYID_0@GOTPAGEOFF]
ldrb w8, [x8]
ldr x9, [x20, #8]
Lloh11:
adrp x10, _SFE_VENDOR_DE_COMPANYID_1@GOTPAGE
Lloh12:
ldr x10, [x10, _SFE_VENDOR_DE_COMPANYID_1@GOTPAGEOFF]
strb w8, [x9]
ldrb w8, [x10]
ldr x9, [x20, #8]
strb w8, [x9, #1]
Lloh13:
adrp x8, _SFE_VENDOR_DE_COMPANYID_2@GOTPAGE
Lloh14:
ldr x8, [x8, _SFE_VENDOR_DE_COMPANYID_2@GOTPAGEOFF]
ldrb w8, [x8]
ldr x9, [x20, #8]
strb w8, [x9, #2]
Lloh15:
adrp x8, _SFE_VENDOR_OPCODE_LNB_CONTROL@GOTPAGE
Lloh16:
ldr x8, [x8, _SFE_VENDOR_OPCODE_LNB_CONTROL@GOTPAGEOFF]
ldrb w8, [x8]
ldr x9, [x20, #8]
strb w8, [x9, #3]
ldr x8, [x20, #8]
strb w25, [x8, #4]
ldr x8, [x20, #8]
strb w24, [x8, #5]
tbnz w24, #31, LBB0_7
; %bb.1:
mov x8, #0 ; =0x0
add w9, w24, #1
and x9, x9, #0xff
mov w24, #6 ; =0x6
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x8, x8, #1
cmp x8, x9
b.eq LBB0_8
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_5 Depth 2
add x10, x23, x8, lsl #4
ldr w11, [x10]
ldr x12, [x20, #8]
strb w11, [x12, w24, sxtw]
add w24, w24, #1
ldr w11, [x10]
cmp w11, #1
b.lt LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov x11, #0 ; =0x0
sxtw x12, w24
LBB0_5: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr x13, [x10, #8]
ldr w13, [x13, x11, lsl #2]
ldr x14, [x20, #8]
add x14, x14, x12
strb w13, [x14, x11]
add x11, x11, #1
ldrsw x13, [x10]
cmp x11, x13
b.lt LBB0_5
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
add w24, w24, w11
b LBB0_2
LBB0_7:
mov w24, #6 ; =0x6
LBB0_8:
ldr x8, [x20, #8]
mov x9, x24
sxtw x9, w9
strb w22, [x8, x9]
ldr x8, [x20, #8]
add x8, x8, x9
strb w21, [x8, #1]
add w1, w24, #2
mov x0, x20
bl _pad_operands
add w0, w24, #5
mov w1, #4 ; =0x4
bl _ALIGN
str w0, [x19, #12]
mov x0, x19
bl _avc_write
mov x21, x0
tbnz w0, #31, LBB0_11
; %bb.9:
ldr x8, [x20]
Lloh17:
adrp x9, _AVC_RESPONSE_ACCEPTED@GOTPAGE
Lloh18:
ldr x9, [x9, _AVC_RESPONSE_ACCEPTED@GOTPAGEOFF]
Lloh19:
ldr x9, [x9]
cmp x8, x9
b.eq LBB0_11
; %bb.10:
ldr w0, [x19, #8]
Lloh20:
adrp x1, l_.str@PAGE
Lloh21:
add x1, x1, l_.str@PAGEOFF
bl _dev_err
Lloh22:
adrp x8, _EINVAL@GOTPAGE
Lloh23:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh24:
ldr w8, [x8]
neg w21, w8
LBB0_11:
add x0, x19, #4
bl _mutex_unlock
mov x0, x21
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpAdd Lloh20, Lloh21
.cfi_endproc
; -- End function
.comm _AVC_CTYPE_CONTROL,4,2 ; @AVC_CTYPE_CONTROL
.comm _AVC_SUBUNIT_TYPE_TUNER,4,2 ; @AVC_SUBUNIT_TYPE_TUNER
.comm _AVC_OPCODE_VENDOR,4,2 ; @AVC_OPCODE_VENDOR
.comm _SFE_VENDOR_DE_COMPANYID_0,1,0 ; @SFE_VENDOR_DE_COMPANYID_0
.comm _SFE_VENDOR_DE_COMPANYID_1,1,0 ; @SFE_VENDOR_DE_COMPANYID_1
.comm _SFE_VENDOR_DE_COMPANYID_2,1,0 ; @SFE_VENDOR_DE_COMPANYID_2
.comm _SFE_VENDOR_OPCODE_LNB_CONTROL,1,0 ; @SFE_VENDOR_OPCODE_LNB_CONTROL
.comm _AVC_RESPONSE_ACCEPTED,8,3 ; @AVC_RESPONSE_ACCEPTED
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "LNB control failed\n"
.comm _EINVAL,4,2 ; @EINVAL
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function sort_votings
_sort_votings: ## @sort_votings
.cfi_startproc
## %bb.0:
testl %esi, %esi
jle LBB0_11
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %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
movl %esi, %eax
shrl %eax
movl (%rdi,%rax,4), %eax
movl %eax, -56(%rbp)
xorl %ecx, %ecx
leaq -56(%rbp), %rdx
movl %esi, -52(%rbp) ## 4-byte Spill
movl %esi, -44(%rbp) ## 4-byte Spill
movq %rdi, -64(%rbp) ## 8-byte Spill
jmp LBB0_2
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_2 Depth=1
movl (%rbx,%r14,4), %eax
movl (%rbx,%r12,4), %ecx
movl %ecx, (%rbx,%r14,4)
movl %eax, (%rbx,%r12,4)
movl -48(%rbp), %ecx ## 4-byte Reload
LBB0_9: ## in Loop: Header=BB0_2 Depth=1
movl %r13d, -44(%rbp) ## 4-byte Spill
cmpl %r13d, %ecx
jg LBB0_10
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
## Child Loop BB0_5 Depth 2
movslq %ecx, %r12
leaq 1(%r12), %r14
leal 2(%r12), %r13d
shlq $2, %r12
.p2align 4, 0x90
LBB0_3: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
leaq (%rbx,%r12), %rdi
movq %rdx, %rsi
movq %rdx, %r15
callq _cmp_voting
movq %r15, %rdx
decq %r14
decl %r13d
addq $-4, %r12
testq %rax, %rax
js LBB0_3
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movl %r13d, -48(%rbp) ## 4-byte Spill
movl -44(%rbp), %r13d ## 4-byte Reload
movslq %r13d, %rbx
leaq 1(%rbx), %r12
shlq $2, %rbx
.p2align 4, 0x90
LBB0_5: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movq -64(%rbp), %rax ## 8-byte Reload
leaq (%rax,%rbx), %rsi
movq %rdx, %rdi
callq _cmp_voting
movq %r15, %rdx
decq %r12
decl %r13d
addq $-4, %rbx
testq %rax, %rax
js LBB0_5
## %bb.6: ## in Loop: Header=BB0_2 Depth=1
movq -64(%rbp), %rbx ## 8-byte Reload
cmpq %r12, %r14
jle LBB0_8
## %bb.7: ## in Loop: Header=BB0_2 Depth=1
movl -48(%rbp), %ecx ## 4-byte Reload
decl %ecx
incl %r13d
jmp LBB0_9
LBB0_10:
movslq %ecx, %rax
leaq (%rbx,%rax,4), %rdi
movl -52(%rbp), %esi ## 4-byte Reload
subl %ecx, %esi
callq _sort_votings
movq %rbx, %rdi
movl -44(%rbp), %esi ## 4-byte Reload
callq _sort_votings
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
LBB0_11:
retq
.cfi_endproc
## -- End function
.no_dead_strip _sort_votings
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function sort_votings
_sort_votings: ; @sort_votings
.cfi_startproc
; %bb.0:
cmp w1, #1
b.lt LBB0_10
; %bb.1:
sub sp, sp, #96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x20, x1
mov x19, x0
mov w22, #0 ; =0x0
lsr w8, w1, #1
ldr w8, [x0, w8, uxtw #2]
str w8, [sp, #12]
mov x21, x1
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [x19, x23, lsl #2]
ldr w9, [x19, x24, lsl #2]
str w9, [x19, x23, lsl #2]
str w8, [x19, x24, lsl #2]
cmp w22, w21
b.gt LBB0_9
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_4 Depth 2
; Child Loop BB0_6 Depth 2
sxtw x8, w22
add x23, x8, #1
sbfiz x24, x22, #2, #32
add w8, w22, #2
mov x22, x8
LBB0_4: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
add x0, x19, x24
add x1, sp, #12
bl _cmp_voting
sub x23, x23, #1
sub w22, w22, #1
sub x24, x24, #4
tbnz x0, #63, LBB0_4
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
sxtw x8, w21
add x24, x8, #1
sbfiz x25, x21, #2, #32
LBB0_6: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
add x0, sp, #12
add x1, x19, x25
bl _cmp_voting
sub x24, x24, #1
sub w21, w21, #1
sub x25, x25, #4
tbnz x0, #63, LBB0_6
; %bb.7: ; in Loop: Header=BB0_3 Depth=1
cmp x23, x24
b.le LBB0_2
; %bb.8: ; in Loop: Header=BB0_3 Depth=1
sub w22, w22, #1
add w21, w21, #1
cmp w22, w21
b.le LBB0_3
LBB0_9:
add x0, x19, w22, sxtw #2
sub w1, w20, w22
bl _sort_votings
mov x0, x19
mov x1, x21
bl _sort_votings
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
LBB0_10:
ret
.cfi_endproc
; -- End function
.no_dead_strip _sort_votings
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function get_base_var
_get_base_var: ## @get_base_var
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %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
xorl %eax, %eax
callq _get_next_char
movq _config_file_eof@GOTPCREL(%rip), %r13
movl $-1, %ebx
cmpq $0, (%r13)
je LBB0_1
LBB0_8:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_1:
movl %eax, %r12d
xorl %r15d, %r15d
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
cmpl $93, %r12d
je LBB0_7
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movl %r12d, %edi
callq _isspace
testq %rax, %rax
jne LBB0_9
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movl %r12d, %edi
callq _iskeychar
testl %eax, %eax
sete %al
cmpl $46, %r12d
setne %cl
testb %cl, %al
jne LBB0_8
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
movq _MAXNAME@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, %ecx
shrl $31, %ecx
addl %eax, %ecx
sarl %ecx
movslq %ecx, %rax
cmpq %rax, %r15
jge LBB0_8
## %bb.6: ## in Loop: Header=BB0_2 Depth=1
movl %r12d, %edi
callq _tolower
movb %al, (%r14,%r15)
decq %r15
xorl %eax, %eax
callq _get_next_char
movl %eax, %r12d
cmpq $0, (%r13)
je LBB0_2
jmp LBB0_8
LBB0_7:
movl %r15d, %ebx
jmp LBB0_8
LBB0_9:
movq %r14, %rdi
movl %r15d, %esi
movl %r12d, %edx
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _get_extended_base_var ## TAILCALL
.cfi_endproc
## -- End function
.comm _config_file_eof,8,3 ## @config_file_eof
.comm _MAXNAME,4,2 ## @MAXNAME
.no_dead_strip _get_base_var
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function get_base_var
_get_base_var: ; @get_base_var
.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 x20, x0
bl _get_next_char
Lloh0:
adrp x22, _config_file_eof@GOTPAGE
Lloh1:
ldr x22, [x22, _config_file_eof@GOTPAGEOFF]
ldr x8, [x22]
cbz x8, LBB0_3
LBB0_1:
mov w19, #-1 ; =0xffffffff
LBB0_2:
mov x0, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
LBB0_3:
mov x21, x0
mov x19, #0 ; =0x0
Lloh2:
adrp x23, _MAXNAME@GOTPAGE
Lloh3:
ldr x23, [x23, _MAXNAME@GOTPAGEOFF]
LBB0_4: ; =>This Inner Loop Header: Depth=1
cmp w21, #93
b.eq LBB0_2
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
mov x0, x21
bl _isspace
cbnz x0, LBB0_10
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
mov x0, x21
bl _iskeychar
cbnz w0, LBB0_8
; %bb.7: ; in Loop: Header=BB0_4 Depth=1
cmp w21, #46
b.ne LBB0_1
LBB0_8: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [x23]
add w8, w8, w8, lsr #31
asr w8, w8, #1
cmp x19, w8, sxtw
b.ge LBB0_1
; %bb.9: ; in Loop: Header=BB0_4 Depth=1
mov x0, x21
bl _tolower
sub x24, x19, #1
strb w0, [x20, x19]
bl _get_next_char
mov x21, x0
ldr x8, [x22]
mov x19, x24
cbz x8, LBB0_4
b LBB0_1
LBB0_10:
mov x0, x20
mov x1, x19
mov x2, x21
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
b _get_extended_base_var
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.cfi_endproc
; -- End function
.comm _config_file_eof,8,3 ; @config_file_eof
.comm _MAXNAME,4,2 ; @MAXNAME
.no_dead_strip _get_base_var
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function unescape_word
_unescape_word: ## @unescape_word
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq $0, -24(%rbp)
movq _FALSE@GOTPCREL(%rip), %rax
movl (%rax), %r9d
xorl %ebx, %ebx
leaq -24(%rbp), %rcx
leaq -32(%rbp), %r8
xorl %edx, %edx
callq _Curl_urldecode
movq -24(%rbp), %r14
testq %r14, %r14
je LBB0_13
## %bb.1:
testq %rax, %rax
jne LBB0_13
## %bb.2:
movq -32(%rbp), %rax
leaq 1(,%rax,2), %rdi
callq _malloc
movq %rax, %rbx
testq %rax, %rax
je LBB0_12
## %bb.3:
movzbl (%r14), %ecx
xorl %eax, %eax
testb %cl, %cl
je LBB0_11
## %bb.4:
leaq 1(%r14), %rdx
movabsq $288230376151711777, %rsi ## imm = 0x400000000000021
jmp LBB0_5
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_5 Depth=1
movslq %eax, %rdi
incl %eax
movb $92, (%rbx,%rdi)
LBB0_9: ## in Loop: Header=BB0_5 Depth=1
movslq %eax, %rdi
incl %eax
movb %cl, (%rbx,%rdi)
movzbl (%rdx), %ecx
incq %rdx
testb %cl, %cl
je LBB0_10
LBB0_5: ## =>This Inner Loop Header: Depth=1
leal -127(%rcx), %edi
cmpb $-94, %dil
jb LBB0_8
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movzbl %cl, %edi
addl $-34, %edi
cmpl $58, %edi
ja LBB0_9
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
btq %rdi, %rsi
jb LBB0_8
jmp LBB0_9
LBB0_10:
cltq
LBB0_11:
movb $0, (%rbx,%rax)
LBB0_12:
movq %r14, %rdi
callq _free
LBB0_13:
movq %rbx, %rax
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _FALSE,4,2 ## @FALSE
.no_dead_strip _unescape_word
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function unescape_word
_unescape_word: ; @unescape_word
.cfi_startproc
; %bb.0:
sub sp, sp, #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, #8]
Lloh0:
adrp x8, _FALSE@GOTPAGE
Lloh1:
ldr x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
ldr w5, [x8]
add x3, sp, #8
mov x4, sp
mov w2, #0 ; =0x0
bl _Curl_urldecode
mov x8, x0
mov x0, #0 ; =0x0
ldr x19, [sp, #8]
cmp x19, #0
ccmp x8, #0, #0, ne
b.ne LBB0_13
; %bb.1:
ldr x8, [sp]
mov w9, #1 ; =0x1
orr x0, x9, x8, lsl #1
bl _malloc
cbz x0, LBB0_12
; %bb.2:
ldrb w8, [x19]
tst w8, #0xff
b.eq LBB0_10
; %bb.3:
mov w12, #0 ; =0x0
add x9, x19, #1
mov w10, #92 ; =0x5c
mov w11, #1 ; =0x1
mov x13, #33 ; =0x21
movk x13, #1024, lsl #48
b LBB0_6
LBB0_4: ; in Loop: Header=BB0_6 Depth=1
strb w10, [x0, w12, sxtw]
add w12, w12, #1
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
add w14, w12, #1
strb w8, [x0, w12, sxtw]
ldrb w8, [x9], #1
mov x12, x14
tst w8, #0xff
b.eq LBB0_9
LBB0_6: ; =>This Inner Loop Header: Depth=1
sub w14, w8, #127
and w14, w14, #0xff
cmp w14, #162
b.lo LBB0_4
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
and w14, w8, #0xff
sub w14, w14, #34
cmp w14, #58
b.hi LBB0_5
; %bb.8: ; in Loop: Header=BB0_6 Depth=1
lsl x14, x11, x14
tst x14, x13
b.ne LBB0_4
b LBB0_5
LBB0_9:
sxtw x8, w14
b LBB0_11
LBB0_10:
mov x8, #0 ; =0x0
LBB0_11:
strb wzr, [x0, x8]
LBB0_12:
mov x20, x0
mov x0, x19
bl _free
mov x0, x20
LBB0_13:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _FALSE,4,2 ; @FALSE
.no_dead_strip _unescape_word
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _getnewstatvfs ## -- Begin function getnewstatvfs
.p2align 4, 0x90
_getnewstatvfs: ## @getnewstatvfs
.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 _sftotal@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _sfused@GOTPCREL(%rip), %rbx
movq _allstatvfs@GOTPCREL(%rip), %r14
movq (%r14), %rdi
cmpl (%rbx), %ecx
jne LBB0_4
## %bb.1:
leal (%rcx,%rcx), %edx
testl %ecx, %ecx
movl $1, %esi
cmovnel %edx, %esi
movl %esi, (%rax)
shll $2, %esi
callq _realloc
movq %rax, (%r14)
testq %rax, %rax
je LBB0_2
## %bb.3:
movq _EXIT_FAILURE@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
callq _err
movq (%r14), %rdi
jmp LBB0_4
LBB0_2:
xorl %edi, %edi
LBB0_4:
movslq (%rbx), %rax
leal -1(%rax), %ecx
movl %ecx, (%rbx)
leaq (%rdi,%rax,4), %rax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _sftotal,4,2 ## @sftotal
.comm _sfused,4,2 ## @sfused
.comm _allstatvfs,8,3 ## @allstatvfs
.comm _EXIT_FAILURE,4,2 ## @EXIT_FAILURE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "realloc"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _getnewstatvfs ; -- Begin function getnewstatvfs
.p2align 2
_getnewstatvfs: ; @getnewstatvfs
.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
Lloh0:
adrp x8, _sftotal@GOTPAGE
Lloh1:
ldr x8, [x8, _sftotal@GOTPAGEOFF]
Lloh2:
adrp x19, _sfused@GOTPAGE
Lloh3:
ldr x19, [x19, _sfused@GOTPAGEOFF]
ldr w9, [x8]
ldr w10, [x19]
Lloh4:
adrp x20, _allstatvfs@GOTPAGE
Lloh5:
ldr x20, [x20, _allstatvfs@GOTPAGEOFF]
ldr x0, [x20]
cmp w9, w10
b.ne LBB0_3
; %bb.1:
lsl w10, w9, #1
cmp w9, #0
csinc w9, w10, wzr, ne
str w9, [x8]
lsl w1, w9, #2
bl _realloc
str x0, [x20]
cbz x0, LBB0_3
; %bb.2:
Lloh6:
adrp x8, _EXIT_FAILURE@GOTPAGE
Lloh7:
ldr x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh8:
ldr w0, [x8]
Lloh9:
adrp x1, l_.str@PAGE
Lloh10:
add x1, x1, l_.str@PAGEOFF
bl _err
ldr x0, [x20]
LBB0_3:
ldrsw x8, [x19]
sub w9, w8, #1
str w9, [x19]
add x0, x0, x8, lsl #2
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _sftotal,4,2 ; @sftotal
.comm _sfused,4,2 ; @sfused
.comm _allstatvfs,8,3 ; @allstatvfs
.comm _EXIT_FAILURE,4,2 ; @EXIT_FAILURE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "realloc"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function base64
_base64: ## @base64
.cfi_startproc
## %bb.0:
testq %rdx, %rdx
je LBB0_1
## %bb.2:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq _base64tab@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movl $2, %r8d
xorl %eax, %eax
jmp LBB0_3
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_3 Depth=1
movslq -8(%rdi,%r8,4), %r11
shll $4, %r11d
andl $48, %r11d
sarl $4, %r9d
movslq %r9d, %r9
orq %r11, %r9
movl (%rcx,%r9,4), %r9d
movl %r9d, -4(%rsi,%rax,4)
movl %ebx, (%rsi,%rax,4)
movl %r10d, 4(%rsi,%rax,4)
addq $2, %rax
leaq 3(%r8), %r9
incq %r8
cmpq %rdx, %r8
movq %r9, %r8
jae LBB0_12
LBB0_3: ## =>This Inner Loop Header: Depth=1
leaq -3(%r8), %r10
movl $0, %r9d
cmpq %rdx, %r10
jae LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movl -4(%rdi,%r8,4), %r9d
LBB0_5: ## in Loop: Header=BB0_3 Depth=1
xorl %r11d, %r11d
cmpq %rdx, %r8
jae LBB0_7
## %bb.6: ## in Loop: Header=BB0_3 Depth=1
movl (%rdi,%r8,4), %r11d
LBB0_7: ## in Loop: Header=BB0_3 Depth=1
leaq -1(%r8), %r14
movl $61, %r10d
movl $61, %ebx
cmpq %rdx, %r14
jae LBB0_9
## %bb.8: ## in Loop: Header=BB0_3 Depth=1
leal (,%r9,4), %ebx
andl $60, %ebx
movl %r11d, %r14d
sarl $6, %r14d
orl %ebx, %r14d
movslq %r14d, %rbx
movl (%rcx,%rbx,4), %ebx
LBB0_9: ## in Loop: Header=BB0_3 Depth=1
cmpq %rdx, %r8
jae LBB0_11
## %bb.10: ## in Loop: Header=BB0_3 Depth=1
andl $63, %r11d
movl (%rcx,%r11,4), %r10d
jmp LBB0_11
LBB0_12:
andl $-2, %eax
popq %rbx
popq %r14
popq %rbp
jmp LBB0_13
LBB0_1:
xorl %eax, %eax
LBB0_13:
movl $0, (%rsi,%rax,4)
movq %rsi, %rdi
jmp _strlen ## TAILCALL
.cfi_endproc
## -- End function
.comm _base64tab,8,3 ## @base64tab
.no_dead_strip _base64
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function base64
_base64: ; @base64
.cfi_startproc
; %bb.0:
mov x8, #0 ; =0x0
cbz x2, LBB0_9
; %bb.1:
Lloh0:
adrp x9, _base64tab@GOTPAGE
Lloh1:
ldr x9, [x9, _base64tab@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
add x10, x0, #8
mov w11, #2 ; =0x2
mov w12, #61 ; =0x3d
mov x13, x1
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
ldr w15, [x10]
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
ldur w16, [x10, #-8]
ubfiz w16, w16, #4, #2
orr w16, w16, w14, asr #4
ldr w16, [x9, w16, sxtw #2]
ubfiz w14, w14, #2, #4
orr w14, w14, w15, asr #6
ldr w14, [x9, w14, sxtw #2]
and w15, w15, #0x3f
ldr w15, [x9, w15, uxtw #2]
sub x17, x11, #1
cmp x17, x2
csel w14, w14, w12, lo
cmp x11, x2
csel w15, w15, w12, lo
stp w16, w14, [x13, #-4]
add x8, x8, #2
str w15, [x13, #4]
add x13, x13, #8
add x10, x10, #12
add x14, x11, #1
add x11, x11, #3
cmp x14, x2
b.hs LBB0_8
LBB0_4: ; =>This Inner Loop Header: Depth=1
sub x14, x11, #3
cmp x14, x2
b.hs LBB0_6
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
ldur w14, [x10, #-4]
cmp x11, x2
b.lo LBB0_2
b LBB0_7
LBB0_6: ; in Loop: Header=BB0_4 Depth=1
mov w14, #0 ; =0x0
cmp x11, x2
b.lo LBB0_2
LBB0_7: ; in Loop: Header=BB0_4 Depth=1
mov w15, #0 ; =0x0
b LBB0_3
LBB0_8:
and x8, x8, #0xfffffffe
LBB0_9:
str wzr, [x1, x8, lsl #2]
mov x0, x1
b _strlen
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _base64tab,8,3 ; @base64tab
.no_dead_strip _base64
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function format_alpha_number
_format_alpha_number: ## @format_alpha_number
.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 $176, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
## kill: def $r9d killed $r9d def $r9
## kill: def $r8d killed $r8d def $r8
movl %ecx, %eax
movq %rsi, %rbx
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq %rcx, -24(%rbp)
xorl %ecx, %ecx
cmpl $256, %r8d ## imm = 0x100
setge %dl
testl %eax, %eax
jle LBB0_6
## %bb.1:
subl %r8d, %r9d
movb %dl, %cl
leal (%rcx,%r9), %esi
incl %esi
movl $1, %edi
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
cmpl $257, %r8d ## imm = 0x101
setge %r9b
decl %eax
cltd
idivl %esi
## kill: def $edx killed $edx def $rdx
movl %edi, %r14d
leal (%rdx,%r8), %edi
cmpl $17, %edx
setae %dl
andb %r9b, %dl
movzbl %dl, %edx
addl %edi, %edx
movl %edx, -192(%rbp,%rcx,4)
incq %rcx
leal 1(%r14), %edi
testl %eax, %eax
jg LBB0_2
## %bb.3:
testl %ecx, %ecx
jle LBB0_6
## %bb.4:
andl $2147483647, %r14d ## imm = 0x7FFFFFFF
incq %r14
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movl -200(%rbp,%r14,4), %esi
movq %rbx, %rdi
callq _fz_runetochar
cltq
addq %rax, %rbx
decq %r14
cmpq $1, %r14
ja LBB0_5
LBB0_6:
movw $8238, (%rbx) ## imm = 0x202E
movb $0, 2(%rbx)
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -24(%rbp), %rax
jne LBB0_8
## %bb.7:
addq $176, %rsp
popq %rbx
popq %r14
popq %rbp
retq
LBB0_8:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.no_dead_strip _format_alpha_number
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function format_alpha_number
_format_alpha_number: ; @format_alpha_number
.cfi_startproc
; %bb.0:
sub sp, sp, #224
stp x22, x21, [sp, #176] ; 16-byte Folded Spill
stp x20, x19, [sp, #192] ; 16-byte Folded Spill
stp x29, x30, [sp, #208] ; 16-byte Folded Spill
add x29, sp, #208
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-40]
cmp w4, #255
mov w8, #1 ; =0x1
cinc w8, w8, gt
cmp w3, #1
b.lt LBB0_6
; %bb.1:
mov x11, #0 ; =0x0
sub w9, w5, w4
add w8, w9, w8
mov w12, #1 ; =0x1
add x9, sp, #8
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x10, x12
sub w12, w3, #1
sdiv w3, w12, w8
msub w12, w3, w8, w12
cmp w4, #256
add w13, w12, w4
ccmp w12, #16, #0, gt
cinc w12, w13, hi
str w12, [x9, x11, lsl #2]
add x11, x11, #1
add w12, w10, #1
cmp w3, #0
b.gt LBB0_2
; %bb.3:
cmp w11, #1
b.lt LBB0_6
; %bb.4:
and x8, x10, #0x7fffffff
add x20, x8, #1
add x9, sp, #8
add x8, x9, x8, lsl #2
sub x21, x8, #4
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr w1, [x21], #-4
mov x0, x19
bl _fz_runetochar
add x19, x19, w0, sxtw
sub x20, x20, #1
cmp x20, #1
b.hi LBB0_5
LBB0_6:
mov w8, #8238 ; =0x202e
strh w8, [x19]
strb wzr, [x19, #2]
ldur x8, [x29, #-40]
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_8
; %bb.7:
ldp x29, x30, [sp, #208] ; 16-byte Folded Reload
ldp x20, x19, [sp, #192] ; 16-byte Folded Reload
ldp x22, x21, [sp, #176] ; 16-byte Folded Reload
add sp, sp, #224
ret
LBB0_8:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.no_dead_strip _format_alpha_number
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function readfile
_readfile: ## @readfile
.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 $0, (%rsi)
movq _O_RDONLY@GOTPCREL(%rip), %rax
movq _PG_BINARY@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
orl (%rax), %esi
xorl %r15d, %r15d
xorl %edx, %edx
callq _open
testl %eax, %eax
jle LBB0_9
## %bb.1:
movl %eax, %r14d
leaq -36(%rbp), %rsi
movl %eax, %edi
callq _fstat
testq %rax, %rax
js LBB0_2
## %bb.3:
movl -36(%rbp), %edi
testl %edi, %edi
je LBB0_4
## %bb.5:
incl %edi
callq _pg_malloc
movq %rax, %r12
movl -36(%rbp), %edx
incl %edx
movl %r14d, %edi
movq %rax, %rsi
callq _read
movl %eax, %r15d
movl %r14d, %edi
callq _close
cmpl -36(%rbp), %r15d
jne LBB0_10
## %bb.6:
testl %r15d, %r15d
jle LBB0_8
.p2align 4, 0x90
LBB0_7: ## =>This Inner Loop Header: Depth=1
jmp LBB0_7
LBB0_2:
movl %r14d, %edi
callq _close
xorl %r15d, %r15d
jmp LBB0_9
LBB0_4:
movl %r14d, %edi
callq _close
movl $8, %edi
callq _pg_malloc
movq %rax, %r15
movq $0, (%rax)
jmp LBB0_9
LBB0_10:
movq %r12, %rdi
callq _free
xorl %r15d, %r15d
jmp LBB0_9
LBB0_8:
movl $8, %edi
callq _pg_malloc
movq %rax, %r15
movl $0, (%rbx)
movq $0, (%rax)
movq %r12, %rdi
callq _free
LBB0_9:
movq %r15, %rax
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _O_RDONLY,4,2 ## @O_RDONLY
.comm _PG_BINARY,4,2 ## @PG_BINARY
.no_dead_strip _readfile
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function readfile
_readfile: ; @readfile
.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, x1
str wzr, [x1]
Lloh0:
adrp x8, _O_RDONLY@GOTPAGE
Lloh1:
ldr x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
Lloh3:
adrp x9, _PG_BINARY@GOTPAGE
Lloh4:
ldr x9, [x9, _PG_BINARY@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
orr w1, w9, w8
mov w2, #0 ; =0x0
bl _open
cmp w0, #1
b.lt LBB0_6
; %bb.1:
mov x20, x0
add x1, sp, #12
bl _fstat
tbnz x0, #63, LBB0_7
; %bb.2:
ldr w8, [sp, #12]
cbz w8, LBB0_8
; %bb.3:
add w0, w8, #1
bl _pg_malloc
mov x21, x0
ldr w8, [sp, #12]
add w2, w8, #1
mov x0, x20
mov x1, x21
bl _read
mov x22, x0
mov x0, x20
bl _close
ldr w8, [sp, #12]
cmp w22, w8
b.ne LBB0_9
; %bb.4:
cmp w22, #1
b.lt LBB0_10
LBB0_5: ; =>This Inner Loop Header: Depth=1
b LBB0_5
LBB0_6:
mov x0, #0 ; =0x0
b LBB0_11
LBB0_7:
mov x0, x20
bl _close
mov x0, #0 ; =0x0
b LBB0_11
LBB0_8:
mov x0, x20
bl _close
mov w0, #8 ; =0x8
bl _pg_malloc
str xzr, [x0]
b LBB0_11
LBB0_9:
mov x0, x21
bl _free
mov x0, #0 ; =0x0
b LBB0_11
LBB0_10:
mov w0, #8 ; =0x8
bl _pg_malloc
mov x20, x0
str wzr, [x19]
str xzr, [x0]
mov x0, x21
bl _free
mov x0, x20
LBB0_11:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _O_RDONLY,4,2 ; @O_RDONLY
.comm _PG_BINARY,4,2 ; @PG_BINARY
.no_dead_strip _readfile
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function spellfix1Dequote
_spellfix1Dequote: ## @spellfix1Dequote
.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
incq %rbx
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movsbl -1(%rbx), %edi
decq %rbx
callq _isspace
testq %rax, %rax
jne LBB0_1
## %bb.2:
leaq L_.str(%rip), %rdi
movq %rbx, %rsi
callq _sqlite3_mprintf
movq %rax, %rbx
testq %rax, %rax
je LBB0_11
## %bb.3:
movq %rbx, %rdi
callq _strlen
cltq
movb $0, (%rbx,%rax)
movzbl (%rbx), %r14d
cmpl $39, %r14d
je LBB0_5
## %bb.4:
cmpl $34, %r14d
jne LBB0_11
LBB0_5:
movsbl 1(%rbx), %edi
callq _ALWAYS
testq %rax, %rax
je LBB0_11
## %bb.6:
leaq 1(%rbx), %r13
movl $1, %r12d
movq %rbx, %r15
jmp LBB0_7
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_7 Depth=1
incq %r12
LBB0_10: ## in Loop: Header=BB0_7 Depth=1
movslq %r12d, %rax
leaq 1(%rax), %r12
leaq (%rbx,%rax), %r13
incq %r13
movsbl 1(%rbx,%rax), %edi
callq _ALWAYS
incq %r15
testq %rax, %rax
je LBB0_11
LBB0_7: ## =>This Inner Loop Header: Depth=1
movzbl (%r13), %eax
movb %al, (%r15)
cmpb %r14b, %al
jne LBB0_10
## %bb.8: ## in Loop: Header=BB0_7 Depth=1
movslq %r12d, %r12
cmpb %r14b, 1(%rbx,%r12)
je LBB0_9
## %bb.12:
movb $0, (%r15)
LBB0_11:
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s"
.no_dead_strip _spellfix1Dequote
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function spellfix1Dequote
_spellfix1Dequote: ; @spellfix1Dequote
.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
add x19, x0, #1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldrsb w0, [x19, #-1]!
bl _isspace
cbnz x0, LBB0_1
; %bb.2:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
mov x1, x19
bl _sqlite3_mprintf
mov x19, x0
cbz x0, LBB0_11
; %bb.3:
mov x0, x19
bl _strlen
strb wzr, [x19, w0, sxtw]
ldrb w20, [x19]
cmp w20, #39
b.eq LBB0_5
; %bb.4:
cmp w20, #34
b.ne LBB0_11
LBB0_5:
mov x22, x19
ldrsb w0, [x22, #1]!
bl _ALWAYS
cbz x0, LBB0_11
; %bb.6:
mov w8, #1 ; =0x1
mov x21, x19
b LBB0_8
LBB0_7: ; in Loop: Header=BB0_8 Depth=1
sxtw x8, w8
add x23, x8, #1
add x22, x19, x23
ldrsb w0, [x22]
bl _ALWAYS
add x21, x21, #1
mov x8, x23
cbz x0, LBB0_11
LBB0_8: ; =>This Inner Loop Header: Depth=1
ldrb w9, [x22]
strb w9, [x21]
cmp w9, w20
b.ne LBB0_7
; %bb.9: ; in Loop: Header=BB0_8 Depth=1
; kill: def $w8 killed $w8 killed $x8 def $x8
sxtw x8, w8
add x8, x8, #1
ldrb w9, [x19, x8]
; kill: def $w8 killed $w8 killed $x8 def $x8
cmp w9, w20
b.eq LBB0_7
; %bb.10:
strb wzr, [x21]
LBB0_11:
mov x0, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s"
.no_dead_strip _spellfix1Dequote
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function directory_exists_in_index
_directory_exists_in_index: ## @directory_exists_in_index
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %r15
movq _ignore_case@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB0_1
## %bb.12:
movq %r15, %rdi
movq %r14, %rsi
movl %ebx, %edx
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _directory_exists_in_index_icase ## TAILCALL
LBB0_1:
movq %r15, %rdi
movq %r14, %rsi
movl %ebx, %edx
callq _index_name_pos
movl %eax, %ecx
sarl $31, %ecx
xorl %eax, %ecx
movslq %ebx, %rax
movq %rax, -48(%rbp) ## 8-byte Spill
movslq %ecx, %r13
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movslq (%r15), %rax
cmpq %rax, %r13
jge LBB0_10
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq 8(%r15), %rax
movq (%rax,%r13,8), %r12
movq (%r12), %rdi
movq %r14, %rsi
movl %ebx, %edx
callq _strncmp
testq %rax, %rax
jne LBB0_10
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movq (%r12), %rax
movq -48(%rbp), %rcx ## 8-byte Reload
movzbl (%rax,%rcx), %eax
cmpl $47, %eax
ja LBB0_10
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
testl %eax, %eax
je LBB0_9
## %bb.6: ## in Loop: Header=BB0_2 Depth=1
cmpl $47, %eax
je LBB0_7
## %bb.8: ## in Loop: Header=BB0_2 Depth=1
movl 8(%r12), %edi
callq _S_ISGITLINK
decq %r13
testq %rax, %rax
je LBB0_2
LBB0_9:
movq _index_gitdir@GOTPCREL(%rip), %rax
jmp LBB0_11
LBB0_10:
movq _index_nonexistent@GOTPCREL(%rip), %rax
jmp LBB0_11
LBB0_7:
movq _index_directory@GOTPCREL(%rip), %rax
LBB0_11:
movl (%rax), %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ignore_case,8,3 ## @ignore_case
.comm _index_directory,4,2 ## @index_directory
.comm _index_gitdir,4,2 ## @index_gitdir
.comm _index_nonexistent,4,2 ## @index_nonexistent
.no_dead_strip _directory_exists_in_index
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function directory_exists_in_index
_directory_exists_in_index: ; @directory_exists_in_index
.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, x2
mov x20, x1
mov x21, x0
Lloh0:
adrp x8, _ignore_case@GOTPAGE
Lloh1:
ldr x8, [x8, _ignore_case@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cbz x8, LBB0_2
; %bb.1:
mov x0, x21
mov x1, x20
mov x2, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
b _directory_exists_in_index_icase
LBB0_2:
mov x0, x21
mov x1, x20
mov x2, x19
bl _index_name_pos
eor w8, w0, w0, asr #31
sxtw x22, w8
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldrsw x8, [x21]
cmp x22, x8
b.ge LBB0_10
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x21, #8]
ldr x23, [x8, x22, lsl #3]
ldr x0, [x23]
mov x1, x20
mov x2, x19
bl _strncmp
cbnz x0, LBB0_10
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x23]
ldrb w8, [x8, w19, sxtw]
cmp w8, #47
b.hi LBB0_10
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
cbz w8, LBB0_9
; %bb.7: ; in Loop: Header=BB0_3 Depth=1
cmp w8, #47
b.eq LBB0_11
; %bb.8: ; in Loop: Header=BB0_3 Depth=1
ldr w0, [x23, #8]
bl _S_ISGITLINK
sub x22, x22, #1
cbz x0, LBB0_3
LBB0_9:
Lloh3:
adrp x8, _index_gitdir@GOTPAGE
Lloh4:
ldr x8, [x8, _index_gitdir@GOTPAGEOFF]
b LBB0_12
LBB0_10:
Lloh5:
adrp x8, _index_nonexistent@GOTPAGE
Lloh6:
ldr x8, [x8, _index_nonexistent@GOTPAGEOFF]
b LBB0_12
LBB0_11:
Lloh7:
adrp x8, _index_directory@GOTPAGE
Lloh8:
ldr x8, [x8, _index_directory@GOTPAGEOFF]
LBB0_12:
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
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _ignore_case,8,3 ; @ignore_case
.comm _index_directory,4,2 ; @index_directory
.comm _index_gitdir,4,2 ; @index_gitdir
.comm _index_nonexistent,4,2 ; @index_nonexistent
.no_dead_strip _directory_exists_in_index
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function pc110pad_interrupt
_pc110pad_interrupt: ## @pc110pad_interrupt
.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 _pc110pad_io@GOTPCREL(%rip), %r15
movl (%r15), %edi
callq _inb_p
movl %eax, %ebx
movl (%r15), %edi
addl $2, %edi
callq _inb_p
movl %eax, %r14d
movl %eax, %edi
orl $1, %edi
movl (%r15), %esi
addl $2, %esi
callq _outb
movl $2, %edi
callq _udelay
andl $-2, %r14d
movl (%r15), %esi
addl $2, %esi
movl %r14d, %edi
callq _outb
movl $2, %edi
callq _udelay
movl $100, %edi
callq _inb_p
movq _pc110pad_data@GOTPCREL(%rip), %r15
movq (%r15), %rax
movq _pc110pad_count@GOTPCREL(%rip), %r14
movslq (%r14), %rcx
leal -1(%rcx), %edx
movl %edx, (%r14)
movl %ebx, (%rax,%rcx,4)
cmpl $4, (%r14)
jl LBB0_2
## %bb.1:
movq _pc110pad_dev@GOTPCREL(%rip), %rbx
movl (%rbx), %edi
movq _BTN_TOUCH@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movl (%rax), %edx
andl $1, %edx
callq _input_report_key
movl (%rbx), %edi
movq _ABS_X@GOTPCREL(%rip), %rax
movq (%r15), %rcx
movl (%rcx), %edx
movl %edx, %r8d
andl $16, %r8d
shll $3, %r8d
orl 4(%rcx), %r8d
movl (%rax), %esi
addl %edx, %edx
andl $256, %edx ## imm = 0x100
orl %r8d, %edx
callq _input_report_abs
movl (%rbx), %edi
movq _ABS_Y@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq (%r15), %rax
movl (%rax), %edx
andl $8, %edx
shll $4, %edx
orl 8(%rax), %edx
callq _input_report_abs
movl (%rbx), %edi
callq _input_sync
movl $0, (%r14)
LBB0_2:
movq _IRQ_HANDLED@GOTPCREL(%rip), %rax
movl (%rax), %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _pc110pad_io,4,2 ## @pc110pad_io
.comm _pc110pad_data,8,3 ## @pc110pad_data
.comm _pc110pad_count,4,2 ## @pc110pad_count
.comm _IRQ_HANDLED,4,2 ## @IRQ_HANDLED
.comm _pc110pad_dev,4,2 ## @pc110pad_dev
.comm _BTN_TOUCH,4,2 ## @BTN_TOUCH
.comm _ABS_X,4,2 ## @ABS_X
.comm _ABS_Y,4,2 ## @ABS_Y
.no_dead_strip _pc110pad_interrupt
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function pc110pad_interrupt
_pc110pad_interrupt: ; @pc110pad_interrupt
.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
Lloh0:
adrp x21, _pc110pad_io@GOTPAGE
Lloh1:
ldr x21, [x21, _pc110pad_io@GOTPAGEOFF]
ldr w0, [x21]
bl _inb_p
mov x19, x0
ldr w8, [x21]
add w0, w8, #2
bl _inb_p
mov x20, x0
ldr w8, [x21]
orr w0, w0, #0x1
add w1, w8, #2
bl _outb
mov w0, #2 ; =0x2
bl _udelay
ldr w8, [x21]
and w0, w20, #0xfffffffe
add w1, w8, #2
bl _outb
mov w0, #2 ; =0x2
bl _udelay
mov w0, #100 ; =0x64
bl _inb_p
Lloh2:
adrp x21, _pc110pad_data@GOTPAGE
Lloh3:
ldr x21, [x21, _pc110pad_data@GOTPAGEOFF]
ldr x8, [x21]
Lloh4:
adrp x20, _pc110pad_count@GOTPAGE
Lloh5:
ldr x20, [x20, _pc110pad_count@GOTPAGEOFF]
ldrsw x9, [x20]
sub w10, w9, #1
str w10, [x20]
str w19, [x8, x9, lsl #2]
ldr w9, [x20]
cmp w9, #4
b.lt LBB0_2
; %bb.1:
Lloh6:
adrp x19, _pc110pad_dev@GOTPAGE
Lloh7:
ldr x19, [x19, _pc110pad_dev@GOTPAGEOFF]
ldr w0, [x19]
Lloh8:
adrp x9, _BTN_TOUCH@GOTPAGE
Lloh9:
ldr x9, [x9, _BTN_TOUCH@GOTPAGEOFF]
Lloh10:
ldr w1, [x9]
ldr w8, [x8]
and w2, w8, #0x1
bl _input_report_key
ldr w0, [x19]
Lloh11:
adrp x8, _ABS_X@GOTPAGE
Lloh12:
ldr x8, [x8, _ABS_X@GOTPAGEOFF]
Lloh13:
ldr w1, [x8]
ldr x8, [x21]
ldp w8, w9, [x8]
lsl w10, w8, #3
and w10, w10, #0x80
orr w9, w10, w9
lsl w8, w8, #1
and w8, w8, #0x100
orr w2, w9, w8
bl _input_report_abs
ldr w0, [x19]
Lloh14:
adrp x8, _ABS_Y@GOTPAGE
Lloh15:
ldr x8, [x8, _ABS_Y@GOTPAGEOFF]
Lloh16:
ldr w1, [x8]
ldr x8, [x21]
ldr w9, [x8, #8]
ldr w8, [x8]
lsl w8, w8, #4
and w8, w8, #0x80
orr w2, w8, w9
bl _input_report_abs
ldr w0, [x19]
bl _input_sync
str wzr, [x20]
LBB0_2:
Lloh17:
adrp x8, _IRQ_HANDLED@GOTPAGE
Lloh18:
ldr x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh19:
ldr w0, [x8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.cfi_endproc
; -- End function
.comm _pc110pad_io,4,2 ; @pc110pad_io
.comm _pc110pad_data,8,3 ; @pc110pad_data
.comm _pc110pad_count,4,2 ; @pc110pad_count
.comm _IRQ_HANDLED,4,2 ; @IRQ_HANDLED
.comm _pc110pad_dev,4,2 ; @pc110pad_dev
.comm _BTN_TOUCH,4,2 ; @BTN_TOUCH
.comm _ABS_X,4,2 ; @ABS_X
.comm _ABS_Y,4,2 ; @ABS_Y
.no_dead_strip _pc110pad_interrupt
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function tifm_sd_read_fifo
_tifm_sd_read_fifo: ## @tifm_sd_read_fifo
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, %r15d
movl %edx, %r12d
movq %rdi, %rbx
movq 16(%rdi), %r13
movq %rsi, %rdi
callq _kmap_atomic
movq %rax, %r14
movl %r12d, %eax
subq %rax, %r14
negq %rax
movq %rax, -56(%rbp) ## 8-byte Spill
movq _DATA_CARRY@GOTPCREL(%rip), %rcx
movl (%rcx), %eax
orl (%rbx), %eax
movq %rbx, -48(%rbp) ## 8-byte Spill
je LBB0_1
## %bb.2:
movq 8(%rbx), %rax
movzbl (%rax), %eax
movb %al, (%r14)
movl (%rcx), %eax
notl %eax
andl %eax, (%rbx)
movl $1, %ebx
testl %r15d, %r15d
jne LBB0_3
jmp LBB0_7
LBB0_1:
xorl %ebx, %ebx
LBB0_3:
leal -1(%r15), %r12d
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq _SOCK_MMCSD_DATA@GOTPCREL(%rip), %rax
movq (%rax), %rdi
addq (%r13), %rdi
callq _readl
movl %ebx, %ecx
movb %al, (%r14,%rcx)
shrl $8, %eax
cmpl %ebx, %r12d
je LBB0_5
## %bb.6: ## in Loop: Header=BB0_4 Depth=1
leal 1(%rbx), %ecx
addl $2, %ebx
movl %ecx, %ecx
movb %al, (%r14,%rcx)
cmpl %r15d, %ebx
jbe LBB0_4
jmp LBB0_7
LBB0_5:
movq -48(%rbp), %rdx ## 8-byte Reload
movq 8(%rdx), %rcx
movb %al, (%rcx)
movq _DATA_CARRY@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %eax, (%rdx)
LBB0_7:
addq -56(%rbp), %r14 ## 8-byte Folded Reload
movq %r14, %rdi
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _kunmap_atomic ## TAILCALL
.cfi_endproc
## -- End function
.comm _DATA_CARRY,4,2 ## @DATA_CARRY
.comm _SOCK_MMCSD_DATA,8,3 ## @SOCK_MMCSD_DATA
.no_dead_strip _tifm_sd_read_fifo
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function tifm_sd_read_fifo
_tifm_sd_read_fifo: ; @tifm_sd_read_fifo
.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
mov x20, x3
mov x21, x2
mov x19, x0
ldr x23, [x0, #16]
mov x0, x1
bl _kmap_atomic
mov w8, w21
neg x21, x8
sub x22, x0, x8
ldr w8, [x19]
Lloh0:
adrp x24, _DATA_CARRY@GOTPAGE
Lloh1:
ldr x24, [x24, _DATA_CARRY@GOTPAGEOFF]
ldr w9, [x24]
orr w8, w9, w8
cbz w8, LBB0_3
; %bb.1:
ldr x8, [x19, #8]
ldrb w8, [x8]
strb w8, [x22]
ldr w8, [x24]
ldr w9, [x19]
bic w8, w9, w8
str w8, [x19]
cbz w20, LBB0_8
; %bb.2:
mov w25, #1 ; =0x1
b LBB0_4
LBB0_3:
mov w25, #0 ; =0x0
LBB0_4:
sub w26, w20, #1
Lloh2:
adrp x27, _SOCK_MMCSD_DATA@GOTPAGE
Lloh3:
ldr x27, [x27, _SOCK_MMCSD_DATA@GOTPAGEOFF]
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr x8, [x23]
ldr x9, [x27]
add x0, x9, x8
bl _readl
strb w0, [x22, w25, uxtw]
cmp w26, w25
b.eq LBB0_7
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
add w8, w25, #1
lsr w9, w0, #8
add w25, w25, #2
strb w9, [x22, w8, uxtw]
cmp w25, w20
b.ls LBB0_5
b LBB0_8
LBB0_7:
lsr w8, w0, #8
ldr x9, [x19, #8]
strb w8, [x9]
ldr w8, [x24]
ldr w9, [x19]
orr w8, w9, w8
str w8, [x19]
LBB0_8:
add x0, x22, x21
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 _kunmap_atomic
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.cfi_endproc
; -- End function
.comm _DATA_CARRY,4,2 ; @DATA_CARRY
.comm _SOCK_MMCSD_DATA,8,3 ; @SOCK_MMCSD_DATA
.no_dead_strip _tifm_sd_read_fifo
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function pch_uart_hal_write
_pch_uart_hal_write: ## @pch_uart_hal_write
.cfi_startproc
## %bb.0:
testl %edx, %edx
js LBB0_4
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %r15
incl %ebx
xorl %r12d, %r12d
movq _PCH_UART_THR@GOTPCREL(%rip), %r13
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movzbl (%r14,%r12), %edi
incq %r12
movq (%r15), %rsi
subq (%r13), %rsi
callq _iowrite8
cmpq %r12, %rbx
jne LBB0_2
## %bb.3:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
LBB0_4:
retq
.cfi_endproc
## -- End function
.comm _PCH_UART_THR,8,3 ## @PCH_UART_THR
.no_dead_strip _pch_uart_hal_write
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function pch_uart_hal_write
_pch_uart_hal_write: ; @pch_uart_hal_write
.cfi_startproc
; %bb.0:
tbnz w2, #31, LBB0_4
; %bb.1:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
add w21, w2, #1
Lloh0:
adrp x22, _PCH_UART_THR@GOTPAGE
Lloh1:
ldr x22, [x22, _PCH_UART_THR@GOTPAGEOFF]
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldrb w0, [x19], #1
ldr x8, [x20]
ldr x9, [x22]
sub x1, x8, x9
bl _iowrite8
subs x21, x21, #1
b.ne LBB0_2
; %bb.3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
LBB0_4:
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _PCH_UART_THR,8,3 ; @PCH_UART_THR
.no_dead_strip _pch_uart_hal_write
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function fts5MultiIterNew
_fts5MultiIterNew: ## @fts5MultiIterNew
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, -56(%rbp) ## 8-byte Spill
movl %edx, -48(%rbp) ## 4-byte Spill
movq %rsi, %r12
movq %rdi, %r13
movq 32(%rbp), %r15
movl 24(%rbp), %r14d
movl 16(%rbp), %ebx
movq %r8, -88(%rbp) ## 8-byte Spill
testq %r8, %r8
sete %al
movl %r9d, -60(%rbp) ## 4-byte Spill
testl %r9d, %r9d
sete %cl
andb %al, %cl
testl %ebx, %ebx
sets %al
orb %cl, %al
movzbl %al, %edi
callq _assert
movq (%r13), %rax
movq _SQLITE_OK@GOTPCREL(%rip), %rcx
xorl %esi, %esi
cmpq (%rcx), %rax
movl %ebx, -72(%rbp) ## 4-byte Spill
jne LBB0_4
## %bb.1:
testl %ebx, %ebx
js LBB0_2
## %bb.3:
movq 16(%r12), %rax
movl %ebx, %ecx
shlq $4, %rcx
movl (%rax,%rcx), %edi
movl %r14d, %esi
callq _MIN
movl %eax, %esi
jmp LBB0_4
LBB0_2:
movl (%r12), %ebx
movq %r12, %rdi
callq _fts5StructureCountSegments
xorl %edi, %edi
cmpl %eax, %ebx
sete %dil
callq _assert
movl (%r12), %esi
cmpq $1, 8(%r13)
sbbl $-1, %esi
LBB0_4:
movq %r13, %rdi
movl %esi, -44(%rbp) ## 4-byte Spill
callq _fts5MultiIterAlloc
movq %rax, (%r15)
testq %rax, %rax
je LBB0_40
## %bb.5:
movq %rax, %rbx
movq _FTS5INDEX_QUERY_DESC@GOTPCREL(%rip), %rax
xorl %ecx, %ecx
movl (%rax), %eax
movl -48(%rbp), %edx ## 4-byte Reload
orl %edx, %eax
setne %cl
movl %ecx, (%rbx)
movq _FTS5INDEX_QUERY_SKIPEMPTY@GOTPCREL(%rip), %rax
xorl %ecx, %ecx
testl %edx, (%rax)
setne %cl
movl %ecx, 4(%rbx)
movq -56(%rbp), %rax ## 8-byte Reload
movq %rax, 48(%rbx)
movq _FTS5INDEX_QUERY_NOOUTPUT@GOTPCREL(%rip), %rax
testl %edx, (%rax)
jne LBB0_7
## %bb.6:
movq %r13, %rdi
movq %rbx, %rsi
callq _fts5IterSetOutputCb
LBB0_7:
movq (%r13), %rax
movq _SQLITE_OK@GOTPCREL(%rip), %r14
movq (%r14), %rcx
cmpq %rcx, %rax
movq %rbx, -56(%rbp) ## 8-byte Spill
jne LBB0_27
## %bb.8:
cmpl $0, -72(%rbp) ## 4-byte Folded Reload
movq %r15, -96(%rbp) ## 8-byte Spill
js LBB0_9
## %bb.21:
movl -44(%rbp), %edx ## 4-byte Reload
testl %edx, %edx
jle LBB0_22
## %bb.23:
movl -72(%rbp), %eax ## 4-byte Reload
movq 16(%r12), %rcx
shlq $4, %rax
movq %rbx, %r12
leaq (%rcx,%rax), %rbx
addq $8, %rbx
movl %edx, %eax
leaq -4(,%rax,4), %r14
xorl %r15d, %r15d
.p2align 4, 0x90
LBB0_24: ## =>This Inner Loop Header: Depth=1
movq (%rbx), %rsi
addq %r14, %rsi
movq 32(%r12), %rdx
addq %r15, %rdx
movq %r13, %rdi
callq _fts5SegIterInit
addq $-4, %r14
addq $8, %r15
cmpq $-4, %r14
jne LBB0_24
## %bb.25:
movl -44(%rbp), %eax ## 4-byte Reload
movl %eax, %ecx
movq _SQLITE_OK@GOTPCREL(%rip), %r14
movq %r12, %rbx
jmp LBB0_26
LBB0_9:
movq 8(%r12), %rax
movq 16(%r12), %r15
shlq $4, %rax
addq %r15, %rax
movq %rax, -80(%rbp) ## 8-byte Spill
cmpq $0, 8(%r13)
je LBB0_10
## %bb.11:
movq 32(%rbx), %r8
movq %r13, %rdi
movq -88(%rbp), %rsi ## 8-byte Reload
movl -60(%rbp), %edx ## 4-byte Reload
movl -48(%rbp), %ecx ## 4-byte Reload
callq _fts5SegIterHashInit
movq 16(%r12), %r15
movl $-1, %ecx
jmp LBB0_12
LBB0_22:
xorl %ecx, %ecx
LBB0_26:
xorl %edi, %edi
cmpl -44(%rbp), %ecx ## 4-byte Folded Reload
sete %dil
callq _assert
movq (%r13), %rax
movq (%r14), %rcx
movq -96(%rbp), %r15 ## 8-byte Reload
LBB0_27:
cmpq %rcx, %rax
jne LBB0_39
## %bb.28:
movl 8(%rbx), %r12d
cmpl $2, %r12d
jl LBB0_35
## %bb.29:
incl %r12d
jmp LBB0_30
.p2align 4, 0x90
LBB0_33: ## in Loop: Header=BB0_30 Depth=1
movq %r13, %rdi
movq %rbx, %rsi
movl %eax, %edx
movl %r15d, %ecx
callq _fts5MultiIterAdvanced
LBB0_34: ## in Loop: Header=BB0_30 Depth=1
decl %r12d
cmpl $2, %r12d
jbe LBB0_35
LBB0_30: ## =>This Inner Loop Header: Depth=1
leal -2(%r12), %r15d
movq %rbx, %rdi
movl %r15d, %esi
callq _fts5MultiIterDoCompare
testl %eax, %eax
je LBB0_34
## %bb.31: ## in Loop: Header=BB0_30 Depth=1
movq (%r13), %rcx
cmpq (%r14), %rcx
jne LBB0_33
## %bb.32: ## in Loop: Header=BB0_30 Depth=1
movq 32(%rbx), %rcx
movslq %eax, %r8
leaq (%rcx,%r8,8), %rsi
movq %r13, %rdi
xorl %edx, %edx
movl %eax, %ebx
callq *(%rcx,%r8,8)
movl %ebx, %eax
movq -56(%rbp), %rbx ## 8-byte Reload
jmp LBB0_33
LBB0_39:
movq %rbx, %rdi
callq _fts5MultiIterFree
movq $0, (%r15)
jmp LBB0_40
LBB0_35:
movq %rbx, %rdi
callq _fts5MultiIterSetEof
movq %r13, %rdi
movq %rbx, %rsi
callq _fts5AssertMultiIterSetup
cmpl $0, 4(%rbx)
je LBB0_37
## %bb.36:
movq %r13, %rdi
movq %rbx, %rsi
callq _fts5MultiIterIsEmpty
testq %rax, %rax
je LBB0_37
## %bb.41:
movq %r13, %rdi
movq %rbx, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _fts5MultiIterNext ## TAILCALL
LBB0_37:
cmpq $0, 40(%rbx)
je LBB0_38
LBB0_40:
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_38:
movq 16(%rbx), %rax
movq 24(%rbx), %rcx
movq 8(%rcx), %rsi
shlq $3, %rsi
addq 32(%rbx), %rsi
movq %rbx, %rdi
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmpq *%rax ## TAILCALL
LBB0_10:
xorl %ecx, %ecx
jmp LBB0_12
.p2align 4, 0x90
LBB0_19: ## in Loop: Header=BB0_12 Depth=1
movq %r12, %r13
movq _SQLITE_OK@GOTPCREL(%rip), %r14
movq -56(%rbp), %rbx ## 8-byte Reload
movq -72(%rbp), %rcx ## 8-byte Reload
LBB0_20: ## in Loop: Header=BB0_12 Depth=1
addq $16, %r15
LBB0_12: ## =>This Loop Header: Depth=1
## Child Loop BB0_15 Depth 2
cmpq -80(%rbp), %r15 ## 8-byte Folded Reload
jae LBB0_26
## %bb.13: ## in Loop: Header=BB0_12 Depth=1
movslq (%r15), %rax
testq %rax, %rax
jle LBB0_20
## %bb.14: ## in Loop: Header=BB0_12 Depth=1
movq %r13, %r12
movslq %ecx, %rcx
leaq (,%rcx,8), %r13
leaq -4(,%rax,4), %rbx
movq %rax, %r14
incq %r14
addl %eax, %ecx
movq %rcx, -72(%rbp) ## 8-byte Spill
jmp LBB0_15
.p2align 4, 0x90
LBB0_17: ## in Loop: Header=BB0_15 Depth=2
movl -60(%rbp), %edx ## 4-byte Reload
movl -48(%rbp), %ecx ## 4-byte Reload
callq _fts5SegIterSeekInit
LBB0_18: ## in Loop: Header=BB0_15 Depth=2
addq $8, %r13
decq %r14
addq $-4, %rbx
cmpq $1, %r14
jbe LBB0_19
LBB0_15: ## Parent Loop BB0_12 Depth=1
## => This Inner Loop Header: Depth=2
movq 8(%r15), %r8
addq %rbx, %r8
movq -56(%rbp), %rax ## 8-byte Reload
movq 32(%rax), %r9
addq %r13, %r9
movq -88(%rbp), %rsi ## 8-byte Reload
movq %r12, %rdi
testq %rsi, %rsi
jne LBB0_17
## %bb.16: ## in Loop: Header=BB0_15 Depth=2
movq %r8, %rsi
movq %r9, %rdx
callq _fts5SegIterInit
jmp LBB0_18
.cfi_endproc
## -- End function
.comm _SQLITE_OK,8,3 ## @SQLITE_OK
.comm _FTS5INDEX_QUERY_DESC,4,2 ## @FTS5INDEX_QUERY_DESC
.comm _FTS5INDEX_QUERY_SKIPEMPTY,4,2 ## @FTS5INDEX_QUERY_SKIPEMPTY
.comm _FTS5INDEX_QUERY_NOOUTPUT,4,2 ## @FTS5INDEX_QUERY_NOOUTPUT
.no_dead_strip _fts5MultiIterNew
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function fts5MultiIterNew
_fts5MultiIterNew: ; @fts5MultiIterNew
.cfi_startproc
; %bb.0:
sub sp, sp, #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 x20, x7
mov x26, x6
mov x21, x5
mov x22, x4
mov x27, x3
mov x23, x2
mov x25, x1
mov x19, x0
ldr x24, [x29, #16]
cmp x4, #0
ccmp w5, #0, #0, eq
ccmp w6, #0, #8, ne
cset w0, lt
bl _assert
ldr x8, [x19]
Lloh0:
adrp x9, _SQLITE_OK@GOTPAGE
Lloh1:
ldr x9, [x9, _SQLITE_OK@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_3
; %bb.1:
tbnz w26, #31, LBB0_4
; %bb.2:
ldr x8, [x25, #16]
ubfiz x9, x26, #4, #32
ldr w0, [x8, x9]
mov x1, x20
bl _MIN
mov x1, x0
b LBB0_5
LBB0_3:
mov w1, #0 ; =0x0
b LBB0_5
LBB0_4:
ldr w20, [x25]
mov x0, x25
bl _fts5StructureCountSegments
cmp w20, w0
cset w0, eq
bl _assert
ldr w8, [x25]
ldr x9, [x19, #8]
cmp x9, #0
cinc w1, w8, ne
LBB0_5:
mov x0, x19
str x1, [sp, #16] ; 8-byte Folded Spill
; kill: def $w1 killed $w1 killed $x1
bl _fts5MultiIterAlloc
str x0, [x24]
cbz x0, LBB0_31
; %bb.6:
mov x20, x0
str x24, [sp, #8] ; 8-byte Folded Spill
Lloh3:
adrp x8, _FTS5INDEX_QUERY_DESC@GOTPAGE
Lloh4:
ldr x8, [x8, _FTS5INDEX_QUERY_DESC@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
orr w8, w8, w23
cmp w8, #0
cset w8, ne
str w8, [x0]
Lloh6:
adrp x8, _FTS5INDEX_QUERY_SKIPEMPTY@GOTPAGE
Lloh7:
ldr x8, [x8, _FTS5INDEX_QUERY_SKIPEMPTY@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
tst w8, w23
cset w8, ne
str w8, [x0, #4]
str x27, [x0, #48]
Lloh9:
adrp x8, _FTS5INDEX_QUERY_NOOUTPUT@GOTPAGE
Lloh10:
ldr x8, [x8, _FTS5INDEX_QUERY_NOOUTPUT@GOTPAGEOFF]
Lloh11:
ldr w8, [x8]
tst w8, w23
b.ne LBB0_8
; %bb.7:
mov x0, x19
mov x1, x20
bl _fts5IterSetOutputCb
LBB0_8:
ldr x8, [x19]
Lloh12:
adrp x24, _SQLITE_OK@GOTPAGE
Lloh13:
ldr x24, [x24, _SQLITE_OK@GOTPAGEOFF]
ldr x9, [x24]
cmp x8, x9
b.ne LBB0_18
; %bb.9:
tbnz w26, #31, LBB0_14
; %bb.10:
ldr x9, [sp, #16] ; 8-byte Folded Reload
cmp w9, #1
b.lt LBB0_16
; %bb.11:
mov x21, #0 ; =0x0
ldr x8, [x25, #16]
add x22, x8, w26, uxtw #4
ubfiz x8, x9, #2, #32
sub x23, x8, #4
LBB0_12: ; =>This Inner Loop Header: Depth=1
ldur x8, [x22, #8]
ldr x9, [x20, #32]
add x1, x8, x23
add x2, x9, x21
mov x0, x19
bl _fts5SegIterInit
sub x23, x23, #4
add x21, x21, #8
cmn x23, #4
b.ne LBB0_12
; %bb.13:
ldr x25, [sp, #16] ; 8-byte Folded Reload
; kill: def $w25 killed $w25 killed $x25 def $x25
b LBB0_17
LBB0_14:
ldp x8, x27, [x25, #8]
add x8, x27, x8, lsl #4
str x8, [sp, #24] ; 8-byte Folded Spill
ldr x8, [x19, #8]
cbz x8, LBB0_33
; %bb.15:
ldr x4, [x20, #32]
mov x0, x19
mov x1, x22
mov x2, x21
mov x3, x23
bl _fts5SegIterHashInit
ldr x27, [x25, #16]
mov w25, #-1 ; =0xffffffff
b LBB0_35
LBB0_16:
mov w25, #0 ; =0x0
LBB0_17:
ldr x8, [sp, #16] ; 8-byte Folded Reload
cmp w25, w8
cset w0, eq
bl _assert
ldr x8, [x19]
Lloh14:
adrp x24, _SQLITE_OK@GOTPAGE
Lloh15:
ldr x24, [x24, _SQLITE_OK@GOTPAGEOFF]
ldr x9, [x24]
LBB0_18:
cmp x8, x9
b.ne LBB0_26
; %bb.19:
ldr w8, [x20, #8]
cmp w8, #2
b.lt LBB0_27
; %bb.20:
add w23, w8, #1
b LBB0_23
LBB0_21: ; in Loop: Header=BB0_23 Depth=1
mov x0, x19
mov x1, x20
mov x2, x22
mov x3, x21
bl _fts5MultiIterAdvanced
LBB0_22: ; in Loop: Header=BB0_23 Depth=1
sub w23, w23, #1
cmp w23, #2
b.ls LBB0_27
LBB0_23: ; =>This Inner Loop Header: Depth=1
sub w21, w23, #2
mov x0, x20
mov x1, x21
bl _fts5MultiIterDoCompare
cbz w0, LBB0_22
; %bb.24: ; in Loop: Header=BB0_23 Depth=1
mov x22, x0
ldr x8, [x19]
ldr x9, [x24]
cmp x8, x9
b.ne LBB0_21
; %bb.25: ; in Loop: Header=BB0_23 Depth=1
ldr x8, [x20, #32]
add x1, x8, w22, sxtw #3
ldr x8, [x1]
mov x0, x19
mov w2, #0 ; =0x0
blr x8
b LBB0_21
LBB0_26:
mov x0, x20
bl _fts5MultiIterFree
ldr x8, [sp, #8] ; 8-byte Folded Reload
str xzr, [x8]
b LBB0_31
LBB0_27:
mov x0, x20
bl _fts5MultiIterSetEof
mov x0, x19
mov x1, x20
bl _fts5AssertMultiIterSetup
ldr w8, [x20, #4]
cbz w8, LBB0_30
; %bb.28:
mov x0, x19
mov x1, x20
bl _fts5MultiIterIsEmpty
cbz x0, LBB0_30
; %bb.29:
mov x0, x19
mov x1, x20
mov w2, #0 ; =0x0
mov w3, #0 ; =0x0
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 _fts5MultiIterNext
LBB0_30:
ldr x8, [x20, #40]
cbz x8, LBB0_32
LBB0_31:
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_32:
ldp x9, x8, [x20, #24]
ldr x2, [x20, #16]
ldr x9, [x9, #8]
add x1, x8, x9, lsl #3
mov x0, x20
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
br x2
LBB0_33:
mov w25, #0 ; =0x0
b LBB0_35
LBB0_34: ; in Loop: Header=BB0_35 Depth=1
add x27, x27, #16
LBB0_35: ; =>This Loop Header: Depth=1
; Child Loop BB0_40 Depth 2
ldr x8, [sp, #24] ; 8-byte Folded Reload
cmp x27, x8
b.hs LBB0_17
; %bb.36: ; in Loop: Header=BB0_35 Depth=1
ldr w8, [x27]
cmp w8, #1
b.lt LBB0_34
; %bb.37: ; in Loop: Header=BB0_35 Depth=1
sbfiz x28, x25, #3, #32
add x24, x8, #1
lsl x9, x8, #2
sub x26, x9, #4
add w25, w25, w8
b LBB0_40
LBB0_38: ; in Loop: Header=BB0_40 Depth=2
add x4, x9, x26
add x5, x8, x28
mov x0, x19
mov x1, x22
mov x2, x21
mov x3, x23
bl _fts5SegIterSeekInit
LBB0_39: ; in Loop: Header=BB0_40 Depth=2
add x28, x28, #8
sub x24, x24, #1
sub x26, x26, #4
cmp x24, #1
b.ls LBB0_34
LBB0_40: ; Parent Loop BB0_35 Depth=1
; => This Inner Loop Header: Depth=2
ldr x9, [x27, #8]
ldr x8, [x20, #32]
cbnz x22, LBB0_38
; %bb.41: ; in Loop: Header=BB0_40 Depth=2
add x1, x9, x26
add x2, x8, x28
mov x0, x19
bl _fts5SegIterInit
b LBB0_39
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGot Lloh14, Lloh15
.cfi_endproc
; -- End function
.comm _SQLITE_OK,8,3 ; @SQLITE_OK
.comm _FTS5INDEX_QUERY_DESC,4,2 ; @FTS5INDEX_QUERY_DESC
.comm _FTS5INDEX_QUERY_SKIPEMPTY,4,2 ; @FTS5INDEX_QUERY_SKIPEMPTY
.comm _FTS5INDEX_QUERY_NOOUTPUT,4,2 ; @FTS5INDEX_QUERY_NOOUTPUT
.no_dead_strip _fts5MultiIterNew
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function pltcl_SPI_execute_plan
_pltcl_SPI_execute_plan: ## @pltcl_SPI_execute_plan
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, -56(%rbp) ## 8-byte Spill
movl $0, -76(%rbp)
movq $0, -96(%rbp)
cmpl $2, %edx
jl LBB0_11
## %bb.1:
movq %rcx, %r14
movl %edx, %r15d
movq _CurrentMemoryContext@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -72(%rbp) ## 4-byte Spill
movq _CurrentResourceOwner@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -68(%rbp) ## 4-byte Spill
movl $1, %ebx
movq $0, -64(%rbp) ## 8-byte Folded Spill
leaq -80(%rbp), %r13
movq $0, -88(%rbp) ## 8-byte Folded Spill
jmp LBB0_2
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_2 Depth=1
cltq
movq (%r14,%rax,8), %rdi
callq _Tcl_GetString
movq %rax, -64(%rbp) ## 8-byte Spill
LBB0_10: ## in Loop: Header=BB0_2 Depth=1
cmpl %r15d, %ebx
jge LBB0_11
LBB0_2: ## =>This Inner Loop Header: Depth=1
movslq %ebx, %r12
movq (%r14,%r12,8), %rsi
movq _TCL_EXACT@GOTPCREL(%rip), %rax
movl (%rax), %r8d
xorl %edi, %edi
leaq _pltcl_SPI_execute_plan.options(%rip), %rdx
xorl %ecx, %ecx
movq %r13, %r9
callq _Tcl_GetIndexFromObj
movq _TCL_OK@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_13
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
leal -1(%rbx), %eax
movl -80(%rbp), %ecx
cmpl $2, %ecx
je LBB0_9
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
cmpl $1, %ecx
je LBB0_8
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
testl %ecx, %ecx
jne LBB0_6
## %bb.7: ## in Loop: Header=BB0_2 Depth=1
cltq
movq (%r14,%rax,8), %rdi
callq _Tcl_GetString
movq %rax, -88(%rbp) ## 8-byte Spill
jmp LBB0_10
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_2 Depth=1
cltq
movq (%r14,%rax,8), %rsi
movq -56(%rbp), %rdi ## 8-byte Reload
leaq -76(%rbp), %rdx
callq _Tcl_GetIntFromObj
movq _TCL_OK@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_10
jmp LBB0_35
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_2 Depth=1
movl %eax, %ebx
jmp LBB0_10
LBB0_11:
leaq L_.str.4(%rip), %rdi
LBB0_12:
movl $-1, %esi
callq _Tcl_NewStringObj
movq -56(%rbp), %rdi ## 8-byte Reload
movl %eax, %esi
callq _Tcl_SetObjResult
LBB0_35:
movq _TCL_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %eax
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_13:
movq _pltcl_current_call_state@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rax), %rax
movq 8(%rax), %r13
movq (%r14,%r12,8), %rdi
callq _Tcl_GetString
movq %r13, %rdi
movq %rax, %rsi
callq _Tcl_FindHashEntry
testq %rax, %rax
je LBB0_15
## %bb.14:
movq (%r14,%r12,8), %rdi
callq _Tcl_GetString
leaq L_.str.5(%rip), %rsi
leaq L_.str.6(%rip), %rcx
movq -56(%rbp), %rdi ## 8-byte Reload
movq %rax, %rdx
xorl %r8d, %r8d
callq _Tcl_AppendResult
jmp LBB0_35
LBB0_15:
xorl %edi, %edi
callq _Tcl_GetHashValue
movq %rax, %r12
movq -64(%rbp), %r13 ## 8-byte Reload
testq %r13, %r13
je LBB0_18
## %bb.16:
movq %r13, %rdi
callq _strlen
cmpl (%r12), %eax
je LBB0_19
## %bb.17:
leaq L_.str.7(%rip), %rdi
jmp LBB0_12
LBB0_18:
movl (%r12), %eax
LBB0_19:
leal 1(%rbx), %ecx
testl %eax, %eax
jle LBB0_25
## %bb.20:
cmpl %r15d, %ecx
jge LBB0_21
## %bb.22:
movslq %ecx, %rax
movq (%r14,%rax,8), %rsi
leaq -44(%rbp), %rdx
leaq -96(%rbp), %rcx
movq -56(%rbp), %rdi ## 8-byte Reload
callq _Tcl_ListObjGetElements
movq _TCL_OK@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_35
## %bb.23:
movl -44(%rbp), %eax
cmpl (%r12), %eax
jne LBB0_21
## %bb.24:
addl $2, %ebx
movl %ebx, %ecx
movq -64(%rbp), %r13 ## 8-byte Reload
jmp LBB0_26
LBB0_21:
leaq L_.str.8(%rip), %rdi
jmp LBB0_12
LBB0_25:
movl $0, -44(%rbp)
LBB0_26:
cmpl %r15d, %ecx
jge LBB0_27
## %bb.28:
movslq %ecx, %rax
incl %ecx
movq (%r14,%rax,8), %rax
jmp LBB0_29
LBB0_27:
xorl %eax, %eax
LBB0_29:
cmpl %r15d, %ecx
jne LBB0_30
## %bb.31:
movq %rax, -64(%rbp) ## 8-byte Spill
movl -72(%rbp), %edi ## 4-byte Reload
movl -68(%rbp), %esi ## 4-byte Reload
callq _pltcl_subtrans_begin
xorl %eax, %eax
callq _PG_TRY
movl -44(%rbp), %edi
shll $2, %edi
callq _palloc
movq %rax, %r14
cmpl $0, -44(%rbp)
movq %r12, %rbx
jle LBB0_34
## %bb.32:
xorl %r15d, %r15d
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_33: ## =>This Inner Loop Header: Depth=1
movq 16(%rbx), %rdi
addq %r15, %rdi
movq 8(%rbx), %rax
movl (%rax,%r15), %edx
xorl %esi, %esi
movl $-1, %ecx
callq _InputFunctionCall
movl %eax, (%r14,%r15)
incq %r12
movslq -44(%rbp), %rax
addq $4, %r15
cmpq %rax, %r12
jl LBB0_33
LBB0_34:
movl 4(%rbx), %edi
movq _pltcl_current_call_state@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rax), %rax
movl (%rax), %ecx
movl -76(%rbp), %r8d
movq %r14, %rsi
movq %r13, %rdx
callq _SPI_execute_plan
movq _SPI_tuptable@GOTPCREL(%rip), %rcx
movl (%rcx), %r8d
movq _SPI_processed@GOTPCREL(%rip), %rcx
movl (%rcx), %r9d
movq -56(%rbp), %r14 ## 8-byte Reload
movq %r14, %rdi
movq -88(%rbp), %rsi ## 8-byte Reload
movq -64(%rbp), %rdx ## 8-byte Reload
movl %eax, %ecx
callq _pltcl_process_SPI_result
movl -72(%rbp), %ebx ## 4-byte Reload
movl %ebx, %edi
movl -68(%rbp), %r15d ## 4-byte Reload
movl %r15d, %esi
callq _pltcl_subtrans_commit
xorl %eax, %eax
callq _PG_CATCH
movq %r14, %rdi
movl %ebx, %esi
movl %r15d, %edx
callq _pltcl_subtrans_abort
jmp LBB0_35
LBB0_30:
leaq L_.str.9(%rip), %rcx
movq -56(%rbp), %rdi ## 8-byte Reload
movl $1, %esi
movq %r14, %rdx
callq _Tcl_WrongNumArgs
jmp LBB0_35
.cfi_endproc
## -- End function
.comm _CurrentMemoryContext,4,2 ## @CurrentMemoryContext
.comm _CurrentResourceOwner,4,2 ## @CurrentResourceOwner
.section __DATA,__data
.p2align 4, 0x0 ## @pltcl_SPI_execute_plan.options
_pltcl_SPI_execute_plan.options:
.quad L_.str
.quad L_.str.1
.quad L_.str.2
.quad 0
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "-array"
L_.str.1: ## @.str.1
.asciz "-count"
L_.str.2: ## @.str.2
.asciz "-nulls"
.comm _TCL_EXACT,4,2 ## @TCL_EXACT
.comm _TCL_OK,8,3 ## @TCL_OK
.comm _TCL_ERROR,4,2 ## @TCL_ERROR
L_.str.4: ## @.str.4
.asciz "missing argument to -count or -array"
.comm _pltcl_current_call_state,8,3 ## @pltcl_current_call_state
L_.str.5: ## @.str.5
.asciz "invalid queryid '"
L_.str.6: ## @.str.6
.asciz "'"
L_.str.7: ## @.str.7
.asciz "length of nulls string doesn't match number of arguments"
L_.str.8: ## @.str.8
.asciz "argument list length doesn't match number of arguments for query"
L_.str.9: ## @.str.9
.asciz "?-count n? ?-array name? ?-nulls string? query ?args? ?loop body?"
.comm _UTF_BEGIN,4,2 ## @UTF_BEGIN
.comm _UTF_END,4,2 ## @UTF_END
.comm _SPI_tuptable,4,2 ## @SPI_tuptable
.comm _SPI_processed,4,2 ## @SPI_processed
.no_dead_strip _pltcl_SPI_execute_plan
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function pltcl_SPI_execute_plan
_pltcl_SPI_execute_plan: ; @pltcl_SPI_execute_plan
.cfi_startproc
; %bb.0:
sub sp, sp, #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 x19, x1
str wzr, [sp, #24]
str xzr, [sp, #8]
cmp w2, #2
b.lt LBB0_11
; %bb.1:
mov x24, x3
mov x25, x2
mov x23, #0 ; =0x0
mov x22, #0 ; =0x0
Lloh0:
adrp x8, _CurrentMemoryContext@GOTPAGE
Lloh1:
ldr x8, [x8, _CurrentMemoryContext@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
str w8, [sp] ; 4-byte Folded Spill
Lloh3:
adrp x8, _CurrentResourceOwner@GOTPAGE
Lloh4:
ldr x8, [x8, _CurrentResourceOwner@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
str w8, [sp, #4] ; 4-byte Folded Spill
mov w27, #1 ; =0x1
Lloh6:
adrp x20, _TCL_EXACT@GOTPAGE
Lloh7:
ldr x20, [x20, _TCL_EXACT@GOTPAGEOFF]
Lloh8:
adrp x26, _pltcl_SPI_execute_plan.options@PAGE
Lloh9:
add x26, x26, _pltcl_SPI_execute_plan.options@PAGEOFF
Lloh10:
adrp x28, _TCL_OK@GOTPAGE
Lloh11:
ldr x28, [x28, _TCL_OK@GOTPAGEOFF]
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
ldr x0, [x24, w8, sxtw #3]
bl _Tcl_GetString
mov x23, x0
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
cmp w27, w25
b.ge LBB0_11
LBB0_4: ; =>This Inner Loop Header: Depth=1
sxtw x21, w27
ldr x1, [x24, w27, sxtw #3]
ldr w4, [x20]
add x5, sp, #28
mov x0, #0 ; =0x0
mov x2, x26
mov x3, #0 ; =0x0
bl _Tcl_GetIndexFromObj
ldr x8, [x28]
cmp x0, x8
b.ne LBB0_14
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
sub x8, x21, #1
ldr w9, [sp, #28]
cmp w9, #2
b.eq LBB0_2
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
cmp w9, #1
b.eq LBB0_9
; %bb.7: ; in Loop: Header=BB0_4 Depth=1
cbnz w9, LBB0_10
; %bb.8: ; in Loop: Header=BB0_4 Depth=1
ldr x0, [x24, x8, lsl #3]
bl _Tcl_GetString
mov x22, x0
b LBB0_3
LBB0_9: ; in Loop: Header=BB0_4 Depth=1
ldr x1, [x24, w8, sxtw #3]
add x2, sp, #24
mov x0, x19
bl _Tcl_GetIntFromObj
ldr x8, [x28]
cmp x0, x8
b.eq LBB0_3
b LBB0_13
LBB0_10: ; in Loop: Header=BB0_4 Depth=1
mov x27, x8
b LBB0_3
LBB0_11:
Lloh12:
adrp x0, l_.str.4@PAGE
Lloh13:
add x0, x0, l_.str.4@PAGEOFF
LBB0_12:
mov w1, #-1 ; =0xffffffff
bl _Tcl_NewStringObj
mov x1, x0
mov x0, x19
bl _Tcl_SetObjResult
LBB0_13:
Lloh14:
adrp x8, _TCL_ERROR@GOTPAGE
Lloh15:
ldr x8, [x8, _TCL_ERROR@GOTPAGEOFF]
Lloh16:
ldr w0, [x8]
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_14:
Lloh17:
adrp x20, _pltcl_current_call_state@GOTPAGE
Lloh18:
ldr x20, [x20, _pltcl_current_call_state@GOTPAGEOFF]
ldr x8, [x20]
ldr x8, [x8]
ldr x26, [x8, #8]
ldr x0, [x24, x21, lsl #3]
bl _Tcl_GetString
mov x1, x0
mov x0, x26
bl _Tcl_FindHashEntry
cbz x0, LBB0_16
; %bb.15:
ldr x0, [x24, x21, lsl #3]
bl _Tcl_GetString
mov x2, x0
Lloh19:
adrp x1, l_.str.5@PAGE
Lloh20:
add x1, x1, l_.str.5@PAGEOFF
Lloh21:
adrp x3, l_.str.6@PAGE
Lloh22:
add x3, x3, l_.str.6@PAGEOFF
mov x0, x19
mov x4, #0 ; =0x0
bl _Tcl_AppendResult
b LBB0_13
LBB0_16:
bl _Tcl_GetHashValue
mov x26, x0
cbz x23, LBB0_19
; %bb.17:
mov x0, x23
bl _strlen
ldr w8, [x26]
cmp w0, w8
b.eq LBB0_20
; %bb.18:
Lloh23:
adrp x0, l_.str.7@PAGE
Lloh24:
add x0, x0, l_.str.7@PAGEOFF
b LBB0_12
LBB0_19:
ldr w0, [x26]
LBB0_20:
add x8, x21, #1
cmp w0, #1
b.lt LBB0_26
; %bb.21:
cmp w8, w25
b.ge LBB0_25
; %bb.22:
ldr x1, [x24, x8, lsl #3]
add x2, sp, #20
add x3, sp, #8
mov x0, x19
bl _Tcl_ListObjGetElements
ldr x8, [x28]
cmp x0, x8
b.ne LBB0_13
; %bb.23:
ldr w8, [sp, #20]
ldr w9, [x26]
cmp w8, w9
b.ne LBB0_25
; %bb.24:
add w8, w27, #2
b LBB0_27
LBB0_25:
Lloh25:
adrp x0, l_.str.8@PAGE
Lloh26:
add x0, x0, l_.str.8@PAGEOFF
b LBB0_12
LBB0_26:
str wzr, [sp, #20]
LBB0_27:
mov x28, x20
cmp w8, w25
b.ge LBB0_29
; %bb.28:
ldr x27, [x24, w8, sxtw #3]
add w8, w8, #1
; kill: def $w8 killed $w8 def $x8
b LBB0_30
LBB0_29:
mov x27, #0 ; =0x0
LBB0_30:
cmp w8, w25
b.ne LBB0_35
; %bb.31:
ldp w25, w1, [sp] ; 8-byte Folded Reload
mov x0, x25
bl _pltcl_subtrans_begin
bl _PG_TRY
ldr w8, [sp, #20]
lsl w0, w8, #2
bl _palloc
mov x24, x0
ldr w8, [sp, #20]
cmp w8, #1
b.lt LBB0_34
; %bb.32:
mov x20, #0 ; =0x0
mov x21, #0 ; =0x0
LBB0_33: ; =>This Inner Loop Header: Depth=1
ldp x9, x8, [x26, #8]
ldr w2, [x9, x20]
add x0, x8, x20
mov x1, #0 ; =0x0
mov w3, #-1 ; =0xffffffff
bl _InputFunctionCall
str w0, [x24, x20]
add x21, x21, #1
ldrsw x8, [sp, #20]
add x20, x20, #4
cmp x21, x8
b.lt LBB0_33
LBB0_34:
ldr w0, [x26, #4]
ldr x8, [x28]
ldr x8, [x8]
ldr w3, [x8]
ldr w4, [sp, #24]
mov x1, x24
mov x2, x23
bl _SPI_execute_plan
mov x3, x0
Lloh27:
adrp x8, _SPI_tuptable@GOTPAGE
Lloh28:
ldr x8, [x8, _SPI_tuptable@GOTPAGEOFF]
Lloh29:
ldr w4, [x8]
Lloh30:
adrp x8, _SPI_processed@GOTPAGE
Lloh31:
ldr x8, [x8, _SPI_processed@GOTPAGEOFF]
Lloh32:
ldr w5, [x8]
mov x0, x19
mov x1, x22
mov x2, x27
bl _pltcl_process_SPI_result
mov x0, x25
ldr w20, [sp, #4] ; 4-byte Folded Reload
mov x1, x20
bl _pltcl_subtrans_commit
bl _PG_CATCH
mov x0, x19
mov x1, x25
mov x2, x20
bl _pltcl_subtrans_abort
b LBB0_13
LBB0_35:
Lloh33:
adrp x3, l_.str.9@PAGE
Lloh34:
add x3, x3, l_.str.9@PAGEOFF
mov x0, x19
mov w1, #1 ; =0x1
mov x2, x24
bl _Tcl_WrongNumArgs
b LBB0_13
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGot Lloh17, Lloh18
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpAdd Lloh33, Lloh34
.cfi_endproc
; -- End function
.comm _CurrentMemoryContext,4,2 ; @CurrentMemoryContext
.comm _CurrentResourceOwner,4,2 ; @CurrentResourceOwner
.section __DATA,__data
.p2align 3, 0x0 ; @pltcl_SPI_execute_plan.options
_pltcl_SPI_execute_plan.options:
.quad l_.str
.quad l_.str.1
.quad l_.str.2
.quad 0
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "-array"
l_.str.1: ; @.str.1
.asciz "-count"
l_.str.2: ; @.str.2
.asciz "-nulls"
.comm _TCL_EXACT,4,2 ; @TCL_EXACT
.comm _TCL_OK,8,3 ; @TCL_OK
.comm _TCL_ERROR,4,2 ; @TCL_ERROR
l_.str.4: ; @.str.4
.asciz "missing argument to -count or -array"
.comm _pltcl_current_call_state,8,3 ; @pltcl_current_call_state
l_.str.5: ; @.str.5
.asciz "invalid queryid '"
l_.str.6: ; @.str.6
.asciz "'"
l_.str.7: ; @.str.7
.asciz "length of nulls string doesn't match number of arguments"
l_.str.8: ; @.str.8
.asciz "argument list length doesn't match number of arguments for query"
l_.str.9: ; @.str.9
.asciz "?-count n? ?-array name? ?-nulls string? query ?args? ?loop body?"
.comm _UTF_BEGIN,4,2 ; @UTF_BEGIN
.comm _UTF_END,4,2 ; @UTF_END
.comm _SPI_tuptable,4,2 ; @SPI_tuptable
.comm _SPI_processed,4,2 ; @SPI_processed
.no_dead_strip _pltcl_SPI_execute_plan
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _dnormalize ## -- Begin function dnormalize
.p2align 4, 0x90
_dnormalize: ## @dnormalize
.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 _Strsave ## TAILCALL
.cfi_endproc
## -- End function
.comm _ENOENT,8,3 ## @ENOENT
.comm _Strbuf_INIT,16,3 ## @Strbuf_INIT
.comm _dcwd,8,3 ## @dcwd
.comm _errno,8,3 ## @errno
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _dnormalize ; -- Begin function dnormalize
.p2align 2
_dnormalize: ; @dnormalize
.cfi_startproc
; %bb.0:
b _Strsave
.cfi_endproc
; -- End function
.comm _ENOENT,8,3 ; @ENOENT
.comm _Strbuf_INIT,16,3 ; @Strbuf_INIT
.comm _dcwd,8,3 ; @dcwd
.comm _errno,8,3 ; @errno
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function process_backslash_command
_process_backslash_command: ## @process_backslash_command
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, -64(%rbp) ## 8-byte Spill
movl %edi, %r13d
movq %rsp, %r12
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _MAX_ARGS@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
leaq -56(%rbp), %rbx
movq %rbx, %rdi
callq _initPQExpBuffer
movl %r13d, %edi
callq _expr_scanner_offset
movl %eax, %r15d
decl %r15d
movl %r13d, %edi
movl %r15d, %esi
callq _expr_scanner_get_lineno
movl %eax, -52(%rbp) ## 4-byte Spill
leaq -68(%rbp), %rdx
movl %r13d, %edi
movq %rbx, %rsi
callq _expr_lex_one_word
testq %rax, %rax
je LBB0_1
## %bb.2:
movl $48, %edi
callq _pg_malloc0
movq %rax, %rbx
movq _META_COMMAND@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 40(%rbx)
movl $0, (%rbx)
leaq 36(%rbx), %rdi
callq _initSimpleStats
movl -56(%rbp), %edi
callq _pg_strdup
movq 8(%rbx), %rcx
movq %rax, (%rcx)
incl (%rbx)
movq 8(%rbx), %rax
movq (%rax), %rdi
callq _getMetaCommand
movq %rax, 16(%rbx)
movq _META_SET@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq %rax, %rdx
xorq %rcx, %rdx
movq _META_IF@GOTPCREL(%rip), %rsi
movq (%rsi), %rsi
xorq %rax, %rsi
orq %rdx, %rsi
je LBB0_22
## %bb.3:
movq _META_ELIF@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rax
je LBB0_22
## %bb.4:
movl %r15d, -72(%rbp) ## 4-byte Spill
movq %r12, -88(%rbp) ## 8-byte Spill
leaq -56(%rbp), %rsi
leaq -68(%rbp), %rdx
movl %r13d, %edi
callq _expr_lex_one_word
testq %rax, %rax
je LBB0_9
## %bb.5:
movq $-1, %r12
leaq -56(%rbp), %r14
leaq -68(%rbp), %r15
jmp LBB0_6
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_6 Depth=1
movl -68(%rbp), %eax
movq -80(%rbp), %rcx ## 8-byte Reload
movl %eax, (%rcx,%r12,4)
movl -56(%rbp), %edi
callq _pg_strdup
movq 8(%rbx), %rcx
movq %rax, (%rcx,%r12,8)
incq %r12
incl (%rbx)
movl %r13d, %edi
movq %r14, %rsi
movq %r15, %rdx
callq _expr_lex_one_word
testq %rax, %rax
je LBB0_9
LBB0_6: ## =>This Inner Loop Header: Depth=1
movq _MAX_ARGS@GOTPCREL(%rip), %rax
movslq (%rax), %rax
cmpq %rax, %r12
jl LBB0_8
## %bb.7: ## in Loop: Header=BB0_6 Depth=1
movq 8(%rbx), %rax
movq 24(%rbx), %rdx
movq (%rax), %rcx
subq $8, %rsp
movq -64(%rbp), %rdi ## 8-byte Reload
movl -52(%rbp), %esi ## 4-byte Reload
leaq L_.str.1(%rip), %r8
xorl %r9d, %r9d
pushq $-1
callq _syntax_error
addq $16, %rsp
jmp LBB0_8
LBB0_1:
xorl %ebx, %ebx
jmp LBB0_49
LBB0_22:
cmpq %rcx, %rax
jne LBB0_26
## %bb.23:
leaq -56(%rbp), %rsi
leaq -68(%rbp), %rdx
movl %r13d, %edi
callq _expr_lex_one_word
testq %rax, %rax
jne LBB0_25
## %bb.24:
movq 8(%rbx), %rax
movq 24(%rbx), %rdx
movq (%rax), %rcx
subq $8, %rsp
leaq L_.str(%rip), %r8
movq -64(%rbp), %rdi ## 8-byte Reload
movl -52(%rbp), %esi ## 4-byte Reload
xorl %r9d, %r9d
pushq $-1
callq _syntax_error
addq $16, %rsp
LBB0_25:
movl -56(%rbp), %edi
callq _pg_strdup
movq 8(%rbx), %rcx
movq %rax, -8(%rcx)
incl (%rbx)
LBB0_26:
movq 8(%rbx), %rax
movq (%rax), %r8
movl %r13d, %edi
movq -64(%rbp), %rsi ## 8-byte Reload
movl -52(%rbp), %edx ## 4-byte Reload
movl %r15d, %ecx
callq _expr_scanner_init
movl %eax, %r14d
movl %eax, %edi
callq _expr_yyparse
testq %rax, %rax
jne LBB0_51
## %bb.27:
movq _expr_parse_result@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 32(%rbx)
movl %r13d, %edi
callq _expr_scanner_offset
movl %r13d, %edi
movl %r15d, %esi
movl %eax, %edx
movl $1, %ecx
callq _expr_scanner_get_substring
movq %rax, 24(%rbx)
movl %r14d, %edi
callq _expr_scanner_finish
jmp LBB0_49
LBB0_9:
movl %r13d, %edi
callq _expr_scanner_offset
movl %r13d, %edi
movl -72(%rbp), %r14d ## 4-byte Reload
movl %r14d, %esi
movl %eax, %edx
movl $1, %ecx
callq _expr_scanner_get_substring
movq %rax, 24(%rbx)
movq 16(%rbx), %rcx
movq _META_SLEEP@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
jne LBB0_33
## %bb.10:
movl (%rbx), %ecx
cmpl $1, %ecx
jg LBB0_12
## %bb.11:
movq 8(%rbx), %rcx
movq (%rcx), %rcx
subq $8, %rsp
leaq L_.str(%rip), %r8
movq -64(%rbp), %rdi ## 8-byte Reload
movl -52(%rbp), %esi ## 4-byte Reload
movq %rax, %rdx
xorl %r9d, %r9d
pushq $-1
callq _syntax_error
addq $16, %rsp
movl (%rbx), %ecx
LBB0_12:
cmpl $4, %ecx
movq -88(%rbp), %r12 ## 8-byte Reload
jl LBB0_14
## %bb.13:
movq 8(%rbx), %rax
movq 24(%rbx), %rdx
movq (%rax), %rcx
movq -80(%rbp), %rax ## 8-byte Reload
movl 12(%rax), %eax
subl %r14d, %eax
subq $8, %rsp
leaq L_.str.1(%rip), %r8
movq -64(%rbp), %rdi ## 8-byte Reload
movl -52(%rbp), %esi ## 4-byte Reload
xorl %r9d, %r9d
pushq %rax
callq _syntax_error
addq $16, %rsp
movl (%rbx), %ecx
LBB0_14:
cmpl $2, %ecx
jne LBB0_20
## %bb.15:
movq 8(%rbx), %rax
movq 8(%rax), %r14
cmpb $58, (%r14)
je LBB0_49
## %bb.16:
leal -1(%r14), %r15d
decq %r14
.p2align 4, 0x90
LBB0_17: ## =>This Inner Loop Header: Depth=1
movzbl 1(%r14), %edi
incq %r14
callq _isdigit
incl %r15d
testq %rax, %rax
jne LBB0_17
## %bb.18:
cmpb $0, (%r14)
je LBB0_19
## %bb.28:
movq 8(%rbx), %rax
movq %r14, 16(%rax)
movq -80(%rbp), %rdx ## 8-byte Reload
movl 4(%rdx), %ecx
movq 8(%rbx), %rax
addl 8(%rax), %ecx
subl %r15d, %ecx
movl %ecx, 8(%rdx)
movl $3, (%rbx)
movl -72(%rbp), %r14d ## 4-byte Reload
jmp LBB0_29
LBB0_33:
movq _META_SETSHELL@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
jne LBB0_36
## %bb.34:
cmpl $2, (%rbx)
movq -88(%rbp), %r12 ## 8-byte Reload
jg LBB0_49
## %bb.35:
movq 8(%rbx), %rcx
movq (%rcx), %rcx
subq $8, %rsp
leaq L_.str(%rip), %r8
jmp LBB0_47
LBB0_36:
movq _META_SHELL@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
movq -88(%rbp), %r12 ## 8-byte Reload
jne LBB0_39
## %bb.37:
cmpl $1, (%rbx)
jg LBB0_49
## %bb.38:
movq 8(%rbx), %rcx
movq (%rcx), %rcx
subq $8, %rsp
leaq L_.str.6(%rip), %r8
jmp LBB0_47
LBB0_39:
movq _META_ELSE@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
je LBB0_41
## %bb.40:
movq _META_ENDIF@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
je LBB0_41
## %bb.43:
movq _META_GSET@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
jne LBB0_46
## %bb.44:
cmpl $3, (%rbx)
jl LBB0_49
## %bb.45:
movq 8(%rbx), %rcx
movq (%rcx), %rcx
subq $8, %rsp
leaq L_.str.1(%rip), %r8
jmp LBB0_47
LBB0_41:
cmpl $1, (%rbx)
je LBB0_49
## %bb.42:
movq 8(%rbx), %rcx
movq (%rcx), %rcx
subq $8, %rsp
leaq L_.str.7(%rip), %r8
jmp LBB0_47
LBB0_19:
movl (%rbx), %ecx
movl -72(%rbp), %r14d ## 4-byte Reload
LBB0_20:
cmpl $3, %ecx
jne LBB0_49
## %bb.21:
movq 8(%rbx), %rax
LBB0_29:
movq 16(%rax), %rdi
leaq L_.str.2(%rip), %rsi
callq _pg_strcasecmp
testq %rax, %rax
je LBB0_49
## %bb.30:
movq 8(%rbx), %rax
movq 16(%rax), %rdi
leaq L_.str.3(%rip), %rsi
callq _pg_strcasecmp
testq %rax, %rax
je LBB0_49
## %bb.31:
movq 8(%rbx), %rax
movq 16(%rax), %rdi
leaq L_.str.4(%rip), %rsi
callq _pg_strcasecmp
testq %rax, %rax
je LBB0_49
## %bb.32:
movq 8(%rbx), %rax
movq 24(%rbx), %rdx
movq (%rax), %rcx
movq 16(%rax), %r9
movq -80(%rbp), %rax ## 8-byte Reload
movl 8(%rax), %eax
subl %r14d, %eax
subq $8, %rsp
leaq L_.str.5(%rip), %r8
movq -64(%rbp), %rdi ## 8-byte Reload
movl -52(%rbp), %esi ## 4-byte Reload
pushq %rax
jmp LBB0_48
LBB0_46:
movq 8(%rbx), %rcx
movq (%rcx), %rcx
subq $8, %rsp
leaq L_.str.8(%rip), %r8
LBB0_47:
movq -64(%rbp), %rdi ## 8-byte Reload
movl -52(%rbp), %esi ## 4-byte Reload
movq %rax, %rdx
xorl %r9d, %r9d
pushq $-1
LBB0_48:
callq _syntax_error
addq $16, %rsp
LBB0_49:
leaq -56(%rbp), %rdi
callq _termPQExpBuffer
movq %r12, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_52
## %bb.50:
movq %rbx, %rax
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_52:
callq ___stack_chk_fail
LBB0_51:
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.comm _MAX_ARGS,4,2 ## @MAX_ARGS
.comm _META_COMMAND,4,2 ## @META_COMMAND
.comm _META_SET,8,3 ## @META_SET
.comm _META_IF,8,3 ## @META_IF
.comm _META_ELIF,8,3 ## @META_ELIF
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "missing argument"
.comm _expr_parse_result,4,2 ## @expr_parse_result
L_.str.1: ## @.str.1
.asciz "too many arguments"
.comm _META_SLEEP,8,3 ## @META_SLEEP
L_.str.2: ## @.str.2
.asciz "us"
L_.str.3: ## @.str.3
.asciz "ms"
L_.str.4: ## @.str.4
.asciz "s"
L_.str.5: ## @.str.5
.asciz "unrecognized time unit, must be us, ms or s"
.comm _META_SETSHELL,8,3 ## @META_SETSHELL
.comm _META_SHELL,8,3 ## @META_SHELL
L_.str.6: ## @.str.6
.asciz "missing command"
.comm _META_ELSE,8,3 ## @META_ELSE
.comm _META_ENDIF,8,3 ## @META_ENDIF
L_.str.7: ## @.str.7
.asciz "unexpected argument"
.comm _META_GSET,8,3 ## @META_GSET
L_.str.8: ## @.str.8
.asciz "invalid command"
.no_dead_strip _process_backslash_command
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function process_backslash_command
_process_backslash_command: ; @process_backslash_command
.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 x20, x1
mov x23, x0
mov x25, sp
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 x27, _MAX_ARGS@GOTPAGE
Lloh4:
ldr x27, [x27, _MAX_ARGS@GOTPAGEOFF]
ldr w8, [x27]
lsl x8, x8, #2
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, #0x7fffffff0
sub x26, x9, x8
mov sp, x26
sub x0, x29, #92
bl _initPQExpBuffer
mov x0, x23
bl _expr_scanner_offset
sub w22, w0, #1
mov x0, x23
mov x1, x22
bl _expr_scanner_get_lineno
mov x21, x0
sub x1, x29, #92
sub x2, x29, #96
mov x0, x23
bl _expr_lex_one_word
cbz x0, LBB0_8
; %bb.1:
mov w0, #48 ; =0x30
bl _pg_malloc0
mov x19, x0
Lloh7:
adrp x8, _META_COMMAND@GOTPAGE
Lloh8:
ldr x8, [x8, _META_COMMAND@GOTPAGEOFF]
Lloh9:
ldr w8, [x8]
str w8, [x0, #40]
str wzr, [x0], #36
bl _initSimpleStats
ldur w0, [x29, #-92]
bl _pg_strdup
ldr x8, [x19, #8]
str x0, [x8]
ldr w8, [x19]
add w8, w8, #1
str w8, [x19]
ldr x8, [x19, #8]
ldr x0, [x8]
bl _getMetaCommand
str x0, [x19, #16]
Lloh10:
adrp x8, _META_SET@GOTPAGE
Lloh11:
ldr x8, [x8, _META_SET@GOTPAGEOFF]
Lloh12:
ldr x8, [x8]
Lloh13:
adrp x9, _META_IF@GOTPAGE
Lloh14:
ldr x9, [x9, _META_IF@GOTPAGEOFF]
Lloh15:
ldr x9, [x9]
cmp x0, x9
ccmp x0, x8, #0, eq
Lloh16:
adrp x9, _META_ELIF@GOTPAGE
Lloh17:
ldr x9, [x9, _META_ELIF@GOTPAGEOFF]
Lloh18:
ldr x9, [x9]
ccmp x0, x9, #4, ne
b.ne LBB0_9
; %bb.2:
cmp x0, x8
b.ne LBB0_6
; %bb.3:
sub x1, x29, #92
sub x2, x29, #96
mov x0, x23
bl _expr_lex_one_word
cbnz x0, LBB0_5
; %bb.4:
ldr x2, [x19, #24]
ldr x8, [x19, #8]
ldr x3, [x8]
Lloh19:
adrp x4, l_.str@PAGE
Lloh20:
add x4, x4, l_.str@PAGEOFF
mov x0, x20
mov x1, x21
mov x5, #0 ; =0x0
mov w6, #-1 ; =0xffffffff
bl _syntax_error
LBB0_5:
ldur w0, [x29, #-92]
bl _pg_strdup
ldr x8, [x19, #8]
stur x0, [x8, #-8]
ldr w8, [x19]
add w8, w8, #1
str w8, [x19]
LBB0_6:
ldr x8, [x19, #8]
ldr x4, [x8]
mov x0, x23
mov x1, x20
mov x2, x21
mov x3, x22
bl _expr_scanner_init
mov x20, x0
bl _expr_yyparse
cbnz x0, LBB0_51
; %bb.7:
Lloh21:
adrp x8, _expr_parse_result@GOTPAGE
Lloh22:
ldr x8, [x8, _expr_parse_result@GOTPAGEOFF]
Lloh23:
ldr w8, [x8]
str w8, [x19, #32]
mov x0, x23
bl _expr_scanner_offset
mov x2, x0
mov x0, x23
mov x1, x22
mov w3, #1 ; =0x1
bl _expr_scanner_get_substring
str x0, [x19, #24]
mov x0, x20
bl _expr_scanner_finish
b LBB0_48
LBB0_8:
mov x19, #0 ; =0x0
b LBB0_48
LBB0_9:
stur x25, [x29, #-104] ; 8-byte Folded Spill
sub x1, x29, #92
sub x2, x29, #96
mov x0, x23
bl _expr_lex_one_word
cbz x0, LBB0_14
; %bb.10:
mov x28, #-1 ; =0xffffffffffffffff
Lloh24:
adrp x24, l_.str.1@PAGE
Lloh25:
add x24, x24, l_.str.1@PAGEOFF
b LBB0_12
LBB0_11: ; in Loop: Header=BB0_12 Depth=1
ldp w8, w0, [x29, #-96]
str w8, [x26, x28, lsl #2]
bl _pg_strdup
ldr x8, [x19, #8]
add x25, x28, #1
str x0, [x8, x28, lsl #3]
ldr w8, [x19]
add w8, w8, #1
str w8, [x19]
sub x1, x29, #92
sub x2, x29, #96
mov x0, x23
bl _expr_lex_one_word
mov x28, x25
cbz x0, LBB0_14
LBB0_12: ; =>This Inner Loop Header: Depth=1
ldrsw x8, [x27]
cmp x28, x8
b.lt LBB0_11
; %bb.13: ; in Loop: Header=BB0_12 Depth=1
ldr x2, [x19, #24]
ldr x8, [x19, #8]
ldr x3, [x8]
mov x0, x20
mov x1, x21
mov x4, x24
mov x5, #0 ; =0x0
mov w6, #-1 ; =0xffffffff
bl _syntax_error
b LBB0_11
LBB0_14:
mov x0, x23
bl _expr_scanner_offset
mov x2, x0
mov x0, x23
mov x1, x22
mov w3, #1 ; =0x1
bl _expr_scanner_get_substring
mov x2, x0
str x0, [x19, #24]
ldr x8, [x19, #16]
Lloh26:
adrp x9, _META_SLEEP@GOTPAGE
Lloh27:
ldr x9, [x9, _META_SLEEP@GOTPAGEOFF]
Lloh28:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_25
; %bb.15:
ldr w8, [x19]
cmp w8, #1
b.gt LBB0_17
; %bb.16:
ldr x8, [x19, #8]
ldr x3, [x8]
Lloh29:
adrp x4, l_.str@PAGE
Lloh30:
add x4, x4, l_.str@PAGEOFF
mov x0, x20
mov x1, x21
mov x5, #0 ; =0x0
mov w6, #-1 ; =0xffffffff
bl _syntax_error
ldr w8, [x19]
LBB0_17:
cmp w8, #4
ldur x25, [x29, #-104] ; 8-byte Folded Reload
b.lt LBB0_19
; %bb.18:
ldr x2, [x19, #24]
ldr x8, [x19, #8]
ldr x3, [x8]
ldr w8, [x26, #12]
sub w6, w8, w22
Lloh31:
adrp x4, l_.str.1@PAGE
Lloh32:
add x4, x4, l_.str.1@PAGEOFF
mov x0, x20
mov x1, x21
mov x5, #0 ; =0x0
bl _syntax_error
ldr w8, [x19]
LBB0_19:
cmp w8, #2
b.ne LBB0_39
; %bb.20:
ldr x8, [x19, #8]
ldr x8, [x8, #8]
ldrb w9, [x8]
cmp w9, #58
b.eq LBB0_48
; %bb.21:
sub w23, w8, #1
sub x24, x8, #1
LBB0_22: ; =>This Inner Loop Header: Depth=1
ldrb w0, [x24, #1]!
bl _isdigit
add w23, w23, #1
cbnz x0, LBB0_22
; %bb.23:
ldrb w8, [x24]
cbz w8, LBB0_38
; %bb.24:
ldr x8, [x19, #8]
str x24, [x8, #16]
ldr w9, [x26, #4]
ldr x8, [x19, #8]
ldr w10, [x8, #8]
add w9, w9, w10
sub w9, w9, w23
str w9, [x26, #8]
mov w9, #3 ; =0x3
str w9, [x19]
b LBB0_41
LBB0_25:
Lloh33:
adrp x9, _META_SETSHELL@GOTPAGE
Lloh34:
ldr x9, [x9, _META_SETSHELL@GOTPAGEOFF]
Lloh35:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_28
; %bb.26:
ldr w8, [x19]
cmp w8, #2
ldur x25, [x29, #-104] ; 8-byte Folded Reload
b.gt LBB0_48
; %bb.27:
ldr x8, [x19, #8]
ldr x3, [x8]
Lloh36:
adrp x4, l_.str@PAGE
Lloh37:
add x4, x4, l_.str@PAGEOFF
b LBB0_46
LBB0_28:
Lloh38:
adrp x9, _META_SHELL@GOTPAGE
Lloh39:
ldr x9, [x9, _META_SHELL@GOTPAGEOFF]
Lloh40:
ldr x9, [x9]
cmp x8, x9
ldur x25, [x29, #-104] ; 8-byte Folded Reload
b.ne LBB0_31
; %bb.29:
ldr w8, [x19]
cmp w8, #1
b.gt LBB0_48
; %bb.30:
ldr x8, [x19, #8]
ldr x3, [x8]
Lloh41:
adrp x4, l_.str.6@PAGE
Lloh42:
add x4, x4, l_.str.6@PAGEOFF
b LBB0_46
LBB0_31:
Lloh43:
adrp x9, _META_ELSE@GOTPAGE
Lloh44:
ldr x9, [x9, _META_ELSE@GOTPAGEOFF]
Lloh45:
ldr x9, [x9]
cmp x8, x9
b.eq LBB0_36
; %bb.32:
Lloh46:
adrp x9, _META_ENDIF@GOTPAGE
Lloh47:
ldr x9, [x9, _META_ENDIF@GOTPAGEOFF]
Lloh48:
ldr x9, [x9]
cmp x8, x9
b.eq LBB0_36
; %bb.33:
Lloh49:
adrp x9, _META_GSET@GOTPAGE
Lloh50:
ldr x9, [x9, _META_GSET@GOTPAGEOFF]
Lloh51:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_45
; %bb.34:
ldr w8, [x19]
cmp w8, #3
b.lt LBB0_48
; %bb.35:
ldr x8, [x19, #8]
ldr x3, [x8]
Lloh52:
adrp x4, l_.str.1@PAGE
Lloh53:
add x4, x4, l_.str.1@PAGEOFF
b LBB0_46
LBB0_36:
ldr w8, [x19]
cmp w8, #1
b.eq LBB0_48
; %bb.37:
ldr x8, [x19, #8]
ldr x3, [x8]
Lloh54:
adrp x4, l_.str.7@PAGE
Lloh55:
add x4, x4, l_.str.7@PAGEOFF
b LBB0_46
LBB0_38:
ldr w8, [x19]
LBB0_39:
cmp w8, #3
b.ne LBB0_48
; %bb.40:
ldr x8, [x19, #8]
LBB0_41:
ldr x0, [x8, #16]
Lloh56:
adrp x1, l_.str.2@PAGE
Lloh57:
add x1, x1, l_.str.2@PAGEOFF
bl _pg_strcasecmp
cbz x0, LBB0_48
; %bb.42:
ldr x8, [x19, #8]
ldr x0, [x8, #16]
Lloh58:
adrp x1, l_.str.3@PAGE
Lloh59:
add x1, x1, l_.str.3@PAGEOFF
bl _pg_strcasecmp
cbz x0, LBB0_48
; %bb.43:
ldr x8, [x19, #8]
ldr x0, [x8, #16]
Lloh60:
adrp x1, l_.str.4@PAGE
Lloh61:
add x1, x1, l_.str.4@PAGEOFF
bl _pg_strcasecmp
cbz x0, LBB0_48
; %bb.44:
ldr x2, [x19, #24]
ldr x8, [x19, #8]
ldr x3, [x8]
ldr x5, [x8, #16]
ldr w8, [x26, #8]
sub w6, w8, w22
Lloh62:
adrp x4, l_.str.5@PAGE
Lloh63:
add x4, x4, l_.str.5@PAGEOFF
mov x0, x20
mov x1, x21
b LBB0_47
LBB0_45:
ldr x8, [x19, #8]
ldr x3, [x8]
Lloh64:
adrp x4, l_.str.8@PAGE
Lloh65:
add x4, x4, l_.str.8@PAGEOFF
LBB0_46:
mov x0, x20
mov x1, x21
mov x5, #0 ; =0x0
mov w6, #-1 ; =0xffffffff
LBB0_47:
bl _syntax_error
LBB0_48:
sub x0, x29, #92
bl _termPQExpBuffer
mov sp, x25
ldur x8, [x29, #-88]
Lloh66:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh67:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh68:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_50
; %bb.49:
mov x0, x19
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_50:
bl ___stack_chk_fail
LBB0_51:
mov w0, #1 ; =0x1
bl _exit
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.loh AdrpAdd Lloh29, Lloh30
.loh AdrpAdd Lloh31, Lloh32
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40
.loh AdrpAdd Lloh41, Lloh42
.loh AdrpLdrGotLdr Lloh43, Lloh44, Lloh45
.loh AdrpLdrGotLdr Lloh46, Lloh47, Lloh48
.loh AdrpLdrGotLdr Lloh49, Lloh50, Lloh51
.loh AdrpAdd Lloh52, Lloh53
.loh AdrpAdd Lloh54, Lloh55
.loh AdrpAdd Lloh56, Lloh57
.loh AdrpAdd Lloh58, Lloh59
.loh AdrpAdd Lloh60, Lloh61
.loh AdrpAdd Lloh62, Lloh63
.loh AdrpAdd Lloh64, Lloh65
.loh AdrpLdrGotLdr Lloh66, Lloh67, Lloh68
.loh AdrpLdrGot Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _MAX_ARGS,4,2 ; @MAX_ARGS
.comm _META_COMMAND,4,2 ; @META_COMMAND
.comm _META_SET,8,3 ; @META_SET
.comm _META_IF,8,3 ; @META_IF
.comm _META_ELIF,8,3 ; @META_ELIF
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "missing argument"
.comm _expr_parse_result,4,2 ; @expr_parse_result
l_.str.1: ; @.str.1
.asciz "too many arguments"
.comm _META_SLEEP,8,3 ; @META_SLEEP
l_.str.2: ; @.str.2
.asciz "us"
l_.str.3: ; @.str.3
.asciz "ms"
l_.str.4: ; @.str.4
.asciz "s"
l_.str.5: ; @.str.5
.asciz "unrecognized time unit, must be us, ms or s"
.comm _META_SETSHELL,8,3 ; @META_SETSHELL
.comm _META_SHELL,8,3 ; @META_SHELL
l_.str.6: ; @.str.6
.asciz "missing command"
.comm _META_ELSE,8,3 ; @META_ELSE
.comm _META_ENDIF,8,3 ; @META_ENDIF
l_.str.7: ; @.str.7
.asciz "unexpected argument"
.comm _META_GSET,8,3 ; @META_GSET
l_.str.8: ; @.str.8
.asciz "invalid command"
.no_dead_strip _process_backslash_command
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function scan_swap_map_slots
_scan_swap_map_slots: ## @scan_swap_map_slots
.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 %rcx, -96(%rbp) ## 8-byte Spill
## kill: def $edx killed $edx def $rdx
movl %esi, -76(%rbp) ## 4-byte Spill
movq %rdi, %rbx
movq _LATENCY_LIMIT@GOTPCREL(%rip), %rax
movl (%rax), %r15d
movq _SWAP_BATCH@GOTPCREL(%rip), %rax
movl (%rax), %eax
cmpl %edx, %eax
cmovll %eax, %edx
movq %rdx, -88(%rbp) ## 8-byte Spill
movq _SWP_SCANNING@GOTPCREL(%rip), %rax
movl (%rax), %eax
addl %eax, (%rdi)
movq 8(%rdi), %rax
movq %rax, -48(%rbp)
movq %rax, -56(%rbp)
cmpq $0, 64(%rdi)
je LBB0_6
## %bb.1:
leaq -48(%rbp), %rsi
leaq -56(%rbp), %rdx
movq %rbx, %rdi
callq _scan_swap_map_try_ssd_cluster
xorl %r12d, %r12d
testq %rax, %rax
jne LBB0_19
jmp LBB0_2
LBB0_6:
xorl %edi, %edi
subl $1, 16(%rbx)
setb %dil
callq _unlikely
xorl %r12d, %r12d
testq %rax, %rax
je LBB0_19
## %bb.7:
movl 20(%rbx), %ecx
subl 24(%rbx), %ecx
movq _SWAPFILE_CLUSTER@GOTPCREL(%rip), %r14
movl (%r14), %eax
cmpl %eax, %ecx
jl LBB0_18
## %bb.8:
leaq 56(%rbx), %rdi
movq %rdi, -64(%rbp) ## 8-byte Spill
callq _spin_unlock
movq 32(%rbx), %r13
movq %r13, -48(%rbp)
movq %r13, -56(%rbp)
movslq (%r14), %r14
notq %r14
addq %r13, %r14
cmpq 40(%rbx), %r14
movq %r13, -72(%rbp) ## 8-byte Spill
jbe LBB0_9
LBB0_17:
movq -72(%rbp), %rax ## 8-byte Reload
movq %rax, -48(%rbp)
movq -64(%rbp), %rdi ## 8-byte Reload
callq _spin_lock
movq _SWAPFILE_CLUSTER@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_18:
decl %eax
movl %eax, 16(%rbx)
jmp LBB0_19
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_9 Depth=1
decl %r15d
LBB0_16: ## in Loop: Header=BB0_9 Depth=1
incq %r13
movq %r13, -48(%rbp)
cmpq 40(%rbx), %r14
ja LBB0_17
LBB0_9: ## =>This Inner Loop Header: Depth=1
movq 48(%rbx), %rax
cmpb $0, (%rax,%r13)
je LBB0_13
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
movq _SWAPFILE_CLUSTER@GOTPCREL(%rip), %rax
movslq (%rax), %r14
addq %r13, %r14
jmp LBB0_11
.p2align 4, 0x90
LBB0_13: ## in Loop: Header=BB0_9 Depth=1
cmpq %r14, %r13
je LBB0_14
LBB0_11: ## in Loop: Header=BB0_9 Depth=1
xorl %edi, %edi
testl %r15d, %r15d
setle %dil
callq _unlikely
testq %rax, %rax
je LBB0_12
## %bb.15: ## in Loop: Header=BB0_9 Depth=1
xorl %eax, %eax
callq _cond_resched
movq _LATENCY_LIMIT@GOTPCREL(%rip), %rax
movl (%rax), %r15d
jmp LBB0_16
LBB0_14:
movq -64(%rbp), %rdi ## 8-byte Reload
callq _spin_lock
movq _SWAPFILE_CLUSTER@GOTPCREL(%rip), %rax
movslq (%rax), %rax
decq %rax
subq %rax, %r14
movq %r14, -48(%rbp)
movq %r14, 8(%rbx)
movl %eax, 16(%rbx)
xorl %r12d, %r12d
jmp LBB0_19
LBB0_2:
leaq 56(%rbx), %r14
movq %r14, %rdi
callq _spin_unlock
movq -48(%rbp), %rax
incq %rax
movq %rax, -48(%rbp)
cmpq 40(%rbx), %rax
jbe LBB0_3
LBB0_57:
movq 32(%rbx), %rax
movq %rax, -48(%rbp)
cmpq -56(%rbp), %rax
jae LBB0_66
## %bb.58:
movq _SWAP_HAS_CACHE@GOTPCREL(%rip), %r13
jmp LBB0_59
.p2align 4, 0x90
LBB0_64: ## in Loop: Header=BB0_59 Depth=1
xorl %eax, %eax
callq _cond_resched
movq _LATENCY_LIMIT@GOTPCREL(%rip), %rax
movl (%rax), %r15d
LBB0_65: ## in Loop: Header=BB0_59 Depth=1
movq -48(%rbp), %rax
incq %rax
movq %rax, -48(%rbp)
cmpq -56(%rbp), %rax
jae LBB0_66
LBB0_59: ## =>This Inner Loop Header: Depth=1
movq 48(%rbx), %rcx
cmpb $0, (%rcx,%rax)
je LBB0_5
## %bb.60: ## in Loop: Header=BB0_59 Depth=1
xorl %eax, %eax
callq _vm_swap_full
testq %rax, %rax
je LBB0_62
## %bb.61: ## in Loop: Header=BB0_59 Depth=1
movq 48(%rbx), %rax
movq -48(%rbp), %rcx
movzbl (%rax,%rcx), %eax
cmpb (%r13), %al
je LBB0_5
LBB0_62: ## in Loop: Header=BB0_59 Depth=1
xorl %edi, %edi
testl %r15d, %r15d
setle %dil
callq _unlikely
testq %rax, %rax
jne LBB0_64
## %bb.63: ## in Loop: Header=BB0_59 Depth=1
decl %r15d
jmp LBB0_65
LBB0_3:
movq _SWAP_HAS_CACHE@GOTPCREL(%rip), %r13
jmp LBB0_4
.p2align 4, 0x90
LBB0_55: ## in Loop: Header=BB0_4 Depth=1
xorl %eax, %eax
callq _cond_resched
movq _LATENCY_LIMIT@GOTPCREL(%rip), %rax
movl (%rax), %r15d
LBB0_56: ## in Loop: Header=BB0_4 Depth=1
movq -48(%rbp), %rax
incq %rax
movq %rax, -48(%rbp)
cmpq 40(%rbx), %rax
ja LBB0_57
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq 48(%rbx), %rcx
cmpb $0, (%rcx,%rax)
je LBB0_5
## %bb.51: ## in Loop: Header=BB0_4 Depth=1
xorl %eax, %eax
callq _vm_swap_full
testq %rax, %rax
je LBB0_53
## %bb.52: ## in Loop: Header=BB0_4 Depth=1
movq 48(%rbx), %rax
movq -48(%rbp), %rcx
movzbl (%rax,%rcx), %eax
cmpb (%r13), %al
je LBB0_5
LBB0_53: ## in Loop: Header=BB0_4 Depth=1
xorl %edi, %edi
testl %r15d, %r15d
setle %dil
callq _unlikely
testq %rax, %rax
jne LBB0_55
## %bb.54: ## in Loop: Header=BB0_4 Depth=1
decl %r15d
jmp LBB0_56
LBB0_5:
movq %r14, %rdi
callq _spin_lock
LBB0_19:
leaq 56(%rbx), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
movslq %r12d, %r13
movq -88(%rbp), %rax ## 8-byte Reload
decl %eax
cltq
movq %rax, -104(%rbp) ## 8-byte Spill
movq _SWP_WRITEOK@GOTPCREL(%rip), %r12
leaq -48(%rbp), %r14
LBB0_20: ## =>This Loop Header: Depth=1
## Child Loop BB0_21 Depth 2
## Child Loop BB0_22 Depth 3
movl %r15d, -72(%rbp) ## 4-byte Spill
LBB0_21: ## Parent Loop BB0_20 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_22 Depth 3
cmpq $0, 64(%rbx)
je LBB0_26
.p2align 4, 0x90
LBB0_22: ## Parent Loop BB0_20 Depth=1
## Parent Loop BB0_21 Depth=2
## => This Inner Loop Header: Depth=3
movq -48(%rbp), %rsi
movq %rbx, %rdi
callq _scan_swap_map_ssd_cluster_conflict
testq %rax, %rax
je LBB0_26
## %bb.23: ## in Loop: Header=BB0_22 Depth=3
testq %r13, %r13
jne LBB0_36
## %bb.24: ## in Loop: Header=BB0_22 Depth=3
movq %rbx, %rdi
movq %r14, %rsi
leaq -56(%rbp), %rdx
callq _scan_swap_map_try_ssd_cluster
testq %rax, %rax
jne LBB0_22
jmp LBB0_25
.p2align 4, 0x90
LBB0_26: ## in Loop: Header=BB0_21 Depth=2
movl (%rbx), %eax
movl (%r12), %ecx
orl %eax, %ecx
je LBB0_38
## %bb.27: ## in Loop: Header=BB0_21 Depth=2
movq 40(%rbx), %rcx
testq %rcx, %rcx
je LBB0_38
## %bb.28: ## in Loop: Header=BB0_21 Depth=2
movq -48(%rbp), %rsi
cmpq %rcx, %rsi
jbe LBB0_30
## %bb.29: ## in Loop: Header=BB0_21 Depth=2
movq 32(%rbx), %rsi
movq %rsi, -48(%rbp)
movq %rsi, -56(%rbp)
LBB0_30: ## in Loop: Header=BB0_21 Depth=2
movq %rbx, %rdi
callq _lock_cluster
movq %rax, %r14
xorl %eax, %eax
callq _vm_swap_full
movq 48(%rbx), %rcx
movq -48(%rbp), %rdx
movzbl (%rcx,%rdx), %esi
testq %rax, %rax
je LBB0_34
## %bb.31: ## in Loop: Header=BB0_21 Depth=2
movq _SWAP_HAS_CACHE@GOTPCREL(%rip), %rax
cmpb (%rax), %sil
jne LBB0_34
## %bb.32: ## in Loop: Header=BB0_21 Depth=2
movq %r14, %rdi
callq _unlock_cluster
movq %r13, %r15
movq %r12, %r13
movq -64(%rbp), %r12 ## 8-byte Reload
movq %r12, %rdi
callq _spin_unlock
movq -48(%rbp), %rsi
movq _TTRS_ANYWAY@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
callq ___try_to_reclaim_swap
movl %eax, %r14d
movq %r12, %rdi
movq %r13, %r12
movq %r15, %r13
movl -72(%rbp), %r15d ## 4-byte Reload
callq _spin_lock
testl %r14d, %r14d
leaq -48(%rbp), %r14
jne LBB0_21
jmp LBB0_33
LBB0_34: ## in Loop: Header=BB0_20 Depth=1
testb %sil, %sil
jne LBB0_35
## %bb.39: ## in Loop: Header=BB0_20 Depth=1
movl -76(%rbp), %eax ## 4-byte Reload
movb %al, (%rcx,%rdx)
movq 64(%rbx), %rsi
movq -48(%rbp), %rdx
movq %rbx, %rdi
callq _inc_cluster_info_page
movq %r14, %rdi
callq _unlock_cluster
movq -48(%rbp), %rsi
movq %rbx, %rdi
movl $1, %edx
callq _swap_range_alloc
movq -48(%rbp), %rsi
leaq 1(%rsi), %rax
movq %rax, 8(%rbx)
movl 72(%rbx), %edi
callq _swp_entry
movq -96(%rbp), %rcx ## 8-byte Reload
movl %eax, (%rcx,%r13,4)
cmpq -104(%rbp), %r13 ## 8-byte Folded Reload
je LBB0_40
## %bb.41: ## in Loop: Header=BB0_20 Depth=1
incq %r13
movq -48(%rbp), %rax
cmpq 40(%rbx), %rax
jae LBB0_36
## %bb.42: ## in Loop: Header=BB0_20 Depth=1
xorl %edi, %edi
testl %r15d, %r15d
setle %dil
callq _unlikely
testq %rax, %rax
je LBB0_43
## %bb.44: ## in Loop: Header=BB0_20 Depth=1
testq %r13, %r13
jne LBB0_36
## %bb.45: ## in Loop: Header=BB0_20 Depth=1
movq -64(%rbp), %r14 ## 8-byte Reload
movq %r14, %rdi
callq _spin_unlock
xorl %eax, %eax
callq _cond_resched
movq %r14, %rdi
callq _spin_lock
movq _LATENCY_LIMIT@GOTPCREL(%rip), %rax
movl (%rax), %r15d
jmp LBB0_46
LBB0_43: ## in Loop: Header=BB0_20 Depth=1
decl %r15d
LBB0_46: ## in Loop: Header=BB0_20 Depth=1
cmpq $0, 64(%rbx)
leaq -48(%rbp), %r14
je LBB0_48
## %bb.47: ## in Loop: Header=BB0_20 Depth=1
movq %rbx, %rdi
movq %r14, %rsi
leaq -56(%rbp), %rdx
callq _scan_swap_map_try_ssd_cluster
testq %rax, %rax
jne LBB0_20
jmp LBB0_36
LBB0_48: ## in Loop: Header=BB0_20 Depth=1
movq -48(%rbp), %rcx
incq %rcx
movq %rcx, -48(%rbp)
movl 16(%rbx), %eax
testl %eax, %eax
je LBB0_36
## %bb.49: ## in Loop: Header=BB0_20 Depth=1
movq 48(%rbx), %rdx
cmpb $0, (%rdx,%rcx)
jne LBB0_36
## %bb.50: ## in Loop: Header=BB0_20 Depth=1
decl %eax
movl %eax, 16(%rbx)
jmp LBB0_20
LBB0_25:
xorl %r12d, %r12d
jmp LBB0_2
LBB0_66:
movq %r14, %rdi
callq _spin_lock
movl (%rbx), %eax
jmp LBB0_67
LBB0_33:
movl %r13d, %r12d
jmp LBB0_2
LBB0_35:
movq %r14, %rdi
callq _unlock_cluster
xorl %r12d, %r12d
testq %r13, %r13
je LBB0_2
LBB0_36:
## kill: def $r13d killed $r13d killed $r13 def $r13
LBB0_37:
movl (%rbx), %eax
LBB0_38:
movl %r13d, %r12d
LBB0_67:
movq _SWP_SCANNING@GOTPCREL(%rip), %rcx
subl (%rcx), %eax
movl %eax, (%rbx)
movl %r12d, %eax
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_40:
movq -88(%rbp), %r13 ## 8-byte Reload
jmp LBB0_37
.cfi_endproc
## -- End function
.comm _LATENCY_LIMIT,4,2 ## @LATENCY_LIMIT
.comm _SWAP_BATCH,4,2 ## @SWAP_BATCH
.comm _SWP_SCANNING,8,3 ## @SWP_SCANNING
.comm _SWAPFILE_CLUSTER,4,2 ## @SWAPFILE_CLUSTER
.comm _SWP_WRITEOK,4,2 ## @SWP_WRITEOK
.comm _SWAP_HAS_CACHE,1,0 ## @SWAP_HAS_CACHE
.comm _TTRS_ANYWAY,4,2 ## @TTRS_ANYWAY
.no_dead_strip _scan_swap_map_slots
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function scan_swap_map_slots
_scan_swap_map_slots: ; @scan_swap_map_slots
.cfi_startproc
; %bb.0:
sub sp, sp, #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
str x3, [sp, #8] ; 8-byte Folded Spill
str w1, [sp, #4] ; 4-byte Folded Spill
mov x19, x0
Lloh0:
adrp x25, _LATENCY_LIMIT@GOTPAGE
Lloh1:
ldr x25, [x25, _LATENCY_LIMIT@GOTPAGEOFF]
ldr w27, [x25]
Lloh2:
adrp x8, _SWAP_BATCH@GOTPAGE
Lloh3:
ldr x8, [x8, _SWAP_BATCH@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
cmp w8, w2
csel w24, w8, w2, lt
Lloh5:
adrp x8, _SWP_SCANNING@GOTPAGE
Lloh6:
ldr x8, [x8, _SWP_SCANNING@GOTPAGEOFF]
Lloh7:
ldr w8, [x8]
ldr w9, [x0]
add w8, w9, w8
str w8, [x0]
ldr x8, [x0, #8]
stp x8, x8, [sp, #16]
ldr x8, [x0, #64]
Lloh8:
adrp x26, _SWAP_HAS_CACHE@GOTPAGE
Lloh9:
ldr x26, [x26, _SWAP_HAS_CACHE@GOTPAGEOFF]
cbz x8, LBB0_2
; %bb.1:
add x1, sp, #24
add x2, sp, #16
mov x0, x19
bl _scan_swap_map_try_ssd_cluster
mov w22, #0 ; =0x0
cbnz x0, LBB0_33
b LBB0_17
LBB0_2:
ldr w8, [x19, #16]
sub w9, w8, #1
str w9, [x19, #16]
cmp w8, #0
cset w0, eq
bl _unlikely
cbz x0, LBB0_5
; %bb.3:
ldp w9, w10, [x19, #20]
Lloh10:
adrp x20, _SWAPFILE_CLUSTER@GOTPAGE
Lloh11:
ldr x20, [x20, _SWAPFILE_CLUSTER@GOTPAGEOFF]
ldr w8, [x20]
sub w9, w9, w10
cmp w9, w8
b.ge LBB0_6
; %bb.4:
mov w22, #0 ; =0x0
b LBB0_8
LBB0_5:
mov w22, #0 ; =0x0
b LBB0_33
LBB0_6:
add x0, x19, #56
bl _spin_unlock
ldp x21, x8, [x19, #32]
stp x21, x21, [sp, #16]
ldr w9, [x20]
mvn w9, w9
add x23, x21, w9, sxtw
cmp x23, x8
b.ls LBB0_9
LBB0_7:
str x21, [sp, #24]
add x0, x19, #56
bl _spin_lock
mov w22, #0 ; =0x0
ldr w8, [x20]
LBB0_8:
sub w8, w8, #1
str w8, [x19, #16]
b LBB0_33
LBB0_9:
mov x22, x21
b LBB0_11
LBB0_10: ; in Loop: Header=BB0_11 Depth=1
add x22, x22, #1
str x22, [sp, #24]
ldr x8, [x19, #40]
cmp x23, x8
b.hi LBB0_7
LBB0_11: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #48]
ldrb w8, [x8, x22]
cbz w8, LBB0_13
; %bb.12: ; in Loop: Header=BB0_11 Depth=1
ldrsw x8, [x20]
add x23, x22, x8
b LBB0_14
LBB0_13: ; in Loop: Header=BB0_11 Depth=1
cmp x22, x23
b.eq LBB0_16
LBB0_14: ; in Loop: Header=BB0_11 Depth=1
subs w27, w27, #1
cset w0, lt
bl _unlikely
cbz x0, LBB0_10
; %bb.15: ; in Loop: Header=BB0_11 Depth=1
bl _cond_resched
ldr w27, [x25]
b LBB0_10
LBB0_16:
add x0, x19, #56
bl _spin_lock
mov w22, #0 ; =0x0
ldrsw x8, [x20]
sub x8, x8, #1
sub x9, x23, x8
str x9, [sp, #24]
str x9, [x19, #8]
str w8, [x19, #16]
b LBB0_33
LBB0_17:
add x0, x19, #56
bl _spin_unlock
LBB0_18: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp, #24]
ldr x9, [x19, #40]
cmp x8, x9
b.hi LBB0_24
; %bb.19: ; in Loop: Header=BB0_18 Depth=1
ldr x9, [x19, #48]
ldrb w8, [x9, x8]
cbz w8, LBB0_32
; %bb.20: ; in Loop: Header=BB0_18 Depth=1
bl _vm_swap_full
cbz x0, LBB0_22
; %bb.21: ; in Loop: Header=BB0_18 Depth=1
ldr x8, [x19, #48]
ldr x9, [sp, #24]
ldrb w8, [x8, x9]
ldrb w9, [x26]
cmp w8, w9
b.eq LBB0_32
LBB0_22: ; in Loop: Header=BB0_18 Depth=1
subs w27, w27, #1
cset w0, lt
bl _unlikely
cbz x0, LBB0_18
; %bb.23: ; in Loop: Header=BB0_18 Depth=1
bl _cond_resched
ldr w27, [x25]
b LBB0_18
LBB0_24:
ldr x8, [x19, #32]
b LBB0_26
LBB0_25: ; in Loop: Header=BB0_26 Depth=1
ldr x8, [sp, #24]
add x8, x8, #1
LBB0_26: ; =>This Inner Loop Header: Depth=1
str x8, [sp, #24]
ldr x9, [sp, #16]
cmp x8, x9
b.hs LBB0_57
; %bb.27: ; in Loop: Header=BB0_26 Depth=1
ldr x9, [x19, #48]
ldrb w8, [x9, x8]
cbz w8, LBB0_32
; %bb.28: ; in Loop: Header=BB0_26 Depth=1
bl _vm_swap_full
cbz x0, LBB0_30
; %bb.29: ; in Loop: Header=BB0_26 Depth=1
ldr x8, [x19, #48]
ldr x9, [sp, #24]
ldrb w8, [x8, x9]
ldrb w9, [x26]
cmp w8, w9
b.eq LBB0_32
LBB0_30: ; in Loop: Header=BB0_26 Depth=1
subs w27, w27, #1
cset w0, lt
bl _unlikely
cbz x0, LBB0_25
; %bb.31: ; in Loop: Header=BB0_26 Depth=1
bl _cond_resched
ldr w27, [x25]
b LBB0_25
LBB0_32:
add x0, x19, #56
bl _spin_lock
LBB0_33:
sxtw x28, w22
sub w8, w24, #1
sxtw x20, w8
Lloh12:
adrp x21, _SWP_WRITEOK@GOTPAGE
Lloh13:
ldr x21, [x21, _SWP_WRITEOK@GOTPAGEOFF]
Lloh14:
adrp x23, _TTRS_ANYWAY@GOTPAGE
Lloh15:
ldr x23, [x23, _TTRS_ANYWAY@GOTPAGEOFF]
LBB0_34: ; =>This Loop Header: Depth=1
; Child Loop BB0_35 Depth 2
ldr x8, [x19, #64]
cbz x8, LBB0_38
LBB0_35: ; Parent Loop BB0_34 Depth=1
; => This Inner Loop Header: Depth=2
ldr x1, [sp, #24]
mov x0, x19
bl _scan_swap_map_ssd_cluster_conflict
cbz x0, LBB0_38
; %bb.36: ; in Loop: Header=BB0_35 Depth=2
cbnz x28, LBB0_61
; %bb.37: ; in Loop: Header=BB0_35 Depth=2
add x1, sp, #24
add x2, sp, #16
mov x0, x19
bl _scan_swap_map_try_ssd_cluster
cbnz x0, LBB0_35
b LBB0_56
LBB0_38: ; in Loop: Header=BB0_34 Depth=1
ldr w8, [x19]
ldr w9, [x21]
orr w9, w9, w8
cbz w9, LBB0_58
; %bb.39: ; in Loop: Header=BB0_34 Depth=1
ldr x9, [x19, #40]
cbz x9, LBB0_58
; %bb.40: ; in Loop: Header=BB0_34 Depth=1
ldr x1, [sp, #24]
cmp x1, x9
b.ls LBB0_42
; %bb.41: ; in Loop: Header=BB0_34 Depth=1
ldr x1, [x19, #32]
stp x1, x1, [sp, #16]
LBB0_42: ; in Loop: Header=BB0_34 Depth=1
mov x0, x19
bl _lock_cluster
mov x22, x0
bl _vm_swap_full
ldr x8, [x19, #48]
ldr x9, [sp, #24]
ldrb w10, [x8, x9]
cbz x0, LBB0_45
; %bb.43: ; in Loop: Header=BB0_34 Depth=1
ldrb w11, [x26]
cmp w10, w11
b.ne LBB0_45
; %bb.44: ; in Loop: Header=BB0_34 Depth=1
mov x0, x22
bl _unlock_cluster
add x0, x19, #56
bl _spin_unlock
ldr x1, [sp, #24]
ldr w2, [x23]
mov x0, x19
bl ___try_to_reclaim_swap
mov x22, x0
add x0, x19, #56
bl _spin_lock
cbnz w22, LBB0_34
b LBB0_59
LBB0_45: ; in Loop: Header=BB0_34 Depth=1
cbnz w10, LBB0_60
; %bb.46: ; in Loop: Header=BB0_34 Depth=1
ldr w10, [sp, #4] ; 4-byte Folded Reload
strb w10, [x8, x9]
ldr x1, [x19, #64]
ldr x2, [sp, #24]
mov x0, x19
bl _inc_cluster_info_page
mov x0, x22
bl _unlock_cluster
ldr x1, [sp, #24]
mov x0, x19
mov w2, #1 ; =0x1
bl _swap_range_alloc
ldr x1, [sp, #24]
add x8, x1, #1
str x8, [x19, #8]
ldr w0, [x19, #72]
bl _swp_entry
ldr x8, [sp, #8] ; 8-byte Folded Reload
str w0, [x8, x28, lsl #2]
cmp x28, x20
b.eq LBB0_62
; %bb.47: ; in Loop: Header=BB0_34 Depth=1
add x28, x28, #1
ldr x8, [sp, #24]
ldr x9, [x19, #40]
cmp x8, x9
b.hs LBB0_61
; %bb.48: ; in Loop: Header=BB0_34 Depth=1
subs w27, w27, #1
cset w0, lt
bl _unlikely
cbz x0, LBB0_51
; %bb.49: ; in Loop: Header=BB0_34 Depth=1
cbnz x28, LBB0_61
; %bb.50: ; in Loop: Header=BB0_34 Depth=1
add x0, x19, #56
bl _spin_unlock
bl _cond_resched
add x0, x19, #56
bl _spin_lock
ldr w27, [x25]
LBB0_51: ; in Loop: Header=BB0_34 Depth=1
ldr x8, [x19, #64]
cbz x8, LBB0_53
; %bb.52: ; in Loop: Header=BB0_34 Depth=1
add x1, sp, #24
add x2, sp, #16
mov x0, x19
bl _scan_swap_map_try_ssd_cluster
cbnz x0, LBB0_34
b LBB0_61
LBB0_53: ; in Loop: Header=BB0_34 Depth=1
ldr x8, [sp, #24]
add x9, x8, #1
str x9, [sp, #24]
ldr w8, [x19, #16]
cbz w8, LBB0_61
; %bb.54: ; in Loop: Header=BB0_34 Depth=1
ldr x10, [x19, #48]
ldrb w9, [x10, x9]
cbnz w9, LBB0_61
; %bb.55: ; in Loop: Header=BB0_34 Depth=1
sub w8, w8, #1
str w8, [x19, #16]
b LBB0_34
LBB0_56:
mov w22, #0 ; =0x0
b LBB0_17
LBB0_57:
add x0, x19, #56
bl _spin_lock
ldr w8, [x19]
b LBB0_63
LBB0_58:
mov x22, x28
b LBB0_63
LBB0_59:
mov x22, x28
b LBB0_17
LBB0_60:
mov x0, x22
bl _unlock_cluster
mov w22, #0 ; =0x0
cbz x28, LBB0_17
LBB0_61:
mov x24, x28
LBB0_62:
ldr w8, [x19]
mov x22, x24
LBB0_63:
Lloh16:
adrp x9, _SWP_SCANNING@GOTPAGE
Lloh17:
ldr x9, [x9, _SWP_SCANNING@GOTPAGEOFF]
Lloh18:
ldr w9, [x9]
sub w8, w8, w9
str w8, [x19]
mov x0, x22
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
ldp x28, x27, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #128
ret
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.cfi_endproc
; -- End function
.comm _LATENCY_LIMIT,4,2 ; @LATENCY_LIMIT
.comm _SWAP_BATCH,4,2 ; @SWAP_BATCH
.comm _SWP_SCANNING,8,3 ; @SWP_SCANNING
.comm _SWAPFILE_CLUSTER,4,2 ; @SWAPFILE_CLUSTER
.comm _SWP_WRITEOK,4,2 ; @SWP_WRITEOK
.comm _SWAP_HAS_CACHE,1,0 ; @SWAP_HAS_CACHE
.comm _TTRS_ANYWAY,4,2 ; @TTRS_ANYWAY
.no_dead_strip _scan_swap_map_slots
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal8,8byte_literals
.p2align 2, 0x0 ## -- Begin function forward_crop_layer
LCPI0_0:
.long 0x3f800000 ## float 1
.long 0x40000000 ## float 2
.section __TEXT,__literal4,4byte_literals
.p2align 2, 0x0
LCPI0_1:
.long 0xbf800000 ## float -1
.section __TEXT,__text,regular,pure_instructions
.globl _forward_crop_layer
.p2align 4, 0x90
_forward_crop_layer: ## @forward_crop_layer
.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
movl %esi, -56(%rbp) ## 4-byte Spill
movq %rdi, %rbx
leaq 16(%rbp), %r15
movl $1, %r14d
cmpl $0, 56(%rbp)
jne LBB0_2
## %bb.1:
xorl %eax, %eax
callq _rand
movl %eax, %r14d
andl $1, %r14d
LBB0_2:
xorl %eax, %eax
callq _rand
movl (%r15), %ecx
movl 4(%r15), %r12d
movl %ecx, -64(%rbp) ## 4-byte Spill
movl %ecx, %r13d
subl %r12d, %r13d
leal 1(%r13), %ecx
cltd
idivl %ecx
movl %edx, -48(%rbp) ## 4-byte Spill
xorl %eax, %eax
callq _rand
movl 8(%r15), %r10d
movl 12(%r15), %esi
movl %r10d, %edi
subl %esi, %edi
leal 1(%rdi), %r8d
cltd
idivl %r8d
movl %edx, -44(%rbp) ## 4-byte Spill
xorl %eax, %eax
cmpq $0, 32(%r15)
sete %dl
je LBB0_3
## %bb.4:
xorps %xmm0, %xmm0
cmpl $0, -56(%rbp) ## 4-byte Folded Reload
jne LBB0_7
jmp LBB0_6
LBB0_3:
movss LCPI0_1(%rip), %xmm0 ## xmm0 = [-1.0E+0,0.0E+0,0.0E+0,0.0E+0]
cmpl $0, -56(%rbp) ## 4-byte Folded Reload
je LBB0_6
LBB0_7:
cmpl $0, 16(%r15)
jle LBB0_23
LBB0_8:
movb %dl, %al
leaq LCPI0_0(%rip), %rdx
movss (%rdx,%rax,4), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movl 20(%r15), %ecx
movq 24(%r15), %rax
movq %rax, -112(%rbp) ## 8-byte Spill
addq $4, %rax
movq %rax, -104(%rbp) ## 8-byte Spill
movl -44(%rbp), %eax ## 4-byte Reload
movl %eax, %r9d
movl %r10d, %edx
subl %eax, %edx
addl $-2, %edx
movl %edx, -72(%rbp) ## 4-byte Spill
movl %esi, %r11d
andl $2147483646, %r11d ## imm = 0x7FFFFFFE
xorl %r13d, %r13d
xorl %eax, %eax
movl %r10d, -76(%rbp) ## 4-byte Spill
movl %ecx, -68(%rbp) ## 4-byte Spill
jmp LBB0_9
.p2align 4, 0x90
LBB0_22: ## in Loop: Header=BB0_9 Depth=1
movl -60(%rbp), %eax ## 4-byte Reload
decl %eax
LBB0_9: ## =>This Loop Header: Depth=1
## Child Loop BB0_11 Depth 2
## Child Loop BB0_13 Depth 3
## Child Loop BB0_16 Depth 4
testl %ecx, %ecx
movl %eax, -60(%rbp) ## 4-byte Spill
jle LBB0_22
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
movl %ecx, %edx
imull %eax, %edx
movq %rdx, -88(%rbp) ## 8-byte Spill
xorl %edx, %edx
jmp LBB0_11
.p2align 4, 0x90
LBB0_21: ## in Loop: Header=BB0_11 Depth=2
movq -96(%rbp), %rdx ## 8-byte Reload
incl %edx
movl -68(%rbp), %ecx ## 4-byte Reload
cmpl %ecx, %edx
je LBB0_22
LBB0_11: ## Parent Loop BB0_9 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_13 Depth 3
## Child Loop BB0_16 Depth 4
testl %r12d, %r12d
movq %rdx, -96(%rbp) ## 8-byte Spill
jle LBB0_21
## %bb.12: ## in Loop: Header=BB0_11 Depth=2
movq -88(%rbp), %rax ## 8-byte Reload
leal (%rax,%rdx), %r15d
imull -64(%rbp), %r15d ## 4-byte Folded Reload
addl -48(%rbp), %r15d ## 4-byte Folded Reload
xorl %edi, %edi
movq %r15, -56(%rbp) ## 8-byte Spill
jmp LBB0_13
.p2align 4, 0x90
LBB0_20: ## in Loop: Header=BB0_13 Depth=3
incl %edi
cmpl %r12d, %edi
je LBB0_21
LBB0_13: ## Parent Loop BB0_9 Depth=1
## Parent Loop BB0_11 Depth=2
## => This Loop Header: Depth=3
## Child Loop BB0_16 Depth 4
testl %esi, %esi
jle LBB0_20
## %bb.14: ## in Loop: Header=BB0_13 Depth=3
leal (%r15,%rdi), %edx
imull %r10d, %edx
xorl %r8d, %r8d
movslq %r13d, %r13
cmpl $1, %esi
je LBB0_18
## %bb.15: ## in Loop: Header=BB0_13 Depth=3
movl %r12d, %eax
movq -104(%rbp), %rcx ## 8-byte Reload
leaq (%rcx,%r13,4), %r10
movl -72(%rbp), %ecx ## 4-byte Reload
movl %ecx, %r15d
xorl %r8d, %r8d
.p2align 4, 0x90
LBB0_16: ## Parent Loop BB0_9 Depth=1
## Parent Loop BB0_11 Depth=2
## Parent Loop BB0_13 Depth=3
## => This Inner Loop Header: Depth=4
leal (%r9,%r8), %ecx
leal 1(%r15), %r12d
testl %r14d, %r14d
cmovel %ecx, %r12d
leal 1(%r9,%r8), %ecx
cmovnel %r15d, %ecx
addl %edx, %r12d
movslq %r12d, %r12
movss (%rbx,%r12,4), %xmm2 ## xmm2 = mem[0],zero,zero,zero
mulss %xmm1, %xmm2
addss %xmm0, %xmm2
movss %xmm2, -4(%r10,%r8,4)
addl %edx, %ecx
movslq %ecx, %rcx
movss (%rbx,%rcx,4), %xmm2 ## xmm2 = mem[0],zero,zero,zero
mulss %xmm1, %xmm2
addss %xmm0, %xmm2
movss %xmm2, (%r10,%r8,4)
addq $2, %r8
addl $-2, %r15d
cmpl %r8d, %r11d
jne LBB0_16
## %bb.17: ## in Loop: Header=BB0_13 Depth=3
addq %r8, %r13
movl %eax, %r12d
movl -76(%rbp), %r10d ## 4-byte Reload
movq -56(%rbp), %r15 ## 8-byte Reload
LBB0_18: ## in Loop: Header=BB0_13 Depth=3
testb $1, %sil
je LBB0_20
## %bb.19: ## in Loop: Header=BB0_13 Depth=3
addl -44(%rbp), %r8d ## 4-byte Folded Reload
movl %r8d, %ecx
notl %ecx
addl %r10d, %ecx
testl %r14d, %r14d
cmovel %r8d, %ecx
addl %edx, %ecx
movslq %ecx, %rcx
movss (%rbx,%rcx,4), %xmm2 ## xmm2 = mem[0],zero,zero,zero
mulss %xmm1, %xmm2
addss %xmm0, %xmm2
movq -112(%rbp), %rax ## 8-byte Reload
movss %xmm2, (%rax,%r13,4)
incq %r13
jmp LBB0_20
LBB0_6:
movl %r13d, %ecx
shrl $31, %ecx
addl %r13d, %ecx
sarl %ecx
movl %ecx, -48(%rbp) ## 4-byte Spill
movl %edi, %ecx
shrl $31, %ecx
addl %edi, %ecx
sarl %ecx
movl %ecx, -44(%rbp) ## 4-byte Spill
xorl %r14d, %r14d
cmpl $0, 16(%r15)
jg LBB0_8
LBB0_23:
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _forward_crop_layer ; -- Begin function forward_crop_layer
.p2align 2
_forward_crop_layer: ; @forward_crop_layer
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x21, x2
mov x19, x1
mov x20, x0
ldr w8, [x0, #40]
cbz w8, LBB0_2
; %bb.1:
mov w23, #1 ; =0x1
b LBB0_3
LBB0_2:
bl _rand
and w23, w0, #0x1
LBB0_3:
bl _rand
mov x22, x0
ldp w24, w25, [x20]
bl _rand
ldp w8, w9, [x20, #8]
sub w11, w8, w9
ldr x10, [x20, #32]
cmp x10, #0
fmov s0, #1.00000000
fmov s1, #2.00000000
fcsel s0, s1, s0, eq
movi d1, #0000000000000000
fmov s2, #-1.00000000
fcsel s1, s2, s1, eq
cbz w21, LBB0_5
; %bb.4:
sub w10, w24, w25
add w10, w10, #1
sdiv w12, w22, w10
msub w10, w12, w10, w22
add w11, w11, #1
sdiv w12, w0, w11
msub w11, w12, w11, w0
b LBB0_6
LBB0_5:
mov w23, #0 ; =0x0
ldp w10, w12, [x20]
sub w10, w10, w12
add w10, w10, w10, lsr #31
asr w10, w10, #1
add w11, w11, w11, lsr #31
asr w11, w11, #1
LBB0_6:
ldr w12, [x20, #16]
cmp w12, #1
b.lt LBB0_18
; %bb.7:
mov w12, #0 ; =0x0
mov w13, #0 ; =0x0
ldr w14, [x20, #20]
mvn w15, w11
add w15, w15, w8
b LBB0_9
LBB0_8: ; in Loop: Header=BB0_9 Depth=1
sub w13, w13, #1
LBB0_9: ; =>This Loop Header: Depth=1
; Child Loop BB0_12 Depth 2
; Child Loop BB0_15 Depth 3
; Child Loop BB0_17 Depth 4
cmp w14, #1
b.lt LBB0_8
; %bb.10: ; in Loop: Header=BB0_9 Depth=1
mov w16, #0 ; =0x0
ldr w17, [x20, #4]
mul w0, w14, w13
b LBB0_12
LBB0_11: ; in Loop: Header=BB0_12 Depth=2
add w16, w16, #1
cmp w16, w14
b.eq LBB0_8
LBB0_12: ; Parent Loop BB0_9 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_15 Depth 3
; Child Loop BB0_17 Depth 4
cmp w17, #1
b.lt LBB0_11
; %bb.13: ; in Loop: Header=BB0_12 Depth=2
mov w1, #0 ; =0x0
add w2, w0, w16
b LBB0_15
LBB0_14: ; in Loop: Header=BB0_15 Depth=3
add w1, w1, #1
cmp w1, w17
b.eq LBB0_11
LBB0_15: ; Parent Loop BB0_9 Depth=1
; Parent Loop BB0_12 Depth=2
; => This Loop Header: Depth=3
; Child Loop BB0_17 Depth 4
cmp w9, #1
b.lt LBB0_14
; %bb.16: ; in Loop: Header=BB0_15 Depth=3
add w3, w1, w10
ldr w4, [x20]
madd w4, w4, w2, w3
ldr x3, [x20, #24]
add x3, x3, w12, sxtw #2
mul w4, w4, w8
add w12, w9, w12
mov x5, x15
mov x6, x11
mov x7, x9
LBB0_17: ; Parent Loop BB0_9 Depth=1
; Parent Loop BB0_12 Depth=2
; Parent Loop BB0_15 Depth=3
; => This Inner Loop Header: Depth=4
cmp w23, #0
csel w21, w6, w5, eq
add w21, w4, w21
ldr s2, [x19, w21, sxtw #2]
fmadd s2, s2, s0, s1
str s2, [x3], #4
add w6, w6, #1
sub w5, w5, #1
sub w7, w7, #1
cbnz w7, LBB0_17
b LBB0_14
LBB0_18:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function grid_string_cells_fg
_grid_string_cells_fg: ## @grid_string_cells_fg
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rdi), %eax
movq _COLOUR_FLAG_256@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl %eax, %ecx
je LBB0_2
## %bb.1:
movabsq $21474836518, %rax ## imm = 0x500000026
movq %rax, (%rsi)
movzbl (%rdi), %eax
movl %eax, 8(%rsi)
movl $3, %eax
popq %rbp
retq
LBB0_2:
cmpl $8, %eax
jb LBB0_6
## %bb.3:
leal -90(%rax), %ecx
cmpl $8, %ecx
jae LBB0_4
## %bb.8:
movl %eax, (%rsi)
jmp LBB0_9
LBB0_6:
movl $30, (%rsi)
LBB0_9:
movl $1, %eax
popq %rbp
retq
LBB0_4:
cmpl $8, %eax
jne LBB0_5
## %bb.7:
movl $39, (%rsi)
jmp LBB0_9
LBB0_5:
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _COLOUR_FLAG_256,4,2 ## @COLOUR_FLAG_256
.comm _COLOUR_FLAG_RGB,4,2 ## @COLOUR_FLAG_RGB
.no_dead_strip _grid_string_cells_fg
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ; -- Begin function grid_string_cells_fg
lCPI0_0:
.long 38 ; 0x26
.long 5 ; 0x5
.section __TEXT,__text,regular,pure_instructions
.p2align 2
_grid_string_cells_fg: ; @grid_string_cells_fg
.cfi_startproc
; %bb.0:
ldr w8, [x0]
Lloh0:
adrp x9, _COLOUR_FLAG_256@GOTPAGE
Lloh1:
ldr x9, [x9, _COLOUR_FLAG_256@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
orr w9, w9, w8
cbz w9, LBB0_2
; %bb.1:
Lloh3:
adrp x8, lCPI0_0@PAGE
Lloh4:
ldr d0, [x8, lCPI0_0@PAGEOFF]
str d0, [x1]
ldrb w8, [x0]
str w8, [x1, #8]
mov w0, #3 ; =0x3
ret
LBB0_2:
cmp w8, #8
b.lo LBB0_6
; %bb.3:
sub w9, w8, #90
cmp w9, #8
b.lo LBB0_7
; %bb.4:
cmp w8, #8
b.ne LBB0_8
; %bb.5:
mov w8, #39 ; =0x27
b LBB0_7
LBB0_6:
mov w8, #30 ; =0x1e
LBB0_7:
str w8, [x1]
mov w0, #1 ; =0x1
ret
LBB0_8:
mov x0, #0 ; =0x0
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdr Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _COLOUR_FLAG_256,4,2 ; @COLOUR_FLAG_256
.comm _COLOUR_FLAG_RGB,4,2 ; @COLOUR_FLAG_RGB
.no_dead_strip _grid_string_cells_fg
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _memory_object_control_uiomove ## -- Begin function memory_object_control_uiomove
.p2align 4, 0x90
_memory_object_control_uiomove: ## @memory_object_control_uiomove
.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
movl %r9d, %r13d
movl %r8d, %r15d
## kill: def $ecx killed $ecx def $rcx
movq %rcx, -88(%rbp) ## 8-byte Spill
movq %rdx, -104(%rbp) ## 8-byte Spill
movl %esi, %r12d
movl %edi, %ebx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _MAX_RUN@GOTPCREL(%rip), %rax
movl (%rax), %eax
shlq $3, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, -56(%rbp) ## 8-byte Spill
movl %ebx, %edi
callq _memory_object_control_to_vm_object
movq _VM_OBJECT_NULL@GOTPCREL(%rip), %r14
cmpq (%r14), %rax
je LBB0_3
## %bb.1:
movq %rax, %rbx
xorl %edi, %edi
cmpl $0, 16(%rax)
sete %dil
callq _assert
movq %rbx, %rdi
callq _vm_object_lock
testl %r13d, %r13d
je LBB0_4
## %bb.2:
xorl %r13d, %r13d
jmp LBB0_46
LBB0_3:
xorl %eax, %eax
jmp LBB0_47
LBB0_4:
xorl %r13d, %r13d
movq 8(%rbx), %rax
cmpq (%r14), %rax
jne LBB0_46
## %bb.5:
movq %r15, %rsi
testl %esi, %esi
je LBB0_43
## %bb.6:
cmpl $0, -88(%rbp) ## 4-byte Folded Reload
sete %dil
movq _VM_PAGE_NULL@GOTPCREL(%rip), %r15
.p2align 4, 0x90
LBB0_7: ## =>This Loop Header: Depth=1
## Child Loop BB0_9 Depth 2
## Child Loop BB0_10 Depth 3
## Child Loop BB0_40 Depth 2
## Child Loop BB0_30 Depth 2
## Child Loop BB0_35 Depth 2
movq _PAGE_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq -88(%rbp), %rax ## 8-byte Reload
addl %esi, %eax
addl %ecx, %eax
decl %eax
cltd
idivl %ecx
movq _MAX_RUN@GOTPCREL(%rip), %rcx
movl (%rcx), %r13d
cmpl %r13d, %eax
cmovll %eax, %r13d
testl %r13d, %r13d
jle LBB0_43
## %bb.8: ## in Loop: Header=BB0_7 Depth=1
movb %dil, -76(%rbp) ## 1-byte Spill
movq %rsi, -72(%rbp) ## 8-byte Spill
.p2align 4, 0x90
LBB0_9: ## Parent Loop BB0_7 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_10 Depth 3
xorl %r14d, %r14d
.p2align 4, 0x90
LBB0_10: ## Parent Loop BB0_7 Depth=1
## Parent Loop BB0_9 Depth=2
## => This Inner Loop Header: Depth=3
movq %rbx, %rdi
movl %r12d, %esi
callq _vm_page_lookup
cmpq (%r15), %rax
je LBB0_10
## %bb.11: ## in Loop: Header=BB0_10 Depth=3
cmpq $0, 16(%rax)
jne LBB0_16
## %bb.12: ## in Loop: Header=BB0_10 Depth=3
cmpq $0, 48(%rax)
jne LBB0_16
## %bb.13: ## in Loop: Header=BB0_10 Depth=3
cmpq $0, 40(%rax)
je LBB0_15
## %bb.14: ## in Loop: Header=BB0_10 Depth=3
movq _FALSE@GOTPCREL(%rip), %rcx
movq (%rcx), %rsi
movq %rax, %rdi
movq %rax, -96(%rbp) ## 8-byte Spill
callq _vm_pageout_steal_laundry
movq -96(%rbp), %rax ## 8-byte Reload
LBB0_15: ## in Loop: Header=BB0_10 Depth=3
movq _TRUE@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq %rcx, 16(%rax)
movslq %r14d, %rcx
incl %r14d
movq -56(%rbp), %rdx ## 8-byte Reload
movq %rax, (%rdx,%rcx,8)
movq _PAGE_SIZE_64@GOTPCREL(%rip), %rax
addl (%rax), %r12d
cmpl %r13d, %r14d
jl LBB0_10
jmp LBB0_18
.p2align 4, 0x90
LBB0_16: ## in Loop: Header=BB0_9 Depth=2
testl %r14d, %r14d
jne LBB0_19
## %bb.17: ## in Loop: Header=BB0_9 Depth=2
movq _THREAD_UNINT@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
movq %rbx, %rdi
movq %rax, %rsi
callq _PAGE_SLEEP
jmp LBB0_9
LBB0_18: ## in Loop: Header=BB0_7 Depth=1
testl %r14d, %r14d
je LBB0_43
.p2align 4, 0x90
LBB0_19: ## in Loop: Header=BB0_7 Depth=1
movq %rbx, %rdi
callq _vm_object_unlock
movl %r14d, %eax
movq %rax, -96(%rbp) ## 8-byte Spill
testl %r14d, %r14d
jle LBB0_24
## %bb.20: ## in Loop: Header=BB0_7 Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
movq (%rax), %rdi
movq _PAGE_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %r13d
subl -88(%rbp), %r13d ## 4-byte Folded Reload
movq -72(%rbp), %rax ## 8-byte Reload
cmpl %eax, %r13d
cmovgel %eax, %r13d
callq _VM_PAGE_GET_PHYS_PAGE
movq _PAGE_SHIFT@GOTPCREL(%rip), %rcx
movzbl (%rcx), %ecx
shll %cl, %eax
movq -88(%rbp), %rcx ## 8-byte Reload
leal (%rax,%rcx), %edi
movl %r13d, %esi
movq -104(%rbp), %rdx ## 8-byte Reload
callq _uiomove64
testl %eax, %eax
je LBB0_22
LBB0_21: ## in Loop: Header=BB0_7 Depth=1
movl %eax, -64(%rbp) ## 4-byte Spill
jmp LBB0_25
.p2align 4, 0x90
LBB0_22: ## in Loop: Header=BB0_7 Depth=1
movq -72(%rbp), %rax ## 8-byte Reload
subl %r13d, %eax
movq $0, -88(%rbp) ## 8-byte Folded Spill
cmpl $1, %r14d
jne LBB0_39
## %bb.23: ## in Loop: Header=BB0_7 Depth=1
movq %rax, -72(%rbp) ## 8-byte Spill
LBB0_24: ## in Loop: Header=BB0_7 Depth=1
movl $0, -64(%rbp) ## 4-byte Folded Spill
LBB0_25: ## in Loop: Header=BB0_7 Depth=1
movq -56(%rbp), %r13 ## 8-byte Reload
LBB0_26: ## in Loop: Header=BB0_7 Depth=1
movq %rbx, %rdi
callq _vm_object_lock
cmpl $2, %r14d
setge %al
cmpl $0, 16(%rbp)
je LBB0_32
## %bb.27: ## in Loop: Header=BB0_7 Depth=1
movzbl -76(%rbp), %ecx ## 1-byte Folded Reload
orb %al, %cl
testb $1, %cl
je LBB0_32
## %bb.28: ## in Loop: Header=BB0_7 Depth=1
xorl %eax, %eax
callq _vm_page_lockspin_queues
movl %r14d, -76(%rbp) ## 4-byte Spill
testl %r14d, %r14d
movq -96(%rbp), %r14 ## 8-byte Reload
jle LBB0_31
## %bb.29: ## in Loop: Header=BB0_7 Depth=1
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_30: ## Parent Loop BB0_7 Depth=1
## => This Inner Loop Header: Depth=2
movq -56(%rbp), %rax ## 8-byte Reload
movq (%rax,%r13,8), %rdi
callq _vm_page_lru
incq %r13
cmpq %r13, %r14
jne LBB0_30
LBB0_31: ## in Loop: Header=BB0_7 Depth=1
xorl %eax, %eax
callq _vm_page_unlock_queues
movq -56(%rbp), %r13 ## 8-byte Reload
movl -76(%rbp), %r14d ## 4-byte Reload
LBB0_32: ## in Loop: Header=BB0_7 Depth=1
testl %r14d, %r14d
jle LBB0_37
## %bb.33: ## in Loop: Header=BB0_7 Depth=1
xorl %r14d, %r14d
jmp LBB0_35
.p2align 4, 0x90
LBB0_34: ## in Loop: Header=BB0_35 Depth=2
movq %r13, %rdi
callq _PAGE_WAKEUP_DONE
incq %r14
cmpq %r14, -96(%rbp) ## 8-byte Folded Reload
movq -56(%rbp), %r13 ## 8-byte Reload
je LBB0_37
LBB0_35: ## Parent Loop BB0_7 Depth=1
## => This Inner Loop Header: Depth=2
movq (%r13,%r14,8), %r13
cmpq $0, 8(%r13)
je LBB0_34
## %bb.36: ## in Loop: Header=BB0_35 Depth=2
movq %r13, %rdi
callq _VM_PAGE_CONSUME_CLUSTERED
jmp LBB0_34
.p2align 4, 0x90
LBB0_37: ## in Loop: Header=BB0_7 Depth=1
movq -72(%rbp), %rsi ## 8-byte Reload
testl %esi, %esi
je LBB0_49
## %bb.38: ## in Loop: Header=BB0_7 Depth=1
movb $1, %dil
movl -64(%rbp), %r13d ## 4-byte Reload
testl %r13d, %r13d
je LBB0_7
jmp LBB0_44
LBB0_39: ## in Loop: Header=BB0_7 Depth=1
movl $1, %ecx
movq -56(%rbp), %r13 ## 8-byte Reload
.p2align 4, 0x90
LBB0_40: ## Parent Loop BB0_7 Depth=1
## => This Inner Loop Header: Depth=2
movq %rax, -72(%rbp) ## 8-byte Spill
movq %rcx, -64(%rbp) ## 8-byte Spill
movq (%r13,%rcx,8), %rdi
movq _PAGE_SIZE@GOTPCREL(%rip), %rcx
movl (%rcx), %r13d
cmpl %eax, %r13d
cmovgel %eax, %r13d
callq _VM_PAGE_GET_PHYS_PAGE
movq _PAGE_SHIFT@GOTPCREL(%rip), %rcx
movzbl (%rcx), %ecx
shll %cl, %eax
movl %eax, %edi
movl %r13d, %esi
movq -104(%rbp), %rdx ## 8-byte Reload
callq _uiomove64
testl %eax, %eax
jne LBB0_21
## %bb.41: ## in Loop: Header=BB0_40 Depth=2
movq -72(%rbp), %rax ## 8-byte Reload
subl %r13d, %eax
movq -64(%rbp), %rcx ## 8-byte Reload
incq %rcx
cmpq %rcx, -96(%rbp) ## 8-byte Folded Reload
movq -56(%rbp), %r13 ## 8-byte Reload
jne LBB0_40
## %bb.42: ## in Loop: Header=BB0_7 Depth=1
movq %rax, -72(%rbp) ## 8-byte Spill
movl $0, -64(%rbp) ## 4-byte Folded Spill
jmp LBB0_26
LBB0_43:
xorl %r13d, %r13d
LBB0_44:
cmpq $0, (%rbx)
je LBB0_46
LBB0_45:
xorl %eax, %eax
callq _current_task
movl %eax, %r14d
movq _TASK_WRITE_DEFERRED@GOTPCREL(%rip), %rax
movl (%rax), %r12d
movq (%rbx), %rdi
callq _vnode_pager_lookup_vnode
movl %r14d, %edi
xorl %esi, %esi
movl %r12d, %edx
movl %eax, %ecx
callq _task_update_logical_writes
LBB0_46:
movq %rbx, %rdi
callq _vm_object_unlock
movl %r13d, %eax
LBB0_47:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_50
## %bb.48:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_49:
movl -64(%rbp), %r13d ## 4-byte Reload
cmpq $0, (%rbx)
jne LBB0_45
jmp LBB0_46
LBB0_50:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _MAX_RUN,4,2 ## @MAX_RUN
.comm _VM_OBJECT_NULL,8,3 ## @VM_OBJECT_NULL
.comm _PAGE_SIZE,4,2 ## @PAGE_SIZE
.comm _VM_PAGE_NULL,8,3 ## @VM_PAGE_NULL
.comm _THREAD_UNINT,4,2 ## @THREAD_UNINT
.comm _FALSE,8,3 ## @FALSE
.comm _vm_cs_validated_resets,4,2 ## @vm_cs_validated_resets
.comm _TRUE,8,3 ## @TRUE
.comm _PAGE_SIZE_64,8,3 ## @PAGE_SIZE_64
.comm _PAGE_SHIFT,4,2 ## @PAGE_SHIFT
.comm _TASK_WRITE_DEFERRED,4,2 ## @TASK_WRITE_DEFERRED
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _memory_object_control_uiomove ; -- Begin function memory_object_control_uiomove
.p2align 2
_memory_object_control_uiomove: ; @memory_object_control_uiomove
.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, #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
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x22, x6
mov x25, x5
mov x21, x4
mov x24, x3
stur x2, [x29, #-96] ; 8-byte Folded Spill
mov x23, x1
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 x26, _MAX_RUN@GOTPAGE
Lloh4:
ldr x26, [x26, _MAX_RUN@GOTPAGEOFF]
ldr w8, [x26]
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 x8, x9, x8
stur x8, [x29, #-104] ; 8-byte Folded Spill
mov sp, x8
bl _memory_object_control_to_vm_object
Lloh7:
adrp x20, _VM_OBJECT_NULL@GOTPAGE
Lloh8:
ldr x20, [x20, _VM_OBJECT_NULL@GOTPAGEOFF]
ldr x8, [x20]
cmp x0, x8
b.eq LBB0_5
; %bb.1:
mov x19, x0
ldr w8, [x0, #16]
cmp w8, #0
cset w0, eq
bl _assert
mov x0, x19
bl _vm_object_lock
cbnz w25, LBB0_3
; %bb.2:
ldr x8, [x19, #8]
ldr x9, [x20]
cmp x8, x9
b.eq LBB0_8
LBB0_3:
mov w25, #0 ; =0x0
LBB0_4:
mov x0, x19
bl _vm_object_unlock
b LBB0_6
LBB0_5:
mov w25, #0 ; =0x0
LBB0_6:
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_52
; %bb.7:
mov x0, x25
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_8:
cbz w21, LBB0_49
; %bb.9:
stur w22, [x29, #-112] ; 4-byte Folded Spill
cmp w24, #0
cset w22, eq
ldur x8, [x29, #-104] ; 8-byte Folded Reload
add x8, x8, #8
stur x8, [x29, #-128] ; 8-byte Folded Spill
Lloh12:
adrp x27, _VM_PAGE_NULL@GOTPAGE
Lloh13:
ldr x27, [x27, _VM_PAGE_NULL@GOTPAGEOFF]
Lloh14:
adrp x20, _THREAD_UNINT@GOTPAGE
Lloh15:
ldr x20, [x20, _THREAD_UNINT@GOTPAGEOFF]
LBB0_10: ; =>This Loop Header: Depth=1
; Child Loop BB0_12 Depth 2
; Child Loop BB0_13 Depth 3
; Child Loop BB0_30 Depth 2
; Child Loop BB0_40 Depth 2
; Child Loop BB0_45 Depth 2
Lloh16:
adrp x8, _PAGE_SIZE@GOTPAGE
Lloh17:
ldr x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh18:
ldr w8, [x8]
add w9, w21, w24
add w9, w9, w8
sub w9, w9, #1
sdiv w8, w9, w8
ldr w9, [x26]
cmp w8, w9
csel w26, w8, w9, lt
cmp w26, #1
b.lt LBB0_49
; %bb.11: ; in Loop: Header=BB0_10 Depth=1
mov w9, #0 ; =0x0
LBB0_12: ; Parent Loop BB0_10 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_13 Depth 3
mov x28, x9
LBB0_13: ; Parent Loop BB0_10 Depth=1
; Parent Loop BB0_12 Depth=2
; => This Inner Loop Header: Depth=3
mov x0, x19
mov x1, x23
bl _vm_page_lookup
ldr x8, [x27]
cmp x0, x8
b.eq LBB0_13
; %bb.14: ; in Loop: Header=BB0_13 Depth=3
ldr x8, [x0, #16]
cbnz x8, LBB0_16
; %bb.15: ; in Loop: Header=BB0_13 Depth=3
ldr x8, [x0, #48]
cbz x8, LBB0_18
LBB0_16: ; in Loop: Header=BB0_13 Depth=3
cbnz w28, LBB0_22
; %bb.17: ; in Loop: Header=BB0_13 Depth=3
ldr w2, [x20]
mov x1, x0
mov x0, x19
bl _PAGE_SLEEP
b LBB0_13
LBB0_18: ; in Loop: Header=BB0_12 Depth=2
ldr x8, [x0, #40]
cbz x8, LBB0_20
; %bb.19: ; in Loop: Header=BB0_12 Depth=2
Lloh19:
adrp x8, _FALSE@GOTPAGE
Lloh20:
ldr x8, [x8, _FALSE@GOTPAGEOFF]
Lloh21:
ldr x1, [x8]
mov x25, x0
bl _vm_pageout_steal_laundry
mov x0, x25
LBB0_20: ; in Loop: Header=BB0_12 Depth=2
Lloh22:
adrp x8, _TRUE@GOTPAGE
Lloh23:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
Lloh24:
ldr x8, [x8]
str x8, [x0, #16]
add w9, w28, #1
ldur x8, [x29, #-104] ; 8-byte Folded Reload
str x0, [x8, w28, sxtw #3]
Lloh25:
adrp x8, _PAGE_SIZE_64@GOTPAGE
Lloh26:
ldr x8, [x8, _PAGE_SIZE_64@GOTPAGEOFF]
Lloh27:
ldr w8, [x8]
add w23, w23, w8
cmp w9, w26
b.lt LBB0_12
; %bb.21: ; in Loop: Header=BB0_10 Depth=1
mov x26, x9
cbnz w9, LBB0_23
b LBB0_49
LBB0_22: ; in Loop: Header=BB0_10 Depth=1
mov x26, x28
LBB0_23: ; in Loop: Header=BB0_10 Depth=1
mov x0, x19
bl _vm_object_unlock
mov w28, w26
cmp w26, #1
b.lt LBB0_26
; %bb.24: ; in Loop: Header=BB0_10 Depth=1
stur w26, [x29, #-108] ; 4-byte Folded Spill
ldur x8, [x29, #-104] ; 8-byte Folded Reload
ldr x0, [x8]
Lloh28:
adrp x8, _PAGE_SIZE@GOTPAGE
Lloh29:
ldr x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh30:
ldr w8, [x8]
sub w8, w8, w24
cmp w8, w21
csel w26, w8, w21, lt
bl _VM_PAGE_GET_PHYS_PAGE
Lloh31:
adrp x8, _PAGE_SHIFT@GOTPAGE
Lloh32:
ldr x8, [x8, _PAGE_SHIFT@GOTPAGEOFF]
Lloh33:
ldr w8, [x8]
lsl w8, w0, w8
add w0, w8, w24
mov x1, x26
ldur x2, [x29, #-96] ; 8-byte Folded Reload
bl _uiomove64
cbz w0, LBB0_27
; %bb.25: ; in Loop: Header=BB0_10 Depth=1
mov x25, x0
b LBB0_35
LBB0_26: ; in Loop: Header=BB0_10 Depth=1
mov w25, #0 ; =0x0
b LBB0_36
LBB0_27: ; in Loop: Header=BB0_10 Depth=1
sub w21, w21, w26
ldur w26, [x29, #-108] ; 4-byte Folded Reload
cmp w26, #1
b.ne LBB0_29
; %bb.28: ; in Loop: Header=BB0_10 Depth=1
mov w24, #0 ; =0x0
mov w25, #0 ; =0x0
b LBB0_36
LBB0_29: ; in Loop: Header=BB0_10 Depth=1
stur w22, [x29, #-116] ; 4-byte Folded Spill
sub x26, x28, #1
ldur x22, [x29, #-128] ; 8-byte Folded Reload
LBB0_30: ; Parent Loop BB0_10 Depth=1
; => This Inner Loop Header: Depth=2
ldr x0, [x22]
Lloh34:
adrp x8, _PAGE_SIZE@GOTPAGE
Lloh35:
ldr x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh36:
ldr w8, [x8]
cmp w8, w21
csel w24, w8, w21, lt
bl _VM_PAGE_GET_PHYS_PAGE
Lloh37:
adrp x8, _PAGE_SHIFT@GOTPAGE
Lloh38:
ldr x8, [x8, _PAGE_SHIFT@GOTPAGEOFF]
Lloh39:
ldr w8, [x8]
lsl w0, w0, w8
mov x1, x24
ldur x2, [x29, #-96] ; 8-byte Folded Reload
bl _uiomove64
cbnz w0, LBB0_33
; %bb.31: ; in Loop: Header=BB0_30 Depth=2
sub w21, w21, w24
add x22, x22, #8
subs x26, x26, #1
b.ne LBB0_30
; %bb.32: ; in Loop: Header=BB0_10 Depth=1
mov w24, #0 ; =0x0
mov w25, #0 ; =0x0
b LBB0_34
LBB0_33: ; in Loop: Header=BB0_10 Depth=1
mov x25, x0
mov w24, #0 ; =0x0
LBB0_34: ; in Loop: Header=BB0_10 Depth=1
ldur w22, [x29, #-116] ; 4-byte Folded Reload
LBB0_35: ; in Loop: Header=BB0_10 Depth=1
ldur w26, [x29, #-108] ; 4-byte Folded Reload
LBB0_36: ; in Loop: Header=BB0_10 Depth=1
mov x0, x19
bl _vm_object_lock
cmp w26, #1
cset w8, gt
ldur w9, [x29, #-112] ; 4-byte Folded Reload
cbz w9, LBB0_42
; %bb.37: ; in Loop: Header=BB0_10 Depth=1
orr w8, w22, w8
tbz w8, #0, LBB0_42
; %bb.38: ; in Loop: Header=BB0_10 Depth=1
stur w24, [x29, #-108] ; 4-byte Folded Spill
bl _vm_page_lockspin_queues
mov x24, x26
cmp w26, #1
b.lt LBB0_41
; %bb.39: ; in Loop: Header=BB0_10 Depth=1
mov x22, x28
ldur x26, [x29, #-104] ; 8-byte Folded Reload
LBB0_40: ; Parent Loop BB0_10 Depth=1
; => This Inner Loop Header: Depth=2
ldr x0, [x26], #8
bl _vm_page_lru
subs x22, x22, #1
b.ne LBB0_40
LBB0_41: ; in Loop: Header=BB0_10 Depth=1
bl _vm_page_unlock_queues
mov x26, x24
ldur w24, [x29, #-108] ; 4-byte Folded Reload
LBB0_42: ; in Loop: Header=BB0_10 Depth=1
cmp w26, #1
b.lt LBB0_47
; %bb.43: ; in Loop: Header=BB0_10 Depth=1
ldur x22, [x29, #-104] ; 8-byte Folded Reload
b LBB0_45
LBB0_44: ; in Loop: Header=BB0_45 Depth=2
mov x0, x26
bl _PAGE_WAKEUP_DONE
add x22, x22, #8
subs x28, x28, #1
b.eq LBB0_47
LBB0_45: ; Parent Loop BB0_10 Depth=1
; => This Inner Loop Header: Depth=2
ldr x26, [x22]
ldr x8, [x26, #8]
cbz x8, LBB0_44
; %bb.46: ; in Loop: Header=BB0_45 Depth=2
mov x0, x26
bl _VM_PAGE_CONSUME_CLUSTERED
b LBB0_44
LBB0_47: ; in Loop: Header=BB0_10 Depth=1
cbz w21, LBB0_50
; %bb.48: ; in Loop: Header=BB0_10 Depth=1
mov w22, #1 ; =0x1
Lloh40:
adrp x26, _MAX_RUN@GOTPAGE
Lloh41:
ldr x26, [x26, _MAX_RUN@GOTPAGEOFF]
cbz w25, LBB0_10
b LBB0_50
LBB0_49:
mov w25, #0 ; =0x0
LBB0_50:
ldr x8, [x19]
cbz x8, LBB0_4
; %bb.51:
bl _current_task
mov x20, x0
Lloh42:
adrp x8, _TASK_WRITE_DEFERRED@GOTPAGE
Lloh43:
ldr x8, [x8, _TASK_WRITE_DEFERRED@GOTPAGEOFF]
Lloh44:
ldr w21, [x8]
ldr x0, [x19]
bl _vnode_pager_lookup_vnode
mov x3, x0
mov x0, x20
mov w1, #0 ; =0x0
mov x2, x21
bl _task_update_logical_writes
b LBB0_4
LBB0_52:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30
.loh AdrpLdrGotLdr Lloh37, Lloh38, Lloh39
.loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36
.loh AdrpLdrGot Lloh40, Lloh41
.loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44
.loh AdrpLdrGot Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _MAX_RUN,4,2 ; @MAX_RUN
.comm _VM_OBJECT_NULL,8,3 ; @VM_OBJECT_NULL
.comm _PAGE_SIZE,4,2 ; @PAGE_SIZE
.comm _VM_PAGE_NULL,8,3 ; @VM_PAGE_NULL
.comm _THREAD_UNINT,4,2 ; @THREAD_UNINT
.comm _FALSE,8,3 ; @FALSE
.comm _vm_cs_validated_resets,4,2 ; @vm_cs_validated_resets
.comm _TRUE,8,3 ; @TRUE
.comm _PAGE_SIZE_64,8,3 ; @PAGE_SIZE_64
.comm _PAGE_SHIFT,4,2 ; @PAGE_SHIFT
.comm _TASK_WRITE_DEFERRED,4,2 ; @TASK_WRITE_DEFERRED
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function tr_static_init
_tr_static_init: ## @tr_static_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
subq $24, %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)
movq _MAX_BITS@GOTPCREL(%rip), %rax
movl (%rax), %eax
incl %eax
shlq $3, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r12
cmpb $0, _tr_static_init.static_init_done(%rip)
jne LBB0_30
## %bb.1:
movq _LENGTH_CODES@GOTPCREL(%rip), %rax
xorl %r15d, %r15d
cmpl $0, (%rax)
movq %r12, -56(%rbp) ## 8-byte Spill
jle LBB0_2
## %bb.3:
movq _extra_lbits@GOTPCREL(%rip), %rdx
movq (%rdx), %r9
xorl %edi, %edi
movq _base_length@GOTPCREL(%rip), %rsi
movq _length_code@GOTPCREL(%rip), %r8
xorl %ebx, %ebx
jmp LBB0_4
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_4 Depth=1
leaq -1(%rdi), %rcx
movslq (%rax), %r10
cmpq %r10, %rdi
movq %rcx, %rdi
jg LBB0_9
LBB0_4: ## =>This Loop Header: Depth=1
## Child Loop BB0_6 Depth 2
movq (%rsi), %rcx
movl %ebx, (%rcx,%rdi,4)
cmpl $31, (%r9,%rdi,4)
je LBB0_8
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movslq %ebx, %r10
shlq $3, %r10
xorl %r11d, %r11d
.p2align 4, 0x90
LBB0_6: ## Parent Loop BB0_4 Depth=1
## => This Inner Loop Header: Depth=2
movq (%r8), %rcx
addq %r10, %rcx
movq %rdi, (%rcx,%r11,8)
movq (%rdx), %r9
movzbl (%r9,%rdi,4), %ecx
movl $1, %r14d
shll %cl, %r14d
incq %r11
cmpl %r14d, %r11d
jl LBB0_6
## %bb.7: ## in Loop: Header=BB0_4 Depth=1
addl %r11d, %ebx
jmp LBB0_8
LBB0_9:
movslq %ecx, %r14
jmp LBB0_10
LBB0_2:
xorl %ebx, %ebx
xorl %r14d, %r14d
LBB0_10:
xorl %edi, %edi
cmpl $256, %ebx ## imm = 0x100
sete %dil
leaq L_.str(%rip), %rsi
callq _Assert
movq _length_code@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq %ebx, %rcx
movq %r14, -8(%rax,%rcx,8)
movq _extra_dbits@GOTPCREL(%rip), %r13
movq (%r13), %rdx
movq _base_dist@GOTPCREL(%rip), %r14
movq _dist_code@GOTPCREL(%rip), %rbx
xorl %eax, %eax
jmp LBB0_11
.p2align 4, 0x90
LBB0_15: ## in Loop: Header=BB0_11 Depth=1
incq %rax
cmpq $16, %rax
je LBB0_16
LBB0_11: ## =>This Loop Header: Depth=1
## Child Loop BB0_13 Depth 2
movq (%r14), %rcx
movl %r15d, (%rcx,%rax,4)
cmpl $31, (%rdx,%rax,4)
je LBB0_15
## %bb.12: ## in Loop: Header=BB0_11 Depth=1
movslq %r15d, %rsi
shlq $3, %rsi
xorl %edi, %edi
.p2align 4, 0x90
LBB0_13: ## Parent Loop BB0_11 Depth=1
## => This Inner Loop Header: Depth=2
movq (%rbx), %rcx
addq %rsi, %rcx
movq %rax, (%rcx,%rdi,8)
movq (%r13), %rdx
movzbl (%rdx,%rax,4), %ecx
movl $1, %r8d
shll %cl, %r8d
incq %rdi
cmpl %r8d, %edi
jl LBB0_13
## %bb.14: ## in Loop: Header=BB0_11 Depth=1
addl %edi, %r15d
jmp LBB0_15
LBB0_16:
xorl %edi, %edi
cmpl $256, %r15d ## imm = 0x100
sete %dil
leaq L_.str.1(%rip), %rsi
callq _Assert
sarl $7, %r15d
movq _D_CODES@GOTPCREL(%rip), %r12
cmpl $17, (%r12)
jl LBB0_23
## %bb.17:
movq (%r13), %rdx
movl $16, %eax
jmp LBB0_18
.p2align 4, 0x90
LBB0_22: ## in Loop: Header=BB0_18 Depth=1
incq %rax
movslq (%r12), %rcx
cmpq %rcx, %rax
jge LBB0_23
LBB0_18: ## =>This Loop Header: Depth=1
## Child Loop BB0_20 Depth 2
movl %r15d, %ecx
shll $7, %ecx
movq (%r14), %rsi
movl %ecx, (%rsi,%rax,4)
cmpl $38, (%rdx,%rax,4)
je LBB0_22
## %bb.19: ## in Loop: Header=BB0_18 Depth=1
movslq %r15d, %rcx
leaq 2048(,%rcx,8), %rdi
xorl %esi, %esi
.p2align 4, 0x90
LBB0_20: ## Parent Loop BB0_18 Depth=1
## => This Inner Loop Header: Depth=2
movq (%rbx), %rcx
addq %rdi, %rcx
movq %rax, (%rcx,%rsi,8)
movq (%r13), %rdx
movzbl (%rdx,%rax,4), %ecx
addb $-7, %cl
movl $1, %r8d
shll %cl, %r8d
incq %rsi
cmpl %r8d, %esi
jl LBB0_20
## %bb.21: ## in Loop: Header=BB0_18 Depth=1
addl %esi, %r15d
jmp LBB0_22
LBB0_23:
xorl %edi, %edi
cmpl $256, %r15d ## imm = 0x100
sete %dil
leaq L_.str.2(%rip), %rsi
callq _Assert
movq _MAX_BITS@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, %eax
js LBB0_24
## %bb.25:
leaq 8(,%rax,8), %rsi
movq -56(%rbp), %r15 ## 8-byte Reload
movq %r15, %rdi
callq ___bzero
movl $152, %ebx
addq 64(%r15), %rbx
jmp LBB0_26
LBB0_24:
## implicit-def: $rbx
movq -56(%rbp), %r15 ## 8-byte Reload
LBB0_26:
movq _static_ltree@GOTPCREL(%rip), %rax
movq (%rax), %r14
leaq L_.memset_pattern.5(%rip), %rsi
movl $576, %edx ## imm = 0x240
movq %r14, %rdi
callq _memset_pattern16
movq 72(%r15), %r13
leaq 576(%r14), %rdi
leaq L_.memset_pattern.3(%rip), %rsi
movl $448, %edx ## imm = 0x1C0
callq _memset_pattern16
addq $112, %r13
movq %r13, 72(%r15)
movq 56(%r15), %r13
leaq 1024(%r14), %rdi
leaq L_.memset_pattern.4(%rip), %rsi
movl $96, %edx
callq _memset_pattern16
addq $24, %r13
movq %r13, 56(%r15)
leaq 1120(%r14), %rdi
movl $32, %edx
leaq L_.memset_pattern.5(%rip), %rsi
callq _memset_pattern16
movq %rbx, 64(%r15)
movq _L_CODES@GOTPCREL(%rip), %rax
movq (%rax), %rsi
incq %rsi
movq %r14, %rdi
movq %r15, %rdx
callq _gen_codes
cmpl $0, (%r12)
jle LBB0_29
## %bb.27:
movq _static_dtree@GOTPCREL(%rip), %r14
movq (%r14), %rcx
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_28: ## =>This Inner Loop Header: Depth=1
movl $5, (%rcx,%rbx,8)
movl %ebx, %edi
callq _bitrev32
sarl $27, %eax
movq (%r14), %rcx
movl %eax, 4(%rcx,%rbx,8)
incq %rbx
movslq (%r12), %rax
cmpq %rax, %rbx
jl LBB0_28
LBB0_29:
movb $1, _tr_static_init.static_init_done(%rip)
LBB0_30:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_32
## %bb.31:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_32:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_tr_static_init.static_init_done,1,2 ## @tr_static_init.static_init_done
.comm _MAX_BITS,4,2 ## @MAX_BITS
.comm _LENGTH_CODES,4,2 ## @LENGTH_CODES
.comm _base_length,8,3 ## @base_length
.comm _extra_lbits,8,3 ## @extra_lbits
.comm _length_code,8,3 ## @length_code
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "tr_static_init: length != 256"
.comm _base_dist,8,3 ## @base_dist
.comm _extra_dbits,8,3 ## @extra_dbits
.comm _dist_code,8,3 ## @dist_code
L_.str.1: ## @.str.1
.asciz "tr_static_init: dist != 256"
.comm _D_CODES,4,2 ## @D_CODES
L_.str.2: ## @.str.2
.asciz "tr_static_init: 256+dist != 512"
.comm _static_ltree,8,3 ## @static_ltree
.comm _L_CODES,8,3 ## @L_CODES
.comm _static_dtree,8,3 ## @static_dtree
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ## @.memset_pattern.3
L_.memset_pattern.3:
.long 9 ## 0x9
.long 9 ## 0x9
.long 9 ## 0x9
.long 9 ## 0x9
.p2align 4, 0x0 ## @.memset_pattern.4
L_.memset_pattern.4:
.long 7 ## 0x7
.long 7 ## 0x7
.long 7 ## 0x7
.long 7 ## 0x7
.p2align 4, 0x0 ## @.memset_pattern.5
L_.memset_pattern.5:
.long 8 ## 0x8
.long 8 ## 0x8
.long 8 ## 0x8
.long 8 ## 0x8
.no_dead_strip _tr_static_init
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function tr_static_init
_tr_static_init: ; @tr_static_init
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
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
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
Lloh3:
adrp x20, _MAX_BITS@GOTPAGE
Lloh4:
ldr x20, [x20, _MAX_BITS@GOTPAGEOFF]
stur x8, [x29, #-72]
ldr w8, [x20]
add w8, w8, #1
ubfiz x9, x8, #3, #32
add x8, x9, #15
and x8, x8, #0xffffffff0
Lloh5:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh6:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
sub x19, x9, x8
mov sp, x19
adrp x22, _tr_static_init.static_init_done@PAGE
ldrb w8, [x22, _tr_static_init.static_init_done@PAGEOFF]
tbnz w8, #0, LBB0_27
; %bb.1:
Lloh7:
adrp x8, _LENGTH_CODES@GOTPAGE
Lloh8:
ldr x8, [x8, _LENGTH_CODES@GOTPAGEOFF]
ldr w9, [x8]
Lloh9:
adrp x21, _length_code@GOTPAGE
Lloh10:
ldr x21, [x21, _length_code@GOTPAGEOFF]
cmp w9, #1
b.lt LBB0_8
; %bb.2:
mov x10, #0 ; =0x0
mov w23, #0 ; =0x0
Lloh11:
adrp x9, _extra_lbits@GOTPAGE
Lloh12:
ldr x9, [x9, _extra_lbits@GOTPAGEOFF]
ldr x13, [x9]
Lloh13:
adrp x11, _base_length@GOTPAGE
Lloh14:
ldr x11, [x11, _base_length@GOTPAGEOFF]
mov w12, #1 ; =0x1
b LBB0_4
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
sub x14, x10, #1
ldrsw x15, [x8]
cmp x10, x15
mov x10, x14
b.gt LBB0_7
LBB0_4: ; =>This Loop Header: Depth=1
; Child Loop BB0_6 Depth 2
ldr x14, [x11]
str w23, [x14, x10, lsl #2]
ldr w14, [x13, x10, lsl #2]
cmp w14, #31
b.eq LBB0_3
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
mov w14, #0 ; =0x0
sbfiz x15, x23, #3, #32
LBB0_6: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
ldr x13, [x21]
str x10, [x13, x15]
add w14, w14, #1
ldr x13, [x9]
ldr w16, [x13, x10, lsl #2]
lsl w16, w12, w16
add x15, x15, #8
add w23, w23, #1
cmp w14, w16
b.lt LBB0_6
b LBB0_3
LBB0_7:
sxtw x24, w14
b LBB0_9
LBB0_8:
mov w23, #0 ; =0x0
mov x24, #0 ; =0x0
LBB0_9:
cmp w23, #256
cset w0, eq
Lloh15:
adrp x1, l_.str@PAGE
Lloh16:
add x1, x1, l_.str@PAGEOFF
bl _Assert
mov x8, #0 ; =0x0
mov w26, #0 ; =0x0
ldr x9, [x21]
add x9, x9, w23, sxtw #3
stur x24, [x9, #-8]
Lloh17:
adrp x21, _extra_dbits@GOTPAGE
Lloh18:
ldr x21, [x21, _extra_dbits@GOTPAGEOFF]
ldr x10, [x21]
Lloh19:
adrp x24, _base_dist@GOTPAGE
Lloh20:
ldr x24, [x24, _base_dist@GOTPAGEOFF]
Lloh21:
adrp x25, _dist_code@GOTPAGE
Lloh22:
ldr x25, [x25, _dist_code@GOTPAGEOFF]
mov w9, #1 ; =0x1
b LBB0_11
LBB0_10: ; in Loop: Header=BB0_11 Depth=1
add x8, x8, #1
cmp x8, #16
b.eq LBB0_14
LBB0_11: ; =>This Loop Header: Depth=1
; Child Loop BB0_13 Depth 2
ldr x11, [x24]
str w26, [x11, x8, lsl #2]
ldr w11, [x10, x8, lsl #2]
cmp w11, #31
b.eq LBB0_10
; %bb.12: ; in Loop: Header=BB0_11 Depth=1
mov w11, #0 ; =0x0
sbfiz x12, x26, #3, #32
LBB0_13: ; Parent Loop BB0_11 Depth=1
; => This Inner Loop Header: Depth=2
ldr x10, [x25]
str x8, [x10, x12]
add w11, w11, #1
ldr x10, [x21]
ldr w13, [x10, x8, lsl #2]
lsl w13, w9, w13
add x12, x12, #8
add w26, w26, #1
cmp w11, w13
b.lt LBB0_13
b LBB0_10
LBB0_14:
cmp w26, #256
cset w0, eq
Lloh23:
adrp x1, l_.str.1@PAGE
Lloh24:
add x1, x1, l_.str.1@PAGEOFF
bl _Assert
asr w8, w26, #7
Lloh25:
adrp x23, _D_CODES@GOTPAGE
Lloh26:
ldr x23, [x23, _D_CODES@GOTPAGEOFF]
ldr w9, [x23]
cmp w9, #17
b.lt LBB0_20
; %bb.15:
ldr x11, [x21]
mov w9, #16 ; =0x10
mov w10, #1 ; =0x1
b LBB0_17
LBB0_16: ; in Loop: Header=BB0_17 Depth=1
add x9, x9, #1
ldrsw x12, [x23]
cmp x9, x12
b.ge LBB0_20
LBB0_17: ; =>This Loop Header: Depth=1
; Child Loop BB0_19 Depth 2
lsl w12, w8, #7
ldr x13, [x24]
str w12, [x13, x9, lsl #2]
ldr w12, [x11, x9, lsl #2]
cmp w12, #38
b.eq LBB0_16
; %bb.18: ; in Loop: Header=BB0_17 Depth=1
mov w12, #0 ; =0x0
sbfiz x11, x8, #3, #32
add x13, x11, #2048
LBB0_19: ; Parent Loop BB0_17 Depth=1
; => This Inner Loop Header: Depth=2
ldr x11, [x25]
str x9, [x11, x13]
ldr x11, [x21]
ldr w14, [x11, x9, lsl #2]
add w12, w12, #1
sub w14, w14, #7
lsl w14, w10, w14
add x13, x13, #8
add w8, w8, #1
cmp w12, w14
b.lt LBB0_19
b LBB0_16
LBB0_20:
cmp w8, #256
cset w0, eq
Lloh27:
adrp x1, l_.str.2@PAGE
Lloh28:
add x1, x1, l_.str.2@PAGEOFF
bl _Assert
ldr w8, [x20]
tbnz w8, #31, LBB0_22
; %bb.21:
lsl x8, x8, #3
add x1, x8, #8
mov x0, x19
bl _bzero
ldr x8, [x19, #64]
add x24, x8, #152
b LBB0_23
LBB0_22:
; implicit-def: $x24
LBB0_23:
Lloh29:
adrp x8, _static_ltree@GOTPAGE
Lloh30:
ldr x8, [x8, _static_ltree@GOTPAGEOFF]
Lloh31:
ldr x20, [x8]
Lloh32:
adrp x21, l_.memset_pattern.5@PAGE
Lloh33:
add x21, x21, l_.memset_pattern.5@PAGEOFF
mov x0, x20
mov x1, x21
mov w2, #576 ; =0x240
bl _memset_pattern16
ldr x25, [x19, #72]
Lloh34:
adrp x1, l_.memset_pattern.3@PAGE
Lloh35:
add x1, x1, l_.memset_pattern.3@PAGEOFF
add x0, x20, #576
mov w2, #448 ; =0x1c0
bl _memset_pattern16
add x8, x25, #112
str x8, [x19, #72]
ldr x25, [x19, #56]
Lloh36:
adrp x1, l_.memset_pattern.4@PAGE
Lloh37:
add x1, x1, l_.memset_pattern.4@PAGEOFF
add x0, x20, #1024
mov w2, #96 ; =0x60
bl _memset_pattern16
add x8, x25, #24
str x8, [x19, #56]
add x0, x20, #1120
mov x1, x21
mov w2, #32 ; =0x20
bl _memset_pattern16
str x24, [x19, #64]
Lloh38:
adrp x8, _L_CODES@GOTPAGE
Lloh39:
ldr x8, [x8, _L_CODES@GOTPAGEOFF]
Lloh40:
ldr x8, [x8]
add x1, x8, #1
mov x0, x20
mov x2, x19
bl _gen_codes
ldr w8, [x23]
cmp w8, #1
b.lt LBB0_26
; %bb.24:
mov x20, #0 ; =0x0
mov x19, #0 ; =0x0
Lloh41:
adrp x21, _static_dtree@GOTPAGE
Lloh42:
ldr x21, [x21, _static_dtree@GOTPAGEOFF]
ldr x8, [x21]
mov w24, #5 ; =0x5
LBB0_25: ; =>This Inner Loop Header: Depth=1
str w24, [x8, x20]
mov x0, x19
bl _bitrev32
asr w9, w0, #27
ldr x8, [x21]
add x10, x8, x20
str w9, [x10, #4]
add x19, x19, #1
ldrsw x9, [x23]
add x20, x20, #8
cmp x19, x9
b.lt LBB0_25
LBB0_26:
mov w8, #1 ; =0x1
strb w8, [x22, _tr_static_init.static_init_done@PAGEOFF]
LBB0_27:
ldur x8, [x29, #-72]
Lloh43:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh44:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh45:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_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 x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
LBB0_29:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGot Lloh21, Lloh22
.loh AdrpLdrGot Lloh19, Lloh20
.loh AdrpLdrGot Lloh17, Lloh18
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpLdrGot Lloh25, Lloh26
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpAdd Lloh34, Lloh35
.loh AdrpAdd Lloh32, Lloh33
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.loh AdrpLdrGot Lloh41, Lloh42
.loh AdrpLdrGotLdr Lloh43, Lloh44, Lloh45
.loh AdrpLdrGot Lloh5, Lloh6
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_tr_static_init.static_init_done,1,2 ; @tr_static_init.static_init_done
.comm _MAX_BITS,4,2 ; @MAX_BITS
.comm _LENGTH_CODES,4,2 ; @LENGTH_CODES
.comm _base_length,8,3 ; @base_length
.comm _extra_lbits,8,3 ; @extra_lbits
.comm _length_code,8,3 ; @length_code
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "tr_static_init: length != 256"
.comm _base_dist,8,3 ; @base_dist
.comm _extra_dbits,8,3 ; @extra_dbits
.comm _dist_code,8,3 ; @dist_code
l_.str.1: ; @.str.1
.asciz "tr_static_init: dist != 256"
.comm _D_CODES,4,2 ; @D_CODES
l_.str.2: ; @.str.2
.asciz "tr_static_init: 256+dist != 512"
.comm _static_ltree,8,3 ; @static_ltree
.comm _L_CODES,8,3 ; @L_CODES
.comm _static_dtree,8,3 ; @static_dtree
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ; @.memset_pattern.3
l_.memset_pattern.3:
.long 9 ; 0x9
.long 9 ; 0x9
.long 9 ; 0x9
.long 9 ; 0x9
.p2align 4, 0x0 ; @.memset_pattern.4
l_.memset_pattern.4:
.long 7 ; 0x7
.long 7 ; 0x7
.long 7 ; 0x7
.long 7 ; 0x7
.p2align 4, 0x0 ; @.memset_pattern.5
l_.memset_pattern.5:
.long 8 ; 0x8
.long 8 ; 0x8
.long 8 ; 0x8
.long 8 ; 0x8
.no_dead_strip _tr_static_init
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _br_i15_decode_reduce ## -- Begin function br_i15_decode_reduce
.p2align 4, 0x90
_br_i15_decode_reduce: ## @br_i15_decode_reduce
.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 %rcx, -56(%rbp) ## 8-byte Spill
movl (%rcx), %r13d
testl %r13d, %r13d
je LBB0_1
## %bb.2:
movq %rdx, %r15
movq %rsi, %r12
movq %rbx, %rdi
movl %r13d, %esi
callq _br_i15_zero
movl %r13d, %eax
sarl $4, %eax
movl %r13d, %ecx
andl $15, %ecx
movl %r13d, %edx
andl $-16, %edx
addl %eax, %edx
subl %edx, %ecx
addl $7, %ecx
sarl $3, %ecx
decl %ecx
movslq %ecx, %r14
movq %rbx, %rdi
cmpq %r15, %r14
jae LBB0_3
## %bb.4:
movq %r12, %rsi
movq %r14, %rdx
callq _br_i15_decode
movq %rbx, -48(%rbp) ## 8-byte Spill
movl %r13d, (%rbx)
xorl %r13d, %r13d
xorl %ebx, %ebx
jmp LBB0_5
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_5 Depth=1
addl $-7, %r13d
movl %ebx, %esi
movl %r13d, %ecx
sarl %cl, %esi
movq -48(%rbp), %rdi ## 8-byte Reload
movq -56(%rbp), %rdx ## 8-byte Reload
callq _br_i15_muladd_small
movl $-1, %eax
movl %r13d, %ecx
shll %cl, %eax
notl %eax
andl %eax, %ebx
LBB0_8: ## in Loop: Header=BB0_5 Depth=1
incq %r14
cmpq %r15, %r14
ja LBB0_9
LBB0_5: ## =>This Inner Loop Header: Depth=1
movzbl (%r12,%r14), %eax
shll $8, %ebx
orl %eax, %ebx
cmpl $7, %r13d
jge LBB0_7
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
addl $8, %r13d
jmp LBB0_8
LBB0_1:
movl $0, (%rbx)
jmp LBB0_10
LBB0_3:
movq %r12, %rsi
movq %r15, %rdx
callq _br_i15_decode
movl %r13d, (%rbx)
jmp LBB0_10
LBB0_9:
testl %r13d, %r13d
je LBB0_10
## %bb.11:
movq -48(%rbp), %r15 ## 8-byte Reload
movl 4(%r15), %r14d
movl %r13d, %ecx
shll %cl, %r14d
orl %ebx, %r14d
andl $32767, %r14d ## imm = 0x7FFF
movl $15, %esi
subl %r13d, %esi
movq %r15, %rdi
callq _br_i15_rshift
movq %r15, %rdi
movl %r14d, %esi
movq -56(%rbp), %rdx ## 8-byte Reload
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _br_i15_muladd_small ## TAILCALL
LBB0_10:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _br_i15_decode_reduce ; -- Begin function br_i15_decode_reduce
.p2align 2
_br_i15_decode_reduce: ; @br_i15_decode_reduce
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x0
ldr w24, [x3]
cbz w24, LBB0_7
; %bb.1:
mov x20, x3
mov x21, x2
mov x22, x1
mov x0, x19
mov x1, x24
bl _br_i15_zero
and w8, w24, #0xf
and w9, w24, #0xfffffff0
add w9, w9, w24, asr #4
sub w8, w8, w9
add w8, w8, #7
asr w8, w8, #3
sub w8, w8, #1
sxtw x23, w8
mov x0, x19
cmp x23, x21
b.hs LBB0_8
; %bb.2:
mov x1, x22
mov x2, x23
bl _br_i15_decode
mov w8, #0 ; =0x0
mov w25, #0 ; =0x0
str w24, [x19]
mov w24, #-1 ; =0xffffffff
b LBB0_5
LBB0_3: ; in Loop: Header=BB0_5 Depth=1
asr w1, w25, w26
mov x0, x19
mov x2, x20
bl _br_i15_muladd_small
lsl w8, w24, w26
bic w25, w25, w8
mov x8, x26
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
add x23, x23, #1
cmp x23, x21
b.hi LBB0_9
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldrb w9, [x22, x23]
orr w25, w9, w25, lsl #8
subs w26, w8, #7
b.ge LBB0_3
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
add w8, w8, #8
b LBB0_4
LBB0_7:
str wzr, [x19]
b LBB0_11
LBB0_8:
mov x1, x22
mov x2, x21
bl _br_i15_decode
str w24, [x19]
b LBB0_11
LBB0_9:
cbz w8, LBB0_11
; %bb.10:
ldr w9, [x19, #4]
lsl w9, w9, w8
orr w21, w9, w25
mov w9, #15 ; =0xf
sub w1, w9, w8
mov x0, x19
bl _br_i15_rshift
and w1, w21, #0x7fff
mov x0, x19
mov x2, x20
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
b _br_i15_muladd_small
LBB0_11:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _GetConflictingVirtualXIDs ## -- Begin function GetConflictingVirtualXIDs
.p2align 4, 0x90
_GetConflictingVirtualXIDs: ## @GetConflictingVirtualXIDs
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, -56(%rbp) ## 8-byte Spill
movl %edi, -44(%rbp) ## 4-byte Spill
movq _procArray@GOTPCREL(%rip), %rax
movq (%rax), %rbx
cmpq $0, _GetConflictingVirtualXIDs.vxids(%rip)
jne LBB0_3
## %bb.1:
movl (%rbx), %eax
leal 8(,%rax,8), %edi
callq _malloc
movq %rax, _GetConflictingVirtualXIDs.vxids(%rip)
testq %rax, %rax
jne LBB0_3
## %bb.2:
movq _ERROR@GOTPCREL(%rip), %rax
movl (%rax), %r15d
movq _ERRCODE_OUT_OF_MEMORY@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _errcode
leaq L_.str(%rip), %rdi
callq _errmsg
movl %r15d, %edi
movl %eax, %esi
callq _ereport
LBB0_3:
movq _ProcArrayLock@GOTPCREL(%rip), %r15
movl (%r15), %edi
movq _LW_SHARED@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _LWLockAcquire
xorl %r14d, %r14d
cmpl $0, 4(%rbx)
js LBB0_17
## %bb.4:
movq $0, -64(%rbp) ## 8-byte Folded Spill
movq $-1, %r14
movq -56(%rbp), %r12 ## 8-byte Reload
movq %rbx, -72(%rbp) ## 8-byte Spill
jmp LBB0_7
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_7 Depth=1
movq -72(%rbp), %rbx ## 8-byte Reload
LBB0_6: ## in Loop: Header=BB0_7 Depth=1
movslq 4(%rbx), %rax
incq %r14
cmpq %rax, %r14
jge LBB0_16
LBB0_7: ## =>This Inner Loop Header: Depth=1
movq 8(%rbx), %rax
movslq 4(%rax,%r14,4), %rbx
movq _allProcs@GOTPCREL(%rip), %rax
movq (%rax), %r13
movq %rbx, %r15
shlq $4, %r15
cmpq $0, (%r13,%r15)
je LBB0_16
## %bb.8: ## in Loop: Header=BB0_7 Depth=1
movq _allPgXact@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -80(%rbp) ## 8-byte Spill
movq %r12, %rdi
callq _OidIsValid
testl %eax, %eax
jne LBB0_5
## %bb.9: ## in Loop: Header=BB0_7 Depth=1
movq -80(%rbp), %rax ## 8-byte Reload
addq %r15, %r13
cmpq %r12, 8(%r13)
jne LBB0_5
## %bb.10: ## in Loop: Header=BB0_7 Depth=1
movl (%rax,%rbx,4), %edi
callq _UINT32_ACCESS_ONCE
movl %eax, %r15d
movl -44(%rbp), %edi ## 4-byte Reload
callq _TransactionIdIsValid
testq %rax, %rax
movq -72(%rbp), %rbx ## 8-byte Reload
je LBB0_13
## %bb.11: ## in Loop: Header=BB0_7 Depth=1
movl %r15d, %edi
callq _TransactionIdIsValid
testq %rax, %rax
je LBB0_14
## %bb.12: ## in Loop: Header=BB0_7 Depth=1
movl %r15d, %edi
movl -44(%rbp), %esi ## 4-byte Reload
callq _TransactionIdFollows
testl %eax, %eax
jne LBB0_14
LBB0_13: ## in Loop: Header=BB0_7 Depth=1
movq (%r13), %rsi
movq 8(%r13), %rdx
callq _GET_VXID_FROM_PGPROC
callq _VirtualTransactionIdIsValid
cmpq $1, %rax
movq -64(%rbp), %rax ## 8-byte Reload
sbbl $-1, %eax
movq %rax, -64(%rbp) ## 8-byte Spill
LBB0_14: ## in Loop: Header=BB0_7 Depth=1
movq -56(%rbp), %r12 ## 8-byte Reload
jmp LBB0_6
LBB0_16:
movq -64(%rbp), %r14 ## 8-byte Reload
movslq %r14d, %r14
movq _ProcArrayLock@GOTPCREL(%rip), %r15
LBB0_17:
movl (%r15), %edi
callq _LWLockRelease
movq _InvalidBackendId@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _GetConflictingVirtualXIDs.vxids(%rip), %rax
movl %ecx, 4(%rax,%r14,8)
movq _InvalidLocalTransactionId@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, (%rax,%r14,8)
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_GetConflictingVirtualXIDs.vxids,8,3 ## @GetConflictingVirtualXIDs.vxids
.comm _procArray,8,3 ## @procArray
.comm _ERROR,4,2 ## @ERROR
.comm _ERRCODE_OUT_OF_MEMORY,4,2 ## @ERRCODE_OUT_OF_MEMORY
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "out of memory"
.comm _ProcArrayLock,4,2 ## @ProcArrayLock
.comm _LW_SHARED,4,2 ## @LW_SHARED
.comm _allProcs,8,3 ## @allProcs
.comm _allPgXact,8,3 ## @allPgXact
.comm _InvalidBackendId,4,2 ## @InvalidBackendId
.comm _InvalidLocalTransactionId,4,2 ## @InvalidLocalTransactionId
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _GetConflictingVirtualXIDs ; -- Begin function GetConflictingVirtualXIDs
.p2align 2
_GetConflictingVirtualXIDs: ; @GetConflictingVirtualXIDs
.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
mov x19, x1
mov x20, x0
Lloh0:
adrp x8, _procArray@GOTPAGE
Lloh1:
ldr x8, [x8, _procArray@GOTPAGEOFF]
Lloh2:
ldr x23, [x8]
adrp x22, _GetConflictingVirtualXIDs.vxids@PAGE
ldr x8, [x22, _GetConflictingVirtualXIDs.vxids@PAGEOFF]
cbnz x8, LBB0_3
; %bb.1:
ldr w8, [x23]
lsl w8, w8, #3
add w0, w8, #8
bl _malloc
str x0, [x22, _GetConflictingVirtualXIDs.vxids@PAGEOFF]
cbnz x0, LBB0_3
; %bb.2:
Lloh3:
adrp x8, _ERROR@GOTPAGE
Lloh4:
ldr x8, [x8, _ERROR@GOTPAGEOFF]
Lloh5:
ldr w21, [x8]
Lloh6:
adrp x8, _ERRCODE_OUT_OF_MEMORY@GOTPAGE
Lloh7:
ldr x8, [x8, _ERRCODE_OUT_OF_MEMORY@GOTPAGEOFF]
Lloh8:
ldr w0, [x8]
bl _errcode
Lloh9:
adrp x0, l_.str@PAGE
Lloh10:
add x0, x0, l_.str@PAGEOFF
bl _errmsg
mov x1, x0
mov x0, x21
bl _ereport
LBB0_3:
Lloh11:
adrp x21, _ProcArrayLock@GOTPAGE
Lloh12:
ldr x21, [x21, _ProcArrayLock@GOTPAGEOFF]
ldr w0, [x21]
Lloh13:
adrp x8, _LW_SHARED@GOTPAGE
Lloh14:
ldr x8, [x8, _LW_SHARED@GOTPAGEOFF]
Lloh15:
ldr w1, [x8]
bl _LWLockAcquire
ldr w8, [x23, #4]
tbnz w8, #31, LBB0_14
; %bb.4:
mov x26, #0 ; =0x0
mov w25, #0 ; =0x0
Lloh16:
adrp x27, _allProcs@GOTPAGE
Lloh17:
ldr x27, [x27, _allProcs@GOTPAGEOFF]
Lloh18:
adrp x28, _allPgXact@GOTPAGE
Lloh19:
ldr x28, [x28, _allPgXact@GOTPAGEOFF]
b LBB0_7
LBB0_5: ; in Loop: Header=BB0_7 Depth=1
ldp x1, x2, [x22]
bl _GET_VXID_FROM_PGPROC
bl _VirtualTransactionIdIsValid
cmp x0, #0
cinc w25, w25, ne
LBB0_6: ; in Loop: Header=BB0_7 Depth=1
add x8, x26, #1
ldrsw x9, [x23, #4]
cmp x26, x9
mov x26, x8
b.ge LBB0_13
LBB0_7: ; =>This Inner Loop Header: Depth=1
ldr x8, [x23, #8]
ldrsw x21, [x8, x26, lsl #2]
ldr x8, [x27]
add x22, x8, x21, lsl #4
ldr x8, [x22]
cbz x8, LBB0_13
; %bb.8: ; in Loop: Header=BB0_7 Depth=1
ldr x24, [x28]
mov x0, x19
bl _OidIsValid
cbnz w0, LBB0_6
; %bb.9: ; in Loop: Header=BB0_7 Depth=1
ldr x8, [x22, #8]
cmp x8, x19
b.ne LBB0_6
; %bb.10: ; in Loop: Header=BB0_7 Depth=1
ldr w0, [x24, x21, lsl #2]
bl _UINT32_ACCESS_ONCE
mov x21, x0
mov x0, x20
bl _TransactionIdIsValid
cbz x0, LBB0_5
; %bb.11: ; in Loop: Header=BB0_7 Depth=1
mov x0, x21
bl _TransactionIdIsValid
cbz x0, LBB0_6
; %bb.12: ; in Loop: Header=BB0_7 Depth=1
mov x0, x21
mov x1, x20
bl _TransactionIdFollows
cbnz w0, LBB0_6
b LBB0_5
LBB0_13:
sxtw x19, w25
adrp x22, _GetConflictingVirtualXIDs.vxids@PAGE
Lloh20:
adrp x21, _ProcArrayLock@GOTPAGE
Lloh21:
ldr x21, [x21, _ProcArrayLock@GOTPAGEOFF]
b LBB0_15
LBB0_14:
mov x19, #0 ; =0x0
LBB0_15:
ldr w0, [x21]
bl _LWLockRelease
Lloh22:
adrp x8, _InvalidBackendId@GOTPAGE
Lloh23:
ldr x8, [x8, _InvalidBackendId@GOTPAGEOFF]
Lloh24:
ldr w8, [x8]
ldr x0, [x22, _GetConflictingVirtualXIDs.vxids@PAGEOFF]
add x9, x0, x19, lsl #3
str w8, [x9, #4]
Lloh25:
adrp x8, _InvalidLocalTransactionId@GOTPAGE
Lloh26:
ldr x8, [x8, _InvalidLocalTransactionId@GOTPAGEOFF]
Lloh27:
ldr w8, [x8]
str w8, [x9]
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGot Lloh18, Lloh19
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGot Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_GetConflictingVirtualXIDs.vxids,8,3 ; @GetConflictingVirtualXIDs.vxids
.comm _procArray,8,3 ; @procArray
.comm _ERROR,4,2 ; @ERROR
.comm _ERRCODE_OUT_OF_MEMORY,4,2 ; @ERRCODE_OUT_OF_MEMORY
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "out of memory"
.comm _ProcArrayLock,4,2 ; @ProcArrayLock
.comm _LW_SHARED,4,2 ; @LW_SHARED
.comm _allProcs,8,3 ; @allProcs
.comm _allPgXact,8,3 ; @allPgXact
.comm _InvalidBackendId,4,2 ; @InvalidBackendId
.comm _InvalidLocalTransactionId,4,2 ; @InvalidLocalTransactionId
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function mlx5e_grp_pcie_fill_stats
_mlx5e_grp_pcie_fill_stats: ## @mlx5e_grp_pcie_fill_stats
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %ebx
movq %rsi, %r15
movq %rdi, %r14
movl 4(%rdi), %edi
movq _pcie_performance_group@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _MLX5_CAP_MCAM_FEATURE
testq %rax, %rax
movq %r15, -56(%rbp) ## 8-byte Spill
je LBB0_5
## %bb.1:
movq _NUM_PCIE_PERF_COUNTERS@GOTPCREL(%rip), %r13
cmpl $0, (%r13)
jle LBB0_5
## %bb.2:
movl %ebx, -44(%rbp) ## 4-byte Spill
movslq %ebx, %rax
leaq (%r15,%rax,4), %r15
xorl %eax, %eax
movq _pcie_perf_stats_desc@GOTPCREL(%rip), %rbx
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movl %eax, %r12d
movl (%rbx), %esi
movq %r14, %rdi
movl %eax, %edx
callq _MLX5E_READ_CTR32_BE
movl %eax, (%r15)
leal -1(%r12), %eax
addq $4, %r15
cmpl (%r13), %r12d
jle LBB0_3
## %bb.4:
movl -44(%rbp), %ebx ## 4-byte Reload
subl %eax, %ebx
movq -56(%rbp), %r15 ## 8-byte Reload
LBB0_5:
movl 4(%r14), %edi
movq _tx_overflow_buffer_pkt@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _MLX5_CAP_MCAM_FEATURE
testq %rax, %rax
je LBB0_10
## %bb.6:
movq _NUM_PCIE_PERF_COUNTERS64@GOTPCREL(%rip), %r13
cmpl $0, (%r13)
jle LBB0_10
## %bb.7:
movl %ebx, -44(%rbp) ## 4-byte Spill
movslq %ebx, %rax
leaq (%r15,%rax,4), %r15
xorl %r12d, %r12d
movq _pcie_perf_stats_desc64@GOTPCREL(%rip), %rbx
.p2align 4, 0x90
LBB0_8: ## =>This Inner Loop Header: Depth=1
movl (%rbx), %esi
movq %r14, %rdi
movl %r12d, %edx
callq _MLX5E_READ_CTR64_BE
movl %eax, (%r15,%r12,4)
incq %r12
cmpl (%r13), %r12d
jl LBB0_8
## %bb.9:
movl -44(%rbp), %ebx ## 4-byte Reload
addl %r12d, %ebx
movq -56(%rbp), %r15 ## 8-byte Reload
LBB0_10:
movl 4(%r14), %edi
movq _pcie_outbound_stalled@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _MLX5_CAP_MCAM_FEATURE
testq %rax, %rax
je LBB0_15
## %bb.11:
movq _NUM_PCIE_PERF_STALL_COUNTERS@GOTPCREL(%rip), %r12
cmpl $0, (%r12)
jle LBB0_15
## %bb.12:
movl %ebx, -44(%rbp) ## 4-byte Spill
movslq %ebx, %rax
leaq (%r15,%rax,4), %r13
xorl %r15d, %r15d
movq _pcie_perf_stall_stats_desc@GOTPCREL(%rip), %rbx
.p2align 4, 0x90
LBB0_13: ## =>This Inner Loop Header: Depth=1
movl (%rbx), %esi
movq %r14, %rdi
movl %r15d, %edx
callq _MLX5E_READ_CTR32_BE
movl %eax, (%r13,%r15,4)
incq %r15
cmpl (%r12), %r15d
jl LBB0_13
## %bb.14:
movl -44(%rbp), %ebx ## 4-byte Reload
addl %r15d, %ebx
LBB0_15:
movl %ebx, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _pcie_performance_group,4,2 ## @pcie_performance_group
.comm _NUM_PCIE_PERF_COUNTERS,4,2 ## @NUM_PCIE_PERF_COUNTERS
.comm _pcie_perf_stats_desc,4,2 ## @pcie_perf_stats_desc
.comm _tx_overflow_buffer_pkt,4,2 ## @tx_overflow_buffer_pkt
.comm _NUM_PCIE_PERF_COUNTERS64,4,2 ## @NUM_PCIE_PERF_COUNTERS64
.comm _pcie_perf_stats_desc64,4,2 ## @pcie_perf_stats_desc64
.comm _pcie_outbound_stalled,4,2 ## @pcie_outbound_stalled
.comm _NUM_PCIE_PERF_STALL_COUNTERS,4,2 ## @NUM_PCIE_PERF_STALL_COUNTERS
.comm _pcie_perf_stall_stats_desc,4,2 ## @pcie_perf_stall_stats_desc
.no_dead_strip _mlx5e_grp_pcie_fill_stats
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function mlx5e_grp_pcie_fill_stats
_mlx5e_grp_pcie_fill_stats: ; @mlx5e_grp_pcie_fill_stats
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x2
mov x21, x1
mov x20, x0
ldr w0, [x0, #4]
Lloh0:
adrp x8, _pcie_performance_group@GOTPAGE
Lloh1:
ldr x8, [x8, _pcie_performance_group@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _MLX5_CAP_MCAM_FEATURE
Lloh3:
adrp x23, _NUM_PCIE_PERF_COUNTERS@GOTPAGE
Lloh4:
ldr x23, [x23, _NUM_PCIE_PERF_COUNTERS@GOTPAGEOFF]
ldr w8, [x23]
cmp x0, #0
ccmp w8, #1, #8, ne
b.lt LBB0_4
; %bb.1:
mov w22, #0 ; =0x0
add x24, x21, w19, sxtw #2
Lloh5:
adrp x25, _pcie_perf_stats_desc@GOTPAGE
Lloh6:
ldr x25, [x25, _pcie_perf_stats_desc@GOTPAGEOFF]
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr w1, [x25]
mov x0, x20
mov x2, x22
bl _MLX5E_READ_CTR32_BE
str w0, [x24], #4
sub w8, w22, #1
ldr w9, [x23]
cmp w22, w9
mov x22, x8
b.le LBB0_2
; %bb.3:
sub w19, w19, w8
LBB0_4:
ldr w0, [x20, #4]
Lloh7:
adrp x8, _tx_overflow_buffer_pkt@GOTPAGE
Lloh8:
ldr x8, [x8, _tx_overflow_buffer_pkt@GOTPAGEOFF]
Lloh9:
ldr w1, [x8]
bl _MLX5_CAP_MCAM_FEATURE
Lloh10:
adrp x23, _NUM_PCIE_PERF_COUNTERS64@GOTPAGE
Lloh11:
ldr x23, [x23, _NUM_PCIE_PERF_COUNTERS64@GOTPAGEOFF]
ldr w8, [x23]
cmp x0, #0
ccmp w8, #1, #8, ne
b.lt LBB0_8
; %bb.5:
mov x22, #0 ; =0x0
add x24, x21, w19, sxtw #2
Lloh12:
adrp x25, _pcie_perf_stats_desc64@GOTPAGE
Lloh13:
ldr x25, [x25, _pcie_perf_stats_desc64@GOTPAGEOFF]
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldr w1, [x25]
mov x0, x20
mov x2, x22
bl _MLX5E_READ_CTR64_BE
str w0, [x24, x22, lsl #2]
ldr w8, [x23]
add x22, x22, #1
cmp w22, w8
b.lt LBB0_6
; %bb.7:
add w19, w19, w22
LBB0_8:
ldr w0, [x20, #4]
Lloh14:
adrp x8, _pcie_outbound_stalled@GOTPAGE
Lloh15:
ldr x8, [x8, _pcie_outbound_stalled@GOTPAGEOFF]
Lloh16:
ldr w1, [x8]
bl _MLX5_CAP_MCAM_FEATURE
Lloh17:
adrp x23, _NUM_PCIE_PERF_STALL_COUNTERS@GOTPAGE
Lloh18:
ldr x23, [x23, _NUM_PCIE_PERF_STALL_COUNTERS@GOTPAGEOFF]
ldr w8, [x23]
cmp x0, #0
ccmp w8, #1, #8, ne
b.lt LBB0_12
; %bb.9:
mov x22, #0 ; =0x0
add x21, x21, w19, sxtw #2
Lloh19:
adrp x24, _pcie_perf_stall_stats_desc@GOTPAGE
Lloh20:
ldr x24, [x24, _pcie_perf_stall_stats_desc@GOTPAGEOFF]
LBB0_10: ; =>This Inner Loop Header: Depth=1
ldr w1, [x24]
mov x0, x20
mov x2, x22
bl _MLX5E_READ_CTR32_BE
str w0, [x21, x22, lsl #2]
ldr w8, [x23]
add x22, x22, #1
cmp w22, w8
b.lt LBB0_10
; %bb.11:
add w19, w19, w22
LBB0_12:
mov x0, x19
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGot Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGot Lloh19, Lloh20
.cfi_endproc
; -- End function
.comm _pcie_performance_group,4,2 ; @pcie_performance_group
.comm _NUM_PCIE_PERF_COUNTERS,4,2 ; @NUM_PCIE_PERF_COUNTERS
.comm _pcie_perf_stats_desc,4,2 ; @pcie_perf_stats_desc
.comm _tx_overflow_buffer_pkt,4,2 ; @tx_overflow_buffer_pkt
.comm _NUM_PCIE_PERF_COUNTERS64,4,2 ; @NUM_PCIE_PERF_COUNTERS64
.comm _pcie_perf_stats_desc64,4,2 ; @pcie_perf_stats_desc64
.comm _pcie_outbound_stalled,4,2 ; @pcie_outbound_stalled
.comm _NUM_PCIE_PERF_STALL_COUNTERS,4,2 ; @NUM_PCIE_PERF_STALL_COUNTERS
.comm _pcie_perf_stall_stats_desc,4,2 ; @pcie_perf_stall_stats_desc
.no_dead_strip _mlx5e_grp_pcie_fill_stats
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _BIO_dump_indent_cb ## -- Begin function BIO_dump_indent_cb
.p2align 4, 0x90
_BIO_dump_indent_cb: ## @BIO_dump_indent_cb
.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 $408, %rsp ## imm = 0x198
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, %ebx
movq %rdx, -376(%rbp) ## 8-byte Spill
movq %rsi, -424(%rbp) ## 8-byte Spill
movq %rdi, -416(%rbp) ## 8-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
cmpl $64, %r8d
movl $64, %r12d
cmovbl %r8d, %r12d
xorl %r13d, %r13d
testl %r8d, %r8d
cmovlel %r13d, %r12d
movl %r12d, %edi
callq _DUMP_WIDTH_LESS_INDENT
movl %eax, %esi
movl %ebx, %eax
cltd
idivl %esi
movl %eax, %ecx
movl %esi, -356(%rbp) ## 4-byte Spill
imull %esi, %ecx
xorl %edx, %edx
cmpl %ebx, %ecx
setl %dl
subl %edx, %eax
testl %eax, %eax
jle LBB0_21
## %bb.1:
movl -356(%rbp), %ecx ## 4-byte Reload
movslq %ecx, %rdx
movslq %ebx, %rsi
movq %rsi, -408(%rbp) ## 8-byte Spill
movl %eax, %eax
movq %rax, -400(%rbp) ## 8-byte Spill
movl %ecx, %eax
movq %rax, -392(%rbp) ## 8-byte Spill
movzbl %r12b, %eax
movl %eax, -380(%rbp) ## 4-byte Spill
leaq -352(%rbp), %r12
xorl %r14d, %r14d
xorl %eax, %eax
xorl %r13d, %r13d
movq %rdx, -368(%rbp) ## 8-byte Spill
jmp LBB0_2
.p2align 4, 0x90
LBB0_20: ## in Loop: Header=BB0_2 Depth=1
movl -360(%rbp), %r13d ## 4-byte Reload
movq %r12, %rdi
movq -424(%rbp), %rdx ## 8-byte Reload
callq *-416(%rbp) ## 8-byte Folded Reload
addl %eax, %r13d
movq -440(%rbp), %rax ## 8-byte Reload
incq %rax
addq -392(%rbp), %r14 ## 8-byte Folded Reload
movq -368(%rbp), %rdx ## 8-byte Reload
addq %rdx, -376(%rbp) ## 8-byte Folded Spill
cmpq -400(%rbp), %rax ## 8-byte Folded Reload
je LBB0_21
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_4 Depth 2
## Child Loop BB0_14 Depth 2
movl %r13d, -360(%rbp) ## 4-byte Spill
movq %rax, -440(%rbp) ## 8-byte Spill
movq %rax, %r9
imulq %rdx, %r9
movq %r12, %r15
movq %r12, %rdi
movl $289, %esi ## imm = 0x121
leaq L_.str(%rip), %rdx
movl -380(%rbp), %ecx ## 4-byte Reload
leaq L_.str.1(%rip), %r8
movq %r9, -432(%rbp) ## 8-byte Spill
## kill: def $r9d killed $r9d killed $r9
xorl %eax, %eax
callq _BIO_snprintf
movl %eax, %r13d
cmpl $0, -356(%rbp) ## 4-byte Folded Reload
jle LBB0_10
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
xorl %r12d, %r12d
jmp LBB0_4
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_4 Depth=2
movq -376(%rbp), %rcx ## 8-byte Reload
movzbl (%rcx,%r12), %ecx
leaq (%rax,%rbp), %rdi
addq $-352, %rdi ## imm = 0xFEA0
cmpq $7, %r12
movl $32, %r8d
movl $45, %eax
cmovel %eax, %r8d
movl $4, %esi
leaq L_.str.3(%rip), %rdx
xorl %eax, %eax
callq _BIO_snprintf
LBB0_8: ## in Loop: Header=BB0_4 Depth=2
addl $3, %r13d
LBB0_9: ## in Loop: Header=BB0_4 Depth=2
incq %r12
cmpq %r12, -392(%rbp) ## 8-byte Folded Reload
je LBB0_10
LBB0_4: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movq %r15, %rdi
movl %r13d, %esi
movl $3, %edx
callq _SPACE
testq %rax, %rax
je LBB0_9
## %bb.5: ## in Loop: Header=BB0_4 Depth=2
leal (%r14,%r12), %ecx
movslq %r13d, %rax
cmpl %ebx, %ecx
jl LBB0_7
## %bb.6: ## in Loop: Header=BB0_4 Depth=2
leaq (%rax,%rbp), %rdi
addq $-352, %rdi ## imm = 0xFEA0
leaq L_.str.2(%rip), %rsi
callq _strcpy
jmp LBB0_8
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_2 Depth=1
movq %r15, %rdi
movl %r13d, %esi
movl $2, %edx
callq _SPACE
testq %rax, %rax
je LBB0_12
## %bb.11: ## in Loop: Header=BB0_2 Depth=1
movslq %r13d, %rax
leaq (%rax,%rbp), %rdi
addq $-352, %rdi ## imm = 0xFEA0
leaq L_.str.4(%rip), %rsi
callq _strcpy
addl $2, %r13d
LBB0_12: ## in Loop: Header=BB0_2 Depth=1
cmpl $0, -356(%rbp) ## 4-byte Folded Reload
setle %al
movq -432(%rbp), %rcx ## 8-byte Reload
cmpq -408(%rbp), %rcx ## 8-byte Folded Reload
setge %cl
orb %al, %cl
jne LBB0_18
## %bb.13: ## in Loop: Header=BB0_2 Depth=1
movl $1, %r12d
.p2align 4, 0x90
LBB0_14: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movq %r15, %rdi
movl %r13d, %esi
movl $1, %edx
callq _SPACE
testq %rax, %rax
je LBB0_16
## %bb.15: ## in Loop: Header=BB0_14 Depth=2
movq -376(%rbp), %rax ## 8-byte Reload
movzbl -1(%rax,%r12), %eax
movslq %r13d, %rcx
leaq 1(%rcx), %r13
movb %al, -352(%rbp,%rcx)
movb $0, -351(%rbp,%rcx)
LBB0_16: ## in Loop: Header=BB0_14 Depth=2
movq -368(%rbp), %rax ## 8-byte Reload
cmpq %rax, %r12
jge LBB0_18
## %bb.17: ## in Loop: Header=BB0_14 Depth=2
leal (%r14,%r12), %eax
incq %r12
cmpl %ebx, %eax
jl LBB0_14
LBB0_18: ## in Loop: Header=BB0_2 Depth=1
movq %r15, %r12
movq %r15, %rdi
movl %r13d, %esi
movl $1, %edx
callq _SPACE
movslq %r13d, %rsi
testq %rax, %rax
je LBB0_20
## %bb.19: ## in Loop: Header=BB0_2 Depth=1
movw $10, -352(%rbp,%rsi)
incq %rsi
jmp LBB0_20
LBB0_21:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_23
## %bb.22:
movl %r13d, %eax
addq $408, %rsp ## imm = 0x198
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_23:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%*s%04x - "
L_.str.1: ## @.str.1
.space 1
L_.str.2: ## @.str.2
.asciz " "
L_.str.3: ## @.str.3
.asciz "%02x%c"
L_.str.4: ## @.str.4
.asciz " "
.comm _os_toascii,8,3 ## @os_toascii
.comm _os_toebcdic,8,3 ## @os_toebcdic
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _BIO_dump_indent_cb ; -- Begin function BIO_dump_indent_cb
.p2align 2
_BIO_dump_indent_cb: ; @BIO_dump_indent_cb
.cfi_startproc
; %bb.0:
sub sp, sp, #480
stp x28, x27, [sp, #384] ; 16-byte Folded Spill
stp x26, x25, [sp, #400] ; 16-byte Folded Spill
stp x24, x23, [sp, #416] ; 16-byte Folded Spill
stp x22, x21, [sp, #432] ; 16-byte Folded Spill
stp x20, x19, [sp, #448] ; 16-byte Folded Spill
stp x29, x30, [sp, #464] ; 16-byte Folded Spill
add x29, sp, #464
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x3
mov x20, x2
stp x0, x1, [sp, #40] ; 16-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, #-96]
mov w8, #64 ; =0x40
cmp w4, #64
csel w8, w4, w8, lo
cmp w4, #0
csel w0, w8, wzr, gt
str w0, [sp, #36] ; 4-byte Folded Spill
bl _DUMP_WIDTH_LESS_INDENT
sdiv w8, w19, w0
mul w9, w8, w0
cmp w9, w19
cset w9, lt
sub w8, w8, w9
str x8, [sp, #24] ; 8-byte Folded Spill
cmp w8, #1
b.lt LBB0_23
; %bb.1:
mov x28, x0
mov x22, #0 ; =0x0
mov x23, #0 ; =0x0
mov w25, #0 ; =0x0
sxtw x21, w28
mov w24, w0
sxtw x8, w19
str x8, [sp, #16] ; 8-byte Folded Spill
add x27, sp, #79
str x28, [sp, #64] ; 8-byte Folded Spill
b LBB0_5
LBB0_2: ; in Loop: Header=BB0_5 Depth=1
add x0, sp, #79
mov x1, x26
mov w2, #1 ; =0x1
bl _SPACE
; kill: def $w26 killed $w26 killed $x26 def $x26
cbz x0, LBB0_22
; %bb.3: ; in Loop: Header=BB0_5 Depth=1
sxtw x8, w26
add x1, x8, #1
mov w9, #10 ; =0xa
strh w9, [x27, x8]
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
ldr x28, [sp, #64] ; 8-byte Folded Reload
add x0, sp, #79
ldp x8, x2, [sp, #40] ; 16-byte Folded Reload
blr x8
add w25, w0, w25
add x23, x23, #1
add x22, x22, x24
add x20, x20, x21
ldr x8, [sp, #24] ; 8-byte Folded Reload
cmp x23, x8
b.eq LBB0_24
LBB0_5: ; =>This Loop Header: Depth=1
; Child Loop BB0_10 Depth 2
; Child Loop BB0_18 Depth 2
mul x9, x23, x21
str x9, [sp, #56] ; 8-byte Folded Spill
Lloh3:
adrp x8, l_.str.1@PAGE
Lloh4:
add x8, x8, l_.str.1@PAGEOFF
stp x8, x9, [sp]
add x0, sp, #79
ldr w8, [sp, #36] ; 4-byte Folded Reload
and w3, w8, #0xff
mov w1, #289 ; =0x121
Lloh5:
adrp x2, l_.str@PAGE
Lloh6:
add x2, x2, l_.str@PAGEOFF
bl _BIO_snprintf
mov x26, x0
cmp w28, #1
b.lt LBB0_13
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
mov x28, #0 ; =0x0
b LBB0_10
LBB0_7: ; in Loop: Header=BB0_10 Depth=2
ldrb w3, [x20, x28]
cmp x28, #7
mov w8, #32 ; =0x20
mov w9, #45 ; =0x2d
csel x8, x9, x8, eq
str x8, [sp]
mov w1, #4 ; =0x4
Lloh7:
adrp x2, l_.str.3@PAGE
Lloh8:
add x2, x2, l_.str.3@PAGEOFF
bl _BIO_snprintf
LBB0_8: ; in Loop: Header=BB0_10 Depth=2
add w26, w26, #3
LBB0_9: ; in Loop: Header=BB0_10 Depth=2
add x28, x28, #1
cmp x24, x28
b.eq LBB0_13
LBB0_10: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
add x0, sp, #79
mov x1, x26
mov w2, #3 ; =0x3
bl _SPACE
cbz x0, LBB0_9
; %bb.11: ; in Loop: Header=BB0_10 Depth=2
add w8, w22, w28
cmp w8, w19
add x0, x27, w26, sxtw
b.lt LBB0_7
; %bb.12: ; in Loop: Header=BB0_10 Depth=2
Lloh9:
adrp x1, l_.str.2@PAGE
Lloh10:
add x1, x1, l_.str.2@PAGEOFF
bl _strcpy
b LBB0_8
LBB0_13: ; in Loop: Header=BB0_5 Depth=1
add x0, sp, #79
mov x1, x26
mov w2, #2 ; =0x2
bl _SPACE
cbz x0, LBB0_15
; %bb.14: ; in Loop: Header=BB0_5 Depth=1
add x0, x27, w26, sxtw
Lloh11:
adrp x1, l_.str.4@PAGE
Lloh12:
add x1, x1, l_.str.4@PAGEOFF
bl _strcpy
add w26, w26, #2
LBB0_15: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [sp, #64] ; 8-byte Folded Reload
cmp w8, #1
b.lt LBB0_2
; %bb.16: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x9, [sp, #56] ; 8-byte Folded Reload
cmp x9, x8
b.ge LBB0_2
; %bb.17: ; in Loop: Header=BB0_5 Depth=1
mov x28, #0 ; =0x0
LBB0_18: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
add x0, sp, #79
mov x1, x26
mov w2, #1 ; =0x1
bl _SPACE
cbz x0, LBB0_20
; %bb.19: ; in Loop: Header=BB0_18 Depth=2
ldrb w8, [x20, x28]
sxtw x9, w26
add x26, x9, #1
strb w8, [x27, x9]
strb wzr, [x27, x26]
; kill: def $w26 killed $w26 killed $x26 def $x26
LBB0_20: ; in Loop: Header=BB0_18 Depth=2
add x8, x28, #1
cmp x8, x21
b.ge LBB0_2
; %bb.21: ; in Loop: Header=BB0_18 Depth=2
add w9, w22, w28
add w9, w9, #1
mov x28, x8
cmp w9, w19
b.lt LBB0_18
b LBB0_2
LBB0_22: ; in Loop: Header=BB0_5 Depth=1
sxtw x1, w26
b LBB0_4
LBB0_23:
mov w25, #0 ; =0x0
LBB0_24:
ldur x8, [x29, #-96]
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_26
; %bb.25:
mov x0, x25
ldp x29, x30, [sp, #464] ; 16-byte Folded Reload
ldp x20, x19, [sp, #448] ; 16-byte Folded Reload
ldp x22, x21, [sp, #432] ; 16-byte Folded Reload
ldp x24, x23, [sp, #416] ; 16-byte Folded Reload
ldp x26, x25, [sp, #400] ; 16-byte Folded Reload
ldp x28, x27, [sp, #384] ; 16-byte Folded Reload
add sp, sp, #480
ret
LBB0_26:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%*s%04x - "
l_.str.1: ; @.str.1
.space 1
l_.str.2: ; @.str.2
.asciz " "
l_.str.3: ; @.str.3
.asciz "%02x%c"
l_.str.4: ; @.str.4
.asciz " "
.comm _os_toascii,8,3 ; @os_toascii
.comm _os_toebcdic,8,3 ; @os_toebcdic
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _coap_debug_set_packet_loss ## -- Begin function coap_debug_set_packet_loss
.p2align 4, 0x90
_coap_debug_set_packet_loss: ## @coap_debug_set_packet_loss
.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 $0, -48(%rbp)
leaq -48(%rbp), %rsi
movl $10, %edx
callq _strtol
movq -48(%rbp), %rcx
cmpq %rbx, %rcx
sete %dl
testl %eax, %eax
sets %sil
xorl %r14d, %r14d
testb %sil, %dl
jne LBB0_15
## %bb.1:
cmpb $37, (%rcx)
jne LBB0_3
## %bb.2:
cmpl $100, %eax
movl $100, %edx
cmovll %eax, %edx
movl %edx, %eax
shll $16, %eax
cltq
imulq $1374389535, %rax, %rax ## imm = 0x51EB851F
movq %rax, %rcx
shrq $63, %rcx
sarq $37, %rax
addl %ecx, %eax
movq _packet_loss_level@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movq _LOG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
callq _coap_log
LBB0_12:
movq _send_packet_count@GOTPCREL(%rip), %rax
movq $0, (%rax)
movl $1, %r14d
jmp LBB0_15
LBB0_3:
testl %eax, %eax
jle LBB0_15
## %bb.4:
xorl %r12d, %r12d
movq _packet_loss_intervals@GOTPCREL(%rip), %r13
leaq -48(%rbp), %rbx
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq (%r13), %rdx
movl %eax, (%rdx,%r12,8)
cmpb $45, (%rcx)
jne LBB0_9
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movq %rcx, %r15
decq %r15
movq %r15, %rdi
movq %rbx, %rsi
movl $10, %edx
callq _strtol
movq -48(%rbp), %rcx
xorl %r14d, %r14d
cmpq %r15, %rcx
je LBB0_15
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
testl %eax, %eax
jle LBB0_15
## %bb.8: ## in Loop: Header=BB0_5 Depth=1
movq (%r13), %rdx
LBB0_9: ## in Loop: Header=BB0_5 Depth=1
movl %eax, 4(%rdx,%r12,8)
movzbl (%rcx), %eax
xorl %r14d, %r14d
cmpl $44, %eax
jne LBB0_10
## %bb.13: ## in Loop: Header=BB0_5 Depth=1
movq %rcx, %r15
incq %r15
movq %r15, %rdi
movq %rbx, %rsi
movl $10, %edx
callq _strtol
movq -48(%rbp), %rcx
cmpq %r15, %rcx
je LBB0_15
## %bb.14: ## in Loop: Header=BB0_5 Depth=1
decq %r12
testl %eax, %eax
jg LBB0_5
jmp LBB0_15
LBB0_10:
testl %eax, %eax
jne LBB0_15
## %bb.11:
decl %r12d
movq _num_packet_loss_intervals@GOTPCREL(%rip), %rax
movl %r12d, (%rax)
jmp LBB0_12
LBB0_15:
movl %r14d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _packet_loss_level,4,2 ## @packet_loss_level
.comm _LOG_DEBUG,4,2 ## @LOG_DEBUG
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "packet loss level set to %d%%\n"
.comm _packet_loss_intervals,8,3 ## @packet_loss_intervals
.comm _num_packet_loss_intervals,4,2 ## @num_packet_loss_intervals
.comm _send_packet_count,8,3 ## @send_packet_count
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _coap_debug_set_packet_loss ; -- Begin function coap_debug_set_packet_loss
.p2align 2
_coap_debug_set_packet_loss: ; @coap_debug_set_packet_loss
.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
str xzr, [sp, #8]
add x1, sp, #8
mov w2, #10 ; =0xa
bl _strtol
; kill: def $w0 killed $w0 killed $x0 def $x0
ldr x10, [sp, #8]
cmp x10, x19
b.ne LBB0_3
; %bb.1:
tbz w0, #31, LBB0_3
LBB0_2:
mov w8, #0 ; =0x0
b LBB0_6
LBB0_3:
ldrb w8, [x10]
cmp w8, #37
b.ne LBB0_7
; %bb.4:
mov w8, #100 ; =0x64
cmp w0, #100
csel w2, w0, w8, lt
lsl w8, w2, #16
mov w9, #34079 ; =0x851f
movk w9, #20971, lsl #16
smull x8, w8, w9
lsr x9, x8, #63
asr x8, x8, #37
add w8, w8, w9
Lloh0:
adrp x9, _packet_loss_level@GOTPAGE
Lloh1:
ldr x9, [x9, _packet_loss_level@GOTPAGEOFF]
Lloh2:
str w8, [x9]
Lloh3:
adrp x8, _LOG_DEBUG@GOTPAGE
Lloh4:
ldr x8, [x8, _LOG_DEBUG@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
Lloh6:
adrp x1, l_.str@PAGE
Lloh7:
add x1, x1, l_.str@PAGEOFF
bl _coap_log
LBB0_5:
Lloh8:
adrp x8, _send_packet_count@GOTPAGE
Lloh9:
ldr x8, [x8, _send_packet_count@GOTPAGEOFF]
Lloh10:
str xzr, [x8]
mov w8, #1 ; =0x1
LBB0_6:
mov 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_7:
cmp w0, #1
b.lt LBB0_2
; %bb.8:
mov x21, #0 ; =0x0
mov w20, #-1 ; =0xffffffff
Lloh11:
adrp x22, _packet_loss_intervals@GOTPAGE
Lloh12:
ldr x22, [x22, _packet_loss_intervals@GOTPAGEOFF]
LBB0_9: ; =>This Inner Loop Header: Depth=1
ldr x8, [x22]
str w0, [x8, x21]
ldrb w9, [x10]
cmp w9, #45
b.ne LBB0_12
; %bb.10: ; in Loop: Header=BB0_9 Depth=1
sub x19, x10, #1
add x1, sp, #8
mov x0, x19
mov w2, #10 ; =0xa
bl _strtol
ldr x10, [sp, #8]
cmp x10, x19
ccmp w0, #1, #8, ne
b.lt LBB0_2
; %bb.11: ; in Loop: Header=BB0_9 Depth=1
ldr x8, [x22]
LBB0_12: ; in Loop: Header=BB0_9 Depth=1
add x8, x8, x21
str w0, [x8, #4]
ldrb w8, [x10]
cmp w8, #44
b.ne LBB0_15
; %bb.13: ; in Loop: Header=BB0_9 Depth=1
add x19, x10, #1
add x1, sp, #8
mov x0, x19
mov w2, #10 ; =0xa
bl _strtol
mov w8, #0 ; =0x0
ldr x10, [sp, #8]
cmp x10, x19
b.eq LBB0_6
; %bb.14: ; in Loop: Header=BB0_9 Depth=1
mov x9, x0
sub x21, x21, #8
sub w20, w20, #1
cmp w9, #1
b.ge LBB0_9
b LBB0_6
LBB0_15:
cbnz w8, LBB0_2
; %bb.16:
Lloh13:
adrp x8, _num_packet_loss_intervals@GOTPAGE
Lloh14:
ldr x8, [x8, _num_packet_loss_intervals@GOTPAGEOFF]
Lloh15:
str w20, [x8]
b LBB0_5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotStr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotStr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGotStr Lloh13, Lloh14, Lloh15
.cfi_endproc
; -- End function
.comm _packet_loss_level,4,2 ; @packet_loss_level
.comm _LOG_DEBUG,4,2 ; @LOG_DEBUG
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "packet loss level set to %d%%\n"
.comm _packet_loss_intervals,8,3 ; @packet_loss_intervals
.comm _num_packet_loss_intervals,4,2 ; @num_packet_loss_intervals
.comm _send_packet_count,8,3 ; @send_packet_count
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ## -- Begin function stb_sha1
LCPI0_0:
.long 1732584193 ## 0x67452301
.long 4023233417 ## 0xefcdab89
.long 2562383102 ## 0x98badcfe
.long 271733878 ## 0x10325476
.section __TEXT,__text,regular,pure_instructions
.globl _stb_sha1
.p2align 4, 0x90
_stb_sha1: ## @stb_sha1
.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 $184, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r14d
movq %rdi, %rbx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movaps LCPI0_0(%rip), %xmm0 ## xmm0 = [1732584193,4023233417,2562383102,271733878]
movaps %xmm0, -208(%rbp)
movl $-1009589776, -192(%rbp) ## imm = 0xC3D2E1F0
movl %edx, %eax
orl $-64, %eax
leal 9(%r14), %ecx
movl %ecx, %edx
andl $-64, %edx
cmpl %eax, %edx
movl $-128, %r15d
cmovnel %eax, %r15d
leal 128(%r15), %eax
xorl %edi, %edi
movl %eax, -212(%rbp) ## 4-byte Spill
cmpl %ecx, %eax
setge %dil
callq _assert
cmpl $55, %r14d
setl %al
movl %r15d, %r13d
negl %r13d
xorl %r12d, %r12d
cmpl %r14d, %r15d
setle %cl
cmovgl %r13d, %r12d
andb %al, %cl
movzbl %cl, %edi
callq _assert
movb $-128, -176(%rbp,%r12)
cmpl $121, %r12d
ja LBB0_1
## %bb.2:
leaq (%r12,%rbp), %rdi
addq $-175, %rdi
movl $122, %r13d
movl $122, %esi
subl %r12d, %esi
callq ___bzero
movl $123, %r12d
jmp LBB0_3
LBB0_1:
incl %r12d
LBB0_3:
movl %r14d, %eax
sarl $29, %eax
movl %r13d, %ecx
movl %r12d, %edx
movb %al, -176(%rbp,%rdx)
movl %r14d, %eax
shrl $21, %eax
leaq -176(%rbp), %rdx
movb %al, 2(%rcx,%rdx)
movl %r14d, %eax
shrl $13, %eax
movb %al, 3(%rcx,%rdx)
movl %r14d, %eax
shrl $5, %eax
movb %al, 4(%rcx,%rdx)
shlb $3, %r14b
movb %r14b, 5(%rcx,%rdx)
xorl %edi, %edi
cmpl $122, %r13d
sete %dil
callq _assert
movl -212(%rbp), %eax ## 4-byte Reload
testl %eax, %eax
je LBB0_4
## %bb.8:
movl %eax, %r12d
movslq %r15d, %rax
negq %rax
leaq (%rax,%rbp), %r15
addq $-176, %r15
xorl %r13d, %r13d
leaq -208(%rbp), %r14
.p2align 4, 0x90
LBB0_9: ## =>This Inner Loop Header: Depth=1
leaq (%r15,%r13), %rdi
addq $64, %r13
movq %r14, %rsi
callq _stb__sha1
cmpq %r12, %r13
jb LBB0_9
## %bb.5:
movl -208(%rbp), %ecx
movl -204(%rbp), %eax
movl -200(%rbp), %edx
movl -196(%rbp), %r8d
movl -192(%rbp), %edi
jmp LBB0_6
LBB0_4:
movl $1732584193, %ecx ## imm = 0x67452301
movl $-271733879, %eax ## imm = 0xEFCDAB89
movl $-1732584194, %edx ## imm = 0x98BADCFE
movl $271733878, %r8d ## imm = 0x10325476
movl $-1009589776, %edi ## imm = 0xC3D2E1F0
LBB0_6:
movl %ecx, %esi
shrl $24, %esi
movb %sil, (%rbx)
movl %ecx, %esi
shrl $16, %esi
movb %sil, 1(%rbx)
movb %ch, 2(%rbx)
movb %cl, 3(%rbx)
movl %eax, %ecx
shrl $24, %ecx
movb %cl, 4(%rbx)
movl %eax, %ecx
shrl $16, %ecx
movb %cl, 5(%rbx)
movb %ah, 6(%rbx)
movb %al, 7(%rbx)
movl %edx, %eax
shrl $24, %eax
movb %al, 8(%rbx)
movl %edx, %eax
shrl $16, %eax
movb %al, 9(%rbx)
movb %dh, 10(%rbx)
movb %dl, 11(%rbx)
movl %r8d, %ecx
movl %r8d, %eax
shrl $24, %eax
movb %al, 12(%rbx)
movl %r8d, %eax
shrl $16, %eax
movb %al, 13(%rbx)
movb %ch, 14(%rbx)
movb %cl, 15(%rbx)
movl %edi, %ecx
movl %edi, %eax
shrl $24, %eax
movb %al, 16(%rbx)
movl %edi, %eax
shrl $16, %eax
movb %al, 17(%rbx)
movb %ch, 18(%rbx)
movb %cl, 19(%rbx)
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_10
## %bb.7:
addq $184, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_10:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ; -- Begin function stb_sha1
lCPI0_0:
.long 1732584193 ; 0x67452301
.long 4023233417 ; 0xefcdab89
.long 2562383102 ; 0x98badcfe
.long 271733878 ; 0x10325476
.section __TEXT,__text,regular,pure_instructions
.globl _stb_sha1
.p2align 2
_stb_sha1: ; @stb_sha1
.cfi_startproc
; %bb.0:
sub sp, sp, #240
stp x26, x25, [sp, #160] ; 16-byte Folded Spill
stp x24, x23, [sp, #176] ; 16-byte Folded Spill
stp x22, x21, [sp, #192] ; 16-byte Folded Spill
stp x20, x19, [sp, #208] ; 16-byte Folded Spill
stp x29, x30, [sp, #224] ; 16-byte Folded Spill
add x29, sp, #224
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x20, x2
mov 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]
mov w21, #57840 ; =0xe1f0
movk w21, #50130, lsl #16
Lloh3:
adrp x8, lCPI0_0@PAGE
Lloh4:
ldr q0, [x8, lCPI0_0@PAGEOFF]
str q0, [sp]
str w21, [sp, #16]
orr w8, w2, #0xffffffc0
add w9, w2, #9
and w10, w9, #0xffffffc0
mov w11, #-128 ; =0xffffff80
cmp w10, w8
csel w23, w11, w8, eq
add w22, w23, #128
cmp w22, w9
cset w0, ge
bl _assert
cmp w20, #55
cset w8, lt
cmp w23, w20
csel w0, wzr, w8, gt
csneg w26, wzr, w23, le
bl _assert
add x24, sp, #24
mov w8, #128 ; =0x80
strb w8, [x24, x26]
cmp w26, #121
b.hi LBB0_2
; %bb.1:
add x8, x24, x26
mov w25, #122 ; =0x7a
sub w1, w25, w26
add x0, x8, #1
bl _bzero
mov w8, #123 ; =0x7b
b LBB0_3
LBB0_2:
neg w25, w23
add w8, w26, #1
LBB0_3:
asr w9, w20, #29
strb w9, [x24, w8, uxtw]
lsr w8, w20, #21
add x9, x24, w25, uxtw
strb w8, [x9, #2]
lsr w8, w20, #13
strb w8, [x9, #3]
lsr w8, w20, #5
strb w8, [x9, #4]
lsl w8, w20, #3
strb w8, [x9, #5]
cmp w25, #122
cset w0, eq
bl _assert
cbz w22, LBB0_7
; %bb.4:
sxtw x8, w23
add x9, sp, #24
sub x20, x9, x8
mov x1, sp
mov x0, x20
bl _stb__sha1
cmp w22, #64
b.ls LBB0_6
; %bb.5:
add x0, x20, #64
mov x1, sp
bl _stb__sha1
LBB0_6:
ldp w11, w10, [sp]
ldp w9, w8, [sp, #8]
ldr w21, [sp, #16]
b LBB0_8
LBB0_7:
mov w11, #8961 ; =0x2301
movk w11, #26437, lsl #16
mov w10, #43913 ; =0xab89
movk w10, #61389, lsl #16
mov w9, #56574 ; =0xdcfe
movk w9, #39098, lsl #16
mov w8, #21622 ; =0x5476
movk w8, #4146, lsl #16
LBB0_8:
lsr w12, w11, #24
strb w12, [x19]
lsr w12, w11, #16
strb w12, [x19, #1]
lsr w12, w11, #8
strb w12, [x19, #2]
strb w11, [x19, #3]
lsr w11, w10, #24
strb w11, [x19, #4]
lsr w11, w10, #16
strb w11, [x19, #5]
lsr w11, w10, #8
strb w11, [x19, #6]
strb w10, [x19, #7]
lsr w10, w9, #24
strb w10, [x19, #8]
lsr w10, w9, #16
strb w10, [x19, #9]
lsr w10, w9, #8
strb w10, [x19, #10]
strb w9, [x19, #11]
lsr w9, w8, #24
strb w9, [x19, #12]
lsr w9, w8, #16
strb w9, [x19, #13]
lsr w9, w8, #8
strb w9, [x19, #14]
strb w8, [x19, #15]
lsr w8, w21, #24
strb w8, [x19, #16]
lsr w8, w21, #16
strb w8, [x19, #17]
lsr w8, w21, #8
strb w8, [x19, #18]
strb w21, [x19, #19]
Lloh5:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh6:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
ldr x8, [x8]
ldur x9, [x29, #-72]
cmp x8, x9
b.ne LBB0_10
; %bb.9:
ldp x29, x30, [sp, #224] ; 16-byte Folded Reload
ldp x20, x19, [sp, #208] ; 16-byte Folded Reload
ldp x22, x21, [sp, #192] ; 16-byte Folded Reload
ldp x24, x23, [sp, #176] ; 16-byte Folded Reload
ldp x26, x25, [sp, #160] ; 16-byte Folded Reload
add sp, sp, #240
ret
LBB0_10:
bl ___stack_chk_fail
.loh AdrpLdr Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function zip_decompress
_zip_decompress: ## @zip_decompress
.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
testq %rcx, %rcx
je LBB0_11
## %bb.1:
testq %rdx, %rdx
je LBB0_11
## %bb.2:
movq %rdi, %r13
testq %rdi, %rdi
je LBB0_11
## %bb.3:
movq %r8, %rbx
testq %r8, %r8
je LBB0_11
## %bb.4:
movq %rcx, %r14
movl %esi, %r12d
movq %rdx, -56(%rbp) ## 8-byte Spill
xorl %r15d, %r15d
xorl %eax, %eax
callq _zip_get_node_id
movl %eax, %edi
callq _zip_get_device
testq %rax, %rax
je LBB0_12
## %bb.5:
movq %rax, -48(%rbp) ## 8-byte Spill
movq _GFP_ATOMIC@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $4, %edi
callq _kzalloc
testq %rax, %rax
je LBB0_11
## %bb.6:
movq %rax, %r15
movq 24(%rbx), %rdi
movq %r13, %rsi
movl %r12d, %edx
callq _memcpy
cmpl $3, (%rbx)
je LBB0_8
## %bb.7:
movq 24(%rbx), %rax
movl %r12d, %ecx
incl %r12d
movq $0, (%rax,%rcx,8)
LBB0_8:
movq -48(%rbp), %rdx ## 8-byte Reload
movl %r12d, 4(%rbx)
movl (%r14), %eax
movl %eax, 8(%rbx)
movq %rbx, %rdi
movq %r15, %rsi
callq _zip_inflate
movq %r15, %r12
movl %eax, %r15d
testl %eax, %eax
jne LBB0_10
## %bb.9:
movl 8(%rbx), %edx
movl %edx, (%r14)
movq 16(%rbx), %rsi
movq -56(%rbp), %rdi ## 8-byte Reload
callq _memcpy
LBB0_10:
movq %r12, %rdi
callq _kfree
jmp LBB0_14
LBB0_11:
movq _ENOMEM@GOTPCREL(%rip), %rax
xorl %r15d, %r15d
jmp LBB0_13
LBB0_12:
movq _ENODEV@GOTPCREL(%rip), %rax
LBB0_13:
subl (%rax), %r15d
LBB0_14:
movl %r15d, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _ENODEV,4,2 ## @ENODEV
.comm _GFP_ATOMIC,4,2 ## @GFP_ATOMIC
.no_dead_strip _zip_decompress
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function zip_decompress
_zip_decompress: ; @zip_decompress
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
cbz x3, LBB0_11
; %bb.1:
cbz x2, LBB0_11
; %bb.2:
cbz x0, LBB0_11
; %bb.3:
mov x19, x4
cbz x4, LBB0_11
; %bb.4:
mov x20, x3
mov x22, x1
mov x25, x0
mov x21, x2
bl _zip_get_node_id
bl _zip_get_device
cbz x0, LBB0_12
; %bb.5:
mov x24, x0
Lloh0:
adrp x8, _GFP_ATOMIC@GOTPAGE
Lloh1:
ldr x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov w0, #4 ; =0x4
bl _kzalloc
cbz x0, LBB0_11
; %bb.6:
mov x23, x0
ldr x0, [x19, #24]
mov x1, x25
mov x2, x22
bl _memcpy
ldr w8, [x19]
cmp w8, #3
b.eq LBB0_8
; %bb.7:
ldr x8, [x19, #24]
str xzr, [x8, w22, uxtw #3]
add w22, w22, #1
LBB0_8:
str w22, [x19, #4]
ldr w8, [x20]
str w8, [x19, #8]
mov x0, x19
mov x1, x23
mov x2, x24
bl _zip_inflate
mov x22, x0
cbnz w0, LBB0_10
; %bb.9:
ldr w2, [x19, #8]
str w2, [x20]
ldr x1, [x19, #16]
mov x0, x21
bl _memcpy
LBB0_10:
mov x0, x23
bl _kfree
mov x0, x22
b LBB0_14
LBB0_11:
Lloh3:
adrp x8, _ENOMEM@GOTPAGE
Lloh4:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
b LBB0_13
LBB0_12:
Lloh5:
adrp x8, _ENODEV@GOTPAGE
Lloh6:
ldr x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_13:
ldr w8, [x8]
neg w0, w8
LBB0_14:
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 AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGot Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _ENODEV,4,2 ; @ENODEV
.comm _GFP_ATOMIC,4,2 ; @GFP_ATOMIC
.no_dead_strip _zip_decompress
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function parse_list
_parse_list: ## @parse_list
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %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
## kill: def $r8d killed $r8d def $r8
movq %rdx, -56(%rbp) ## 8-byte Spill
movl %esi, -80(%rbp) ## 4-byte Spill
movq %rdi, -96(%rbp) ## 8-byte Spill
movq %r9, -72(%rbp) ## 8-byte Spill
movl $-1, (%r9)
testl %ecx, %ecx
je LBB0_1
## %bb.2:
movl %ecx, %r14d
leal 1(%r8), %eax
movl %eax, -60(%rbp) ## 4-byte Spill
xorl %eax, %eax
movq %r8, -88(%rbp) ## 8-byte Spill
testl %r8d, %r8d
sete %al
leal (%rax,%rax,8), %eax
addl $35, %eax
movl %eax, -76(%rbp) ## 4-byte Spill
xorl %r12d, %r12d
movl $2147483647, -64(%rbp) ## 4-byte Folded Spill
## imm = 0x7FFFFFFF
xorl %ebx, %ebx
xorl %r13d, %r13d
movl $0, -48(%rbp) ## 4-byte Folded Spill
movl $0, -44(%rbp) ## 4-byte Folded Spill
jmp LBB0_3
.p2align 4, 0x90
LBB0_26: ## in Loop: Header=BB0_3 Depth=1
movl %r14d, -64(%rbp) ## 4-byte Spill
incq %r12
incl %r13d
leal -1(%r15), %r14d
cmpl $1, %r15d
jle LBB0_27
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_13 Depth 2
leaq -16(%r12), %rax
cmpq %rbx, %rax
jb LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movslq %r14d, %rax
addq %r12, %rax
cmpq %rax, %rbx
jae LBB0_6
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movq -56(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rdi
movl %r13d, %esi
callq _advance_read_ptr
cmpl $16, %r14d
movl $16, %esi
cmovll %r14d, %esi
movq %rbx, %rdi
callq _force_ready_bytes
movq %rbx, %rdi
callq _get_read_ptr
movq %rax, %r12
movq %rbx, %rdi
callq _get_ready_bytes
cmpl %r14d, %eax
cmovgel %r14d, %eax
movslq %eax, %rbx
addq %r12, %rbx
xorl %r13d, %r13d
LBB0_6: ## in Loop: Header=BB0_3 Depth=1
xorl %edi, %edi
cmpq %rbx, %r12
setb %dil
callq _assert
movzbl (%r12), %eax
movl $2147483647, %ecx ## imm = 0x7FFFFFFF
cmpb $45, %al
jne LBB0_9
## %bb.7: ## in Loop: Header=BB0_3 Depth=1
leaq 1(%r12), %rdx
cmpq %rbx, %rdx
jae LBB0_9
## %bb.8: ## in Loop: Header=BB0_3 Depth=1
incl %r13d
decl %r14d
movzbl -1(%r12), %eax
decq %r12
movl $2147483648, %ecx ## imm = 0x80000000
LBB0_9: ## in Loop: Header=BB0_3 Depth=1
movl %r14d, %r15d
addb $-58, %al
cmpb $-10, %al
movl -64(%rbp), %r14d ## 4-byte Reload
jb LBB0_32
## %bb.10: ## in Loop: Header=BB0_3 Depth=1
cmpq %rbx, %r12
jae LBB0_11
## %bb.12: ## in Loop: Header=BB0_3 Depth=1
leal (%r15,%r12), %edx
subl %ebx, %edx
movq %rbx, %rsi
subq %r12, %rsi
leal (%rbx,%r13), %edi
subl %r12d, %edi
xorl %eax, %eax
.p2align 4, 0x90
LBB0_13: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movzbl (%r12), %r8d
addb $-48, %r8b
cmpb $9, %r8b
ja LBB0_17
## %bb.14: ## in Loop: Header=BB0_13 Depth=2
leaq (%rax,%rax,4), %rax
movzbl %r8b, %r8d
leaq (%r8,%rax,2), %rax
cmpq %rcx, %rax
jg LBB0_32
## %bb.15: ## in Loop: Header=BB0_13 Depth=2
incq %r12
incl %r13d
decl %r15d
decq %rsi
jne LBB0_13
## %bb.16: ## in Loop: Header=BB0_3 Depth=1
movl %edx, %r15d
movq %rbx, %r12
movl %edi, %r13d
jmp LBB0_17
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_3 Depth=1
xorl %eax, %eax
LBB0_17: ## in Loop: Header=BB0_3 Depth=1
movl -48(%rbp), %ecx ## 4-byte Reload
cmpl -80(%rbp), %ecx ## 4-byte Folded Reload
jge LBB0_32
## %bb.18: ## in Loop: Header=BB0_3 Depth=1
testl %r15d, %r15d
jle LBB0_20
## %bb.19: ## in Loop: Header=BB0_3 Depth=1
cmpq %rbx, %r12
je LBB0_32
LBB0_20: ## in Loop: Header=BB0_3 Depth=1
testl %r15d, %r15d
jle LBB0_33
## %bb.21: ## in Loop: Header=BB0_3 Depth=1
movsbl (%r12), %ecx
cmpl $0, -44(%rbp) ## 4-byte Folded Reload
je LBB0_29
## %bb.22: ## in Loop: Header=BB0_3 Depth=1
cmpl -60(%rbp), %r14d ## 4-byte Folded Reload
movl $58, %edx
movl $35, %esi
cmovel %esi, %edx
cmpl $1, %r14d
movl $44, %esi
cmovel %esi, %edx
movl $1, -44(%rbp) ## 4-byte Folded Spill
cmpl %ecx, %edx
je LBB0_23
jmp LBB0_32
.p2align 4, 0x90
LBB0_33: ## in Loop: Header=BB0_3 Depth=1
movl -44(%rbp), %ecx ## 4-byte Reload
orl -88(%rbp), %ecx ## 4-byte Folded Reload
jne LBB0_35
## %bb.34: ## in Loop: Header=BB0_3 Depth=1
movl $-2147483648, %ecx ## imm = 0x80000000
subl %r14d, %ecx
movq -72(%rbp), %rdx ## 8-byte Reload
movl %ecx, (%rdx)
movl $1, %r14d
movl $1, -44(%rbp) ## 4-byte Folded Spill
LBB0_35: ## in Loop: Header=BB0_3 Depth=1
movl -48(%rbp), %edx ## 4-byte Reload
movl %edx, %ecx
incl %edx
movl %edx, -48(%rbp) ## 4-byte Spill
movq -96(%rbp), %rdx ## 8-byte Reload
movl %eax, (%rdx,%rcx,4)
testl %r15d, %r15d
jne LBB0_24
jmp LBB0_36
LBB0_29: ## in Loop: Header=BB0_3 Depth=1
cmpl %ecx, -76(%rbp) ## 4-byte Folded Reload
jne LBB0_31
## %bb.30: ## in Loop: Header=BB0_3 Depth=1
movl $-2147483648, %ecx ## imm = 0x80000000
subl %r14d, %ecx
movq -72(%rbp), %rdx ## 8-byte Reload
movl %ecx, (%rdx)
movl $1, -44(%rbp) ## 4-byte Folded Spill
movl -60(%rbp), %r14d ## 4-byte Reload
jmp LBB0_23
LBB0_31: ## in Loop: Header=BB0_3 Depth=1
movl $0, -44(%rbp) ## 4-byte Folded Spill
cmpb $58, %cl
jne LBB0_32
.p2align 4, 0x90
LBB0_23: ## in Loop: Header=BB0_3 Depth=1
movl -48(%rbp), %edx ## 4-byte Reload
movl %edx, %ecx
incl %edx
movl %edx, -48(%rbp) ## 4-byte Spill
movq -96(%rbp), %rdx ## 8-byte Reload
movl %eax, (%rdx,%rcx,4)
LBB0_24: ## in Loop: Header=BB0_3 Depth=1
cmpl -60(%rbp), %r14d ## 4-byte Folded Reload
movl $58, %eax
movl $35, %ecx
cmovel %ecx, %eax
cmpl $1, %r14d
movl $44, %ecx
cmovel %ecx, %eax
movsbl (%r12), %ecx
xorl %edi, %edi
cmpl %ecx, %eax
sete %dil
callq _assert
decl %r14d
jne LBB0_26
## %bb.25: ## in Loop: Header=BB0_3 Depth=1
movq -72(%rbp), %rax ## 8-byte Reload
movl (%rax), %r14d
addl -88(%rbp), %r14d ## 4-byte Folded Reload
jmp LBB0_26
LBB0_32:
addl %r15d, %r13d
movq -56(%rbp), %rdi ## 8-byte Reload
movl %r13d, %esi
callq _advance_skip_read_ptr
movl $-1, %eax
jmp LBB0_37
LBB0_1:
xorl %eax, %eax
LBB0_37:
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_27:
xorl %edi, %edi
testl %r14d, %r14d
sete %dil
callq _assert
movq -56(%rbp), %rdi ## 8-byte Reload
movl %r13d, %esi
callq _advance_read_ptr
movl $-1, %eax
jmp LBB0_37
LBB0_36:
movq -56(%rbp), %rdi ## 8-byte Reload
movl %r13d, %esi
callq _advance_read_ptr
cmpl $1, %r14d
movl $-1, %eax
cmovel -48(%rbp), %eax ## 4-byte Folded Reload
jmp LBB0_37
.cfi_endproc
## -- End function
.comm _MAX_INT,4,2 ## @MAX_INT
.no_dead_strip _parse_list
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function parse_list
_parse_list: ; @parse_list
.cfi_startproc
; %bb.0:
sub sp, sp, #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
str w1, [sp, #24] ; 4-byte Folded Spill
str x0, [sp, #16] ; 8-byte Folded Spill
mov w8, #-1 ; =0xffffffff
str w8, [x5]
cbz w3, LBB0_38
; %bb.1:
mov x28, x5
mov x20, x3
mov x19, x2
mov x26, #0 ; =0x0
mov x21, #0 ; =0x0
mov w25, #0 ; =0x0
mov w22, #0 ; =0x0
mov w27, #0 ; =0x0
add w8, w4, #1
str w8, [sp, #28] ; 4-byte Folded Spill
mov w8, #35 ; =0x23
mov w9, #44 ; =0x2c
cmp w4, #0
csel w8, w9, w8, eq
stp w8, w4, [sp, #8] ; 8-byte Folded Spill
mov w24, #2147483647 ; =0x7fffffff
mov w23, #10 ; =0xa
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add w25, w25, #1
subs w20, w20, #1
b.le LBB0_40
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_12 Depth 2
sub x8, x26, #16
cmp x8, x21
b.lo LBB0_6
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
add x8, x26, w20, sxtw
cmp x21, x8
b.hs LBB0_6
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
mov x0, x19
mov x1, x25
bl _advance_read_ptr
cmp w20, #16
mov w8, #16 ; =0x10
csel w1, w20, w8, lt
mov x0, x19
bl _force_ready_bytes
mov x0, x19
bl _get_read_ptr
mov x26, x0
mov x0, x19
bl _get_ready_bytes
mov w25, #0 ; =0x0
cmp w0, w20
csel w8, w0, w20, lt
add x21, x26, w8, sxtw
LBB0_6: ; in Loop: Header=BB0_3 Depth=1
cmp x26, x21
cset w0, lo
bl _assert
mov x9, x26
ldrb w8, [x9], #1
cmp w8, #45
ccmp x9, x21, #2, eq
b.lo LBB0_8
; %bb.7: ; in Loop: Header=BB0_3 Depth=1
mov w9, #2147483647 ; =0x7fffffff
b LBB0_9
LBB0_8: ; in Loop: Header=BB0_3 Depth=1
ldrb w8, [x26, #-1]!
add w25, w25, #1
sub w20, w20, #1
mov w9, #-2147483648 ; =0x80000000
LBB0_9: ; in Loop: Header=BB0_3 Depth=1
sub w8, w8, #58
cmn w8, #10
b.lo LBB0_36
; %bb.10: ; in Loop: Header=BB0_3 Depth=1
cmp x26, x21
b.hs LBB0_16
; %bb.11: ; in Loop: Header=BB0_3 Depth=1
mov x8, #0 ; =0x0
add w10, w20, w26
sub w10, w10, w21
sub x11, x21, x26
add w12, w25, w21
sub w12, w12, w26
LBB0_12: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w13, [x26]
sub w13, w13, #48
cmp w13, #9
b.hi LBB0_17
; %bb.13: ; in Loop: Header=BB0_12 Depth=2
mul x8, x8, x23
add x8, x8, w13, uxtb
cmp x8, x9
b.gt LBB0_36
; %bb.14: ; in Loop: Header=BB0_12 Depth=2
add x26, x26, #1
add w25, w25, #1
sub w20, w20, #1
subs x11, x11, #1
b.ne LBB0_12
; %bb.15: ; in Loop: Header=BB0_3 Depth=1
mov x20, x10
mov x26, x21
mov x25, x12
b LBB0_17
LBB0_16: ; in Loop: Header=BB0_3 Depth=1
mov x8, #0 ; =0x0
LBB0_17: ; in Loop: Header=BB0_3 Depth=1
ldr w9, [sp, #24] ; 4-byte Folded Reload
cmp w22, w9
b.ge LBB0_36
; %bb.18: ; in Loop: Header=BB0_3 Depth=1
cmp w20, #1
b.lt LBB0_20
; %bb.19: ; in Loop: Header=BB0_3 Depth=1
cmp x26, x21
b.eq LBB0_36
LBB0_20: ; in Loop: Header=BB0_3 Depth=1
cmp w20, #1
b.lt LBB0_24
; %bb.21: ; in Loop: Header=BB0_3 Depth=1
ldrsb w9, [x26]
cbz w27, LBB0_26
; %bb.22: ; in Loop: Header=BB0_3 Depth=1
ldr w10, [sp, #28] ; 4-byte Folded Reload
cmp w24, w10
mov w10, #35 ; =0x23
mov w11, #58 ; =0x3a
csel w10, w10, w11, eq
cmp w24, #1
mov w11, #44 ; =0x2c
csel w10, w11, w10, eq
cmp w10, w9
b.ne LBB0_36
; %bb.23: ; in Loop: Header=BB0_3 Depth=1
mov w27, #1 ; =0x1
b LBB0_33
LBB0_24: ; in Loop: Header=BB0_3 Depth=1
ldr w9, [sp, #12] ; 4-byte Folded Reload
orr w9, w27, w9
cbz w9, LBB0_28
; %bb.25: ; in Loop: Header=BB0_3 Depth=1
mov x10, x28
b LBB0_29
LBB0_26: ; in Loop: Header=BB0_3 Depth=1
ldr w10, [sp, #8] ; 4-byte Folded Reload
cmp w10, w9
b.ne LBB0_31
; %bb.27: ; in Loop: Header=BB0_3 Depth=1
mov w9, #-2147483648 ; =0x80000000
sub w9, w9, w24
str w9, [x28]
mov w27, #1 ; =0x1
ldr w24, [sp, #28] ; 4-byte Folded Reload
b LBB0_33
LBB0_28: ; in Loop: Header=BB0_3 Depth=1
mov w9, #-2147483648 ; =0x80000000
sub w9, w9, w24
mov x10, x28
str w9, [x28]
mov w24, #1 ; =0x1
mov w27, #1 ; =0x1
LBB0_29: ; in Loop: Header=BB0_3 Depth=1
add w28, w22, #1
ldr x9, [sp, #16] ; 8-byte Folded Reload
str w8, [x9, w22, uxtw #2]
cbz w20, LBB0_41
; %bb.30: ; in Loop: Header=BB0_3 Depth=1
mov x22, x28
mov x28, x10
b LBB0_34
LBB0_31: ; in Loop: Header=BB0_3 Depth=1
cmp w9, #58
b.ne LBB0_36
; %bb.32: ; in Loop: Header=BB0_3 Depth=1
mov w27, #0 ; =0x0
LBB0_33: ; in Loop: Header=BB0_3 Depth=1
ldr x9, [sp, #16] ; 8-byte Folded Reload
str w8, [x9, w22, uxtw #2]
add w22, w22, #1
LBB0_34: ; in Loop: Header=BB0_3 Depth=1
ldrsb w8, [x26], #1
ldr w9, [sp, #28] ; 4-byte Folded Reload
cmp w24, w9
mov w9, #35 ; =0x23
mov w10, #58 ; =0x3a
csel w9, w9, w10, eq
subs w24, w24, #1
mov w10, #44 ; =0x2c
csel w9, w10, w9, eq
cmp w9, w8
cset w0, eq
bl _assert
cbnz w24, LBB0_2
; %bb.35: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [x28]
ldr w9, [sp, #12] ; 4-byte Folded Reload
add w24, w8, w9
b LBB0_2
LBB0_36:
add w1, w25, w20
mov x0, x19
bl _advance_skip_read_ptr
LBB0_37:
mov w0, #-1 ; =0xffffffff
b LBB0_39
LBB0_38:
mov w0, #0 ; =0x0
LBB0_39:
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_40:
cmp w20, #0
cset w0, eq
bl _assert
mov x0, x19
mov x1, x25
bl _advance_read_ptr
b LBB0_37
LBB0_41:
mov x0, x19
mov x1, x25
bl _advance_read_ptr
cmp w24, #1
csinv w0, w28, wzr, eq
b LBB0_39
.cfi_endproc
; -- End function
.comm _MAX_INT,4,2 ; @MAX_INT
.no_dead_strip _parse_list
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _sqlite3_normalize ## -- Begin function sqlite3_normalize
.p2align 4, 0x90
_sqlite3_normalize: ## @sqlite3_normalize
.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 %rdi, %r13
callq _strlen
leaq 2(%rax), %rdi
callq _sqlite3_malloc64
xorl %r15d, %r15d
testq %rax, %rax
je LBB0_29
## %bb.1:
movq %rax, %r12
cmpb $0, (%r13)
je LBB0_35
## %bb.2:
xorl %r15d, %r15d
movq %r13, %r14
xorl %ebx, %ebx
movq %r12, -88(%rbp) ## 8-byte Spill
movq %r13, -80(%rbp) ## 8-byte Spill
jmp LBB0_6
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_6 Depth=1
cmpl $131, %eax
je LBB0_3
## %bb.8: ## in Loop: Header=BB0_6 Depth=1
cmpl $132, %eax
je LBB0_39
LBB0_5: ## in Loop: Header=BB0_6 Depth=1
addl %edx, %ebx
movslq %ebx, %rax
leaq (%rax,%r13), %r14
cmpb $0, (%r13,%rax)
je LBB0_30
LBB0_6: ## =>This Loop Header: Depth=1
## Child Loop BB0_19 Depth 2
movq %r14, %rdi
leaq -68(%rbp), %rsi
callq _sqlite3GetToken
movl %eax, %edx
movl -68(%rbp), %eax
leal -129(%rax), %ecx
cmpl $2, %ecx
jae LBB0_7
## %bb.9: ## in Loop: Header=BB0_6 Depth=1
cmpl $4, %edx
movq %rdx, -48(%rbp) ## 8-byte Spill
jne LBB0_11
## %bb.10: ## in Loop: Header=BB0_6 Depth=1
movq %r14, %rdi
leaq L_.str(%rip), %rsi
movl $4, %edx
callq _sqlite3_strnicmp
movq -48(%rbp), %rdx ## 8-byte Reload
testl %eax, %eax
je LBB0_21
LBB0_11: ## in Loop: Header=BB0_6 Depth=1
testl %r15d, %r15d
jle LBB0_17
## %bb.12: ## in Loop: Header=BB0_6 Depth=1
movl %r15d, %eax
LBB0_13: ## in Loop: Header=BB0_6 Depth=1
movq %rax, -56(%rbp) ## 8-byte Spill
movsbl -1(%r12,%rax), %edi
callq _IdChar
testq %rax, %rax
je LBB0_16
## %bb.14: ## in Loop: Header=BB0_6 Depth=1
movsbl (%r14), %edi
callq _IdChar
testq %rax, %rax
je LBB0_16
## %bb.15: ## in Loop: Header=BB0_6 Depth=1
incl %r15d
movq -56(%rbp), %rax ## 8-byte Reload
movb $32, (%r12,%rax)
LBB0_16: ## in Loop: Header=BB0_6 Depth=1
movq -48(%rbp), %rdx ## 8-byte Reload
LBB0_17: ## in Loop: Header=BB0_6 Depth=1
testl %edx, %edx
js LBB0_5
## %bb.18: ## in Loop: Header=BB0_6 Depth=1
movslq %ebx, %r14
movq %r12, %rax
movq %r15, -56(%rbp) ## 8-byte Spill
movslq %r15d, %r12
leal 1(%rdx), %r15d
addq %r13, %r14
addq %rax, %r12
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_19: ## Parent Loop BB0_6 Depth=1
## => This Inner Loop Header: Depth=2
movsbl (%r14,%r13), %edi
callq _sqlite3Tolower
movb %al, (%r12,%r13)
incq %r13
cmpq %r13, %r15
jne LBB0_19
## %bb.20: ## in Loop: Header=BB0_6 Depth=1
movq -56(%rbp), %r15 ## 8-byte Reload
addl %r13d, %r15d
movq -88(%rbp), %r12 ## 8-byte Reload
movq -80(%rbp), %r13 ## 8-byte Reload
movq -48(%rbp), %rdx ## 8-byte Reload
jmp LBB0_5
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_6 Depth=1
movslq %r15d, %rax
decl %r15d
jmp LBB0_4
LBB0_21: ## in Loop: Header=BB0_6 Depth=1
cmpl $3, %r15d
jl LBB0_27
## %bb.22: ## in Loop: Header=BB0_6 Depth=1
movl %r15d, %eax
leaq (%r12,%rax), %rcx
movq %rcx, -64(%rbp) ## 8-byte Spill
movq %rax, -56(%rbp) ## 8-byte Spill
leaq (%r12,%rax), %rdi
addq $-2, %rdi
leaq L_.str.1(%rip), %rsi
movl $2, %edx
callq _strncmp
testq %rax, %rax
jne LBB0_24
## %bb.23: ## in Loop: Header=BB0_6 Depth=1
movq -64(%rbp), %rax ## 8-byte Reload
movsbl -3(%rax), %edi
callq _IdChar
testq %rax, %rax
je LBB0_28
LBB0_24: ## in Loop: Header=BB0_6 Depth=1
cmpl $3, %r15d
movq -48(%rbp), %rdx ## 8-byte Reload
je LBB0_27
## %bb.25: ## in Loop: Header=BB0_6 Depth=1
movq -64(%rbp), %rax ## 8-byte Reload
leaq -3(%rax), %rdi
leaq L_.str.2(%rip), %rsi
movl $3, %edx
callq _strncmp
movq -48(%rbp), %rdx ## 8-byte Reload
testq %rax, %rax
jne LBB0_27
## %bb.26: ## in Loop: Header=BB0_6 Depth=1
movq -64(%rbp), %rax ## 8-byte Reload
movsbl -4(%rax), %edi
callq _IdChar
movq -48(%rbp), %rdx ## 8-byte Reload
testq %rax, %rax
movq -56(%rbp), %rax ## 8-byte Reload
je LBB0_13
LBB0_27: ## in Loop: Header=BB0_6 Depth=1
movslq %r15d, %rax
incl %r15d
LBB0_4: ## in Loop: Header=BB0_6 Depth=1
movb $63, (%r12,%rax)
jmp LBB0_5
LBB0_28: ## in Loop: Header=BB0_6 Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
jmp LBB0_13
LBB0_30:
testl %r15d, %r15d
jle LBB0_35
## %bb.31:
movl %r15d, %eax
.p2align 4, 0x90
LBB0_32: ## =>This Inner Loop Header: Depth=1
movzbl -1(%r12,%rax), %ecx
cmpl $32, %ecx
jne LBB0_37
## %bb.33: ## in Loop: Header=BB0_32 Depth=1
leaq -1(%rax), %rcx
cmpq $1, %rax
movq %rcx, %rax
jg LBB0_32
## %bb.34:
xorl %r15d, %r15d
LBB0_35:
movslq %r15d, %rax
movb $0, (%r12,%rax)
jmp LBB0_36
LBB0_37:
cmpl $59, %ecx
jne LBB0_40
## %bb.38:
movl %eax, %r15d
jmp LBB0_41
LBB0_39:
movq %r12, %rdi
callq _sqlite3_free
xorl %r12d, %r12d
jmp LBB0_36
LBB0_40:
leal 1(%rax), %r15d
movb $59, (%r12,%rax)
LBB0_41:
movslq %r15d, %rax
movb $0, (%r12,%rax)
testl %eax, %eax
jle LBB0_36
## %bb.42:
leaq L_.str.3(%rip), %rbx
xorl %r14d, %r14d
jmp LBB0_48
.p2align 4, 0x90
LBB0_43: ## in Loop: Header=BB0_48 Depth=1
movl %r15d, %esi
subl %ebx, %esi
addl $6, %esi
movq %r12, %rdi
callq _sqlite3_realloc64
testq %rax, %rax
je LBB0_29
## %bb.44: ## in Loop: Header=BB0_48 Depth=1
movq %r12, %rdx
movq %rax, %r12
leaq (%rax,%r14), %rdi
addq $5, %rdi
movq %rax, %rsi
addq %r14, %rsi
addq %rbx, %rsi
addl %r15d, %edx
subl %r13d, %edx
subl %ebx, %edx
addl $-3, %edx
## kill: def $edx killed $edx killed $rdx
LBB0_45: ## in Loop: Header=BB0_48 Depth=1
callq _memmove
LBB0_46: ## in Loop: Header=BB0_48 Depth=1
subl %ebx, %r15d
addl $5, %r15d
movslq %r15d, %rax
movb $0, (%r12,%rax)
movq %r14, %rdi
addq %r12, %rdi
leaq L_.str.6(%rip), %rsi
movl $5, %edx
callq _memcpy
leaq L_.str.3(%rip), %rbx
LBB0_47: ## in Loop: Header=BB0_48 Depth=1
cmpl %r15d, %r14d
jge LBB0_36
LBB0_48: ## =>This Loop Header: Depth=1
## Child Loop BB0_57 Depth 2
movslq %r14d, %rdi
addq %r12, %rdi
movq %rbx, %rsi
callq _strstr
testq %rax, %rax
je LBB0_36
## %bb.49: ## in Loop: Header=BB0_48 Depth=1
movq %rax, %r13
subl %r12d, %eax
movslq %eax, %r14
addq $3, %r14
testl %r14d, %r14d
je LBB0_51
## %bb.50: ## in Loop: Header=BB0_48 Depth=1
movsbl -1(%r13), %edi
callq _IdChar
testq %rax, %rax
jne LBB0_47
LBB0_51: ## in Loop: Header=BB0_48 Depth=1
movq %r13, %rdi
leaq L_.str.4(%rip), %rsi
movl $9, %edx
callq _strncmp
testq %rax, %rax
jne LBB0_53
## %bb.52: ## in Loop: Header=BB0_48 Depth=1
movsbl 9(%r13), %edi
callq _IdChar
testq %rax, %rax
je LBB0_47
LBB0_53: ## in Loop: Header=BB0_48 Depth=1
movq %r13, %rdi
leaq L_.str.5(%rip), %rsi
movl $7, %edx
callq _strncmp
testq %rax, %rax
jne LBB0_55
## %bb.54: ## in Loop: Header=BB0_48 Depth=1
movsbl 7(%r13), %edi
callq _IdChar
testq %rax, %rax
je LBB0_47
LBB0_55: ## in Loop: Header=BB0_48 Depth=1
leaq (%r12,%r14), %rsi
movl $1, %eax
xorl %ebx, %ebx
jmp LBB0_57
.p2align 4, 0x90
LBB0_56: ## in Loop: Header=BB0_57 Depth=2
incl %eax
incq %rbx
LBB0_57: ## Parent Loop BB0_48 Depth=1
## => This Inner Loop Header: Depth=2
movzbl (%rsi,%rbx), %ecx
cmpl $40, %ecx
je LBB0_56
## %bb.58: ## in Loop: Header=BB0_57 Depth=2
cmpl $41, %ecx
je LBB0_60
## %bb.59: ## in Loop: Header=BB0_57 Depth=2
testl %ecx, %ecx
jne LBB0_61
jmp LBB0_62
.p2align 4, 0x90
LBB0_60: ## in Loop: Header=BB0_57 Depth=2
decl %eax
je LBB0_62
LBB0_61: ## in Loop: Header=BB0_57 Depth=2
incq %rbx
jmp LBB0_57
.p2align 4, 0x90
LBB0_62: ## in Loop: Header=BB0_48 Depth=1
cmpq $4, %rbx
jbe LBB0_43
## %bb.63: ## in Loop: Header=BB0_48 Depth=1
cmpq $5, %rbx
je LBB0_46
## %bb.64: ## in Loop: Header=BB0_48 Depth=1
leaq (%r12,%r14), %rdi
addq $5, %rdi
movl %ebx, %eax
addq %rax, %rsi
leal (%r15,%r12), %edx
subl %r13d, %edx
subl %ebx, %edx
addl $-3, %edx
jmp LBB0_45
LBB0_29:
xorl %r12d, %r12d
LBB0_36:
movq %r12, %rax
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "NULL"
L_.str.1: ## @.str.1
.asciz "is"
L_.str.2: ## @.str.2
.asciz "not"
L_.str.3: ## @.str.3
.asciz "in("
L_.str.4: ## @.str.4
.asciz "in(select"
L_.str.5: ## @.str.5
.asciz "in(with"
L_.str.6: ## @.str.6
.asciz "?,?,?"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _sqlite3_normalize ; -- Begin function sqlite3_normalize
.p2align 2
_sqlite3_normalize: ; @sqlite3_normalize
.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 x20, x0
bl _strlen
add x0, x0, #2
bl _sqlite3_malloc64
mov x19, x0
cbz x0, LBB0_31
; %bb.1:
ldrb w8, [x20]
cbz w8, LBB0_29
; %bb.2:
mov w26, #0 ; =0x0
mov w27, #0 ; =0x0
Lloh0:
adrp x21, l_.str@PAGE
Lloh1:
add x21, x21, l_.str@PAGEOFF
mov w28, #63 ; =0x3f
mov x25, x20
b LBB0_5
LBB0_3: ; in Loop: Header=BB0_5 Depth=1
strb w28, [x19, w26, sxtw]
sub w26, w26, #1
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
sxtw x8, w24
add x27, x8, w27, sxtw
add x25, x20, x27
ldrb w8, [x25]
cbz w8, LBB0_25
LBB0_5: ; =>This Loop Header: Depth=1
; Child Loop BB0_17 Depth 2
add x1, sp, #12
mov x0, x25
bl _sqlite3GetToken
mov x24, x0
ldr w8, [sp, #12]
sub w9, w8, #129
cmp w9, #2
b.lo LBB0_8
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
cmp w8, #131
b.eq LBB0_3
; %bb.7: ; in Loop: Header=BB0_5 Depth=1
cmp w8, #132
b.ne LBB0_4
b LBB0_34
LBB0_8: ; in Loop: Header=BB0_5 Depth=1
cmp w24, #4
b.ne LBB0_10
; %bb.9: ; in Loop: Header=BB0_5 Depth=1
mov x0, x25
mov x1, x21
mov w2, #4 ; =0x4
bl _sqlite3_strnicmp
cbz w0, LBB0_18
LBB0_10: ; in Loop: Header=BB0_5 Depth=1
cmp w26, #1
b.lt LBB0_15
; %bb.11: ; in Loop: Header=BB0_5 Depth=1
mov w22, w26
LBB0_12: ; in Loop: Header=BB0_5 Depth=1
add x22, x19, x22
ldursb w0, [x22, #-1]
bl _IdChar
cbz x0, LBB0_15
; %bb.13: ; in Loop: Header=BB0_5 Depth=1
ldrsb w0, [x25]
bl _IdChar
cbz x0, LBB0_15
; %bb.14: ; in Loop: Header=BB0_5 Depth=1
add w26, w26, #1
mov w8, #32 ; =0x20
strb w8, [x22]
LBB0_15: ; in Loop: Header=BB0_5 Depth=1
tbnz w24, #31, LBB0_4
; %bb.16: ; in Loop: Header=BB0_5 Depth=1
add w22, w24, #1
add x23, x20, w27, sxtw
add x25, x19, w26, sxtw
add w26, w22, w26
LBB0_17: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
ldrsb w0, [x23], #1
bl _sqlite3Tolower
strb w0, [x25], #1
subs x22, x22, #1
b.ne LBB0_17
b LBB0_4
LBB0_18: ; in Loop: Header=BB0_5 Depth=1
cmp w26, #3
b.lt LBB0_24
; %bb.19: ; in Loop: Header=BB0_5 Depth=1
mov w22, w26
add x23, x19, x22
sub x0, x23, #2
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
mov w2, #2 ; =0x2
bl _strncmp
cbnz x0, LBB0_21
; %bb.20: ; in Loop: Header=BB0_5 Depth=1
ldursb w0, [x23, #-3]
bl _IdChar
cbz x0, LBB0_12
LBB0_21: ; in Loop: Header=BB0_5 Depth=1
cmp w26, #3
b.eq LBB0_24
; %bb.22: ; in Loop: Header=BB0_5 Depth=1
sub x0, x23, #3
Lloh4:
adrp x1, l_.str.2@PAGE
Lloh5:
add x1, x1, l_.str.2@PAGEOFF
mov w2, #3 ; =0x3
bl _strncmp
cbnz x0, LBB0_24
; %bb.23: ; in Loop: Header=BB0_5 Depth=1
ldursb w0, [x23, #-4]
bl _IdChar
cbz x0, LBB0_12
LBB0_24: ; in Loop: Header=BB0_5 Depth=1
strb w28, [x19, w26, sxtw]
add w26, w26, #1
b LBB0_4
LBB0_25:
cmp w26, #1
b.lt LBB0_30
; %bb.26:
mov w8, w26
LBB0_27: ; =>This Inner Loop Header: Depth=1
add x9, x19, x8
ldurb w9, [x9, #-1]
cmp w9, #32
b.ne LBB0_32
; %bb.28: ; in Loop: Header=BB0_27 Depth=1
subs x8, x8, #1
b.gt LBB0_27
LBB0_29:
mov w26, #0 ; =0x0
LBB0_30:
strb wzr, [x19, w26, sxtw]
LBB0_31:
mov x0, x19
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_32:
cmp w9, #59
b.ne LBB0_35
; %bb.33:
mov x26, x8
b LBB0_36
LBB0_34:
mov x0, x19
bl _sqlite3_free
mov x19, #0 ; =0x0
b LBB0_31
LBB0_35:
add w26, w8, #1
mov w9, #59 ; =0x3b
strb w9, [x19, x8]
LBB0_36:
strb wzr, [x19, w26, sxtw]
cmp w26, #1
b.lt LBB0_31
; %bb.37:
mov w27, #0 ; =0x0
Lloh6:
adrp x20, l_.str.3@PAGE
Lloh7:
add x20, x20, l_.str.3@PAGEOFF
Lloh8:
adrp x21, l_.str.4@PAGE
Lloh9:
add x21, x21, l_.str.4@PAGEOFF
Lloh10:
adrp x22, l_.str.5@PAGE
Lloh11:
add x22, x22, l_.str.5@PAGEOFF
Lloh12:
adrp x23, l_.str.6@PAGE
Lloh13:
add x23, x23, l_.str.6@PAGEOFF
b LBB0_42
LBB0_38: ; in Loop: Header=BB0_42 Depth=1
sub w8, w26, w28
add w1, w8, #6
mov x0, x19
bl _sqlite3_realloc64
cbz x0, LBB0_59
; %bb.39: ; in Loop: Header=BB0_42 Depth=1
mov x25, x0
add x8, x0, x27
add w9, w26, w19
sub w9, w9, w24
sub w9, w9, w28
sub w2, w9, #3
add x0, x8, #5
add x1, x8, x28
bl _memmove
mov x19, x25
LBB0_40: ; in Loop: Header=BB0_42 Depth=1
sub w8, w26, w28
add w26, w8, #5
strb wzr, [x19, w26, sxtw]
add x0, x19, x27
mov x1, x23
mov w2, #5 ; =0x5
bl _memcpy
LBB0_41: ; in Loop: Header=BB0_42 Depth=1
cmp w27, w26
b.ge LBB0_31
LBB0_42: ; =>This Loop Header: Depth=1
; Child Loop BB0_51 Depth 2
add x0, x19, w27, sxtw
mov x1, x20
bl _strstr
cbz x0, LBB0_31
; %bb.43: ; in Loop: Header=BB0_42 Depth=1
mov x24, x0
sub w8, w24, w19
sxtw x8, w8
add x27, x8, #3
cbz w27, LBB0_45
; %bb.44: ; in Loop: Header=BB0_42 Depth=1
ldursb w0, [x24, #-1]
bl _IdChar
cbnz x0, LBB0_41
LBB0_45: ; in Loop: Header=BB0_42 Depth=1
mov x0, x24
mov x1, x21
mov w2, #9 ; =0x9
bl _strncmp
cbnz x0, LBB0_47
; %bb.46: ; in Loop: Header=BB0_42 Depth=1
ldrsb w0, [x24, #9]
bl _IdChar
cbz x0, LBB0_41
LBB0_47: ; in Loop: Header=BB0_42 Depth=1
mov x0, x24
mov x1, x22
mov w2, #7 ; =0x7
bl _strncmp
cbnz x0, LBB0_49
; %bb.48: ; in Loop: Header=BB0_42 Depth=1
ldrsb w0, [x24, #7]
bl _IdChar
cbz x0, LBB0_41
LBB0_49: ; in Loop: Header=BB0_42 Depth=1
mov x28, #0 ; =0x0
add x8, x19, x27
mov w9, #1 ; =0x1
b LBB0_51
LBB0_50: ; in Loop: Header=BB0_51 Depth=2
add w9, w9, #1
add x28, x28, #1
LBB0_51: ; Parent Loop BB0_42 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w10, [x8, x28]
cmp w10, #40
b.eq LBB0_50
; %bb.52: ; in Loop: Header=BB0_51 Depth=2
cmp w10, #41
b.eq LBB0_54
; %bb.53: ; in Loop: Header=BB0_51 Depth=2
cbnz w10, LBB0_55
b LBB0_56
LBB0_54: ; in Loop: Header=BB0_51 Depth=2
subs w9, w9, #1
b.eq LBB0_56
LBB0_55: ; in Loop: Header=BB0_51 Depth=2
add x28, x28, #1
b LBB0_51
LBB0_56: ; in Loop: Header=BB0_42 Depth=1
cmp x28, #4
b.ls LBB0_38
; %bb.57: ; in Loop: Header=BB0_42 Depth=1
cmp x28, #5
b.eq LBB0_40
; %bb.58: ; in Loop: Header=BB0_42 Depth=1
add x8, x19, x27
add x1, x8, w28, uxtw
add w9, w26, w19
sub w9, w9, w24
sub w9, w9, w28
sub w2, w9, #3
add x0, x8, #5
bl _memmove
b LBB0_40
LBB0_59:
mov x19, #0 ; =0x0
b LBB0_31
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "NULL"
l_.str.1: ; @.str.1
.asciz "is"
l_.str.2: ; @.str.2
.asciz "not"
l_.str.3: ; @.str.3
.asciz "in("
l_.str.4: ; @.str.4
.asciz "in(select"
l_.str.5: ; @.str.5
.asciz "in(with"
l_.str.6: ; @.str.6
.asciz "?,?,?"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _SerializeTransactionState ## -- Begin function SerializeTransactionState
.p2align 4, 0x90
_SerializeTransactionState: ## @SerializeTransactionState
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq _XactIsoLevel@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 32(%rsi)
movq _XactDeferrable@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 28(%rsi)
movq _XactTopFullTransactionId@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 24(%rsi)
movq _CurrentTransactionState@GOTPCREL(%rip), %r12
movq (%r12), %rax
movl 16(%rax), %eax
movl %eax, 20(%rsi)
movq _currentCommandId@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 16(%rsi)
movq _nParallelCurrentXids@GOTPCREL(%rip), %rax
movl (%rax), %ecx
testl %ecx, %ecx
jle LBB0_3
## %bb.1:
movl %ecx, (%rbx)
movq 8(%rbx), %rdi
movq _ParallelCurrentXids@GOTPCREL(%rip), %rcx
movq (%rcx), %rsi
movl (%rax), %edx
shll $2, %edx
jmp LBB0_2
LBB0_3:
movq _SerializedTransactionStateHeaderSize@GOTPCREL(%rip), %rcx
xorl %eax, %eax
cmpl %edi, (%rcx)
setbe %al
movl %eax, %edi
callq _Assert
xorl %r15d, %r15d
xorl %edi, %edi
callq _palloc
movq %rax, %r14
movq (%r12), %r12
testq %r12, %r12
jne LBB0_5
## %bb.4:
movl $1, %edi
jmp LBB0_9
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_5 Depth=1
movslq %r15d, %r15
leaq (%r14,%r15,4), %rdi
movq 8(%r12), %rsi
movl (%r12), %edx
shll $2, %edx
callq _memcpy
addl (%r12), %r15d
movq 24(%r12), %r12
testq %r12, %r12
je LBB0_8
LBB0_5: ## =>This Inner Loop Header: Depth=1
movl 16(%r12), %edi
callq _FullTransactionIdIsValid
testq %rax, %rax
je LBB0_7
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movl 16(%r12), %edi
callq _XidFromFullTransactionId
movslq %r15d, %rcx
incl %r15d
movl %eax, (%r14,%rcx,4)
jmp LBB0_7
LBB0_8:
xorl %edi, %edi
testl %r15d, %r15d
sete %dil
LBB0_9:
callq _Assert
movq _xidComparator@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %r14, %rdi
xorl %esi, %esi
movl $4, %edx
callq _qsort
movl $0, (%rbx)
movq 8(%rbx), %rdi
movq %r14, %rsi
xorl %edx, %edx
LBB0_2:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _memcpy ## TAILCALL
.cfi_endproc
## -- End function
.comm _XactIsoLevel,4,2 ## @XactIsoLevel
.comm _XactDeferrable,4,2 ## @XactDeferrable
.comm _XactTopFullTransactionId,4,2 ## @XactTopFullTransactionId
.comm _CurrentTransactionState,8,3 ## @CurrentTransactionState
.comm _currentCommandId,4,2 ## @currentCommandId
.comm _nParallelCurrentXids,4,2 ## @nParallelCurrentXids
.comm _ParallelCurrentXids,8,3 ## @ParallelCurrentXids
.comm _SerializedTransactionStateHeaderSize,4,2 ## @SerializedTransactionStateHeaderSize
.comm _xidComparator,4,2 ## @xidComparator
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _SerializeTransactionState ; -- Begin function SerializeTransactionState
.p2align 2
_SerializeTransactionState: ; @SerializeTransactionState
.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
Lloh0:
adrp x8, _XactIsoLevel@GOTPAGE
Lloh1:
ldr x8, [x8, _XactIsoLevel@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
str w8, [x1, #32]
Lloh3:
adrp x8, _XactDeferrable@GOTPAGE
Lloh4:
ldr x8, [x8, _XactDeferrable@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
Lloh6:
adrp x9, _XactTopFullTransactionId@GOTPAGE
Lloh7:
ldr x9, [x9, _XactTopFullTransactionId@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
Lloh9:
adrp x21, _CurrentTransactionState@GOTPAGE
Lloh10:
ldr x21, [x21, _CurrentTransactionState@GOTPAGEOFF]
stp w9, w8, [x1, #24]
ldr x8, [x21]
ldr w8, [x8, #16]
Lloh11:
adrp x9, _currentCommandId@GOTPAGE
Lloh12:
ldr x9, [x9, _currentCommandId@GOTPAGEOFF]
Lloh13:
ldr w9, [x9]
stp w9, w8, [x1, #16]
Lloh14:
adrp x8, _nParallelCurrentXids@GOTPAGE
Lloh15:
ldr x8, [x8, _nParallelCurrentXids@GOTPAGEOFF]
ldr w9, [x8]
cmp w9, #1
b.lt LBB0_2
; %bb.1:
str w9, [x19]
ldr x0, [x19, #8]
Lloh16:
adrp x9, _ParallelCurrentXids@GOTPAGE
Lloh17:
ldr x9, [x9, _ParallelCurrentXids@GOTPAGEOFF]
Lloh18:
ldr x1, [x9]
ldr w8, [x8]
lsl w2, w8, #2
b LBB0_10
LBB0_2:
Lloh19:
adrp x8, _SerializedTransactionStateHeaderSize@GOTPAGE
Lloh20:
ldr x8, [x8, _SerializedTransactionStateHeaderSize@GOTPAGEOFF]
Lloh21:
ldr w8, [x8]
cmp w8, w0
cset w0, ls
bl _Assert
mov w0, #0 ; =0x0
bl _palloc
mov x20, x0
ldr x21, [x21]
cbz x21, LBB0_8
; %bb.3:
mov w22, #0 ; =0x0
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
add x0, x20, w22, sxtw #2
ldr x1, [x21, #8]
ldr w8, [x21]
lsl w2, w8, #2
bl _memcpy
ldr w8, [x21]
add w22, w8, w22
ldr x21, [x21, #24]
cbz x21, LBB0_7
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr w0, [x21, #16]
bl _FullTransactionIdIsValid
cbz x0, LBB0_4
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
ldr w0, [x21, #16]
bl _XidFromFullTransactionId
str w0, [x20, w22, sxtw #2]
add w22, w22, #1
b LBB0_4
LBB0_7:
cmp w22, #0
cset w0, eq
b LBB0_9
LBB0_8:
mov w0, #1 ; =0x1
LBB0_9:
bl _Assert
Lloh22:
adrp x8, _xidComparator@GOTPAGE
Lloh23:
ldr x8, [x8, _xidComparator@GOTPAGEOFF]
Lloh24:
ldr w3, [x8]
mov x0, x20
mov w1, #0 ; =0x0
mov w2, #4 ; =0x4
bl _qsort
str wzr, [x19]
ldr x0, [x19, #8]
mov x1, x20
mov w2, #0 ; =0x0
LBB0_10:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _memcpy
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.cfi_endproc
; -- End function
.comm _XactIsoLevel,4,2 ; @XactIsoLevel
.comm _XactDeferrable,4,2 ; @XactDeferrable
.comm _XactTopFullTransactionId,4,2 ; @XactTopFullTransactionId
.comm _CurrentTransactionState,8,3 ; @CurrentTransactionState
.comm _currentCommandId,4,2 ; @currentCommandId
.comm _nParallelCurrentXids,4,2 ; @nParallelCurrentXids
.comm _ParallelCurrentXids,8,3 ; @ParallelCurrentXids
.comm _SerializedTransactionStateHeaderSize,4,2 ; @SerializedTransactionStateHeaderSize
.comm _xidComparator,4,2 ; @xidComparator
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function mlx5e_ethtool_get_all_flows
_mlx5e_ethtool_get_all_flows: ## @mlx5e_ethtool_get_all_flows
.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, %rbx
movq %rsi, %r14
movq %rdi, %r15
movq _MAX_NUM_OF_ETHTOOL_RULES@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 4(%rsi)
xorl %r12d, %r12d
xorl %r13d, %r13d
xorl %eax, %eax
jmp LBB0_1
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
incl %r12d
LBB0_1: ## =>This Inner Loop Header: Depth=1
testl %eax, %eax
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq _ENOENT@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
addl %eax, %ecx
jne LBB0_7
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
cmpl (%r14), %r13d
jge LBB0_7
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
movq %r15, %rdi
movq %r14, %rsi
movl %r12d, %edx
callq _mlx5e_ethtool_get_flow
testl %eax, %eax
jne LBB0_6
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
movslq %r13d, %rcx
incl %r13d
movl %r12d, (%rbx,%rcx,4)
jmp LBB0_6
LBB0_7:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MAX_NUM_OF_ETHTOOL_RULES,4,2 ## @MAX_NUM_OF_ETHTOOL_RULES
.comm _ENOENT,4,2 ## @ENOENT
.no_dead_strip _mlx5e_ethtool_get_all_flows
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function mlx5e_ethtool_get_all_flows
_mlx5e_ethtool_get_all_flows: ; @mlx5e_ethtool_get_all_flows
.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, x2
mov x20, x1
mov x21, x0
mov w22, #0 ; =0x0
mov w23, #0 ; =0x0
mov w0, #0 ; =0x0
Lloh0:
adrp x8, _MAX_NUM_OF_ETHTOOL_RULES@GOTPAGE
Lloh1:
ldr x8, [x8, _MAX_NUM_OF_ETHTOOL_RULES@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
str w8, [x1, #4]
Lloh3:
adrp x24, _ENOENT@GOTPAGE
Lloh4:
ldr x24, [x24, _ENOENT@GOTPAGEOFF]
b LBB0_2
LBB0_1: ; in Loop: Header=BB0_2 Depth=1
add w22, w22, #1
LBB0_2: ; =>This Inner Loop Header: Depth=1
cbz w0, LBB0_4
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
ldr w8, [x24]
cmn w0, w8
b.ne LBB0_7
LBB0_4: ; in Loop: Header=BB0_2 Depth=1
ldr w8, [x20]
cmp w23, w8
b.ge LBB0_7
; %bb.5: ; in Loop: Header=BB0_2 Depth=1
mov x0, x21
mov x1, x20
mov x2, x22
bl _mlx5e_ethtool_get_flow
cbnz w0, LBB0_1
; %bb.6: ; in Loop: Header=BB0_2 Depth=1
str w22, [x19, w23, sxtw #2]
add w23, w23, #1
b LBB0_1
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 Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _MAX_NUM_OF_ETHTOOL_RULES,4,2 ; @MAX_NUM_OF_ETHTOOL_RULES
.comm _ENOENT,4,2 ; @ENOENT
.no_dead_strip _mlx5e_ethtool_get_all_flows
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function SurfaceAsTristrip
_SurfaceAsTristrip: ## @SurfaceAsTristrip
.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, %r14
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _MAX_INDICES@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movq %rbx, %rax
shlq $2, %rax
callq ____chkstk_darwin
movq %r14, %r8
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, -80(%rbp) ## 8-byte Spill
movl (%r14), %esi
leal (%rsi,%rsi,2), %eax
addl $-6, %eax
movl %eax, -56(%rbp) ## 4-byte Spill
cmpl %ebx, %eax
movq %r14, -88(%rbp) ## 8-byte Spill
jle LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
callq _Error
movq -88(%rbp), %r8 ## 8-byte Reload
movl (%r8), %esi
LBB0_2:
testl %esi, %esi
js LBB0_3
## %bb.8:
movq $0, -72(%rbp) ## 8-byte Folded Spill
.p2align 4, 0x90
LBB0_10: ## =>This Loop Header: Depth=1
## Child Loop BB0_12 Depth 2
leal -2(%rsi), %ecx
movl $0, -52(%rbp) ## 4-byte Folded Spill
testl %ecx, %ecx
jle LBB0_19
## %bb.11: ## in Loop: Header=BB0_10 Depth=1
movq -72(%rbp), %rax ## 8-byte Reload
addl $-2, %eax
movl %eax, -100(%rbp) ## 4-byte Spill
xorl %r15d, %r15d
xorl %r13d, %r13d
movl $0, -52(%rbp) ## 4-byte Folded Spill
jmp LBB0_12
.p2align 4, 0x90
LBB0_13: ## in Loop: Header=BB0_12 Depth=2
leal 1(%r13), %r12d
LBB0_18: ## in Loop: Header=BB0_12 Depth=2
movl %esi, %ecx
subl %r13d, %ecx
addl $-3, %ecx
movl %r12d, %r13d
cmpl %ecx, %r12d
jge LBB0_19
LBB0_12: ## Parent Loop BB0_10 Depth=1
## => This Inner Loop Header: Depth=2
movl %r15d, -60(%rbp) ## 4-byte Spill
movl %r13d, %r15d
notl %r15d
movl %r15d, %eax
movq -72(%rbp), %rdi ## 8-byte Reload
subl %edi, %eax
addl %esi, %eax
cltd
idivl %esi
movl %edx, %r9d
leal (%rdi,%r13), %r12d
movl %r12d, %eax
cltd
idivl %esi
movl %edx, %r14d
addl %edi, %ecx
movl %ecx, %eax
cltd
idivl %esi
movl %edx, %ebx
movq 16(%r8), %rdi
movq _drawVerts@GOTPCREL(%rip), %rax
addq (%rax), %rdi
movl %r9d, -96(%rbp) ## 4-byte Spill
movl %r9d, %esi
movl %r14d, %edx
movl %ebx, %ecx
callq _IsTriangleDegenerate
movq -88(%rbp), %r8 ## 8-byte Reload
movl (%r8), %esi
testq %rax, %rax
jne LBB0_13
## %bb.14: ## in Loop: Header=BB0_12 Depth=2
movl %r12d, %r9d
movl -60(%rbp), %edx ## 4-byte Reload
movslq -52(%rbp), %rdi ## 4-byte Folded Reload
movq -80(%rbp), %rax ## 8-byte Reload
movl -96(%rbp), %ecx ## 4-byte Reload
movl %ecx, (%rax,%rdi,4)
movl %r14d, 4(%rax,%rdi,4)
leal 3(%rdi), %ecx
movl %ecx, -52(%rbp) ## 4-byte Spill
movl %ebx, 8(%rax,%rdi,4)
leal 1(%r13), %r12d
leal (%rsi,%r15), %eax
cmpl %eax, %r12d
je LBB0_18
## %bb.15: ## in Loop: Header=BB0_12 Depth=2
movq %r15, -112(%rbp) ## 8-byte Spill
movq %rdi, -96(%rbp) ## 8-byte Spill
movl %edx, %eax
addl -100(%rbp), %eax ## 4-byte Folded Reload
addl %esi, %eax
cltd
idivl %esi
movl %edx, %r10d
movl %r9d, %eax
cltd
idivl %esi
movl %edx, %r9d
movq -72(%rbp), %rax ## 8-byte Reload
addl %r12d, %eax
cltd
idivl %esi
movl %edx, %ecx
movq 16(%r8), %rdi
movq _drawVerts@GOTPCREL(%rip), %rax
addq (%rax), %rdi
movl %r10d, %ebx
movl %r10d, %esi
movl %r9d, %r15d
movl %r9d, %edx
movl %ecx, -60(%rbp) ## 4-byte Spill
movq %r8, %r14
callq _IsTriangleDegenerate
testq %rax, %rax
jne LBB0_16
## %bb.17: ## in Loop: Header=BB0_12 Depth=2
movslq -52(%rbp), %rax ## 4-byte Folded Reload
movq -80(%rbp), %rcx ## 8-byte Reload
movl %ebx, (%rcx,%rax,4)
movq -96(%rbp), %rdx ## 8-byte Reload
movl %r15d, 16(%rcx,%rdx,4)
leal 6(%rdx), %eax
movl %eax, -52(%rbp) ## 4-byte Spill
movl -60(%rbp), %eax ## 4-byte Reload
movl %eax, 20(%rcx,%rdx,4)
movl (%r14), %esi
movq %r14, %r8
movq -112(%rbp), %r15 ## 8-byte Reload
jmp LBB0_18
LBB0_16: ## in Loop: Header=BB0_10 Depth=1
movq %r14, %r8
.p2align 4, 0x90
LBB0_19: ## in Loop: Header=BB0_10 Depth=1
movl -52(%rbp), %edx ## 4-byte Reload
cmpl -56(%rbp), %edx ## 4-byte Folded Reload
je LBB0_20
## %bb.9: ## in Loop: Header=BB0_10 Depth=1
movq -72(%rbp), %rcx ## 8-byte Reload
leal 1(%rcx), %eax
movl (%r8), %esi
cmpl %esi, %ecx
## kill: def $eax killed $eax def $rax
movq %rax, -72(%rbp) ## 8-byte Spill
jl LBB0_10
## %bb.21:
cmpl -56(%rbp), %edx ## 4-byte Folded Reload
jge LBB0_4
## %bb.22:
movq _c_fanSurfaces@GOTPCREL(%rip), %rax
incl (%rax)
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_24
## %bb.23:
movq %r8, %rdi
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _SurfaceAsTriFan ## TAILCALL
LBB0_3:
## implicit-def: $edx
jmp LBB0_4
LBB0_20:
movl -56(%rbp), %edx ## 4-byte Reload
LBB0_4:
movq _c_stripSurfaces@GOTPCREL(%rip), %rax
incl (%rax)
movq _numDrawIndexes@GOTPCREL(%rip), %rbx
movq (%rbx), %rdi
movslq %edx, %r14
leaq (%rdi,%r14), %rax
movq _MAX_MAP_DRAW_INDEXES@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jle LBB0_6
## %bb.5:
leaq L_.str.1(%rip), %rdi
callq _Error
movq -88(%rbp), %r8 ## 8-byte Reload
movq (%rbx), %rdi
LBB0_6:
movq %rdi, 8(%r8)
movl %r14d, 4(%r8)
movq _drawIndexes@GOTPCREL(%rip), %rax
addq (%rax), %rdi
leal (,%r14,4), %edx
movq -80(%rbp), %rsi ## 8-byte Reload
callq _memcpy
addq %r14, (%rbx)
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_24
## %bb.7:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_24:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _MAX_INDICES,4,2 ## @MAX_INDICES
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "MAX_INDICES exceeded for surface"
.comm _drawVerts,8,3 ## @drawVerts
.comm _c_fanSurfaces,4,2 ## @c_fanSurfaces
.comm _c_stripSurfaces,4,2 ## @c_stripSurfaces
.comm _numDrawIndexes,8,3 ## @numDrawIndexes
.comm _MAX_MAP_DRAW_INDEXES,8,3 ## @MAX_MAP_DRAW_INDEXES
L_.str.1: ## @.str.1
.asciz "MAX_MAP_DRAW_INDEXES"
.comm _drawIndexes,8,3 ## @drawIndexes
.no_dead_strip _SurfaceAsTristrip
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function SurfaceAsTristrip
_SurfaceAsTristrip: ; @SurfaceAsTristrip
.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, #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
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-88]
Lloh3:
adrp x8, _MAX_INDICES@GOTPAGE
Lloh4:
ldr x8, [x8, _MAX_INDICES@GOTPAGEOFF]
Lloh5:
ldr w12, [x8]
lsl x8, x12, #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 x8, x9, x8
stur x8, [x29, #-120] ; 8-byte Folded Spill
mov sp, x8
stur x0, [x29, #-104] ; 8-byte Folded Spill
ldr w8, [x0]
add w9, w8, w8, lsl #1
sub w9, w9, #6
stur w9, [x29, #-128] ; 4-byte Folded Spill
cmp w9, w12
b.le LBB0_2
; %bb.1:
Lloh8:
adrp x0, l_.str@PAGE
Lloh9:
add x0, x0, l_.str@PAGEOFF
bl _Error
ldur x8, [x29, #-104] ; 8-byte Folded Reload
ldr w8, [x8]
LBB0_2:
tbnz w8, #31, LBB0_19
; %bb.3:
stur wzr, [x29, #-108] ; 4-byte Folded Spill
LBB0_4: ; =>This Loop Header: Depth=1
; Child Loop BB0_8 Depth 2
sub w9, w8, #2
cmp w9, #1
b.lt LBB0_13
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
mov w27, #0 ; =0x0
mov w24, #0 ; =0x0
mov w11, #0 ; =0x0
ldur w10, [x29, #-108] ; 4-byte Folded Reload
sub w10, w10, #2
stur w10, [x29, #-124] ; 4-byte Folded Spill
b LBB0_8
LBB0_6: ; in Loop: Header=BB0_8 Depth=2
add w26, w24, #1
ldur x11, [x29, #-96] ; 8-byte Folded Reload
LBB0_7: ; in Loop: Header=BB0_8 Depth=2
sub w9, w8, w24
sub w9, w9, #3
mov x27, x19
mov x24, x26
mov x28, x11
cmp w26, w9
b.ge LBB0_14
LBB0_8: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
stur x11, [x29, #-96] ; 8-byte Folded Spill
mvn w19, w24
ldur w12, [x29, #-108] ; 4-byte Folded Reload
sub w10, w19, w12
add w10, w10, w8
sdiv w11, w10, w8
msub w21, w11, w8, w10
add w25, w24, w12
sdiv w10, w25, w8
msub w22, w10, w8, w25
add w9, w9, w12
sdiv w10, w9, w8
msub w23, w10, w8, w9
Lloh10:
adrp x8, _drawVerts@GOTPAGE
Lloh11:
ldr x8, [x8, _drawVerts@GOTPAGEOFF]
Lloh12:
ldr x8, [x8]
ldur x20, [x29, #-104] ; 8-byte Folded Reload
ldr x9, [x20, #16]
add x0, x9, x8
mov x1, x21
mov x2, x22
mov x3, x23
bl _IsTriangleDegenerate
ldr w8, [x20]
cbnz x0, LBB0_6
; %bb.9: ; in Loop: Header=BB0_8 Depth=2
ldur x11, [x29, #-96] ; 8-byte Folded Reload
sxtw x9, w11
ldur x10, [x29, #-120] ; 8-byte Folded Reload
add x20, x10, w11, sxtw #2
stp w21, w22, [x20]
add x28, x9, #3
str w23, [x20, #8]
add w26, w24, #1
add w9, w8, w19
cmp w26, w9
b.ne LBB0_11
; %bb.10: ; in Loop: Header=BB0_8 Depth=2
mov x11, x28
b LBB0_7
LBB0_11: ; in Loop: Header=BB0_8 Depth=2
ldur w9, [x29, #-124] ; 4-byte Folded Reload
add w9, w9, w27
add w9, w9, w8
sdiv w10, w9, w8
msub w22, w10, w8, w9
sdiv w9, w25, w8
msub w21, w9, w8, w25
ldur w9, [x29, #-108] ; 4-byte Folded Reload
add w9, w26, w9
sdiv w10, w9, w8
msub w23, w10, w8, w9
Lloh13:
adrp x8, _drawVerts@GOTPAGE
Lloh14:
ldr x8, [x8, _drawVerts@GOTPAGEOFF]
Lloh15:
ldr x8, [x8]
ldur x9, [x29, #-104] ; 8-byte Folded Reload
ldr x9, [x9, #16]
add x0, x9, x8
mov x1, x22
mov x2, x21
mov x3, x23
bl _IsTriangleDegenerate
ldur x11, [x29, #-96] ; 8-byte Folded Reload
cbnz x0, LBB0_14
; %bb.12: ; in Loop: Header=BB0_8 Depth=2
ldur x8, [x29, #-120] ; 8-byte Folded Reload
str w22, [x8, x28, lsl #2]
add w11, w11, #6
stp w21, w23, [x20, #16]
ldur x8, [x29, #-104] ; 8-byte Folded Reload
ldr w8, [x8]
b LBB0_7
LBB0_13: ; in Loop: Header=BB0_4 Depth=1
mov w28, #0 ; =0x0
LBB0_14: ; in Loop: Header=BB0_4 Depth=1
ldur w8, [x29, #-128] ; 4-byte Folded Reload
cmp w28, w8
b.eq LBB0_20
; %bb.15: ; in Loop: Header=BB0_4 Depth=1
ldur w10, [x29, #-108] ; 4-byte Folded Reload
add w9, w10, #1
ldur x8, [x29, #-104] ; 8-byte Folded Reload
ldr w8, [x8]
cmp w10, w8
stur w9, [x29, #-108] ; 4-byte Folded Spill
b.lt LBB0_4
; %bb.16:
ldur w8, [x29, #-128] ; 4-byte Folded Reload
cmp w28, w8
b.ge LBB0_21
; %bb.17:
Lloh16:
adrp x8, _c_fanSurfaces@GOTPAGE
Lloh17:
ldr x8, [x8, _c_fanSurfaces@GOTPAGEOFF]
ldr w9, [x8]
add w9, w9, #1
str w9, [x8]
ldur x8, [x29, #-88]
Lloh18:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh19:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_25
; %bb.18:
ldur x0, [x29, #-104] ; 8-byte Folded Reload
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 _SurfaceAsTriFan
LBB0_19:
; implicit-def: $w28
b LBB0_21
LBB0_20:
ldur w28, [x29, #-128] ; 4-byte Folded Reload
LBB0_21:
Lloh21:
adrp x8, _c_stripSurfaces@GOTPAGE
Lloh22:
ldr x8, [x8, _c_stripSurfaces@GOTPAGEOFF]
ldr w9, [x8]
add w9, w9, #1
str w9, [x8]
Lloh23:
adrp x19, _numDrawIndexes@GOTPAGE
Lloh24:
ldr x19, [x19, _numDrawIndexes@GOTPAGEOFF]
ldr x8, [x19]
mov x9, x28
sxtw x20, w9
Lloh25:
adrp x9, _MAX_MAP_DRAW_INDEXES@GOTPAGE
Lloh26:
ldr x9, [x9, _MAX_MAP_DRAW_INDEXES@GOTPAGEOFF]
Lloh27:
ldr x9, [x9]
add x10, x8, x20
cmp x10, x9
b.le LBB0_23
; %bb.22:
Lloh28:
adrp x0, l_.str.1@PAGE
Lloh29:
add x0, x0, l_.str.1@PAGEOFF
bl _Error
ldr x8, [x19]
LBB0_23:
ldur x9, [x29, #-104] ; 8-byte Folded Reload
str x8, [x9, #8]
str w28, [x9, #4]
Lloh30:
adrp x9, _drawIndexes@GOTPAGE
Lloh31:
ldr x9, [x9, _drawIndexes@GOTPAGEOFF]
Lloh32:
ldr x9, [x9]
lsl w2, w28, #2
add x0, x9, x8
ldur x1, [x29, #-120] ; 8-byte Folded Reload
bl _memcpy
ldr x8, [x19]
add x8, x8, x20
str x8, [x19]
ldur x8, [x29, #-88]
Lloh33:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh34:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh35:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_25
; %bb.24:
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_25:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpLdrGot Lloh23, Lloh24
.loh AdrpLdrGot Lloh21, Lloh22
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _MAX_INDICES,4,2 ; @MAX_INDICES
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "MAX_INDICES exceeded for surface"
.comm _drawVerts,8,3 ; @drawVerts
.comm _c_fanSurfaces,4,2 ; @c_fanSurfaces
.comm _c_stripSurfaces,4,2 ; @c_stripSurfaces
.comm _numDrawIndexes,8,3 ; @numDrawIndexes
.comm _MAX_MAP_DRAW_INDEXES,8,3 ; @MAX_MAP_DRAW_INDEXES
l_.str.1: ; @.str.1
.asciz "MAX_MAP_DRAW_INDEXES"
.comm _drawIndexes,8,3 ; @drawIndexes
.no_dead_strip _SurfaceAsTristrip
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _find_running_transactions ## -- Begin function find_running_transactions
.p2align 4, 0x90
_find_running_transactions: ## @find_running_transactions
.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
leaq -64(%rbp), %rdi
callq _tlist_clear
movq _HASH_MASK@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, %eax
js LBB0_1
## %bb.2:
movq _ts_running@GOTPCREL(%rip), %r13
xorl %r15d, %r15d
xorl %r14d, %r14d
xorl %ebx, %ebx
jmp LBB0_3
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_3 Depth=1
movq _HASH_MASK@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_10: ## in Loop: Header=BB0_3 Depth=1
decq %r15
movslq %eax, %rcx
cmpq %rcx, %r15
jg LBB0_11
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_4 Depth 2
movq _H@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq (%rcx,%r15,8), %r12
testq %r12, %r12
jne LBB0_4
jmp LBB0_10
LBB0_7: ## in Loop: Header=BB0_4 Depth=2
leaq L_.str.1(%rip), %rsi
movq %r12, %rdx
xorl %eax, %eax
callq _vkprintf
leaq -64(%rbp), %rdi
movq %r12, %rsi
callq _tlist_insert
incl %r14d
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_4 Depth=2
movq 16(%r12), %r12
testq %r12, %r12
je LBB0_9
LBB0_4: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movq (%r12), %rax
cmpq (%r13), %rax
jne LBB0_8
## %bb.5: ## in Loop: Header=BB0_4 Depth=2
movq %r12, %rdi
callq _check_is_running
movl $4, %edi
testq %rax, %rax
je LBB0_7
## %bb.6: ## in Loop: Header=BB0_4 Depth=2
leaq L_.str(%rip), %rsi
movq %r12, %rdx
xorl %eax, %eax
callq _vkprintf
movq _auto_running_list@GOTPCREL(%rip), %rdi
movq %r12, %rsi
callq _tlist_insert
incl %ebx
jmp LBB0_8
LBB0_11:
testl %r14d, %r14d
jle LBB0_18
## %bb.12:
movl %r14d, %edi
movl $8, %esi
callq _calloc
movq %rax, %r15
xorl %edi, %edi
testq %rax, %rax
setne %dil
callq _assert
movq -56(%rbp), %rax
leaq -64(%rbp), %rdx
cmpq %rdx, %rax
je LBB0_15
## %bb.13:
movq %r15, %rcx
.p2align 4, 0x90
LBB0_14: ## =>This Inner Loop Header: Depth=1
movq %rax, (%rcx)
movq 8(%rax), %rax
addq $8, %rcx
cmpq %rdx, %rax
jne LBB0_14
LBB0_15:
movq _cmp_transaction@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %r15, %rdi
movl %r14d, %esi
movl $8, %edx
callq _qsort
movl %r14d, %r13d
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_16: ## =>This Inner Loop Header: Depth=1
movl $4, %edi
leaq L_.str.2(%rip), %rsi
xorl %eax, %eax
callq _vkprintf
movq (%r15,%r12,8), %rdi
xorl %esi, %esi
callq _transaction_finish_execution
incq %r12
cmpq %r12, %r13
jne LBB0_16
## %bb.17:
movq %r15, %rdi
callq _free
leaq L_.str.3(%rip), %rsi
movl $3, %edi
movl %r14d, %edx
xorl %eax, %eax
callq _vkprintf
jmp LBB0_18
LBB0_1:
xorl %ebx, %ebx
LBB0_18:
movl %ebx, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _HASH_MASK,4,2 ## @HASH_MASK
.comm _H,8,3 ## @H
.comm _ts_running,8,3 ## @ts_running
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "tlist_insert (&auto_running_list, %p)\n"
.comm _auto_running_list,24,3 ## @auto_running_list
L_.str.1: ## @.str.1
.asciz "tlist_insert (&auto_terminated_list, %p)\n"
.comm _cmp_transaction,4,2 ## @cmp_transaction
L_.str.2: ## @.str.2
.asciz "find_running_transactions: call transaction_finish_execution\n"
L_.str.3: ## @.str.3
.asciz "found %d terminated transaction(s)\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _find_running_transactions ; -- Begin function find_running_transactions
.p2align 2
_find_running_transactions: ; @find_running_transactions
.cfi_startproc
; %bb.0:
sub sp, sp, #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
add x0, sp, #8
bl _tlist_clear
Lloh0:
adrp x25, _HASH_MASK@GOTPAGE
Lloh1:
ldr x25, [x25, _HASH_MASK@GOTPAGEOFF]
ldr w8, [x25]
tbnz w8, #31, LBB0_17
; %bb.1:
mov x26, #0 ; =0x0
mov w20, #0 ; =0x0
mov w19, #0 ; =0x0
Lloh2:
adrp x27, _H@GOTPAGE
Lloh3:
ldr x27, [x27, _H@GOTPAGEOFF]
Lloh4:
adrp x28, _ts_running@GOTPAGE
Lloh5:
ldr x28, [x28, _ts_running@GOTPAGEOFF]
Lloh6:
adrp x21, l_.str.1@PAGE
Lloh7:
add x21, x21, l_.str.1@PAGEOFF
Lloh8:
adrp x22, _auto_running_list@GOTPAGE
Lloh9:
ldr x22, [x22, _auto_running_list@GOTPAGEOFF]
Lloh10:
adrp x23, l_.str@PAGE
Lloh11:
add x23, x23, l_.str@PAGEOFF
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [x25]
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
sub x26, x26, #1
cmp x26, w8, sxtw
b.gt LBB0_10
LBB0_4: ; =>This Loop Header: Depth=1
; Child Loop BB0_7 Depth 2
ldr x9, [x27]
ldr x24, [x9, x26, lsl #3]
cbnz x24, LBB0_7
b LBB0_3
LBB0_5: ; in Loop: Header=BB0_7 Depth=2
str x24, [sp]
mov w0, #4 ; =0x4
mov x1, x21
bl _vkprintf
add x0, sp, #8
mov x1, x24
bl _tlist_insert
add w20, w20, #1
LBB0_6: ; in Loop: Header=BB0_7 Depth=2
ldr x24, [x24, #16]
cbz x24, LBB0_2
LBB0_7: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [x24]
ldr x9, [x28]
cmp x8, x9
b.ne LBB0_6
; %bb.8: ; in Loop: Header=BB0_7 Depth=2
mov x0, x24
bl _check_is_running
cbz x0, LBB0_5
; %bb.9: ; in Loop: Header=BB0_7 Depth=2
str x24, [sp]
mov w0, #4 ; =0x4
mov x1, x23
bl _vkprintf
mov x0, x22
mov x1, x24
bl _tlist_insert
add w19, w19, #1
b LBB0_6
LBB0_10:
cmp w20, #1
b.lt LBB0_18
; %bb.11:
mov x0, x20
mov w1, #8 ; =0x8
bl _calloc
mov x21, x0
cmp x0, #0
cset w0, ne
bl _assert
ldr x8, [sp, #16]
add x9, sp, #8
cmp x8, x9
b.eq LBB0_14
; %bb.12:
mov x10, x21
LBB0_13: ; =>This Inner Loop Header: Depth=1
str x8, [x10], #8
ldr x8, [x8, #8]
cmp x8, x9
b.ne LBB0_13
LBB0_14:
Lloh12:
adrp x8, _cmp_transaction@GOTPAGE
Lloh13:
ldr x8, [x8, _cmp_transaction@GOTPAGEOFF]
Lloh14:
ldr w3, [x8]
mov x0, x21
mov x1, x20
mov w2, #8 ; =0x8
bl _qsort
mov x23, #0 ; =0x0
mov w24, w20
Lloh15:
adrp x22, l_.str.2@PAGE
Lloh16:
add x22, x22, l_.str.2@PAGEOFF
LBB0_15: ; =>This Inner Loop Header: Depth=1
mov w0, #4 ; =0x4
mov x1, x22
bl _vkprintf
ldr x0, [x21, x23, lsl #3]
mov w1, #0 ; =0x0
bl _transaction_finish_execution
add x23, x23, #1
cmp x24, x23
b.ne LBB0_15
; %bb.16:
mov x0, x21
bl _free
str x20, [sp]
Lloh17:
adrp x1, l_.str.3@PAGE
Lloh18:
add x1, x1, l_.str.3@PAGEOFF
mov w0, #3 ; =0x3
bl _vkprintf
b LBB0_18
LBB0_17:
mov w19, #0 ; =0x0
LBB0_18:
mov x0, 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
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpAdd Lloh17, Lloh18
.cfi_endproc
; -- End function
.comm _HASH_MASK,4,2 ; @HASH_MASK
.comm _H,8,3 ; @H
.comm _ts_running,8,3 ; @ts_running
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "tlist_insert (&auto_running_list, %p)\n"
.comm _auto_running_list,24,3 ; @auto_running_list
l_.str.1: ; @.str.1
.asciz "tlist_insert (&auto_terminated_list, %p)\n"
.comm _cmp_transaction,4,2 ; @cmp_transaction
l_.str.2: ; @.str.2
.asciz "find_running_transactions: call transaction_finish_execution\n"
l_.str.3: ; @.str.3
.asciz "found %d terminated transaction(s)\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function worker_map_limit
_worker_map_limit: ## @worker_map_limit
.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
testq %rdi, %rdi
je LBB0_3
## %bb.1:
movq _num_iterations@GOTPCREL(%rip), %r14
cmpl $0, (%r14)
js LBB0_2
## %bb.4:
movq %rdi, %rbx
movq _num_sections@GOTPCREL(%rip), %r15
movl (%r15), %ecx
xorl %r12d, %r12d
xorl %r13d, %r13d
LBB0_5: ## =>This Loop Header: Depth=1
## Child Loop BB0_7 Depth 2
testl %ecx, %ecx
jle LBB0_11
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movq %r12, -48(%rbp) ## 8-byte Spill
movq %r14, %r12
xorl %r14d, %r14d
.p2align 4, 0x90
LBB0_7: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
movq 8(%rbx), %rax
movl (%rax,%r14,4), %edi
callq _pt_section_map
testl %eax, %eax
js LBB0_15
## %bb.8: ## in Loop: Header=BB0_7 Depth=2
movq 8(%rbx), %rax
movl (%rax,%r14,4), %edi
callq _pt_section_unmap
testl %eax, %eax
js LBB0_15
## %bb.9: ## in Loop: Header=BB0_7 Depth=2
incq %r14
movslq (%r15), %rcx
cmpq %rcx, %r14
jl LBB0_7
## %bb.10: ## in Loop: Header=BB0_5 Depth=1
movq %r12, %r14
movq -48(%rbp), %r12 ## 8-byte Reload
LBB0_11: ## in Loop: Header=BB0_5 Depth=1
imull $-373475417, %r13d, %eax ## imm = 0xE9BD37A7
addl $93368854, %eax ## imm = 0x590B216
cmpl $186737708, %eax ## imm = 0xB21642C
ja LBB0_14
## %bb.12: ## in Loop: Header=BB0_5 Depth=1
movslq %r12d, %rax
leaq l___const.worker_map_limit.limits(%rip), %rcx
movl (%rcx,%rax,4), %esi
movq %rbx, %rdi
callq _pt_iscache_set_limit
testl %eax, %eax
js LBB0_15
## %bb.13: ## in Loop: Header=BB0_5 Depth=1
incl %r12d
andl $3, %r12d
movl (%r15), %ecx
LBB0_14: ## in Loop: Header=BB0_5 Depth=1
decl %r13d
xorl %eax, %eax
cmpl (%r14), %r13d
jle LBB0_5
jmp LBB0_15
LBB0_3:
movq _pte_internal@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
jmp LBB0_15
LBB0_2:
xorl %eax, %eax
LBB0_15:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 4, 0x0 ## @__const.worker_map_limit.limits
l___const.worker_map_limit.limits:
.long 32768 ## 0x8000
.long 12288 ## 0x3000
.long 73728 ## 0x12000
.long 0 ## 0x0
.comm _pte_internal,4,2 ## @pte_internal
.comm _num_iterations,4,2 ## @num_iterations
.comm _num_sections,4,2 ## @num_sections
.no_dead_strip _worker_map_limit
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function worker_map_limit
_worker_map_limit: ; @worker_map_limit
.cfi_startproc
; %bb.0:
cbz x0, LBB0_12
; %bb.1:
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
Lloh0:
adrp x20, _num_iterations@GOTPAGE
Lloh1:
ldr x20, [x20, _num_iterations@GOTPAGEOFF]
ldr w8, [x20]
tbnz w8, #31, LBB0_13
; %bb.2:
mov x19, x0
mov w21, #0 ; =0x0
mov w22, #0 ; =0x0
Lloh2:
adrp x23, _num_sections@GOTPAGE
Lloh3:
ldr x23, [x23, _num_sections@GOTPAGEOFF]
ldr w8, [x23]
mov w24, #14247 ; =0x37a7
movk w24, #59837, lsl #16
mov w25, #45590 ; =0xb216
movk w25, #1424, lsl #16
mov w26, #25644 ; =0x642c
movk w26, #2849, lsl #16
Lloh4:
adrp x27, l___const.worker_map_limit.limits@PAGE
Lloh5:
add x27, x27, l___const.worker_map_limit.limits@PAGEOFF
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_5 Depth 2
cmp w8, #1
b.lt LBB0_8
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov x28, #0 ; =0x0
LBB0_5: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [x19, #8]
ldr w0, [x8, x28, lsl #2]
bl _pt_section_map
tbnz w0, #31, LBB0_14
; %bb.6: ; in Loop: Header=BB0_5 Depth=2
ldr x8, [x19, #8]
ldr w0, [x8, x28, lsl #2]
bl _pt_section_unmap
tbnz w0, #31, LBB0_14
; %bb.7: ; in Loop: Header=BB0_5 Depth=2
add x28, x28, #1
ldrsw x8, [x23]
cmp x28, x8
b.lt LBB0_5
LBB0_8: ; in Loop: Header=BB0_3 Depth=1
madd w9, w22, w24, w25
cmp w9, w26
b.hi LBB0_11
; %bb.9: ; in Loop: Header=BB0_3 Depth=1
ldr w1, [x27, w21, sxtw #2]
mov x0, x19
bl _pt_iscache_set_limit
tbnz w0, #31, LBB0_14
; %bb.10: ; in Loop: Header=BB0_3 Depth=1
add w8, w21, #1
and w21, w8, #0x3
ldr w8, [x23]
LBB0_11: ; in Loop: Header=BB0_3 Depth=1
mov w0, #0 ; =0x0
sub w22, w22, #1
ldr w9, [x20]
cmp w22, w9
b.le LBB0_3
b LBB0_14
LBB0_12:
Lloh6:
adrp x8, _pte_internal@GOTPAGE
Lloh7:
ldr x8, [x8, _pte_internal@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
neg w0, w8
ret
LBB0_13:
mov w0, #0 ; =0x0
LBB0_14:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.section __TEXT,__const
.p2align 2, 0x0 ; @__const.worker_map_limit.limits
l___const.worker_map_limit.limits:
.long 32768 ; 0x8000
.long 12288 ; 0x3000
.long 73728 ; 0x12000
.long 0 ; 0x0
.comm _pte_internal,4,2 ; @pte_internal
.comm _num_iterations,4,2 ; @num_iterations
.comm _num_sections,4,2 ; @num_sections
.no_dead_strip _worker_map_limit
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function test_collate_needed_cb
_test_collate_needed_cb: ## @test_collate_needed_cb
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %r15
movq %rsi, %rbx
movq %rsi, %rdi
callq _ENC
movl %eax, %r14d
movzbl (%r15), %ecx
xorl %eax, %eax
testb %cl, %cl
je LBB0_6
## %bb.1:
movq _zNeededCollation@GOTPCREL(%rip), %rdx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
cmpb $0, 1(%r15,%rax)
je LBB0_5
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq (%rdx), %rdi
leaq 1(%rax), %rsi
movb %cl, (%rdi,%rax)
movzbl 1(%r15,%rax), %ecx
movq %rsi, %rax
testb %cl, %cl
jne LBB0_2
## %bb.4:
movl %esi, %eax
LBB0_5:
movl %eax, %eax
LBB0_6:
movq _zNeededCollation@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movb $0, (%rcx,%rax)
movq %rbx, %rdi
callq _ENC
movl %eax, %r15d
movl %r14d, %edi
callq _SQLITE_INT_TO_PTR
movq _test_collate_func@GOTPCREL(%rip), %rcx
movl (%rcx), %r8d
leaq L_.str(%rip), %rsi
movq %rbx, %rdi
movl %r15d, %edx
movl %eax, %ecx
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _sqlite3_create_collation ## TAILCALL
.cfi_endproc
## -- End function
.comm _zNeededCollation,8,3 ## @zNeededCollation
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "test_collate"
.comm _test_collate_func,4,2 ## @test_collate_func
.no_dead_strip _test_collate_needed_cb
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function test_collate_needed_cb
_test_collate_needed_cb: ; @test_collate_needed_cb
.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 x21, x3
mov x19, x1
mov x0, x1
bl _ENC
mov x20, x0
ldrb w10, [x21]
Lloh0:
adrp x8, _zNeededCollation@GOTPAGE
Lloh1:
ldr x8, [x8, _zNeededCollation@GOTPAGEOFF]
mov x9, #0 ; =0x0
cbz w10, LBB0_6
; %bb.1:
add x11, x21, #1
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldrb w12, [x11, x9]
cbz w12, LBB0_5
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
ldr x13, [x8]
add x12, x9, #1
strb w10, [x13, x9]
ldrb w10, [x11, x9]
mov x9, x12
cbnz w10, LBB0_2
; %bb.4:
mov x9, x12
LBB0_5:
mov w9, w9
LBB0_6:
ldr x8, [x8]
strb wzr, [x8, x9]
mov x0, x19
bl _ENC
mov x21, x0
mov x0, x20
bl _SQLITE_INT_TO_PTR
mov x3, x0
Lloh2:
adrp x8, _test_collate_func@GOTPAGE
Lloh3:
ldr x8, [x8, _test_collate_func@GOTPAGEOFF]
Lloh4:
adrp x1, l_.str@PAGE
Lloh5:
add x1, x1, l_.str@PAGEOFF
Lloh6:
ldr w4, [x8]
mov x0, x19
mov x2, x21
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _sqlite3_create_collation
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh6
.cfi_endproc
; -- End function
.comm _zNeededCollation,8,3 ; @zNeededCollation
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "test_collate"
.comm _test_collate_func,4,2 ; @test_collate_func
.no_dead_strip _test_collate_needed_cb
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _mbfl_name2encoding ## -- Begin function mbfl_name2encoding
.p2align 4, 0x90
_mbfl_name2encoding: ## @mbfl_name2encoding
.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
testq %rdi, %rdi
je LBB0_22
## %bb.1:
movq %rdi, %rbx
xorl %r12d, %r12d
movq _mbfl_encoding_ptr_list@GOTPCREL(%rip), %r15
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq (%r15), %rax
movq (%rax,%r12), %r14
testq %r14, %r14
je LBB0_5
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq 16(%r14), %rdi
movq %rbx, %rsi
callq _strcasecmp
addq $-8, %r12
testq %rax, %rax
jne LBB0_2
jmp LBB0_23
LBB0_5:
movq (%rax), %r14
testq %r14, %r14
je LBB0_22
## %bb.6:
movl $8, %r12d
jmp LBB0_8
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_8 Depth=1
movq (%rax,%r12), %r14
addq $8, %r12
testq %r14, %r14
je LBB0_11
LBB0_8: ## =>This Inner Loop Header: Depth=1
movq 8(%r14), %rdi
testq %rdi, %rdi
je LBB0_7
## %bb.9: ## in Loop: Header=BB0_8 Depth=1
movq %rbx, %rsi
callq _strcasecmp
testq %rax, %rax
je LBB0_23
## %bb.10: ## in Loop: Header=BB0_8 Depth=1
movq (%r15), %rax
jmp LBB0_7
LBB0_11:
movq (%rax), %r13
testq %r13, %r13
je LBB0_22
## %bb.12:
movl $1, %edx
xorl %r14d, %r14d
jmp LBB0_16
LBB0_22:
xorl %r14d, %r14d
LBB0_23:
movq %r14, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_14: ## in Loop: Header=BB0_16 Depth=1
movq (%r15), %rax
movq -48(%rbp), %rdx ## 8-byte Reload
LBB0_15: ## in Loop: Header=BB0_16 Depth=1
movq (%rax,%rdx,8), %r13
incq %rdx
testq %r13, %r13
je LBB0_23
LBB0_16: ## =>This Loop Header: Depth=1
## Child Loop BB0_19 Depth 2
movq (%r13), %rcx
testq %rcx, %rcx
je LBB0_15
## %bb.17: ## in Loop: Header=BB0_16 Depth=1
movq (%rcx), %rcx
movq (%rcx), %rdi
testq %rdi, %rdi
je LBB0_15
## %bb.18: ## in Loop: Header=BB0_16 Depth=1
movq %rdx, -48(%rbp) ## 8-byte Spill
movl $8, %r12d
.p2align 4, 0x90
LBB0_19: ## Parent Loop BB0_16 Depth=1
## => This Inner Loop Header: Depth=2
movq %rbx, %rsi
callq _strcasecmp
testq %rax, %rax
je LBB0_21
## %bb.20: ## in Loop: Header=BB0_19 Depth=2
movq (%r13), %rax
movq (%rax), %rax
movq (%rax,%r12), %rdi
addq $8, %r12
testq %rdi, %rdi
jne LBB0_19
jmp LBB0_14
LBB0_21:
movq %r13, %r14
jmp LBB0_23
.cfi_endproc
## -- End function
.comm _mbfl_encoding_ptr_list,8,3 ## @mbfl_encoding_ptr_list
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _mbfl_name2encoding ; -- Begin function mbfl_name2encoding
.p2align 2
_mbfl_name2encoding: ; @mbfl_name2encoding
.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
cbz x0, LBB0_12
; %bb.1:
mov x19, x0
mov x22, #0 ; =0x0
Lloh0:
adrp x21, _mbfl_encoding_ptr_list@GOTPAGE
Lloh1:
ldr x21, [x21, _mbfl_encoding_ptr_list@GOTPAGEOFF]
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x8, [x21]
ldr x20, [x8, x22]
cbz x20, LBB0_4
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
ldr x0, [x20, #16]
mov x1, x19
bl _strcasecmp
sub x22, x22, #8
cbnz x0, LBB0_2
b LBB0_13
LBB0_4:
ldr x20, [x8]
cbz x20, LBB0_13
; %bb.5:
mov w22, #8 ; =0x8
b LBB0_7
LBB0_6: ; in Loop: Header=BB0_7 Depth=1
ldr x20, [x8, x22]
add x22, x22, #8
cbz x20, LBB0_10
LBB0_7: ; =>This Inner Loop Header: Depth=1
ldr x0, [x20, #8]
cbz x0, LBB0_6
; %bb.8: ; in Loop: Header=BB0_7 Depth=1
mov x1, x19
bl _strcasecmp
cbz x0, LBB0_13
; %bb.9: ; in Loop: Header=BB0_7 Depth=1
ldr x8, [x21]
b LBB0_6
LBB0_10:
ldr x23, [x8]
cbz x23, LBB0_12
; %bb.11:
mov w22, #1 ; =0x1
b LBB0_16
LBB0_12:
mov x20, #0 ; =0x0
LBB0_13:
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
LBB0_14: ; in Loop: Header=BB0_16 Depth=1
ldr x8, [x21]
LBB0_15: ; in Loop: Header=BB0_16 Depth=1
mov x20, #0 ; =0x0
ldr x23, [x8, x22, lsl #3]
add x22, x22, #1
cbz x23, LBB0_13
LBB0_16: ; =>This Loop Header: Depth=1
; Child Loop BB0_19 Depth 2
ldr x9, [x23]
cbz x9, LBB0_15
; %bb.17: ; in Loop: Header=BB0_16 Depth=1
ldr x9, [x9]
ldr x0, [x9]
cbz x0, LBB0_15
; %bb.18: ; in Loop: Header=BB0_16 Depth=1
mov w20, #8 ; =0x8
LBB0_19: ; Parent Loop BB0_16 Depth=1
; => This Inner Loop Header: Depth=2
mov x1, x19
bl _strcasecmp
cbz x0, LBB0_21
; %bb.20: ; in Loop: Header=BB0_19 Depth=2
ldr x8, [x23]
ldr x8, [x8]
ldr x0, [x8, x20]
add x20, x20, #8
cbnz x0, LBB0_19
b LBB0_14
LBB0_21:
mov x20, x23
b LBB0_13
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _mbfl_encoding_ptr_list,8,3 ; @mbfl_encoding_ptr_list
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _autoprewarm_database_main ## -- Begin function autoprewarm_database_main
.p2align 4, 0x90
_autoprewarm_database_main: ## @autoprewarm_database_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
movq _SIGTERM@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _die@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _pqsignal
xorl %eax, %eax
callq _BackgroundWorkerUnblockSignals
xorl %eax, %eax
callq _apw_init_shmem
movq _apw_state@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl 16(%rax), %edi
callq _dsm_attach
movq %rax, %r15
testq %rax, %rax
je LBB0_2
## %bb.1:
movq _ERROR@GOTPCREL(%rip), %rax
movl (%rax), %r14d
movq _ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _errcode
leaq L_.str(%rip), %rdi
callq _errmsg
movl %r14d, %edi
movl %eax, %esi
callq _ereport
LBB0_2:
movq _apw_state@GOTPCREL(%rip), %rbx
movq (%rbx), %rax
movl 12(%rax), %edi
movq _InvalidOid@GOTPCREL(%rip), %rax
movl (%rax), %esi
xorl %edx, %edx
callq _BackgroundWorkerInitializeConnectionByOid
movq %r15, %rdi
callq _dsm_segment_address
movq (%rbx), %rcx
movslq (%rcx), %rbx
cmpl 4(%rcx), %ebx
jge LBB0_33
## %bb.3:
movq %r15, -56(%rbp) ## 8-byte Spill
leaq (%rbx,%rbx,4), %rcx
incq %rbx
leaq (%rax,%rcx,8), %r13
xorl %r14d, %r14d
movq $0, -48(%rbp) ## 8-byte Folded Spill
xorl %r15d, %r15d
jmp LBB0_6
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_6 Depth=1
movq %r13, %r15
LBB0_5: ## in Loop: Header=BB0_6 Depth=1
movq _apw_state@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq 4(%rax), %rax
decq %rbx
addq $-40, %r13
cmpq %rax, %rbx
jg LBB0_34
LBB0_6: ## =>This Inner Loop Header: Depth=1
xorl %eax, %eax
callq _have_free_buffer
testq %rax, %rax
je LBB0_34
## %bb.7: ## in Loop: Header=BB0_6 Depth=1
xorl %eax, %eax
callq _CHECK_FOR_INTERRUPTS
testq %r15, %r15
je LBB0_15
## %bb.8: ## in Loop: Header=BB0_6 Depth=1
movq (%r15), %rax
testq %rax, %rax
je LBB0_10
## %bb.9: ## in Loop: Header=BB0_6 Depth=1
cmpq (%r13), %rax
jne LBB0_5
LBB0_10: ## in Loop: Header=BB0_6 Depth=1
movq 8(%r15), %rax
movq 8(%r13), %rcx
cmpq %rcx, %rax
je LBB0_13
## %bb.11: ## in Loop: Header=BB0_6 Depth=1
testq %r14, %r14
je LBB0_13
## %bb.12: ## in Loop: Header=BB0_6 Depth=1
movq _AccessShareLock@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
callq _relation_close
xorl %eax, %eax
callq _CommitTransactionCommand
movq 8(%r15), %rax
movl $0, %r14d
cmpq 8(%r13), %rax
je LBB0_26
jmp LBB0_15
LBB0_13: ## in Loop: Header=BB0_6 Depth=1
cmpq %rcx, %rax
jne LBB0_15
## %bb.14: ## in Loop: Header=BB0_6 Depth=1
testq %r14, %r14
jne LBB0_20
jmp LBB0_26
.p2align 4, 0x90
LBB0_15: ## in Loop: Header=BB0_6 Depth=1
xorl %edi, %edi
testq %r14, %r14
sete %dil
callq _Assert
xorl %eax, %eax
callq _StartTransactionCommand
movl 32(%r13), %edi
movq 8(%r13), %rsi
callq _RelidByRelfilenode
movl %eax, %r12d
movl %eax, %edi
callq _OidIsValid
testq %rax, %rax
je LBB0_17
## %bb.16: ## in Loop: Header=BB0_6 Depth=1
movq _AccessShareLock@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl %r12d, %edi
callq _try_relation_open
movq %rax, %r14
LBB0_17: ## in Loop: Header=BB0_6 Depth=1
testq %r14, %r14
je LBB0_25
## %bb.18: ## in Loop: Header=BB0_6 Depth=1
testq %r15, %r15
je LBB0_21
## %bb.19: ## in Loop: Header=BB0_6 Depth=1
movq 8(%r15), %rax
cmpq 8(%r13), %rax
jne LBB0_21
LBB0_20: ## in Loop: Header=BB0_6 Depth=1
movq 16(%r15), %rax
cmpq 16(%r13), %rax
je LBB0_30
LBB0_21: ## in Loop: Header=BB0_6 Depth=1
movq %r14, %rdi
callq _RelationOpenSmgr
movq 16(%r13), %rsi
movq _InvalidForkNumber@GOTPCREL(%rip), %rax
cmpq (%rax), %rsi
jle LBB0_29
## %bb.22: ## in Loop: Header=BB0_6 Depth=1
movq _MAX_FORKNUM@GOTPCREL(%rip), %rax
cmpq (%rax), %rsi
jg LBB0_29
## %bb.23: ## in Loop: Header=BB0_6 Depth=1
movl (%r14), %edi
callq _smgrexists
testq %rax, %rax
je LBB0_29
## %bb.24: ## in Loop: Header=BB0_6 Depth=1
movq 16(%r13), %rsi
movq %r14, %rdi
callq _RelationGetNumberOfBlocksInFork
movq %rax, -48(%rbp) ## 8-byte Spill
jmp LBB0_30
.p2align 4, 0x90
LBB0_29: ## in Loop: Header=BB0_6 Depth=1
movq $0, -48(%rbp) ## 8-byte Folded Spill
LBB0_30: ## in Loop: Header=BB0_6 Depth=1
movq 24(%r13), %rdx
cmpq -48(%rbp), %rdx ## 8-byte Folded Reload
jge LBB0_4
## %bb.31: ## in Loop: Header=BB0_6 Depth=1
movq 16(%r13), %rsi
movq _RBM_NORMAL@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %r14, %rdi
xorl %r8d, %r8d
callq _ReadBufferExtended
movl %eax, %r12d
movl %eax, %edi
callq _BufferIsValid
testq %rax, %rax
je LBB0_4
## %bb.32: ## in Loop: Header=BB0_6 Depth=1
movq _apw_state@GOTPCREL(%rip), %rax
movq (%rax), %rax
incl 8(%rax)
movl %r12d, %edi
callq _ReleaseBuffer
jmp LBB0_4
LBB0_25: ## in Loop: Header=BB0_6 Depth=1
xorl %eax, %eax
callq _CommitTransactionCommand
LBB0_26: ## in Loop: Header=BB0_6 Depth=1
movq %r13, %r15
xorl %r14d, %r14d
jmp LBB0_5
LBB0_33:
movq %r15, %rdi
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _dsm_detach ## TAILCALL
LBB0_34:
movq -56(%rbp), %rdi ## 8-byte Reload
callq _dsm_detach
testq %r14, %r14
je LBB0_36
## %bb.35:
movq _AccessShareLock@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
callq _relation_close
xorl %eax, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _CommitTransactionCommand ## TAILCALL
LBB0_36:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SIGTERM,4,2 ## @SIGTERM
.comm _die,4,2 ## @die
.comm _apw_state,8,3 ## @apw_state
.comm _ERROR,4,2 ## @ERROR
.comm _ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE,4,2 ## @ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "could not map dynamic shared memory segment"
.comm _InvalidOid,4,2 ## @InvalidOid
.comm _AccessShareLock,4,2 ## @AccessShareLock
.comm _InvalidForkNumber,8,3 ## @InvalidForkNumber
.comm _MAX_FORKNUM,8,3 ## @MAX_FORKNUM
.comm _RBM_NORMAL,4,2 ## @RBM_NORMAL
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _autoprewarm_database_main ; -- Begin function autoprewarm_database_main
.p2align 2
_autoprewarm_database_main: ; @autoprewarm_database_main
.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
Lloh0:
adrp x8, _SIGTERM@GOTPAGE
Lloh1:
ldr x8, [x8, _SIGTERM@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
Lloh3:
adrp x8, _die@GOTPAGE
Lloh4:
ldr x8, [x8, _die@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
bl _pqsignal
bl _BackgroundWorkerUnblockSignals
bl _apw_init_shmem
Lloh6:
adrp x23, _apw_state@GOTPAGE
Lloh7:
ldr x23, [x23, _apw_state@GOTPAGEOFF]
ldr x8, [x23]
ldr w0, [x8, #16]
bl _dsm_attach
mov x19, x0
cbz x0, LBB0_2
; %bb.1:
Lloh8:
adrp x8, _ERROR@GOTPAGE
Lloh9:
ldr x8, [x8, _ERROR@GOTPAGEOFF]
Lloh10:
ldr w20, [x8]
Lloh11:
adrp x8, _ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE@GOTPAGE
Lloh12:
ldr x8, [x8, _ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE@GOTPAGEOFF]
Lloh13:
ldr w0, [x8]
bl _errcode
Lloh14:
adrp x0, l_.str@PAGE
Lloh15:
add x0, x0, l_.str@PAGEOFF
bl _errmsg
mov x1, x0
mov x0, x20
bl _ereport
LBB0_2:
ldr x8, [x23]
ldr w0, [x8, #12]
Lloh16:
adrp x8, _InvalidOid@GOTPAGE
Lloh17:
ldr x8, [x8, _InvalidOid@GOTPAGEOFF]
Lloh18:
ldr w1, [x8]
mov w2, #0 ; =0x0
bl _BackgroundWorkerInitializeConnectionByOid
mov x0, x19
bl _dsm_segment_address
ldr x9, [x23]
ldp w8, w9, [x9]
; kill: def $w8 killed $w8 def $x8
sxtw x8, w8
cmp w8, w9
b.ge LBB0_30
; %bb.3:
mov x20, #0 ; =0x0
mov x21, #0 ; =0x0
mov x28, #0 ; =0x0
add x25, x8, #1
mov w9, #40 ; =0x28
smaddl x26, w8, w9, x0
Lloh19:
adrp x24, _AccessShareLock@GOTPAGE
Lloh20:
ldr x24, [x24, _AccessShareLock@GOTPAGEOFF]
Lloh21:
adrp x27, _InvalidForkNumber@GOTPAGE
Lloh22:
ldr x27, [x27, _InvalidForkNumber@GOTPAGEOFF]
b LBB0_7
LBB0_4: ; in Loop: Header=BB0_7 Depth=1
bl _CommitTransactionCommand
LBB0_5: ; in Loop: Header=BB0_7 Depth=1
mov x28, x26
LBB0_6: ; in Loop: Header=BB0_7 Depth=1
ldr x8, [x23]
ldrsw x8, [x8, #4]
sub x25, x25, #1
sub x26, x26, #40
cmp x25, x8
b.gt LBB0_31
LBB0_7: ; =>This Inner Loop Header: Depth=1
bl _have_free_buffer
cbz x0, LBB0_31
; %bb.8: ; in Loop: Header=BB0_7 Depth=1
bl _CHECK_FOR_INTERRUPTS
cbz x28, LBB0_16
; %bb.9: ; in Loop: Header=BB0_7 Depth=1
ldr x8, [x28]
cbz x8, LBB0_11
; %bb.10: ; in Loop: Header=BB0_7 Depth=1
ldr x9, [x26]
cmp x8, x9
b.ne LBB0_6
LBB0_11: ; in Loop: Header=BB0_7 Depth=1
ldr x8, [x28, #8]
ldr x9, [x26, #8]
cmp x8, x9
b.eq LBB0_14
; %bb.12: ; in Loop: Header=BB0_7 Depth=1
cbz x20, LBB0_14
; %bb.13: ; in Loop: Header=BB0_7 Depth=1
ldr w1, [x24]
mov x0, x20
bl _relation_close
bl _CommitTransactionCommand
mov x20, #0 ; =0x0
ldr x8, [x28, #8]
ldr x9, [x26, #8]
cmp x8, x9
b.eq LBB0_5
b LBB0_16
LBB0_14: ; in Loop: Header=BB0_7 Depth=1
cmp x8, x9
b.ne LBB0_16
; %bb.15: ; in Loop: Header=BB0_7 Depth=1
cbnz x20, LBB0_21
b LBB0_5
LBB0_16: ; in Loop: Header=BB0_7 Depth=1
cmp x20, #0
cset w0, eq
bl _Assert
bl _StartTransactionCommand
ldr w0, [x26, #32]
ldr x1, [x26, #8]
bl _RelidByRelfilenode
mov x22, x0
bl _OidIsValid
cbz x0, LBB0_18
; %bb.17: ; in Loop: Header=BB0_7 Depth=1
ldr w1, [x24]
mov x0, x22
bl _try_relation_open
mov x20, x0
LBB0_18: ; in Loop: Header=BB0_7 Depth=1
cbz x20, LBB0_4
; %bb.19: ; in Loop: Header=BB0_7 Depth=1
cbz x28, LBB0_22
; %bb.20: ; in Loop: Header=BB0_7 Depth=1
ldr x8, [x28, #8]
ldr x9, [x26, #8]
cmp x8, x9
b.ne LBB0_22
LBB0_21: ; in Loop: Header=BB0_7 Depth=1
ldr x8, [x28, #16]
ldr x9, [x26, #16]
cmp x8, x9
b.eq LBB0_27
LBB0_22: ; in Loop: Header=BB0_7 Depth=1
mov x0, x20
bl _RelationOpenSmgr
mov x21, #0 ; =0x0
ldr x1, [x26, #16]
ldr x8, [x27]
cmp x1, x8
b.le LBB0_27
; %bb.23: ; in Loop: Header=BB0_7 Depth=1
Lloh23:
adrp x8, _MAX_FORKNUM@GOTPAGE
Lloh24:
ldr x8, [x8, _MAX_FORKNUM@GOTPAGEOFF]
Lloh25:
ldr x8, [x8]
cmp x1, x8
b.gt LBB0_27
; %bb.24: ; in Loop: Header=BB0_7 Depth=1
ldr w0, [x20]
bl _smgrexists
cbz x0, LBB0_26
; %bb.25: ; in Loop: Header=BB0_7 Depth=1
ldr x1, [x26, #16]
mov x0, x20
bl _RelationGetNumberOfBlocksInFork
mov x21, x0
b LBB0_27
LBB0_26: ; in Loop: Header=BB0_7 Depth=1
mov x21, #0 ; =0x0
LBB0_27: ; in Loop: Header=BB0_7 Depth=1
ldr x2, [x26, #24]
cmp x2, x21
b.ge LBB0_5
; %bb.28: ; in Loop: Header=BB0_7 Depth=1
ldr x1, [x26, #16]
Lloh26:
adrp x8, _RBM_NORMAL@GOTPAGE
Lloh27:
ldr x8, [x8, _RBM_NORMAL@GOTPAGEOFF]
Lloh28:
ldr w3, [x8]
mov x0, x20
mov x4, #0 ; =0x0
bl _ReadBufferExtended
mov x22, x0
bl _BufferIsValid
cbz x0, LBB0_5
; %bb.29: ; in Loop: Header=BB0_7 Depth=1
ldr x8, [x23]
ldr w9, [x8, #8]
add w9, w9, #1
str w9, [x8, #8]
mov x0, x22
bl _ReleaseBuffer
b LBB0_5
LBB0_30:
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 _dsm_detach
LBB0_31:
mov x0, x19
bl _dsm_detach
cbz x20, LBB0_33
; %bb.32:
ldr w1, [x24]
mov x0, x20
bl _relation_close
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 _CommitTransactionCommand
LBB0_33:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGot Lloh21, Lloh22
.loh AdrpLdrGot Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.cfi_endproc
; -- End function
.comm _SIGTERM,4,2 ; @SIGTERM
.comm _die,4,2 ; @die
.comm _apw_state,8,3 ; @apw_state
.comm _ERROR,4,2 ; @ERROR
.comm _ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE,4,2 ; @ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "could not map dynamic shared memory segment"
.comm _InvalidOid,4,2 ; @InvalidOid
.comm _AccessShareLock,4,2 ; @AccessShareLock
.comm _InvalidForkNumber,8,3 ; @InvalidForkNumber
.comm _MAX_FORKNUM,8,3 ; @MAX_FORKNUM
.comm _RBM_NORMAL,4,2 ; @RBM_NORMAL
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _esp_efuse_utility_burn_efuses ## -- Begin function esp_efuse_utility_burn_efuses
.p2align 4, 0x90
_esp_efuse_utility_burn_efuses: ## @esp_efuse_utility_burn_efuses
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
xorl %eax, %eax
callq _esp_efuse_set_timing
movq _EFUSE_CONF_REG@GOTPCREL(%rip), %r14
movq (%r14), %rdi
movq _EFUSE_CONF_WRITE@GOTPCREL(%rip), %rax
movq (%rax), %rsi
callq _REG_WRITE
movq _EFUSE_CMD_REG@GOTPCREL(%rip), %rbx
movq (%rbx), %rdi
movq _EFUSE_CMD_PGM@GOTPCREL(%rip), %rax
movq (%rax), %rsi
callq _REG_WRITE
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq (%rbx), %rdi
callq _REG_READ
testq %rax, %rax
jne LBB0_1
## %bb.2:
movq (%r14), %rdi
movq _EFUSE_CONF_READ@GOTPCREL(%rip), %rax
movq (%rax), %rsi
callq _REG_WRITE
movq (%rbx), %rdi
movq _EFUSE_CMD_READ@GOTPCREL(%rip), %rax
movq (%rax), %rsi
callq _REG_WRITE
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq (%rbx), %rdi
callq _REG_READ
testq %rax, %rax
jne LBB0_3
## %bb.4:
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
jmp _esp_efuse_utility_reset ## TAILCALL
.cfi_endproc
## -- End function
.comm _EFUSE_CONF_REG,8,3 ## @EFUSE_CONF_REG
.comm _EFUSE_CONF_WRITE,8,3 ## @EFUSE_CONF_WRITE
.comm _EFUSE_CMD_REG,8,3 ## @EFUSE_CMD_REG
.comm _EFUSE_CMD_PGM,8,3 ## @EFUSE_CMD_PGM
.comm _EFUSE_CONF_READ,8,3 ## @EFUSE_CONF_READ
.comm _EFUSE_CMD_READ,8,3 ## @EFUSE_CMD_READ
.comm _COUNT_EFUSE_BLOCKS,4,2 ## @COUNT_EFUSE_BLOCKS
.comm _COUNT_EFUSE_REG_PER_BLOCK,4,2 ## @COUNT_EFUSE_REG_PER_BLOCK
.comm _EFUSE_CODING_SCHEME_3_4,8,3 ## @EFUSE_CODING_SCHEME_3_4
.comm _TAG,4,2 ## @TAG
.comm _range_write_addr_blocks,8,3 ## @range_write_addr_blocks
.comm _virt_blocks,8,3 ## @virt_blocks
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _esp_efuse_utility_burn_efuses ; -- Begin function esp_efuse_utility_burn_efuses
.p2align 2
_esp_efuse_utility_burn_efuses: ; @esp_efuse_utility_burn_efuses
.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
bl _esp_efuse_set_timing
Lloh0:
adrp x20, _EFUSE_CONF_REG@GOTPAGE
Lloh1:
ldr x20, [x20, _EFUSE_CONF_REG@GOTPAGEOFF]
ldr x0, [x20]
Lloh2:
adrp x8, _EFUSE_CONF_WRITE@GOTPAGE
Lloh3:
ldr x8, [x8, _EFUSE_CONF_WRITE@GOTPAGEOFF]
Lloh4:
ldr x1, [x8]
bl _REG_WRITE
Lloh5:
adrp x19, _EFUSE_CMD_REG@GOTPAGE
Lloh6:
ldr x19, [x19, _EFUSE_CMD_REG@GOTPAGEOFF]
ldr x0, [x19]
Lloh7:
adrp x8, _EFUSE_CMD_PGM@GOTPAGE
Lloh8:
ldr x8, [x8, _EFUSE_CMD_PGM@GOTPAGEOFF]
Lloh9:
ldr x1, [x8]
bl _REG_WRITE
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x0, [x19]
bl _REG_READ
cbnz x0, LBB0_1
; %bb.2:
ldr x0, [x20]
Lloh10:
adrp x8, _EFUSE_CONF_READ@GOTPAGE
Lloh11:
ldr x8, [x8, _EFUSE_CONF_READ@GOTPAGEOFF]
Lloh12:
ldr x1, [x8]
bl _REG_WRITE
ldr x0, [x19]
Lloh13:
adrp x8, _EFUSE_CMD_READ@GOTPAGE
Lloh14:
ldr x8, [x8, _EFUSE_CMD_READ@GOTPAGEOFF]
Lloh15:
ldr x1, [x8]
bl _REG_WRITE
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x0, [x19]
bl _REG_READ
cbnz x0, LBB0_3
; %bb.4:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _esp_efuse_utility_reset
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.cfi_endproc
; -- End function
.comm _EFUSE_CONF_REG,8,3 ; @EFUSE_CONF_REG
.comm _EFUSE_CONF_WRITE,8,3 ; @EFUSE_CONF_WRITE
.comm _EFUSE_CMD_REG,8,3 ; @EFUSE_CMD_REG
.comm _EFUSE_CMD_PGM,8,3 ; @EFUSE_CMD_PGM
.comm _EFUSE_CONF_READ,8,3 ; @EFUSE_CONF_READ
.comm _EFUSE_CMD_READ,8,3 ; @EFUSE_CMD_READ
.comm _COUNT_EFUSE_BLOCKS,4,2 ; @COUNT_EFUSE_BLOCKS
.comm _COUNT_EFUSE_REG_PER_BLOCK,4,2 ; @COUNT_EFUSE_REG_PER_BLOCK
.comm _EFUSE_CODING_SCHEME_3_4,8,3 ; @EFUSE_CODING_SCHEME_3_4
.comm _TAG,4,2 ; @TAG
.comm _range_write_addr_blocks,8,3 ; @range_write_addr_blocks
.comm _virt_blocks,8,3 ; @virt_blocks
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function init_piobuf_state
_init_piobuf_state: ## @init_piobuf_state
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movq 80(%rdi), %rdi
movq _QIB_SENDCTRL_DISARM_ALL@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq *88(%rbx)
movq %rbx, %rsi
cmpl $0, (%rbx)
movq %rbx, %r12
js LBB0_3
## %bb.1:
movq $-1, %rbx
xorl %r14d, %r14d
movq _QIB_SENDCTRL_FLUSH@GOTPCREL(%rip), %r15
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq 80(%rsi), %rdi
addq %r14, %rdi
movl (%r15), %esi
callq *88(%r12)
movq %r12, %rsi
movslq (%r12), %rax
incq %rbx
decq %r14
cmpq %rax, %rbx
jl LBB0_2
LBB0_3:
movl 12(%rsi), %ecx
testl %ecx, %ecx
je LBB0_4
## %bb.5:
movl 4(%rsi), %edx
subl 8(%rsi), %edx
movq 64(%rsi), %rax
imull %ecx, %edx
movslq %edx, %rcx
subq %rcx, %rax
jmp LBB0_6
LBB0_4:
xorl %eax, %eax
LBB0_6:
movq %rax, 72(%rsi)
cmpl $0, 16(%rsi)
jle LBB0_7
## %bb.12:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_13: ## =>This Inner Loop Header: Depth=1
movq 56(%rsi), %rax
movl (%rax,%rbx,4), %edi
callq _le64_to_cpu
movq %r12, %rsi
movq 48(%r12), %rdi
movq %rax, (%rdi,%rbx,8)
incq %rbx
movslq 16(%r12), %rax
cmpq %rax, %rbx
jl LBB0_13
jmp LBB0_8
LBB0_7:
movq 48(%rsi), %rdi
xorl %ebx, %ebx
LBB0_8:
callq _ARRAY_SIZE
cmpl %eax, %ebx
jge LBB0_11
## %bb.9:
movl %ebx, %ebx
.p2align 4, 0x90
LBB0_10: ## =>This Inner Loop Header: Depth=1
movq 48(%r12), %rdi
movq $0, (%rdi,%rbx,8)
incq %rbx
callq _ARRAY_SIZE
cmpl %ebx, %eax
jg LBB0_10
LBB0_11:
movq 32(%r12), %rdx
addq 40(%r12), %rdx
movq _TXCHK_CHG_TYPE_KERN@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %r12, %rdi
xorl %esi, %esi
xorl %r8d, %r8d
callq _qib_chg_pioavailkernel
movq %r12, %rdi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmpq *24(%rdi) ## TAILCALL
.cfi_endproc
## -- End function
.comm _QIB_SENDCTRL_DISARM_ALL,4,2 ## @QIB_SENDCTRL_DISARM_ALL
.comm _QIB_SENDCTRL_FLUSH,4,2 ## @QIB_SENDCTRL_FLUSH
.comm _TXCHK_CHG_TYPE_KERN,4,2 ## @TXCHK_CHG_TYPE_KERN
.no_dead_strip _init_piobuf_state
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function init_piobuf_state
_init_piobuf_state: ; @init_piobuf_state
.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, x0
ldp x0, x8, [x0, #80]
Lloh0:
adrp x9, _QIB_SENDCTRL_DISARM_ALL@GOTPAGE
Lloh1:
ldr x9, [x9, _QIB_SENDCTRL_DISARM_ALL@GOTPAGEOFF]
Lloh2:
ldr w1, [x9]
blr x8
ldr w8, [x19]
tbnz w8, #31, LBB0_3
; %bb.1:
mov x20, #0 ; =0x0
mov x21, #-1 ; =0xffffffffffffffff
Lloh3:
adrp x22, _QIB_SENDCTRL_FLUSH@GOTPAGE
Lloh4:
ldr x22, [x22, _QIB_SENDCTRL_FLUSH@GOTPAGEOFF]
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldp x9, x8, [x19, #80]
ldr w1, [x22]
add x0, x20, x9
blr x8
ldrsw x8, [x19]
add x21, x21, #1
sub x20, x20, #1
cmp x21, x8
b.lt LBB0_2
LBB0_3:
ldr w8, [x19, #12]
cbz w8, LBB0_5
; %bb.4:
ldp w9, w10, [x19, #4]
sub w9, w9, w10
ldr x10, [x19, #64]
mul w8, w9, w8
sub x8, x10, w8, sxtw
b LBB0_6
LBB0_5:
mov x8, #0 ; =0x0
LBB0_6:
str x8, [x19, #72]
ldr w8, [x19, #16]
cmp w8, #0
b.le LBB0_9
; %bb.7:
mov x20, #0 ; =0x0
LBB0_8: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #56]
ldr w0, [x8, x20, lsl #2]
bl _le64_to_cpu
mov x8, x0
ldr x0, [x19, #48]
str x8, [x0, x20, lsl #3]
add x20, x20, #1
ldrsw x8, [x19, #16]
cmp x20, x8
b.lt LBB0_8
b LBB0_10
LBB0_9:
mov w20, #0 ; =0x0
ldr x0, [x19, #48]
LBB0_10:
bl _ARRAY_SIZE
cmp w20, w0
b.ge LBB0_13
; %bb.11:
mov w8, w20
LBB0_12: ; =>This Inner Loop Header: Depth=1
ldr x0, [x19, #48]
add x20, x8, #1
str xzr, [x0, x8, lsl #3]
bl _ARRAY_SIZE
mov x8, x20
cmp w0, w20
b.gt LBB0_12
LBB0_13:
ldp x9, x8, [x19, #32]
Lloh5:
adrp x10, _TXCHK_CHG_TYPE_KERN@GOTPAGE
Lloh6:
ldr x10, [x10, _TXCHK_CHG_TYPE_KERN@GOTPAGEOFF]
Lloh7:
ldr w3, [x10]
add x2, x9, x8
mov x0, x19
mov w1, #0 ; =0x0
mov x4, #0 ; =0x0
bl _qib_chg_pioavailkernel
ldr x1, [x19, #24]
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
br x1
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _QIB_SENDCTRL_DISARM_ALL,4,2 ; @QIB_SENDCTRL_DISARM_ALL
.comm _QIB_SENDCTRL_FLUSH,4,2 ; @QIB_SENDCTRL_FLUSH
.comm _TXCHK_CHG_TYPE_KERN,4,2 ; @TXCHK_CHG_TYPE_KERN
.no_dead_strip _init_piobuf_state
.subsections_via_symbols
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.