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 filter_options
_filter_options: ## @filter_options
.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
movq $0, -48(%rbp)
callq _update_options_from_argv
testl %r14d, %r14d
je LBB0_26
## %bb.1:
movq (%rbx), %r15
xorl %r12d, %r12d
testq %r15, %r15
je LBB0_15
## %bb.2:
leaq 8(%rbx), %r13
xorl %r14d, %r14d
jmp LBB0_3
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_3 Depth=1
movslq %r14d, %rax
incl %r14d
movq %r15, (%rbx,%rax,8)
LBB0_13: ## in Loop: Header=BB0_3 Depth=1
movslq %r12d, %rax
incl %r12d
movq 8(%rbx,%rax,8), %r15
testq %r15, %r15
je LBB0_14
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_8 Depth 2
movzbl (%r15), %eax
addl $-45, %eax
jne LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movzbl 1(%r15), %eax
addl $-45, %eax
je LBB0_5
LBB0_6: ## in Loop: Header=BB0_3 Depth=1
testl %eax, %eax
je LBB0_7
LBB0_10: ## in Loop: Header=BB0_3 Depth=1
movq %r15, %rdi
xorl %esi, %esi
callq _argv_parse_rev_flag
testq %rax, %rax
je LBB0_12
## %bb.11: ## in Loop: Header=BB0_3 Depth=1
movq _opt_rev_args@GOTPCREL(%rip), %rdi
movq %r15, %rsi
callq _argv_append
jmp LBB0_13
LBB0_5: ## in Loop: Header=BB0_3 Depth=1
movzbl 2(%r15), %eax
testl %eax, %eax
jne LBB0_10
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_3 Depth=1
movslq %r12d, %rax
movslq %r14d, %rcx
leaq (%rbx,%rcx,8), %rcx
leaq (,%rax,8), %rdx
addq %r13, %rdx
xorl %eax, %eax
.p2align 4, 0x90
LBB0_8: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movq %r15, (%rcx,%rax,8)
movq (%rdx,%rax,8), %r15
incq %rax
testq %r15, %r15
jne LBB0_8
## %bb.9: ## in Loop: Header=BB0_3 Depth=1
addl %eax, %r14d
addl %eax, %r12d
jmp LBB0_13
LBB0_14:
movslq %r14d, %r12
LBB0_15:
movq $0, (%rbx,%r12,8)
movq _opt_file_args@GOTPCREL(%rip), %rdi
leaq L_.str.1(%rip), %r14
leaq L_.str.2(%rip), %rdx
movq %r14, %rsi
movq %rbx, %rcx
callq _filter_rev_parse
leaq L_.str.3(%rip), %rsi
leaq -48(%rbp), %rdi
movq %r14, %rdx
movq %rbx, %rcx
callq _filter_rev_parse
movq -48(%rbp), %rax
testq %rax, %rax
je LBB0_24
## %bb.16:
movq (%rax), %r15
xorl %r12d, %r12d
testq %r15, %r15
je LBB0_23
## %bb.17:
movl $8, %r13d
movq _opt_rev_args@GOTPCREL(%rip), %r14
jmp LBB0_18
.p2align 4, 0x90
LBB0_20: ## in Loop: Header=BB0_18 Depth=1
movq -48(%rbp), %rax
movslq %r12d, %rcx
incl %r12d
movq %r15, (%rax,%rcx,8)
LBB0_21: ## in Loop: Header=BB0_18 Depth=1
movq -48(%rbp), %rax
movq (%rax,%r13), %r15
addq $8, %r13
testq %r15, %r15
je LBB0_22
LBB0_18: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
xorl %esi, %esi
callq _argv_parse_rev_flag
testq %rax, %rax
je LBB0_20
## %bb.19: ## in Loop: Header=BB0_18 Depth=1
movq %r14, %rdi
movq %r15, %rsi
callq _argv_append
jmp LBB0_21
LBB0_26:
movq _opt_cmdline_args@GOTPCREL(%rip), %rax
movq %rbx, (%rax)
jmp LBB0_25
LBB0_22:
movslq %r12d, %r12
LBB0_23:
movq $0, (%rax,%r12,8)
movq -48(%rbp), %rax
movq _opt_cmdline_args@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
LBB0_24:
movq _opt_rev_args@GOTPCREL(%rip), %rdi
leaq L_.str.4(%rip), %rsi
leaq L_.str.5(%rip), %rdx
movq %rbx, %rcx
callq _filter_rev_parse
LBB0_25:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _opt_cmdline_args,8,3 ## @opt_cmdline_args
.comm _opt_rev_args,8,3 ## @opt_rev_args
.comm _opt_file_args,8,3 ## @opt_file_args
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "--no-revs"
L_.str.2: ## @.str.2
.asciz "--no-flags"
L_.str.3: ## @.str.3
.asciz "--flags"
L_.str.4: ## @.str.4
.asciz "--symbolic"
L_.str.5: ## @.str.5
.asciz "--revs-only"
.no_dead_strip _filter_options
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function filter_options
_filter_options: ; @filter_options
.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 x20, x1
mov x19, x0
str xzr, [sp, #8]
bl _update_options_from_argv
cbz w20, LBB0_14
; %bb.1:
ldr x21, [x19]
cbz x21, LBB0_15
; %bb.2:
mov w23, #0 ; =0x0
mov w22, #0 ; =0x0
add x24, x19, #8
Lloh0:
adrp x20, _opt_rev_args@GOTPAGE
Lloh1:
ldr x20, [x20, _opt_rev_args@GOTPAGEOFF]
b LBB0_5
LBB0_3: ; in Loop: Header=BB0_5 Depth=1
str x21, [x19, w22, sxtw #3]
add w8, w22, #1
mov x22, x8
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
add w23, w23, #1
ldr x21, [x19, w23, sxtw #3]
cbz x21, LBB0_13
LBB0_5: ; =>This Loop Header: Depth=1
; Child Loop BB0_12 Depth 2
ldrb w8, [x21]
subs w8, w8, #45
b.ne LBB0_7
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
ldrb w8, [x21, #1]
subs w8, w8, #45
b.eq LBB0_10
LBB0_7: ; in Loop: Header=BB0_5 Depth=1
cbz w8, LBB0_11
LBB0_8: ; in Loop: Header=BB0_5 Depth=1
mov x0, x21
mov x1, #0 ; =0x0
bl _argv_parse_rev_flag
cbz x0, LBB0_3
; %bb.9: ; in Loop: Header=BB0_5 Depth=1
mov x0, x20
mov x1, x21
bl _argv_append
b LBB0_4
LBB0_10: ; in Loop: Header=BB0_5 Depth=1
ldrb w8, [x21, #2]
cbnz w8, LBB0_8
LBB0_11: ; in Loop: Header=BB0_5 Depth=1
add x8, x19, w22, sxtw #3
add x9, x24, w23, sxtw #3
LBB0_12: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
str x21, [x8], #8
ldr x21, [x9], #8
add w22, w22, #1
add w23, w23, #1
cbnz x21, LBB0_12
b LBB0_4
LBB0_13:
sxtw x8, w22
b LBB0_16
LBB0_14:
Lloh2:
adrp x8, _opt_cmdline_args@GOTPAGE
Lloh3:
ldr x8, [x8, _opt_cmdline_args@GOTPAGEOFF]
Lloh4:
str x19, [x8]
b LBB0_27
LBB0_15:
mov x8, #0 ; =0x0
LBB0_16:
str xzr, [x19, x8, lsl #3]
Lloh5:
adrp x0, _opt_file_args@GOTPAGE
Lloh6:
ldr x0, [x0, _opt_file_args@GOTPAGEOFF]
Lloh7:
adrp x20, l_.str.1@PAGE
Lloh8:
add x20, x20, l_.str.1@PAGEOFF
Lloh9:
adrp x2, l_.str.2@PAGE
Lloh10:
add x2, x2, l_.str.2@PAGEOFF
mov x1, x20
mov x3, x19
bl _filter_rev_parse
Lloh11:
adrp x1, l_.str.3@PAGE
Lloh12:
add x1, x1, l_.str.3@PAGEOFF
add x0, sp, #8
mov x2, x20
mov x3, x19
bl _filter_rev_parse
ldr x8, [sp, #8]
cbz x8, LBB0_26
; %bb.17:
ldr x21, [x8]
cbz x21, LBB0_24
; %bb.18:
mov w22, #0 ; =0x0
mov w23, #8 ; =0x8
Lloh13:
adrp x20, _opt_rev_args@GOTPAGE
Lloh14:
ldr x20, [x20, _opt_rev_args@GOTPAGEOFF]
b LBB0_21
LBB0_19: ; in Loop: Header=BB0_21 Depth=1
ldr x8, [sp, #8]
str x21, [x8, w22, sxtw #3]
add w8, w22, #1
mov x22, x8
LBB0_20: ; in Loop: Header=BB0_21 Depth=1
ldr x8, [sp, #8]
ldr x21, [x8, x23]
add x23, x23, #8
cbz x21, LBB0_23
LBB0_21: ; =>This Inner Loop Header: Depth=1
mov x0, x21
mov x1, #0 ; =0x0
bl _argv_parse_rev_flag
cbz x0, LBB0_19
; %bb.22: ; in Loop: Header=BB0_21 Depth=1
mov x0, x20
mov x1, x21
bl _argv_append
b LBB0_20
LBB0_23:
sxtw x9, w22
b LBB0_25
LBB0_24:
mov x9, #0 ; =0x0
LBB0_25:
str xzr, [x8, x9, lsl #3]
ldr x8, [sp, #8]
Lloh15:
adrp x9, _opt_cmdline_args@GOTPAGE
Lloh16:
ldr x9, [x9, _opt_cmdline_args@GOTPAGEOFF]
Lloh17:
str x8, [x9]
LBB0_26:
Lloh18:
adrp x0, _opt_rev_args@GOTPAGE
Lloh19:
ldr x0, [x0, _opt_rev_args@GOTPAGEOFF]
Lloh20:
adrp x1, l_.str.4@PAGE
Lloh21:
add x1, x1, l_.str.4@PAGEOFF
Lloh22:
adrp x2, l_.str.5@PAGE
Lloh23:
add x2, x2, l_.str.5@PAGEOFF
mov x3, x19
bl _filter_rev_parse
LBB0_27:
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 AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotStr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpLdrGotStr Lloh15, Lloh16, Lloh17
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpLdrGot Lloh18, Lloh19
.cfi_endproc
; -- End function
.comm _opt_cmdline_args,8,3 ; @opt_cmdline_args
.comm _opt_rev_args,8,3 ; @opt_rev_args
.comm _opt_file_args,8,3 ; @opt_file_args
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "--no-revs"
l_.str.2: ; @.str.2
.asciz "--no-flags"
l_.str.3: ; @.str.3
.asciz "--flags"
l_.str.4: ; @.str.4
.asciz "--symbolic"
l_.str.5: ; @.str.5
.asciz "--revs-only"
.no_dead_strip _filter_options
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function spanhash_rehash
_spanhash_rehash: ## @spanhash_rehash
.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
movl (%rdi), %r12d
movl $2, %ebx
movl %r12d, %ecx
shll %cl, %ebx
movl $16, %edi
movl %ebx, %esi
callq _st_mult
movl $16, %edi
movl %eax, %esi
callq _st_add
movl %eax, %edi
callq _xmalloc
movq %rax, %r14
movl (%r15), %edi
decl %edi
movl %edi, (%rax)
callq _INITIAL_FREE
movl %eax, 4(%r14)
movq 8(%r14), %rdi
movl $32, %edx
movl %r12d, %ecx
shll %cl, %edx
xorl %esi, %esi
callq _memset
cmpq $31, %r12
je LBB0_8
## %bb.1:
movl $1, %edx
movl %r12d, %ecx
shlq %cl, %rdx
movq 8(%r15), %rcx
addq $8, %rcx
xorl %esi, %esi
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq (%rcx), %rax
testq %rax, %rax
jne LBB0_4
## %bb.2: ## in Loop: Header=BB0_3 Depth=1
decq %rsi
addq $-16, %rcx
cmpq %rdx, %rsi
jle LBB0_3
LBB0_8:
movq %r15, %rdi
callq _free
movq %r14, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_4:
movl -8(%rcx), %ecx
leal -1(%rbx), %edx
andl %ecx, %edx
movq 8(%r14), %rsi
xorl %edi, %edi
jmp LBB0_5
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_5 Depth=1
cmpl %edx, %ebx
cmovlel %edi, %edx
LBB0_5: ## =>This Inner Loop Header: Depth=1
movslq %edx, %r8
incl %edx
shlq $4, %r8
cmpq $0, 8(%rsi,%r8)
jne LBB0_7
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
addq %rsi, %r8
movl %ecx, (%r8)
movq %rax, 8(%r8)
decl 4(%r14)
jmp LBB0_5
.cfi_endproc
## -- End function
.no_dead_strip _spanhash_rehash
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function spanhash_rehash
_spanhash_rehash: ; @spanhash_rehash
.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, x0
ldr w22, [x0]
mov w8, #2 ; =0x2
lsl w19, w8, w22
mov w0, #16 ; =0x10
mov x1, x19
bl _st_mult
mov x1, x0
mov w0, #16 ; =0x10
bl _st_add
bl _xmalloc
mov x20, x0
ldr w8, [x21]
sub w0, w8, #1
str w0, [x20]
bl _INITIAL_FREE
str w0, [x20, #4]
ldr x0, [x20, #8]
mov w8, #32 ; =0x20
lsl w2, w8, w22
mov w1, #0 ; =0x0
bl _memset
cmp w22, #31
b.eq LBB0_4
; %bb.1:
mov x9, #0 ; =0x0
mov w8, #1 ; =0x1
lsl x11, x8, x22
ldr x8, [x21, #8]
add x10, x8, #8
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x8, [x10]
cbnz x8, LBB0_5
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
sub x9, x9, #1
sub x10, x10, #16
cmp x9, x11
b.le LBB0_2
LBB0_4:
mov x0, x21
bl _free
mov x0, x20
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_5:
ldur w9, [x10, #-8]
sub w10, w19, #1
and w12, w9, w10
ldr x10, [x20, #8]
b LBB0_7
LBB0_6: ; in Loop: Header=BB0_7 Depth=1
cmp w19, w11
csel w12, w11, wzr, gt
LBB0_7: ; =>This Inner Loop Header: Depth=1
add w11, w12, #1
add x12, x10, w12, sxtw #4
ldr x13, [x12, #8]
cbnz x13, LBB0_6
; %bb.8: ; in Loop: Header=BB0_7 Depth=1
str w9, [x12]
str x8, [x12, #8]
ldr w12, [x20, #4]
sub w12, w12, #1
str w12, [x20, #4]
mov x12, x11
b LBB0_7
.cfi_endproc
; -- End function
.no_dead_strip _spanhash_rehash
.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 lf_to_crlf
LCPI0_0:
.space 16,10
LCPI0_1:
.space 16,13
LCPI0_2:
.quad 1 ## 0x1
.quad 1 ## 0x1
.section __TEXT,__const
LCPI0_3:
.space 2,1
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_lf_to_crlf: ## @lf_to_crlf
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movq (%rdi), %rax
movq 8(%rdi), %rcx
leaq 1(%rax), %rsi
cmpq $1, %rsi
adcq $1, %rax
cmpq $16, %rsi
jae LBB0_2
## %bb.1:
xorl %esi, %esi
xorl %edi, %edi
xorl %edx, %edx
jmp LBB0_6
LBB0_2:
movq %rax, %rdx
andq $-16, %rdx
pxor %xmm0, %xmm0
xorl %edi, %edi
movdqa LCPI0_0(%rip), %xmm4 ## xmm4 = [10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10]
movdqa LCPI0_1(%rip), %xmm6 ## xmm6 = [13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13]
pcmpeqd %xmm9, %xmm9
pmovsxbq LCPI0_3(%rip), %xmm10 ## xmm10 = [1,1]
pxor %xmm2, %xmm2
pxor %xmm5, %xmm5
pxor %xmm1, %xmm1
pxor %xmm3, %xmm3
pxor %xmm7, %xmm7
pxor %xmm11, %xmm11
pxor %xmm8, %xmm8
pxor %xmm12, %xmm12
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movdqa %xmm0, %xmm14
movdqu (%rcx,%rdi), %xmm0
movdqa %xmm0, %xmm13
palignr $15, %xmm14, %xmm13 ## xmm13 = xmm14[15],xmm13[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]
pcmpeqb %xmm6, %xmm13
movdqa %xmm0, %xmm14
pcmpeqb %xmm4, %xmm14
pxor %xmm9, %xmm13
por %xmm14, %xmm13
pmovzxbq %xmm13, %xmm14 ## xmm14 = xmm13[0],zero,zero,zero,zero,zero,zero,zero,xmm13[1],zero,zero,zero,zero,zero,zero,zero
pand %xmm10, %xmm14
paddq %xmm14, %xmm2
movdqa %xmm13, %xmm14
psrldq $14, %xmm14 ## xmm14 = xmm14[14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
pmovzxbq %xmm14, %xmm14 ## xmm14 = xmm14[0],zero,zero,zero,zero,zero,zero,zero,xmm14[1],zero,zero,zero,zero,zero,zero,zero
pand %xmm10, %xmm14
paddq %xmm14, %xmm12
pshufd $255, %xmm13, %xmm14 ## xmm14 = xmm13[3,3,3,3]
pmovzxbq %xmm14, %xmm14 ## xmm14 = xmm14[0],zero,zero,zero,zero,zero,zero,zero,xmm14[1],zero,zero,zero,zero,zero,zero,zero
pand %xmm10, %xmm14
paddq %xmm14, %xmm8
movdqa %xmm13, %xmm14
psrldq $10, %xmm14 ## xmm14 = xmm14[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
pmovzxbq %xmm14, %xmm14 ## xmm14 = xmm14[0],zero,zero,zero,zero,zero,zero,zero,xmm14[1],zero,zero,zero,zero,zero,zero,zero
pand %xmm10, %xmm14
paddq %xmm14, %xmm11
pshufd $238, %xmm13, %xmm14 ## xmm14 = xmm13[2,3,2,3]
pmovzxbq %xmm14, %xmm14 ## xmm14 = xmm14[0],zero,zero,zero,zero,zero,zero,zero,xmm14[1],zero,zero,zero,zero,zero,zero,zero
pand %xmm10, %xmm14
paddq %xmm14, %xmm7
movdqa %xmm13, %xmm14
psrlq $48, %xmm14
pmovzxbq %xmm14, %xmm14 ## xmm14 = xmm14[0],zero,zero,zero,zero,zero,zero,zero,xmm14[1],zero,zero,zero,zero,zero,zero,zero
pand %xmm10, %xmm14
paddq %xmm14, %xmm3
pshufd $85, %xmm13, %xmm14 ## xmm14 = xmm13[1,1,1,1]
pmovzxbq %xmm14, %xmm14 ## xmm14 = xmm14[0],zero,zero,zero,zero,zero,zero,zero,xmm14[1],zero,zero,zero,zero,zero,zero,zero
pand %xmm10, %xmm14
paddq %xmm14, %xmm1
psrld $16, %xmm13
pmovzxbq %xmm13, %xmm13 ## xmm13 = xmm13[0],zero,zero,zero,zero,zero,zero,zero,xmm13[1],zero,zero,zero,zero,zero,zero,zero
pand %xmm10, %xmm13
paddq %xmm13, %xmm5
psubq %xmm9, %xmm2
psubq %xmm9, %xmm12
psubq %xmm9, %xmm8
psubq %xmm9, %xmm11
psubq %xmm9, %xmm7
psubq %xmm9, %xmm3
psubq %xmm9, %xmm1
psubq %xmm9, %xmm5
addq $16, %rdi
cmpq %rdi, %rdx
jne LBB0_3
## %bb.4:
paddq %xmm11, %xmm5
paddq %xmm12, %xmm3
paddq %xmm5, %xmm3
paddq %xmm7, %xmm2
paddq %xmm8, %xmm1
paddq %xmm2, %xmm1
paddq %xmm3, %xmm1
pshufd $238, %xmm1, %xmm2 ## xmm2 = xmm1[2,3,2,3]
paddq %xmm1, %xmm2
movq %xmm2, %rdi
cmpq %rdx, %rsi
je LBB0_7
## %bb.5:
pextrb $15, %xmm0, %esi
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
movzbl (%rcx,%rdx), %r8d
cmpb $10, %r8b
sete %r9b
cmpb $13, %sil
setne %sil
orb %r9b, %sil
movzbl %sil, %esi
addq %rsi, %rdi
incq %rdi
incq %rdx
movl %r8d, %esi
cmpq %rdx, %rax
jne LBB0_6
LBB0_7:
callq _xmallocz
cmpq $0, (%rbx)
je LBB0_8
## %bb.9:
xorl %edi, %edi
xorl %edx, %edx
xorl %ecx, %ecx
jmp LBB0_10
.p2align 4, 0x90
LBB0_13: ## in Loop: Header=BB0_10 Depth=1
movb %sil, (%rax,%rdx)
incq %rdx
incq %rcx
movl %esi, %edi
cmpq (%rbx), %rcx
jae LBB0_14
LBB0_10: ## =>This Inner Loop Header: Depth=1
movq 8(%rbx), %rsi
movzbl (%rsi,%rcx), %esi
cmpb $10, %sil
jne LBB0_13
## %bb.11: ## in Loop: Header=BB0_10 Depth=1
cmpb $13, %dil
je LBB0_13
## %bb.12: ## in Loop: Header=BB0_10 Depth=1
movb $13, (%rax,%rdx)
incq %rdx
movq 8(%rbx), %rsi
movzbl (%rsi,%rcx), %esi
jmp LBB0_13
LBB0_8:
xorl %edx, %edx
LBB0_14:
leaq -1(%rdx), %rcx
movq %rbx, %rdi
movq %rax, %rsi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _strbuf_attach ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _lf_to_crlf
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function lf_to_crlf
_lf_to_crlf: ; @lf_to_crlf
.cfi_startproc
; %bb.0:
stp d9, d8, [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 b8, -72
.cfi_offset b9, -80
mov x19, x0
ldp x9, x8, [x0]
add x11, x9, #1
cmp x11, #1
mov w10, #1 ; =0x1
csinc x9, x10, x9, ls
cmp x11, #32
b.hs LBB0_2
; %bb.1:
mov w11, #0 ; =0x0
mov x0, #0 ; =0x0
mov x10, #0 ; =0x0
b LBB0_6
LBB0_2:
and x10, x9, #0xffffffffffffffe0
movi.2d v0, #0000000000000000
movi.16b v1, #10
movi.16b v2, #13
mov w12, #1 ; =0x1
dup.2d v4, x12
add x12, x8, #16
movi.2d v3, #0000000000000000
mov x13, x10
movi.2d v5, #0000000000000000
movi.2d v6, #0000000000000000
movi.2d v19, #0000000000000000
movi.2d v7, #0000000000000000
movi.2d v18, #0000000000000000
movi.2d v16, #0000000000000000
movi.2d v23, #0000000000000000
movi.2d v17, #0000000000000000
movi.2d v22, #0000000000000000
movi.2d v21, #0000000000000000
movi.2d v26, #0000000000000000
movi.2d v20, #0000000000000000
movi.2d v24, #0000000000000000
movi.2d v25, #0000000000000000
movi.2d v27, #0000000000000000
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldur q28, [x12, #-16]
ext.16b v29, v0, v28, #15
ldr q0, [x12]
ext.16b v30, v28, v0, #15
cmeq.16b v28, v28, v1
cmeq.16b v8, v0, v1
cmeq.16b v29, v29, v2
orn.16b v29, v28, v29
umov.b w14, v29[0]
umov.b w15, v29[1]
umov.b w16, v29[2]
cmeq.16b v9, v30, v2
umov.b w17, v29[3]
umov.b w0, v29[4]
fmov s28, w16
umov.b w16, v29[5]
umov.b w1, v29[6]
mov.s v28[1], w17
fmov s30, w0
fmov s31, w1
umov.b w17, v29[7]
mov.s v30[1], w16
umov.b w16, v29[8]
umov.b w0, v29[14]
mov.s v31[1], w17
orn.16b v8, v8, v9
fmov s9, w0
umov.b w17, v29[15]
mov.s v9[1], w17
ushll.2d v9, v9, #0
umov.b w0, v29[9]
umov.b w17, v29[10]
and.16b v9, v9, v4
mvn.16b v23, v23
umov.b w1, v29[11]
umov.b w2, v29[12]
sub.2d v23, v9, v23
fmov s9, w16
umov.b w16, v29[13]
fmov s29, w2
mov.s v9[1], w0
mov.s v29[1], w16
ushll.2d v29, v29, #0
and.16b v29, v29, v4
mvn.16b v16, v16
sub.2d v16, v29, v16
fmov s29, w17
mov.s v29[1], w1
ushll.2d v29, v29, #0
mvn.16b v18, v18
and.16b v29, v29, v4
sub.2d v18, v29, v18
ushll.2d v29, v9, #0
mvn.16b v7, v7
umov.b w16, v8[0]
and.16b v29, v29, v4
sub.2d v7, v29, v7
umov.b w17, v8[1]
umov.b w0, v8[2]
ushll.2d v29, v31, #0
umov.b w1, v8[3]
umov.b w2, v8[4]
mvn.16b v19, v19
and.16b v29, v29, v4
sub.2d v19, v29, v19
umov.b w3, v8[5]
umov.b w4, v8[6]
ushll.2d v29, v30, #0
umov.b w5, v8[7]
umov.b w6, v8[8]
mvn.16b v6, v6
and.16b v29, v29, v4
sub.2d v6, v29, v6
umov.b w7, v8[9]
umov.b w20, v8[10]
ushll.2d v28, v28, #0
and.16b v28, v28, v4
umov.b w21, v8[11]
mvn.16b v5, v5
sub.2d v5, v28, v5
fmov s28, w14
umov.b w14, v8[12]
umov.b w22, v8[13]
mov.s v28[1], w15
umov.b w15, v8[14]
umov.b w23, v8[15]
fmov s29, w20
ushll.2d v28, v28, #0
and.16b v28, v28, v4
mvn.16b v3, v3
sub.2d v3, v28, v3
fmov s28, w15
mov.s v29[1], w21
mov.s v28[1], w23
ushll.2d v28, v28, #0
and.16b v28, v28, v4
mvn.16b v27, v27
sub.2d v27, v28, v27
fmov s28, w14
mov.s v28[1], w22
ushll.2d v28, v28, #0
mvn.16b v25, v25
and.16b v28, v28, v4
sub.2d v25, v28, v25
ushll.2d v28, v29, #0
and.16b v28, v28, v4
mvn.16b v24, v24
sub.2d v24, v28, v24
fmov s28, w6
mov.s v28[1], w7
ushll.2d v28, v28, #0
and.16b v28, v28, v4
mvn.16b v20, v20
sub.2d v20, v28, v20
fmov s28, w4
mov.s v28[1], w5
ushll.2d v28, v28, #0
mvn.16b v26, v26
and.16b v28, v28, v4
sub.2d v26, v28, v26
fmov s28, w2
mov.s v28[1], w3
ushll.2d v28, v28, #0
and.16b v28, v28, v4
mvn.16b v21, v21
sub.2d v21, v28, v21
fmov s28, w0
mov.s v28[1], w1
ushll.2d v28, v28, #0
and.16b v28, v28, v4
mvn.16b v22, v22
sub.2d v22, v28, v22
fmov s28, w16
mov.s v28[1], w17
ushll.2d v28, v28, #0
and.16b v28, v28, v4
mvn.16b v17, v17
sub.2d v17, v28, v17
add x12, x12, #32
subs x13, x13, #32
b.ne LBB0_3
; %bb.4:
add.2d v1, v26, v19
add.2d v2, v27, v23
add.2d v4, v22, v5
add.2d v5, v24, v18
add.2d v6, v21, v6
add.2d v16, v25, v16
add.2d v3, v17, v3
add.2d v7, v20, v7
add.2d v3, v3, v7
add.2d v6, v6, v16
add.2d v3, v3, v6
add.2d v4, v4, v5
add.2d v1, v1, v2
add.2d v1, v4, v1
add.2d v1, v3, v1
addp.2d d1, v1
fmov x0, d1
cmp x11, x10
b.eq LBB0_8
; %bb.5:
umov.b w11, v0[15]
LBB0_6:
sub x9, x9, x10
add x8, x8, x10
LBB0_7: ; =>This Inner Loop Header: Depth=1
and w10, w11, #0xff
ldrb w11, [x8], #1
cmp w10, #13
ccmp w11, #10, #4, eq
cinc x10, x0, eq
add x0, x10, #1
subs x9, x9, #1
b.ne LBB0_7
LBB0_8:
bl _xmallocz
mov x1, x0
ldr x8, [x19]
cbz x8, LBB0_13
; %bb.9:
mov w11, #0 ; =0x0
mov x10, #0 ; =0x0
mov x8, #0 ; =0x0
mov w9, #13 ; =0xd
b LBB0_11
LBB0_10: ; in Loop: Header=BB0_11 Depth=1
strb w12, [x1, x10]
add x2, x10, #1
add x8, x8, #1
ldr x13, [x19]
mov x11, x12
mov x10, x2
cmp x8, x13
b.hs LBB0_14
LBB0_11: ; =>This Inner Loop Header: Depth=1
ldr x12, [x19, #8]
ldrb w12, [x12, x8]
cmp w12, #10
ccmp w11, #13, #4, eq
b.eq LBB0_10
; %bb.12: ; in Loop: Header=BB0_11 Depth=1
strb w9, [x1, x10]
add x10, x10, #1
ldr x11, [x19, #8]
ldrb w12, [x11, x8]
b LBB0_10
LBB0_13:
mov x2, #0 ; =0x0
LBB0_14:
sub x3, x2, #1
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 d9, d8, [sp], #80 ; 16-byte Folded Reload
b _strbuf_attach
.cfi_endproc
; -- End function
.no_dead_strip _lf_to_crlf
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _expand_block_move ## -- Begin function expand_block_move
.p2align 4, 0x90
_expand_block_move: ## @expand_block_move
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $72, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movl (%rdi), %eax
movl %eax, -92(%rbp) ## 4-byte Spill
movl 4(%rdi), %eax
movl %eax, -88(%rbp) ## 4-byte Spill
movl 8(%rdi), %r14d
movl 12(%rdi), %r15d
movl %r14d, %edi
callq _GET_CODE
movq %rax, %r12
movq _CONST_INT@GOTPCREL(%rip), %r13
movq _MAX_MOVE_REG@GOTPCREL(%rip), %rax
movl (%rax), %eax
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, -104(%rbp) ## 8-byte Spill
xorl %ebx, %ebx
cmpq (%r13), %r12
jne LBB0_70
## %bb.1:
movl %r15d, %edi
callq _GET_CODE
xorl %edi, %edi
cmpq (%r13), %rax
sete %dil
callq _gcc_assert
movl %r15d, -84(%rbp) ## 4-byte Spill
movl %r15d, %edi
callq _INTVAL
movl %eax, %r15d
movq _BITS_PER_UNIT@GOTPCREL(%rip), %rax
imull (%rax), %r15d
movl %r14d, %edi
callq _INTVAL
testl %eax, %eax
jle LBB0_69
## %bb.2:
movq _TARGET_POWERPC64@GOTPCREL(%rip), %rdx
xorl %ecx, %ecx
cmpq $0, (%rdx)
setne %cl
shll $5, %ecx
addl $32, %ecx
cmpl %ecx, %eax
ja LBB0_70
## %bb.3:
movq _BLKmode@GOTPCREL(%rip), %rcx
movl (%rcx), %ebx
movq $0, -80(%rbp) ## 8-byte Folded Spill
movl $0, -60(%rbp) ## 4-byte Folded Spill
movl %r15d, -72(%rbp) ## 4-byte Spill
jmp LBB0_4
LBB0_66: ## in Loop: Header=BB0_4 Depth=1
movl %r14d, %edi
xorl %esi, %esi
callq _XEXP
movl %eax, %edi
callq _copy_addr_to_reg
movl %r14d, %edi
movl %eax, %esi
callq _replace_equiv_address
movl %eax, %r12d
LBB0_67: ## in Loop: Header=BB0_4 Depth=1
movl %r13d, %r14d
movl %r13d, %edi
callq _GEN_INT
movl %r12d, %edi
movl %eax, %esi
callq _set_mem_size
orl $31, %r14d
movl %r14d, %edi
callq _GEN_INT
movl %r12d, %edi
movl %r15d, %esi
movl %eax, %edx
movl %ebx, %ecx
callq *-56(%rbp) ## 8-byte Folded Reload
movl %eax, %edi
callq _emit_insn
movq _BLKmode@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl -68(%rbp), %eax ## 4-byte Reload
movl -72(%rbp), %r15d ## 4-byte Reload
LBB0_68: ## in Loop: Header=BB0_4 Depth=1
movq -80(%rbp), %rcx ## 8-byte Reload
addl %r13d, %ecx
movq %rcx, -80(%rbp) ## 8-byte Spill
movl %edx, %ebx
subl %r13d, %eax
jle LBB0_69
LBB0_4: ## =>This Loop Header: Depth=1
## Child Loop BB0_59 Depth 2
cmpl $127, %r15d
setg %dl
cmpl $16, %eax
setae %cl
movq _TARGET_ALTIVEC@GOTPCREL(%rip), %rsi
cmpq $0, (%rsi)
movl %eax, -68(%rbp) ## 4-byte Spill
jne LBB0_6
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
andb %dl, %cl
jne LBB0_6
## %bb.7: ## in Loop: Header=BB0_4 Depth=1
movq _TARGET_STRING@GOTPCREL(%rip), %rcx
movq (%rcx), %r8
testq %r8, %r8
sete %cl
cmpl $25, %eax
setb %dl
orb %cl, %dl
jne LBB0_17
## %bb.8: ## in Loop: Header=BB0_4 Depth=1
movq _fixed_regs@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpl $0, 20(%rcx)
jne LBB0_17
## %bb.9: ## in Loop: Header=BB0_4 Depth=1
cmpl $0, 24(%rcx)
jne LBB0_17
## %bb.10: ## in Loop: Header=BB0_4 Depth=1
cmpl $0, 28(%rcx)
jne LBB0_17
## %bb.11: ## in Loop: Header=BB0_4 Depth=1
cmpl $0, 32(%rcx)
jne LBB0_17
## %bb.12: ## in Loop: Header=BB0_4 Depth=1
cmpl $0, 36(%rcx)
jne LBB0_17
## %bb.13: ## in Loop: Header=BB0_4 Depth=1
cmpl $0, 40(%rcx)
jne LBB0_17
## %bb.14: ## in Loop: Header=BB0_4 Depth=1
cmpl $0, 44(%rcx)
jne LBB0_17
## %bb.15: ## in Loop: Header=BB0_4 Depth=1
cmpl $0, 48(%rcx)
je LBB0_16
.p2align 4, 0x90
LBB0_17: ## in Loop: Header=BB0_4 Depth=1
testq %r8, %r8
sete %cl
cmpl $17, %eax
setb %dl
orb %cl, %dl
jne LBB0_25
## %bb.18: ## in Loop: Header=BB0_4 Depth=1
movq _fixed_regs@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpl $0, 20(%rcx)
jne LBB0_25
## %bb.19: ## in Loop: Header=BB0_4 Depth=1
cmpl $0, 24(%rcx)
jne LBB0_25
## %bb.20: ## in Loop: Header=BB0_4 Depth=1
cmpl $0, 28(%rcx)
jne LBB0_25
## %bb.21: ## in Loop: Header=BB0_4 Depth=1
cmpl $0, 32(%rcx)
jne LBB0_25
## %bb.22: ## in Loop: Header=BB0_4 Depth=1
cmpl $0, 36(%rcx)
jne LBB0_25
## %bb.23: ## in Loop: Header=BB0_4 Depth=1
cmpl $0, 40(%rcx)
je LBB0_24
.p2align 4, 0x90
LBB0_25: ## in Loop: Header=BB0_4 Depth=1
testq %r8, %r8
sete %cl
cmpl $9, %eax
setb %dl
orb %cl, %dl
jne LBB0_31
## %bb.26: ## in Loop: Header=BB0_4 Depth=1
movq _fixed_regs@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpl $0, 20(%rcx)
jne LBB0_31
## %bb.27: ## in Loop: Header=BB0_4 Depth=1
cmpl $0, 24(%rcx)
jne LBB0_31
## %bb.28: ## in Loop: Header=BB0_4 Depth=1
cmpl $0, 28(%rcx)
jne LBB0_31
## %bb.29: ## in Loop: Header=BB0_4 Depth=1
cmpl $0, 32(%rcx)
je LBB0_30
.p2align 4, 0x90
LBB0_31: ## in Loop: Header=BB0_4 Depth=1
cmpl $8, %eax
setae %dl
movq _TARGET_POWERPC64@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
testq %rcx, %rcx
setne %sil
andb %dl, %sil
cmpb $1, %sil
jne LBB0_36
## %bb.32: ## in Loop: Header=BB0_4 Depth=1
cmpl $63, %r15d
jg LBB0_35
## %bb.33: ## in Loop: Header=BB0_4 Depth=1
cmpl $32, %r15d
setge %cl
movq _STRICT_ALIGNMENT@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
testl %edx, %edx
sete %sil
andb %cl, %sil
cmpb $1, %sil
jne LBB0_34
LBB0_35: ## in Loop: Header=BB0_4 Depth=1
movq _DImode@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movl $8, %r13d
movq _gen_movdi@GOTPCREL(%rip), %rax
jmp LBB0_50
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_4 Depth=1
movq _V4SImode@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movl $16, %r13d
movq _gen_movv4si@GOTPCREL(%rip), %rax
LBB0_50: ## in Loop: Header=BB0_4 Depth=1
movq %rax, -56(%rbp) ## 8-byte Spill
movl -88(%rbp), %edi ## 4-byte Reload
movl %ebx, %esi
movq -80(%rbp), %r12 ## 8-byte Reload
movl %r12d, %edx
callq _adjust_address
movl %eax, %r15d
movl -92(%rbp), %edi ## 4-byte Reload
movl %ebx, %esi
movl %r12d, %edx
callq _adjust_address
movl %eax, %r14d
movq _BLKmode@GOTPCREL(%rip), %rax
cmpl (%rax), %ebx
movl %r15d, -96(%rbp) ## 4-byte Spill
jne LBB0_52
## %bb.51: ## in Loop: Header=BB0_4 Depth=1
movl %ebx, %edx
movl -60(%rbp), %eax ## 4-byte Reload
movl %eax, %r12d
jmp LBB0_53
.p2align 4, 0x90
LBB0_52: ## in Loop: Header=BB0_4 Depth=1
movl %ebx, %edi
callq _gen_reg_rtx
movl %eax, %r12d
movl %eax, %edi
movl %r15d, %esi
movl %ebx, -64(%rbp) ## 4-byte Spill
movq -56(%rbp), %r15 ## 8-byte Reload
callq *%r15
movl %eax, %edi
callq _emit_insn
movl %r14d, %edi
movl %r12d, %esi
callq *%r15
movq -104(%rbp), %rdx ## 8-byte Reload
movl -64(%rbp), %ebx ## 4-byte Reload
movl -60(%rbp), %esi ## 4-byte Reload
movslq %esi, %rcx
incl %esi
movl %eax, (%rdx,%rcx,4)
movq _BLKmode@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl %esi, %r12d
LBB0_53: ## in Loop: Header=BB0_4 Depth=1
movl -68(%rbp), %eax ## 4-byte Reload
cmpl %r13d, %eax
je LBB0_57
## %bb.54: ## in Loop: Header=BB0_4 Depth=1
cmpl %edx, %ebx
je LBB0_57
## %bb.55: ## in Loop: Header=BB0_4 Depth=1
movq _MAX_MOVE_REG@GOTPCREL(%rip), %rcx
cmpl (%rcx), %r12d
jge LBB0_57
## %bb.56: ## in Loop: Header=BB0_4 Depth=1
movl %r12d, -60(%rbp) ## 4-byte Spill
jmp LBB0_61
.p2align 4, 0x90
LBB0_57: ## in Loop: Header=BB0_4 Depth=1
movl $0, -60(%rbp) ## 4-byte Folded Spill
testl %r12d, %r12d
js LBB0_61
## %bb.58: ## in Loop: Header=BB0_4 Depth=1
movl %r14d, -64(%rbp) ## 4-byte Spill
incl %r12d
movq -104(%rbp), %r14 ## 8-byte Reload
xorl %r15d, %r15d
.p2align 4, 0x90
LBB0_59: ## Parent Loop BB0_4 Depth=1
## => This Inner Loop Header: Depth=2
movl (%r14,%r15,4), %edi
callq _emit_insn
incq %r15
cmpq %r15, %r12
jne LBB0_59
## %bb.60: ## in Loop: Header=BB0_4 Depth=1
movq _BLKmode@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl -68(%rbp), %eax ## 4-byte Reload
movl -64(%rbp), %r14d ## 4-byte Reload
LBB0_61: ## in Loop: Header=BB0_4 Depth=1
cmpl %edx, %ebx
movl -72(%rbp), %r15d ## 4-byte Reload
jne LBB0_68
## %bb.62: ## in Loop: Header=BB0_4 Depth=1
movl -96(%rbp), %ebx ## 4-byte Reload
movl %ebx, %edi
xorl %esi, %esi
callq _XEXP
movl %eax, %edi
callq _REG_P
testl %eax, %eax
jne LBB0_64
## %bb.63: ## in Loop: Header=BB0_4 Depth=1
movl %ebx, %edi
xorl %esi, %esi
callq _XEXP
movl %eax, %edi
callq _copy_addr_to_reg
movl %ebx, %edi
movl %eax, %esi
callq _replace_equiv_address
movl %eax, %ebx
LBB0_64: ## in Loop: Header=BB0_4 Depth=1
movl %r13d, %edi
callq _GEN_INT
movl %ebx, %r15d
movl %ebx, %edi
movl %eax, %esi
callq _set_mem_size
movl %r14d, %edi
xorl %esi, %esi
callq _XEXP
movl %eax, %edi
callq _REG_P
testl %eax, %eax
movl -84(%rbp), %ebx ## 4-byte Reload
je LBB0_66
## %bb.65: ## in Loop: Header=BB0_4 Depth=1
movl %r14d, %r12d
jmp LBB0_67
.p2align 4, 0x90
LBB0_36: ## in Loop: Header=BB0_4 Depth=1
testq %rcx, %rcx
setne %dl
testq %r8, %r8
sete %sil
cmpl $5, %eax
setb %cl
orb %cl, %sil
orb %dl, %sil
je LBB0_37
## %bb.38: ## in Loop: Header=BB0_4 Depth=1
cmpl $4, %eax
jb LBB0_42
## %bb.39: ## in Loop: Header=BB0_4 Depth=1
movq _STRICT_ALIGNMENT@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
jmp LBB0_40
LBB0_37: ## in Loop: Header=BB0_4 Depth=1
cmpl $8, %eax
movl $8, %r13d
cmovbl %eax, %r13d
movq _gen_movmemsi_2reg@GOTPCREL(%rip), %rax
jmp LBB0_50
LBB0_34: ## in Loop: Header=BB0_4 Depth=1
xorl %ecx, %ecx
LBB0_40: ## in Loop: Header=BB0_4 Depth=1
cmpl $32, %r15d
setl %sil
testl %edx, %edx
setne %dil
testb %dil, %sil
jne LBB0_44
## %bb.41: ## in Loop: Header=BB0_4 Depth=1
movq _SImode@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movl $4, %r13d
movq _gen_movsi@GOTPCREL(%rip), %rax
jmp LBB0_50
LBB0_42: ## in Loop: Header=BB0_4 Depth=1
cmpl $1, %eax
je LBB0_49
## %bb.43: ## in Loop: Header=BB0_4 Depth=1
movq _STRICT_ALIGNMENT@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
movb $1, %cl
LBB0_44: ## in Loop: Header=BB0_4 Depth=1
cmpl $15, %r15d
jg LBB0_46
## %bb.45: ## in Loop: Header=BB0_4 Depth=1
testl %edx, %edx
je LBB0_46
## %bb.47: ## in Loop: Header=BB0_4 Depth=1
testq %r8, %r8
je LBB0_49
## %bb.48: ## in Loop: Header=BB0_4 Depth=1
testb %cl, %cl
movl $4, %r13d
cmovnel %eax, %r13d
movq _gen_movmemsi_1reg@GOTPCREL(%rip), %rax
jmp LBB0_50
LBB0_49: ## in Loop: Header=BB0_4 Depth=1
movq _QImode@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movl $1, %r13d
movq _gen_movqi@GOTPCREL(%rip), %rax
jmp LBB0_50
LBB0_46: ## in Loop: Header=BB0_4 Depth=1
movq _HImode@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movl $2, %r13d
movq _gen_movhi@GOTPCREL(%rip), %rax
jmp LBB0_50
LBB0_30: ## in Loop: Header=BB0_4 Depth=1
cmpl $16, %eax
movl $16, %r13d
cmovbl %eax, %r13d
movq _gen_movmemsi_4reg@GOTPCREL(%rip), %rax
jmp LBB0_50
LBB0_24: ## in Loop: Header=BB0_4 Depth=1
cmpl $24, %eax
movl $24, %r13d
cmovbl %eax, %r13d
movq _gen_movmemsi_6reg@GOTPCREL(%rip), %rax
jmp LBB0_50
LBB0_16: ## in Loop: Header=BB0_4 Depth=1
cmpl $32, %eax
movl $32, %r13d
cmovbl %eax, %r13d
movq _gen_movmemsi_8reg@GOTPCREL(%rip), %rax
jmp LBB0_50
LBB0_69:
movl $1, %ebx
LBB0_70:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_72
## %bb.71:
movl %ebx, %eax
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_72:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _CONST_INT,8,3 ## @CONST_INT
.comm _MAX_MOVE_REG,4,2 ## @MAX_MOVE_REG
.comm _BITS_PER_UNIT,4,2 ## @BITS_PER_UNIT
.comm _TARGET_POWERPC64,8,3 ## @TARGET_POWERPC64
.comm _BLKmode,4,2 ## @BLKmode
.comm _TARGET_ALTIVEC,8,3 ## @TARGET_ALTIVEC
.comm _V4SImode,4,2 ## @V4SImode
.comm _TARGET_STRING,8,3 ## @TARGET_STRING
.comm _fixed_regs,8,3 ## @fixed_regs
.comm _STRICT_ALIGNMENT,4,2 ## @STRICT_ALIGNMENT
.comm _DImode,4,2 ## @DImode
.comm _SImode,4,2 ## @SImode
.comm _HImode,4,2 ## @HImode
.comm _QImode,4,2 ## @QImode
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _expand_block_move ; -- Begin function expand_block_move
.p2align 2
_expand_block_move: ; @expand_block_move
.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
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-88]
ldp w9, w8, [x0]
stp w8, w9, [x29, #-96] ; 8-byte Folded Spill
ldp w22, w20, [x0, #8]
mov x0, x22
bl _GET_CODE
Lloh3:
adrp x19, _CONST_INT@GOTPAGE
Lloh4:
ldr x19, [x19, _CONST_INT@GOTPAGEOFF]
ldr x12, [x19]
Lloh5:
adrp x8, _MAX_MOVE_REG@GOTPAGE
Lloh6:
ldr x8, [x8, _MAX_MOVE_REG@GOTPAGEOFF]
Lloh7:
ldr w8, [x8]
lsl x8, x8, #2
mov x9, x8
Lloh8:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh9:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x7fffffff0
sub x8, x9, x8
stur x8, [x29, #-104] ; 8-byte Folded Spill
mov sp, x8
cmp x0, x12
b.ne LBB0_3
; %bb.1:
mov x0, x20
bl _GET_CODE
ldr x8, [x19]
cmp x0, x8
cset w0, eq
bl _gcc_assert
mov x0, x20
bl _INTVAL
mov x24, x0
Lloh10:
adrp x8, _BITS_PER_UNIT@GOTPAGE
Lloh11:
ldr x8, [x8, _BITS_PER_UNIT@GOTPAGEOFF]
Lloh12:
ldr w19, [x8]
mov x0, x22
bl _INTVAL
cmp w0, #1
b.lt LBB0_72
; %bb.2:
mov x22, x0
Lloh13:
adrp x8, _TARGET_POWERPC64@GOTPAGE
Lloh14:
ldr x8, [x8, _TARGET_POWERPC64@GOTPAGEOFF]
Lloh15:
ldr x8, [x8]
cmp x8, #0
mov w8, #64 ; =0x40
mov w9, #32 ; =0x20
csel w8, w9, w8, eq
cmp w0, w8
b.ls LBB0_4
LBB0_3:
mov w0, #0 ; =0x0
b LBB0_73
LBB0_4:
stur w20, [x29, #-108] ; 4-byte Folded Spill
mov w23, #0 ; =0x0
mov w21, #0 ; =0x0
Lloh16:
adrp x28, _BLKmode@GOTPAGE
Lloh17:
ldr x28, [x28, _BLKmode@GOTPAGEOFF]
mul w20, w19, w24
ldr w24, [x28]
b LBB0_7
LBB0_5: ; in Loop: Header=BB0_7 Depth=1
mov x0, x25
bl _GEN_INT
mov x1, x0
mov x0, x27
bl _set_mem_size
orr w0, w25, #0x1f
bl _GEN_INT
mov x2, x0
mov x0, x27
mov x1, x26
ldur w3, [x29, #-108] ; 4-byte Folded Reload
blr x19
bl _emit_insn
ldr w8, [x28]
LBB0_6: ; in Loop: Header=BB0_7 Depth=1
add w23, w25, w23
mov x24, x8
cmp w22, #0
b.le LBB0_72
LBB0_7: ; =>This Loop Header: Depth=1
; Child Loop BB0_62 Depth 2
Lloh18:
adrp x8, _TARGET_ALTIVEC@GOTPAGE
Lloh19:
ldr x8, [x8, _TARGET_ALTIVEC@GOTPAGEOFF]
Lloh20:
ldr x8, [x8]
cmp w22, #15
mov w9, #127 ; =0x7f
ccmp w20, w9, #4, hi
cset w9, gt
cmp x8, #0
ccmp w9, #0, #0, eq
b.eq LBB0_9
; %bb.8: ; in Loop: Header=BB0_7 Depth=1
Lloh21:
adrp x8, _V4SImode@GOTPAGE
Lloh22:
ldr x8, [x8, _V4SImode@GOTPAGEOFF]
Lloh23:
ldr w24, [x8]
mov w25, #16 ; =0x10
Lloh24:
adrp x19, _gen_movv4si@GOTPAGE
Lloh25:
ldr x19, [x19, _gen_movv4si@GOTPAGEOFF]
b LBB0_55
LBB0_9: ; in Loop: Header=BB0_7 Depth=1
Lloh26:
adrp x8, _TARGET_STRING@GOTPAGE
Lloh27:
ldr x8, [x8, _TARGET_STRING@GOTPAGEOFF]
Lloh28:
ldr x8, [x8]
cmp w22, #25
b.lo LBB0_19
; %bb.10: ; in Loop: Header=BB0_7 Depth=1
cbz x8, LBB0_19
; %bb.11: ; in Loop: Header=BB0_7 Depth=1
Lloh29:
adrp x9, _fixed_regs@GOTPAGE
Lloh30:
ldr x9, [x9, _fixed_regs@GOTPAGEOFF]
Lloh31:
ldr x9, [x9]
ldr w10, [x9, #20]
cbnz w10, LBB0_19
; %bb.12: ; in Loop: Header=BB0_7 Depth=1
ldr w10, [x9, #24]
cbnz w10, LBB0_19
; %bb.13: ; in Loop: Header=BB0_7 Depth=1
ldr w10, [x9, #28]
cbnz w10, LBB0_19
; %bb.14: ; in Loop: Header=BB0_7 Depth=1
ldr w10, [x9, #32]
cbnz w10, LBB0_19
; %bb.15: ; in Loop: Header=BB0_7 Depth=1
ldr w10, [x9, #36]
cbnz w10, LBB0_19
; %bb.16: ; in Loop: Header=BB0_7 Depth=1
ldr w10, [x9, #40]
cbnz w10, LBB0_19
; %bb.17: ; in Loop: Header=BB0_7 Depth=1
ldr w10, [x9, #44]
cbnz w10, LBB0_19
; %bb.18: ; in Loop: Header=BB0_7 Depth=1
ldr w9, [x9, #48]
cbz w9, LBB0_71
LBB0_19: ; in Loop: Header=BB0_7 Depth=1
cmp w22, #17
b.lo LBB0_27
; %bb.20: ; in Loop: Header=BB0_7 Depth=1
cbz x8, LBB0_27
; %bb.21: ; in Loop: Header=BB0_7 Depth=1
Lloh32:
adrp x9, _fixed_regs@GOTPAGE
Lloh33:
ldr x9, [x9, _fixed_regs@GOTPAGEOFF]
Lloh34:
ldr x9, [x9]
ldr w10, [x9, #20]
cbnz w10, LBB0_27
; %bb.22: ; in Loop: Header=BB0_7 Depth=1
ldr w10, [x9, #24]
cbnz w10, LBB0_27
; %bb.23: ; in Loop: Header=BB0_7 Depth=1
ldr w10, [x9, #28]
cbnz w10, LBB0_27
; %bb.24: ; in Loop: Header=BB0_7 Depth=1
ldr w10, [x9, #32]
cbnz w10, LBB0_27
; %bb.25: ; in Loop: Header=BB0_7 Depth=1
ldr w10, [x9, #36]
cbnz w10, LBB0_27
; %bb.26: ; in Loop: Header=BB0_7 Depth=1
ldr w9, [x9, #40]
cbz w9, LBB0_70
LBB0_27: ; in Loop: Header=BB0_7 Depth=1
cmp w22, #9
b.lo LBB0_33
; %bb.28: ; in Loop: Header=BB0_7 Depth=1
cbz x8, LBB0_33
; %bb.29: ; in Loop: Header=BB0_7 Depth=1
Lloh35:
adrp x9, _fixed_regs@GOTPAGE
Lloh36:
ldr x9, [x9, _fixed_regs@GOTPAGEOFF]
Lloh37:
ldr x9, [x9]
ldr w10, [x9, #20]
cbnz w10, LBB0_33
; %bb.30: ; in Loop: Header=BB0_7 Depth=1
ldr w10, [x9, #24]
cbnz w10, LBB0_33
; %bb.31: ; in Loop: Header=BB0_7 Depth=1
ldr w10, [x9, #28]
cbnz w10, LBB0_33
; %bb.32: ; in Loop: Header=BB0_7 Depth=1
ldr w9, [x9, #32]
cbz w9, LBB0_69
LBB0_33: ; in Loop: Header=BB0_7 Depth=1
Lloh38:
adrp x9, _TARGET_POWERPC64@GOTPAGE
Lloh39:
ldr x9, [x9, _TARGET_POWERPC64@GOTPAGEOFF]
Lloh40:
ldr x10, [x9]
cmp w22, #8
b.lo LBB0_39
; %bb.34: ; in Loop: Header=BB0_7 Depth=1
cbz x10, LBB0_39
; %bb.35: ; in Loop: Header=BB0_7 Depth=1
cmp w20, #63
b.gt LBB0_38
; %bb.36: ; in Loop: Header=BB0_7 Depth=1
mov w9, #0 ; =0x0
Lloh41:
adrp x10, _STRICT_ALIGNMENT@GOTPAGE
Lloh42:
ldr x10, [x10, _STRICT_ALIGNMENT@GOTPAGEOFF]
Lloh43:
ldr w10, [x10]
cbnz w10, LBB0_44
; %bb.37: ; in Loop: Header=BB0_7 Depth=1
cmp w20, #32
b.lt LBB0_44
LBB0_38: ; in Loop: Header=BB0_7 Depth=1
Lloh44:
adrp x8, _DImode@GOTPAGE
Lloh45:
ldr x8, [x8, _DImode@GOTPAGEOFF]
Lloh46:
ldr w24, [x8]
mov w25, #8 ; =0x8
Lloh47:
adrp x19, _gen_movdi@GOTPAGE
Lloh48:
ldr x19, [x19, _gen_movdi@GOTPAGEOFF]
b LBB0_55
LBB0_39: ; in Loop: Header=BB0_7 Depth=1
cmp w22, #5
cset w9, lo
b.lo LBB0_42
; %bb.40: ; in Loop: Header=BB0_7 Depth=1
cmp x8, #0
ccmp x10, #0, #0, ne
b.ne LBB0_42
; %bb.41: ; in Loop: Header=BB0_7 Depth=1
cmp w22, #8
mov w8, #8 ; =0x8
csel w25, w22, w8, lo
Lloh49:
adrp x19, _gen_movmemsi_2reg@GOTPAGE
Lloh50:
ldr x19, [x19, _gen_movmemsi_2reg@GOTPAGEOFF]
b LBB0_55
LBB0_42: ; in Loop: Header=BB0_7 Depth=1
cmp w22, #4
b.lo LBB0_48
; %bb.43: ; in Loop: Header=BB0_7 Depth=1
Lloh51:
adrp x10, _STRICT_ALIGNMENT@GOTPAGE
Lloh52:
ldr x10, [x10, _STRICT_ALIGNMENT@GOTPAGEOFF]
Lloh53:
ldr w10, [x10]
LBB0_44: ; in Loop: Header=BB0_7 Depth=1
cmp w20, #31
b.gt LBB0_47
; %bb.45: ; in Loop: Header=BB0_7 Depth=1
cbz w10, LBB0_47
; %bb.46: ; in Loop: Header=BB0_7 Depth=1
cmp w20, #15
b.le LBB0_50
b LBB0_54
LBB0_47: ; in Loop: Header=BB0_7 Depth=1
Lloh54:
adrp x8, _SImode@GOTPAGE
Lloh55:
ldr x8, [x8, _SImode@GOTPAGEOFF]
Lloh56:
ldr w24, [x8]
mov w25, #4 ; =0x4
Lloh57:
adrp x19, _gen_movsi@GOTPAGE
Lloh58:
ldr x19, [x19, _gen_movsi@GOTPAGEOFF]
b LBB0_55
LBB0_48: ; in Loop: Header=BB0_7 Depth=1
cmp w22, #1
b.eq LBB0_53
; %bb.49: ; in Loop: Header=BB0_7 Depth=1
Lloh59:
adrp x9, _STRICT_ALIGNMENT@GOTPAGE
Lloh60:
ldr x9, [x9, _STRICT_ALIGNMENT@GOTPAGEOFF]
Lloh61:
ldr w10, [x9]
mov w9, #1 ; =0x1
cmp w20, #15
b.gt LBB0_54
LBB0_50: ; in Loop: Header=BB0_7 Depth=1
cbz w10, LBB0_54
; %bb.51: ; in Loop: Header=BB0_7 Depth=1
cbz x8, LBB0_53
; %bb.52: ; in Loop: Header=BB0_7 Depth=1
cmp w9, #0
mov w8, #4 ; =0x4
csel w25, w22, w8, ne
Lloh62:
adrp x19, _gen_movmemsi_1reg@GOTPAGE
Lloh63:
ldr x19, [x19, _gen_movmemsi_1reg@GOTPAGEOFF]
b LBB0_55
LBB0_53: ; in Loop: Header=BB0_7 Depth=1
Lloh64:
adrp x8, _QImode@GOTPAGE
Lloh65:
ldr x8, [x8, _QImode@GOTPAGEOFF]
Lloh66:
ldr w24, [x8]
mov w25, #1 ; =0x1
Lloh67:
adrp x19, _gen_movqi@GOTPAGE
Lloh68:
ldr x19, [x19, _gen_movqi@GOTPAGEOFF]
b LBB0_55
LBB0_54: ; in Loop: Header=BB0_7 Depth=1
Lloh69:
adrp x8, _HImode@GOTPAGE
Lloh70:
ldr x8, [x8, _HImode@GOTPAGEOFF]
Lloh71:
ldr w24, [x8]
mov w25, #2 ; =0x2
Lloh72:
adrp x19, _gen_movhi@GOTPAGE
Lloh73:
ldr x19, [x19, _gen_movhi@GOTPAGEOFF]
LBB0_55: ; in Loop: Header=BB0_7 Depth=1
ldur w0, [x29, #-96] ; 4-byte Folded Reload
mov x1, x24
mov x2, x23
bl _adjust_address
mov x26, x0
ldur w0, [x29, #-92] ; 4-byte Folded Reload
mov x1, x24
mov x2, x23
bl _adjust_address
mov x27, x0
ldr w8, [x28]
cmp w24, w8
b.ne LBB0_57
; %bb.56: ; in Loop: Header=BB0_7 Depth=1
mov x8, x24
subs w22, w22, w25
b.ne LBB0_58
b LBB0_60
LBB0_57: ; in Loop: Header=BB0_7 Depth=1
mov x0, x24
bl _gen_reg_rtx
mov x28, x0
mov x1, x26
blr x19
bl _emit_insn
mov x0, x27
mov x1, x28
Lloh74:
adrp x28, _BLKmode@GOTPAGE
Lloh75:
ldr x28, [x28, _BLKmode@GOTPAGEOFF]
blr x19
ldur x8, [x29, #-104] ; 8-byte Folded Reload
str w0, [x8, w21, sxtw #2]
add w21, w21, #1
ldr w8, [x28]
subs w22, w22, w25
b.eq LBB0_60
LBB0_58: ; in Loop: Header=BB0_7 Depth=1
Lloh76:
adrp x9, _MAX_MOVE_REG@GOTPAGE
Lloh77:
ldr x9, [x9, _MAX_MOVE_REG@GOTPAGEOFF]
Lloh78:
ldr w9, [x9]
cmp w24, w8
ccmp w21, w9, #0, ne
b.ge LBB0_60
; %bb.59: ; in Loop: Header=BB0_7 Depth=1
cmp w24, w8
b.ne LBB0_6
b LBB0_65
LBB0_60: ; in Loop: Header=BB0_7 Depth=1
tbnz w21, #31, LBB0_64
; %bb.61: ; in Loop: Header=BB0_7 Depth=1
add w21, w21, #1
ldur x28, [x29, #-104] ; 8-byte Folded Reload
LBB0_62: ; Parent Loop BB0_7 Depth=1
; => This Inner Loop Header: Depth=2
ldr w0, [x28], #4
bl _emit_insn
subs x21, x21, #1
b.ne LBB0_62
; %bb.63: ; in Loop: Header=BB0_7 Depth=1
Lloh79:
adrp x28, _BLKmode@GOTPAGE
Lloh80:
ldr x28, [x28, _BLKmode@GOTPAGEOFF]
ldr w8, [x28]
cmp w24, w8
b.ne LBB0_6
b LBB0_65
LBB0_64: ; in Loop: Header=BB0_7 Depth=1
mov w21, #0 ; =0x0
cmp w24, w8
b.ne LBB0_6
LBB0_65: ; in Loop: Header=BB0_7 Depth=1
mov x0, x26
mov w1, #0 ; =0x0
bl _XEXP
bl _REG_P
cbnz w0, LBB0_67
; %bb.66: ; in Loop: Header=BB0_7 Depth=1
mov x0, x26
mov w1, #0 ; =0x0
bl _XEXP
bl _copy_addr_to_reg
mov x1, x0
mov x0, x26
bl _replace_equiv_address
mov x26, x0
LBB0_67: ; in Loop: Header=BB0_7 Depth=1
mov x0, x25
bl _GEN_INT
mov x1, x0
mov x0, x26
bl _set_mem_size
mov x0, x27
mov w1, #0 ; =0x0
bl _XEXP
bl _REG_P
cbnz w0, LBB0_5
; %bb.68: ; in Loop: Header=BB0_7 Depth=1
mov x0, x27
mov w1, #0 ; =0x0
bl _XEXP
bl _copy_addr_to_reg
mov x1, x0
mov x0, x27
bl _replace_equiv_address
mov x27, x0
b LBB0_5
LBB0_69: ; in Loop: Header=BB0_7 Depth=1
cmp w22, #16
mov w8, #16 ; =0x10
csel w25, w22, w8, lo
Lloh81:
adrp x19, _gen_movmemsi_4reg@GOTPAGE
Lloh82:
ldr x19, [x19, _gen_movmemsi_4reg@GOTPAGEOFF]
b LBB0_55
LBB0_70: ; in Loop: Header=BB0_7 Depth=1
cmp w22, #24
mov w8, #24 ; =0x18
csel w25, w22, w8, lo
Lloh83:
adrp x19, _gen_movmemsi_6reg@GOTPAGE
Lloh84:
ldr x19, [x19, _gen_movmemsi_6reg@GOTPAGEOFF]
b LBB0_55
LBB0_71: ; in Loop: Header=BB0_7 Depth=1
cmp w22, #32
mov w8, #32 ; =0x20
csel w25, w22, w8, lo
Lloh85:
adrp x19, _gen_movmemsi_8reg@GOTPAGE
Lloh86:
ldr x19, [x19, _gen_movmemsi_8reg@GOTPAGEOFF]
b LBB0_55
LBB0_72:
mov w0, #1 ; =0x1
LBB0_73:
ldur x8, [x29, #-88]
Lloh87:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh88:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh89:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_75
; %bb.74:
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_75:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGot Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34
.loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37
.loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40
.loh AdrpLdrGotLdr Lloh41, Lloh42, Lloh43
.loh AdrpLdrGot Lloh47, Lloh48
.loh AdrpLdrGotLdr Lloh44, Lloh45, Lloh46
.loh AdrpLdrGot Lloh49, Lloh50
.loh AdrpLdrGotLdr Lloh51, Lloh52, Lloh53
.loh AdrpLdrGot Lloh57, Lloh58
.loh AdrpLdrGotLdr Lloh54, Lloh55, Lloh56
.loh AdrpLdrGotLdr Lloh59, Lloh60, Lloh61
.loh AdrpLdrGot Lloh62, Lloh63
.loh AdrpLdrGot Lloh67, Lloh68
.loh AdrpLdrGotLdr Lloh64, Lloh65, Lloh66
.loh AdrpLdrGot Lloh72, Lloh73
.loh AdrpLdrGotLdr Lloh69, Lloh70, Lloh71
.loh AdrpLdrGot Lloh74, Lloh75
.loh AdrpLdrGotLdr Lloh76, Lloh77, Lloh78
.loh AdrpLdrGot Lloh79, Lloh80
.loh AdrpLdrGot Lloh81, Lloh82
.loh AdrpLdrGot Lloh83, Lloh84
.loh AdrpLdrGot Lloh85, Lloh86
.loh AdrpLdrGotLdr Lloh87, Lloh88, Lloh89
.loh AdrpLdrGot Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _CONST_INT,8,3 ; @CONST_INT
.comm _MAX_MOVE_REG,4,2 ; @MAX_MOVE_REG
.comm _BITS_PER_UNIT,4,2 ; @BITS_PER_UNIT
.comm _TARGET_POWERPC64,8,3 ; @TARGET_POWERPC64
.comm _BLKmode,4,2 ; @BLKmode
.comm _TARGET_ALTIVEC,8,3 ; @TARGET_ALTIVEC
.comm _V4SImode,4,2 ; @V4SImode
.comm _TARGET_STRING,8,3 ; @TARGET_STRING
.comm _fixed_regs,8,3 ; @fixed_regs
.comm _STRICT_ALIGNMENT,4,2 ; @STRICT_ALIGNMENT
.comm _DImode,4,2 ; @DImode
.comm _SImode,4,2 ; @SImode
.comm _HImode,4,2 ; @HImode
.comm _QImode,4,2 ; @QImode
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function _hash_vacuum_one_page
__hash_vacuum_one_page: ## @_hash_vacuum_one_page
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %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 %ecx, %ebx
movl %edx, -64(%rbp) ## 4-byte Spill
movl %esi, -52(%rbp) ## 4-byte Spill
movl %edi, -56(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _MaxOffsetNumber@GOTPCREL(%rip), %rax
movl (%rax), %eax
shlq $3, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r15
movl %ebx, -60(%rbp) ## 4-byte Spill
movl %ebx, %edi
callq _BufferGetPage
movl %eax, %r13d
movl %eax, %edi
callq _PageGetMaxOffsetNumber
movq %rax, %r14
movq _FirstOffsetNumber@GOTPCREL(%rip), %rax
movq (%rax), %rbx
xorl %r12d, %r12d
cmpq %r14, %rbx
jg LBB0_6
## %bb.1:
xorl %r12d, %r12d
jmp LBB0_2
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
movq %rbx, %rdi
callq _OffsetNumberNext
movq %rax, %rbx
cmpq %r14, %rax
jg LBB0_5
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl %r13d, %edi
movq %rbx, %rsi
callq _PageGetItemId
movl %eax, %edi
callq _ItemIdIsDead
testq %rax, %rax
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movslq %r12d, %rax
decl %r12d
movq %rbx, (%r15,%rax,8)
jmp LBB0_4
LBB0_5:
testl %r12d, %r12d
js LBB0_9
LBB0_6:
movl -56(%rbp), %edi ## 4-byte Reload
movl -52(%rbp), %esi ## 4-byte Reload
movl -60(%rbp), %ebx ## 4-byte Reload
movl %ebx, %edx
movq %r15, %rcx
movl %r12d, %r8d
callq _index_compute_xid_horizon_for_tuples
movl %eax, -52(%rbp) ## 4-byte Spill
movq _BUFFER_LOCK_EXCLUSIVE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl -64(%rbp), %r14d ## 4-byte Reload
movl %r14d, %edi
callq _LockBuffer
xorl %eax, %eax
callq _START_CRIT_SECTION
movl %r13d, %edi
movq %r15, %rsi
movl %r12d, %edx
callq _PageIndexMultiDelete
movl %r13d, %edi
movl %ebx, %r13d
callq _PageGetSpecialPointer
movq _LH_PAGE_HAS_DEAD_TUPLES@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
notl %ecx
andl %ecx, (%rax)
movl %r14d, %edi
callq _BufferGetPage
movl %eax, %edi
callq _HashPageGetMeta
subl %r12d, (%rax)
movl %ebx, %edi
callq _MarkBufferDirty
movl %r14d, %edi
callq _MarkBufferDirty
movl -56(%rbp), %edi ## 4-byte Reload
callq _RelationNeedsWAL
testq %rax, %rax
je LBB0_8
## %bb.7:
movl -52(%rbp), %eax ## 4-byte Reload
movl %eax, -68(%rbp)
movl %r12d, -72(%rbp)
xorl %eax, %eax
callq _XLogBeginInsert
movq _REGBUF_STANDARD@GOTPCREL(%rip), %rbx
movl (%rbx), %edx
xorl %edi, %edi
movl %r13d, %esi
callq _XLogRegisterBuffer
movq _SizeOfHashVacuumOnePage@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -72(%rbp), %rdi
callq _XLogRegisterData
shll $3, %r12d
movq %r15, %rdi
movl %r12d, %esi
callq _XLogRegisterData
movl (%rbx), %edx
movl $1, %edi
movl %r14d, %esi
callq _XLogRegisterBuffer
movq _RM_HASH_ID@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _XLOG_HASH_VACUUM_ONE_PAGE@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _XLogInsert
movl %eax, %ebx
movl %r13d, %edi
callq _BufferGetPage
movl %eax, %edi
movl %ebx, %esi
callq _PageSetLSN
movl %r14d, %edi
callq _BufferGetPage
movl %eax, %edi
movl %ebx, %esi
callq _PageSetLSN
LBB0_8:
xorl %eax, %eax
callq _END_CRIT_SECTION
movq _BUFFER_LOCK_UNLOCK@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl %r14d, %edi
callq _LockBuffer
LBB0_9:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_11
## %bb.10:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_11:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _MaxOffsetNumber,4,2 ## @MaxOffsetNumber
.comm _FirstOffsetNumber,8,3 ## @FirstOffsetNumber
.comm _BUFFER_LOCK_EXCLUSIVE,4,2 ## @BUFFER_LOCK_EXCLUSIVE
.comm _LH_PAGE_HAS_DEAD_TUPLES,4,2 ## @LH_PAGE_HAS_DEAD_TUPLES
.comm _REGBUF_STANDARD,4,2 ## @REGBUF_STANDARD
.comm _SizeOfHashVacuumOnePage,4,2 ## @SizeOfHashVacuumOnePage
.comm _RM_HASH_ID,4,2 ## @RM_HASH_ID
.comm _XLOG_HASH_VACUUM_ONE_PAGE,4,2 ## @XLOG_HASH_VACUUM_ONE_PAGE
.comm _BUFFER_LOCK_UNLOCK,4,2 ## @BUFFER_LOCK_UNLOCK
.no_dead_strip __hash_vacuum_one_page
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function _hash_vacuum_one_page
__hash_vacuum_one_page: ; @_hash_vacuum_one_page
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
sub sp, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x20, x3
mov x19, x2
mov x25, x1
mov x22, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-88]
Lloh3:
adrp x8, _MaxOffsetNumber@GOTPAGE
Lloh4:
ldr x8, [x8, _MaxOffsetNumber@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
lsl x8, x8, #3
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, #0xffffffff0
sub x21, x9, x8
mov sp, x21
mov x0, x3
bl _BufferGetPage
mov x24, x0
bl _PageGetMaxOffsetNumber
Lloh8:
adrp x8, _FirstOffsetNumber@GOTPAGE
Lloh9:
ldr x8, [x8, _FirstOffsetNumber@GOTPAGEOFF]
Lloh10:
ldr x27, [x8]
cmp x27, x0
b.le LBB0_2
; %bb.1:
mov w23, #0 ; =0x0
b LBB0_7
LBB0_2:
mov x26, x0
mov w23, #0 ; =0x0
b LBB0_4
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
mov x0, x27
bl _OffsetNumberNext
mov x27, x0
cmp x0, x26
b.gt LBB0_6
LBB0_4: ; =>This Inner Loop Header: Depth=1
mov x0, x24
mov x1, x27
bl _PageGetItemId
bl _ItemIdIsDead
cbz x0, LBB0_3
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
str x27, [x21, w23, sxtw #3]
sub w23, w23, #1
b LBB0_3
LBB0_6:
tbnz w23, #31, LBB0_10
LBB0_7:
mov x0, x22
mov x1, x25
mov x2, x20
mov x3, x21
mov x4, x23
bl _index_compute_xid_horizon_for_tuples
mov x25, x0
Lloh11:
adrp x8, _BUFFER_LOCK_EXCLUSIVE@GOTPAGE
Lloh12:
ldr x8, [x8, _BUFFER_LOCK_EXCLUSIVE@GOTPAGEOFF]
Lloh13:
ldr w1, [x8]
mov x0, x19
bl _LockBuffer
bl _START_CRIT_SECTION
mov x0, x24
mov x1, x21
mov x2, x23
bl _PageIndexMultiDelete
mov x0, x24
bl _PageGetSpecialPointer
Lloh14:
adrp x8, _LH_PAGE_HAS_DEAD_TUPLES@GOTPAGE
Lloh15:
ldr x8, [x8, _LH_PAGE_HAS_DEAD_TUPLES@GOTPAGEOFF]
Lloh16:
ldr w8, [x8]
ldr w9, [x0]
bic w8, w9, w8
str w8, [x0]
mov x0, x19
bl _BufferGetPage
bl _HashPageGetMeta
ldr w8, [x0]
sub w8, w8, w23
str w8, [x0]
mov x0, x20
bl _MarkBufferDirty
mov x0, x19
bl _MarkBufferDirty
mov x0, x22
bl _RelationNeedsWAL
cbz x0, LBB0_9
; %bb.8:
stp w23, w25, [x29, #-96]
bl _XLogBeginInsert
Lloh17:
adrp x22, _REGBUF_STANDARD@GOTPAGE
Lloh18:
ldr x22, [x22, _REGBUF_STANDARD@GOTPAGEOFF]
ldr w2, [x22]
mov w0, #0 ; =0x0
mov x1, x20
bl _XLogRegisterBuffer
Lloh19:
adrp x8, _SizeOfHashVacuumOnePage@GOTPAGE
Lloh20:
ldr x8, [x8, _SizeOfHashVacuumOnePage@GOTPAGEOFF]
Lloh21:
ldr w1, [x8]
sub x0, x29, #96
bl _XLogRegisterData
lsl w1, w23, #3
mov x0, x21
bl _XLogRegisterData
ldr w2, [x22]
mov w0, #1 ; =0x1
mov x1, x19
bl _XLogRegisterBuffer
Lloh22:
adrp x8, _RM_HASH_ID@GOTPAGE
Lloh23:
ldr x8, [x8, _RM_HASH_ID@GOTPAGEOFF]
Lloh24:
ldr w0, [x8]
Lloh25:
adrp x8, _XLOG_HASH_VACUUM_ONE_PAGE@GOTPAGE
Lloh26:
ldr x8, [x8, _XLOG_HASH_VACUUM_ONE_PAGE@GOTPAGEOFF]
Lloh27:
ldr w1, [x8]
bl _XLogInsert
mov x21, x0
mov x0, x20
bl _BufferGetPage
mov x1, x21
bl _PageSetLSN
mov x0, x19
bl _BufferGetPage
mov x1, x21
bl _PageSetLSN
LBB0_9:
bl _END_CRIT_SECTION
Lloh28:
adrp x8, _BUFFER_LOCK_UNLOCK@GOTPAGE
Lloh29:
ldr x8, [x8, _BUFFER_LOCK_UNLOCK@GOTPAGEOFF]
Lloh30:
ldr w1, [x8]
mov x0, x19
bl _LockBuffer
LBB0_10:
ldur x8, [x29, #-88]
Lloh31:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh32:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh33:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_12
; %bb.11:
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_12:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGot Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _MaxOffsetNumber,4,2 ; @MaxOffsetNumber
.comm _FirstOffsetNumber,8,3 ; @FirstOffsetNumber
.comm _BUFFER_LOCK_EXCLUSIVE,4,2 ; @BUFFER_LOCK_EXCLUSIVE
.comm _LH_PAGE_HAS_DEAD_TUPLES,4,2 ; @LH_PAGE_HAS_DEAD_TUPLES
.comm _REGBUF_STANDARD,4,2 ; @REGBUF_STANDARD
.comm _SizeOfHashVacuumOnePage,4,2 ; @SizeOfHashVacuumOnePage
.comm _RM_HASH_ID,4,2 ; @RM_HASH_ID
.comm _XLOG_HASH_VACUUM_ONE_PAGE,4,2 ; @XLOG_HASH_VACUUM_ONE_PAGE
.comm _BUFFER_LOCK_UNLOCK,4,2 ; @BUFFER_LOCK_UNLOCK
.no_dead_strip __hash_vacuum_one_page
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _nfsd4_spo_must_allow ## -- Begin function nfsd4_spo_must_allow
.p2align 4, 0x90
_nfsd4_spo_must_allow: ## @nfsd4_spo_must_allow
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq 8(%rdi), %r14
cmpl $0, 24(%r14)
je LBB0_1
## %bb.2:
movl $1, %eax
cmpl $1, 8(%r14)
je LBB0_12
## %bb.3:
movq %rdi, %rbx
movq (%rdi), %r15
movslq (%r14), %r12
xorl %eax, %eax
cmpl (%r15), %r12d
jge LBB0_11
## %bb.4:
movq 16(%r14), %r13
incq %r12
jmp LBB0_5
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_5 Depth=1
movslq (%r15), %rax
decq %r12
cmpq %rax, %r12
jg LBB0_10
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq 8(%r15), %rax
movl -4(%rax,%r12,4), %edi
movl 8(%r13), %esi
callq _test_bit
testq %rax, %rax
je LBB0_9
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movq 16(%r14), %rdi
cmpq $0, (%rdi)
je LBB0_9
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movq %rbx, %rsi
callq _nfsd4_mach_creds_match
testq %rax, %rax
je LBB0_9
## %bb.8:
movl $1, %eax
jmp LBB0_11
LBB0_1:
xorl %eax, %eax
jmp LBB0_12
LBB0_10:
xorl %eax, %eax
LBB0_11:
movl %eax, 8(%r14)
LBB0_12:
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 _nfsd4_spo_must_allow ; -- Begin function nfsd4_spo_must_allow
.p2align 2
_nfsd4_spo_must_allow: ; @nfsd4_spo_must_allow
.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
ldr x20, [x0, #8]
ldr w8, [x20, #24]
cbz w8, LBB0_3
; %bb.1:
ldr w8, [x20, #8]
cmp w8, #1
b.ne LBB0_4
; %bb.2:
mov w0, #1 ; =0x1
b LBB0_13
LBB0_3:
mov w0, #0 ; =0x0
b LBB0_13
LBB0_4:
mov x19, x0
ldr x21, [x0]
ldrsw x22, [x20]
ldr w8, [x21]
cmp w22, w8
b.ge LBB0_11
; %bb.5:
ldr x23, [x20, #16]
b LBB0_7
LBB0_6: ; in Loop: Header=BB0_7 Depth=1
sub x22, x22, #1
ldrsw x8, [x21]
add x9, x22, #1
cmp x9, x8
b.gt LBB0_11
LBB0_7: ; =>This Inner Loop Header: Depth=1
ldr x8, [x21, #8]
ldr w0, [x8, x22, lsl #2]
ldr w1, [x23, #8]
bl _test_bit
cbz x0, LBB0_6
; %bb.8: ; in Loop: Header=BB0_7 Depth=1
ldr x0, [x20, #16]
ldr x8, [x0]
cbz x8, LBB0_6
; %bb.9: ; in Loop: Header=BB0_7 Depth=1
mov x1, x19
bl _nfsd4_mach_creds_match
cbz x0, LBB0_6
; %bb.10:
mov w0, #1 ; =0x1
b LBB0_12
LBB0_11:
mov w0, #0 ; =0x0
LBB0_12:
str w0, [x20, #8]
LBB0_13:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function ipoib_get_ethtool_stats
_ipoib_get_ethtool_stats: ## @ipoib_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
movq %rdx, %rcx
movq (%rdi), %rsi
movl (%rsi), %eax
movl %eax, (%rdx)
movl 4(%rsi), %edi
movl %edi, -4(%rdx)
testl %edi, %edi
je LBB0_1
## %bb.2:
movl (%rsi), %eax
cltd
idivl %edi
jmp LBB0_3
LBB0_1:
xorl %eax, %eax
LBB0_3:
movl %eax, (%rcx)
movl 8(%rsi), %eax
movl %eax, 4(%rcx)
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _ipoib_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 ipoib_get_ethtool_stats
_ipoib_get_ethtool_stats: ; @ipoib_get_ethtool_stats
.cfi_startproc
; %bb.0:
ldr x8, [x0]
ldr w9, [x8]
str w9, [x2]
ldr w9, [x8, #4]
stur w9, [x2, #-4]
cbz w9, LBB0_2
; %bb.1:
ldr w10, [x8]
sdiv w9, w10, w9
LBB0_2:
str w9, [x2]
ldr w8, [x8, #8]
str w8, [x2, #4]
ret
.cfi_endproc
; -- End function
.no_dead_strip _ipoib_get_ethtool_stats
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl ___resize_panel_down ## -- Begin function __resize_panel_down
.p2align 4, 0x90
___resize_panel_down: ## @__resize_panel_down
.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
callq ___get_cur_panel
movq %rax, -112(%rbp) ## 8-byte Spill
movq (%rax), %rax
movl 4(%rax), %ecx
movl 12(%rax), %r12d
movl 8(%rax), %edx
movl %ecx, -68(%rbp) ## 4-byte Spill
addl %ecx, %edx
movl %edx, -64(%rbp) ## 4-byte Spill
movl 16(%rax), %eax
movl %eax, -60(%rbp) ## 4-byte Spill
movl (%r14), %edi
shll $3, %edi
callq _malloc
movq %rax, %r13
movl (%r14), %edi
shll $3, %edi
callq _malloc
movq %rax, %rbx
movl (%r14), %edi
shll $3, %edi
callq _malloc
movq %rax, %r15
movl (%r14), %edi
shll $3, %edi
callq _malloc
testq %r13, %r13
setne %dl
movq %rbx, -104(%rbp) ## 8-byte Spill
testq %rbx, %rbx
movq %r15, %rbx
movq %rax, %r15
setne %cl
andb %dl, %cl
testq %rbx, %rbx
setne %al
testq %r15, %r15
setne %dl
andb %al, %dl
andb %cl, %dl
cmpb $1, %dl
jne LBB0_56
## %bb.1:
cmpl $0, (%r14)
js LBB0_56
## %bb.2:
movq %r15, -80(%rbp) ## 8-byte Spill
movq %rbx, -88(%rbp) ## 8-byte Spill
movq %r13, -96(%rbp) ## 8-byte Spill
movl -60(%rbp), %ecx ## 4-byte Reload
movl %ecx, %eax
addl %r12d, %ecx
movl %ecx, -60(%rbp) ## 4-byte Spill
leal (%rax,%r12), %ebx
decl %ebx
xorl %r15d, %r15d
movq _PANEL_CONFIG_RESIZE_H@GOTPCREL(%rip), %r10
movl $0, -52(%rbp) ## 4-byte Folded Spill
movl $0, -44(%rbp) ## 4-byte Folded Spill
movl $0, -56(%rbp) ## 4-byte Folded Spill
movl $0, -48(%rbp) ## 4-byte Folded Spill
jmp LBB0_3
.p2align 4, 0x90
LBB0_24: ## in Loop: Header=BB0_3 Depth=1
decl %r15d
cmpl (%r14), %r15d
jg LBB0_25
LBB0_3: ## =>This Inner Loop Header: Depth=1
cmpl 4(%r14), %r15d
je LBB0_25
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq %r10, %r13
movq %r14, %rdi
movl %r15d, %esi
callq ___get_panel
movq (%rax), %rdi
movl 4(%rdi), %r8d
movl 12(%rdi), %edx
movl 8(%rdi), %r9d
addl %r8d, %r9d
movl 16(%rdi), %ecx
leal (%rcx,%rdx), %esi
decl %esi
cmpl -68(%rbp), %r8d ## 4-byte Folded Reload
jne LBB0_8
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
cmpl -64(%rbp), %r9d ## 4-byte Folded Reload
jne LBB0_8
## %bb.6: ## in Loop: Header=BB0_3 Depth=1
cmpl %ebx, %edx
jne LBB0_8
## %bb.7: ## in Loop: Header=BB0_3 Depth=1
movl (%r13), %r10d
leal (%r10,%rbx), %r11d
cmpl %esi, %r11d
jl LBB0_57
LBB0_8: ## in Loop: Header=BB0_3 Depth=1
cmpl -68(%rbp), %r9d ## 4-byte Folded Reload
jle LBB0_10
## %bb.9: ## in Loop: Header=BB0_3 Depth=1
movb $1, %dil
cmpl %r9d, -64(%rbp) ## 4-byte Folded Reload
jge LBB0_11
LBB0_10: ## in Loop: Header=BB0_3 Depth=1
cmpl -68(%rbp), %r8d ## 4-byte Folded Reload
setge %r9b
cmpl %r8d, -64(%rbp) ## 4-byte Folded Reload
setg %dil
andb %r9b, %dil
LBB0_11: ## in Loop: Header=BB0_3 Depth=1
cmpl %r12d, %esi
movq %r13, %r10
jne LBB0_15
## %bb.12: ## in Loop: Header=BB0_3 Depth=1
testb %dil, %dil
je LBB0_15
## %bb.13: ## in Loop: Header=BB0_3 Depth=1
movl (%r10), %r8d
addl %r12d, %r8d
cmpl %ebx, %r8d
jge LBB0_15
## %bb.14: ## in Loop: Header=BB0_3 Depth=1
movl -52(%rbp), %r9d ## 4-byte Reload
movslq %r9d, %r8
incl %r9d
movl %r9d, -52(%rbp) ## 4-byte Spill
movq -96(%rbp), %r9 ## 8-byte Reload
movq %rax, (%r9,%r8,8)
LBB0_15: ## in Loop: Header=BB0_3 Depth=1
cmpl %ebx, %edx
sete %r8b
andb %dil, %r8b
cmpb $1, %r8b
jne LBB0_18
## %bb.16: ## in Loop: Header=BB0_3 Depth=1
movl (%r10), %edi
addl %ebx, %edi
cmpl %esi, %edi
jge LBB0_18
## %bb.17: ## in Loop: Header=BB0_3 Depth=1
movl -56(%rbp), %r8d ## 4-byte Reload
movslq %r8d, %rdi
incl %r8d
movl %r8d, -56(%rbp) ## 4-byte Spill
movq -88(%rbp), %r8 ## 8-byte Reload
movq %rax, (%r8,%rdi,8)
LBB0_18: ## in Loop: Header=BB0_3 Depth=1
cmpl %r12d, %edx
jne LBB0_21
## %bb.19: ## in Loop: Header=BB0_3 Depth=1
movl (%r10), %edi
addl %r12d, %edi
cmpl %esi, %edi
jge LBB0_21
## %bb.20: ## in Loop: Header=BB0_3 Depth=1
movl -44(%rbp), %r8d ## 4-byte Reload
movslq %r8d, %rdi
incl %r8d
movl %r8d, -44(%rbp) ## 4-byte Spill
movq -104(%rbp), %r8 ## 8-byte Reload
movq %rax, (%r8,%rdi,8)
LBB0_21: ## in Loop: Header=BB0_3 Depth=1
addl %edx, %ecx
cmpl -60(%rbp), %ecx ## 4-byte Folded Reload
jne LBB0_24
## %bb.22: ## in Loop: Header=BB0_3 Depth=1
addl (%r10), %esi
movq 8(%r14), %rcx
cmpl (%rcx), %esi
jge LBB0_24
## %bb.23: ## in Loop: Header=BB0_3 Depth=1
movl -48(%rbp), %edx ## 4-byte Reload
movslq %edx, %rcx
incl %edx
movl %edx, -48(%rbp) ## 4-byte Spill
movq -80(%rbp), %rdx ## 8-byte Reload
movq %rax, (%rdx,%rcx,8)
jmp LBB0_24
LBB0_25:
movl -56(%rbp), %ecx ## 4-byte Reload
testl %ecx, %ecx
jle LBB0_40
## %bb.26:
movl %ecx, %eax
cmpl $1, %ecx
movq -96(%rbp), %r13 ## 8-byte Reload
movq -112(%rbp), %r8 ## 8-byte Reload
movq -88(%rbp), %rbx ## 8-byte Reload
movq -80(%rbp), %r15 ## 8-byte Reload
jne LBB0_33
## %bb.27:
xorl %ecx, %ecx
movl -48(%rbp), %r9d ## 4-byte Reload
jmp LBB0_28
LBB0_40:
movl -52(%rbp), %ecx ## 4-byte Reload
testl %ecx, %ecx
movq -96(%rbp), %r13 ## 8-byte Reload
movq -112(%rbp), %r8 ## 8-byte Reload
movq -88(%rbp), %rbx ## 8-byte Reload
movq -80(%rbp), %r15 ## 8-byte Reload
jle LBB0_56
## %bb.41:
movl %ecx, %eax
cmpl $1, %ecx
jne LBB0_48
## %bb.42:
xorl %ecx, %ecx
movq -104(%rbp), %r9 ## 8-byte Reload
movl -44(%rbp), %r11d ## 4-byte Reload
jmp LBB0_43
LBB0_33:
movl %eax, %edx
andl $2147483646, %edx ## imm = 0x7FFFFFFE
xorl %ecx, %ecx
movl -48(%rbp), %r9d ## 4-byte Reload
.p2align 4, 0x90
LBB0_34: ## =>This Inner Loop Header: Depth=1
movl (%r10), %esi
movq (%rbx,%rcx,8), %rdi
movq (%rdi), %rdi
subl %esi, 16(%rdi)
addl %esi, 12(%rdi)
movl $1, (%rdi)
movl (%r10), %esi
movq 8(%rbx,%rcx,8), %rdi
movq (%rdi), %rdi
subl %esi, 16(%rdi)
addl %esi, 12(%rdi)
movl $1, (%rdi)
addq $2, %rcx
cmpq %rcx, %rdx
jne LBB0_34
LBB0_28:
testb $1, %al
je LBB0_30
## %bb.29:
movl (%r10), %eax
movq (%rbx,%rcx,8), %rcx
movq (%rcx), %rcx
subl %eax, 16(%rcx)
addl %eax, 12(%rcx)
movl $1, (%rcx)
LBB0_30:
testl %r9d, %r9d
jle LBB0_39
## %bb.31:
movl %r9d, %eax
cmpl $1, %r9d
jne LBB0_35
## %bb.32:
xorl %ecx, %ecx
jmp LBB0_37
LBB0_57:
movl %r11d, 12(%rdi)
subl %r10d, %ecx
movl %ecx, 16(%rdi)
movq -112(%rbp), %rax ## 8-byte Reload
movq (%rax), %rax
addl %r10d, 16(%rax)
movl $1, (%rdi)
movq -96(%rbp), %r13 ## 8-byte Reload
movq -88(%rbp), %rbx ## 8-byte Reload
movq -80(%rbp), %r15 ## 8-byte Reload
jmp LBB0_55
LBB0_35:
movl %eax, %edx
andl $2147483646, %edx ## imm = 0x7FFFFFFE
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_36: ## =>This Inner Loop Header: Depth=1
movl (%r10), %esi
movq (%r15,%rcx,8), %rdi
movq (%rdi), %rdi
addl %esi, 16(%rdi)
movl $1, (%rdi)
movl (%r10), %esi
movq 8(%r15,%rcx,8), %rdi
movq (%rdi), %rdi
addl %esi, 16(%rdi)
movl $1, (%rdi)
addq $2, %rcx
cmpq %rcx, %rdx
jne LBB0_36
LBB0_37:
testb $1, %al
je LBB0_39
## %bb.38:
movl (%r10), %eax
movq (%r15,%rcx,8), %rcx
movq (%rcx), %rcx
addl %eax, 16(%rcx)
movl $1, (%rcx)
LBB0_39:
movl (%r10), %ecx
movq (%r8), %rax
addl %ecx, 16(%rax)
jmp LBB0_55
LBB0_48:
movl %eax, %edx
andl $2147483646, %edx ## imm = 0x7FFFFFFE
xorl %ecx, %ecx
movq -104(%rbp), %r9 ## 8-byte Reload
movl -44(%rbp), %r11d ## 4-byte Reload
.p2align 4, 0x90
LBB0_49: ## =>This Inner Loop Header: Depth=1
movl (%r10), %esi
movq (%r13,%rcx,8), %rdi
movq (%rdi), %rdi
addl %esi, 16(%rdi)
movl $1, (%rdi)
movl (%r10), %esi
movq 8(%r13,%rcx,8), %rdi
movq (%rdi), %rdi
addl %esi, 16(%rdi)
movl $1, (%rdi)
addq $2, %rcx
cmpq %rcx, %rdx
jne LBB0_49
LBB0_43:
testb $1, %al
je LBB0_45
## %bb.44:
movl (%r10), %eax
movq (%r13,%rcx,8), %rcx
movq (%rcx), %rcx
addl %eax, 16(%rcx)
movl $1, (%rcx)
LBB0_45:
testl %r11d, %r11d
jle LBB0_54
## %bb.46:
movl %r11d, %eax
cmpl $1, %r11d
jne LBB0_50
## %bb.47:
xorl %ecx, %ecx
jmp LBB0_52
LBB0_50:
movl %eax, %edx
andl $2147483646, %edx ## imm = 0x7FFFFFFE
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_51: ## =>This Inner Loop Header: Depth=1
movl (%r10), %esi
movq (%r9,%rcx,8), %rdi
movq (%rdi), %rdi
addl %esi, 12(%rdi)
subl %esi, 16(%rdi)
movl $1, (%rdi)
movl (%r10), %esi
movq 8(%r9,%rcx,8), %rdi
movq (%rdi), %rdi
addl %esi, 12(%rdi)
subl %esi, 16(%rdi)
movl $1, (%rdi)
addq $2, %rcx
cmpq %rcx, %rdx
jne LBB0_51
LBB0_52:
testb $1, %al
je LBB0_54
## %bb.53:
movl (%r10), %eax
movq (%r9,%rcx,8), %rcx
movq (%rcx), %rcx
addl %eax, 12(%rcx)
subl %eax, 16(%rcx)
movl $1, (%rcx)
LBB0_54:
movl (%r10), %ecx
movq (%r8), %rax
addl %ecx, 12(%rax)
subl %ecx, 16(%rax)
LBB0_55:
movl $1, (%rax)
LBB0_56:
movq %r13, %rdi
callq _free
movq -104(%rbp), %rdi ## 8-byte Reload
callq _free
movq %rbx, %rdi
callq _free
movq %r15, %rdi
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _free ## TAILCALL
.cfi_endproc
## -- End function
.comm _PANEL_CONFIG_RESIZE_H,4,2 ## @PANEL_CONFIG_RESIZE_H
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl ___resize_panel_down ; -- Begin function __resize_panel_down
.p2align 2
___resize_panel_down: ; @__resize_panel_down
.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
mov x24, x0
bl ___get_cur_panel
mov x28, x0
ldr x8, [x0]
ldp w27, w19, [x8, #4]
ldp w23, w26, [x8, #12]
ldr w8, [x24]
lsl w0, w8, #3
bl _malloc
mov x20, x0
ldr w8, [x24]
lsl w0, w8, #3
bl _malloc
mov x21, x0
ldr w8, [x24]
lsl w0, w8, #3
bl _malloc
mov x22, x0
ldr w8, [x24]
lsl w0, w8, #3
bl _malloc
mov x25, x0
mov x0, x20
cmp x20, #0
ccmp x21, #0, #4, ne
ccmp x22, #0, #4, ne
ccmp x25, #0, #4, ne
b.eq LBB0_36
; %bb.1:
ldr w8, [x24]
tbnz w8, #31, LBB0_36
; %bb.2:
stp x28, x25, [sp] ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x0, xzr, [sp, #32] ; 16-byte Folded Spill
mov w25, #0 ; =0x0
mov w20, #0 ; =0x0
mov w22, #0 ; =0x0
add w21, w19, w27
add w28, w26, w23
sub w19, w28, #1
Lloh0:
adrp x26, _PANEL_CONFIG_RESIZE_H@GOTPAGE
Lloh1:
ldr x26, [x26, _PANEL_CONFIG_RESIZE_H@GOTPAGEOFF]
b LBB0_4
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
sub w25, w25, #1
ldr w8, [x24]
cmp w25, w8
b.gt LBB0_19
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr w8, [x24, #4]
cmp w25, w8
b.eq LBB0_19
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
mov x0, x24
mov x1, x25
bl ___get_panel
ldr x11, [x0]
ldp w13, w8, [x11, #4]
add w12, w8, w13
ldp w10, w14, [x11, #12]
add w9, w14, w10
sub w8, w9, #1
cmp w13, w27
ccmp w12, w21, #0, eq
ccmp w10, w19, #0, eq
b.ne LBB0_7
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
ldr w15, [x26]
add w16, w15, w19
cmp w16, w8
b.lt LBB0_34
LBB0_7: ; in Loop: Header=BB0_4 Depth=1
cmp w13, w27
ccmp w21, w13, #4, ge
cset w11, gt
cmp w12, w27
ccmp w21, w12, #8, gt
mov w12, #1 ; =0x1
csel w11, w12, w11, ge
cmp w8, w23
ccmp w11, #0, #4, eq
b.eq LBB0_10
; %bb.8: ; in Loop: Header=BB0_4 Depth=1
ldr w12, [x26]
add w12, w12, w23
cmp w12, w19
b.ge LBB0_10
; %bb.9: ; in Loop: Header=BB0_4 Depth=1
ldr x12, [sp, #32] ; 8-byte Folded Reload
str x0, [x12, w20, sxtw #3]
add w20, w20, #1
LBB0_10: ; in Loop: Header=BB0_4 Depth=1
cmp w10, w19
cset w12, eq
and w11, w12, w11
cmp w11, #1
b.ne LBB0_13
; %bb.11: ; in Loop: Header=BB0_4 Depth=1
ldr w11, [x26]
add w11, w11, w19
cmp w11, w8
b.ge LBB0_13
; %bb.12: ; in Loop: Header=BB0_4 Depth=1
ldr x11, [sp, #16] ; 8-byte Folded Reload
str x0, [x11, w22, sxtw #3]
add w22, w22, #1
LBB0_13: ; in Loop: Header=BB0_4 Depth=1
cmp w10, w23
b.ne LBB0_16
; %bb.14: ; in Loop: Header=BB0_4 Depth=1
ldr w10, [x26]
add w10, w10, w23
cmp w10, w8
b.ge LBB0_16
; %bb.15: ; in Loop: Header=BB0_4 Depth=1
ldr x10, [sp, #24] ; 8-byte Folded Reload
ldr w11, [sp, #40] ; 4-byte Folded Reload
str x0, [x10, w11, sxtw #3]
add w10, w11, #1
str w10, [sp, #40] ; 4-byte Folded Spill
LBB0_16: ; in Loop: Header=BB0_4 Depth=1
cmp w9, w28
b.ne LBB0_3
; %bb.17: ; in Loop: Header=BB0_4 Depth=1
ldr w9, [x26]
ldr x10, [x24, #8]
ldr w10, [x10]
add w8, w9, w8
cmp w8, w10
b.ge LBB0_3
; %bb.18: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr w9, [sp, #44] ; 4-byte Folded Reload
str x0, [x8, w9, sxtw #3]
add w8, w9, #1
str w8, [sp, #44] ; 4-byte Folded Spill
b LBB0_3
LBB0_19:
cmp w22, #1
b.lt LBB0_26
; %bb.20:
mov w8, w22
mov w9, #1 ; =0x1
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
mov x10, x22
ldr x0, [sp, #32] ; 8-byte Folded Reload
ldp x15, x25, [sp] ; 16-byte Folded Reload
LBB0_21: ; =>This Inner Loop Header: Depth=1
ldr w11, [x26]
ldr x12, [x10], #8
ldr x12, [x12]
ldp w14, w13, [x12, #12]
sub w13, w13, w11
add w11, w14, w11
stp w11, w13, [x12, #12]
str w9, [x12]
subs x8, x8, #1
b.ne LBB0_21
; %bb.22:
ldr w8, [sp, #44] ; 4-byte Folded Reload
cmp w8, #1
b.lt LBB0_25
; %bb.23:
mov w8, w8
mov w9, #1 ; =0x1
mov x10, x25
LBB0_24: ; =>This Inner Loop Header: Depth=1
ldr w11, [x26]
ldr x12, [x10], #8
ldr x12, [x12]
ldr w13, [x12, #16]
add w11, w13, w11
str w11, [x12, #16]
str w9, [x12]
subs x8, x8, #1
b.ne LBB0_24
LBB0_25:
ldr w9, [x26]
ldr x8, [x15]
ldr w10, [x8, #16]
add w9, w10, w9
b LBB0_33
LBB0_26:
cmp w20, #1
ldp x21, x0, [sp, #24] ; 16-byte Folded Reload
ldp x25, x22, [sp, #8] ; 16-byte Folded Reload
ldr x15, [sp] ; 8-byte Folded Reload
b.lt LBB0_36
; %bb.27:
mov w8, w20
mov w9, #1 ; =0x1
mov x10, x0
LBB0_28: ; =>This Inner Loop Header: Depth=1
ldr w11, [x26]
ldr x12, [x10], #8
ldr x12, [x12]
ldr w13, [x12, #16]
add w11, w13, w11
str w11, [x12, #16]
str w9, [x12]
subs x8, x8, #1
b.ne LBB0_28
; %bb.29:
ldr w8, [sp, #40] ; 4-byte Folded Reload
cmp w8, #1
b.lt LBB0_32
; %bb.30:
mov w8, w8
mov w9, #1 ; =0x1
mov x10, x21
LBB0_31: ; =>This Inner Loop Header: Depth=1
ldr w11, [x26]
ldr x12, [x10], #8
ldr x12, [x12]
ldp w13, w14, [x12, #12]
add w13, w13, w11
sub w11, w14, w11
stp w13, w11, [x12, #12]
str w9, [x12]
subs x8, x8, #1
b.ne LBB0_31
LBB0_32:
ldr w9, [x26]
ldr x8, [x15]
ldp w10, w11, [x8, #12]
add w10, w10, w9
sub w9, w11, w9
str w10, [x8, #12]
LBB0_33:
str w9, [x8, #16]
b LBB0_35
LBB0_34:
sub w8, w14, w15
stp w16, w8, [x11, #12]
ldp x8, x25, [sp] ; 16-byte Folded Reload
ldr x8, [x8]
ldr w9, [x8, #16]
add w9, w9, w15
str w9, [x8, #16]
mov w9, #1 ; =0x1
str w9, [x11]
ldp x21, x0, [sp, #24] ; 16-byte Folded Reload
ldr x22, [sp, #16] ; 8-byte Folded Reload
LBB0_35:
mov w9, #1 ; =0x1
str w9, [x8]
LBB0_36:
bl _free
mov x0, x21
bl _free
mov x0, x22
bl _free
mov x0, x25
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 _free
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _PANEL_CONFIG_RESIZE_H,4,2 ; @PANEL_CONFIG_RESIZE_H
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function igb_free_irq
_igb_free_irq: ## @igb_free_irq
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
movq _IGB_FLAG_HAS_MSIX@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl (%rdi), %eax
je LBB0_5
## %bb.1:
movq 24(%rbx), %rax
movl (%rax), %edi
movq %rbx, %rsi
callq _free_irq
cmpl $0, 4(%rbx)
js LBB0_4
## %bb.2:
movq $-1, %rax
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq 16(%rbx), %rcx
movq 24(%rbx), %rdx
leaq 1(%rax), %r14
movl (%rdx,%rax,4), %edi
movq 8(%rcx,%rax,8), %rsi
callq _free_irq
movslq 4(%rbx), %rcx
movq %r14, %rax
cmpq %rcx, %r14
jl LBB0_3
LBB0_4:
popq %rbx
popq %r14
popq %rbp
retq
LBB0_5:
movq 8(%rbx), %rax
movl (%rax), %edi
movq %rbx, %rsi
popq %rbx
popq %r14
popq %rbp
jmp _free_irq ## TAILCALL
.cfi_endproc
## -- End function
.comm _IGB_FLAG_HAS_MSIX,4,2 ## @IGB_FLAG_HAS_MSIX
.no_dead_strip _igb_free_irq
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function igb_free_irq
_igb_free_irq: ; @igb_free_irq
.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, x0
ldr w8, [x0]
Lloh0:
adrp x9, _IGB_FLAG_HAS_MSIX@GOTPAGE
Lloh1:
ldr x9, [x9, _IGB_FLAG_HAS_MSIX@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
orr w8, w9, w8
cbz w8, LBB0_5
; %bb.1:
ldr x8, [x19, #24]
ldr w0, [x8]
mov x1, x19
bl _free_irq
ldr w8, [x19, #4]
tbnz w8, #31, LBB0_4
; %bb.2:
mov x20, #0 ; =0x0
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldp x9, x8, [x19, #16]
add x8, x8, x20, lsl #2
ldur w0, [x8, #-4]
ldr x1, [x9, x20, lsl #3]
bl _free_irq
add x8, x20, #1
ldrsw x9, [x19, #4]
cmp x20, x9
mov x20, x8
b.lt LBB0_3
LBB0_4:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_5:
ldr x8, [x19, #8]
ldr w0, [x8]
mov x1, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _free_irq
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _IGB_FLAG_HAS_MSIX,4,2 ; @IGB_FLAG_HAS_MSIX
.no_dead_strip _igb_free_irq
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function spa_check_for_missing_logs
_spa_check_for_missing_logs: ## @spa_check_for_missing_logs
.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 8(%rdi), %rbx
movq _ZFS_IMPORT_MISSING_LOG@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq %rdi, -48(%rbp) ## 8-byte Spill
testl %eax, (%rdi)
je LBB0_6
## %bb.1:
movslq (%rbx), %rax
testq %rax, %rax
je LBB0_16
## %bb.2:
movq 24(%rbx), %rcx
movq _VDEV_STATE_CANT_OPEN@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
xorl %esi, %esi
jmp LBB0_3
.p2align 4, 0x90
LBB0_15: ## in Loop: Header=BB0_3 Depth=1
incq %rsi
cmpq %rsi, %rax
je LBB0_16
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq (%rcx,%rsi,8), %rdi
cmpq $0, 16(%rdi)
je LBB0_15
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
cmpq %rdx, 8(%rdi)
jne LBB0_15
## %bb.5:
movq _SPA_LOG_CLEAR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq -48(%rbp), %r14 ## 8-byte Reload
movq %r14, %rdi
callq _spa_set_log_state
leaq L_.str.1(%rip), %rsi
movq %r14, %rdi
callq _spa_load_note
movq %rbx, %rdi
movl $2, %esi
callq _vdev_dbgmsg_print_tree
jmp LBB0_16
LBB0_6:
movl (%rbx), %edi
shll $3, %edi
movq _KM_SLEEP@GOTPCREL(%rip), %r14
movl (%r14), %esi
callq _kmem_alloc
movq %rax, %r15
movq _NV_UNIQUE_NAME@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl (%r14), %edx
leaq -56(%rbp), %rdi
callq _nvlist_alloc
xorl %edi, %edi
testq %rax, %rax
sete %dil
callq _VERIFY
xorl %r12d, %r12d
movq _VDEV_CONFIG_MISSING@GOTPCREL(%rip), %r14
xorl %r13d, %r13d
jmp LBB0_7
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_7 Depth=1
movq _B_FALSE@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl (%r14), %ecx
movq -48(%rbp), %rdi ## 8-byte Reload
callq _vdev_config_generate
movq %rax, (%r15,%r12,8)
incq %r12
LBB0_10: ## in Loop: Header=BB0_7 Depth=1
decq %r13
movslq (%rbx), %rax
cmpq %rax, %r13
ja LBB0_11
LBB0_7: ## =>This Inner Loop Header: Depth=1
movq 24(%rbx), %rax
movq (%rax,%r13,8), %rsi
cmpq $0, 16(%rsi)
jne LBB0_9
## %bb.8: ## in Loop: Header=BB0_7 Depth=1
movq 8(%rsi), %rax
movq _VDEV_STATE_CANT_OPEN@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_9
jmp LBB0_10
LBB0_11:
movq -56(%rbp), %rdi
testq %r12, %r12
je LBB0_18
## %bb.12:
movq _ZPOOL_CONFIG_CHILDREN@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r15, %rdx
movq %r12, %rcx
callq _fnvlist_add_nvlist_array
movq -48(%rbp), %rax ## 8-byte Reload
movl 4(%rax), %edi
movq _ZPOOL_CONFIG_MISSING_DEVICES@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq -56(%rbp), %rdx
callq _fnvlist_add_nvlist
xorl %r14d, %r14d
.p2align 4, 0x90
LBB0_13: ## =>This Inner Loop Header: Depth=1
movq (%r15,%r14,8), %rdi
callq _nvlist_free
incq %r14
cmpq %r14, %r12
jne LBB0_13
## %bb.14:
movq -56(%rbp), %rdi
callq _nvlist_free
movl (%rbx), %esi
shll $3, %esi
movq %r15, %rdi
callq _kmem_free
leaq L_.str(%rip), %rsi
movq -48(%rbp), %rdi ## 8-byte Reload
callq _spa_load_failed
movq %rbx, %rdi
movl $2, %esi
callq _vdev_dbgmsg_print_tree
movq _ENXIO@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _SET_ERROR
jmp LBB0_17
LBB0_18:
callq _nvlist_free
movl (%rbx), %esi
shll $3, %esi
movq %r15, %rdi
callq _kmem_free
LBB0_16:
xorl %eax, %eax
LBB0_17:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ZFS_IMPORT_MISSING_LOG,4,2 ## @ZFS_IMPORT_MISSING_LOG
.comm _KM_SLEEP,4,2 ## @KM_SLEEP
.comm _NV_UNIQUE_NAME,4,2 ## @NV_UNIQUE_NAME
.comm _VDEV_STATE_CANT_OPEN,8,3 ## @VDEV_STATE_CANT_OPEN
.comm _B_FALSE,4,2 ## @B_FALSE
.comm _VDEV_CONFIG_MISSING,4,2 ## @VDEV_CONFIG_MISSING
.comm _ZPOOL_CONFIG_CHILDREN,4,2 ## @ZPOOL_CONFIG_CHILDREN
.comm _ZPOOL_CONFIG_MISSING_DEVICES,4,2 ## @ZPOOL_CONFIG_MISSING_DEVICES
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "some log devices are missing"
.comm _ENXIO,4,2 ## @ENXIO
.comm _SPA_LOG_CLEAR,4,2 ## @SPA_LOG_CLEAR
L_.str.1: ## @.str.1
.asciz "some log devices are missing, ZIL is dropped."
.no_dead_strip _spa_check_for_missing_logs
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function spa_check_for_missing_logs
_spa_check_for_missing_logs: ; @spa_check_for_missing_logs
.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, x0
ldr x19, [x0, #8]
ldr w8, [x0]
Lloh0:
adrp x9, _ZFS_IMPORT_MISSING_LOG@GOTPAGE
Lloh1:
ldr x9, [x9, _ZFS_IMPORT_MISSING_LOG@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_7
; %bb.1:
ldrsw x8, [x19]
cbz w8, LBB0_17
; %bb.2:
ldr x9, [x19, #24]
Lloh3:
adrp x10, _VDEV_STATE_CANT_OPEN@GOTPAGE
Lloh4:
ldr x10, [x10, _VDEV_STATE_CANT_OPEN@GOTPAGEOFF]
Lloh5:
ldr x10, [x10]
b LBB0_4
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
add x9, x9, #8
subs x8, x8, #1
b.eq LBB0_17
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr x11, [x9]
ldr x12, [x11, #16]
cbz x12, LBB0_3
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
ldr x11, [x11, #8]
cmp x11, x10
b.ne LBB0_3
; %bb.6:
Lloh6:
adrp x8, _SPA_LOG_CLEAR@GOTPAGE
Lloh7:
ldr x8, [x8, _SPA_LOG_CLEAR@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
mov x0, x20
bl _spa_set_log_state
Lloh9:
adrp x1, l_.str.1@PAGE
Lloh10:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x20
bl _spa_load_note
mov x0, x19
mov w1, #2 ; =0x2
bl _vdev_dbgmsg_print_tree
b LBB0_17
LBB0_7:
ldr w8, [x19]
lsl w0, w8, #3
Lloh11:
adrp x22, _KM_SLEEP@GOTPAGE
Lloh12:
ldr x22, [x22, _KM_SLEEP@GOTPAGEOFF]
ldr w1, [x22]
bl _kmem_alloc
mov x21, x0
Lloh13:
adrp x8, _NV_UNIQUE_NAME@GOTPAGE
Lloh14:
ldr x8, [x8, _NV_UNIQUE_NAME@GOTPAGEOFF]
Lloh15:
ldr w1, [x8]
ldr w2, [x22]
add x0, sp, #8
bl _nvlist_alloc
cmp x0, #0
cset w0, eq
bl _VERIFY
mov x22, #0 ; =0x0
mov x23, #0 ; =0x0
Lloh16:
adrp x24, _VDEV_STATE_CANT_OPEN@GOTPAGE
Lloh17:
ldr x24, [x24, _VDEV_STATE_CANT_OPEN@GOTPAGEOFF]
Lloh18:
adrp x25, _B_FALSE@GOTPAGE
Lloh19:
ldr x25, [x25, _B_FALSE@GOTPAGEOFF]
Lloh20:
adrp x26, _VDEV_CONFIG_MISSING@GOTPAGE
Lloh21:
ldr x26, [x26, _VDEV_CONFIG_MISSING@GOTPAGEOFF]
b LBB0_10
LBB0_8: ; in Loop: Header=BB0_10 Depth=1
ldr w2, [x25]
ldr w3, [x26]
mov x0, x20
bl _vdev_config_generate
str x0, [x21, x22, lsl #3]
add x22, x22, #1
LBB0_9: ; in Loop: Header=BB0_10 Depth=1
sub x23, x23, #1
ldrsw x8, [x19]
cmp x23, x8
b.hi LBB0_12
LBB0_10: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #24]
ldr x1, [x8, x23, lsl #3]
ldr x8, [x1, #16]
cbnz x8, LBB0_8
; %bb.11: ; in Loop: Header=BB0_10 Depth=1
ldr x8, [x1, #8]
ldr x9, [x24]
cmp x8, x9
b.eq LBB0_8
b LBB0_9
LBB0_12:
ldr x0, [sp, #8]
cbz x22, LBB0_16
; %bb.13:
Lloh22:
adrp x8, _ZPOOL_CONFIG_CHILDREN@GOTPAGE
Lloh23:
ldr x8, [x8, _ZPOOL_CONFIG_CHILDREN@GOTPAGEOFF]
Lloh24:
ldr w1, [x8]
mov x2, x21
mov x3, x22
bl _fnvlist_add_nvlist_array
ldr w0, [x20, #4]
Lloh25:
adrp x8, _ZPOOL_CONFIG_MISSING_DEVICES@GOTPAGE
Lloh26:
ldr x8, [x8, _ZPOOL_CONFIG_MISSING_DEVICES@GOTPAGEOFF]
Lloh27:
ldr w1, [x8]
ldr x2, [sp, #8]
bl _fnvlist_add_nvlist
mov x23, #0 ; =0x0
LBB0_14: ; =>This Inner Loop Header: Depth=1
ldr x0, [x21, x23, lsl #3]
bl _nvlist_free
add x23, x23, #1
cmp x22, x23
b.ne LBB0_14
; %bb.15:
ldr x0, [sp, #8]
bl _nvlist_free
ldr w8, [x19]
lsl w1, w8, #3
mov x0, x21
bl _kmem_free
Lloh28:
adrp x1, l_.str@PAGE
Lloh29:
add x1, x1, l_.str@PAGEOFF
mov x0, x20
bl _spa_load_failed
mov x0, x19
mov w1, #2 ; =0x2
bl _vdev_dbgmsg_print_tree
Lloh30:
adrp x8, _ENXIO@GOTPAGE
Lloh31:
ldr x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh32:
ldr w0, [x8]
bl _SET_ERROR
b LBB0_18
LBB0_16:
bl _nvlist_free
ldr w8, [x19]
lsl w1, w8, #3
mov x0, x21
bl _kmem_free
LBB0_17:
mov w0, #0 ; =0x0
LBB0_18:
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 AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGot Lloh20, Lloh21
.loh AdrpLdrGot Lloh18, Lloh19
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpAdd Lloh28, Lloh29
.cfi_endproc
; -- End function
.comm _ZFS_IMPORT_MISSING_LOG,4,2 ; @ZFS_IMPORT_MISSING_LOG
.comm _KM_SLEEP,4,2 ; @KM_SLEEP
.comm _NV_UNIQUE_NAME,4,2 ; @NV_UNIQUE_NAME
.comm _VDEV_STATE_CANT_OPEN,8,3 ; @VDEV_STATE_CANT_OPEN
.comm _B_FALSE,4,2 ; @B_FALSE
.comm _VDEV_CONFIG_MISSING,4,2 ; @VDEV_CONFIG_MISSING
.comm _ZPOOL_CONFIG_CHILDREN,4,2 ; @ZPOOL_CONFIG_CHILDREN
.comm _ZPOOL_CONFIG_MISSING_DEVICES,4,2 ; @ZPOOL_CONFIG_MISSING_DEVICES
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "some log devices are missing"
.comm _ENXIO,4,2 ; @ENXIO
.comm _SPA_LOG_CLEAR,4,2 ; @SPA_LOG_CLEAR
l_.str.1: ; @.str.1
.asciz "some log devices are missing, ZIL is dropped."
.no_dead_strip _spa_check_for_missing_logs
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _png_safecat ## -- Begin function png_safecat
.p2align 4, 0x90
_png_safecat: ## @png_safecat
.cfi_startproc
## %bb.0:
movq %rdx, %rax
testq %rdi, %rdi
setne %dl
cmpq %rsi, %rax
setae %r8b
testb %r8b, %dl
jne LBB0_7
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
testq %rcx, %rcx
je LBB0_6
## %bb.2:
decq %rsi
movzbl (%rcx), %edx
testb %dl, %dl
sete %r8b
cmpq %rax, %rsi
setbe %r9b
orb %r8b, %r9b
jne LBB0_6
## %bb.3:
incq %rcx
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movb %dl, (%rdi,%rax)
incq %rax
movzbl (%rcx), %edx
testb %dl, %dl
je LBB0_6
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
incq %rcx
cmpq %rsi, %rax
jb LBB0_4
LBB0_6:
movb $0, (%rdi,%rax)
popq %rbp
LBB0_7:
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _png_safecat ; -- Begin function png_safecat
.p2align 2
_png_safecat: ; @png_safecat
.cfi_startproc
; %bb.0:
cbz x0, LBB0_3
; %bb.1:
cmp x2, x1
b.lo LBB0_3
; %bb.2:
mov x0, x2
ret
LBB0_3:
cbz x3, LBB0_5
; %bb.4:
sub x8, x1, #1
ldrb w9, [x3]
cmp w9, #0
ccmp x8, x2, #0, ne
b.hi LBB0_6
LBB0_5:
mov x11, x2
b LBB0_8
LBB0_6:
add x10, x3, #1
LBB0_7: ; =>This Inner Loop Header: Depth=1
strb w9, [x0, x2]
add x11, x2, #1
ldrb w9, [x10], #1
cmp w9, #0
ccmp x11, x8, #2, ne
mov x2, x11
b.lo LBB0_7
LBB0_8:
strb wzr, [x0, x11]
mov x2, x11
mov x0, x2
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _fz_bidi_resolve_paragraphs ## -- Begin function fz_bidi_resolve_paragraphs
.p2align 4, 0x90
_fz_bidi_resolve_paragraphs: ## @fz_bidi_resolve_paragraphs
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _BDI_B@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movslq %esi, %rdx
xorl %eax, %eax
jmp LBB0_1
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
decq %rax
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpq %rdx, %rax
jle LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
cmpq %rcx, (%rdi,%rax,8)
jne LBB0_3
## %bb.4:
## kill: def $eax killed $eax killed $rax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _BDI_B,8,3 ## @BDI_B
.comm _BDI_BN,8,3 ## @BDI_BN
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _fz_bidi_resolve_paragraphs ; -- Begin function fz_bidi_resolve_paragraphs
.p2align 2
_fz_bidi_resolve_paragraphs: ; @fz_bidi_resolve_paragraphs
.cfi_startproc
; %bb.0:
; kill: def $w1 killed $w1 def $x1
mov x8, x0
mov x0, #0 ; =0x0
Lloh0:
adrp x9, _BDI_B@GOTPAGE
Lloh1:
ldr x9, [x9, _BDI_B@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
sxtw x10, w1
b LBB0_2
LBB0_1: ; in Loop: Header=BB0_2 Depth=1
sub x0, x0, #1
LBB0_2: ; =>This Inner Loop Header: Depth=1
cmp x0, x10
b.le LBB0_1
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
ldr x11, [x8, x0, lsl #3]
cmp x11, x9
b.ne LBB0_1
; %bb.4:
; kill: def $w0 killed $w0 killed $x0
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _BDI_B,8,3 ; @BDI_B
.comm _BDI_BN,8,3 ; @BDI_BN
.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 ixgbe_get_ethtool_stats
LCPI0_0:
.space 16
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_ixgbe_get_ethtool_stats: ## @ixgbe_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 $24, %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, %r14
callq _netdev_priv
movq %rax, -48(%rbp) ## 8-byte Spill
movq %rax, %rdi
callq _ixgbe_update_stats
leaq -60(%rbp), %rsi
movq %r14, -56(%rbp) ## 8-byte Spill
movq %r14, %rdi
callq _dev_get_stats
movq _IXGBE_GLOBAL_STATS_LEN@GOTPCREL(%rip), %rcx
movslq (%rcx), %r13
testq %r13, %r13
jle LBB0_1
## %bb.2:
movq _ixgbe_gstrings_stats@GOTPCREL(%rip), %rcx
movq (%rcx), %rdx
cmpl $1, %r13d
jne LBB0_17
## %bb.3:
xorl %ecx, %ecx
LBB0_4:
testb $1, %r13b
je LBB0_11
## %bb.5:
leaq (%rcx,%rcx,2), %rsi
movl (%rdx,%rsi,4), %edi
cmpl $128, %edi
je LBB0_9
## %bb.6:
cmpl $129, %edi
jne LBB0_7
## %bb.8:
movq -48(%rbp), %rax ## 8-byte Reload
LBB0_9:
leaq (%rdx,%rsi,4), %rdx
movslq 8(%rdx), %rdx
movq (%rax,%rdx), %rax
jmp LBB0_10
LBB0_1:
xorl %r13d, %r13d
jmp LBB0_11
LBB0_17:
movl %r13d, %esi
andl $2147483646, %esi ## imm = 0x7FFFFFFE
leaq 20(%rdx), %rdi
xorl %ecx, %ecx
jmp LBB0_18
.p2align 4, 0x90
LBB0_26: ## in Loop: Header=BB0_18 Depth=1
movq -48(%rbp), %r8 ## 8-byte Reload
LBB0_27: ## in Loop: Header=BB0_18 Depth=1
movslq (%rdi), %r9
movq (%r8,%r9), %r8
LBB0_28: ## in Loop: Header=BB0_18 Depth=1
movq %r8, 8(%rbx,%rcx,8)
addq $2, %rcx
addq $24, %rdi
cmpq %rcx, %rsi
je LBB0_4
LBB0_18: ## =>This Inner Loop Header: Depth=1
movl -20(%rdi), %r9d
movq %rax, %r8
cmpl $128, %r9d
je LBB0_22
## %bb.19: ## in Loop: Header=BB0_18 Depth=1
cmpl $129, %r9d
jne LBB0_20
## %bb.21: ## in Loop: Header=BB0_18 Depth=1
movq -48(%rbp), %r8 ## 8-byte Reload
LBB0_22: ## in Loop: Header=BB0_18 Depth=1
movslq -12(%rdi), %r9
movq (%r8,%r9), %r8
jmp LBB0_23
.p2align 4, 0x90
LBB0_20: ## in Loop: Header=BB0_18 Depth=1
xorl %r8d, %r8d
LBB0_23: ## in Loop: Header=BB0_18 Depth=1
movq %r8, (%rbx,%rcx,8)
movl -8(%rdi), %r9d
movq %rax, %r8
cmpl $128, %r9d
je LBB0_27
## %bb.24: ## in Loop: Header=BB0_18 Depth=1
cmpl $129, %r9d
je LBB0_26
## %bb.25: ## in Loop: Header=BB0_18 Depth=1
xorl %r8d, %r8d
jmp LBB0_28
LBB0_7:
xorl %eax, %eax
LBB0_10:
movq %rax, (%rbx,%rcx,8)
LBB0_11:
movq -56(%rbp), %rax ## 8-byte Reload
movl (%rax), %eax
testl %eax, %eax
jle LBB0_29
## %bb.12:
movl %r13d, %r13d
xorl %r15d, %r15d
jmp LBB0_13
.p2align 4, 0x90
LBB0_35: ## in Loop: Header=BB0_13 Depth=1
xorps %xmm0, %xmm0
movups %xmm0, (%rbx,%r13,8)
LBB0_36: ## in Loop: Header=BB0_13 Depth=1
addq $2, %r13
incq %r15
movslq %eax, %rcx
cmpq %rcx, %r15
jge LBB0_29
LBB0_13: ## =>This Loop Header: Depth=1
## Child Loop BB0_15 Depth 2
movq -48(%rbp), %rcx ## 8-byte Reload
movq 40(%rcx), %rcx
movq (%rcx,%r15,8), %r14
testq %r14, %r14
je LBB0_35
## %bb.14: ## in Loop: Header=BB0_13 Depth=1
leaq 16(%r14), %r12
.p2align 4, 0x90
LBB0_15: ## Parent Loop BB0_13 Depth=1
## => This Inner Loop Header: Depth=2
movq %r12, %rdi
callq _u64_stats_fetch_begin_irq
movq 8(%r14), %rcx
movq %rcx, (%rbx,%r13,8)
movq (%r14), %rcx
movq %rcx, 8(%rbx,%r13,8)
movq %r12, %rdi
movl %eax, %esi
callq _u64_stats_fetch_retry_irq
testq %rax, %rax
jne LBB0_15
## %bb.16: ## in Loop: Header=BB0_13 Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
movl (%rax), %eax
jmp LBB0_36
LBB0_29:
movq _IXGBE_NUM_RX_QUEUES@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, %eax
jle LBB0_37
## %bb.30:
movl %r13d, %r13d
xorl %r12d, %r12d
jmp LBB0_31
.p2align 4, 0x90
LBB0_44: ## in Loop: Header=BB0_31 Depth=1
xorps %xmm0, %xmm0
movups %xmm0, (%rbx,%r13,8)
LBB0_45: ## in Loop: Header=BB0_31 Depth=1
addq $2, %r13
incq %r12
movslq %eax, %rcx
cmpq %rcx, %r12
jge LBB0_37
LBB0_31: ## =>This Loop Header: Depth=1
## Child Loop BB0_33 Depth 2
movq -48(%rbp), %rcx ## 8-byte Reload
movq 32(%rcx), %rcx
movq (%rcx,%r12,8), %r14
testq %r14, %r14
je LBB0_44
## %bb.32: ## in Loop: Header=BB0_31 Depth=1
leaq 16(%r14), %r15
.p2align 4, 0x90
LBB0_33: ## Parent Loop BB0_31 Depth=1
## => This Inner Loop Header: Depth=2
movq %r15, %rdi
callq _u64_stats_fetch_begin_irq
movq 8(%r14), %rcx
movq %rcx, (%rbx,%r13,8)
movq (%r14), %rcx
movq %rcx, 8(%rbx,%r13,8)
movq %r15, %rdi
movl %eax, %esi
callq _u64_stats_fetch_retry_irq
testq %rax, %rax
jne LBB0_33
## %bb.34: ## in Loop: Header=BB0_31 Depth=1
movq _IXGBE_NUM_RX_QUEUES@GOTPCREL(%rip), %rax
movl (%rax), %eax
jmp LBB0_45
LBB0_37:
movq _IXGBE_MAX_PACKET_BUFFERS@GOTPCREL(%rip), %rax
movslq (%rax), %rax
testq %rax, %rax
jle LBB0_52
## %bb.38:
movq -48(%rbp), %rcx ## 8-byte Reload
movq 16(%rcx), %rsi
movq 24(%rcx), %rdi
movl %r13d, %edx
movq %rax, %rcx
decq %rcx
je LBB0_39
## %bb.46:
movl %eax, %r9d
andl $2147483646, %r9d ## imm = 0x7FFFFFFE
xorl %r8d, %r8d
.p2align 4, 0x90
LBB0_47: ## =>This Inner Loop Header: Depth=1
movq (%rdi,%r8,8), %r10
movq %r10, (%rbx,%rdx,8)
movq (%rsi,%r8,8), %r10
movq %r10, 8(%rbx,%rdx,8)
movq 8(%rdi,%r8,8), %r10
movq %r10, 16(%rbx,%rdx,8)
movq 8(%rsi,%r8,8), %r10
movq %r10, 24(%rbx,%rdx,8)
addq $4, %rdx
addq $2, %r8
cmpq %r8, %r9
jne LBB0_47
## %bb.40:
testb $1, %al
je LBB0_42
LBB0_41:
movq (%rdi,%r8,8), %rdi
movq %rdi, (%rbx,%rdx,8)
movq (%rsi,%r8,8), %rsi
movq %rsi, 8(%rbx,%rdx,8)
addq $2, %rdx
LBB0_42:
movq -48(%rbp), %rdi ## 8-byte Reload
movq (%rdi), %rsi
movq 8(%rdi), %rdi
movl %edx, %edx
testq %rcx, %rcx
je LBB0_43
## %bb.48:
movl %eax, %r8d
andl $2147483646, %r8d ## imm = 0x7FFFFFFE
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_49: ## =>This Inner Loop Header: Depth=1
movq (%rdi,%rcx,8), %r9
movq %r9, (%rbx,%rdx,8)
movq (%rsi,%rcx,8), %r9
movq %r9, 8(%rbx,%rdx,8)
movq 8(%rdi,%rcx,8), %r9
movq %r9, 16(%rbx,%rdx,8)
movq 8(%rsi,%rcx,8), %r9
movq %r9, 24(%rbx,%rdx,8)
addq $4, %rdx
addq $2, %rcx
cmpq %rcx, %r8
jne LBB0_49
## %bb.50:
testb $1, %al
je LBB0_52
LBB0_51:
movq (%rdi,%rcx,8), %rax
movq %rax, (%rbx,%rdx,8)
movq (%rsi,%rcx,8), %rax
movq %rax, 8(%rbx,%rdx,8)
LBB0_52:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_39:
xorl %r8d, %r8d
testb $1, %al
jne LBB0_41
jmp LBB0_42
LBB0_43:
xorl %ecx, %ecx
testb $1, %al
jne LBB0_51
jmp LBB0_52
.cfi_endproc
## -- End function
.comm _IXGBE_GLOBAL_STATS_LEN,4,2 ## @IXGBE_GLOBAL_STATS_LEN
.comm _ixgbe_gstrings_stats,8,3 ## @ixgbe_gstrings_stats
.comm _IXGBE_NUM_RX_QUEUES,4,2 ## @IXGBE_NUM_RX_QUEUES
.comm _IXGBE_MAX_PACKET_BUFFERS,4,2 ## @IXGBE_MAX_PACKET_BUFFERS
.no_dead_strip _ixgbe_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 ixgbe_get_ethtool_stats
_ixgbe_get_ethtool_stats: ; @ixgbe_get_ethtool_stats
.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, x2
mov x21, x0
bl _netdev_priv
mov x20, x0
bl _ixgbe_update_stats
add x1, sp, #12
mov x0, x21
bl _dev_get_stats
Lloh0:
adrp x8, _IXGBE_GLOBAL_STATS_LEN@GOTPAGE
Lloh1:
ldr x8, [x8, _IXGBE_GLOBAL_STATS_LEN@GOTPAGEOFF]
Lloh2:
ldr w9, [x8]
cmp w9, #1
b.lt LBB0_8
; %bb.1:
Lloh3:
adrp x8, _ixgbe_gstrings_stats@GOTPAGE
Lloh4:
ldr x8, [x8, _ixgbe_gstrings_stats@GOTPAGEOFF]
Lloh5:
ldr x8, [x8]
add x8, x8, #8
mov x10, x9
mov x11, x19
b LBB0_5
LBB0_2: ; in Loop: Header=BB0_5 Depth=1
mov x12, x20
LBB0_3: ; in Loop: Header=BB0_5 Depth=1
ldrsw x13, [x8]
ldr x12, [x12, x13]
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
str x12, [x11], #8
add x8, x8, #12
subs x10, x10, #1
b.eq LBB0_9
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldur w13, [x8, #-8]
mov x12, x0
cmp w13, #128
b.eq LBB0_3
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
cmp w13, #129
b.eq LBB0_2
; %bb.7: ; in Loop: Header=BB0_5 Depth=1
mov x12, #0 ; =0x0
b LBB0_4
LBB0_8:
mov w9, #0 ; =0x0
LBB0_9:
ldr w8, [x21]
cmp w8, #1
b.lt LBB0_17
; %bb.10:
mov x23, #0 ; =0x0
mov w22, w9
b LBB0_13
LBB0_11: ; in Loop: Header=BB0_13 Depth=1
stp xzr, xzr, [x24]
LBB0_12: ; in Loop: Header=BB0_13 Depth=1
add x22, x22, #2
add x23, x23, #1
cmp x23, w8, sxtw
b.ge LBB0_16
LBB0_13: ; =>This Loop Header: Depth=1
; Child Loop BB0_14 Depth 2
ldr x9, [x20, #40]
ldr x25, [x9, x23, lsl #3]
add x24, x19, x22, lsl #3
cbz x25, LBB0_11
LBB0_14: ; Parent Loop BB0_13 Depth=1
; => This Inner Loop Header: Depth=2
add x0, x25, #16
bl _u64_stats_fetch_begin_irq
mov x1, x0
ldr x8, [x25, #8]
str x8, [x24]
ldr x8, [x25]
str x8, [x24, #8]
add x0, x25, #16
bl _u64_stats_fetch_retry_irq
cbnz x0, LBB0_14
; %bb.15: ; in Loop: Header=BB0_13 Depth=1
ldr w8, [x21]
b LBB0_12
LBB0_16:
mov x9, x22
LBB0_17:
Lloh6:
adrp x21, _IXGBE_NUM_RX_QUEUES@GOTPAGE
Lloh7:
ldr x21, [x21, _IXGBE_NUM_RX_QUEUES@GOTPAGEOFF]
ldr w8, [x21]
cmp w8, #1
b.lt LBB0_25
; %bb.18:
mov x23, #0 ; =0x0
mov w22, w9
b LBB0_21
LBB0_19: ; in Loop: Header=BB0_21 Depth=1
stp xzr, xzr, [x24]
LBB0_20: ; in Loop: Header=BB0_21 Depth=1
add x22, x22, #2
add x23, x23, #1
cmp x23, w8, sxtw
b.ge LBB0_24
LBB0_21: ; =>This Loop Header: Depth=1
; Child Loop BB0_22 Depth 2
ldr x9, [x20, #32]
ldr x25, [x9, x23, lsl #3]
add x24, x19, x22, lsl #3
cbz x25, LBB0_19
LBB0_22: ; Parent Loop BB0_21 Depth=1
; => This Inner Loop Header: Depth=2
add x0, x25, #16
bl _u64_stats_fetch_begin_irq
mov x1, x0
ldr x8, [x25, #8]
str x8, [x24]
ldr x8, [x25]
str x8, [x24, #8]
add x0, x25, #16
bl _u64_stats_fetch_retry_irq
cbnz x0, LBB0_22
; %bb.23: ; in Loop: Header=BB0_21 Depth=1
ldr w8, [x21]
b LBB0_20
LBB0_24:
mov x9, x22
LBB0_25:
Lloh8:
adrp x8, _IXGBE_MAX_PACKET_BUFFERS@GOTPAGE
Lloh9:
ldr x8, [x8, _IXGBE_MAX_PACKET_BUFFERS@GOTPAGEOFF]
Lloh10:
ldr w8, [x8]
cmp w8, #1
b.lt LBB0_34
; %bb.26:
ldp x11, x10, [x20, #16]
mov w9, w9
cmp w8, #9
b.hi LBB0_35
; %bb.27:
mov x12, #0 ; =0x0
LBB0_28:
sub x13, x8, x12
add x14, x19, x9, lsl #3
add x14, x14, #8
lsl x15, x12, #3
add x11, x11, x15
add x10, x10, x15
add x9, x9, x8, lsl #1
sub x9, x9, x12, lsl #1
LBB0_29: ; =>This Inner Loop Header: Depth=1
ldr x12, [x10], #8
stur x12, [x14, #-8]
ldr x12, [x11], #8
str x12, [x14], #16
subs x13, x13, #1
b.ne LBB0_29
LBB0_30:
ldp x11, x10, [x20]
mov w9, w9
cmp w8, #9
b.hi LBB0_40
; %bb.31:
mov x12, #0 ; =0x0
LBB0_32:
add x9, x19, x9, lsl #3
add x9, x9, #8
lsl x13, x12, #3
add x11, x11, x13
add x10, x10, x13
sub x8, x8, x12
LBB0_33: ; =>This Inner Loop Header: Depth=1
ldr x12, [x10], #8
stur x12, [x9, #-8]
ldr x12, [x11], #8
str x12, [x9], #16
subs x8, x8, #1
b.ne LBB0_33
LBB0_34:
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
LBB0_35:
mov x12, #0 ; =0x0
add x14, x19, x9, lsl #3
add x15, x14, x8, lsl #4
lsl x13, x8, #3
add x16, x10, x13
add x13, x11, x13
cmp x14, x13
ccmp x11, x15, #2, lo
cset w13, lo
cmp x10, x15
ccmp x14, x16, #2, lo
b.lo LBB0_28
; %bb.36:
tbnz w13, #0, LBB0_28
; %bb.37:
and x12, x8, #0x7ffffffc
add x9, x9, x12, lsl #1
add x13, x10, #16
add x14, x14, #32
add x15, x11, #16
mov x16, x12
LBB0_38: ; =>This Inner Loop Header: Depth=1
ldp q0, q2, [x13, #-16]
ldp q1, q3, [x15, #-16]
sub x17, x14, #32
st2.2d { v0, v1 }, [x17]
st2.2d { v2, v3 }, [x14]
add x13, x13, #32
add x14, x14, #64
add x15, x15, #32
subs x16, x16, #4
b.ne LBB0_38
; %bb.39:
cmp x12, x8
b.ne LBB0_28
b LBB0_30
LBB0_40:
mov x12, #0 ; =0x0
add x14, x19, x9, lsl #3
add x15, x14, x8, lsl #4
lsl x13, x8, #3
add x16, x10, x13
add x13, x11, x13
cmp x14, x13
ccmp x11, x15, #2, lo
cset w13, lo
cmp x10, x15
ccmp x14, x16, #2, lo
b.lo LBB0_32
; %bb.41:
tbnz w13, #0, LBB0_32
; %bb.42:
and x12, x8, #0x7ffffffc
add x9, x9, x12, lsl #1
add x13, x10, #16
add x14, x14, #32
add x15, x11, #16
mov x16, x12
LBB0_43: ; =>This Inner Loop Header: Depth=1
ldp q0, q2, [x13, #-16]
ldp q1, q3, [x15, #-16]
sub x17, x14, #32
st2.2d { v0, v1 }, [x17]
st2.2d { v2, v3 }, [x14]
add x13, x13, #32
add x14, x14, #64
add x15, x15, #32
subs x16, x16, #4
b.ne LBB0_43
; %bb.44:
cmp x12, x8
b.ne LBB0_32
b LBB0_34
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.cfi_endproc
; -- End function
.comm _IXGBE_GLOBAL_STATS_LEN,4,2 ; @IXGBE_GLOBAL_STATS_LEN
.comm _ixgbe_gstrings_stats,8,3 ; @ixgbe_gstrings_stats
.comm _IXGBE_NUM_RX_QUEUES,4,2 ; @IXGBE_NUM_RX_QUEUES
.comm _IXGBE_MAX_PACKET_BUFFERS,4,2 ; @IXGBE_MAX_PACKET_BUFFERS
.no_dead_strip _ixgbe_get_ethtool_stats
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function emit_retjcr
_emit_retjcr: ## @emit_retjcr
.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 $64, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %rbx
movl %esi, %r15d
movq %rdi, %r14
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
testl %esi, %esi
jle LBB0_3
## %bb.1:
movq (%r14), %rax
movq _O_register@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_3
## %bb.2:
movl 8(%r14), %edi
callq _regno
movl %eax, %edx
movl $1, %r12d
jmp LBB0_4
LBB0_3:
movq _AXP_REG_ZERO@GOTPCREL(%rip), %rax
movl (%rax), %edx
xorl %r12d, %r12d
LBB0_4:
callq _set_tok_reg
cmpl %r15d, %r12d
jge LBB0_8
## %bb.5:
movl %r12d, %eax
shll $4, %eax
movq (%r14,%rax), %rcx
movq _O_pregister@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
je LBB0_7
## %bb.6:
movq _O_cpregister@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
je LBB0_7
LBB0_8:
movq _AXP_REG_RA@GOTPCREL(%rip), %rax
movl (%rax), %edx
jmp LBB0_9
LBB0_7:
addq %r14, %rax
incl %r12d
movl 8(%rax), %edi
callq _regno
movl %eax, %edx
LBB0_9:
callq _set_tok_cpreg
cmpl %r15d, %r12d
jge LBB0_11
## %bb.10:
shll $4, %r12d
movups (%r14,%r12), %xmm0
movaps %xmm0, -64(%rbp)
jmp LBB0_12
LBB0_11:
leaq L_.str(%rip), %rsi
movq %rbx, %rdi
callq _strcmp
xorl %edx, %edx
testq %rax, %rax
sete %dl
callq _set_tok_const
LBB0_12:
leaq -96(%rbp), %rsi
movq %rbx, %rdi
movl $3, %edx
xorl %ecx, %ecx
callq _assemble_tokens
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -40(%rbp), %rax
jne LBB0_14
## %bb.13:
addq $64, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_14:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _O_register,8,3 ## @O_register
.comm _AXP_REG_ZERO,4,2 ## @AXP_REG_ZERO
.comm _O_pregister,8,3 ## @O_pregister
.comm _O_cpregister,8,3 ## @O_cpregister
.comm _AXP_REG_RA,4,2 ## @AXP_REG_RA
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "ret"
.no_dead_strip _emit_retjcr
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function emit_retjcr
_emit_retjcr: ; @emit_retjcr
.cfi_startproc
; %bb.0:
sub sp, sp, #112
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
mov x19, x2
mov x21, 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, #-40]
cmp w1, #1
b.lt LBB0_3
; %bb.1:
ldr x8, [x20]
Lloh3:
adrp x9, _O_register@GOTPAGE
Lloh4:
ldr x9, [x9, _O_register@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_3
; %bb.2:
ldr w0, [x20, #8]
bl _regno
mov x2, x0
mov w22, #1 ; =0x1
b LBB0_4
LBB0_3:
mov w22, #0 ; =0x0
Lloh6:
adrp x8, _AXP_REG_ZERO@GOTPAGE
Lloh7:
ldr x8, [x8, _AXP_REG_ZERO@GOTPAGEOFF]
Lloh8:
ldr w2, [x8]
LBB0_4:
bl _set_tok_reg
cmp w22, w21
b.ge LBB0_7
; %bb.5:
add x8, x20, w22, uxtw #4
ldr x9, [x8]
Lloh9:
adrp x10, _O_pregister@GOTPAGE
Lloh10:
ldr x10, [x10, _O_pregister@GOTPAGEOFF]
Lloh11:
ldr x10, [x10]
Lloh12:
adrp x11, _O_cpregister@GOTPAGE
Lloh13:
ldr x11, [x11, _O_cpregister@GOTPAGEOFF]
Lloh14:
ldr x11, [x11]
cmp x9, x10
ccmp x9, x11, #4, ne
b.ne LBB0_7
; %bb.6:
add w22, w22, #1
ldr w0, [x8, #8]
bl _regno
mov x2, x0
b LBB0_8
LBB0_7:
Lloh15:
adrp x8, _AXP_REG_RA@GOTPAGE
Lloh16:
ldr x8, [x8, _AXP_REG_RA@GOTPAGEOFF]
Lloh17:
ldr w2, [x8]
LBB0_8:
bl _set_tok_cpreg
cmp w22, w21
b.ge LBB0_10
; %bb.9:
ldr q0, [x20, w22, uxtw #4]
stur q0, [sp, #40]
b LBB0_11
LBB0_10:
Lloh18:
adrp x1, l_.str@PAGE
Lloh19:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _strcmp
cmp x0, #0
cset w2, eq
bl _set_tok_const
LBB0_11:
add x1, sp, #8
mov x0, x19
mov w2, #3 ; =0x3
mov w3, #0 ; =0x0
bl _assemble_tokens
ldur x8, [x29, #-40]
Lloh20:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh21:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_13
; %bb.12:
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
add sp, sp, #112
ret
LBB0_13:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.cfi_endproc
; -- End function
.comm _O_register,8,3 ; @O_register
.comm _AXP_REG_ZERO,4,2 ; @AXP_REG_ZERO
.comm _O_pregister,8,3 ; @O_pregister
.comm _O_cpregister,8,3 ; @O_cpregister
.comm _AXP_REG_RA,4,2 ; @AXP_REG_RA
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "ret"
.no_dead_strip _emit_retjcr
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _handle_uart_irq ## -- Begin function handle_uart_irq
.p2align 4, 0x90
_handle_uart_irq: ## @handle_uart_irq
.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 _AUX_MU_IIR_REG@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _get32
andl $6, %eax
cmpl $2, %eax
jne LBB0_7
## %bb.1:
movq _AUX_MU_LSR_REG@GOTPCREL(%rip), %rbx
movl (%rbx), %edi
callq _get32
testb $32, %al
jne LBB0_2
LBB0_7:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_2:
movq _rd_buffer_index@GOTPCREL(%rip), %r14
movq _wr_buffer_index@GOTPCREL(%rip), %r15
movq _AUX_MU_IO_REG@GOTPCREL(%rip), %r13
movq _BUFFER_SIZE@GOTPCREL(%rip), %r12
jmp LBB0_3
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_3 Depth=1
movl (%rbx), %edi
callq _get32
testb $32, %al
je LBB0_7
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq (%r14), %rax
cmpq (%r15), %rax
je LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq _buffer@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
leaq 1(%rax), %rdx
movq %rdx, (%r14)
movsbl (%rcx,%rax), %esi
movl (%r13), %edi
callq _put32
movq (%r14), %rax
cmpq (%r12), %rax
jne LBB0_6
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movq $0, (%r14)
jmp LBB0_6
.cfi_endproc
## -- End function
.comm _AUX_MU_IIR_REG,4,2 ## @AUX_MU_IIR_REG
.comm _AUX_MU_LSR_REG,4,2 ## @AUX_MU_LSR_REG
.comm _AUX_MU_IO_REG,4,2 ## @AUX_MU_IO_REG
.comm _buffer,8,3 ## @buffer
.comm _wr_buffer_index,8,3 ## @wr_buffer_index
.comm _BUFFER_SIZE,8,3 ## @BUFFER_SIZE
.comm _rd_buffer_index,8,3 ## @rd_buffer_index
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _handle_uart_irq ; -- Begin function handle_uart_irq
.p2align 2
_handle_uart_irq: ; @handle_uart_irq
.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
Lloh0:
adrp x8, _AUX_MU_IIR_REG@GOTPAGE
Lloh1:
ldr x8, [x8, _AUX_MU_IIR_REG@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
bl _get32
and w8, w0, #0x6
cmp w8, #2
b.ne LBB0_2
; %bb.1:
Lloh3:
adrp x19, _AUX_MU_LSR_REG@GOTPAGE
Lloh4:
ldr x19, [x19, _AUX_MU_LSR_REG@GOTPAGEOFF]
ldr w0, [x19]
bl _get32
tbnz w0, #5, LBB0_3
LBB0_2:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
LBB0_3:
Lloh5:
adrp x20, _rd_buffer_index@GOTPAGE
Lloh6:
ldr x20, [x20, _rd_buffer_index@GOTPAGEOFF]
Lloh7:
adrp x21, _wr_buffer_index@GOTPAGE
Lloh8:
ldr x21, [x21, _wr_buffer_index@GOTPAGEOFF]
Lloh9:
adrp x22, _buffer@GOTPAGE
Lloh10:
ldr x22, [x22, _buffer@GOTPAGEOFF]
Lloh11:
adrp x23, _AUX_MU_IO_REG@GOTPAGE
Lloh12:
ldr x23, [x23, _AUX_MU_IO_REG@GOTPAGEOFF]
Lloh13:
adrp x24, _BUFFER_SIZE@GOTPAGE
Lloh14:
ldr x24, [x24, _BUFFER_SIZE@GOTPAGEOFF]
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
ldr w0, [x19]
bl _get32
tbz w0, #5, LBB0_2
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr x8, [x20]
ldr x9, [x21]
cmp x8, x9
b.eq LBB0_4
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
ldr x9, [x22]
add x10, x8, #1
str x10, [x20]
ldrsb w1, [x9, x8]
ldr w0, [x23]
bl _put32
ldr x8, [x20]
ldr x9, [x24]
cmp x8, x9
b.ne LBB0_4
; %bb.7: ; in Loop: Header=BB0_5 Depth=1
str xzr, [x20]
b LBB0_4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _AUX_MU_IIR_REG,4,2 ; @AUX_MU_IIR_REG
.comm _AUX_MU_LSR_REG,4,2 ; @AUX_MU_LSR_REG
.comm _AUX_MU_IO_REG,4,2 ; @AUX_MU_IO_REG
.comm _buffer,8,3 ; @buffer
.comm _wr_buffer_index,8,3 ; @wr_buffer_index
.comm _BUFFER_SIZE,8,3 ; @BUFFER_SIZE
.comm _rd_buffer_index,8,3 ; @rd_buffer_index
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _format_grid_line ## -- Begin function format_grid_line
.p2align 4, 0x90
_format_grid_line: ## @format_grid_line
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %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 (%rdi), %r14
subq %rsi, %r14
movq %r14, %rsi
callq _grid_line_length
testq %rax, %rax
js LBB0_8
## %bb.1:
movq $-1, %r15
xorl %r12d, %r12d
xorl %r13d, %r13d
jmp LBB0_3
.p2align 4, 0x90
LBB0_2: ## in Loop: Header=BB0_3 Depth=1
movq %rbx, %rdi
movq %r14, %rsi
callq _grid_line_length
cmpq %rax, %r15
jge LBB0_5
LBB0_3: ## =>This Inner Loop Header: Depth=1
incq %r15
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
leaq -48(%rbp), %rcx
callq _grid_get_cell
movq _GRID_FLAG_PADDING@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl -48(%rbp), %eax
jne LBB0_2
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
leaq 2(%r12), %rsi
movq %r13, %rdi
movl $8, %edx
callq _xreallocarray
movq %rax, %r13
leaq (%rax,%r12,8), %rdi
incq %r12
leaq -44(%rbp), %rsi
movl $8, %edx
callq _memcpy
jmp LBB0_2
LBB0_5:
testq %r12, %r12
je LBB0_8
## %bb.6:
movq $0, (%r13,%r12,8)
movq %r13, %rdi
callq _utf8_tocstr
movq %rax, %rbx
movq %r13, %rdi
callq _free
movq %rbx, %rax
jmp LBB0_9
LBB0_8:
xorl %eax, %eax
LBB0_9:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _GRID_FLAG_PADDING,4,2 ## @GRID_FLAG_PADDING
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _format_grid_line ; -- Begin function format_grid_line
.p2align 2
_format_grid_line: ; @format_grid_line
.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, x0
ldr x8, [x0]
sub x20, x8, x1
mov x1, x20
bl _grid_line_length
tbnz x0, #63, LBB0_7
; %bb.1:
mov x24, #0 ; =0x0
mov x21, #0 ; =0x0
add x23, sp, #8
mov x22, #-1 ; =0xffffffffffffffff
Lloh0:
adrp x25, _GRID_FLAG_PADDING@GOTPAGE
Lloh1:
ldr x25, [x25, _GRID_FLAG_PADDING@GOTPAGEOFF]
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
mov x0, x19
mov x1, x20
bl _grid_line_length
cmp x22, x0
b.ge LBB0_5
LBB0_3: ; =>This Inner Loop Header: Depth=1
add x22, x22, #1
add x3, sp, #8
mov x0, x19
mov x1, x22
mov x2, x20
bl _grid_get_cell
ldr w8, [sp, #8]
ldr w9, [x25]
orr w8, w9, w8
cbnz w8, LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
add x1, x24, #2
mov x0, x21
mov w2, #8 ; =0x8
bl _xreallocarray
mov x21, x0
add x26, x24, #1
add x0, x0, x24, lsl #3
add x1, x23, #4
mov w2, #8 ; =0x8
bl _memcpy
mov x24, x26
b LBB0_2
LBB0_5:
cbz x24, LBB0_7
; %bb.6:
str xzr, [x21, x24, lsl #3]
mov x0, x21
bl _utf8_tocstr
mov x19, x0
mov x0, x21
bl _free
mov x0, x19
b LBB0_8
LBB0_7:
mov x0, #0 ; =0x0
LBB0_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
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _GRID_FLAG_PADDING,4,2 ; @GRID_FLAG_PADDING
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _strsplit_by_space ## -- Begin function strsplit_by_space
.p2align 4, 0x90
_strsplit_by_space: ## @strsplit_by_space
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
testq %rsi, %rsi
je LBB0_2
## %bb.1:
movl $0, (%rsi)
LBB0_2:
xorl %eax, %eax
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 _strsplit_by_space ; -- Begin function strsplit_by_space
.p2align 2
_strsplit_by_space: ; @strsplit_by_space
.cfi_startproc
; %bb.0:
cbz x1, LBB0_2
; %bb.1:
str wzr, [x1]
LBB0_2:
mov x0, #0 ; =0x0
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 merge
_merge: ## @merge
.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 $0, (%rdx)
movl (%rdi), %r8d
xorl %ecx, %ecx
testl %r8d, %r8d
js LBB0_1
## %bb.2:
cmpl $0, (%rsi)
movl $0, %eax
jle LBB0_11
## %bb.3:
xorl %ecx, %ecx
xorl %eax, %eax
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq 8(%rdi), %r11
movslq %ecx, %rbx
shlq $4, %rbx
leaq (%r11,%rbx), %r8
movq 8(%rsi), %r9
movslq %eax, %r10
shlq $4, %r10
movq (%r9,%r10), %r14
addq %r10, %r9
cmpq %r14, (%r11,%rbx)
jle LBB0_7
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movq 8(%rdx), %r9
movslq (%rdx), %r10
leal -1(%r10), %r11d
movl %r11d, (%rdx)
shlq $4, %r10
incl %ecx
movups (%r8), %xmm0
movups %xmm0, (%r9,%r10)
jmp LBB0_10
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_5 Depth=1
movq 8(%rdx), %r11
movslq (%rdx), %rbx
jge LBB0_9
## %bb.8: ## in Loop: Header=BB0_5 Depth=1
leal 1(%rbx), %r8d
movl %r8d, (%rdx)
shlq $4, %rbx
incl %eax
movups (%r9), %xmm0
movups %xmm0, (%r11,%rbx)
jmp LBB0_10
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_5 Depth=1
shlq $4, %rbx
incl %ecx
movups (%r8), %xmm0
movups %xmm0, (%r11,%rbx)
movq 8(%rsi), %r8
incl %eax
movl 8(%r8,%r10), %r8d
movq 8(%rdx), %r9
movslq (%rdx), %r10
leal 1(%r10), %r11d
movl %r11d, (%rdx)
shlq $4, %r10
orl %r8d, 8(%r9,%r10)
LBB0_10: ## in Loop: Header=BB0_5 Depth=1
movl (%rdi), %r8d
cmpl %r8d, %ecx
jg LBB0_11
## %bb.4: ## in Loop: Header=BB0_5 Depth=1
cmpl (%rsi), %eax
jl LBB0_5
jmp LBB0_11
LBB0_1:
xorl %eax, %eax
LBB0_11:
cmpl %r8d, %ecx
jge LBB0_14
## %bb.12:
movslq %ecx, %rcx
movq %rcx, %r8
shlq $4, %r8
.p2align 4, 0x90
LBB0_13: ## =>This Inner Loop Header: Depth=1
movq 8(%rdx), %r9
movslq (%rdx), %r10
leal 1(%r10), %r11d
movl %r11d, (%rdx)
shlq $4, %r10
movq 8(%rdi), %r11
incq %rcx
movups (%r11,%r8), %xmm0
movups %xmm0, (%r9,%r10)
movslq (%rdi), %r9
addq $16, %r8
cmpq %r9, %rcx
jl LBB0_13
LBB0_14:
cmpl (%rsi), %eax
jge LBB0_17
## %bb.15:
cltq
movq %rax, %rcx
shlq $4, %rcx
.p2align 4, 0x90
LBB0_16: ## =>This Inner Loop Header: Depth=1
movq 8(%rdx), %rdi
movslq (%rdx), %r8
leal 1(%r8), %r9d
movl %r9d, (%rdx)
shlq $4, %r8
movq 8(%rsi), %r9
incq %rax
movups (%r9,%rcx), %xmm0
movups %xmm0, (%rdi,%r8)
movslq (%rsi), %rdi
addq $16, %rcx
cmpq %rdi, %rax
jl LBB0_16
LBB0_17:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _merge
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function merge
_merge: ; @merge
.cfi_startproc
; %bb.0:
str wzr, [x2]
ldr w10, [x0]
tbnz w10, #31, LBB0_10
; %bb.1:
ldr w8, [x1]
cmp w8, #1
b.lt LBB0_10
; %bb.2:
mov w9, #0 ; =0x0
mov w8, #0 ; =0x0
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x10, [x0, #8]
add x10, x10, w9, sxtw #4
ldr x14, [x10]
ldr x11, [x1, #8]
add x12, x11, w8, sxtw #4
ldr x15, [x12]
cmp x14, x15
b.le LBB0_5
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
ldr x11, [x2, #8]
ldrsw x12, [x2]
sub w13, w12, #1
str w13, [x2]
add w9, w9, #1
ldr q0, [x10]
str q0, [x11, x12, lsl #4]
b LBB0_8
LBB0_5: ; in Loop: Header=BB0_3 Depth=1
ldr x11, [x2, #8]
ldrsw x13, [x2]
cmp x14, x15
b.ge LBB0_7
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
add w10, w13, #1
str w10, [x2]
add w8, w8, #1
ldr q0, [x12]
str q0, [x11, x13, lsl #4]
b LBB0_8
LBB0_7: ; in Loop: Header=BB0_3 Depth=1
sxtw x12, w8
add w9, w9, #1
ldr q0, [x10]
str q0, [x11, x13, lsl #4]
ldr x10, [x1, #8]
add w8, w8, #1
add x10, x10, x12, lsl #4
ldr w10, [x10, #8]
ldr x11, [x2, #8]
ldrsw x12, [x2]
add w13, w12, #1
str w13, [x2]
add x11, x11, x12, lsl #4
ldr w12, [x11, #8]
orr w10, w12, w10
str w10, [x11, #8]
LBB0_8: ; in Loop: Header=BB0_3 Depth=1
ldr w10, [x0]
cmp w9, w10
b.gt LBB0_11
; %bb.9: ; in Loop: Header=BB0_3 Depth=1
ldr w11, [x1]
cmp w8, w11
b.lt LBB0_3
b LBB0_11
LBB0_10:
mov w9, #0 ; =0x0
mov w8, #0 ; =0x0
LBB0_11:
cmp w9, w10
b.ge LBB0_14
; %bb.12:
sxtw x10, w9
sbfiz x9, x9, #4, #32
LBB0_13: ; =>This Inner Loop Header: Depth=1
ldr x11, [x2, #8]
ldrsw x12, [x2]
add w13, w12, #1
str w13, [x2]
ldr x13, [x0, #8]
ldr q0, [x13, x9]
add x10, x10, #1
str q0, [x11, x12, lsl #4]
ldrsw x11, [x0]
add x9, x9, #16
cmp x10, x11
b.lt LBB0_13
LBB0_14:
ldr w9, [x1]
cmp w8, w9
b.ge LBB0_17
; %bb.15:
mov x9, x8
sxtw x8, w9
sbfiz x9, x9, #4, #32
LBB0_16: ; =>This Inner Loop Header: Depth=1
ldr x10, [x2, #8]
ldrsw x11, [x2]
add w12, w11, #1
str w12, [x2]
ldr x12, [x1, #8]
ldr q0, [x12, x9]
add x8, x8, #1
str q0, [x10, x11, lsl #4]
ldrsw x10, [x1]
add x9, x9, #16
cmp x8, x10
b.lt LBB0_16
LBB0_17:
ret
.cfi_endproc
; -- End function
.no_dead_strip _merge
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function tbm_extract_page_tuple
_tbm_extract_page_tuple: ## @tbm_extract_page_tuple
.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 _WORDS_PER_PAGE@GOTPCREL(%rip), %rax
movl (%rax), %ecx
testl %ecx, %ecx
js LBB0_1
## %bb.2:
movq (%rdi), %rdx
movq _BITS_PER_BITMAPWORD@GOTPCREL(%rip), %rax
movl (%rax), %edi
incq %rcx
xorl %r8d, %r8d
movl $-1, %r9d
xorl %eax, %eax
jmp LBB0_3
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_3 Depth=1
incq %r8
addl %edi, %r9d
cmpq %rcx, %r8
je LBB0_7
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_5 Depth 2
movl (%rdx,%r8,4), %r11d
testl %r11d, %r11d
je LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movslq %r9d, %r10
movslq %eax, %rbx
shlq $3, %rbx
addq (%rsi), %rbx
movl %r11d, %r14d
.p2align 4, 0x90
LBB0_5: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movq %r10, (%rbx)
incq %r10
sarl %r14d
addq $8, %rbx
incl %eax
cmpl $1, %r11d
movl %r14d, %r11d
ja LBB0_5
jmp LBB0_6
LBB0_1:
xorl %eax, %eax
LBB0_7:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _WORDS_PER_PAGE,4,2 ## @WORDS_PER_PAGE
.comm _BITS_PER_BITMAPWORD,4,2 ## @BITS_PER_BITMAPWORD
.no_dead_strip _tbm_extract_page_tuple
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function tbm_extract_page_tuple
_tbm_extract_page_tuple: ; @tbm_extract_page_tuple
.cfi_startproc
; %bb.0:
Lloh0:
adrp x9, _WORDS_PER_PAGE@GOTPAGE
Lloh1:
ldr x9, [x9, _WORDS_PER_PAGE@GOTPAGEOFF]
Lloh2:
ldr w11, [x9]
tbnz w11, #31, LBB0_6
; %bb.1:
mov x8, x0
mov x9, #0 ; =0x0
mov w0, #0 ; =0x0
ldr x8, [x8]
Lloh3:
adrp x10, _BITS_PER_BITMAPWORD@GOTPAGE
Lloh4:
ldr x10, [x10, _BITS_PER_BITMAPWORD@GOTPAGEOFF]
Lloh5:
ldr w10, [x10]
add x11, x11, #1
mov w12, #-1 ; =0xffffffff
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x9, x9, #1
add w12, w12, w10
cmp x9, x11
b.eq LBB0_7
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_5 Depth 2
ldr w13, [x8, x9, lsl #2]
cbz w13, LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
sxtw x14, w12
ldr x15, [x1]
add x15, x15, w0, sxtw #3
LBB0_5: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
str x14, [x15], #8
add x14, x14, #1
asr w16, w13, #1
add w0, w0, #1
cmp w13, #1
mov x13, x16
b.hi LBB0_5
b LBB0_2
LBB0_6:
mov w0, #0 ; =0x0
LBB0_7:
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _WORDS_PER_PAGE,4,2 ; @WORDS_PER_PAGE
.comm _BITS_PER_BITMAPWORD,4,2 ; @BITS_PER_BITMAPWORD
.no_dead_strip _tbm_extract_page_tuple
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function XdsStringUtf8
_XdsStringUtf8: ## @XdsStringUtf8
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
leaq LJTI0_0(%rip), %rcx
xorl %r8d, %r8d
jmp LBB0_4
LBB0_1: ## in Loop: Header=BB0_4 Depth=1
movw $-21053, (%rdi,%r8) ## imm = 0xADC3
.p2align 4, 0x90
LBB0_2: ## in Loop: Header=BB0_4 Depth=1
addq $2, %r8
LBB0_3: ## in Loop: Header=BB0_4 Depth=1
decq %rax
cmpq %rdx, %rax
ja LBB0_15
LBB0_4: ## =>This Inner Loop Header: Depth=1
movl (%rsi,%rax,4), %r9d
leal -42(%r9), %r10d
cmpl $84, %r10d
ja LBB0_14
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movslq (%rcx,%r10,4), %r10
addq %rcx, %r10
jmpq *%r10
LBB0_6: ## in Loop: Header=BB0_4 Depth=1
movw $-24125, (%rdi,%r8) ## imm = 0xA1C3
jmp LBB0_2
LBB0_7: ## in Loop: Header=BB0_4 Depth=1
movw $-22589, (%rdi,%r8) ## imm = 0xA7C3
jmp LBB0_2
LBB0_8: ## in Loop: Header=BB0_4 Depth=1
movw $-22077, (%rdi,%r8) ## imm = 0xA9C3
jmp LBB0_2
LBB0_9: ## in Loop: Header=BB0_4 Depth=1
movw $-18493, (%rdi,%r8) ## imm = 0xB7C3
jmp LBB0_2
LBB0_10: ## in Loop: Header=BB0_4 Depth=1
movw $-28221, (%rdi,%r8) ## imm = 0x91C3
jmp LBB0_2
LBB0_11: ## in Loop: Header=BB0_4 Depth=1
movw $-19517, (%rdi,%r8) ## imm = 0xB3C3
jmp LBB0_2
LBB0_12: ## in Loop: Header=BB0_4 Depth=1
movw $-17725, (%rdi,%r8) ## imm = 0xBAC3
jmp LBB0_2
LBB0_13: ## in Loop: Header=BB0_4 Depth=1
movw $-20029, (%rdi,%r8) ## imm = 0xB1C3
jmp LBB0_2
LBB0_14: ## in Loop: Header=BB0_4 Depth=1
movb %r9b, (%rdi,%r8)
incq %r8
jmp LBB0_3
LBB0_15:
movb $0, (%rdi,%r8)
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_1, LBB0_1-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
LJTI0_0:
.long L0_0_set_6
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_8
.long L0_0_set_14
.long L0_0_set_1
.long L0_0_set_11
.long L0_0_set_12
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_7
.long L0_0_set_9
.long L0_0_set_10
.long L0_0_set_13
.end_data_region
## -- End function
.no_dead_strip _XdsStringUtf8
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function XdsStringUtf8
_XdsStringUtf8: ; @XdsStringUtf8
.cfi_startproc
; %bb.0:
mov x9, #0 ; =0x0
mov x8, #0 ; =0x0
mov w10, #41411 ; =0xa1c3
mov w11, #43459 ; =0xa9c3
mov w12, #44483 ; =0xadc3
mov w13, #46019 ; =0xb3c3
mov w14, #47811 ; =0xbac3
mov w15, #42947 ; =0xa7c3
mov w16, #47043 ; =0xb7c3
mov w17, #37315 ; =0x91c3
mov w3, #45507 ; =0xb1c3
b LBB0_4
LBB0_1: ; in Loop: Header=BB0_4 Depth=1
strh w12, [x0, x8]
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
add x8, x8, #2
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
sub x9, x9, #1
cmp x9, x2
b.hi LBB0_25
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr w4, [x1, x9, lsl #2]
cmp w4, #95
b.le LBB0_10
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
cmp w4, #123
b.le LBB0_17
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
cmp w4, #124
b.eq LBB0_21
; %bb.7: ; in Loop: Header=BB0_4 Depth=1
cmp w4, #125
b.eq LBB0_23
; %bb.8: ; in Loop: Header=BB0_4 Depth=1
cmp w4, #126
b.ne LBB0_24
; %bb.9: ; in Loop: Header=BB0_4 Depth=1
strh w3, [x0, x8]
b LBB0_2
LBB0_10: ; in Loop: Header=BB0_4 Depth=1
cmp w4, #93
b.gt LBB0_14
; %bb.11: ; in Loop: Header=BB0_4 Depth=1
cmp w4, #42
b.eq LBB0_20
; %bb.12: ; in Loop: Header=BB0_4 Depth=1
cmp w4, #92
b.ne LBB0_24
; %bb.13: ; in Loop: Header=BB0_4 Depth=1
strh w11, [x0, x8]
b LBB0_2
LBB0_14: ; in Loop: Header=BB0_4 Depth=1
cmp w4, #94
b.eq LBB0_1
; %bb.15: ; in Loop: Header=BB0_4 Depth=1
cmp w4, #95
b.ne LBB0_24
; %bb.16: ; in Loop: Header=BB0_4 Depth=1
strh w13, [x0, x8]
b LBB0_2
LBB0_17: ; in Loop: Header=BB0_4 Depth=1
cmp w4, #96
b.eq LBB0_22
; %bb.18: ; in Loop: Header=BB0_4 Depth=1
cmp w4, #123
b.ne LBB0_24
; %bb.19: ; in Loop: Header=BB0_4 Depth=1
strh w15, [x0, x8]
b LBB0_2
LBB0_20: ; in Loop: Header=BB0_4 Depth=1
strh w10, [x0, x8]
b LBB0_2
LBB0_21: ; in Loop: Header=BB0_4 Depth=1
strh w16, [x0, x8]
b LBB0_2
LBB0_22: ; in Loop: Header=BB0_4 Depth=1
strh w14, [x0, x8]
b LBB0_2
LBB0_23: ; in Loop: Header=BB0_4 Depth=1
strh w17, [x0, x8]
b LBB0_2
LBB0_24: ; in Loop: Header=BB0_4 Depth=1
strb w4, [x0, x8]
add x8, x8, #1
b LBB0_3
LBB0_25:
strb wzr, [x0, x8]
ret
.cfi_endproc
; -- End function
.no_dead_strip _XdsStringUtf8
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _CG_LoadingItem ## -- Begin function CG_LoadingItem
.p2align 4, 0x90
_CG_LoadingItem: ## @CG_LoadingItem
.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 _bg_itemlist@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq %edi, %rcx
shlq $4, %rcx
leaq (%rax,%rcx), %rbx
movq 8(%rax,%rcx), %rdi
testq %rdi, %rdi
je LBB0_3
## %bb.1:
movq _loadingItemIconCount@GOTPCREL(%rip), %r14
movq (%r14), %rax
movq _MAX_LOADING_ITEM_ICONS@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jge LBB0_3
## %bb.2:
callq _trap_R_RegisterShaderNoMip
movq _loadingItemIcons@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq (%r14), %rdx
leaq 1(%rdx), %rsi
movq %rsi, (%r14)
movl %eax, (%rcx,%rdx,4)
LBB0_3:
movl (%rbx), %edi
popq %rbx
popq %r14
popq %rbp
jmp _CG_LoadingString ## TAILCALL
.cfi_endproc
## -- End function
.comm _bg_itemlist,8,3 ## @bg_itemlist
.comm _loadingItemIconCount,8,3 ## @loadingItemIconCount
.comm _MAX_LOADING_ITEM_ICONS,8,3 ## @MAX_LOADING_ITEM_ICONS
.comm _loadingItemIcons,8,3 ## @loadingItemIcons
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _CG_LoadingItem ; -- Begin function CG_LoadingItem
.p2align 2
_CG_LoadingItem: ; @CG_LoadingItem
.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, _bg_itemlist@GOTPAGE
Lloh1:
ldr x8, [x8, _bg_itemlist@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
add x19, x8, w0, sxtw #4
ldr x0, [x19, #8]
cbz x0, LBB0_3
; %bb.1:
Lloh3:
adrp x20, _loadingItemIconCount@GOTPAGE
Lloh4:
ldr x20, [x20, _loadingItemIconCount@GOTPAGEOFF]
ldr x8, [x20]
Lloh5:
adrp x9, _MAX_LOADING_ITEM_ICONS@GOTPAGE
Lloh6:
ldr x9, [x9, _MAX_LOADING_ITEM_ICONS@GOTPAGEOFF]
Lloh7:
ldr x9, [x9]
cmp x8, x9
b.ge LBB0_3
; %bb.2:
bl _trap_R_RegisterShaderNoMip
Lloh8:
adrp x8, _loadingItemIcons@GOTPAGE
Lloh9:
ldr x8, [x8, _loadingItemIcons@GOTPAGEOFF]
Lloh10:
ldr x8, [x8]
ldr x9, [x20]
add x10, x9, #1
str x10, [x20]
str w0, [x8, x9, lsl #2]
LBB0_3:
ldr w0, [x19]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _CG_LoadingString
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.cfi_endproc
; -- End function
.comm _bg_itemlist,8,3 ; @bg_itemlist
.comm _loadingItemIconCount,8,3 ; @loadingItemIconCount
.comm _MAX_LOADING_ITEM_ICONS,8,3 ; @MAX_LOADING_ITEM_ICONS
.comm _loadingItemIcons,8,3 ; @loadingItemIcons
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function hwicap_command_desync
_hwicap_command_desync: ## @hwicap_command_desync
.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
subq $24, %rsp
.cfi_offset %rbx, -24
movq %rdi, %rbx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -16(%rbp)
movq 8(%rdi), %rax
movl (%rax), %edi
callq _hwicap_type_1_write
orl $1, %eax
movl %eax, -32(%rbp)
movq _XHI_CMD_DESYNCH@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -28(%rbp)
movq _XHI_NOOP_PACKET@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -24(%rbp)
movl %eax, -20(%rbp)
movq (%rbx), %rax
leaq -32(%rbp), %rsi
movq %rbx, %rdi
movl $4, %edx
callq *(%rax)
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -16(%rbp), %rcx
jne LBB0_2
## %bb.1:
addq $24, %rsp
popq %rbx
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _XHI_CMD_DESYNCH,4,2 ## @XHI_CMD_DESYNCH
.comm _XHI_NOOP_PACKET,4,2 ## @XHI_NOOP_PACKET
.no_dead_strip _hwicap_command_desync
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function hwicap_command_desync
_hwicap_command_desync: ; @hwicap_command_desync
.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
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 x8, [x0, #8]
ldr w0, [x8]
bl _hwicap_type_1_write
orr w8, w0, #0x1
Lloh3:
adrp x9, _XHI_CMD_DESYNCH@GOTPAGE
Lloh4:
ldr x9, [x9, _XHI_CMD_DESYNCH@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
Lloh6:
adrp x10, _XHI_NOOP_PACKET@GOTPAGE
Lloh7:
ldr x10, [x10, _XHI_NOOP_PACKET@GOTPAGEOFF]
stp w8, w9, [sp, #8]
Lloh8:
ldr w8, [x10]
stp w8, w8, [sp, #16]
ldr x8, [x19]
ldr x8, [x8]
add x1, sp, #8
mov x0, x19
mov w2, #4 ; =0x4
blr x8
ldr x8, [sp, #24]
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_2
; %bb.1:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #64
ret
LBB0_2:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _XHI_CMD_DESYNCH,4,2 ; @XHI_CMD_DESYNCH
.comm _XHI_NOOP_PACKET,4,2 ; @XHI_NOOP_PACKET
.no_dead_strip _hwicap_command_desync
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function winraw_init_devices
_winraw_init_devices: ## @winraw_init_devices
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r14
movq $0, -32(%rbp)
xorl %r15d, %r15d
leaq -32(%rbp), %rsi
xorl %edi, %edi
movl $24, %edx
callq _GetRawInputDeviceList
cmpq $-1, %rax
je LBB0_7
## %bb.1:
movq -32(%rbp), %rax
shlq $3, %rax
leaq (%rax,%rax,2), %rdi
callq _malloc
testq %rax, %rax
je LBB0_2
## %bb.3:
movq %rax, %r15
leaq -32(%rbp), %rsi
movq %rax, %rdi
movl $24, %edx
callq _GetRawInputDeviceList
movq %rax, -32(%rbp)
cmpq $-1, %rax
je LBB0_7
## %bb.4:
testq %rax, %rax
js LBB0_6
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
jmp LBB0_5
LBB0_7:
xorl %eax, %eax
callq _GetLastError
leaq L_.str(%rip), %rdi
movl %eax, %esi
callq _RARCH_ERR
jmp LBB0_8
LBB0_2:
xorl %r15d, %r15d
LBB0_8:
movq %r15, %rdi
callq _free
xorl %r15d, %r15d
xorl %edi, %edi
callq _free
LBB0_9:
movq $0, (%r14)
movl $0, (%rbx)
movl %r15d, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_6:
xorl %edi, %edi
xorl %esi, %esi
callq _winraw_log_mice_info
movq %r15, %rdi
callq _free
movl $1, %r15d
jmp LBB0_9
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "[WINRAW]: GetRawInputDeviceList failed with error %lu.\n"
.comm _RIM_TYPEMOUSE,8,3 ## @RIM_TYPEMOUSE
.no_dead_strip _winraw_init_devices
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function winraw_init_devices
_winraw_init_devices: ; @winraw_init_devices
.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
mov x20, x0
str xzr, [sp, #8]
add x1, sp, #8
mov x0, #0 ; =0x0
mov w2, #24 ; =0x18
bl _GetRawInputDeviceList
cmn x0, #1
b.eq LBB0_5
; %bb.1:
ldr x8, [sp, #8]
add x8, x8, x8, lsl #1
lsl x0, x8, #3
bl _malloc
mov x21, x0
cbz x0, LBB0_7
; %bb.2:
add x1, sp, #8
mov x0, x21
mov w2, #24 ; =0x18
bl _GetRawInputDeviceList
str x0, [sp, #8]
cmn x0, #1
b.eq LBB0_6
; %bb.3:
tbnz x0, #63, LBB0_9
LBB0_4: ; =>This Inner Loop Header: Depth=1
b LBB0_4
LBB0_5:
mov x21, #0 ; =0x0
LBB0_6:
bl _GetLastError
mov x1, x0
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _RARCH_ERR
LBB0_7:
mov x0, x21
bl _free
mov x0, #0 ; =0x0
bl _free
mov w0, #0 ; =0x0
LBB0_8:
str xzr, [x20]
str wzr, [x19]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
LBB0_9:
mov x0, #0 ; =0x0
mov w1, #0 ; =0x0
bl _winraw_log_mice_info
mov x0, x21
bl _free
mov w0, #1 ; =0x1
b LBB0_8
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "[WINRAW]: GetRawInputDeviceList failed with error %lu.\n"
.comm _RIM_TYPEMOUSE,8,3 ; @RIM_TYPEMOUSE
.no_dead_strip _winraw_init_devices
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function matroxfb_register_device
_matroxfb_register_device: ## @matroxfb_register_device
.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
addq $24, %rdi
movq _matroxfb_list@GOTPCREL(%rip), %rsi
callq _list_add
movq _matroxfb_driver_list@GOTPCREL(%rip), %r15
movq (%r15), %rdi
callq _matroxfb_driver_l
movq %rax, %r14
movq %r15, %rdi
callq _matroxfb_driver_l
xorl %r12d, %r12d
cmpq %rax, %r14
je LBB0_6
## %bb.1:
movq _matroxfb_driver_list@GOTPCREL(%rip), %r15
movq _MATROXFB_MAX_FB_DRIVERS@GOTPCREL(%rip), %r13
jmp LBB0_2
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
movq 8(%r14), %rdi
callq _matroxfb_driver_l
movq %rax, %r14
movq %r15, %rdi
callq _matroxfb_driver_l
cmpq %rax, %r14
je LBB0_6
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq (%r14), %rax
testq %rax, %rax
je LBB0_5
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq %rbx, %rdi
callq *%rax
testq %rax, %rax
je LBB0_5
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movq 16(%rbx), %rcx
movslq %r12d, %rdx
movq %rax, (%rcx,%rdx,8)
movq 8(%rbx), %rax
leal 1(%rdx), %r12d
movq %r14, (%rax,%rdx,8)
cmpl (%r13), %r12d
jne LBB0_5
LBB0_6:
movl %r12d, (%rbx)
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _matroxfb_list,4,2 ## @matroxfb_list
.comm _matroxfb_driver_list,8,3 ## @matroxfb_driver_list
.comm _MATROXFB_MAX_FB_DRIVERS,4,2 ## @MATROXFB_MAX_FB_DRIVERS
.no_dead_strip _matroxfb_register_device
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function matroxfb_register_device
_matroxfb_register_device: ; @matroxfb_register_device
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x0
Lloh0:
adrp x1, _matroxfb_list@GOTPAGE
Lloh1:
ldr x1, [x1, _matroxfb_list@GOTPAGEOFF]
add x0, x0, #24
bl _list_add
Lloh2:
adrp x21, _matroxfb_driver_list@GOTPAGE
Lloh3:
ldr x21, [x21, _matroxfb_driver_list@GOTPAGEOFF]
ldr x0, [x21]
bl _matroxfb_driver_l
mov x20, x0
mov x0, x21
bl _matroxfb_driver_l
cmp x20, x0
b.eq LBB0_6
; %bb.1:
mov w22, #0 ; =0x0
Lloh4:
adrp x23, _MATROXFB_MAX_FB_DRIVERS@GOTPAGE
Lloh5:
ldr x23, [x23, _MATROXFB_MAX_FB_DRIVERS@GOTPAGEOFF]
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
ldr x0, [x20, #8]
bl _matroxfb_driver_l
mov x20, x0
mov x0, x21
bl _matroxfb_driver_l
cmp x20, x0
b.eq LBB0_7
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x8, [x20]
cbz x8, LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov x0, x19
blr x8
cbz x0, LBB0_2
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x19, #16]
str x0, [x8, w22, sxtw #3]
ldr x8, [x19, #8]
str x20, [x8, w22, sxtw #3]
add w8, w22, #1
ldr w9, [x23]
mov x22, x8
cmp w8, w9
b.ne LBB0_2
b LBB0_7
LBB0_6:
mov w22, #0 ; =0x0
LBB0_7:
str w22, [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 AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _matroxfb_list,4,2 ; @matroxfb_list
.comm _matroxfb_driver_list,8,3 ; @matroxfb_driver_list
.comm _MATROXFB_MAX_FB_DRIVERS,4,2 ; @MATROXFB_MAX_FB_DRIVERS
.no_dead_strip _matroxfb_register_device
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _tsCompressFloatImp ## -- Begin function tsCompressFloatImp
.p2align 4, 0x90
_tsCompressFloatImp: ## @tsCompressFloatImp
.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 %rdx, -56(%rbp) ## 8-byte Spill
movq %rdi, %r13
movq _FLOAT_BYTES@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl %ecx, %ebx
imull %esi, %ebx
leal 1(%rbx), %eax
movl %eax, -48(%rbp) ## 4-byte Spill
movl $1, -44(%rbp)
testl %esi, %esi
jle LBB0_12
## %bb.1:
movq %rbx, -88(%rbp) ## 8-byte Spill
movq _BITS_PER_BYTE@GOTPCREL(%rip), %rax
movl (%rax), %esi
xorl %ebx, %ebx
xorl %r15d, %r15d
movl $0, -60(%rbp) ## 4-byte Folded Spill
xorl %r14d, %r14d
movq %r13, -72(%rbp) ## 8-byte Spill
jmp LBB0_2
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_2 Depth=1
movl %r12d, -60(%rbp) ## 4-byte Spill
decq %rbx
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl %r14d, -80(%rbp) ## 4-byte Spill
movl %r15d, %eax
movl (%r13,%rbx,4), %r15d
movl %r15d, %r12d
xorl %eax, %r12d
cmpl %eax, %r15d
jne LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movl %esi, %eax
imull %ecx, %eax
jmp LBB0_6
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
movl %r12d, %edi
callq _BUILDIN_CTZ
movl %eax, %r14d
movl %r12d, %edi
callq _BUILDIN_CLZ
movq _FLOAT_BYTES@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movq _BITS_PER_BYTE@GOTPCREL(%rip), %rdx
movl (%rdx), %esi
cmpl %eax, %r14d
jle LBB0_5
## %bb.18: ## in Loop: Header=BB0_2 Depth=1
movl %r14d, %eax
cltd
idivl %esi
movl %ecx, %r14d
subl %eax, %r14d
xorl %eax, %eax
testl %r14d, %r14d
setg %al
subl %eax, %r14d
orl $8, %r14d
movq -72(%rbp), %r13 ## 8-byte Reload
testb $1, %bl
je LBB0_8
jmp LBB0_9
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
movq -72(%rbp), %r13 ## 8-byte Reload
LBB0_6: ## in Loop: Header=BB0_2 Depth=1
cltd
idivl %esi
movl %ecx, %r14d
subl %eax, %r14d
xorl %eax, %eax
testl %r14d, %r14d
setg %al
subl %eax, %r14d
testb $1, %bl
je LBB0_8
LBB0_9: ## in Loop: Header=BB0_2 Depth=1
movl %r12d, -76(%rbp) ## 4-byte Spill
movl $3, %edi
callq _INT8MASK
movl %eax, %r13d
movl -80(%rbp), %r12d ## 4-byte Reload
orl %r12d, %r13d
movl $3, %edi
callq _INT8MASK
## kill: def $eax killed $eax def $rax
andl %r14d, %eax
addl %r13d, %eax
movslq -44(%rbp), %rcx
addl %ecx, %eax
addl $3, %eax
cmpl -48(%rbp), %eax ## 4-byte Folded Reload
jg LBB0_19
## %bb.10: ## in Loop: Header=BB0_2 Depth=1
leal 1(%rcx), %eax
movl %r14d, %edx
shll $4, %edx
orl %r12d, %edx
movl %eax, -44(%rbp)
movq -56(%rbp), %r13 ## 8-byte Reload
movb %dl, (%r13,%rcx)
movl -60(%rbp), %edi ## 4-byte Reload
movl %r12d, %esi
movq %r13, %rdx
leaq -44(%rbp), %rcx
callq _encodeFloatValue
movl -76(%rbp), %edi ## 4-byte Reload
movl %r14d, %esi
movq %r13, %rdx
leaq -44(%rbp), %rcx
callq _encodeFloatValue
movq _FLOAT_BYTES@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _BITS_PER_BYTE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq -72(%rbp), %r13 ## 8-byte Reload
movl %r12d, %r14d
decq %rbx
jmp LBB0_2
LBB0_19:
movq -56(%rbp), %rdi ## 8-byte Reload
movb $1, (%rdi)
incq %rdi
movq -72(%rbp), %rsi ## 8-byte Reload
movq -88(%rbp), %rdx ## 8-byte Reload
## kill: def $edx killed $edx killed $rdx
callq _memcpy
jmp LBB0_17
LBB0_12:
testb $1, %sil
je LBB0_16
## %bb.13:
movl $3, %edi
callq _INT8MASK
movslq -44(%rbp), %rax
leal 2(%rax), %ecx
cmpl %ebx, %ecx
jle LBB0_15
## %bb.14:
movq -56(%rbp), %rdi ## 8-byte Reload
movb $1, (%rdi)
incq %rdi
movq %r13, %rsi
movl %ebx, %edx
callq _memcpy
jmp LBB0_17
LBB0_15:
leal 1(%rax), %ecx
movl %ecx, -44(%rbp)
movq -56(%rbp), %rbx ## 8-byte Reload
movb $0, (%rbx,%rax)
leaq -44(%rbp), %r14
xorl %edi, %edi
xorl %esi, %esi
movq %rbx, %rdx
movq %r14, %rcx
callq _encodeFloatValue
xorl %edi, %edi
xorl %esi, %esi
movq %rbx, %rdx
movq %r14, %rcx
callq _encodeFloatValue
LBB0_16:
movq -56(%rbp), %rax ## 8-byte Reload
movb $0, (%rax)
movl -44(%rbp), %eax
movl %eax, -48(%rbp) ## 4-byte Spill
LBB0_17:
movl -48(%rbp), %eax ## 4-byte Reload
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _FLOAT_BYTES,4,2 ## @FLOAT_BYTES
.comm _BITS_PER_BYTE,4,2 ## @BITS_PER_BYTE
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _tsCompressFloatImp ; -- Begin function tsCompressFloatImp
.p2align 2
_tsCompressFloatImp: ; @tsCompressFloatImp
.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, x2
mov x23, x0
Lloh0:
adrp x27, _FLOAT_BYTES@GOTPAGE
Lloh1:
ldr x27, [x27, _FLOAT_BYTES@GOTPAGEOFF]
ldr w8, [x27]
mul w20, w8, w1
add w9, w20, #1
str w9, [sp, #4] ; 4-byte Folded Spill
mov w9, #1 ; =0x1
str w9, [sp, #12]
cmp w1, #1
b.lt LBB0_12
; %bb.1:
str w20, [sp] ; 4-byte Folded Spill
mov x28, #0 ; =0x0
mov w10, #0 ; =0x0
str wzr, [sp, #8] ; 4-byte Folded Spill
mov w24, #0 ; =0x0
Lloh2:
adrp x22, _BITS_PER_BYTE@GOTPAGE
Lloh3:
ldr x22, [x22, _BITS_PER_BYTE@GOTPAGEOFF]
ldr w9, [x22]
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
mov x24, x26
str w25, [sp, #8] ; 4-byte Folded Spill
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
sub x28, x28, #1
mov x10, x20
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr w20, [x23, x28, lsl #2]
eor w25, w20, w10
cmp w20, w10
b.ne LBB0_6
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
mul w0, w9, w8
b LBB0_8
LBB0_6: ; in Loop: Header=BB0_4 Depth=1
mov x0, x25
bl _BUILDIN_CTZ
mov x26, x0
mov x0, x25
bl _BUILDIN_CLZ
ldr w8, [x27]
ldr w9, [x22]
cmp w26, w0
b.le LBB0_8
; %bb.7: ; in Loop: Header=BB0_4 Depth=1
sdiv w10, w26, w9
subs w10, w8, w10
cset w11, gt
sub w10, w10, w11
orr w26, w10, #0x8
tbz w28, #0, LBB0_2
b LBB0_9
LBB0_8: ; in Loop: Header=BB0_4 Depth=1
sdiv w10, w0, w9
subs w10, w8, w10
cset w11, gt
sub w26, w10, w11
tbz w28, #0, LBB0_2
LBB0_9: ; in Loop: Header=BB0_4 Depth=1
mov x21, x22
mov x22, x27
mov w0, #3 ; =0x3
bl _INT8MASK
orr w27, w0, w24
mov w0, #3 ; =0x3
bl _INT8MASK
and w10, w0, w26
ldrsw x8, [sp, #12]
add w9, w8, #1
add w11, w27, w9
add w10, w11, w10
add w10, w10, #2
ldr w11, [sp, #4] ; 4-byte Folded Reload
cmp w10, w11
b.gt LBB0_11
; %bb.10: ; in Loop: Header=BB0_4 Depth=1
orr w10, w24, w26, lsl #4
str w9, [sp, #12]
strb w10, [x19, x8]
add x3, sp, #12
ldr w0, [sp, #8] ; 4-byte Folded Reload
mov x1, x24
mov x2, x19
bl _encodeFloatValue
add x3, sp, #12
mov x0, x25
mov x1, x26
mov x2, x19
bl _encodeFloatValue
mov x27, x22
ldr w8, [x22]
mov x22, x21
ldr w9, [x21]
b LBB0_3
LBB0_11:
mov w8, #1 ; =0x1
strb w8, [x19], #1
mov x0, x19
mov x1, x23
ldr w2, [sp] ; 4-byte Folded Reload
bl _memcpy
b LBB0_17
LBB0_12:
tbz w1, #0, LBB0_16
; %bb.13:
mov w0, #3 ; =0x3
bl _INT8MASK
ldrsw x8, [sp, #12]
add w9, w8, #2
cmp w9, w20
b.le LBB0_15
; %bb.14:
mov w8, #1 ; =0x1
strb w8, [x19], #1
mov x0, x19
mov x1, x23
mov x2, x20
bl _memcpy
b LBB0_17
LBB0_15:
add w9, w8, #1
str w9, [sp, #12]
strb wzr, [x19, x8]
add x3, sp, #12
mov w0, #0 ; =0x0
mov w1, #0 ; =0x0
mov x2, x19
bl _encodeFloatValue
add x3, sp, #12
mov w0, #0 ; =0x0
mov w1, #0 ; =0x0
mov x2, x19
bl _encodeFloatValue
LBB0_16:
strb wzr, [x19]
ldr w8, [sp, #12]
str w8, [sp, #4] ; 4-byte Folded Spill
LBB0_17:
ldr w0, [sp, #4] ; 4-byte Folded Reload
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
.cfi_endproc
; -- End function
.comm _FLOAT_BYTES,4,2 ; @FLOAT_BYTES
.comm _BITS_PER_BYTE,4,2 ; @BITS_PER_BYTE
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function ext3_alloc_blocks
_ext3_alloc_blocks: ## @ext3_alloc_blocks
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %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 %r9, -48(%rbp) ## 8-byte Spill
movl %r8d, %r12d
movl %ecx, %ebx
movq %rdx, -56(%rbp) ## 8-byte Spill
subl %ecx, %r12d
xorl %r14d, %r14d
movq %rdi, -72(%rbp) ## 8-byte Spill
jmp LBB0_1
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movq %rcx, %r13
LBB0_10: ## in Loop: Header=BB0_1 Depth=1
subl %ecx, %r12d
testq %r13, %r13
movq %r15, %rsi
movq -72(%rbp), %rdi ## 8-byte Reload
jne LBB0_11
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_7 Depth 2
movslq %r12d, %rax
movq %rax, -64(%rbp)
movq %rsi, %r15
movq -56(%rbp), %rdx ## 8-byte Reload
leaq -64(%rbp), %rcx
movq 16(%rbp), %r13
movq %r13, %r8
callq _ext3_new_blocks
cmpl $0, (%r13)
jne LBB0_2
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
movq -64(%rbp), %rcx
cmpl %ebx, %r14d
setle %dl
testq %rcx, %rcx
setne %sil
andb %dl, %sil
cmpb $1, %sil
jne LBB0_5
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
leal -1(%r14), %edx
movslq %r14d, %rsi
movq -48(%rbp), %rdi ## 8-byte Reload
leaq (%rdi,%rsi,8), %rsi
leaq -1(%rcx), %r8
xorl %r9d, %r9d
.p2align 4, 0x90
LBB0_7: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
leaq (%rax,%r9), %r10
leaq 1(%r9), %rdi
movq %r10, (%rsi)
cmpl %ebx, %edx
jg LBB0_9
## %bb.8: ## in Loop: Header=BB0_7 Depth=2
addq $-8, %rsi
cmpq %r9, %r8
movq %rdi, %r9
jne LBB0_7
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
subl %edi, %r14d
movq %rcx, %r13
subq %rdi, %r13
movq %r13, -64(%rbp)
addq %rdi, %rax
jmp LBB0_10
LBB0_2:
testl %r14d, %r14d
jle LBB0_3
## %bb.12:
movl %r14d, %eax
movq %rax, -56(%rbp) ## 8-byte Spill
xorl %r13d, %r13d
xorl %r14d, %r14d
movq -48(%rbp), %r12 ## 8-byte Reload
movq -72(%rbp), %rbx ## 8-byte Reload
.p2align 4, 0x90
LBB0_13: ## =>This Inner Loop Header: Depth=1
movq (%r12,%r14,8), %rdx
movq %rbx, %rdi
movq %r15, %rsi
movl $1, %ecx
callq _ext3_free_blocks
incq %r14
cmpq %r14, -56(%rbp) ## 8-byte Folded Reload
jne LBB0_13
jmp LBB0_14
LBB0_11:
movslq %r14d, %rcx
movq -48(%rbp), %rdx ## 8-byte Reload
movq %rax, (%rdx,%rcx,8)
movq 16(%rbp), %rax
movl $0, (%rax)
jmp LBB0_14
LBB0_3:
xorl %r13d, %r13d
LBB0_14:
movl %r13d, %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _ext3_alloc_blocks
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function ext3_alloc_blocks
_ext3_alloc_blocks: ; @ext3_alloc_blocks
.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 x22, x6
mov x19, x5
mov x23, x3
mov x24, x2
mov x20, x1
mov x21, x0
mov w25, #0 ; =0x0
sub w26, w4, w3
b LBB0_2
LBB0_1: ; in Loop: Header=BB0_2 Depth=1
mov x8, x9
sub w26, w26, w9
cbnz x8, LBB0_9
LBB0_2: ; =>This Loop Header: Depth=1
; Child Loop BB0_6 Depth 2
sxtw x8, w26
str x8, [sp, #8]
add x3, sp, #8
mov x0, x21
mov x1, x20
mov x2, x24
mov x4, x22
bl _ext3_new_blocks
ldr w8, [x22]
cbnz w8, LBB0_10
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
ldr x9, [sp, #8]
cmp w25, w23
b.gt LBB0_1
; %bb.4: ; in Loop: Header=BB0_2 Depth=1
cbz x9, LBB0_1
; %bb.5: ; in Loop: Header=BB0_2 Depth=1
sub w10, w25, #1
add x11, x19, w25, sxtw #3
mov x12, x9
LBB0_6: ; Parent Loop BB0_2 Depth=1
; => This Inner Loop Header: Depth=2
str x0, [x11], #-8
add x0, x0, #1
sub x8, x12, #1
sub w25, w25, #1
cmp w10, w23
b.gt LBB0_8
; %bb.7: ; in Loop: Header=BB0_6 Depth=2
cmp x12, #1
mov x12, x8
b.ne LBB0_6
LBB0_8: ; in Loop: Header=BB0_2 Depth=1
str x8, [sp, #8]
sub w26, w26, w9
cbz x8, LBB0_2
LBB0_9:
str x0, [x19, w25, sxtw #3]
str wzr, [x22]
b LBB0_14
LBB0_10:
cmp w25, #1
b.lt LBB0_13
; %bb.11:
mov w22, w25
LBB0_12: ; =>This Inner Loop Header: Depth=1
ldr x2, [x19], #8
mov x0, x21
mov x1, x20
mov w3, #1 ; =0x1
bl _ext3_free_blocks
subs x22, x22, #1
b.ne LBB0_12
LBB0_13:
mov w8, #0 ; =0x0
LBB0_14:
mov x0, x8
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
.cfi_endproc
; -- End function
.no_dead_strip _ext3_alloc_blocks
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _UIShowText ## -- Begin function UIShowText
.p2align 4, 0x90
_UIShowText: ## @UIShowText
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movq _tmp_text_lines@GOTPCREL(%rip), %r14
movq (%r14), %rdi
leaq L_.str(%rip), %rsi
callq _strcpy
movq _DATA_PTRS_BANK@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _string_bank_ptrs@GOTPCREL(%rip), %rax
shlq $2, %rbx
addq (%rax), %rbx
leaq -48(%rbp), %rsi
movq %rbx, %rdx
callq _ReadBankedBankPtr
movq _bank_data_ptrs@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -48(%rbp), %rdi
movq -40(%rbp), %rbx
addq (%rax,%rdi,8), %rbx
callq _PUSH_BANK
movq (%r14), %rdi
movq %rbx, %rsi
callq _strcat
movl $1, %edi
xorl %eax, %eax
movq _script_variables@GOTPCREL(%rip), %rdx
movq _text_lines@GOTPCREL(%rip), %rcx
jmp LBB0_1
.p2align 4, 0x90
LBB0_19: ## in Loop: Header=BB0_1 Depth=1
movq (%rcx), %rsi
movslq %eax, %r8
movb %r9b, (%rsi,%r8)
LBB0_20: ## in Loop: Header=BB0_1 Depth=1
incl %eax
leal 1(%rdi), %esi
cmpl $81, %edi
movl %esi, %edi
jge LBB0_21
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_8 Depth 2
## Child Loop BB0_12 Depth 2
## Child Loop BB0_15 Depth 2
movq (%r14), %r8
movslq %edi, %rsi
movzbl (%r8,%rsi), %r9d
cmpb $36, %r9b
jne LBB0_19
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movsbq 3(%r8,%rsi), %rdi
cmpq $36, %rdi
jne LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movsbq 1(%r8,%rsi), %rdi
leaq (%rdi,%rdi,4), %rdi
movsbq 2(%r8,%rsi), %r8
leaq (%r8,%rdi,2), %rdi
addq $-528, %rdi ## imm = 0xFDF0
jmp LBB0_6
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
cmpb $36, 4(%r8,%rsi)
jne LBB0_25
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
movsbq 1(%r8,%rsi), %r9
imulq $100, %r9, %r9
movsbq 2(%r8,%rsi), %r8
leaq (%r8,%r8,4), %r8
addq %r9, %rdi
leaq (%rdi,%r8,2), %rdi
addq $-5328, %rdi ## imm = 0xEB30
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movq (%rdx), %r8
movl (%r8,%rdi,4), %r9d
testl %r9d, %r9d
je LBB0_26
## %bb.7: ## in Loop: Header=BB0_1 Depth=1
movb $1, %bl
xorl %r8d, %r8d
.p2align 4, 0x90
LBB0_8: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl %ebx, %r10d
movslq %r9d, %r11
imulq $1717986919, %r11, %r9 ## imm = 0x66666667
movq %r9, %rbx
shrq $63, %rbx
sarq $34, %r9
addl %ebx, %r9d
leal (%r9,%r9), %ebx
leal (%rbx,%rbx,4), %ebx
movl %r11d, %r15d
subl %ebx, %r15d
addb $48, %r15b
movb %r15b, -30(%rbp,%r8)
incq %r8
addl $9, %r11d
leal 1(%r10), %ebx
cmpl $19, %r11d
jae LBB0_8
## %bb.9: ## in Loop: Header=BB0_1 Depth=1
cmpq $256, %r8 ## imm = 0x100
je LBB0_17
## %bb.10: ## in Loop: Header=BB0_1 Depth=1
leaq -1(%r8), %r9
cltq
testb $3, %r8b
je LBB0_13
## %bb.11: ## in Loop: Header=BB0_1 Depth=1
movzbl %r10b, %r10d
andl $3, %r10d
.p2align 4, 0x90
LBB0_12: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movzbl -30(%rbp,%r9), %r11d
movq (%rcx), %rbx
movb %r11b, (%rbx,%rax)
incq %rax
decq %r9
decq %r10
jne LBB0_12
LBB0_13: ## in Loop: Header=BB0_1 Depth=1
addq $-257, %r8 ## imm = 0xFEFF
cmpq $3, %r8
jb LBB0_17
## %bb.14: ## in Loop: Header=BB0_1 Depth=1
leaq (%r9,%rbp), %r8
addq $-30, %r8
addq $-255, %r9
xorl %r10d, %r10d
.p2align 4, 0x90
LBB0_15: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movzbl (%r8), %r11d
movq (%rcx), %rbx
addq %rax, %rbx
movb %r11b, (%r10,%rbx)
movzbl -1(%r8), %r11d
movq (%rcx), %rbx
addq %rax, %rbx
movb %r11b, 1(%r10,%rbx)
movzbl -2(%r8), %r11d
movq (%rcx), %rbx
addq %rax, %rbx
movb %r11b, 2(%r10,%rbx)
movzbl -3(%r8), %r11d
movq (%rcx), %rbx
addq %rax, %rbx
movb %r11b, 3(%r10,%rbx)
addq $4, %r10
addq $-4, %r8
cmpq %r10, %r9
jne LBB0_15
## %bb.16: ## in Loop: Header=BB0_1 Depth=1
addq %r10, %rax
LBB0_17: ## in Loop: Header=BB0_1 Depth=1
decl %eax
jmp LBB0_18
LBB0_26: ## in Loop: Header=BB0_1 Depth=1
movq (%rcx), %r8
movslq %eax, %r9
movb $48, (%r8,%r9)
LBB0_18: ## in Loop: Header=BB0_1 Depth=1
leaq 3(%rsi), %r8
addl $4, %esi
cmpq $100, %rdi
cmovbl %r8d, %esi
movl %esi, %edi
jmp LBB0_20
LBB0_25:
movq (%rcx), %rcx
cltq
movb $36, (%rcx,%rax)
LBB0_21:
movq _menu_layout@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
movq (%r14), %rax
movsbl (%rax), %ecx
je LBB0_23
## %bb.22:
movq _text_num_lines@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
xorl %edi, %edi
xorl %esi, %esi
movl $8, %edx
callq _UIDrawFrame
movq _MENU_LAYOUT_INITIAL_X@GOTPCREL(%rip), %rbx
movl (%rbx), %edi
movq _MENU_CLOSED_Y@GOTPCREL(%rip), %rax
movq (%rax), %rsi
callq _UISetPos
movl (%rbx), %ebx
jmp LBB0_24
LBB0_23:
movl %ecx, %edi
movl $4, %esi
callq _MIN
movq _text_num_lines@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movl %eax, %edi
callq _UIDrawDialogueFrame
movq _MENU_CLOSED_Y@GOTPCREL(%rip), %rax
movq (%rax), %rsi
xorl %ebx, %ebx
xorl %edi, %edi
callq _UISetPos
LBB0_24:
movq _MENU_CLOSED_Y@GOTPCREL(%rip), %rax
movq (%rax), %rsi
movq _text_num_lines@GOTPCREL(%rip), %rax
movl (%rax), %eax
leal 16(,%rax,8), %eax
cltq
subq %rax, %rsi
movq _text_in_speed@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl %ebx, %edi
callq _UIMoveTo
movq _FALSE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _text_drawn@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movq _text_x@GOTPCREL(%rip), %rax
movq $0, (%rax)
movq _text_y@GOTPCREL(%rip), %rax
movq $0, (%rax)
movq _text_count@GOTPCREL(%rip), %rax
movq $0, (%rax)
movq _text_tile_count@GOTPCREL(%rip), %rax
movq $0, (%rax)
addq $24, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _tmp_text_lines,8,3 ## @tmp_text_lines
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.space 1
.comm _DATA_PTRS_BANK,4,2 ## @DATA_PTRS_BANK
.comm _string_bank_ptrs,8,3 ## @string_bank_ptrs
.comm _bank_data_ptrs,8,3 ## @bank_data_ptrs
.comm _POP_BANK,4,2 ## @POP_BANK
.comm _text_lines,8,3 ## @text_lines
.comm _script_variables,8,3 ## @script_variables
.comm _menu_layout,8,3 ## @menu_layout
.comm _text_num_lines,4,2 ## @text_num_lines
.comm _MENU_LAYOUT_INITIAL_X,4,2 ## @MENU_LAYOUT_INITIAL_X
.comm _MENU_CLOSED_Y,8,3 ## @MENU_CLOSED_Y
.comm _text_in_speed,4,2 ## @text_in_speed
.comm _FALSE,4,2 ## @FALSE
.comm _text_drawn,4,2 ## @text_drawn
.comm _text_x,8,3 ## @text_x
.comm _text_y,8,3 ## @text_y
.comm _text_count,8,3 ## @text_count
.comm _text_tile_count,8,3 ## @text_tile_count
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _UIShowText ; -- Begin function UIShowText
.p2align 2
_UIShowText: ; @UIShowText
.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, x0
Lloh0:
adrp x20, _tmp_text_lines@GOTPAGE
Lloh1:
ldr x20, [x20, _tmp_text_lines@GOTPAGEOFF]
ldr x0, [x20]
Lloh2:
adrp x1, l_.str@PAGE
Lloh3:
add x1, x1, l_.str@PAGEOFF
bl _strcpy
Lloh4:
adrp x8, _DATA_PTRS_BANK@GOTPAGE
Lloh5:
ldr x8, [x8, _DATA_PTRS_BANK@GOTPAGEOFF]
Lloh6:
ldr w0, [x8]
Lloh7:
adrp x8, _string_bank_ptrs@GOTPAGE
Lloh8:
ldr x8, [x8, _string_bank_ptrs@GOTPAGEOFF]
Lloh9:
ldr x8, [x8]
add x2, x8, x19, lsl #2
add x1, sp, #16
bl _ReadBankedBankPtr
Lloh10:
adrp x8, _bank_data_ptrs@GOTPAGE
Lloh11:
ldr x8, [x8, _bank_data_ptrs@GOTPAGEOFF]
Lloh12:
ldr x8, [x8]
ldp x0, x19, [sp, #16]
ldr x21, [x8, x0, lsl #3]
bl _PUSH_BANK
ldr x0, [x20]
add x1, x19, x21
bl _strcat
mov w17, #0 ; =0x0
mov w8, #1 ; =0x1
Lloh13:
adrp x10, _script_variables@GOTPAGE
Lloh14:
ldr x10, [x10, _script_variables@GOTPAGEOFF]
Lloh15:
adrp x9, _text_lines@GOTPAGE
Lloh16:
ldr x9, [x9, _text_lines@GOTPAGEOFF]
mov w11, #10 ; =0xa
mov w12, #48 ; =0x30
mov w13, #26215 ; =0x6667
movk w13, #26214, lsl #16
add x14, sp, #10
mov w15, #100 ; =0x64
mov x16, #-5328 ; =0xffffffffffffeb30
b LBB0_3
LBB0_1: ; in Loop: Header=BB0_3 Depth=1
ldr x0, [x9]
strb w3, [x0, w17, sxtw]
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add w17, w17, #1
add w0, w8, #1
cmp w8, #81
mov x8, x0
b.ge LBB0_19
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_10 Depth 2
; Child Loop BB0_13 Depth 2
ldr x2, [x20]
sxtw x0, w8
add x1, x2, x0
ldrb w3, [x1]
cmp w3, #36
b.ne LBB0_1
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
add x0, x0, #3
ldrsb x2, [x2, x0]
cmp x2, #36
b.ne LBB0_6
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
ldrsb x2, [x1, #1]
ldrsb x1, [x1, #2]
smaddl x1, w2, w11, x1
sub x1, x1, #528
b LBB0_8
LBB0_6: ; in Loop: Header=BB0_3 Depth=1
ldrb w3, [x1, #4]
cmp w3, #36
b.ne LBB0_18
; %bb.7: ; in Loop: Header=BB0_3 Depth=1
ldrsb x3, [x1, #1]
ldrsb x1, [x1, #2]
smaddl x2, w3, w15, x2
smaddl x1, w1, w11, x2
add x1, x1, x16
LBB0_8: ; in Loop: Header=BB0_3 Depth=1
ldr x2, [x10]
ldr w2, [x2, x1, lsl #2]
cbz w2, LBB0_16
; %bb.9: ; in Loop: Header=BB0_3 Depth=1
mov x3, #0 ; =0x0
LBB0_10: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
smull x4, w2, w13
lsr x5, x4, #63
asr x4, x4, #34
add w5, w4, w5
msub w4, w5, w11, w2
add w6, w4, #48
add x4, x3, #1
strb w6, [x14, x3]
add w6, w2, #9
mov x3, x4
mov x2, x5
cmp w6, #19
b.hs LBB0_10
; %bb.11: ; in Loop: Header=BB0_3 Depth=1
cmp x4, #256
b.eq LBB0_15
; %bb.12: ; in Loop: Header=BB0_3 Depth=1
sub x2, x4, #1
sxtw x17, w17
LBB0_13: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w3, [x14, x2]
ldr x4, [x9]
strb w3, [x4, x17]
add x17, x17, #1
sub x2, x2, #1
cmp x2, #255
b.ne LBB0_13
; %bb.14: ; in Loop: Header=BB0_3 Depth=1
; kill: def $w17 killed $w17 killed $x17 def $x17
LBB0_15: ; in Loop: Header=BB0_3 Depth=1
sub w17, w17, #1
b LBB0_17
LBB0_16: ; in Loop: Header=BB0_3 Depth=1
ldr x2, [x9]
strb w12, [x2, w17, sxtw]
LBB0_17: ; in Loop: Header=BB0_3 Depth=1
add w8, w8, #4
cmp x1, #99
csel w8, w8, w0, hi
b LBB0_2
LBB0_18:
ldr x8, [x9]
mov w9, #36 ; =0x24
strb w9, [x8, w17, sxtw]
LBB0_19:
Lloh17:
adrp x8, _menu_layout@GOTPAGE
Lloh18:
ldr x8, [x8, _menu_layout@GOTPAGEOFF]
Lloh19:
ldr x8, [x8]
ldr x9, [x20]
ldrsb w3, [x9]
Lloh20:
adrp x19, _MENU_CLOSED_Y@GOTPAGE
Lloh21:
ldr x19, [x19, _MENU_CLOSED_Y@GOTPAGEOFF]
Lloh22:
adrp x20, _text_num_lines@GOTPAGE
Lloh23:
ldr x20, [x20, _text_num_lines@GOTPAGEOFF]
cbz x8, LBB0_21
; %bb.20:
str w3, [x20]
mov w0, #0 ; =0x0
mov w1, #0 ; =0x0
mov w2, #8 ; =0x8
bl _UIDrawFrame
Lloh24:
adrp x21, _MENU_LAYOUT_INITIAL_X@GOTPAGE
Lloh25:
ldr x21, [x21, _MENU_LAYOUT_INITIAL_X@GOTPAGEOFF]
ldr w0, [x21]
ldr x1, [x19]
bl _UISetPos
ldr w0, [x21]
b LBB0_22
LBB0_21:
mov x0, x3
mov w1, #4 ; =0x4
bl _MIN
str w0, [x20]
bl _UIDrawDialogueFrame
ldr x1, [x19]
mov w0, #0 ; =0x0
bl _UISetPos
mov w0, #0 ; =0x0
LBB0_22:
ldr x8, [x19]
ldr w9, [x20]
lsl w9, w9, #3
add w9, w9, #16
sub x1, x8, w9, sxtw
Lloh26:
adrp x8, _text_in_speed@GOTPAGE
Lloh27:
ldr x8, [x8, _text_in_speed@GOTPAGEOFF]
Lloh28:
ldr w2, [x8]
bl _UIMoveTo
Lloh29:
adrp x8, _FALSE@GOTPAGE
Lloh30:
ldr x8, [x8, _FALSE@GOTPAGEOFF]
Lloh31:
ldr w8, [x8]
Lloh32:
adrp x9, _text_drawn@GOTPAGE
Lloh33:
ldr x9, [x9, _text_drawn@GOTPAGEOFF]
Lloh34:
str w8, [x9]
Lloh35:
adrp x8, _text_x@GOTPAGE
Lloh36:
ldr x8, [x8, _text_x@GOTPAGEOFF]
Lloh37:
str xzr, [x8]
Lloh38:
adrp x8, _text_y@GOTPAGE
Lloh39:
ldr x8, [x8, _text_y@GOTPAGEOFF]
Lloh40:
str xzr, [x8]
Lloh41:
adrp x8, _text_count@GOTPAGE
Lloh42:
ldr x8, [x8, _text_count@GOTPAGEOFF]
Lloh43:
str xzr, [x8]
Lloh44:
adrp x8, _text_tile_count@GOTPAGE
Lloh45:
ldr x8, [x8, _text_tile_count@GOTPAGEOFF]
Lloh46:
str xzr, [x8]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh22, Lloh23
.loh AdrpLdrGot Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGot Lloh24, Lloh25
.loh AdrpLdrGotStr Lloh44, Lloh45, Lloh46
.loh AdrpLdrGotStr Lloh41, Lloh42, Lloh43
.loh AdrpLdrGotStr Lloh38, Lloh39, Lloh40
.loh AdrpLdrGotStr Lloh35, Lloh36, Lloh37
.loh AdrpLdrGotStr Lloh32, Lloh33, Lloh34
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.cfi_endproc
; -- End function
.comm _tmp_text_lines,8,3 ; @tmp_text_lines
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.space 1
.comm _DATA_PTRS_BANK,4,2 ; @DATA_PTRS_BANK
.comm _string_bank_ptrs,8,3 ; @string_bank_ptrs
.comm _bank_data_ptrs,8,3 ; @bank_data_ptrs
.comm _POP_BANK,4,2 ; @POP_BANK
.comm _text_lines,8,3 ; @text_lines
.comm _script_variables,8,3 ; @script_variables
.comm _menu_layout,8,3 ; @menu_layout
.comm _text_num_lines,4,2 ; @text_num_lines
.comm _MENU_LAYOUT_INITIAL_X,4,2 ; @MENU_LAYOUT_INITIAL_X
.comm _MENU_CLOSED_Y,8,3 ; @MENU_CLOSED_Y
.comm _text_in_speed,4,2 ; @text_in_speed
.comm _FALSE,4,2 ; @FALSE
.comm _text_drawn,4,2 ; @text_drawn
.comm _text_x,8,3 ; @text_x
.comm _text_y,8,3 ; @text_y
.comm _text_count,8,3 ; @text_count
.comm _text_tile_count,8,3 ; @text_tile_count
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function initio_msgin_extend
_initio_msgin_extend: ## @initio_msgin_extend
.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
callq _initio_msgin_accept
movq _MSG_IN@GOTPCREL(%rip), %r13
cmpq (%r13), %rax
jne LBB0_1
## %bb.3:
movq _TUL_SCnt0@GOTPCREL(%rip), %rax
movq (%rax), %rsi
addq 16(%rbx), %rsi
movl $1, %edi
callq _outl
movq _TSC_XF_FIFO_IN@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _TUL_SCmd@GOTPCREL(%rip), %rax
movq (%rax), %rsi
addq 16(%rbx), %rsi
callq _outb
movq %rbx, %rdi
callq _wait_tulip
movl $-1, %r14d
cmpl $-1, %eax
je LBB0_2
## %bb.4:
movq _TUL_SFifo@GOTPCREL(%rip), %rax
movq (%rax), %rdi
addq 16(%rbx), %rdi
callq _inb
movq 8(%rbx), %rcx
movl %eax, (%rcx)
testl %eax, %eax
je LBB0_9
## %bb.5:
movslq %eax, %r15
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
callq _initio_msgin_accept
cmpq (%r13), %rax
jne LBB0_1
## %bb.7: ## in Loop: Header=BB0_6 Depth=1
movq _TUL_SCnt0@GOTPCREL(%rip), %rax
movq (%rax), %rsi
addq 16(%rbx), %rsi
movl $1, %edi
callq _outl
movq _TSC_XF_FIFO_IN@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _TUL_SCmd@GOTPCREL(%rip), %rax
movq (%rax), %rsi
addq 16(%rbx), %rsi
callq _outb
movq %rbx, %rdi
callq _wait_tulip
cmpl $-1, %eax
je LBB0_2
## %bb.8: ## in Loop: Header=BB0_6 Depth=1
movq _TUL_SFifo@GOTPCREL(%rip), %rax
movq (%rax), %rdi
addq 16(%rbx), %rdi
callq _inb
movq 8(%rbx), %rcx
movl %eax, 4(%rcx,%r12,4)
incq %r12
cmpq %r12, %r15
jne LBB0_6
LBB0_9:
movl (%rcx), %eax
movl 4(%rcx), %edx
cmpl $1, %edx
jne LBB0_18
## %bb.10:
cmpl $3, %eax
jne LBB0_28
## %bb.11:
movq 24(%rbx), %rax
movq _TCF_NO_SYNC_NEGO@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
orl (%rax), %edx
je LBB0_15
## %bb.12:
movl $0, 12(%rcx)
LBB0_13:
movq _TUL_SSignal@GOTPCREL(%rip), %r14
movq (%r14), %rdi
addq 16(%rbx), %rdi
callq _inb
movq _TSC_SET_ACK@GOTPCREL(%rip), %rcx
movl (%rcx), %edi
orl $7, %edi
andl %eax, %edi
movq _TSC_SET_ATN@GOTPCREL(%rip), %rax
orl (%rax), %edi
movq (%r14), %rsi
addq 16(%rbx), %rsi
callq _outb
movq %rbx, %rdi
callq _initio_msgin_accept
movq _MSG_OUT@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_1
## %bb.14:
movq _TSC_FLUSH_FIFO@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _TUL_SCtrl0@GOTPCREL(%rip), %rax
movq (%rax), %rsi
addq 16(%rbx), %rsi
callq _outb
movq %rbx, %rdi
callq _initio_sync_done
movq _MSG_EXTEND@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _TUL_SFifo@GOTPCREL(%rip), %r14
movq (%r14), %rsi
addq 16(%rbx), %rsi
callq _outb
movq (%r14), %rsi
addq 16(%rbx), %rsi
movl $3, %edi
callq _outb
movq (%r14), %rsi
addq 16(%rbx), %rsi
movl $1, %edi
callq _outb
movq 8(%rbx), %rax
movl 8(%rax), %edi
movq (%r14), %rsi
addq 16(%rbx), %rsi
callq _outb
movq 8(%rbx), %rax
movl 12(%rax), %edi
jmp LBB0_27
LBB0_18:
xorl $2, %eax
xorl $3, %edx
orl %eax, %edx
jne LBB0_28
## %bb.19:
movq 24(%rbx), %rdx
movq _TCF_NO_WDTR@GOTPCREL(%rip), %rax
movl (%rax), %esi
xorl %eax, %eax
testl %esi, (%rdx)
je LBB0_20
LBB0_25:
movl %eax, 8(%rcx)
movq _TUL_SSignal@GOTPCREL(%rip), %r14
movq (%r14), %rdi
addq 16(%rbx), %rdi
callq _inb
movq _TSC_SET_ACK@GOTPCREL(%rip), %rcx
movl (%rcx), %edi
orl $7, %edi
andl %eax, %edi
movq _TSC_SET_ATN@GOTPCREL(%rip), %rax
orl (%rax), %edi
movq (%r14), %rsi
addq 16(%rbx), %rsi
callq _outb
movq %rbx, %rdi
callq _initio_msgin_accept
movq _MSG_OUT@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_1
## %bb.26:
movq _MSG_EXTEND@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _TUL_SFifo@GOTPCREL(%rip), %r14
movq (%r14), %rsi
addq 16(%rbx), %rsi
callq _outb
movq (%r14), %rsi
addq 16(%rbx), %rsi
movl $2, %edi
callq _outb
movq (%r14), %rsi
addq 16(%rbx), %rsi
movl $3, %edi
callq _outb
movq 8(%rbx), %rax
movl 8(%rax), %edi
LBB0_27:
movq (%r14), %rsi
addq 16(%rbx), %rsi
callq _outb
movq _TSC_XF_FIFO_OUT@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _TUL_SCmd@GOTPCREL(%rip), %rax
movq (%rax), %rsi
addq 16(%rbx), %rsi
callq _outb
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _wait_tulip ## TAILCALL
LBB0_1:
movl (%rbx), %r14d
LBB0_2:
movl %r14d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_15:
movq %rbx, %rdi
callq _initio_msgin_sync
testq %rax, %rax
je LBB0_17
## %bb.16:
movq 24(%rbx), %rax
movq _TCF_SYNC_DONE@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
testl %ecx, (%rax)
je LBB0_13
LBB0_17:
movq %rbx, %rdi
callq _initio_sync_done
LBB0_24:
movq %rbx, %rdi
callq _initio_msgin_accept
movq %rax, %r14
jmp LBB0_2
LBB0_20:
movl 8(%rcx), %edx
cmpl $3, %edx
jl LBB0_21
LBB0_28:
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _initio_msgout_reject ## TAILCALL
LBB0_21:
movl $1, %eax
cmpl $2, %edx
je LBB0_25
## %bb.22:
movq %rbx, %rdi
callq _wdtr_done
movq 24(%rbx), %rax
movq _TCF_SYNC_DONE@GOTPCREL(%rip), %rcx
movq _TCF_NO_SYNC_NEGO@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
orl (%rcx), %edx
testl %edx, (%rax)
jne LBB0_24
## %bb.23:
movq _TUL_SSignal@GOTPCREL(%rip), %r14
movq (%r14), %rdi
addq 16(%rbx), %rdi
callq _inb
movq _TSC_SET_ACK@GOTPCREL(%rip), %rcx
movl (%rcx), %edi
orl $7, %edi
andl %eax, %edi
movq _TSC_SET_ATN@GOTPCREL(%rip), %rax
orl (%rax), %edi
movq (%r14), %rsi
addq 16(%rbx), %rsi
callq _outb
jmp LBB0_24
.cfi_endproc
## -- End function
.comm _MSG_IN,8,3 ## @MSG_IN
.comm _TUL_SCnt0,8,3 ## @TUL_SCnt0
.comm _TSC_XF_FIFO_IN,4,2 ## @TSC_XF_FIFO_IN
.comm _TUL_SCmd,8,3 ## @TUL_SCmd
.comm _TUL_SFifo,8,3 ## @TUL_SFifo
.comm _TCF_NO_SYNC_NEGO,4,2 ## @TCF_NO_SYNC_NEGO
.comm _TCF_SYNC_DONE,4,2 ## @TCF_SYNC_DONE
.comm _TUL_SSignal,8,3 ## @TUL_SSignal
.comm _TSC_SET_ACK,4,2 ## @TSC_SET_ACK
.comm _TSC_SET_ATN,8,3 ## @TSC_SET_ATN
.comm _MSG_OUT,8,3 ## @MSG_OUT
.comm _TSC_FLUSH_FIFO,4,2 ## @TSC_FLUSH_FIFO
.comm _TUL_SCtrl0,8,3 ## @TUL_SCtrl0
.comm _MSG_EXTEND,4,2 ## @MSG_EXTEND
.comm _TSC_XF_FIFO_OUT,4,2 ## @TSC_XF_FIFO_OUT
.comm _TCF_NO_WDTR,4,2 ## @TCF_NO_WDTR
.no_dead_strip _initio_msgin_extend
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function initio_msgin_extend
_initio_msgin_extend: ; @initio_msgin_extend
.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
bl _initio_msgin_accept
Lloh0:
adrp x22, _MSG_IN@GOTPAGE
Lloh1:
ldr x22, [x22, _MSG_IN@GOTPAGEOFF]
ldr x8, [x22]
cmp x0, x8
b.ne LBB0_21
; %bb.1:
ldr x8, [x19, #16]
Lloh2:
adrp x23, _TUL_SCnt0@GOTPAGE
Lloh3:
ldr x23, [x23, _TUL_SCnt0@GOTPAGEOFF]
ldr x9, [x23]
add x1, x9, x8
mov w0, #1 ; =0x1
bl _outl
Lloh4:
adrp x24, _TSC_XF_FIFO_IN@GOTPAGE
Lloh5:
ldr x24, [x24, _TSC_XF_FIFO_IN@GOTPAGEOFF]
ldr w0, [x24]
ldr x8, [x19, #16]
Lloh6:
adrp x20, _TUL_SCmd@GOTPAGE
Lloh7:
ldr x20, [x20, _TUL_SCmd@GOTPAGEOFF]
ldr x9, [x20]
add x1, x9, x8
bl _outb
mov x0, x19
bl _wait_tulip
cmn w0, #1
b.eq LBB0_13
; %bb.2:
ldr x8, [x19, #16]
Lloh8:
adrp x21, _TUL_SFifo@GOTPAGE
Lloh9:
ldr x21, [x21, _TUL_SFifo@GOTPAGEOFF]
ldr x9, [x21]
add x0, x9, x8
bl _inb
; kill: def $w0 killed $w0 def $x0
ldr x8, [x19, #8]
str w0, [x8]
cbz w0, LBB0_7
; %bb.3:
sxtw x25, w0
mov w26, #4 ; =0x4
LBB0_4: ; =>This Inner Loop Header: Depth=1
mov x0, x19
bl _initio_msgin_accept
ldr x8, [x22]
cmp x0, x8
b.ne LBB0_21
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x19, #16]
ldr x9, [x23]
add x1, x9, x8
mov w0, #1 ; =0x1
bl _outl
ldr w0, [x24]
ldr x8, [x19, #16]
ldr x9, [x20]
add x1, x9, x8
bl _outb
mov x0, x19
bl _wait_tulip
cmn w0, #1
b.eq LBB0_13
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x19, #16]
ldr x9, [x21]
add x0, x9, x8
bl _inb
ldr x8, [x19, #8]
str w0, [x8, x26]
add x26, x26, #4
subs x25, x25, #1
b.ne LBB0_4
LBB0_7:
ldp w9, w10, [x8]
cmp w10, #1
b.ne LBB0_14
; %bb.8:
cmp w9, #3
b.ne LBB0_15
; %bb.9:
ldr x9, [x19, #24]
ldr w9, [x9]
Lloh10:
adrp x10, _TCF_NO_SYNC_NEGO@GOTPAGE
Lloh11:
ldr x10, [x10, _TCF_NO_SYNC_NEGO@GOTPAGEOFF]
Lloh12:
ldr w10, [x10]
orr w9, w10, w9
cbz w9, LBB0_23
; %bb.10:
str wzr, [x8, #12]
LBB0_11:
ldr x8, [x19, #16]
Lloh13:
adrp x22, _TUL_SSignal@GOTPAGE
Lloh14:
ldr x22, [x22, _TUL_SSignal@GOTPAGEOFF]
ldr x9, [x22]
add x0, x9, x8
bl _inb
Lloh15:
adrp x8, _TSC_SET_ACK@GOTPAGE
Lloh16:
ldr x8, [x8, _TSC_SET_ACK@GOTPAGEOFF]
Lloh17:
ldr w8, [x8]
orr w8, w8, #0x7
and w8, w8, w0
Lloh18:
adrp x9, _TSC_SET_ATN@GOTPAGE
Lloh19:
ldr x9, [x9, _TSC_SET_ATN@GOTPAGEOFF]
Lloh20:
ldr w9, [x9]
ldr x10, [x19, #16]
ldr x11, [x22]
orr w0, w8, w9
add x1, x11, x10
bl _outb
mov x0, x19
bl _initio_msgin_accept
Lloh21:
adrp x8, _MSG_OUT@GOTPAGE
Lloh22:
ldr x8, [x8, _MSG_OUT@GOTPAGEOFF]
Lloh23:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_21
; %bb.12:
Lloh24:
adrp x8, _TSC_FLUSH_FIFO@GOTPAGE
Lloh25:
ldr x8, [x8, _TSC_FLUSH_FIFO@GOTPAGEOFF]
Lloh26:
ldr w0, [x8]
ldr x8, [x19, #16]
Lloh27:
adrp x9, _TUL_SCtrl0@GOTPAGE
Lloh28:
ldr x9, [x9, _TUL_SCtrl0@GOTPAGEOFF]
Lloh29:
ldr x9, [x9]
add x1, x9, x8
bl _outb
mov x0, x19
bl _initio_sync_done
Lloh30:
adrp x8, _MSG_EXTEND@GOTPAGE
Lloh31:
ldr x8, [x8, _MSG_EXTEND@GOTPAGEOFF]
Lloh32:
ldr w0, [x8]
ldr x8, [x19, #16]
ldr x9, [x21]
add x1, x9, x8
bl _outb
ldr x8, [x19, #16]
ldr x9, [x21]
add x1, x9, x8
mov w0, #3 ; =0x3
bl _outb
ldr x8, [x19, #16]
ldr x9, [x21]
add x1, x9, x8
mov w0, #1 ; =0x1
bl _outb
ldp x8, x9, [x19, #8]
ldr w0, [x8, #8]
ldr x8, [x21]
add x1, x8, x9
bl _outb
ldp x8, x9, [x19, #8]
ldr w0, [x8, #12]
b LBB0_20
LBB0_13:
mov w0, #-1 ; =0xffffffff
b LBB0_22
LBB0_14:
cmp w10, #3
ccmp w9, #2, #0, eq
b.eq LBB0_16
LBB0_15:
mov x0, x19
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
b _initio_msgout_reject
LBB0_16:
ldr x9, [x19, #24]
ldr w9, [x9]
Lloh33:
adrp x10, _TCF_NO_WDTR@GOTPAGE
Lloh34:
ldr x10, [x10, _TCF_NO_WDTR@GOTPAGEOFF]
Lloh35:
ldr w10, [x10]
tst w10, w9
b.eq LBB0_27
; %bb.17:
mov w9, #0 ; =0x0
LBB0_18:
str w9, [x8, #8]
ldr x8, [x19, #16]
Lloh36:
adrp x22, _TUL_SSignal@GOTPAGE
Lloh37:
ldr x22, [x22, _TUL_SSignal@GOTPAGEOFF]
ldr x9, [x22]
add x0, x9, x8
bl _inb
Lloh38:
adrp x8, _TSC_SET_ACK@GOTPAGE
Lloh39:
ldr x8, [x8, _TSC_SET_ACK@GOTPAGEOFF]
Lloh40:
ldr w8, [x8]
orr w8, w8, #0x7
and w8, w8, w0
Lloh41:
adrp x9, _TSC_SET_ATN@GOTPAGE
Lloh42:
ldr x9, [x9, _TSC_SET_ATN@GOTPAGEOFF]
Lloh43:
ldr w9, [x9]
ldr x10, [x19, #16]
ldr x11, [x22]
orr w0, w8, w9
add x1, x11, x10
bl _outb
mov x0, x19
bl _initio_msgin_accept
Lloh44:
adrp x8, _MSG_OUT@GOTPAGE
Lloh45:
ldr x8, [x8, _MSG_OUT@GOTPAGEOFF]
Lloh46:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_21
; %bb.19:
Lloh47:
adrp x8, _MSG_EXTEND@GOTPAGE
Lloh48:
ldr x8, [x8, _MSG_EXTEND@GOTPAGEOFF]
Lloh49:
ldr w0, [x8]
ldr x8, [x19, #16]
ldr x9, [x21]
add x1, x9, x8
bl _outb
ldr x8, [x19, #16]
ldr x9, [x21]
add x1, x9, x8
mov w0, #2 ; =0x2
bl _outb
ldr x8, [x19, #16]
ldr x9, [x21]
add x1, x9, x8
mov w0, #3 ; =0x3
bl _outb
ldp x8, x9, [x19, #8]
ldr w0, [x8, #8]
LBB0_20:
ldr x8, [x21]
add x1, x8, x9
bl _outb
Lloh50:
adrp x8, _TSC_XF_FIFO_OUT@GOTPAGE
Lloh51:
ldr x8, [x8, _TSC_XF_FIFO_OUT@GOTPAGEOFF]
Lloh52:
ldr w0, [x8]
ldr x8, [x19, #16]
ldr x9, [x20]
add x1, x9, x8
bl _outb
mov x0, x19
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
b _wait_tulip
LBB0_21:
ldr w0, [x19]
LBB0_22:
; kill: def $w0 killed $w0 killed $x0
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_23:
mov x0, x19
bl _initio_msgin_sync
cbz x0, LBB0_25
; %bb.24:
ldr x8, [x19, #24]
ldr w8, [x8]
Lloh53:
adrp x9, _TCF_SYNC_DONE@GOTPAGE
Lloh54:
ldr x9, [x9, _TCF_SYNC_DONE@GOTPAGEOFF]
Lloh55:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_11
LBB0_25:
mov x0, x19
bl _initio_sync_done
LBB0_26:
mov x0, x19
bl _initio_msgin_accept
b LBB0_22
LBB0_27:
ldr w9, [x8, #8]
cmp w9, #3
b.ge LBB0_15
; %bb.28:
cmp w9, #2
b.ne LBB0_30
; %bb.29:
mov w9, #1 ; =0x1
b LBB0_18
LBB0_30:
mov x0, x19
bl _wdtr_done
ldr x8, [x19, #24]
ldr w8, [x8]
Lloh56:
adrp x9, _TCF_SYNC_DONE@GOTPAGE
Lloh57:
ldr x9, [x9, _TCF_SYNC_DONE@GOTPAGEOFF]
Lloh58:
ldr w9, [x9]
Lloh59:
adrp x10, _TCF_NO_SYNC_NEGO@GOTPAGE
Lloh60:
ldr x10, [x10, _TCF_NO_SYNC_NEGO@GOTPAGEOFF]
Lloh61:
ldr w10, [x10]
orr w9, w10, w9
tst w9, w8
b.ne LBB0_26
; %bb.31:
ldr x8, [x19, #16]
Lloh62:
adrp x20, _TUL_SSignal@GOTPAGE
Lloh63:
ldr x20, [x20, _TUL_SSignal@GOTPAGEOFF]
ldr x9, [x20]
add x0, x9, x8
bl _inb
Lloh64:
adrp x8, _TSC_SET_ACK@GOTPAGE
Lloh65:
ldr x8, [x8, _TSC_SET_ACK@GOTPAGEOFF]
Lloh66:
ldr w8, [x8]
orr w8, w8, #0x7
and w8, w8, w0
Lloh67:
adrp x9, _TSC_SET_ATN@GOTPAGE
Lloh68:
ldr x9, [x9, _TSC_SET_ATN@GOTPAGEOFF]
Lloh69:
ldr w9, [x9]
ldr x10, [x19, #16]
ldr x11, [x20]
orr w0, w8, w9
add x1, x11, x10
bl _outb
b LBB0_26
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.loh AdrpLdrGotLdr Lloh44, Lloh45, Lloh46
.loh AdrpLdrGotLdr Lloh41, Lloh42, Lloh43
.loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40
.loh AdrpLdrGot Lloh36, Lloh37
.loh AdrpLdrGotLdr Lloh47, Lloh48, Lloh49
.loh AdrpLdrGotLdr Lloh50, Lloh51, Lloh52
.loh AdrpLdrGotLdr Lloh53, Lloh54, Lloh55
.loh AdrpLdrGotLdr Lloh59, Lloh60, Lloh61
.loh AdrpLdrGotLdr Lloh56, Lloh57, Lloh58
.loh AdrpLdrGotLdr Lloh67, Lloh68, Lloh69
.loh AdrpLdrGotLdr Lloh64, Lloh65, Lloh66
.loh AdrpLdrGot Lloh62, Lloh63
.cfi_endproc
; -- End function
.comm _MSG_IN,8,3 ; @MSG_IN
.comm _TUL_SCnt0,8,3 ; @TUL_SCnt0
.comm _TSC_XF_FIFO_IN,4,2 ; @TSC_XF_FIFO_IN
.comm _TUL_SCmd,8,3 ; @TUL_SCmd
.comm _TUL_SFifo,8,3 ; @TUL_SFifo
.comm _TCF_NO_SYNC_NEGO,4,2 ; @TCF_NO_SYNC_NEGO
.comm _TCF_SYNC_DONE,4,2 ; @TCF_SYNC_DONE
.comm _TUL_SSignal,8,3 ; @TUL_SSignal
.comm _TSC_SET_ACK,4,2 ; @TSC_SET_ACK
.comm _TSC_SET_ATN,8,3 ; @TSC_SET_ATN
.comm _MSG_OUT,8,3 ; @MSG_OUT
.comm _TSC_FLUSH_FIFO,4,2 ; @TSC_FLUSH_FIFO
.comm _TUL_SCtrl0,8,3 ; @TUL_SCtrl0
.comm _MSG_EXTEND,4,2 ; @MSG_EXTEND
.comm _TSC_XF_FIFO_OUT,4,2 ; @TSC_XF_FIFO_OUT
.comm _TCF_NO_WDTR,4,2 ; @TCF_NO_WDTR
.no_dead_strip _initio_msgin_extend
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function a6xx_gmu_build_freq_table
_a6xx_gmu_build_freq_table: ## @a6xx_gmu_build_freq_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
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
callq _dev_pm_opp_get_opp_count
movl %eax, %r12d
movq $1, -48(%rbp)
leal -1(%r12), %eax
xorl %edi, %edi
cmpl %ebx, %eax
setg %dil
leaq L_.str(%rip), %rsi
callq _WARN
decl %ebx
testq %rax, %rax
cmovel %r12d, %ebx
movq $0, (%r14)
testl %ebx, %ebx
js LBB0_1
## %bb.2:
movq $-1, %r12
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
leaq -48(%rbp), %rsi
callq _dev_pm_opp_find_freq_ceil
movq %rax, %r13
movq %rax, %rdi
callq _IS_ERR
testq %rax, %rax
jne LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq %r13, %rdi
callq _dev_pm_opp_put
movq -48(%rbp), %rax
leaq 1(%rax), %rcx
movq %rcx, -48(%rbp)
movq %rax, (%r14,%r12,8)
incq %r12
cmpq %r12, %rbx
jne LBB0_3
## %bb.5:
movl %ebx, %r12d
jmp LBB0_6
LBB0_1:
movl $-1, %r12d
LBB0_6:
movl %r12d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "The GMU frequency table is being truncated\n"
.no_dead_strip _a6xx_gmu_build_freq_table
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function a6xx_gmu_build_freq_table
_a6xx_gmu_build_freq_table: ; @a6xx_gmu_build_freq_table
.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 x21, x2
mov x19, x1
mov x20, x0
bl _dev_pm_opp_get_opp_count
mov x22, x0
mov w8, #1 ; =0x1
str x8, [sp, #8]
sub w8, w0, #1
cmp w8, w21
cset w0, gt
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _WARN
sub w8, w21, #1
cmp x0, #0
csel w23, w22, w8, eq
str xzr, [x19]
tbnz w23, #31, LBB0_5
; %bb.1:
mov x21, #-1 ; =0xffffffffffffffff
LBB0_2: ; =>This Inner Loop Header: Depth=1
add x1, sp, #8
mov x0, x20
bl _dev_pm_opp_find_freq_ceil
mov x22, x0
bl _IS_ERR
cbnz x0, LBB0_6
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
mov x0, x22
bl _dev_pm_opp_put
ldr x8, [sp, #8]
add x9, x8, #1
str x9, [sp, #8]
str x8, [x19, x21, lsl #3]
add x8, x21, #1
mov x21, x8
cmp x23, x8
b.ne LBB0_2
; %bb.4:
mov x21, x23
b LBB0_6
LBB0_5:
mov w21, #-1 ; =0xffffffff
LBB0_6:
mov x0, x21
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "The GMU frequency table is being truncated\n"
.no_dead_strip _a6xx_gmu_build_freq_table
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function wpas_p2p_scan
_wpas_p2p_scan: ## @wpas_p2p_scan
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r15d
movq %rdi, %rbx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movaps L___const.wpas_p2p_scan.social_channels_freq(%rip), %xmm0
movaps %xmm0, -64(%rbp)
movq (%rdi), %rsi
cmpq $0, 8(%rsi)
je LBB0_2
## %bb.1:
movl $-1, %eax
cmpq $0, (%rsi)
jne LBB0_35
LBB0_2:
cmpq $0, 16(%rbx)
je LBB0_4
## %bb.3:
movq _MSG_INFO@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rdx
movq %rbx, %rdi
callq _wpa_dbg
jmp LBB0_34
LBB0_4:
movl %ecx, %r12d
movq %r8, %r13
movl %edx, -76(%rbp) ## 4-byte Spill
movq %r9, -96(%rbp) ## 8-byte Spill
movl $48, %edi
callq _os_zalloc
movq %rax, %r14
movl $-1, %eax
testq %r14, %r14
je LBB0_35
## %bb.5:
movl $1, (%r14)
movq _P2P_WILDCARD_SSID_LEN@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _os_malloc
testq %rax, %rax
je LBB0_33
## %bb.6:
movq _P2P_WILDCARD_SSID@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movq _P2P_WILDCARD_SSID_LEN@GOTPCREL(%rip), %rcx
movq (%rcx), %rdx
movq %rax, %rdi
movq %r13, -72(%rbp) ## 8-byte Spill
movq %rax, %r13
callq _os_memcpy
movq 40(%r14), %rax
movq %r13, (%rax)
movq _P2P_WILDCARD_SSID_LEN@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq %rcx, 8(%rax)
movq 8(%rbx), %rax
leaq 4(%rax), %rsi
movl $1, 4(%rax)
movl (%rax), %edx
movq _WPS_REQ_ENROLLEE@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl 16(%rbp), %edi
movl %r12d, %r8d
movq -72(%rbp), %r9 ## 8-byte Reload
callq _wps_build_probe_req_ie
testq %rax, %rax
je LBB0_33
## %bb.7:
movq %rax, %r12
movq %r14, -72(%rbp) ## 8-byte Spill
cmpl $128, %r15d
je LBB0_16
## %bb.8:
cmpl $129, %r15d
movq -72(%rbp), %r14 ## 8-byte Reload
je LBB0_18
## %bb.9:
cmpl $130, %r15d
jne LBB0_29
## %bb.10:
leaq -64(%rbp), %rdi
callq _ARRAY_SIZE
leal 1(%rax), %edi
movl $4, %esi
callq _os_calloc
movq %rax, 8(%r14)
testq %rax, %rax
je LBB0_33
## %bb.11:
movq %r12, -88(%rbp) ## 8-byte Spill
leaq -64(%rbp), %r15
movq %r15, %rdi
callq _ARRAY_SIZE
xorl %r12d, %r12d
xorl %r13d, %r13d
jmp LBB0_12
.p2align 4, 0x90
LBB0_14: ## in Loop: Header=BB0_12 Depth=1
incq %r12
movq %r15, %rdi
callq _ARRAY_SIZE
cmpq %rax, %r12
ja LBB0_15
LBB0_12: ## =>This Inner Loop Header: Depth=1
movl -64(%rbp,%r12,4), %esi
movq %rbx, %rdi
callq _wpas_p2p_search_social_channel
testl %eax, %eax
je LBB0_14
## %bb.13: ## in Loop: Header=BB0_12 Depth=1
movl -64(%rbp,%r12,4), %eax
movq 8(%r14), %rcx
movl %r13d, %edx
incl %r13d
movl %eax, (%rcx,%rdx,4)
jmp LBB0_14
LBB0_18:
leaq -64(%rbp), %rdi
callq _ARRAY_SIZE
leal 2(%rax), %edi
movl $4, %esi
callq _os_calloc
movq %rax, 8(%r14)
testq %rax, %rax
je LBB0_33
## %bb.19:
movq %r12, -88(%rbp) ## 8-byte Spill
leaq -64(%rbp), %rdi
callq _ARRAY_SIZE
testq %rax, %rax
je LBB0_20
## %bb.21:
xorl %r12d, %r12d
leaq -64(%rbp), %r15
xorl %r13d, %r13d
movq -72(%rbp), %r14 ## 8-byte Reload
jmp LBB0_22
LBB0_24: ## in Loop: Header=BB0_22 Depth=1
incq %r12
movq %r15, %rdi
callq _ARRAY_SIZE
cmpq %rax, %r12
jae LBB0_25
LBB0_22: ## =>This Inner Loop Header: Depth=1
movl -64(%rbp,%r12,4), %esi
movq %rbx, %rdi
callq _wpas_p2p_search_social_channel
testl %eax, %eax
je LBB0_24
## %bb.23: ## in Loop: Header=BB0_22 Depth=1
movl -64(%rbp,%r12,4), %eax
movq 8(%r14), %rcx
movl %r13d, %edx
incl %r13d
movl %eax, (%rcx,%rdx,4)
jmp LBB0_24
LBB0_16:
movl $2, %edi
movl $4, %esi
callq _os_calloc
movl -76(%rbp), %ecx ## 4-byte Reload
movq -72(%rbp), %r14 ## 8-byte Reload
movq %rax, 8(%r14)
testq %rax, %rax
je LBB0_33
## %bb.17:
movl %ecx, (%rax)
addq $4, %rax
jmp LBB0_28
LBB0_15:
movl %r13d, %eax
shlq $2, %rax
addq 8(%r14), %rax
movq -88(%rbp), %r12 ## 8-byte Reload
jmp LBB0_28
LBB0_20:
xorl %r13d, %r13d
movq -72(%rbp), %r14 ## 8-byte Reload
LBB0_25:
movq (%rbx), %rax
movq (%rax), %rdi
movl -76(%rbp), %esi ## 4-byte Reload
callq _p2p_supported_freq
movq 8(%r14), %rcx
testl %eax, %eax
je LBB0_27
## %bb.26:
movl %r13d, %edx
incl %r13d
movl -76(%rbp), %eax ## 4-byte Reload
movl %eax, (%rcx,%rdx,4)
LBB0_27:
movq -88(%rbp), %r12 ## 8-byte Reload
movl %r13d, %eax
leaq (%rcx,%rax,4), %rax
LBB0_28:
movl $0, (%rax)
LBB0_29:
movq (%rbx), %rax
movq (%rax), %rdi
callq _p2p_scan_ie_buf_len
movq %rax, %r15
movq %r12, %rdi
callq _wpabuf_len
addq %rax, %r15
movq %r15, %rdi
callq _wpabuf_alloc
testq %rax, %rax
je LBB0_32
## %bb.30:
movq %rax, %r15
movq %rax, %rdi
movq %r12, %rsi
callq _wpabuf_put_buf
movq %r12, %rdi
callq _wpabuf_free
movq 8(%r14), %rsi
movq %rbx, %rdi
callq _wpas_get_bands
movq (%rbx), %rcx
movq (%rcx), %rdi
movq %r15, %rsi
movq -96(%rbp), %rdx ## 8-byte Reload
movl %eax, %ecx
callq _p2p_scan_ie
movl $1, 16(%r14)
movq %r15, %rdi
callq _wpabuf_len
movq %rax, %rdi
callq _os_malloc
testq %rax, %rax
je LBB0_31
## %bb.37:
movq %rax, %r12
movq %r15, %rdi
callq _wpabuf_head
movl %eax, %r13d
movq %r15, %rdi
callq _wpabuf_len
movq %r12, %rdi
movl %r13d, %esi
movq %rax, %rdx
callq _os_memcpy
movq %r12, 24(%r14)
movq %r15, %rdi
callq _wpabuf_len
movq %rax, 32(%r14)
movq %r15, %rdi
callq _wpabuf_free
leaq L_.str.1(%rip), %r15
movq %rbx, %rdi
movq %r15, %rsi
xorl %edx, %edx
callq _radio_remove_works
movq _wpas_p2p_trigger_scan_cb@GOTPCREL(%rip), %rax
movl (%rax), %r8d
movq %rbx, %rdi
xorl %esi, %esi
movq %r15, %rdx
xorl %ecx, %ecx
movq %r14, %r9
callq _radio_add_work
movq %rax, %rcx
xorl %eax, %eax
testq %rcx, %rcx
jns LBB0_35
jmp LBB0_33
LBB0_31:
movq %r15, %r12
LBB0_32:
movq %r12, %rdi
callq _wpabuf_free
movq -72(%rbp), %r14 ## 8-byte Reload
LBB0_33:
movq %r14, %rdi
callq _wpa_scan_free_params
LBB0_34:
movl $-1, %eax
LBB0_35:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_38
## %bb.36:
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_38:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ## @__const.wpas_p2p_scan.social_channels_freq
L___const.wpas_p2p_scan.social_channels_freq:
.long 2412 ## 0x96c
.long 2437 ## 0x985
.long 2462 ## 0x99e
.long 60480 ## 0xec40
.comm _MSG_INFO,4,2 ## @MSG_INFO
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "P2P: Reject scan trigger since one is already pending"
.comm _P2P_WILDCARD_SSID_LEN,8,3 ## @P2P_WILDCARD_SSID_LEN
.comm _P2P_WILDCARD_SSID,4,2 ## @P2P_WILDCARD_SSID
.comm _WPS_REQ_ENROLLEE,4,2 ## @WPS_REQ_ENROLLEE
L_.str.1: ## @.str.1
.asciz "p2p-scan"
.comm _wpas_p2p_trigger_scan_cb,4,2 ## @wpas_p2p_trigger_scan_cb
.no_dead_strip _wpas_p2p_scan
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function wpas_p2p_scan
_wpas_p2p_scan: ; @wpas_p2p_scan
.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
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, #40]
Lloh3:
adrp x8, l___const.wpas_p2p_scan.social_channels_freq@PAGE
Lloh4:
add x8, x8, l___const.wpas_p2p_scan.social_channels_freq@PAGEOFF
Lloh5:
ldr q0, [x8]
str q0, [sp, #16]
ldr x8, [x0]
ldr x9, [x8, #8]
cbz x9, LBB0_2
; %bb.1:
ldr x8, [x8]
cbnz x8, LBB0_35
LBB0_2:
ldr x8, [x19, #16]
cbz x8, LBB0_4
; %bb.3:
Lloh6:
adrp x8, _MSG_INFO@GOTPAGE
Lloh7:
ldr x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
Lloh9:
adrp x2, l_.str@PAGE
Lloh10:
add x2, x2, l_.str@PAGEOFF
mov x0, x19
bl _wpa_dbg
b LBB0_35
LBB0_4:
mov x25, x6
mov x24, x3
mov x22, x4
mov x27, x1
mov x23, x2
str x5, [sp, #8] ; 8-byte Folded Spill
mov w0, #48 ; =0x30
bl _os_zalloc
cbz x0, LBB0_35
; %bb.5:
mov x20, x0
mov w28, #1 ; =0x1
str w28, [x0]
Lloh11:
adrp x21, _P2P_WILDCARD_SSID_LEN@GOTPAGE
Lloh12:
ldr x21, [x21, _P2P_WILDCARD_SSID_LEN@GOTPAGEOFF]
ldr x0, [x21]
bl _os_malloc
cbz x0, LBB0_34
; %bb.6:
Lloh13:
adrp x8, _P2P_WILDCARD_SSID@GOTPAGE
Lloh14:
ldr x8, [x8, _P2P_WILDCARD_SSID@GOTPAGEOFF]
Lloh15:
ldr w1, [x8]
ldr x2, [x21]
mov x26, x0
bl _os_memcpy
ldr x8, [x20, #40]
str x26, [x8]
ldr x9, [x21]
str x9, [x8, #8]
ldr x1, [x19, #8]
ldr w2, [x1]
str w28, [x1, #4]!
Lloh16:
adrp x8, _WPS_REQ_ENROLLEE@GOTPAGE
Lloh17:
ldr x8, [x8, _WPS_REQ_ENROLLEE@GOTPAGEOFF]
Lloh18:
ldr w3, [x8]
mov x0, x25
mov x4, x24
mov x5, x22
bl _wps_build_probe_req_ie
cbz x0, LBB0_34
; %bb.7:
mov x22, x0
cmp w27, #128
b.eq LBB0_21
; %bb.8:
cmp w27, #129
b.eq LBB0_15
; %bb.9:
cmp w27, #130
b.ne LBB0_29
; %bb.10:
add x23, sp, #16
add x0, sp, #16
bl _ARRAY_SIZE
add w0, w0, #1
mov w1, #4 ; =0x4
bl _os_calloc
str x0, [x20, #8]
cbz x0, LBB0_34
; %bb.11:
add x0, sp, #16
bl _ARRAY_SIZE
mov x25, #0 ; =0x0
mov w24, #0 ; =0x0
b LBB0_13
LBB0_12: ; in Loop: Header=BB0_13 Depth=1
add x25, x25, #1
add x0, sp, #16
bl _ARRAY_SIZE
cmp x25, x0
b.hi LBB0_23
LBB0_13: ; =>This Inner Loop Header: Depth=1
ldr w1, [x23, x25, lsl #2]
mov x0, x19
bl _wpas_p2p_search_social_channel
cbz w0, LBB0_12
; %bb.14: ; in Loop: Header=BB0_13 Depth=1
ldr w8, [x23, x25, lsl #2]
ldr x9, [x20, #8]
str w8, [x9, w24, uxtw #2]
add w24, w24, #1
b LBB0_12
LBB0_15:
add x0, sp, #16
bl _ARRAY_SIZE
add w0, w0, #2
mov w1, #4 ; =0x4
bl _os_calloc
str x0, [x20, #8]
cbz x0, LBB0_34
; %bb.16:
add x25, sp, #16
add x0, sp, #16
bl _ARRAY_SIZE
cbz x0, LBB0_24
; %bb.17:
mov x26, #0 ; =0x0
mov w24, #0 ; =0x0
b LBB0_19
LBB0_18: ; in Loop: Header=BB0_19 Depth=1
add x26, x26, #1
add x0, sp, #16
bl _ARRAY_SIZE
cmp x26, x0
b.hs LBB0_25
LBB0_19: ; =>This Inner Loop Header: Depth=1
ldr w1, [x25, x26, lsl #2]
mov x0, x19
bl _wpas_p2p_search_social_channel
cbz w0, LBB0_18
; %bb.20: ; in Loop: Header=BB0_19 Depth=1
ldr w8, [x25, x26, lsl #2]
ldr x9, [x20, #8]
str w8, [x9, w24, uxtw #2]
add w24, w24, #1
b LBB0_18
LBB0_21:
mov w0, #2 ; =0x2
mov w1, #4 ; =0x4
bl _os_calloc
str x0, [x20, #8]
cbz x0, LBB0_34
; %bb.22:
str w23, [x0], #4
b LBB0_28
LBB0_23:
ldr x8, [x20, #8]
b LBB0_27
LBB0_24:
mov w24, #0 ; =0x0
LBB0_25:
ldr x8, [x19]
ldr x0, [x8]
mov x1, x23
bl _p2p_supported_freq
ldr x8, [x20, #8]
cbz w0, LBB0_27
; %bb.26:
str w23, [x8, w24, uxtw #2]
add w24, w24, #1
LBB0_27:
add x0, x8, w24, uxtw #2
LBB0_28:
str wzr, [x0]
LBB0_29:
ldr x8, [x19]
ldr x0, [x8]
bl _p2p_scan_ie_buf_len
mov x23, x0
mov x0, x22
bl _wpabuf_len
add x0, x0, x23
bl _wpabuf_alloc
cbz x0, LBB0_33
; %bb.30:
mov x23, x0
mov x1, x22
bl _wpabuf_put_buf
mov x0, x22
bl _wpabuf_free
ldr x1, [x20, #8]
mov x0, x19
bl _wpas_get_bands
mov x3, x0
ldr x8, [x19]
ldr x0, [x8]
mov x1, x23
ldr x2, [sp, #8] ; 8-byte Folded Reload
bl _p2p_scan_ie
mov w8, #1 ; =0x1
str w8, [x20, #16]
mov x0, x23
bl _wpabuf_len
bl _os_malloc
cbz x0, LBB0_32
; %bb.31:
mov x21, x0
mov x0, x23
bl _wpabuf_head
mov x22, x0
mov x0, x23
bl _wpabuf_len
mov x2, x0
mov x0, x21
mov x1, x22
bl _os_memcpy
str x21, [x20, #24]
mov x0, x23
bl _wpabuf_len
str x0, [x20, #32]
mov x0, x23
bl _wpabuf_free
Lloh19:
adrp x21, l_.str.1@PAGE
Lloh20:
add x21, x21, l_.str.1@PAGEOFF
mov x0, x19
mov x1, x21
mov w2, #0 ; =0x0
bl _radio_remove_works
Lloh21:
adrp x8, _wpas_p2p_trigger_scan_cb@GOTPAGE
Lloh22:
ldr x8, [x8, _wpas_p2p_trigger_scan_cb@GOTPAGEOFF]
Lloh23:
ldr w4, [x8]
mov x0, x19
mov w1, #0 ; =0x0
mov x2, x21
mov w3, #0 ; =0x0
mov x5, x20
bl _radio_add_work
mov x8, x0
mov w0, #0 ; =0x0
tbz x8, #63, LBB0_36
b LBB0_34
LBB0_32:
mov x22, x23
LBB0_33:
mov x0, x22
bl _wpabuf_free
LBB0_34:
mov x0, x20
bl _wpa_scan_free_params
LBB0_35:
mov w0, #-1 ; =0xffffffff
LBB0_36:
ldr x8, [sp, #40]
Lloh24:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh25:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh26:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_38
; %bb.37:
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_38:
bl ___stack_chk_fail
.loh AdrpAddLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.cfi_endproc
; -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 2, 0x0 ; @__const.wpas_p2p_scan.social_channels_freq
l___const.wpas_p2p_scan.social_channels_freq:
.long 2412 ; 0x96c
.long 2437 ; 0x985
.long 2462 ; 0x99e
.long 60480 ; 0xec40
.comm _MSG_INFO,4,2 ; @MSG_INFO
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "P2P: Reject scan trigger since one is already pending"
.comm _P2P_WILDCARD_SSID_LEN,8,3 ; @P2P_WILDCARD_SSID_LEN
.comm _P2P_WILDCARD_SSID,4,2 ; @P2P_WILDCARD_SSID
.comm _WPS_REQ_ENROLLEE,4,2 ; @WPS_REQ_ENROLLEE
l_.str.1: ; @.str.1
.asciz "p2p-scan"
.comm _wpas_p2p_trigger_scan_cb,4,2 ; @wpas_p2p_trigger_scan_cb
.no_dead_strip _wpas_p2p_scan
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _ssl3_cbc_copy_mac ## -- Begin function ssl3_cbc_copy_mac
.p2align 4, 0x90
_ssl3_cbc_copy_mac: ## @ssl3_cbc_copy_mac
.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 %rsi, %r13
movq %rdi, %r15
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _EVP_MAX_MD_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %r14d
movl %r14d, %eax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r12
movq (%r13), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
cmpq %rbx, 8(%r13)
setae %al
movslq %r14d, %rcx
cmpq %rbx, %rcx
setae %cl
orb %al, %cl
movzbl %cl, %edi
callq _ossl_assert
testl %eax, %eax
je LBB0_1
## %bb.2:
movq 8(%r13), %r14
leaq 256(%rbx), %rax
xorl %ecx, %ecx
subq %rax, %r14
movl $0, %eax
movq %rax, -56(%rbp) ## 8-byte Spill
cmovbq %rcx, %r14
movq %r12, %rdi
xorl %esi, %esi
movq %rbx, %rdx
callq _memset
cmpq 8(%r13), %r14
movq %r12, -80(%rbp) ## 8-byte Spill
jae LBB0_5
## %bb.3:
movq %r13, %rax
movq -64(%rbp), %rcx ## 8-byte Reload
subq %rbx, %rcx
movq %rcx, -88(%rbp) ## 8-byte Spill
xorl %r13d, %r13d
movq $0, -56(%rbp) ## 8-byte Folded Spill
xorl %r12d, %r12d
movq %rax, -72(%rbp) ## 8-byte Spill
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
movq -88(%rbp), %rsi ## 8-byte Reload
callq _constant_time_eq_s
movq %rax, -96(%rbp) ## 8-byte Spill
movq %r14, %rdi
movq -64(%rbp), %rsi ## 8-byte Reload
callq _constant_time_lt_s
movq -72(%rbp), %rcx ## 8-byte Reload
movq 16(%rcx), %rcx
movq -96(%rbp), %rdx ## 8-byte Reload
orq %rdx, %r13
andq %rax, %r13
andq %r12, %rdx
orq %rdx, -56(%rbp) ## 8-byte Folded Spill
movzbl (%rcx,%r14), %eax
andb %r13b, %al
movq -80(%rbp), %rcx ## 8-byte Reload
orb %al, (%rcx,%r12)
incq %r12
movq %r12, %rdi
movq %rbx, %rsi
callq _constant_time_lt_s
andq %rax, %r12
movq -72(%rbp), %rax ## 8-byte Reload
incq %r14
cmpq 8(%rax), %r14
jb LBB0_4
LBB0_5:
movq %r15, %rdi
xorl %esi, %esi
movq %rbx, %rdx
callq _memset
movq %rbx, %r12
subq -56(%rbp), %r12 ## 8-byte Folded Reload
movq %r12, %rdi
movq %rbx, %rsi
callq _constant_time_lt_s
movq %rax, %rcx
movl $1, %eax
testq %rbx, %rbx
je LBB0_11
## %bb.6:
andq %r12, %rcx
xorl %r13d, %r13d
movq %r15, -104(%rbp) ## 8-byte Spill
.p2align 4, 0x90
LBB0_7: ## =>This Loop Header: Depth=1
## Child Loop BB0_8 Depth 2
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_8: ## Parent Loop BB0_7 Depth=1
## => This Inner Loop Header: Depth=2
movq %rbx, %r15
movq -80(%rbp), %rax ## 8-byte Reload
movzbl (%rax,%r13), %ebx
movq %r12, %rdi
movq %r13, %r14
movq %rcx, %r13
movq %rcx, %rsi
callq _constant_time_eq_8_s
movq %r13, %rcx
movq %r14, %r13
andb %bl, %al
movq %r15, %rbx
movq -104(%rbp), %r15 ## 8-byte Reload
orb %al, (%r15,%r12)
incq %r12
cmpq %r12, %rbx
jne LBB0_8
## %bb.9: ## in Loop: Header=BB0_7 Depth=1
incq %rcx
movq %rcx, %rdi
movq %rcx, %r14
movq %rbx, %rsi
callq _constant_time_lt_s
movq %r14, %rcx
andq %rax, %rcx
incq %r13
cmpq %rbx, %r13
jne LBB0_7
## %bb.10:
movl $1, %eax
jmp LBB0_11
LBB0_1:
xorl %eax, %eax
LBB0_11:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_13
## %bb.12:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_13:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _EVP_MAX_MD_SIZE,4,2 ## @EVP_MAX_MD_SIZE
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _ssl3_cbc_copy_mac ; -- Begin function ssl3_cbc_copy_mac
.p2align 2
_ssl3_cbc_copy_mac: ; @ssl3_cbc_copy_mac
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
sub sp, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x2
mov x22, 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, #-88]
Lloh3:
adrp x8, _EVP_MAX_MD_SIZE@GOTPAGE
Lloh4:
ldr x8, [x8, _EVP_MAX_MD_SIZE@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
mov x9, x8
Lloh6:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh7:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x10, x8, #15
and x10, x10, #0x1fffffff0
sub x21, x9, x10
mov sp, x21
ldp x23, x9, [x1]
cmp x9, x2
sxtw x8, w8
ccmp x8, x2, #2, lo
cset w0, hs
bl _ossl_assert
cbz w0, LBB0_10
; %bb.1:
ldr x8, [x22, #8]
add x9, x19, #256
subs x8, x8, x9
csel x24, xzr, x8, lo
mov x0, x21
mov w1, #0 ; =0x0
mov x2, x19
bl _memset
mov x27, #0 ; =0x0
ldr x8, [x22, #8]
cmp x24, x8
stur x23, [x29, #-96] ; 8-byte Folded Spill
b.hs LBB0_4
; %bb.2:
mov x28, #0 ; =0x0
mov x27, #0 ; =0x0
mov x23, #0 ; =0x0
ldur x8, [x29, #-96] ; 8-byte Folded Reload
sub x25, x8, x19
LBB0_3: ; =>This Inner Loop Header: Depth=1
mov x0, x24
mov x1, x25
bl _constant_time_eq_s
mov x26, x0
mov x0, x24
ldur x1, [x29, #-96] ; 8-byte Folded Reload
bl _constant_time_lt_s
ldr x8, [x22, #16]
ldrb w8, [x8, x24]
orr x9, x26, x28
and x28, x9, x0
and x9, x26, x23
orr x27, x9, x27
add x26, x23, #1
ldrb w9, [x21, x23]
and w8, w8, w28
orr w8, w8, w9
strb w8, [x21, x23]
mov x0, x26
mov x1, x19
bl _constant_time_lt_s
and x23, x0, x26
add x24, x24, #1
ldr x8, [x22, #8]
cmp x24, x8
b.lo LBB0_3
LBB0_4:
mov x0, x20
mov w1, #0 ; =0x0
mov x2, x19
bl _memset
sub x22, x19, x27
mov x0, x22
mov x1, x19
bl _constant_time_lt_s
cbz x19, LBB0_9
; %bb.5:
mov x24, #0 ; =0x0
and x22, x0, x22
LBB0_6: ; =>This Loop Header: Depth=1
; Child Loop BB0_7 Depth 2
mov x23, #0 ; =0x0
LBB0_7: ; Parent Loop BB0_6 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w25, [x21, x24]
mov x0, x23
mov x1, x22
bl _constant_time_eq_8_s
ldrb w8, [x20, x23]
and w9, w0, w25
orr w8, w8, w9
strb w8, [x20, x23]
add x23, x23, #1
cmp x19, x23
b.ne LBB0_7
; %bb.8: ; in Loop: Header=BB0_6 Depth=1
add x22, x22, #1
mov x0, x22
mov x1, x19
bl _constant_time_lt_s
and x22, x0, x22
add x24, x24, #1
cmp x24, x19
b.ne LBB0_6
LBB0_9:
mov w0, #1 ; =0x1
LBB0_10:
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_12
; %bb.11:
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_12:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _EVP_MAX_MD_SIZE,4,2 ; @EVP_MAX_MD_SIZE
.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 hostapd_drv_do_acs
LCPI0_0:
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 0 ## 0x0
.section __TEXT,__text,regular,pure_instructions
.globl _hostapd_drv_do_acs
.p2align 4, 0x90
_hostapd_drv_do_acs: ## @hostapd_drv_do_acs
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $88, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movq $0, -64(%rbp)
leaq -120(%rbp), %rdi
xorl %r12d, %r12d
xorl %esi, %esi
movl $48, %edx
callq _os_memset
movq 16(%rbx), %rax
movq 8(%rax), %rcx
movl 44(%rcx), %edx
movl %edx, -80(%rbp)
movl 40(%rcx), %ecx
xorl %r14d, %r14d
movl %ecx, -68(%rbp) ## 4-byte Spill
testl %ecx, %ecx
sete %cl
movq 24(%rax), %r15
testq %r15, %r15
je LBB0_1
## %bb.3:
movl (%r15), %edi
callq _os_malloc
testq %rax, %rax
je LBB0_4
## %bb.5:
movq %rax, %r14
cmpl $0, (%r15)
js LBB0_19
## %bb.6:
movq %r14, -56(%rbp) ## 8-byte Spill
xorl %r14d, %r14d
xorl %r12d, %r12d
movq $0, -48(%rbp) ## 8-byte Folded Spill
jmp LBB0_7
.p2align 4, 0x90
LBB0_13: ## in Loop: Header=BB0_7 Depth=1
movq _HOSTAPD_CHAN_DISABLED@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_14
LBB0_15: ## in Loop: Header=BB0_7 Depth=1
decq %r12
movslq (%r15), %rax
addq $-16, %r14
cmpq %rax, %r12
jg LBB0_9
LBB0_7: ## =>This Inner Loop Header: Depth=1
movq 8(%r15), %r13
movq 16(%rbx), %rax
cmpl $0, -68(%rbp) ## 4-byte Folded Reload
je LBB0_11
## %bb.8: ## in Loop: Header=BB0_7 Depth=1
movq 8(%rax), %rdi
addq $40, %rdi
movq (%r13,%r14), %rsi
callq _freq_range_list_includes
testl %eax, %eax
je LBB0_9
## %bb.10: ## in Loop: Header=BB0_7 Depth=1
movq 16(%rbx), %rax
LBB0_11: ## in Loop: Header=BB0_7 Depth=1
movq 8(%rax), %rax
cmpq $0, 32(%rax)
movl 8(%r13,%r14), %eax
je LBB0_13
## %bb.12: ## in Loop: Header=BB0_7 Depth=1
movq _HOSTAPD_CHAN_RADAR@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
jne LBB0_15
jmp LBB0_13
.p2align 4, 0x90
LBB0_14: ## in Loop: Header=BB0_7 Depth=1
movq (%r13,%r14), %rax
movq -48(%rbp), %rdx ## 8-byte Reload
movl %edx, %ecx
incl %edx
movq %rdx, -48(%rbp) ## 8-byte Spill
movq -56(%rbp), %rdx ## 8-byte Reload
movq %rax, (%rdx,%rcx,8)
movl 12(%r13,%r14), %esi
leaq -64(%rbp), %rdi
callq _int_array_add_unique
jmp LBB0_15
LBB0_1:
cmpl $0, (%rax)
jle LBB0_2
## %bb.16:
movb %cl, %r14b
leaq -64(%rbp), %r15
xorl %r12d, %r12d
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_17: ## =>This Inner Loop Header: Depth=1
movq 16(%rax), %rsi
addq %r12, %rsi
movq %rbx, %rdi
movl %r14d, %edx
movq %r15, %rcx
callq _hostapd_get_hw_mode_any_channels
incq %r13
movq 16(%rbx), %rax
movslq (%rax), %rcx
addq $16, %r12
cmpq %rcx, %r13
jl LBB0_17
## %bb.18:
xorl %r14d, %r14d
LBB0_19:
xorl %r12d, %r12d
jmp LBB0_20
LBB0_9:
movq -56(%rbp), %r14 ## 8-byte Reload
movq -48(%rbp), %r12 ## 8-byte Reload
jmp LBB0_20
LBB0_4:
movl $-1, %ebx
jmp LBB0_28
LBB0_2:
xorl %r14d, %r14d
LBB0_20:
movq %r14, -120(%rbp)
movl %r12d, -112(%rbp)
movq -64(%rbp), %rax
movq %rax, -104(%rbp)
movq 16(%rbx), %rax
movq 8(%rax), %rdi
movq _HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET@GOTPCREL(%rip), %rax
movl (%rax), %eax
xorl %ecx, %ecx
andl (%rdi), %eax
setne %cl
testb $1, %cl
movl $40, %edx
movl $20, %esi
cmovel %esi, %edx
xorl %r8d, %r8d
cmpq $0, 24(%rdi)
setne %r8b
movd %r8d, %xmm0
pinsrb $8, %ecx, %xmm0
pshufd $232, %xmm0, %xmm0 ## xmm0 = xmm0[0,2,2,3]
pand LCPI0_0(%rip), %xmm0
movq %xmm0, -96(%rbp)
cmovel %esi, %edx
movq 8(%rdi), %rcx
xorl %esi, %esi
testq %rcx, %rcx
setne %sil
movl %esi, -88(%rbp)
movl %edx, -84(%rbp)
cmpq $0, 16(%rdi)
je LBB0_21
## %bb.22:
testl %eax, %eax
jne LBB0_23
jmp LBB0_27
LBB0_21:
testq %rcx, %rcx
setne %cl
testl %eax, %eax
setne %al
testb %al, %cl
je LBB0_27
LBB0_23:
callq _hostapd_get_oper_chwidth
movq _CHANWIDTH_80MHZ@GOTPCREL(%rip), %rdx
movl $80, %ecx
cmpq (%rdx), %rax
jne LBB0_24
LBB0_26:
movl %ecx, -84(%rbp)
jmp LBB0_27
LBB0_24:
movq _CHANWIDTH_160MHZ@GOTPCREL(%rip), %rdx
movl $160, %ecx
cmpq (%rdx), %rax
je LBB0_26
## %bb.25:
movq _CHANWIDTH_80P80MHZ@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rax
je LBB0_26
LBB0_27:
movq 8(%rbx), %rax
movl (%rbx), %edi
leaq -120(%rbp), %rsi
callq *(%rax)
movl %eax, %ebx
movq %r14, %rdi
callq _os_free
LBB0_28:
movl %ebx, %eax
addq $88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _HOSTAPD_CHAN_RADAR,4,2 ## @HOSTAPD_CHAN_RADAR
.comm _HOSTAPD_CHAN_DISABLED,4,2 ## @HOSTAPD_CHAN_DISABLED
.comm _HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET,4,2 ## @HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET
.comm _CHANWIDTH_80MHZ,8,3 ## @CHANWIDTH_80MHZ
.comm _CHANWIDTH_160MHZ,8,3 ## @CHANWIDTH_160MHZ
.comm _CHANWIDTH_80P80MHZ,8,3 ## @CHANWIDTH_80P80MHZ
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _hostapd_drv_do_acs ; -- Begin function hostapd_drv_do_acs
.p2align 2
_hostapd_drv_do_acs: ; @hostapd_drv_do_acs
.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, x0
str xzr, [sp, #8]
add x0, sp, #16
mov w1, #0 ; =0x0
mov w2, #48 ; =0x30
bl _os_memset
ldr x8, [x19, #16]
ldr x9, [x8, #8]
ldp w21, w10, [x9, #40]
str w10, [sp, #56]
cmp w21, #0
cset w20, eq
ldr x22, [x8, #24]
cbz x22, LBB0_12
; %bb.1:
ldr w0, [x22]
bl _os_malloc
cbz x0, LBB0_23
; %bb.2:
mov x20, x0
ldr w8, [x22]
tbnz w8, #31, LBB0_16
; %bb.3:
mov x24, #0 ; =0x0
mov x25, #0 ; =0x0
mov w23, #0 ; =0x0
Lloh0:
adrp x26, _HOSTAPD_CHAN_DISABLED@GOTPAGE
Lloh1:
ldr x26, [x26, _HOSTAPD_CHAN_DISABLED@GOTPAGEOFF]
Lloh2:
adrp x27, _HOSTAPD_CHAN_RADAR@GOTPAGE
Lloh3:
ldr x27, [x27, _HOSTAPD_CHAN_RADAR@GOTPAGEOFF]
b LBB0_6
LBB0_4: ; in Loop: Header=BB0_6 Depth=1
ldr w9, [x26]
tst w9, w8
b.eq LBB0_11
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
sub x25, x25, #1
ldrsw x8, [x22]
sub x24, x24, #16
cmp x25, x8
b.gt LBB0_17
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldr x28, [x22, #8]
ldr x8, [x19, #16]
cbz w21, LBB0_9
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
ldr x8, [x8, #8]
ldr x1, [x28, x24]
add x0, x8, #40
bl _freq_range_list_includes
cbz w0, LBB0_17
; %bb.8: ; in Loop: Header=BB0_6 Depth=1
ldr x8, [x19, #16]
LBB0_9: ; in Loop: Header=BB0_6 Depth=1
ldr x8, [x8, #8]
ldr x9, [x8, #32]
add x8, x28, x24
ldr w8, [x8, #8]
cbz x9, LBB0_4
; %bb.10: ; in Loop: Header=BB0_6 Depth=1
ldr w9, [x27]
tst w9, w8
b.ne LBB0_5
b LBB0_4
LBB0_11: ; in Loop: Header=BB0_6 Depth=1
add x8, x28, x24
ldr x9, [x8]
add w28, w23, #1
str x9, [x20, w23, uxtw #3]
ldr w1, [x8, #12]
add x0, sp, #8
bl _int_array_add_unique
mov x23, x28
b LBB0_5
LBB0_12:
ldr w9, [x8]
cmp w9, #1
b.lt LBB0_15
; %bb.13:
mov x21, #0 ; =0x0
mov x22, #0 ; =0x0
LBB0_14: ; =>This Inner Loop Header: Depth=1
ldr x8, [x8, #16]
add x1, x8, x21
add x3, sp, #8
mov x0, x19
mov x2, x20
bl _hostapd_get_hw_mode_any_channels
add x22, x22, #1
ldr x8, [x19, #16]
ldrsw x9, [x8]
add x21, x21, #16
cmp x22, x9
b.lt LBB0_14
LBB0_15:
mov x20, #0 ; =0x0
LBB0_16:
mov w23, #0 ; =0x0
LBB0_17:
str x20, [sp, #16]
str w23, [sp, #24]
ldr x8, [sp, #8]
str x8, [sp, #32]
ldr x8, [x19, #16]
ldr x0, [x8, #8]
ldr x8, [x0, #24]
cmp x8, #0
cset w10, ne
ldr w8, [x0]
Lloh4:
adrp x9, _HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET@GOTPAGE
Lloh5:
ldr x9, [x9, _HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET@GOTPAGEOFF]
Lloh6:
ldr w9, [x9]
ands w8, w9, w8
cset w11, ne
stp w10, w11, [sp, #40]
ldr x9, [x0, #8]
cmp x9, #0
cset w12, ne
tst w10, w11
mov w10, #20 ; =0x14
mov w11, #40 ; =0x28
csel w10, w11, w10, ne
stp w12, w10, [sp, #48]
ldr x10, [x0, #16]
cbz x10, LBB0_19
; %bb.18:
cbnz w8, LBB0_20
b LBB0_26
LBB0_19:
cmp x9, #0
ccmp w8, #0, #4, ne
b.eq LBB0_26
LBB0_20:
bl _hostapd_get_oper_chwidth
Lloh7:
adrp x8, _CHANWIDTH_80MHZ@GOTPAGE
Lloh8:
ldr x8, [x8, _CHANWIDTH_80MHZ@GOTPAGEOFF]
Lloh9:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_24
; %bb.21:
mov w8, #80 ; =0x50
LBB0_22:
str w8, [sp, #52]
b LBB0_26
LBB0_23:
mov w19, #-1 ; =0xffffffff
b LBB0_27
LBB0_24:
Lloh10:
adrp x8, _CHANWIDTH_160MHZ@GOTPAGE
Lloh11:
ldr x8, [x8, _CHANWIDTH_160MHZ@GOTPAGEOFF]
Lloh12:
ldr x9, [x8]
mov w8, #160 ; =0xa0
cmp x0, x9
b.eq LBB0_22
; %bb.25:
Lloh13:
adrp x9, _CHANWIDTH_80P80MHZ@GOTPAGE
Lloh14:
ldr x9, [x9, _CHANWIDTH_80P80MHZ@GOTPAGEOFF]
Lloh15:
ldr x9, [x9]
cmp x0, x9
b.eq LBB0_22
LBB0_26:
ldr x8, [x19, #8]
ldr x8, [x8]
ldr w0, [x19]
add x1, sp, #16
blr x8
mov x19, x0
mov x0, x20
bl _os_free
LBB0_27:
mov x0, x19
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
ldp x20, x19, [sp, #128] ; 16-byte Folded Reload
ldp x22, x21, [sp, #112] ; 16-byte Folded Reload
ldp x24, x23, [sp, #96] ; 16-byte Folded Reload
ldp x26, x25, [sp, #80] ; 16-byte Folded Reload
ldp x28, x27, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #160
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.cfi_endproc
; -- End function
.comm _HOSTAPD_CHAN_RADAR,4,2 ; @HOSTAPD_CHAN_RADAR
.comm _HOSTAPD_CHAN_DISABLED,4,2 ; @HOSTAPD_CHAN_DISABLED
.comm _HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET,4,2 ; @HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET
.comm _CHANWIDTH_80MHZ,8,3 ; @CHANWIDTH_80MHZ
.comm _CHANWIDTH_160MHZ,8,3 ; @CHANWIDTH_160MHZ
.comm _CHANWIDTH_80P80MHZ,8,3 ; @CHANWIDTH_80P80MHZ
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _md_assemble ## -- Begin function md_assemble
.p2align 4, 0x90
_md_assemble: ## @md_assemble
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $120, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
cmpb $0, _md_assemble.init_tables_p(%rip)
jne LBB0_2
## %bb.1:
movq _arc_mach_type@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _init_opcode_tables
movb $1, _md_assemble.init_tables_p(%rip)
LBB0_2:
incq %rbx
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movsbl -1(%rbx), %edi
decq %rbx
callq _ISSPACE
testq %rax, %rax
jne LBB0_3
## %bb.4:
movq _arc_ext_opcodes@GOTPCREL(%rip), %rax
movq (%rax), %r15
movq %rbx, %rdi
callq _arc_opcode_lookup_asm
testq %r15, %r15
movq %r15, %r14
movq %rax, -160(%rbp) ## 8-byte Spill
cmoveq %rax, %r14
testq %r14, %r14
je LBB0_85
## %bb.5:
movq %r15, -128(%rbp) ## 8-byte Spill
movq %rbx, -136(%rbp) ## 8-byte Spill
movq _arc_operands@GOTPCREL(%rip), %r15
movq _arc_operand_map@GOTPCREL(%rip), %r13
movq $0, -88(%rbp) ## 8-byte Folded Spill
LBB0_6: ## =>This Loop Header: Depth=1
## Child Loop BB0_10 Depth 2
## Child Loop BB0_11 Depth 3
## Child Loop BB0_18 Depth 4
## Child Loop BB0_34 Depth 3
## Child Loop BB0_58 Depth 3
movq %rsp, %rbx
movq _MAX_SUFFIXES@GOTPCREL(%rip), %rax
movl (%rax), %eax
shlq $3, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, -144(%rbp) ## 8-byte Spill
movq %r14, %rdi
callq _arc_opcode_supported
testl %eax, %eax
je LBB0_70
## %bb.7: ## in Loop: Header=BB0_6 Depth=1
movq %rbx, -96(%rbp) ## 8-byte Spill
movl $0, -80(%rbp) ## 4-byte Folded Spill
xorl %eax, %eax
callq _arc_opcode_init_insert
movq (%r14), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
movq %r14, -112(%rbp) ## 8-byte Spill
movq 8(%r14), %r14
movl $0, -76(%rbp) ## 4-byte Folded Spill
movq -136(%rbp), %rax ## 8-byte Reload
movq %rax, -64(%rbp) ## 8-byte Spill
jmp LBB0_10
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_10 Depth=2
movq _arc_operand_map@GOTPCREL(%rip), %r13
LBB0_9: ## in Loop: Header=BB0_10 Depth=2
incq %r14
LBB0_10: ## Parent Loop BB0_6 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_11 Depth 3
## Child Loop BB0_18 Depth 4
## Child Loop BB0_34 Depth 3
## Child Loop BB0_58 Depth 3
movq _ARC_MOD_BITS@GOTPCREL(%rip), %rbx
LBB0_11: ## Parent Loop BB0_6 Depth=1
## Parent Loop BB0_10 Depth=2
## => This Loop Header: Depth=3
## Child Loop BB0_18 Depth 4
movzbl (%r14), %eax
cmpl $37, %eax
je LBB0_17
## %bb.12: ## in Loop: Header=BB0_11 Depth=3
testl %eax, %eax
je LBB0_76
## %bb.13: ## in Loop: Header=BB0_11 Depth=3
movzbl 1(%r14), %eax
cmpb $37, %al
jne LBB0_16
## %bb.14: ## in Loop: Header=BB0_11 Depth=3
movq -64(%rbp), %rax ## 8-byte Reload
cmpb $37, (%rax)
jne LBB0_66
## %bb.15: ## in Loop: Header=BB0_11 Depth=3
addq $2, %r14
incq %rax
movq %rax, -64(%rbp) ## 8-byte Spill
jmp LBB0_11
.p2align 4, 0x90
LBB0_16: ## in Loop: Header=BB0_11 Depth=3
incq %r14
LBB0_17: ## in Loop: Header=BB0_11 Depth=3
movq (%r15), %rcx
movq (%r13), %rdx
movsbq %al, %rax
movq (%rdx,%rax,8), %rax
leaq (%rax,%rax,4), %rax
movl (%rcx,%rax,8), %edi
callq _ARC_MOD_P
xorl %r12d, %r12d
testq %rax, %rax
je LBB0_19
.p2align 4, 0x90
LBB0_18: ## Parent Loop BB0_6 Depth=1
## Parent Loop BB0_10 Depth=2
## Parent Loop BB0_11 Depth=3
## => This Inner Loop Header: Depth=4
movq (%r15), %rax
movq (%r13), %rcx
movsbq (%r14), %rdx
movq (%rcx,%rdx,8), %rdx
leaq (%rdx,%rdx,4), %rdx
movl (%rbx), %esi
andl (%rax,%rdx,8), %esi
orl %esi, %r12d
movsbq 1(%r14), %rdx
incq %r14
movq (%rcx,%rdx,8), %rcx
leaq (%rcx,%rcx,4), %rcx
movl (%rax,%rcx,8), %edi
callq _ARC_MOD_P
testq %rax, %rax
jne LBB0_18
LBB0_19: ## in Loop: Header=BB0_11 Depth=3
movq (%r15), %rbx
movq (%r13), %rax
movsbq (%r14), %rsi
movq (%rax,%rsi,8), %rax
xorl %ecx, %ecx
subq %rax, %rcx
leaq (%rcx,%rcx,4), %r15
cmpq $0, 8(%rbx,%r15,8)
jne LBB0_21
## %bb.20: ## in Loop: Header=BB0_11 Depth=3
leaq L_.str(%rip), %rdi
## kill: def $esi killed $esi killed $rsi
xorl %eax, %eax
callq _as_fatal
LBB0_21: ## in Loop: Header=BB0_11 Depth=3
leaq (%rbx,%r15,8), %rsi
movl (%rsi), %eax
movq _ARC_OPERAND_FAKE@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
jne LBB0_28
## %bb.22: ## in Loop: Header=BB0_11 Depth=3
movq _ARC_OPERAND_SUFFIX@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
movq _arc_operands@GOTPCREL(%rip), %r15
movq _ARC_MOD_BITS@GOTPCREL(%rip), %rbx
je LBB0_124
## %bb.23: ## in Loop: Header=BB0_11 Depth=3
movq -64(%rbp), %rax ## 8-byte Reload
movzbl (%rax), %eax
cmpb $32, %al
jne LBB0_25
## %bb.24: ## in Loop: Header=BB0_11 Depth=3
incq %r14
jmp LBB0_11
LBB0_25: ## in Loop: Header=BB0_11 Depth=3
movq _ARC_MOD_DOT@GOTPCREL(%rip), %rcx
testl %r12d, (%rcx)
jne LBB0_30
## %bb.26: ## in Loop: Header=BB0_11 Depth=3
movq -64(%rbp), %rcx ## 8-byte Reload
cmpb $46, %al
jne LBB0_32
## %bb.27: ## in Loop: Header=BB0_11 Depth=3
incq %r14
jmp LBB0_11
.p2align 4, 0x90
LBB0_28: ## in Loop: Header=BB0_10 Depth=2
movq $0, -104(%rbp)
movq 16(%rsi), %rax
testq %rax, %rax
movq _arc_operands@GOTPCREL(%rip), %r15
je LBB0_9
## %bb.29: ## in Loop: Header=BB0_10 Depth=2
movq -56(%rbp), %rdi ## 8-byte Reload
movq %rsi, %r13
movl %r12d, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
leaq -104(%rbp), %r9
callq *%rax
movq %rax, -56(%rbp) ## 8-byte Spill
movq -104(%rbp), %rbx
testq %rbx, %rbx
je LBB0_8
jmp LBB0_62
LBB0_30: ## in Loop: Header=BB0_10 Depth=2
cmpb $46, %al
jne LBB0_67
## %bb.31: ## in Loop: Header=BB0_10 Depth=2
movq -64(%rbp), %rax ## 8-byte Reload
leaq 1(%rax), %rcx
movzbl 1(%rax), %eax
LBB0_32: ## in Loop: Header=BB0_10 Depth=2
movq %rsi, -152(%rbp) ## 8-byte Spill
testb %al, %al
je LBB0_37
## %bb.33: ## in Loop: Header=BB0_10 Depth=2
movq %rcx, %rbx
movq %rcx, %r15
.p2align 4, 0x90
LBB0_34: ## Parent Loop BB0_6 Depth=1
## Parent Loop BB0_10 Depth=2
## => This Inner Loop Header: Depth=3
movsbl %al, %edi
callq _ISALNUM
testq %rax, %rax
je LBB0_38
## %bb.35: ## in Loop: Header=BB0_34 Depth=3
movzbl 1(%r15), %eax
incq %r15
testb %al, %al
jne LBB0_34
## %bb.36: ## in Loop: Header=BB0_10 Depth=2
movl $0, -72(%rbp) ## 4-byte Folded Spill
jmp LBB0_39
LBB0_37: ## in Loop: Header=BB0_10 Depth=2
movl $0, -72(%rbp) ## 4-byte Folded Spill
movq %rcx, %r15
jmp LBB0_40
LBB0_38: ## in Loop: Header=BB0_10 Depth=2
movzbl (%r15), %eax
movl %eax, -72(%rbp) ## 4-byte Spill
LBB0_39: ## in Loop: Header=BB0_10 Depth=2
movq %rbx, %rcx
LBB0_40: ## in Loop: Header=BB0_10 Depth=2
movb $0, (%r15)
movq %rcx, %rdi
movq %rcx, -120(%rbp) ## 8-byte Spill
callq _get_ext_suffix
testq %rax, %rax
je LBB0_42
## %bb.41: ## in Loop: Header=BB0_10 Depth=2
movq %rax, %rbx
movl $1, -80(%rbp) ## 4-byte Folded Spill
jmp LBB0_45
LBB0_42: ## in Loop: Header=BB0_10 Depth=2
movq _arc_suffix_hash@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq -120(%rbp), %rsi ## 8-byte Reload
callq _hash_find
testq %rax, %rax
je LBB0_68
## %bb.43: ## in Loop: Header=BB0_10 Depth=2
movq %rax, %rsi
cmpl $0, -80(%rbp) ## 4-byte Folded Reload
je LBB0_55
## %bb.44: ## in Loop: Header=BB0_10 Depth=2
movq %rsi, %rbx
LBB0_45: ## in Loop: Header=BB0_10 Depth=2
movq _arc_operands@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rbx), %rcx
leaq (%rcx,%rcx,4), %rcx
movsbq (%r14), %rdx
cmpq %rdx, 8(%rax,%rcx,8)
jne LBB0_49
## %bb.46: ## in Loop: Header=BB0_10 Depth=2
movl -72(%rbp), %eax ## 4-byte Reload
movb %al, (%r15)
LBB0_47: ## in Loop: Header=BB0_10 Depth=2
movq -152(%rbp), %rsi ## 8-byte Reload
movq 16(%rsi), %rax
movq 8(%rbx), %r8
testq %rax, %rax
je LBB0_50
## %bb.48: ## in Loop: Header=BB0_10 Depth=2
movq -56(%rbp), %rdi ## 8-byte Reload
movl %r12d, %edx
xorl %ecx, %ecx
xorl %r9d, %r9d
callq *%rax
movq %rax, -56(%rbp) ## 8-byte Spill
jmp LBB0_51
LBB0_49: ## in Loop: Header=BB0_10 Depth=2
movq %rbx, %rsi
jmp LBB0_56
LBB0_50: ## in Loop: Header=BB0_10 Depth=2
movzbl 24(%rsi), %ecx
shlq %cl, %r8
orq %r8, -56(%rbp) ## 8-byte Folded Spill
LBB0_51: ## in Loop: Header=BB0_10 Depth=2
incq %r14
movq _MAX_SUFFIXES@GOTPCREL(%rip), %rax
movl -76(%rbp), %ecx ## 4-byte Reload
cmpl (%rax), %ecx
jne LBB0_53
## %bb.52: ## in Loop: Header=BB0_10 Depth=2
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _as_bad
jmp LBB0_54
LBB0_53: ## in Loop: Header=BB0_10 Depth=2
movl %ecx, %eax
cltq
incl %ecx
movl %ecx, -76(%rbp) ## 4-byte Spill
movq -144(%rbp), %rcx ## 8-byte Reload
movq %rbx, (%rcx,%rax,8)
LBB0_54: ## in Loop: Header=BB0_10 Depth=2
movq %r15, -64(%rbp) ## 8-byte Spill
movq _arc_operands@GOTPCREL(%rip), %r15
jmp LBB0_10
LBB0_55: ## in Loop: Header=BB0_10 Depth=2
movl $0, -80(%rbp) ## 4-byte Folded Spill
LBB0_56: ## in Loop: Header=BB0_10 Depth=2
movl -72(%rbp), %eax ## 4-byte Reload
movb %al, (%r15)
movq _arc_suffixes_count@GOTPCREL(%rip), %rax
movslq (%rax), %rax
leaq (%rax,%rax,2), %rcx
shlq $3, %rcx
movq _arc_suffixes@GOTPCREL(%rip), %rax
addq (%rax), %rcx
movq %rcx, -120(%rbp) ## 8-byte Spill
cmpq %rcx, %rsi
ja LBB0_61
## %bb.57: ## in Loop: Header=BB0_10 Depth=2
movq %rsi, %rbx
.p2align 4, 0x90
LBB0_58: ## Parent Loop BB0_6 Depth=1
## Parent Loop BB0_10 Depth=2
## => This Inner Loop Header: Depth=3
movq %rbx, -72(%rbp) ## 8-byte Spill
movl 16(%rbx), %edi
movq %rsi, %rbx
movl 16(%rsi), %esi
callq _strcmp
movq %rbx, %rsi
movq -72(%rbp), %rbx ## 8-byte Reload
testq %rax, %rax
jne LBB0_61
## %bb.59: ## in Loop: Header=BB0_58 Depth=3
movq _arc_operands@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rbx), %rcx
leaq (%rcx,%rcx,4), %rcx
movsbq (%r14), %rdx
cmpq %rdx, 8(%rax,%rcx,8)
je LBB0_47
## %bb.60: ## in Loop: Header=BB0_58 Depth=3
addq $24, %rbx
cmpq -120(%rbp), %rbx ## 8-byte Folded Reload
jbe LBB0_58
LBB0_61: ## in Loop: Header=BB0_10 Depth=2
incq %r14
movq _arc_operands@GOTPCREL(%rip), %r15
jmp LBB0_10
LBB0_62: ## in Loop: Header=BB0_6 Depth=1
movl (%r13), %eax
movq _ARC_OPERAND_ERROR@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
jne LBB0_123
## %bb.63: ## in Loop: Header=BB0_6 Depth=1
movq _ARC_OPERAND_WARN@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_65
## %bb.64: ## in Loop: Header=BB0_6 Depth=1
movq %rbx, %rdi
callq _as_warn
LBB0_65: ## in Loop: Header=BB0_6 Depth=1
movq _arc_operand_map@GOTPCREL(%rip), %r13
jmp LBB0_69
LBB0_66: ## in Loop: Header=BB0_6 Depth=1
movq -96(%rbp), %rbx ## 8-byte Reload
movq -112(%rbp), %r14 ## 8-byte Reload
jmp LBB0_70
LBB0_67: ## in Loop: Header=BB0_6 Depth=1
movq -88(%rbp), %rbx ## 8-byte Reload
jmp LBB0_69
LBB0_68: ## in Loop: Header=BB0_6 Depth=1
movl -72(%rbp), %eax ## 4-byte Reload
movb %al, (%r15)
movq -88(%rbp), %rbx ## 8-byte Reload
movq _arc_operands@GOTPCREL(%rip), %r15
.p2align 4, 0x90
LBB0_69: ## in Loop: Header=BB0_6 Depth=1
cmpb $0, (%r14)
movq %rbx, -88(%rbp) ## 8-byte Spill
movq -96(%rbp), %rbx ## 8-byte Reload
movq -112(%rbp), %r14 ## 8-byte Reload
je LBB0_76
LBB0_70: ## in Loop: Header=BB0_6 Depth=1
movq %rbx, %rsp
movq %r14, %rdi
callq _ARC_OPCODE_NEXT_ASM
testq %rax, %rax
je LBB0_72
## %bb.71: ## in Loop: Header=BB0_6 Depth=1
movq %r14, %rdi
callq _ARC_OPCODE_NEXT_ASM
movq %rax, %r14
testq %r14, %r14
jne LBB0_6
jmp LBB0_74
.p2align 4, 0x90
LBB0_72: ## in Loop: Header=BB0_6 Depth=1
cmpq $0, -128(%rbp) ## 8-byte Folded Reload
je LBB0_74
## %bb.73: ## in Loop: Header=BB0_6 Depth=1
movq $0, -128(%rbp) ## 8-byte Folded Spill
movq -160(%rbp), %r14 ## 8-byte Reload
testq %r14, %r14
jne LBB0_6
LBB0_74:
movq -88(%rbp), %rdi ## 8-byte Reload
testq %rdi, %rdi
movq -136(%rbp), %rbx ## 8-byte Reload
je LBB0_85
## %bb.75:
xorl %eax, %eax
callq _as_bad
jmp LBB0_101
LBB0_76:
movq -64(%rbp), %rbx ## 8-byte Reload
decq %rbx
.p2align 4, 0x90
LBB0_77: ## =>This Inner Loop Header: Depth=1
movsbl 1(%rbx), %edi
incq %rbx
callq _ISSPACE
testq %rax, %rax
jne LBB0_77
## %bb.78:
movq _is_end_of_line@GOTPCREL(%rip), %rax
movq (%rax), %rax
movzbl (%rbx), %ecx
cmpq $0, (%rax,%rcx,8)
movq -144(%rbp), %r12 ## 8-byte Reload
jne LBB0_80
## %bb.79:
leaq L_.str.7(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _as_bad
LBB0_80:
leaq -104(%rbp), %rdi
callq _arc_opcode_limm_p
movq %rax, %r14
movq _ARC_DELAY_NONE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _ARC_OPCODE_COND_BRANCH@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
movq -112(%rbp), %rcx ## 8-byte Reload
andl 16(%rcx), %edx
xorl %ebx, %ebx
movl -76(%rbp), %ecx ## 4-byte Reload
testl %ecx, %ecx
movl %edx, -64(%rbp) ## 4-byte Spill
jle LBB0_86
## %bb.81:
movq (%r15), %rdx
movl %ecx, %esi
cmpl $1, %ecx
jne LBB0_103
## %bb.82:
xorl %edi, %edi
xorl %ecx, %ecx
movl %eax, %r15d
LBB0_83:
testb $1, %sil
jne LBB0_117
LBB0_84:
testl %ecx, %ecx
setne %r13b
testl %ebx, %ebx
setne %bl
jmp LBB0_87
LBB0_85:
leaq L_.str.11(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _as_bad
jmp LBB0_101
LBB0_86:
movl %eax, %r15d
xorl %r13d, %r13d
LBB0_87:
cmpl $0, _md_assemble.in_delay_slot_p(%rip)
setne %cl
testq %r14, %r14
setne %dl
andb %cl, %dl
cmpb $1, %dl
jne LBB0_89
## %bb.88:
leaq L_.str.8(%rip), %rdi
callq _as_warn
movq _ARC_DELAY_NONE@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_89:
testq %r14, %r14
setne %cl
cmpl %eax, %r15d
setne %al
andb %cl, %al
cmpb $1, %al
jne LBB0_92
## %bb.90:
movq -56(%rbp), %rdi ## 8-byte Reload
callq _arc_insn_not_jl
testq %rax, %rax
je LBB0_92
## %bb.91:
leaq L_.str.9(%rip), %rdi
callq _as_warn
LBB0_92:
testq %r14, %r14
sete %r12b
movq _ARC_DELAY_NONE@GOTPCREL(%rip), %rax
cmpl (%rax), %r15d
setne %al
andb %r12b, %al
movzbl %al, %eax
movl %eax, _md_assemble.in_delay_slot_p(%rip)
cmpl $0, -64(%rbp) ## 4-byte Folded Reload
setne %al
andb %r13b, %al
cmpb $1, %al
jne LBB0_96
## %bb.93:
cmpl $0, _md_assemble.prev_insn_needs_cc_nop_p(%rip)
je LBB0_96
## %bb.94:
movq _arc_mach_type@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _bfd_mach_arc_5@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_96
## %bb.95:
leaq L_.str.10(%rip), %rdi
callq _as_warn
LBB0_96:
andb %r12b, %bl
movzbl %bl, %eax
movl %eax, _md_assemble.prev_insn_needs_cc_nop_p(%rip)
testq %r14, %r14
je LBB0_98
## %bb.97:
movl $8, %ebx
movl $8, %edi
callq _frag_more
movq %rax, %r14
movq %rax, %rdi
movq -56(%rbp), %rsi ## 8-byte Reload
movl $4, %edx
callq _md_number_to_chars
addq $4, %r14
movq -104(%rbp), %rsi
movq %r14, %rdi
jmp LBB0_99
LBB0_98:
movl $4, %ebx
movl $4, %edi
callq _frag_more
movq %rax, %rdi
movq -56(%rbp), %rsi ## 8-byte Reload
LBB0_99:
movl $4, %edx
callq _md_number_to_chars
movl %ebx, %edi
callq _dwarf2_emit_insn
LBB0_100:
movq -96(%rbp), %rsp ## 8-byte Reload
LBB0_101:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_125
## %bb.102:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_103:
movl %esi, %r8d
andl $2147483646, %r8d ## imm = 0x7FFFFFFE
xorl %edi, %edi
xorl %ebx, %ebx
xorl %ecx, %ecx
movl %eax, %r15d
jmp LBB0_106
.p2align 4, 0x90
LBB0_104: ## in Loop: Header=BB0_106 Depth=1
movl 8(%r9), %r15d
LBB0_105: ## in Loop: Header=BB0_106 Depth=1
addq $2, %rdi
cmpq %rdi, %r8
je LBB0_83
LBB0_106: ## =>This Inner Loop Header: Depth=1
movq (%r12,%rdi,8), %r9
movq (%r9), %r10
leaq (%r10,%r10,4), %r10
movq 8(%rdx,%r10,8), %r10
cmpq $102, %r10
je LBB0_111
## %bb.107: ## in Loop: Header=BB0_106 Depth=1
cmpq $113, %r10
je LBB0_110
## %bb.108: ## in Loop: Header=BB0_106 Depth=1
cmpq $110, %r10
jne LBB0_112
## %bb.109: ## in Loop: Header=BB0_106 Depth=1
movl 8(%r9), %r15d
jmp LBB0_112
.p2align 4, 0x90
LBB0_110: ## in Loop: Header=BB0_106 Depth=1
movl 8(%r9), %ecx
jmp LBB0_112
.p2align 4, 0x90
LBB0_111: ## in Loop: Header=BB0_106 Depth=1
movl $1, %ebx
LBB0_112: ## in Loop: Header=BB0_106 Depth=1
movq 8(%r12,%rdi,8), %r9
movq (%r9), %r10
leaq (%r10,%r10,4), %r10
movq 8(%rdx,%r10,8), %r10
cmpq $113, %r10
je LBB0_116
## %bb.113: ## in Loop: Header=BB0_106 Depth=1
cmpq $110, %r10
je LBB0_104
## %bb.114: ## in Loop: Header=BB0_106 Depth=1
cmpq $102, %r10
jne LBB0_105
## %bb.115: ## in Loop: Header=BB0_106 Depth=1
movl $1, %ebx
jmp LBB0_105
.p2align 4, 0x90
LBB0_116: ## in Loop: Header=BB0_106 Depth=1
movl 8(%r9), %ecx
jmp LBB0_105
LBB0_117:
movq (%r12,%rdi,8), %rsi
movq (%rsi), %rdi
leaq (%rdi,%rdi,4), %rdi
movq 8(%rdx,%rdi,8), %rdx
cmpq $113, %rdx
je LBB0_122
## %bb.118:
cmpq $110, %rdx
je LBB0_121
## %bb.119:
cmpq $102, %rdx
jne LBB0_84
## %bb.120:
movl $1, %ebx
jmp LBB0_84
LBB0_121:
movl 8(%rsi), %r15d
jmp LBB0_84
LBB0_122:
movl 8(%rsi), %ecx
jmp LBB0_84
LBB0_123:
movq %rbx, %rdi
xorl %eax, %eax
callq _as_bad
jmp LBB0_100
LBB0_124:
xorl %eax, %eax
callq _abort
LBB0_125:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_md_assemble.init_tables_p,1,2 ## @md_assemble.init_tables_p
.comm _arc_mach_type,8,3 ## @arc_mach_type
.comm _arc_ext_opcodes,8,3 ## @arc_ext_opcodes
.comm _MAX_FIXUPS,4,2 ## @MAX_FIXUPS
.comm _MAX_SUFFIXES,4,2 ## @MAX_SUFFIXES
.comm _arc_operands,8,3 ## @arc_operands
.comm _arc_operand_map,8,3 ## @arc_operand_map
.comm _ARC_MOD_BITS,4,2 ## @ARC_MOD_BITS
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "unknown syntax format character `%c'"
.comm _ARC_OPERAND_FAKE,4,2 ## @ARC_OPERAND_FAKE
.comm _ARC_OPERAND_ERROR,4,2 ## @ARC_OPERAND_ERROR
.comm _ARC_OPERAND_WARN,4,2 ## @ARC_OPERAND_WARN
.comm _ARC_OPERAND_LIMM,4,2 ## @ARC_OPERAND_LIMM
.comm _ARC_OPERAND_ABSOLUTE_BRANCH,4,2 ## @ARC_OPERAND_ABSOLUTE_BRANCH
.comm _ARC_OPERAND_ADDRESS,4,2 ## @ARC_OPERAND_ADDRESS
.comm _ARC_OPERAND_SUFFIX,4,2 ## @ARC_OPERAND_SUFFIX
.comm _ARC_MOD_DOT,4,2 ## @ARC_MOD_DOT
.comm _arc_suffix_hash,4,2 ## @arc_suffix_hash
.comm _arc_suffixes,8,3 ## @arc_suffixes
.comm _arc_suffixes_count,4,2 ## @arc_suffixes_count
L_.str.1: ## @.str.1
.asciz "too many suffixes"
.comm _is_end_of_line,8,3 ## @is_end_of_line
.comm _input_line_pointer,8,3 ## @input_line_pointer
.comm _O_illegal,8,3 ## @O_illegal
.comm _O_absent,8,3 ## @O_absent
.comm _O_constant,8,3 ## @O_constant
.comm _O_register,8,3 ## @O_register
L_.str.7: ## @.str.7
.asciz "junk at end of line: `%s'"
.zerofill __DATA,__bss,_md_assemble.in_delay_slot_p,4,2 ## @md_assemble.in_delay_slot_p
.zerofill __DATA,__bss,_md_assemble.prev_insn_needs_cc_nop_p,4,2 ## @md_assemble.prev_insn_needs_cc_nop_p
.comm _ARC_DELAY_NONE,4,2 ## @ARC_DELAY_NONE
.comm _ARC_OPCODE_COND_BRANCH,4,2 ## @ARC_OPCODE_COND_BRANCH
L_.str.8: ## @.str.8
.asciz "8 byte instruction in delay slot"
L_.str.9: ## @.str.9
.asciz "8 byte jump instruction with delay slot"
.comm _bfd_mach_arc_5,8,3 ## @bfd_mach_arc_5
L_.str.10: ## @.str.10
.asciz "conditional branch follows set of flags"
.comm _BFD_RELOC_32,4,2 ## @BFD_RELOC_32
.comm _BFD_RELOC_ARC_B26,4,2 ## @BFD_RELOC_ARC_B26
.comm _BFD_RELOC_UNUSED,8,3 ## @BFD_RELOC_UNUSED
.comm _frag_now,8,3 ## @frag_now
.comm _ARC_OPERAND_RELATIVE_BRANCH,4,2 ## @ARC_OPERAND_RELATIVE_BRANCH
L_.str.11: ## @.str.11
.asciz "bad instruction `%s'"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _md_assemble ; -- Begin function md_assemble
.p2align 2
_md_assemble: ; @md_assemble
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
sub sp, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-88]
adrp x20, _md_assemble.init_tables_p@PAGE
ldrb w8, [x20, _md_assemble.init_tables_p@PAGEOFF]
tbnz w8, #0, LBB0_2
; %bb.1:
Lloh3:
adrp x8, _arc_mach_type@GOTPAGE
Lloh4:
ldr x8, [x8, _arc_mach_type@GOTPAGEOFF]
Lloh5:
ldr x0, [x8]
bl _init_opcode_tables
mov w8, #1 ; =0x1
strb w8, [x20, _md_assemble.init_tables_p@PAGEOFF]
LBB0_2:
add x20, x19, #1
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldrsb w0, [x20, #-1]!
bl _ISSPACE
cbnz x0, LBB0_3
; %bb.4:
Lloh6:
adrp x8, _arc_ext_opcodes@GOTPAGE
Lloh7:
ldr x8, [x8, _arc_ext_opcodes@GOTPAGEOFF]
Lloh8:
ldr x19, [x8]
mov x0, x20
bl _arc_opcode_lookup_asm
cmp x19, #0
stur x0, [x29, #-184] ; 8-byte Folded Spill
csel x25, x0, x19, eq
cbz x25, LBB0_87
; %bb.5:
stp x19, x20, [x29, #-176] ; 16-byte Folded Spill
stur xzr, [x29, #-192] ; 8-byte Folded Spill
Lloh9:
adrp x22, _arc_operands@GOTPAGE
Lloh10:
ldr x22, [x22, _arc_operands@GOTPAGEOFF]
Lloh11:
adrp x23, _arc_operand_map@GOTPAGE
Lloh12:
ldr x23, [x23, _arc_operand_map@GOTPAGEOFF]
mov w19, #40 ; =0x28
Lloh13:
adrp x20, _ARC_MOD_BITS@GOTPAGE
Lloh14:
ldr x20, [x20, _ARC_MOD_BITS@GOTPAGEOFF]
LBB0_6: ; =>This Loop Header: Depth=1
; Child Loop BB0_9 Depth 2
; Child Loop BB0_16 Depth 3
; Child Loop BB0_33 Depth 3
; Child Loop BB0_56 Depth 3
mov x24, sp
Lloh15:
adrp x8, _MAX_SUFFIXES@GOTPAGE
Lloh16:
ldr x8, [x8, _MAX_SUFFIXES@GOTPAGEOFF]
Lloh17:
ldr w8, [x8]
lsl x8, x8, #3
mov x9, x8
Lloh18:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh19:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0xffffffff0
sub x8, x9, x8
stur x8, [x29, #-144] ; 8-byte Folded Spill
mov sp, x8
mov x0, x25
bl _arc_opcode_supported
cbz w0, LBB0_67
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
stur x24, [x29, #-152] ; 8-byte Folded Spill
bl _arc_opcode_init_insert
stur xzr, [x29, #-128] ; 8-byte Folded Spill
stur x25, [x29, #-160] ; 8-byte Folded Spill
ldp x28, x25, [x25]
ldur x24, [x29, #-168] ; 8-byte Folded Reload
b LBB0_9
LBB0_8: ; in Loop: Header=BB0_9 Depth=2
add x25, x25, #1
LBB0_9: ; Parent Loop BB0_6 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_16 Depth 3
; Child Loop BB0_33 Depth 3
; Child Loop BB0_56 Depth 3
ldrb w8, [x25]
cmp w8, #37
b.eq LBB0_15
; %bb.10: ; in Loop: Header=BB0_9 Depth=2
cbz w8, LBB0_73
; %bb.11: ; in Loop: Header=BB0_9 Depth=2
mov x9, x25
ldrb w8, [x9, #1]!
cmp w8, #37
b.ne LBB0_14
; %bb.12: ; in Loop: Header=BB0_9 Depth=2
ldrb w8, [x24]
cmp w8, #37
b.ne LBB0_63
; %bb.13: ; in Loop: Header=BB0_9 Depth=2
add x25, x25, #2
add x24, x24, #1
b LBB0_9
LBB0_14: ; in Loop: Header=BB0_9 Depth=2
mov x25, x9
LBB0_15: ; in Loop: Header=BB0_9 Depth=2
ldr x9, [x22]
ldr x10, [x23]
sxtb x8, w8
ldr x8, [x10, x8, lsl #3]
mul x8, x8, x19
ldr w0, [x9, x8]
bl _ARC_MOD_P
mov w26, #0 ; =0x0
cbz x0, LBB0_17
LBB0_16: ; Parent Loop BB0_6 Depth=1
; Parent Loop BB0_9 Depth=2
; => This Inner Loop Header: Depth=3
ldr x8, [x22]
ldr x9, [x23]
ldrsb x10, [x25]
ldr x10, [x9, x10, lsl #3]
mul x10, x10, x19
ldr w10, [x8, x10]
ldr w11, [x20]
and w10, w11, w10
ldrsb x11, [x25, #1]!
orr w26, w10, w26
ldr x9, [x9, x11, lsl #3]
mul x9, x9, x19
ldr w0, [x8, x9]
bl _ARC_MOD_P
cbnz x0, LBB0_16
LBB0_17: ; in Loop: Header=BB0_9 Depth=2
ldr x9, [x22]
ldr x10, [x23]
ldrsb x8, [x25]
ldr x10, [x10, x8, lsl #3]
mneg x10, x10, x19
add x27, x9, x10
ldr x9, [x27, #8]
cbnz x9, LBB0_19
; %bb.18: ; in Loop: Header=BB0_9 Depth=2
; kill: def $w8 killed $w8 killed $x8 def $x8
str x8, [sp, #-16]!
Lloh20:
adrp x0, l_.str@PAGE
Lloh21:
add x0, x0, l_.str@PAGEOFF
bl _as_fatal
add sp, sp, #16
LBB0_19: ; in Loop: Header=BB0_9 Depth=2
ldr w8, [x27]
Lloh22:
adrp x9, _ARC_OPERAND_FAKE@GOTPAGE
Lloh23:
ldr x9, [x9, _ARC_OPERAND_FAKE@GOTPAGEOFF]
Lloh24:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_23
; %bb.20: ; in Loop: Header=BB0_9 Depth=2
stur xzr, [x29, #-96]
ldr x8, [x27, #16]
cbz x8, LBB0_8
; %bb.21: ; in Loop: Header=BB0_9 Depth=2
stur x24, [x29, #-104] ; 8-byte Folded Spill
sub x5, x29, #96
mov x0, x28
mov x1, x27
mov x2, x26
mov x3, #0 ; =0x0
mov x4, #0 ; =0x0
blr x8
mov x28, x0
ldur x24, [x29, #-96]
cbnz x24, LBB0_60
; %bb.22: ; in Loop: Header=BB0_9 Depth=2
ldur x24, [x29, #-104] ; 8-byte Folded Reload
b LBB0_8
LBB0_23: ; in Loop: Header=BB0_9 Depth=2
Lloh25:
adrp x9, _ARC_OPERAND_SUFFIX@GOTPAGE
Lloh26:
ldr x9, [x9, _ARC_OPERAND_SUFFIX@GOTPAGEOFF]
Lloh27:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_106
; %bb.24: ; in Loop: Header=BB0_9 Depth=2
ldrb w8, [x24]
cmp w8, #32
b.ne LBB0_26
; %bb.25: ; in Loop: Header=BB0_9 Depth=2
add x25, x25, #1
b LBB0_9
LBB0_26: ; in Loop: Header=BB0_9 Depth=2
Lloh28:
adrp x9, _ARC_MOD_DOT@GOTPAGE
Lloh29:
ldr x9, [x9, _ARC_MOD_DOT@GOTPAGEOFF]
Lloh30:
ldr w9, [x9]
tst w9, w26
b.eq LBB0_29
; %bb.27: ; in Loop: Header=BB0_9 Depth=2
cmp w8, #46
b.ne LBB0_64
; %bb.28: ; in Loop: Header=BB0_9 Depth=2
mov x21, x24
ldrb w8, [x21, #1]!
b LBB0_31
LBB0_29: ; in Loop: Header=BB0_9 Depth=2
mov x21, x24
cmp w8, #46
b.ne LBB0_31
; %bb.30: ; in Loop: Header=BB0_9 Depth=2
add x25, x25, #1
b LBB0_9
LBB0_31: ; in Loop: Header=BB0_9 Depth=2
stur x24, [x29, #-104] ; 8-byte Folded Spill
stur x28, [x29, #-120] ; 8-byte Folded Spill
cbz w8, LBB0_36
; %bb.32: ; in Loop: Header=BB0_9 Depth=2
stur x21, [x29, #-136] ; 8-byte Folded Spill
mov x24, x21
LBB0_33: ; Parent Loop BB0_6 Depth=1
; Parent Loop BB0_9 Depth=2
; => This Inner Loop Header: Depth=3
sxtb w0, w8
bl _ISALNUM
cbz x0, LBB0_37
; %bb.34: ; in Loop: Header=BB0_33 Depth=3
ldrb w8, [x24, #1]!
cbnz w8, LBB0_33
; %bb.35: ; in Loop: Header=BB0_9 Depth=2
stur wzr, [x29, #-112] ; 4-byte Folded Spill
b LBB0_38
LBB0_36: ; in Loop: Header=BB0_9 Depth=2
stur wzr, [x29, #-112] ; 4-byte Folded Spill
mov x24, x21
b LBB0_39
LBB0_37: ; in Loop: Header=BB0_9 Depth=2
ldrb w8, [x24]
stur w8, [x29, #-112] ; 4-byte Folded Spill
LBB0_38: ; in Loop: Header=BB0_9 Depth=2
ldur x21, [x29, #-136] ; 8-byte Folded Reload
LBB0_39: ; in Loop: Header=BB0_9 Depth=2
strb wzr, [x24]
mov x0, x21
bl _get_ext_suffix
cbz x0, LBB0_41
; %bb.40: ; in Loop: Header=BB0_9 Depth=2
mov x28, x0
mov w8, #1 ; =0x1
stur w8, [x29, #-124] ; 4-byte Folded Spill
b LBB0_44
LBB0_41: ; in Loop: Header=BB0_9 Depth=2
Lloh31:
adrp x8, _arc_suffix_hash@GOTPAGE
Lloh32:
ldr x8, [x8, _arc_suffix_hash@GOTPAGEOFF]
Lloh33:
ldr w0, [x8]
mov x1, x21
bl _hash_find
cbz x0, LBB0_65
; %bb.42: ; in Loop: Header=BB0_9 Depth=2
mov x21, x0
ldur w8, [x29, #-124] ; 4-byte Folded Reload
cbz w8, LBB0_53
; %bb.43: ; in Loop: Header=BB0_9 Depth=2
mov x28, x21
LBB0_44: ; in Loop: Header=BB0_9 Depth=2
ldr x8, [x22]
ldr x9, [x28]
madd x8, x9, x19, x8
ldr x8, [x8, #8]
ldrsb x9, [x25]
cmp x8, x9
b.ne LBB0_48
; %bb.45: ; in Loop: Header=BB0_9 Depth=2
ldur w8, [x29, #-112] ; 4-byte Folded Reload
strb w8, [x24]
LBB0_46: ; in Loop: Header=BB0_9 Depth=2
ldr x8, [x27, #16]
ldr x4, [x28, #8]
cbz x8, LBB0_49
; %bb.47: ; in Loop: Header=BB0_9 Depth=2
ldur x0, [x29, #-120] ; 8-byte Folded Reload
mov x1, x27
mov x2, x26
mov x3, #0 ; =0x0
mov x5, #0 ; =0x0
blr x8
stur x0, [x29, #-120] ; 8-byte Folded Spill
b LBB0_50
LBB0_48: ; in Loop: Header=BB0_9 Depth=2
mov x21, x28
b LBB0_54
LBB0_49: ; in Loop: Header=BB0_9 Depth=2
ldr x8, [x27, #24]
lsl x8, x4, x8
ldur x9, [x29, #-120] ; 8-byte Folded Reload
orr x9, x8, x9
stur x9, [x29, #-120] ; 8-byte Folded Spill
LBB0_50: ; in Loop: Header=BB0_9 Depth=2
add x25, x25, #1
Lloh34:
adrp x8, _MAX_SUFFIXES@GOTPAGE
Lloh35:
ldr x8, [x8, _MAX_SUFFIXES@GOTPAGEOFF]
Lloh36:
ldr w8, [x8]
ldur w9, [x29, #-128] ; 4-byte Folded Reload
cmp w9, w8
b.ne LBB0_52
; %bb.51: ; in Loop: Header=BB0_9 Depth=2
Lloh37:
adrp x0, l_.str.1@PAGE
Lloh38:
add x0, x0, l_.str.1@PAGEOFF
bl _as_bad
ldur x28, [x29, #-120] ; 8-byte Folded Reload
b LBB0_9
LBB0_52: ; in Loop: Header=BB0_9 Depth=2
ldur x8, [x29, #-144] ; 8-byte Folded Reload
str x28, [x8, w9, sxtw #3]
add w8, w9, #1
stur w8, [x29, #-128] ; 4-byte Folded Spill
ldur x28, [x29, #-120] ; 8-byte Folded Reload
b LBB0_9
LBB0_53: ; in Loop: Header=BB0_9 Depth=2
stur wzr, [x29, #-124] ; 4-byte Folded Spill
LBB0_54: ; in Loop: Header=BB0_9 Depth=2
ldur w8, [x29, #-112] ; 4-byte Folded Reload
strb w8, [x24]
Lloh39:
adrp x8, _arc_suffixes@GOTPAGE
Lloh40:
ldr x8, [x8, _arc_suffixes@GOTPAGEOFF]
Lloh41:
ldr x8, [x8]
Lloh42:
adrp x9, _arc_suffixes_count@GOTPAGE
Lloh43:
ldr x9, [x9, _arc_suffixes_count@GOTPAGEOFF]
Lloh44:
ldrsw x9, [x9]
mov w10, #24 ; =0x18
smaddl x8, w9, w10, x8
stur x8, [x29, #-112] ; 8-byte Folded Spill
cmp x21, x8
b.hi LBB0_59
; %bb.55: ; in Loop: Header=BB0_9 Depth=2
mov x28, x21
LBB0_56: ; Parent Loop BB0_6 Depth=1
; Parent Loop BB0_9 Depth=2
; => This Inner Loop Header: Depth=3
ldr w0, [x28, #16]
ldr w1, [x21, #16]
bl _strcmp
cbnz x0, LBB0_59
; %bb.57: ; in Loop: Header=BB0_56 Depth=3
ldr x8, [x22]
ldr x9, [x28]
madd x8, x9, x19, x8
ldr x8, [x8, #8]
ldrsb x9, [x25]
cmp x8, x9
b.eq LBB0_46
; %bb.58: ; in Loop: Header=BB0_56 Depth=3
add x28, x28, #24
ldur x8, [x29, #-112] ; 8-byte Folded Reload
cmp x28, x8
b.ls LBB0_56
LBB0_59: ; in Loop: Header=BB0_9 Depth=2
add x25, x25, #1
ldur x28, [x29, #-120] ; 8-byte Folded Reload
ldur x24, [x29, #-104] ; 8-byte Folded Reload
b LBB0_9
LBB0_60: ; in Loop: Header=BB0_6 Depth=1
ldr w8, [x27]
Lloh45:
adrp x9, _ARC_OPERAND_ERROR@GOTPAGE
Lloh46:
ldr x9, [x9, _ARC_OPERAND_ERROR@GOTPAGEOFF]
Lloh47:
ldr w9, [x9]
tst w9, w8
b.ne LBB0_105
; %bb.61: ; in Loop: Header=BB0_6 Depth=1
Lloh48:
adrp x9, _ARC_OPERAND_WARN@GOTPAGE
Lloh49:
ldr x9, [x9, _ARC_OPERAND_WARN@GOTPAGEOFF]
Lloh50:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_66
; %bb.62: ; in Loop: Header=BB0_6 Depth=1
mov x0, x24
bl _as_warn
b LBB0_66
LBB0_63: ; in Loop: Header=BB0_6 Depth=1
ldp x25, x24, [x29, #-160] ; 16-byte Folded Reload
b LBB0_67
LBB0_64: ; in Loop: Header=BB0_6 Depth=1
stur x24, [x29, #-104] ; 8-byte Folded Spill
ldur x24, [x29, #-192] ; 8-byte Folded Reload
b LBB0_66
LBB0_65: ; in Loop: Header=BB0_6 Depth=1
ldur w8, [x29, #-112] ; 4-byte Folded Reload
strb w8, [x24]
ldur x24, [x29, #-192] ; 8-byte Folded Reload
ldur x28, [x29, #-120] ; 8-byte Folded Reload
LBB0_66: ; in Loop: Header=BB0_6 Depth=1
ldrb w8, [x25]
stur x24, [x29, #-192] ; 8-byte Folded Spill
ldp x25, x24, [x29, #-160] ; 16-byte Folded Reload
cbz w8, LBB0_74
LBB0_67: ; in Loop: Header=BB0_6 Depth=1
mov sp, x24
mov x0, x25
bl _ARC_OPCODE_NEXT_ASM
cbz x0, LBB0_69
; %bb.68: ; in Loop: Header=BB0_6 Depth=1
mov x0, x25
bl _ARC_OPCODE_NEXT_ASM
mov x25, x0
cbnz x25, LBB0_6
b LBB0_71
LBB0_69: ; in Loop: Header=BB0_6 Depth=1
ldur x8, [x29, #-176] ; 8-byte Folded Reload
cbz x8, LBB0_71
; %bb.70: ; in Loop: Header=BB0_6 Depth=1
stur xzr, [x29, #-176] ; 8-byte Folded Spill
ldur x25, [x29, #-184] ; 8-byte Folded Reload
cbnz x25, LBB0_6
LBB0_71:
ldur x0, [x29, #-192] ; 8-byte Folded Reload
ldur x20, [x29, #-168] ; 8-byte Folded Reload
cbz x0, LBB0_87
; %bb.72:
bl _as_bad
b LBB0_103
LBB0_73:
stur x24, [x29, #-104] ; 8-byte Folded Spill
ldur x25, [x29, #-160] ; 8-byte Folded Reload
LBB0_74:
ldur x8, [x29, #-104] ; 8-byte Folded Reload
sub x19, x8, #1
LBB0_75: ; =>This Inner Loop Header: Depth=1
ldrsb w0, [x19, #1]!
bl _ISSPACE
cbnz x0, LBB0_75
; %bb.76:
Lloh51:
adrp x8, _is_end_of_line@GOTPAGE
Lloh52:
ldr x8, [x8, _is_end_of_line@GOTPAGEOFF]
Lloh53:
ldr x8, [x8]
ldrb w9, [x19]
ldr x8, [x8, x9, lsl #3]
ldur w23, [x29, #-128] ; 4-byte Folded Reload
cbnz x8, LBB0_78
; %bb.77:
str x19, [sp, #-16]!
Lloh54:
adrp x0, l_.str.7@PAGE
Lloh55:
add x0, x0, l_.str.7@PAGEOFF
bl _as_bad
add sp, sp, #16
LBB0_78:
sub x0, x29, #96
bl _arc_opcode_limm_p
mov x21, x0
Lloh56:
adrp x19, _ARC_DELAY_NONE@GOTPAGE
Lloh57:
ldr x19, [x19, _ARC_DELAY_NONE@GOTPAGEOFF]
ldr w8, [x19]
Lloh58:
adrp x9, _ARC_OPCODE_COND_BRANCH@GOTPAGE
Lloh59:
ldr x9, [x9, _ARC_OPCODE_COND_BRANCH@GOTPAGEOFF]
cmp w23, #1
b.lt LBB0_89
; %bb.79:
mov w10, #0 ; =0x0
mov w11, #0 ; =0x0
ldr x12, [x22]
mov w13, #40 ; =0x28
mov x20, x8
mov w14, w23
ldur x17, [x29, #-144] ; 8-byte Folded Reload
b LBB0_82
LBB0_80: ; in Loop: Header=BB0_82 Depth=1
ldr w11, [x15, #8]
LBB0_81: ; in Loop: Header=BB0_82 Depth=1
add x17, x17, #8
subs x14, x14, #1
b.eq LBB0_88
LBB0_82: ; =>This Inner Loop Header: Depth=1
ldr x15, [x17]
ldr x16, [x15]
madd x16, x16, x13, x12
ldr x16, [x16, #8]
cmp x16, #102
b.eq LBB0_86
; %bb.83: ; in Loop: Header=BB0_82 Depth=1
cmp x16, #113
b.eq LBB0_80
; %bb.84: ; in Loop: Header=BB0_82 Depth=1
cmp x16, #110
b.ne LBB0_81
; %bb.85: ; in Loop: Header=BB0_82 Depth=1
ldr w20, [x15, #8]
b LBB0_81
LBB0_86: ; in Loop: Header=BB0_82 Depth=1
mov w10, #1 ; =0x1
b LBB0_81
LBB0_87:
str x20, [sp, #-16]!
Lloh60:
adrp x0, l_.str.11@PAGE
Lloh61:
add x0, x0, l_.str.11@PAGEOFF
bl _as_bad
add sp, sp, #16
b LBB0_103
LBB0_88:
cmp w11, #0
cset w23, ne
cmp w10, #0
cset w22, ne
b LBB0_90
LBB0_89:
mov w23, #0 ; =0x0
mov w22, #0 ; =0x0
mov x20, x8
LBB0_90:
ldr w25, [x25, #16]
ldr w26, [x9]
adrp x24, _md_assemble.in_delay_slot_p@PAGE
ldr w9, [x24, _md_assemble.in_delay_slot_p@PAGEOFF]
cbz w9, LBB0_93
; %bb.91:
cbz x21, LBB0_93
; %bb.92:
Lloh62:
adrp x0, l_.str.8@PAGE
Lloh63:
add x0, x0, l_.str.8@PAGEOFF
bl _as_warn
ldr w8, [x19]
LBB0_93:
and w25, w26, w25
cmp w20, w8
ccmp x21, #0, #4, ne
b.eq LBB0_96
; %bb.94:
mov x0, x28
bl _arc_insn_not_jl
cbz x0, LBB0_96
; %bb.95:
Lloh64:
adrp x0, l_.str.9@PAGE
Lloh65:
add x0, x0, l_.str.9@PAGEOFF
bl _as_warn
LBB0_96:
ldr w8, [x19]
cmp w20, w8
cset w8, ne
cmp x21, #0
cset w19, eq
csel w8, wzr, w8, ne
str w8, [x24, _md_assemble.in_delay_slot_p@PAGEOFF]
cmp w25, #0
cset w8, ne
and w8, w8, w23
adrp x20, _md_assemble.prev_insn_needs_cc_nop_p@PAGE
ldr w9, [x20, _md_assemble.prev_insn_needs_cc_nop_p@PAGEOFF]
cmp w8, #1
ccmp w9, #0, #4, eq
b.eq LBB0_99
; %bb.97:
Lloh66:
adrp x8, _arc_mach_type@GOTPAGE
Lloh67:
ldr x8, [x8, _arc_mach_type@GOTPAGEOFF]
Lloh68:
ldr x8, [x8]
Lloh69:
adrp x9, _bfd_mach_arc_5@GOTPAGE
Lloh70:
ldr x9, [x9, _bfd_mach_arc_5@GOTPAGEOFF]
Lloh71:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_99
; %bb.98:
Lloh72:
adrp x0, l_.str.10@PAGE
Lloh73:
add x0, x0, l_.str.10@PAGEOFF
bl _as_warn
LBB0_99:
and w8, w22, w19
str w8, [x20, _md_assemble.prev_insn_needs_cc_nop_p@PAGEOFF]
ldur x20, [x29, #-152] ; 8-byte Folded Reload
cbz x21, LBB0_101
; %bb.100:
mov w19, #8 ; =0x8
mov w0, #8 ; =0x8
bl _frag_more
mov x21, x0
mov x1, x28
mov w2, #4 ; =0x4
bl _md_number_to_chars
ldur x1, [x29, #-96]
add x0, x21, #4
b LBB0_102
LBB0_101:
mov w19, #4 ; =0x4
mov w0, #4 ; =0x4
bl _frag_more
mov x1, x28
LBB0_102:
mov w2, #4 ; =0x4
bl _md_number_to_chars
mov x0, x19
bl _dwarf2_emit_insn
mov sp, x20
LBB0_103:
ldur x8, [x29, #-88]
Lloh74:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh75:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh76:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_107
; %bb.104:
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_105:
mov x0, x24
bl _as_bad
ldur x8, [x29, #-152] ; 8-byte Folded Reload
mov sp, x8
b LBB0_103
LBB0_106:
bl _abort
LBB0_107:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36
.loh AdrpAdd Lloh37, Lloh38
.loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44
.loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41
.loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47
.loh AdrpLdrGotLdr Lloh48, Lloh49, Lloh50
.loh AdrpLdrGotLdr Lloh51, Lloh52, Lloh53
.loh AdrpAdd Lloh54, Lloh55
.loh AdrpLdrGot Lloh58, Lloh59
.loh AdrpLdrGot Lloh56, Lloh57
.loh AdrpAdd Lloh60, Lloh61
.loh AdrpAdd Lloh62, Lloh63
.loh AdrpAdd Lloh64, Lloh65
.loh AdrpLdrGotLdr Lloh69, Lloh70, Lloh71
.loh AdrpLdrGotLdr Lloh66, Lloh67, Lloh68
.loh AdrpAdd Lloh72, Lloh73
.loh AdrpLdrGotLdr Lloh74, Lloh75, Lloh76
.loh AdrpLdrGot Lloh18, Lloh19
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_md_assemble.init_tables_p,1,2 ; @md_assemble.init_tables_p
.comm _arc_mach_type,8,3 ; @arc_mach_type
.comm _arc_ext_opcodes,8,3 ; @arc_ext_opcodes
.comm _MAX_FIXUPS,4,2 ; @MAX_FIXUPS
.comm _MAX_SUFFIXES,4,2 ; @MAX_SUFFIXES
.comm _arc_operands,8,3 ; @arc_operands
.comm _arc_operand_map,8,3 ; @arc_operand_map
.comm _ARC_MOD_BITS,4,2 ; @ARC_MOD_BITS
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "unknown syntax format character `%c'"
.comm _ARC_OPERAND_FAKE,4,2 ; @ARC_OPERAND_FAKE
.comm _ARC_OPERAND_ERROR,4,2 ; @ARC_OPERAND_ERROR
.comm _ARC_OPERAND_WARN,4,2 ; @ARC_OPERAND_WARN
.comm _ARC_OPERAND_LIMM,4,2 ; @ARC_OPERAND_LIMM
.comm _ARC_OPERAND_ABSOLUTE_BRANCH,4,2 ; @ARC_OPERAND_ABSOLUTE_BRANCH
.comm _ARC_OPERAND_ADDRESS,4,2 ; @ARC_OPERAND_ADDRESS
.comm _ARC_OPERAND_SUFFIX,4,2 ; @ARC_OPERAND_SUFFIX
.comm _ARC_MOD_DOT,4,2 ; @ARC_MOD_DOT
.comm _arc_suffix_hash,4,2 ; @arc_suffix_hash
.comm _arc_suffixes,8,3 ; @arc_suffixes
.comm _arc_suffixes_count,4,2 ; @arc_suffixes_count
l_.str.1: ; @.str.1
.asciz "too many suffixes"
.comm _is_end_of_line,8,3 ; @is_end_of_line
.comm _input_line_pointer,8,3 ; @input_line_pointer
.comm _O_illegal,8,3 ; @O_illegal
.comm _O_absent,8,3 ; @O_absent
.comm _O_constant,8,3 ; @O_constant
.comm _O_register,8,3 ; @O_register
l_.str.7: ; @.str.7
.asciz "junk at end of line: `%s'"
.zerofill __DATA,__bss,_md_assemble.in_delay_slot_p,4,2 ; @md_assemble.in_delay_slot_p
.zerofill __DATA,__bss,_md_assemble.prev_insn_needs_cc_nop_p,4,2 ; @md_assemble.prev_insn_needs_cc_nop_p
.comm _ARC_DELAY_NONE,4,2 ; @ARC_DELAY_NONE
.comm _ARC_OPCODE_COND_BRANCH,4,2 ; @ARC_OPCODE_COND_BRANCH
l_.str.8: ; @.str.8
.asciz "8 byte instruction in delay slot"
l_.str.9: ; @.str.9
.asciz "8 byte jump instruction with delay slot"
.comm _bfd_mach_arc_5,8,3 ; @bfd_mach_arc_5
l_.str.10: ; @.str.10
.asciz "conditional branch follows set of flags"
.comm _BFD_RELOC_32,4,2 ; @BFD_RELOC_32
.comm _BFD_RELOC_ARC_B26,4,2 ; @BFD_RELOC_ARC_B26
.comm _BFD_RELOC_UNUSED,8,3 ; @BFD_RELOC_UNUSED
.comm _frag_now,8,3 ; @frag_now
.comm _ARC_OPERAND_RELATIVE_BRANCH,4,2 ; @ARC_OPERAND_RELATIVE_BRANCH
l_.str.11: ; @.str.11
.asciz "bad instruction `%s'"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function cp_get_ethtool_stats
_cp_get_ethtool_stats: ## @cp_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 $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
callq _netdev_priv
movq %rax, %rbx
movq (%rax), %rdi
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %ecx
leaq -48(%rbp), %rdx
movl $52, %esi
callq _dma_alloc_coherent
testq %rax, %rax
je LBB0_5
## %bb.1:
movq %rax, %r15
movq %rbx, -64(%rbp) ## 8-byte Spill
movq _StatsAddr@GOTPCREL(%rip), %rbx
movq (%rbx), %rdi
addq $-4, %rdi
callq _cpw32
movq (%rbx), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
movl -48(%rbp), %r13d
movl $32, %edi
callq _DMA_BIT_MASK
orl %eax, %r13d
movq _DumpStats@GOTPCREL(%rip), %r12
orl (%r12), %r13d
movq -56(%rbp), %rdi ## 8-byte Reload
movl %r13d, %esi
callq _cpw32
movq (%rbx), %rdi
callq _cpr32
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq (%rbx), %rdi
callq _cpr32
testl %eax, (%r12)
je LBB0_4
## %bb.2: ## in Loop: Header=BB0_3 Depth=1
movl $10, %edi
callq _udelay
jmp LBB0_3
LBB0_4:
movq (%rbx), %rdi
xorl %esi, %esi
callq _cpw32
movq (%rbx), %rdi
addq $4, %rdi
xorl %esi, %esi
callq _cpw32
movq (%rbx), %rdi
callq _cpr32
movl 48(%r15), %edi
callq _le64_to_cpu
movl %eax, (%r14)
movl 44(%r15), %edi
callq _le64_to_cpu
movl %eax, 4(%r14)
movl 40(%r15), %edi
callq _le64_to_cpu
movl %eax, 8(%r14)
movl 36(%r15), %edi
callq _le32_to_cpu
movl %eax, 12(%r14)
movl 32(%r15), %edi
callq _le16_to_cpu
movl %eax, 16(%r14)
movl 28(%r15), %edi
callq _le16_to_cpu
movl %eax, 20(%r14)
movl 24(%r15), %edi
callq _le32_to_cpu
movl %eax, 24(%r14)
movl 20(%r15), %edi
callq _le32_to_cpu
movl %eax, 28(%r14)
movl 16(%r15), %edi
callq _le64_to_cpu
movl %eax, 32(%r14)
movl 12(%r15), %edi
callq _le64_to_cpu
movl %eax, 36(%r14)
movl 8(%r15), %edi
callq _le32_to_cpu
movl %eax, 40(%r14)
movl 4(%r15), %edi
callq _le16_to_cpu
movl %eax, 44(%r14)
movl (%r15), %edi
callq _le16_to_cpu
movl %eax, 48(%r14)
movq -64(%rbp), %rbx ## 8-byte Reload
movl 8(%rbx), %eax
movl %eax, 52(%r14)
movq _CP_NUM_STATS@GOTPCREL(%rip), %rax
xorl %edi, %edi
cmpl $14, (%rax)
setne %dil
callq _BUG_ON
movq (%rbx), %rdi
movq -48(%rbp), %rcx
movl $52, %esi
movq %r15, %rdx
callq _dma_free_coherent
LBB0_5:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _StatsAddr,8,3 ## @StatsAddr
.comm _DumpStats,4,2 ## @DumpStats
.comm _CP_NUM_STATS,4,2 ## @CP_NUM_STATS
.no_dead_strip _cp_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 cp_get_ethtool_stats
_cp_get_ethtool_stats: ; @cp_get_ethtool_stats
.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 x20, x2
bl _netdev_priv
mov x19, x0
ldr x0, [x0]
Lloh0:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh1:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
ldr w3, [x8]
add x2, sp, #8
mov w1, #52 ; =0x34
bl _dma_alloc_coherent
cbz x0, LBB0_5
; %bb.1:
mov x21, x0
Lloh3:
adrp x23, _StatsAddr@GOTPAGE
Lloh4:
ldr x23, [x23, _StatsAddr@GOTPAGEOFF]
ldr x8, [x23]
sub x0, x8, #4
bl _cpw32
ldr x22, [x23]
ldr w24, [sp, #8]
mov w0, #32 ; =0x20
bl _DMA_BIT_MASK
orr w8, w0, w24
Lloh5:
adrp x24, _DumpStats@GOTPAGE
Lloh6:
ldr x24, [x24, _DumpStats@GOTPAGEOFF]
ldr w9, [x24]
orr w1, w8, w9
mov x0, x22
bl _cpw32
ldr x0, [x23]
bl _cpr32
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x0, [x23]
bl _cpr32
ldr w8, [x24]
tst w8, w0
b.eq LBB0_4
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
mov w0, #10 ; =0xa
bl _udelay
b LBB0_2
LBB0_4:
ldr x0, [x23]
mov w1, #0 ; =0x0
bl _cpw32
ldr x8, [x23]
add x0, x8, #4
mov w1, #0 ; =0x0
bl _cpw32
ldr x0, [x23]
bl _cpr32
ldr w0, [x21, #48]
bl _le64_to_cpu
str w0, [x20]
ldr w0, [x21, #44]
bl _le64_to_cpu
str w0, [x20, #4]
ldr w0, [x21, #40]
bl _le64_to_cpu
str w0, [x20, #8]
ldr w0, [x21, #36]
bl _le32_to_cpu
str w0, [x20, #12]
ldr w0, [x21, #32]
bl _le16_to_cpu
str w0, [x20, #16]
ldr w0, [x21, #28]
bl _le16_to_cpu
str w0, [x20, #20]
ldr w0, [x21, #24]
bl _le32_to_cpu
str w0, [x20, #24]
ldr w0, [x21, #20]
bl _le32_to_cpu
str w0, [x20, #28]
ldr w0, [x21, #16]
bl _le64_to_cpu
str w0, [x20, #32]
ldr w0, [x21, #12]
bl _le64_to_cpu
str w0, [x20, #36]
ldr w0, [x21, #8]
bl _le32_to_cpu
str w0, [x20, #40]
ldr w0, [x21, #4]
bl _le16_to_cpu
str w0, [x20, #44]
ldr w0, [x21]
bl _le16_to_cpu
str w0, [x20, #48]
ldr w8, [x19, #8]
str w8, [x20, #52]
Lloh7:
adrp x8, _CP_NUM_STATS@GOTPAGE
Lloh8:
ldr x8, [x8, _CP_NUM_STATS@GOTPAGEOFF]
Lloh9:
ldr w8, [x8]
cmp w8, #14
cset w0, ne
bl _BUG_ON
ldr x0, [x19]
ldr x3, [sp, #8]
mov w1, #52 ; =0x34
mov x2, x21
bl _dma_free_coherent
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
add sp, sp, #80
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _StatsAddr,8,3 ; @StatsAddr
.comm _DumpStats,4,2 ; @DumpStats
.comm _CP_NUM_STATS,4,2 ; @CP_NUM_STATS
.no_dead_strip _cp_get_ethtool_stats
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _filter_string_list ## -- Begin function filter_string_list
.p2align 4, 0x90
_filter_string_list: ## @filter_string_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
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, -44(%rbp) ## 4-byte Spill
movq %rdi, %rbx
cmpl $0, (%rdi)
jle LBB0_1
## %bb.2:
movq %rcx, %r14
movq %rdx, %r15
xorl %r12d, %r12d
xorl %r13d, %r13d
jmp LBB0_3
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_3 Depth=1
movq 8(%rbx), %rax
movslq %r13d, %rcx
incl %r13d
movq (%rax,%r12,8), %rdx
movq %rdx, (%rax,%rcx,8)
LBB0_9: ## in Loop: Header=BB0_3 Depth=1
leaq -1(%r12), %rax
movslq (%rbx), %rcx
cmpq %rcx, %r12
movq %rax, %r12
jg LBB0_10
LBB0_3: ## =>This Inner Loop Header: Depth=1
leaq (,%r12,8), %rdi
addq 8(%rbx), %rdi
movq %r14, %rsi
callq *%r15
testq %rax, %rax
jne LBB0_4
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
cmpq $0, 16(%rbx)
je LBB0_7
## %bb.6: ## in Loop: Header=BB0_3 Depth=1
movq 8(%rbx), %rax
movl 4(%rax,%r12,8), %edi
callq _free
LBB0_7: ## in Loop: Header=BB0_3 Depth=1
cmpl $0, -44(%rbp) ## 4-byte Folded Reload
je LBB0_9
## %bb.8: ## in Loop: Header=BB0_3 Depth=1
movq 8(%rbx), %rax
movl (%rax,%r12,8), %edi
callq _free
jmp LBB0_9
LBB0_1:
xorl %r13d, %r13d
LBB0_10:
movl %r13d, (%rbx)
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 _filter_string_list ; -- Begin function filter_string_list
.p2align 2
_filter_string_list: ; @filter_string_list
.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 w8, [x0]
cmp w8, #1
b.lt LBB0_9
; %bb.1:
mov x20, x3
mov x21, x2
mov x22, x1
mov x24, #0 ; =0x0
mov w23, #0 ; =0x0
mov w25, #1 ; =0x1
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x19, #8]
ldr x9, [x8, x24]
str x9, [x8, w23, sxtw #3]
add w23, w23, #1
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
ldrsw x8, [x19]
sub x25, x25, #1
sub x24, x24, #8
cmp x25, x8
b.gt LBB0_10
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #8]
add x0, x8, x24
mov x1, x20
blr x21
cbnz x0, LBB0_2
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x19, #16]
cbz x8, LBB0_7
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x19, #8]
add x8, x8, x24
ldr w0, [x8, #4]
bl _free
LBB0_7: ; in Loop: Header=BB0_4 Depth=1
cbz w22, LBB0_3
; %bb.8: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x19, #8]
ldr w0, [x8, x24]
bl _free
b LBB0_3
LBB0_9:
mov w23, #0 ; =0x0
LBB0_10:
str w23, [x19]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function parse_unquoted
_parse_unquoted: ## @parse_unquoted
.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 $1032, %rsp ## imm = 0x408
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, -1060(%rbp) ## 4-byte Spill
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, -1072(%rbp) ## 8-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq (%rsi), %r14
movsbl (%r14), %edi
callq _ossl_isprint
xorl %r13d, %r13d
testq %rax, %rax
je LBB0_1
## %bb.2:
xorl %r12d, %r12d
jmp LBB0_3
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_3 Depth=1
movsbl %al, %edi
callq _ossl_tolower
movb %al, -1056(%rbp,%r12)
incq %r12
LBB0_8: ## in Loop: Header=BB0_3 Depth=1
movsbl 1(%r14), %edi
incq %r14
callq _ossl_isprint
testq %rax, %rax
je LBB0_9
LBB0_3: ## =>This Inner Loop Header: Depth=1
movsbl (%r14), %edi
callq _ossl_isspace
testl %eax, %eax
jne LBB0_9
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movzbl (%r14), %eax
cmpb $44, %al
je LBB0_9
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
cmpq $998, %r12 ## imm = 0x3E6
jbe LBB0_7
## %bb.6: ## in Loop: Header=BB0_3 Depth=1
movl $1, %r13d
jmp LBB0_8
LBB0_9:
testl %r13d, %r13d
sete %r13b
jmp LBB0_10
LBB0_1:
movb $1, %r13b
xorl %r12d, %r12d
LBB0_10:
movsbl (%r14), %edi
callq _ossl_isspace
testl %eax, %eax
je LBB0_11
LBB0_14:
movb $0, -1056(%rbp,%r12)
testb %r13b, %r13b
je LBB0_15
## %bb.16:
leaq -1056(%rbp), %rsi
movq -1072(%rbp), %rdi ## 8-byte Reload
movl -1060(%rbp), %edx ## 4-byte Reload
callq _ossl_property_value
movl %eax, 4(%rbx)
jmp LBB0_17
LBB0_15:
movq _ERR_LIB_PROP@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _PROP_R_STRING_TOO_LONG@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq (%r15), %rcx
leaq L_.str(%rip), %rdx
callq _ERR_raise_data
LBB0_17:
movq %r14, %rdi
callq _skip_space
movq %rax, (%r15)
movq _PROPERTY_TYPE_STRING@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, (%rbx)
movzbl %r13b, %eax
LBB0_18:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_20
## %bb.19:
addq $1032, %rsp ## imm = 0x408
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_11:
movzbl (%r14), %eax
testl %eax, %eax
je LBB0_14
## %bb.12:
cmpl $44, %eax
je LBB0_14
## %bb.13:
movq _ERR_LIB_PROP@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _PROP_R_NOT_AN_ASCII_CHARACTER@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rdx
movq %r14, %rcx
callq _ERR_raise_data
xorl %eax, %eax
jmp LBB0_18
LBB0_20:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _ERR_LIB_PROP,4,2 ## @ERR_LIB_PROP
.comm _PROP_R_NOT_AN_ASCII_CHARACTER,4,2 ## @PROP_R_NOT_AN_ASCII_CHARACTER
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "HERE-->%s"
.comm _PROP_R_STRING_TOO_LONG,4,2 ## @PROP_R_STRING_TOO_LONG
.comm _PROPERTY_TYPE_STRING,4,2 ## @PROPERTY_TYPE_STRING
.no_dead_strip _parse_unquoted
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function parse_unquoted
_parse_unquoted: ; @parse_unquoted
.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, #1008
.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 x19, x2
mov x21, x1
mov x23, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-88]
ldr x20, [x1]
ldrsb w0, [x20]
bl _ossl_isprint
cbz x0, LBB0_9
; %bb.1:
mov w24, #0 ; =0x0
mov x25, #0 ; =0x0
mov x26, sp
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
bl _ossl_tolower
strb w0, [x26, x25]
add x25, x25, #1
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
ldrsb w0, [x20, #1]!
bl _ossl_isprint
cbz x0, LBB0_8
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldrsb w0, [x20]
bl _ossl_isspace
cbnz w0, LBB0_8
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
ldrsb w0, [x20]
cmp w0, #44
b.eq LBB0_8
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
cmp x25, #998
b.ls LBB0_2
; %bb.7: ; in Loop: Header=BB0_4 Depth=1
mov w24, #1 ; =0x1
b LBB0_3
LBB0_8:
cmp w24, #0
cset w24, eq
b LBB0_10
LBB0_9:
mov x25, #0 ; =0x0
mov w24, #1 ; =0x1
LBB0_10:
ldrsb w0, [x20]
bl _ossl_isspace
cbz w0, LBB0_17
LBB0_11:
mov x8, sp
strb wzr, [x8, x25]
tbz w24, #0, LBB0_13
; %bb.12:
mov x1, sp
mov x0, x23
mov x2, x22
bl _ossl_property_value
str w0, [x19, #4]
b LBB0_14
LBB0_13:
Lloh3:
adrp x8, _ERR_LIB_PROP@GOTPAGE
Lloh4:
ldr x8, [x8, _ERR_LIB_PROP@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
Lloh6:
adrp x8, _PROP_R_STRING_TOO_LONG@GOTPAGE
Lloh7:
ldr x8, [x8, _PROP_R_STRING_TOO_LONG@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
ldr x3, [x21]
Lloh9:
adrp x2, l_.str@PAGE
Lloh10:
add x2, x2, l_.str@PAGEOFF
bl _ERR_raise_data
LBB0_14:
mov x0, x20
bl _skip_space
str x0, [x21]
Lloh11:
adrp x8, _PROPERTY_TYPE_STRING@GOTPAGE
Lloh12:
ldr x8, [x8, _PROPERTY_TYPE_STRING@GOTPAGEOFF]
Lloh13:
ldr w8, [x8]
str w8, [x19]
LBB0_15:
ldur x8, [x29, #-88]
Lloh14:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh15:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_20
; %bb.16:
mov x0, x24
add sp, sp, #1008
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_17:
ldrb w8, [x20]
cbz w8, LBB0_11
; %bb.18:
cmp w8, #44
b.eq LBB0_11
; %bb.19:
Lloh17:
adrp x8, _ERR_LIB_PROP@GOTPAGE
Lloh18:
ldr x8, [x8, _ERR_LIB_PROP@GOTPAGEOFF]
Lloh19:
ldr w0, [x8]
Lloh20:
adrp x8, _PROP_R_NOT_AN_ASCII_CHARACTER@GOTPAGE
Lloh21:
ldr x8, [x8, _PROP_R_NOT_AN_ASCII_CHARACTER@GOTPAGEOFF]
Lloh22:
ldr w1, [x8]
Lloh23:
adrp x2, l_.str@PAGE
Lloh24:
add x2, x2, l_.str@PAGEOFF
mov x3, x20
bl _ERR_raise_data
mov w24, #0 ; =0x0
b LBB0_15
LBB0_20:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.cfi_endproc
; -- End function
.comm _ERR_LIB_PROP,4,2 ; @ERR_LIB_PROP
.comm _PROP_R_NOT_AN_ASCII_CHARACTER,4,2 ; @PROP_R_NOT_AN_ASCII_CHARACTER
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "HERE-->%s"
.comm _PROP_R_STRING_TOO_LONG,4,2 ; @PROP_R_STRING_TOO_LONG
.comm _PROPERTY_TYPE_STRING,4,2 ; @PROPERTY_TYPE_STRING
.no_dead_strip _parse_unquoted
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _h2o_append_to_null_terminated_list ## -- Begin function h2o_append_to_null_terminated_list
.p2align 4, 0x90
_h2o_append_to_null_terminated_list: ## @h2o_append_to_null_terminated_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 %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %rbx
movq (%rdi), %rdi
movl $8, %r15d
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpq $0, -8(%rdi,%r15)
leaq 8(%r15), %r15
je LBB0_1
## %bb.2:
movq %r15, %rsi
callq _h2o_mem_realloc
movq %rax, (%rbx)
movq %r14, -16(%rax,%r15)
movq (%rbx), %rax
movq $0, -8(%rax,%r15)
addq $8, %rsp
popq %rbx
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 _h2o_append_to_null_terminated_list ; -- Begin function h2o_append_to_null_terminated_list
.p2align 2
_h2o_append_to_null_terminated_list: ; @h2o_append_to_null_terminated_list
.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 x20, x1
mov x19, x0
mov x21, #0 ; =0x0
ldr x0, [x0]
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [x0, x21]
add x21, x21, #8
cbz x8, LBB0_1
; %bb.2:
add x1, x21, #8
bl _h2o_mem_realloc
str x0, [x19]
add x8, x0, x21
stur x20, [x8, #-8]
ldr x8, [x19]
str xzr, [x8, x21]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _set1 ## -- Begin function set1
.p2align 4, 0x90
_set1: ## @set1
.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 _VAR_NOGLOB@GOTPCREL(%rip), %rax
testl %ecx, (%rax)
jne LBB0_6
## %bb.1:
movq %rdi, %r15
movq %rdx, %r12
movl %ecx, %r13d
movq %rbx, %rdi
callq _tglob
testl %eax, %eax
je LBB0_5
## %bb.2:
movq %rbx, %rdi
movl %eax, %esi
callq _globall
movq %rax, %r14
testq %rax, %rax
jne LBB0_4
## %bb.3:
movq %rbx, %rdi
callq _blkfree
movq _ERR_NAME@GOTPCREL(%rip), %rax
movq _ERR_NOMATCH@GOTPCREL(%rip), %rcx
movl (%rcx), %edi
orl (%rax), %edi
callq _stderror
LBB0_4:
movq %rbx, %rdi
callq _blkfree
movq %r14, %rbx
LBB0_5:
movl %r13d, %ecx
movq %r12, %rdx
movq %r15, %rdi
LBB0_6:
movq _VAR_FIRST@GOTPCREL(%rip), %r14
movl (%r14), %r8d
movq _VAR_LAST@GOTPCREL(%rip), %r15
movl (%r15), %eax
orl %r8d, %eax
testl %ecx, %eax
je LBB0_21
## %bb.7:
testq %rbx, %rbx
je LBB0_20
## %bb.8:
movq (%rbx), %rax
testq %rax, %rax
je LBB0_20
## %bb.9:
movq 8(%rbx), %rsi
testq %rsi, %rsi
je LBB0_20
## %bb.10:
movl $1, %r12d
.p2align 4, 0x90
LBB0_11: ## =>This Inner Loop Header: Depth=1
cmpq $0, -8(%rbx,%r12,8)
leaq -1(%r12), %r12
jne LBB0_11
## %bb.12:
testl %ecx, %r8d
sete %r8b
cmpq $2, %r12
setl %r9b
orb %r8b, %r9b
jne LBB0_16
## %bb.13:
movq %rdi, -56(%rbp) ## 8-byte Spill
movq %rax, %rdi
movl %ecx, -44(%rbp) ## 4-byte Spill
movq %rdx, %r13
callq _Strcmp
movq -56(%rbp), %rdi ## 8-byte Reload
movq %r13, %rdx
movl -44(%rbp), %ecx ## 4-byte Reload
testq %rax, %rax
jne LBB0_15
## %bb.14:
movq 8(%rbx), %rdi
callq _xfree
movq -56(%rbp), %rdi ## 8-byte Reload
movq %r13, %rdx
movl -44(%rbp), %ecx ## 4-byte Reload
movq $0, 8(%rbx)
jmp LBB0_15
LBB0_16:
testq %r12, %r12
jle LBB0_17
LBB0_15:
xorl %eax, %eax
cmpq $0, (%rbx)
setne %al
cmpl %r12d, %eax
jge LBB0_20
LBB0_19:
movl %eax, %eax
movq $0, (%rbx,%rax,8)
LBB0_20:
movl (%r15), %eax
orl (%r14), %eax
notl %eax
andl %eax, %ecx
LBB0_21:
movq %rbx, %rsi
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _setq ## TAILCALL
LBB0_17:
xorl %eax, %eax
cmpl %r12d, %eax
jl LBB0_19
jmp LBB0_20
.cfi_endproc
## -- End function
.comm _VAR_NOGLOB,4,2 ## @VAR_NOGLOB
.comm _ERR_NAME,4,2 ## @ERR_NAME
.comm _ERR_NOMATCH,4,2 ## @ERR_NOMATCH
.comm _VAR_FIRST,4,2 ## @VAR_FIRST
.comm _VAR_LAST,4,2 ## @VAR_LAST
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _set1 ; -- Begin function set1
.p2align 2
_set1: ; @set1
.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, x1
Lloh0:
adrp x8, _VAR_NOGLOB@GOTPAGE
Lloh1:
ldr x8, [x8, _VAR_NOGLOB@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
tst w8, w3
b.ne LBB0_6
; %bb.1:
mov x21, x0
mov x22, x2
mov x23, x3
mov x0, x19
bl _tglob
cbz w0, LBB0_5
; %bb.2:
mov x1, x0
mov x0, x19
bl _globall
mov x20, x0
cbnz x0, LBB0_4
; %bb.3:
mov x0, x19
bl _blkfree
Lloh3:
adrp x8, _ERR_NAME@GOTPAGE
Lloh4:
ldr x8, [x8, _ERR_NAME@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
Lloh6:
adrp x9, _ERR_NOMATCH@GOTPAGE
Lloh7:
ldr x9, [x9, _ERR_NOMATCH@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
orr w0, w9, w8
bl _stderror
LBB0_4:
mov x0, x19
bl _blkfree
mov x19, x20
LBB0_5:
mov x3, x23
mov x2, x22
mov x0, x21
LBB0_6:
Lloh9:
adrp x20, _VAR_FIRST@GOTPAGE
Lloh10:
ldr x20, [x20, _VAR_FIRST@GOTPAGEOFF]
ldr w9, [x20]
Lloh11:
adrp x21, _VAR_LAST@GOTPAGE
Lloh12:
ldr x21, [x21, _VAR_LAST@GOTPAGEOFF]
ldr w8, [x21]
orr w8, w8, w9
tst w8, w3
b.eq LBB0_20
; %bb.7:
cbz x19, LBB0_19
; %bb.8:
ldr x8, [x19]
cbz x8, LBB0_19
; %bb.9:
ldr x1, [x19, #8]
cbz x1, LBB0_19
; %bb.10:
mov x10, #0 ; =0x0
LBB0_11: ; =>This Inner Loop Header: Depth=1
ldr x11, [x19, x10, lsl #3]
sub x10, x10, #1
cbnz x11, LBB0_11
; %bb.12:
add x22, x10, #1
tst w9, w3
b.eq LBB0_16
; %bb.13:
cmp x22, #1
b.le LBB0_16
; %bb.14:
mov x23, x0
mov x0, x8
mov x24, x3
mov x25, x2
bl _Strcmp
mov x2, x25
mov x3, x24
mov x8, x0
mov x0, x23
cbnz x8, LBB0_17
; %bb.15:
ldr x0, [x19, #8]
bl _xfree
mov x0, x23
mov x2, x25
mov x3, x24
str xzr, [x19, #8]
b LBB0_17
LBB0_16:
cmp x22, #1
b.lt LBB0_21
LBB0_17:
ldr x8, [x19]
cmp x8, #0
cset w8, ne
cmp w8, w22
b.ge LBB0_19
LBB0_18:
str xzr, [x19, w8, uxtw #3]
LBB0_19:
ldr w8, [x20]
ldr w9, [x21]
orr w8, w9, w8
bic w3, w3, w8
LBB0_20:
mov x1, x19
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
b _setq
LBB0_21:
mov w8, #0 ; =0x0
cmp w8, w22
b.lt LBB0_18
b LBB0_19
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGot Lloh9, Lloh10
.cfi_endproc
; -- End function
.comm _VAR_NOGLOB,4,2 ; @VAR_NOGLOB
.comm _ERR_NAME,4,2 ; @ERR_NAME
.comm _ERR_NOMATCH,4,2 ; @ERR_NOMATCH
.comm _VAR_FIRST,4,2 ; @VAR_FIRST
.comm _VAR_LAST,4,2 ; @VAR_LAST
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function convert_64_bit_to_byte_array
_convert_64_bit_to_byte_array: ## @convert_64_bit_to_byte_array
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, %eax
movzbl %al, %ecx
movl %ecx, (%rsi)
movzbl %ah, %ecx
movl %ecx, 4(%rsi)
movl %edi, %ecx
shrl $16, %ecx
movzbl %cl, %ecx
movl %ecx, 8(%rsi)
movl %edi, %ecx
shrl $24, %ecx
movl %ecx, 12(%rsi)
sarl $31, %eax
movzbl %al, %eax
movd %eax, %xmm0
pshufd $0, %xmm0, %xmm0 ## xmm0 = xmm0[0,0,0,0]
movdqu %xmm0, 16(%rsi)
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _convert_64_bit_to_byte_array
.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 convert_64_bit_to_byte_array
lCPI0_0:
.long 4294967288 ; 0xfffffff8
.long 4294967280 ; 0xfffffff0
.section __TEXT,__text,regular,pure_instructions
.p2align 2
_convert_64_bit_to_byte_array: ; @convert_64_bit_to_byte_array
.cfi_startproc
; %bb.0:
and w8, w0, #0xff
str w8, [x1]
dup.2s v0, w0
Lloh0:
adrp x8, lCPI0_0@PAGE
Lloh1:
ldr d1, [x8, lCPI0_0@PAGEOFF]
ushl.2s v0, v0, v1
movi d1, #0x0000ff000000ff
and.8b v0, v0, v1
stur d0, [x1, #4]
lsr w8, w0, #24
str w8, [x1, #12]
asr w8, w0, #31
and w8, w8, #0xff
dup.4s v0, w8
str q0, [x1, #16]
ret
.loh AdrpLdr Lloh0, Lloh1
.cfi_endproc
; -- End function
.no_dead_strip _convert_64_bit_to_byte_array
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _inner_int_union ## -- Begin function inner_int_union
.p2align 4, 0x90
_inner_int_union: ## @inner_int_union
.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 _CHECKARRVALID
movq %rbx, %rdi
callq _CHECKARRVALID
movq %r14, %rdi
callq _ARRISEMPTY
testq %rax, %rax
jne LBB0_45
## %bb.1:
movq %rbx, %rdi
callq _ARRISEMPTY
testq %rax, %rax
je LBB0_2
LBB0_45:
xorl %edi, %edi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _new_intArrayType ## TAILCALL
LBB0_2:
movq %r14, %rdi
callq _ARRISEMPTY
testq %rax, %rax
je LBB0_3
## %bb.4:
movq %rbx, %rdi
callq _copy_intArrayType
movq %rax, %r15
jmp LBB0_5
LBB0_3:
xorl %r15d, %r15d
LBB0_5:
movq %rbx, %rdi
callq _ARRISEMPTY
testq %rax, %rax
je LBB0_7
## %bb.6:
movq %r14, %rdi
callq _copy_intArrayType
movq %rax, %r15
LBB0_7:
testq %r15, %r15
jne LBB0_43
## %bb.8:
movq %r14, %rdi
callq _ARRNELEMS
movl %eax, %r13d
movq %rbx, %rdi
callq _ARRNELEMS
movl %eax, %r15d
movq %r14, %rdi
callq _ARRPTR
movq %rax, %r12
movq %rbx, %rdi
callq _ARRPTR
movq %rax, %r14
movl %r13d, %edi
subl %r15d, %edi
callq _new_intArrayType
movq %rax, %rbx
movq %rax, %rdi
callq _ARRPTR
testl %r13d, %r13d
setns %cl
testl %r15d, %r15d
setg %sil
andb %cl, %sil
xorl %edx, %edx
xorl %ecx, %ecx
cmpb $1, %sil
jne LBB0_9
## %bb.23:
xorl %edx, %edx
.p2align 4, 0x90
LBB0_24: ## =>This Inner Loop Header: Depth=1
movslq %edx, %rsi
movl (%r12,%rsi,4), %esi
movslq %ecx, %rdi
movl (%r14,%rdi,4), %r8d
cmpl %r8d, %esi
jne LBB0_26
## %bb.25: ## in Loop: Header=BB0_24 Depth=1
incl %edx
movl %esi, (%rax)
addq $-4, %rax
incl %ecx
jmp LBB0_30
.p2align 4, 0x90
LBB0_26: ## in Loop: Header=BB0_24 Depth=1
leaq 4(%rax), %rdi
cmpl %r8d, %esi
jge LBB0_28
## %bb.27: ## in Loop: Header=BB0_24 Depth=1
incl %edx
movl %esi, (%rax)
jmp LBB0_29
.p2align 4, 0x90
LBB0_28: ## in Loop: Header=BB0_24 Depth=1
incl %ecx
movl %r8d, (%rax)
LBB0_29: ## in Loop: Header=BB0_24 Depth=1
movq %rdi, %rax
LBB0_30: ## in Loop: Header=BB0_24 Depth=1
cmpl %r13d, %edx
jg LBB0_9
## %bb.31: ## in Loop: Header=BB0_24 Depth=1
cmpl %r15d, %ecx
jl LBB0_24
LBB0_9:
cmpl %r13d, %edx
jge LBB0_10
## %bb.11:
movslq %edx, %r10
movslq %r13d, %rsi
movq %rsi, %r8
subq %r10, %r8
cmpq $11, %r8
jbe LBB0_12
## %bb.17:
leaq (%r12,%r10,4), %rdx
movq %rax, %rdi
subq %rdx, %rdi
cmpq $32, %rdi
jae LBB0_18
LBB0_12:
movq %r10, %rdi
movq %rax, %rdx
LBB0_13:
subl %edi, %r13d
movq %rdi, %rax
andl $7, %r13d
je LBB0_15
.p2align 4, 0x90
LBB0_14: ## =>This Inner Loop Header: Depth=1
movl (%r12,%rax,4), %r8d
incq %rax
movl %r8d, (%rdx)
addq $4, %rdx
decq %r13
jne LBB0_14
LBB0_15:
subq %rsi, %rdi
cmpq $-8, %rdi
ja LBB0_21
.p2align 4, 0x90
LBB0_16: ## =>This Inner Loop Header: Depth=1
movl (%r12,%rax,4), %edi
movl %edi, (%rdx)
movl 4(%r12,%rax,4), %edi
movl %edi, 4(%rdx)
movl 8(%r12,%rax,4), %edi
movl %edi, 8(%rdx)
movl 12(%r12,%rax,4), %edi
movl %edi, 12(%rdx)
movl 16(%r12,%rax,4), %edi
movl %edi, 16(%rdx)
movl 20(%r12,%rax,4), %edi
movl %edi, 20(%rdx)
movl 24(%r12,%rax,4), %edi
movl %edi, 24(%rdx)
movl 28(%r12,%rax,4), %edi
addq $8, %rax
movl %edi, 28(%rdx)
addq $32, %rdx
cmpq %rax, %rsi
jne LBB0_16
jmp LBB0_21
LBB0_10:
movq %rax, %rdx
LBB0_21:
cmpl %r15d, %ecx
jge LBB0_22
## %bb.32:
movslq %ecx, %r8
movslq %r15d, %rax
movq %rax, %rsi
subq %r8, %rsi
cmpq $11, %rsi
jbe LBB0_33
## %bb.38:
leaq (%r14,%r8,4), %rcx
movq %rdx, %rdi
subq %rcx, %rdi
cmpq $32, %rdi
jae LBB0_39
LBB0_33:
movq %r8, %rcx
movq %rdx, %r12
LBB0_34:
subl %ecx, %r15d
movq %rcx, %rdx
andl $7, %r15d
je LBB0_36
.p2align 4, 0x90
LBB0_35: ## =>This Inner Loop Header: Depth=1
movl (%r14,%rdx,4), %esi
incq %rdx
movl %esi, (%r12)
addq $4, %r12
decq %r15
jne LBB0_35
LBB0_36:
subq %rax, %rcx
cmpq $-8, %rcx
ja LBB0_42
.p2align 4, 0x90
LBB0_37: ## =>This Inner Loop Header: Depth=1
movl (%r14,%rdx,4), %ecx
movl %ecx, (%r12)
movl 4(%r14,%rdx,4), %ecx
movl %ecx, 4(%r12)
movl 8(%r14,%rdx,4), %ecx
movl %ecx, 8(%r12)
movl 12(%r14,%rdx,4), %ecx
movl %ecx, 12(%r12)
movl 16(%r14,%rdx,4), %ecx
movl %ecx, 16(%r12)
movl 20(%r14,%rdx,4), %ecx
movl %ecx, 20(%r12)
movl 24(%r14,%rdx,4), %ecx
movl %ecx, 24(%r12)
movl 28(%r14,%rdx,4), %ecx
addq $8, %rdx
movl %ecx, 28(%r12)
addq $32, %r12
cmpq %rdx, %rax
jne LBB0_37
jmp LBB0_42
LBB0_22:
movq %rdx, %r12
LBB0_42:
movq %rbx, %rdi
callq _ARRPTR
subq %rax, %r12
shrq $2, %r12
movq %rbx, %rdi
movl %r12d, %esi
callq _resize_intArrayType
movq %rax, %r15
LBB0_43:
movq %r15, %rdi
callq _ARRNELEMS
cmpl $2, %eax
jl LBB0_44
## %bb.46:
movq %r15, %rdi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp __int_unique ## TAILCALL
LBB0_44:
movq %r15, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_18:
movq %r8, %r9
andq $-8, %r9
leaq (%r9,%r10), %rdi
shlq $2, %r10
leaq (%rax,%r9,4), %rdx
addq %r12, %r10
addq $16, %r10
xorl %r11d, %r11d
.p2align 4, 0x90
LBB0_19: ## =>This Inner Loop Header: Depth=1
movups -16(%r10,%r11,4), %xmm0
movups (%r10,%r11,4), %xmm1
movups %xmm0, (%rax,%r11,4)
movups %xmm1, 16(%rax,%r11,4)
addq $8, %r11
cmpq %r11, %r9
jne LBB0_19
## %bb.20:
cmpq %r9, %r8
jne LBB0_13
jmp LBB0_21
LBB0_39:
movq %rsi, %rdi
andq $-8, %rdi
leaq (%rdi,%r8), %rcx
shlq $2, %r8
leaq (%rdx,%rdi,4), %r12
addq %r14, %r8
addq $16, %r8
xorl %r9d, %r9d
.p2align 4, 0x90
LBB0_40: ## =>This Inner Loop Header: Depth=1
movups -16(%r8,%r9,4), %xmm0
movups (%r8,%r9,4), %xmm1
movups %xmm0, (%rdx,%r9,4)
movups %xmm1, 16(%rdx,%r9,4)
addq $8, %r9
cmpq %r9, %rdi
jne LBB0_40
## %bb.41:
cmpq %rdi, %rsi
jne LBB0_34
jmp LBB0_42
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _inner_int_union ; -- Begin function inner_int_union
.p2align 2
_inner_int_union: ; @inner_int_union
.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
mov x20, x0
bl _CHECKARRVALID
mov x0, x19
bl _CHECKARRVALID
mov x0, x20
bl _ARRISEMPTY
cbnz x0, LBB0_2
; %bb.1:
mov x0, x19
bl _ARRISEMPTY
cbz x0, LBB0_3
LBB0_2:
mov w0, #0 ; =0x0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
b _new_intArrayType
LBB0_3:
mov x0, x20
bl _ARRISEMPTY
cbz x0, LBB0_5
; %bb.4:
mov x0, x19
bl _copy_intArrayType
mov x21, x0
b LBB0_6
LBB0_5:
mov x21, #0 ; =0x0
LBB0_6:
mov x0, x19
bl _ARRISEMPTY
cbz x0, LBB0_8
; %bb.7:
mov x0, x20
bl _copy_intArrayType
mov x21, x0
LBB0_8:
cbnz x21, LBB0_36
; %bb.9:
mov x0, x20
bl _ARRNELEMS
mov x23, x0
mov x0, x19
bl _ARRNELEMS
mov x21, x0
mov x0, x20
bl _ARRPTR
mov x22, x0
mov x0, x19
bl _ARRPTR
mov x20, x0
sub w0, w23, w21
bl _new_intArrayType
mov x19, x0
bl _ARRPTR
mov w9, #0 ; =0x0
tbnz w23, #31, LBB0_20
; %bb.10:
cmp w21, #1
b.lt LBB0_20
; %bb.11:
mov w8, #0 ; =0x0
mov w9, #0 ; =0x0
LBB0_12: ; =>This Inner Loop Header: Depth=1
ldr w10, [x22, w9, sxtw #2]
ldr w12, [x20, w8, sxtw #2]
cmp w10, w12
b.ne LBB0_14
; %bb.13: ; in Loop: Header=BB0_12 Depth=1
add w9, w9, #1
str w10, [x0], #-4
add w8, w8, #1
b LBB0_18
LBB0_14: ; in Loop: Header=BB0_12 Depth=1
add x11, x0, #4
b.ge LBB0_16
; %bb.15: ; in Loop: Header=BB0_12 Depth=1
add w9, w9, #1
str w10, [x0]
b LBB0_17
LBB0_16: ; in Loop: Header=BB0_12 Depth=1
add w8, w8, #1
str w12, [x0]
LBB0_17: ; in Loop: Header=BB0_12 Depth=1
mov x0, x11
LBB0_18: ; in Loop: Header=BB0_12 Depth=1
cmp w9, w23
b.gt LBB0_21
; %bb.19: ; in Loop: Header=BB0_12 Depth=1
cmp w8, w21
b.lt LBB0_12
b LBB0_21
LBB0_20:
mov x8, x9
LBB0_21:
cmp w9, w23
b.ge LBB0_27
; %bb.22:
sxtw x10, w9
sxtw x11, w23
sub x12, x11, x10
cmp x12, #15
b.ls LBB0_24
; %bb.23:
lsl x9, x10, #2
add x15, x9, x22
sub x9, x0, x15
cmp x9, #64
b.hs LBB0_39
LBB0_24:
mov x9, x0
LBB0_25:
add x12, x22, x10, lsl #2
sub x10, x11, x10
LBB0_26: ; =>This Inner Loop Header: Depth=1
ldr w11, [x12], #4
str w11, [x9], #4
subs x10, x10, #1
b.ne LBB0_26
b LBB0_28
LBB0_27:
mov x9, x0
LBB0_28:
cmp w8, w21
b.ge LBB0_34
; %bb.29:
sxtw x8, w8
sxtw x10, w21
sub x11, x10, x8
cmp x11, #15
b.ls LBB0_31
; %bb.30:
lsl x12, x8, #2
add x13, x12, x20
sub x12, x9, x13
cmp x12, #64
b.hs LBB0_42
LBB0_31:
mov x21, x9
LBB0_32:
add x9, x20, x8, lsl #2
sub x8, x10, x8
LBB0_33: ; =>This Inner Loop Header: Depth=1
ldr w10, [x9], #4
str w10, [x21], #4
subs x8, x8, #1
b.ne LBB0_33
b LBB0_35
LBB0_34:
mov x21, x9
LBB0_35:
mov x0, x19
bl _ARRPTR
sub x8, x21, x0
lsr x1, x8, #2
mov x0, x19
; kill: def $w1 killed $w1 killed $x1
bl _resize_intArrayType
mov x21, x0
LBB0_36:
mov x0, x21
bl _ARRNELEMS
cmp w0, #2
b.lt LBB0_38
; %bb.37:
mov x0, x21
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
b __int_unique
LBB0_38:
mov x0, x21
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
LBB0_39:
and x13, x12, #0xfffffffffffffff0
add x10, x13, x10
add x9, x0, x13, lsl #2
add x14, x0, #32
add x15, x15, #32
mov x16, x13
LBB0_40: ; =>This Inner Loop Header: Depth=1
ldp q0, q1, [x15, #-32]
ldp q2, q3, [x15], #64
stp q0, q1, [x14, #-32]
stp q2, q3, [x14], #64
subs x16, x16, #16
b.ne LBB0_40
; %bb.41:
cmp x12, x13
b.ne LBB0_25
b LBB0_28
LBB0_42:
and x12, x11, #0xfffffffffffffff0
add x8, x12, x8
add x21, x9, x12, lsl #2
add x9, x9, #32
add x13, x13, #32
mov x14, x12
LBB0_43: ; =>This Inner Loop Header: Depth=1
ldp q0, q1, [x13, #-32]
ldp q2, q3, [x13], #64
stp q0, q1, [x9, #-32]
stp q2, q3, [x9], #64
subs x14, x14, #16
b.ne LBB0_43
; %bb.44:
cmp x11, x12
b.ne LBB0_32
b LBB0_35
.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 multadd
_multadd: ## @multadd
.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, %rax
movslq (%rsi), %r12
cmpl $2, %r12d
movl $1, %r8d
cmovgel %r12d, %r8d
movq 8(%rsi), %rsi
cmpq $2, %r12
jge LBB0_2
## %bb.1:
## implicit-def: $r11d
movq %rsi, %r9
jmp LBB0_4
LBB0_2:
movl %r8d, %r10d
andl $2147483646, %r10d ## imm = 0x7FFFFFFE
movq %rsi, %r9
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movl (%r9), %r11d
imull %edx, %r11d
addl %ecx, %r11d
movzwl %r11w, %ecx
movl %r11d, %ebx
sarl $16, %ebx
movl %ecx, (%r9)
movl 4(%r9), %r11d
imull %edx, %r11d
addl %ebx, %r11d
movl %r11d, %ecx
sarl $16, %ecx
movzwl %r11w, %ebx
movl %ebx, 4(%r9)
addq $8, %r9
addl $-2, %r10d
jne LBB0_3
LBB0_4:
testb $1, %r8b
je LBB0_6
## %bb.5:
imull (%r9), %edx
addl %ecx, %edx
movl %edx, %ecx
sarl $16, %ecx
movzwl %dx, %r8d
movl %r8d, (%r9)
movl %edx, %r11d
LBB0_6:
cmpl $65536, %r11d ## imm = 0x10000
jb LBB0_10
## %bb.7:
cmpl 16(%rax), %r12d
jl LBB0_9
## %bb.8:
movq 24(%rax), %rsi
incq %rsi
movq %rdi, %rbx
movq %rax, %r14
movl %ecx, %r13d
callq _Balloc
movq %rax, %r15
movq %rax, %rdi
movq %r14, %rsi
callq _Bcopy
movq %rbx, %rdi
movq %r14, %rsi
callq _Bfree
movl %r13d, %ecx
movq 8(%r15), %rsi
movq %r15, %rax
LBB0_9:
leal 1(%r12), %edx
movl %ecx, (%rsi,%r12,4)
movl %edx, (%rax)
LBB0_10:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _FFFFFFFF,4,2 ## @FFFFFFFF
.no_dead_strip _multadd
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function multadd
_multadd: ; @multadd
.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 x9, #0 ; =0x0
ldrsw x22, [x1]
ldr x8, [x1, #8]
cmp w22, #1
csinc w10, w22, wzr, gt
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w11, [x8, x9, lsl #2]
madd w11, w11, w2, w3
asr w3, w11, #16
and w12, w11, #0xffff
str w12, [x8, x9, lsl #2]
add x9, x9, #1
cmp w10, w9
b.ne LBB0_1
; %bb.2:
cmp w11, #16, lsl #12 ; =65536
b.lo LBB0_6
; %bb.3:
ldr w9, [x1, #16]
cmp w22, w9
b.lt LBB0_5
; %bb.4:
ldr x8, [x1, #24]
mov x19, x1
add x1, x8, #1
mov x20, x0
mov x23, x3
bl _Balloc
mov x21, x0
mov x1, x19
bl _Bcopy
mov x0, x20
mov x1, x19
bl _Bfree
mov x3, x23
ldr x8, [x21, #8]
mov x1, x21
LBB0_5:
add w9, w22, #1
str w3, [x8, x22, lsl #2]
str w9, [x1]
LBB0_6:
mov x0, x1
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.comm _FFFFFFFF,4,2 ; @FFFFFFFF
.no_dead_strip _multadd
.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 zfHpGetRegulationTable
LCPI0_0:
.space 16
.section __TEXT,__text,regular,pure_instructions
.globl _zfHpGetRegulationTable
.p2align 4, 0x90
_zfHpGetRegulationTable: ## @zfHpGetRegulationTable
.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 $152, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %r15
movq %rdx, %r14
movq %rsi, %r12
movq %rdi, -80(%rbp) ## 8-byte Spill
callq _zmw_get_wlan_dev
movq _wd@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq 24(%rax), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
xorl %eax, %eax
callq _zmw_declare_for_critical_section
movq _ZM_REG_FLAG_CHANNEL_2GHZ@GOTPCREL(%rip), %rbx
movl (%rbx), %esi
notl %esi
leaq -184(%rbp), %rdx
movq %r12, %rdi
callq _GetWmRD
testl %eax, %eax
je LBB0_1
## %bb.3:
movl (%rbx), %esi
leaq -152(%rbp), %rdx
movq %r12, %rdi
callq _GetWmRD
testl %eax, %eax
je LBB0_4
## %bb.5:
movq _wd@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq %r12, (%rax)
jne LBB0_7
## %bb.6:
leaq L_.str.2(%rip), %rdi
jmp LBB0_2
LBB0_1:
leaq L_.str(%rip), %rdi
jmp LBB0_2
LBB0_4:
leaq L_.str.1(%rip), %rdi
LBB0_2:
movq %r12, %rsi
callq _zm_debug_msg1
LBB0_39:
addq $152, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_7:
movq %r12, (%rax)
movq -80(%rbp), %rdi ## 8-byte Reload
callq _zmw_enter_critical_section
movq _modes@GOTPCREL(%rip), %rax
movq (%rax), %r12
movq %r12, %rdi
callq _N
testq %rax, %rax
jle LBB0_8
## %bb.9:
movq $0, -56(%rbp) ## 8-byte Folded Spill
movq %r15, %rbx
movq _modes@GOTPCREL(%rip), %r15
jmp LBB0_10
.p2align 4, 0x90
LBB0_35: ## in Loop: Header=BB0_10 Depth=1
movq _modes@GOTPCREL(%rip), %r15
movq -88(%rbp), %r12 ## 8-byte Reload
LBB0_37: ## in Loop: Header=BB0_10 Depth=1
addq $-8, %r12
movq %r12, %r13
movq (%r15), %r12
movq %r12, %rdi
callq _N
leaq (%r12,%rax,8), %rax
movq %r13, %r12
cmpq %rax, %r13
jae LBB0_38
LBB0_10: ## =>This Loop Header: Depth=1
## Child Loop BB0_23 Depth 2
## Child Loop BB0_26 Depth 3
movslq (%r12), %rsi
leal -128(%rsi), %eax
cmpl $5, %eax
movq -64(%rbp), %rcx ## 8-byte Reload
ja LBB0_36
## %bb.11: ## in Loop: Header=BB0_10 Depth=1
leaq LJTI0_0(%rip), %rdx
movslq (%rdx,%rax,4), %rax
addq %rdx, %rax
jmpq *%rax
LBB0_18: ## in Loop: Header=BB0_10 Depth=1
xorl %r13d, %r13d
movq $0, -48(%rbp) ## 8-byte Folded Spill
LBB0_19: ## in Loop: Header=BB0_10 Depth=1
xorl %edi, %edi
callq _isChanBitMaskZero
testq %rax, %rax
jne LBB0_37
## %bb.20: ## in Loop: Header=BB0_10 Depth=1
testq %r13, %r13
je LBB0_37
## %bb.21: ## in Loop: Header=BB0_10 Depth=1
movq _BMLEN@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jle LBB0_37
## %bb.22: ## in Loop: Header=BB0_10 Depth=1
movq %r12, -88(%rbp) ## 8-byte Spill
xorl %r15d, %r15d
movq -64(%rbp), %r12 ## 8-byte Reload
movq %r13, -96(%rbp) ## 8-byte Spill
movq %r14, -112(%rbp) ## 8-byte Spill
movq %rbx, -104(%rbp) ## 8-byte Spill
jmp LBB0_23
.p2align 4, 0x90
LBB0_34: ## in Loop: Header=BB0_23 Depth=2
movq -120(%rbp), %r15 ## 8-byte Reload
incq %r15
movq _BMLEN@GOTPCREL(%rip), %rax
movslq (%rax), %rax
shlq $6, %rax
cmpq %rax, %r15
movq -96(%rbp), %r13 ## 8-byte Reload
jge LBB0_35
LBB0_23: ## Parent Loop BB0_10 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_26 Depth 3
movl %r15d, %edi
xorl %esi, %esi
callq _IS_BIT_SET
testq %rax, %rax
movq %r15, -120(%rbp) ## 8-byte Spill
je LBB0_34
## %bb.24: ## in Loop: Header=BB0_23 Depth=2
leaq (%r15,%r15,4), %rcx
movq (%r13,%rcx,8), %r15
movq 8(%r13,%rcx,8), %rax
cmpq %rax, %r15
movq -48(%rbp), %rsi ## 8-byte Reload
jg LBB0_34
## %bb.25: ## in Loop: Header=BB0_23 Depth=2
leaq (%r13,%rcx,8), %r13
jmp LBB0_26
LBB0_32: ## in Loop: Header=BB0_26 Depth=3
movl 36(%r13), %edx
movl %edx, -68(%rbp) ## 4-byte Spill
movq _DFS_FCC3@GOTPCREL(%rip), %rdx
testl %ecx, (%rdx)
movq _ZM_REG_FLAG_CHANNEL_DFS_CLEAR@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
cmovnel %ecx, %eax
movq _LIMIT_FRAME_4MS@GOTPCREL(%rip), %rdx
movl (%rdx), %r12d
andl 8(%rsi), %r12d
cmovnel %ecx, %r12d
orl %eax, %r12d
xorl %edi, %edi
movq -56(%rbp), %r14 ## 8-byte Reload
cmpl $60, %r14d
setl %dil
callq _zm_assert
movq -48(%rbp), %rsi ## 8-byte Reload
movq _wd@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq 16(%rax), %rax
movslq %r14d, %rcx
incl %r14d
movq %r14, -56(%rbp) ## 8-byte Spill
leaq (%rcx,%rcx,4), %rcx
movl %r12d, (%rax,%rcx,8)
movl -68(%rbp), %edx ## 4-byte Reload
movl %edx, 4(%rax,%rcx,8)
movl %ebx, 8(%rax,%rcx,8)
movq %r15, 16(%rax,%rcx,8)
xorps %xmm0, %xmm0
movups %xmm0, 24(%rax,%rcx,8)
movq 8(%r13), %rax
movq -112(%rbp), %r14 ## 8-byte Reload
movq -104(%rbp), %rbx ## 8-byte Reload
movq -64(%rbp), %r12 ## 8-byte Reload
.p2align 4, 0x90
LBB0_33: ## in Loop: Header=BB0_26 Depth=3
addq 16(%r13), %r15
cmpq %rax, %r15
jg LBB0_34
LBB0_26: ## Parent Loop BB0_10 Depth=1
## Parent Loop BB0_23 Depth=2
## => This Inner Loop Header: Depth=3
cmpq $0, 8(%r12)
je LBB0_28
## %bb.27: ## in Loop: Header=BB0_26 Depth=3
movl (%rsi), %ecx
testl %ecx, 24(%r13)
jne LBB0_33
LBB0_28: ## in Loop: Header=BB0_26 Depth=3
cmpl $20, 28(%r13)
jl LBB0_33
## %bb.29: ## in Loop: Header=BB0_26 Depth=3
cmpq %r14, %r15
setl %cl
cmpq %rbx, %r15
setg %dl
orb %cl, %dl
jne LBB0_33
## %bb.30: ## in Loop: Header=BB0_26 Depth=3
movq -88(%rbp), %rax ## 8-byte Reload
movl 4(%rax), %eax
movl 4(%rsi), %ecx
movq _ZM_REG_FLAG_CHANNEL_PASSIVE@GOTPCREL(%rip), %rdx
movl (%rdx), %ebx
movl %ebx, %edx
orl %eax, %edx
notl %ebx
andl %eax, %ebx
testl %ecx, 32(%r13)
cmovnel %edx, %ebx
movl (%rsi), %ecx
andl 24(%r13), %ecx
movl %ecx, %eax
je LBB0_32
## %bb.31: ## in Loop: Header=BB0_26 Depth=3
movq _ZM_REG_FLAG_CHANNEL_DFS@GOTPCREL(%rip), %rax
movl (%rax), %eax
jmp LBB0_32
LBB0_12: ## in Loop: Header=BB0_10 Depth=1
testb $1, (%rcx)
je LBB0_18
## %bb.13: ## in Loop: Header=BB0_10 Depth=1
movl $4920, %r14d ## imm = 0x1338
movl $5825, %ebx ## imm = 0x16C1
leaq -160(%rbp), %rax
leaq -184(%rbp), %rdx
movq _regDmn5GhzFreq@GOTPCREL(%rip), %rcx
cmpq $0, (%rax)
jne LBB0_37
jmp LBB0_15
LBB0_36: ## in Loop: Header=BB0_10 Depth=1
leaq L_.str.3(%rip), %rdi
callq _zm_debug_msg1
jmp LBB0_37
LBB0_16: ## in Loop: Header=BB0_10 Depth=1
testb $2, (%rcx)
je LBB0_18
## %bb.17: ## in Loop: Header=BB0_10 Depth=1
movl $2412, %r14d ## imm = 0x96C
movl $2472, %ebx ## imm = 0x9A8
leaq -136(%rbp), %rax
leaq -152(%rbp), %rdx
movq _regDmn2Ghz11gFreq@GOTPCREL(%rip), %rcx
cmpq $0, (%rax)
jne LBB0_37
LBB0_15: ## in Loop: Header=BB0_10 Depth=1
movq %rdx, -48(%rbp) ## 8-byte Spill
movq (%rcx), %r13
jmp LBB0_19
LBB0_8:
movq $0, -56(%rbp) ## 8-byte Folded Spill
LBB0_38:
movq _wd@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -56(%rbp), %rcx ## 8-byte Reload
movl %ecx, 8(%rax)
movq -80(%rbp), %rdi ## 8-byte Reload
callq _zmw_leave_critical_section
jmp LBB0_39
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_37, LBB0_37-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
.long L0_0_set_37
.long L0_0_set_18
.long L0_0_set_16
.long L0_0_set_18
.long L0_0_set_18
.long L0_0_set_12
.end_data_region
## -- End function
.comm _wd,8,3 ## @wd
.comm _ZM_REG_FLAG_CHANNEL_2GHZ,4,2 ## @ZM_REG_FLAG_CHANNEL_2GHZ
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "couldn't find unitary 5GHz reg domain for Region Code "
L_.str.1: ## @.str.1
.asciz "couldn't find unitary 2GHz reg domain for Region Code "
L_.str.2: ## @.str.2
.asciz "current region code is the same with Region Code "
.comm _modes,8,3 ## @modes
.comm _regDmn5GhzFreq,8,3 ## @regDmn5GhzFreq
.comm _regDmn2Ghz11gFreq,8,3 ## @regDmn2Ghz11gFreq
L_.str.3: ## @.str.3
.asciz "Unkonwn HAL mode "
.comm _BMLEN,4,2 ## @BMLEN
.comm _ZM_REG_FLAG_CHANNEL_PASSIVE,4,2 ## @ZM_REG_FLAG_CHANNEL_PASSIVE
.comm _ZM_REG_FLAG_CHANNEL_DFS,4,2 ## @ZM_REG_FLAG_CHANNEL_DFS
.comm _DFS_FCC3,4,2 ## @DFS_FCC3
.comm _ZM_REG_FLAG_CHANNEL_DFS_CLEAR,4,2 ## @ZM_REG_FLAG_CHANNEL_DFS_CLEAR
.comm _LIMIT_FRAME_4MS,4,2 ## @LIMIT_FRAME_4MS
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _zfHpGetRegulationTable ; -- Begin function zfHpGetRegulationTable
.p2align 2
_zfHpGetRegulationTable: ; @zfHpGetRegulationTable
.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 x20, x3
mov x21, x2
mov x22, x1
str x0, [sp, #48] ; 8-byte Folded Spill
bl _zmw_get_wlan_dev
Lloh0:
adrp x8, _wd@GOTPAGE
Lloh1:
ldr x8, [x8, _wd@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
ldr x26, [x8, #24]
bl _zmw_declare_for_critical_section
Lloh3:
adrp x23, _ZM_REG_FLAG_CHANNEL_2GHZ@GOTPAGE
Lloh4:
ldr x23, [x23, _ZM_REG_FLAG_CHANNEL_2GHZ@GOTPAGEOFF]
ldr w8, [x23]
add x19, sp, #120
mvn w1, w8
add x2, sp, #120
mov x0, x22
bl _GetWmRD
cbz w0, LBB0_4
; %bb.1:
ldr w1, [x23]
add x2, sp, #88
mov x0, x22
bl _GetWmRD
cbz w0, LBB0_5
; %bb.2:
Lloh5:
adrp x8, _wd@GOTPAGE
Lloh6:
ldr x8, [x8, _wd@GOTPAGEOFF]
Lloh7:
ldr x8, [x8]
ldr x9, [x8]
cmp x9, x22
b.ne LBB0_8
; %bb.3:
Lloh8:
adrp x0, l_.str.2@PAGE
Lloh9:
add x0, x0, l_.str.2@PAGEOFF
b LBB0_6
LBB0_4:
Lloh10:
adrp x0, l_.str@PAGE
Lloh11:
add x0, x0, l_.str@PAGEOFF
b LBB0_6
LBB0_5:
Lloh12:
adrp x0, l_.str.1@PAGE
Lloh13:
add x0, x0, l_.str.1@PAGEOFF
LBB0_6:
mov x1, x22
bl _zm_debug_msg1
LBB0_7:
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_8:
str x22, [x8]
ldr x0, [sp, #48] ; 8-byte Folded Reload
bl _zmw_enter_critical_section
Lloh14:
adrp x22, _modes@GOTPAGE
Lloh15:
ldr x22, [x22, _modes@GOTPAGEOFF]
ldr x25, [x22]
mov x0, x25
bl _N
cmp x0, #1
b.lt LBB0_40
; %bb.9:
mov w23, #0 ; =0x0
add x8, sp, #88
orr x10, x8, #0x4
orr x9, x19, #0x4
stp x9, x10, [sp, #32] ; 16-byte Folded Spill
add x9, x8, #8
add x8, x19, #8
stp x8, x9, [sp, #16] ; 16-byte Folded Spill
add x8, sp, #88
add x9, x8, #16
add x8, sp, #120
add x8, x8, #24
stp x8, x9, [sp] ; 16-byte Folded Spill
b LBB0_12
LBB0_10: ; in Loop: Header=BB0_12 Depth=1
Lloh16:
adrp x22, _modes@GOTPAGE
Lloh17:
ldr x22, [x22, _modes@GOTPAGEOFF]
LBB0_11: ; in Loop: Header=BB0_12 Depth=1
sub x25, x25, #8
ldr x24, [x22]
mov x0, x24
bl _N
add x8, x24, x0, lsl #3
cmp x25, x8
b.hs LBB0_41
LBB0_12: ; =>This Loop Header: Depth=1
; Child Loop BB0_29 Depth 2
; Child Loop BB0_33 Depth 3
str xzr, [sp, #56] ; 8-byte Folded Spill
ldr w8, [x25]
cmp w8, #130
b.gt LBB0_18
; %bb.13: ; in Loop: Header=BB0_12 Depth=1
cmp w8, #128
b.eq LBB0_11
; %bb.14: ; in Loop: Header=BB0_12 Depth=1
cmp w8, #129
b.eq LBB0_19
; %bb.15: ; in Loop: Header=BB0_12 Depth=1
cmp w8, #130
b.ne LBB0_37
; %bb.16: ; in Loop: Header=BB0_12 Depth=1
ldrb w8, [x26]
tbz w8, #1, LBB0_22
; %bb.17: ; in Loop: Header=BB0_12 Depth=1
add x19, sp, #88
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x10, [sp, #40] ; 8-byte Folded Reload
ldr x9, [sp, #24] ; 8-byte Folded Reload
stp x10, x9, [sp, #64] ; 16-byte Folded Spill
Lloh18:
adrp x9, _regDmn2Ghz11gFreq@GOTPAGE
Lloh19:
ldr x9, [x9, _regDmn2Ghz11gFreq@GOTPAGEOFF]
mov w20, #2472 ; =0x9a8
mov w21, #2412 ; =0x96c
ldr x8, [x8]
cbnz x8, LBB0_11
b LBB0_39
LBB0_18: ; in Loop: Header=BB0_12 Depth=1
sub w9, w8, #131
cmp w9, #2
b.hs LBB0_20
LBB0_19: ; in Loop: Header=BB0_12 Depth=1
ldr x19, [sp, #56] ; 8-byte Folded Reload
b LBB0_23
LBB0_20: ; in Loop: Header=BB0_12 Depth=1
cmp w8, #133
b.ne LBB0_37
; %bb.21: ; in Loop: Header=BB0_12 Depth=1
ldrb w8, [x26]
tbnz w8, #0, LBB0_38
LBB0_22: ; in Loop: Header=BB0_12 Depth=1
str xzr, [sp, #56] ; 8-byte Folded Spill
mov x19, #0 ; =0x0
LBB0_23: ; in Loop: Header=BB0_12 Depth=1
mov w8, #8 ; =0x8
str x8, [sp, #72] ; 8-byte Folded Spill
mov w8, #4 ; =0x4
str x8, [sp, #64] ; 8-byte Folded Spill
LBB0_24: ; in Loop: Header=BB0_12 Depth=1
mov x0, #0 ; =0x0
bl _isChanBitMaskZero
cbnz x0, LBB0_11
; %bb.25: ; in Loop: Header=BB0_12 Depth=1
ldr x8, [sp, #56] ; 8-byte Folded Reload
cbz x8, LBB0_11
; %bb.26: ; in Loop: Header=BB0_12 Depth=1
Lloh20:
adrp x8, _BMLEN@GOTPAGE
Lloh21:
ldr x8, [x8, _BMLEN@GOTPAGEOFF]
Lloh22:
ldr w8, [x8]
cmp w8, #1
b.lt LBB0_11
; %bb.27: ; in Loop: Header=BB0_12 Depth=1
mov x24, #0 ; =0x0
b LBB0_29
LBB0_28: ; in Loop: Header=BB0_29 Depth=2
add x24, x24, #1
Lloh23:
adrp x8, _BMLEN@GOTPAGE
Lloh24:
ldr x8, [x8, _BMLEN@GOTPAGEOFF]
Lloh25:
ldrsw x8, [x8]
cmp x24, x8, lsl #6
b.ge LBB0_10
LBB0_29: ; Parent Loop BB0_12 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_33 Depth 3
mov x0, x24
mov x1, #0 ; =0x0
bl _IS_BIT_SET
cbz x0, LBB0_28
; %bb.30: ; in Loop: Header=BB0_29 Depth=2
mov w8, #40 ; =0x28
ldr x9, [sp, #56] ; 8-byte Folded Reload
madd x27, x24, x8, x9
ldp x22, x8, [x27]
b LBB0_33
LBB0_31: ; in Loop: Header=BB0_33 Depth=3
ldr w9, [x27, #28]
cmp w9, #20
ccmp x22, x21, #8, ge
ccmp x22, x20, #0, ge
b.le LBB0_36
LBB0_32: ; in Loop: Header=BB0_33 Depth=3
ldr x9, [x27, #16]
add x22, x9, x22
LBB0_33: ; Parent Loop BB0_12 Depth=1
; Parent Loop BB0_29 Depth=2
; => This Inner Loop Header: Depth=3
cmp x22, x8
b.gt LBB0_28
; %bb.34: ; in Loop: Header=BB0_33 Depth=3
ldr x9, [x26, #8]
cbz x9, LBB0_31
; %bb.35: ; in Loop: Header=BB0_33 Depth=3
ldr w9, [x27, #24]
ldr w10, [x19]
tst w10, w9
b.ne LBB0_32
b LBB0_31
LBB0_36: ; in Loop: Header=BB0_33 Depth=3
ldr w8, [x25, #4]
ldp w9, w10, [x27, #32]
str w10, [sp, #84] ; 4-byte Folded Spill
ldr x10, [sp, #64] ; 8-byte Folded Reload
ldr w10, [x10]
Lloh26:
adrp x11, _ZM_REG_FLAG_CHANNEL_PASSIVE@GOTPAGE
Lloh27:
ldr x11, [x11, _ZM_REG_FLAG_CHANNEL_PASSIVE@GOTPAGEOFF]
Lloh28:
ldr w11, [x11]
orr w12, w11, w8
bic w8, w8, w11
tst w10, w9
csel w8, w8, w12, eq
str w8, [sp, #80] ; 4-byte Folded Spill
ldr w8, [x27, #24]
ldr w9, [x19]
Lloh29:
adrp x10, _ZM_REG_FLAG_CHANNEL_DFS@GOTPAGE
Lloh30:
ldr x10, [x10, _ZM_REG_FLAG_CHANNEL_DFS@GOTPAGEOFF]
Lloh31:
ldr w10, [x10]
ands w8, w9, w8
csel w9, wzr, w10, eq
Lloh32:
adrp x10, _DFS_FCC3@GOTPAGE
Lloh33:
ldr x10, [x10, _DFS_FCC3@GOTPAGEOFF]
Lloh34:
ldr w10, [x10]
Lloh35:
adrp x11, _ZM_REG_FLAG_CHANNEL_DFS_CLEAR@GOTPAGE
Lloh36:
ldr x11, [x11, _ZM_REG_FLAG_CHANNEL_DFS_CLEAR@GOTPAGEOFF]
Lloh37:
ldr w11, [x11]
tst w10, w8
csel w8, w9, w11, eq
ldr x9, [sp, #72] ; 8-byte Folded Reload
ldr w9, [x9]
Lloh38:
adrp x10, _LIMIT_FRAME_4MS@GOTPAGE
Lloh39:
ldr x10, [x10, _LIMIT_FRAME_4MS@GOTPAGEOFF]
Lloh40:
ldr w10, [x10]
tst w10, w9
csel w9, wzr, w11, eq
mov x28, x25
mov x25, x26
mov x26, x21
mov x21, x20
orr w20, w9, w8
cmp w23, #60
cset w0, lt
bl _zm_assert
Lloh41:
adrp x8, _wd@GOTPAGE
Lloh42:
ldr x8, [x8, _wd@GOTPAGEOFF]
Lloh43:
ldr x8, [x8]
ldr x8, [x8, #16]
mov w9, #40 ; =0x28
smaddl x8, w23, w9, x8
add w23, w23, #1
str w20, [x8]
mov x20, x21
mov x21, x26
mov x26, x25
mov x25, x28
ldp w9, w10, [sp, #80] ; 8-byte Folded Reload
stp w10, w9, [x8, #4]
stp xzr, xzr, [x8, #24]
str x22, [x8, #16]
ldr x8, [x27, #8]
b LBB0_32
LBB0_37: ; in Loop: Header=BB0_12 Depth=1
sxtw x1, w8
Lloh44:
adrp x0, l_.str.3@PAGE
Lloh45:
add x0, x0, l_.str.3@PAGEOFF
bl _zm_debug_msg1
b LBB0_11
LBB0_38: ; in Loop: Header=BB0_12 Depth=1
add x19, sp, #120
ldr x8, [sp] ; 8-byte Folded Reload
ldr x10, [sp, #32] ; 8-byte Folded Reload
ldr x9, [sp, #16] ; 8-byte Folded Reload
stp x10, x9, [sp, #64] ; 16-byte Folded Spill
Lloh46:
adrp x9, _regDmn5GhzFreq@GOTPAGE
Lloh47:
ldr x9, [x9, _regDmn5GhzFreq@GOTPAGEOFF]
mov w20, #5825 ; =0x16c1
mov w21, #4920 ; =0x1338
ldr x8, [x8]
cbnz x8, LBB0_11
LBB0_39: ; in Loop: Header=BB0_12 Depth=1
ldr x8, [x9]
str x8, [sp, #56] ; 8-byte Folded Spill
b LBB0_24
LBB0_40:
mov w23, #0 ; =0x0
LBB0_41:
Lloh48:
adrp x8, _wd@GOTPAGE
Lloh49:
ldr x8, [x8, _wd@GOTPAGEOFF]
Lloh50:
ldr x8, [x8]
str w23, [x8, #8]
ldr x0, [sp, #48] ; 8-byte Folded Reload
bl _zmw_leave_critical_section
b LBB0_7
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGot Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.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 AdrpAdd Lloh44, Lloh45
.loh AdrpLdrGot Lloh46, Lloh47
.loh AdrpLdrGotLdr Lloh48, Lloh49, Lloh50
.cfi_endproc
; -- End function
.comm _wd,8,3 ; @wd
.comm _ZM_REG_FLAG_CHANNEL_2GHZ,4,2 ; @ZM_REG_FLAG_CHANNEL_2GHZ
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "couldn't find unitary 5GHz reg domain for Region Code "
l_.str.1: ; @.str.1
.asciz "couldn't find unitary 2GHz reg domain for Region Code "
l_.str.2: ; @.str.2
.asciz "current region code is the same with Region Code "
.comm _modes,8,3 ; @modes
.comm _regDmn5GhzFreq,8,3 ; @regDmn5GhzFreq
.comm _regDmn2Ghz11gFreq,8,3 ; @regDmn2Ghz11gFreq
l_.str.3: ; @.str.3
.asciz "Unkonwn HAL mode "
.comm _BMLEN,4,2 ; @BMLEN
.comm _ZM_REG_FLAG_CHANNEL_PASSIVE,4,2 ; @ZM_REG_FLAG_CHANNEL_PASSIVE
.comm _ZM_REG_FLAG_CHANNEL_DFS,4,2 ; @ZM_REG_FLAG_CHANNEL_DFS
.comm _DFS_FCC3,4,2 ; @DFS_FCC3
.comm _ZM_REG_FLAG_CHANNEL_DFS_CLEAR,4,2 ; @ZM_REG_FLAG_CHANNEL_DFS_CLEAR
.comm _LIMIT_FRAME_4MS,4,2 ; @LIMIT_FRAME_4MS
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function amsdu_to_msdu
_amsdu_to_msdu: ## @amsdu_to_msdu
.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, %rbx
movq %rdi, -64(%rbp) ## 8-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _MAX_SUBFRAME_COUNT@GOTPCREL(%rip), %rax
movl (%rax), %eax
shlq $3, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, -80(%rbp) ## 8-byte Spill
movq 16(%rbx), %rsi
movq %rbx, %rdi
callq _recvframe_pull
movq 24(%rbx), %rsi
testq %rsi, %rsi
jle LBB0_2
## %bb.1:
movq %rbx, %rdi
callq _recvframe_pull
LBB0_2:
movl (%rbx), %edx
movq _ETH_HLEN@GOTPCREL(%rip), %rax
movl (%rax), %r15d
cmpl %r15d, %edx
jle LBB0_30
## %bb.3:
movq %rbx, -56(%rbp) ## 8-byte Spill
movq 8(%rbx), %r12
xorl %ebx, %ebx
jmp LBB0_6
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_6 Depth=1
xorl %edx, %edx
LBB0_5: ## in Loop: Header=BB0_6 Depth=1
movq %rcx, %rbx
cmpl %r15d, %edx
jle LBB0_16
LBB0_6: ## =>This Inner Loop Header: Depth=1
movl 12(%r12), %r13d
movl %r13d, %eax
sarl $8, %eax
shll $8, %r13d
addl %eax, %r13d
movq _ETHERNET_HEADER_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %eax
addl %r13d, %eax
cmpl %eax, %edx
jl LBB0_12
## %bb.7: ## in Loop: Header=BB0_6 Depth=1
movl %edx, -68(%rbp) ## 4-byte Spill
leal 12(%r13), %edi
callq _dev_alloc_skb
testq %rax, %rax
je LBB0_15
## %bb.8: ## in Loop: Header=BB0_6 Depth=1
movq %rax, %r14
movslq %r15d, %rax
addq %rax, %r12
movq %r14, %rdi
movl $12, %esi
callq _skb_reserve
movq %r14, %rdi
movq %r12, %rsi
movl %r13d, %edx
callq _skb_put_data
leaq -1(%rbx), %rcx
movq -80(%rbp), %rax ## 8-byte Reload
movq %r14, (%rax,%rbx,8)
movq _MAX_SUBFRAME_COUNT@GOTPCREL(%rip), %rax
movslq (%rax), %rax
cmpq %rax, %rbx
jg LBB0_14
## %bb.9: ## in Loop: Header=BB0_6 Depth=1
movslq %r13d, %rax
addq %rax, %r12
addl %r13d, %r15d
movl -68(%rbp), %edx ## 4-byte Reload
subl %r15d, %edx
movq _ETH_HLEN@GOTPCREL(%rip), %rax
movl (%rax), %r15d
je LBB0_4
## %bb.10: ## in Loop: Header=BB0_6 Depth=1
addl %r15d, %r13d
orl $3, %r13d
movl $4, %eax
subl %r13d, %eax
subl %eax, %edx
movq -56(%rbp), %rbx ## 8-byte Reload
jle LBB0_30
## %bb.11: ## in Loop: Header=BB0_6 Depth=1
cltq
addq %rax, %r12
jmp LBB0_5
LBB0_12:
movq -64(%rbp), %rax ## 8-byte Reload
movl (%rax), %edi
leaq L_.str(%rip), %rsi
movl %r13d, %ecx
xorl %eax, %eax
callq _netdev_warn
movq -56(%rbp), %rbx ## 8-byte Reload
jmp LBB0_30
LBB0_14:
movq -64(%rbp), %rax ## 8-byte Reload
movl (%rax), %edi
leaq L_.str.1(%rip), %rsi
xorl %eax, %eax
movq %rcx, %rbx
callq _netdev_warn
LBB0_15:
movq %rbx, %rcx
LBB0_16:
testl %ecx, %ecx
movq -56(%rbp), %rbx ## 8-byte Reload
jle LBB0_30
## %bb.17:
andl $2147483647, %ecx ## imm = 0x7FFFFFFF
xorl %r14d, %r14d
jmp LBB0_20
.p2align 4, 0x90
LBB0_18: ## in Loop: Header=BB0_20 Depth=1
movq _CHECKSUM_NONE@GOTPCREL(%rip), %rax
LBB0_19: ## in Loop: Header=BB0_20 Depth=1
movl (%rax), %eax
movl %eax, 12(%r12)
movq %r12, %rdi
callq _netif_rx
incq %r14
movq %r15, %rcx
cmpq %r14, %r15
je LBB0_30
LBB0_20: ## =>This Inner Loop Header: Depth=1
movq %rcx, %r15
movq -80(%rbp), %rax ## 8-byte Reload
movq (%rax,%r14,8), %r12
movl 8(%r12), %edi
cmpl $8, %edi
jl LBB0_26
## %bb.21: ## in Loop: Header=BB0_20 Depth=1
movq (%r12), %rdi
movl 24(%rdi), %ebx
shll $8, %ebx
orl 28(%rdi), %ebx
movq _rfc1042_header@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _SNAP_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _memcmp
testl %eax, %eax
jne LBB0_24
## %bb.22: ## in Loop: Header=BB0_20 Depth=1
movq _ETH_P_AARP@GOTPCREL(%rip), %rax
cmpl (%rax), %ebx
je LBB0_24
## %bb.23: ## in Loop: Header=BB0_20 Depth=1
movq _ETH_P_IPX@GOTPCREL(%rip), %rax
cmpl (%rax), %ebx
jne LBB0_27
LBB0_24: ## in Loop: Header=BB0_20 Depth=1
movq (%r12), %rdi
movq _bridge_tunnel_header@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _SNAP_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _memcmp
testl %eax, %eax
je LBB0_27
## %bb.25: ## in Loop: Header=BB0_20 Depth=1
movl 8(%r12), %edi
movq -56(%rbp), %rbx ## 8-byte Reload
LBB0_26: ## in Loop: Header=BB0_20 Depth=1
callq _htons
movl %eax, -72(%rbp)
movq %r12, %rdi
movl $2, %esi
callq _skb_push
movl %eax, %edi
leaq -72(%rbp), %rsi
movl $2, %edx
callq _memcpy
movq _ETH_ALEN@GOTPCREL(%rip), %r13
movl (%r13), %esi
movq %r12, %rdi
callq _skb_push
jmp LBB0_28
.p2align 4, 0x90
LBB0_27: ## in Loop: Header=BB0_20 Depth=1
movq _SNAP_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r12, %rdi
callq _skb_pull
movq _ETH_ALEN@GOTPCREL(%rip), %r13
movl (%r13), %esi
movq %r12, %rdi
callq _skb_push
movq -56(%rbp), %rbx ## 8-byte Reload
LBB0_28: ## in Loop: Header=BB0_20 Depth=1
movq 48(%rbx), %rsi
movl (%r13), %edx
movl %eax, %edi
callq _memcpy
movl (%r13), %esi
movq %r12, %rdi
callq _skb_push
movq 40(%rbx), %rsi
movl (%r13), %edx
movl %eax, %edi
callq _memcpy
movq -64(%rbp), %r13 ## 8-byte Reload
movl (%r13), %esi
movq %r12, %rdi
callq _eth_type_trans
movl %eax, 20(%r12)
movl (%r13), %eax
movl %eax, 16(%r12)
cmpl $1, 32(%rbx)
jne LBB0_18
## %bb.29: ## in Loop: Header=BB0_20 Depth=1
cmpl $1, 36(%rbx)
movq _CHECKSUM_UNNECESSARY@GOTPCREL(%rip), %rax
jne LBB0_18
jmp LBB0_19
LBB0_30:
movq -64(%rbp), %rsi ## 8-byte Reload
addq $4, %rsi
movl $0, (%rbx)
movq %rbx, %rdi
callq _r8712_free_recvframe
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
.comm _MAX_SUBFRAME_COUNT,4,2 ## @MAX_SUBFRAME_COUNT
.comm _ETH_HLEN,4,2 ## @ETH_HLEN
.comm _ETHERNET_HEADER_SIZE,4,2 ## @ETHERNET_HEADER_SIZE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "r8712u: nRemain_Length is %d and nSubframe_Length is: %d\n"
L_.str.1: ## @.str.1
.asciz "r8712u: ParseSubframe(): Too many Subframes! Packets dropped!\n"
.comm _rfc1042_header,4,2 ## @rfc1042_header
.comm _SNAP_SIZE,4,2 ## @SNAP_SIZE
.comm _ETH_P_AARP,4,2 ## @ETH_P_AARP
.comm _ETH_P_IPX,4,2 ## @ETH_P_IPX
.comm _bridge_tunnel_header,4,2 ## @bridge_tunnel_header
.comm _ETH_ALEN,4,2 ## @ETH_ALEN
.comm _CHECKSUM_UNNECESSARY,4,2 ## @CHECKSUM_UNNECESSARY
.comm _CHECKSUM_NONE,4,2 ## @CHECKSUM_NONE
.no_dead_strip _amsdu_to_msdu
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function amsdu_to_msdu
_amsdu_to_msdu: ; @amsdu_to_msdu
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
sub sp, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, 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, #-88]
Lloh3:
adrp x8, _MAX_SUBFRAME_COUNT@GOTPAGE
Lloh4:
ldr x8, [x8, _MAX_SUBFRAME_COUNT@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
lsl x8, x8, #3
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, #0xffffffff0
sub x24, x9, x8
mov sp, x24
ldr x1, [x1, #16]
mov x0, x19
bl _recvframe_pull
ldr x1, [x19, #24]
cmp x1, #1
b.lt LBB0_2
; %bb.1:
mov x0, x19
bl _recvframe_pull
LBB0_2:
ldr w28, [x19]
Lloh8:
adrp x8, _ETH_HLEN@GOTPAGE
Lloh9:
ldr x8, [x8, _ETH_HLEN@GOTPAGEOFF]
Lloh10:
ldr w27, [x8]
cmp w28, w27
b.le LBB0_27
; %bb.3:
mov x25, #0 ; =0x0
ldr x22, [x19, #8]
b LBB0_6
LBB0_4: ; in Loop: Header=BB0_6 Depth=1
mov w28, #0 ; =0x0
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
mov x25, x26
cmp w28, w27
b.le LBB0_14
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldr w8, [x22, #12]
asr w9, w8, #8
add w21, w9, w8, lsl #8
Lloh11:
adrp x8, _ETHERNET_HEADER_SIZE@GOTPAGE
Lloh12:
ldr x8, [x8, _ETHERNET_HEADER_SIZE@GOTPAGEOFF]
Lloh13:
ldr w8, [x8]
add w8, w21, w8
cmp w28, w8
b.lt LBB0_12
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
add w0, w21, #12
bl _dev_alloc_skb
cbz x0, LBB0_13
; %bb.8: ; in Loop: Header=BB0_6 Depth=1
mov x23, x0
add x22, x22, w27, sxtw
mov w1, #12 ; =0xc
bl _skb_reserve
mov x0, x23
mov x1, x22
mov x2, x21
bl _skb_put_data
sub x26, x25, #1
str x23, [x24, x25, lsl #3]
Lloh14:
adrp x8, _MAX_SUBFRAME_COUNT@GOTPAGE
Lloh15:
ldr x8, [x8, _MAX_SUBFRAME_COUNT@GOTPAGEOFF]
Lloh16:
ldrsw x8, [x8]
cmp x25, x8
b.gt LBB0_15
; %bb.9: ; in Loop: Header=BB0_6 Depth=1
add x22, x22, w21, sxtw
add w8, w21, w27
subs w8, w28, w8
Lloh17:
adrp x9, _ETH_HLEN@GOTPAGE
Lloh18:
ldr x9, [x9, _ETH_HLEN@GOTPAGEOFF]
Lloh19:
ldr w27, [x9]
b.eq LBB0_4
; %bb.10: ; in Loop: Header=BB0_6 Depth=1
add w9, w27, w21
orr w9, w9, #0x3
mov w10, #4 ; =0x4
sub w9, w10, w9
subs w28, w8, w9
b.le LBB0_27
; %bb.11: ; in Loop: Header=BB0_6 Depth=1
add x22, x22, w9, sxtw
b LBB0_5
LBB0_12:
ldr w0, [x20]
stp x28, x21, [sp, #-16]!
Lloh20:
adrp x1, l_.str@PAGE
Lloh21:
add x1, x1, l_.str@PAGEOFF
bl _netdev_warn
add sp, sp, #16
b LBB0_27
LBB0_13:
mov x26, x25
LBB0_14:
cmp w26, #1
b.ge LBB0_16
b LBB0_27
LBB0_15:
ldr w0, [x20]
Lloh22:
adrp x1, l_.str.1@PAGE
Lloh23:
add x1, x1, l_.str.1@PAGEOFF
bl _netdev_warn
cmp w26, #1
b.lt LBB0_27
LBB0_16:
and x22, x26, #0x7fffffff
Lloh24:
adrp x25, _SNAP_SIZE@GOTPAGE
Lloh25:
ldr x25, [x25, _SNAP_SIZE@GOTPAGEOFF]
Lloh26:
adrp x28, _ETH_ALEN@GOTPAGE
Lloh27:
ldr x28, [x28, _ETH_ALEN@GOTPAGEOFF]
Lloh28:
adrp x23, _CHECKSUM_UNNECESSARY@GOTPAGE
Lloh29:
ldr x23, [x23, _CHECKSUM_UNNECESSARY@GOTPAGEOFF]
Lloh30:
adrp x26, _CHECKSUM_NONE@GOTPAGE
Lloh31:
ldr x26, [x26, _CHECKSUM_NONE@GOTPAGEOFF]
b LBB0_19
LBB0_17: ; in Loop: Header=BB0_19 Depth=1
mov x8, x26
LBB0_18: ; in Loop: Header=BB0_19 Depth=1
ldr w8, [x8]
str w8, [x21, #12]
mov x0, x21
bl _netif_rx
add x24, x24, #8
subs x22, x22, #1
b.eq LBB0_27
LBB0_19: ; =>This Inner Loop Header: Depth=1
ldr x21, [x24]
ldr w0, [x21, #8]
cmp w0, #8
b.lt LBB0_23
; %bb.20: ; in Loop: Header=BB0_19 Depth=1
ldr x0, [x21]
ldp w8, w9, [x0, #24]
orr w27, w9, w8, lsl #8
Lloh32:
adrp x8, _rfc1042_header@GOTPAGE
Lloh33:
ldr x8, [x8, _rfc1042_header@GOTPAGEOFF]
Lloh34:
ldr w1, [x8]
ldr w2, [x25]
bl _memcmp
Lloh35:
adrp x8, _ETH_P_AARP@GOTPAGE
Lloh36:
ldr x8, [x8, _ETH_P_AARP@GOTPAGEOFF]
Lloh37:
ldr w8, [x8]
Lloh38:
adrp x9, _ETH_P_IPX@GOTPAGE
Lloh39:
ldr x9, [x9, _ETH_P_IPX@GOTPAGEOFF]
Lloh40:
ldr w9, [x9]
cmp w0, #0
ccmp w27, w8, #4, eq
ccmp w27, w9, #4, ne
b.ne LBB0_24
; %bb.21: ; in Loop: Header=BB0_19 Depth=1
ldr x0, [x21]
Lloh41:
adrp x8, _bridge_tunnel_header@GOTPAGE
Lloh42:
ldr x8, [x8, _bridge_tunnel_header@GOTPAGEOFF]
Lloh43:
ldr w1, [x8]
ldr w2, [x25]
bl _memcmp
cbz w0, LBB0_24
; %bb.22: ; in Loop: Header=BB0_19 Depth=1
ldr w0, [x21, #8]
LBB0_23: ; in Loop: Header=BB0_19 Depth=1
bl _htons
stur w0, [x29, #-92]
mov x0, x21
mov w1, #2 ; =0x2
bl _skb_push
sub x1, x29, #92
mov w2, #2 ; =0x2
bl _memcpy
b LBB0_25
LBB0_24: ; in Loop: Header=BB0_19 Depth=1
ldr w1, [x25]
mov x0, x21
bl _skb_pull
LBB0_25: ; in Loop: Header=BB0_19 Depth=1
ldr w1, [x28]
mov x0, x21
bl _skb_push
ldr x1, [x19, #48]
ldr w2, [x28]
bl _memcpy
ldr w1, [x28]
mov x0, x21
bl _skb_push
ldr x1, [x19, #40]
ldr w2, [x28]
bl _memcpy
ldr w1, [x20]
mov x0, x21
bl _eth_type_trans
ldr w8, [x20]
stp w8, w0, [x21, #16]
ldr w8, [x19, #32]
cmp w8, #1
b.ne LBB0_17
; %bb.26: ; in Loop: Header=BB0_19 Depth=1
ldr w9, [x19, #36]
mov x8, x23
cmp w9, #1
b.ne LBB0_17
b LBB0_18
LBB0_27:
str wzr, [x19]
add x1, x20, #4
mov x0, x19
bl _r8712_free_recvframe
ldur x8, [x29, #-88]
Lloh44:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh45:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh46:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_29
; %bb.28:
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_29:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpLdrGot Lloh30, Lloh31
.loh AdrpLdrGot Lloh28, Lloh29
.loh AdrpLdrGot Lloh26, Lloh27
.loh AdrpLdrGot Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40
.loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37
.loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34
.loh AdrpLdrGotLdr Lloh41, Lloh42, Lloh43
.loh AdrpLdrGotLdr Lloh44, Lloh45, Lloh46
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _MAX_SUBFRAME_COUNT,4,2 ; @MAX_SUBFRAME_COUNT
.comm _ETH_HLEN,4,2 ; @ETH_HLEN
.comm _ETHERNET_HEADER_SIZE,4,2 ; @ETHERNET_HEADER_SIZE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "r8712u: nRemain_Length is %d and nSubframe_Length is: %d\n"
l_.str.1: ; @.str.1
.asciz "r8712u: ParseSubframe(): Too many Subframes! Packets dropped!\n"
.comm _rfc1042_header,4,2 ; @rfc1042_header
.comm _SNAP_SIZE,4,2 ; @SNAP_SIZE
.comm _ETH_P_AARP,4,2 ; @ETH_P_AARP
.comm _ETH_P_IPX,4,2 ; @ETH_P_IPX
.comm _bridge_tunnel_header,4,2 ; @bridge_tunnel_header
.comm _ETH_ALEN,4,2 ; @ETH_ALEN
.comm _CHECKSUM_UNNECESSARY,4,2 ; @CHECKSUM_UNNECESSARY
.comm _CHECKSUM_NONE,4,2 ; @CHECKSUM_NONE
.no_dead_strip _amsdu_to_msdu
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function init_hwif_ns87415
_init_hwif_ns87415: ## @init_hwif_ns87415
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
movl 56(%rdi), %edi
callq _to_pci_dev
movq %rax, %r14
leaq -20(%rbp), %rdx
movq %rax, %rdi
movl $64, %esi
callq _pci_read_config_dword
leaq -24(%rbp), %rdx
movq %r14, %rdi
movl $9, %esi
callq _pci_read_config_byte
movq 48(%rbx), %rax
testq %rax, %rax
je LBB0_2
## %bb.1:
movq (%rax), %rax
movq %rax, 8(%rbx)
jmp LBB0_3
LBB0_2:
movq _ns87415_control@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _ns87415_count@GOTPCREL(%rip), %rcx
movslq (%rcx), %rdx
leal 1(%rdx), %esi
movl %esi, (%rcx)
leaq (%rax,%rdx,4), %rcx
movq %rcx, 8(%rbx)
movl $-833, %ecx ## imm = 0xFCBF
andl -20(%rbp), %ecx
orl $768, %ecx ## imm = 0x300
movl %ecx, -20(%rbp)
movl %ecx, (%rax,%rdx,4)
movl -20(%rbp), %edx
movq %r14, %rdi
movl $64, %esi
callq _pci_write_config_dword
movq %r14, %rdi
movl $85, %esi
movl $238, %edx
callq _pci_write_config_byte
LBB0_3:
movq 16(%rbx), %rsi
testq %rsi, %rsi
je LBB0_5
## %bb.4:
movq _ATA_DMA_STATUS@GOTPCREL(%rip), %rax
addq (%rax), %rsi
movl $96, %edi
callq _outb
LBB0_5:
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ns87415_control,8,3 ## @ns87415_control
.comm _ns87415_count,4,2 ## @ns87415_count
.comm _ATA_DMA_STATUS,8,3 ## @ATA_DMA_STATUS
.comm _ATA_BUSY,4,2 ## @ATA_BUSY
.no_dead_strip _init_hwif_ns87415
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function init_hwif_ns87415
_init_hwif_ns87415: ; @init_hwif_ns87415
.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
mov x19, x0
ldr w0, [x0, #56]
bl _to_pci_dev
mov x20, x0
add x2, sp, #12
mov w1, #64 ; =0x40
bl _pci_read_config_dword
add x2, sp, #8
mov x0, x20
mov w1, #9 ; =0x9
bl _pci_read_config_byte
ldr x8, [x19, #48]
cbz x8, LBB0_4
; %bb.1:
ldr x8, [x8]
str x8, [x19, #8]
ldr x8, [x19, #16]
cbz x8, LBB0_3
LBB0_2:
Lloh0:
adrp x9, _ATA_DMA_STATUS@GOTPAGE
Lloh1:
ldr x9, [x9, _ATA_DMA_STATUS@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
add x1, x9, x8
mov w0, #96 ; =0x60
bl _outb
LBB0_3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
LBB0_4:
Lloh3:
adrp x8, _ns87415_control@GOTPAGE
Lloh4:
ldr x8, [x8, _ns87415_control@GOTPAGEOFF]
Lloh5:
ldr x8, [x8]
Lloh6:
adrp x9, _ns87415_count@GOTPAGE
Lloh7:
ldr x9, [x9, _ns87415_count@GOTPAGEOFF]
ldrsw x10, [x9]
add w11, w10, #1
str w11, [x9]
add x9, x8, x10, lsl #2
str x9, [x19, #8]
ldr w9, [sp, #12]
and w9, w9, #0xffffffbf
orr w9, w9, #0x300
str w9, [sp, #12]
str w9, [x8, x10, lsl #2]
ldr w2, [sp, #12]
mov x0, x20
mov w1, #64 ; =0x40
bl _pci_write_config_dword
mov x0, x20
mov w1, #85 ; =0x55
mov w2, #238 ; =0xee
bl _pci_write_config_byte
ldr x8, [x19, #16]
cbnz x8, LBB0_2
b LBB0_3
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _ns87415_control,8,3 ; @ns87415_control
.comm _ns87415_count,4,2 ; @ns87415_count
.comm _ATA_DMA_STATUS,8,3 ; @ATA_DMA_STATUS
.comm _ATA_BUSY,4,2 ; @ATA_BUSY
.no_dead_strip _init_hwif_ns87415
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _LiStrToKeyBit ## -- Begin function LiStrToKeyBit
.p2align 4, 0x90
_LiStrToKeyBit: ## @LiStrToKeyBit
.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 ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
xorl %r15d, %r15d
movq %rdi, %rax
orq %rsi, %rax
je LBB0_18
## %bb.1:
movq %rdi, %rbx
movq %rsi, %rdi
callq _CopyStr
movq %rax, %r14
movq %rax, %rdi
callq _Trim
movq %r14, %rdi
callq _StrLen
cmpl $41, %eax
jne LBB0_3
## %bb.2:
movq %rbx, -208(%rbp) ## 8-byte Spill
xorl %r12d, %r12d
movq _INFINITE@GOTPCREL(%rip), %rdi
movq _li_keybit_chars@GOTPCREL(%rip), %rbx
xorl %ecx, %ecx
movq %r14, -200(%rbp) ## 8-byte Spill
.p2align 4, 0x90
LBB0_5: ## =>This Loop Header: Depth=1
## Child Loop BB0_10 Depth 2
movslq %ecx, %r8
movzbl (%r14,%r8), %eax
incq %r8
cmpq $35, %r12
je LBB0_9
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movzbl %r12b, %edx
imull $171, %edx, %edx
shrl $9, %edx
andl $-2, %edx
leal (%rdx,%rdx,2), %edx
movl %r12d, %esi
subb %dl, %sil
cmpb $5, %sil
jne LBB0_9
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
cmpb $45, (%r14,%r8)
jne LBB0_15
## %bb.8: ## in Loop: Header=BB0_5 Depth=1
addl $2, %ecx
movl %ecx, %r8d
LBB0_9: ## in Loop: Header=BB0_5 Depth=1
movq %r8, -216(%rbp) ## 8-byte Spill
movl (%rdi), %r13d
movl %r13d, -192(%rbp,%r12,4)
movsbl %al, %r15d
xorl %r14d, %r14d
jmp LBB0_10
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_10 Depth=2
incq %r14
cmpq $32, %r14
je LBB0_13
LBB0_10: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
movl %r15d, %edi
callq _ToUpper
movq (%rbx), %rcx
cmpq (%rcx,%r14,8), %rax
jne LBB0_12
## %bb.11: ## in Loop: Header=BB0_10 Depth=2
movl %r14d, -192(%rbp,%r12,4)
movl %r14d, %r13d
jmp LBB0_12
.p2align 4, 0x90
LBB0_13: ## in Loop: Header=BB0_5 Depth=1
movq _INFINITE@GOTPCREL(%rip), %rdi
cmpl (%rdi), %r13d
je LBB0_14
## %bb.4: ## in Loop: Header=BB0_5 Depth=1
incq %r12
movq -216(%rbp), %rax ## 8-byte Reload
movl %eax, %ecx
cmpq $36, %r12
movq -200(%rbp), %r14 ## 8-byte Reload
jne LBB0_5
## %bb.17:
movq -208(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rdi
movl $23, %esi
callq _Zero
movl -192(%rbp), %eax
movl -188(%rbp), %ecx
addl %eax, %eax
movl %ecx, %edx
sarl $4, %edx
andl %eax, %edx
movl %edx, (%rbx)
shll $4, %ecx
movl -184(%rbp), %eax
movl %eax, %edx
sarl %edx
orl %ecx, %edx
movl %edx, 4(%rbx)
shll $7, %eax
movl -180(%rbp), %ecx
movl -176(%rbp), %edx
shll $2, %ecx
orl %eax, %ecx
movl %edx, %eax
sarl $3, %eax
orl %ecx, %eax
movl %eax, 8(%rbx)
shll $5, %edx
orl -172(%rbp), %edx
movl %edx, 12(%rbx)
movl -168(%rbp), %eax
movl -164(%rbp), %ecx
shll $3, %eax
movl %ecx, %edx
sarl $2, %edx
orl %eax, %edx
movl %edx, 16(%rbx)
shll $6, %ecx
movl -160(%rbp), %eax
movl -156(%rbp), %edx
addl %eax, %eax
orl %ecx, %eax
movl %edx, %ecx
sarl $4, %ecx
orl %eax, %ecx
movl %ecx, 20(%rbx)
shll $4, %edx
movl -152(%rbp), %eax
movl %eax, %ecx
sarl %ecx
orl %edx, %ecx
movl %ecx, 24(%rbx)
shll $7, %eax
movl -148(%rbp), %ecx
movl -144(%rbp), %edx
shll $2, %ecx
orl %eax, %ecx
movl %edx, %eax
sarl $3, %eax
orl %ecx, %eax
movl %eax, 28(%rbx)
shll $5, %edx
orl -140(%rbp), %edx
movl %edx, 32(%rbx)
movl -136(%rbp), %eax
movl -132(%rbp), %ecx
shll $3, %eax
movl %ecx, %edx
sarl $2, %edx
orl %eax, %edx
movl %edx, 36(%rbx)
shll $6, %ecx
movl -128(%rbp), %eax
movl -124(%rbp), %edx
addl %eax, %eax
orl %ecx, %eax
movl %edx, %ecx
sarl $4, %ecx
orl %eax, %ecx
movl %ecx, 40(%rbx)
shll $4, %edx
movl -120(%rbp), %eax
movl %eax, %ecx
sarl %ecx
orl %edx, %ecx
movl %ecx, 44(%rbx)
shll $7, %eax
movl -116(%rbp), %ecx
movl -112(%rbp), %edx
shll $2, %ecx
orl %eax, %ecx
movl %edx, %eax
sarl $3, %eax
orl %ecx, %eax
movl %eax, 48(%rbx)
shll $5, %edx
orl -108(%rbp), %edx
movl %edx, 52(%rbx)
movl -104(%rbp), %eax
movl -100(%rbp), %ecx
shll $3, %eax
movl %ecx, %edx
sarl $2, %edx
orl %eax, %edx
movl %edx, 56(%rbx)
shll $6, %ecx
movl -96(%rbp), %eax
movl -92(%rbp), %edx
addl %eax, %eax
orl %ecx, %eax
movl %edx, %ecx
sarl $4, %ecx
orl %eax, %ecx
movl %ecx, 60(%rbx)
shll $4, %edx
movl -88(%rbp), %eax
movl %eax, %ecx
sarl %ecx
orl %edx, %ecx
movl %ecx, 64(%rbx)
shll $7, %eax
movl -84(%rbp), %ecx
movl -80(%rbp), %edx
shll $2, %ecx
orl %eax, %ecx
movl %edx, %eax
sarl $3, %eax
orl %ecx, %eax
movl %eax, 68(%rbx)
shll $5, %edx
orl -76(%rbp), %edx
movl %edx, 72(%rbx)
movl -72(%rbp), %eax
movl -68(%rbp), %ecx
shll $3, %eax
movl %ecx, %edx
sarl $2, %edx
orl %eax, %edx
movl %edx, 76(%rbx)
shll $6, %ecx
movl -64(%rbp), %eax
movl -60(%rbp), %edx
addl %eax, %eax
orl %ecx, %eax
movl %edx, %ecx
sarl $4, %ecx
orl %eax, %ecx
movl %ecx, 80(%rbx)
shll $4, %edx
movl -56(%rbp), %eax
movl %eax, %ecx
sarl %ecx
orl %edx, %ecx
movl %ecx, 84(%rbx)
shll $7, %eax
movl -52(%rbp), %ecx
shll $2, %ecx
orl %eax, %ecx
movl %ecx, 88(%rbx)
movq %r14, %rdi
callq _Free
movl $1, %r15d
jmp LBB0_18
LBB0_3:
movq %r14, %rdi
callq _Free
jmp LBB0_18
LBB0_14:
movq -200(%rbp), %rdi ## 8-byte Reload
jmp LBB0_16
LBB0_15:
movq %r14, %rdi
LBB0_16:
callq _Free
xorl %r15d, %r15d
LBB0_18:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_20
## %bb.19:
movl %r15d, %eax
addq $184, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_20:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _INFINITE,4,2 ## @INFINITE
.comm _li_keybit_chars,8,3 ## @li_keybit_chars
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _LiStrToKeyBit ; -- Begin function LiStrToKeyBit
.p2align 2
_LiStrToKeyBit: ; @LiStrToKeyBit
.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
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-96]
orr x8, x0, x1
cbz x8, LBB0_15
; %bb.1:
mov x19, x0
mov x0, x1
bl _CopyStr
mov x20, x0
bl _Trim
mov x0, x20
bl _StrLen
cmp w0, #41
b.ne LBB0_14
; %bb.2:
mov x22, #0 ; =0x0
mov w8, #0 ; =0x0
Lloh3:
adrp x25, _INFINITE@GOTPAGE
Lloh4:
ldr x25, [x25, _INFINITE@GOTPAGEOFF]
mov x26, sp
Lloh5:
adrp x27, _li_keybit_chars@GOTPAGE
Lloh6:
ldr x27, [x27, _li_keybit_chars@GOTPAGEOFF]
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_9 Depth 2
sxtw x9, w8
add x28, x9, #1
ldrsb w21, [x20, x9]
cmp x22, #35
b.eq LBB0_7
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
and w9, w22, #0xff
and x10, x22, #0xff
mov w11, #43691 ; =0xaaab
movk w11, #10922, lsl #16
umull x10, w10, w11
lsr x10, x10, #32
mov w11, #6 ; =0x6
msub w9, w10, w11, w9
cmp w9, #5
b.ne LBB0_7
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
ldrb w9, [x20, x28]
cmp w9, #45
b.ne LBB0_14
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
add w28, w8, #2
LBB0_7: ; in Loop: Header=BB0_3 Depth=1
mov x23, #0 ; =0x0
ldr w24, [x25]
str w24, [x26, x22, lsl #2]
b LBB0_9
LBB0_8: ; in Loop: Header=BB0_9 Depth=2
add x23, x23, #1
cmp x23, #32
b.eq LBB0_11
LBB0_9: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
mov x0, x21
bl _ToUpper
ldr x8, [x27]
ldr x8, [x8, x23, lsl #3]
cmp x0, x8
b.ne LBB0_8
; %bb.10: ; in Loop: Header=BB0_9 Depth=2
str w23, [x26, x22, lsl #2]
mov x24, x23
b LBB0_8
LBB0_11: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [x25]
cmp w24, w8
b.eq LBB0_14
; %bb.12: ; in Loop: Header=BB0_3 Depth=1
add x22, x22, #1
mov x8, x28
cmp x22, #36
b.ne LBB0_3
; %bb.13:
mov x0, x19
mov w1, #23 ; =0x17
bl _Zero
ldp w8, w9, [sp]
asr w10, w9, #4
and w8, w10, w8, lsl #1
ldp w10, w11, [sp, #8]
asr w12, w10, #1
orr w9, w12, w9, lsl #4
stp w8, w9, [x19]
lsl w8, w11, #2
orr w8, w8, w10, lsl #7
ldp w9, w10, [sp, #16]
orr w8, w8, w9, asr #3
orr w9, w10, w9, lsl #5
stp w8, w9, [x19, #8]
ldp w8, w9, [sp, #24]
asr w10, w9, #2
orr w8, w10, w8, lsl #3
ldp w10, w11, [sp, #32]
lsl w10, w10, #1
orr w9, w10, w9, lsl #6
orr w9, w9, w11, asr #4
stp w8, w9, [x19, #16]
ldp w8, w9, [sp, #40]
asr w10, w8, #1
orr w10, w10, w11, lsl #4
lsl w9, w9, #2
orr w8, w9, w8, lsl #7
ldp w9, w11, [sp, #48]
orr w8, w8, w9, asr #3
stp w10, w8, [x19, #24]
orr w8, w11, w9, lsl #5
ldp w9, w10, [sp, #56]
asr w11, w10, #2
orr w9, w11, w9, lsl #3
stp w8, w9, [x19, #32]
ldp w8, w9, [sp, #64]
lsl w8, w8, #1
orr w8, w8, w10, lsl #6
orr w8, w8, w9, asr #4
ldp w10, w11, [sp, #72]
asr w12, w10, #1
orr w9, w12, w9, lsl #4
stp w8, w9, [x19, #40]
lsl w8, w11, #2
orr w8, w8, w10, lsl #7
ldp w9, w10, [sp, #80]
orr w8, w8, w9, asr #3
orr w9, w10, w9, lsl #5
stp w8, w9, [x19, #48]
ldp w8, w9, [sp, #88]
asr w10, w9, #2
orr w8, w10, w8, lsl #3
ldp w10, w11, [sp, #96]
lsl w10, w10, #1
orr w9, w10, w9, lsl #6
orr w9, w9, w11, asr #4
stp w8, w9, [x19, #56]
ldp w8, w9, [sp, #104]
asr w10, w8, #1
orr w10, w10, w11, lsl #4
lsl w9, w9, #2
orr w8, w9, w8, lsl #7
ldp w9, w11, [sp, #112]
orr w8, w8, w9, asr #3
stp w10, w8, [x19, #64]
orr w8, w11, w9, lsl #5
ldp w9, w10, [sp, #120]
asr w11, w10, #2
orr w9, w11, w9, lsl #3
stp w8, w9, [x19, #72]
ldp w8, w9, [sp, #128]
lsl w8, w8, #1
orr w8, w8, w10, lsl #6
orr w8, w8, w9, asr #4
ldp w10, w11, [sp, #136]
asr w12, w10, #1
orr w9, w12, w9, lsl #4
stp w8, w9, [x19, #80]
lsl w8, w11, #2
orr w8, w8, w10, lsl #7
str w8, [x19, #88]
mov x0, x20
bl _Free
mov w0, #1 ; =0x1
b LBB0_16
LBB0_14:
mov x0, x20
bl _Free
LBB0_15:
mov w0, #0 ; =0x0
LBB0_16:
ldur x8, [x29, #-96]
Lloh7:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh8:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_18
; %bb.17:
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_18:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _INFINITE,4,2 ; @INFINITE
.comm _li_keybit_chars,8,3 ; @li_keybit_chars
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _gettilde ## -- Begin function gettilde
.p2align 4, 0x90
_gettilde: ## @gettilde
.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 _tcache@GOTPCREL(%rip), %r15
movq (%r15), %r14
testq %r14, %r14
jne LBB0_2
## %bb.1:
movq _TILINCR@GOTPCREL(%rip), %rax
movl (%rax), %eax
shll $3, %eax
leal (%rax,%rax,2), %edi
callq _xmalloc
movq %rax, %r14
movq %rax, (%r15)
LBB0_2:
movq _tlength@GOTPCREL(%rip), %rax
movslq (%rax), %rax
testq %rax, %rax
js LBB0_3
LBB0_11:
movq %rbx, %rdi
callq _gethomedir
testq %rax, %rax
je LBB0_12
## %bb.13:
movq %rax, %r14
movq %rbx, %rdi
callq _Strsave
movq _tcache@GOTPCREL(%rip), %rbx
movq (%rbx), %rcx
movq _tlength@GOTPCREL(%rip), %r15
movslq (%r15), %rdx
shlq $3, %rdx
leaq (%rdx,%rdx,2), %rdx
movq %rax, (%rcx,%rdx)
movq (%rbx), %rax
movq %r14, 8(%rax,%rdx)
movq %r14, %rdi
callq _Strlen
movq (%rbx), %rdi
movslq (%r15), %rcx
leal 1(%rcx), %edx
movl %edx, (%r15)
leaq (%rcx,%rcx,2), %rcx
movl %eax, 16(%rdi,%rcx,8)
movl (%r15), %esi
movq _tildecompare@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl $24, %edx
callq _qsort
movl (%r15), %eax
movq _tsize@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB0_15
## %bb.14:
movq _TILINCR@GOTPCREL(%rip), %rdx
addl (%rdx), %eax
movl %eax, (%rcx)
movq (%rbx), %rdi
shll $3, %eax
leal (%rax,%rax,2), %esi
callq _xrealloc
movq %rax, (%rbx)
jmp LBB0_15
LBB0_3:
negq %rax
leaq (%rax,%rax,2), %rax
leaq (%r14,%rax,8), %r12
movabsq $-6148914691236517205, %r13 ## imm = 0xAAAAAAAAAAAAAAAB
jmp LBB0_4
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_4 Depth=1
addq $24, %r15
movq %r15, %r14
cmpq %r12, %r14
jae LBB0_11
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq %r12, %rax
subq %r14, %rax
sarq $3, %rax
imulq %r13, %rax
shrq %rax
leaq (%rax,%rax,2), %rcx
leaq (%r14,%rcx,8), %r15
movsbl (%rbx), %eax
movq (%r14,%rcx,8), %rsi
movsbl (%rsi), %ecx
subl %ecx, %eax
jne LBB0_7
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movq %rbx, %rdi
callq _Strcmp
testl %eax, %eax
je LBB0_6
LBB0_7: ## in Loop: Header=BB0_4 Depth=1
testl %eax, %eax
jns LBB0_9
## %bb.8: ## in Loop: Header=BB0_4 Depth=1
movq %r15, %r12
cmpq %r12, %r14
jb LBB0_4
jmp LBB0_11
LBB0_12:
xorl %r14d, %r14d
jmp LBB0_15
LBB0_6:
movq 8(%r15), %r14
LBB0_15:
movq %r14, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _tcache,8,3 ## @tcache
.comm _TILINCR,4,2 ## @TILINCR
.comm _tlength,4,2 ## @tlength
.comm _tildecompare,4,2 ## @tildecompare
.comm _tsize,4,2 ## @tsize
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _gettilde ; -- Begin function gettilde
.p2align 2
_gettilde: ; @gettilde
.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
Lloh0:
adrp x21, _tcache@GOTPAGE
Lloh1:
ldr x21, [x21, _tcache@GOTPAGEOFF]
ldr x20, [x21]
cbnz x20, LBB0_2
; %bb.1:
Lloh2:
adrp x8, _TILINCR@GOTPAGE
Lloh3:
ldr x8, [x8, _TILINCR@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
add w8, w8, w8, lsl #1
lsl w0, w8, #3
bl _xmalloc
mov x20, x0
str x0, [x21]
LBB0_2:
Lloh5:
adrp x22, _tlength@GOTPAGE
Lloh6:
ldr x22, [x22, _tlength@GOTPAGEOFF]
ldrsw x8, [x22]
tbnz w8, #31, LBB0_6
LBB0_3:
mov x0, x19
bl _gethomedir
mov x20, x0
cbz x0, LBB0_11
; %bb.4:
mov x0, x19
bl _Strsave
ldr x8, [x21]
ldrsw x9, [x22]
add x9, x9, x9, lsl #1
lsl x9, x9, #3
str x0, [x8, x9]
ldr x8, [x21]
add x8, x8, x9
str x20, [x8, #8]
mov x0, x20
bl _Strlen
ldr x8, [x21]
ldrsw x9, [x22]
add w10, w9, #1
str w10, [x22]
mov w10, #24 ; =0x18
smaddl x9, w9, w10, x8
str w0, [x9, #16]
ldr w1, [x22]
Lloh7:
adrp x9, _tildecompare@GOTPAGE
Lloh8:
ldr x9, [x9, _tildecompare@GOTPAGEOFF]
Lloh9:
ldr w3, [x9]
mov x0, x8
mov w2, #24 ; =0x18
bl _qsort
ldr w8, [x22]
Lloh10:
adrp x9, _tsize@GOTPAGE
Lloh11:
ldr x9, [x9, _tsize@GOTPAGEOFF]
ldr w10, [x9]
cmp w8, w10
b.ne LBB0_11
; %bb.5:
Lloh12:
adrp x10, _TILINCR@GOTPAGE
Lloh13:
ldr x10, [x10, _TILINCR@GOTPAGEOFF]
Lloh14:
ldr w10, [x10]
add w8, w10, w8
str w8, [x9]
ldr x0, [x21]
add w8, w8, w8, lsl #1
lsl w1, w8, #3
bl _xrealloc
str x0, [x21]
b LBB0_11
LBB0_6:
mov w23, #24 ; =0x18
mneg x8, x8, x23
add x24, x20, x8
mov x25, #-6148914691236517206 ; =0xaaaaaaaaaaaaaaaa
movk x25, #43691
b LBB0_8
LBB0_7: ; in Loop: Header=BB0_8 Depth=1
add x8, x26, #24
cmp w0, #0
csel x24, x26, x24, lt
csel x20, x20, x8, lt
cmp x20, x24
b.hs LBB0_3
LBB0_8: ; =>This Inner Loop Header: Depth=1
sub x8, x24, x20
asr x8, x8, #3
mul x8, x8, x25
lsr x8, x8, #1
madd x26, x8, x23, x20
ldrsb w8, [x19]
ldr x1, [x26]
ldrsb w9, [x1]
subs w0, w8, w9
b.ne LBB0_7
; %bb.9: ; in Loop: Header=BB0_8 Depth=1
mov x0, x19
bl _Strcmp
cbnz w0, LBB0_7
; %bb.10:
ldr x20, [x26, #8]
LBB0_11:
mov x0, 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
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.cfi_endproc
; -- End function
.comm _tcache,8,3 ; @tcache
.comm _TILINCR,4,2 ; @TILINCR
.comm _tlength,4,2 ; @tlength
.comm _tildecompare,4,2 ; @tildecompare
.comm _tsize,4,2 ; @tsize
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function _bt_vacuum_one_page
__bt_vacuum_one_page: ## @_bt_vacuum_one_page
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %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, -60(%rbp) ## 4-byte Spill
movl %esi, %ebx
movl %edi, -52(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _MaxOffsetNumber@GOTPCREL(%rip), %rax
movl (%rax), %eax
shlq $3, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r12
movl %ebx, -56(%rbp) ## 4-byte Spill
movl %ebx, %edi
callq _BufferGetPage
movl %eax, %r13d
movl %eax, %edi
callq _PageGetSpecialPointer
movl %eax, %ebx
movl %eax, %edi
callq _P_ISLEAF
movl %eax, %edi
callq _Assert
movl %ebx, %edi
callq _P_FIRSTDATAKEY
movq %rax, %rbx
movl %r13d, %edi
callq _PageGetMaxOffsetNumber
cmpq %rax, %rbx
jg LBB0_7
## %bb.1:
movq %rax, %r14
xorl %r15d, %r15d
jmp LBB0_2
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
movq %rbx, %rdi
callq _OffsetNumberNext
movq %rax, %rbx
cmpq %r14, %rax
jg LBB0_5
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl %r13d, %edi
movq %rbx, %rsi
callq _PageGetItemId
movl %eax, %edi
callq _ItemIdIsDead
testq %rax, %rax
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movslq %r15d, %rax
decl %r15d
movq %rbx, (%r12,%rax,8)
jmp LBB0_4
LBB0_5:
testl %r15d, %r15d
jle LBB0_7
## %bb.6:
movl -52(%rbp), %edi ## 4-byte Reload
movl -56(%rbp), %esi ## 4-byte Reload
movq %r12, %rdx
movl %r15d, %ecx
movl -60(%rbp), %r8d ## 4-byte Reload
callq __bt_delitems_delete
LBB0_7:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_9
## %bb.8:
leaq -40(%rbp), %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 _MaxOffsetNumber,4,2 ## @MaxOffsetNumber
.no_dead_strip __bt_vacuum_one_page
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function _bt_vacuum_one_page
__bt_vacuum_one_page: ; @_bt_vacuum_one_page
.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
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, #-72]
Lloh3:
adrp x8, _MaxOffsetNumber@GOTPAGE
Lloh4:
ldr x8, [x8, _MaxOffsetNumber@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
lsl x8, x8, #3
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, #0xffffffff0
sub x22, x9, x8
mov sp, x22
mov x0, x1
bl _BufferGetPage
mov x23, x0
bl _PageGetSpecialPointer
mov x24, x0
bl _P_ISLEAF
bl _Assert
mov x0, x24
bl _P_FIRSTDATAKEY
mov x24, x0
mov x0, x23
bl _PageGetMaxOffsetNumber
cmp x24, x0
b.gt LBB0_7
; %bb.1:
mov x25, x0
mov w26, #0 ; =0x0
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
mov x0, x24
bl _OffsetNumberNext
mov x24, x0
cmp x0, x25
b.gt LBB0_5
LBB0_3: ; =>This Inner Loop Header: Depth=1
mov x0, x23
mov x1, x24
bl _PageGetItemId
bl _ItemIdIsDead
cbz x0, LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
str x24, [x22, w26, sxtw #3]
sub w26, w26, #1
b LBB0_2
LBB0_5:
cmp w26, #1
b.lt LBB0_7
; %bb.6:
mov x0, x21
mov x1, x20
mov x2, x22
mov x3, x26
mov x4, x19
bl __bt_delitems_delete
LBB0_7:
ldur x8, [x29, #-72]
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_9
; %bb.8:
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_9:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _MaxOffsetNumber,4,2 ; @MaxOffsetNumber
.no_dead_strip __bt_vacuum_one_page
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function eir_append_le16
_eir_append_le16: ## @eir_append_le16
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rsi, %rbx
leaq (%rdi,%rsi,4), %rsi
movl $12, (%rdi,%rbx,4)
movl %edx, -4(%rdi,%rbx,4)
movq %rcx, %rdi
callq _put_unaligned_le16
addq $8, %rbx
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _eir_append_le16
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function eir_append_le16
_eir_append_le16: ; @eir_append_le16
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
add x1, x0, x1, lsl #2
mov w8, #12 ; =0xc
stp w2, w8, [x1, #-4]
mov x0, x3
bl _put_unaligned_le16
add x0, x19, #8
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _eir_append_le16
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function is_ntfs_dot_generic
_is_ntfs_dot_generic: ## @is_ntfs_dot_generic
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r15
movq %rdi, %rbx
cmpb $46, (%rdi)
je LBB0_2
## %bb.1:
movq %rcx, %r14
movq %rsi, %r12
leaq 1(%rbx), %rdi
movl %r15d, %edx
callq _strncasecmp
testl %eax, %eax
je LBB0_2
## %bb.10:
movq %rbx, %rdi
movq %r12, %rsi
movl $6, %edx
callq _strncasecmp
testl %eax, %eax
jne LBB0_13
## %bb.11:
cmpb $126, 6(%rbx)
jne LBB0_13
## %bb.12:
movzbl 7(%rbx), %eax
addb $-49, %al
movl $8, %r15d
cmpb $4, %al
jb LBB0_3
LBB0_13:
xorl %r12d, %r12d
xorl %eax, %eax
jmp LBB0_14
.p2align 4, 0x90
LBB0_16: ## in Loop: Header=BB0_14 Depth=1
addb $-58, %cl
movl $1, %eax
cmpb $-10, %cl
jb LBB0_17
LBB0_24: ## in Loop: Header=BB0_14 Depth=1
leaq 1(%r12), %r15
cmpq $8, %r12
movq %r15, %r12
jae LBB0_3
LBB0_14: ## =>This Inner Loop Header: Depth=1
movzbl (%rbx,%r12), %ecx
testb %cl, %cl
je LBB0_17
## %bb.15: ## in Loop: Header=BB0_14 Depth=1
testl %eax, %eax
jne LBB0_16
## %bb.18: ## in Loop: Header=BB0_14 Depth=1
cmpb $126, %cl
jne LBB0_21
## %bb.19: ## in Loop: Header=BB0_14 Depth=1
movzbl 1(%rbx,%r12), %eax
addb $-58, %al
cmpb $-9, %al
jb LBB0_17
## %bb.20: ## in Loop: Header=BB0_14 Depth=1
incq %r12
movl $1, %eax
jmp LBB0_24
LBB0_21: ## in Loop: Header=BB0_14 Depth=1
cmpq $5, %r12
ja LBB0_17
## %bb.22: ## in Loop: Header=BB0_14 Depth=1
testb %cl, %cl
js LBB0_17
## %bb.23: ## in Loop: Header=BB0_14 Depth=1
movsbl %cl, %edi
callq _tolower
movl %eax, %ecx
xorl %eax, %eax
cmpb (%r14,%r12), %cl
je LBB0_24
jmp LBB0_8
LBB0_2:
incq %r15
LBB0_3:
addq %r15, %rbx
jmp LBB0_4
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_4 Depth=1
decq %rbx
LBB0_4: ## =>This Inner Loop Header: Depth=1
movzbl (%rbx), %eax
cmpl $32, %eax
je LBB0_9
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
cmpl $46, %eax
je LBB0_9
## %bb.6:
testl %eax, %eax
jne LBB0_17
## %bb.7:
movl $1, %eax
jmp LBB0_8
LBB0_17:
xorl %eax, %eax
LBB0_8:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _is_ntfs_dot_generic
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function is_ntfs_dot_generic
_is_ntfs_dot_generic: ; @is_ntfs_dot_generic
.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 x22, x2
mov x19, x0
ldrb w8, [x0]
cmp w8, #46
b.eq LBB0_6
; %bb.1:
mov x20, x3
mov x21, x1
add x0, x19, #1
mov x2, x22
bl _strncasecmp
cbz w0, LBB0_6
; %bb.2:
mov x0, x19
mov x1, x21
mov w2, #6 ; =0x6
bl _strncasecmp
cbnz w0, LBB0_12
; %bb.3:
ldrb w8, [x19, #6]
cmp w8, #126
b.ne LBB0_12
; %bb.4:
ldrb w8, [x19, #7]
sub w8, w8, #49
cmp w8, #4
b.hs LBB0_12
; %bb.5:
mov w8, #8 ; =0x8
b LBB0_7
LBB0_6:
add x8, x22, #1
LBB0_7:
add x8, x19, x8
LBB0_8: ; =>This Inner Loop Header: Depth=1
ldrb w9, [x8], #-1
cmp w9, #32
b.eq LBB0_8
; %bb.9: ; in Loop: Header=BB0_8 Depth=1
cmp w9, #46
b.eq LBB0_8
; %bb.10:
mov w8, #1 ; =0x1
cmp w9, #0
csel w0, w8, wzr, eq
LBB0_11:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_12:
mov x21, #0 ; =0x0
mov w9, #0 ; =0x0
b LBB0_16
LBB0_13: ; in Loop: Header=BB0_16 Depth=1
sub w8, w8, #58
and w8, w8, #0xff
cmp w8, #246
b.lo LBB0_23
LBB0_14: ; in Loop: Header=BB0_16 Depth=1
mov w9, #1 ; =0x1
LBB0_15: ; in Loop: Header=BB0_16 Depth=1
add x8, x21, #1
cmp x21, #8
mov x21, x8
b.hs LBB0_7
LBB0_16: ; =>This Inner Loop Header: Depth=1
ldrsb w8, [x19, x21]
cbz w8, LBB0_23
; %bb.17: ; in Loop: Header=BB0_16 Depth=1
cbnz w9, LBB0_13
; %bb.18: ; in Loop: Header=BB0_16 Depth=1
cmp w8, #126
b.ne LBB0_20
; %bb.19: ; in Loop: Header=BB0_16 Depth=1
add x21, x21, #1
ldrb w8, [x19, x21]
sub w8, w8, #58
cmn w8, #9
b.hs LBB0_14
b LBB0_23
LBB0_20: ; in Loop: Header=BB0_16 Depth=1
mov w0, #0 ; =0x0
cmp x21, #5
b.hi LBB0_11
; %bb.21: ; in Loop: Header=BB0_16 Depth=1
tbnz w8, #31, LBB0_11
; %bb.22: ; in Loop: Header=BB0_16 Depth=1
mov x0, x8
bl _tolower
mov x8, x0
mov w9, #0 ; =0x0
mov w0, #0 ; =0x0
ldrb w10, [x20, x21]
cmp w10, w8, uxtb
b.eq LBB0_15
b LBB0_11
LBB0_23:
mov w0, #0 ; =0x0
b LBB0_11
.cfi_endproc
; -- End function
.no_dead_strip _is_ntfs_dot_generic
.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 get_next_block
LCPI0_0:
.long 0 ## 0x0
.long 1 ## 0x1
.long 2 ## 0x2
.long 3 ## 0x3
LCPI0_1:
.long 4 ## 0x4
.long 4 ## 0x4
.long 4 ## 0x4
.long 4 ## 0x4
LCPI0_2:
.long 8 ## 0x8
.long 8 ## 0x8
.long 8 ## 0x8
.long 8 ## 0x8
LCPI0_3:
.long 12 ## 0xc
.long 12 ## 0xc
.long 12 ## 0xc
.long 12 ## 0xc
LCPI0_4:
.long 16 ## 0x10
.long 16 ## 0x10
.long 16 ## 0x10
.long 16 ## 0x10
LCPI0_5:
.long 20 ## 0x14
.long 20 ## 0x14
.long 20 ## 0x14
.long 20 ## 0x14
LCPI0_6:
.long 24 ## 0x18
.long 24 ## 0x18
.long 24 ## 0x18
.long 24 ## 0x18
LCPI0_7:
.long 28 ## 0x1c
.long 28 ## 0x1c
.long 28 ## 0x1c
.long 28 ## 0x1c
LCPI0_8:
.long 32 ## 0x20
.long 32 ## 0x20
.long 32 ## 0x20
.long 32 ## 0x20
.section __TEXT,__literal4,4byte_literals
LCPI0_9:
.byte 0 ## 0x0
.byte 1 ## 0x1
.byte 2 ## 0x2
.byte 3 ## 0x3
LCPI0_10:
.space 4,4
LCPI0_11:
.space 4,8
LCPI0_12:
.space 4,12
LCPI0_13:
.space 4,16
LCPI0_14:
.space 4,20
LCPI0_15:
.space 4,24
LCPI0_16:
.space 4,28
LCPI0_17:
.space 4,32
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_get_next_block: ## @get_next_block
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $3176, %rsp ## imm = 0xC68
.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 (%rdi), %r14
movl 8(%rdi), %r13d
movq 16(%rdi), %rax
movq %rax, -3184(%rbp) ## 8-byte Spill
movl $24, %esi
callq _get_bits
movl %eax, %r15d
movq %rbx, %rdi
movl $24, %esi
callq _get_bits
movl %eax, %r12d
movq %rbx, %rdi
movl $32, %esi
callq _get_bits
movl %eax, 24(%rbx)
cmpl $1536581, %r15d ## imm = 0x177245
sete %al
cmpl $3690640, %r12d ## imm = 0x385090
sete %cl
orb %al, %cl
cmpb $1, %cl
jne LBB0_2
## %bb.1:
movq _RETVAL_LAST_BLOCK@GOTPCREL(%rip), %rax
jmp LBB0_8
LBB0_2:
xorl $3227993, %r15d ## imm = 0x314159
xorl $2511705, %r12d ## imm = 0x265359
orl %r15d, %r12d
je LBB0_4
## %bb.3:
movq _RETVAL_NOT_BZIP_DATA@GOTPCREL(%rip), %rax
jmp LBB0_8
LBB0_4:
movq %rbx, %rdi
movl $1, %esi
callq _get_bits
testl %eax, %eax
je LBB0_6
## %bb.5:
movq _RETVAL_OBSOLETE_INPUT@GOTPCREL(%rip), %rax
jmp LBB0_8
LBB0_6:
movq %rbx, %rdi
movl $24, %esi
callq _get_bits
cmpl %r13d, %eax
jle LBB0_11
LBB0_7:
movq _RETVAL_DATA_ERROR@GOTPCREL(%rip), %rax
LBB0_8:
movl (%rax), %eax
LBB0_9:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_116
## %bb.10:
addq $3176, %rsp ## imm = 0xC68
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_11:
movl %eax, -3156(%rbp) ## 4-byte Spill
movq %rbx, %rdi
movl $16, %esi
callq _get_bits
xorl %r15d, %r15d
xorl %r12d, %r12d
jmp LBB0_14
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_14 Depth=1
leal -1(%rcx), %r12d
LBB0_13: ## in Loop: Header=BB0_14 Depth=1
cmpl $256, %r12d ## imm = 0x100
movl %ecx, %r12d
jge LBB0_25
LBB0_14: ## =>This Loop Header: Depth=1
## Child Loop BB0_21 Depth 2
movq %rbx, %rdi
movl $16, %esi
callq _get_bits
testb $1, %r12b
jne LBB0_16
## %bb.15: ## in Loop: Header=BB0_14 Depth=1
movl %r12d, %ecx
jmp LBB0_19
.p2align 4, 0x90
LBB0_16: ## in Loop: Header=BB0_14 Depth=1
testw %ax, %ax
jns LBB0_18
## %bb.17: ## in Loop: Header=BB0_14 Depth=1
movslq %r15d, %rcx
incl %r15d
movl %r12d, -2096(%rbp,%rcx,4)
LBB0_18: ## in Loop: Header=BB0_14 Depth=1
addl %eax, %eax
leal 1(%r12), %ecx
LBB0_19: ## in Loop: Header=BB0_14 Depth=1
movl %r12d, %edx
notb %dl
testb $15, %dl
jne LBB0_21
jmp LBB0_13
.p2align 4, 0x90
LBB0_20: ## in Loop: Header=BB0_21 Depth=2
shll $2, %eax
addl $2, %ecx
testb $15, %cl
je LBB0_12
LBB0_21: ## Parent Loop BB0_14 Depth=1
## => This Inner Loop Header: Depth=2
testw %ax, %ax
jns LBB0_23
## %bb.22: ## in Loop: Header=BB0_21 Depth=2
movslq %r15d, %rdx
incl %r15d
movl %ecx, -2096(%rbp,%rdx,4)
LBB0_23: ## in Loop: Header=BB0_21 Depth=2
testl $16384, %eax ## imm = 0x4000
je LBB0_20
## %bb.24: ## in Loop: Header=BB0_21 Depth=2
leal 1(%rcx), %edx
movslq %r15d, %rsi
incl %r15d
movl %edx, -2096(%rbp,%rsi,4)
jmp LBB0_20
LBB0_25:
movq %rbx, %rdi
movl $3, %esi
callq _get_bits
cmpl $2, %eax
jl LBB0_7
## %bb.26:
movl %eax, %r12d
movq _MAX_GROUPS@GOTPCREL(%rip), %rax
cmpl (%rax), %r12d
jg LBB0_7
## %bb.27:
movl %r13d, -3132(%rbp) ## 4-byte Spill
movl %r12d, %r13d
cmpl $7, %r12d
ja LBB0_29
## %bb.28:
xorl %eax, %eax
jmp LBB0_32
LBB0_29:
movl %r13d, %eax
andl $2147483640, %eax ## imm = 0x7FFFFFF8
movl %r13d, %ecx
shrl $3, %ecx
andl $268435455, %ecx ## imm = 0xFFFFFFF
shlq $5, %rcx
pmovsxbd LCPI0_9(%rip), %xmm0 ## xmm0 = [0,1,2,3]
xorl %edx, %edx
pmovsxbd LCPI0_10(%rip), %xmm1 ## xmm1 = [4,4,4,4]
pmovsxbd LCPI0_11(%rip), %xmm2 ## xmm2 = [8,8,8,8]
.p2align 4, 0x90
LBB0_30: ## =>This Inner Loop Header: Depth=1
movdqa %xmm0, %xmm3
paddd %xmm1, %xmm3
movdqa %xmm0, -3120(%rbp,%rdx)
movdqa %xmm3, -3104(%rbp,%rdx)
paddd %xmm2, %xmm0
addq $32, %rdx
cmpq %rdx, %rcx
jne LBB0_30
## %bb.31:
cmpl %r13d, %eax
je LBB0_33
.p2align 4, 0x90
LBB0_32: ## =>This Inner Loop Header: Depth=1
movl %eax, -3120(%rbp,%rax,4)
incq %rax
cmpq %rax, %r13
jne LBB0_32
LBB0_33:
movq %rbx, %rdi
movl $15, %esi
callq _get_bits
## kill: def $eax killed $eax def $rax
testl %eax, %eax
je LBB0_7
## %bb.34:
movq %rax, -3168(%rbp) ## 8-byte Spill
movq %r14, -3144(%rbp) ## 8-byte Spill
jle LBB0_51
## %bb.35:
movl -3168(%rbp), %r14d ## 4-byte Reload
negl %r12d
xorl %esi, %esi
movq %r14, -3152(%rbp) ## 8-byte Spill
LBB0_36: ## =>This Loop Header: Depth=1
## Child Loop BB0_38 Depth 2
## Child Loop BB0_46 Depth 2
## Child Loop BB0_49 Depth 2
movq %rsi, -3128(%rbp) ## 8-byte Spill
movq %rbx, %rdi
movl $1, %esi
callq _get_bits
testl %eax, %eax
je LBB0_43
## %bb.37: ## in Loop: Header=BB0_36 Depth=1
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_38: ## Parent Loop BB0_36 Depth=1
## => This Inner Loop Header: Depth=2
cmpl %ecx, %r12d
je LBB0_7
## %bb.39: ## in Loop: Header=BB0_38 Depth=2
movl %ecx, %r14d
movq %rbx, %rdi
movl $1, %esi
callq _get_bits
leal -1(%r14), %ecx
testl %eax, %eax
jne LBB0_38
## %bb.40: ## in Loop: Header=BB0_36 Depth=1
movl %ecx, %edx
negl %edx
movl -3120(%rbp,%rdx,4), %eax
cmpl $-2147483647, %ecx ## imm = 0x80000001
jb LBB0_44
## %bb.41: ## in Loop: Header=BB0_36 Depth=1
notl %ecx
cmpl $7, %ecx
jae LBB0_45
## %bb.42: ## in Loop: Header=BB0_36 Depth=1
movq %rdx, %rcx
movq -3152(%rbp), %r14 ## 8-byte Reload
movq -3128(%rbp), %rsi ## 8-byte Reload
jmp LBB0_48
LBB0_43: ## in Loop: Header=BB0_36 Depth=1
movl -3120(%rbp), %eax
movq -3128(%rbp), %rsi ## 8-byte Reload
jmp LBB0_50
LBB0_44: ## in Loop: Header=BB0_36 Depth=1
movq -3152(%rbp), %r14 ## 8-byte Reload
movq -3128(%rbp), %rsi ## 8-byte Reload
jmp LBB0_50
LBB0_45: ## in Loop: Header=BB0_36 Depth=1
movl %edx, %esi
andl $-8, %esi
movl %edx, %ecx
andl $7, %ecx
movl $1, %edi
subl %r14d, %edi
andl $-8, %edi
xorl %r8d, %r8d
LBB0_46: ## Parent Loop BB0_36 Depth=1
## => This Inner Loop Header: Depth=2
movq %rdx, %r9
subq %r8, %r9
movdqu -3152(%rbp,%r9,4), %xmm0
movdqu -3136(%rbp,%r9,4), %xmm1
movdqu %xmm1, -3132(%rbp,%r9,4)
movdqu %xmm0, -3148(%rbp,%r9,4)
addq $8, %r8
cmpq %r8, %rdi
jne LBB0_46
## %bb.47: ## in Loop: Header=BB0_36 Depth=1
cmpl %edx, %esi
movq -3152(%rbp), %r14 ## 8-byte Reload
movq -3128(%rbp), %rsi ## 8-byte Reload
je LBB0_50
LBB0_48: ## in Loop: Header=BB0_36 Depth=1
incq %rcx
LBB0_49: ## Parent Loop BB0_36 Depth=1
## => This Inner Loop Header: Depth=2
movl -3128(%rbp,%rcx,4), %edx
movl %edx, -3124(%rbp,%rcx,4)
decq %rcx
cmpq $1, %rcx
ja LBB0_49
LBB0_50: ## in Loop: Header=BB0_36 Depth=1
movq -3184(%rbp), %rcx ## 8-byte Reload
movl %eax, (%rcx,%rsi,4)
movl %eax, -3120(%rbp)
incq %rsi
cmpq %r14, %rsi
jne LBB0_36
LBB0_51:
movl $16, %r14d
LBB0_52: ## =>This Inner Loop Header: Depth=1
movq %rsp, %r12
movq %rbx, %rdi
movl $5, %esi
callq _get_bits
cmpl $-1, %r15d
jge LBB0_96
## %bb.53: ## in Loop: Header=BB0_52 Depth=1
movq 80(%rbx), %rax
movq -8(%rax,%r14), %rcx
movq (%rax,%r14), %rax
movl $-1, -4(%rax)
movq _INT_MAX@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
movl %edx, (%rax)
movl $0, -4(%rcx)
movq %r12, %rsp
addq $32, %r14
decq %r13
jne LBB0_52
## %bb.54:
leaq -1072(%rbp), %rdi
movl $1024, %esi ## imm = 0x400
callq ___bzero
pmovsxbd LCPI0_9(%rip), %xmm0 ## xmm0 = [0,1,2,3]
movl $28, %eax
pmovsxbd LCPI0_10(%rip), %xmm1 ## xmm1 = [4,4,4,4]
pmovsxbd LCPI0_11(%rip), %xmm2 ## xmm2 = [8,8,8,8]
pmovsxbd LCPI0_12(%rip), %xmm3 ## xmm3 = [12,12,12,12]
pmovsxbd LCPI0_13(%rip), %xmm4 ## xmm4 = [16,16,16,16]
pmovsxbd LCPI0_14(%rip), %xmm5 ## xmm5 = [20,20,20,20]
pmovsxbd LCPI0_15(%rip), %xmm6 ## xmm6 = [24,24,24,24]
pmovsxbd LCPI0_16(%rip), %xmm7 ## xmm7 = [28,28,28,28]
pmovsxbd LCPI0_17(%rip), %xmm8 ## xmm8 = [32,32,32,32]
LBB0_55: ## =>This Inner Loop Header: Depth=1
movdqa %xmm0, %xmm9
paddd %xmm1, %xmm9
movdqa %xmm0, -3232(%rbp,%rax,4)
movdqa %xmm9, -3216(%rbp,%rax,4)
movdqa %xmm0, %xmm9
paddd %xmm2, %xmm9
movdqa %xmm0, %xmm10
paddd %xmm3, %xmm10
movdqa %xmm9, -3200(%rbp,%rax,4)
movdqa %xmm10, -3184(%rbp,%rax,4)
movdqa %xmm0, %xmm9
paddd %xmm4, %xmm9
movdqa %xmm0, %xmm10
paddd %xmm5, %xmm10
movdqa %xmm9, -3168(%rbp,%rax,4)
movdqa %xmm10, -3152(%rbp,%rax,4)
movdqa %xmm0, %xmm9
paddd %xmm6, %xmm9
movdqa %xmm0, %xmm10
paddd %xmm7, %xmm10
movdqa %xmm9, -3136(%rbp,%rax,4)
movdqa %xmm10, -3120(%rbp,%rax,4)
paddd %xmm8, %xmm0
addq $32, %rax
cmpq $284, %rax ## imm = 0x11C
jne LBB0_55
## %bb.56:
xorl %r12d, %r12d
movq -3168(%rbp), %rax ## 8-byte Reload
testl %eax, %eax
cmovlel %r12d, %eax
testl %eax, %eax
movl -3156(%rbp), %edi ## 4-byte Reload
movq -3144(%rbp), %rsi ## 8-byte Reload
je LBB0_7
## %bb.57:
leaq 16(%rsi), %rcx
movq %rcx, -3200(%rbp) ## 8-byte Spill
movq _GROUP_SIZE@GOTPCREL(%rip), %rcx
movq _MAX_SYMBOLS@GOTPCREL(%rip), %r11
xorl %r8d, %r8d
## implicit-def: $r14d
xorl %edx, %edx
movq %rax, -3168(%rbp) ## 8-byte Spill
LBB0_58: ## =>This Loop Header: Depth=1
## Child Loop BB0_61 Depth 2
## Child Loop BB0_64 Depth 3
## Child Loop BB0_68 Depth 3
## Child Loop BB0_80 Depth 3
## Child Loop BB0_83 Depth 3
## Child Loop BB0_90 Depth 3
## Child Loop BB0_93 Depth 3
movl (%rcx), %esi
movq 80(%rbx), %rax
movq -3184(%rbp), %rcx ## 8-byte Reload
movslq (%rcx,%rdx,4), %rcx
incq %rdx
movq %rdx, -3192(%rbp) ## 8-byte Spill
shlq $5, %rcx
leaq (%rax,%rcx), %rdx
movq %rdx, -3128(%rbp) ## 8-byte Spill
movq 8(%rax,%rcx), %rdx
movq %rdx, -3208(%rbp) ## 8-byte Spill
movq 16(%rax,%rcx), %r13
jmp LBB0_61
LBB0_59: ## in Loop: Header=BB0_61 Depth=2
movl %r14d, %r8d
testl %r14d, %r14d
movq -3176(%rbp), %r14 ## 8-byte Reload
cmovel %r8d, %r14d
cmpl $1, %r8d
adcl $0, %r8d
movl %r8d, %eax
## kill: def $cl killed $cl killed $rcx
shll %cl, %eax
addl %r14d, %eax
cmpl -3132(%rbp), %r8d ## 4-byte Folded Reload
setl %cl
shll %cl, %r8d
movl %eax, %r14d
LBB0_60: ## in Loop: Header=BB0_61 Depth=2
cmpl $1, %r10d
movl %edx, %esi
jle LBB0_95
LBB0_61: ## Parent Loop BB0_58 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_64 Depth 3
## Child Loop BB0_68 Depth 3
## Child Loop BB0_80 Depth 3
## Child Loop BB0_83 Depth 3
## Child Loop BB0_90 Depth 3
## Child Loop BB0_93 Depth 3
movq %r14, -3176(%rbp) ## 8-byte Spill
movl %r8d, %r14d
movq %rsi, -3152(%rbp) ## 8-byte Spill
movq -3128(%rbp), %rax ## 8-byte Reload
movl 4(%rax), %esi
movl 28(%rbx), %eax
movl %eax, %edx
subl %esi, %edx
js LBB0_63
## %bb.62: ## in Loop: Header=BB0_61 Depth=2
movl 48(%rbx), %r8d
jmp LBB0_66
LBB0_63: ## in Loop: Header=BB0_61 Depth=2
movq 32(%rbx), %rcx
movq 40(%rbx), %r8
xorl %r9d, %r9d
subq %r8, %r9
incq %rcx
addl $8, %eax
LBB0_64: ## Parent Loop BB0_58 Depth=1
## Parent Loop BB0_61 Depth=2
## => This Inner Loop Header: Depth=3
leaq (%r9,%rcx), %r8
cmpq $1, %r8
je LBB0_77
## %bb.65: ## in Loop: Header=BB0_64 Depth=3
movl 48(%rbx), %r8d
shll $8, %r8d
movq 56(%rbx), %r10
movq %rcx, 32(%rbx)
orl -4(%r10,%rcx,4), %r8d
movl %r8d, 48(%rbx)
movl %eax, 28(%rbx)
incq %rcx
addl $8, %eax
addl $8, %edx
js LBB0_64
LBB0_66: ## in Loop: Header=BB0_61 Depth=2
movl %edx, %ecx
sarl %cl, %r8d
movl $-1, %eax
movl %esi, %ecx
shll %cl, %eax
movl %edx, 28(%rbx)
notl %eax
andl %r8d, %eax
LBB0_67: ## in Loop: Header=BB0_61 Depth=2
movq -3152(%rbp), %r10 ## 8-byte Reload
leal -1(%r10), %edx
movq -3128(%rbp), %rcx ## 8-byte Reload
movslq (%rcx), %rsi
movl $1, %r8d
subl %esi, %r8d
shlq $2, %rsi
.p2align 4, 0x90
LBB0_68: ## Parent Loop BB0_58 Depth=1
## Parent Loop BB0_61 Depth=2
## => This Inner Loop Header: Depth=3
movq %rsi, %rcx
decl %r8d
addq $4, %rsi
cmpl -4(%r13,%rcx), %eax
jg LBB0_68
## %bb.69: ## in Loop: Header=BB0_61 Depth=2
movq -3128(%rbp), %rcx ## 8-byte Reload
movl 4(%rcx), %r9d
movl %r9d, %ecx
addl %r8d, %ecx
js LBB0_7
## %bb.70: ## in Loop: Header=BB0_61 Depth=2
addl 28(%rbx), %r9d
addl %r8d, %r9d
movl %r9d, 28(%rbx)
## kill: def $cl killed $cl killed $ecx
sarl %cl, %eax
movq -3208(%rbp), %rcx ## 8-byte Reload
movslq -8(%rcx,%rsi), %rcx
cltq
subq %rcx, %rax
cmpl (%r11), %eax
jae LBB0_7
## %bb.71: ## in Loop: Header=BB0_61 Depth=2
movq -3128(%rbp), %rcx ## 8-byte Reload
movq 24(%rcx), %rcx
movslq (%rcx,%rax,4), %rcx
movq _SYMBOL_RUNB@GOTPCREL(%rip), %rax
cmpl (%rax), %ecx
jbe LBB0_59
## %bb.72: ## in Loop: Header=BB0_61 Depth=2
testl %r14d, %r14d
movq -3176(%rbp), %r14 ## 8-byte Reload
je LBB0_85
## %bb.73: ## in Loop: Header=BB0_61 Depth=2
leal (%r12,%r14), %eax
cmpl -3132(%rbp), %eax ## 4-byte Folded Reload
jg LBB0_107
## %bb.74: ## in Loop: Header=BB0_61 Depth=2
movslq -3120(%rbp), %rax
movslq -2096(%rbp,%rax,4), %rax
addl %r14d, -1072(%rbp,%rax,4)
leal -1(%r14), %esi
testl %r14d, %r14d
jle LBB0_78
## %bb.75: ## in Loop: Header=BB0_61 Depth=2
movslq %r12d, %r10
cmpl $8, %r14d
jae LBB0_79
## %bb.76: ## in Loop: Header=BB0_61 Depth=2
movq %r10, %r12
movq -3144(%rbp), %r8 ## 8-byte Reload
jmp LBB0_82
LBB0_77: ## in Loop: Header=BB0_61 Depth=2
movq %rbx, %rdi
callq _get_bits
movq _MAX_SYMBOLS@GOTPCREL(%rip), %r11
movl -3156(%rbp), %edi ## 4-byte Reload
jmp LBB0_67
LBB0_78: ## in Loop: Header=BB0_61 Depth=2
movl %esi, %r14d
jmp LBB0_85
LBB0_79: ## in Loop: Header=BB0_61 Depth=2
movl %r14d, %r8d
movl %r8d, %r9d
andl $2147483640, %r9d ## imm = 0x7FFFFFF8
leaq (%r9,%r10), %r12
subl %r9d, %esi
movd %eax, %xmm0
pshufd $0, %xmm0, %xmm0 ## xmm0 = xmm0[0,0,0,0]
movq -3200(%rbp), %r11 ## 8-byte Reload
leaq (%r11,%r10,4), %r10
movl %r8d, %r11d
shrl $3, %r11d
andl $268435455, %r11d ## imm = 0xFFFFFFF
shlq $5, %r11
xorl %r14d, %r14d
LBB0_80: ## Parent Loop BB0_58 Depth=1
## Parent Loop BB0_61 Depth=2
## => This Inner Loop Header: Depth=3
movdqu %xmm0, -16(%r10,%r14)
movdqu %xmm0, (%r10,%r14)
addq $32, %r14
cmpq %r14, %r11
jne LBB0_80
## %bb.81: ## in Loop: Header=BB0_61 Depth=2
cmpl %r8d, %r9d
movq -3144(%rbp), %r8 ## 8-byte Reload
movq _MAX_SYMBOLS@GOTPCREL(%rip), %r11
je LBB0_84
LBB0_82: ## in Loop: Header=BB0_61 Depth=2
incl %esi
LBB0_83: ## Parent Loop BB0_58 Depth=1
## Parent Loop BB0_61 Depth=2
## => This Inner Loop Header: Depth=3
movl %eax, (%r8,%r12,4)
incq %r12
decl %esi
jne LBB0_83
LBB0_84: ## in Loop: Header=BB0_61 Depth=2
movl $-1, %r14d
movq -3152(%rbp), %r10 ## 8-byte Reload
LBB0_85: ## in Loop: Header=BB0_61 Depth=2
cmpl %r15d, %ecx
jg LBB0_102
## %bb.86: ## in Loop: Header=BB0_61 Depth=2
cmpl -3132(%rbp), %r12d ## 4-byte Folded Reload
jge LBB0_7
## %bb.87: ## in Loop: Header=BB0_61 Depth=2
movl %ecx, %esi
movl -3124(%rbp,%rcx,4), %eax
decq %rcx
cmpl $9, %esi
jae LBB0_89
## %bb.88: ## in Loop: Header=BB0_61 Depth=2
movq %rcx, %rsi
jmp LBB0_92
LBB0_89: ## in Loop: Header=BB0_61 Depth=2
movq %rcx, %r8
andq $-8, %r8
movl %ecx, %esi
andl $7, %esi
movq %r8, %r9
negq %r9
leaq -3132(%rbp), %r10
leaq (%r10,%rcx,4), %r10
xorl %r11d, %r11d
LBB0_90: ## Parent Loop BB0_58 Depth=1
## Parent Loop BB0_61 Depth=2
## => This Inner Loop Header: Depth=3
movdqu -20(%r10,%r11,4), %xmm0
movdqu -4(%r10,%r11,4), %xmm1
movdqu %xmm1, (%r10,%r11,4)
movdqu %xmm0, -16(%r10,%r11,4)
addq $-8, %r11
cmpq %r11, %r9
jne LBB0_90
## %bb.91: ## in Loop: Header=BB0_61 Depth=2
cmpq %rcx, %r8
movq _MAX_SYMBOLS@GOTPCREL(%rip), %r11
movq -3152(%rbp), %r10 ## 8-byte Reload
je LBB0_94
LBB0_92: ## in Loop: Header=BB0_61 Depth=2
movq %rsi, %rcx
LBB0_93: ## Parent Loop BB0_58 Depth=1
## Parent Loop BB0_61 Depth=2
## => This Inner Loop Header: Depth=3
movl -3124(%rbp,%rsi,4), %r8d
movl %r8d, -3120(%rbp,%rsi,4)
decq %rcx
movq %rcx, %rsi
jne LBB0_93
LBB0_94: ## in Loop: Header=BB0_61 Depth=2
cltq
movl %eax, -3120(%rbp)
movslq -2096(%rbp,%rax,4), %rax
incl -1072(%rbp,%rax,4)
movslq %r12d, %rcx
incl %r12d
movq -3144(%rbp), %rsi ## 8-byte Reload
movl %eax, (%rsi,%rcx,4)
xorl %r8d, %r8d
jmp LBB0_60
LBB0_95: ## in Loop: Header=BB0_58 Depth=1
movq -3168(%rbp), %rax ## 8-byte Reload
movq -3192(%rbp), %rdx ## 8-byte Reload
cmpq %rax, %rdx
movq _GROUP_SIZE@GOTPCREL(%rip), %rcx
jne LBB0_58
jmp LBB0_7
LBB0_96:
movl %eax, %ecx
decl %ecx
movq _MAX_HUFCODE_BITS@GOTPCREL(%rip), %r15
movl (%r15), %eax
decl %eax
cmpl %eax, %ecx
movq %r12, %r14
jbe LBB0_100
LBB0_97:
movq _RETVAL_DATA_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq %r14, %rsp
jmp LBB0_9
LBB0_98: ## in Loop: Header=BB0_100 Depth=1
incl %eax
andl $2, %eax
leal (%r12,%rax), %ecx
decl %ecx
LBB0_99: ## in Loop: Header=BB0_100 Depth=1
movl (%r15), %eax
decl %eax
cmpl %eax, %ecx
ja LBB0_97
LBB0_100: ## =>This Inner Loop Header: Depth=1
movq %rcx, %r12
movq %rbx, %rdi
movl $2, %esi
callq _get_bits
## kill: def $eax killed $eax def $rax
cmpl $1, %eax
jg LBB0_98
## %bb.101: ## in Loop: Header=BB0_100 Depth=1
incl 28(%rbx)
movq %r12, %rcx
jmp LBB0_99
LBB0_102:
xorl %eax, %eax
xorl %ecx, %ecx
LBB0_103: ## =>This Inner Loop Header: Depth=1
movl -1072(%rbp,%rax,4), %edx
addl %ecx, %edx
movl %ecx, -1072(%rbp,%rax,4)
movl -1068(%rbp,%rax,4), %ecx
addl %edx, %ecx
movl %edx, -1068(%rbp,%rax,4)
movl -1064(%rbp,%rax,4), %edx
addl %ecx, %edx
movl %ecx, -1064(%rbp,%rax,4)
movl -1060(%rbp,%rax,4), %ecx
addl %edx, %ecx
movl %edx, -1060(%rbp,%rax,4)
addq $4, %rax
cmpq $256, %rax ## imm = 0x100
jne LBB0_103
## %bb.104:
testl %r12d, %r12d
movq -3144(%rbp), %r10 ## 8-byte Reload
jle LBB0_112
## %bb.105:
movl %r12d, %eax
cmpl $1, %r12d
jne LBB0_108
## %bb.106:
xorl %ecx, %ecx
jmp LBB0_110
LBB0_107:
leaq L_.str(%rip), %rdi
movl %r12d, %esi
movl %r14d, %edx
movl %eax, %ecx
movl -3132(%rbp), %r8d ## 4-byte Reload
callq _dbg
jmp LBB0_7
LBB0_108:
movl %eax, %edx
andl $2147483646, %edx ## imm = 0x7FFFFFFE
movl $256, %esi ## imm = 0x100
xorl %ecx, %ecx
movq -3144(%rbp), %r11 ## 8-byte Reload
LBB0_109: ## =>This Inner Loop Header: Depth=1
movslq (%r10,%rcx,4), %r8
movslq -1072(%rbp,%r8,4), %r9
leal -256(%rsi), %r10d
orl %r10d, (%r11,%r9,4)
movq -3144(%rbp), %r10 ## 8-byte Reload
incl %r9d
movl %r9d, -1072(%rbp,%r8,4)
movslq 4(%r10,%rcx,4), %r8
movslq -1072(%rbp,%r8,4), %r9
orl %esi, (%r10,%r9,4)
incl %r9d
movl %r9d, -1072(%rbp,%r8,4)
addq $2, %rcx
addl $512, %esi ## imm = 0x200
cmpq %rcx, %rdx
jne LBB0_109
LBB0_110:
testb $1, %al
je LBB0_112
## %bb.111:
movslq (%r10,%rcx,4), %rax
movslq -1072(%rbp,%rax,4), %rdx
shll $8, %ecx
orl %ecx, (%r10,%rdx,4)
leal 1(%rdx), %ecx
movl %ecx, -1072(%rbp,%rax,4)
LBB0_112:
testl %r12d, %r12d
je LBB0_115
## %bb.113:
cmpl %r12d, %edi
jge LBB0_7
## %bb.114:
movl %edi, %eax
movl (%r10,%rax,4), %eax
movl %eax, 64(%rbx)
sarl $8, %eax
movl %eax, 68(%rbx)
movl $5, 72(%rbx)
LBB0_115:
movl %r12d, 76(%rbx)
movq _RETVAL_OK@GOTPCREL(%rip), %rax
jmp LBB0_8
LBB0_116:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _RETVAL_LAST_BLOCK,4,2 ## @RETVAL_LAST_BLOCK
.comm _RETVAL_NOT_BZIP_DATA,4,2 ## @RETVAL_NOT_BZIP_DATA
.comm _RETVAL_OBSOLETE_INPUT,4,2 ## @RETVAL_OBSOLETE_INPUT
.comm _RETVAL_DATA_ERROR,4,2 ## @RETVAL_DATA_ERROR
.comm _MAX_GROUPS,4,2 ## @MAX_GROUPS
.comm _MAX_SYMBOLS,4,2 ## @MAX_SYMBOLS
.comm _MAX_HUFCODE_BITS,4,2 ## @MAX_HUFCODE_BITS
.comm _INT_MAX,4,2 ## @INT_MAX
.comm _GROUP_SIZE,4,2 ## @GROUP_SIZE
.comm _SYMBOL_RUNB,4,2 ## @SYMBOL_RUNB
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "dbufCount:%d+runCnt:%d %d > dbufSize:%d RETVAL_DATA_ERROR"
.comm _RETVAL_OK,4,2 ## @RETVAL_OK
.no_dead_strip _get_next_block
.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 get_next_block
lCPI0_0:
.long 0 ; 0x0
.long 1 ; 0x1
.long 2 ; 0x2
.long 3 ; 0x3
lCPI0_1:
.long 4 ; 0x4
.long 5 ; 0x5
.long 6 ; 0x6
.long 7 ; 0x7
lCPI0_2:
.long 8 ; 0x8
.long 9 ; 0x9
.long 10 ; 0xa
.long 11 ; 0xb
lCPI0_3:
.long 12 ; 0xc
.long 13 ; 0xd
.long 14 ; 0xe
.long 15 ; 0xf
lCPI0_4:
.long 16 ; 0x10
.long 17 ; 0x11
.long 18 ; 0x12
.long 19 ; 0x13
lCPI0_5:
.long 20 ; 0x14
.long 21 ; 0x15
.long 22 ; 0x16
.long 23 ; 0x17
lCPI0_6:
.long 24 ; 0x18
.long 25 ; 0x19
.long 26 ; 0x1a
.long 27 ; 0x1b
lCPI0_7:
.long 28 ; 0x1c
.long 29 ; 0x1d
.long 30 ; 0x1e
.long 31 ; 0x1f
lCPI0_8:
.long 32 ; 0x20
.long 33 ; 0x21
.long 34 ; 0x22
.long 35 ; 0x23
lCPI0_9:
.long 36 ; 0x24
.long 37 ; 0x25
.long 38 ; 0x26
.long 39 ; 0x27
lCPI0_10:
.long 40 ; 0x28
.long 41 ; 0x29
.long 42 ; 0x2a
.long 43 ; 0x2b
lCPI0_11:
.long 44 ; 0x2c
.long 45 ; 0x2d
.long 46 ; 0x2e
.long 47 ; 0x2f
lCPI0_12:
.long 48 ; 0x30
.long 49 ; 0x31
.long 50 ; 0x32
.long 51 ; 0x33
lCPI0_13:
.long 52 ; 0x34
.long 53 ; 0x35
.long 54 ; 0x36
.long 55 ; 0x37
lCPI0_14:
.long 56 ; 0x38
.long 57 ; 0x39
.long 58 ; 0x3a
.long 59 ; 0x3b
lCPI0_15:
.long 60 ; 0x3c
.long 61 ; 0x3d
.long 62 ; 0x3e
.long 63 ; 0x3f
lCPI0_16:
.long 64 ; 0x40
.long 65 ; 0x41
.long 66 ; 0x42
.long 67 ; 0x43
lCPI0_17:
.long 68 ; 0x44
.long 69 ; 0x45
.long 70 ; 0x46
.long 71 ; 0x47
lCPI0_18:
.long 72 ; 0x48
.long 73 ; 0x49
.long 74 ; 0x4a
.long 75 ; 0x4b
lCPI0_19:
.long 76 ; 0x4c
.long 77 ; 0x4d
.long 78 ; 0x4e
.long 79 ; 0x4f
lCPI0_20:
.long 80 ; 0x50
.long 81 ; 0x51
.long 82 ; 0x52
.long 83 ; 0x53
lCPI0_21:
.long 84 ; 0x54
.long 85 ; 0x55
.long 86 ; 0x56
.long 87 ; 0x57
lCPI0_22:
.long 88 ; 0x58
.long 89 ; 0x59
.long 90 ; 0x5a
.long 91 ; 0x5b
lCPI0_23:
.long 92 ; 0x5c
.long 93 ; 0x5d
.long 94 ; 0x5e
.long 95 ; 0x5f
lCPI0_24:
.long 96 ; 0x60
.long 97 ; 0x61
.long 98 ; 0x62
.long 99 ; 0x63
lCPI0_25:
.long 100 ; 0x64
.long 101 ; 0x65
.long 102 ; 0x66
.long 103 ; 0x67
lCPI0_26:
.long 104 ; 0x68
.long 105 ; 0x69
.long 106 ; 0x6a
.long 107 ; 0x6b
lCPI0_27:
.long 108 ; 0x6c
.long 109 ; 0x6d
.long 110 ; 0x6e
.long 111 ; 0x6f
lCPI0_28:
.long 112 ; 0x70
.long 113 ; 0x71
.long 114 ; 0x72
.long 115 ; 0x73
lCPI0_29:
.long 116 ; 0x74
.long 117 ; 0x75
.long 118 ; 0x76
.long 119 ; 0x77
lCPI0_30:
.long 120 ; 0x78
.long 121 ; 0x79
.long 122 ; 0x7a
.long 123 ; 0x7b
lCPI0_31:
.long 124 ; 0x7c
.long 125 ; 0x7d
.long 126 ; 0x7e
.long 127 ; 0x7f
lCPI0_32:
.long 128 ; 0x80
.long 129 ; 0x81
.long 130 ; 0x82
.long 131 ; 0x83
lCPI0_33:
.long 132 ; 0x84
.long 133 ; 0x85
.long 134 ; 0x86
.long 135 ; 0x87
lCPI0_34:
.long 136 ; 0x88
.long 137 ; 0x89
.long 138 ; 0x8a
.long 139 ; 0x8b
lCPI0_35:
.long 140 ; 0x8c
.long 141 ; 0x8d
.long 142 ; 0x8e
.long 143 ; 0x8f
lCPI0_36:
.long 144 ; 0x90
.long 145 ; 0x91
.long 146 ; 0x92
.long 147 ; 0x93
lCPI0_37:
.long 148 ; 0x94
.long 149 ; 0x95
.long 150 ; 0x96
.long 151 ; 0x97
lCPI0_38:
.long 152 ; 0x98
.long 153 ; 0x99
.long 154 ; 0x9a
.long 155 ; 0x9b
lCPI0_39:
.long 156 ; 0x9c
.long 157 ; 0x9d
.long 158 ; 0x9e
.long 159 ; 0x9f
lCPI0_40:
.long 160 ; 0xa0
.long 161 ; 0xa1
.long 162 ; 0xa2
.long 163 ; 0xa3
lCPI0_41:
.long 164 ; 0xa4
.long 165 ; 0xa5
.long 166 ; 0xa6
.long 167 ; 0xa7
lCPI0_42:
.long 168 ; 0xa8
.long 169 ; 0xa9
.long 170 ; 0xaa
.long 171 ; 0xab
lCPI0_43:
.long 172 ; 0xac
.long 173 ; 0xad
.long 174 ; 0xae
.long 175 ; 0xaf
lCPI0_44:
.long 176 ; 0xb0
.long 177 ; 0xb1
.long 178 ; 0xb2
.long 179 ; 0xb3
lCPI0_45:
.long 180 ; 0xb4
.long 181 ; 0xb5
.long 182 ; 0xb6
.long 183 ; 0xb7
lCPI0_46:
.long 184 ; 0xb8
.long 185 ; 0xb9
.long 186 ; 0xba
.long 187 ; 0xbb
lCPI0_47:
.long 188 ; 0xbc
.long 189 ; 0xbd
.long 190 ; 0xbe
.long 191 ; 0xbf
lCPI0_48:
.long 192 ; 0xc0
.long 193 ; 0xc1
.long 194 ; 0xc2
.long 195 ; 0xc3
lCPI0_49:
.long 196 ; 0xc4
.long 197 ; 0xc5
.long 198 ; 0xc6
.long 199 ; 0xc7
lCPI0_50:
.long 200 ; 0xc8
.long 201 ; 0xc9
.long 202 ; 0xca
.long 203 ; 0xcb
lCPI0_51:
.long 204 ; 0xcc
.long 205 ; 0xcd
.long 206 ; 0xce
.long 207 ; 0xcf
lCPI0_52:
.long 208 ; 0xd0
.long 209 ; 0xd1
.long 210 ; 0xd2
.long 211 ; 0xd3
lCPI0_53:
.long 212 ; 0xd4
.long 213 ; 0xd5
.long 214 ; 0xd6
.long 215 ; 0xd7
lCPI0_54:
.long 216 ; 0xd8
.long 217 ; 0xd9
.long 218 ; 0xda
.long 219 ; 0xdb
lCPI0_55:
.long 220 ; 0xdc
.long 221 ; 0xdd
.long 222 ; 0xde
.long 223 ; 0xdf
lCPI0_56:
.long 224 ; 0xe0
.long 225 ; 0xe1
.long 226 ; 0xe2
.long 227 ; 0xe3
lCPI0_57:
.long 228 ; 0xe4
.long 229 ; 0xe5
.long 230 ; 0xe6
.long 231 ; 0xe7
lCPI0_58:
.long 232 ; 0xe8
.long 233 ; 0xe9
.long 234 ; 0xea
.long 235 ; 0xeb
lCPI0_59:
.long 236 ; 0xec
.long 237 ; 0xed
.long 238 ; 0xee
.long 239 ; 0xef
lCPI0_60:
.long 240 ; 0xf0
.long 241 ; 0xf1
.long 242 ; 0xf2
.long 243 ; 0xf3
lCPI0_61:
.long 244 ; 0xf4
.long 245 ; 0xf5
.long 246 ; 0xf6
.long 247 ; 0xf7
lCPI0_62:
.long 248 ; 0xf8
.long 249 ; 0xf9
.long 250 ; 0xfa
.long 251 ; 0xfb
lCPI0_63:
.long 252 ; 0xfc
.long 253 ; 0xfd
.long 254 ; 0xfe
.long 255 ; 0xff
.section __TEXT,__text,regular,pure_instructions
.p2align 2
_get_next_block: ; @get_next_block
.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, #3152
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-96]
ldr x23, [x0]
ldr w20, [x0, #8]
ldr x24, [x0, #16]
mov w1, #24 ; =0x18
bl _get_bits
mov x21, x0
mov x0, x19
mov w1, #24 ; =0x18
bl _get_bits
mov x22, x0
mov x0, x19
mov w1, #32 ; =0x20
bl _get_bits
str w0, [x19, #24]
sub w8, w21, #375, lsl #12 ; =1536000
cmp w8, #581
b.eq LBB0_6
; %bb.1:
mov w8, #20624 ; =0x5090
movk w8, #56, lsl #16
cmp w22, w8
b.eq LBB0_6
; %bb.2:
mov w8, #16729 ; =0x4159
movk w8, #49, lsl #16
cmp w21, w8
b.ne LBB0_7
; %bb.3:
mov w8, #21337 ; =0x5359
movk w8, #38, lsl #16
cmp w22, w8
b.ne LBB0_7
; %bb.4:
mov x0, x19
mov w1, #1 ; =0x1
bl _get_bits
cbz w0, LBB0_8
; %bb.5:
Lloh3:
adrp x8, _RETVAL_OBSOLETE_INPUT@GOTPAGE
Lloh4:
ldr x8, [x8, _RETVAL_OBSOLETE_INPUT@GOTPAGEOFF]
b LBB0_10
LBB0_6:
Lloh5:
adrp x8, _RETVAL_LAST_BLOCK@GOTPAGE
Lloh6:
ldr x8, [x8, _RETVAL_LAST_BLOCK@GOTPAGEOFF]
b LBB0_10
LBB0_7:
Lloh7:
adrp x8, _RETVAL_NOT_BZIP_DATA@GOTPAGE
Lloh8:
ldr x8, [x8, _RETVAL_NOT_BZIP_DATA@GOTPAGEOFF]
b LBB0_10
LBB0_8:
mov x0, x19
mov w1, #24 ; =0x18
bl _get_bits
cmp w0, w20
b.le LBB0_13
LBB0_9:
Lloh9:
adrp x8, _RETVAL_DATA_ERROR@GOTPAGE
Lloh10:
ldr x8, [x8, _RETVAL_DATA_ERROR@GOTPAGEOFF]
LBB0_10:
ldr w0, [x8]
LBB0_11:
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_103
; %bb.12:
add sp, sp, #3152
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
LBB0_13:
str w0, [sp, #60] ; 4-byte Folded Spill
mov x0, x19
mov w1, #16 ; =0x10
bl _get_bits
mov w26, #0 ; =0x0
mov w21, #0 ; =0x0
add x22, sp, #1088
b LBB0_15
LBB0_14: ; in Loop: Header=BB0_15 Depth=1
sub w8, w21, #1
cmp w8, #256
b.ge LBB0_19
LBB0_15: ; =>This Loop Header: Depth=1
; Child Loop BB0_17 Depth 2
mov x0, x19
mov w1, #16 ; =0x10
bl _get_bits
b LBB0_17
LBB0_16: ; in Loop: Header=BB0_17 Depth=2
lsl w0, w0, #1
add w21, w21, #1
tst w21, #0xf
b.eq LBB0_14
LBB0_17: ; Parent Loop BB0_15 Depth=1
; => This Inner Loop Header: Depth=2
tbz w0, #15, LBB0_16
; %bb.18: ; in Loop: Header=BB0_17 Depth=2
str w21, [x22, w26, sxtw #2]
add w26, w26, #1
b LBB0_16
LBB0_19:
mov x0, x19
mov w1, #3 ; =0x3
bl _get_bits
cmp w0, #2
b.lt LBB0_9
; %bb.20:
mov x22, x0
Lloh14:
adrp x8, _MAX_GROUPS@GOTPAGE
Lloh15:
ldr x8, [x8, _MAX_GROUPS@GOTPAGEOFF]
Lloh16:
ldr w8, [x8]
cmp w0, w8
b.gt LBB0_9
; %bb.21:
mov w25, w22
cmp w22, #15
b.hi LBB0_23
; %bb.22:
mov x8, #0 ; =0x0
b LBB0_26
LBB0_23:
and x8, x25, #0x7ffffff0
Lloh17:
adrp x9, lCPI0_0@PAGE
Lloh18:
ldr q0, [x9, lCPI0_0@PAGEOFF]
add x9, sp, #64
add x9, x9, #32
movi.4s v1, #4
movi.4s v2, #8
movi.4s v3, #12
movi.4s v4, #16
mov x10, x8
LBB0_24: ; =>This Inner Loop Header: Depth=1
add.4s v5, v0, v1
add.4s v6, v0, v2
add.4s v7, v0, v3
stp q0, q5, [x9, #-32]
stp q6, q7, [x9], #64
add.4s v0, v0, v4
subs x10, x10, #16
b.ne LBB0_24
; %bb.25:
cmp x8, x25
b.eq LBB0_28
LBB0_26:
add x9, sp, #64
LBB0_27: ; =>This Inner Loop Header: Depth=1
str w8, [x9, x8, lsl #2]
add x8, x8, #1
cmp x25, x8
b.ne LBB0_27
LBB0_28:
mov x0, x19
mov w1, #15 ; =0xf
bl _get_bits
cbz w0, LBB0_9
; %bb.29:
cmp w0, #1
str w0, [sp, #56] ; 4-byte Folded Spill
b.lt LBB0_46
; %bb.30:
mov x27, #0 ; =0x0
mov w21, w0
str x21, [sp, #48] ; 8-byte Folded Spill
LBB0_31: ; =>This Loop Header: Depth=1
; Child Loop BB0_33 Depth 2
; Child Loop BB0_40 Depth 2
; Child Loop BB0_44 Depth 2
mov x0, x19
mov w1, #1 ; =0x1
bl _get_bits
cbz w0, LBB0_38
; %bb.32: ; in Loop: Header=BB0_31 Depth=1
mov w21, #0 ; =0x0
mov w8, #1 ; =0x1
LBB0_33: ; Parent Loop BB0_31 Depth=1
; => This Inner Loop Header: Depth=2
cmp w22, w21
b.eq LBB0_9
; %bb.34: ; in Loop: Header=BB0_33 Depth=2
mov x28, x8
add w21, w21, #1
mov x0, x19
mov w1, #1 ; =0x1
bl _get_bits
add w8, w28, #1
cbnz w0, LBB0_33
; %bb.35: ; in Loop: Header=BB0_31 Depth=1
add x14, sp, #64
ldr w8, [x14, w21, uxtw #2]
sub w9, w21, #1
mov w10, #2147483646 ; =0x7ffffffe
cmp w9, w10
b.hi LBB0_42
; %bb.36: ; in Loop: Header=BB0_31 Depth=1
cmp w9, #15
b.hs LBB0_39
; %bb.37: ; in Loop: Header=BB0_31 Depth=1
mov x9, x21
b LBB0_43
LBB0_38: ; in Loop: Header=BB0_31 Depth=1
ldr w8, [sp, #64]
b LBB0_45
LBB0_39: ; in Loop: Header=BB0_31 Depth=1
mov x11, #0 ; =0x0
and x10, x21, #0xfffffff0
and x9, x21, #0xf
and x12, x28, #0xfffffff0
LBB0_40: ; Parent Loop BB0_31 Depth=1
; => This Inner Loop Header: Depth=2
sub x13, x21, x11
add x13, x14, x13, lsl #2
ldp q1, q0, [x13, #-32]
ldp q3, q2, [x13, #-64]
stur q0, [x13, #-12]
stur q1, [x13, #-28]
stur q2, [x13, #-44]
stur q3, [x13, #-60]
add x11, x11, #16
cmp x12, x11
b.ne LBB0_40
; %bb.41: ; in Loop: Header=BB0_31 Depth=1
cmp x10, x21
b.ne LBB0_43
LBB0_42: ; in Loop: Header=BB0_31 Depth=1
ldr x21, [sp, #48] ; 8-byte Folded Reload
b LBB0_45
LBB0_43: ; in Loop: Header=BB0_31 Depth=1
add x10, x9, #1
add x11, x14, x9, lsl #2
mov x9, x11
ldr x21, [sp, #48] ; 8-byte Folded Reload
LBB0_44: ; Parent Loop BB0_31 Depth=1
; => This Inner Loop Header: Depth=2
ldr w12, [x9, #-4]!
str w12, [x11]
sub x10, x10, #1
mov x11, x9
cmp x10, #1
b.hi LBB0_44
LBB0_45: ; in Loop: Header=BB0_31 Depth=1
str w8, [x24, x27, lsl #2]
str w8, [sp, #64]
add x27, x27, #1
cmp x27, x21
b.ne LBB0_31
LBB0_46:
mov x22, #0 ; =0x0
mov w27, #-1 ; =0xffffffff
Lloh19:
adrp x28, _INT_MAX@GOTPAGE
Lloh20:
ldr x28, [x28, _INT_MAX@GOTPAGEOFF]
LBB0_47: ; =>This Inner Loop Header: Depth=1
mov x21, sp
mov x0, x19
mov w1, #5 ; =0x5
bl _get_bits
cmn w26, #1
b.ge LBB0_87
; %bb.48: ; in Loop: Header=BB0_47 Depth=1
ldr x8, [x19, #80]
add x8, x8, x22
ldp x9, x8, [x8, #8]
stur w27, [x8, #-4]
ldr w10, [x28]
str w10, [x8]
stur wzr, [x9, #-4]
mov sp, x21
add x22, x22, #32
subs x25, x25, #1
b.ne LBB0_47
; %bb.49:
add x0, sp, #2112
mov w1, #1024 ; =0x400
bl _bzero
Lloh21:
adrp x8, lCPI0_0@PAGE
Lloh22:
ldr q0, [x8, lCPI0_0@PAGEOFF]
Lloh23:
adrp x8, lCPI0_1@PAGE
Lloh24:
ldr q1, [x8, lCPI0_1@PAGEOFF]
stp q0, q1, [sp, #64]
Lloh25:
adrp x8, lCPI0_2@PAGE
Lloh26:
ldr q0, [x8, lCPI0_2@PAGEOFF]
Lloh27:
adrp x8, lCPI0_3@PAGE
Lloh28:
ldr q1, [x8, lCPI0_3@PAGEOFF]
stp q0, q1, [sp, #96]
Lloh29:
adrp x8, lCPI0_4@PAGE
Lloh30:
ldr q0, [x8, lCPI0_4@PAGEOFF]
Lloh31:
adrp x8, lCPI0_5@PAGE
Lloh32:
ldr q1, [x8, lCPI0_5@PAGEOFF]
stp q0, q1, [sp, #128]
Lloh33:
adrp x8, lCPI0_6@PAGE
Lloh34:
ldr q0, [x8, lCPI0_6@PAGEOFF]
Lloh35:
adrp x8, lCPI0_7@PAGE
Lloh36:
ldr q1, [x8, lCPI0_7@PAGEOFF]
stp q0, q1, [sp, #160]
Lloh37:
adrp x8, lCPI0_8@PAGE
Lloh38:
ldr q0, [x8, lCPI0_8@PAGEOFF]
Lloh39:
adrp x8, lCPI0_9@PAGE
Lloh40:
ldr q1, [x8, lCPI0_9@PAGEOFF]
stp q0, q1, [sp, #192]
Lloh41:
adrp x8, lCPI0_10@PAGE
Lloh42:
ldr q0, [x8, lCPI0_10@PAGEOFF]
Lloh43:
adrp x8, lCPI0_11@PAGE
Lloh44:
ldr q1, [x8, lCPI0_11@PAGEOFF]
stp q0, q1, [sp, #224]
Lloh45:
adrp x8, lCPI0_12@PAGE
Lloh46:
ldr q0, [x8, lCPI0_12@PAGEOFF]
Lloh47:
adrp x8, lCPI0_13@PAGE
Lloh48:
ldr q1, [x8, lCPI0_13@PAGEOFF]
stp q0, q1, [sp, #256]
Lloh49:
adrp x8, lCPI0_14@PAGE
Lloh50:
ldr q0, [x8, lCPI0_14@PAGEOFF]
Lloh51:
adrp x8, lCPI0_15@PAGE
Lloh52:
ldr q1, [x8, lCPI0_15@PAGEOFF]
stp q0, q1, [sp, #288]
Lloh53:
adrp x8, lCPI0_16@PAGE
Lloh54:
ldr q0, [x8, lCPI0_16@PAGEOFF]
Lloh55:
adrp x8, lCPI0_17@PAGE
Lloh56:
ldr q1, [x8, lCPI0_17@PAGEOFF]
stp q0, q1, [sp, #320]
Lloh57:
adrp x8, lCPI0_18@PAGE
Lloh58:
ldr q0, [x8, lCPI0_18@PAGEOFF]
Lloh59:
adrp x8, lCPI0_19@PAGE
Lloh60:
ldr q1, [x8, lCPI0_19@PAGEOFF]
stp q0, q1, [sp, #352]
Lloh61:
adrp x8, lCPI0_20@PAGE
Lloh62:
ldr q0, [x8, lCPI0_20@PAGEOFF]
Lloh63:
adrp x8, lCPI0_21@PAGE
Lloh64:
ldr q1, [x8, lCPI0_21@PAGEOFF]
stp q0, q1, [sp, #384]
Lloh65:
adrp x8, lCPI0_22@PAGE
Lloh66:
ldr q0, [x8, lCPI0_22@PAGEOFF]
Lloh67:
adrp x8, lCPI0_23@PAGE
Lloh68:
ldr q1, [x8, lCPI0_23@PAGEOFF]
stp q0, q1, [sp, #416]
Lloh69:
adrp x8, lCPI0_24@PAGE
Lloh70:
ldr q0, [x8, lCPI0_24@PAGEOFF]
Lloh71:
adrp x8, lCPI0_25@PAGE
Lloh72:
ldr q1, [x8, lCPI0_25@PAGEOFF]
stp q0, q1, [sp, #448]
Lloh73:
adrp x8, lCPI0_26@PAGE
Lloh74:
ldr q0, [x8, lCPI0_26@PAGEOFF]
Lloh75:
adrp x8, lCPI0_27@PAGE
Lloh76:
ldr q1, [x8, lCPI0_27@PAGEOFF]
stp q0, q1, [sp, #480]
Lloh77:
adrp x8, lCPI0_28@PAGE
Lloh78:
ldr q0, [x8, lCPI0_28@PAGEOFF]
Lloh79:
adrp x8, lCPI0_29@PAGE
Lloh80:
ldr q1, [x8, lCPI0_29@PAGEOFF]
stp q0, q1, [sp, #512]
Lloh81:
adrp x8, lCPI0_30@PAGE
Lloh82:
ldr q0, [x8, lCPI0_30@PAGEOFF]
Lloh83:
adrp x8, lCPI0_31@PAGE
Lloh84:
ldr q1, [x8, lCPI0_31@PAGEOFF]
stp q0, q1, [sp, #544]
Lloh85:
adrp x8, lCPI0_32@PAGE
Lloh86:
ldr q0, [x8, lCPI0_32@PAGEOFF]
Lloh87:
adrp x8, lCPI0_33@PAGE
Lloh88:
ldr q1, [x8, lCPI0_33@PAGEOFF]
stp q0, q1, [sp, #576]
Lloh89:
adrp x8, lCPI0_34@PAGE
Lloh90:
ldr q0, [x8, lCPI0_34@PAGEOFF]
Lloh91:
adrp x8, lCPI0_35@PAGE
Lloh92:
ldr q1, [x8, lCPI0_35@PAGEOFF]
stp q0, q1, [sp, #608]
Lloh93:
adrp x8, lCPI0_36@PAGE
Lloh94:
ldr q0, [x8, lCPI0_36@PAGEOFF]
Lloh95:
adrp x8, lCPI0_37@PAGE
Lloh96:
ldr q1, [x8, lCPI0_37@PAGEOFF]
stp q0, q1, [sp, #640]
Lloh97:
adrp x8, lCPI0_38@PAGE
Lloh98:
ldr q0, [x8, lCPI0_38@PAGEOFF]
Lloh99:
adrp x8, lCPI0_39@PAGE
Lloh100:
ldr q1, [x8, lCPI0_39@PAGEOFF]
stp q0, q1, [sp, #672]
Lloh101:
adrp x8, lCPI0_40@PAGE
Lloh102:
ldr q0, [x8, lCPI0_40@PAGEOFF]
Lloh103:
adrp x8, lCPI0_41@PAGE
Lloh104:
ldr q1, [x8, lCPI0_41@PAGEOFF]
stp q0, q1, [sp, #704]
Lloh105:
adrp x8, lCPI0_42@PAGE
Lloh106:
ldr q0, [x8, lCPI0_42@PAGEOFF]
Lloh107:
adrp x8, lCPI0_43@PAGE
Lloh108:
ldr q1, [x8, lCPI0_43@PAGEOFF]
stp q0, q1, [sp, #736]
Lloh109:
adrp x8, lCPI0_44@PAGE
Lloh110:
ldr q0, [x8, lCPI0_44@PAGEOFF]
Lloh111:
adrp x8, lCPI0_45@PAGE
Lloh112:
ldr q1, [x8, lCPI0_45@PAGEOFF]
stp q0, q1, [sp, #768]
Lloh113:
adrp x8, lCPI0_46@PAGE
Lloh114:
ldr q0, [x8, lCPI0_46@PAGEOFF]
Lloh115:
adrp x8, lCPI0_47@PAGE
Lloh116:
ldr q1, [x8, lCPI0_47@PAGEOFF]
stp q0, q1, [sp, #800]
Lloh117:
adrp x8, lCPI0_48@PAGE
Lloh118:
ldr q0, [x8, lCPI0_48@PAGEOFF]
Lloh119:
adrp x8, lCPI0_49@PAGE
Lloh120:
ldr q1, [x8, lCPI0_49@PAGEOFF]
stp q0, q1, [sp, #832]
Lloh121:
adrp x8, lCPI0_50@PAGE
Lloh122:
ldr q0, [x8, lCPI0_50@PAGEOFF]
Lloh123:
adrp x8, lCPI0_51@PAGE
Lloh124:
ldr q1, [x8, lCPI0_51@PAGEOFF]
stp q0, q1, [sp, #864]
Lloh125:
adrp x8, lCPI0_52@PAGE
Lloh126:
ldr q0, [x8, lCPI0_52@PAGEOFF]
Lloh127:
adrp x8, lCPI0_53@PAGE
Lloh128:
ldr q1, [x8, lCPI0_53@PAGEOFF]
stp q0, q1, [sp, #896]
Lloh129:
adrp x8, lCPI0_54@PAGE
Lloh130:
ldr q0, [x8, lCPI0_54@PAGEOFF]
Lloh131:
adrp x8, lCPI0_55@PAGE
Lloh132:
ldr q1, [x8, lCPI0_55@PAGEOFF]
stp q0, q1, [sp, #928]
Lloh133:
adrp x8, lCPI0_56@PAGE
Lloh134:
ldr q0, [x8, lCPI0_56@PAGEOFF]
Lloh135:
adrp x8, lCPI0_57@PAGE
Lloh136:
ldr q1, [x8, lCPI0_57@PAGEOFF]
stp q0, q1, [sp, #960]
Lloh137:
adrp x8, lCPI0_58@PAGE
Lloh138:
ldr q0, [x8, lCPI0_58@PAGEOFF]
Lloh139:
adrp x8, lCPI0_59@PAGE
Lloh140:
ldr q1, [x8, lCPI0_59@PAGEOFF]
stp q0, q1, [sp, #992]
Lloh141:
adrp x8, lCPI0_60@PAGE
Lloh142:
ldr q0, [x8, lCPI0_60@PAGEOFF]
Lloh143:
adrp x8, lCPI0_61@PAGE
Lloh144:
ldr q1, [x8, lCPI0_61@PAGEOFF]
str q0, [sp, #1024]
str q1, [sp, #1040]
Lloh145:
adrp x8, lCPI0_62@PAGE
Lloh146:
ldr q0, [x8, lCPI0_62@PAGEOFF]
Lloh147:
adrp x8, lCPI0_63@PAGE
Lloh148:
ldr q1, [x8, lCPI0_63@PAGEOFF]
ldr w8, [sp, #56] ; 4-byte Folded Reload
bics w8, w8, w8, asr #31
str q0, [sp, #1056]
str q1, [sp, #1072]
b.eq LBB0_9
; %bb.50:
mov w21, #0 ; =0x0
mov w15, #0 ; =0x0
mov x10, #0 ; =0x0
add x11, x23, #32
add x7, sp, #64
sub x9, x7, #32
stp x11, x9, [sp, #16] ; 16-byte Folded Spill
Lloh149:
adrp x9, _GROUP_SIZE@GOTPAGE
Lloh150:
ldr x9, [x9, _GROUP_SIZE@GOTPAGEOFF]
mov w4, #1 ; =0x1
Lloh151:
adrp x5, _MAX_SYMBOLS@GOTPAGE
Lloh152:
ldr x5, [x5, _MAX_SYMBOLS@GOTPAGEOFF]
Lloh153:
adrp x6, _SYMBOL_RUNB@GOTPAGE
Lloh154:
ldr x6, [x6, _SYMBOL_RUNB@GOTPAGEOFF]
; implicit-def: $w2
mov w22, #-1 ; =0xffffffff
str x8, [sp] ; 8-byte Folded Spill
LBB0_51: ; =>This Loop Header: Depth=1
; Child Loop BB0_54 Depth 2
; Child Loop BB0_57 Depth 3
; Child Loop BB0_61 Depth 3
; Child Loop BB0_70 Depth 3
; Child Loop BB0_73 Depth 3
; Child Loop BB0_81 Depth 3
; Child Loop BB0_84 Depth 3
mov x8, x10
ldr w27, [x9]
ldr x9, [x19, #80]
ldrsw x10, [x24, x10, lsl #2]
add x8, x8, #1
str x8, [sp, #8] ; 8-byte Folded Spill
add x28, x9, x10, lsl #5
ldp x8, x9, [x28, #8]
sub x25, x8, #8
sub x30, x9, #4
ldr w8, [sp, #60] ; 4-byte Folded Reload
add x17, sp, #2112
stp x28, x25, [sp, #32] ; 16-byte Folded Spill
b LBB0_54
LBB0_52: ; in Loop: Header=BB0_54 Depth=2
cmp w15, #0
csel w11, wzr, w2, eq
cmp w15, #1
csinc w12, w15, wzr, hi
lsl w10, w12, w10
add w2, w10, w11
cmp w12, w20
cset w10, lt
lsl w15, w12, w10
LBB0_53: ; in Loop: Header=BB0_54 Depth=2
cmp w27, #1
mov x27, x9
b.le LBB0_86
LBB0_54: ; Parent Loop BB0_51 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_57 Depth 3
; Child Loop BB0_61 Depth 3
; Child Loop BB0_70 Depth 3
; Child Loop BB0_73 Depth 3
; Child Loop BB0_81 Depth 3
; Child Loop BB0_84 Depth 3
ldr w1, [x28, #4]
ldr w11, [x19, #28]
subs w9, w11, w1
b.mi LBB0_56
; %bb.55: ; in Loop: Header=BB0_54 Depth=2
ldr w12, [x19, #48]
b LBB0_59
LBB0_56: ; in Loop: Header=BB0_54 Depth=2
ldp x13, x10, [x19, #32]
add w11, w11, #8
LBB0_57: ; Parent Loop BB0_51 Depth=1
; Parent Loop BB0_54 Depth=2
; => This Inner Loop Header: Depth=3
cmp x10, x13
b.eq LBB0_75
; %bb.58: ; in Loop: Header=BB0_57 Depth=3
ldr w12, [x19, #48]
ldr x14, [x19, #56]
ldr w14, [x14, x13, lsl #2]
add x13, x13, #1
str x13, [x19, #32]
orr w12, w14, w12, lsl #8
str w12, [x19, #48]
str w11, [x19, #28]
add w11, w11, #8
adds w9, w9, #8
b.mi LBB0_57
LBB0_59: ; in Loop: Header=BB0_54 Depth=2
str w9, [x19, #28]
asr w9, w12, w9
lsl w10, w22, w1
bic w0, w9, w10
LBB0_60: ; in Loop: Header=BB0_54 Depth=2
sub w9, w27, #1
ldrsw x10, [x28]
sub w11, w4, w10
lsl x12, x10, #2
add x10, x25, x12
add x12, x30, x12
LBB0_61: ; Parent Loop BB0_51 Depth=1
; Parent Loop BB0_54 Depth=2
; => This Inner Loop Header: Depth=3
ldr w13, [x12], #4
sub w11, w11, #1
add x10, x10, #4
cmp w0, w13
b.gt LBB0_61
; %bb.62: ; in Loop: Header=BB0_54 Depth=2
ldr w13, [x28, #4]
adds w12, w13, w11
b.mi LBB0_9
; %bb.63: ; in Loop: Header=BB0_54 Depth=2
ldr w14, [x19, #28]
add w13, w13, w14
add w11, w13, w11
str w11, [x19, #28]
asr w11, w0, w12
ldr w10, [x10]
ldr w12, [x5]
sub w10, w11, w10
cmp w10, w12
b.hs LBB0_9
; %bb.64: ; in Loop: Header=BB0_54 Depth=2
ldr x11, [x28, #24]
ldrsw x10, [x11, w10, sxtw #2]
ldr w11, [x6]
cmp w10, w11
b.ls LBB0_52
; %bb.65: ; in Loop: Header=BB0_54 Depth=2
cbz w15, LBB0_77
; %bb.66: ; in Loop: Header=BB0_54 Depth=2
add w3, w21, w2
cmp w3, w20
b.gt LBB0_102
; %bb.67: ; in Loop: Header=BB0_54 Depth=2
ldrsw x11, [sp, #64]
add x12, sp, #1088
ldrsw x11, [x12, x11, lsl #2]
ldr w12, [x17, x11, lsl #2]
add w12, w12, w2
str w12, [x17, x11, lsl #2]
subs w12, w2, #1
b.lt LBB0_76
; %bb.68: ; in Loop: Header=BB0_54 Depth=2
sxtw x15, w21
mov x21, x15
cmp w2, #16
b.lo LBB0_72
; %bb.69: ; in Loop: Header=BB0_54 Depth=2
mov w13, w2
and x14, x13, #0x7ffffff0
add x21, x14, x15
sub w12, w12, w14
dup.4s v0, w11
ldr x16, [sp, #16] ; 8-byte Folded Reload
add x15, x16, x15, lsl #2
mov x16, x14
LBB0_70: ; Parent Loop BB0_51 Depth=1
; Parent Loop BB0_54 Depth=2
; => This Inner Loop Header: Depth=3
stp q0, q0, [x15, #-32]
stp q0, q0, [x15], #64
subs x16, x16, #16
b.ne LBB0_70
; %bb.71: ; in Loop: Header=BB0_54 Depth=2
cmp x14, x13
b.eq LBB0_74
LBB0_72: ; in Loop: Header=BB0_54 Depth=2
add w12, w12, #1
mov x13, x21
LBB0_73: ; Parent Loop BB0_51 Depth=1
; Parent Loop BB0_54 Depth=2
; => This Inner Loop Header: Depth=3
add x21, x13, #1
str w11, [x23, x13, lsl #2]
mov x13, x21
subs w12, w12, #1
b.ne LBB0_73
LBB0_74: ; in Loop: Header=BB0_54 Depth=2
mov w2, #-1 ; =0xffffffff
; kill: def $w21 killed $w21 killed $x21 def $x21
b LBB0_77
LBB0_75: ; in Loop: Header=BB0_54 Depth=2
mov x0, x19
str x21, [sp, #48] ; 8-byte Folded Spill
mov x21, x5
str w27, [sp, #56] ; 4-byte Folded Spill
mov x28, x6
mov x27, x30
mov x25, x2
mov x22, x15
bl _get_bits
mov x15, x22
mov x2, x25
mov x30, x27
mov x6, x28
ldp x28, x25, [sp, #32] ; 16-byte Folded Reload
ldp w27, w8, [sp, #56] ; 8-byte Folded Reload
mov x5, x21
ldr x21, [sp, #48] ; 8-byte Folded Reload
mov w22, #-1 ; =0xffffffff
mov w4, #1 ; =0x1
add x7, sp, #64
add x17, sp, #2112
b LBB0_60
LBB0_76: ; in Loop: Header=BB0_54 Depth=2
mov x2, x12
LBB0_77: ; in Loop: Header=BB0_54 Depth=2
cmp w10, w26
b.gt LBB0_93
; %bb.78: ; in Loop: Header=BB0_54 Depth=2
cmp w21, w20
b.ge LBB0_9
; %bb.79: ; in Loop: Header=BB0_54 Depth=2
sub x13, x10, #1
ldr w11, [x7, x13, lsl #2]
mov x12, x13
cmp w10, #17
b.lo LBB0_83
; %bb.80: ; in Loop: Header=BB0_54 Depth=2
and x10, x13, #0xfffffffffffffff0
and x12, x13, #0xf
ldr x14, [sp, #24] ; 8-byte Folded Reload
add x14, x14, x13, lsl #2
mov x15, x10
LBB0_81: ; Parent Loop BB0_51 Depth=1
; Parent Loop BB0_54 Depth=2
; => This Inner Loop Header: Depth=3
ldp q1, q0, [x14]
ldp q3, q2, [x14, #-32]
stur q0, [x14, #20]
stur q1, [x14, #4]
stur q2, [x14, #-12]
stur q3, [x14, #-28]
sub x14, x14, #64
sub x15, x15, #16
cbnz x15, LBB0_81
; %bb.82: ; in Loop: Header=BB0_54 Depth=2
cmp x10, x13
b.eq LBB0_85
LBB0_83: ; in Loop: Header=BB0_54 Depth=2
add x13, x7, x12, lsl #2
mov x10, x13
LBB0_84: ; Parent Loop BB0_51 Depth=1
; Parent Loop BB0_54 Depth=2
; => This Inner Loop Header: Depth=3
ldr w14, [x10, #-4]!
str w14, [x13]
mov x13, x10
subs x12, x12, #1
b.ne LBB0_84
LBB0_85: ; in Loop: Header=BB0_54 Depth=2
mov w15, #0 ; =0x0
str w11, [sp, #64]
add x10, sp, #1088
ldrsw x10, [x10, w11, sxtw #2]
ldr w11, [x17, x10, lsl #2]
add w11, w11, #1
str w11, [x17, x10, lsl #2]
str w10, [x23, w21, sxtw #2]
add w10, w21, #1
mov x21, x10
b LBB0_53
LBB0_86: ; in Loop: Header=BB0_51 Depth=1
ldp x8, x10, [sp] ; 16-byte Folded Reload
cmp x10, x8
Lloh155:
adrp x9, _GROUP_SIZE@GOTPAGE
Lloh156:
ldr x9, [x9, _GROUP_SIZE@GOTPAGEOFF]
b.ne LBB0_51
b LBB0_9
LBB0_87:
sub w22, w0, #1
Lloh157:
adrp x20, _MAX_HUFCODE_BITS@GOTPAGE
Lloh158:
ldr x20, [x20, _MAX_HUFCODE_BITS@GOTPAGEOFF]
b LBB0_89
LBB0_88: ; in Loop: Header=BB0_89 Depth=1
add w8, w0, #1
and w8, w8, #0x2
add w8, w22, w8
sub w22, w8, #1
LBB0_89: ; =>This Inner Loop Header: Depth=1
ldr w8, [x20]
sub w8, w8, #1
cmp w22, w8
b.hi LBB0_92
; %bb.90: ; in Loop: Header=BB0_89 Depth=1
mov x0, x19
mov w1, #2 ; =0x2
bl _get_bits
cmp w0, #1
b.gt LBB0_88
; %bb.91: ; in Loop: Header=BB0_89 Depth=1
ldr w8, [x19, #28]
add w8, w8, #1
str w8, [x19, #28]
b LBB0_89
LBB0_92:
Lloh159:
adrp x8, _RETVAL_DATA_ERROR@GOTPAGE
Lloh160:
ldr x8, [x8, _RETVAL_DATA_ERROR@GOTPAGEOFF]
Lloh161:
ldr w0, [x8]
mov sp, x21
b LBB0_11
LBB0_93:
mov x9, #0 ; =0x0
mov w11, #0 ; =0x0
add x10, sp, #2112
LBB0_94: ; =>This Inner Loop Header: Depth=1
ldr w12, [x10, x9]
str w11, [x10, x9]
add w11, w12, w11
add x9, x9, #4
cmp x9, #1024
b.ne LBB0_94
; %bb.95:
cmp w21, #1
b.lt LBB0_98
; %bb.96:
mov x9, #0 ; =0x0
mov x10, x21
ubfiz x10, x10, #8, #32
add x11, sp, #2112
mov x12, x23
LBB0_97: ; =>This Inner Loop Header: Depth=1
ldrsw x13, [x12], #4
ldrsw x14, [x11, x13, lsl #2]
ldr w15, [x23, x14, lsl #2]
orr w15, w15, w9
str w15, [x23, x14, lsl #2]
add w14, w14, #1
str w14, [x11, x13, lsl #2]
add x9, x9, #256
cmp x10, x9
b.ne LBB0_97
LBB0_98:
cbz w21, LBB0_101
; %bb.99:
cmp w8, w21
b.ge LBB0_9
; %bb.100:
ldr w8, [x23, w8, uxtw #2]
asr w9, w8, #8
stp w8, w9, [x19, #64]
mov w8, #5 ; =0x5
str w8, [x19, #72]
LBB0_101:
str w21, [x19, #76]
Lloh162:
adrp x8, _RETVAL_OK@GOTPAGE
Lloh163:
ldr x8, [x8, _RETVAL_OK@GOTPAGEOFF]
b LBB0_10
LBB0_102:
Lloh164:
adrp x0, l_.str@PAGE
Lloh165:
add x0, x0, l_.str@PAGEOFF
mov x1, x21
mov x4, x20
bl _dbg
b LBB0_9
LBB0_103:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdr Lloh17, Lloh18
.loh AdrpLdrGot Lloh19, Lloh20
.loh AdrpLdr Lloh147, Lloh148
.loh AdrpAdrp Lloh145, Lloh147
.loh AdrpLdr Lloh145, Lloh146
.loh AdrpAdrp Lloh143, Lloh145
.loh AdrpLdr Lloh143, Lloh144
.loh AdrpAdrp Lloh141, Lloh143
.loh AdrpLdr Lloh141, Lloh142
.loh AdrpAdrp Lloh139, Lloh141
.loh AdrpLdr Lloh139, Lloh140
.loh AdrpAdrp Lloh137, Lloh139
.loh AdrpLdr Lloh137, Lloh138
.loh AdrpAdrp Lloh135, Lloh137
.loh AdrpLdr Lloh135, Lloh136
.loh AdrpAdrp Lloh133, Lloh135
.loh AdrpLdr Lloh133, Lloh134
.loh AdrpAdrp Lloh131, Lloh133
.loh AdrpLdr Lloh131, Lloh132
.loh AdrpAdrp Lloh129, Lloh131
.loh AdrpLdr Lloh129, Lloh130
.loh AdrpAdrp Lloh127, Lloh129
.loh AdrpLdr Lloh127, Lloh128
.loh AdrpAdrp Lloh125, Lloh127
.loh AdrpLdr Lloh125, Lloh126
.loh AdrpAdrp Lloh123, Lloh125
.loh AdrpLdr Lloh123, Lloh124
.loh AdrpAdrp Lloh121, Lloh123
.loh AdrpLdr Lloh121, Lloh122
.loh AdrpAdrp Lloh119, Lloh121
.loh AdrpLdr Lloh119, Lloh120
.loh AdrpAdrp Lloh117, Lloh119
.loh AdrpLdr Lloh117, Lloh118
.loh AdrpAdrp Lloh115, Lloh117
.loh AdrpLdr Lloh115, Lloh116
.loh AdrpAdrp Lloh113, Lloh115
.loh AdrpLdr Lloh113, Lloh114
.loh AdrpAdrp Lloh111, Lloh113
.loh AdrpLdr Lloh111, Lloh112
.loh AdrpAdrp Lloh109, Lloh111
.loh AdrpLdr Lloh109, Lloh110
.loh AdrpAdrp Lloh107, Lloh109
.loh AdrpLdr Lloh107, Lloh108
.loh AdrpAdrp Lloh105, Lloh107
.loh AdrpLdr Lloh105, Lloh106
.loh AdrpAdrp Lloh103, Lloh105
.loh AdrpLdr Lloh103, Lloh104
.loh AdrpAdrp Lloh101, Lloh103
.loh AdrpLdr Lloh101, Lloh102
.loh AdrpAdrp Lloh99, Lloh101
.loh AdrpLdr Lloh99, Lloh100
.loh AdrpAdrp Lloh97, Lloh99
.loh AdrpLdr Lloh97, Lloh98
.loh AdrpAdrp Lloh95, Lloh97
.loh AdrpLdr Lloh95, Lloh96
.loh AdrpAdrp Lloh93, Lloh95
.loh AdrpLdr Lloh93, Lloh94
.loh AdrpAdrp Lloh91, Lloh93
.loh AdrpLdr Lloh91, Lloh92
.loh AdrpAdrp Lloh89, Lloh91
.loh AdrpLdr Lloh89, Lloh90
.loh AdrpAdrp Lloh87, Lloh89
.loh AdrpLdr Lloh87, Lloh88
.loh AdrpAdrp Lloh85, Lloh87
.loh AdrpLdr Lloh85, Lloh86
.loh AdrpAdrp Lloh83, Lloh85
.loh AdrpLdr Lloh83, Lloh84
.loh AdrpAdrp Lloh81, Lloh83
.loh AdrpLdr Lloh81, Lloh82
.loh AdrpAdrp Lloh79, Lloh81
.loh AdrpLdr Lloh79, Lloh80
.loh AdrpAdrp Lloh77, Lloh79
.loh AdrpLdr Lloh77, Lloh78
.loh AdrpAdrp Lloh75, Lloh77
.loh AdrpLdr Lloh75, Lloh76
.loh AdrpAdrp Lloh73, Lloh75
.loh AdrpLdr Lloh73, Lloh74
.loh AdrpAdrp Lloh71, Lloh73
.loh AdrpLdr Lloh71, Lloh72
.loh AdrpAdrp Lloh69, Lloh71
.loh AdrpLdr Lloh69, Lloh70
.loh AdrpAdrp Lloh67, Lloh69
.loh AdrpLdr Lloh67, Lloh68
.loh AdrpAdrp Lloh65, Lloh67
.loh AdrpLdr Lloh65, Lloh66
.loh AdrpAdrp Lloh63, Lloh65
.loh AdrpLdr Lloh63, Lloh64
.loh AdrpAdrp Lloh61, Lloh63
.loh AdrpLdr Lloh61, Lloh62
.loh AdrpAdrp Lloh59, Lloh61
.loh AdrpLdr Lloh59, Lloh60
.loh AdrpAdrp Lloh57, Lloh59
.loh AdrpLdr Lloh57, Lloh58
.loh AdrpAdrp Lloh55, Lloh57
.loh AdrpLdr Lloh55, Lloh56
.loh AdrpAdrp Lloh53, Lloh55
.loh AdrpLdr Lloh53, Lloh54
.loh AdrpAdrp Lloh51, Lloh53
.loh AdrpLdr Lloh51, Lloh52
.loh AdrpAdrp Lloh49, Lloh51
.loh AdrpLdr Lloh49, Lloh50
.loh AdrpAdrp Lloh47, Lloh49
.loh AdrpLdr Lloh47, Lloh48
.loh AdrpAdrp Lloh45, Lloh47
.loh AdrpLdr Lloh45, Lloh46
.loh AdrpAdrp Lloh43, Lloh45
.loh AdrpLdr Lloh43, Lloh44
.loh AdrpAdrp Lloh41, Lloh43
.loh AdrpLdr Lloh41, Lloh42
.loh AdrpAdrp Lloh39, Lloh41
.loh AdrpLdr Lloh39, Lloh40
.loh AdrpAdrp Lloh37, Lloh39
.loh AdrpLdr Lloh37, Lloh38
.loh AdrpAdrp Lloh35, Lloh37
.loh AdrpLdr Lloh35, Lloh36
.loh AdrpAdrp Lloh33, Lloh35
.loh AdrpLdr Lloh33, Lloh34
.loh AdrpAdrp Lloh31, Lloh33
.loh AdrpLdr Lloh31, Lloh32
.loh AdrpAdrp Lloh29, Lloh31
.loh AdrpLdr Lloh29, Lloh30
.loh AdrpAdrp Lloh27, Lloh29
.loh AdrpLdr Lloh27, Lloh28
.loh AdrpAdrp Lloh25, Lloh27
.loh AdrpLdr Lloh25, Lloh26
.loh AdrpAdrp Lloh23, Lloh25
.loh AdrpLdr Lloh23, Lloh24
.loh AdrpAdrp Lloh21, Lloh23
.loh AdrpLdr Lloh21, Lloh22
.loh AdrpLdrGot Lloh153, Lloh154
.loh AdrpLdrGot Lloh151, Lloh152
.loh AdrpLdrGot Lloh149, Lloh150
.loh AdrpLdrGot Lloh155, Lloh156
.loh AdrpLdrGot Lloh157, Lloh158
.loh AdrpLdrGotLdr Lloh159, Lloh160, Lloh161
.loh AdrpLdrGot Lloh162, Lloh163
.loh AdrpAdd Lloh164, Lloh165
.cfi_endproc
; -- End function
.comm _RETVAL_LAST_BLOCK,4,2 ; @RETVAL_LAST_BLOCK
.comm _RETVAL_NOT_BZIP_DATA,4,2 ; @RETVAL_NOT_BZIP_DATA
.comm _RETVAL_OBSOLETE_INPUT,4,2 ; @RETVAL_OBSOLETE_INPUT
.comm _RETVAL_DATA_ERROR,4,2 ; @RETVAL_DATA_ERROR
.comm _MAX_GROUPS,4,2 ; @MAX_GROUPS
.comm _MAX_SYMBOLS,4,2 ; @MAX_SYMBOLS
.comm _MAX_HUFCODE_BITS,4,2 ; @MAX_HUFCODE_BITS
.comm _INT_MAX,4,2 ; @INT_MAX
.comm _GROUP_SIZE,4,2 ; @GROUP_SIZE
.comm _SYMBOL_RUNB,4,2 ; @SYMBOL_RUNB
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "dbufCount:%d+runCnt:%d %d > dbufSize:%d RETVAL_DATA_ERROR"
.comm _RETVAL_OK,4,2 ; @RETVAL_OK
.no_dead_strip _get_next_block
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function putchr
_putchr: ## @putchr
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movb %dil, -1(%rbp)
movq _NP@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
movl %edi, %eax
jne LBB0_3
## %bb.1:
movq _partab@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl %edi, %ecx
andl $127, %ecx
orl (%rax,%rcx,4), %edi
movl %edi, %eax
orb $-128, %al
movb %al, -1(%rbp)
movq _OP@GOTPCREL(%rip), %rcx
cmpq $0, (%rcx)
je LBB0_3
## %bb.2:
andb $127, %dil
movb %dil, -1(%rbp)
movl %edi, %eax
LBB0_3:
movq _UB@GOTPCREL(%rip), %rcx
cmpl $0, (%rcx)
je LBB0_4
## %bb.6:
movq _STDOUT_FILENO@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq -1(%rbp), %rsi
movl $1, %edx
callq _write
jmp LBB0_7
LBB0_4:
movq _outbuf@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq _obufcnt@GOTPCREL(%rip), %rdx
movq (%rdx), %rsi
leaq -1(%rsi), %rdi
movq %rdi, (%rdx)
movb %al, (%rcx,%rsi)
movq (%rdx), %rax
movq _OBUFSIZ@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jge LBB0_5
LBB0_7:
addq $16, %rsp
popq %rbp
retq
LBB0_5:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
jmp _oflush ## TAILCALL
.cfi_endproc
## -- End function
.comm _NP,4,2 ## @NP
.comm _partab,8,3 ## @partab
.comm _OP,8,3 ## @OP
.comm _UB,4,2 ## @UB
.comm _outbuf,8,3 ## @outbuf
.comm _obufcnt,8,3 ## @obufcnt
.comm _OBUFSIZ,8,3 ## @OBUFSIZ
.comm _STDOUT_FILENO,4,2 ## @STDOUT_FILENO
.no_dead_strip _putchr
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function putchr
_putchr: ; @putchr
.cfi_startproc
; %bb.0:
sub sp, sp, #32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
sturb w0, [x29, #-1]
Lloh0:
adrp x8, _NP@GOTPAGE
Lloh1:
ldr x8, [x8, _NP@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cbnz w8, LBB0_3
; %bb.1:
Lloh3:
adrp x8, _partab@GOTPAGE
Lloh4:
ldr x8, [x8, _partab@GOTPAGEOFF]
Lloh5:
ldr x8, [x8]
and w9, w0, #0x7f
ldr w8, [x8, w9, uxtw #2]
orr w8, w8, w0
orr w0, w8, #0xffffff80
sturb w0, [x29, #-1]
Lloh6:
adrp x9, _OP@GOTPAGE
Lloh7:
ldr x9, [x9, _OP@GOTPAGEOFF]
Lloh8:
ldr x9, [x9]
cbz x9, LBB0_3
; %bb.2:
and w0, w8, #0x7f
sturb w0, [x29, #-1]
LBB0_3:
Lloh9:
adrp x8, _UB@GOTPAGE
Lloh10:
ldr x8, [x8, _UB@GOTPAGEOFF]
Lloh11:
ldr w8, [x8]
cbz w8, LBB0_5
; %bb.4:
Lloh12:
adrp x8, _STDOUT_FILENO@GOTPAGE
Lloh13:
ldr x8, [x8, _STDOUT_FILENO@GOTPAGEOFF]
Lloh14:
ldr w0, [x8]
sub x1, x29, #1
mov w2, #1 ; =0x1
bl _write
b LBB0_6
LBB0_5:
Lloh15:
adrp x8, _outbuf@GOTPAGE
Lloh16:
ldr x8, [x8, _outbuf@GOTPAGEOFF]
Lloh17:
adrp x9, _obufcnt@GOTPAGE
Lloh18:
ldr x9, [x9, _obufcnt@GOTPAGEOFF]
Lloh19:
ldr x8, [x8]
ldr x10, [x9]
sub x11, x10, #1
str x11, [x9]
strb w0, [x8, x10]
ldr x8, [x9]
Lloh20:
adrp x9, _OBUFSIZ@GOTPAGE
Lloh21:
ldr x9, [x9, _OBUFSIZ@GOTPAGEOFF]
Lloh22:
ldr x9, [x9]
cmp x8, x9
b.ge LBB0_7
LBB0_6:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
LBB0_7:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
b _oflush
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGot Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh19
.cfi_endproc
; -- End function
.comm _NP,4,2 ; @NP
.comm _partab,8,3 ; @partab
.comm _OP,8,3 ; @OP
.comm _UB,4,2 ; @UB
.comm _outbuf,8,3 ; @outbuf
.comm _obufcnt,8,3 ; @obufcnt
.comm _OBUFSIZ,8,3 ; @OBUFSIZ
.comm _STDOUT_FILENO,4,2 ; @STDOUT_FILENO
.no_dead_strip _putchr
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function power5_get_alternatives
_power5_get_alternatives: ## @power5_get_alternatives
.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 %rdi, %r14
movq %rdi, (%rdx)
callq _find_alternative
testl %eax, %eax
js LBB0_6
## %bb.1:
movq _MAX_ALT@GOTPCREL(%rip), %rcx
cmpl $0, (%rcx)
jle LBB0_9
## %bb.2:
movq _event_alternatives@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movl %eax, %eax
movq (%rcx,%rax,8), %rax
movl $1, %ecx
jmp LBB0_4
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_4 Depth=1
addq $-8, %rax
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq (%rax), %rdx
testq %rdx, %rdx
sete %sil
cmpq %r14, %rdx
sete %dil
orb %sil, %dil
jne LBB0_3
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movslq %ecx, %rsi
incl %ecx
movq %rdx, (%rbx,%rsi,8)
jmp LBB0_3
LBB0_6:
movq %r14, %rdi
callq _find_alternative_bdecode
testq %rax, %rax
jle LBB0_9
## %bb.7:
movq %rax, 8(%rbx)
movl $2, %eax
jmp LBB0_10
LBB0_9:
movl $1, %eax
LBB0_10:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MAX_ALT,4,2 ## @MAX_ALT
.comm _event_alternatives,8,3 ## @event_alternatives
.no_dead_strip _power5_get_alternatives
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function power5_get_alternatives
_power5_get_alternatives: ; @power5_get_alternatives
.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, x0
str x0, [x2]
bl _find_alternative
tbnz w0, #31, LBB0_5
; %bb.1:
Lloh0:
adrp x8, _MAX_ALT@GOTPAGE
Lloh1:
ldr x8, [x8, _MAX_ALT@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cmp w8, #1
b.lt LBB0_7
; %bb.2:
Lloh3:
adrp x8, _event_alternatives@GOTPAGE
Lloh4:
ldr x8, [x8, _event_alternatives@GOTPAGEOFF]
Lloh5:
ldr x8, [x8]
ldr x8, [x8, w0, uxtw #3]
mov w9, #1 ; =0x1
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x10, [x8], #-8
cmp x10, #0
ccmp x10, x20, #4, ne
b.eq LBB0_3
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
str x10, [x19, w9, sxtw #3]
add w9, w9, #1
b LBB0_3
LBB0_5:
mov x0, x20
bl _find_alternative_bdecode
cmp x0, #1
b.lt LBB0_7
; %bb.6:
str x0, [x19, #8]
mov w0, #2 ; =0x2
b LBB0_8
LBB0_7:
mov w0, #1 ; =0x1
LBB0_8:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _MAX_ALT,4,2 ; @MAX_ALT
.comm _event_alternatives,8,3 ; @event_alternatives
.no_dead_strip _power5_get_alternatives
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function gl_cg_compile_program
_gl_cg_compile_program: ## @gl_cg_compile_program
.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 %rcx, -56(%rbp) ## 8-byte Spill
movq %rdx, %rbx
movl %esi, %r13d
movq %rdi, %r14
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _GFX_MAX_SHADERS@GOTPCREL(%rip), %rax
movl (%rax), %r15d
movl $2, %eax
subl %r15d, %eax
shlq $3, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r12
testq %rbx, %rbx
jne LBB0_2
## %bb.1:
movl %r13d, %ebx
shlq $4, %rbx
addq 24(%r14), %rbx
LBB0_2:
leaq L_.str(%rip), %rax
movq %rax, (%r12)
testq %r15, %r15
je LBB0_9
## %bb.3:
movq (%r14), %rcx
cmpl $1, %r15d
jne LBB0_27
## %bb.4:
movl $-1, %eax
xorl %edx, %edx
LBB0_5:
testb $1, %r15b
je LBB0_8
## %bb.6:
movq (%rcx,%rdx,8), %rcx
cmpb $0, (%rcx)
je LBB0_8
## %bb.7:
movl %eax, %edx
incl %eax
movq %rcx, (%r12,%rdx,8)
LBB0_8:
movl %eax, %eax
jmp LBB0_10
LBB0_9:
movl $4294967295, %eax ## imm = 0xFFFFFFFF
LBB0_10:
movq $0, (%r12,%rax,8)
movq -56(%rbp), %rax ## 8-byte Reload
cmpq $0, 8(%rax)
movl 8(%r14), %edi
movl 16(%r14), %ecx
movq _CG_SOURCE@GOTPCREL(%rip), %r15
movl (%r15), %esi
movl (%rax), %edx
leaq L_.str.1(%rip), %r8
movq %r12, %r9
je LBB0_12
## %bb.11:
callq _cgCreateProgramFromFile
jmp LBB0_13
LBB0_12:
callq _cgCreateProgram
LBB0_13:
movq %rax, 8(%rbx)
movl 8(%r14), %edi
callq _cgGetLastListing
testq %rax, %rax
je LBB0_15
## %bb.14:
movq %rax, %rdi
callq _strdup
movq %rax, %r13
jmp LBB0_16
LBB0_15:
xorl %r13d, %r13d
LBB0_16:
movq -56(%rbp), %rax ## 8-byte Reload
cmpq $0, 8(%rax)
movl 8(%r14), %edi
movl 12(%r14), %ecx
movl (%r15), %esi
movl (%rax), %edx
leaq L_.str.2(%rip), %r8
movq %r12, %r9
je LBB0_18
## %bb.17:
callq _cgCreateProgramFromFile
jmp LBB0_19
LBB0_18:
callq _cgCreateProgram
LBB0_19:
movq %rax, (%rbx)
movl 8(%r14), %edi
callq _cgGetLastListing
testq %rax, %rax
je LBB0_21
## %bb.20:
movq %rax, %rdi
callq _strdup
movq %rax, %r14
jmp LBB0_22
LBB0_21:
xorl %r14d, %r14d
LBB0_22:
movq 8(%rbx), %rdi
testq %rdi, %rdi
je LBB0_25
## %bb.23:
cmpq $0, (%rbx)
je LBB0_25
## %bb.24:
callq _cgGLLoadProgram
movq (%rbx), %rdi
callq _cgGLLoadProgram
movl $1, %ebx
jmp LBB0_36
LBB0_25:
xorl %ebx, %ebx
xorl %eax, %eax
callq _cgGetError
movl %eax, %edi
callq _cgGetErrorString
leaq L_.str.3(%rip), %rdi
movq %rax, %rsi
callq _RARCH_ERR
testq %r13, %r13
je LBB0_33
## %bb.26:
leaq L_.str.4(%rip), %rdi
movq %r13, %rsi
jmp LBB0_35
LBB0_27:
movl %r15d, %esi
andl $-2, %esi
movl $-1, %eax
xorl %edx, %edx
jmp LBB0_29
.p2align 4, 0x90
LBB0_28: ## in Loop: Header=BB0_29 Depth=1
addq $2, %rdx
cmpq %rdx, %rsi
je LBB0_5
LBB0_29: ## =>This Inner Loop Header: Depth=1
movq (%rcx,%rdx,8), %rdi
cmpb $0, (%rdi)
je LBB0_31
## %bb.30: ## in Loop: Header=BB0_29 Depth=1
movl %eax, %r8d
incl %eax
movq %rdi, (%r12,%r8,8)
LBB0_31: ## in Loop: Header=BB0_29 Depth=1
movq 8(%rcx,%rdx,8), %rdi
cmpb $0, (%rdi)
je LBB0_28
## %bb.32: ## in Loop: Header=BB0_29 Depth=1
movl %eax, %r8d
incl %eax
movq %rdi, (%r12,%r8,8)
jmp LBB0_28
LBB0_33:
testq %r14, %r14
je LBB0_36
## %bb.34:
leaq L_.str.5(%rip), %rdi
movq %r14, %rsi
LBB0_35:
callq _RARCH_ERR
LBB0_36:
movq %r13, %rdi
callq _free
movq %r14, %rdi
callq _free
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_38
## %bb.37:
movl %ebx, %eax
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_38:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _GFX_MAX_SHADERS,4,2 ## @GFX_MAX_SHADERS
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "-DPARAMETER_UNIFORM"
.comm _CG_SOURCE,4,2 ## @CG_SOURCE
L_.str.1: ## @.str.1
.asciz "main_fragment"
L_.str.2: ## @.str.2
.asciz "main_vertex"
L_.str.3: ## @.str.3
.asciz "CG error: %s\n"
L_.str.4: ## @.str.4
.asciz "Fragment:\n%s\n"
L_.str.5: ## @.str.5
.asciz "Vertex:\n%s\n"
.no_dead_strip _gl_cg_compile_program
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function gl_cg_compile_program
_gl_cg_compile_program: ; @gl_cg_compile_program
.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
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
mov x22, x3
mov x19, x2
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]
Lloh3:
adrp x8, _GFX_MAX_SHADERS@GOTPAGE
Lloh4:
ldr x8, [x8, _GFX_MAX_SHADERS@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
mov w9, #2 ; =0x2
sub w9, w9, w8
ubfiz x9, x9, #3, #32
add x10, x9, #15
and x12, x10, #0xffffffff0
Lloh6:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh7:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
sub x21, x9, x12
mov sp, x21
cbnz x2, LBB0_2
; %bb.1:
ldr x9, [x20, #24]
add x19, x9, w1, uxtw #4
LBB0_2:
Lloh8:
adrp x9, l_.str@PAGE
Lloh9:
add x9, x9, l_.str@PAGEOFF
str x9, [x21]
cbz w8, LBB0_8
; %bb.3:
ldr x9, [x20]
mov w10, #-1 ; =0xffffffff
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
add x9, x9, #8
subs x8, x8, #1
b.eq LBB0_7
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr x11, [x9]
ldrb w12, [x11]
cbz w12, LBB0_4
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
str x11, [x21, w10, uxtw #3]
add w10, w10, #1
b LBB0_4
LBB0_7:
mov w8, w10
b LBB0_9
LBB0_8:
mov w8, #-1 ; =0xffffffff
LBB0_9:
str xzr, [x21, x8, lsl #3]
ldr x8, [x22, #8]
ldr w0, [x20, #8]
Lloh10:
adrp x24, _CG_SOURCE@GOTPAGE
Lloh11:
ldr x24, [x24, _CG_SOURCE@GOTPAGEOFF]
ldr w1, [x24]
ldr w2, [x22]
ldr w3, [x20, #16]
Lloh12:
adrp x4, l_.str.1@PAGE
Lloh13:
add x4, x4, l_.str.1@PAGEOFF
mov x5, x21
cbz x8, LBB0_11
; %bb.10:
bl _cgCreateProgramFromFile
b LBB0_12
LBB0_11:
bl _cgCreateProgram
LBB0_12:
str x0, [x19, #8]
ldr w0, [x20, #8]
bl _cgGetLastListing
cbz x0, LBB0_14
; %bb.13:
bl _strdup
mov x23, x0
b LBB0_15
LBB0_14:
mov x23, #0 ; =0x0
LBB0_15:
ldr x8, [x22, #8]
ldr w1, [x24]
ldr w2, [x22]
ldp w0, w3, [x20, #8]
Lloh14:
adrp x4, l_.str.2@PAGE
Lloh15:
add x4, x4, l_.str.2@PAGEOFF
mov x5, x21
cbz x8, LBB0_17
; %bb.16:
bl _cgCreateProgramFromFile
b LBB0_18
LBB0_17:
bl _cgCreateProgram
LBB0_18:
str x0, [x19]
ldr w0, [x20, #8]
bl _cgGetLastListing
cbz x0, LBB0_20
; %bb.19:
bl _strdup
mov x20, x0
ldr x0, [x19, #8]
cbnz x0, LBB0_21
b LBB0_23
LBB0_20:
mov x20, #0 ; =0x0
ldr x0, [x19, #8]
cbz x0, LBB0_23
LBB0_21:
ldr x8, [x19]
cbz x8, LBB0_23
; %bb.22:
bl _cgGLLoadProgram
ldr x0, [x19]
bl _cgGLLoadProgram
mov w19, #1 ; =0x1
b LBB0_29
LBB0_23:
bl _cgGetError
bl _cgGetErrorString
mov x1, x0
Lloh16:
adrp x0, l_.str.3@PAGE
Lloh17:
add x0, x0, l_.str.3@PAGEOFF
bl _RARCH_ERR
cbz x23, LBB0_25
; %bb.24:
Lloh18:
adrp x0, l_.str.4@PAGE
Lloh19:
add x0, x0, l_.str.4@PAGEOFF
mov x1, x23
b LBB0_27
LBB0_25:
cbz x20, LBB0_28
; %bb.26:
Lloh20:
adrp x0, l_.str.5@PAGE
Lloh21:
add x0, x0, l_.str.5@PAGEOFF
mov x1, x20
LBB0_27:
bl _RARCH_ERR
LBB0_28:
mov w19, #0 ; =0x0
LBB0_29:
mov x0, x23
bl _free
mov x0, x20
bl _free
ldur x8, [x29, #-56]
Lloh22:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh23:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_31
; %bb.30:
mov x0, x19
sub sp, x29, #48
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
LBB0_31:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _GFX_MAX_SHADERS,4,2 ; @GFX_MAX_SHADERS
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "-DPARAMETER_UNIFORM"
.comm _CG_SOURCE,4,2 ; @CG_SOURCE
l_.str.1: ; @.str.1
.asciz "main_fragment"
l_.str.2: ; @.str.2
.asciz "main_vertex"
l_.str.3: ; @.str.3
.asciz "CG error: %s\n"
l_.str.4: ; @.str.4
.asciz "Fragment:\n%s\n"
l_.str.5: ; @.str.5
.asciz "Vertex:\n%s\n"
.no_dead_strip _gl_cg_compile_program
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _peep ## -- Begin function peep
.p2align 4, 0x90
_peep: ## @peep
.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, %r11d
movq _OFF@GOTPCREL(%rip), %rax
movl (%rax), %eax
xorl %edx, %eax
movslq %esi, %rcx
imulq $1374389535, %rcx, %rdx ## imm = 0x51EB851F
movq %rdx, %rsi
shrq $63, %rsi
sarq $37, %rdx
addl %esi, %edx
orl %eax, %ecx
movl $10, %r8d
cmovnel %edx, %r8d
testl %edi, %edi
js LBB0_10
## %bb.1:
movl %edi, %r13d
shll $3, %r13d
xorl %r12d, %r12d
movq _buffer@GOTPCREL(%rip), %r10
movq _bufcnt@GOTPCREL(%rip), %rbx
movq _BUFLNG@GOTPCREL(%rip), %r14
xorl %r15d, %r15d
jmp LBB0_2
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_2 Depth=1
addl %r8d, %r12d
movslq %r12d, %r12
imulq $1717986919, %r12, %rax ## imm = 0x66666667
movq %rax, %rcx
shrq $63, %rcx
sarq $37, %rax
addl %ecx, %eax
shll $4, %eax
leal (%rax,%rax,4), %eax
subl %eax, %r12d
LBB0_9: ## in Loop: Header=BB0_2 Depth=1
decl %r15d
cmpl %r13d, %r15d
jg LBB0_10
LBB0_2: ## =>This Inner Loop Header: Depth=1
cmpl $128, %r11d
je LBB0_5
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movl $-1, %eax
cmpl $129, %r11d
jne LBB0_6
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movq _c6000@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq %r12d, %rcx
movl (%rax,%rcx,4), %eax
notl %eax
movq (%r10), %rcx
movq (%rbx), %rdx
leaq 1(%rdx), %rsi
movq %rsi, (%rbx)
movl %eax, (%rcx,%rdx,4)
jmp LBB0_9
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
movq _c3000@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq %r12d, %rcx
movl (%rax,%rcx,4), %eax
notl %eax
LBB0_6: ## in Loop: Header=BB0_2 Depth=1
movq (%r10), %rsi
movq (%rbx), %rcx
leaq 1(%rcx), %rdi
movq %rdi, (%rbx)
movl %eax, (%rsi,%rcx,4)
movq (%r14), %rdx
cmpq %rdx, %rdi
jl LBB0_8
## %bb.7: ## in Loop: Header=BB0_2 Depth=1
movq _fd@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl %r8d, %r14d
movl %r11d, %ebx
callq _write
movl %ebx, %r11d
movq _bufcnt@GOTPCREL(%rip), %rbx
movq _buffer@GOTPCREL(%rip), %r10
movl %r14d, %r8d
movq _BUFLNG@GOTPCREL(%rip), %r14
movq $0, (%rbx)
jmp LBB0_8
LBB0_10:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _OFF,4,2 ## @OFF
.comm _c6000,8,3 ## @c6000
.comm _buffer,8,3 ## @buffer
.comm _bufcnt,8,3 ## @bufcnt
.comm _c3000,8,3 ## @c3000
.comm _BUFLNG,8,3 ## @BUFLNG
.comm _fd,4,2 ## @fd
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _peep ; -- Begin function peep
.p2align 2
_peep: ; @peep
.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, _OFF@GOTPAGE
Lloh1:
ldr x8, [x8, _OFF@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cmp w8, w2
ccmp w1, #0, #0, eq
mov w8, #34079 ; =0x851f
movk w8, #20971, lsl #16
smull x8, w1, w8
lsr x9, x8, #63
asr x8, x8, #37
add w8, w8, w9
mov w9, #10 ; =0xa
csel w20, w9, w8, eq
tbnz w0, #31, LBB0_11
; %bb.1:
mov x19, x2
mov w26, #0 ; =0x0
mov w21, #0 ; =0x0
lsl w22, w0, #3
Lloh3:
adrp x24, _buffer@GOTPAGE
Lloh4:
ldr x24, [x24, _buffer@GOTPAGEOFF]
Lloh5:
adrp x25, _bufcnt@GOTPAGE
Lloh6:
ldr x25, [x25, _bufcnt@GOTPAGEOFF]
Lloh7:
adrp x27, _BUFLNG@GOTPAGE
Lloh8:
ldr x27, [x27, _BUFLNG@GOTPAGEOFF]
mov w28, #26215 ; =0x6667
movk w28, #26214, lsl #16
mov w23, #80 ; =0x50
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
add w8, w26, w20
smull x9, w8, w28
lsr x10, x9, #63
asr x9, x9, #37
add w9, w9, w10
msub w26, w9, w23, w8
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
sub w21, w21, #1
cmp w21, w22
b.gt LBB0_11
LBB0_4: ; =>This Inner Loop Header: Depth=1
cmp w19, #128
b.eq LBB0_7
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
cmp w19, #129
b.ne LBB0_8
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
Lloh9:
adrp x8, _c6000@GOTPAGE
Lloh10:
ldr x8, [x8, _c6000@GOTPAGEOFF]
Lloh11:
ldr x8, [x8]
ldr w8, [x8, w26, sxtw #2]
mvn w8, w8
ldr x9, [x24]
ldr x10, [x25]
add x11, x10, #1
str x11, [x25]
str w8, [x9, x10, lsl #2]
b LBB0_3
LBB0_7: ; in Loop: Header=BB0_4 Depth=1
Lloh12:
adrp x8, _c3000@GOTPAGE
Lloh13:
ldr x8, [x8, _c3000@GOTPAGEOFF]
Lloh14:
ldr x8, [x8]
ldr w8, [x8, w26, sxtw #2]
mvn w8, w8
b LBB0_9
LBB0_8: ; in Loop: Header=BB0_4 Depth=1
mov w8, #-1 ; =0xffffffff
LBB0_9: ; in Loop: Header=BB0_4 Depth=1
ldr x1, [x24]
ldr x9, [x25]
add x10, x9, #1
str x10, [x25]
str w8, [x1, x9, lsl #2]
ldr x2, [x27]
cmp x10, x2
b.lt LBB0_2
; %bb.10: ; in Loop: Header=BB0_4 Depth=1
Lloh15:
adrp x8, _fd@GOTPAGE
Lloh16:
ldr x8, [x8, _fd@GOTPAGEOFF]
Lloh17:
ldr w0, [x8]
bl _write
str xzr, [x25]
b LBB0_2
LBB0_11:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.cfi_endproc
; -- End function
.comm _OFF,4,2 ; @OFF
.comm _c6000,8,3 ; @c6000
.comm _buffer,8,3 ; @buffer
.comm _bufcnt,8,3 ; @bufcnt
.comm _c3000,8,3 ; @c3000
.comm _BUFLNG,8,3 ; @BUFLNG
.comm _fd,4,2 ; @fd
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function lzx_read_lens
_lzx_read_lens: ## @lzx_read_lens
.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 _PRETREE@GOTPCREL(%rip), %rbx
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl $4, %esi
callq _READ_BITS
movl (%rbx), %edi
callq _LENTABLE
jmp LBB0_1
.cfi_endproc
## -- End function
.comm _PRETREE,4,2 ## @PRETREE
.no_dead_strip _lzx_read_lens
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function lzx_read_lens
_lzx_read_lens: ; @lzx_read_lens
.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 x19, _PRETREE@GOTPAGE
Lloh1:
ldr x19, [x19, _PRETREE@GOTPAGEOFF]
LBB0_1: ; =>This Inner Loop Header: Depth=1
mov w1, #4 ; =0x4
bl _READ_BITS
ldr w0, [x19]
bl _LENTABLE
b LBB0_1
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _PRETREE,4,2 ; @PRETREE
.no_dead_strip _lzx_read_lens
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _tree_subiterator_jump_to ## -- Begin function tree_subiterator_jump_to
.p2align 4, 0x90
_tree_subiterator_jump_to: ## @tree_subiterator_jump_to
.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
movl (%rdi), %eax
leal -1(%rax), %ecx
cmpl %esi, %ecx
jne LBB0_1
## %bb.18:
movq %rbx, %rdi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _tree_subiterator_next ## TAILCALL
LBB0_1:
movl %esi, %r14d
xorl %edi, %edi
cmpl %esi, %eax
jge LBB0_3
## %bb.2:
xorl %edi, %edi
cmpq $0, 8(%rbx)
setg %dil
LBB0_3:
callq _assert
movq 8(%rbx), %r12
cmpq $2, %r12
jl LBB0_6
## %bb.4:
decq %r12
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq 16(%rbx), %rax
movq -8(%rax,%r12,8), %rdi
callq _TS_NODE
incq %r12
cmpl %r14d, (%rax)
jle LBB0_5
LBB0_6:
movq 16(%rbx), %rax
movq -8(%rax,%r12,8), %rdi
callq _TS_NODE
cmpl %r14d, (%rax)
jne LBB0_8
## %bb.7:
movq %r12, 8(%rbx)
movl 4(%rax), %eax
movl %eax, 24(%rbx)
jmp LBB0_17
LBB0_8:
decq %r12
movq 8(%rax), %r15
jmp LBB0_9
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_9 Depth=1
movq (%rax,%rcx), %r15
LBB0_9: ## =>This Inner Loop Header: Depth=1
testq %r15, %r15
je LBB0_13
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
movq %r15, %rdi
callq _TS_NODE
movl $8, %ecx
cmpl %r14d, (%rax)
jl LBB0_12
## %bb.11: ## in Loop: Header=BB0_9 Depth=1
movq 16(%rbx), %rcx
movq %r15, (%rcx,%r12,8)
incq %r12
movl $16, %ecx
jmp LBB0_12
LBB0_13:
movq _MAX_DEPTH@GOTPCREL(%rip), %rax
xorl %edi, %edi
cmpq (%rax), %r12
setle %dil
callq _assert
movq %r12, 8(%rbx)
testq %r12, %r12
je LBB0_14
## %bb.15:
movq 16(%rbx), %rax
movq -8(%rax,%r12,8), %rdi
callq _TS_NODE
movl 4(%rax), %ecx
movl %ecx, 24(%rbx)
jmp LBB0_16
LBB0_14:
movq _INFTY@GOTPCREL(%rip), %rax
LBB0_16:
movl (%rax), %r14d
LBB0_17:
movl %r14d, (%rbx)
movl %r14d, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _WordSpace,4,2 ## @WordSpace
.comm _MAX_DEPTH,8,3 ## @MAX_DEPTH
.comm _INFTY,4,2 ## @INFTY
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _tree_subiterator_jump_to ; -- Begin function tree_subiterator_jump_to
.p2align 2
_tree_subiterator_jump_to: ; @tree_subiterator_jump_to
.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 w8, [x0]
sub w9, w8, #1
cmp w9, w1
b.ne LBB0_2
; %bb.1:
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _tree_subiterator_next
LBB0_2:
mov x20, x1
cmp w8, w1
b.ge LBB0_4
; %bb.3:
ldr x8, [x19, #8]
cmp x8, #0
cset w0, gt
b LBB0_5
LBB0_4:
mov w0, #0 ; =0x0
LBB0_5:
bl _assert
ldr x21, [x19, #8]
subs x22, x21, #2
b.lt LBB0_8
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #16]
ldr x0, [x8, x22, lsl #3]
bl _TS_NODE
ldr w8, [x0]
add x22, x22, #1
cmp w8, w20
b.le LBB0_6
; %bb.7:
add x21, x22, #1
LBB0_8:
ldr x8, [x19, #16]
add x8, x8, x21, lsl #3
ldur x0, [x8, #-8]
bl _TS_NODE
ldr w8, [x0]
cmp w8, w20
b.ne LBB0_10
; %bb.9:
str x21, [x19, #8]
ldr w8, [x0, #4]
b LBB0_16
LBB0_10:
sub x22, x21, #1
ldr x21, [x0, #8]
cbnz x21, LBB0_12
b LBB0_14
LBB0_11: ; in Loop: Header=BB0_12 Depth=1
ldr x8, [x19, #16]
str x21, [x8, x22, lsl #3]
add x22, x22, #1
mov w8, #16 ; =0x10
ldr x21, [x0, x8]
cbz x21, LBB0_14
LBB0_12: ; =>This Inner Loop Header: Depth=1
mov x0, x21
bl _TS_NODE
ldr w8, [x0]
cmp w8, w20
b.ge LBB0_11
; %bb.13: ; in Loop: Header=BB0_12 Depth=1
mov w8, #8 ; =0x8
ldr x21, [x0, x8]
cbnz x21, LBB0_12
LBB0_14:
Lloh0:
adrp x8, _MAX_DEPTH@GOTPAGE
Lloh1:
ldr x8, [x8, _MAX_DEPTH@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x22, x8
cset w0, le
bl _assert
str x22, [x19, #8]
cbz x22, LBB0_18
; %bb.15:
ldr x8, [x19, #16]
add x8, x8, x22, lsl #3
ldur x0, [x8, #-8]
bl _TS_NODE
ldp w20, w8, [x0]
LBB0_16:
str w8, [x19, #24]
LBB0_17:
str w20, [x19]
mov x0, x20
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_18:
Lloh3:
adrp x8, _INFTY@GOTPAGE
Lloh4:
ldr x8, [x8, _INFTY@GOTPAGEOFF]
Lloh5:
ldr w20, [x8]
b LBB0_17
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _WordSpace,4,2 ; @WordSpace
.comm _MAX_DEPTH,8,3 ; @MAX_DEPTH
.comm _INFTY,4,2 ; @INFTY
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _hfsplus_asc2uni ## -- Begin function hfsplus_asc2uni
.p2align 4, 0x90
_hfsplus_asc2uni: ## @hfsplus_asc2uni
.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
movl %r8d, %r14d
movq %rcx, -80(%rbp) ## 8-byte Spill
movl %edx, %r12d
movq %rsi, %rbx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _HFSPLUS_SB_NODECOMPOSE@GOTPCREL(%rip), %rax
movl (%rax), %r15d
movq %rdi, -96(%rbp) ## 8-byte Spill
callq _HFSPLUS_SB
movl %r15d, %edi
movq %rax, %rsi
callq _test_bit
movl %eax, -88(%rbp) ## 4-byte Spill
movl %r12d, -68(%rbp) ## 4-byte Spill
testl %r12d, %r12d
sets %al
testl %r14d, %r14d
setg %dl
setle %cl
xorl %r12d, %r12d
movl $0, %r13d
movl $0, %r15d
testb %cl, %al
jne LBB0_13
## %bb.1:
xorl %r13d, %r13d
movq -80(%rbp), %rsi ## 8-byte Reload
.p2align 4, 0x90
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_7 Depth 2
movl %edx, -84(%rbp) ## 4-byte Spill
movq -96(%rbp), %rdi ## 8-byte Reload
movq %rsi, -80(%rbp) ## 8-byte Spill
movl %r14d, %edx
leaq -72(%rbp), %rcx
callq _asc2unichar
movl %eax, %r12d
cmpl $0, -88(%rbp) ## 4-byte Folded Reload
je LBB0_3
LBB0_8: ## in Loop: Header=BB0_2 Depth=1
movl -72(%rbp), %edi
callq _cpu_to_be16
movq 8(%rbx), %rcx
movslq %r13d, %rdx
incl %r13d
movq %rax, (%rcx,%rdx,8)
jmp LBB0_9
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_2 Depth=1
movl -72(%rbp), %edi
leaq -64(%rbp), %rsi
leaq -60(%rbp), %rdx
callq _decompose_unichar
testq %rax, %rax
je LBB0_8
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movq %rax, %r15
movl %r13d, %eax
subl -64(%rbp), %eax
cmpl -68(%rbp), %eax ## 4-byte Folded Reload
jg LBB0_5
## %bb.6: ## in Loop: Header=BB0_2 Depth=1
movslq %r13d, %r13
.p2align 4, 0x90
LBB0_7: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movl (%r15), %edi
addq $4, %r15
callq _cpu_to_be16
movq 8(%rbx), %rcx
movq %rax, (%rcx,%r13,8)
decq %r13
movl -64(%rbp), %eax
leal -1(%rax), %ecx
movl %ecx, -64(%rbp)
cmpl $1, %eax
jg LBB0_7
LBB0_9: ## in Loop: Header=BB0_2 Depth=1
movslq %r12d, %rax
movq -80(%rbp), %rsi ## 8-byte Reload
addq %rax, %rsi
subl %eax, %r14d
setg %dl
cmpl -68(%rbp), %r13d ## 4-byte Folded Reload
jle LBB0_2
## %bb.10: ## in Loop: Header=BB0_2 Depth=1
testl %r14d, %r14d
jg LBB0_2
## %bb.11:
xorl %r15d, %r15d
LBB0_12:
## kill: def $r15b killed $r15b killed $r15d def $r15d
xorl %r12d, %r12d
LBB0_13:
movl %r13d, %edi
callq _cpu_to_be16
movq %rax, (%rbx)
movq _ENAMETOOLONG@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
testb $1, %r15b
cmovel %r12d, %eax
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_15
## %bb.14:
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_5:
movl -84(%rbp), %r15d ## 4-byte Reload
jmp LBB0_12
LBB0_15:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _HFSPLUS_SB_NODECOMPOSE,4,2 ## @HFSPLUS_SB_NODECOMPOSE
.comm _ENAMETOOLONG,4,2 ## @ENAMETOOLONG
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _hfsplus_asc2uni ; -- Begin function hfsplus_asc2uni
.p2align 2
_hfsplus_asc2uni: ; @hfsplus_asc2uni
.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, x4
mov x21, x3
mov x22, x2
mov x19, x1
mov x23, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #24]
Lloh3:
adrp x8, _HFSPLUS_SB_NODECOMPOSE@GOTPAGE
Lloh4:
ldr x8, [x8, _HFSPLUS_SB_NODECOMPOSE@GOTPAGEOFF]
Lloh5:
ldr w24, [x8]
bl _HFSPLUS_SB
mov x1, x0
mov x0, x24
bl _test_bit
mov x25, x0
cmp w20, #0
cset w28, gt
tbz w22, #31, LBB0_3
; %bb.1:
cmp w20, #1
b.ge LBB0_3
; %bb.2:
mov w24, #0 ; =0x0
b LBB0_12
LBB0_3:
mov w24, #0 ; =0x0
LBB0_4: ; =>This Loop Header: Depth=1
; Child Loop BB0_9 Depth 2
add x3, sp, #4
mov x0, x23
mov x1, x21
mov x2, x20
bl _asc2unichar
mov x26, x0
cbz w25, LBB0_6
LBB0_5: ; in Loop: Header=BB0_4 Depth=1
ldr w0, [sp, #4]
bl _cpu_to_be16
ldr x8, [x19, #8]
str x0, [x8, w24, sxtw #3]
add w8, w24, #1
mov x24, x8
b LBB0_10
LBB0_6: ; in Loop: Header=BB0_4 Depth=1
ldr w0, [sp, #4]
add x1, sp, #8
add x2, sp, #12
bl _decompose_unichar
cbz x0, LBB0_5
; %bb.7: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [sp, #8]
sub w8, w24, w8
cmp w8, w22
b.gt LBB0_13
; %bb.8: ; in Loop: Header=BB0_4 Depth=1
mov x27, x0
sbfiz x28, x24, #3, #32
LBB0_9: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
ldr w0, [x27], #4
bl _cpu_to_be16
ldr x8, [x19, #8]
str x0, [x8, x28]
ldr w8, [sp, #8]
sub x28, x28, #8
sub w24, w24, #1
subs w8, w8, #1
str w8, [sp, #8]
b.gt LBB0_9
LBB0_10: ; in Loop: Header=BB0_4 Depth=1
add x21, x21, w26, sxtw
subs w20, w20, w26
cset w28, gt
cmp w24, w22
b.le LBB0_4
; %bb.11: ; in Loop: Header=BB0_4 Depth=1
cmp w20, #0
b.gt LBB0_4
LBB0_12:
mov w28, #0 ; =0x0
LBB0_13:
mov x0, x24
bl _cpu_to_be16
str x0, [x19]
Lloh6:
adrp x8, _ENAMETOOLONG@GOTPAGE
Lloh7:
ldr x8, [x8, _ENAMETOOLONG@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
tst w28, #0x1
csneg w0, wzr, w8, eq
ldr x8, [sp, #24]
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_15
; %bb.14:
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_15:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _HFSPLUS_SB_NODECOMPOSE,4,2 ; @HFSPLUS_SB_NODECOMPOSE
.comm _ENAMETOOLONG,4,2 ; @ENAMETOOLONG
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function a6xx_get_registers
_a6xx_get_registers: ## @a6xx_get_registers
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r15
movq _a6xx_ahb_reglist@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _ARRAY_SIZE
movl %eax, %r12d
movq _a6xx_reglist@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _ARRAY_SIZE
movl %eax, %r13d
addl %r12d, %r13d
movq _a6xx_hlsq_reglist@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _ARRAY_SIZE
movl %eax, %r12d
addl %r13d, %r12d
movq %rbx, %rdi
movl %r12d, %esi
movl $4, %edx
callq _state_kcalloc
movq %rax, 8(%rbx)
testq %rax, %rax
je LBB0_11
## %bb.1:
movq %r15, -64(%rbp) ## 8-byte Spill
movq %r14, -72(%rbp) ## 8-byte Spill
movq %rbx, -48(%rbp) ## 8-byte Spill
movl %r12d, (%rbx)
movq _a6xx_ahb_reglist@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _ARRAY_SIZE
testl %eax, %eax
jle LBB0_2
## %bb.12:
xorl %r13d, %r13d
xorl %r15d, %r15d
xorl %r14d, %r14d
.p2align 4, 0x90
LBB0_13: ## =>This Inner Loop Header: Depth=1
movq %r14, %r12
movq _a6xx_ahb_reglist@GOTPCREL(%rip), %rbx
movq (%rbx), %rdx
addq %r15, %rdx
movq -48(%rbp), %rsi ## 8-byte Reload
movq 8(%rsi), %rcx
addq %r13, %rcx
movq -64(%rbp), %rdi ## 8-byte Reload
callq _a6xx_get_ahb_gpu_registers
decq %r14
movq (%rbx), %rdi
callq _ARRAY_SIZE
cltq
addq $-4, %r15
addq $4, %r13
cmpq %rax, %r12
jle LBB0_13
## %bb.3:
negl %r14d
jmp LBB0_4
LBB0_2:
xorl %r14d, %r14d
LBB0_4:
movq _a6xx_reglist@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _ARRAY_SIZE
testl %eax, %eax
movq -72(%rbp), %r13 ## 8-byte Reload
jle LBB0_8
## %bb.5:
movl %r14d, %r14d
leaq (,%r14,4), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
xorl %r15d, %r15d
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
movq _a6xx_reglist@GOTPCREL(%rip), %r12
movq (%r12), %rdx
addq %r15, %rdx
movq -48(%rbp), %rsi ## 8-byte Reload
movq 8(%rsi), %rcx
addq -56(%rbp), %rcx ## 8-byte Folded Reload
addq %r15, %rcx
movq -64(%rbp), %rdi ## 8-byte Reload
movq %r13, %r8
callq _a6xx_get_crashdumper_registers
incq %rbx
movq (%r12), %rdi
callq _ARRAY_SIZE
cltq
addq $4, %r15
cmpq %rax, %rbx
jl LBB0_6
## %bb.7:
addl %ebx, %r14d
LBB0_8:
movq _a6xx_hlsq_reglist@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _ARRAY_SIZE
testl %eax, %eax
movq -72(%rbp), %r13 ## 8-byte Reload
movq -48(%rbp), %rcx ## 8-byte Reload
movq -64(%rbp), %rbx ## 8-byte Reload
jle LBB0_11
## %bb.9:
movl %r14d, %eax
shlq $2, %rax
movq %rax, -56(%rbp) ## 8-byte Spill
xorl %r15d, %r15d
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_10: ## =>This Inner Loop Header: Depth=1
movq _a6xx_hlsq_reglist@GOTPCREL(%rip), %r14
movq (%r14), %rdx
addq %r15, %rdx
movq 8(%rcx), %rcx
addq -56(%rbp), %rcx ## 8-byte Folded Reload
addq %r15, %rcx
movq %rbx, %rdi
movq -48(%rbp), %rsi ## 8-byte Reload
movq %r13, %r8
callq _a6xx_get_crashdumper_hlsq_registers
incq %r12
movq (%r14), %rdi
callq _ARRAY_SIZE
movq -48(%rbp), %rcx ## 8-byte Reload
cltq
addq $4, %r15
cmpq %rax, %r12
jl LBB0_10
LBB0_11:
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _a6xx_ahb_reglist,8,3 ## @a6xx_ahb_reglist
.comm _a6xx_reglist,8,3 ## @a6xx_reglist
.comm _a6xx_hlsq_reglist,8,3 ## @a6xx_hlsq_reglist
.no_dead_strip _a6xx_get_registers
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function a6xx_get_registers
_a6xx_get_registers: ; @a6xx_get_registers
.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, x2
mov x20, x1
mov x21, x0
Lloh0:
adrp x25, _a6xx_ahb_reglist@GOTPAGE
Lloh1:
ldr x25, [x25, _a6xx_ahb_reglist@GOTPAGEOFF]
ldr x0, [x25]
bl _ARRAY_SIZE
mov x22, x0
Lloh2:
adrp x24, _a6xx_reglist@GOTPAGE
Lloh3:
ldr x24, [x24, _a6xx_reglist@GOTPAGEOFF]
ldr x0, [x24]
bl _ARRAY_SIZE
add w22, w0, w22
Lloh4:
adrp x23, _a6xx_hlsq_reglist@GOTPAGE
Lloh5:
ldr x23, [x23, _a6xx_hlsq_reglist@GOTPAGEOFF]
ldr x0, [x23]
bl _ARRAY_SIZE
add w22, w22, w0
mov x0, x20
mov x1, x22
mov w2, #4 ; =0x4
bl _state_kcalloc
str x0, [x20, #8]
cbz x0, LBB0_13
; %bb.1:
str w22, [x20]
ldr x0, [x25]
bl _ARRAY_SIZE
cmp w0, #1
b.lt LBB0_5
; %bb.2:
mov x22, #0 ; =0x0
mov x26, #0 ; =0x0
mov x27, #0 ; =0x0
LBB0_3: ; =>This Inner Loop Header: Depth=1
mov x28, x27
ldr x8, [x25]
ldr x9, [x20, #8]
add x2, x8, x26
add x3, x9, x22
mov x0, x21
mov x1, x20
bl _a6xx_get_ahb_gpu_registers
sub x27, x27, #1
ldr x0, [x25]
bl _ARRAY_SIZE
sub x26, x26, #4
add x22, x22, #4
cmp x28, w0, sxtw
b.le LBB0_3
; %bb.4:
neg w26, w27
b LBB0_6
LBB0_5:
mov w26, #0 ; =0x0
LBB0_6:
ldr x0, [x24]
bl _ARRAY_SIZE
cmp w0, #1
b.lt LBB0_10
; %bb.7:
mov x25, #0 ; =0x0
mov x22, #0 ; =0x0
ubfiz x27, x26, #2, #32
mov w26, w26
LBB0_8: ; =>This Inner Loop Header: Depth=1
ldr x8, [x24]
ldr x9, [x20, #8]
add x10, x27, x25
add x2, x8, x25
add x3, x9, x10
mov x0, x21
mov x1, x20
mov x4, x19
bl _a6xx_get_crashdumper_registers
add x22, x22, #1
ldr x0, [x24]
bl _ARRAY_SIZE
add x25, x25, #4
cmp x22, w0, sxtw
b.lt LBB0_8
; %bb.9:
add w26, w26, w22
LBB0_10:
ldr x0, [x23]
bl _ARRAY_SIZE
cmp w0, #1
b.lt LBB0_13
; %bb.11:
mov x22, #0 ; =0x0
mov x24, #0 ; =0x0
; kill: def $w26 killed $w26 killed $x26 def $x26
ubfiz x25, x26, #2, #32
LBB0_12: ; =>This Inner Loop Header: Depth=1
ldr x8, [x23]
ldr x9, [x20, #8]
add x10, x25, x22
add x2, x8, x22
add x3, x9, x10
mov x0, x21
mov x1, x20
mov x4, x19
bl _a6xx_get_crashdumper_hlsq_registers
add x24, x24, #1
ldr x0, [x23]
bl _ARRAY_SIZE
add x22, x22, #4
cmp x24, w0, sxtw
b.lt LBB0_12
LBB0_13:
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 Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _a6xx_ahb_reglist,8,3 ; @a6xx_ahb_reglist
.comm _a6xx_reglist,8,3 ; @a6xx_reglist
.comm _a6xx_hlsq_reglist,8,3 ; @a6xx_hlsq_reglist
.no_dead_strip _a6xx_get_registers
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _retro_vfs_opendir_impl ## -- Begin function retro_vfs_opendir_impl
.p2align 4, 0x90
_retro_vfs_opendir_impl: ## @retro_vfs_opendir_impl
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
testq %rdi, %rdi
je LBB0_5
## %bb.1:
movq %rdi, %r14
movl $1, %edi
movl $24, %esi
callq _calloc
testq %rax, %rax
je LBB0_5
## %bb.2:
movq %rax, %rbx
movq %r14, %rdi
callq _strdup
movl %eax, 20(%rbx)
movq %r14, %rdi
callq _opendir
movq %rax, (%rbx)
movq $0, 8(%rbx)
testq %rax, %rax
je LBB0_4
## %bb.3:
movq %rbx, %rdi
callq _dirent_check_error
testl %eax, %eax
je LBB0_6
LBB0_4:
movq %rbx, %rdi
callq _retro_vfs_closedir_impl
LBB0_5:
xorl %ebx, %ebx
LBB0_6:
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _FILE_ATTRIBUTE_HIDDEN,4,2 ## @FILE_ATTRIBUTE_HIDDEN
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _retro_vfs_opendir_impl ; -- Begin function retro_vfs_opendir_impl
.p2align 2
_retro_vfs_opendir_impl: ; @retro_vfs_opendir_impl
.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 x0, LBB0_5
; %bb.1:
mov x20, x0
mov w0, #1 ; =0x1
mov w1, #24 ; =0x18
bl _calloc
mov x19, x0
cbz x0, LBB0_6
; %bb.2:
mov x0, x20
bl _strdup
str w0, [x19, #20]
mov x0, x20
bl _opendir
stp x0, xzr, [x19]
cbz x0, LBB0_4
; %bb.3:
mov x0, x19
bl _dirent_check_error
cbz w0, LBB0_6
LBB0_4:
mov x0, x19
bl _retro_vfs_closedir_impl
LBB0_5:
mov x19, #0 ; =0x0
LBB0_6:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.comm _FILE_ATTRIBUTE_HIDDEN,4,2 ; @FILE_ATTRIBUTE_HIDDEN
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function mapper_ssf2_w
_mapper_ssf2_w: ## @mapper_ssf2_w
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
shll $2, %edi
orl $56, %edi
movq _cart@GOTPCREL(%rip), %rax
movq (%rax), %rax
shll $19, %esi
movslq %esi, %rcx
leaq (%rax,%rcx,4), %rdx
movq _m68k@GOTPCREL(%rip), %rsi
movq (%rsi), %rsi
movslq %edi, %rdi
movq %rdx, (%rsi,%rdi,8)
leaq 262144(%rax,%rcx,4), %rdx
movq %rdx, 8(%rsi,%rdi,8)
leaq 524288(%rax,%rcx,4), %rdx
movq %rdx, 16(%rsi,%rdi,8)
leaq 786432(%rax,%rcx,4), %rdx
movq %rdx, 24(%rsi,%rdi,8)
leaq 1048576(%rax,%rcx,4), %rdx
movq %rdx, 32(%rsi,%rdi,8)
leaq 1310720(%rax,%rcx,4), %rdx
movq %rdx, 40(%rsi,%rdi,8)
leaq 1572864(%rax,%rcx,4), %rdx
movq %rdx, 48(%rsi,%rdi,8)
leaq 1835008(%rax,%rcx,4), %rdx
movq %rdx, 56(%rsi,%rdi,8)
leaq (%rax,%rcx,4), %rax
addq $2097152, %rax ## imm = 0x200000
movq %rax, 64(%rsi,%rdi,8)
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _cart,8,3 ## @cart
.comm _m68k,8,3 ## @m68k
.no_dead_strip _mapper_ssf2_w
.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 mapper_ssf2_w
lCPI0_0:
.quad 262144 ; 0x40000
.quad 524288 ; 0x80000
lCPI0_1:
.quad 786432 ; 0xc0000
.quad 1048576 ; 0x100000
.section __TEXT,__text,regular,pure_instructions
.p2align 2
_mapper_ssf2_w: ; @mapper_ssf2_w
.cfi_startproc
; %bb.0:
lsl w8, w0, #2
orr w8, w8, #0x38
Lloh0:
adrp x9, _cart@GOTPAGE
Lloh1:
ldr x9, [x9, _cart@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
lsl w10, w1, #19
add x9, x9, w10, sxtw #2
Lloh3:
adrp x10, _m68k@GOTPAGE
Lloh4:
ldr x10, [x10, _m68k@GOTPAGEOFF]
Lloh5:
ldr x10, [x10]
add x8, x10, w8, sxtw #3
str x9, [x8]
dup.2d v0, x9
Lloh6:
adrp x10, lCPI0_0@PAGE
Lloh7:
ldr q1, [x10, lCPI0_0@PAGEOFF]
add.2d v1, v0, v1
Lloh8:
adrp x10, lCPI0_1@PAGE
Lloh9:
ldr q2, [x10, lCPI0_1@PAGEOFF]
add.2d v0, v0, v2
stur q0, [x8, #24]
stur q1, [x8, #8]
add x10, x9, #320, lsl #12 ; =1310720
add x11, x9, #384, lsl #12 ; =1572864
stp x10, x11, [x8, #40]
add x10, x9, #448, lsl #12 ; =1835008
add x9, x9, #512, lsl #12 ; =2097152
stp x10, x9, [x8, #56]
ret
.loh AdrpLdr Lloh8, Lloh9
.loh AdrpAdrp Lloh6, Lloh8
.loh AdrpLdr Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _cart,8,3 ; @cart
.comm _m68k,8,3 ; @m68k
.no_dead_strip _mapper_ssf2_w
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function fts5SegIterReverseInitPage
_fts5SegIterReverseInitPage: ## @fts5SegIterReverseInitPage
.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, %rbx
movq %rdi, -80(%rbp) ## 8-byte Spill
movq 8(%rdi), %rax
movl (%rax), %r14d
movq 32(%rsi), %rdi
movl (%rdi), %eax
movl (%rsi), %r15d
movl 4(%rsi), %r12d
movq 8(%rdi), %rcx
movq %rcx, -56(%rbp) ## 8-byte Spill
cmpl %r12d, %eax
cmovll %eax, %r12d
callq _ASSERT_SZLEAF_OK
movl $0, -44(%rbp) ## 4-byte Folded Spill
movq _FTS5_DETAIL_NONE@GOTPCREL(%rip), %r13
movl %r12d, -60(%rbp) ## 4-byte Spill
jmp LBB0_1
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_1 Depth=1
addl %r14d, %r15d
movl (%rbx), %ecx
movl -44(%rbp), %esi ## 4-byte Reload
movslq %esi, %rdx
incl %esi
movl %esi, -44(%rbp) ## 4-byte Spill
movl %ecx, (%rax,%rdx,4)
movl %r15d, (%rbx)
movl %r13d, %r14d
movl -60(%rbp), %r12d ## 4-byte Reload
movq _FTS5_DETAIL_NONE@GOTPCREL(%rip), %r13
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq $0, -72(%rbp)
cmpl (%r13), %r14d
jne LBB0_7
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
cmpl %r12d, %r15d
jg LBB0_8
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movslq %r15d, %rax
movq -56(%rbp), %rcx ## 8-byte Reload
cmpq $0, (%rcx,%rax,8)
jne LBB0_8
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
leal 1(%r15), %eax
cmpl %r12d, %eax
jge LBB0_5
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
movslq %eax, %rcx
addl $2, %r15d
movq -56(%rbp), %rdx ## 8-byte Reload
cmpq $0, (%rdx,%rcx,8)
cmovnel %eax, %r15d
cmpl %r12d, %r15d
jge LBB0_1
jmp LBB0_9
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
movslq %r15d, %rax
movq -56(%rbp), %rcx ## 8-byte Reload
leaq (%rcx,%rax,8), %rdi
leaq -64(%rbp), %rsi
leaq -84(%rbp), %rdx
callq _fts5GetPoslistSize
addl %r15d, %eax
addl -64(%rbp), %eax
movl %eax, %r15d
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
cmpl %r12d, %r15d
jge LBB0_1
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
movl %r14d, %r13d
movslq %r15d, %rax
movq -56(%rbp), %rcx ## 8-byte Reload
leaq (%rcx,%rax,8), %rdi
leaq -72(%rbp), %rsi
callq _fts5GetVarint
movl -72(%rbp), %ecx
addl %ecx, 28(%rbx)
movq %rax, %r14
movl 8(%rbx), %r12d
movq 16(%rbx), %rax
cmpl %r12d, -44(%rbp) ## 4-byte Folded Reload
jl LBB0_12
## %bb.10: ## in Loop: Header=BB0_1 Depth=1
leal -32(,%r12,4), %esi
movq %rax, %rdi
callq _sqlite3_realloc64
testq %rax, %rax
je LBB0_13
## %bb.11: ## in Loop: Header=BB0_1 Depth=1
addl $-8, %r12d
movq %rax, 16(%rbx)
movl %r12d, 8(%rbx)
jmp LBB0_12
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movl %eax, %r15d
cmpl %r12d, %r15d
jge LBB0_1
jmp LBB0_9
LBB0_13:
movq _SQLITE_NOMEM@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq -80(%rbp), %rdi ## 8-byte Reload
movl %eax, (%rdi)
movl -44(%rbp), %eax ## 4-byte Reload
movl %eax, 24(%rbx)
movq %rbx, %rsi
callq _fts5SegIterLoadNPos
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _FTS5_DETAIL_NONE,4,2 ## @FTS5_DETAIL_NONE
.comm _SQLITE_NOMEM,4,2 ## @SQLITE_NOMEM
.no_dead_strip _fts5SegIterReverseInitPage
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function fts5SegIterReverseInitPage
_fts5SegIterReverseInitPage: ; @fts5SegIterReverseInitPage
.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, x1
mov x20, x0
ldr x8, [x0, #8]
ldr w22, [x8]
ldr x0, [x1, #32]
ldr w8, [x0]
ldr x23, [x0, #8]
ldp w25, w9, [x1]
cmp w8, w9
csel w24, w8, w9, lt
bl _ASSERT_SZLEAF_OK
mov w26, #0 ; =0x0
Lloh0:
adrp x27, _FTS5_DETAIL_NONE@GOTPAGE
Lloh1:
ldr x27, [x27, _FTS5_DETAIL_NONE@GOTPAGEOFF]
b LBB0_2
LBB0_1: ; in Loop: Header=BB0_2 Depth=1
add w25, w25, w21
ldr w8, [x19]
str w8, [x0, w26, sxtw #2]
add w26, w26, #1
str w25, [x19]
LBB0_2: ; =>This Inner Loop Header: Depth=1
str xzr, [sp, #8]
ldr w8, [x27]
cmp w22, w8
b.ne LBB0_7
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
cmp w25, w24
b.gt LBB0_8
; %bb.4: ; in Loop: Header=BB0_2 Depth=1
ldr x8, [x23, w25, sxtw #3]
cbnz x8, LBB0_8
; %bb.5: ; in Loop: Header=BB0_2 Depth=1
sxtw x8, w25
add x8, x8, #1
cmp w8, w24
b.ge LBB0_12
; %bb.6: ; in Loop: Header=BB0_2 Depth=1
ldr x9, [x23, x8, lsl #3]
add w10, w25, #2
cmp x9, #0
csel w25, w10, w8, eq
cmp w25, w24
b.ge LBB0_2
b LBB0_9
LBB0_7: ; in Loop: Header=BB0_2 Depth=1
add x0, x23, w25, sxtw #3
add x1, sp, #4
mov x2, sp
bl _fts5GetPoslistSize
ldr w8, [sp, #4]
add w9, w25, w0
add w25, w9, w8
LBB0_8: ; in Loop: Header=BB0_2 Depth=1
cmp w25, w24
b.ge LBB0_2
LBB0_9: ; in Loop: Header=BB0_2 Depth=1
add x0, x23, w25, sxtw #3
add x1, sp, #8
bl _fts5GetVarint
mov x21, x0
ldr w8, [sp, #8]
ldr w9, [x19, #28]
add w8, w9, w8
str w8, [x19, #28]
ldr w8, [x19, #8]
ldr x0, [x19, #16]
cmp w26, w8
b.lt LBB0_1
; %bb.10: ; in Loop: Header=BB0_2 Depth=1
sub w28, w8, #8
lsl w1, w28, #2
bl _sqlite3_realloc64
cbz x0, LBB0_13
; %bb.11: ; in Loop: Header=BB0_2 Depth=1
str x0, [x19, #16]
str w28, [x19, #8]
b LBB0_1
LBB0_12: ; in Loop: Header=BB0_2 Depth=1
mov x25, x8
cmp w25, w24
b.ge LBB0_2
b LBB0_9
LBB0_13:
Lloh2:
adrp x8, _SQLITE_NOMEM@GOTPAGE
Lloh3:
ldr x8, [x8, _SQLITE_NOMEM@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
str w8, [x20]
str w26, [x19, #24]
mov x0, x20
mov x1, x19
bl _fts5SegIterLoadNPos
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 AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _FTS5_DETAIL_NONE,4,2 ; @FTS5_DETAIL_NONE
.comm _SQLITE_NOMEM,4,2 ; @SQLITE_NOMEM
.no_dead_strip _fts5SegIterReverseInitPage
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _gen_constructor_fetch ## -- Begin function gen_constructor_fetch
.p2align 4, 0x90
_gen_constructor_fetch: ## @gen_constructor_fetch
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
cmpq $0, 24(%rdi)
je LBB0_2
## %bb.1:
movl (%rbx), %eax
jmp LBB0_48
LBB0_2:
movl $-1, %eax
cmpl $11, %edx
jl LBB0_48
## %bb.3:
movl $1, %edi
movq %rsi, %r12
movl %edx, %r15d
callq _assert
movq %rsp, -56(%rbp) ## 8-byte Spill
movl 4(%rbx), %eax
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r14
movl 4(%rbx), %edx
shll $2, %edx
movq %r14, %rdi
xorl %esi, %esi
callq _memset
movq 40(%rbx), %rdi
movq %r12, %r13
movq %r12, %rsi
movl %r15d, %r12d
movl %r15d, %edx
movq %r14, %rcx
callq _gen_uni
testl %eax, %eax
jle LBB0_46
## %bb.4:
movq 8(%rbx), %rcx
movq _NAME_INT@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
jne LBB0_6
## %bb.5:
movq _tlcomb_fetch_int@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movl %eax, %edx
movq %r13, %rdi
movq %rcx, (%r13,%rdx,8)
movq _tlsub_ret_ok@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
addl $2, %eax
movq %rcx, 8(%r13,%rdx,8)
jmp LBB0_13
LBB0_6:
movq _NAME_LONG@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
movq %r13, %rdi
jne LBB0_8
## %bb.7:
movq _tlcomb_fetch_long@GOTPCREL(%rip), %rcx
jmp LBB0_12
LBB0_8:
movq _NAME_STRING@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
jne LBB0_10
## %bb.9:
movq _tlcomb_fetch_string@GOTPCREL(%rip), %rcx
jmp LBB0_12
LBB0_10:
movq _NAME_DOUBLE@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
jne LBB0_16
## %bb.11:
movq _tlcomb_fetch_double@GOTPCREL(%rip), %rcx
LBB0_12:
movq (%rcx), %rcx
movl %eax, %edx
movq %rcx, (%rdi,%rdx,8)
movq _tlsub_ret_ok@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
addl $2, %eax
movq %rcx, 8(%rdi,%rdx,8)
LBB0_13:
movl %eax, %esi
LBB0_14:
movq -56(%rbp), %r15 ## 8-byte Reload
LBB0_15:
movl %esi, %r14d
callq _IP_dup
movq %rax, %rcx
movl %r14d, %eax
movq %rcx, 24(%rbx)
movl %r14d, (%rbx)
jmp LBB0_47
LBB0_16:
movq _NAME_VECTOR@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
jne LBB0_18
## %bb.17:
movq _tlcomb_fetch_vector@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movl %eax, %r14d
movq %rcx, (%rdi,%r14,8)
movq _tlsub_push_type_var@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq %rcx, _gen_constructor_fetch.tIP(%rip)
leaq _gen_constructor_fetch.tIP(%rip), %rdi
movq $0, _gen_constructor_fetch.tIP+8(%rip)
movq _tlcomb_fetch_type@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq %rcx, _gen_constructor_fetch.tIP+16(%rip)
movq _tlsub_ret_ok@GOTPCREL(%rip), %r15
movq (%r15), %rcx
movq %rcx, _gen_constructor_fetch.tIP+24(%rip)
jmp LBB0_20
LBB0_18:
movq _NAME_MAYBE_TRUE@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
jne LBB0_21
## %bb.19:
movq _tlcomb_fetch_maybe@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movl %eax, %r14d
movq %rcx, (%rdi,%r14,8)
movq _tlsub_push_type_var@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq %rcx, _gen_constructor_fetch.tIP.1(%rip)
leaq _gen_constructor_fetch.tIP.1(%rip), %rdi
movq $0, _gen_constructor_fetch.tIP.1+8(%rip)
movq _tlcomb_fetch_type@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq %rcx, _gen_constructor_fetch.tIP.1+16(%rip)
movq _tlsub_ret_ok@GOTPCREL(%rip), %r15
movq (%r15), %rcx
movq %rcx, _gen_constructor_fetch.tIP.1+24(%rip)
LBB0_20:
movl $4, %esi
movl %eax, %r12d
callq _IP_dup
movq %r13, %rdi
movq %rax, 8(%r13,%r14,8)
movq (%r15), %rax
addl $3, %r12d
movq %rax, 16(%r13,%r14,8)
movl %r12d, %esi
jmp LBB0_14
LBB0_21:
movq _NAME_MAYBE_FALSE@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
je LBB0_25
## %bb.22:
movq _NAME_BOOL_FALSE@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
je LBB0_25
## %bb.23:
movq _NAME_BOOL_TRUE@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
jne LBB0_26
## %bb.24:
movq _tlcomb_fetch_true@GOTPCREL(%rip), %rcx
jmp LBB0_12
LBB0_25:
movq _tlcomb_fetch_false@GOTPCREL(%rip), %rcx
jmp LBB0_12
LBB0_26:
movl %eax, -60(%rbp) ## 4-byte Spill
movq 40(%rbx), %rdi
callq _TYPE
movq _NODE_TYPE_TYPE@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_39
## %bb.27:
movq 40(%rbx), %rax
movq (%rax), %rax
cmpl $1, (%rax)
jne LBB0_39
## %bb.28:
movslq 16(%rbx), %rcx
testq %rcx, %rcx
jle LBB0_39
## %bb.29:
movq 32(%rbx), %rdx
movq _FLAG_OPT_VAR@GOTPCREL(%rip), %rax
movl (%rax), %esi
cmpl $1, %ecx
jne LBB0_31
## %bb.30:
movl $-1, %eax
xorl %edi, %edi
xorl %r8d, %r8d
jmp LBB0_33
LBB0_31:
movl %ecx, %r9d
andl $2147483646, %r9d ## imm = 0x7FFFFFFE
movl $-1, %eax
xorl %edi, %edi
xorl %r8d, %r8d
LBB0_32: ## =>This Inner Loop Header: Depth=1
movq (%rdx,%rdi,8), %r10
xorl %r11d, %r11d
testl %esi, (%r10)
movq 8(%rdx,%rdi,8), %r10
movl %eax, %r15d
cmovel %edi, %r15d
sete %r11b
addl %r8d, %r11d
leal 1(%rdi), %eax
xorl %r8d, %r8d
testl %esi, (%r10)
cmovnel %r15d, %eax
sete %r8b
addl %r11d, %r8d
addq $2, %rdi
cmpq %r9, %rdi
jne LBB0_32
LBB0_33:
testb $1, %cl
je LBB0_35
## %bb.34:
movq (%rdx,%rdi,8), %rcx
xorl %edx, %edx
testl %esi, (%rcx)
sete %dl
cmovel %edi, %eax
addl %edx, %r8d
LBB0_35:
cmpl $1, %r8d
jne LBB0_39
## %bb.36:
movq 32(%rbx), %rcx
movslq %eax, %r8
movq (%rcx,%r8,8), %rdi
movl -60(%rbp), %eax ## 4-byte Reload
movl %eax, %ecx
leaq (,%rcx,8), %rsi
addq %r13, %rsi
movl %r12d, %edx
subl %eax, %edx
incl %r8d
movq %r14, %rcx
## kill: def $r8d killed $r8d killed $r8
movl $1, %r9d
callq _gen_field_fetch
testl %eax, %eax
js LBB0_46
## %bb.37:
movl %eax, %ecx
addl -60(%rbp), %ecx ## 4-byte Folded Reload
subl %ecx, %r12d
cmpl $11, %r12d
movl $-1, %eax
movq -56(%rbp), %r15 ## 8-byte Reload
jl LBB0_47
## %bb.38:
movq %r13, %rdi
movq _tlsub_ret_ok@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl %ecx, %edx
incl %ecx
movq %rax, (%r13,%rdx,8)
movl %ecx, %esi
jmp LBB0_15
LBB0_39:
movl 16(%rbx), %esi
testl %esi, %esi
movl %r12d, %edx
movl $-1, %eax
jle LBB0_50
## %bb.40:
movq _FLAG_OPT_VAR@GOTPCREL(%rip), %rcx
movl (%rcx), %r9d
xorl %r15d, %r15d
movq %r13, %rdi
movl -60(%rbp), %r8d ## 4-byte Reload
jmp LBB0_43
LBB0_41: ## in Loop: Header=BB0_43 Depth=1
incq %r15
LBB0_42: ## in Loop: Header=BB0_43 Depth=1
movslq %esi, %rcx
cmpq %rcx, %r15
jge LBB0_51
LBB0_43: ## =>This Inner Loop Header: Depth=1
movq 32(%rbx), %rcx
movq (%rcx,%r15,8), %rcx
testl %r9d, (%rcx)
jne LBB0_41
## %bb.44: ## in Loop: Header=BB0_43 Depth=1
movl %r8d, %eax
leaq (%rdi,%rax,8), %rsi
movl %r8d, -60(%rbp) ## 4-byte Spill
subl %r8d, %edx
incq %r15
movq %rcx, %rdi
movq %r14, %rcx
movl %r15d, %r8d
xorl %r9d, %r9d
callq _gen_field_fetch
testl %eax, %eax
js LBB0_46
## %bb.45: ## in Loop: Header=BB0_43 Depth=1
movq _FLAG_OPT_VAR@GOTPCREL(%rip), %rcx
movl (%rcx), %r9d
movl -60(%rbp), %r8d ## 4-byte Reload
addl %eax, %r8d
movl 16(%rbx), %esi
movq %r13, %rdi
movl %r12d, %edx
movl $-1, %eax
jmp LBB0_42
LBB0_46:
movl $-1, %eax
movq -56(%rbp), %r15 ## 8-byte Reload
LBB0_47:
movq %r15, %rsp
LBB0_48:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_53
## %bb.49:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_50:
movq %r13, %rdi
movl -60(%rbp), %r8d ## 4-byte Reload
LBB0_51:
subl %r8d, %edx
cmpl $11, %edx
movq -56(%rbp), %r15 ## 8-byte Reload
jl LBB0_47
## %bb.52:
movq _tlsub_ret_ok@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl %r8d, %ecx
incl %r8d
movq %rax, (%rdi,%rcx,8)
movl %r8d, %esi
jmp LBB0_15
LBB0_53:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _NAME_INT,8,3 ## @NAME_INT
.comm _tlcomb_fetch_int,8,3 ## @tlcomb_fetch_int
.comm _tlsub_ret_ok,8,3 ## @tlsub_ret_ok
.comm _NAME_LONG,8,3 ## @NAME_LONG
.comm _tlcomb_fetch_long,8,3 ## @tlcomb_fetch_long
.comm _NAME_STRING,8,3 ## @NAME_STRING
.comm _tlcomb_fetch_string,8,3 ## @tlcomb_fetch_string
.comm _NAME_DOUBLE,8,3 ## @NAME_DOUBLE
.comm _tlcomb_fetch_double,8,3 ## @tlcomb_fetch_double
.comm _NAME_VECTOR,8,3 ## @NAME_VECTOR
.comm _tlcomb_fetch_vector,8,3 ## @tlcomb_fetch_vector
.zerofill __DATA,__bss,_gen_constructor_fetch.tIP,32,4 ## @gen_constructor_fetch.tIP
.comm _tlsub_push_type_var,8,3 ## @tlsub_push_type_var
.comm _tlcomb_fetch_type,8,3 ## @tlcomb_fetch_type
.comm _NAME_MAYBE_TRUE,8,3 ## @NAME_MAYBE_TRUE
.comm _tlcomb_fetch_maybe,8,3 ## @tlcomb_fetch_maybe
.zerofill __DATA,__bss,_gen_constructor_fetch.tIP.1,32,4 ## @gen_constructor_fetch.tIP.1
.comm _NAME_MAYBE_FALSE,8,3 ## @NAME_MAYBE_FALSE
.comm _NAME_BOOL_FALSE,8,3 ## @NAME_BOOL_FALSE
.comm _tlcomb_fetch_false,8,3 ## @tlcomb_fetch_false
.comm _NAME_BOOL_TRUE,8,3 ## @NAME_BOOL_TRUE
.comm _tlcomb_fetch_true,8,3 ## @tlcomb_fetch_true
.comm _NODE_TYPE_TYPE,8,3 ## @NODE_TYPE_TYPE
.comm _FLAG_OPT_VAR,4,2 ## @FLAG_OPT_VAR
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _gen_constructor_fetch ; -- Begin function gen_constructor_fetch
.p2align 2
_gen_constructor_fetch: ; @gen_constructor_fetch
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
sub sp, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-88]
ldr x8, [x0, #24]
cbz x8, LBB0_2
; %bb.1:
ldr w0, [x19]
b LBB0_45
LBB0_2:
cmp w2, #11
b.ge LBB0_4
; %bb.3:
mov w0, #-1 ; =0xffffffff
b LBB0_45
LBB0_4:
mov w0, #1 ; =0x1
mov x21, x1
mov x22, x2
bl _assert
mov x23, sp
ldr w8, [x19, #4]
lsl x8, x8, #2
mov x9, x8
Lloh3:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh4:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x7fffffff0
sub x20, x9, x8
mov sp, x20
ldr w8, [x19, #4]
lsl w2, w8, #2
mov x0, x20
mov w1, #0 ; =0x0
bl _memset
ldr x0, [x19, #40]
mov x24, x21
mov x1, x21
mov x25, x22
mov x2, x22
mov x3, x20
bl _gen_uni
cmp w0, #1
b.lt LBB0_43
; %bb.5:
mov x8, x0
ldr x9, [x19, #8]
Lloh5:
adrp x10, _NAME_INT@GOTPAGE
Lloh6:
ldr x10, [x10, _NAME_INT@GOTPAGEOFF]
Lloh7:
ldr x10, [x10]
cmp x9, x10
b.ne LBB0_7
; %bb.6:
Lloh8:
adrp x9, _tlcomb_fetch_int@GOTPAGE
Lloh9:
ldr x9, [x9, _tlcomb_fetch_int@GOTPAGEOFF]
Lloh10:
ldr x9, [x9]
mov x0, x24
add x10, x24, w8, uxtw #3
b LBB0_14
LBB0_7:
Lloh11:
adrp x10, _NAME_LONG@GOTPAGE
Lloh12:
ldr x10, [x10, _NAME_LONG@GOTPAGEOFF]
Lloh13:
ldr x10, [x10]
cmp x9, x10
mov x0, x24
b.ne LBB0_9
; %bb.8:
Lloh14:
adrp x9, _tlcomb_fetch_long@GOTPAGE
Lloh15:
ldr x9, [x9, _tlcomb_fetch_long@GOTPAGEOFF]
b LBB0_13
LBB0_9:
Lloh16:
adrp x10, _NAME_STRING@GOTPAGE
Lloh17:
ldr x10, [x10, _NAME_STRING@GOTPAGEOFF]
Lloh18:
ldr x10, [x10]
cmp x9, x10
b.ne LBB0_11
; %bb.10:
Lloh19:
adrp x9, _tlcomb_fetch_string@GOTPAGE
Lloh20:
ldr x9, [x9, _tlcomb_fetch_string@GOTPAGEOFF]
b LBB0_13
LBB0_11:
Lloh21:
adrp x10, _NAME_DOUBLE@GOTPAGE
Lloh22:
ldr x10, [x10, _NAME_DOUBLE@GOTPAGEOFF]
Lloh23:
ldr x10, [x10]
cmp x9, x10
b.ne LBB0_16
; %bb.12:
Lloh24:
adrp x9, _tlcomb_fetch_double@GOTPAGE
Lloh25:
ldr x9, [x9, _tlcomb_fetch_double@GOTPAGEOFF]
LBB0_13:
ldr x9, [x9]
add x10, x0, w8, uxtw #3
LBB0_14:
str x9, [x10]
Lloh26:
adrp x9, _tlsub_ret_ok@GOTPAGE
Lloh27:
ldr x9, [x9, _tlsub_ret_ok@GOTPAGEOFF]
Lloh28:
ldr x9, [x9]
add w20, w8, #2
str x9, [x10, #8]
LBB0_15:
mov x1, x20
bl _IP_dup
mov x8, x0
mov x0, x20
str x8, [x19, #24]
str w20, [x19]
b LBB0_44
LBB0_16:
Lloh29:
adrp x10, _NAME_VECTOR@GOTPAGE
Lloh30:
ldr x10, [x10, _NAME_VECTOR@GOTPAGEOFF]
Lloh31:
ldr x10, [x10]
cmp x9, x10
b.ne LBB0_18
; %bb.17:
Lloh32:
adrp x9, _tlcomb_fetch_vector@GOTPAGE
Lloh33:
ldr x9, [x9, _tlcomb_fetch_vector@GOTPAGEOFF]
Lloh34:
ldr x9, [x9]
add x21, x0, w8, uxtw #3
str x9, [x21]
Lloh35:
adrp x9, _tlsub_push_type_var@GOTPAGE
Lloh36:
ldr x9, [x9, _tlsub_push_type_var@GOTPAGEOFF]
Lloh37:
ldr x9, [x9]
Lloh38:
adrp x0, _gen_constructor_fetch.tIP@PAGE
Lloh39:
add x0, x0, _gen_constructor_fetch.tIP@PAGEOFF
b LBB0_20
LBB0_18:
Lloh40:
adrp x10, _NAME_MAYBE_TRUE@GOTPAGE
Lloh41:
ldr x10, [x10, _NAME_MAYBE_TRUE@GOTPAGEOFF]
Lloh42:
ldr x10, [x10]
cmp x9, x10
b.ne LBB0_21
; %bb.19:
Lloh43:
adrp x9, _tlcomb_fetch_maybe@GOTPAGE
Lloh44:
ldr x9, [x9, _tlcomb_fetch_maybe@GOTPAGEOFF]
Lloh45:
ldr x9, [x9]
add x21, x0, w8, uxtw #3
str x9, [x21]
Lloh46:
adrp x9, _tlsub_push_type_var@GOTPAGE
Lloh47:
ldr x9, [x9, _tlsub_push_type_var@GOTPAGEOFF]
Lloh48:
ldr x9, [x9]
Lloh49:
adrp x0, _gen_constructor_fetch.tIP.1@PAGE
Lloh50:
add x0, x0, _gen_constructor_fetch.tIP.1@PAGEOFF
LBB0_20:
stp x9, xzr, [x0]
Lloh51:
adrp x9, _tlcomb_fetch_type@GOTPAGE
Lloh52:
ldr x9, [x9, _tlcomb_fetch_type@GOTPAGEOFF]
Lloh53:
ldr x9, [x9]
Lloh54:
adrp x20, _tlsub_ret_ok@GOTPAGE
Lloh55:
ldr x20, [x20, _tlsub_ret_ok@GOTPAGEOFF]
ldr x10, [x20]
stp x9, x10, [x0, #16]
mov x22, x8
mov w1, #4 ; =0x4
bl _IP_dup
mov x8, x0
mov x0, x24
str x8, [x21, #8]
ldr x8, [x20]
add w20, w22, #3
str x8, [x21, #16]
b LBB0_15
LBB0_21:
Lloh56:
adrp x10, _NAME_MAYBE_FALSE@GOTPAGE
Lloh57:
ldr x10, [x10, _NAME_MAYBE_FALSE@GOTPAGEOFF]
Lloh58:
ldr x10, [x10]
cmp x9, x10
b.eq LBB0_25
; %bb.22:
Lloh59:
adrp x10, _NAME_BOOL_FALSE@GOTPAGE
Lloh60:
ldr x10, [x10, _NAME_BOOL_FALSE@GOTPAGEOFF]
Lloh61:
ldr x10, [x10]
cmp x9, x10
b.eq LBB0_25
; %bb.23:
Lloh62:
adrp x10, _NAME_BOOL_TRUE@GOTPAGE
Lloh63:
ldr x10, [x10, _NAME_BOOL_TRUE@GOTPAGEOFF]
Lloh64:
ldr x10, [x10]
cmp x9, x10
b.ne LBB0_26
; %bb.24:
Lloh65:
adrp x9, _tlcomb_fetch_true@GOTPAGE
Lloh66:
ldr x9, [x9, _tlcomb_fetch_true@GOTPAGEOFF]
b LBB0_13
LBB0_25:
Lloh67:
adrp x9, _tlcomb_fetch_false@GOTPAGE
Lloh68:
ldr x9, [x9, _tlcomb_fetch_false@GOTPAGEOFF]
b LBB0_13
LBB0_26:
mov x22, x8
ldr x0, [x19, #40]
bl _TYPE
Lloh69:
adrp x8, _NODE_TYPE_TYPE@GOTPAGE
Lloh70:
ldr x8, [x8, _NODE_TYPE_TYPE@GOTPAGEOFF]
Lloh71:
ldr x8, [x8]
cmp x0, x8
mov x9, x25
b.ne LBB0_35
; %bb.27:
ldr x8, [x19, #40]
ldr x8, [x8]
ldr w8, [x8]
cmp w8, #1
b.ne LBB0_35
; %bb.28:
ldr w10, [x19, #16]
cmp w10, #1
b.lt LBB0_35
; %bb.29:
mov x12, #0 ; =0x0
mov w11, #0 ; =0x0
ldr x13, [x19, #32]
Lloh72:
adrp x8, _FLAG_OPT_VAR@GOTPAGE
Lloh73:
ldr x8, [x8, _FLAG_OPT_VAR@GOTPAGEOFF]
Lloh74:
ldr w14, [x8]
mov w8, #-1 ; =0xffffffff
LBB0_30: ; =>This Inner Loop Header: Depth=1
ldr x15, [x13, x12, lsl #3]
ldr w15, [x15]
tst w14, w15
csel w8, w12, w8, eq
cinc w11, w11, eq
add x12, x12, #1
cmp x10, x12
b.ne LBB0_30
; %bb.31:
cmp w11, #1
b.ne LBB0_35
; %bb.32:
ldr x10, [x19, #32]
ldr x0, [x10, w8, sxtw #3]
add x1, x24, w22, uxtw #3
sub w2, w9, w22
add w4, w8, #1
mov x3, x20
mov w5, #1 ; =0x1
bl _gen_field_fetch
tbnz w0, #31, LBB0_43
; %bb.33:
add w8, w0, w22
sub w9, w25, w8
cmp w9, #11
b.lt LBB0_43
; %bb.34:
Lloh75:
adrp x9, _tlsub_ret_ok@GOTPAGE
Lloh76:
ldr x9, [x9, _tlsub_ret_ok@GOTPAGEOFF]
Lloh77:
ldr x9, [x9]
add w20, w8, #1
mov x0, x24
str x9, [x24, w8, uxtw #3]
b LBB0_15
LBB0_35:
ldr w10, [x19, #16]
cmp w10, #1
b.lt LBB0_41
; %bb.36:
mov x21, #0 ; =0x0
Lloh78:
adrp x26, _FLAG_OPT_VAR@GOTPAGE
Lloh79:
ldr x26, [x26, _FLAG_OPT_VAR@GOTPAGEOFF]
ldr w11, [x26]
mov x0, x24
b LBB0_38
LBB0_37: ; in Loop: Header=BB0_38 Depth=1
add x21, x21, #1
cmp x21, w10, sxtw
b.ge LBB0_42
LBB0_38: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #32]
ldr x8, [x8, x21, lsl #3]
ldr w12, [x8]
tst w11, w12
b.ne LBB0_37
; %bb.39: ; in Loop: Header=BB0_38 Depth=1
add x1, x0, w22, uxtw #3
mov x27, x22
sub w2, w9, w22
add x21, x21, #1
mov x0, x8
mov x3, x20
mov x4, x21
mov w5, #0 ; =0x0
bl _gen_field_fetch
tbnz w0, #31, LBB0_43
; %bb.40: ; in Loop: Header=BB0_38 Depth=1
ldr w11, [x26]
add w22, w0, w27
ldr w10, [x19, #16]
mov x0, x24
mov x9, x25
cmp x21, w10, sxtw
b.lt LBB0_38
b LBB0_42
LBB0_41:
mov x0, x24
LBB0_42:
sub w8, w9, w22
cmp w8, #11
b.ge LBB0_47
LBB0_43:
mov w0, #-1 ; =0xffffffff
LBB0_44:
mov sp, x23
LBB0_45:
ldur x8, [x29, #-88]
Lloh80:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh81:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh82:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_48
; %bb.46:
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_47:
Lloh83:
adrp x8, _tlsub_ret_ok@GOTPAGE
Lloh84:
ldr x8, [x8, _tlsub_ret_ok@GOTPAGEOFF]
Lloh85:
ldr x8, [x8]
add w20, w22, #1
str x8, [x0, w22, uxtw #3]
b LBB0_15
LBB0_48:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGot Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGot Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.loh AdrpAdd Lloh38, Lloh39
.loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37
.loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34
.loh AdrpLdrGotLdr Lloh40, Lloh41, Lloh42
.loh AdrpAdd Lloh49, Lloh50
.loh AdrpLdrGotLdr Lloh46, Lloh47, Lloh48
.loh AdrpLdrGotLdr Lloh43, Lloh44, Lloh45
.loh AdrpLdrGot Lloh54, Lloh55
.loh AdrpLdrGotLdr Lloh51, Lloh52, Lloh53
.loh AdrpLdrGotLdr Lloh56, Lloh57, Lloh58
.loh AdrpLdrGotLdr Lloh59, Lloh60, Lloh61
.loh AdrpLdrGotLdr Lloh62, Lloh63, Lloh64
.loh AdrpLdrGot Lloh65, Lloh66
.loh AdrpLdrGot Lloh67, Lloh68
.loh AdrpLdrGotLdr Lloh69, Lloh70, Lloh71
.loh AdrpLdrGotLdr Lloh72, Lloh73, Lloh74
.loh AdrpLdrGotLdr Lloh75, Lloh76, Lloh77
.loh AdrpLdrGot Lloh78, Lloh79
.loh AdrpLdrGotLdr Lloh80, Lloh81, Lloh82
.loh AdrpLdrGotLdr Lloh83, Lloh84, Lloh85
.loh AdrpLdrGot Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _NAME_INT,8,3 ; @NAME_INT
.comm _tlcomb_fetch_int,8,3 ; @tlcomb_fetch_int
.comm _tlsub_ret_ok,8,3 ; @tlsub_ret_ok
.comm _NAME_LONG,8,3 ; @NAME_LONG
.comm _tlcomb_fetch_long,8,3 ; @tlcomb_fetch_long
.comm _NAME_STRING,8,3 ; @NAME_STRING
.comm _tlcomb_fetch_string,8,3 ; @tlcomb_fetch_string
.comm _NAME_DOUBLE,8,3 ; @NAME_DOUBLE
.comm _tlcomb_fetch_double,8,3 ; @tlcomb_fetch_double
.comm _NAME_VECTOR,8,3 ; @NAME_VECTOR
.comm _tlcomb_fetch_vector,8,3 ; @tlcomb_fetch_vector
.zerofill __DATA,__bss,_gen_constructor_fetch.tIP,32,3 ; @gen_constructor_fetch.tIP
.comm _tlsub_push_type_var,8,3 ; @tlsub_push_type_var
.comm _tlcomb_fetch_type,8,3 ; @tlcomb_fetch_type
.comm _NAME_MAYBE_TRUE,8,3 ; @NAME_MAYBE_TRUE
.comm _tlcomb_fetch_maybe,8,3 ; @tlcomb_fetch_maybe
.zerofill __DATA,__bss,_gen_constructor_fetch.tIP.1,32,3 ; @gen_constructor_fetch.tIP.1
.comm _NAME_MAYBE_FALSE,8,3 ; @NAME_MAYBE_FALSE
.comm _NAME_BOOL_FALSE,8,3 ; @NAME_BOOL_FALSE
.comm _tlcomb_fetch_false,8,3 ; @tlcomb_fetch_false
.comm _NAME_BOOL_TRUE,8,3 ; @NAME_BOOL_TRUE
.comm _tlcomb_fetch_true,8,3 ; @tlcomb_fetch_true
.comm _NODE_TYPE_TYPE,8,3 ; @NODE_TYPE_TYPE
.comm _FLAG_OPT_VAR,4,2 ; @FLAG_OPT_VAR
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function DxSetupOutput
_DxSetupOutput: ## @DxSetupOutput
.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
movq (%rdi), %r12
movl $0, -44(%rbp)
leaq -44(%rbp), %r15
xorl %r13d, %r13d
jmp LBB0_1
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movl %r13d, %edi
callq _DxgiFormatToStr
movq %r14, %rdi
leaq L_.str(%rip), %rsi
movl %eax, %edx
xorl %eax, %eax
callq _msg_Dbg
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
decl %r13d
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl 4(%r12), %edi
movq 8(%rbx), %rsi
movl %r13d, %edx
movq %r15, %rcx
callq _ID3D11VideoDevice_CheckVideoDecoderFormat
movl %eax, %edi
callq _SUCCEEDED
testq %rax, %rax
jne LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
cmpl $0, -44(%rbp)
je LBB0_4
jmp LBB0_3
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "format %s is supported for output"
.comm _VLC_EGENERIC,4,2 ## @VLC_EGENERIC
.comm _DXGI_FORMAT_P016,4,2 ## @DXGI_FORMAT_P016
.comm _DXGI_FORMAT_P010,4,2 ## @DXGI_FORMAT_P010
.comm _DXGI_FORMAT_NV12,4,2 ## @DXGI_FORMAT_NV12
.comm _DXGI_FORMAT_420_OPAQUE,4,2 ## @DXGI_FORMAT_420_OPAQUE
.comm _DXGI_FORMAT_UNKNOWN,4,2 ## @DXGI_FORMAT_UNKNOWN
.comm _D3D11_FORMAT_SUPPORT_SHADER_LOAD,4,2 ## @D3D11_FORMAT_SUPPORT_SHADER_LOAD
.comm _VLC_SUCCESS,4,2 ## @VLC_SUCCESS
.comm _D3D11_FORMAT_SUPPORT_VIDEO_PROCESSOR_INPUT,4,2 ## @D3D11_FORMAT_SUPPORT_VIDEO_PROCESSOR_INPUT
.no_dead_strip _DxSetupOutput
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function DxSetupOutput
_DxSetupOutput: ; @DxSetupOutput
.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, x1
mov x20, x0
mov w21, #0 ; =0x0
ldr x23, [x0]
str wzr, [sp, #12]
Lloh0:
adrp x22, l_.str@PAGE
Lloh1:
add x22, x22, l_.str@PAGEOFF
b LBB0_2
LBB0_1: ; in Loop: Header=BB0_2 Depth=1
sub w21, w21, #1
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr w0, [x23, #4]
ldr x1, [x19, #8]
add x3, sp, #12
mov x2, x21
bl _ID3D11VideoDevice_CheckVideoDecoderFormat
bl _SUCCEEDED
ldr w8, [sp, #12]
cmp x0, #0
ccmp w8, #0, #0, eq
b.eq LBB0_1
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
mov x0, x21
bl _DxgiFormatToStr
; kill: def $w0 killed $w0 def $x0
str x0, [sp]
mov x0, x20
mov x1, x22
bl _msg_Dbg
b LBB0_1
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "format %s is supported for output"
.comm _VLC_EGENERIC,4,2 ; @VLC_EGENERIC
.comm _DXGI_FORMAT_P016,4,2 ; @DXGI_FORMAT_P016
.comm _DXGI_FORMAT_P010,4,2 ; @DXGI_FORMAT_P010
.comm _DXGI_FORMAT_NV12,4,2 ; @DXGI_FORMAT_NV12
.comm _DXGI_FORMAT_420_OPAQUE,4,2 ; @DXGI_FORMAT_420_OPAQUE
.comm _DXGI_FORMAT_UNKNOWN,4,2 ; @DXGI_FORMAT_UNKNOWN
.comm _D3D11_FORMAT_SUPPORT_SHADER_LOAD,4,2 ; @D3D11_FORMAT_SUPPORT_SHADER_LOAD
.comm _VLC_SUCCESS,4,2 ; @VLC_SUCCESS
.comm _D3D11_FORMAT_SUPPORT_VIDEO_PROCESSOR_INPUT,4,2 ; @D3D11_FORMAT_SUPPORT_VIDEO_PROCESSOR_INPUT
.no_dead_strip _DxSetupOutput
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function Adjust_UpdateVAFilterParams
_Adjust_UpdateVAFilterParams: ## @Adjust_UpdateVAFilterParams
.cfi_startproc
## %bb.0:
movq _NUM_ADJUST_MODES@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB0_3
## %bb.1:
movq (%rdi), %rdi
cmpq $0, 8(%rdi)
je LBB0_3
## %bb.2:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rsi, %rbx
callq _vlc_atomic_load_float
movl %eax, (%rbx)
addq $8, %rsp
popq %rbx
popq %rbp
LBB0_3:
retq
.cfi_endproc
## -- End function
.comm _NUM_ADJUST_MODES,4,2 ## @NUM_ADJUST_MODES
.no_dead_strip _Adjust_UpdateVAFilterParams
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function Adjust_UpdateVAFilterParams
_Adjust_UpdateVAFilterParams: ; @Adjust_UpdateVAFilterParams
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _NUM_ADJUST_MODES@GOTPAGE
Lloh1:
ldr x8, [x8, _NUM_ADJUST_MODES@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cbz w8, LBB0_3
; %bb.1:
ldr x0, [x0]
ldr x8, [x0, #8]
cbz x8, LBB0_3
; %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
mov x19, x1
bl _vlc_atomic_load_float
str w0, [x19]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
LBB0_3:
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _NUM_ADJUST_MODES,4,2 ; @NUM_ADJUST_MODES
.no_dead_strip _Adjust_UpdateVAFilterParams
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function tomoyo_environ
_tomoyo_environ: ## @tomoyo_environ
.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, %r12
movq 32(%rdi), %r14
movq $0, -64(%rbp)
movq (%r14), %rax
movq %rax, -88(%rbp) ## 8-byte Spill
movq _PAGE_SIZE@GOTPCREL(%rip), %rax
movq (%rax), %rbx
movl 8(%r14), %eax
movl %eax, -44(%rbp) ## 4-byte Spill
movl 12(%r14), %r13d
movq _ENOMEM@GOTPCREL(%rip), %rax
movl (%rax), %r15d
movq _TOMOYO_MAC_ENVIRON@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl %edx, 24(%rdi)
movq 16(%rdi), %rax
movl 4(%rax), %esi
movl %esi, 8(%rdi)
movl (%rax), %edi
callq _tomoyo_get_mode
movq %rax, (%r12)
testq %rax, %rax
setne %al
testl %r13d, %r13d
setne %cl
orb %al, %cl
xorl %eax, %eax
cmpb $1, %cl
jne LBB0_47
## %bb.1:
negl %r15d
movq _TOMOYO_EXEC_TMPSIZE@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _GFP_NOFS@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _kzalloc
xorl %edx, %edx
movq %rax, -80(%rbp) ## 8-byte Spill
testq %rax, %rax
je LBB0_2
## %bb.3:
movq -88(%rbp), %r8 ## 8-byte Reload
movq %r8, %rax
orq %rbx, %rax
shrq $32, %rax
movq %r12, -96(%rbp) ## 8-byte Spill
movl %r13d, -68(%rbp) ## 4-byte Spill
je LBB0_4
## %bb.5:
movq %r8, %rax
xorl %edx, %edx
divq %rbx
jmp LBB0_6
LBB0_2:
xorl %edi, %edi
jmp LBB0_46
LBB0_4:
movl %r8d, %eax
xorl %edx, %edx
divl %ebx
## kill: def $edx killed $edx def $rdx
LBB0_6:
movq %rdx, -56(%rbp) ## 8-byte Spill
movl -44(%rbp), %edi ## 4-byte Reload
xorl %ebx, %ebx
LBB0_7: ## =>This Loop Header: Depth=1
## Child Loop BB0_8 Depth 2
## Child Loop BB0_14 Depth 3
## Child Loop BB0_19 Depth 3
## Child Loop BB0_25 Depth 2
## Child Loop BB0_28 Depth 3
## Child Loop BB0_29 Depth 4
movl %edi, %r12d
LBB0_8: ## Parent Loop BB0_7 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_14 Depth 3
## Child Loop BB0_19 Depth 3
movq _ENOMEM@GOTPCREL(%rip), %rax
movl (%rax), %eax
addl %r15d, %eax
jne LBB0_45
## %bb.9: ## in Loop: Header=BB0_8 Depth=2
movq %r14, %rdi
movq %r8, %rsi
leaq -64(%rbp), %rdx
movq %r8, %r13
callq _tomoyo_dump_page
testl %eax, %eax
je LBB0_45
## %bb.10: ## in Loop: Header=BB0_8 Depth=2
movq %r13, %rdx
movq _PAGE_SIZE@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movslq -56(%rbp), %rax ## 4-byte Folded Reload
movq %rcx, %r13
subq %rax, %r13
addq %rdx, %r13
testl %r12d, %r12d
je LBB0_12
## %bb.11: ## in Loop: Header=BB0_8 Depth=2
cmpq %rax, %rcx
jbe LBB0_12
LBB0_18: ## in Loop: Header=BB0_8 Depth=2
movq %r13, %r8
movq -64(%rbp), %rdx
leaq 1(%rax), %rsi
.p2align 4, 0x90
LBB0_19: ## Parent Loop BB0_7 Depth=1
## Parent Loop BB0_8 Depth=2
## => This Inner Loop Header: Depth=3
xorl %edi, %edi
cmpb $0, -1(%rdx,%rsi)
sete %dil
incl %eax
subl %edi, %r12d
je LBB0_21
## %bb.20: ## in Loop: Header=BB0_19 Depth=3
leaq 1(%rsi), %rdi
cmpq %rsi, %rcx
movq %rdi, %rsi
ja LBB0_19
LBB0_21: ## in Loop: Header=BB0_8 Depth=2
movq $0, -56(%rbp) ## 8-byte Folded Spill
movl $0, %edi
testl %r12d, %r12d
jne LBB0_8
jmp LBB0_24
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_8 Depth=2
testl %r12d, %r12d
je LBB0_13
.p2align 4, 0x90
LBB0_14: ## Parent Loop BB0_7 Depth=1
## Parent Loop BB0_8 Depth=2
## => This Inner Loop Header: Depth=3
movq _ENOMEM@GOTPCREL(%rip), %rax
movl (%rax), %eax
addl %r15d, %eax
jne LBB0_45
## %bb.15: ## in Loop: Header=BB0_14 Depth=3
movq %r14, %rdi
movq %r13, %rsi
leaq -64(%rbp), %rdx
callq _tomoyo_dump_page
testl %eax, %eax
je LBB0_45
## %bb.16: ## in Loop: Header=BB0_14 Depth=3
testl %r12d, %r12d
setne %al
movq _PAGE_SIZE@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
addq %rcx, %r13
testq %rcx, %rcx
setne %dl
andb %al, %dl
cmpb $1, %dl
je LBB0_17
## %bb.22: ## in Loop: Header=BB0_14 Depth=3
testl %r12d, %r12d
jne LBB0_14
jmp LBB0_23
LBB0_17: ## in Loop: Header=BB0_8 Depth=2
xorl %eax, %eax
jmp LBB0_18
LBB0_23: ## in Loop: Header=BB0_7 Depth=1
xorl %eax, %eax
movq %r13, %r8
movl %r12d, %edi
LBB0_24: ## in Loop: Header=BB0_7 Depth=1
movslq %eax, %r13
movl %ebx, %eax
movq -80(%rbp), %rsi ## 8-byte Reload
movq _TOMOYO_EXEC_TMPSIZE@GOTPCREL(%rip), %rdx
LBB0_25: ## Parent Loop BB0_7 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_28 Depth 3
## Child Loop BB0_29 Depth 4
movq $0, -56(%rbp) ## 8-byte Folded Spill
movq _PAGE_SIZE@GOTPCREL(%rip), %rcx
cmpq %r13, (%rcx)
jbe LBB0_26
## %bb.27: ## in Loop: Header=BB0_25 Depth=2
movl %eax, %ebx
LBB0_28: ## Parent Loop BB0_7 Depth=1
## Parent Loop BB0_25 Depth=2
## => This Loop Header: Depth=3
## Child Loop BB0_29 Depth 4
movslq %ebx, %r12
.p2align 4, 0x90
LBB0_29: ## Parent Loop BB0_7 Depth=1
## Parent Loop BB0_25 Depth=2
## Parent Loop BB0_28 Depth=3
## => This Inner Loop Header: Depth=4
movq -64(%rbp), %rax
movzbl (%rax,%r13), %eax
testl %eax, %eax
je LBB0_38
## %bb.30: ## in Loop: Header=BB0_29 Depth=4
movl (%rdx), %ecx
addl $-10, %ecx
cmpl %ecx, %ebx
jl LBB0_31
## %bb.37: ## in Loop: Header=BB0_29 Depth=4
incq %r13
movb $0, (%rsi,%r12)
movq _PAGE_SIZE@GOTPCREL(%rip), %rax
cmpq %r13, (%rax)
ja LBB0_29
jmp LBB0_7
LBB0_38: ## in Loop: Header=BB0_29 Depth=4
movl %edi, -44(%rbp) ## 4-byte Spill
movq %r8, -88(%rbp) ## 8-byte Spill
movb $0, (%rsi,%r12)
movq -96(%rbp), %rdi ## 8-byte Reload
callq _tomoyo_env_perm
incq %r13
testq %rax, %rax
je LBB0_41
## %bb.39: ## in Loop: Header=BB0_29 Depth=4
xorl %r15d, %r15d
movq _EPERM@GOTPCREL(%rip), %rax
subl (%rax), %r15d
movq _PAGE_SIZE@GOTPCREL(%rip), %rax
cmpq %r13, (%rax)
movq -80(%rbp), %rsi ## 8-byte Reload
movq _TOMOYO_EXEC_TMPSIZE@GOTPCREL(%rip), %rdx
movq -88(%rbp), %r8 ## 8-byte Reload
movl -44(%rbp), %edi ## 4-byte Reload
ja LBB0_29
jmp LBB0_40
LBB0_31: ## in Loop: Header=BB0_28 Depth=3
cmpl $92, %eax
je LBB0_43
## %bb.32: ## in Loop: Header=BB0_28 Depth=3
cmpl $61, %eax
jne LBB0_34
## %bb.33: ## in Loop: Header=BB0_28 Depth=3
incl %ebx
movb $0, (%rsi,%r12)
jmp LBB0_44
LBB0_43: ## in Loop: Header=BB0_28 Depth=3
movw $23644, (%rsi,%r12) ## imm = 0x5C5C
addl $2, %ebx
jmp LBB0_44
LBB0_34: ## in Loop: Header=BB0_28 Depth=3
leal -33(%rax), %ecx
cmpb $93, %cl
ja LBB0_36
## %bb.35: ## in Loop: Header=BB0_28 Depth=3
incl %ebx
movb %al, (%rsi,%r12)
jmp LBB0_44
LBB0_36: ## in Loop: Header=BB0_28 Depth=3
movb $92, (%rsi,%r12)
movl %eax, %ecx
shrb $6, %cl
orb $-48, %cl
movb %cl, 1(%rsi,%r12)
movl %eax, %ecx
shrb $3, %cl
orb $7, %cl
addb $48, %cl
movb %cl, 2(%rsi,%r12)
andb $7, %al
orb $48, %al
addl $4, %ebx
movb %al, 3(%rsi,%r12)
LBB0_44: ## in Loop: Header=BB0_28 Depth=3
incq %r13
movq _PAGE_SIZE@GOTPCREL(%rip), %rax
cmpq %r13, (%rax)
ja LBB0_28
jmp LBB0_7
LBB0_41: ## in Loop: Header=BB0_25 Depth=2
xorl %eax, %eax
decl -68(%rbp) ## 4-byte Folded Spill
movq -80(%rbp), %rsi ## 8-byte Reload
movq _TOMOYO_EXEC_TMPSIZE@GOTPCREL(%rip), %rdx
movq -88(%rbp), %r8 ## 8-byte Reload
movl -44(%rbp), %edi ## 4-byte Reload
jne LBB0_25
## %bb.42: ## in Loop: Header=BB0_7 Depth=1
movq $0, -56(%rbp) ## 8-byte Folded Spill
movl $0, -68(%rbp) ## 4-byte Folded Spill
xorl %r15d, %r15d
jmp LBB0_7
LBB0_13: ## in Loop: Header=BB0_7 Depth=1
movq %r13, %r8
movl %r12d, %edi
movq -56(%rbp), %rax ## 8-byte Reload
## kill: def $eax killed $eax killed $rax def $rax
jmp LBB0_24
LBB0_26: ## in Loop: Header=BB0_7 Depth=1
movl %eax, %ebx
jmp LBB0_7
LBB0_40: ## in Loop: Header=BB0_7 Depth=1
movq $0, -56(%rbp) ## 8-byte Folded Spill
jmp LBB0_7
LBB0_45:
movq -64(%rbp), %rdi
movq -96(%rbp), %r12 ## 8-byte Reload
xorl %edx, %edx
LBB0_46:
movq (%r12), %rax
movq _TOMOYO_CONFIG_ENFORCING@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
cmovel %r15d, %edx
movq %rdx, %rbx
callq _kfree
movq -80(%rbp), %rdi ## 8-byte Reload
callq _kfree
movq %rbx, %rax
LBB0_47:
## kill: def $eax killed $eax killed $rax
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PAGE_SIZE,8,3 ## @PAGE_SIZE
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _TOMOYO_MAC_ENVIRON,4,2 ## @TOMOYO_MAC_ENVIRON
.comm _TOMOYO_EXEC_TMPSIZE,4,2 ## @TOMOYO_EXEC_TMPSIZE
.comm _GFP_NOFS,4,2 ## @GFP_NOFS
.comm _EPERM,4,2 ## @EPERM
.comm _TOMOYO_CONFIG_ENFORCING,8,3 ## @TOMOYO_CONFIG_ENFORCING
.no_dead_strip _tomoyo_environ
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function tomoyo_environ
_tomoyo_environ: ; @tomoyo_environ
.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, x0
ldr x20, [x0, #32]
str xzr, [sp, #24]
ldr x21, [x20]
Lloh0:
adrp x23, _PAGE_SIZE@GOTPAGE
Lloh1:
ldr x23, [x23, _PAGE_SIZE@GOTPAGEOFF]
ldr x22, [x23]
ldp w25, w27, [x20, #8]
Lloh2:
adrp x8, _ENOMEM@GOTPAGE
Lloh3:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh4:
ldr w24, [x8]
Lloh5:
adrp x8, _TOMOYO_MAC_ENVIRON@GOTPAGE
Lloh6:
ldr x8, [x8, _TOMOYO_MAC_ENVIRON@GOTPAGEOFF]
Lloh7:
ldr w2, [x8]
str w2, [x0, #24]
ldr x8, [x0, #16]
ldp w0, w1, [x8]
str w1, [x19, #8]
bl _tomoyo_get_mode
str x0, [x19]
cmp x0, #0
ccmp w27, #0, #0, eq
b.eq LBB0_42
; %bb.1:
neg w26, w24
Lloh8:
adrp x8, _TOMOYO_EXEC_TMPSIZE@GOTPAGE
Lloh9:
ldr x8, [x8, _TOMOYO_EXEC_TMPSIZE@GOTPAGEOFF]
Lloh10:
ldr w0, [x8]
Lloh11:
adrp x8, _GFP_NOFS@GOTPAGE
Lloh12:
ldr x8, [x8, _GFP_NOFS@GOTPAGEOFF]
Lloh13:
ldr w1, [x8]
bl _kzalloc
str x0, [sp, #16] ; 8-byte Folded Spill
cbz x0, LBB0_44
; %bb.2:
str w27, [sp, #12] ; 4-byte Folded Spill
mov w28, #0 ; =0x0
udiv x8, x21, x22
msub w27, w8, w22, w21
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_4 Depth 2
; Child Loop BB0_13 Depth 3
; Child Loop BB0_9 Depth 3
; Child Loop BB0_20 Depth 2
; Child Loop BB0_21 Depth 3
; Child Loop BB0_22 Depth 4
mov x22, x25
Lloh14:
adrp x24, _ENOMEM@GOTPAGE
Lloh15:
ldr x24, [x24, _ENOMEM@GOTPAGEOFF]
LBB0_4: ; Parent Loop BB0_3 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_13 Depth 3
; Child Loop BB0_9 Depth 3
ldr w8, [x24]
cmn w26, w8
b.ne LBB0_43
; %bb.5: ; in Loop: Header=BB0_4 Depth=2
add x2, sp, #24
mov x0, x20
mov x1, x21
bl _tomoyo_dump_page
cbz w0, LBB0_43
; %bb.6: ; in Loop: Header=BB0_4 Depth=2
ldr x9, [x23]
sxtw x8, w27
subs x10, x9, x8
add x21, x10, x21
cbz w22, LBB0_11
; %bb.7: ; in Loop: Header=BB0_4 Depth=2
b.ls LBB0_11
LBB0_8: ; in Loop: Header=BB0_4 Depth=2
ldr x10, [sp, #24]
add x10, x10, x8
add x11, x8, #1
LBB0_9: ; Parent Loop BB0_3 Depth=1
; Parent Loop BB0_4 Depth=2
; => This Inner Loop Header: Depth=3
ldrb w12, [x10], #1
cmp w12, #0
cset w12, eq
sub w22, w22, w12
add w8, w8, #1
cmp w22, #0
ccmp x9, x11, #0, ne
add x11, x11, #1
b.hi LBB0_9
; %bb.10: ; in Loop: Header=BB0_4 Depth=2
mov w27, #0 ; =0x0
mov w25, #0 ; =0x0
cbnz w22, LBB0_4
b LBB0_19
LBB0_11: ; in Loop: Header=BB0_4 Depth=2
cbnz w22, LBB0_13
b LBB0_38
LBB0_12: ; in Loop: Header=BB0_13 Depth=3
cbz w22, LBB0_18
LBB0_13: ; Parent Loop BB0_3 Depth=1
; Parent Loop BB0_4 Depth=2
; => This Inner Loop Header: Depth=3
ldr w8, [x24]
cmn w26, w8
b.ne LBB0_43
; %bb.14: ; in Loop: Header=BB0_13 Depth=3
add x2, sp, #24
mov x0, x20
mov x1, x21
bl _tomoyo_dump_page
cbz w0, LBB0_43
; %bb.15: ; in Loop: Header=BB0_13 Depth=3
ldr x9, [x23]
add x21, x9, x21
cbz w22, LBB0_12
; %bb.16: ; in Loop: Header=BB0_13 Depth=3
cbz x9, LBB0_12
; %bb.17: ; in Loop: Header=BB0_4 Depth=2
mov x8, #0 ; =0x0
b LBB0_8
LBB0_18: ; in Loop: Header=BB0_3 Depth=1
mov w8, #0 ; =0x0
mov x25, x22
LBB0_19: ; in Loop: Header=BB0_3 Depth=1
; kill: def $w8 killed $w8 killed $x8 def $x8
sxtw x24, w8
mov x27, x28
Lloh16:
adrp x10, _TOMOYO_EXEC_TMPSIZE@GOTPAGE
Lloh17:
ldr x10, [x10, _TOMOYO_EXEC_TMPSIZE@GOTPAGEOFF]
LBB0_20: ; Parent Loop BB0_3 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_21 Depth 3
; Child Loop BB0_22 Depth 4
ldr x8, [x23]
mov x28, x27
cmp x8, x24
b.ls LBB0_39
LBB0_21: ; Parent Loop BB0_3 Depth=1
; Parent Loop BB0_20 Depth=2
; => This Loop Header: Depth=3
; Child Loop BB0_22 Depth 4
ldr x8, [sp, #16] ; 8-byte Folded Reload
add x27, x8, w28, sxtw
LBB0_22: ; Parent Loop BB0_3 Depth=1
; Parent Loop BB0_20 Depth=2
; Parent Loop BB0_21 Depth=3
; => This Inner Loop Header: Depth=4
ldr x8, [sp, #24]
add x22, x24, #1
ldrb w8, [x8, x24]
cbz w8, LBB0_25
; %bb.23: ; in Loop: Header=BB0_22 Depth=4
ldr w9, [x10]
sub w9, w9, #10
cmp w28, w9
b.lt LBB0_27
; %bb.24: ; in Loop: Header=BB0_22 Depth=4
strb wzr, [x27]
ldr x8, [x23]
mov x24, x22
cmp x8, x22
b.hi LBB0_22
b LBB0_37
LBB0_25: ; in Loop: Header=BB0_22 Depth=4
strb wzr, [x27]
mov x0, x19
ldr x1, [sp, #16] ; 8-byte Folded Reload
bl _tomoyo_env_perm
cbz x0, LBB0_35
; %bb.26: ; in Loop: Header=BB0_22 Depth=4
Lloh18:
adrp x8, _EPERM@GOTPAGE
Lloh19:
ldr x8, [x8, _EPERM@GOTPAGEOFF]
Lloh20:
ldr w8, [x8]
neg w26, w8
ldr x8, [x23]
mov x24, x22
cmp x8, x22
Lloh21:
adrp x10, _TOMOYO_EXEC_TMPSIZE@GOTPAGE
Lloh22:
ldr x10, [x10, _TOMOYO_EXEC_TMPSIZE@GOTPAGEOFF]
b.hi LBB0_22
b LBB0_41
LBB0_27: ; in Loop: Header=BB0_21 Depth=3
cmp w8, #92
b.eq LBB0_30
; %bb.28: ; in Loop: Header=BB0_21 Depth=3
cmp w8, #61
b.ne LBB0_31
; %bb.29: ; in Loop: Header=BB0_21 Depth=3
add w28, w28, #1
strb wzr, [x27]
b LBB0_34
LBB0_30: ; in Loop: Header=BB0_21 Depth=3
mov w8, #23644 ; =0x5c5c
strh w8, [x27]
add w28, w28, #2
b LBB0_34
LBB0_31: ; in Loop: Header=BB0_21 Depth=3
sub w9, w8, #33
cmp w9, #93
b.hi LBB0_33
; %bb.32: ; in Loop: Header=BB0_21 Depth=3
add w28, w28, #1
strb w8, [x27]
b LBB0_34
LBB0_33: ; in Loop: Header=BB0_21 Depth=3
mov w9, #92 ; =0x5c
strb w9, [x27]
mov w9, #208 ; =0xd0
orr w9, w9, w8, lsr #6
strb w9, [x27, #1]
lsr w9, w8, #3
orr w9, w9, #0x7
add w9, w9, #48
strb w9, [x27, #2]
mov w9, #48 ; =0x30
bfxil w9, w8, #0, #3
add w28, w28, #4
strb w9, [x27, #3]
LBB0_34: ; in Loop: Header=BB0_21 Depth=3
add x24, x24, #1
ldr x8, [x23]
cmp x8, x24
b.hi LBB0_21
b LBB0_40
LBB0_35: ; in Loop: Header=BB0_20 Depth=2
mov w27, #0 ; =0x0
add x24, x24, #1
ldr w8, [sp, #12] ; 4-byte Folded Reload
subs w8, w8, #1
str w8, [sp, #12] ; 4-byte Folded Spill
Lloh23:
adrp x10, _TOMOYO_EXEC_TMPSIZE@GOTPAGE
Lloh24:
ldr x10, [x10, _TOMOYO_EXEC_TMPSIZE@GOTPAGEOFF]
b.ne LBB0_20
; %bb.36: ; in Loop: Header=BB0_3 Depth=1
str w27, [sp, #12] ; 4-byte Folded Spill
mov x26, x27
b LBB0_3
LBB0_37: ; in Loop: Header=BB0_3 Depth=1
mov w27, #0 ; =0x0
b LBB0_3
LBB0_38: ; in Loop: Header=BB0_3 Depth=1
mov x25, x22
mov x8, x27
b LBB0_19
LBB0_39: ; in Loop: Header=BB0_3 Depth=1
mov w27, #0 ; =0x0
b LBB0_3
LBB0_40: ; in Loop: Header=BB0_3 Depth=1
mov w27, #0 ; =0x0
b LBB0_3
LBB0_41: ; in Loop: Header=BB0_3 Depth=1
mov w27, #0 ; =0x0
b LBB0_3
LBB0_42:
mov w19, #0 ; =0x0
b LBB0_45
LBB0_43:
ldr x0, [sp, #24]
LBB0_44:
ldr x8, [x19]
Lloh25:
adrp x9, _TOMOYO_CONFIG_ENFORCING@GOTPAGE
Lloh26:
ldr x9, [x9, _TOMOYO_CONFIG_ENFORCING@GOTPAGEOFF]
Lloh27:
ldr x9, [x9]
cmp x8, x9
csel w19, w26, wzr, eq
bl _kfree
ldr x0, [sp, #16] ; 8-byte Folded Reload
bl _kfree
LBB0_45:
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 AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGot Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGot Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.cfi_endproc
; -- End function
.comm _PAGE_SIZE,8,3 ; @PAGE_SIZE
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _TOMOYO_MAC_ENVIRON,4,2 ; @TOMOYO_MAC_ENVIRON
.comm _TOMOYO_EXEC_TMPSIZE,4,2 ; @TOMOYO_EXEC_TMPSIZE
.comm _GFP_NOFS,4,2 ; @GFP_NOFS
.comm _EPERM,4,2 ; @EPERM
.comm _TOMOYO_CONFIG_ENFORCING,8,3 ; @TOMOYO_CONFIG_ENFORCING
.no_dead_strip _tomoyo_environ
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _RC5_32_set_key ## -- Begin function RC5_32_set_key
.p2align 4, 0x90
_RC5_32_set_key: ## @RC5_32_set_key
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $296, %rsp ## imm = 0x128
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
xorl %eax, %eax
cmpl $255, %esi
jg LBB0_16
## %bb.1:
movq %rdx, %r14
movl %esi, %r13d
movq _RC5_16_ROUNDS@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _RC5_8_ROUNDS@GOTPCREL(%rip), %rdx
cmpl %ecx, (%rdx)
movq _RC5_12_ROUNDS@GOTPCREL(%rip), %rdx
movl %eax, %r15d
cmovel %ecx, %r15d
cmpl %ecx, (%rdx)
cmovel %ecx, %r15d
cmpl %ecx, %eax
cmovel %ecx, %r15d
movl %r15d, (%rdi)
movq 8(%rdi), %rax
movq %rax, -320(%rbp) ## 8-byte Spill
xorl %ebx, %ebx
cmpl $8, %esi
jl LBB0_4
## %bb.2:
leal -8(%r13), %r12d
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
callq _c2l
movq %r14, %rdi
callq _c2l
addl $8, %ebx
cmpl %r12d, %ebx
jle LBB0_3
LBB0_4:
cmpl %r13d, %ebx
je LBB0_6
## %bb.5:
movl %r13d, %ecx
orl $7, %ecx
movq %r14, %rdi
callq _c2ln
LBB0_6:
leal 3(%r13), %eax
addl $6, %r13d
testl %eax, %eax
cmovnsl %eax, %r13d
sarl $2, %r13d
movl %r15d, %eax
addl %r15d, %r15d
leal 2(,%rax,2), %r10d
movq _RC5_32_P@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq -320(%rbp), %r9 ## 8-byte Reload
movl %eax, (%r9)
cmpl $2147483645, %r15d ## imm = 0x7FFFFFFD
ja LBB0_12
## %bb.7:
movl (%r9), %eax
testl %r15d, %r15d
je LBB0_8
## %bb.9:
movl %r10d, %ecx
movl $2, %edx
subq %rcx, %rdx
movl $1, %ecx
movq _RC5_32_Q@GOTPCREL(%rip), %rsi
movq _RC5_32_MASK@GOTPCREL(%rip), %rdi
.p2align 4, 0x90
LBB0_10: ## =>This Inner Loop Header: Depth=1
addl (%rsi), %eax
andl (%rdi), %eax
movl %eax, (%r9,%rcx,4)
addl (%rsi), %eax
andl (%rdi), %eax
movl %eax, 4(%r9,%rcx,4)
leaq (%rdx,%rcx), %r8
addq $2, %r8
addq $2, %rcx
cmpq $1, %r8
jne LBB0_10
jmp LBB0_11
LBB0_8:
movl $1, %ecx
LBB0_11:
movq _RC5_32_Q@GOTPCREL(%rip), %rdx
addl (%rdx), %eax
movq _RC5_32_MASK@GOTPCREL(%rip), %rdx
andl (%rdx), %eax
movl %eax, (%r9,%rcx,4)
LBB0_12:
cmpl %r13d, %r10d
movl %r13d, %eax
cmovgl %r10d, %eax
testl %eax, %eax
jle LBB0_15
## %bb.13:
movq %r13, -328(%rbp) ## 8-byte Spill
leal (%rax,%rax,2), %ecx
cmpl $2, %ecx
movl $1, %eax
cmovll %eax, %ecx
xorl %ebx, %ebx
xorl %r12d, %r12d
xorl %r14d, %r14d
xorl %r15d, %r15d
movl %r10d, -308(%rbp) ## 4-byte Spill
movq -320(%rbp), %r13 ## 8-byte Reload
.p2align 4, 0x90
LBB0_14: ## =>This Inner Loop Header: Depth=1
movl %ecx, -312(%rbp) ## 4-byte Spill
movslq %r12d, %r12
addl %r15d, %r14d
addl (%r13,%r12,4), %r14d
movq _RC5_32_MASK@GOTPCREL(%rip), %rax
andl (%rax), %r14d
movl %r14d, %edi
movl $3, %esi
callq _ROTATE_l32
movl %eax, %r14d
movl %eax, (%r13,%r12,4)
addl %eax, %r15d
movslq %ebx, %rbx
movl -304(%rbp,%rbx,4), %edi
addl %r15d, %edi
movq _RC5_32_MASK@GOTPCREL(%rip), %rax
andl (%rax), %edi
movl %r15d, %esi
callq _ROTATE_l32
movl -312(%rbp), %ecx ## 4-byte Reload
movl -308(%rbp), %r10d ## 4-byte Reload
movl %eax, %r15d
movl %eax, -304(%rbp,%rbx,4)
incl %r12d
cmpl %r10d, %r12d
movl $0, %eax
cmovgel %eax, %r12d
incl %ebx
cmpl -328(%rbp), %ebx ## 4-byte Folded Reload
cmovgel %eax, %ebx
decl %ecx
jne LBB0_14
LBB0_15:
movl $1, %eax
LBB0_16:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_18
## %bb.17:
addq $296, %rsp ## imm = 0x128
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_18:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _RC5_16_ROUNDS,4,2 ## @RC5_16_ROUNDS
.comm _RC5_12_ROUNDS,4,2 ## @RC5_12_ROUNDS
.comm _RC5_8_ROUNDS,4,2 ## @RC5_8_ROUNDS
.comm _RC5_32_P,4,2 ## @RC5_32_P
.comm _RC5_32_Q,4,2 ## @RC5_32_Q
.comm _RC5_32_MASK,4,2 ## @RC5_32_MASK
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _RC5_32_set_key ; -- Begin function RC5_32_set_key
.p2align 2
_RC5_32_set_key: ; @RC5_32_set_key
.cfi_startproc
; %bb.0:
sub sp, sp, #368
stp x28, x27, [sp, #272] ; 16-byte Folded Spill
stp x26, x25, [sp, #288] ; 16-byte Folded Spill
stp x24, x23, [sp, #304] ; 16-byte Folded Spill
stp x22, x21, [sp, #320] ; 16-byte Folded Spill
stp x20, x19, [sp, #336] ; 16-byte Folded Spill
stp x29, x30, [sp, #352] ; 16-byte Folded Spill
add x29, sp, #352
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-96]
cmp w1, #255
b.le LBB0_2
; %bb.1:
mov w0, #0 ; =0x0
b LBB0_13
LBB0_2:
mov x20, x2
mov x19, x1
Lloh3:
adrp x8, _RC5_16_ROUNDS@GOTPAGE
Lloh4:
ldr x8, [x8, _RC5_16_ROUNDS@GOTPAGEOFF]
Lloh5:
adrp x9, _RC5_12_ROUNDS@GOTPAGE
Lloh6:
ldr x9, [x9, _RC5_12_ROUNDS@GOTPAGEOFF]
Lloh7:
ldr w8, [x8]
Lloh8:
ldr w9, [x9]
Lloh9:
adrp x10, _RC5_8_ROUNDS@GOTPAGE
Lloh10:
ldr x10, [x10, _RC5_8_ROUNDS@GOTPAGEOFF]
Lloh11:
ldr w10, [x10]
cmp w10, w3
ccmp w9, w3, #4, ne
ccmp w8, w3, #4, ne
csel w23, w3, w8, eq
str w23, [x0]
ldr x21, [x0, #8]
mov w24, #0 ; =0x0
subs w22, w1, #8
b.lt LBB0_4
LBB0_3: ; =>This Inner Loop Header: Depth=1
mov x0, x20
bl _c2l
mov x0, x20
bl _c2l
add w24, w24, #8
cmp w24, w22
b.le LBB0_3
LBB0_4:
cmp w24, w19
b.eq LBB0_6
; %bb.5:
orr w3, w19, #0x7
mov x0, x20
bl _c2ln
LBB0_6:
adds w8, w19, #3
add w9, w19, #6
csel w8, w9, w8, lt
asr w22, w8, #2
lsl w8, w23, #1
add w23, w8, #2
Lloh12:
adrp x9, _RC5_32_P@GOTPAGE
Lloh13:
ldr x9, [x9, _RC5_32_P@GOTPAGEOFF]
Lloh14:
ldr w9, [x9]
str w9, [x21]
mov w9, #65533 ; =0xfffd
movk w9, #32767, lsl #16
Lloh15:
adrp x24, _RC5_32_MASK@GOTPAGE
Lloh16:
ldr x24, [x24, _RC5_32_MASK@GOTPAGEOFF]
cmp w8, w9
b.hi LBB0_9
; %bb.7:
mov x8, x21
ldr w9, [x8], #4
sub x10, x23, #1
Lloh17:
adrp x11, _RC5_32_Q@GOTPAGE
Lloh18:
ldr x11, [x11, _RC5_32_Q@GOTPAGEOFF]
LBB0_8: ; =>This Inner Loop Header: Depth=1
ldr w12, [x11]
ldr w13, [x24]
add w9, w12, w9
and w9, w9, w13
str w9, [x8], #4
subs x10, x10, #1
b.ne LBB0_8
LBB0_9:
cmp w23, w22
csel w8, w23, w22, gt
cmp w8, #1
b.lt LBB0_12
; %bb.10:
mov w25, #0 ; =0x0
mov w26, #0 ; =0x0
mov w19, #0 ; =0x0
mov w20, #0 ; =0x0
add w8, w8, w8, lsl #1
cmp w8, #1
csinc w27, w8, wzr, gt
mov x28, sp
LBB0_11: ; =>This Inner Loop Header: Depth=1
ldr w8, [x21, w26, sxtw #2]
add w9, w19, w20
add w8, w9, w8
ldr w9, [x24]
and w0, w8, w9
mov w1, #3 ; =0x3
bl _ROTATE_l32
mov x19, x0
str w0, [x21, w26, sxtw #2]
ldr w8, [x28, w25, sxtw #2]
add w1, w0, w20
add w8, w1, w8
ldr w9, [x24]
and w0, w8, w9
bl _ROTATE_l32
mov x20, x0
str w0, [x28, w25, sxtw #2]
add w8, w26, #1
cmp w8, w23
csinc w26, wzr, w26, ge
add w8, w25, #1
cmp w8, w22
csinc w25, wzr, w25, ge
subs w27, w27, #1
b.ne LBB0_11
LBB0_12:
mov w0, #1 ; =0x1
LBB0_13:
ldur x8, [x29, #-96]
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_15
; %bb.14:
ldp x29, x30, [sp, #352] ; 16-byte Folded Reload
ldp x20, x19, [sp, #336] ; 16-byte Folded Reload
ldp x22, x21, [sp, #320] ; 16-byte Folded Reload
ldp x24, x23, [sp, #304] ; 16-byte Folded Reload
ldp x26, x25, [sp, #288] ; 16-byte Folded Reload
ldp x28, x27, [sp, #272] ; 16-byte Folded Reload
add sp, sp, #368
ret
LBB0_15:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh7
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGot Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.cfi_endproc
; -- End function
.comm _RC5_16_ROUNDS,4,2 ; @RC5_16_ROUNDS
.comm _RC5_12_ROUNDS,4,2 ; @RC5_12_ROUNDS
.comm _RC5_8_ROUNDS,4,2 ; @RC5_8_ROUNDS
.comm _RC5_32_P,4,2 ; @RC5_32_P
.comm _RC5_32_Q,4,2 ; @RC5_32_Q
.comm _RC5_32_MASK,4,2 ; @RC5_32_MASK
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function format_numeric_locale
_format_numeric_locale: ## @format_numeric_locale
.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
leaq L_.str(%rip), %rsi
callq _strspn
movl %eax, %r14d
movq %rbx, %rdi
callq _strlen
cmpl %eax, %r14d
jne LBB0_13
## %bb.1:
movq %rbx, %rdi
callq _strlen
movl %eax, %r14d
movq %rbx, %rdi
callq _additional_numeric_locale_len
movl %eax, %r15d
movq %r14, -56(%rbp) ## 8-byte Spill
leal (%r15,%r14), %edi
incl %edi
callq _pg_malloc
movq %rax, %r14
movq %rbx, %rdi
callq _integer_digits
testl %eax, %eax
js LBB0_2
## %bb.3:
movl %eax, %r12d
movq _groupdigits@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movzbl (%rbx), %eax
movb %al, (%r14)
je LBB0_4
## %bb.5:
movq %r15, -48(%rbp) ## 8-byte Spill
movl %r12d, %eax
incl %r12d
cltd
idivl %ecx
testl %edx, %edx
cmovel %ecx, %edx
movl $1, %r13d
movl $1, %r15d
jmp LBB0_6
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_6 Depth=1
movzbl (%rbx,%r15), %eax
movslq %r13d, %rcx
incl %r13d
movb %al, (%r14,%rcx)
incq %r15
cmpq %r15, %r12
je LBB0_9
LBB0_6: ## =>This Inner Loop Header: Depth=1
decl %edx
jne LBB0_8
## %bb.7: ## in Loop: Header=BB0_6 Depth=1
movslq %r13d, %r13
leaq (%r14,%r13), %rdi
movq _thousands_sep@GOTPCREL(%rip), %rax
movq (%rax), %rsi
callq _strcpy
movq _thousands_sep@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _strlen
addl %eax, %r13d
movq _groupdigits@GOTPCREL(%rip), %rax
movl (%rax), %edx
jmp LBB0_8
LBB0_13:
movq %rbx, %rdi
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _pg_strdup ## TAILCALL
LBB0_9:
movq -48(%rbp), %r15 ## 8-byte Reload
jmp LBB0_10
LBB0_2:
xorl %r12d, %r12d
xorl %r13d, %r13d
jmp LBB0_10
LBB0_4:
movl $1, %r12d
movl $1, %r13d
LBB0_10:
addl -56(%rbp), %r15d ## 4-byte Folded Reload
movl %r12d, %eax
cmpb $46, (%rbx,%rax)
jne LBB0_12
## %bb.11:
movslq %r13d, %r13
leaq (%r14,%r13), %rdi
movq _decimal_point@GOTPCREL(%rip), %rax
movq (%rax), %rsi
callq _strcpy
movq _decimal_point@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _strlen
addl %eax, %r13d
incl %r12d
LBB0_12:
movslq %r13d, %rax
movq %r14, %rdi
addq %rax, %rdi
movslq %r12d, %rax
addq %rax, %rbx
movq %rbx, %rsi
callq _strcpy
movq %r14, %rdi
callq _strlen
xorl %edi, %edi
cmpl %r15d, %eax
setle %dil
callq _Assert
movq %r14, %rax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "0123456789+-.eE"
.comm _groupdigits,4,2 ## @groupdigits
.comm _thousands_sep,8,3 ## @thousands_sep
.comm _decimal_point,8,3 ## @decimal_point
.no_dead_strip _format_numeric_locale
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function format_numeric_locale
_format_numeric_locale: ; @format_numeric_locale
.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, x0
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _strspn
mov x20, x0
mov x0, x19
bl _strlen
cmp w20, w0
b.ne LBB0_7
; %bb.1:
mov x0, x19
bl _strlen
mov x20, x0
mov x0, x19
bl _additional_numeric_locale_len
add w21, w0, w20
add w0, w21, #1
bl _pg_malloc
mov x20, x0
mov x0, x19
bl _integer_digits
tbnz w0, #31, LBB0_8
; %bb.2:
Lloh2:
adrp x24, _groupdigits@GOTPAGE
Lloh3:
ldr x24, [x24, _groupdigits@GOTPAGEOFF]
ldr w8, [x24]
ldrb w9, [x19]
strb w9, [x20]
cbz w0, LBB0_9
; %bb.3:
add w22, w0, #1
sdiv w9, w0, w8
msub w9, w9, w8, w0
cmp w9, #0
csel w8, w8, w9, eq
add x25, x19, #1
sub x26, x22, #1
mov w23, #1 ; =0x1
Lloh4:
adrp x27, _thousands_sep@GOTPAGE
Lloh5:
ldr x27, [x27, _thousands_sep@GOTPAGEOFF]
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
ldrb w9, [x25], #1
strb w9, [x20, w23, sxtw]
add w23, w23, #1
subs x26, x26, #1
b.eq LBB0_10
LBB0_5: ; =>This Inner Loop Header: Depth=1
subs w8, w8, #1
b.ne LBB0_4
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
add x0, x20, w23, sxtw
ldr x1, [x27]
bl _strcpy
ldr x0, [x27]
bl _strlen
add w23, w0, w23
ldr w8, [x24]
b LBB0_4
LBB0_7:
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 _pg_strdup
LBB0_8:
mov w22, #0 ; =0x0
mov w23, #0 ; =0x0
b LBB0_10
LBB0_9:
mov w22, #1 ; =0x1
mov w23, #1 ; =0x1
LBB0_10:
ldrb w8, [x19, w22, uxtw]
cmp w8, #46
b.ne LBB0_12
; %bb.11:
add x0, x20, w23, sxtw
Lloh6:
adrp x24, _decimal_point@GOTPAGE
Lloh7:
ldr x24, [x24, _decimal_point@GOTPAGEOFF]
ldr x1, [x24]
bl _strcpy
ldr x0, [x24]
bl _strlen
add w23, w0, w23
add w22, w22, #1
LBB0_12:
add x0, x20, w23, sxtw
add x1, x19, w22, sxtw
bl _strcpy
mov x0, x20
bl _strlen
cmp w0, w21
cset w0, le
bl _Assert
mov x0, x20
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "0123456789+-.eE"
.comm _groupdigits,4,2 ; @groupdigits
.comm _thousands_sep,8,3 ; @thousands_sep
.comm _decimal_point,8,3 ; @decimal_point
.no_dead_strip _format_numeric_locale
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _tracing_map_sort_entries ## -- Begin function tracing_map_sort_entries
.p2align 4, 0x90
_tracing_map_sort_entries: ## @tracing_map_sort_entries
.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 %rcx, %rbx
movl %edx, %r15d
movq %rsi, %r12
movq %rdi, %r13
movl 12(%rdi), %esi
movl $8, %edi
callq _array_size
movl %eax, %edi
callq _vmalloc
testq %rax, %rax
je LBB0_3
## %bb.1:
movq %rax, %r14
cmpl $0, (%r13)
jle LBB0_2
## %bb.4:
movl %r15d, -44(%rbp) ## 4-byte Spill
movq %rbx, -56(%rbp) ## 8-byte Spill
xorl %ebx, %ebx
xorl %r15d, %r15d
jmp LBB0_5
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_5 Depth=1
incl %r15d
cmpl (%r13), %r15d
jge LBB0_10
LBB0_5: ## =>This Inner Loop Header: Depth=1
movl 8(%r13), %edi
movl %r15d, %esi
callq _TRACING_MAP_ENTRY
cmpl $0, 8(%rax)
sete %cl
movq (%rax), %rsi
testq %rsi, %rsi
sete %al
testb %al, %cl
jne LBB0_9
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movl (%rsi), %edi
callq _create_sort_entry
movslq %ebx, %rbx
movq %rax, (%r14,%rbx,8)
incl %ebx
testq %rax, %rax
jne LBB0_9
## %bb.7:
movq _ENOMEM@GOTPCREL(%rip), %rax
xorl %r15d, %r15d
subl (%rax), %r15d
jmp LBB0_8
LBB0_3:
movq _ENOMEM@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
subl (%rax), %ebx
jmp LBB0_20
LBB0_10:
testl %ebx, %ebx
je LBB0_11
## %bb.12:
cmpl $1, %ebx
jne LBB0_14
## %bb.13:
movq -56(%rbp), %rax ## 8-byte Reload
movq %r14, (%rax)
movl $1, %ebx
jmp LBB0_20
LBB0_2:
xorl %ebx, %ebx
xorl %r15d, %r15d
jmp LBB0_8
LBB0_11:
movl %ebx, %r15d
LBB0_8:
movq %r14, %rdi
movl %ebx, %esi
callq _tracing_map_destroy_sort_entries
movl %r15d, %ebx
LBB0_20:
movl %ebx, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_14:
movl 4(%r13), %edx
movq %r14, %rdi
movl %ebx, %esi
callq _detect_dups
movl (%r12), %esi
movq %r13, %rdi
callq _is_key
testq %rax, %rax
jne LBB0_15
## %bb.16:
movq _cmp_entries_sum@GOTPCREL(%rip), %r15
jmp LBB0_17
LBB0_15:
movq _cmp_entries_key@GOTPCREL(%rip), %r15
LBB0_17:
movq %r13, %rdi
movq %r12, %rsi
callq _set_sort_key
movq %r14, %rdi
movl %ebx, %esi
movl $8, %edx
movq %r15, %rcx
xorl %r8d, %r8d
callq _sort
cmpl $2, -44(%rbp) ## 4-byte Folded Reload
jb LBB0_19
## %bb.18:
leaq 4(%r12), %r8
movq %r13, %rdi
movq %r14, %rsi
movl %ebx, %edx
movq %r12, %rcx
callq _sort_secondary
LBB0_19:
movq -56(%rbp), %rax ## 8-byte Reload
movq %r14, (%rax)
jmp LBB0_20
.cfi_endproc
## -- End function
.comm _ENOMEM,4,2 ## @ENOMEM
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _tracing_map_sort_entries ; -- Begin function tracing_map_sort_entries
.p2align 2
_tracing_map_sort_entries: ; @tracing_map_sort_entries
.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, x3
mov x24, x2
mov x22, x1
mov x23, x0
ldr w1, [x0, #12]
mov w0, #8 ; =0x8
bl _array_size
bl _vmalloc
cbz x0, LBB0_7
; %bb.1:
mov x19, x0
ldr w8, [x23]
cmp w8, #1
b.lt LBB0_13
; %bb.2:
mov w20, #0 ; =0x0
mov w25, #0 ; =0x0
b LBB0_4
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
add w25, w25, #1
ldr w8, [x23]
cmp w25, w8
b.ge LBB0_8
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr w0, [x23, #8]
mov x1, x25
bl _TRACING_MAP_ENTRY
ldr w8, [x0, #8]
ldr x1, [x0]
cmp w8, #0
ccmp x1, #0, #0, eq
b.eq LBB0_3
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
ldr w0, [x1]
bl _create_sort_entry
str x0, [x19, w20, sxtw #3]
add w20, w20, #1
cbnz x0, LBB0_3
; %bb.6:
Lloh0:
adrp x8, _ENOMEM@GOTPAGE
Lloh1:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
neg w21, w8
b LBB0_15
LBB0_7:
Lloh3:
adrp x8, _ENOMEM@GOTPAGE
Lloh4:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
neg w20, w8
b LBB0_16
LBB0_8:
cbz w20, LBB0_14
; %bb.9:
cmp w20, #1
b.eq LBB0_12
; %bb.10:
ldr w2, [x23, #4]
mov x0, x19
mov x1, x20
bl _detect_dups
ldr w1, [x22]
mov x0, x23
bl _is_key
Lloh6:
adrp x8, _cmp_entries_key@GOTPAGE
Lloh7:
ldr x8, [x8, _cmp_entries_key@GOTPAGEOFF]
Lloh8:
adrp x9, _cmp_entries_sum@GOTPAGE
Lloh9:
ldr x9, [x9, _cmp_entries_sum@GOTPAGEOFF]
cmp x0, #0
csel x25, x9, x8, eq
mov x0, x23
mov x1, x22
bl _set_sort_key
mov x0, x19
mov x1, x20
mov w2, #8 ; =0x8
mov x3, x25
mov x4, #0 ; =0x0
bl _sort
cmp w24, #2
b.lo LBB0_12
; %bb.11:
add x4, x22, #4
mov x0, x23
mov x1, x19
mov x2, x20
mov x3, x22
bl _sort_secondary
LBB0_12:
str x19, [x21]
b LBB0_16
LBB0_13:
mov w20, #0 ; =0x0
mov w21, #0 ; =0x0
b LBB0_15
LBB0_14:
mov x21, x20
LBB0_15:
mov x0, x19
mov x1, x20
bl _tracing_map_destroy_sort_entries
mov x20, x21
LBB0_16:
mov x0, 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
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _ENOMEM,4,2 ; @ENOMEM
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _get_dead_hosts_list ## -- Begin function get_dead_hosts_list
.p2align 4, 0x90
_get_dead_hosts_list: ## @get_dead_hosts_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 $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r14d
movq %rdi, %rdx
leaq L_.str(%rip), %rsi
movl $3, %edi
movq %rdx, -48(%rbp) ## 8-byte Spill
movl %r14d, %ecx
callq _vkprintf
movq _hosts@GOTPCREL(%rip), %rbx
movl (%rbx), %edi
movl $4, %esi
callq _calloc
testq %rax, %rax
je LBB0_15
## %bb.1:
movq %rax, %rsi
movl (%rbx), %eax
testl %eax, %eax
jle LBB0_14
## %bb.2:
movq _now@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
subl %r14d, %ecx
movl %ecx, -56(%rbp) ## 4-byte Spill
movq _HOSTS@GOTPCREL(%rip), %rcx
movq (%rcx), %r13
xorl %r14d, %r14d
movl $1, %r12d
xorl %ebx, %ebx
jmp LBB0_5
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_5 Depth=1
movslq %ebx, %rax
incl %ebx
movl %r12d, (%rsi,%rax,4)
movq %r14, %r15
movq %rsi, %r14
movq 16(%rcx), %rdi
callq _strlen
movq %r14, %rsi
leal (%r15,%rax), %r14d
decl %r14d
movq _hosts@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_4: ## in Loop: Header=BB0_5 Depth=1
leaq 1(%r12), %rcx
movslq %eax, %rdx
cmpq %rdx, %r12
movq %rcx, %r12
jge LBB0_8
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq (%r13,%r12,8), %rcx
movq -48(%rbp), %rdx ## 8-byte Reload
cmpq %rdx, (%rcx)
je LBB0_3
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
cmpl $0, 24(%rcx)
jne LBB0_4
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movl -56(%rbp), %edx ## 4-byte Reload
cmpl %edx, 8(%rcx)
jl LBB0_3
jmp LBB0_4
LBB0_8:
testl %ebx, %ebx
je LBB0_14
## %bb.9:
movq %rsi, %r15
movl %r14d, %edi
callq _malloc
testq %rax, %rax
je LBB0_17
## %bb.10:
movq %rax, -56(%rbp) ## 8-byte Spill
movq %rax, %r12
testl %ebx, %ebx
movq %r15, -48(%rbp) ## 8-byte Spill
js LBB0_13
## %bb.11:
incl %ebx
movq -48(%rbp), %rax ## 8-byte Reload
movslq (%rax), %rax
movq _HOSTS@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq (%rcx,%rax,8), %rax
movq 16(%rax), %rsi
movq -56(%rbp), %r15 ## 8-byte Reload
movq %r15, %rdi
callq _strcpy
movq %r15, %rdi
callq _strlen
movq %rax, %r12
addq %r15, %r12
movl $1, %r15d
.p2align 4, 0x90
LBB0_12: ## =>This Inner Loop Header: Depth=1
movb $44, (%r12)
leaq 1(%r12), %r13
movq _HOSTS@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -48(%rbp), %rcx ## 8-byte Reload
movslq (%rcx,%r15,4), %rcx
movq (%rax,%rcx,8), %rax
movq 16(%rax), %rsi
movq %r13, %rdi
callq _strcpy
movq %r13, %rdi
callq _strlen
addq %rax, %r12
incq %r12
incq %r15
cmpq %r15, %rbx
jne LBB0_12
LBB0_13:
movslq %r14d, %rax
movq -56(%rbp), %rbx ## 8-byte Reload
addq %rbx, %rax
decq %rax
xorl %edi, %edi
cmpq %rax, %r12
sete %dil
callq _assert
movq -48(%rbp), %rdi ## 8-byte Reload
callq _free
movq %rbx, %rax
jmp LBB0_16
LBB0_14:
leaq L_.str.1(%rip), %rdi
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _strdup ## TAILCALL
LBB0_17:
movq %r15, %rdi
callq _free
LBB0_15:
xorl %eax, %eax
LBB0_16:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "get_dead_hosts_list (volume_id:%llu, delay: %d)\n"
.comm _hosts,4,2 ## @hosts
.comm _now,4,2 ## @now
.comm _HOSTS,8,3 ## @HOSTS
L_.str.1: ## @.str.1
.space 1
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _get_dead_hosts_list ; -- Begin function get_dead_hosts_list
.p2align 2
_get_dead_hosts_list: ; @get_dead_hosts_list
.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 x22, x1
mov x21, x0
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov w0, #3 ; =0x3
mov x2, x21
mov x3, x22
bl _vkprintf
Lloh2:
adrp x24, _hosts@GOTPAGE
Lloh3:
ldr x24, [x24, _hosts@GOTPAGEOFF]
ldr w0, [x24]
mov w1, #4 ; =0x4
bl _calloc
cbz x0, LBB0_16
; %bb.1:
ldr w8, [x24]
cmp w8, #1
b.lt LBB0_15
; %bb.2:
mov x19, x0
mov w20, #0 ; =0x0
mov w25, #0 ; =0x0
Lloh4:
adrp x9, _now@GOTPAGE
Lloh5:
ldr x9, [x9, _now@GOTPAGEOFF]
Lloh6:
ldr w9, [x9]
sub w22, w9, w22
Lloh7:
adrp x23, _HOSTS@GOTPAGE
Lloh8:
ldr x23, [x23, _HOSTS@GOTPAGEOFF]
ldr x26, [x23]
mov w27, #1 ; =0x1
b LBB0_5
LBB0_3: ; in Loop: Header=BB0_5 Depth=1
add w28, w25, #1
str w27, [x19, w25, sxtw #2]
ldr x0, [x9, #16]
bl _strlen
add w8, w20, w0
sub w20, w8, #1
ldr w8, [x24]
mov x25, x28
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
cmp x27, w8, sxtw
add x27, x27, #1
b.ge LBB0_8
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr x9, [x26, x27, lsl #3]
ldr x10, [x9]
cmp x10, x21
b.eq LBB0_3
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
ldr w10, [x9, #24]
cbnz w10, LBB0_4
; %bb.7: ; in Loop: Header=BB0_5 Depth=1
ldr w10, [x9, #8]
cmp w10, w22
b.lt LBB0_3
b LBB0_4
LBB0_8:
cbz w25, LBB0_15
; %bb.9:
mov x0, x20
bl _malloc
mov x21, x0
cbz x0, LBB0_14
; %bb.10:
mov x22, x21
tbnz w25, #31, LBB0_13
; %bb.11:
add w25, w25, #1
mov x24, x19
ldrsw x8, [x24], #4
ldr x9, [x23]
ldr x8, [x9, x8, lsl #3]
ldr x1, [x8, #16]
mov x0, x21
bl _strcpy
mov x0, x21
bl _strlen
add x22, x21, x0
sub x25, x25, #1
mov w26, #44 ; =0x2c
LBB0_12: ; =>This Inner Loop Header: Depth=1
strb w26, [x22], #1
ldr x8, [x23]
ldrsw x9, [x24], #4
ldr x8, [x8, x9, lsl #3]
ldr x1, [x8, #16]
mov x0, x22
bl _strcpy
mov x0, x22
bl _strlen
add x22, x22, x0
subs x25, x25, #1
b.ne LBB0_12
LBB0_13:
add x8, x21, w20, sxtw
sub x8, x8, #1
cmp x22, x8
cset w0, eq
bl _assert
LBB0_14:
mov x0, x19
bl _free
b LBB0_17
LBB0_15:
Lloh9:
adrp x0, l_.str.1@PAGE
Lloh10:
add x0, x0, l_.str.1@PAGEOFF
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 _strdup
LBB0_16:
mov x21, #0 ; =0x0
LBB0_17:
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 AdrpLdrGot Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpAdd Lloh9, Lloh10
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "get_dead_hosts_list (volume_id:%llu, delay: %d)\n"
.comm _hosts,4,2 ; @hosts
.comm _now,4,2 ; @now
.comm _HOSTS,8,3 ; @HOSTS
l_.str.1: ; @.str.1
.space 1
.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 encode_utf8
LCPI0_0:
.byte 240 ## 0xf0
.byte 128 ## 0x80
.byte 128 ## 0x80
.byte 128 ## 0x80
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_encode_utf8: ## @encode_utf8
.cfi_startproc
## %bb.0:
cmpl $127, %esi
ja LBB0_2
## %bb.1:
movb %sil, (%rdi)
movl $1, %eax
retq
LBB0_2:
cmpl $2047, %esi ## imm = 0x7FF
ja LBB0_4
## %bb.3:
movl %esi, %eax
shrl $6, %eax
orb $-64, %al
movb %al, (%rdi)
orb $-65, %sil
movb %sil, 1(%rdi)
movl $2, %eax
retq
LBB0_4:
cmpl $65535, %esi ## imm = 0xFFFF
ja LBB0_6
## %bb.5:
movl %esi, %eax
shrl $12, %eax
orb $-32, %al
movb %al, (%rdi)
movl %esi, %eax
shrl $6, %eax
andb $63, %al
orb $-128, %al
movb %al, 1(%rdi)
andb $63, %sil
orb $-128, %sil
movb %sil, 2(%rdi)
movl $3, %eax
retq
LBB0_6:
cmpl $1114111, %esi ## imm = 0x10FFFF
ja LBB0_7
## %bb.9:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %esi, %eax
shrl $18, %eax
movl %esi, %ecx
shrl $12, %ecx
andb $63, %cl
movl %esi, %edx
shrl $6, %edx
movd %eax, %xmm0
movzbl %cl, %eax
pinsrb $1, %eax, %xmm0
andb $63, %dl
movzbl %dl, %eax
pinsrb $2, %eax, %xmm0
andb $63, %sil
movzbl %sil, %eax
pinsrb $3, %eax, %xmm0
por LCPI0_0(%rip), %xmm0
movd %xmm0, (%rdi)
movl $4, %eax
popq %rbp
retq
LBB0_7:
xorl %eax, %eax
retq
.cfi_endproc
## -- End function
.no_dead_strip _encode_utf8
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function encode_utf8
_encode_utf8: ; @encode_utf8
.cfi_startproc
; %bb.0:
cmp w1, #127
b.hi LBB0_2
; %bb.1:
strb w1, [x0]
mov w0, #1 ; =0x1
ret
LBB0_2:
cmp w1, #2047
b.hi LBB0_4
; %bb.3:
lsr w8, w1, #6
orr w8, w8, #0xc0
strb w8, [x0]
orr w8, w1, #0xffffffbf
strb w8, [x0, #1]
mov w0, #2 ; =0x2
ret
LBB0_4:
lsr w8, w1, #16
cbnz w8, LBB0_6
; %bb.5:
lsr w8, w1, #12
orr w8, w8, #0xe0
strb w8, [x0]
mov w8, #128 ; =0x80
mov w9, #128 ; =0x80
bfxil w9, w1, #6, #6
strb w9, [x0, #1]
bfxil w8, w1, #0, #6
strb w8, [x0, #2]
mov w0, #3 ; =0x3
ret
LBB0_6:
cmp w8, #16
b.hi LBB0_8
; %bb.7:
lsr w8, w1, #18
orr w8, w8, #0xf0
strb w8, [x0]
mov w8, #128 ; =0x80
mov w9, #128 ; =0x80
bfxil w9, w1, #12, #6
strb w9, [x0, #1]
mov w9, #128 ; =0x80
bfxil w9, w1, #6, #6
strb w9, [x0, #2]
bfxil w8, w1, #0, #6
strb w8, [x0, #3]
mov w0, #4 ; =0x4
ret
LBB0_8:
mov x0, #0 ; =0x0
ret
.cfi_endproc
; -- End function
.no_dead_strip _encode_utf8
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _arg_free ## -- Begin function arg_free
.p2align 4, 0x90
_arg_free: ## @arg_free
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
xorl %eax, %eax
movq _ARG_TERMINATOR@GOTPCREL(%rip), %r14
## implicit-def: $r15d
jmp LBB0_1
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movl (%r14), %ecx
orl %r15d, %ecx
jne LBB0_4
LBB0_1: ## =>This Inner Loop Header: Depth=1
movslq %eax, %r12
movq (%rbx,%r12,8), %rdi
testq %rdi, %rdi
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl (%rdi), %r15d
callq _free
leal 1(%r12), %eax
movq $0, (%rbx,%r12,8)
jmp LBB0_3
LBB0_4:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ARG_TERMINATOR,4,2 ## @ARG_TERMINATOR
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _arg_free ; -- Begin function arg_free
.p2align 2
_arg_free: ; @arg_free
.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
mov w20, #0 ; =0x0
Lloh0:
adrp x21, _ARG_TERMINATOR@GOTPAGE
Lloh1:
ldr x21, [x21, _ARG_TERMINATOR@GOTPAGEOFF]
; implicit-def: $w22
b LBB0_2
LBB0_1: ; in Loop: Header=BB0_2 Depth=1
ldr w8, [x21]
orr w8, w8, w22
cbnz w8, LBB0_4
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x0, [x19, w20, sxtw #3]
cbz x0, LBB0_1
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
ldr w22, [x0]
bl _free
str xzr, [x19, w20, sxtw #3]
add w8, w20, #1
mov x20, x8
b LBB0_1
LBB0_4:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _ARG_TERMINATOR,4,2 ; @ARG_TERMINATOR
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function ip175c_dot1q_vlan_setup
_ip175c_dot1q_vlan_setup: ## @ip175c_dot1q_vlan_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
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 ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _IP17X_MAX_VLANS@GOTPCREL(%rip), %r13
movl (%r13), %r15d
leaq (,%r15,4), %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r14
xorl %edi, %edi
cmpl $5, (%rbx)
sete %dil
leaq L_.str(%rip), %rsi
callq _KASSERT
xorl %edi, %edi
cmpl $6, 4(%rbx)
sete %dil
leaq L_.str.1(%rip), %rsi
callq _KASSERT
movq _IP175X_CPU_PORT@GOTPCREL(%rip), %r12
movl (%r12), %ecx
movl $-2, %eax
roll %cl, %eax
movl 8(%rbx), %edx
movl 12(%rbx), %esi
orl %edx, %eax
shll $11, %eax
movl %esi, %edi
btrl %ecx, %edi
shll $6, %edi
orl %eax, %edi
leal 2(%rdi), %r8d
btl %ecx, %edx
cmovael %edi, %r8d
xorl %eax, %eax
btl %ecx, %esi
setb %al
orl %r8d, %eax
movl 24(%rbx), %edi
movl $29, %esi
movl $23, %edx
movl %eax, %ecx
callq _ip17x_writephy
testq %rax, %rax
jne LBB0_2
## %bb.1:
movl 24(%rbx), %edi
movl $30, %esi
movl $9, %edx
movl $112, %ecx
xorl %r8d, %r8d
callq _ip17x_updatephy
testq %rax, %rax
je LBB0_5
LBB0_2:
movl $-1, %eax
LBB0_3:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_21
## %bb.4:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_5:
shll $2, %r15d
movq %r14, %rdi
xorl %esi, %esi
movl %r15d, %edx
callq _memset
movl (%r13), %eax
testl %eax, %eax
jle LBB0_13
## %bb.6:
movq 32(%rbx), %rcx
movq _ETHERSWITCH_VID_VALID@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
movl (%rcx), %esi
testl %esi, %edx
je LBB0_9
## %bb.7:
movq _ETHERSWITCH_VID_MASK@GOTPCREL(%rip), %rdi
movq (%rdi), %rdi
addq $4, %rcx
.p2align 4, 0x90
LBB0_8: ## =>This Inner Loop Header: Depth=1
movl (%rcx), %r8d
movslq %esi, %rsi
andq %rdi, %rsi
movl %r8d, (%r14,%rsi,4)
movl -12(%rcx), %esi
addq $-8, %rcx
testl %esi, %edx
jne LBB0_8
LBB0_9:
cmpl $1, %eax
je LBB0_13
## %bb.10:
xorl %r15d, %r15d
.p2align 4, 0x90
LBB0_11: ## =>This Inner Loop Header: Depth=1
leal 1(%r15), %edx
movl (%r14,%r15,8), %eax
movl 4(%r14,%r15,8), %ecx
andl $63, %eax
andl $63, %ecx
shll $8, %ecx
orl %eax, %ecx
movl 24(%rbx), %edi
movl $30, %esi
callq _ip17x_writephy
testq %rax, %rax
jne LBB0_2
## %bb.12: ## in Loop: Header=BB0_11 Depth=1
movl (%r13), %eax
movl %eax, %ecx
shrl $31, %ecx
addl %eax, %ecx
sarl %ecx
incq %r15
cmpl %ecx, %r15d
jl LBB0_11
LBB0_13:
cmpl $0, 4(%rbx)
movl $0, %eax
jle LBB0_3
## %bb.14:
xorl %r14d, %r14d
.p2align 4, 0x90
LBB0_18: ## =>This Inner Loop Header: Depth=1
movl (%r12), %eax
movl 24(%rbx), %edi
movq 16(%rbx), %rcx
movl (%rcx,%r14,4), %ecx
cmpq %rax, %r14
jne LBB0_15
## %bb.19: ## in Loop: Header=BB0_18 Depth=1
movl $29, %esi
movl $30, %edx
jmp LBB0_16
.p2align 4, 0x90
LBB0_15: ## in Loop: Header=BB0_18 Depth=1
leal 24(%r14), %edx
movl $29, %esi
LBB0_16: ## in Loop: Header=BB0_18 Depth=1
callq _ip17x_writephy
testq %rax, %rax
jne LBB0_2
## %bb.17: ## in Loop: Header=BB0_18 Depth=1
incq %r14
movslq 4(%rbx), %rax
cmpq %rax, %r14
jl LBB0_18
## %bb.20:
xorl %eax, %eax
jmp LBB0_3
LBB0_21:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _IP17X_MAX_VLANS,4,2 ## @IP17X_MAX_VLANS
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "cpuport != 5 not supported for IP175C"
L_.str.1: ## @.str.1
.asciz "numports != 6 not supported for IP175C"
.comm _IP175X_CPU_PORT,4,2 ## @IP175X_CPU_PORT
.comm _ETHERSWITCH_VID_VALID,4,2 ## @ETHERSWITCH_VID_VALID
.comm _ETHERSWITCH_VID_MASK,8,3 ## @ETHERSWITCH_VID_MASK
.no_dead_strip _ip175c_dot1q_vlan_setup
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function ip175c_dot1q_vlan_setup
_ip175c_dot1q_vlan_setup: ; @ip175c_dot1q_vlan_setup
.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
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
mov x19, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-56]
Lloh3:
adrp x23, _IP17X_MAX_VLANS@GOTPAGE
Lloh4:
ldr x23, [x23, _IP17X_MAX_VLANS@GOTPAGEOFF]
ldr w21, [x23]
lsl x8, x21, #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 x20, x9, x8
mov sp, x20
ldr w8, [x0]
cmp w8, #5
cset w0, eq
Lloh7:
adrp x1, l_.str@PAGE
Lloh8:
add x1, x1, l_.str@PAGEOFF
bl _KASSERT
ldr w8, [x19, #4]
cmp w8, #6
cset w0, eq
Lloh9:
adrp x1, l_.str.1@PAGE
Lloh10:
add x1, x1, l_.str.1@PAGEOFF
bl _KASSERT
Lloh11:
adrp x22, _IP175X_CPU_PORT@GOTPAGE
Lloh12:
ldr x22, [x22, _IP175X_CPU_PORT@GOTPAGEOFF]
ldr w8, [x22]
mov w9, #1 ; =0x1
lsl w9, w9, w8
ldp w10, w11, [x19, #8]
orn w12, w10, w9
lsl w12, w12, #11
bic w13, w11, w9
orr w12, w12, w13, lsl #6
orr w13, w12, #0x2
tst w9, w10
csel w3, w12, w13, eq
lsr w8, w11, w8
bfxil w3, w8, #0, #1
ldr w0, [x19, #24]
mov w1, #29 ; =0x1d
mov w2, #23 ; =0x17
bl _ip17x_writephy
cbnz x0, LBB0_2
; %bb.1:
ldr w0, [x19, #24]
mov w1, #30 ; =0x1e
mov w2, #9 ; =0x9
mov w3, #112 ; =0x70
mov w4, #0 ; =0x0
bl _ip17x_updatephy
cbz x0, LBB0_5
LBB0_2:
mov w0, #-1 ; =0xffffffff
LBB0_3:
ldur x8, [x29, #-56]
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_20
; %bb.4:
sub sp, x29, #48
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
LBB0_5:
lsl w2, w21, #2
mov x0, x20
mov w1, #0 ; =0x0
bl _memset
ldr w8, [x23]
cmp w8, #1
b.lt LBB0_13
; %bb.6:
ldr x12, [x19, #32]
Lloh16:
adrp x9, _ETHERSWITCH_VID_VALID@GOTPAGE
Lloh17:
ldr x9, [x9, _ETHERSWITCH_VID_VALID@GOTPAGEOFF]
Lloh18:
ldr w9, [x9]
ldr w10, [x12]
tst w9, w10
b.eq LBB0_9
; %bb.7:
Lloh19:
adrp x11, _ETHERSWITCH_VID_MASK@GOTPAGE
Lloh20:
ldr x11, [x11, _ETHERSWITCH_VID_MASK@GOTPAGEOFF]
Lloh21:
ldr x11, [x11]
add x12, x12, #4
LBB0_8: ; =>This Inner Loop Header: Depth=1
ldr w13, [x12]
sxtw x10, w10
and x10, x11, x10
str w13, [x20, x10, lsl #2]
ldur w10, [x12, #-12]
sub x12, x12, #8
and w13, w9, w10
cbnz w13, LBB0_8
LBB0_9:
cmp w8, #1
b.eq LBB0_13
; %bb.10:
mov w21, #0 ; =0x0
add x20, x20, #4
LBB0_11: ; =>This Inner Loop Header: Depth=1
add w21, w21, #1
ldp w9, w8, [x20, #-4]
and w3, w9, #0x3f
bfi w3, w8, #8, #6
ldr w0, [x19, #24]
mov w1, #30 ; =0x1e
mov x2, x21
bl _ip17x_writephy
cbnz x0, LBB0_2
; %bb.12: ; in Loop: Header=BB0_11 Depth=1
add x20, x20, #8
ldr w8, [x23]
add w8, w8, w8, lsr #31
cmp w21, w8, asr #1
b.lt LBB0_11
LBB0_13:
ldr w8, [x19, #4]
cmp w8, #1
b.lt LBB0_19
; %bb.14:
mov x20, #0 ; =0x0
b LBB0_17
LBB0_15: ; in Loop: Header=BB0_17 Depth=1
add w2, w20, #24
mov w1, #29 ; =0x1d
bl _ip17x_writephy
cbnz x0, LBB0_2
LBB0_16: ; in Loop: Header=BB0_17 Depth=1
add x20, x20, #1
ldrsw x8, [x19, #4]
cmp x20, x8
b.ge LBB0_19
LBB0_17: ; =>This Inner Loop Header: Depth=1
ldr w8, [x22]
ldr w0, [x19, #24]
ldr x9, [x19, #16]
ldr w3, [x9, x20, lsl #2]
cmp x20, x8
b.ne LBB0_15
; %bb.18: ; in Loop: Header=BB0_17 Depth=1
mov w1, #29 ; =0x1d
mov w2, #30 ; =0x1e
bl _ip17x_writephy
cbz x0, LBB0_16
b LBB0_2
LBB0_19:
mov w0, #0 ; =0x0
b LBB0_3
LBB0_20:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGot Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _IP17X_MAX_VLANS,4,2 ; @IP17X_MAX_VLANS
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "cpuport != 5 not supported for IP175C"
l_.str.1: ; @.str.1
.asciz "numports != 6 not supported for IP175C"
.comm _IP175X_CPU_PORT,4,2 ; @IP175X_CPU_PORT
.comm _ETHERSWITCH_VID_VALID,4,2 ; @ETHERSWITCH_VID_VALID
.comm _ETHERSWITCH_VID_MASK,8,3 ; @ETHERSWITCH_VID_MASK
.no_dead_strip _ip175c_dot1q_vlan_setup
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _crypto_init_ptrs ## -- Begin function crypto_init_ptrs
.p2align 4, 0x90
_crypto_init_ptrs: ## @crypto_init_ptrs
.cfi_startproc
## %bb.0:
movl (%rdi), %eax
cmpl $128, %eax
je LBB0_4
## %bb.1:
cmpl $129, %eax
jne LBB0_3
## %bb.2:
movl 4(%rdi), %eax
movl %eax, (%rdx)
LBB0_3:
retq
LBB0_4:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq 8(%rdi), %rcx
movl 4(%rdi), %eax
cmpq $0, (%rcx)
je LBB0_7
## %bb.5:
movq 8(%rcx), %rcx
movl %eax, %edi
subl (%rcx), %edi
jge LBB0_8
LBB0_7:
xorl %ecx, %ecx
jmp LBB0_9
LBB0_8:
movq $-1, %rcx
movl %edi, %eax
LBB0_9:
movl %eax, (%rdx)
movq %rcx, (%rsi)
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 _crypto_init_ptrs ; -- Begin function crypto_init_ptrs
.p2align 2
_crypto_init_ptrs: ; @crypto_init_ptrs
.cfi_startproc
; %bb.0:
ldr w8, [x0]
cmp w8, #128
b.eq LBB0_4
; %bb.1:
cmp w8, #129
b.ne LBB0_3
; %bb.2:
ldr w8, [x0, #4]
str w8, [x2]
LBB0_3:
ret
LBB0_4:
ldr x9, [x0, #8]
ldr w8, [x0, #4]
ldr x10, [x9]
cbz x10, LBB0_6
; %bb.5:
ldr x9, [x9, #8]
ldr w9, [x9]
subs w10, w8, w9
b.ge LBB0_7
LBB0_6:
mov x9, #0 ; =0x0
b LBB0_8
LBB0_7:
mov x9, #-1 ; =0xffffffffffffffff
mov x8, x10
LBB0_8:
str w8, [x2]
str x9, [x1]
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 Xz_Compress
_Xz_Compress: ## @Xz_Compress
.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 $1128, %rsp ## imm = 0x468
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r9, -1152(%rbp) ## 8-byte Spill
movq %r8, %r13
movq %rcx, -1144(%rbp) ## 8-byte Spill
movq %rdx, %rbx
movq %rsi, %r12
movq %rdi, %r14
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq 16(%r8), %rax
movq %rax, (%rdi)
movl 32(%rsi), %edi
movl 8(%r8), %esi
callq _Lzma2Enc_SetProps
movl %eax, %edi
callq _RINOK
movq (%r14), %rdi
movq %rbx, %rsi
callq _Xz_WriteHeader
movl %eax, %edi
callq _RINOK
movq (%r13), %r15
leaq -1136(%rbp), %r13
movq %r13, %rdi
callq _XzBlock_ClearFlags
xorl %esi, %esi
testq %r15, %r15
sete %sil
movq %r13, %rdi
callq _XzBlock_SetNumFilters
testq %r15, %r15
movq %rbx, -1168(%rbp) ## 8-byte Spill
movq %r14, -1160(%rbp) ## 8-byte Spill
je LBB0_1
## %bb.2:
movq -1120(%rbp), %r13
movq (%r15), %rax
movq %rax, (%r13)
movl $0, 8(%r13)
movq _XZ_ID_Delta@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_4
## %bb.3:
movslq 8(%r15), %rax
decq %rax
movq 16(%r13), %rcx
movq %rax, (%rcx)
movl $1, %eax
jmp LBB0_6
LBB0_1:
xorl %r13d, %r13d
xorl %eax, %eax
jmp LBB0_8
LBB0_4:
cmpq $0, 16(%r15)
je LBB0_7
## %bb.5:
movq 16(%r13), %rdi
movl 12(%r15), %esi
callq _SetUi32
movl $4, %eax
LBB0_6:
movl %eax, 8(%r13)
LBB0_7:
movq $-1, %rax
LBB0_8:
movq -1120(%rbp), %rbx
leaq (%rax,%rax,2), %r14
movq _XZ_ID_LZMA2@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, (%rbx,%r14,8)
movl $1, 8(%rbx,%r14,8)
movl 32(%r12), %edi
callq _Lzma2Enc_WriteProperties
movq 16(%rbx,%r14,8), %rcx
movq %rax, (%rcx)
movq _MyWrite@GOTPCREL(%rip), %rax
movl (%rax), %eax
leaq -1104(%rbp), %rsi
movl %eax, -1104(%rbp)
movq -1168(%rbp), %rbx ## 8-byte Reload
movq %rbx, -1096(%rbp)
movq $0, -1112(%rbp)
leaq -1136(%rbp), %rdi
callq _XzBlock_WriteHeader
movl %eax, %edi
callq _RINOK
movq _SeqCheckInStream_Read@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -1084(%rbp)
movq -1144(%rbp), %rax ## 8-byte Reload
movq %rax, -1080(%rbp)
movq -1160(%rbp), %r14 ## 8-byte Reload
movq (%r14), %rdi
callq _XzFlags_GetCheckType
leaq -1088(%rbp), %rdi
movl %eax, %esi
callq _SeqCheckInStream_Init
leaq -1084(%rbp), %rdx
testq %r15, %r15
je LBB0_10
## %bb.9:
movq %rdx, 8(%r12)
movq %r12, %rdi
movq %r13, %rsi
callq _SeqInFilter_Init
movl %eax, %edi
callq _RINOK
movq %r12, %rdx
LBB0_10:
movq -1112(%rbp), %r15
movl 32(%r12), %edi
leaq -1104(%rbp), %r13
movq %r13, %rsi
movq -1152(%rbp), %rcx ## 8-byte Reload
callq _Lzma2Enc_Encode
movl %eax, %edi
callq _RINOK
movl -1088(%rbp), %eax
movl %eax, -1136(%rbp)
movq -1112(%rbp), %rax
movq %rax, %r12
subq %r15, %r12
movq %r12, -1128(%rbp)
testb $3, %r12b
je LBB0_11
## %bb.12:
notl %eax
addl %eax, %r15d
andl $3, %r15d
leaq 8(,%r15,8), %rsi
leaq -1072(%rbp), %rdi
callq ___bzero
leal 1(%r12), %eax
testb $3, %al
je LBB0_13
## %bb.14:
andl $3, %r12d
xorl %r15d, %r15d
cmpl $2, %r12d
sete %r15b
xorq $3, %r15
jmp LBB0_15
LBB0_11:
xorl %r15d, %r15d
jmp LBB0_15
LBB0_13:
movl $1, %r15d
LBB0_15:
leaq -1072(,%r15,8), %rsi
addq %rbp, %rsi
leaq -1088(%rbp), %rdi
callq _SeqCheckInStream_GetDigest
movq (%r14), %rdi
callq _XzFlags_GetCheckSize
leaq (%rax,%r15), %rdx
leaq -1072(%rbp), %rsi
movq %r13, %rdi
callq _WriteBytes
movl %eax, %edi
callq _RINOK
movl -1136(%rbp), %esi
movq -1112(%rbp), %rdx
subq %r15, %rdx
movq _g_Alloc@GOTPCREL(%rip), %rcx
movq %r14, %rdi
callq _Xz_AddIndexRecord
movl %eax, %edi
callq _RINOK
movq %r14, %rdi
movq %rbx, %rsi
callq _Xz_WriteFooter
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_17
## %bb.16:
addq $1128, %rsp ## imm = 0x468
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_17:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _XZ_ID_Delta,8,3 ## @XZ_ID_Delta
.comm _XZ_ID_LZMA2,8,3 ## @XZ_ID_LZMA2
.comm _MyWrite,4,2 ## @MyWrite
.comm _SeqCheckInStream_Read,4,2 ## @SeqCheckInStream_Read
.comm _g_Alloc,4,2 ## @g_Alloc
.comm _XZ_ID_Subblock,8,3 ## @XZ_ID_Subblock
.no_dead_strip _Xz_Compress
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function Xz_Compress
_Xz_Compress: ; @Xz_Compress
.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, #1104
.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 x24, x4
mov x23, x3
mov x19, x2
mov x22, 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, #-88]
ldr x8, [x4, #16]
str x8, [x0]
ldr w0, [x1, #32]
ldr w1, [x4, #8]
bl _Lzma2Enc_SetProps
bl _RINOK
ldr x0, [x20]
mov x1, x19
bl _Xz_WriteHeader
bl _RINOK
ldr x26, [x24]
add x0, sp, #8
bl _XzBlock_ClearFlags
cmp x26, #0
cset w1, eq
add x0, sp, #8
bl _XzBlock_SetNumFilters
cbz x26, LBB0_3
; %bb.1:
ldr x24, [sp, #24]
ldr x8, [x26]
str x8, [x24]
str wzr, [x24, #8]
Lloh3:
adrp x9, _XZ_ID_Delta@GOTPAGE
Lloh4:
ldr x9, [x9, _XZ_ID_Delta@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_4
; %bb.2:
ldrsw x8, [x26, #8]
sub x8, x8, #1
ldr x9, [x24, #16]
str x8, [x9]
mov w8, #1 ; =0x1
b LBB0_6
LBB0_3:
mov x24, #0 ; =0x0
mov x8, #0 ; =0x0
b LBB0_8
LBB0_4:
ldr x8, [x26, #16]
cbz x8, LBB0_7
; %bb.5:
ldr x0, [x24, #16]
ldr w1, [x26, #12]
bl _SetUi32
mov w8, #4 ; =0x4
LBB0_6:
str w8, [x24, #8]
LBB0_7:
mov x8, #-1 ; =0xffffffffffffffff
LBB0_8:
ldr x9, [sp, #24]
mov w10, #24 ; =0x18
Lloh6:
adrp x11, _XZ_ID_LZMA2@GOTPAGE
Lloh7:
ldr x11, [x11, _XZ_ID_LZMA2@GOTPAGEOFF]
smaddl x25, w8, w10, x9
Lloh8:
ldr x8, [x11]
str x8, [x25]
mov w8, #1 ; =0x1
str w8, [x25, #8]
ldr w0, [x22, #32]
bl _Lzma2Enc_WriteProperties
ldr x8, [x25, #16]
Lloh9:
adrp x9, _MyWrite@GOTPAGE
Lloh10:
ldr x9, [x9, _MyWrite@GOTPAGEOFF]
str x0, [x8]
Lloh11:
ldr w8, [x9]
add x27, sp, #32
str w8, [sp, #40]
str x19, [sp, #48]
str xzr, [sp, #32]
add x0, sp, #8
add x1, x27, #8
bl _XzBlock_WriteHeader
bl _RINOK
Lloh12:
adrp x8, _SeqCheckInStream_Read@GOTPAGE
Lloh13:
ldr x8, [x8, _SeqCheckInStream_Read@GOTPAGEOFF]
Lloh14:
ldr w8, [x8]
add x9, sp, #56
orr x25, x9, #0x4
str w8, [sp, #60]
str x23, [sp, #64]
ldr x0, [x20]
bl _XzFlags_GetCheckType
mov x1, x0
add x0, sp, #56
bl _SeqCheckInStream_Init
cbz x26, LBB0_10
; %bb.9:
str x25, [x22, #8]
mov x0, x22
mov x1, x24
bl _SeqInFilter_Init
bl _RINOK
mov x25, x22
LBB0_10:
ldr x23, [sp, #32]
ldr w0, [x22, #32]
add x1, x27, #8
mov x2, x25
mov x3, x21
bl _Lzma2Enc_Encode
bl _RINOK
ldr w8, [sp, #56]
str w8, [sp, #8]
ldr x8, [sp, #32]
sub x9, x8, x23
str x9, [sp, #16]
tst x9, #0x3
b.eq LBB0_12
; %bb.11:
mvn w8, w8
add w8, w23, w8
and x21, x8, #0x3
lsl x8, x21, #3
add x0, sp, #72
add x1, x8, #8
bl _bzero
add x21, x21, #1
b LBB0_13
LBB0_12:
mov x21, #0 ; =0x0
LBB0_13:
add x8, sp, #72
add x1, x8, x21, lsl #3
add x0, sp, #56
bl _SeqCheckInStream_GetDigest
ldr x0, [x20]
bl _XzFlags_GetCheckSize
mov x8, x0
add x0, x27, #8
add x1, sp, #72
add x2, x8, x21
bl _WriteBytes
bl _RINOK
ldr w1, [sp, #8]
ldr x8, [sp, #32]
sub x2, x8, x21
Lloh15:
adrp x3, _g_Alloc@GOTPAGE
Lloh16:
ldr x3, [x3, _g_Alloc@GOTPAGEOFF]
mov x0, x20
bl _Xz_AddIndexRecord
bl _RINOK
mov x0, x20
mov x1, x19
bl _Xz_WriteFooter
ldur x8, [x29, #-88]
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_15
; %bb.14:
add sp, sp, #1104
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_15:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGot Lloh15, Lloh16
.cfi_endproc
; -- End function
.comm _XZ_ID_Delta,8,3 ; @XZ_ID_Delta
.comm _XZ_ID_LZMA2,8,3 ; @XZ_ID_LZMA2
.comm _MyWrite,4,2 ; @MyWrite
.comm _SeqCheckInStream_Read,4,2 ; @SeqCheckInStream_Read
.comm _g_Alloc,4,2 ; @g_Alloc
.comm _XZ_ID_Subblock,8,3 ; @XZ_ID_Subblock
.no_dead_strip _Xz_Compress
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function getCHARS
_getCHARS: ## @getCHARS
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl (%rsi), %eax
leal 7(%rax), %r12d
testl %eax, %eax
cmovnsl %eax, %r12d
cmpl %ecx, %edx
jge LBB0_1
## %bb.2:
movl %edx, %ebx
movq %rdi, %r14
sarl $3, %r12d
testl %edx, %edx
jne LBB0_4
## %bb.3:
movslq %r12d, %rcx
incl %r12d
movzbl (%r14,%rcx), %ebx
addl $8, %eax
LBB0_4:
leal (%rax,%rbx,8), %eax
movl %eax, (%rsi)
leal -1(%rbx), %edi
movl $1, %esi
callq _xcalloc
movq %rax, %r15
movslq %r12d, %rax
addq %rax, %r14
movq %r15, %rdi
movq %r14, %rsi
movl %ebx, %edx
callq _memcpy
movq %r15, %rax
movslq %ebx, %rcx
movb $0, (%r15,%rcx)
jmp LBB0_5
LBB0_1:
leaq L_.str(%rip), %rax
LBB0_5:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "*undefined*"
.no_dead_strip _getCHARS
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function getCHARS
_getCHARS: ; @getCHARS
.cfi_startproc
; %bb.0:
ldr w8, [x1]
add w9, w8, #7
cmp w8, #0
csel w9, w9, w8, lt
cmp w2, w3
b.ge 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, x0
asr w22, w9, #3
cbnz w2, LBB0_3
; %bb.2:
ldrb w2, [x19, w22, sxtw]
add w22, w22, #1
add w8, w8, #8
LBB0_3:
add w8, w8, w2, lsl #3
str w8, [x1]
sub w0, w2, #1
mov w1, #1 ; =0x1
mov x20, x2
bl _xcalloc
mov x21, x0
add x1, x19, w22, sxtw
mov x2, x20
bl _memcpy
mov x0, x21
strb wzr, [x21, w20, sxtw]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_4:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "*undefined*"
.no_dead_strip _getCHARS
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _res1_class ## -- Begin function res1_class
.p2align 4, 0x90
_res1_class: ## @res1_class
.cfi_startproc
## %bb.0:
## kill: def $r8d killed $r8d def $r8
testl %r8d, %r8d
js LBB0_15
## %bb.1:
leal 1(%r8), %r9d
testl %r8d, %r8d
je LBB0_2
## %bb.8:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
.cfi_offset %rbx, -24
movl %r9d, %r10d
andl $-2, %r10d
xorl %r8d, %r8d
xorl %eax, %eax
jmp LBB0_9
.p2align 4, 0x90
LBB0_13: ## in Loop: Header=BB0_9 Depth=1
addq $2, %r8
cmpq %r8, %r10
je LBB0_14
LBB0_9: ## =>This Inner Loop Header: Depth=1
cmpl $0, (%rcx,%r8,4)
je LBB0_11
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
movq (%rdx,%r8,8), %r11
movslq %eax, %rbx
incl %eax
movq %r11, (%rdx,%rbx,8)
LBB0_11: ## in Loop: Header=BB0_9 Depth=1
cmpl $0, 4(%rcx,%r8,4)
je LBB0_13
## %bb.12: ## in Loop: Header=BB0_9 Depth=1
movq 8(%rdx,%r8,8), %r11
movslq %eax, %rbx
incl %eax
movq %r11, (%rdx,%rbx,8)
jmp LBB0_13
LBB0_14:
popq %rbx
popq %rbp
testb $1, %r9b
jne LBB0_4
jmp LBB0_6
LBB0_2:
xorl %r8d, %r8d
xorl %eax, %eax
testb $1, %r9b
je LBB0_6
LBB0_4:
cmpl $0, (%rcx,%r8,4)
je LBB0_6
## %bb.5:
movq (%rdx,%r8,8), %rcx
movslq %eax, %r8
incl %eax
movq %rcx, (%rdx,%r8,8)
LBB0_6:
testl %eax, %eax
je LBB0_15
## %bb.7:
movl %eax, %ecx
jmp __01class ## TAILCALL
LBB0_15:
xorl %eax, %eax
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _res1_class ; -- Begin function res1_class
.p2align 2
_res1_class: ; @res1_class
.cfi_startproc
; %bb.0:
tbnz w4, #31, LBB0_7
; %bb.1:
mov x9, #0 ; =0x0
mov w8, #0 ; =0x0
add w10, w4, #1
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x9, x9, #1
cmp x10, x9
b.eq LBB0_5
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr w11, [x3, x9, lsl #2]
cbz w11, LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
ldr x11, [x2, x9, lsl #3]
str x11, [x2, w8, sxtw #3]
add w8, w8, #1
b LBB0_2
LBB0_5:
cbz w8, LBB0_7
; %bb.6:
mov x3, x8
b __01class
LBB0_7:
mov x0, #0 ; =0x0
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _thread_stack__sample ## -- Begin function thread_stack__sample
.p2align 4, 0x90
_thread_stack__sample: ## @thread_stack__sample
.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 %r9, %r14
movq %r8, %rbx
movq %rcx, %r13
movq %rdx, %r15
callq _thread__stack
movq %rax, %r12
movq %rbx, %rdi
movq %r14, -72(%rbp) ## 8-byte Spill
movq %r14, %rsi
callq _callchain_context
xorl %r14d, %r14d
cmpq $2, %r13
jb LBB0_12
## %bb.1:
movq %rax, %rsi
movq 8(%r15), %rax
movq %rsi, (%rax)
movq %rbx, 8(%rax)
testq %r12, %r12
sete %al
cmpq $2, %r13
sete %cl
orb %al, %cl
movl $2, %r14d
jne LBB0_12
## %bb.2:
movq %r15, -48(%rbp) ## 8-byte Spill
leaq -1(%r13), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
movl $2, %r14d
movl $1, %r15d
movq %r12, -56(%rbp) ## 8-byte Spill
jmp LBB0_3
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_3 Depth=1
movq -48(%rbp), %rax ## 8-byte Reload
movq 8(%rax), %rcx
LBB0_9: ## in Loop: Header=BB0_3 Depth=1
movq -56(%rbp), %r12 ## 8-byte Reload
movq %rbx, (%rcx,%r14,8)
LBB0_10: ## in Loop: Header=BB0_3 Depth=1
decq %r14
incq %r15
cmpq %r13, %r14
jae LBB0_11
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq (%r12), %rax
cmpq %rax, %r15
ja LBB0_11
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
shlq $3, %rax
addq 8(%r12), %rax
movq (%rax,%r15,8), %rbx
movq %rbx, %rdi
movq %rsi, %r12
movq -72(%rbp), %rsi ## 8-byte Reload
callq _callchain_context
movq %r12, %rsi
cmpq %r12, %rax
je LBB0_5
## %bb.6: ## in Loop: Header=BB0_3 Depth=1
cmpq -64(%rbp), %r14 ## 8-byte Folded Reload
jae LBB0_7
## %bb.8: ## in Loop: Header=BB0_3 Depth=1
movq -48(%rbp), %rcx ## 8-byte Reload
movq 8(%rcx), %rcx
movq %rax, (%rcx,%r14,8)
incq %r14
movq %rax, %rsi
jmp LBB0_9
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_3 Depth=1
movq -56(%rbp), %r12 ## 8-byte Reload
jmp LBB0_10
LBB0_11:
movq -48(%rbp), %r15 ## 8-byte Reload
LBB0_12:
movl %r14d, (%r15)
addq $40, %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 _thread_stack__sample ; -- Begin function thread_stack__sample
.p2align 2
_thread_stack__sample: ; @thread_stack__sample
.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, x5
mov x24, x4
mov x21, x3
mov x19, x2
bl _thread__stack
mov x22, x0
mov x0, x24
mov x1, x20
bl _callchain_context
cmp x21, #2
b.hs LBB0_3
; %bb.1:
mov w25, #0 ; =0x0
LBB0_2:
str w25, [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
ret
LBB0_3:
mov x23, x0
ldr x8, [x19, #8]
stp x0, x24, [x8]
mov w25, #2 ; =0x2
cbz x22, LBB0_2
; %bb.4:
cmp x21, #2
b.eq LBB0_2
; %bb.5:
sub x26, x21, #1
mov w25, #2 ; =0x2
mov w27, #1 ; =0x1
b LBB0_9
LBB0_6: ; in Loop: Header=BB0_9 Depth=1
ldr x8, [x19, #8]
LBB0_7: ; in Loop: Header=BB0_9 Depth=1
str x24, [x8, x25, lsl #3]
LBB0_8: ; in Loop: Header=BB0_9 Depth=1
sub x25, x25, #1
add x27, x27, #1
cmp x25, x21
b.hs LBB0_2
LBB0_9: ; =>This Inner Loop Header: Depth=1
ldr x8, [x22]
cmp x27, x8
b.hi LBB0_2
; %bb.10: ; in Loop: Header=BB0_9 Depth=1
ldr x9, [x22, #8]
add x8, x9, x8, lsl #3
ldr x24, [x8, x27, lsl #3]
mov x0, x24
mov x1, x20
bl _callchain_context
cmp x0, x23
b.eq LBB0_6
; %bb.11: ; in Loop: Header=BB0_9 Depth=1
cmp x25, x26
b.hs LBB0_8
; %bb.12: ; in Loop: Header=BB0_9 Depth=1
ldr x8, [x19, #8]
str x0, [x8, x25, lsl #3]
add x25, x25, #1
mov x23, x0
b LBB0_7
.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 get_writeback_formats
_get_writeback_formats: ## @get_writeback_formats
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %rbx
movq (%rdi), %rax
movq (%rax), %r14
movl (%r14), %edi
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl $4, %esi
callq _kcalloc
testq %rax, %rax
je LBB0_8
## %bb.1:
movl (%r14), %edi
testl %edi, %edi
js LBB0_2
## %bb.3:
movq 8(%r14), %rdx
movq _SE_MEMWRITE@GOTPCREL(%rip), %rsi
movl (%rsi), %r9d
xorl %ecx, %ecx
movq $-1, %r8
jmp LBB0_4
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_4 Depth=1
movslq %edi, %r10
incq %r8
cmpq %r10, %r8
jge LBB0_7
LBB0_4: ## =>This Inner Loop Header: Depth=1
movl 8(%rdx,%r8,8), %r10d
orl %r9d, %r10d
je LBB0_6
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movl 12(%rdx,%r8,8), %edi
movslq %ecx, %r9
incl %ecx
movl %edi, (%rax,%r9,4)
movl (%rsi), %r9d
movl (%r14), %edi
jmp LBB0_6
LBB0_2:
xorl %ecx, %ecx
LBB0_7:
movl %ecx, (%rbx)
LBB0_8:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _SE_MEMWRITE,4,2 ## @SE_MEMWRITE
.no_dead_strip _get_writeback_formats
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function get_writeback_formats
_get_writeback_formats: ; @get_writeback_formats
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
ldr x8, [x0]
ldr x20, [x8]
ldr w0, [x20]
Lloh0:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh1:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
mov w1, #4 ; =0x4
bl _kcalloc
cbz x0, LBB0_8
; %bb.1:
ldr w10, [x20]
tbnz w10, #31, LBB0_6
; %bb.2:
mov w9, #0 ; =0x0
ldr x11, [x20, #8]
Lloh3:
adrp x8, _SE_MEMWRITE@GOTPAGE
Lloh4:
ldr x8, [x8, _SE_MEMWRITE@GOTPAGEOFF]
ldr w13, [x8]
add x11, x11, #4
mov x12, #-1 ; =0xffffffffffffffff
b LBB0_4
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
add x12, x12, #1
add x11, x11, #8
cmp x12, w10, sxtw
b.ge LBB0_7
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldur w14, [x11, #-4]
orr w14, w13, w14
cbz w14, LBB0_3
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
ldr w10, [x11]
str w10, [x0, w9, sxtw #2]
add w9, w9, #1
ldr w13, [x8]
ldr w10, [x20]
b LBB0_3
LBB0_6:
mov w9, #0 ; =0x0
LBB0_7:
str w9, [x19]
LBB0_8:
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 AdrpLdrGot Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _SE_MEMWRITE,4,2 ; @SE_MEMWRITE
.no_dead_strip _get_writeback_formats
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function _getdewey
__getdewey: ## @_getdewey
.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, -48(%rbp)
movq _MAXDEWEY@GOTPCREL(%rip), %r12
cmpl $0, (%r12)
jle LBB0_1
## %bb.2:
movq %rdi, %r14
movl $1, %r13d
xorl %ebx, %ebx
leaq -48(%rbp), %r15
jmp LBB0_3
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_3 Depth=1
incq %rdi
movq %rdi, -48(%rbp)
LBB0_6: ## in Loop: Header=BB0_3 Depth=1
movq %r15, %rsi
movl $10, %edx
callq __bcs_strtol
movl %eax, (%r14,%rbx,4)
incq %rbx
decl %r13d
cmpl (%r12), %r13d
jg LBB0_7
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq -48(%rbp), %rdi
movzbl (%rdi), %eax
cmpl $46, %eax
je LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
testl %eax, %eax
jne LBB0_6
jmp LBB0_7
LBB0_1:
xorl %ebx, %ebx
LBB0_7:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MAXDEWEY,4,2 ## @MAXDEWEY
.no_dead_strip __getdewey
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function _getdewey
__getdewey: ; @_getdewey
.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
str x1, [sp, #8]
Lloh0:
adrp x20, _MAXDEWEY@GOTPAGE
Lloh1:
ldr x20, [x20, _MAXDEWEY@GOTPAGEOFF]
ldr w8, [x20]
cmp w8, #1
b.lt LBB0_7
; %bb.1:
mov x19, x0
mov x22, #0 ; =0x0
mov w21, #1 ; =0x1
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
add x0, x0, #1
str x0, [sp, #8]
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
add x1, sp, #8
mov w2, #10 ; =0xa
bl __bcs_strtol
mov x8, x0
add x0, x22, #1
str w8, [x19, x22, lsl #2]
ldr w8, [x20]
sub w21, w21, #1
mov x22, x0
cmp w21, w8
b.gt LBB0_8
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr x0, [sp, #8]
ldrb w8, [x0]
cmp w8, #46
b.eq LBB0_2
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
cbnz w8, LBB0_3
; %bb.6:
mov x0, x22
b LBB0_8
LBB0_7:
mov w0, #0 ; =0x0
LBB0_8:
; kill: def $w0 killed $w0 killed $x0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _MAXDEWEY,4,2 ; @MAXDEWEY
.no_dead_strip __getdewey
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function select_to_rpoll
_select_to_rpoll: ## @select_to_rpoll
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, -64(%rbp) ## 8-byte Spill
movq %rsi, -48(%rbp) ## 8-byte Spill
cmpl $0, (%rsi)
jle LBB0_1
## %bb.2:
movq %rcx, %r15
movq %rdi, %r13
movq %r8, -56(%rbp) ## 8-byte Spill
xorl %r12d, %r12d
movl $1, %r14d
jmp LBB0_3
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_3 Depth=1
movl %r14d, %edi
callq _fd_getd
movslq %r12d, %rcx
movl %eax, 4(%r13,%rcx,8)
leal 1(%rcx), %r12d
movl %ebx, (%r13,%rcx,8)
LBB0_13: ## in Loop: Header=BB0_3 Depth=1
movq -48(%rbp), %rax ## 8-byte Reload
cmpl (%rax), %r14d
jg LBB0_14
LBB0_3: ## =>This Inner Loop Header: Depth=1
decl %r14d
cmpq $0, -64(%rbp) ## 8-byte Folded Reload
jne LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
xorl %ebx, %ebx
movl %r14d, %edi
xorl %esi, %esi
callq _FD_ISSET
testq %rax, %rax
je LBB0_6
LBB0_5: ## in Loop: Header=BB0_3 Depth=1
movq _POLLIN@GOTPCREL(%rip), %rax
movl (%rax), %ebx
LBB0_6: ## in Loop: Header=BB0_3 Depth=1
testq %r15, %r15
je LBB0_9
## %bb.7: ## in Loop: Header=BB0_3 Depth=1
movl %r14d, %edi
movq %r15, %rsi
callq _FD_ISSET
testq %rax, %rax
je LBB0_9
## %bb.8: ## in Loop: Header=BB0_3 Depth=1
movq _POLLOUT@GOTPCREL(%rip), %rax
orl (%rax), %ebx
LBB0_9: ## in Loop: Header=BB0_3 Depth=1
testl %ebx, %ebx
jne LBB0_12
## %bb.10: ## in Loop: Header=BB0_3 Depth=1
movq -56(%rbp), %rsi ## 8-byte Reload
testq %rsi, %rsi
je LBB0_13
## %bb.11: ## in Loop: Header=BB0_3 Depth=1
movl %r14d, %edi
callq _FD_ISSET
testq %rax, %rax
jne LBB0_12
jmp LBB0_13
LBB0_1:
xorl %r12d, %r12d
LBB0_14:
movq -48(%rbp), %rax ## 8-byte Reload
movl %r12d, (%rax)
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _POLLIN,4,2 ## @POLLIN
.comm _POLLOUT,4,2 ## @POLLOUT
.no_dead_strip _select_to_rpoll
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function select_to_rpoll
_select_to_rpoll: ; @select_to_rpoll
.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
ldr w8, [x1]
cmp w8, #1
b.lt LBB0_13
; %bb.1:
mov x20, x4
mov x21, x3
mov x22, x2
mov x23, x0
mov w25, #0 ; =0x0
mov w24, #1 ; =0x1
Lloh0:
adrp x26, _POLLOUT@GOTPAGE
Lloh1:
ldr x26, [x26, _POLLOUT@GOTPAGEOFF]
Lloh2:
adrp x27, _POLLIN@GOTPAGE
Lloh3:
ldr x27, [x27, _POLLIN@GOTPAGEOFF]
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
mov x0, x24
bl _fd_getd
add x8, x23, w25, sxtw #3
add w25, w25, #1
stp w28, w0, [x8]
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [x19]
cmp w24, w8
b.gt LBB0_14
LBB0_4: ; =>This Inner Loop Header: Depth=1
sub w24, w24, #1
cbnz x22, LBB0_6
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
mov x0, x24
mov x1, #0 ; =0x0
bl _FD_ISSET
cbz x0, LBB0_12
LBB0_6: ; in Loop: Header=BB0_4 Depth=1
ldr w28, [x27]
cbz x21, LBB0_9
LBB0_7: ; in Loop: Header=BB0_4 Depth=1
mov x0, x24
mov x1, x21
bl _FD_ISSET
cbz x0, LBB0_9
; %bb.8: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [x26]
orr w28, w8, w28
LBB0_9: ; in Loop: Header=BB0_4 Depth=1
cbnz w28, LBB0_2
; %bb.10: ; in Loop: Header=BB0_4 Depth=1
cbz x20, LBB0_3
; %bb.11: ; in Loop: Header=BB0_4 Depth=1
mov x0, x24
mov x1, x20
bl _FD_ISSET
cbnz x0, LBB0_2
b LBB0_3
LBB0_12: ; in Loop: Header=BB0_4 Depth=1
mov w28, #0 ; =0x0
cbnz x21, LBB0_7
b LBB0_9
LBB0_13:
mov w25, #0 ; =0x0
LBB0_14:
str w25, [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
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _POLLIN,4,2 ; @POLLIN
.comm _POLLOUT,4,2 ; @POLLOUT
.no_dead_strip _select_to_rpoll
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _eraseKeyCodes ## -- Begin function eraseKeyCodes
.p2align 4, 0x90
_eraseKeyCodes: ## @eraseKeyCodes
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _macroTapsLen@GOTPCREL(%rip), %rax
movslq (%rax), %rax
testq %rax, %rax
js LBB0_4
## %bb.1:
movq _macroTaps@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
xorl %edx, %edx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
cmpq $0, (%rcx,%rdx,8)
jle LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq $0, (%rcx,%rdx,8)
decq %rdx
cmpq %rax, %rdx
jle LBB0_2
LBB0_4:
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _macroTapsLen,4,2 ## @macroTapsLen
.comm _macroTaps,8,3 ## @macroTaps
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _eraseKeyCodes ; -- Begin function eraseKeyCodes
.p2align 2
_eraseKeyCodes: ; @eraseKeyCodes
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _macroTapsLen@GOTPAGE
Lloh1:
ldr x8, [x8, _macroTapsLen@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
tbnz w8, #31, LBB0_4
; %bb.1:
mov x10, #0 ; =0x0
Lloh3:
adrp x9, _macroTaps@GOTPAGE
Lloh4:
ldr x9, [x9, _macroTaps@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x11, [x9, x10, lsl #3]
cmp x11, #1
b.lt LBB0_4
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
str xzr, [x9, x10, lsl #3]
sub x11, x10, #1
mov x10, x11
cmp x11, x8
b.le LBB0_2
LBB0_4:
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _macroTapsLen,4,2 ; @macroTapsLen
.comm _macroTaps,8,3 ; @macroTaps
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function say_line
_say_line: ## @say_line
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
callq _get_line
testl %eax, %eax
je LBB0_6
## %bb.1:
movq _spk_punc_mask@GOTPCREL(%rip), %rbx
movl (%rbx), %r14d
movq _buf@GOTPCREL(%rip), %r15
movq (%r15), %rdi
movslq %eax, %rcx
decl %eax
movq $10, (%rdi,%rcx,8)
movq _this_speakup_key@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq _SAY_LINE_INDENT@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
jne LBB0_5
## %bb.2:
movl %eax, %r12d
movq _SPACE@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl $-2, %esi
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
leaq 8(%rdi), %rcx
incl %esi
cmpq %rax, (%rdi)
movq %rcx, %rdi
je LBB0_3
## %bb.4:
leaq L_.str.1(%rip), %rdi
callq _synth_printf
movq (%r15), %rdi
movl %r12d, %eax
LBB0_5:
movq _spk_punc_masks@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq _spk_reading_punc@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movl (%rcx,%rdx,4), %ecx
movl %ecx, (%rbx)
movl %eax, %esi
callq _spkup_write
movl %r14d, (%rbx)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_6:
movq _MSG_BLANK@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _spk_msg_get
leaq L_.str(%rip), %rdi
movl %eax, %esi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _synth_printf ## TAILCALL
.cfi_endproc
## -- End function
.comm _spk_punc_mask,4,2 ## @spk_punc_mask
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s\n"
.comm _MSG_BLANK,4,2 ## @MSG_BLANK
.comm _buf,8,3 ## @buf
.comm _this_speakup_key,8,3 ## @this_speakup_key
.comm _SAY_LINE_INDENT,8,3 ## @SAY_LINE_INDENT
.comm _SPACE,8,3 ## @SPACE
L_.str.1: ## @.str.1
.asciz "%zd, "
.comm _spk_punc_masks,8,3 ## @spk_punc_masks
.comm _spk_reading_punc,8,3 ## @spk_reading_punc
.no_dead_strip _say_line
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function say_line
_say_line: ; @say_line
.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
bl _get_line
cbz w0, LBB0_6
; %bb.1:
mov x8, x0
Lloh0:
adrp x20, _spk_punc_mask@GOTPAGE
Lloh1:
ldr x20, [x20, _spk_punc_mask@GOTPAGEOFF]
ldr w21, [x20]
Lloh2:
adrp x22, _buf@GOTPAGE
Lloh3:
ldr x22, [x22, _buf@GOTPAGEOFF]
ldr x0, [x22]
mov w9, #10 ; =0xa
str x9, [x0, w8, sxtw #3]
Lloh4:
adrp x9, _this_speakup_key@GOTPAGE
Lloh5:
ldr x9, [x9, _this_speakup_key@GOTPAGEOFF]
sub w19, w8, #1
Lloh6:
ldr x8, [x9]
Lloh7:
adrp x9, _SAY_LINE_INDENT@GOTPAGE
Lloh8:
ldr x9, [x9, _SAY_LINE_INDENT@GOTPAGEOFF]
Lloh9:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_5
; %bb.2:
Lloh10:
adrp x8, _SPACE@GOTPAGE
Lloh11:
ldr x8, [x8, _SPACE@GOTPAGEOFF]
Lloh12:
ldr x8, [x8]
mov w1, #-2 ; =0xfffffffe
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x9, [x0], #8
add w1, w1, #1
cmp x9, x8
b.eq LBB0_3
; %bb.4:
Lloh13:
adrp x0, l_.str.1@PAGE
Lloh14:
add x0, x0, l_.str.1@PAGEOFF
bl _synth_printf
ldr x0, [x22]
LBB0_5:
Lloh15:
adrp x8, _spk_punc_masks@GOTPAGE
Lloh16:
ldr x8, [x8, _spk_punc_masks@GOTPAGEOFF]
Lloh17:
ldr x8, [x8]
Lloh18:
adrp x9, _spk_reading_punc@GOTPAGE
Lloh19:
ldr x9, [x9, _spk_reading_punc@GOTPAGEOFF]
Lloh20:
ldr x9, [x9]
ldr w8, [x8, x9, lsl #2]
str w8, [x20]
mov x1, x19
bl _spkup_write
str w21, [x20]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_6:
Lloh21:
adrp x8, _MSG_BLANK@GOTPAGE
Lloh22:
ldr x8, [x8, _MSG_BLANK@GOTPAGEOFF]
Lloh23:
ldr w0, [x8]
bl _spk_msg_get
mov x1, x0
Lloh24:
adrp x0, l_.str@PAGE
Lloh25:
add x0, x0, l_.str@PAGEOFF
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 _synth_printf
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.cfi_endproc
; -- End function
.comm _spk_punc_mask,4,2 ; @spk_punc_mask
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s\n"
.comm _MSG_BLANK,4,2 ; @MSG_BLANK
.comm _buf,8,3 ; @buf
.comm _this_speakup_key,8,3 ; @this_speakup_key
.comm _SAY_LINE_INDENT,8,3 ; @SAY_LINE_INDENT
.comm _SPACE,8,3 ; @SPACE
l_.str.1: ; @.str.1
.asciz "%zd, "
.comm _spk_punc_masks,8,3 ; @spk_punc_masks
.comm _spk_reading_punc,8,3 ; @spk_reading_punc
.no_dead_strip _say_line
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _copy_msg_leaf_setup_req ## -- Begin function copy_msg_leaf_setup_req
.p2align 4, 0x90
_copy_msg_leaf_setup_req: ## @copy_msg_leaf_setup_req
.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
xorl %r15d, %r15d
movq _UNI_NUM_IE_TNS@GOTPCREL(%rip), %r12
xorl %r13d, %r13d
jmp LBB0_1
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
incq %r13
cmpq (%r12), %r13
ja LBB0_4
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq 48(%r14), %rax
movl (%rax,%r13,4), %edi
callq _IE_ISGOOD
testq %rax, %rax
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq 48(%r14), %rax
movl (%rax,%r13,4), %eax
movq 48(%rbx), %rcx
movl %eax, (%rcx,%r15,4)
incq %r15
jmp LBB0_3
LBB0_4:
movl 40(%r14), %edi
callq _IE_ISGOOD
testq %rax, %rax
je LBB0_6
## %bb.5:
movl 40(%r14), %eax
movl %eax, 40(%rbx)
LBB0_6:
movq _UNI_NUM_IE_CALLINGSUB@GOTPCREL(%rip), %r15
cmpq $0, (%r15)
je LBB0_11
## %bb.7:
xorl %r12d, %r12d
xorl %r13d, %r13d
jmp LBB0_8
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_8 Depth=1
incq %r13
cmpq (%r15), %r13
jae LBB0_11
LBB0_8: ## =>This Inner Loop Header: Depth=1
movq 32(%r14), %rax
movl (%rax,%r13,4), %edi
callq _IE_ISGOOD
testq %rax, %rax
je LBB0_10
## %bb.9: ## in Loop: Header=BB0_8 Depth=1
movq 32(%r14), %rax
movl (%rax,%r13,4), %eax
movq 32(%rbx), %rcx
movl %eax, (%rcx,%r12,4)
incq %r12
jmp LBB0_10
LBB0_11:
movl 24(%r14), %edi
callq _IE_ISGOOD
testq %rax, %rax
je LBB0_13
## %bb.12:
movl 24(%r14), %eax
movl %eax, 24(%rbx)
LBB0_13:
movq _UNI_NUM_IE_CALLEDSUB@GOTPCREL(%rip), %r15
cmpq $0, (%r15)
je LBB0_18
## %bb.14:
xorl %r12d, %r12d
xorl %r13d, %r13d
jmp LBB0_15
.p2align 4, 0x90
LBB0_17: ## in Loop: Header=BB0_15 Depth=1
incq %r13
cmpq (%r15), %r13
jae LBB0_18
LBB0_15: ## =>This Inner Loop Header: Depth=1
movq 16(%r14), %rax
movl (%rax,%r13,4), %edi
callq _IE_ISGOOD
testq %rax, %rax
je LBB0_17
## %bb.16: ## in Loop: Header=BB0_15 Depth=1
movq 16(%r14), %rax
movl (%rax,%r13,4), %eax
movq 16(%rbx), %rcx
movl %eax, (%rcx,%r12,4)
incq %r12
jmp LBB0_17
LBB0_18:
movl 8(%r14), %edi
callq _IE_ISGOOD
testq %rax, %rax
je LBB0_20
## %bb.19:
movl 8(%r14), %eax
movl %eax, 8(%rbx)
LBB0_20:
movl 4(%r14), %edi
callq _IE_ISGOOD
testq %rax, %rax
je LBB0_22
## %bb.21:
movl 4(%r14), %eax
movl %eax, 4(%rbx)
LBB0_22:
movl (%r14), %edi
callq _IE_ISGOOD
testq %rax, %rax
je LBB0_24
## %bb.23:
movl (%r14), %eax
movl %eax, (%rbx)
LBB0_24:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _UNI_NUM_IE_TNS,8,3 ## @UNI_NUM_IE_TNS
.comm _UNI_NUM_IE_CALLINGSUB,8,3 ## @UNI_NUM_IE_CALLINGSUB
.comm _UNI_NUM_IE_CALLEDSUB,8,3 ## @UNI_NUM_IE_CALLEDSUB
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _copy_msg_leaf_setup_req ; -- Begin function copy_msg_leaf_setup_req
.p2align 2
_copy_msg_leaf_setup_req: ; @copy_msg_leaf_setup_req
.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
mov x20, x0
mov x21, #0 ; =0x0
mov x22, #0 ; =0x0
Lloh0:
adrp x23, _UNI_NUM_IE_TNS@GOTPAGE
Lloh1:
ldr x23, [x23, _UNI_NUM_IE_TNS@GOTPAGEOFF]
b LBB0_2
LBB0_1: ; in Loop: Header=BB0_2 Depth=1
add x22, x22, #1
ldr x8, [x23]
cmp x22, x8
b.hi LBB0_4
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x8, [x20, #48]
ldr w0, [x8, x22, lsl #2]
bl _IE_ISGOOD
cbz x0, LBB0_1
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
ldr x8, [x20, #48]
ldr w8, [x8, x22, lsl #2]
ldr x9, [x19, #48]
str w8, [x9, x21, lsl #2]
add x21, x21, #1
b LBB0_1
LBB0_4:
ldr w0, [x20, #40]
bl _IE_ISGOOD
cbz x0, LBB0_6
; %bb.5:
ldr w8, [x20, #40]
str w8, [x19, #40]
LBB0_6:
Lloh2:
adrp x21, _UNI_NUM_IE_CALLINGSUB@GOTPAGE
Lloh3:
ldr x21, [x21, _UNI_NUM_IE_CALLINGSUB@GOTPAGEOFF]
ldr x8, [x21]
cbz x8, LBB0_11
; %bb.7:
mov x22, #0 ; =0x0
mov x23, #0 ; =0x0
b LBB0_9
LBB0_8: ; in Loop: Header=BB0_9 Depth=1
add x23, x23, #1
ldr x8, [x21]
cmp x23, x8
b.hs LBB0_11
LBB0_9: ; =>This Inner Loop Header: Depth=1
ldr x8, [x20, #32]
ldr w0, [x8, x23, lsl #2]
bl _IE_ISGOOD
cbz x0, LBB0_8
; %bb.10: ; in Loop: Header=BB0_9 Depth=1
ldr x8, [x20, #32]
ldr w8, [x8, x23, lsl #2]
ldr x9, [x19, #32]
str w8, [x9, x22, lsl #2]
add x22, x22, #1
b LBB0_8
LBB0_11:
ldr w0, [x20, #24]
bl _IE_ISGOOD
cbz x0, LBB0_13
; %bb.12:
ldr w8, [x20, #24]
str w8, [x19, #24]
LBB0_13:
Lloh4:
adrp x21, _UNI_NUM_IE_CALLEDSUB@GOTPAGE
Lloh5:
ldr x21, [x21, _UNI_NUM_IE_CALLEDSUB@GOTPAGEOFF]
ldr x8, [x21]
cbz x8, LBB0_18
; %bb.14:
mov x22, #0 ; =0x0
mov x23, #0 ; =0x0
b LBB0_16
LBB0_15: ; in Loop: Header=BB0_16 Depth=1
add x23, x23, #1
ldr x8, [x21]
cmp x23, x8
b.hs LBB0_18
LBB0_16: ; =>This Inner Loop Header: Depth=1
ldr x8, [x20, #16]
ldr w0, [x8, x23, lsl #2]
bl _IE_ISGOOD
cbz x0, LBB0_15
; %bb.17: ; in Loop: Header=BB0_16 Depth=1
ldr x8, [x20, #16]
ldr w8, [x8, x23, lsl #2]
ldr x9, [x19, #16]
str w8, [x9, x22, lsl #2]
add x22, x22, #1
b LBB0_15
LBB0_18:
ldr w0, [x20, #8]
bl _IE_ISGOOD
cbz x0, LBB0_20
; %bb.19:
ldr w8, [x20, #8]
str w8, [x19, #8]
LBB0_20:
ldr w0, [x20, #4]
bl _IE_ISGOOD
cbz x0, LBB0_22
; %bb.21:
ldr w8, [x20, #4]
str w8, [x19, #4]
LBB0_22:
ldr w0, [x20]
bl _IE_ISGOOD
cbz x0, LBB0_24
; %bb.23:
ldr w8, [x20]
str w8, [x19]
LBB0_24:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _UNI_NUM_IE_TNS,8,3 ; @UNI_NUM_IE_TNS
.comm _UNI_NUM_IE_CALLINGSUB,8,3 ; @UNI_NUM_IE_CALLINGSUB
.comm _UNI_NUM_IE_CALLEDSUB,8,3 ; @UNI_NUM_IE_CALLEDSUB
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function dfll_build_i2c_lut
_dfll_build_i2c_lut: ## @dfll_build_i2c_lut
.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, %r15
movq %rdi, %r14
movq _EINVAL@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
subl (%rax), %ebx
movq 24(%rdi), %rax
movq (%rax), %rax
movslq (%rax), %rax
imulq $1000, %rax, %rsi ## imm = 0x3E8
movq %rsi, -56(%rbp) ## 8-byte Spill
callq _find_vdd_map_entry_exact
testl %eax, %eax
js LBB0_24
## %bb.1:
movq %rbx, -48(%rbp) ## 8-byte Spill
movq (%r14), %rcx
movl %eax, (%rcx)
movq $0, 40(%r14)
movl $1, %ebx
xorl %eax, %eax
leaq -64(%rbp), %r13
jmp LBB0_3
.p2align 4, 0x90
LBB0_2: ## in Loop: Header=BB0_3 Depth=1
movq -64(%rbp), %rax
decq %rax
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_13 Depth 2
movq %rax, -64(%rbp)
movq 24(%r14), %rax
movl 8(%rax), %edi
movq %r13, %rsi
callq _dev_pm_opp_find_freq_ceil
movq %rax, %r12
movq %rax, %rdi
callq _IS_ERR
testq %rax, %rax
jne LBB0_2
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq %r12, %rdi
callq _dev_pm_opp_get_voltage
movq %rax, %r13
movq 24(%r14), %rax
movq (%rax), %rax
movslq (%rax), %rax
imulq $1000, %rax, %rax ## imm = 0x3E8
cmpq %rax, %r13
ja LBB0_6
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movq %r12, %rdi
callq _dev_pm_opp_get_freq
movl %eax, 36(%r14)
LBB0_6: ## in Loop: Header=BB0_3 Depth=1
movq %r12, %rdi
callq _dev_pm_opp_put
movq %r15, %rax
subq -56(%rbp), %rax ## 8-byte Folded Reload
movq _MAX_DFLL_VOLTAGES@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
movslq %ebx, %rdx
subq %rdx, %rcx
movq %rax, %rdx
orq %rcx, %rdx
shrq $32, %rdx
je LBB0_8
## %bb.7: ## in Loop: Header=BB0_3 Depth=1
xorl %edx, %edx
divq %rcx
jmp LBB0_9
LBB0_8: ## in Loop: Header=BB0_3 Depth=1
## kill: def $eax killed $eax killed $rax
xorl %edx, %edx
divl %ecx
## kill: def $eax killed $eax def $rax
LBB0_9: ## in Loop: Header=BB0_3 Depth=1
movl $1, %edi
movq %rax, %rsi
callq _max
movq %rax, %r12
addq -56(%rbp), %r12 ## 8-byte Folded Reload
jmp LBB0_13
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_13 Depth=2
movq %r15, %rax
subq %r12, %rax
movq _MAX_DFLL_VOLTAGES@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
movslq %ebx, %rdx
subq %rdx, %rcx
movq %rax, %rdx
orq %rcx, %rdx
shrq $32, %rdx
je LBB0_17
## %bb.11: ## in Loop: Header=BB0_13 Depth=2
xorl %edx, %edx
divq %rcx
LBB0_12: ## in Loop: Header=BB0_13 Depth=2
movl $1, %edi
movq %rax, %rsi
callq _max
addq %rax, %r12
LBB0_13: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
cmpq %r13, %r12
jae LBB0_18
## %bb.14: ## in Loop: Header=BB0_13 Depth=2
movq %r14, %rdi
movq %r12, %rsi
callq _find_vdd_map_entry_min
testl %eax, %eax
js LBB0_23
## %bb.15: ## in Loop: Header=BB0_13 Depth=2
movq (%r14), %rcx
movslq %ebx, %rdx
cmpl -4(%rcx,%rdx,4), %eax
je LBB0_10
## %bb.16: ## in Loop: Header=BB0_13 Depth=2
leal 1(%rdx), %ebx
movl %eax, (%rcx,%rdx,4)
jmp LBB0_10
.p2align 4, 0x90
LBB0_17: ## in Loop: Header=BB0_13 Depth=2
## kill: def $eax killed $eax killed $rax
xorl %edx, %edx
divl %ecx
## kill: def $eax killed $eax def $rax
jmp LBB0_12
.p2align 4, 0x90
LBB0_18: ## in Loop: Header=BB0_3 Depth=1
movq _MAX_DFLL_VOLTAGES@GOTPCREL(%rip), %rax
movl (%rax), %eax
decl %eax
cmpl %eax, %ebx
cmoveq %r15, %r13
movq %r14, %rdi
movq %r13, %rsi
callq _find_vdd_map_entry_exact
testl %eax, %eax
js LBB0_23
## %bb.19: ## in Loop: Header=BB0_3 Depth=1
movq (%r14), %rcx
movslq %ebx, %rdx
cmpl -4(%rcx,%rdx,4), %eax
je LBB0_21
## %bb.20: ## in Loop: Header=BB0_3 Depth=1
incl %ebx
movl %eax, (%rcx,%rdx,4)
LBB0_21: ## in Loop: Header=BB0_3 Depth=1
cmpq %r15, %r13
jae LBB0_26
## %bb.22: ## in Loop: Header=BB0_3 Depth=1
movq %r13, -56(%rbp) ## 8-byte Spill
leaq -64(%rbp), %r13
jmp LBB0_2
LBB0_26:
movl %ebx, 8(%r14)
cmpl $0, 36(%r14)
je LBB0_31
## %bb.27:
testl %ebx, %ebx
jle LBB0_30
## %bb.28:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_29: ## =>This Inner Loop Header: Depth=1
movl 12(%r14), %edi
movq (%r14), %rax
movl (%rax,%rbx,4), %esi
callq _regulator_list_voltage
movq 16(%r14), %rcx
movl %eax, (%rcx,%rbx,4)
incq %rbx
movslq 8(%r14), %rax
cmpq %rax, %rbx
jl LBB0_29
LBB0_30:
xorl %ebx, %ebx
jmp LBB0_24
LBB0_31:
movl 32(%r14), %edi
movq 24(%r14), %rax
movq (%rax), %rax
movl (%rax), %edx
leaq L_.str(%rip), %rsi
callq _dev_err
LBB0_23:
movq -48(%rbp), %rbx ## 8-byte Reload
LBB0_24:
movl %ebx, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EINVAL,4,2 ## @EINVAL
.comm _MAX_DFLL_VOLTAGES,4,2 ## @MAX_DFLL_VOLTAGES
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "no opp above DFLL minimum voltage %d mV\n"
.no_dead_strip _dfll_build_i2c_lut
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function dfll_build_i2c_lut
_dfll_build_i2c_lut: ; @dfll_build_i2c_lut
.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, x1
mov x20, x0
Lloh0:
adrp x8, _EINVAL@GOTPAGE
Lloh1:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
neg w19, w8
ldr x8, [x0, #24]
ldr x8, [x8]
ldrsw x8, [x8]
mov w9, #1000 ; =0x3e8
smull x22, w8, w9
mov x1, x22
bl _find_vdd_map_entry_exact
tbnz w0, #31, LBB0_21
; %bb.1:
mov x8, #0 ; =0x0
ldr x9, [x20]
str w0, [x9]
str xzr, [x20, #40]
mov w25, #1 ; =0x1
mov w26, #1000 ; =0x3e8
Lloh3:
adrp x27, _MAX_DFLL_VOLTAGES@GOTPAGE
Lloh4:
ldr x27, [x27, _MAX_DFLL_VOLTAGES@GOTPAGEOFF]
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
cmp x22, x21
b.hs LBB0_15
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [sp, #8]
sub x8, x8, #1
LBB0_4: ; =>This Loop Header: Depth=1
; Child Loop BB0_8 Depth 2
str x8, [sp, #8]
ldr x8, [x20, #24]
ldr w0, [x8, #8]
add x1, sp, #8
bl _dev_pm_opp_find_freq_ceil
mov x24, x0
bl _IS_ERR
cbnz x0, LBB0_3
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
mov x0, x24
bl _dev_pm_opp_get_voltage
mov x23, x0
ldr x8, [x20, #24]
ldr x8, [x8]
ldrsw x8, [x8]
smull x8, w8, w26
cmp x0, x8
b.hi LBB0_7
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
mov x0, x24
bl _dev_pm_opp_get_freq
str w0, [x20, #36]
LBB0_7: ; in Loop: Header=BB0_4 Depth=1
mov x0, x24
bl _dev_pm_opp_put
LBB0_8: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
sub x8, x21, x22
ldrsw x9, [x27]
sub x9, x9, w25, sxtw
udiv x1, x8, x9
mov w0, #1 ; =0x1
bl _max
add x22, x0, x22
cmp x22, x23
b.hs LBB0_12
; %bb.9: ; in Loop: Header=BB0_8 Depth=2
mov x0, x20
mov x1, x22
bl _find_vdd_map_entry_min
tbnz w0, #31, LBB0_21
; %bb.10: ; in Loop: Header=BB0_8 Depth=2
ldr x8, [x20]
add x8, x8, w25, sxtw #2
ldur w9, [x8, #-4]
cmp w0, w9
b.eq LBB0_8
; %bb.11: ; in Loop: Header=BB0_8 Depth=2
add w25, w25, #1
str w0, [x8]
b LBB0_8
LBB0_12: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [x27]
sub w8, w8, #1
cmp w25, w8
csel x22, x21, x23, eq
mov x0, x20
mov x1, x22
bl _find_vdd_map_entry_exact
tbnz w0, #31, LBB0_21
; %bb.13: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x20]
add x8, x8, w25, sxtw #2
ldur w9, [x8, #-4]
cmp w0, w9
b.eq LBB0_2
; %bb.14: ; in Loop: Header=BB0_4 Depth=1
add w25, w25, #1
str w0, [x8]
b LBB0_2
LBB0_15:
str w25, [x20, #8]
ldr w8, [x20, #36]
cbz w8, LBB0_19
; %bb.16:
cmp w25, #1
b.lt LBB0_20
; %bb.17:
mov x21, #0 ; =0x0
LBB0_18: ; =>This Inner Loop Header: Depth=1
ldr w0, [x20, #12]
ldr x8, [x20]
ldr w1, [x8, x21, lsl #2]
bl _regulator_list_voltage
mov w19, #0 ; =0x0
ldr x8, [x20, #16]
str w0, [x8, x21, lsl #2]
add x21, x21, #1
ldrsw x8, [x20, #8]
cmp x21, x8
b.lt LBB0_18
b LBB0_21
LBB0_19:
ldr w0, [x20, #32]
ldr x8, [x20, #24]
ldr x8, [x8]
ldr w2, [x8]
Lloh5:
adrp x1, l_.str@PAGE
Lloh6:
add x1, x1, l_.str@PAGEOFF
bl _dev_err
b LBB0_21
LBB0_20:
mov w19, #0 ; =0x0
LBB0_21:
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
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpAdd Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _EINVAL,4,2 ; @EINVAL
.comm _MAX_DFLL_VOLTAGES,4,2 ; @MAX_DFLL_VOLTAGES
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "no opp above DFLL minimum voltage %d mV\n"
.no_dead_strip _dfll_build_i2c_lut
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function format_date
_format_date: ## @format_date
.cfi_startproc
## %bb.0:
movb $0, (%rsi)
cmpl $0, 4(%rdi)
je LBB0_13
## %bb.1:
cmpl $0, (%rdi)
je LBB0_13
## %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
subq $16, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %rbx
movl %edx, %r14d
leaq -28(%rbp), %rsi
callq _FileTimeToLocalFileTime
testl %eax, %eax
je LBB0_3
## %bb.4:
leaq -28(%rbp), %rdi
leaq -20(%rbp), %rsi
callq _FileTimeToSystemTime
testl %eax, %eax
je LBB0_3
## %bb.5:
movq _COL_DATE@GOTPCREL(%rip), %rax
testl %r14d, (%rax)
je LBB0_11
## %bb.6:
movq _LOCALE_USER_DEFAULT@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _BUFFER_LEN@GOTPCREL(%rip), %rax
movq (%rax), %r9
leaq -20(%rbp), %rdx
xorl %esi, %esi
xorl %ecx, %ecx
movq %rbx, %r8
callq _GetDateFormatW
testl %eax, %eax
je LBB0_3
## %bb.7:
movq _COL_TIME@GOTPCREL(%rip), %rcx
testl %r14d, (%rcx)
je LBB0_12
## %bb.8:
movslq %eax, %rcx
movb $32, -1(%rbx,%rcx)
jmp LBB0_9
LBB0_3:
movq _sQMarks@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _lstrcpyW
LBB0_12:
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
LBB0_13:
retq
LBB0_11:
movq _COL_TIME@GOTPCREL(%rip), %rdx
xorl %eax, %eax
testl %r14d, (%rdx)
je LBB0_12
LBB0_9:
cltq
leaq -1(%rax), %rcx
movb $32, (%rbx,%rax)
movq _LOCALE_USER_DEFAULT@GOTPCREL(%rip), %rdx
movl (%rdx), %edi
addq %rax, %rbx
decq %rbx
movq _BUFFER_LEN@GOTPCREL(%rip), %rax
movq (%rax), %r9
subq %rcx, %r9
leaq -20(%rbp), %rdx
xorl %esi, %esi
xorl %ecx, %ecx
movq %rbx, %r8
callq _GetTimeFormatW
testl %eax, %eax
jne LBB0_12
## %bb.10:
movb $0, (%rbx)
jmp LBB0_12
.cfi_endproc
## -- End function
.comm _sQMarks,4,2 ## @sQMarks
.comm _COL_DATE,4,2 ## @COL_DATE
.comm _LOCALE_USER_DEFAULT,4,2 ## @LOCALE_USER_DEFAULT
.comm _BUFFER_LEN,8,3 ## @BUFFER_LEN
.comm _COL_TIME,4,2 ## @COL_TIME
.no_dead_strip _format_date
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function format_date
_format_date: ; @format_date
.cfi_startproc
; %bb.0:
strb wzr, [x1]
ldr w8, [x0, #4]
cbz w8, LBB0_10
; %bb.1:
ldr w8, [x0]
cbz w8, LBB0_10
; %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 x19, x1
mov x22, x2
add x1, sp, #4
bl _FileTimeToLocalFileTime
cbz w0, LBB0_8
; %bb.3:
add x0, sp, #4
add x1, sp, #12
bl _FileTimeToSystemTime
cbz w0, LBB0_8
; %bb.4:
Lloh0:
adrp x8, _COL_DATE@GOTPAGE
Lloh1:
ldr x8, [x8, _COL_DATE@GOTPAGEOFF]
Lloh2:
ldr w9, [x8]
Lloh3:
adrp x20, _LOCALE_USER_DEFAULT@GOTPAGE
Lloh4:
ldr x20, [x20, _LOCALE_USER_DEFAULT@GOTPAGEOFF]
Lloh5:
adrp x21, _BUFFER_LEN@GOTPAGE
Lloh6:
ldr x21, [x21, _BUFFER_LEN@GOTPAGEOFF]
tst w9, w22
b.eq LBB0_11
; %bb.5:
ldr w0, [x20]
ldr x5, [x21]
add x2, sp, #12
mov w1, #0 ; =0x0
mov w3, #0 ; =0x0
mov x4, x19
bl _GetDateFormatW
; kill: def $w0 killed $w0 def $x0
cbz w0, LBB0_8
; %bb.6:
Lloh7:
adrp x8, _COL_TIME@GOTPAGE
Lloh8:
ldr x8, [x8, _COL_TIME@GOTPAGEOFF]
Lloh9:
ldr w8, [x8]
tst w8, w22
b.eq LBB0_9
; %bb.7:
add x8, x19, w0, sxtw
mov w9, #32 ; =0x20
sturb w9, [x8, #-1]
b LBB0_13
LBB0_8:
Lloh10:
adrp x8, _sQMarks@GOTPAGE
Lloh11:
ldr x8, [x8, _sQMarks@GOTPAGEOFF]
Lloh12:
ldr w1, [x8]
mov x0, x19
bl _lstrcpyW
LBB0_9:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
LBB0_10:
ret
LBB0_11:
Lloh13:
adrp x9, _COL_TIME@GOTPAGE
Lloh14:
ldr x9, [x9, _COL_TIME@GOTPAGEOFF]
Lloh15:
ldr w9, [x9]
tst w9, w22
b.eq LBB0_9
; %bb.12:
mov w0, #0 ; =0x0
LBB0_13:
sxtw x8, w0
sub x22, x8, #1
mov w9, #32 ; =0x20
strb w9, [x19, x8]
ldr w0, [x20]
ldr x8, [x21]
sub x5, x8, x22
add x2, sp, #12
add x4, x19, x22
mov w1, #0 ; =0x0
mov w3, #0 ; =0x0
bl _GetTimeFormatW
cbnz w0, LBB0_9
; %bb.14:
strb wzr, [x19, x22]
b LBB0_9
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.cfi_endproc
; -- End function
.comm _sQMarks,4,2 ; @sQMarks
.comm _COL_DATE,4,2 ; @COL_DATE
.comm _LOCALE_USER_DEFAULT,4,2 ; @LOCALE_USER_DEFAULT
.comm _BUFFER_LEN,8,3 ; @BUFFER_LEN
.comm _COL_TIME,4,2 ; @COL_TIME
.no_dead_strip _format_date
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _xfs_trans_committed_bulk ## -- Begin function xfs_trans_committed_bulk
.p2align 4, 0x90
_xfs_trans_committed_bulk: ## @xfs_trans_committed_bulk
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $296, %rsp ## imm = 0x128
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, -316(%rbp) ## 4-byte Spill
movl %edx, %ebx
movq %rsi, %r12
movq %rdi, %r15
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
callq _spin_lock
leaq -312(%rbp), %rsi
movq %r15, %rdi
movl %ebx, %edx
callq _xfs_trans_ail_cursor_last
movq %r15, %rdi
callq _spin_unlock
testq %r12, %r12
je LBB0_24
## %bb.1:
movl $0, -308(%rbp) ## 4-byte Folded Spill
movq %r15, -328(%rbp) ## 8-byte Spill
jmp LBB0_2
LBB0_20: ## in Loop: Header=BB0_2 Depth=1
movq %r15, %rdi
leaq -312(%rbp), %rsi
leaq -304(%rbp), %rdx
movl $32, %ecx
movl %ebx, %r8d
callq _xfs_log_item_batch_insert
movl $0, -308(%rbp) ## 4-byte Folded Spill
.p2align 4, 0x90
LBB0_21: ## in Loop: Header=BB0_2 Depth=1
movq 8(%r12), %r12
testq %r12, %r12
je LBB0_22
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq (%r12), %r13
cmpl $0, -316(%rbp) ## 4-byte Folded Reload
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq _XFS_LI_ABORTED@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq 12(%r13), %rsi
callq _set_bit
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
movq (%r13), %rax
movq _XFS_ITEM_RELEASE_WHEN_COMMITTED@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
testl %ecx, (%rax)
jne LBB0_19
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
movq 16(%rax), %rax
movl %ebx, %r14d
testq %rax, %rax
je LBB0_7
## %bb.6: ## in Loop: Header=BB0_2 Depth=1
movq %r13, %rdi
movl %ebx, %esi
callq *%rax
movl %eax, %r14d
LBB0_7: ## in Loop: Header=BB0_2 Depth=1
movl %r14d, %edi
movl $-1, %esi
callq _XFS_LSN_CMP
testq %rax, %rax
je LBB0_21
## %bb.8: ## in Loop: Header=BB0_2 Depth=1
cmpl $0, -316(%rbp) ## 4-byte Folded Reload
je LBB0_11
## %bb.9: ## in Loop: Header=BB0_2 Depth=1
movl 4(%r15), %edi
callq _XFS_FORCED_SHUTDOWN
movl %eax, %edi
callq _ASSERT
movq (%r13), %rax
movq 8(%rax), %rax
testq %rax, %rax
je LBB0_21
## %bb.10: ## in Loop: Header=BB0_2 Depth=1
movq %r13, %rdi
movl $1, %esi
callq *%rax
jmp LBB0_21
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_2 Depth=1
cmpl %ebx, %r14d
jne LBB0_12
## %bb.17: ## in Loop: Header=BB0_2 Depth=1
movq (%r12), %rax
movl -308(%rbp), %edx ## 4-byte Reload
movslq %edx, %rcx
movq %rax, -304(%rbp,%rcx,8)
cmpl $31, %edx
jge LBB0_20
## %bb.18: ## in Loop: Header=BB0_2 Depth=1
incl %edx
movl %edx, -308(%rbp) ## 4-byte Spill
jmp LBB0_21
LBB0_12: ## in Loop: Header=BB0_2 Depth=1
movq %r15, %rdi
callq _spin_lock
movl 8(%r13), %esi
movl %r14d, %edi
callq _XFS_LSN_CMP
testq %rax, %rax
jle LBB0_14
## %bb.13: ## in Loop: Header=BB0_2 Depth=1
movq -328(%rbp), %rdi ## 8-byte Reload
movq %r13, %rsi
movl %r14d, %edx
callq _xfs_trans_ail_update
jmp LBB0_15
LBB0_14: ## in Loop: Header=BB0_2 Depth=1
movq -328(%rbp), %rdi ## 8-byte Reload
callq _spin_unlock
LBB0_15: ## in Loop: Header=BB0_2 Depth=1
movq (%r13), %rax
movq 8(%rax), %rax
testq %rax, %rax
je LBB0_21
## %bb.16: ## in Loop: Header=BB0_2 Depth=1
movq %r13, %rdi
xorl %esi, %esi
callq *%rax
jmp LBB0_21
LBB0_19:
movq %r13, %rdi
callq *24(%rax)
LBB0_22:
movl -308(%rbp), %ecx ## 4-byte Reload
testl %ecx, %ecx
je LBB0_24
## %bb.23:
leaq -312(%rbp), %rsi
leaq -304(%rbp), %rdx
movq %r15, %rdi
movl %ebx, %r8d
callq _xfs_log_item_batch_insert
LBB0_24:
movq %r15, %rdi
callq _spin_lock
leaq -312(%rbp), %rdi
callq _xfs_trans_ail_cursor_done
movq %r15, %rdi
callq _spin_unlock
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_26
## %bb.25:
addq $296, %rsp ## imm = 0x128
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_26:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _XFS_LI_ABORTED,4,2 ## @XFS_LI_ABORTED
.comm _XFS_ITEM_RELEASE_WHEN_COMMITTED,4,2 ## @XFS_ITEM_RELEASE_WHEN_COMMITTED
.comm _LOG_ITEM_BATCH_SIZE,4,2 ## @LOG_ITEM_BATCH_SIZE
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _xfs_trans_committed_bulk ; -- Begin function xfs_trans_committed_bulk
.p2align 2
_xfs_trans_committed_bulk: ; @xfs_trans_committed_bulk
.cfi_startproc
; %bb.0:
sub sp, sp, #384
stp x28, x27, [sp, #288] ; 16-byte Folded Spill
stp x26, x25, [sp, #304] ; 16-byte Folded Spill
stp x24, x23, [sp, #320] ; 16-byte Folded Spill
stp x22, x21, [sp, #336] ; 16-byte Folded Spill
stp x20, x19, [sp, #352] ; 16-byte Folded Spill
stp x29, x30, [sp, #368] ; 16-byte Folded Spill
add x29, sp, #368
.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 x22, x1
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, #-96]
bl _spin_lock
add x1, sp, #12
mov x0, x19
mov x2, x20
bl _xfs_trans_ail_cursor_last
mov x0, x19
bl _spin_unlock
cbz x22, LBB0_24
; %bb.1:
mov w23, #0 ; =0x0
Lloh3:
adrp x26, _XFS_ITEM_RELEASE_WHEN_COMMITTED@GOTPAGE
Lloh4:
ldr x26, [x26, _XFS_ITEM_RELEASE_WHEN_COMMITTED@GOTPAGEOFF]
add x27, sp, #16
Lloh5:
adrp x28, _XFS_LI_ABORTED@GOTPAGE
Lloh6:
ldr x28, [x28, _XFS_LI_ABORTED@GOTPAGEOFF]
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
add x1, sp, #12
add x2, sp, #16
mov x0, x19
mov w3, #32 ; =0x20
mov x4, x20
bl _xfs_log_item_batch_insert
mov w23, #0 ; =0x0
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
ldr x22, [x22, #8]
cbz x22, LBB0_22
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr x24, [x22]
cbz w21, LBB0_6
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
ldr w0, [x28]
add x1, x24, #12
bl _set_bit
LBB0_6: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x24]
ldr w9, [x8]
ldr w10, [x26]
tst w10, w9
b.ne LBB0_21
; %bb.7: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x8, #16]
mov x25, x20
cbz x8, LBB0_9
; %bb.8: ; in Loop: Header=BB0_4 Depth=1
mov x0, x24
mov x1, x20
blr x8
mov x25, x0
LBB0_9: ; in Loop: Header=BB0_4 Depth=1
mov x0, x25
mov w1, #-1 ; =0xffffffff
bl _XFS_LSN_CMP
cbz x0, LBB0_3
; %bb.10: ; in Loop: Header=BB0_4 Depth=1
cbz w21, LBB0_13
; %bb.11: ; in Loop: Header=BB0_4 Depth=1
ldr w0, [x19, #4]
bl _XFS_FORCED_SHUTDOWN
bl _ASSERT
ldr x8, [x24]
ldr x8, [x8, #8]
cbz x8, LBB0_3
; %bb.12: ; in Loop: Header=BB0_4 Depth=1
mov x0, x24
mov w1, #1 ; =0x1
blr x8
b LBB0_3
LBB0_13: ; in Loop: Header=BB0_4 Depth=1
cmp w25, w20
b.ne LBB0_16
; %bb.14: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x22]
str x8, [x27, w23, sxtw #3]
cmp w23, #31
b.ge LBB0_2
; %bb.15: ; in Loop: Header=BB0_4 Depth=1
add w23, w23, #1
b LBB0_3
LBB0_16: ; in Loop: Header=BB0_4 Depth=1
mov x0, x19
bl _spin_lock
ldr w1, [x24, #8]
mov x0, x25
bl _XFS_LSN_CMP
cmp x0, #1
b.lt LBB0_18
; %bb.17: ; in Loop: Header=BB0_4 Depth=1
mov x0, x19
mov x1, x24
mov x2, x25
bl _xfs_trans_ail_update
b LBB0_19
LBB0_18: ; in Loop: Header=BB0_4 Depth=1
mov x0, x19
bl _spin_unlock
LBB0_19: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x24]
ldr x8, [x8, #8]
cbz x8, LBB0_3
; %bb.20: ; in Loop: Header=BB0_4 Depth=1
mov x0, x24
mov w1, #0 ; =0x0
blr x8
b LBB0_3
LBB0_21:
ldr x8, [x8, #24]
mov x0, x24
blr x8
LBB0_22:
cbz w23, LBB0_24
; %bb.23:
add x1, sp, #12
add x2, sp, #16
mov x0, x19
mov x3, x23
mov x4, x20
bl _xfs_log_item_batch_insert
LBB0_24:
mov x0, x19
bl _spin_lock
add x0, sp, #12
bl _xfs_trans_ail_cursor_done
mov x0, x19
bl _spin_unlock
ldur x8, [x29, #-96]
Lloh7:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh8:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_26
; %bb.25:
ldp x29, x30, [sp, #368] ; 16-byte Folded Reload
ldp x20, x19, [sp, #352] ; 16-byte Folded Reload
ldp x22, x21, [sp, #336] ; 16-byte Folded Reload
ldp x24, x23, [sp, #320] ; 16-byte Folded Reload
ldp x26, x25, [sp, #304] ; 16-byte Folded Reload
ldp x28, x27, [sp, #288] ; 16-byte Folded Reload
add sp, sp, #384
ret
LBB0_26:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _XFS_LI_ABORTED,4,2 ; @XFS_LI_ABORTED
.comm _XFS_ITEM_RELEASE_WHEN_COMMITTED,4,2 ; @XFS_ITEM_RELEASE_WHEN_COMMITTED
.comm _LOG_ITEM_BATCH_SIZE,4,2 ; @LOG_ITEM_BATCH_SIZE
.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 FUZ_fillCompressibleNoiseBuffer
LCPI0_0:
.quad 0x40e0000000000000 ## double 32768
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_FUZ_fillCompressibleNoiseBuffer: ## @FUZ_fillCompressibleNoiseBuffer
.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, %rbx
movsd %xmm0, -64(%rbp) ## 8-byte Spill
movq %rsi, %r14
movq %rdi, %r15
movq %rdx, %rdi
callq _FUZ_rand
cltq
movq %r15, -48(%rbp) ## 8-byte Spill
movq %rax, (%r15)
cmpq $2, %r14
jb LBB0_27
## %bb.1:
movsd -64(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
mulsd LCPI0_0(%rip), %xmm0
cvttsd2si %xmm0, %eax
movl %eax, -64(%rbp) ## 4-byte Spill
movq -48(%rbp), %rax ## 8-byte Reload
leaq 16(%rax), %rcx
movq %rcx, -80(%rbp) ## 8-byte Spill
addq $24, %rax
movq %rax, -72(%rbp) ## 8-byte Spill
movl $1, %r12d
movq _FUZ_RAND15BITS@GOTPCREL(%rip), %r15
movq %r14, -56(%rbp) ## 8-byte Spill
jmp LBB0_4
.p2align 4, 0x90
LBB0_2: ## in Loop: Header=BB0_4 Depth=1
movq -56(%rbp), %r14 ## 8-byte Reload
LBB0_3: ## in Loop: Header=BB0_4 Depth=1
cmpq %r14, %r12
movq _FUZ_RAND15BITS@GOTPCREL(%rip), %r15
jae LBB0_27
LBB0_4: ## =>This Loop Header: Depth=1
## Child Loop BB0_14 Depth 2
## Child Loop BB0_9 Depth 2
## Child Loop BB0_19 Depth 2
## Child Loop BB0_25 Depth 2
movq %r14, %rsi
subq %r12, %rsi
movq _FUZ_RANDLENGTH@GOTPCREL(%rip), %rax
movslq (%rax), %rdi
movl -64(%rbp), %eax ## 4-byte Reload
cmpl %eax, (%r15)
jge LBB0_12
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
addq $-4, %rdi
callq _MIN
movq %rax, %r13
leaq (%rax,%r12), %r14
movslq (%r15), %rdi
incq %rdi
movq %r12, %rsi
callq _MIN
cmpq %r14, %r12
jae LBB0_2
## %bb.6: ## in Loop: Header=BB0_4 Depth=1
movq %r14, %r9
movq %r12, %rcx
subq %rax, %rcx
cmpq $4, %r13
movq -56(%rbp), %r14 ## 8-byte Reload
jb LBB0_16
## %bb.7: ## in Loop: Header=BB0_4 Depth=1
movq %rax, %rdx
movabsq $2305843009213693948, %rsi ## imm = 0x1FFFFFFFFFFFFFFC
andq %rsi, %rdx
je LBB0_16
## %bb.8: ## in Loop: Header=BB0_4 Depth=1
movq %r13, %rsi
andq $-4, %rsi
leaq (%r12,%rsi), %rdx
addq %rsi, %rcx
movq -80(%rbp), %rdi ## 8-byte Reload
leaq (%rdi,%r12,8), %rdi
shlq $3, %rax
negq %rax
movq %rsi, %r8
.p2align 4, 0x90
LBB0_9: ## Parent Loop BB0_4 Depth=1
## => This Inner Loop Header: Depth=2
movupd -16(%rdi,%rax), %xmm0
movups (%rdi,%rax), %xmm1
movupd %xmm0, -16(%rdi)
movups %xmm1, (%rdi)
addq $32, %rdi
addq $-4, %r8
jne LBB0_9
## %bb.10: ## in Loop: Header=BB0_4 Depth=1
cmpq %rsi, %r13
jne LBB0_17
jmp LBB0_11
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_4 Depth=1
addl $4, %edi
movslq %edi, %rdi
callq _MIN
leaq (%rax,%r12), %r15
cmpq %r15, %r12
jae LBB0_3
## %bb.13: ## in Loop: Header=BB0_4 Depth=1
movq %rax, %r13
movq -48(%rbp), %rax ## 8-byte Reload
leaq (%rax,%r12,8), %r12
xorl %r14d, %r14d
.p2align 4, 0x90
LBB0_14: ## Parent Loop BB0_4 Depth=1
## => This Inner Loop Header: Depth=2
movq %rbx, %rdi
callq _FUZ_rand
sarl $5, %eax
cltq
movq %rax, (%r12,%r14,8)
incq %r14
cmpq %r14, %r13
jne LBB0_14
## %bb.15: ## in Loop: Header=BB0_4 Depth=1
movq %r15, %r12
jmp LBB0_2
LBB0_16: ## in Loop: Header=BB0_4 Depth=1
movq %r12, %rdx
LBB0_17: ## in Loop: Header=BB0_4 Depth=1
leal (%r12,%r13), %eax
subl %edx, %eax
andl $3, %eax
je LBB0_21
## %bb.18: ## in Loop: Header=BB0_4 Depth=1
negq %rax
xorl %esi, %esi
movq -48(%rbp), %rdi ## 8-byte Reload
.p2align 4, 0x90
LBB0_19: ## Parent Loop BB0_4 Depth=1
## => This Inner Loop Header: Depth=2
movq (%rdi,%rcx,8), %r8
movq %r8, (%rdi,%rdx,8)
addq $8, %rdi
decq %rsi
cmpq %rsi, %rax
jne LBB0_19
## %bb.20: ## in Loop: Header=BB0_4 Depth=1
movq %rdx, %rax
subq %rsi, %rax
subq %rsi, %rcx
jmp LBB0_22
LBB0_21: ## in Loop: Header=BB0_4 Depth=1
movq %rdx, %rax
LBB0_22: ## in Loop: Header=BB0_4 Depth=1
addq %r12, %r13
notq %rdx
addq %r13, %rdx
cmpq $3, %rdx
jb LBB0_11
## %bb.24: ## in Loop: Header=BB0_4 Depth=1
movq -72(%rbp), %rsi ## 8-byte Reload
leaq (%rsi,%rax,8), %rdx
subq %rax, %r13
leaq (%rsi,%rcx,8), %rax
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_25: ## Parent Loop BB0_4 Depth=1
## => This Inner Loop Header: Depth=2
movq -24(%rax,%rcx,8), %rsi
movq %rsi, -24(%rdx,%rcx,8)
movq -16(%rax,%rcx,8), %rsi
movq %rsi, -16(%rdx,%rcx,8)
movq -8(%rax,%rcx,8), %rsi
movq %rsi, -8(%rdx,%rcx,8)
movq (%rax,%rcx,8), %rsi
movq %rsi, (%rdx,%rcx,8)
addq $4, %rcx
cmpq %rcx, %r13
jne LBB0_25
LBB0_11: ## in Loop: Header=BB0_4 Depth=1
movq %r9, %r12
jmp LBB0_3
LBB0_27:
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _FUZ_RAND15BITS,4,2 ## @FUZ_RAND15BITS
.comm _FUZ_RANDLENGTH,4,2 ## @FUZ_RANDLENGTH
.no_dead_strip _FUZ_fillCompressibleNoiseBuffer
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function FUZ_fillCompressibleNoiseBuffer
_FUZ_fillCompressibleNoiseBuffer: ; @FUZ_fillCompressibleNoiseBuffer
.cfi_startproc
; %bb.0:
stp d9, d8, [sp, #-112]! ; 16-byte Folded Spill
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
.cfi_offset b8, -104
.cfi_offset b9, -112
mov x19, x2
fmov d8, d0
mov x20, x1
mov x21, x0
mov x0, x2
bl _FUZ_rand
; kill: def $w0 killed $w0 def $x0
sxtw x8, w0
str x8, [x21]
cmp x20, #2
b.lo LBB0_15
; %bb.1:
fcvtzs w24, d8, #15
add x25, x21, #32
mov w22, #1 ; =0x1
Lloh0:
adrp x26, _FUZ_RAND15BITS@GOTPAGE
Lloh1:
ldr x26, [x26, _FUZ_RAND15BITS@GOTPAGEOFF]
Lloh2:
adrp x27, _FUZ_RANDLENGTH@GOTPAGE
Lloh3:
ldr x27, [x27, _FUZ_RANDLENGTH@GOTPAGEOFF]
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
mov x22, x28
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
cmp x22, x20
b.hs LBB0_15
LBB0_4: ; =>This Loop Header: Depth=1
; Child Loop BB0_14 Depth 2
; Child Loop BB0_8 Depth 2
; Child Loop BB0_11 Depth 2
ldr w9, [x26]
ldrsw x8, [x27]
sub x1, x20, x22
cmp w9, w24
b.ge LBB0_12
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
sub x0, x8, #4
bl _MIN
mov x23, x0
add x28, x0, x22
ldrsw x8, [x26]
add x0, x8, #1
mov x1, x22
bl _MIN
cmp x22, x28
b.hs LBB0_3
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
sub x11, x22, x0
and x8, x0, #0x1ffffffffffffff8
cmp x23, #8
ccmp x8, #0, #4, hs
mov x8, x22
mov x9, x11
b.eq LBB0_10
; %bb.7: ; in Loop: Header=BB0_4 Depth=1
and x10, x23, #0xfffffffffffffff8
add x8, x22, x10
add x9, x11, x10
add x11, x21, x11, lsl #3
add x12, x25, x22, lsl #3
mov x13, x10
LBB0_8: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
ldp q0, q1, [x11]
ldp q2, q3, [x11, #32]
stp q0, q1, [x12, #-32]
stp q2, q3, [x12], #64
add x11, x11, #64
subs x13, x13, #8
b.ne LBB0_8
; %bb.9: ; in Loop: Header=BB0_4 Depth=1
cmp x23, x10
b.eq LBB0_2
LBB0_10: ; in Loop: Header=BB0_4 Depth=1
add x10, x21, x8, lsl #3
add x11, x23, x22
sub x8, x11, x8
add x9, x21, x9, lsl #3
LBB0_11: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
ldr x11, [x9], #8
str x11, [x10], #8
subs x8, x8, #1
b.ne LBB0_11
b LBB0_2
LBB0_12: ; in Loop: Header=BB0_4 Depth=1
add w8, w8, #4
sxtw x0, w8
bl _MIN
add x28, x0, x22
cmp x22, x28
b.hs LBB0_3
; %bb.13: ; in Loop: Header=BB0_4 Depth=1
mov x23, x0
add x22, x21, x22, lsl #3
LBB0_14: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
mov x0, x19
bl _FUZ_rand
; kill: def $w0 killed $w0 def $x0
sbfx x8, x0, #5, #27
str x8, [x22], #8
subs x23, x23, #1
b.ne LBB0_14
b LBB0_2
LBB0_15:
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
ldp d9, d8, [sp], #112 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _FUZ_RAND15BITS,4,2 ; @FUZ_RAND15BITS
.comm _FUZ_RANDLENGTH,4,2 ; @FUZ_RANDLENGTH
.no_dead_strip _FUZ_fillCompressibleNoiseBuffer
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function p9_virtio_request
_p9_virtio_request: ## @p9_virtio_request
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %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, %r14
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq (%rdi), %rbx
movq _P9_DEBUG_TRANS@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
callq _p9_debug
movq _REQ_STATUS_SENT@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 16(%r14)
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
callq _spin_lock_irqsave
movq 24(%rbx), %rdi
movq _VIRTQUEUE_NUM@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl 8(%r14), %r8d
movl 12(%r14), %ecx
xorl %r13d, %r13d
xorl %esi, %esi
callq _pack_sg_list
movl %eax, %r15d
movq 24(%rbx), %rdi
movl $0, %r12d
testl %eax, %eax
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq %rdi, -64(%rbp)
movl $-1, %r12d
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movq _VIRTQUEUE_NUM@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl (%r14), %r8d
movl 4(%r14), %ecx
movl %r15d, %esi
callq _pack_sg_list
testl %eax, %eax
je LBB0_5
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
movslq %r15d, %rax
shlq $2, %rax
addq 24(%rbx), %rax
movslq %r12d, %rcx
movq %rax, -64(%rbp,%rcx,8)
movl $1, %r13d
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movl 4(%rbx), %edi
movq _GFP_ATOMIC@GOTPCREL(%rip), %rax
movl (%rax), %r9d
leaq -64(%rbp), %rsi
movl %r12d, %edx
movl %r13d, %ecx
movq %r14, %r8
callq _virtqueue_add_sgs
testl %eax, %eax
jg LBB0_10
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
movq _ENOSPC@GOTPCREL(%rip), %rcx
addl (%rcx), %eax
jne LBB0_9
## %bb.7: ## in Loop: Header=BB0_1 Depth=1
movq $0, 8(%rbx)
movq %rbx, %rdi
callq _spin_unlock_irqrestore
movq 8(%rbx), %rsi
movq 16(%rbx), %rax
movl (%rax), %edi
callq _wait_event_killable
movq _ERESTARTSYS@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
addl %eax, %ecx
je LBB0_11
## %bb.8: ## in Loop: Header=BB0_1 Depth=1
movq _P9_DEBUG_TRANS@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.1(%rip), %rsi
callq _p9_debug
jmp LBB0_1
LBB0_10:
movl 4(%rbx), %edi
callq _virtqueue_kick
movq %rbx, %rdi
callq _spin_unlock_irqrestore
movq _P9_DEBUG_TRANS@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.3(%rip), %rsi
callq _p9_debug
xorl %eax, %eax
jmp LBB0_11
LBB0_9:
movq %rbx, %rdi
callq _spin_unlock_irqrestore
movq _P9_DEBUG_TRANS@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.2(%rip), %rsi
callq _p9_debug
movq _EIO@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
LBB0_11:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_13
## %bb.12:
addq $24, %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 _P9_DEBUG_TRANS,4,2 ## @P9_DEBUG_TRANS
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "9p debug: virtio request\n"
.comm _REQ_STATUS_SENT,4,2 ## @REQ_STATUS_SENT
.comm _VIRTQUEUE_NUM,4,2 ## @VIRTQUEUE_NUM
.comm _GFP_ATOMIC,4,2 ## @GFP_ATOMIC
.comm _ENOSPC,4,2 ## @ENOSPC
.comm _ERESTARTSYS,4,2 ## @ERESTARTSYS
L_.str.1: ## @.str.1
.asciz "Retry virtio request\n"
L_.str.2: ## @.str.2
.asciz "virtio rpc add_sgs returned failure\n"
.comm _EIO,4,2 ## @EIO
L_.str.3: ## @.str.3
.asciz "virtio request kicked\n"
.no_dead_strip _p9_virtio_request
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function p9_virtio_request
_p9_virtio_request: ; @p9_virtio_request
.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, x1
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #24]
ldr x19, [x0]
Lloh3:
adrp x24, _P9_DEBUG_TRANS@GOTPAGE
Lloh4:
ldr x24, [x24, _P9_DEBUG_TRANS@GOTPAGEOFF]
ldr w0, [x24]
Lloh5:
adrp x1, l_.str@PAGE
Lloh6:
add x1, x1, l_.str@PAGEOFF
bl _p9_debug
Lloh7:
adrp x8, _REQ_STATUS_SENT@GOTPAGE
Lloh8:
ldr x8, [x8, _REQ_STATUS_SENT@GOTPAGEOFF]
Lloh9:
ldr w8, [x8]
str w8, [x20, #16]
Lloh10:
adrp x25, _VIRTQUEUE_NUM@GOTPAGE
Lloh11:
ldr x25, [x25, _VIRTQUEUE_NUM@GOTPAGEOFF]
Lloh12:
adrp x26, _GFP_ATOMIC@GOTPAGE
Lloh13:
ldr x26, [x26, _GFP_ATOMIC@GOTPAGEOFF]
Lloh14:
adrp x28, _ENOSPC@GOTPAGE
Lloh15:
ldr x28, [x28, _ENOSPC@GOTPAGEOFF]
Lloh16:
adrp x27, _ERESTARTSYS@GOTPAGE
Lloh17:
ldr x27, [x27, _ERESTARTSYS@GOTPAGEOFF]
Lloh18:
adrp x21, l_.str.1@PAGE
Lloh19:
add x21, x21, l_.str.1@PAGEOFF
LBB0_1: ; =>This Inner Loop Header: Depth=1
mov x0, x19
bl _spin_lock_irqsave
ldr x0, [x19, #24]
ldr w2, [x25]
ldp w4, w3, [x20, #8]
mov w1, #0 ; =0x0
bl _pack_sg_list
mov x23, x0
ldr x0, [x19, #24]
cbz w23, LBB0_3
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
str x0, [sp, #8]
mov w22, #-1 ; =0xffffffff
b LBB0_4
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
mov w22, #0 ; =0x0
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldr w2, [x25]
ldp w4, w3, [x20]
mov x1, x23
bl _pack_sg_list
cbz w0, LBB0_6
; %bb.5: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [x19, #24]
add x8, x8, w23, sxtw #2
add x9, sp, #8
str x8, [x9, w22, sxtw #3]
mov w3, #1 ; =0x1
b LBB0_7
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
mov w3, #0 ; =0x0
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
ldr w0, [x19, #4]
ldr w5, [x26]
add x1, sp, #8
mov x2, x22
mov x4, x20
bl _virtqueue_add_sgs
cmp w0, #0
b.gt LBB0_11
; %bb.8: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [x28]
cmn w0, w8
b.ne LBB0_12
; %bb.9: ; in Loop: Header=BB0_1 Depth=1
str xzr, [x19, #8]
mov x0, x19
bl _spin_unlock_irqrestore
ldp x1, x8, [x19, #8]
ldr w0, [x8]
bl _wait_event_killable
ldr w8, [x27]
cmn w0, w8
b.eq LBB0_13
; %bb.10: ; in Loop: Header=BB0_1 Depth=1
ldr w0, [x24]
mov x1, x21
bl _p9_debug
b LBB0_1
LBB0_11:
ldr w0, [x19, #4]
bl _virtqueue_kick
mov x0, x19
bl _spin_unlock_irqrestore
ldr w0, [x24]
Lloh20:
adrp x1, l_.str.3@PAGE
Lloh21:
add x1, x1, l_.str.3@PAGEOFF
bl _p9_debug
mov w0, #0 ; =0x0
b LBB0_13
LBB0_12:
mov x0, x19
bl _spin_unlock_irqrestore
ldr w0, [x24]
Lloh22:
adrp x1, l_.str.2@PAGE
Lloh23:
add x1, x1, l_.str.2@PAGEOFF
bl _p9_debug
Lloh24:
adrp x8, _EIO@GOTPAGE
Lloh25:
ldr x8, [x8, _EIO@GOTPAGEOFF]
Lloh26:
ldr w8, [x8]
neg w0, w8
LBB0_13:
ldr x8, [sp, #24]
Lloh27:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh28:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh29:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_15
; %bb.14:
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_15:
bl ___stack_chk_fail
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.cfi_endproc
; -- End function
.comm _P9_DEBUG_TRANS,4,2 ; @P9_DEBUG_TRANS
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "9p debug: virtio request\n"
.comm _REQ_STATUS_SENT,4,2 ; @REQ_STATUS_SENT
.comm _VIRTQUEUE_NUM,4,2 ; @VIRTQUEUE_NUM
.comm _GFP_ATOMIC,4,2 ; @GFP_ATOMIC
.comm _ENOSPC,4,2 ; @ENOSPC
.comm _ERESTARTSYS,4,2 ; @ERESTARTSYS
l_.str.1: ; @.str.1
.asciz "Retry virtio request\n"
l_.str.2: ; @.str.2
.asciz "virtio rpc add_sgs returned failure\n"
.comm _EIO,4,2 ; @EIO
l_.str.3: ; @.str.3
.asciz "virtio request kicked\n"
.no_dead_strip _p9_virtio_request
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function print_hex_ll
_print_hex_ll: ## @print_hex_ll
.cfi_startproc
## %bb.0:
testq %rdx, %rdx
je LBB0_5
## %bb.1:
testl %esi, %esi
jle LBB0_8
## %bb.2:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
leaq L_.str(%rip), %rcx
movq %rdx, %rsi
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq %rdx, %r8
orq $15, %r8
movzbl (%r8,%rcx), %r8d
movb %r8b, (%rdi)
shrq $4, %rsi
decq %rdi
decl %eax
cmpq $15, %rdx
movq %rsi, %rdx
ja LBB0_3
## %bb.4:
popq %rbp
retq
LBB0_5:
testl %esi, %esi
jle LBB0_8
## %bb.6:
movb $48, (%rdi)
movl $1, %eax
retq
LBB0_8:
xorl %eax, %eax
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "0123456789abcdef"
.no_dead_strip _print_hex_ll
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function print_hex_ll
_print_hex_ll: ; @print_hex_ll
.cfi_startproc
; %bb.0:
cmp w1, #1
cbz x2, LBB0_5
; %bb.1:
mov w8, #0 ; =0x0
b.lt LBB0_4
; %bb.2:
Lloh0:
adrp x9, l_.str@PAGE
Lloh1:
add x9, x9, l_.str@PAGEOFF
LBB0_3: ; =>This Inner Loop Header: Depth=1
orr x10, x2, #0xf
ldrb w10, [x9, x10]
strb w10, [x0], #-1
lsr x10, x2, #4
sub w8, w8, #1
cmp x2, #15
mov x2, x10
b.hi LBB0_3
LBB0_4:
mov x0, x8
ret
LBB0_5:
b.lt LBB0_7
; %bb.6:
mov w8, #48 ; =0x30
strb w8, [x0]
mov w8, #1 ; =0x1
mov x0, x8
ret
LBB0_7:
mov w0, #0 ; =0x0
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "0123456789abcdef"
.no_dead_strip _print_hex_ll
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function split
_split: ## @split
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
leaq 1(%rdi), %rcx
movl $1, %eax
jmp LBB0_1
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
cmpb $10, (%rcx)
je LBB0_5
LBB0_11: ## in Loop: Header=BB0_1 Depth=1
incl %eax
LBB0_12: ## in Loop: Header=BB0_1 Depth=1
incq %rcx
LBB0_1: ## =>This Inner Loop Header: Depth=1
movzbl -1(%rcx), %edx
cmpl $10, %edx
je LBB0_11
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
cmpl $13, %edx
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
testl %edx, %edx
jne LBB0_12
jmp LBB0_6
LBB0_5:
decl %eax
LBB0_6:
leal -1(,%rax,8), %edi
callq _malloc
xorl %ecx, %ecx
jmp LBB0_7
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_7 Depth=1
testl %edx, %edx
je LBB0_10
LBB0_16: ## in Loop: Header=BB0_7 Depth=1
incq %rbx
LBB0_7: ## =>This Inner Loop Header: Depth=1
movzbl (%rbx), %edx
cmpl $10, %edx
je LBB0_15
## %bb.8: ## in Loop: Header=BB0_7 Depth=1
cmpl $13, %edx
jne LBB0_9
## %bb.13: ## in Loop: Header=BB0_7 Depth=1
cmpb $10, 1(%rbx)
jne LBB0_15
## %bb.14: ## in Loop: Header=BB0_7 Depth=1
movb $0, (%rbx)
addq $2, %rbx
movslq %ecx, %rdx
incl %ecx
movq %rbx, (%rax,%rdx,8)
jmp LBB0_7
.p2align 4, 0x90
LBB0_15: ## in Loop: Header=BB0_7 Depth=1
movb $0, (%rbx)
leaq 1(%rbx), %rdx
movslq %ecx, %rsi
incl %ecx
movq %rdx, (%rax,%rsi,8)
jmp LBB0_16
LBB0_10:
movslq %ecx, %rcx
movq $0, (%rax,%rcx,8)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _split
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function split
_split: ; @split
.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, x0
add x9, x0, #1
mov w8, #1 ; =0x1
b LBB0_4
LBB0_1: ; in Loop: Header=BB0_4 Depth=1
ldrb w10, [x9]
cmp w10, #10
b.eq LBB0_7
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
add w8, w8, #1
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
add x9, x9, #1
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldurb w10, [x9, #-1]
cmp w10, #10
b.eq LBB0_2
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
cmp w10, #13
b.eq LBB0_1
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
cbnz w10, LBB0_3
b LBB0_8
LBB0_7:
sub w8, w8, #1
LBB0_8:
lsl w8, w8, #3
sub w0, w8, #1
bl _malloc
mov w8, #0 ; =0x0
b LBB0_11
LBB0_9: ; in Loop: Header=BB0_11 Depth=1
cbz w9, LBB0_16
LBB0_10: ; in Loop: Header=BB0_11 Depth=1
add x19, x19, #1
LBB0_11: ; =>This Inner Loop Header: Depth=1
ldrb w9, [x19]
cmp w9, #10
b.eq LBB0_15
; %bb.12: ; in Loop: Header=BB0_11 Depth=1
cmp w9, #13
b.ne LBB0_9
; %bb.13: ; in Loop: Header=BB0_11 Depth=1
ldrb w9, [x19, #1]
cmp w9, #10
b.ne LBB0_15
; %bb.14: ; in Loop: Header=BB0_11 Depth=1
strb wzr, [x19], #2
str x19, [x0, w8, sxtw #3]
add w8, w8, #1
b LBB0_11
LBB0_15: ; in Loop: Header=BB0_11 Depth=1
mov x9, x19
strb wzr, [x9], #1
str x9, [x0, w8, sxtw #3]
add w8, w8, #1
b LBB0_10
LBB0_16:
str xzr, [x0, w8, sxtw #3]
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 _split
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function qat_hal_concat_micro_code
_qat_hal_concat_micro_code: ## @qat_hal_concat_micro_code
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, -44(%rbp) ## 4-byte Spill
movl %esi, %r12d
movq %rdi, %r15
movl (%r8), %r14d
movq _inst_4b@GOTPCREL(%rip), %rax
movq (%rax), %r13
movq %r13, %rdi
callq _ARRAY_SIZE
## kill: def $eax killed $eax def $rax
movl %r12d, %ebx
testl %eax, %eax
js LBB0_11
## %bb.1:
leal 1(%rax), %ecx
cmpl $19, %eax
setb %dl
movl %r12d, %esi
addl %eax, %esi
setb %sil
orb %dl, %sil
jne LBB0_2
## %bb.3:
movl %r12d, %esi
leaq (%r15,%rsi,4), %rdx
subq %r13, %rdx
cmpq $32, %rdx
jae LBB0_4
LBB0_2:
xorl %edx, %edx
movl %r12d, %ebx
LBB0_7:
movl %eax, %eax
subq %rdx, %rax
movq %rcx, %rsi
andq $3, %rsi
je LBB0_9
.p2align 4, 0x90
LBB0_8: ## =>This Inner Loop Header: Depth=1
movl (%r13,%rdx,4), %edi
movl %ebx, %r8d
incl %ebx
movl %edi, (%r15,%r8,4)
incq %rdx
decq %rsi
jne LBB0_8
LBB0_9:
cmpq $3, %rax
jb LBB0_11
.p2align 4, 0x90
LBB0_10: ## =>This Inner Loop Header: Depth=1
movl (%r13,%rdx,4), %eax
leal 1(%rbx), %esi
movl %ebx, %edi
movl %eax, (%r15,%rdi,4)
movl 4(%r13,%rdx,4), %eax
leal 2(%rbx), %edi
movl %eax, (%r15,%rsi,4)
movl 8(%r13,%rdx,4), %eax
leal 3(%rbx), %esi
movl %eax, (%r15,%rdi,4)
movl 12(%r13,%rdx,4), %eax
addl $4, %ebx
movl %eax, (%r15,%rsi,4)
addq $4, %rdx
cmpq %rdx, %rcx
jne LBB0_10
jmp LBB0_11
LBB0_4:
movl %ecx, %edx
andl $-8, %edx
leal (%rdx,%r12), %ebx
xorl %edi, %edi
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
leal (%rsi,%rdi), %r8d
movups (%r13,%rdi,4), %xmm0
movups 16(%r13,%rdi,4), %xmm1
movups %xmm0, (%r15,%r8,4)
movups %xmm1, 16(%r15,%r8,4)
addq $8, %rdi
cmpq %rdi, %rdx
jne LBB0_5
## %bb.6:
cmpl %ecx, %edx
jne LBB0_7
LBB0_11:
movslq %r12d, %r13
movl (%r15,%r13,4), %edi
movl -44(%rbp), %esi ## 4-byte Reload
callq _INSERT_IMMED_GPRA_CONST
movl 4(%r15,%r13,4), %edi
xorl %esi, %esi
callq _INSERT_IMMED_GPRA_CONST
movl 8(%r15,%r13,4), %edi
movl %r14d, %esi
callq _INSERT_IMMED_GPRB_CONST
movl 12(%r15,%r13,4), %edi
shrl $16, %r14d
movl %r14d, %esi
callq _INSERT_IMMED_GPRB_CONST
addl %r12d, %ebx
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _inst_4b,8,3 ## @inst_4b
.no_dead_strip _qat_hal_concat_micro_code
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function qat_hal_concat_micro_code
_qat_hal_concat_micro_code: ; @qat_hal_concat_micro_code
.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 x21, x3
mov x19, x1
mov x22, x0
ldr w20, [x4]
Lloh0:
adrp x8, _inst_4b@GOTPAGE
Lloh1:
ldr x8, [x8, _inst_4b@GOTPAGEOFF]
Lloh2:
ldr x23, [x8]
mov x0, x23
bl _ARRAY_SIZE
mov x24, x19
tbnz w0, #31, LBB0_10
; %bb.1:
mov x9, #0 ; =0x0
add w8, w0, #1
cmn w19, w0
cset w10, hs
mov x24, x19
cmp w0, #15
b.lo LBB0_8
; %bb.2:
tbnz w10, #0, LBB0_8
; %bb.3:
add x9, x22, w19, uxtw #2
sub x9, x9, x23
cmp x9, #64
b.hs LBB0_5
; %bb.4:
mov x9, #0 ; =0x0
mov x24, x19
b LBB0_8
LBB0_5:
and x9, x8, #0xfffffff0
add w24, w9, w19
add x10, x23, #32
mov x11, x19
mov x12, x9
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldp q0, q1, [x10, #-32]
ldp q2, q3, [x10], #64
add x13, x22, w11, uxtw #2
stp q0, q1, [x13]
stp q2, q3, [x13, #32]
add w11, w11, #16
subs x12, x12, #16
b.ne LBB0_6
; %bb.7:
cmp x9, x8
b.eq LBB0_10
LBB0_8:
add x10, x23, x9, lsl #2
sub x8, x8, x9
mov x9, x24
LBB0_9: ; =>This Inner Loop Header: Depth=1
ldr w11, [x10], #4
add w24, w9, #1
str w11, [x22, w9, uxtw #2]
mov x9, x24
subs x8, x8, #1
b.ne LBB0_9
LBB0_10:
add x22, x22, w19, sxtw #2
ldr w0, [x22]
mov x1, x21
bl _INSERT_IMMED_GPRA_CONST
ldr w0, [x22, #4]
mov w1, #0 ; =0x0
bl _INSERT_IMMED_GPRA_CONST
ldr w0, [x22, #8]
mov x1, x20
bl _INSERT_IMMED_GPRB_CONST
ldr w0, [x22, #12]
lsr w1, w20, #16
bl _INSERT_IMMED_GPRB_CONST
add w0, w24, w19
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
.cfi_endproc
; -- End function
.comm _inst_4b,8,3 ; @inst_4b
.no_dead_strip _qat_hal_concat_micro_code
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function proc_SSID_on_close
_proc_SSID_on_close: ## @proc_SSID_on_close
.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
callq _PDE_DATA
movslq 8(%rbx), %rcx
testq %rcx, %rcx
je LBB0_13
## %bb.1:
movq (%rax), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
movq (%rbx), %r12
movq %r12, %r15
subq %rcx, %r15
movb $10, (%r15)
leaq -56(%rbp), %rdi
xorl %ebx, %ebx
xorl %esi, %esi
movl $16, %edx
callq _memset
.p2align 4, 0x90
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_4 Depth 2
## Child Loop BB0_7 Depth 2
movzbl (%r12), %eax
cmpb $10, %al
je LBB0_10
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq -48(%rbp), %rcx
movq %rbx, %r13
shlq $4, %r13
movq 8(%rcx,%r13), %rcx
xorl %edx, %edx
.p2align 4, 0x90
LBB0_4: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movsbl %al, %eax
leaq 1(%rdx), %r14
movl %eax, (%rcx,%rdx,4)
movzbl 1(%r12,%rdx), %eax
cmpb $10, %al
je LBB0_6
## %bb.5: ## in Loop: Header=BB0_4 Depth=2
cmpq $31, %rdx
movq %r14, %rdx
jb LBB0_4
LBB0_6: ## in Loop: Header=BB0_2 Depth=1
movl %r14d, %edi
callq _cpu_to_le16
movq -48(%rbp), %rcx
movq %rax, (%rcx,%r13)
addq %r14, %r12
.p2align 4, 0x90
LBB0_7: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
cmpb $10, (%r12)
leaq 1(%r12), %r12
jne LBB0_7
## %bb.8: ## in Loop: Header=BB0_2 Depth=1
leaq 1(%rbx), %rax
cmpq $3, %rbx
movq %rax, %rbx
jb LBB0_2
## %bb.9: ## in Loop: Header=BB0_2 Depth=1
movq %rax, %rbx
cmpq %r15, %r12
jb LBB0_2
jmp LBB0_11
LBB0_10:
testq %rbx, %rbx
je LBB0_12
LBB0_11:
movl $16, %edi
callq _cpu_to_le16
movq %rax, -56(%rbp)
LBB0_12:
movq -64(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rdi
movl $1, %esi
callq _disable_MAC
leaq -56(%rbp), %rsi
movq %rbx, %rdi
movl $1, %edx
callq _writeSsidRid
movq %rbx, %rdi
movl $1, %esi
callq _enable_MAC
LBB0_13:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _proc_SSID_on_close
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function proc_SSID_on_close
_proc_SSID_on_close: ; @proc_SSID_on_close
.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
ldr x20, [x1]
bl _PDE_DATA
ldrsw x8, [x20, #8]
cbz w8, LBB0_12
; %bb.1:
ldr x19, [x0]
ldr x21, [x20]
sub x22, x21, x8
mov w8, #10 ; =0xa
strb w8, [x22]
mov x0, sp
mov w1, #0 ; =0x0
mov w2, #16 ; =0x10
bl _memset
mov x23, #0 ; =0x0
LBB0_2: ; =>This Loop Header: Depth=1
; Child Loop BB0_4 Depth 2
; Child Loop BB0_6 Depth 2
ldrb w8, [x21]
cmp w8, #10
b.eq LBB0_9
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
mov x20, #0 ; =0x0
ldr x9, [sp, #8]
add x9, x9, x23, lsl #4
ldr x9, [x9, #8]
LBB0_4: ; Parent Loop BB0_2 Depth=1
; => This Inner Loop Header: Depth=2
sxtb w8, w8
add x10, x21, x20
str w8, [x9, x20, lsl #2]
ldrb w8, [x10, #1]
cmp w8, #10
ccmp x20, #31, #2, ne
add x20, x20, #1
b.lo LBB0_4
; %bb.5: ; in Loop: Header=BB0_2 Depth=1
mov x0, x20
bl _cpu_to_le16
ldr x8, [sp, #8]
lsl x9, x23, #4
str x0, [x8, x9]
add x21, x21, x20
LBB0_6: ; Parent Loop BB0_2 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w8, [x21], #1
cmp w8, #10
b.ne LBB0_6
; %bb.7: ; in Loop: Header=BB0_2 Depth=1
add x8, x23, #1
cmp x23, #3
mov x23, x8
b.lo LBB0_2
; %bb.8: ; in Loop: Header=BB0_2 Depth=1
mov x23, x8
cmp x21, x22
b.lo LBB0_2
b LBB0_10
LBB0_9:
cbz x23, LBB0_11
LBB0_10:
mov w0, #16 ; =0x10
bl _cpu_to_le16
str x0, [sp]
LBB0_11:
mov x0, x19
mov w1, #1 ; =0x1
bl _disable_MAC
mov x1, sp
mov x0, x19
mov w2, #1 ; =0x1
bl _writeSsidRid
mov x0, x19
mov w1, #1 ; =0x1
bl _enable_MAC
LBB0_12:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.no_dead_strip _proc_SSID_on_close
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _sortGetKeys ## -- Begin function sortGetKeys
.p2align 4, 0x90
_sortGetKeys: ## @sortGetKeys
.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 %rcx, %rbx
callq _UNUSED
movl $8, %edi
callq _zmalloc
movl $1, (%rax)
movl $1, (%rbx)
addq $8, %rsp
popq %rbx
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 _sortGetKeys ; -- Begin function sortGetKeys
.p2align 2
_sortGetKeys: ; @sortGetKeys
.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, x3
bl _UNUSED
mov w0, #8 ; =0x8
bl _zmalloc
mov w8, #1 ; =0x1
str w8, [x0]
str w8, [x19]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _genwqe_read_app_id ## -- Begin function genwqe_read_app_id
.p2align 4, 0x90
_genwqe_read_app_id: ## @genwqe_read_app_id
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r14d
movl (%rdi), %eax
movl %eax, -44(%rbp) ## 4-byte Spill
xorl %ebx, %ebx
movq %rsi, -56(%rbp) ## 8-byte Spill
movq %rsi, %rdi
xorl %esi, %esi
callq _memset
movl %r14d, %edi
movl $4, %esi
callq _min
testl %eax, %eax
jle LBB0_4
## %bb.1:
movl $1, %r13d
movl $24, %r12d
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl -44(%rbp), %r15d ## 4-byte Reload
movl %r12d, %ecx
sarl %cl, %r15d
cmpb $32, %r15b
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movsbl %r15b, %edi
callq _isprint
testq %rax, %rax
movl $88, %eax
cmovel %eax, %r15d
movq -56(%rbp), %rax ## 8-byte Reload
movb %r15b, (%rax,%rbx)
incq %rbx
movl %r14d, %edi
movl $4, %esi
callq _min
decl %r13d
addl $-8, %r12d
cmpl %eax, %r13d
jle LBB0_2
LBB0_4:
movl %ebx, %eax
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 _genwqe_read_app_id ; -- Begin function genwqe_read_app_id
.p2align 2
_genwqe_read_app_id: ; @genwqe_read_app_id
.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 x20, x1
ldr w22, [x0]
mov x0, x1
mov w1, #0 ; =0x0
bl _memset
mov x0, x19
mov w1, #4 ; =0x4
bl _min
cmp w0, #1
b.lt LBB0_4
; %bb.1:
mov x26, #0 ; =0x0
mov w23, #1 ; =0x1
mov w24, #24 ; =0x18
mov w25, #88 ; =0x58
LBB0_2: ; =>This Inner Loop Header: Depth=1
asr w21, w22, w24
and w8, w21, #0xff
cmp w8, #32
b.eq LBB0_5
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
sxtb w0, w21
bl _isprint
cmp x0, #0
csel w8, w25, w21, eq
add x21, x26, #1
strb w8, [x20, x26]
mov x0, x19
mov w1, #4 ; =0x4
bl _min
sub w23, w23, #1
sub w24, w24, #8
mov x26, x21
cmp w23, w0
b.le LBB0_2
b LBB0_6
LBB0_4:
mov w21, #0 ; =0x0
b LBB0_6
LBB0_5:
mov x21, x26
LBB0_6:
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
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _G_PickTarget ## -- Begin function G_PickTarget
.p2align 4, 0x90
_G_PickTarget: ## @G_PickTarget
.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 ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _MAXCHOICES@GOTPCREL(%rip), %r12
movl (%r12), %eax
shlq $3, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r15
testq %rbx, %rbx
je LBB0_9
## %bb.1:
xorl %r13d, %r13d
xorl %r14d, %r14d
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
callq _FOFS
movq %r14, %rdi
movl %eax, %esi
movq %rbx, %rdx
callq _G_Find
testq %rax, %rax
je LBB0_5
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq %rax, %r14
movq %rax, (%r15,%r13,8)
incq %r13
movl (%r12), %eax
cmpq %rax, %r13
jne LBB0_2
jmp LBB0_4
LBB0_9:
leaq L_.str(%rip), %rdi
xorl %r14d, %r14d
xorl %eax, %eax
callq _G_Printf
jmp LBB0_7
LBB0_5:
testq %r13, %r13
je LBB0_6
LBB0_4:
xorl %eax, %eax
callq _rand
cltd
idivl %r13d
movslq %edx, %rax
movq (%r15,%rax,8), %r14
LBB0_7:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_10
## %bb.8:
movq %r14, %rax
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_6:
leaq L_.str.1(%rip), %rdi
xorl %r14d, %r14d
movq %rbx, %rsi
xorl %eax, %eax
callq _G_Printf
jmp LBB0_7
LBB0_10:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _MAXCHOICES,4,2 ## @MAXCHOICES
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "G_PickTarget called with NULL targetname\n"
L_.str.1: ## @.str.1
.asciz "G_PickTarget: target %s not found\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _G_PickTarget ; -- Begin function G_PickTarget
.p2align 2
_G_PickTarget: ; @G_PickTarget
.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
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
mov x19, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-56]
Lloh3:
adrp x22, _MAXCHOICES@GOTPAGE
Lloh4:
ldr x22, [x22, _MAXCHOICES@GOTPAGEOFF]
ldr w8, [x22]
lsl x8, x8, #3
mov x9, x8
Lloh5:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh6:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0xffffffff0
sub x21, x9, x8
mov sp, x21
cbz x0, LBB0_4
; %bb.1:
mov x23, #0 ; =0x0
mov x20, #0 ; =0x0
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x0, x19
bl _FOFS
mov x1, x0
mov x0, x20
mov x2, x19
bl _G_Find
cbz x0, LBB0_5
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
mov x20, x0
add x24, x23, #1
str x0, [x21, x23, lsl #3]
ldr w8, [x22]
mov x23, x24
cmp x24, x8
b.ne LBB0_2
b LBB0_6
LBB0_4:
Lloh7:
adrp x0, l_.str@PAGE
Lloh8:
add x0, x0, l_.str@PAGEOFF
bl _G_Printf
b LBB0_8
LBB0_5:
mov x24, x23
cbz x23, LBB0_7
LBB0_6:
bl _rand
sdiv w8, w0, w24
msub w8, w8, w24, w0
ldr x0, [x21, w8, sxtw #3]
b LBB0_9
LBB0_7:
str x19, [sp, #-16]!
Lloh9:
adrp x0, l_.str.1@PAGE
Lloh10:
add x0, x0, l_.str.1@PAGEOFF
bl _G_Printf
add sp, sp, #16
LBB0_8:
mov x0, #0 ; =0x0
LBB0_9:
ldur x8, [x29, #-56]
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_11
; %bb.10:
sub sp, x29, #48
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
LBB0_11:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGot Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _MAXCHOICES,4,2 ; @MAXCHOICES
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "G_PickTarget called with NULL targetname\n"
l_.str.1: ; @.str.1
.asciz "G_PickTarget: target %s not found\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _lodepng_huffman_code_lengths ## -- Begin function lodepng_huffman_code_lengths
.p2align 4, 0x90
_lodepng_huffman_code_lengths: ## @lodepng_huffman_code_lengths
.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
movl %ecx, -60(%rbp) ## 4-byte Spill
testq %rdx, %rdx
je LBB0_1
## %bb.7:
movq %rdx, %r13
movq %rsi, %r15
movq %rdi, %rbx
movl $-1, %eax
xorl %ecx, %ecx
xorl %r12d, %r12d
xorl %r14d, %r14d
.p2align 4, 0x90
LBB0_8: ## =>This Inner Loop Header: Depth=1
movl (%r15,%rcx,4), %ecx
addq %rcx, %r12
cmpq $1, %rcx
sbbq $-1, %r14
movl %eax, %ecx
decl %eax
cmpq %r13, %rcx
jbe LBB0_8
## %bb.2:
leaq (,%r13,4), %rsi
movq %rbx, %rdi
callq ___bzero
testq %r14, %r14
je LBB0_9
## %bb.3:
cmpq $1, %r14
jne LBB0_12
## %bb.4:
xorl %eax, %eax
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
cmpl $0, (%r15,%rax,4)
jne LBB0_6
## %bb.10: ## in Loop: Header=BB0_5 Depth=1
incq %rax
cmpl %r13d, %eax
jb LBB0_5
## %bb.11:
xorl %eax, %eax
jmp LBB0_32
LBB0_1:
movl $80, %eax
jmp LBB0_32
LBB0_9:
movabsq $4294967297, %rax ## imm = 0x100000001
movq %rax, (%rbx)
xorl %eax, %eax
jmp LBB0_32
LBB0_12:
movq %rbx, -88(%rbp) ## 8-byte Spill
movl %r14d, %ebx
shll $5, %ebx
movl %ebx, %edi
callq _lodepng_malloc
movq %rax, -56(%rbp) ## 8-byte Spill
movl %ebx, %edi
callq _lodepng_malloc
movq -56(%rbp), %rdi ## 8-byte Reload
movq %rax, %rbx
testq %rdi, %rdi
setne %al
testq %rbx, %rbx
setne %cl
testb %cl, %al
je LBB0_13
## %bb.14:
leal (%r14,%r14), %esi
movl %esi, -64(%rbp) ## 4-byte Spill
callq _init_coins
movq %rbx, -80(%rbp) ## 8-byte Spill
movq %rbx, %rdi
movl -64(%rbp), %esi ## 4-byte Reload
callq _init_coins
movq -56(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rdi
movq %r15, %rsi
movq %r13, %rdx
movq %r12, %rcx
callq _append_symbol_coins
movl %eax, -44(%rbp) ## 4-byte Spill
movq %rbx, %rdi
movl %r14d, %esi
callq _sort_coins
movl -44(%rbp), %eax ## 4-byte Reload
testl %eax, %eax
jne LBB0_31
## %bb.15:
cmpl $0, -60(%rbp) ## 4-byte Folded Reload
je LBB0_24
## %bb.16:
xorl %esi, %esi
movl $2, %edx
movl %r14d, -68(%rbp) ## 4-byte Spill
movq -80(%rbp), %rbx ## 8-byte Reload
.p2align 4, 0x90
LBB0_17: ## =>This Inner Loop Header: Depth=1
movq -56(%rbp), %rcx ## 8-byte Reload
movq %rcx, -80(%rbp) ## 8-byte Spill
movq %rdx, -96(%rbp) ## 8-byte Spill
leal -1(%rdx), %eax
movl %eax, -56(%rbp) ## 4-byte Spill
movq %rbx, %rdi
movl %esi, -44(%rbp) ## 4-byte Spill
callq _cleanup_coins
movq %rbx, %rdi
movl -44(%rbp), %esi ## 4-byte Reload
callq _init_coins
movl $0, %eax
movl $0, %esi
movl -56(%rbp), %ecx ## 4-byte Reload
cmpl -60(%rbp), %ecx ## 4-byte Folded Reload
jae LBB0_19
## %bb.18: ## in Loop: Header=BB0_17 Depth=1
movq %rbx, %rdi
movq %r15, %rsi
movq %r13, %rdx
movq %r12, %rcx
callq _append_symbol_coins
movl %r14d, %esi
LBB0_19: ## in Loop: Header=BB0_17 Depth=1
movl %eax, -44(%rbp) ## 4-byte Spill
movq %rbx, -56(%rbp) ## 8-byte Spill
movq %rbx, %rdi
movl %esi, %ebx
callq _sort_coins
movl -44(%rbp), %ecx ## 4-byte Reload
movq -96(%rbp), %rdx ## 8-byte Reload
cmpl -60(%rbp), %edx ## 4-byte Folded Reload
movq -80(%rbp), %rax ## 8-byte Reload
ja LBB0_21
## %bb.20: ## in Loop: Header=BB0_17 Depth=1
incl %edx
movl -68(%rbp), %esi ## 4-byte Reload
movl %ebx, -68(%rbp) ## 4-byte Spill
movq %rax, %rbx
testl %ecx, %ecx
je LBB0_17
LBB0_21:
testl %ecx, %ecx
je LBB0_23
## %bb.22:
movq -56(%rbp), %rbx ## 8-byte Reload
jmp LBB0_31
LBB0_6:
movl $1, (%rbx,%rax,4)
xorl %ecx, %ecx
testl %eax, %eax
sete %cl
movl $1, (%rbx,%rcx,4)
xorl %eax, %eax
jmp LBB0_32
LBB0_13:
callq _lodepng_free
movq %rbx, %rdi
callq _lodepng_free
movl $83, %eax
jmp LBB0_32
LBB0_24:
decq %r14
jmp LBB0_25
LBB0_23:
decq %r14
movq -56(%rbp), %rbx ## 8-byte Reload
je LBB0_30
LBB0_25:
xorl %eax, %eax
movq -88(%rbp), %r8 ## 8-byte Reload
jmp LBB0_26
.p2align 4, 0x90
LBB0_29: ## in Loop: Header=BB0_26 Depth=1
incq %rax
movl %eax, %ecx
cmpq %rcx, %r14
jbe LBB0_30
LBB0_26: ## =>This Loop Header: Depth=1
## Child Loop BB0_28 Depth 2
movq %rax, %rcx
shlq $4, %rcx
cmpl $0, (%rbx,%rcx)
je LBB0_29
## %bb.27: ## in Loop: Header=BB0_26 Depth=1
addq %rbx, %rcx
movq 8(%rcx), %rdx
xorl %esi, %esi
.p2align 4, 0x90
LBB0_28: ## Parent Loop BB0_26 Depth=1
## => This Inner Loop Header: Depth=2
movq (%rdx,%rsi,8), %r9
incl (%r8,%r9,4)
incq %rsi
movl (%rcx), %r9d
cmpq %r9, %rsi
jb LBB0_28
jmp LBB0_29
LBB0_30:
movl $0, -44(%rbp) ## 4-byte Folded Spill
LBB0_31:
movq %rbx, %rdi
movl -64(%rbp), %r14d ## 4-byte Reload
movl %r14d, %esi
callq _cleanup_coins
movq %rbx, %rdi
callq _lodepng_free
movq -80(%rbp), %r15 ## 8-byte Reload
movq %r15, %rdi
movl %r14d, %esi
callq _cleanup_coins
movq %r15, %rdi
callq _lodepng_free
movl -44(%rbp), %eax ## 4-byte Reload
LBB0_32:
addq $56, %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 _lodepng_huffman_code_lengths ; -- Begin function lodepng_huffman_code_lengths
.p2align 2
_lodepng_huffman_code_lengths: ; @lodepng_huffman_code_lengths
.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
cbz x2, LBB0_9
; %bb.1:
mov x20, x3
mov x23, x2
mov x24, x1
mov x19, x0
mov x9, #0 ; =0x0
mov x27, #0 ; =0x0
mov x26, #0 ; =0x0
mov w8, #-1 ; =0xffffffff
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr w9, [x24, x9, lsl #2]
cmp x9, #0
add x27, x27, x9
cinc x26, x26, ne
mov w9, w8
sub w8, w8, #1
cmp x9, x23
b.ls LBB0_2
; %bb.3:
lsl x1, x23, #2
mov x0, x19
bl _bzero
cbz x26, LBB0_10
; %bb.4:
str w20, [sp, #12] ; 4-byte Folded Spill
subs x22, x26, #1
b.ne LBB0_11
; %bb.5:
mov x8, #0 ; =0x0
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldr w9, [x24, x8, lsl #2]
cbnz w9, LBB0_13
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
add x8, x8, #1
cmp w8, w23
b.lo LBB0_6
; %bb.8:
mov w28, #0 ; =0x0
b LBB0_31
LBB0_9:
mov w28, #80 ; =0x50
b LBB0_31
LBB0_10:
mov w28, #0 ; =0x0
movi.2s v0, #1
str d0, [x19]
b LBB0_31
LBB0_11:
lsl w20, w26, #5
mov x0, x20
bl _lodepng_malloc
mov x21, x0
mov x0, x20
bl _lodepng_malloc
mov x20, x0
cmp x21, #0
ccmp x0, #0, #4, ne
b.ne LBB0_14
; %bb.12:
mov x0, x21
bl _lodepng_free
mov x0, x20
bl _lodepng_free
mov w28, #83 ; =0x53
b LBB0_31
LBB0_13:
mov w28, #0 ; =0x0
mov w9, #1 ; =0x1
str w9, [x19, x8, lsl #2]
cmp w8, #0
cset w8, eq
str w9, [x19, w8, uxtw #2]
b LBB0_31
LBB0_14:
lsl w25, w26, #1
mov x0, x21
mov x1, x25
bl _init_coins
str x20, [sp, #24] ; 8-byte Folded Spill
mov x0, x20
mov x1, x25
bl _init_coins
mov x0, x21
mov x1, x24
mov x2, x23
mov x3, x27
bl _append_symbol_coins
mov x28, x0
str x21, [sp, #16] ; 8-byte Folded Spill
mov x0, x21
mov x1, x26
bl _sort_coins
cbnz w28, LBB0_30
; %bb.15:
ldr w8, [sp, #12] ; 4-byte Folded Reload
cbz w8, LBB0_24
; %bb.16:
str w25, [sp, #8] ; 4-byte Folded Spill
mov w22, #0 ; =0x0
mov w25, #2 ; =0x2
mov x21, x26
ldr x0, [sp, #24] ; 8-byte Folded Reload
LBB0_17: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16] ; 8-byte Folded Reload
str x8, [sp, #24] ; 8-byte Folded Spill
mov x28, x0
sub w20, w25, #1
mov x1, x22
bl _cleanup_coins
mov x0, x28
mov x1, x22
bl _init_coins
ldr w22, [sp, #12] ; 4-byte Folded Reload
cmp w20, w22
b.hs LBB0_19
; %bb.18: ; in Loop: Header=BB0_17 Depth=1
mov x0, x28
mov x1, x24
mov x2, x23
mov x3, x27
bl _append_symbol_coins
mov x8, x28
mov x28, x0
mov x20, x26
b LBB0_20
LBB0_19: ; in Loop: Header=BB0_17 Depth=1
mov x8, x28
mov w28, #0 ; =0x0
mov w20, #0 ; =0x0
LBB0_20: ; in Loop: Header=BB0_17 Depth=1
str x8, [sp, #16] ; 8-byte Folded Spill
mov x0, x8
mov x1, x20
bl _sort_coins
cmp w25, w22
ldr x0, [sp, #24] ; 8-byte Folded Reload
b.hi LBB0_22
; %bb.21: ; in Loop: Header=BB0_17 Depth=1
add w25, w25, #1
mov x22, x21
mov x21, x20
cbz w28, LBB0_17
LBB0_22:
ldr w25, [sp, #8] ; 4-byte Folded Reload
cbnz w28, LBB0_30
; %bb.23:
subs x22, x26, #1
b.eq LBB0_29
LBB0_24:
mov x8, #0 ; =0x0
ldr x14, [sp, #16] ; 8-byte Folded Reload
b LBB0_26
LBB0_25: ; in Loop: Header=BB0_26 Depth=1
add x8, x8, #1
cmp x22, w8, uxtw
b.ls LBB0_29
LBB0_26: ; =>This Loop Header: Depth=1
; Child Loop BB0_28 Depth 2
add x9, x14, x8, lsl #4
ldr w10, [x9]
cbz w10, LBB0_25
; %bb.27: ; in Loop: Header=BB0_26 Depth=1
mov x10, #0 ; =0x0
ldr x11, [x9, #8]
LBB0_28: ; Parent Loop BB0_26 Depth=1
; => This Inner Loop Header: Depth=2
ldr x12, [x11, x10, lsl #3]
ldr w13, [x19, x12, lsl #2]
add w13, w13, #1
str w13, [x19, x12, lsl #2]
add x10, x10, #1
ldr w12, [x9]
cmp x10, x12
b.lo LBB0_28
b LBB0_25
LBB0_29:
mov w28, #0 ; =0x0
LBB0_30:
ldr x19, [sp, #16] ; 8-byte Folded Reload
mov x0, x19
mov x1, x25
bl _cleanup_coins
mov x0, x19
bl _lodepng_free
ldr x19, [sp, #24] ; 8-byte Folded Reload
mov x0, x19
mov x1, x25
bl _cleanup_coins
mov x0, x19
bl _lodepng_free
LBB0_31:
mov x0, x28
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
.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 mc_write_blocks
_mc_write_blocks: ## @mc_write_blocks
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %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, -72(%rbp) ## 8-byte Spill
movq %rdi, -56(%rbp) ## 8-byte Spill
testq %rsi, %rsi
sete %al
movl %ecx, -44(%rbp) ## 4-byte Spill
testl %ecx, %ecx
sets %cl
orb %al, %cl
jne LBB0_8
## %bb.1:
movq %rsi, %r15
movl -44(%rbp), %r13d ## 4-byte Reload
xorl %ecx, %ecx
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
movq %rcx, -64(%rbp) ## 8-byte Spill
movq -56(%rbp), %rax ## 8-byte Reload
movq (%rax), %rax
leaq (,%rcx,4), %rcx
leaq (%rcx,%rcx,2), %r12
movl 8(%rax,%r12), %edi
movl %ebx, %r14d
movslq %ebx, %rbx
movq (%r15,%rbx,8), %rax
movq (%rax), %rsi
callq _target_put_32
movq -56(%rbp), %rax ## 8-byte Reload
movq (%rax), %rax
movl (%rax,%r12), %edi
movq (%r15,%rbx,8), %rax
movq (%rax), %rsi
callq _target_put_32
movq -56(%rbp), %rax ## 8-byte Reload
movq (%rax), %rax
movl 4(%rax,%r12), %edi
movq -72(%rbp), %rax ## 8-byte Reload
movq (%rax,%rbx,8), %rsi
callq _target_put_32
incq %rbx
movq -64(%rbp), %rax ## 8-byte Reload
leaq (%rax,%rax,2), %r12
jmp LBB0_3
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_3 Depth=2
movq (%r15,%rbx,8), %rax
movq (%rax), %rsi
LBB0_6: ## in Loop: Header=BB0_3 Depth=2
movq -56(%rbp), %rax ## 8-byte Reload
movq (%rax), %rax
movl (%rax,%r12,4), %edi
callq _target_put_32
incl %r14d
incq %rbx
LBB0_3: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
cmpq %r13, %rbx
jl LBB0_4
## %bb.5: ## in Loop: Header=BB0_3 Depth=2
movq -8(%r15,%rbx,8), %rax
movq (%r15,%rbx,8), %rcx
movq (%rax), %rax
movq (%rcx), %rsi
decq %rax
cmpq %rax, %rsi
je LBB0_6
## %bb.7: ## in Loop: Header=BB0_2 Depth=1
movq -64(%rbp), %rcx ## 8-byte Reload
incq %rcx
cmpl -44(%rbp), %r14d ## 4-byte Folded Reload
jl LBB0_2
LBB0_8:
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _mc_write_blocks
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function mc_write_blocks
_mc_write_blocks: ; @mc_write_blocks
.cfi_startproc
; %bb.0:
cbz x1, LBB0_10
; %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
mov x19, x3
tbnz w3, #31, LBB0_9
; %bb.2:
mov x20, x2
mov x21, x1
mov x22, x0
mov x23, #0 ; =0x0
mov x27, #0 ; =0x0
mov w24, #12 ; =0xc
mov w25, w19
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_6 Depth 2
ldr x8, [x22]
add x9, x23, x23, lsl #1
lsl x28, x9, #2
add x8, x8, x28
ldr w0, [x8, #8]
sxtw x26, w27
ldr x8, [x21, w27, sxtw #3]
ldr x1, [x8]
bl _target_put_32
ldr x8, [x22]
ldr w0, [x8, x28]
ldr x8, [x21, w27, sxtw #3]
ldr x1, [x8]
bl _target_put_32
ldr x8, [x22]
add x8, x8, x28
ldr w0, [x8, #4]
ldr x1, [x20, w27, sxtw #3]
bl _target_put_32
mul x27, x23, x24
b LBB0_6
LBB0_4: ; in Loop: Header=BB0_6 Depth=2
ldr x8, [x8, #8]
ldr x1, [x8]
LBB0_5: ; in Loop: Header=BB0_6 Depth=2
ldr x8, [x22]
ldr w0, [x8, x27]
bl _target_put_32
add x26, x26, #1
LBB0_6: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
add x9, x26, #1
add x8, x21, x26, lsl #3
cmp x9, x25
b.lt LBB0_4
; %bb.7: ; in Loop: Header=BB0_6 Depth=2
ldp x9, x8, [x8]
ldr x9, [x9]
ldr x1, [x8]
sub x8, x9, #1
cmp x1, x8
b.eq LBB0_5
; %bb.8: ; in Loop: Header=BB0_3 Depth=1
add x23, x23, #1
add x27, x26, #1
cmp w26, w19
b.lt LBB0_3
LBB0_9:
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
LBB0_10:
ret
.cfi_endproc
; -- End function
.no_dead_strip _mc_write_blocks
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function diffarg
_diffarg: ## @diffarg
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
movq _diffarg.diffargs(%rip), %rsi
cmpq _diffarg.diffarglim(%rip), %rsi
jne LBB0_1
## %bb.2:
testq %rsi, %rsi
je LBB0_3
## %bb.4:
movq _PTRDIFF_MAX@GOTPCREL(%rip), %rax
movslq (%rax), %rax
shrq $4, %rax
cmpq %rsi, %rax
jbe LBB0_5
## %bb.6:
addq %rsi, %rsi
movq %rsi, _diffarg.diffarglim(%rip)
jmp LBB0_7
LBB0_1:
movq _diffargv@GOTPCREL(%rip), %rax
movq (%rax), %rax
jmp LBB0_8
LBB0_3:
movq $16, _diffarg.diffarglim(%rip)
movl $16, %esi
jmp LBB0_7
LBB0_5:
xorl %eax, %eax
callq _xalloc_die
movq _diffarg.diffarglim(%rip), %rsi
LBB0_7:
movq _diffargv@GOTPCREL(%rip), %r14
movq (%r14), %rdi
shlq $3, %rsi
callq _xrealloc
movq %rax, (%r14)
movq _diffarg.diffargs(%rip), %rsi
LBB0_8:
leaq 1(%rsi), %rcx
movq %rcx, _diffarg.diffargs(%rip)
movq %rbx, (%rax,%rsi,8)
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_diffarg.diffargs,8,3 ## @diffarg.diffargs
.zerofill __DATA,__bss,_diffarg.diffarglim,8,3 ## @diffarg.diffarglim
.comm _PTRDIFF_MAX,4,2 ## @PTRDIFF_MAX
.comm _diffargv,8,3 ## @diffargv
.no_dead_strip _diffarg
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function diffarg
_diffarg: ; @diffarg
.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
adrp x20, _diffarg.diffargs@PAGE
ldr x8, [x20, _diffarg.diffargs@PAGEOFF]
adrp x21, _diffarg.diffarglim@PAGE
ldr x9, [x21, _diffarg.diffarglim@PAGEOFF]
cmp x8, x9
b.ne LBB0_4
; %bb.1:
cbz x8, LBB0_5
; %bb.2:
Lloh0:
adrp x9, _PTRDIFF_MAX@GOTPAGE
Lloh1:
ldr x9, [x9, _PTRDIFF_MAX@GOTPAGEOFF]
Lloh2:
ldrsw x9, [x9]
cmp x8, x9, lsr #4
b.hs LBB0_7
; %bb.3:
lsl x8, x8, #1
b LBB0_6
LBB0_4:
Lloh3:
adrp x9, _diffargv@GOTPAGE
Lloh4:
ldr x9, [x9, _diffargv@GOTPAGEOFF]
Lloh5:
ldr x0, [x9]
b LBB0_9
LBB0_5:
mov w8, #16 ; =0x10
LBB0_6:
str x8, [x21, _diffarg.diffarglim@PAGEOFF]
b LBB0_8
LBB0_7:
bl _xalloc_die
ldr x8, [x21, _diffarg.diffarglim@PAGEOFF]
LBB0_8:
Lloh6:
adrp x21, _diffargv@GOTPAGE
Lloh7:
ldr x21, [x21, _diffargv@GOTPAGEOFF]
ldr x0, [x21]
lsl x1, x8, #3
bl _xrealloc
str x0, [x21]
ldr x8, [x20, _diffarg.diffargs@PAGEOFF]
LBB0_9:
add x9, x8, #1
str x9, [x20, _diffarg.diffargs@PAGEOFF]
str x19, [x0, x8, lsl #3]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_diffarg.diffargs,8,3 ; @diffarg.diffargs
.zerofill __DATA,__bss,_diffarg.diffarglim,8,3 ; @diffarg.diffarglim
.comm _PTRDIFF_MAX,4,2 ; @PTRDIFF_MAX
.comm _diffargv,8,3 ; @diffargv
.no_dead_strip _diffarg
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function convert_to_bignum
_convert_to_bignum: ## @convert_to_bignum
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _CHARS_PER_LITTLENUM@GOTPCREL(%rip), %rax
cmpl $4, (%rax)
jbe LBB0_2
## %bb.1:
xorl %eax, %eax
xorl %ecx, %ecx
jmp LBB0_3
LBB0_2:
movq _generic_bignum@GOTPCREL(%rip), %rax
movq _LITTLENUM_MASK@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl (%rdi), %ecx
movq (%rax), %rax
movl %ecx, (%rax)
movl $4294967295, %ecx ## imm = 0xFFFFFFFF
movl $-1, %eax
LBB0_3:
movq 8(%rdi), %rsi
testq %rsi, %rsi
sete %dl
cmpl $0, (%rdi)
setns %r8b
xorb %dl, %r8b
jne LBB0_7
## %bb.4:
xorl %edx, %edx
testq %rsi, %rsi
jne LBB0_6
## %bb.5:
movq _LITTLENUM_MASK@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
LBB0_6:
movq _generic_bignum@GOTPCREL(%rip), %rsi
movq (%rsi), %rsi
incl %eax
movl %edx, (%rsi,%rcx,4)
LBB0_7:
movq _O_big@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 4(%rdi)
movl %eax, (%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _CHARS_PER_LITTLENUM,4,2 ## @CHARS_PER_LITTLENUM
.comm _LITTLENUM_MASK,4,2 ## @LITTLENUM_MASK
.comm _generic_bignum,8,3 ## @generic_bignum
.comm _LITTLENUM_NUMBER_OF_BITS,4,2 ## @LITTLENUM_NUMBER_OF_BITS
.comm _O_big,4,2 ## @O_big
.no_dead_strip _convert_to_bignum
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function convert_to_bignum
_convert_to_bignum: ; @convert_to_bignum
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _CHARS_PER_LITTLENUM@GOTPAGE
Lloh1:
ldr x8, [x8, _CHARS_PER_LITTLENUM@GOTPAGEOFF]
Lloh2:
ldr w9, [x8]
Lloh3:
adrp x10, _LITTLENUM_MASK@GOTPAGE
Lloh4:
ldr x10, [x10, _LITTLENUM_MASK@GOTPAGEOFF]
Lloh5:
adrp x8, _generic_bignum@GOTPAGE
Lloh6:
ldr x8, [x8, _generic_bignum@GOTPAGEOFF]
cmp w9, #4
b.ls LBB0_2
; %bb.1:
mov w9, #0 ; =0x0
mov x11, #0 ; =0x0
b LBB0_3
LBB0_2:
ldr x9, [x8]
ldr w11, [x0]
ldr w12, [x10]
orr w11, w12, w11
str w11, [x9]
mov w9, #-1 ; =0xffffffff
mov w11, #-1 ; =0xffffffff
LBB0_3:
ldr w13, [x0]
ldr x12, [x0, #8]
cmp x12, #0
cset w14, eq
cmp w13, #0
cset w13, ge
eor w13, w13, w14
tbnz w13, #0, LBB0_5
; %bb.4:
ldr w10, [x10]
cmp x12, #0
csel w10, w10, wzr, eq
ldr x8, [x8]
add w9, w9, #1
str w10, [x8, x11, lsl #2]
LBB0_5:
Lloh7:
adrp x8, _O_big@GOTPAGE
Lloh8:
ldr x8, [x8, _O_big@GOTPAGEOFF]
Lloh9:
ldr w8, [x8]
stp w9, w8, [x0]
ret
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _CHARS_PER_LITTLENUM,4,2 ; @CHARS_PER_LITTLENUM
.comm _LITTLENUM_MASK,4,2 ; @LITTLENUM_MASK
.comm _generic_bignum,8,3 ; @generic_bignum
.comm _LITTLENUM_NUMBER_OF_BITS,4,2 ; @LITTLENUM_NUMBER_OF_BITS
.comm _O_big,4,2 ; @O_big
.no_dead_strip _convert_to_bignum
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function pblk_gc_run
_pblk_gc_run: ## @pblk_gc_run
.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
leaq 4(%rdi), %r14
callq _pblk_gc_free_full_lines
movq %r14, %rdi
movq %rbx, %rsi
callq _pblk_gc_should_run
testl %eax, %eax
je LBB0_7
## %bb.1:
movq %r14, %rdi
callq _atomic_read
movq _PBLK_GC_L_QD@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jge LBB0_7
## %bb.2:
leaq 16(%rbx), %r15
movq 24(%rbx), %rax
movq (%rax), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
leaq 8(%rbx), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
leaq 12(%rbx), %rax
movq %rax, -48(%rbp) ## 8-byte Spill
jmp LBB0_3
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_3 Depth=1
movq %r15, %rdi
callq _spin_unlock
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
callq _spin_lock
movq %rbx, %rdi
movq -64(%rbp), %rsi ## 8-byte Reload
callq _pblk_gc_get_victim_line
testq %rax, %rax
je LBB0_4
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movq %rax, %r12
leaq 12(%rax), %r13
movq %r13, %rdi
callq _spin_lock
movq (%r12), %rax
xorl %edi, %edi
movq _PBLK_LINESTATE_CLOSED@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
setne %dil
callq _WARN_ON
movq _PBLK_LINESTATE_GC@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, (%r12)
movq %rbx, %rdi
callq _pblk_disk_name
movl 16(%r12), %esi
movq (%r12), %rdx
movl %eax, %edi
callq _trace_pblk_line_state
movq %r13, %rdi
callq _spin_unlock
addq $8, %r12
movq %r12, %rdi
callq _list_del
movq %r15, %rdi
callq _spin_unlock
movq -56(%rbp), %r13 ## 8-byte Reload
movq %r13, %rdi
callq _spin_lock
movq %r12, %rdi
movq -48(%rbp), %rsi ## 8-byte Reload
callq _list_add_tail
movq %r13, %rdi
callq _spin_unlock
movq %r14, %rdi
callq _atomic_inc_return
movl %eax, %r12d
movq %r14, %rdi
callq _pblk_gc_reader_kick
movq %r14, %rdi
movq %rbx, %rsi
callq _pblk_gc_should_run
testl %eax, %eax
je LBB0_7
## %bb.6: ## in Loop: Header=BB0_3 Depth=1
movq _PBLK_GC_L_QD@GOTPCREL(%rip), %rax
cmpl (%rax), %r12d
jl LBB0_3
LBB0_7:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PBLK_GC_L_QD,4,2 ## @PBLK_GC_L_QD
.comm _PBLK_LINESTATE_CLOSED,8,3 ## @PBLK_LINESTATE_CLOSED
.comm _PBLK_LINESTATE_GC,8,3 ## @PBLK_LINESTATE_GC
.comm _PBLK_GC_NR_LISTS,4,2 ## @PBLK_GC_NR_LISTS
.no_dead_strip _pblk_gc_run
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function pblk_gc_run
_pblk_gc_run: ; @pblk_gc_run
.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
bl _pblk_gc_free_full_lines
add x0, x19, #4
mov x1, x19
bl _pblk_gc_should_run
cbz w0, LBB0_7
; %bb.1:
add x0, x19, #4
bl _atomic_read
Lloh0:
adrp x22, _PBLK_GC_L_QD@GOTPAGE
Lloh1:
ldr x22, [x22, _PBLK_GC_L_QD@GOTPAGEOFF]
ldr w8, [x22]
cmp w0, w8
b.ge LBB0_7
; %bb.2:
ldr x8, [x19, #24]
ldr x20, [x8]
Lloh2:
adrp x23, _PBLK_LINESTATE_CLOSED@GOTPAGE
Lloh3:
ldr x23, [x23, _PBLK_LINESTATE_CLOSED@GOTPAGEOFF]
Lloh4:
adrp x24, _PBLK_LINESTATE_GC@GOTPAGE
Lloh5:
ldr x24, [x24, _PBLK_LINESTATE_GC@GOTPAGEOFF]
b LBB0_4
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
add x0, x19, #16
bl _spin_unlock
LBB0_4: ; =>This Inner Loop Header: Depth=1
add x0, x19, #16
bl _spin_lock
mov x0, x19
mov x1, x20
bl _pblk_gc_get_victim_line
cbz x0, LBB0_3
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
mov x21, x0
add x0, x0, #12
bl _spin_lock
ldr x8, [x21]
ldr x9, [x23]
cmp x8, x9
cset w0, ne
bl _WARN_ON
ldr x8, [x24]
str x8, [x21]
mov x0, x19
bl _pblk_disk_name
ldr w1, [x21, #16]
ldr x2, [x21]
bl _trace_pblk_line_state
add x0, x21, #12
bl _spin_unlock
add x0, x21, #8
bl _list_del
add x0, x19, #16
bl _spin_unlock
add x0, x19, #8
bl _spin_lock
add x0, x21, #8
add x1, x19, #12
bl _list_add_tail
add x0, x19, #8
bl _spin_unlock
add x0, x19, #4
bl _atomic_inc_return
mov x21, x0
add x0, x19, #4
bl _pblk_gc_reader_kick
add x0, x19, #4
mov x1, x19
bl _pblk_gc_should_run
cbz w0, LBB0_7
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [x22]
cmp w21, w8
b.lt LBB0_4
LBB0_7:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.cfi_endproc
; -- End function
.comm _PBLK_GC_L_QD,4,2 ; @PBLK_GC_L_QD
.comm _PBLK_LINESTATE_CLOSED,8,3 ; @PBLK_LINESTATE_CLOSED
.comm _PBLK_LINESTATE_GC,8,3 ; @PBLK_LINESTATE_GC
.comm _PBLK_GC_NR_LISTS,4,2 ; @PBLK_GC_NR_LISTS
.no_dead_strip _pblk_gc_run
.subsections_via_symbols
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.