x86
stringlengths 122
99k
| arm
stringlengths 122
86.4k
|
---|---|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _str2mac ## -- Begin function str2mac
.p2align 4, 0x90
_str2mac: ## @str2mac
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _str2mac ; -- Begin function str2mac
.p2align 2
_str2mac: ; @str2mac
.cfi_startproc
; %bb.0:
mov w0, #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 fit_lfn
_fit_lfn: ## @fit_lfn
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, -56(%rbp) ## 8-byte Spill
movq _LDIR_Chksum@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl %ecx, (%rsi,%rax,4)
movq _AM_LFN@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _LDIR_Attr@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movl %eax, (%rsi,%rcx,4)
movq _LDIR_Type@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl $0, (%rsi,%rax,4)
movq _LDIR_FstClusLO@GOTPCREL(%rip), %rax
movslq (%rax), %rax
shlq $2, %rax
movq %rsi, %rdi
subq %rax, %rdi
xorl %r13d, %r13d
xorl %esi, %esi
callq _ST_WORD
leal (%rbx,%rbx,2), %eax
movq %rbx, -48(%rbp) ## 8-byte Spill
leal (%rbx,%rax,4), %ebx
addl $-13, %ebx
movq _LfnOfs@GOTPCREL(%rip), %r15
xorl %eax, %eax
jmp LBB0_1
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
movl $65535, %r12d ## imm = 0xFFFF
cmpq $12, %r13
jae LBB0_10
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
incq %r13
movl %r12d, %eax
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl $65535, %r12d ## imm = 0xFFFF
cmpl $65535, %eax ## imm = 0xFFFF
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movslq %ebx, %rax
incl %ebx
movq -56(%rbp), %rcx ## 8-byte Reload
movl (%rcx,%rax,4), %r12d
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movq (%r15), %rax
movslq (%rax,%r13,4), %rax
leaq (%r14,%rax,4), %rdi
movl %r12d, %esi
callq _ST_WORD
testl %r12d, %r12d
je LBB0_9
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
cmpq $11, %r13
jbe LBB0_5
## %bb.6:
cmpl $65535, %r12d ## imm = 0xFFFF
je LBB0_10
## %bb.7:
movslq %ebx, %rax
movq -56(%rbp), %rcx ## 8-byte Reload
cmpl $0, (%rcx,%rax,4)
je LBB0_10
## %bb.8:
movq -48(%rbp), %rcx ## 8-byte Reload
jmp LBB0_11
LBB0_10:
movq _LLEF@GOTPCREL(%rip), %rax
movq -48(%rbp), %rcx ## 8-byte Reload
orl (%rax), %ecx
LBB0_11:
movq _LDIR_Ord@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl %ecx, (%r14,%rax,4)
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _LDIR_Chksum,8,3 ## @LDIR_Chksum
.comm _AM_LFN,4,2 ## @AM_LFN
.comm _LDIR_Attr,8,3 ## @LDIR_Attr
.comm _LDIR_Type,8,3 ## @LDIR_Type
.comm _LDIR_FstClusLO,4,2 ## @LDIR_FstClusLO
.comm _LfnOfs,8,3 ## @LfnOfs
.comm _LLEF,4,2 ## @LLEF
.comm _LDIR_Ord,8,3 ## @LDIR_Ord
.no_dead_strip _fit_lfn
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function fit_lfn
_fit_lfn: ; @fit_lfn
.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
mov x21, x0
Lloh0:
adrp x8, _LDIR_Chksum@GOTPAGE
Lloh1:
ldr x8, [x8, _LDIR_Chksum@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str w3, [x1, x8, lsl #2]
Lloh3:
adrp x8, _AM_LFN@GOTPAGE
Lloh4:
ldr x8, [x8, _AM_LFN@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
Lloh6:
adrp x9, _LDIR_Attr@GOTPAGE
Lloh7:
ldr x9, [x9, _LDIR_Attr@GOTPAGEOFF]
Lloh8:
ldr x9, [x9]
str w8, [x1, x9, lsl #2]
Lloh9:
adrp x8, _LDIR_Type@GOTPAGE
Lloh10:
ldr x8, [x8, _LDIR_Type@GOTPAGEOFF]
Lloh11:
ldr x8, [x8]
str wzr, [x1, x8, lsl #2]
Lloh12:
adrp x8, _LDIR_FstClusLO@GOTPAGE
Lloh13:
ldr x8, [x8, _LDIR_FstClusLO@GOTPAGEOFF]
Lloh14:
ldrsw x8, [x8]
sub x0, x1, x8, lsl #2
mov w1, #0 ; =0x0
bl _ST_WORD
mov x24, #0 ; =0x0
mov w8, #0 ; =0x0
mov w9, #13 ; =0xd
mov w10, #-13 ; =0xfffffff3
madd w23, w19, w9, w10
Lloh15:
adrp x25, _LfnOfs@GOTPAGE
Lloh16:
ldr x25, [x25, _LfnOfs@GOTPAGEOFF]
b LBB0_3
LBB0_1: ; in Loop: Header=BB0_3 Depth=1
cmp x24, #11
b.hi LBB0_8
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x24, x24, #1
mov x8, x22
LBB0_3: ; =>This Inner Loop Header: Depth=1
mov w22, #65535 ; =0xffff
cmp w8, w22
b.eq LBB0_5
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
ldr w22, [x21, w23, sxtw #2]
add w23, w23, #1
LBB0_5: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x25]
ldrsw x8, [x8, x24, lsl #2]
add x0, x20, x8, lsl #2
mov x1, x22
bl _ST_WORD
cbnz w22, LBB0_1
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
cmp x24, #12
b.hs LBB0_10
; %bb.7: ; in Loop: Header=BB0_3 Depth=1
mov w22, #65535 ; =0xffff
b LBB0_2
LBB0_8:
mov w8, #65535 ; =0xffff
cmp w22, w8
b.eq LBB0_10
; %bb.9:
ldr w8, [x21, w23, sxtw #2]
cbnz w8, LBB0_11
LBB0_10:
Lloh17:
adrp x8, _LLEF@GOTPAGE
Lloh18:
ldr x8, [x8, _LLEF@GOTPAGEOFF]
Lloh19:
ldr w8, [x8]
orr w19, w8, w19
LBB0_11:
Lloh20:
adrp x8, _LDIR_Ord@GOTPAGE
Lloh21:
ldr x8, [x8, _LDIR_Ord@GOTPAGEOFF]
Lloh22:
ldr x8, [x8]
str w19, [x20, x8, lsl #2]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.cfi_endproc
; -- End function
.comm _LDIR_Chksum,8,3 ; @LDIR_Chksum
.comm _AM_LFN,4,2 ; @AM_LFN
.comm _LDIR_Attr,8,3 ; @LDIR_Attr
.comm _LDIR_Type,8,3 ; @LDIR_Type
.comm _LDIR_FstClusLO,4,2 ; @LDIR_FstClusLO
.comm _LfnOfs,8,3 ; @LfnOfs
.comm _LLEF,4,2 ; @LLEF
.comm _LDIR_Ord,8,3 ; @LDIR_Ord
.no_dead_strip _fit_lfn
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function count_usable_fds
_count_usable_fds: ## @count_usable_fds
.cfi_startproc
## %bb.0:
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, -56(%rbp) ## 8-byte Spill
movl %edi, -44(%rbp) ## 4-byte Spill
movl $4096, %edi ## imm = 0x1000
callq _palloc
movq %rax, %r12
xorl %r15d, %r15d
movl $1024, %ebx ## imm = 0x400
xorl %r13d, %r13d
jmp LBB0_1
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
cmpl %r14d, %r13d
cmovlel %r14d, %r13d
movl %r14d, (%r12,%r15,4)
decq %r15
leal 1(%r15), %eax
cmpl -44(%rbp), %eax ## 4-byte Folded Reload
jg LBB0_8
LBB0_1: ## =>This Inner Loop Header: Depth=1
xorl %edi, %edi
callq _dup
testl %eax, %eax
jle LBB0_2
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
movl %eax, %r14d
cmpl %ebx, %r15d
jl LBB0_7
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
movq %r12, %rdi
leal (%rbx,%rbx), %r12d
shll $3, %ebx
movl %ebx, %esi
callq _repalloc
movl %r12d, %ebx
movq %rax, %r12
jmp LBB0_7
LBB0_2:
movq _errno@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _EMFILE@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_8
## %bb.3:
movq _ENFILE@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_8
## %bb.4:
movq _WARNING@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
movl %r15d, %edx
callq _elog
LBB0_8:
testl %r15d, %r15d
jle LBB0_11
## %bb.9:
movl %r15d, %ebx
xorl %r14d, %r14d
.p2align 4, 0x90
LBB0_10: ## =>This Inner Loop Header: Depth=1
movl (%r12,%r14,4), %edi
callq _close
incq %r14
cmpq %r14, %rbx
jne LBB0_10
LBB0_11:
movq %r12, %rdi
callq _pfree
movq -56(%rbp), %rax ## 8-byte Reload
movl %r15d, (%rax)
subl %r15d, %r13d
incl %r13d
movq -64(%rbp), %rax ## 8-byte Reload
movl %r13d, (%rax)
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _errno,8,3 ## @errno
.comm _EMFILE,8,3 ## @EMFILE
.comm _ENFILE,8,3 ## @ENFILE
.comm _WARNING,4,2 ## @WARNING
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "dup(0) failed after %d successes: %m"
.comm _RLIMIT_NOFILE,4,2 ## @RLIMIT_NOFILE
.comm _RLIMIT_OFILE,4,2 ## @RLIMIT_OFILE
.no_dead_strip _count_usable_fds
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function count_usable_fds
_count_usable_fds: ; @count_usable_fds
.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 x23, x0
mov w0, #4096 ; =0x1000
bl _palloc
mov x22, x0
mov x21, #0 ; =0x0
mov w25, #0 ; =0x0
mov w26, #1024 ; =0x400
b LBB0_2
LBB0_1: ; in Loop: Header=BB0_2 Depth=1
str w24, [x22, x21, lsl #2]
cmp w25, w24
csel w25, w25, w24, gt
sub x21, x21, #1
add w8, w21, #1
cmp w8, w23
b.gt LBB0_7
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov w0, #0 ; =0x0
bl _dup
cmp w0, #0
b.le LBB0_5
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
mov x24, x0
cmp w21, w26
b.lt LBB0_1
; %bb.4: ; in Loop: Header=BB0_2 Depth=1
lsl w27, w26, #1
lsl w1, w26, #3
mov x0, x22
bl _repalloc
mov x22, x0
mov x26, x27
b LBB0_1
LBB0_5:
Lloh0:
adrp x8, _errno@GOTPAGE
Lloh1:
ldr x8, [x8, _errno@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
Lloh3:
adrp x9, _EMFILE@GOTPAGE
Lloh4:
ldr x9, [x9, _EMFILE@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
Lloh6:
adrp x10, _ENFILE@GOTPAGE
Lloh7:
ldr x10, [x10, _ENFILE@GOTPAGEOFF]
Lloh8:
ldr x10, [x10]
cmp x8, x9
ccmp x8, x10, #4, ne
b.eq LBB0_7
; %bb.6:
Lloh9:
adrp x8, _WARNING@GOTPAGE
Lloh10:
ldr x8, [x8, _WARNING@GOTPAGEOFF]
Lloh11:
ldr w0, [x8]
Lloh12:
adrp x1, l_.str@PAGE
Lloh13:
add x1, x1, l_.str@PAGEOFF
mov x2, x21
bl _elog
LBB0_7:
cmp w21, #1
b.lt LBB0_10
; %bb.8:
mov w23, w21
mov x24, x22
LBB0_9: ; =>This Inner Loop Header: Depth=1
ldr w0, [x24], #4
bl _close
subs x23, x23, #1
b.ne LBB0_9
LBB0_10:
mov x0, x22
bl _pfree
str w21, [x20]
sub w8, w25, w21
add w8, w8, #1
str w8, [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 AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.cfi_endproc
; -- End function
.comm _errno,8,3 ; @errno
.comm _EMFILE,8,3 ; @EMFILE
.comm _ENFILE,8,3 ; @ENFILE
.comm _WARNING,4,2 ; @WARNING
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "dup(0) failed after %d successes: %m"
.comm _RLIMIT_NOFILE,4,2 ; @RLIMIT_NOFILE
.comm _RLIMIT_OFILE,4,2 ; @RLIMIT_OFILE
.no_dead_strip _count_usable_fds
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function extract_op_bits
_extract_op_bits: ## @extract_op_bits
.cfi_startproc
## %bb.0:
## kill: def $edx killed $edx def $rdx
## kill: def $esi killed $esi def $rsi
leal 7(%rsi), %eax
testl %esi, %esi
cmovnsl %esi, %eax
movl %eax, %r8d
sarl $3, %r8d
addl %edi, %r8d
andl $-8, %eax
subl %eax, %esi
je LBB0_1
## %bb.2:
movq _dis_table@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movslq %r8d, %r9
decl %r8d
movl $8, %ecx
subl %esi, %ecx
movl $-1, %eax
shll %cl, %eax
notl %eax
cmpl %edx, %ecx
movl %edx, %esi
cmovll %ecx, %esi
subl %esi, %ecx
orl (%rdi,%r9,4), %eax
## kill: def $cl killed $cl killed $ecx
shrl %cl, %eax
subl %esi, %edx
jmp LBB0_3
LBB0_1:
xorl %eax, %eax
LBB0_3:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpl $8, %edx
jl LBB0_12
## %bb.4:
movq _dis_table@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movslq %r8d, %r8
leal -8(%rdx), %esi
movl %esi, %edi
shrl $3, %edi
incl %edi
andl $3, %edi
je LBB0_5
## %bb.6:
shll $3, %edi
xorl %r9d, %r9d
.p2align 4, 0x90
LBB0_7: ## =>This Inner Loop Header: Depth=1
movl %eax, %r10d
shll $8, %r10d
movzbl (%rcx,%r8,4), %eax
incq %r8
orl %r10d, %eax
addl $8, %r9d
cmpl %r9d, %edi
jne LBB0_7
## %bb.8:
subl %r9d, %edx
cmpl $24, %esi
jae LBB0_10
jmp LBB0_12
LBB0_5:
## implicit-def: $eax
cmpl $24, %esi
jb LBB0_12
.p2align 4, 0x90
LBB0_10: ## =>This Inner Loop Header: Depth=1
movl %edx, %eax
addq $4, %r8
leal -32(%rax), %edx
addl $-40, %eax
cmpl $-16, %eax
jb LBB0_10
## %bb.11:
movzbl -4(%rcx,%r8,4), %esi
movl -16(%rcx,%r8,4), %eax
movl -12(%rcx,%r8,4), %edi
shll $24, %eax
movzbl %dil, %edi
shll $16, %edi
orl %eax, %edi
movl -8(%rcx,%r8,4), %eax
shll $8, %eax
movzwl %ax, %eax
orl %edi, %eax
orl %esi, %eax
LBB0_12:
testl %edx, %edx
jle LBB0_14
## %bb.13:
movq _dis_table@GOTPCREL(%rip), %rcx
movq (%rcx), %rsi
movslq %r8d, %rdi
movl %edx, %ecx
shll %cl, %eax
movzbl (%rsi,%rdi,4), %esi
movb $8, %cl
subb %dl, %cl
shrl %cl, %esi
orl %esi, %eax
LBB0_14:
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _dis_table,8,3 ## @dis_table
.no_dead_strip _extract_op_bits
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function extract_op_bits
_extract_op_bits: ; @extract_op_bits
.cfi_startproc
; %bb.0:
add w8, w1, #7
cmp w1, #0
csel w8, w8, w1, lt
add w9, w0, w8, asr #3
and w10, w8, #0xfffffff8
Lloh0:
adrp x8, _dis_table@GOTPAGE
Lloh1:
ldr x8, [x8, _dis_table@GOTPAGEOFF]
subs w10, w1, w10
b.eq LBB0_7
; %bb.1:
ldr x11, [x8]
ldr w11, [x11, w9, sxtw #2]
sub w9, w9, #1
mov w12, #8 ; =0x8
mov w13, #-1 ; =0xffffffff
sub w10, w12, w10
cmp w10, w2
lsl w12, w13, w10
csel w13, w10, w2, lt
sub w10, w10, w13
orn w11, w11, w12
lsr w0, w11, w10
sub w2, w2, w13
; kill: def $w9 killed $w9 def $x9
cmp w2, #8
b.lt LBB0_8
LBB0_2:
ldr x10, [x8]
add x11, x10, w9, sxtw #2
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldrb w10, [x11], #4
orr w0, w10, w0, lsl #8
sub w10, w2, #8
add w9, w9, #1
cmp w2, #15
mov x2, x10
b.hi LBB0_3
; %bb.4:
cmp w10, #1
b.lt LBB0_6
LBB0_5:
ldr x8, [x8]
sbfiz x9, x9, #2, #32
ldrb w8, [x8, x9]
lsl w9, w0, w10
mov w11, #8 ; =0x8
sub w10, w11, w10
lsr w8, w8, w10
orr w0, w8, w9
LBB0_6:
ret
LBB0_7:
mov w0, #0 ; =0x0
cmp w2, #8
b.ge LBB0_2
LBB0_8:
mov x10, x2
cmp w10, #1
b.ge LBB0_5
b LBB0_6
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _dis_table,8,3 ; @dis_table
.no_dead_strip _extract_op_bits
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function do_case_conv
_do_case_conv: ## @do_case_conv
.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
cmpl $4, %ecx
je LBB0_4
## %bb.1:
cmpl $3, %ecx
je LBB0_9
## %bb.2:
cmpl $2, %ecx
jne LBB0_5
## %bb.3:
movq (%rdx), %r9
movq %r9, (%rsi)
movl $8, %eax
xorl %r11d, %r11d
xorl %r10d, %r10d
jmp LBB0_10
LBB0_9:
movq (%rdx), %r10
movq %r10, (%rsi)
movq 8(%rdx), %r9
movq %r9, 8(%rsi)
movl $16, %eax
xorl %r11d, %r11d
jmp LBB0_10
LBB0_4:
movq (%rdx), %r11
movq %r11, (%rsi)
movq 8(%rdx), %r10
movq %r10, 8(%rsi)
movq 16(%rdx), %r9
movq %r9, 16(%rsi)
movl $24, %eax
LBB0_10:
movq (%rdx,%rax), %rdx
movq %rdx, (%rsi,%rax)
movl %ecx, %eax
movq $0, (%rsi,%rax,8)
movq _u8_common_b1_tbl@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movslq %edi, %rdi
movq (%rcx,%rdi,8), %rcx
movq (%rcx,%r11,8), %r11
movq _U8_TBL_ELEMENT_NOT_DEF@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq %rcx, %r11
je LBB0_31
## %bb.11:
movq _u8_case_common_b2_tbl@GOTPCREL(%rip), %rbx
movq (%rbx), %rbx
movq (%rbx,%rdi,8), %rbx
movq (%rbx,%r11,8), %r11
movq (%r11,%r10,8), %r10
cmpq %rcx, %r10
je LBB0_31
## %bb.12:
testq %r8, %r8
je LBB0_17
## %bb.13:
movq _u8_toupper_b3_tbl@GOTPCREL(%rip), %r8
movq (%r8), %r8
movq (%r8,%rdi,8), %r8
movq (%r8,%r10,8), %r10
shlq $4, %r9
movq (%r10,%r9), %r8
cmpq %rcx, %r8
je LBB0_31
## %bb.14:
movq _u8_toupper_b4_tbl@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq (%rcx,%rdi,8), %rcx
movq (%rcx,%r8,8), %rcx
movq (%rcx,%rdx,8), %r8
movq 8(%rcx,%rdx,8), %rdx
cmpq %rdx, %r8
jae LBB0_31
## %bb.15:
movq 8(%r10,%r9), %r9
movq _u8_toupper_final_tbl@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
shlq $3, %r9
addq (%rcx,%rdi,8), %r9
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_16: ## =>This Inner Loop Header: Depth=1
movq (%r9,%r8,8), %rdi
movq %rdi, (%rsi,%rcx,8)
incq %rcx
decq %r8
cmpq %rdx, %r8
jb LBB0_16
jmp LBB0_28
LBB0_5:
movq %rsi, %rbx
movq (%rdx), %rdi
testq %r8, %r8
je LBB0_7
## %bb.6:
callq _U8_ASCII_TOUPPER
jmp LBB0_8
LBB0_7:
callq _U8_ASCII_TOLOWER
LBB0_8:
movq %rbx, %rsi
movq %rax, (%rbx)
addq $8, %rsi
movl $1, %ecx
LBB0_30:
movq $0, (%rsi)
movq %rcx, %rax
LBB0_31:
popq %rbx
popq %r14
popq %rbp
retq
LBB0_17:
movq _u8_tolower_b3_tbl@GOTPCREL(%rip), %r8
movq (%r8), %r8
movq (%r8,%rdi,8), %r8
movq (%r8,%r10,8), %r10
shlq $4, %r9
movq (%r10,%r9), %r8
cmpq %rcx, %r8
je LBB0_31
## %bb.18:
movq _u8_tolower_b4_tbl@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq (%rcx,%rdi,8), %rcx
movq (%rcx,%r8,8), %rcx
movq (%rcx,%rdx,8), %r8
movq 8(%rcx,%rdx,8), %rdx
movq %rdx, %rcx
subq %r8, %rcx
jbe LBB0_31
## %bb.19:
movq _U8_MB_CUR_MAX@GOTPCREL(%rip), %r11
cmpq (%r11), %rcx
ja LBB0_31
## %bb.20:
addq %r9, %r10
movq 8(%r10), %r9
movq _u8_tolower_final_tbl@GOTPCREL(%rip), %r10
movq (%r10), %r10
movq (%r10,%rdi,8), %rdi
cmpq $12, %rcx
jb LBB0_21
## %bb.22:
leaq (%r8,%r9), %r10
leaq (%rdi,%r10,8), %r10
movq %rsi, %r11
subq %r10, %r11
cmpq $32, %r11
jae LBB0_23
LBB0_21:
xorl %r10d, %r10d
movq %r8, %r11
LBB0_26:
shlq $3, %r9
leaq (%r9,%r11,8), %r9
addq %r9, %rdi
subq %r10, %rdx
subq %r8, %rdx
leaq (%rsi,%r10,8), %r8
xorl %r9d, %r9d
.p2align 4, 0x90
LBB0_27: ## =>This Inner Loop Header: Depth=1
movq (%rdi,%r9,8), %r10
movq %r10, (%r8,%r9,8)
incq %r9
cmpq %r9, %rdx
jne LBB0_27
LBB0_28:
testq %rcx, %rcx
je LBB0_31
## %bb.29:
leaq (%rsi,%rcx,8), %rsi
jmp LBB0_30
LBB0_23:
movq %rcx, %r10
andq $-4, %r10
leaq (%r8,%r10), %r11
leaq (,%r8,8), %rbx
leaq (%rbx,%r9,8), %rbx
addq %rdi, %rbx
addq $16, %rbx
xorl %r14d, %r14d
LBB0_24: ## =>This Inner Loop Header: Depth=1
movups -16(%rbx,%r14,8), %xmm0
movups (%rbx,%r14,8), %xmm1
movups %xmm0, (%rsi,%r14,8)
movups %xmm1, 16(%rsi,%r14,8)
addq $4, %r14
cmpq %r14, %r10
jne LBB0_24
## %bb.25:
cmpq %r10, %rcx
jne LBB0_26
jmp LBB0_28
.cfi_endproc
## -- End function
.comm _u8_common_b1_tbl,8,3 ## @u8_common_b1_tbl
.comm _U8_TBL_ELEMENT_NOT_DEF,8,3 ## @U8_TBL_ELEMENT_NOT_DEF
.comm _u8_case_common_b2_tbl,8,3 ## @u8_case_common_b2_tbl
.comm _u8_toupper_b3_tbl,8,3 ## @u8_toupper_b3_tbl
.comm _u8_toupper_b4_tbl,8,3 ## @u8_toupper_b4_tbl
.comm _U8_MB_CUR_MAX,8,3 ## @U8_MB_CUR_MAX
.comm _u8_toupper_final_tbl,8,3 ## @u8_toupper_final_tbl
.comm _u8_tolower_b3_tbl,8,3 ## @u8_tolower_b3_tbl
.comm _u8_tolower_b4_tbl,8,3 ## @u8_tolower_b4_tbl
.comm _u8_tolower_final_tbl,8,3 ## @u8_tolower_final_tbl
.no_dead_strip _do_case_conv
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function do_case_conv
_do_case_conv: ; @do_case_conv
.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 x8, x0
cmp w3, #4
b.eq LBB0_5
; %bb.1:
cmp w3, #3
b.eq LBB0_4
; %bb.2:
cmp w3, #2
b.ne LBB0_13
; %bb.3:
mov x12, #0 ; =0x0
mov x10, #0 ; =0x0
ldr x9, [x2]
str x9, [x1]
mov w13, #8 ; =0x8
b LBB0_6
LBB0_4:
mov x12, #0 ; =0x0
ldr x10, [x2]
str x10, [x1]
ldr x9, [x2, #8]
str x9, [x1, #8]
mov w13, #16 ; =0x10
b LBB0_6
LBB0_5:
ldr x12, [x2]
str x12, [x1]
ldr x10, [x2, #8]
str x10, [x1, #8]
ldr x9, [x2, #16]
str x9, [x1, #16]
mov w13, #24 ; =0x18
LBB0_6:
ldr x11, [x2, x13]
str x11, [x1, x13]
str xzr, [x1, w3, uxtw #3]
mov w0, w3
Lloh0:
adrp x13, _u8_common_b1_tbl@GOTPAGE
Lloh1:
ldr x13, [x13, _u8_common_b1_tbl@GOTPAGEOFF]
Lloh2:
ldr x13, [x13]
ldr x13, [x13, w8, sxtw #3]
ldr x13, [x13, x12, lsl #3]
Lloh3:
adrp x12, _U8_TBL_ELEMENT_NOT_DEF@GOTPAGE
Lloh4:
ldr x12, [x12, _U8_TBL_ELEMENT_NOT_DEF@GOTPAGEOFF]
Lloh5:
ldr x12, [x12]
cmp x13, x12
b.eq LBB0_18
; %bb.7:
Lloh6:
adrp x14, _u8_case_common_b2_tbl@GOTPAGE
Lloh7:
ldr x14, [x14, _u8_case_common_b2_tbl@GOTPAGEOFF]
Lloh8:
ldr x14, [x14]
ldr x14, [x14, w8, sxtw #3]
ldr x13, [x14, x13, lsl #3]
ldr x10, [x13, x10, lsl #3]
cmp x10, x12
b.eq LBB0_18
; %bb.8:
cbz x4, LBB0_19
; %bb.9:
Lloh9:
adrp x13, _u8_toupper_b3_tbl@GOTPAGE
Lloh10:
ldr x13, [x13, _u8_toupper_b3_tbl@GOTPAGEOFF]
Lloh11:
ldr x13, [x13]
ldr x13, [x13, w8, sxtw #3]
ldr x13, [x13, x10, lsl #3]
lsl x10, x9, #4
ldr x10, [x13, x10]
cmp x10, x12
b.eq LBB0_18
; %bb.10:
Lloh12:
adrp x12, _u8_toupper_b4_tbl@GOTPAGE
Lloh13:
ldr x12, [x12, _u8_toupper_b4_tbl@GOTPAGEOFF]
Lloh14:
ldr x12, [x12]
ldr x12, [x12, w8, sxtw #3]
ldr x10, [x12, x10, lsl #3]
add x11, x10, x11, lsl #3
ldp x10, x11, [x11]
cmp x10, x11
b.hs LBB0_18
; %bb.11:
mov x12, #0 ; =0x0
add x9, x13, x9, lsl #4
ldr x9, [x9, #8]
Lloh15:
adrp x13, _u8_toupper_final_tbl@GOTPAGE
Lloh16:
ldr x13, [x13, _u8_toupper_final_tbl@GOTPAGEOFF]
Lloh17:
ldr x13, [x13]
ldr x8, [x13, w8, sxtw #3]
add x8, x8, x9, lsl #3
LBB0_12: ; =>This Inner Loop Header: Depth=1
ldr x13, [x8, x10, lsl #3]
add x9, x12, #1
str x13, [x1, x12, lsl #3]
sub x10, x10, #1
mov x12, x9
cmp x10, x11
b.lo LBB0_12
b LBB0_27
LBB0_13:
mov x19, x1
ldr x0, [x2]
cbz x4, LBB0_15
; %bb.14:
bl _U8_ASCII_TOUPPER
b LBB0_16
LBB0_15:
bl _U8_ASCII_TOLOWER
LBB0_16:
mov x1, x19
str x0, [x1], #8
mov w9, #1 ; =0x1
LBB0_17:
str xzr, [x1]
mov x0, x9
LBB0_18:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_19:
Lloh18:
adrp x13, _u8_tolower_b3_tbl@GOTPAGE
Lloh19:
ldr x13, [x13, _u8_tolower_b3_tbl@GOTPAGEOFF]
Lloh20:
ldr x13, [x13]
ldr x13, [x13, w8, sxtw #3]
ldr x10, [x13, x10, lsl #3]
add x13, x10, x9, lsl #4
ldr x9, [x13]
cmp x9, x12
b.eq LBB0_18
; %bb.20:
Lloh21:
adrp x10, _u8_tolower_b4_tbl@GOTPAGE
Lloh22:
ldr x10, [x10, _u8_tolower_b4_tbl@GOTPAGEOFF]
Lloh23:
ldr x10, [x10]
ldr x10, [x10, w8, sxtw #3]
ldr x9, [x10, x9, lsl #3]
add x9, x9, x11, lsl #3
ldp x10, x11, [x9]
subs x9, x11, x10
b.ls LBB0_18
; %bb.21:
Lloh24:
adrp x12, _U8_MB_CUR_MAX@GOTPAGE
Lloh25:
ldr x12, [x12, _U8_MB_CUR_MAX@GOTPAGEOFF]
Lloh26:
ldr x12, [x12]
cmp x9, x12
b.hi LBB0_18
; %bb.22:
ldr x12, [x13, #8]
Lloh27:
adrp x13, _u8_tolower_final_tbl@GOTPAGE
Lloh28:
ldr x13, [x13, _u8_tolower_final_tbl@GOTPAGEOFF]
Lloh29:
ldr x13, [x13]
ldr x8, [x13, w8, sxtw #3]
cmp x9, #10
b.lo LBB0_24
; %bb.23:
add x13, x10, x12
add x13, x8, x13, lsl #3
sub x13, x1, x13
cmp x13, #64
b.hs LBB0_29
LBB0_24:
mov x13, #0 ; =0x0
mov x14, x10
LBB0_25:
lsl x14, x14, #3
add x12, x14, x12, lsl #3
add x8, x8, x12
add x10, x13, x10
sub x10, x10, x11
add x11, x1, x13, lsl #3
LBB0_26: ; =>This Inner Loop Header: Depth=1
ldr x12, [x8], #8
str x12, [x11], #8
adds x10, x10, #1
b.lo LBB0_26
LBB0_27:
cbz x9, LBB0_18
; %bb.28:
add x1, x1, x9, lsl #3
b LBB0_17
LBB0_29:
and x13, x9, #0xfffffffffffffff8
add x14, x10, x13
add x15, x1, #32
lsl x16, x10, #3
add x16, x16, x12, lsl #3
add x16, x16, x8
add x16, x16, #32
mov x17, x13
LBB0_30: ; =>This Inner Loop Header: Depth=1
ldp q0, q1, [x16, #-32]
ldp q2, q3, [x16], #64
stp q0, q1, [x15, #-32]
stp q2, q3, [x15], #64
subs x17, x17, #8
b.ne LBB0_30
; %bb.31:
cmp x9, x13
b.ne LBB0_25
b LBB0_27
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.cfi_endproc
; -- End function
.comm _u8_common_b1_tbl,8,3 ; @u8_common_b1_tbl
.comm _U8_TBL_ELEMENT_NOT_DEF,8,3 ; @U8_TBL_ELEMENT_NOT_DEF
.comm _u8_case_common_b2_tbl,8,3 ; @u8_case_common_b2_tbl
.comm _u8_toupper_b3_tbl,8,3 ; @u8_toupper_b3_tbl
.comm _u8_toupper_b4_tbl,8,3 ; @u8_toupper_b4_tbl
.comm _U8_MB_CUR_MAX,8,3 ; @U8_MB_CUR_MAX
.comm _u8_toupper_final_tbl,8,3 ; @u8_toupper_final_tbl
.comm _u8_tolower_b3_tbl,8,3 ; @u8_tolower_b3_tbl
.comm _u8_tolower_b4_tbl,8,3 ; @u8_tolower_b4_tbl
.comm _u8_tolower_final_tbl,8,3 ; @u8_tolower_final_tbl
.no_dead_strip _do_case_conv
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _ff_dca_set_channel_layout ## -- Begin function ff_dca_set_channel_layout
.p2align 4, 0x90
_ff_dca_set_channel_layout: ## @ff_dca_set_channel_layout
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq _AV_CH_LAYOUT_NATIVE@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl (%rdi), %eax
je LBB0_7
## %bb.1:
movq _DCA_SPEAKER_COUNT@GOTPCREL(%rip), %rcx
movl (%rcx), %r8d
xorl %eax, %eax
testl %r8d, %r8d
js LBB0_6
## %bb.2:
xorl %r9d, %r9d
jmp LBB0_3
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_3 Depth=1
decl %r9d
cmpl %r8d, %r9d
jg LBB0_6
LBB0_3: ## =>This Inner Loop Header: Depth=1
btl %r9d, %edx
jae LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movslq %eax, %r8
incl %eax
movl %r9d, (%rsi,%r8,4)
movl (%rcx), %r8d
jmp LBB0_5
LBB0_6:
movl %edx, 4(%rdi)
jmp LBB0_19
LBB0_7:
movq _DCA_SPEAKER_LAYOUT_7POINT0_WIDE@GOTPCREL(%rip), %rcx
movq _DCA_SPEAKER_LAYOUT_7POINT1_WIDE@GOTPCREL(%rip), %rax
cmpl %edx, (%rax)
leaq _ff_dca_set_channel_layout.dca2wav_wide(%rip), %r8
leaq _ff_dca_set_channel_layout.dca2wav_norm(%rip), %rax
cmoveq %r8, %rax
cmpl %edx, (%rcx)
cmoveq %r8, %rax
xorl %r9d, %r9d
xorl %r8d, %r8d
jmp LBB0_8
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_8 Depth=1
incq %r9
cmpq $28, %r9
je LBB0_12
LBB0_8: ## =>This Inner Loop Header: Depth=1
btl %r9d, %edx
jae LBB0_11
## %bb.9: ## in Loop: Header=BB0_8 Depth=1
movslq (%rax,%r9,4), %rcx
movl $1, %r10d
shll %cl, %r10d
btl %ecx, %r8d
jb LBB0_11
## %bb.10: ## in Loop: Header=BB0_8 Depth=1
movl %r9d, -80(%rbp,%rcx,4)
orl %r10d, %r8d
jmp LBB0_11
LBB0_12:
xorl %ecx, %ecx
xorl %eax, %eax
jmp LBB0_13
.p2align 4, 0x90
LBB0_17: ## in Loop: Header=BB0_13 Depth=1
incq %rdx
movq %rdx, %rcx
cmpq $18, %rdx
je LBB0_18
LBB0_13: ## =>This Inner Loop Header: Depth=1
btl %ecx, %r8d
jae LBB0_15
## %bb.14: ## in Loop: Header=BB0_13 Depth=1
movl -80(%rbp,%rcx,4), %edx
movslq %eax, %r9
incl %eax
movl %edx, (%rsi,%r9,4)
LBB0_15: ## in Loop: Header=BB0_13 Depth=1
leaq 1(%rcx), %rdx
btl %edx, %r8d
jae LBB0_17
## %bb.16: ## in Loop: Header=BB0_13 Depth=1
movl -76(%rbp,%rcx,4), %ecx
movslq %eax, %r9
incl %eax
movl %ecx, (%rsi,%r9,4)
jmp LBB0_17
LBB0_18:
movl %r8d, 4(%rdi)
LBB0_19:
movl %eax, 8(%rdi)
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -8(%rbp), %rcx
jne LBB0_21
## %bb.20:
addq $80, %rsp
popq %rbp
retq
LBB0_21:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 4, 0x0 ## @ff_dca_set_channel_layout.dca2wav_norm
_ff_dca_set_channel_layout.dca2wav_norm:
.long 2 ## 0x2
.long 0 ## 0x0
.long 1 ## 0x1
.long 9 ## 0x9
.long 10 ## 0xa
.long 3 ## 0x3
.long 8 ## 0x8
.long 4 ## 0x4
.long 5 ## 0x5
.long 9 ## 0x9
.long 10 ## 0xa
.long 6 ## 0x6
.long 7 ## 0x7
.long 12 ## 0xc
.long 13 ## 0xd
.long 14 ## 0xe
.long 3 ## 0x3
.long 6 ## 0x6
.long 7 ## 0x7
.long 11 ## 0xb
.long 12 ## 0xc
.long 14 ## 0xe
.long 16 ## 0x10
.long 15 ## 0xf
.long 17 ## 0x11
.long 8 ## 0x8
.long 4 ## 0x4
.long 5 ## 0x5
.p2align 4, 0x0 ## @ff_dca_set_channel_layout.dca2wav_wide
_ff_dca_set_channel_layout.dca2wav_wide:
.long 2 ## 0x2
.long 0 ## 0x0
.long 1 ## 0x1
.long 4 ## 0x4
.long 5 ## 0x5
.long 3 ## 0x3
.long 8 ## 0x8
.long 4 ## 0x4
.long 5 ## 0x5
.long 9 ## 0x9
.long 10 ## 0xa
.long 6 ## 0x6
.long 7 ## 0x7
.long 12 ## 0xc
.long 13 ## 0xd
.long 14 ## 0xe
.long 3 ## 0x3
.long 9 ## 0x9
.long 10 ## 0xa
.long 11 ## 0xb
.long 12 ## 0xc
.long 14 ## 0xe
.long 16 ## 0x10
.long 15 ## 0xf
.long 17 ## 0x11
.long 8 ## 0x8
.long 4 ## 0x4
.long 5 ## 0x5
.comm _AV_CH_LAYOUT_NATIVE,4,2 ## @AV_CH_LAYOUT_NATIVE
.comm _DCA_SPEAKER_COUNT,4,2 ## @DCA_SPEAKER_COUNT
.comm _DCA_SPEAKER_LAYOUT_7POINT0_WIDE,4,2 ## @DCA_SPEAKER_LAYOUT_7POINT0_WIDE
.comm _DCA_SPEAKER_LAYOUT_7POINT1_WIDE,4,2 ## @DCA_SPEAKER_LAYOUT_7POINT1_WIDE
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _ff_dca_set_channel_layout ; -- Begin function ff_dca_set_channel_layout
.p2align 2
_ff_dca_set_channel_layout: ; @ff_dca_set_channel_layout
.cfi_startproc
; %bb.0:
sub sp, sp, #96
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
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-8]
ldr w8, [x0]
Lloh3:
adrp x9, _AV_CH_LAYOUT_NATIVE@GOTPAGE
Lloh4:
ldr x9, [x9, _AV_CH_LAYOUT_NATIVE@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
orr w8, w9, w8
cbz w8, LBB0_6
; %bb.1:
Lloh6:
adrp x9, _DCA_SPEAKER_COUNT@GOTPAGE
Lloh7:
ldr x9, [x9, _DCA_SPEAKER_COUNT@GOTPAGEOFF]
ldr w10, [x9]
tbnz w10, #31, LBB0_16
; %bb.2:
mov w8, #0 ; =0x0
mov w11, #0 ; =0x0
b LBB0_4
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
sub w11, w11, #1
cmp w11, w10
b.gt LBB0_17
LBB0_4: ; =>This Inner Loop Header: Depth=1
lsr w12, w2, w11
tbz w12, #0, LBB0_3
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
str w11, [x1, w8, sxtw #2]
add w8, w8, #1
ldr w10, [x9]
b LBB0_3
LBB0_6:
mov x8, #0 ; =0x0
mov w9, #0 ; =0x0
Lloh8:
adrp x10, _DCA_SPEAKER_LAYOUT_7POINT0_WIDE@GOTPAGE
Lloh9:
ldr x10, [x10, _DCA_SPEAKER_LAYOUT_7POINT0_WIDE@GOTPAGEOFF]
Lloh10:
ldr w10, [x10]
Lloh11:
adrp x11, _DCA_SPEAKER_LAYOUT_7POINT1_WIDE@GOTPAGE
Lloh12:
ldr x11, [x11, _DCA_SPEAKER_LAYOUT_7POINT1_WIDE@GOTPAGEOFF]
Lloh13:
ldr w11, [x11]
cmp w11, w2
Lloh14:
adrp x11, _ff_dca_set_channel_layout.dca2wav_norm@PAGE
Lloh15:
add x11, x11, _ff_dca_set_channel_layout.dca2wav_norm@PAGEOFF
ccmp w10, w2, #4, ne
Lloh16:
adrp x10, _ff_dca_set_channel_layout.dca2wav_wide@PAGE
Lloh17:
add x10, x10, _ff_dca_set_channel_layout.dca2wav_wide@PAGEOFF
csel x10, x10, x11, eq
mov w11, #1 ; =0x1
mov x12, sp
b LBB0_8
LBB0_7: ; in Loop: Header=BB0_8 Depth=1
add x8, x8, #1
cmp x8, #28
b.eq LBB0_11
LBB0_8: ; =>This Inner Loop Header: Depth=1
lsr w13, w2, w8
tbz w13, #0, LBB0_7
; %bb.9: ; in Loop: Header=BB0_8 Depth=1
ldr w13, [x10, x8, lsl #2]
lsl w14, w11, w13
tst w14, w9
b.ne LBB0_7
; %bb.10: ; in Loop: Header=BB0_8 Depth=1
str w8, [x12, w13, sxtw #2]
orr w9, w14, w9
b LBB0_7
LBB0_11:
mov x10, #0 ; =0x0
mov w8, #0 ; =0x0
mov x11, sp
b LBB0_13
LBB0_12: ; in Loop: Header=BB0_13 Depth=1
add x10, x10, #1
cmp x10, #18
b.eq LBB0_15
LBB0_13: ; =>This Inner Loop Header: Depth=1
lsr w12, w9, w10
tbz w12, #0, LBB0_12
; %bb.14: ; in Loop: Header=BB0_13 Depth=1
ldr w12, [x11, x10, lsl #2]
str w12, [x1, w8, sxtw #2]
add w8, w8, #1
b LBB0_12
LBB0_15:
str w9, [x0, #4]
b LBB0_18
LBB0_16:
mov w8, #0 ; =0x0
LBB0_17:
str w2, [x0, #4]
LBB0_18:
str w8, [x0, #8]
ldur x9, [x29, #-8]
Lloh18:
adrp x10, ___stack_chk_guard@GOTPAGE
Lloh19:
ldr x10, [x10, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
ldr x10, [x10]
cmp x10, x9
b.ne LBB0_20
; %bb.19:
mov x0, x8
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
LBB0_20:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.cfi_endproc
; -- End function
.section __TEXT,__const
.p2align 2, 0x0 ; @ff_dca_set_channel_layout.dca2wav_norm
_ff_dca_set_channel_layout.dca2wav_norm:
.long 2 ; 0x2
.long 0 ; 0x0
.long 1 ; 0x1
.long 9 ; 0x9
.long 10 ; 0xa
.long 3 ; 0x3
.long 8 ; 0x8
.long 4 ; 0x4
.long 5 ; 0x5
.long 9 ; 0x9
.long 10 ; 0xa
.long 6 ; 0x6
.long 7 ; 0x7
.long 12 ; 0xc
.long 13 ; 0xd
.long 14 ; 0xe
.long 3 ; 0x3
.long 6 ; 0x6
.long 7 ; 0x7
.long 11 ; 0xb
.long 12 ; 0xc
.long 14 ; 0xe
.long 16 ; 0x10
.long 15 ; 0xf
.long 17 ; 0x11
.long 8 ; 0x8
.long 4 ; 0x4
.long 5 ; 0x5
.p2align 2, 0x0 ; @ff_dca_set_channel_layout.dca2wav_wide
_ff_dca_set_channel_layout.dca2wav_wide:
.long 2 ; 0x2
.long 0 ; 0x0
.long 1 ; 0x1
.long 4 ; 0x4
.long 5 ; 0x5
.long 3 ; 0x3
.long 8 ; 0x8
.long 4 ; 0x4
.long 5 ; 0x5
.long 9 ; 0x9
.long 10 ; 0xa
.long 6 ; 0x6
.long 7 ; 0x7
.long 12 ; 0xc
.long 13 ; 0xd
.long 14 ; 0xe
.long 3 ; 0x3
.long 9 ; 0x9
.long 10 ; 0xa
.long 11 ; 0xb
.long 12 ; 0xc
.long 14 ; 0xe
.long 16 ; 0x10
.long 15 ; 0xf
.long 17 ; 0x11
.long 8 ; 0x8
.long 4 ; 0x4
.long 5 ; 0x5
.comm _AV_CH_LAYOUT_NATIVE,4,2 ; @AV_CH_LAYOUT_NATIVE
.comm _DCA_SPEAKER_COUNT,4,2 ; @DCA_SPEAKER_COUNT
.comm _DCA_SPEAKER_LAYOUT_7POINT0_WIDE,4,2 ; @DCA_SPEAKER_LAYOUT_7POINT0_WIDE
.comm _DCA_SPEAKER_LAYOUT_7POINT1_WIDE,4,2 ; @DCA_SPEAKER_LAYOUT_7POINT1_WIDE
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function complete_service
_complete_service: ## @complete_service
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $72, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, -64(%rbp) ## 8-byte Spill
movq $0, -48(%rbp)
movq (%rdi), %rax
movq _NC_TPI_CLTS@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_20
## %bb.1:
movq %rdi, %rbx
movq _NC_TPI_COTS@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_3
## %bb.2:
movq _NC_TPI_COTS_ORD@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_20
LBB0_3:
leaq -80(%rbp), %rsi
movq %rbx, %rdi
callq ___rpc_nconf2sockinfo
testl %eax, %eax
je LBB0_4
## %bb.5:
movq _nhosts@GOTPCREL(%rip), %rax
movl (%rax), %r15d
testl %r15d, %r15d
jle LBB0_20
## %bb.6:
incl %r15d
movb $1, %r14b
movq _sock_fdpos@GOTPCREL(%rip), %r13
jmp LBB0_7
.p2align 4, 0x90
LBB0_19: ## in Loop: Header=BB0_7 Depth=1
decl %r15d
xorl %r14d, %r14d
cmpl $1, %r15d
jbe LBB0_20
LBB0_7: ## =>This Inner Loop Header: Depth=1
movq (%r13), %rax
movq _sock_fdcnt@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jge LBB0_8
## %bb.9: ## in Loop: Header=BB0_7 Depth=1
movq _sock_fd@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
leaq 1(%rax), %rdx
movq %rdx, (%r13)
movl (%rcx,%rax,4), %r12d
testl %r12d, %r12d
js LBB0_20
## %bb.10: ## in Loop: Header=BB0_7 Depth=1
movq (%rbx), %rax
movq _NC_TPI_CLTS@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_12
## %bb.11: ## in Loop: Header=BB0_7 Depth=1
movq _SOMAXCONN@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl %r12d, %edi
callq _listen
LBB0_12: ## in Loop: Header=BB0_7 Depth=1
movq _RPC_MAXDATASIZE@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl %r12d, %edi
movq %rbx, %rsi
xorl %edx, %edx
movl %ecx, %r8d
callq _svc_tli_create
movq _LOG_WARNING@GOTPCREL(%rip), %rcx
leaq L_.str.4(%rip), %rsi
testq %rax, %rax
je LBB0_15
## %bb.13: ## in Loop: Header=BB0_7 Depth=1
movq %rax, %r12
movq _SM_PROG@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _SM_VERS@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _sm_prog_1@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %r12, %rdi
xorl %r8d, %r8d
callq _svc_register
movq _LOG_ERR@GOTPCREL(%rip), %rcx
leaq L_.str.2(%rip), %rsi
testl %eax, %eax
je LBB0_15
## %bb.14: ## in Loop: Header=BB0_7 Depth=1
movq _SM_PROG@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _SM_VERS@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _sm_prog_1@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %r12, %rdi
xorl %r8d, %r8d
callq _svc_reg
movq _LOG_ERR@GOTPCREL(%rip), %rcx
leaq L_.str.3(%rip), %rsi
testl %eax, %eax
jne LBB0_16
.p2align 4, 0x90
LBB0_15: ## in Loop: Header=BB0_7 Depth=1
movl (%rcx), %edi
movl 8(%rbx), %edx
xorl %eax, %eax
callq _syslog
LBB0_16: ## in Loop: Header=BB0_7 Depth=1
testb $1, %r14b
je LBB0_19
## %bb.17: ## in Loop: Header=BB0_7 Depth=1
leaq -104(%rbp), %r14
movq %r14, %rdi
xorl %esi, %esi
movl $24, %edx
callq _memset
movq _AI_PASSIVE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -84(%rbp)
movl -72(%rbp), %eax
movl %eax, -88(%rbp)
movq -80(%rbp), %rax
movq %rax, -96(%rbp)
xorl %edi, %edi
movq -64(%rbp), %rsi ## 8-byte Reload
movq %r14, %rdx
leaq -48(%rbp), %rcx
callq _getaddrinfo
testl %eax, %eax
jne LBB0_21
## %bb.18: ## in Loop: Header=BB0_7 Depth=1
movq -48(%rbp), %rax
movl (%rax), %edi
callq _malloc
movl %eax, -52(%rbp)
movq -48(%rbp), %rcx
movl (%rcx), %edx
movl 4(%rcx), %esi
movl %eax, %edi
callq _memcpy
movq -48(%rbp), %rax
movl (%rax), %eax
movl %eax, -56(%rbp)
movq _SM_PROG@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _SM_VERS@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdx
leaq -56(%rbp), %rcx
callq _rpcb_set
movq _xcreated@GOTPCREL(%rip), %rax
incl (%rax)
movq -48(%rbp), %rdi
callq _freeaddrinfo
jmp LBB0_19
LBB0_4:
movq _LOG_ERR@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl 8(%rbx), %edx
leaq L_.str(%rip), %rsi
xorl %eax, %eax
callq _syslog
jmp LBB0_20
LBB0_8:
movq _LOG_ERR@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.1(%rip), %rsi
xorl %eax, %eax
callq _syslog
LBB0_20:
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_21:
movq _LOG_ERR@GOTPCREL(%rip), %rcx
movl (%rcx), %ebx
movl %eax, %edi
callq _gai_strerror
leaq L_.str.5(%rip), %rsi
movl %ebx, %edi
movl %eax, %edx
xorl %eax, %eax
callq _syslog
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.comm _NC_TPI_CLTS,8,3 ## @NC_TPI_CLTS
.comm _NC_TPI_COTS,8,3 ## @NC_TPI_COTS
.comm _NC_TPI_COTS_ORD,8,3 ## @NC_TPI_COTS_ORD
.comm _LOG_ERR,4,2 ## @LOG_ERR
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "cannot get information for %s"
.comm _nhosts,4,2 ## @nhosts
.comm _sock_fdpos,8,3 ## @sock_fdpos
.comm _sock_fdcnt,8,3 ## @sock_fdcnt
L_.str.1: ## @.str.1
.asciz "Ran out of socket fd's"
.comm _sock_fd,8,3 ## @sock_fd
.comm _SOMAXCONN,4,2 ## @SOMAXCONN
.comm _RPC_MAXDATASIZE,4,2 ## @RPC_MAXDATASIZE
.comm _SM_PROG,4,2 ## @SM_PROG
.comm _SM_VERS,4,2 ## @SM_VERS
.comm _sm_prog_1,4,2 ## @sm_prog_1
L_.str.2: ## @.str.2
.asciz "can't register on %s"
L_.str.3: ## @.str.3
.asciz "can't register %s SM_PROG service"
.comm _LOG_WARNING,4,2 ## @LOG_WARNING
L_.str.4: ## @.str.4
.asciz "can't create %s services"
.comm _AI_PASSIVE,4,2 ## @AI_PASSIVE
L_.str.5: ## @.str.5
.asciz "cannot get local address: %s"
.comm _xcreated,4,2 ## @xcreated
.no_dead_strip _complete_service
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function complete_service
_complete_service: ; @complete_service
.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
str xzr, [sp, #32]
ldr x8, [x0]
Lloh0:
adrp x22, _NC_TPI_CLTS@GOTPAGE
Lloh1:
ldr x22, [x22, _NC_TPI_CLTS@GOTPAGEOFF]
ldr x9, [x22]
cmp x8, x9
b.ne LBB0_23
; %bb.1:
Lloh2:
adrp x9, _NC_TPI_COTS@GOTPAGE
Lloh3:
ldr x9, [x9, _NC_TPI_COTS@GOTPAGEOFF]
Lloh4:
ldr x9, [x9]
Lloh5:
adrp x10, _NC_TPI_COTS_ORD@GOTPAGE
Lloh6:
ldr x10, [x10, _NC_TPI_COTS_ORD@GOTPAGEOFF]
Lloh7:
ldr x10, [x10]
cmp x8, x9
ccmp x8, x10, #4, ne
b.ne LBB0_23
; %bb.2:
mov x20, x1
mov x19, x0
add x1, sp, #16
bl ___rpc_nconf2sockinfo
cbz w0, LBB0_20
; %bb.3:
Lloh8:
adrp x8, _nhosts@GOTPAGE
Lloh9:
ldr x8, [x8, _nhosts@GOTPAGEOFF]
Lloh10:
ldr w8, [x8]
cmp w8, #1
b.lt LBB0_23
; %bb.4:
Lloh11:
adrp x23, _sock_fdpos@GOTPAGE
Lloh12:
ldr x23, [x23, _sock_fdpos@GOTPAGEOFF]
add w24, w8, #1
mov w25, #1 ; =0x1
Lloh13:
adrp x28, _SM_PROG@GOTPAGE
Lloh14:
ldr x28, [x28, _SM_PROG@GOTPAGEOFF]
Lloh15:
adrp x27, _SM_VERS@GOTPAGE
Lloh16:
ldr x27, [x27, _SM_VERS@GOTPAGEOFF]
Lloh17:
adrp x26, _sm_prog_1@GOTPAGE
Lloh18:
ldr x26, [x26, _sm_prog_1@GOTPAGEOFF]
b LBB0_6
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
mov w25, #0 ; =0x0
sub w24, w24, #1
cmp w24, #1
b.ls LBB0_23
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldr x8, [x23]
Lloh19:
adrp x9, _sock_fdcnt@GOTPAGE
Lloh20:
ldr x9, [x9, _sock_fdcnt@GOTPAGEOFF]
Lloh21:
ldr x9, [x9]
cmp x8, x9
b.ge LBB0_21
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
Lloh22:
adrp x9, _sock_fd@GOTPAGE
Lloh23:
ldr x9, [x9, _sock_fd@GOTPAGEOFF]
Lloh24:
ldr x9, [x9]
add x10, x8, #1
str x10, [x23]
ldr w21, [x9, x8, lsl #2]
tbnz w21, #31, LBB0_23
; %bb.8: ; in Loop: Header=BB0_6 Depth=1
ldr x8, [x19]
ldr x9, [x22]
cmp x8, x9
b.eq LBB0_10
; %bb.9: ; in Loop: Header=BB0_6 Depth=1
Lloh25:
adrp x8, _SOMAXCONN@GOTPAGE
Lloh26:
ldr x8, [x8, _SOMAXCONN@GOTPAGEOFF]
Lloh27:
ldr w1, [x8]
mov x0, x21
bl _listen
LBB0_10: ; in Loop: Header=BB0_6 Depth=1
Lloh28:
adrp x8, _RPC_MAXDATASIZE@GOTPAGE
Lloh29:
ldr x8, [x8, _RPC_MAXDATASIZE@GOTPAGEOFF]
Lloh30:
ldr w3, [x8]
mov x0, x21
mov x1, x19
mov x2, #0 ; =0x0
mov x4, x3
bl _svc_tli_create
cbz x0, LBB0_14
; %bb.11: ; in Loop: Header=BB0_6 Depth=1
ldr w1, [x28]
ldr w2, [x27]
ldr w3, [x26]
mov x21, x0
mov w4, #0 ; =0x0
bl _svc_register
cbz w0, LBB0_15
; %bb.12: ; in Loop: Header=BB0_6 Depth=1
ldr w1, [x28]
ldr w2, [x27]
ldr w3, [x26]
mov x0, x21
mov x4, #0 ; =0x0
bl _svc_reg
cbnz w0, LBB0_17
; %bb.13: ; in Loop: Header=BB0_6 Depth=1
Lloh31:
adrp x8, _LOG_ERR@GOTPAGE
Lloh32:
ldr x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh33:
adrp x1, l_.str.3@PAGE
Lloh34:
add x1, x1, l_.str.3@PAGEOFF
b LBB0_16
LBB0_14: ; in Loop: Header=BB0_6 Depth=1
Lloh35:
adrp x8, _LOG_WARNING@GOTPAGE
Lloh36:
ldr x8, [x8, _LOG_WARNING@GOTPAGEOFF]
Lloh37:
adrp x1, l_.str.4@PAGE
Lloh38:
add x1, x1, l_.str.4@PAGEOFF
b LBB0_16
LBB0_15: ; in Loop: Header=BB0_6 Depth=1
Lloh39:
adrp x8, _LOG_ERR@GOTPAGE
Lloh40:
ldr x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh41:
adrp x1, l_.str.2@PAGE
Lloh42:
add x1, x1, l_.str.2@PAGEOFF
LBB0_16: ; in Loop: Header=BB0_6 Depth=1
ldr w0, [x8]
ldr w8, [x19, #8]
str x8, [sp]
bl _syslog
LBB0_17: ; in Loop: Header=BB0_6 Depth=1
tbz w25, #0, LBB0_5
; %bb.18: ; in Loop: Header=BB0_6 Depth=1
add x0, sp, #40
mov w1, #0 ; =0x0
mov w2, #24 ; =0x18
bl _memset
Lloh43:
adrp x8, _AI_PASSIVE@GOTPAGE
Lloh44:
ldr x8, [x8, _AI_PASSIVE@GOTPAGEOFF]
Lloh45:
ldr w8, [x8]
ldr w9, [sp, #24]
stp w9, w8, [sp, #56]
ldr d0, [sp, #16]
str d0, [sp, #48]
add x2, sp, #40
add x3, sp, #32
mov x0, #0 ; =0x0
mov x1, x20
bl _getaddrinfo
cbnz w0, LBB0_24
; %bb.19: ; in Loop: Header=BB0_6 Depth=1
ldr x8, [sp, #32]
ldr w0, [x8]
bl _malloc
str w0, [sp, #12]
ldr x8, [sp, #32]
ldp w2, w1, [x8]
bl _memcpy
ldr x8, [sp, #32]
ldr w8, [x8]
str w8, [sp, #8]
ldr w0, [x28]
ldr w1, [x27]
add x3, sp, #8
mov x2, x19
bl _rpcb_set
Lloh46:
adrp x9, _xcreated@GOTPAGE
Lloh47:
ldr x9, [x9, _xcreated@GOTPAGEOFF]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
ldr x0, [sp, #32]
bl _freeaddrinfo
b LBB0_5
LBB0_20:
Lloh48:
adrp x8, _LOG_ERR@GOTPAGE
Lloh49:
ldr x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh50:
ldr w0, [x8]
ldr w8, [x19, #8]
str x8, [sp]
Lloh51:
adrp x1, l_.str@PAGE
Lloh52:
add x1, x1, l_.str@PAGEOFF
b LBB0_22
LBB0_21:
Lloh53:
adrp x8, _LOG_ERR@GOTPAGE
Lloh54:
ldr x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh55:
ldr w0, [x8]
Lloh56:
adrp x1, l_.str.1@PAGE
Lloh57:
add x1, x1, l_.str.1@PAGEOFF
LBB0_22:
bl _syslog
LBB0_23:
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
ldp x20, x19, [sp, #128] ; 16-byte Folded Reload
ldp x22, x21, [sp, #112] ; 16-byte Folded Reload
ldp x24, x23, [sp, #96] ; 16-byte Folded Reload
ldp x26, x25, [sp, #80] ; 16-byte Folded Reload
ldp x28, x27, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #160
ret
LBB0_24:
Lloh58:
adrp x8, _LOG_ERR@GOTPAGE
Lloh59:
ldr x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh60:
ldr w19, [x8]
bl _gai_strerror
; kill: def $w0 killed $w0 def $x0
str x0, [sp]
Lloh61:
adrp x1, l_.str.5@PAGE
Lloh62:
add x1, x1, l_.str.5@PAGEOFF
mov x0, x19
bl _syslog
mov w0, #1 ; =0x1
bl _exit
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGot Lloh17, Lloh18
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30
.loh AdrpAdd Lloh33, Lloh34
.loh AdrpLdrGot Lloh31, Lloh32
.loh AdrpAdd Lloh37, Lloh38
.loh AdrpLdrGot Lloh35, Lloh36
.loh AdrpAdd Lloh41, Lloh42
.loh AdrpLdrGot Lloh39, Lloh40
.loh AdrpLdrGotLdr Lloh43, Lloh44, Lloh45
.loh AdrpLdrGot Lloh46, Lloh47
.loh AdrpAdd Lloh51, Lloh52
.loh AdrpLdrGotLdr Lloh48, Lloh49, Lloh50
.loh AdrpAdd Lloh56, Lloh57
.loh AdrpLdrGotLdr Lloh53, Lloh54, Lloh55
.loh AdrpAdd Lloh61, Lloh62
.loh AdrpLdrGotLdr Lloh58, Lloh59, Lloh60
.cfi_endproc
; -- End function
.comm _NC_TPI_CLTS,8,3 ; @NC_TPI_CLTS
.comm _NC_TPI_COTS,8,3 ; @NC_TPI_COTS
.comm _NC_TPI_COTS_ORD,8,3 ; @NC_TPI_COTS_ORD
.comm _LOG_ERR,4,2 ; @LOG_ERR
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "cannot get information for %s"
.comm _nhosts,4,2 ; @nhosts
.comm _sock_fdpos,8,3 ; @sock_fdpos
.comm _sock_fdcnt,8,3 ; @sock_fdcnt
l_.str.1: ; @.str.1
.asciz "Ran out of socket fd's"
.comm _sock_fd,8,3 ; @sock_fd
.comm _SOMAXCONN,4,2 ; @SOMAXCONN
.comm _RPC_MAXDATASIZE,4,2 ; @RPC_MAXDATASIZE
.comm _SM_PROG,4,2 ; @SM_PROG
.comm _SM_VERS,4,2 ; @SM_VERS
.comm _sm_prog_1,4,2 ; @sm_prog_1
l_.str.2: ; @.str.2
.asciz "can't register on %s"
l_.str.3: ; @.str.3
.asciz "can't register %s SM_PROG service"
.comm _LOG_WARNING,4,2 ; @LOG_WARNING
l_.str.4: ; @.str.4
.asciz "can't create %s services"
.comm _AI_PASSIVE,4,2 ; @AI_PASSIVE
l_.str.5: ; @.str.5
.asciz "cannot get local address: %s"
.comm _xcreated,4,2 ; @xcreated
.no_dead_strip _complete_service
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function squash_slash
_squash_slash: ## @squash_slash
.cfi_startproc
## %bb.0:
movq %rdi, %rax
testq %rdi, %rdi
je LBB0_10
## %bb.1:
movzbl (%rax), %esi
xorl %ecx, %ecx
testb %sil, %sil
je LBB0_9
## %bb.2:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %edx, %edx
jmp LBB0_3
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_3 Depth=1
movl %edi, %ecx
LBB0_7: ## in Loop: Header=BB0_3 Depth=1
decq %rdx
movslq %ecx, %rsi
movzbl (%rax,%rsi), %esi
testb %sil, %sil
je LBB0_8
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_6 Depth 2
leal 1(%rcx), %edi
movb %sil, (%rax,%rdx)
cmpb $47, %sil
jne LBB0_4
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movslq %edi, %rsi
addq %rax, %rsi
.p2align 4, 0x90
LBB0_6: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
incl %ecx
cmpb $47, (%rsi)
leaq 1(%rsi), %rsi
je LBB0_6
jmp LBB0_7
LBB0_8:
movslq %edx, %rcx
popq %rbp
LBB0_9:
movb $0, (%rax,%rcx)
LBB0_10:
retq
.cfi_endproc
## -- End function
.no_dead_strip _squash_slash
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function squash_slash
_squash_slash: ; @squash_slash
.cfi_startproc
; %bb.0:
cbz x0, LBB0_10
; %bb.1:
ldrb w10, [x0]
cbz w10, LBB0_8
; %bb.2:
mov x8, #0 ; =0x0
mov w11, #0 ; =0x0
b LBB0_4
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
sub x8, x8, #1
ldrb w10, [x0, w9, sxtw]
mov x11, x9
cbz w10, LBB0_7
LBB0_4: ; =>This Loop Header: Depth=1
; Child Loop BB0_6 Depth 2
add w9, w11, #1
strb w10, [x0, x8]
cmp w10, #47
b.ne LBB0_3
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
add x10, x0, w9, sxtw
mov x9, x11
LBB0_6: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w11, [x10], #1
add w9, w9, #1
cmp w11, #47
b.eq LBB0_6
b LBB0_3
LBB0_7:
sxtw x8, w8
b LBB0_9
LBB0_8:
mov x8, #0 ; =0x0
LBB0_9:
strb wzr, [x0, x8]
LBB0_10:
ret
.cfi_endproc
; -- End function
.no_dead_strip _squash_slash
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _cpu_map__new ## -- Begin function cpu_map__new
.p2align 4, 0x90
_cpu_map__new: ## @cpu_map__new
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB0_29
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
movsbl (%rdi), %edi
callq _isdigit
testq %rax, %rax
je LBB0_30
## %bb.2:
movsbl (%r14), %edi
callq _isdigit
testq %rax, %rax
je LBB0_32
## %bb.3:
leaq -48(%rbp), %rsi
movq _INT_MAX@GOTPCREL(%rip), %rax
movq $0, -56(%rbp) ## 8-byte Folded Spill
xorl %r12d, %r12d
movq $0, -64(%rbp) ## 8-byte Folded Spill
LBB0_4: ## =>This Loop Header: Depth=1
## Child Loop BB0_15 Depth 2
## Child Loop BB0_17 Depth 3
movq $0, -48(%rbp)
movq %r14, %rdi
xorl %edx, %edx
movq %rax, %rbx
callq _strtoul
movq %rax, %r15
movq -48(%rbp), %r14
movzbl (%r14), %eax
cmpq (%rbx), %r15
jae LBB0_6
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
cmpl $45, %eax
je LBB0_9
jmp LBB0_13
LBB0_6: ## in Loop: Header=BB0_4 Depth=1
testl %eax, %eax
je LBB0_13
## %bb.7: ## in Loop: Header=BB0_4 Depth=1
cmpl $44, %eax
je LBB0_13
## %bb.8: ## in Loop: Header=BB0_4 Depth=1
cmpl $45, %eax
jne LBB0_41
LBB0_9: ## in Loop: Header=BB0_4 Depth=1
decq %r14
movq $0, -48(%rbp)
movq %r14, %rdi
leaq -48(%rbp), %rsi
xorl %edx, %edx
callq _strtoul
cmpq (%rbx), %rax
jae LBB0_41
## %bb.10: ## in Loop: Header=BB0_4 Depth=1
movq %rax, %rsi
movq -48(%rbp), %r14
movzbl (%r14), %eax
cmpl $44, %eax
movq -56(%rbp), %rdx ## 8-byte Reload
je LBB0_12
## %bb.11: ## in Loop: Header=BB0_4 Depth=1
testl %eax, %eax
jne LBB0_41
LBB0_12: ## in Loop: Header=BB0_4 Depth=1
cmpq %r15, %rsi
jae LBB0_14
jmp LBB0_41
LBB0_13: ## in Loop: Header=BB0_4 Depth=1
movq %r15, %rsi
movq -56(%rbp), %rdx ## 8-byte Reload
LBB0_14: ## in Loop: Header=BB0_4 Depth=1
movq -64(%rbp), %rax ## 8-byte Reload
cltq
LBB0_15: ## Parent Loop BB0_4 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_17 Depth 3
movq %rax, %r13
testq %rax, %rax
jle LBB0_19
## %bb.16: ## in Loop: Header=BB0_15 Depth=2
movl %r13d, %eax
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_17: ## Parent Loop BB0_4 Depth=1
## Parent Loop BB0_15 Depth=2
## => This Inner Loop Header: Depth=3
cmpl %r15d, (%r12,%rcx,4)
je LBB0_41
## %bb.18: ## in Loop: Header=BB0_17 Depth=3
incq %rcx
cmpq %rcx, %rax
jne LBB0_17
LBB0_19: ## in Loop: Header=BB0_15 Depth=2
cmpl %r13d, %edx
jne LBB0_21
## %bb.20: ## in Loop: Header=BB0_15 Depth=2
movq _MAX_NR_CPUS@GOTPCREL(%rip), %rax
addl (%rax), %edx
movq %rsi, -56(%rbp) ## 8-byte Spill
leal (,%rdx,4), %esi
movq %r12, %rdi
movq %rdx, %rbx
callq _realloc
movq -56(%rbp), %rsi ## 8-byte Reload
movq %rbx, %rdx
movq %rax, %rbx
testq %rax, %rax
jne LBB0_22
jmp LBB0_41
.p2align 4, 0x90
LBB0_21: ## in Loop: Header=BB0_15 Depth=2
movq %r12, %rbx
LBB0_22: ## in Loop: Header=BB0_15 Depth=2
leaq 1(%r13), %rax
movl %r15d, (%rbx,%r13,4)
incq %r15
movq %rbx, %r12
cmpq %rsi, %r15
jbe LBB0_15
## %bb.23: ## in Loop: Header=BB0_4 Depth=1
movq %rax, -64(%rbp) ## 8-byte Spill
cmpb $0, (%r14)
movq %rdx, -56(%rbp) ## 8-byte Spill
je LBB0_25
## %bb.24: ## in Loop: Header=BB0_4 Depth=1
leaq 1(%r14), %rcx
movq %rcx, -48(%rbp)
movzbl 1(%r14), %eax
movq %rcx, %r14
jmp LBB0_26
LBB0_25: ## in Loop: Header=BB0_4 Depth=1
xorl %eax, %eax
LBB0_26: ## in Loop: Header=BB0_4 Depth=1
leaq -48(%rbp), %r15
movsbl %al, %edi
callq _isdigit
movq %rbx, %r12
testq %rax, %rax
movq %r15, %rsi
movq _INT_MAX@GOTPCREL(%rip), %rax
jne LBB0_4
## %bb.27:
testq %r13, %r13
js LBB0_33
## %bb.28:
movq -64(%rbp), %rdi ## 8-byte Reload
## kill: def $edi killed $edi killed $rdi
movq %rbx, %rsi
callq _cpu_map__trim_new
jmp LBB0_34
LBB0_29:
xorl %eax, %eax
jmp _cpu_map__read_all_cpu_map ## TAILCALL
LBB0_41:
xorl %r14d, %r14d
jmp LBB0_35
LBB0_30:
xorl %r14d, %r14d
jmp LBB0_36
LBB0_32:
xorl %ebx, %ebx
LBB0_33:
xorl %eax, %eax
callq _cpu_map__default_new
LBB0_34:
movq %rax, %r14
movq %rbx, %r12
LBB0_35:
movq %r12, %rdi
callq _free
LBB0_36:
movq %r14, %rax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _INT_MAX,8,3 ## @INT_MAX
.comm _MAX_NR_CPUS,8,3 ## @MAX_NR_CPUS
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _cpu_map__new ; -- Begin function cpu_map__new
.p2align 2
_cpu_map__new: ; @cpu_map__new
.cfi_startproc
; %bb.0:
cbz x0, LBB0_26
; %bb.1:
sub sp, sp, #112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x20, x0
ldrsb w0, [x0]
bl _isdigit
cbz x0, LBB0_28
; %bb.2:
ldrsb w0, [x20]
bl _isdigit
cbz x0, LBB0_29
; %bb.3:
mov w24, #0 ; =0x0
mov x19, #0 ; =0x0
mov x21, #0 ; =0x0
Lloh0:
adrp x25, _INT_MAX@GOTPAGE
Lloh1:
ldr x25, [x25, _INT_MAX@GOTPAGEOFF]
Lloh2:
adrp x26, _MAX_NR_CPUS@GOTPAGE
Lloh3:
ldr x26, [x26, _MAX_NR_CPUS@GOTPAGEOFF]
LBB0_4: ; =>This Loop Header: Depth=1
; Child Loop BB0_15 Depth 2
; Child Loop BB0_17 Depth 3
str xzr, [sp, #8]
add x1, sp, #8
mov x0, x20
mov w2, #0 ; =0x0
bl _strtoul
mov x22, x0
ldr x9, [x25]
ldr x20, [sp, #8]
ldrb w8, [x20]
mov x23, x0
cmp x0, x9
b.hs LBB0_6
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
cmp w8, #45
b.eq LBB0_9
b LBB0_12
LBB0_6: ; in Loop: Header=BB0_4 Depth=1
cbz w8, LBB0_12
; %bb.7: ; in Loop: Header=BB0_4 Depth=1
cmp w8, #44
b.eq LBB0_12
; %bb.8: ; in Loop: Header=BB0_4 Depth=1
cmp w8, #45
b.ne LBB0_27
LBB0_9: ; in Loop: Header=BB0_4 Depth=1
sub x0, x20, #1
str xzr, [sp, #8]
add x1, sp, #8
mov w2, #0 ; =0x0
bl _strtoul
ldr x8, [x25]
cmp x0, x8
b.hs LBB0_27
; %bb.10: ; in Loop: Header=BB0_4 Depth=1
ldr x20, [sp, #8]
ldrb w8, [x20]
cmp w8, #44
ccmp w8, #0, #4, ne
b.ne LBB0_27
; %bb.11: ; in Loop: Header=BB0_4 Depth=1
mov x23, x0
cmp x0, x22
b.lo LBB0_27
LBB0_12: ; in Loop: Header=BB0_4 Depth=1
sxtw x21, w21
b LBB0_15
LBB0_13: ; in Loop: Header=BB0_15 Depth=2
mov x19, x0
LBB0_14: ; in Loop: Header=BB0_15 Depth=2
add x21, x27, #1
str w22, [x19, x27, lsl #2]
add x22, x22, #1
cmp x22, x23
b.hi LBB0_21
LBB0_15: ; Parent Loop BB0_4 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_17 Depth 3
mov x27, x21
cmp x21, #1
b.lt LBB0_19
; %bb.16: ; in Loop: Header=BB0_15 Depth=2
mov x8, #0 ; =0x0
mov w9, w27
LBB0_17: ; Parent Loop BB0_4 Depth=1
; Parent Loop BB0_15 Depth=2
; => This Inner Loop Header: Depth=3
ldr w10, [x19, x8, lsl #2]
cmp w10, w22
b.eq LBB0_27
; %bb.18: ; in Loop: Header=BB0_17 Depth=3
add x8, x8, #1
cmp x9, x8
b.ne LBB0_17
LBB0_19: ; in Loop: Header=BB0_15 Depth=2
cmp w24, w27
b.ne LBB0_14
; %bb.20: ; in Loop: Header=BB0_15 Depth=2
ldr w8, [x26]
add w24, w24, w8
lsl w1, w24, #2
mov x0, x19
bl _realloc
cbnz x0, LBB0_13
b LBB0_27
LBB0_21: ; in Loop: Header=BB0_4 Depth=1
ldrb w8, [x20]
cbz w8, LBB0_23
; %bb.22: ; in Loop: Header=BB0_4 Depth=1
ldrb w8, [x20, #1]!
str x20, [sp, #8]
LBB0_23: ; in Loop: Header=BB0_4 Depth=1
sxtb w0, w8
bl _isdigit
cbnz x0, LBB0_4
; %bb.24:
tbnz x27, #63, LBB0_30
; %bb.25:
mov x0, x21
mov x1, x19
bl _cpu_map__trim_new
b LBB0_31
LBB0_26:
b _cpu_map__read_all_cpu_map
LBB0_27:
mov x20, #0 ; =0x0
b LBB0_32
LBB0_28:
mov x20, #0 ; =0x0
b LBB0_33
LBB0_29:
mov x19, #0 ; =0x0
LBB0_30:
bl _cpu_map__default_new
LBB0_31:
mov x20, x0
LBB0_32:
mov x0, x19
bl _free
LBB0_33:
mov x0, x20
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 Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _INT_MAX,8,3 ; @INT_MAX
.comm _MAX_NR_CPUS,8,3 ; @MAX_NR_CPUS
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _BG_UpdateItems ## -- Begin function BG_UpdateItems
.p2align 4, 0x90
_BG_UpdateItems: ## @BG_UpdateItems
.cfi_startproc
## %bb.0:
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 _bg_numItems@GOTPCREL(%rip), %r12
movl (%r12), %ebx
movq _bg_defaultNumItems@GOTPCREL(%rip), %rax
subl (%rax), %ebx
xorl %eax, %eax
callq _dmlab_itemcount
cmpl %eax, %ebx
je LBB0_9
## %bb.1:
xorl %eax, %eax
callq _dmlab_itemcount
cmpl %eax, %ebx
jle LBB0_2
LBB0_8:
movq _bg_itemlist@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq (%r12), %rcx
movq $0, 8(%rax,%rcx,8)
LBB0_9:
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_2:
movq _MAX_ITEMS@GOTPCREL(%rip), %r13
leaq -68(%rbp), %r14
leaq L_.str(%rip), %r15
jmp LBB0_3
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_3 Depth=1
movq _ERR_DROP@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq %r15, %rsi
callq _Com_Error
LBB0_7: ## in Loop: Header=BB0_3 Depth=1
decl %ebx
xorl %eax, %eax
callq _dmlab_itemcount
cmpl %eax, %ebx
jg LBB0_8
LBB0_3: ## =>This Inner Loop Header: Depth=1
movl (%r13), %eax
decl %eax
cmpl %eax, (%r12)
jge LBB0_4
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movl -44(%rbp), %esi
movl -52(%rbp), %r9d
movl -48(%rbp), %ecx
subq $8, %rsp
movl %ebx, %edi
movl $4, %edx
movl $4, %r8d
pushq %r14
leaq -64(%rbp), %rax
pushq %rax
leaq -60(%rbp), %rax
pushq %rax
leaq -56(%rbp), %rax
pushq %rax
pushq $4
callq _dmlab_item
addq $48, %rsp
testq %rax, %rax
je LBB0_7
## %bb.6: ## in Loop: Header=BB0_3 Depth=1
movslq (%r12), %rsi
leal 1(%rsi), %eax
movl %eax, (%r12)
shlq $3, %rsi
movq _bg_itemlist@GOTPCREL(%rip), %rax
addq (%rax), %rsi
movq %r14, %rdi
callq _BG_CreateItem
jmp LBB0_7
.cfi_endproc
## -- End function
.comm _bg_numItems,4,2 ## @bg_numItems
.comm _bg_defaultNumItems,4,2 ## @bg_defaultNumItems
.comm _MAX_ITEMS,4,2 ## @MAX_ITEMS
.comm _ERR_DROP,4,2 ## @ERR_DROP
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Ran out of space to allocate new item!"
.comm _bg_itemlist,8,3 ## @bg_itemlist
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _BG_UpdateItems ; -- Begin function BG_UpdateItems
.p2align 2
_BG_UpdateItems: ; @BG_UpdateItems
.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
Lloh0:
adrp x21, _bg_numItems@GOTPAGE
Lloh1:
ldr x21, [x21, _bg_numItems@GOTPAGEOFF]
ldr w8, [x21]
Lloh2:
adrp x9, _bg_defaultNumItems@GOTPAGE
Lloh3:
ldr x9, [x9, _bg_defaultNumItems@GOTPAGEOFF]
Lloh4:
ldr w9, [x9]
sub w19, w8, w9
bl _dmlab_itemcount
cmp w19, w0
b.eq LBB0_3
; %bb.1:
bl _dmlab_itemcount
Lloh5:
adrp x22, _bg_itemlist@GOTPAGE
Lloh6:
ldr x22, [x22, _bg_itemlist@GOTPAGEOFF]
cmp w19, w0
b.le LBB0_4
LBB0_2:
ldr x8, [x22]
ldrsw x9, [x21]
add x8, x8, x9, lsl #3
str xzr, [x8, #8]
LBB0_3:
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
ldp x20, x19, [sp, #128] ; 16-byte Folded Reload
ldp x22, x21, [sp, #112] ; 16-byte Folded Reload
ldp x24, x23, [sp, #96] ; 16-byte Folded Reload
ldp x26, x25, [sp, #80] ; 16-byte Folded Reload
ldp x28, x27, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #160
ret
LBB0_4:
add x23, sp, #36
add x24, x23, #8
add x25, x23, #4
Lloh7:
adrp x26, _MAX_ITEMS@GOTPAGE
Lloh8:
ldr x26, [x26, _MAX_ITEMS@GOTPAGEOFF]
Lloh9:
adrp x27, _ERR_DROP@GOTPAGE
Lloh10:
ldr x27, [x27, _ERR_DROP@GOTPAGEOFF]
Lloh11:
adrp x20, l_.str@PAGE
Lloh12:
add x20, x20, l_.str@PAGEOFF
b LBB0_7
LBB0_5: ; in Loop: Header=BB0_7 Depth=1
ldr w0, [x27]
mov x1, x20
bl _Com_Error
LBB0_6: ; in Loop: Header=BB0_7 Depth=1
sub w19, w19, #1
bl _dmlab_itemcount
cmp w19, w0
b.gt LBB0_2
LBB0_7: ; =>This Inner Loop Header: Depth=1
ldr w8, [x21]
ldr w9, [x26]
sub w9, w9, #1
cmp w8, w9
b.ge LBB0_5
; %bb.8: ; in Loop: Header=BB0_7 Depth=1
ldp w3, w1, [sp, #56]
ldr w5, [sp, #52]
stp x25, x23, [sp, #8]
add x7, x23, #12
str x24, [sp]
mov x0, x19
mov w2, #4 ; =0x4
mov w4, #4 ; =0x4
mov w6, #4 ; =0x4
bl _dmlab_item
cbz x0, LBB0_6
; %bb.9: ; in Loop: Header=BB0_7 Depth=1
ldr x8, [x22]
ldrsw x9, [x21]
add w10, w9, #1
str w10, [x21]
add x1, x8, x9, lsl #3
add x0, sp, #36
bl _BG_CreateItem
b LBB0_6
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGot Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _bg_numItems,4,2 ; @bg_numItems
.comm _bg_defaultNumItems,4,2 ; @bg_defaultNumItems
.comm _MAX_ITEMS,4,2 ; @MAX_ITEMS
.comm _ERR_DROP,4,2 ; @ERR_DROP
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Ran out of space to allocate new item!"
.comm _bg_itemlist,8,3 ; @bg_itemlist
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function shift_boundaries
_shift_boundaries: ## @shift_boundaries
.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), %rax
movq 8(%rdi), %rcx
movq 24(%rdi), %rdx
movq 16(%rdi), %rsi
xorl %edi, %edi
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_2 Depth 2
## Child Loop BB0_3 Depth 3
## Child Loop BB0_8 Depth 2
## Child Loop BB0_10 Depth 2
## Child Loop BB0_13 Depth 2
## Child Loop BB0_15 Depth 3
## Child Loop BB0_17 Depth 4
## Child Loop BB0_18 Depth 4
## Child Loop BB0_25 Depth 3
## Child Loop BB0_27 Depth 4
## Child Loop BB0_29 Depth 4
## Child Loop BB0_36 Depth 2
## Child Loop BB0_38 Depth 2
## Child Loop BB0_39 Depth 3
## Child Loop BB0_41 Depth 3
cmpq %rsi, %rbx
jae LBB0_6
.p2align 4, 0x90
LBB0_2: ## Parent Loop BB0_1 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_3 Depth 3
cmpb $0, (%rax,%rbx)
jne LBB0_6
.p2align 4, 0x90
LBB0_3: ## Parent Loop BB0_1 Depth=1
## Parent Loop BB0_2 Depth=2
## => This Inner Loop Header: Depth=3
cmpb $0, (%rdx,%rdi)
leaq 1(%rdi), %rdi
jne LBB0_3
## %bb.4: ## in Loop: Header=BB0_2 Depth=2
incq %rbx
cmpq %rsi, %rbx
jne LBB0_2
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
movq %rsi, %rbx
jmp LBB0_1
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movq %rbx, %r8
movq %rsi, %rbx
cmpq %rsi, %r8
je LBB0_1
## %bb.7: ## in Loop: Header=BB0_1 Depth=1
movq %r8, %rbx
.p2align 4, 0x90
LBB0_8: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpb $0, 1(%rax,%rbx)
leaq 1(%rbx), %rbx
jne LBB0_8
## %bb.9: ## in Loop: Header=BB0_1 Depth=1
decq %rdi
.p2align 4, 0x90
LBB0_10: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpb $0, 1(%rdx,%rdi)
leaq 1(%rdi), %rdi
jne LBB0_10
jmp LBB0_13
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_13 Depth=2
movq %r14, %rbx
LBB0_12: ## in Loop: Header=BB0_13 Depth=2
subq %r11, %r10
movq %rbx, %r11
subq %r8, %r11
cmpq %r11, %r10
je LBB0_32
LBB0_13: ## Parent Loop BB0_1 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_15 Depth 3
## Child Loop BB0_17 Depth 4
## Child Loop BB0_18 Depth 4
## Child Loop BB0_25 Depth 3
## Child Loop BB0_27 Depth 4
## Child Loop BB0_29 Depth 4
movq %r8, %r11
movq %rbx, %r10
testq %r8, %r8
je LBB0_20
## %bb.14: ## in Loop: Header=BB0_13 Depth=2
movq %r11, %r8
movq %r10, %r14
.p2align 4, 0x90
LBB0_15: ## Parent Loop BB0_1 Depth=1
## Parent Loop BB0_13 Depth=2
## => This Loop Header: Depth=3
## Child Loop BB0_17 Depth 4
## Child Loop BB0_18 Depth 4
movq -8(%rcx,%r8,8), %r9
cmpq -8(%rcx,%r14,8), %r9
jne LBB0_22
## %bb.16: ## in Loop: Header=BB0_15 Depth=3
movb $1, -1(%r8,%rax)
movb $0, -1(%rax,%r14)
decq %r14
.p2align 4, 0x90
LBB0_17: ## Parent Loop BB0_1 Depth=1
## Parent Loop BB0_13 Depth=2
## Parent Loop BB0_15 Depth=3
## => This Inner Loop Header: Depth=4
cmpb $0, -2(%rax,%r8)
leaq -1(%r8), %r8
jne LBB0_17
.p2align 4, 0x90
LBB0_18: ## Parent Loop BB0_1 Depth=1
## Parent Loop BB0_13 Depth=2
## Parent Loop BB0_15 Depth=3
## => This Inner Loop Header: Depth=4
cmpb $0, -1(%rdx,%rdi)
leaq -1(%rdi), %rdi
jne LBB0_18
## %bb.19: ## in Loop: Header=BB0_15 Depth=3
testq %r8, %r8
jne LBB0_15
jmp LBB0_21
.p2align 4, 0x90
LBB0_20: ## in Loop: Header=BB0_13 Depth=2
movq %r10, %r14
LBB0_21: ## in Loop: Header=BB0_13 Depth=2
xorl %r8d, %r8d
LBB0_22: ## in Loop: Header=BB0_13 Depth=2
cmpb $0, -1(%rdx,%rdi)
movq %r14, %r9
cmoveq %rsi, %r9
movq %rsi, %rbx
cmpq %rsi, %r14
jne LBB0_25
jmp LBB0_12
.p2align 4, 0x90
LBB0_23: ## in Loop: Header=BB0_25 Depth=3
movq %rbx, %rdi
incq %r8
cmpq %r14, %rsi
je LBB0_31
LBB0_25: ## Parent Loop BB0_1 Depth=1
## Parent Loop BB0_13 Depth=2
## => This Loop Header: Depth=3
## Child Loop BB0_27 Depth 4
## Child Loop BB0_29 Depth 4
movq (%rcx,%r8,8), %rbx
cmpq (%rcx,%r14,8), %rbx
jne LBB0_11
## %bb.26: ## in Loop: Header=BB0_25 Depth=3
movb $0, (%rax,%r8)
movb $1, (%rax,%r14)
.p2align 4, 0x90
LBB0_27: ## Parent Loop BB0_1 Depth=1
## Parent Loop BB0_13 Depth=2
## Parent Loop BB0_25 Depth=3
## => This Inner Loop Header: Depth=4
cmpb $0, 1(%rax,%r14)
leaq 1(%r14), %r14
jne LBB0_27
## %bb.28: ## in Loop: Header=BB0_25 Depth=3
leaq 1(%rdi), %rbx
cmpb $0, 1(%rdx,%rdi)
je LBB0_23
.p2align 4, 0x90
LBB0_29: ## Parent Loop BB0_1 Depth=1
## Parent Loop BB0_13 Depth=2
## Parent Loop BB0_25 Depth=3
## => This Inner Loop Header: Depth=4
cmpb $0, 1(%rdx,%rbx)
leaq 1(%rbx), %rbx
jne LBB0_29
## %bb.30: ## in Loop: Header=BB0_25 Depth=3
movq %r14, %r9
jmp LBB0_23
.p2align 4, 0x90
LBB0_31: ## in Loop: Header=BB0_13 Depth=2
movq %rsi, %rbx
jmp LBB0_12
.p2align 4, 0x90
LBB0_32: ## in Loop: Header=BB0_1 Depth=1
cmpq %r9, %rbx
jbe LBB0_1
## %bb.33: ## in Loop: Header=BB0_1 Depth=1
movl %ebx, %r10d
subl %r9d, %r10d
testb $1, %r10b
jne LBB0_35
## %bb.34: ## in Loop: Header=BB0_1 Depth=1
movq %rbx, %r10
jmp LBB0_37
LBB0_35: ## in Loop: Header=BB0_1 Depth=1
movb $1, -1(%rax,%r8)
decq %r8
leaq -1(%rbx), %r10
movb $0, -1(%rax,%rbx)
.p2align 4, 0x90
LBB0_36: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpb $0, -1(%rdx,%rdi)
leaq -1(%rdi), %rdi
jne LBB0_36
LBB0_37: ## in Loop: Header=BB0_1 Depth=1
leaq 1(%r9), %r11
cmpq %r11, %rbx
movq %r9, %rbx
je LBB0_1
.p2align 4, 0x90
LBB0_38: ## Parent Loop BB0_1 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_39 Depth 3
## Child Loop BB0_41 Depth 3
movb $1, -1(%rax,%r8)
movb $0, -1(%rax,%r10)
.p2align 4, 0x90
LBB0_39: ## Parent Loop BB0_1 Depth=1
## Parent Loop BB0_38 Depth=2
## => This Inner Loop Header: Depth=3
cmpb $0, -1(%rdx,%rdi)
leaq -1(%rdi), %rdi
jne LBB0_39
## %bb.40: ## in Loop: Header=BB0_38 Depth=2
movb $1, -2(%rax,%r8)
addq $-2, %r8
movb $0, -2(%rax,%r10)
addq $-2, %r10
.p2align 4, 0x90
LBB0_41: ## Parent Loop BB0_1 Depth=1
## Parent Loop BB0_38 Depth=2
## => This Inner Loop Header: Depth=3
cmpb $0, -1(%rdx,%rdi)
leaq -1(%rdi), %rdi
jne LBB0_41
## %bb.42: ## in Loop: Header=BB0_38 Depth=2
cmpq %r10, %r9
jb LBB0_38
## %bb.43: ## in Loop: Header=BB0_1 Depth=1
movq %r9, %rbx
jmp LBB0_1
.cfi_endproc
## -- End function
.no_dead_strip _shift_boundaries
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function shift_boundaries
_shift_boundaries: ; @shift_boundaries
.cfi_startproc
; %bb.0:
mov x14, #0 ; =0x0
mov x4, #0 ; =0x0
ldp x8, x9, [x0]
sub x10, x9, #8
ldp x12, x11, [x0, #16]
sub x13, x11, #1
add x15, x8, #1
sub x16, x8, #2
add x17, x11, #2
mov w0, #1 ; =0x1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_2 Depth 2
; Child Loop BB0_3 Depth 3
; Child Loop BB0_8 Depth 2
; Child Loop BB0_9 Depth 2
; Child Loop BB0_13 Depth 2
; Child Loop BB0_15 Depth 3
; Child Loop BB0_17 Depth 4
; Child Loop BB0_18 Depth 4
; Child Loop BB0_24 Depth 3
; Child Loop BB0_26 Depth 4
; Child Loop BB0_28 Depth 4
; Child Loop BB0_32 Depth 2
; Child Loop BB0_33 Depth 3
cmp x4, x12
b.hs LBB0_6
LBB0_2: ; Parent Loop BB0_1 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_3 Depth 3
ldrb w1, [x8, x4]
cbnz w1, LBB0_6
LBB0_3: ; Parent Loop BB0_1 Depth=1
; Parent Loop BB0_2 Depth=2
; => This Inner Loop Header: Depth=3
ldrb w1, [x11, x14]
add x14, x14, #1
cbnz w1, LBB0_3
; %bb.4: ; in Loop: Header=BB0_2 Depth=2
add x4, x4, #1
cmp x4, x12
b.ne LBB0_2
; %bb.5: ; in Loop: Header=BB0_1 Depth=1
mov x4, x12
b LBB0_1
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
mov x1, x4
mov x4, x12
cmp x1, x12
b.eq LBB0_1
; %bb.7: ; in Loop: Header=BB0_1 Depth=1
mov x4, x1
LBB0_8: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w2, [x15, x4]
add x4, x4, #1
cbnz w2, LBB0_8
LBB0_9: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w2, [x11, x14]
add x14, x14, #1
cbnz w2, LBB0_9
; %bb.10: ; in Loop: Header=BB0_1 Depth=1
sub x14, x14, #1
b LBB0_13
LBB0_11: ; in Loop: Header=BB0_13 Depth=2
mov x4, x5
LBB0_12: ; in Loop: Header=BB0_13 Depth=2
sub x2, x3, x2
sub x3, x4, x1
cmp x2, x3
b.eq LBB0_31
LBB0_13: ; Parent Loop BB0_1 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_15 Depth 3
; Child Loop BB0_17 Depth 4
; Child Loop BB0_18 Depth 4
; Child Loop BB0_24 Depth 3
; Child Loop BB0_26 Depth 4
; Child Loop BB0_28 Depth 4
mov x2, x1
mov x3, x4
cbz x1, LBB0_20
; %bb.14: ; in Loop: Header=BB0_13 Depth=2
mov x1, x2
mov x5, x3
LBB0_15: ; Parent Loop BB0_1 Depth=1
; Parent Loop BB0_13 Depth=2
; => This Loop Header: Depth=3
; Child Loop BB0_17 Depth 4
; Child Loop BB0_18 Depth 4
ldr x4, [x10, x1, lsl #3]
ldr x6, [x10, x5, lsl #3]
cmp x4, x6
b.ne LBB0_21
; %bb.16: ; in Loop: Header=BB0_15 Depth=3
add x4, x1, x8
sturb w0, [x4, #-1]
sub x5, x5, #1
strb wzr, [x8, x5]
LBB0_17: ; Parent Loop BB0_1 Depth=1
; Parent Loop BB0_13 Depth=2
; Parent Loop BB0_15 Depth=3
; => This Inner Loop Header: Depth=4
ldrb w4, [x16, x1]
sub x1, x1, #1
cbnz w4, LBB0_17
LBB0_18: ; Parent Loop BB0_1 Depth=1
; Parent Loop BB0_13 Depth=2
; Parent Loop BB0_15 Depth=3
; => This Inner Loop Header: Depth=4
ldrb w4, [x13, x14]
sub x14, x14, #1
cbnz w4, LBB0_18
; %bb.19: ; in Loop: Header=BB0_15 Depth=3
cbnz x1, LBB0_15
b LBB0_21
LBB0_20: ; in Loop: Header=BB0_13 Depth=2
mov x5, x3
LBB0_21: ; in Loop: Header=BB0_13 Depth=2
ldrb w4, [x13, x14]
cmp w4, #0
csel x6, x12, x5, eq
mov x4, x12
cmp x5, x12
b.ne LBB0_24
b LBB0_12
LBB0_22: ; in Loop: Header=BB0_24 Depth=3
mov x14, x4
LBB0_23: ; in Loop: Header=BB0_24 Depth=3
add x1, x1, #1
cmp x12, x5
b.eq LBB0_30
LBB0_24: ; Parent Loop BB0_1 Depth=1
; Parent Loop BB0_13 Depth=2
; => This Loop Header: Depth=3
; Child Loop BB0_26 Depth 4
; Child Loop BB0_28 Depth 4
ldr x4, [x9, x1, lsl #3]
ldr x7, [x9, x5, lsl #3]
cmp x4, x7
b.ne LBB0_11
; %bb.25: ; in Loop: Header=BB0_24 Depth=3
strb wzr, [x8, x1]
strb w0, [x8, x5]
LBB0_26: ; Parent Loop BB0_1 Depth=1
; Parent Loop BB0_13 Depth=2
; Parent Loop BB0_24 Depth=3
; => This Inner Loop Header: Depth=4
ldrb w4, [x15, x5]
add x5, x5, #1
cbnz w4, LBB0_26
; %bb.27: ; in Loop: Header=BB0_24 Depth=3
add x4, x14, #1
ldrb w7, [x11, x4]
cbz w7, LBB0_22
LBB0_28: ; Parent Loop BB0_1 Depth=1
; Parent Loop BB0_13 Depth=2
; Parent Loop BB0_24 Depth=3
; => This Inner Loop Header: Depth=4
ldrb w4, [x17, x14]
add x14, x14, #1
cbnz w4, LBB0_28
; %bb.29: ; in Loop: Header=BB0_24 Depth=3
add x14, x14, #1
mov x6, x5
b LBB0_23
LBB0_30: ; in Loop: Header=BB0_13 Depth=2
mov x4, x12
b LBB0_12
LBB0_31: ; in Loop: Header=BB0_1 Depth=1
cmp x6, x4
b.hs LBB0_1
LBB0_32: ; Parent Loop BB0_1 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_33 Depth 3
sub x1, x1, #1
strb w0, [x8, x1]
sub x4, x4, #1
strb wzr, [x8, x4]
LBB0_33: ; Parent Loop BB0_1 Depth=1
; Parent Loop BB0_32 Depth=2
; => This Inner Loop Header: Depth=3
ldrb w2, [x13, x14]
sub x14, x14, #1
cbnz w2, LBB0_33
; %bb.34: ; in Loop: Header=BB0_32 Depth=2
cmp x6, x4
b.lo LBB0_32
; %bb.35: ; in Loop: Header=BB0_1 Depth=1
mov x4, x6
b LBB0_1
.cfi_endproc
; -- End function
.no_dead_strip _shift_boundaries
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function st33zp24_spi_send
_st33zp24_spi_send: ## @st33zp24_spi_send
.cfi_startproc
## %bb.0:
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 $32, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, %r15d
movq %rdi, %rbx
movq 24(%rdi), %r14
movdqu (%rdi), %xmm0
movdqa %xmm0, -64(%rbp)
movq _TPM_WRITE_DIRECTION@GOTPCREL(%rip), %rax
movq _LOCALITY0@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl (%rax), %ecx
movq %xmm0, %rax
movl %ecx, (%rax)
movl %esi, -4(%rax)
testl %r15d, %r15d
jns LBB0_2
## %bb.1:
xorl %r12d, %r12d
movq _TPM_DATA_FIFO@GOTPCREL(%rip), %rcx
cmpl %esi, (%rcx)
jne LBB0_3
LBB0_2:
movl %r15d, %ecx
sarl $8, %ecx
movl %ecx, (%rax)
movl %r15d, 4(%rax)
movl $2, %r12d
LBB0_3:
movl %r12d, %ecx
leaq (%rax,%rcx,4), %rdi
movq %rdx, %rsi
movl %r15d, %edx
callq _memcpy
addl %r15d, %r12d
movslq %r12d, %r15
leaq (,%r15,4), %rdi
addq (%rbx), %rdi
movq _TPM_DUMMY_BYTE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl 16(%rbx), %edx
callq _memset
movl 16(%rbx), %eax
movl %r15d, %ecx
subl %eax, %ecx
movl %ecx, -48(%rbp)
leaq -64(%rbp), %rsi
movq %r14, %rdi
movl $1, %edx
callq _spi_sync_transfer
testl %eax, %eax
jne LBB0_5
## %bb.4:
movq 8(%rbx), %rax
movslq 16(%rbx), %rcx
addq %r15, %rcx
movl -4(%rax,%rcx,4), %eax
LBB0_5:
movl %eax, %edi
callq _st33zp24_status_to_errno
addq $32, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _TPM_WRITE_DIRECTION,4,2 ## @TPM_WRITE_DIRECTION
.comm _LOCALITY0,4,2 ## @LOCALITY0
.comm _TPM_DATA_FIFO,4,2 ## @TPM_DATA_FIFO
.comm _TPM_DUMMY_BYTE,4,2 ## @TPM_DUMMY_BYTE
.no_dead_strip _st33zp24_spi_send
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function st33zp24_spi_send
_st33zp24_spi_send: ; @st33zp24_spi_send
.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 x21, x3
mov x19, x0
ldr x20, [x0, #24]
ldr q0, [x0]
str q0, [sp]
Lloh0:
adrp x8, _TPM_WRITE_DIRECTION@GOTPAGE
Lloh1:
ldr x8, [x8, _TPM_WRITE_DIRECTION@GOTPAGEOFF]
Lloh2:
adrp x9, _LOCALITY0@GOTPAGE
Lloh3:
ldr x9, [x9, _LOCALITY0@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
Lloh5:
ldr w9, [x9]
orr w9, w9, w8
fmov x8, d0
stp w1, w9, [x8, #-4]
tbz w3, #31, LBB0_3
; %bb.1:
Lloh6:
adrp x9, _TPM_DATA_FIFO@GOTPAGE
Lloh7:
ldr x9, [x9, _TPM_DATA_FIFO@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
cmp w9, w1
b.eq LBB0_3
; %bb.2:
mov w22, #0 ; =0x0
b LBB0_4
LBB0_3:
asr w9, w21, #8
stp w9, w21, [x8]
mov w22, #2 ; =0x2
LBB0_4:
add x0, x8, w22, uxtw #2
mov x1, x2
mov x2, x21
bl _memcpy
add w21, w22, w21
ldr x8, [x19]
add x0, x8, w21, sxtw #2
Lloh9:
adrp x8, _TPM_DUMMY_BYTE@GOTPAGE
Lloh10:
ldr x8, [x8, _TPM_DUMMY_BYTE@GOTPAGEOFF]
Lloh11:
ldr w1, [x8]
ldr w2, [x19, #16]
bl _memset
ldr w8, [x19, #16]
sub w8, w21, w8
str w8, [sp, #16]
mov x1, sp
mov x0, x20
mov w2, #1 ; =0x1
bl _spi_sync_transfer
cbnz w0, LBB0_6
; %bb.5:
ldr x8, [x19, #8]
ldr w9, [x19, #16]
add w9, w9, w21
add x8, x8, w9, sxtw #2
ldur w0, [x8, #-4]
LBB0_6:
bl _st33zp24_status_to_errno
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 AdrpLdrGotLdr Lloh2, Lloh3, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh4
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.cfi_endproc
; -- End function
.comm _TPM_WRITE_DIRECTION,4,2 ; @TPM_WRITE_DIRECTION
.comm _LOCALITY0,4,2 ; @LOCALITY0
.comm _TPM_DATA_FIFO,4,2 ; @TPM_DATA_FIFO
.comm _TPM_DUMMY_BYTE,4,2 ; @TPM_DUMMY_BYTE
.no_dead_strip _st33zp24_spi_send
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ## -- Begin function mem_unlock
LCPI0_0:
.long 28 ## 0x1c
.long 0 ## 0x0
.long 196622 ## 0x3000e
.long 4 ## 0x4
.section __TEXT,__text,regular,pure_instructions
.globl _mem_unlock
.p2align 4, 0x90
_mem_unlock: ## @mem_unlock
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $144, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $4, -128(%rbp)
movl %esi, -124(%rbp)
movl $0, -120(%rbp)
movaps LCPI0_0(%rip), %xmm0 ## xmm0 = [28,0,196622,4]
movaps %xmm0, -144(%rbp)
leaq -144(%rbp), %rsi
callq _mbox_property
movl -124(%rbp), %eax
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -8(%rbp), %rcx
jne LBB0_2
## %bb.1:
addq $144, %rsp
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ; -- Begin function mem_unlock
lCPI0_0:
.long 28 ; 0x1c
.long 0 ; 0x0
.long 196622 ; 0x3000e
.long 4 ; 0x4
.section __TEXT,__text,regular,pure_instructions
.globl _mem_unlock
.p2align 2
_mem_unlock: ; @mem_unlock
.cfi_startproc
; %bb.0:
sub sp, sp, #160
stp x29, x30, [sp, #144] ; 16-byte Folded Spill
add x29, sp, #144
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-8]
mov w8, #4 ; =0x4
stp w8, w1, [sp, #16]
str wzr, [sp, #24]
Lloh3:
adrp x8, lCPI0_0@PAGE
Lloh4:
ldr q0, [x8, lCPI0_0@PAGEOFF]
str q0, [sp]
mov x1, sp
bl _mbox_property
ldr w0, [sp, #20]
ldur x8, [x29, #-8]
Lloh5:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh6:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_2
; %bb.1:
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
add sp, sp, #160
ret
LBB0_2:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdr Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _ssl3_digest_master_key_set_params ## -- Begin function ssl3_digest_master_key_set_params
.p2align 4, 0x90
_ssl3_digest_master_key_set_params: ## @ssl3_digest_master_key_set_params
.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
movq _OSSL_DIGEST_PARAM_SSL3_MS@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq 8(%rdi), %rsi
movl (%rdi), %edx
movl %eax, %edi
callq _OSSL_PARAM_construct_octet_string
movl %eax, (%rbx)
xorl %eax, %eax
callq _OSSL_PARAM_construct_end
movl %eax, -4(%rbx)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _OSSL_DIGEST_PARAM_SSL3_MS,4,2 ## @OSSL_DIGEST_PARAM_SSL3_MS
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _ssl3_digest_master_key_set_params ; -- Begin function ssl3_digest_master_key_set_params
.p2align 2
_ssl3_digest_master_key_set_params: ; @ssl3_digest_master_key_set_params
.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
Lloh0:
adrp x8, _OSSL_DIGEST_PARAM_SSL3_MS@GOTPAGE
Lloh1:
ldr x8, [x8, _OSSL_DIGEST_PARAM_SSL3_MS@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
ldr x1, [x0, #8]
ldr w2, [x0]
mov x0, x8
bl _OSSL_PARAM_construct_octet_string
str w0, [x19]
bl _OSSL_PARAM_construct_end
stur w0, [x19, #-4]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _OSSL_DIGEST_PARAM_SSL3_MS,4,2 ; @OSSL_DIGEST_PARAM_SSL3_MS
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _hsort ## -- Begin function hsort
.p2align 4, 0x90
_hsort: ## @hsort
.cfi_startproc
## %bb.0:
## kill: def $edi killed $edi def $rdi
cmpl %esi, %edi
jge LBB0_13
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %ebx
movq _Q@GOTPCREL(%rip), %r14
movl %edi, %r15d
jmp LBB0_2
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_2 Depth=1
## kill: def $edi killed $edi killed $rdi
callq _hsort
movl %r15d, %edi
cmpl %ebx, %r15d
jge LBB0_12
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
## Child Loop BB0_4 Depth 3
## Child Loop BB0_6 Depth 3
movq (%r14), %rax
leal (%rdi,%rbx), %ecx
sarl %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rcx
movl %ebx, %esi
jmp LBB0_3
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_3 Depth=2
movq %r11, (%rax,%rdx,8)
movq %r9, (%rax,%r10,8)
movl %r8d, %r15d
cmpl %esi, %r15d
jg LBB0_11
LBB0_3: ## Parent Loop BB0_2 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_4 Depth 3
## Child Loop BB0_6 Depth 3
movslq %r15d, %rdx
leal 2(%rdx), %r8d
incq %rdx
.p2align 4, 0x90
LBB0_4: ## Parent Loop BB0_2 Depth=1
## Parent Loop BB0_3 Depth=2
## => This Inner Loop Header: Depth=3
movq -8(%rax,%rdx,8), %r9
decl %r8d
decq %rdx
cmpq %rcx, %r9
jl LBB0_4
## %bb.5: ## in Loop: Header=BB0_3 Depth=2
leal -1(%r8), %r15d
movslq %esi, %r10
incq %r10
.p2align 4, 0x90
LBB0_6: ## Parent Loop BB0_2 Depth=1
## Parent Loop BB0_3 Depth=2
## => This Inner Loop Header: Depth=3
movq -8(%rax,%r10,8), %r11
decl %esi
decq %r10
cmpq %rcx, %r11
jg LBB0_6
## %bb.7: ## in Loop: Header=BB0_3 Depth=2
cmpq %r10, %rdx
jle LBB0_9
## %bb.8: ## in Loop: Header=BB0_3 Depth=2
incl %esi
cmpl %esi, %r15d
jle LBB0_3
jmp LBB0_11
LBB0_12:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
LBB0_13:
retq
.cfi_endproc
## -- End function
.comm _Q,8,3 ## @Q
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _hsort ; -- Begin function hsort
.p2align 2
_hsort: ; @hsort
.cfi_startproc
; %bb.0:
cmp w0, w1
b.ge LBB0_12
; %bb.1:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
Lloh0:
adrp x20, _Q@GOTPAGE
Lloh1:
ldr x20, [x20, _Q@GOTPAGEOFF]
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
; kill: def $w1 killed $w1 killed $x1
bl _hsort
mov x0, x21
cmp w21, w19
b.ge LBB0_11
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_5 Depth 2
; Child Loop BB0_6 Depth 3
; Child Loop BB0_8 Depth 3
ldr x8, [x20]
add w9, w0, w19
asr w9, w9, #1
ldr x9, [x8, w9, sxtw #3]
mov x1, x19
mov x21, x0
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_5 Depth=2
add x14, x8, x1, lsl #3
str x12, [x13, #8]
str x11, [x14, #8]
mov x21, x10
cmp w21, w1
b.gt LBB0_2
LBB0_5: ; Parent Loop BB0_3 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_6 Depth 3
; Child Loop BB0_8 Depth 3
sxtw x12, w21
add w10, w21, #2
LBB0_6: ; Parent Loop BB0_3 Depth=1
; Parent Loop BB0_5 Depth=2
; => This Inner Loop Header: Depth=3
ldr x11, [x8, x12, lsl #3]
sub x12, x12, #1
sub w10, w10, #1
cmp x11, x9
b.lt LBB0_6
; %bb.7: ; in Loop: Header=BB0_5 Depth=2
add x13, x8, x12, lsl #3
sub w21, w10, #1
; kill: def $w1 killed $w1 killed $x1 def $x1
sxtw x1, w1
add x14, x12, #1
LBB0_8: ; Parent Loop BB0_3 Depth=1
; Parent Loop BB0_5 Depth=2
; => This Inner Loop Header: Depth=3
ldr x12, [x8, x1, lsl #3]
sub x1, x1, #1
cmp x12, x9
b.gt LBB0_8
; %bb.9: ; in Loop: Header=BB0_5 Depth=2
add x15, x1, #1
cmp x14, x15
b.le LBB0_4
; %bb.10: ; in Loop: Header=BB0_5 Depth=2
add w1, w1, #1
cmp w21, w1
b.le LBB0_5
b LBB0_2
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
LBB0_12:
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _Q,8,3 ; @Q
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _umad_get_ca_portguids ## -- Begin function umad_get_ca_portguids
.p2align 4, 0x90
_umad_get_ca_portguids: ## @umad_get_ca_portguids
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r12d
movq %rsi, %r15
movq %rdi, %r14
leaq L_.str(%rip), %rdi
movq %r14, %rsi
callq _TRACE
xorl %ebx, %ebx
movq %r14, %rdi
xorl %esi, %esi
callq _resolve_ca_name
testq %rax, %rax
je LBB0_1
## %bb.2:
movq %rax, %r14
leaq -48(%rbp), %rsi
movq %rax, %rdi
callq _umad_get_ca
testq %rax, %rax
js LBB0_3
## %bb.4:
xorl %ebx, %ebx
testq %r15, %r15
je LBB0_13
## %bb.5:
movl -48(%rbp), %ecx
cmpl %r12d, %ecx
jge LBB0_15
## %bb.6:
testl %ecx, %ecx
js LBB0_13
## %bb.7:
xorl %ebx, %ebx
jmp LBB0_8
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_8 Depth=1
xorl %edi, %edi
callq _htobe64
movl -48(%rbp), %ecx
LBB0_11: ## in Loop: Header=BB0_8 Depth=1
movl %eax, (%r15)
decq %rbx
movslq %ecx, %rax
addq $4, %r15
cmpq %rax, %rbx
jg LBB0_12
LBB0_8: ## =>This Inner Loop Header: Depth=1
movq -40(%rbp), %rax
movq (%rax,%rbx,8), %rax
testq %rax, %rax
je LBB0_10
## %bb.9: ## in Loop: Header=BB0_8 Depth=1
movl (%rax), %eax
jmp LBB0_11
LBB0_1:
movq _ENODEV@GOTPCREL(%rip), %rax
subl (%rax), %ebx
jmp LBB0_14
LBB0_3:
movl $-1, %ebx
jmp LBB0_14
LBB0_15:
leaq -48(%rbp), %rdi
callq _release_ca
movq _ENOMEM@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
subl (%rax), %ebx
jmp LBB0_14
LBB0_12:
negl %ebx
LBB0_13:
leaq -48(%rbp), %rdi
callq _release_ca
leaq L_.str.1(%rip), %rdi
movq %r14, %rsi
movl %ebx, %edx
callq _DEBUG
LBB0_14:
movl %ebx, %eax
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "ca name %s max port guids %d"
.comm _ENODEV,4,2 ## @ENODEV
.comm _ENOMEM,4,2 ## @ENOMEM
L_.str.1: ## @.str.1
.asciz "%s: %d ports"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _umad_get_ca_portguids ; -- Begin function umad_get_ca_portguids
.p2align 2
_umad_get_ca_portguids: ; @umad_get_ca_portguids
.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 x21, x2
mov x20, x1
mov x19, x0
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
mov x1, x19
bl _TRACE
mov x0, x19
mov x1, #0 ; =0x0
bl _resolve_ca_name
cbz x0, LBB0_10
; %bb.1:
mov x19, x0
mov x1, sp
bl _umad_get_ca
tbnz x0, #63, LBB0_11
; %bb.2:
cbz x20, LBB0_16
; %bb.3:
ldr w8, [sp]
cmp w8, w21
b.ge LBB0_12
; %bb.4:
tbnz w8, #31, LBB0_15
; %bb.5:
mov x21, #0 ; =0x0
b LBB0_8
LBB0_6: ; in Loop: Header=BB0_8 Depth=1
mov w0, #0 ; =0x0
bl _htobe64
ldr w8, [sp]
LBB0_7: ; in Loop: Header=BB0_8 Depth=1
str w0, [x20], #4
sub x21, x21, #1
cmp x21, w8, sxtw
b.gt LBB0_14
LBB0_8: ; =>This Inner Loop Header: Depth=1
ldr x9, [sp, #8]
ldr x9, [x9, x21, lsl #3]
cbz x9, LBB0_6
; %bb.9: ; in Loop: Header=BB0_8 Depth=1
ldr w0, [x9]
b LBB0_7
LBB0_10:
Lloh2:
adrp x8, _ENODEV@GOTPAGE
Lloh3:
ldr x8, [x8, _ENODEV@GOTPAGEOFF]
b LBB0_13
LBB0_11:
mov w20, #-1 ; =0xffffffff
b LBB0_17
LBB0_12:
mov x0, sp
bl _release_ca
Lloh4:
adrp x8, _ENOMEM@GOTPAGE
Lloh5:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_13:
ldr w8, [x8]
neg w20, w8
b LBB0_17
LBB0_14:
neg w20, w21
b LBB0_16
LBB0_15:
mov w20, #0 ; =0x0
LBB0_16:
mov x0, sp
bl _release_ca
Lloh6:
adrp x0, l_.str.1@PAGE
Lloh7:
add x0, x0, l_.str.1@PAGEOFF
mov x1, x19
mov x2, x20
bl _DEBUG
LBB0_17:
mov x0, x20
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "ca name %s max port guids %d"
.comm _ENODEV,4,2 ; @ENODEV
.comm _ENOMEM,4,2 ; @ENOMEM
l_.str.1: ; @.str.1
.asciz "%s: %d ports"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function verify
_verify: ## @verify
.cfi_startproc
## %bb.0:
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 %r9d, %r15d
movl %r8d, %r13d
movq %rcx, %r12
movq %rdx, %r14
movq %rsi, -80(%rbp) ## 8-byte Spill
movq %rdi, %rbx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _MAXBACK@GOTPCREL(%rip), %rax
movl (%rax), %eax
shlq $4, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r8
cmpq %r12, %r14
je LBB0_1
## %bb.2:
movl %r15d, -68(%rbp) ## 4-byte Spill
movq %rbx, -64(%rbp) ## 8-byte Spill
xorl %eax, %eax
testl %r13d, %r13d
setne %al
movl %eax, -72(%rbp) ## 4-byte Spill
movq %r8, %rax
addq $8, %rax
movq %rax, -88(%rbp) ## 8-byte Spill
xorl %r15d, %r15d
leaq LJTI0_0(%rip), %rbx
movl %r13d, %esi
movl %r13d, -52(%rbp) ## 4-byte Spill
movq %r8, %r13
jmp LBB0_3
LBB0_1:
movl $1, %edi
jmp LBB0_47
LBB0_26: ## in Loop: Header=BB0_3 Depth=1
testl %r15d, %r15d
jle LBB0_27
## %bb.28: ## in Loop: Header=BB0_3 Depth=1
cmpl $0, 12(%r14)
setg %al
LBB0_29: ## in Loop: Header=BB0_3 Depth=1
movzbl %al, %edi
callq _assert
decl %r15d
LBB0_31: ## in Loop: Header=BB0_3 Depth=1
movl -52(%rbp), %esi ## 4-byte Reload
movq %r13, %r8
LBB0_14: ## in Loop: Header=BB0_3 Depth=1
movslq 12(%r14), %rax
LBB0_15: ## in Loop: Header=BB0_3 Depth=1
leaq (%rax,%rax,2), %rax
leaq (%r14,%rax,8), %r14
LBB0_10: ## in Loop: Header=BB0_3 Depth=1
cmpq %r12, %r14
je LBB0_11
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_19 Depth 2
## Child Loop BB0_41 Depth 2
movl 8(%r14), %eax
addl $-128, %eax
cmpl $27, %eax
ja LBB0_46
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movslq (%rbx,%rax,4), %rax
addq %rbx, %rax
jmpq *%rax
LBB0_45: ## in Loop: Header=BB0_3 Depth=1
movq %r14, %rdi
callq _sizei
movq %r13, %r8
movl -52(%rbp), %esi ## 4-byte Reload
cltq
jmp LBB0_15
LBB0_5: ## in Loop: Header=BB0_3 Depth=1
movslq %r15d, %rax
incl %r15d
shlq $4, %rax
movq 24(%rax,%r8), %r14
jmp LBB0_10
LBB0_6: ## in Loop: Header=BB0_3 Depth=1
movq _MAXBACK@GOTPCREL(%rip), %rax
cmpl (%rax), %r15d
jge LBB0_7
## %bb.9: ## in Loop: Header=BB0_3 Depth=1
xorl %edi, %edi
movq %r14, %rsi
callq _dest
movq %r13, %r8
movl -52(%rbp), %esi ## 4-byte Reload
movslq %r15d, %rcx
shlq $4, %rcx
movq %rax, 8(%r13,%rcx)
incl %r15d
leaq _verify.dummy(%rip), %rax
movq %rax, (%r13,%rcx)
addq $24, %r14
jmp LBB0_10
LBB0_39: ## in Loop: Header=BB0_3 Depth=1
movl 68(%r14), %edi
leaq _verify.dummy(%rip), %rcx
movq %rcx, %rsi
movq %rcx, %rdx
callq *24(%r14)
movq %r13, %r8
movl -52(%rbp), %esi ## 4-byte Reload
testq %rax, %rax
jne LBB0_14
jmp LBB0_40
LBB0_16: ## in Loop: Header=BB0_3 Depth=1
testl %esi, %esi
je LBB0_40
## %bb.17: ## in Loop: Header=BB0_3 Depth=1
testl %r15d, %r15d
js LBB0_24
## %bb.18: ## in Loop: Header=BB0_3 Depth=1
leaq 24(%r14), %rax
movl %r15d, %ecx
shlq $4, %rcx
addq $16, %rcx
xorl %edx, %edx
jmp LBB0_19
.p2align 4, 0x90
LBB0_23: ## in Loop: Header=BB0_19 Depth=2
addq $16, %rdx
cmpq %rdx, %rcx
je LBB0_24
LBB0_19: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
cmpq $0, (%r8,%rdx)
je LBB0_23
## %bb.20: ## in Loop: Header=BB0_19 Depth=2
cmpq %rax, 8(%r8,%rdx)
jne LBB0_23
jmp LBB0_21
LBB0_12: ## in Loop: Header=BB0_3 Depth=1
xorl %edi, %edi
cmpl $136, 32(%r14)
setne %dil
callq _assert
movq _MAXBACK@GOTPCREL(%rip), %rax
cmpl (%rax), %r15d
jge LBB0_7
## %bb.13: ## in Loop: Header=BB0_3 Depth=1
leaq 24(%r14), %rax
movslq %r15d, %rcx
shlq $4, %rcx
movq %r13, %r8
movq $0, (%r13,%rcx)
incl %r15d
movq %rax, 8(%r13,%rcx)
movl -52(%rbp), %esi ## 4-byte Reload
jmp LBB0_14
LBB0_33: ## in Loop: Header=BB0_3 Depth=1
cmpl $0, 16(%r14)
je LBB0_40
## %bb.34: ## in Loop: Header=BB0_3 Depth=1
cmpl $154, -16(%r14)
jne LBB0_35
## %bb.36: ## in Loop: Header=BB0_3 Depth=1
cmpl $2, -12(%r14)
sete %al
jmp LBB0_37
.p2align 4, 0x90
LBB0_40: ## in Loop: Header=BB0_3 Depth=1
movslq %r15d, %rax
movq %rax, %rcx
shlq $4, %rcx
addq -88(%rbp), %rcx ## 8-byte Folded Reload
xorl %edx, %edx
.p2align 4, 0x90
LBB0_41: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
cmpq %rdx, %rax
je LBB0_42
## %bb.43: ## in Loop: Header=BB0_41 Depth=2
incq %rdx
leaq -16(%rcx), %rdi
cmpq $0, -24(%rcx)
movq %rdi, %rcx
je LBB0_41
## %bb.44: ## in Loop: Header=BB0_3 Depth=1
subl %edx, %r15d
movq (%rdi), %r14
jmp LBB0_10
LBB0_30: ## in Loop: Header=BB0_3 Depth=1
xorl %edi, %edi
testl %r15d, %r15d
setg %dil
callq _assert
cmpl $0, 12(%r14)
jg LBB0_31
## %bb.32: ## in Loop: Header=BB0_3 Depth=1
movl -72(%rbp), %edi ## 4-byte Reload
callq _assert
decl %r15d
jmp LBB0_38
LBB0_27: ## in Loop: Header=BB0_3 Depth=1
xorl %eax, %eax
jmp LBB0_29
LBB0_24: ## in Loop: Header=BB0_3 Depth=1
movq _MAXBACK@GOTPCREL(%rip), %rax
cmpl (%rax), %r15d
jge LBB0_7
## %bb.25: ## in Loop: Header=BB0_3 Depth=1
movslq %r15d, %rax
shlq $4, %rax
movq $0, (%r8,%rax)
leaq 24(%r14), %rcx
incl %r15d
movq %rcx, 8(%r8,%rax)
movl 12(%r14), %edx
movq -64(%rbp), %rdi ## 8-byte Reload
callq _getposition
movq %r13, %r8
movl -52(%rbp), %esi ## 4-byte Reload
cltq
leaq (%rax,%rax,2), %rax
movq -80(%rbp), %rcx ## 8-byte Reload
leaq (%rcx,%rax,8), %r14
jmp LBB0_10
LBB0_35: ## in Loop: Header=BB0_3 Depth=1
xorl %eax, %eax
LBB0_37: ## in Loop: Header=BB0_3 Depth=1
movzbl %al, %edi
callq _assert
LBB0_38: ## in Loop: Header=BB0_3 Depth=1
addq $24, %r14
movl -52(%rbp), %esi ## 4-byte Reload
movq %r13, %r8
jmp LBB0_10
LBB0_42:
movl $1, %eax
jmp LBB0_48
LBB0_11:
xorl %edi, %edi
testl %r15d, %r15d
sete %dil
LBB0_47:
callq _assert
xorl %eax, %eax
LBB0_48:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_50
## %bb.49:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_21:
movq -64(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rdi
movl -68(%rbp), %esi ## 4-byte Reload
callq _val2str
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_50
## %bb.22:
leaq L_.str.1(%rip), %rsi
movq %rbx, %rdi
movl %eax, %edx
xorl %eax, %eax
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _luaL_error ## TAILCALL
LBB0_7:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
movq -64(%rbp), %rdi ## 8-byte Reload
jne LBB0_50
## %bb.8:
leaq L_.str(%rip), %rsi
xorl %eax, %eax
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _luaL_error ## TAILCALL
LBB0_46:
xorl %edi, %edi
jmp LBB0_47
LBB0_50:
callq ___stack_chk_fail
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_40, LBB0_40-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_45, LBB0_45-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_30, LBB0_30-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_39, LBB0_39-LJTI0_0
.set L0_0_set_33, LBB0_33-LJTI0_0
.set L0_0_set_46, LBB0_46-LJTI0_0
.set L0_0_set_26, LBB0_26-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
.long L0_0_set_40
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_45
.long L0_0_set_45
.long L0_0_set_40
.long L0_0_set_5
.long L0_0_set_30
.long L0_0_set_45
.long L0_0_set_16
.long L0_0_set_14
.long L0_0_set_39
.long L0_0_set_45
.long L0_0_set_40
.long L0_0_set_33
.long L0_0_set_46
.long L0_0_set_45
.long L0_0_set_45
.long L0_0_set_26
.long L0_0_set_40
.long L0_0_set_45
.long L0_0_set_6
.long L0_0_set_40
.long L0_0_set_12
.long L0_0_set_26
.long L0_0_set_40
.end_data_region
## -- End function
.section __TEXT,__const
_verify.dummy: ## @verify.dummy
.space 1
.comm _MAXBACK,4,2 ## @MAXBACK
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "too many pending calls/choices"
L_.str.1: ## @.str.1
.asciz "%s is left recursive"
.no_dead_strip _verify
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function verify
_verify: ; @verify
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
sub sp, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x21, x4
mov x22, x3
mov x26, x2
mov x23, x1
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-88]
Lloh3:
adrp x27, _MAXBACK@GOTPAGE
Lloh4:
ldr x27, [x27, _MAXBACK@GOTPAGEOFF]
ldr w8, [x27]
lsl x8, x8, #4
mov x9, x8
Lloh5:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh6:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
sub x28, x9, x8
mov sp, x28
cmp x2, x3
b.eq LBB0_2
; %bb.1:
stur x0, [x29, #-96] ; 8-byte Folded Spill
mov w19, #0 ; =0x0
cmp w21, #0
cset w8, ne
stp w5, w8, [x29, #-104] ; 8-byte Folded Spill
add x25, x28, #8
Lloh7:
adrp x24, lJTI0_0@PAGE
Lloh8:
add x24, x24, lJTI0_0@PAGEOFF
mov w20, #24 ; =0x18
b LBB0_8
LBB0_2:
mov w0, #1 ; =0x1
b LBB0_40
LBB0_3: ; in Loop: Header=BB0_8 Depth=1
subs w19, w19, #1
b.lt LBB0_32
; %bb.4: ; in Loop: Header=BB0_8 Depth=1
ldr w8, [x26, #12]
cmp w8, #0
cset w0, gt
LBB0_5: ; in Loop: Header=BB0_8 Depth=1
bl _assert
LBB0_6: ; in Loop: Header=BB0_8 Depth=1
ldrsw x8, [x26, #12]
smaddl x26, w8, w20, x26
LBB0_7: ; in Loop: Header=BB0_8 Depth=1
cmp x26, x22
b.eq LBB0_39
LBB0_8: ; =>This Loop Header: Depth=1
; Child Loop BB0_19 Depth 2
; Child Loop BB0_27 Depth 2
ldr w8, [x26, #8]
sub w8, w8, #128
cmp w8, #27
b.hi LBB0_46
; %bb.9: ; in Loop: Header=BB0_8 Depth=1
adr x9, LBB0_3
ldrb w10, [x24, x8]
add x9, x9, x10, lsl #2
br x9
LBB0_10: ; in Loop: Header=BB0_8 Depth=1
mov x0, x26
bl _sizei
smaddl x26, w0, w20, x26
b LBB0_7
LBB0_11: ; in Loop: Header=BB0_8 Depth=1
; kill: def $w19 killed $w19 killed $x19 def $x19
sxtw x8, w19
add x19, x8, #1
add x8, x28, x19, lsl #4
ldr x26, [x8, #8]
; kill: def $w19 killed $w19 killed $x19 def $x19
b LBB0_7
LBB0_12: ; in Loop: Header=BB0_8 Depth=1
ldr w8, [x27]
cmp w19, w8
b.ge LBB0_44
; %bb.13: ; in Loop: Header=BB0_8 Depth=1
mov w0, #0 ; =0x0
mov x1, x26
bl _dest
add x8, x28, w19, sxtw #4
add w19, w19, #1
Lloh9:
adrp x9, _verify.dummy@PAGE
Lloh10:
add x9, x9, _verify.dummy@PAGEOFF
stp x9, x0, [x8]
b LBB0_37
LBB0_14: ; in Loop: Header=BB0_8 Depth=1
ldr x8, [x26, #24]
ldr w0, [x26, #68]
Lloh11:
adrp x1, _verify.dummy@PAGE
Lloh12:
add x1, x1, _verify.dummy@PAGEOFF
mov x2, x1
mov x3, x1
blr x8
cbnz x0, LBB0_6
b LBB0_26
LBB0_15: ; in Loop: Header=BB0_8 Depth=1
cbz w21, LBB0_26
; %bb.16: ; in Loop: Header=BB0_8 Depth=1
tbnz w19, #31, LBB0_33
; %bb.17: ; in Loop: Header=BB0_8 Depth=1
add x8, x26, #24
add w9, w19, #1
mov x10, x25
b LBB0_19
LBB0_18: ; in Loop: Header=BB0_19 Depth=2
add x10, x10, #16
subs x9, x9, #1
b.eq LBB0_33
LBB0_19: ; Parent Loop BB0_8 Depth=1
; => This Inner Loop Header: Depth=2
ldur x11, [x10, #-8]
cbz x11, LBB0_18
; %bb.20: ; in Loop: Header=BB0_19 Depth=2
ldr x11, [x10]
cmp x11, x8
b.ne LBB0_18
b LBB0_43
LBB0_21: ; in Loop: Header=BB0_8 Depth=1
ldr w8, [x26, #32]
cmp w8, #136
cset w0, ne
bl _assert
ldr w8, [x27]
cmp w19, w8
b.ge LBB0_44
; %bb.22: ; in Loop: Header=BB0_8 Depth=1
add x8, x26, #24
add x9, x28, w19, sxtw #4
add w19, w19, #1
stp xzr, x8, [x9]
b LBB0_6
LBB0_23: ; in Loop: Header=BB0_8 Depth=1
ldr w8, [x26, #16]
cbz w8, LBB0_26
; %bb.24: ; in Loop: Header=BB0_8 Depth=1
ldur w8, [x26, #-16]
cmp w8, #154
b.ne LBB0_35
; %bb.25: ; in Loop: Header=BB0_8 Depth=1
ldur w8, [x26, #-12]
cmp w8, #2
cset w0, eq
b LBB0_36
LBB0_26: ; in Loop: Header=BB0_8 Depth=1
sxtw x8, w19
add x9, x25, w19, sxtw #4
LBB0_27: ; Parent Loop BB0_8 Depth=1
; => This Inner Loop Header: Depth=2
cbz x8, LBB0_38
; %bb.28: ; in Loop: Header=BB0_27 Depth=2
sub x8, x8, #1
ldur x10, [x9, #-24]
sub x9, x9, #16
cbz x10, LBB0_27
; %bb.29: ; in Loop: Header=BB0_8 Depth=1
ldr x26, [x9]
mov x19, x8
b LBB0_7
LBB0_30: ; in Loop: Header=BB0_8 Depth=1
cmp w19, #0
cset w0, gt
bl _assert
ldr w8, [x26, #12]
cmp w8, #0
b.gt LBB0_6
; %bb.31: ; in Loop: Header=BB0_8 Depth=1
ldur w0, [x29, #-100] ; 4-byte Folded Reload
bl _assert
sub w19, w19, #1
b LBB0_37
LBB0_32: ; in Loop: Header=BB0_8 Depth=1
mov w0, #0 ; =0x0
b LBB0_5
LBB0_33: ; in Loop: Header=BB0_8 Depth=1
ldr w8, [x27]
cmp w19, w8
b.ge LBB0_44
; %bb.34: ; in Loop: Header=BB0_8 Depth=1
add x8, x28, w19, sxtw #4
add x9, x26, #24
add w19, w19, #1
stp xzr, x9, [x8]
ldr w2, [x26, #12]
ldur x0, [x29, #-96] ; 8-byte Folded Reload
mov x1, x21
bl _getposition
smaddl x26, w0, w20, x23
b LBB0_7
LBB0_35: ; in Loop: Header=BB0_8 Depth=1
mov w0, #0 ; =0x0
LBB0_36: ; in Loop: Header=BB0_8 Depth=1
bl _assert
LBB0_37: ; in Loop: Header=BB0_8 Depth=1
add x26, x26, #24
b LBB0_7
LBB0_38:
mov w0, #1 ; =0x1
b LBB0_41
LBB0_39:
cmp w19, #0
cset w0, eq
LBB0_40:
bl _assert
mov w0, #0 ; =0x0
LBB0_41:
ldur x8, [x29, #-88]
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_47
; %bb.42:
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_43:
ldur x19, [x29, #-96] ; 8-byte Folded Reload
mov x0, x19
ldur w1, [x29, #-104] ; 4-byte Folded Reload
bl _val2str
; kill: def $w0 killed $w0 def $x0
str x0, [sp, #-16]!
Lloh16:
adrp x1, l_.str.1@PAGE
Lloh17:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _luaL_error
add sp, sp, #16
b LBB0_41
LBB0_44:
ldur x8, [x29, #-88]
Lloh18:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh19:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_47
; %bb.45:
Lloh21:
adrp x1, l_.str@PAGE
Lloh22:
add x1, x1, l_.str@PAGEOFF
ldur x0, [x29, #-96] ; 8-byte Folded Reload
sub sp, x29, #80
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
b _luaL_error
LBB0_46:
mov w0, #0 ; =0x0
b LBB0_40
LBB0_47:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpLdrGot Lloh5, Lloh6
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_26-LBB0_3)>>2
.byte (LBB0_6-LBB0_3)>>2
.byte (LBB0_6-LBB0_3)>>2
.byte (LBB0_6-LBB0_3)>>2
.byte (LBB0_6-LBB0_3)>>2
.byte (LBB0_10-LBB0_3)>>2
.byte (LBB0_10-LBB0_3)>>2
.byte (LBB0_26-LBB0_3)>>2
.byte (LBB0_11-LBB0_3)>>2
.byte (LBB0_30-LBB0_3)>>2
.byte (LBB0_10-LBB0_3)>>2
.byte (LBB0_15-LBB0_3)>>2
.byte (LBB0_6-LBB0_3)>>2
.byte (LBB0_14-LBB0_3)>>2
.byte (LBB0_10-LBB0_3)>>2
.byte (LBB0_26-LBB0_3)>>2
.byte (LBB0_23-LBB0_3)>>2
.byte (LBB0_46-LBB0_3)>>2
.byte (LBB0_10-LBB0_3)>>2
.byte (LBB0_10-LBB0_3)>>2
.byte (LBB0_3-LBB0_3)>>2
.byte (LBB0_26-LBB0_3)>>2
.byte (LBB0_10-LBB0_3)>>2
.byte (LBB0_12-LBB0_3)>>2
.byte (LBB0_26-LBB0_3)>>2
.byte (LBB0_21-LBB0_3)>>2
.byte (LBB0_3-LBB0_3)>>2
.byte (LBB0_26-LBB0_3)>>2
; -- End function
_verify.dummy: ; @verify.dummy
.space 1
.comm _MAXBACK,4,2 ; @MAXBACK
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "too many pending calls/choices"
l_.str.1: ; @.str.1
.asciz "%s is left recursive"
.no_dead_strip _verify
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function _bstr_
__bstr_: ## @_bstr_
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movq _alloced_bstrs_count@GOTPCREL(%rip), %r14
movq (%r14), %r15
movq _alloced_bstrs@GOTPCREL(%rip), %r12
movq (%r12), %rdi
callq _ARRAY_SIZE
xorl %edi, %edi
cmpq %rax, %r15
setb %dil
callq _assert
movq %rbx, %rdi
callq _alloc_str_from_narrow
movq (%r12), %rcx
movq (%r14), %rdx
movl %eax, (%rcx,%rdx,4)
decq %rdx
movq %rdx, (%r14)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _alloced_bstrs_count,8,3 ## @alloced_bstrs_count
.comm _alloced_bstrs,8,3 ## @alloced_bstrs
.no_dead_strip __bstr_
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function _bstr_
__bstr_: ; @_bstr_
.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
Lloh0:
adrp x20, _alloced_bstrs_count@GOTPAGE
Lloh1:
ldr x20, [x20, _alloced_bstrs_count@GOTPAGEOFF]
ldr x21, [x20]
Lloh2:
adrp x22, _alloced_bstrs@GOTPAGE
Lloh3:
ldr x22, [x22, _alloced_bstrs@GOTPAGEOFF]
ldr x0, [x22]
bl _ARRAY_SIZE
cmp x21, x0
cset w0, lo
bl _assert
mov x0, x19
bl _alloc_str_from_narrow
ldr x8, [x22]
ldr x9, [x20]
str w0, [x8, x9, lsl #2]
sub x8, x9, #1
str x8, [x20]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _alloced_bstrs_count,8,3 ; @alloced_bstrs_count
.comm _alloced_bstrs,8,3 ; @alloced_bstrs
.no_dead_strip __bstr_
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function complete_service
_complete_service: ## @complete_service
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $72, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, -64(%rbp) ## 8-byte Spill
movq %rdi, %rbx
movq $0, -48(%rbp)
movq (%rdi), %rax
movq _NC_TPI_CLTS@GOTPCREL(%rip), %r15
cmpq (%r15), %rax
je LBB0_3
## %bb.1:
movq _NC_TPI_COTS@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_3
## %bb.2:
movq _NC_TPI_COTS_ORD@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_24
LBB0_3:
leaq -80(%rbp), %rsi
movq %rbx, %rdi
callq ___rpc_nconf2sockinfo
testl %eax, %eax
je LBB0_4
## %bb.5:
movq _nhosts@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jle LBB0_24
## %bb.6:
movq _sock_fdpos@GOTPCREL(%rip), %r13
movq (%r13), %rax
movq _sock_fdcnt@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jge LBB0_23
## %bb.7:
movb $1, %r14b
jmp LBB0_8
.p2align 4, 0x90
LBB0_22: ## in Loop: Header=BB0_8 Depth=1
movq (%r13), %rax
xorl %r14d, %r14d
movq _sock_fdcnt@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jge LBB0_23
LBB0_8: ## =>This Inner Loop Header: Depth=1
movq _sock_fd@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
leaq 1(%rax), %rdx
movq %rdx, (%r13)
movl (%rcx,%rax,4), %r12d
testl %r12d, %r12d
jle LBB0_24
## %bb.9: ## in Loop: Header=BB0_8 Depth=1
movq (%rbx), %rax
cmpq (%r15), %rax
je LBB0_11
## %bb.10: ## in Loop: Header=BB0_8 Depth=1
movl %r12d, %edi
movl $-1, %esi
callq _listen
movq (%rbx), %rax
cmpq (%r15), %rax
jne LBB0_12
LBB0_11: ## in Loop: Header=BB0_8 Depth=1
movl %r12d, %edi
xorl %esi, %esi
xorl %edx, %edx
callq _svc_dg_create
jmp LBB0_13
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_8 Depth=1
movq _RPC_MAXDATASIZE@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl %r12d, %edi
movl %edx, %esi
callq _svc_vc_create
LBB0_13: ## in Loop: Header=BB0_8 Depth=1
movq %rax, %r12
movq _LOG_WARNING@GOTPCREL(%rip), %rcx
leaq L_.str.4(%rip), %rsi
testq %rax, %rax
je LBB0_18
## %bb.14: ## in Loop: Header=BB0_8 Depth=1
movq _MOUNTPROG@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _MOUNTVERS@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _mntsrv@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %r12, %rdi
xorl %r8d, %r8d
callq _svc_reg
testl %eax, %eax
jne LBB0_16
## %bb.15: ## in Loop: Header=BB0_8 Depth=1
movq _LOG_ERR@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl 8(%rbx), %edx
leaq L_.str.2(%rip), %rsi
xorl %eax, %eax
callq _syslog
LBB0_16: ## in Loop: Header=BB0_8 Depth=1
movq _force_v2@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jne LBB0_19
## %bb.17: ## in Loop: Header=BB0_8 Depth=1
movq _MOUNTPROG@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _MOUNTVERS3@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _mntsrv@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %r12, %rdi
xorl %r8d, %r8d
callq _svc_reg
movq _LOG_ERR@GOTPCREL(%rip), %rcx
leaq L_.str.3(%rip), %rsi
testl %eax, %eax
jne LBB0_19
.p2align 4, 0x90
LBB0_18: ## in Loop: Header=BB0_8 Depth=1
movl (%rcx), %edi
movl 8(%rbx), %edx
xorl %eax, %eax
callq _syslog
LBB0_19: ## in Loop: Header=BB0_8 Depth=1
testb $1, %r14b
je LBB0_22
## %bb.20: ## in Loop: Header=BB0_8 Depth=1
leaq -104(%rbp), %r14
movq %r14, %rdi
xorl %esi, %esi
movl $24, %edx
callq _memset
movq _AI_PASSIVE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -84(%rbp)
movl -72(%rbp), %eax
movl %eax, -88(%rbp)
movq -80(%rbp), %rax
movq %rax, -96(%rbp)
xorl %edi, %edi
movq -64(%rbp), %rsi ## 8-byte Reload
movq %r14, %rdx
leaq -48(%rbp), %rcx
callq _getaddrinfo
testl %eax, %eax
jne LBB0_25
## %bb.21: ## in Loop: Header=BB0_8 Depth=1
movq -48(%rbp), %rax
movl (%rax), %edi
callq _malloc
movl %eax, -52(%rbp)
movq -48(%rbp), %rcx
movl (%rcx), %edx
movl 4(%rcx), %esi
movl %eax, %edi
callq _memcpy
movq -48(%rbp), %rax
movl (%rax), %eax
movl %eax, -56(%rbp)
movq _MOUNTPROG@GOTPCREL(%rip), %r14
movl (%r14), %edi
movq _MOUNTVERS@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdx
leaq -56(%rbp), %r12
movq %r12, %rcx
callq _rpcb_set
movl (%r14), %edi
movq _MOUNTVERS3@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdx
movq %r12, %rcx
callq _rpcb_set
movq _xcreated@GOTPCREL(%rip), %rax
incl (%rax)
movq -48(%rbp), %rdi
callq _freeaddrinfo
jmp LBB0_22
LBB0_4:
movq _LOG_ERR@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl 8(%rbx), %edx
leaq L_.str(%rip), %rsi
xorl %eax, %eax
callq _syslog
jmp LBB0_24
LBB0_23:
movq _LOG_ERR@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.1(%rip), %rsi
xorl %eax, %eax
callq _syslog
LBB0_24:
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_25:
movq _LOG_ERR@GOTPCREL(%rip), %rcx
movl (%rcx), %ebx
movl %eax, %edi
callq _gai_strerror
leaq L_.str.5(%rip), %rsi
movl %ebx, %edi
movl %eax, %edx
xorl %eax, %eax
callq _syslog
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.comm _NC_TPI_CLTS,8,3 ## @NC_TPI_CLTS
.comm _NC_TPI_COTS,8,3 ## @NC_TPI_COTS
.comm _NC_TPI_COTS_ORD,8,3 ## @NC_TPI_COTS_ORD
.comm _LOG_ERR,4,2 ## @LOG_ERR
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "cannot get information for %s"
.comm _nhosts,4,2 ## @nhosts
.comm _sock_fdpos,8,3 ## @sock_fdpos
.comm _sock_fdcnt,8,3 ## @sock_fdcnt
L_.str.1: ## @.str.1
.asciz "Ran out of socket fd's"
.comm _sock_fd,8,3 ## @sock_fd
.comm _RPC_MAXDATASIZE,4,2 ## @RPC_MAXDATASIZE
.comm _MOUNTPROG,4,2 ## @MOUNTPROG
.comm _MOUNTVERS,4,2 ## @MOUNTVERS
.comm _mntsrv,4,2 ## @mntsrv
L_.str.2: ## @.str.2
.asciz "can't register %s MOUNTVERS service"
.comm _force_v2,4,2 ## @force_v2
.comm _MOUNTVERS3,4,2 ## @MOUNTVERS3
L_.str.3: ## @.str.3
.asciz "can't register %s MOUNTVERS3 service"
.comm _LOG_WARNING,4,2 ## @LOG_WARNING
L_.str.4: ## @.str.4
.asciz "can't create %s services"
.comm _AI_PASSIVE,4,2 ## @AI_PASSIVE
L_.str.5: ## @.str.5
.asciz "cannot get local address: %s"
.comm _xcreated,4,2 ## @xcreated
.no_dead_strip _complete_service
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function complete_service
_complete_service: ; @complete_service
.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
str xzr, [sp, #32]
ldr x8, [x0]
Lloh0:
adrp x23, _NC_TPI_CLTS@GOTPAGE
Lloh1:
ldr x23, [x23, _NC_TPI_CLTS@GOTPAGEOFF]
ldr x9, [x23]
Lloh2:
adrp x10, _NC_TPI_COTS@GOTPAGE
Lloh3:
ldr x10, [x10, _NC_TPI_COTS@GOTPAGEOFF]
Lloh4:
ldr x10, [x10]
Lloh5:
adrp x11, _NC_TPI_COTS_ORD@GOTPAGE
Lloh6:
ldr x11, [x11, _NC_TPI_COTS_ORD@GOTPAGEOFF]
Lloh7:
ldr x11, [x11]
cmp x8, x9
ccmp x8, x10, #4, ne
ccmp x8, x11, #4, ne
b.ne LBB0_24
; %bb.1:
mov x20, x1
mov x19, x0
add x1, sp, #16
bl ___rpc_nconf2sockinfo
cbz w0, LBB0_21
; %bb.2:
Lloh8:
adrp x8, _nhosts@GOTPAGE
Lloh9:
ldr x8, [x8, _nhosts@GOTPAGEOFF]
Lloh10:
ldr w8, [x8]
cmp w8, #1
b.lt LBB0_24
; %bb.3:
Lloh11:
adrp x24, _sock_fdpos@GOTPAGE
Lloh12:
ldr x24, [x24, _sock_fdpos@GOTPAGEOFF]
ldr x8, [x24]
Lloh13:
adrp x26, _sock_fdcnt@GOTPAGE
Lloh14:
ldr x26, [x26, _sock_fdcnt@GOTPAGEOFF]
ldr x9, [x26]
cmp x8, x9
b.ge LBB0_22
; %bb.4:
mov w27, #1 ; =0x1
Lloh15:
adrp x21, _MOUNTPROG@GOTPAGE
Lloh16:
ldr x21, [x21, _MOUNTPROG@GOTPAGEOFF]
Lloh17:
adrp x25, _MOUNTVERS@GOTPAGE
Lloh18:
ldr x25, [x25, _MOUNTVERS@GOTPAGEOFF]
Lloh19:
adrp x28, _xcreated@GOTPAGE
Lloh20:
ldr x28, [x28, _xcreated@GOTPAGEOFF]
b LBB0_6
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
mov w27, #0 ; =0x0
ldr x8, [x24]
ldr x9, [x26]
cmp x8, x9
b.ge LBB0_22
LBB0_6: ; =>This Inner Loop Header: Depth=1
Lloh21:
adrp x9, _sock_fd@GOTPAGE
Lloh22:
ldr x9, [x9, _sock_fd@GOTPAGEOFF]
Lloh23:
ldr x9, [x9]
add x10, x8, #1
str x10, [x24]
ldr w22, [x9, x8, lsl #2]
cmp w22, #1
b.lt LBB0_24
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
ldr x8, [x19]
ldr x9, [x23]
cmp x8, x9
b.eq LBB0_9
; %bb.8: ; in Loop: Header=BB0_6 Depth=1
mov x0, x22
mov w1, #-1 ; =0xffffffff
bl _listen
ldr x8, [x19]
ldr x9, [x23]
cmp x8, x9
b.ne LBB0_15
LBB0_9: ; in Loop: Header=BB0_6 Depth=1
mov x0, x22
mov w1, #0 ; =0x0
mov w2, #0 ; =0x0
bl _svc_dg_create
cbz x0, LBB0_16
LBB0_10: ; in Loop: Header=BB0_6 Depth=1
ldr w1, [x21]
ldr w2, [x25]
Lloh24:
adrp x8, _mntsrv@GOTPAGE
Lloh25:
ldr x8, [x8, _mntsrv@GOTPAGEOFF]
Lloh26:
ldr w3, [x8]
mov x22, x0
mov x4, #0 ; =0x0
bl _svc_reg
cbnz w0, LBB0_12
; %bb.11: ; in Loop: Header=BB0_6 Depth=1
Lloh27:
adrp x8, _LOG_ERR@GOTPAGE
Lloh28:
ldr x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh29:
ldr w0, [x8]
ldr w8, [x19, #8]
str x8, [sp]
Lloh30:
adrp x1, l_.str.2@PAGE
Lloh31:
add x1, x1, l_.str.2@PAGEOFF
bl _syslog
LBB0_12: ; in Loop: Header=BB0_6 Depth=1
Lloh32:
adrp x8, _force_v2@GOTPAGE
Lloh33:
ldr x8, [x8, _force_v2@GOTPAGEOFF]
Lloh34:
ldr w8, [x8]
cbnz w8, LBB0_18
; %bb.13: ; in Loop: Header=BB0_6 Depth=1
ldr w1, [x21]
Lloh35:
adrp x8, _MOUNTVERS3@GOTPAGE
Lloh36:
ldr x8, [x8, _MOUNTVERS3@GOTPAGEOFF]
Lloh37:
ldr w2, [x8]
Lloh38:
adrp x8, _mntsrv@GOTPAGE
Lloh39:
ldr x8, [x8, _mntsrv@GOTPAGEOFF]
Lloh40:
ldr w3, [x8]
mov x0, x22
mov x4, #0 ; =0x0
bl _svc_reg
cbnz w0, LBB0_18
; %bb.14: ; in Loop: Header=BB0_6 Depth=1
Lloh41:
adrp x8, _LOG_ERR@GOTPAGE
Lloh42:
ldr x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh43:
adrp x1, l_.str.3@PAGE
Lloh44:
add x1, x1, l_.str.3@PAGEOFF
b LBB0_17
LBB0_15: ; in Loop: Header=BB0_6 Depth=1
Lloh45:
adrp x8, _RPC_MAXDATASIZE@GOTPAGE
Lloh46:
ldr x8, [x8, _RPC_MAXDATASIZE@GOTPAGEOFF]
Lloh47:
ldr w1, [x8]
mov x0, x22
mov x2, x1
bl _svc_vc_create
cbnz x0, LBB0_10
LBB0_16: ; in Loop: Header=BB0_6 Depth=1
Lloh48:
adrp x8, _LOG_WARNING@GOTPAGE
Lloh49:
ldr x8, [x8, _LOG_WARNING@GOTPAGEOFF]
Lloh50:
adrp x1, l_.str.4@PAGE
Lloh51:
add x1, x1, l_.str.4@PAGEOFF
LBB0_17: ; in Loop: Header=BB0_6 Depth=1
ldr w0, [x8]
ldr w8, [x19, #8]
str x8, [sp]
bl _syslog
LBB0_18: ; in Loop: Header=BB0_6 Depth=1
tbz w27, #0, LBB0_5
; %bb.19: ; in Loop: Header=BB0_6 Depth=1
add x0, sp, #40
mov w1, #0 ; =0x0
mov w2, #24 ; =0x18
bl _memset
Lloh52:
adrp x8, _AI_PASSIVE@GOTPAGE
Lloh53:
ldr x8, [x8, _AI_PASSIVE@GOTPAGEOFF]
Lloh54:
ldr w8, [x8]
ldr w9, [sp, #24]
stp w9, w8, [sp, #56]
ldr d0, [sp, #16]
str d0, [sp, #48]
add x2, sp, #40
add x3, sp, #32
mov x0, #0 ; =0x0
mov x1, x20
bl _getaddrinfo
cbnz w0, LBB0_25
; %bb.20: ; in Loop: Header=BB0_6 Depth=1
ldr x8, [sp, #32]
ldr w0, [x8]
bl _malloc
str w0, [sp, #12]
ldr x8, [sp, #32]
ldp w2, w1, [x8]
bl _memcpy
ldr x8, [sp, #32]
ldr w8, [x8]
str w8, [sp, #8]
ldr w0, [x21]
ldr w1, [x25]
add x3, sp, #8
mov x2, x19
bl _rpcb_set
ldr w0, [x21]
Lloh55:
adrp x8, _MOUNTVERS3@GOTPAGE
Lloh56:
ldr x8, [x8, _MOUNTVERS3@GOTPAGEOFF]
Lloh57:
ldr w1, [x8]
add x3, sp, #8
mov x2, x19
bl _rpcb_set
ldr w8, [x28]
add w8, w8, #1
str w8, [x28]
ldr x0, [sp, #32]
bl _freeaddrinfo
b LBB0_5
LBB0_21:
Lloh58:
adrp x8, _LOG_ERR@GOTPAGE
Lloh59:
ldr x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh60:
ldr w0, [x8]
ldr w8, [x19, #8]
str x8, [sp]
Lloh61:
adrp x1, l_.str@PAGE
Lloh62:
add x1, x1, l_.str@PAGEOFF
b LBB0_23
LBB0_22:
Lloh63:
adrp x8, _LOG_ERR@GOTPAGE
Lloh64:
ldr x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh65:
ldr w0, [x8]
Lloh66:
adrp x1, l_.str.1@PAGE
Lloh67:
add x1, x1, l_.str.1@PAGEOFF
LBB0_23:
bl _syslog
LBB0_24:
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
ldp x20, x19, [sp, #128] ; 16-byte Folded Reload
ldp x22, x21, [sp, #112] ; 16-byte Folded Reload
ldp x24, x23, [sp, #96] ; 16-byte Folded Reload
ldp x26, x25, [sp, #80] ; 16-byte Folded Reload
ldp x28, x27, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #160
ret
LBB0_25:
Lloh68:
adrp x8, _LOG_ERR@GOTPAGE
Lloh69:
ldr x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh70:
ldr w19, [x8]
bl _gai_strerror
; kill: def $w0 killed $w0 def $x0
str x0, [sp]
Lloh71:
adrp x1, l_.str.5@PAGE
Lloh72:
add x1, x1, l_.str.5@PAGEOFF
mov x0, x19
bl _syslog
mov w0, #1 ; =0x1
bl _exit
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGot Lloh19, Lloh20
.loh AdrpLdrGot Lloh17, Lloh18
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34
.loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40
.loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37
.loh AdrpAdd Lloh43, Lloh44
.loh AdrpLdrGot Lloh41, Lloh42
.loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47
.loh AdrpAdd Lloh50, Lloh51
.loh AdrpLdrGot Lloh48, Lloh49
.loh AdrpLdrGotLdr Lloh52, Lloh53, Lloh54
.loh AdrpLdrGotLdr Lloh55, Lloh56, Lloh57
.loh AdrpAdd Lloh61, Lloh62
.loh AdrpLdrGotLdr Lloh58, Lloh59, Lloh60
.loh AdrpAdd Lloh66, Lloh67
.loh AdrpLdrGotLdr Lloh63, Lloh64, Lloh65
.loh AdrpAdd Lloh71, Lloh72
.loh AdrpLdrGotLdr Lloh68, Lloh69, Lloh70
.cfi_endproc
; -- End function
.comm _NC_TPI_CLTS,8,3 ; @NC_TPI_CLTS
.comm _NC_TPI_COTS,8,3 ; @NC_TPI_COTS
.comm _NC_TPI_COTS_ORD,8,3 ; @NC_TPI_COTS_ORD
.comm _LOG_ERR,4,2 ; @LOG_ERR
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "cannot get information for %s"
.comm _nhosts,4,2 ; @nhosts
.comm _sock_fdpos,8,3 ; @sock_fdpos
.comm _sock_fdcnt,8,3 ; @sock_fdcnt
l_.str.1: ; @.str.1
.asciz "Ran out of socket fd's"
.comm _sock_fd,8,3 ; @sock_fd
.comm _RPC_MAXDATASIZE,4,2 ; @RPC_MAXDATASIZE
.comm _MOUNTPROG,4,2 ; @MOUNTPROG
.comm _MOUNTVERS,4,2 ; @MOUNTVERS
.comm _mntsrv,4,2 ; @mntsrv
l_.str.2: ; @.str.2
.asciz "can't register %s MOUNTVERS service"
.comm _force_v2,4,2 ; @force_v2
.comm _MOUNTVERS3,4,2 ; @MOUNTVERS3
l_.str.3: ; @.str.3
.asciz "can't register %s MOUNTVERS3 service"
.comm _LOG_WARNING,4,2 ; @LOG_WARNING
l_.str.4: ; @.str.4
.asciz "can't create %s services"
.comm _AI_PASSIVE,4,2 ; @AI_PASSIVE
l_.str.5: ; @.str.5
.asciz "cannot get local address: %s"
.comm _xcreated,4,2 ; @xcreated
.no_dead_strip _complete_service
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _sodium_base642bin ## -- Begin function sodium_base642bin
.p2align 4, 0x90
_sodium_base642bin: ## @sodium_base642bin
.cfi_startproc
## %bb.0:
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 %r9, -104(%rbp) ## 8-byte Spill
movq %r8, %r12
movq %rcx, -56(%rbp) ## 8-byte Spill
movq %rdx, %r14
movq %rsi, -96(%rbp) ## 8-byte Spill
movq %rdi, -88(%rbp) ## 8-byte Spill
movl 24(%rbp), %edi
callq _sodium_base64_check_variant
movq _VARIANT_URLSAFE_MASK@GOTPCREL(%rip), %rax
movl (%rax), %r15d
xorl %r8d, %r8d
xorl %esi, %esi
movq $0, -48(%rbp) ## 8-byte Folded Spill
xorl %ebx, %ebx
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_4 Depth 2
movl %esi, -68(%rbp) ## 4-byte Spill
movq %r8, -80(%rbp) ## 8-byte Spill
jmp LBB0_4
.p2align 4, 0x90
LBB0_2: ## in Loop: Header=BB0_4 Depth=2
decq %rbx
LBB0_3: ## in Loop: Header=BB0_4 Depth=2
cmpq -56(%rbp), %rbx ## 8-byte Folded Reload
ja LBB0_14
LBB0_4: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movsbl (%r14,%rbx), %r13d
movl %r13d, %edi
testl %r15d, 24(%rbp)
je LBB0_6
## %bb.5: ## in Loop: Header=BB0_4 Depth=2
callq _b64_urlsafe_char_to_byte
cmpl $255, %eax
je LBB0_7
jmp LBB0_9
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_4 Depth=2
callq _b64_char_to_byte
cmpl $255, %eax
jne LBB0_9
LBB0_7: ## in Loop: Header=BB0_4 Depth=2
testq %r12, %r12
jne LBB0_2
## %bb.8: ## in Loop: Header=BB0_4 Depth=2
xorl %edi, %edi
movl %r13d, %esi
callq _strchr
testq %rax, %rax
jne LBB0_2
jmp LBB0_3
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
movl -68(%rbp), %ecx ## 4-byte Reload
shll $6, %ecx
movl %eax, %esi
addl %ecx, %esi
movq -80(%rbp), %r8 ## 8-byte Reload
cmpq $2, %r8
jb LBB0_12
## %bb.10: ## in Loop: Header=BB0_1 Depth=1
addq $-2, %r8
movq -48(%rbp), %rdx ## 8-byte Reload
cmpq -96(%rbp), %rdx ## 8-byte Folded Reload
jae LBB0_37
## %bb.11: ## in Loop: Header=BB0_1 Depth=1
movl %esi, %eax
movl %r8d, %ecx
shrl %cl, %eax
movq -88(%rbp), %rcx ## 8-byte Reload
movb %al, (%rcx,%rdx)
incq %rdx
movq %rdx, -48(%rbp) ## 8-byte Spill
jmp LBB0_13
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_1 Depth=1
addq $6, %r8
LBB0_13: ## in Loop: Header=BB0_1 Depth=1
incq %rbx
cmpq -56(%rbp), %rbx ## 8-byte Folded Reload
jbe LBB0_1
jmp LBB0_15
LBB0_14:
movq -80(%rbp), %r8 ## 8-byte Reload
movl -68(%rbp), %esi ## 4-byte Reload
LBB0_15:
movq %rbx, -64(%rbp)
xorl %eax, %eax
LBB0_16:
cmpq $4, %r8
movq 16(%rbp), %r15
movl $-1, %r13d
ja LBB0_28
## %bb.18:
movl $-1, %edx
movl %r8d, %ecx
shll %cl, %edx
notl %edx
testl %edx, %esi
setne %cl
orb %cl, %al
je LBB0_20
LBB0_28:
xorl %edx, %edx
LBB0_29:
movq -64(%rbp), %rax
testq %r15, %r15
je LBB0_31
## %bb.30:
addq %rax, %r14
movq %r14, (%r15)
jmp LBB0_33
LBB0_31:
cmpq -56(%rbp), %rax ## 8-byte Folded Reload
je LBB0_33
## %bb.32:
movq _EINVAL@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _errno@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movl $-1, %r13d
LBB0_33:
movq -104(%rbp), %rax ## 8-byte Reload
testq %rax, %rax
je LBB0_35
## %bb.34:
movq %rdx, (%rax)
LBB0_35:
movl %r13d, %eax
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_20:
movq _VARIANT_NO_PADDING_MASK@GOTPCREL(%rip), %rax
movl 24(%rbp), %ecx
testl %ecx, (%rax)
je LBB0_26
LBB0_21:
xorl %r13d, %r13d
testq %r12, %r12
je LBB0_25
.p2align 4, 0x90
## %bb.22:
cmpq -56(%rbp), %rbx ## 8-byte Folded Reload
jae LBB0_25
LBB0_23: ## =>This Inner Loop Header: Depth=1
movsbl (%r14,%rbx), %esi
movq %r12, %rdi
callq _strchr
testq %rax, %rax
je LBB0_25
## %bb.24: ## in Loop: Header=BB0_23 Depth=1
movq -64(%rbp), %rbx
incq %rbx
movq %rbx, -64(%rbp)
cmpq -56(%rbp), %rbx ## 8-byte Folded Reload
jb LBB0_23
LBB0_25:
movq -48(%rbp), %rdx ## 8-byte Reload
jmp LBB0_29
LBB0_26:
shrq %r8
leaq -64(%rbp), %rdx
movq %r14, %rdi
movq -56(%rbp), %rsi ## 8-byte Reload
movq %r12, %rcx
callq __sodium_base642bin_skip_padding
testl %eax, %eax
je LBB0_36
## %bb.27:
movl %eax, %r13d
jmp LBB0_28
LBB0_36:
movq -64(%rbp), %rbx
jmp LBB0_21
LBB0_37:
movq %rbx, -64(%rbp)
movq _ERANGE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _errno@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movb $1, %al
jmp LBB0_16
.cfi_endproc
## -- End function
.comm _VARIANT_URLSAFE_MASK,4,2 ## @VARIANT_URLSAFE_MASK
.comm _ERANGE,4,2 ## @ERANGE
.comm _errno,4,2 ## @errno
.comm _VARIANT_NO_PADDING_MASK,4,2 ## @VARIANT_NO_PADDING_MASK
.comm _EINVAL,4,2 ## @EINVAL
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _sodium_base642bin ; -- Begin function sodium_base642bin
.p2align 2
_sodium_base642bin: ; @sodium_base642bin
.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, x7
stp x6, x5, [sp, #24] ; 16-byte Folded Spill
mov x23, x4
mov x21, x3
mov x22, x2
stp x0, x1, [sp, #8] ; 16-byte Folded Spill
mov x0, x7
bl _sodium_base64_check_variant
mov x25, #0 ; =0x0
mov w20, #0 ; =0x0
mov x28, #0 ; =0x0
mov x19, #0 ; =0x0
Lloh0:
adrp x8, _VARIANT_URLSAFE_MASK@GOTPAGE
Lloh1:
ldr x8, [x8, _VARIANT_URLSAFE_MASK@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
and w26, w8, w24
b LBB0_3
LBB0_1: ; in Loop: Header=BB0_3 Depth=1
sub x19, x19, #1
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
cmp x19, x21
b.hi LBB0_13
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldrsb w27, [x22, x19]
mov x0, x27
cbz w26, LBB0_7
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
bl _b64_urlsafe_char_to_byte
cmp w0, #255
b.ne LBB0_8
LBB0_5: ; in Loop: Header=BB0_3 Depth=1
cbnz x23, LBB0_1
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
mov x0, #0 ; =0x0
mov x1, x27
bl _strchr
cbnz x0, LBB0_1
b LBB0_2
LBB0_7: ; in Loop: Header=BB0_3 Depth=1
bl _b64_char_to_byte
cmp w0, #255
b.eq LBB0_5
LBB0_8: ; in Loop: Header=BB0_3 Depth=1
add w20, w0, w20, lsl #6
subs x8, x25, #2
b.lo LBB0_11
; %bb.9: ; in Loop: Header=BB0_3 Depth=1
ldr x9, [sp, #16] ; 8-byte Folded Reload
cmp x28, x9
b.hs LBB0_34
; %bb.10: ; in Loop: Header=BB0_3 Depth=1
lsr w9, w20, w8
ldr x10, [sp, #8] ; 8-byte Folded Reload
strb w9, [x10, x28]
add x28, x28, #1
b LBB0_12
LBB0_11: ; in Loop: Header=BB0_3 Depth=1
add x8, x25, #6
LBB0_12: ; in Loop: Header=BB0_3 Depth=1
add x19, x19, #1
mov x25, x8
cmp x19, x21
b.ls LBB0_3
b LBB0_14
LBB0_13:
mov x8, x25
LBB0_14:
mov w9, #0 ; =0x0
str x19, [sp, #40]
LBB0_15:
mov w0, #-1 ; =0xffffffff
cmp x8, #4
b.hi LBB0_17
; %bb.16:
lsl w10, w0, w8
bics wzr, w20, w10
csinc w9, w9, wzr, eq
tbz w9, #0, LBB0_25
LBB0_17:
mov x28, #0 ; =0x0
ldr x20, [sp, #24] ; 8-byte Folded Reload
LBB0_18:
ldr x8, [sp, #40]
cbz x20, LBB0_20
; %bb.19:
add x8, x22, x8
str x8, [x20]
b LBB0_22
LBB0_20:
cmp x8, x21
b.eq LBB0_22
; %bb.21:
Lloh3:
adrp x8, _EINVAL@GOTPAGE
Lloh4:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
Lloh6:
adrp x9, _errno@GOTPAGE
Lloh7:
ldr x9, [x9, _errno@GOTPAGEOFF]
Lloh8:
str w8, [x9]
mov w0, #-1 ; =0xffffffff
LBB0_22:
ldr x8, [sp, #32] ; 8-byte Folded Reload
cbz x8, LBB0_24
; %bb.23:
str x28, [x8]
LBB0_24:
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_25:
Lloh9:
adrp x9, _VARIANT_NO_PADDING_MASK@GOTPAGE
Lloh10:
ldr x9, [x9, _VARIANT_NO_PADDING_MASK@GOTPAGEOFF]
Lloh11:
ldr w9, [x9]
tst w9, w24
ldr x20, [sp, #24] ; 8-byte Folded Reload
b.eq LBB0_31
; %bb.26:
mov w0, #0 ; =0x0
cbz x23, LBB0_18
LBB0_27:
cmp x19, x21
b.hs LBB0_18
LBB0_28: ; =>This Inner Loop Header: Depth=1
ldrsb w1, [x22, x19]
mov x0, x23
bl _strchr
cbz x0, LBB0_18
; %bb.29: ; in Loop: Header=BB0_28 Depth=1
ldr x8, [sp, #40]
add x19, x8, #1
str x19, [sp, #40]
cmp x19, x21
b.lo LBB0_28
; %bb.30:
mov w0, #0 ; =0x0
b LBB0_18
LBB0_31:
lsr x4, x8, #1
add x2, sp, #40
mov x0, x22
mov x1, x21
mov x3, x23
bl __sodium_base642bin_skip_padding
cbz w0, LBB0_33
; %bb.32:
mov x28, #0 ; =0x0
b LBB0_18
LBB0_33:
ldr x19, [sp, #40]
mov w0, #0 ; =0x0
cbnz x23, LBB0_27
b LBB0_18
LBB0_34:
Lloh12:
adrp x9, _ERANGE@GOTPAGE
Lloh13:
ldr x9, [x9, _ERANGE@GOTPAGEOFF]
str x19, [sp, #40]
Lloh14:
ldr w9, [x9]
Lloh15:
adrp x10, _errno@GOTPAGE
Lloh16:
ldr x10, [x10, _errno@GOTPAGEOFF]
Lloh17:
str w9, [x10]
mov w9, #1 ; =0x1
b LBB0_15
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotStr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotStr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.cfi_endproc
; -- End function
.comm _VARIANT_URLSAFE_MASK,4,2 ; @VARIANT_URLSAFE_MASK
.comm _ERANGE,4,2 ; @ERANGE
.comm _errno,4,2 ; @errno
.comm _VARIANT_NO_PADDING_MASK,4,2 ; @VARIANT_NO_PADDING_MASK
.comm _EINVAL,4,2 ; @EINVAL
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _prepare_str_cp1251 ## -- Begin function prepare_str_cp1251
.p2align 4, 0x90
_prepare_str_cp1251: ## @prepare_str_cp1251
.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
incq %rdi
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpb $32, -1(%rdi)
leaq -1(%rdi), %rdi
je LBB0_1
## %bb.2:
movb $32, (%rdi)
movq _words_buf@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq _strcmp_void@GOTPCREL(%rip), %rax
movl (%rax), %ecx
xorl %esi, %esi
movl $8, %edx
callq _qsort
movq _prep_buf_res@GOTPCREL(%rip), %rbx
movq (%rbx), %rax
movb $0, (%rax)
subq (%rbx), %rax
incq %rax
movq _MAX_NAME_SIZE@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
xorl %edi, %edi
cmpq %rcx, %rax
setl %dil
callq _assert
movq (%rbx), %rax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _words_buf,8,3 ## @words_buf
.comm _strcmp_void,4,2 ## @strcmp_void
.comm _prep_buf_res,8,3 ## @prep_buf_res
.comm _MAX_NAME_SIZE,4,2 ## @MAX_NAME_SIZE
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _prepare_str_cp1251 ; -- Begin function prepare_str_cp1251
.p2align 2
_prepare_str_cp1251: ; @prepare_str_cp1251
.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
add x8, x0, #1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldrb w9, [x8, #-1]!
cmp w9, #32
b.eq LBB0_1
; %bb.2:
mov w9, #32 ; =0x20
strb w9, [x8]
Lloh0:
adrp x8, _words_buf@GOTPAGE
Lloh1:
ldr x8, [x8, _words_buf@GOTPAGEOFF]
Lloh2:
ldr x0, [x8]
Lloh3:
adrp x8, _strcmp_void@GOTPAGE
Lloh4:
ldr x8, [x8, _strcmp_void@GOTPAGEOFF]
Lloh5:
ldr w3, [x8]
mov w1, #0 ; =0x0
mov w2, #8 ; =0x8
bl _qsort
Lloh6:
adrp x19, _prep_buf_res@GOTPAGE
Lloh7:
ldr x19, [x19, _prep_buf_res@GOTPAGEOFF]
ldr x8, [x19]
strb wzr, [x8]
ldr x9, [x19]
sub x8, x8, x9
add x8, x8, #1
Lloh8:
adrp x9, _MAX_NAME_SIZE@GOTPAGE
Lloh9:
ldr x9, [x9, _MAX_NAME_SIZE@GOTPAGEOFF]
Lloh10:
ldrsw x9, [x9]
cmp x8, x9
cset w0, lt
bl _assert
ldr x0, [x19]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _words_buf,8,3 ; @words_buf
.comm _strcmp_void,4,2 ; @strcmp_void
.comm _prep_buf_res,8,3 ; @prep_buf_res
.comm _MAX_NAME_SIZE,4,2 ; @MAX_NAME_SIZE
.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
jns LBB0_2
## %bb.1:
movq (%r14), %rax
movq _O_register@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_3
LBB0_2:
movl 8(%r14), %edi
callq _regno
movl %eax, %edx
movl $1, %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_3:
movq _AXP_REG_ZERO@GOTPCREL(%rip), %rax
movl (%rax), %edx
xorl %r12d, %r12d
jmp LBB0_4
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]
tbz w1, #31, LBB0_2
; %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_12
LBB0_2:
ldr w0, [x20, #8]
bl _regno
mov x2, x0
mov w22, #1 ; =0x1
LBB0_3:
bl _set_tok_reg
cmp w22, w21
b.ge LBB0_6
; %bb.4:
add x8, x20, w22, uxtw #4
ldr x9, [x8]
Lloh6:
adrp x10, _O_pregister@GOTPAGE
Lloh7:
ldr x10, [x10, _O_pregister@GOTPAGEOFF]
Lloh8:
ldr x10, [x10]
Lloh9:
adrp x11, _O_cpregister@GOTPAGE
Lloh10:
ldr x11, [x11, _O_cpregister@GOTPAGEOFF]
Lloh11:
ldr x11, [x11]
cmp x9, x10
ccmp x9, x11, #4, ne
b.ne LBB0_6
; %bb.5:
add w22, w22, #1
ldr w0, [x8, #8]
bl _regno
mov x2, x0
b LBB0_7
LBB0_6:
Lloh12:
adrp x8, _AXP_REG_RA@GOTPAGE
Lloh13:
ldr x8, [x8, _AXP_REG_RA@GOTPAGEOFF]
Lloh14:
ldr w2, [x8]
LBB0_7:
bl _set_tok_cpreg
cmp w22, w21
b.ge LBB0_9
; %bb.8:
ldr q0, [x20, w22, uxtw #4]
stur q0, [sp, #40]
b LBB0_10
LBB0_9:
Lloh15:
adrp x1, l_.str@PAGE
Lloh16:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _strcmp
cmp x0, #0
cset w2, eq
bl _set_tok_const
LBB0_10:
add x1, sp, #8
mov x0, x19
mov w2, #3 ; =0x3
mov w3, #0 ; =0x0
bl _assemble_tokens
ldur x8, [x29, #-40]
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_13
; %bb.11:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #112
ret
LBB0_12:
mov w22, #0 ; =0x0
Lloh20:
adrp x8, _AXP_REG_ZERO@GOTPAGE
Lloh21:
ldr x8, [x8, _AXP_REG_ZERO@GOTPAGEOFF]
Lloh22:
ldr w2, [x8]
b LBB0_3
LBB0_13:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh17, 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
.p2align 4, 0x90 ## -- Begin function opretf
_opretf: ## @opretf
.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), %rax
movl (%rax), %edx
movq _OT_CONSTANT@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl %edx, %ecx
je LBB0_2
## %bb.1:
movl 8(%rax), %ecx
imull 4(%rax), %ecx
movl %ecx, -4(%rsi)
sarl $8, %ecx
jmp LBB0_3
LBB0_2:
movq _OT_UNKNOWN@GOTPCREL(%rip), %rdi
xorl %eax, %eax
movl $203, %ecx
cmpl (%rdi), %edx
jne LBB0_4
LBB0_3:
movl %ecx, (%rsi)
movl $1, %eax
LBB0_4:
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _OT_CONSTANT,4,2 ## @OT_CONSTANT
.comm _OT_UNKNOWN,4,2 ## @OT_UNKNOWN
.no_dead_strip _opretf
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function opretf
_opretf: ; @opretf
.cfi_startproc
; %bb.0:
ldr x8, [x2]
ldr w9, [x8]
Lloh0:
adrp x10, _OT_CONSTANT@GOTPAGE
Lloh1:
ldr x10, [x10, _OT_CONSTANT@GOTPAGEOFF]
Lloh2:
ldr w10, [x10]
orr w10, w10, w9
cbz w10, LBB0_2
; %bb.1:
ldp w9, w8, [x8, #4]
mul w8, w8, w9
stur w8, [x1, #-4]
asr w8, w8, #8
b LBB0_4
LBB0_2:
Lloh3:
adrp x8, _OT_UNKNOWN@GOTPAGE
Lloh4:
ldr x8, [x8, _OT_UNKNOWN@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
cmp w9, w8
b.ne LBB0_5
; %bb.3:
mov w8, #203 ; =0xcb
LBB0_4:
str w8, [x1]
mov w0, #1 ; =0x1
ret
LBB0_5:
mov w0, #0 ; =0x0
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _OT_CONSTANT,4,2 ; @OT_CONSTANT
.comm _OT_UNKNOWN,4,2 ; @OT_UNKNOWN
.no_dead_strip _opretf
.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 %rsi, %rbx
movq %rdi, %r14
addq (%rdi), %rbx
movq %rbx, %rsi
callq _grid_line_length
testq %rax, %rax
jle LBB0_8
## %bb.1:
movl $1, %r15d
xorl %r12d, %r12d
xorl %r13d, %r13d
jmp LBB0_3
.p2align 4, 0x90
LBB0_2: ## in Loop: Header=BB0_3 Depth=1
movq %r14, %rdi
movq %rbx, %rsi
callq _grid_line_length
cmpq %rax, %r15
jg LBB0_5
LBB0_3: ## =>This Inner Loop Header: Depth=1
decq %r15
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %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, #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 x23, [x0]
add x1, x23, x1
bl _grid_line_length
cmp x0, #1
b.lt LBB0_7
; %bb.1:
mov x25, #0 ; =0x0
mov x21, #0 ; =0x0
add x24, sp, #8
mov w22, #1 ; =0x1
Lloh0:
adrp x26, _GRID_FLAG_PADDING@GOTPAGE
Lloh1:
ldr x26, [x26, _GRID_FLAG_PADDING@GOTPAGEOFF]
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x1, x23, x19
mov x0, x20
bl _grid_line_length
cmp x22, x0
b.gt LBB0_5
LBB0_3: ; =>This Inner Loop Header: Depth=1
sub x22, x22, #1
add x2, x23, x19
add x3, sp, #8
mov x0, x20
mov x1, x22
bl _grid_get_cell
ldr w8, [sp, #8]
ldr w9, [x26]
orr w8, w9, w8
cbnz w8, LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
add x1, x25, #2
mov x0, x21
mov w2, #8 ; =0x8
bl _xreallocarray
mov x21, x0
add x27, x25, #1
add x0, x0, x25, lsl #3
add x1, x24, #4
mov w2, #8 ; =0x8
bl _memcpy
mov x25, x27
b LBB0_2
LBB0_5:
cbz x25, LBB0_7
; %bb.6:
str xzr, [x21, x25, 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, #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
.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
.p2align 4, 0x90 ## -- Begin function encode_mode
_encode_mode: ## @encode_mode
.cfi_startproc
## %bb.0:
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 $248, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r9, -272(%rbp) ## 8-byte Spill
movq %r8, -264(%rbp) ## 8-byte Spill
movq %rcx, -224(%rbp) ## 8-byte Spill
movq %rdx, -240(%rbp) ## 8-byte Spill
movq 24(%rbp), %rbx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movl (%rdi), %eax
movl %esi, -256(%rbp) ## 4-byte Spill
imull %esi, %eax
movq _MB_AREA@GOTPCREL(%rip), %rcx
cltd
idivl (%rcx)
movq 16(%rbp), %rcx
xorps %xmm0, %xmm0
movaps %xmm0, -128(%rbp)
movaps %xmm0, -144(%rbp)
movaps %xmm0, -160(%rbp)
movaps %xmm0, -176(%rbp)
movaps %xmm0, -192(%rbp)
movaps %xmm0, -208(%rbp)
movq 24(%rcx), %rdx
xorl %r14d, %r14d
testq %rdx, %rdx
movq %rdi, -216(%rbp) ## 8-byte Spill
je LBB0_3
## %bb.1:
cmpl $0, 16(%rdi)
jne LBB0_3
## %bb.2:
movl 32(%rcx), %esi
movq -216(%rbp), %rdi ## 8-byte Reload
movl $32, %ecx
movl $36, %r8d
movq %rbx, %r9
movl %eax, %r15d
callq _encode_codebook
movq %rax, %r14
movl %r15d, %eax
LBB0_3:
movq 16(%rbp), %rcx
movq 8(%rcx), %rdx
testq %rdx, %rdx
movl %eax, -228(%rbp) ## 4-byte Spill
je LBB0_4
LBB0_5:
movq 16(%rbp), %rax
movl 16(%rax), %esi
movslq %r14d, %r14
leaq (%rbx,%r14), %r9
movq -216(%rbp), %rdi ## 8-byte Reload
movl $34, %ecx
movl $38, %r8d
callq _encode_codebook
addl %eax, %r14d
jmp LBB0_6
LBB0_4:
movq -216(%rbp), %rax ## 8-byte Reload
cmpl $0, 16(%rax)
je LBB0_5
LBB0_6:
movq %r14, -248(%rbp) ## 8-byte Spill
cmpl $0, -256(%rbp) ## 4-byte Folded Reload
movq -216(%rbp), %r14 ## 8-byte Reload
jle LBB0_21
## %bb.7:
movl (%r14), %eax
xorl %r15d, %r15d
xorl %ebx, %ebx
jmp LBB0_8
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_8 Depth=1
movq _MB_SIZE@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
LBB0_20: ## in Loop: Header=BB0_8 Depth=1
addl %ecx, %ebx
cmpl -256(%rbp), %ebx ## 4-byte Folded Reload
jge LBB0_21
LBB0_8: ## =>This Loop Header: Depth=1
## Child Loop BB0_11 Depth 2
testl %eax, %eax
jle LBB0_9
## %bb.10: ## in Loop: Header=BB0_8 Depth=1
movslq %r15d, %rax
shlq $3, %rax
leaq (%rax,%rax,2), %r12
xorl %r13d, %r13d
jmp LBB0_11
.p2align 4, 0x90
LBB0_15: ## in Loop: Header=BB0_11 Depth=2
movzbl 8(%r14,%r12), %ecx
movq -216(%rbp), %r14 ## 8-byte Reload
movq %r14, %rdi
leaq -144(%rbp), %rsi
leaq -192(%rbp), %rdx
movq 16(%rbp), %r8
callq _decode_v1_vector
LBB0_19: ## in Loop: Header=BB0_11 Depth=2
movq _MB_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl %ecx, %r13d
movl (%r14), %eax
addq $24, %r12
incl %r15d
cmpl %eax, %r13d
jge LBB0_20
LBB0_11: ## Parent Loop BB0_8 Depth=1
## => This Inner Loop Header: Depth=2
movq %r14, %rdi
movq 8(%r14), %r14
leaq -192(%rbp), %rax
movq %rax, (%rsp)
movl %r13d, %esi
movl %ebx, %edx
movq -240(%rbp), %rcx ## 8-byte Reload
movq -224(%rbp), %r8 ## 8-byte Reload
leaq -144(%rbp), %r9
callq _get_sub_picture
movq 16(%rbp), %rax
movl (%rax), %eax
cmpl $129, %eax
je LBB0_15
## %bb.12: ## in Loop: Header=BB0_11 Depth=2
cmpl $130, %eax
jne LBB0_13
## %bb.16: ## in Loop: Header=BB0_11 Depth=2
movq (%r14,%r12), %rax
movq _ENC_SKIP@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_14
## %bb.17: ## in Loop: Header=BB0_11 Depth=2
leaq -208(%rbp), %rax
movq %rax, (%rsp)
movq -216(%rbp), %r14 ## 8-byte Reload
movq %r14, %rdi
movl %r13d, %esi
movl %ebx, %edx
movq -264(%rbp), %rcx ## 8-byte Reload
movq -272(%rbp), %r8 ## 8-byte Reload
leaq -176(%rbp), %r9
callq _get_sub_picture
movq %r14, %rdi
leaq -144(%rbp), %rsi
leaq -192(%rbp), %rdx
leaq -176(%rbp), %rcx
leaq -208(%rbp), %r8
callq _copy_mb
jmp LBB0_19
.p2align 4, 0x90
LBB0_13: ## in Loop: Header=BB0_11 Depth=2
movq (%r14,%r12), %rax
LBB0_14: ## in Loop: Header=BB0_11 Depth=2
movq _ENC_V1@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_15
## %bb.18: ## in Loop: Header=BB0_11 Depth=2
movq 16(%r14,%r12), %rcx
movq -216(%rbp), %r14 ## 8-byte Reload
movq %r14, %rdi
leaq -144(%rbp), %rsi
leaq -192(%rbp), %rdx
movq 16(%rbp), %r8
callq _decode_v4_vector
jmp LBB0_19
LBB0_21:
movq 16(%rbp), %rax
movl (%rax), %eax
cmpl $128, %eax
je LBB0_32
## %bb.22:
cmpl $130, %eax
movq 24(%rbp), %r15
movq -248(%rbp), %r14 ## 8-byte Reload
movl -228(%rbp), %ebx ## 4-byte Reload
je LBB0_49
## %bb.23:
cmpl $129, %eax
jne LBB0_74
## %bb.24:
movslq %r14d, %rdi
addq %r15, %rdi
movl $50, %esi
movl %ebx, %edx
callq _write_chunk_header
addl %eax, %r14d
testl %ebx, %ebx
jle LBB0_74
## %bb.25:
movslq %r14d, %r14
movl %ebx, %eax
cmpl $1, %ebx
jne LBB0_27
## %bb.26:
xorl %ecx, %ecx
testb $1, %al
jne LBB0_31
jmp LBB0_74
LBB0_49:
movq _CHUNK_HEADER_SIZE@GOTPCREL(%rip), %rdx
movq %r14, %rax
movl (%rdx), %r14d
addl %eax, %r14d
testl %ebx, %ebx
jle LBB0_73
## %bb.50:
movl %ebx, %eax
shlq $3, %rax
leaq (%rax,%rax,2), %rax
movq %rax, -224(%rbp) ## 8-byte Spill
xorl %r13d, %r13d
xorl %ebx, %ebx
xorl %edx, %edx
xorl %r15d, %r15d
jmp LBB0_51
.p2align 4, 0x90
LBB0_68: ## in Loop: Header=BB0_51 Depth=1
addq $24, %r13
cmpq %r13, -224(%rbp) ## 8-byte Folded Reload
je LBB0_69
LBB0_51: ## =>This Inner Loop Header: Depth=1
movq -216(%rbp), %rax ## 8-byte Reload
movq 8(%rax), %r12
movq (%r12,%r13), %rax
movq _ENC_SKIP@GOTPCREL(%rip), %rcx
movq (%rcx), %rdi
xorl %esi, %esi
cmpq %rdi, %rax
setne %sil
movl %r15d, %ecx
notb %cl
shll %cl, %esi
leal 1(%r15), %ecx
orl %ebx, %esi
movb $1, %r8b
cmpq %rdi, %rax
je LBB0_52
## %bb.53: ## in Loop: Header=BB0_51 Depth=1
cmpl $30, %r15d
jg LBB0_54
## %bb.55: ## in Loop: Header=BB0_51 Depth=1
xorl %edi, %edi
movq _ENC_V4@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
sete %dil
movb $30, %cl
subb %r15b, %cl
shll %cl, %edi
leal 2(%r15), %ecx
orl %edi, %esi
movb $1, %r9b
xorl %ebx, %ebx
cmpl $32, %ecx
je LBB0_57
jmp LBB0_61
.p2align 4, 0x90
LBB0_52: ## in Loop: Header=BB0_51 Depth=1
xorl %ebx, %ebx
movb $1, %r9b
cmpl $32, %ecx
je LBB0_57
jmp LBB0_61
.p2align 4, 0x90
LBB0_54: ## in Loop: Header=BB0_51 Depth=1
movb $1, %bl
xorl %r9d, %r9d
cmpl $32, %ecx
jne LBB0_61
LBB0_57: ## in Loop: Header=BB0_51 Depth=1
movl %r9d, -240(%rbp) ## 4-byte Spill
movq %rdx, %r15
movslq %r14d, %r14
movq 24(%rbp), %rax
leaq (%rax,%r14), %rdi
callq _AV_WB32
addl $4, %r14d
movq (%r12,%r13), %rax
movq _ENC_SKIP@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
setne %dl
notb %bl
xorl %ecx, %ecx
testb %dl, %bl
jne LBB0_58
## %bb.59: ## in Loop: Header=BB0_51 Depth=1
movslq %r14d, %r14
movq 24(%rbp), %rax
leaq (%rax,%r14), %rdi
leaq -112(%rbp), %rsi
movl %r15d, %edx
callq _memcpy
addl %r15d, %r14d
movq (%r12,%r13), %rax
xorl %ecx, %ecx
xorl %edx, %edx
xorl %esi, %esi
movb $1, %r8b
jmp LBB0_60
.p2align 4, 0x90
LBB0_58: ## in Loop: Header=BB0_51 Depth=1
xorl %r8d, %r8d
xorl %esi, %esi
movq %r15, %rdx
LBB0_60: ## in Loop: Header=BB0_51 Depth=1
movl -240(%rbp), %r9d ## 4-byte Reload
LBB0_61: ## in Loop: Header=BB0_51 Depth=1
movq _ENC_V4@GOTPCREL(%rip), %rdi
movq (%rdi), %rdi
xorl %ebx, %ebx
cmpq %rdi, %rax
sete %bl
shll $31, %ebx
testb %r9b, %r9b
movl %ecx, %r15d
movl $1, %ecx
cmovel %ecx, %r15d
cmovnel %esi, %ebx
movq _ENC_V1@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_63
## %bb.62: ## in Loop: Header=BB0_51 Depth=1
leaq (%r12,%r13), %rcx
addq $8, %rcx
movslq %edx, %rax
incl %edx
jmp LBB0_65
.p2align 4, 0x90
LBB0_63: ## in Loop: Header=BB0_51 Depth=1
cmpq %rdi, %rax
jne LBB0_66
## %bb.64: ## in Loop: Header=BB0_51 Depth=1
movslq %edx, %rdx
movq 16(%r12,%r13), %rax
movzbl (%rax), %eax
movb %al, -112(%rbp,%rdx)
movq 16(%r12,%r13), %rax
movzbl 1(%rax), %eax
movb %al, -111(%rbp,%rdx)
movq 16(%r12,%r13), %rax
movzbl 2(%rax), %ecx
leaq 3(%rdx), %rax
movb %cl, -110(%rbp,%rdx)
movq 16(%r12,%r13), %rcx
addq $3, %rcx
addl $4, %edx
LBB0_65: ## in Loop: Header=BB0_51 Depth=1
movzbl (%rcx), %ecx
movb %cl, -112(%rbp,%rax)
LBB0_66: ## in Loop: Header=BB0_51 Depth=1
testb %r8b, %r8b
jne LBB0_68
## %bb.67: ## in Loop: Header=BB0_51 Depth=1
movslq %r14d, %r14
movq 24(%rbp), %rax
leaq (%rax,%r14), %rdi
leaq -112(%rbp), %rsi
movq %rdx, %r12
callq _memcpy
addl %r12d, %r14d
xorl %edx, %edx
jmp LBB0_68
LBB0_32:
movq _CHUNK_HEADER_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %r13d
movq -248(%rbp), %rcx ## 8-byte Reload
addl %ecx, %r13d
movl -228(%rbp), %r12d ## 4-byte Reload
testl %r12d, %r12d
movq 24(%rbp), %r15
jle LBB0_33
## %bb.34:
movl %r12d, %eax
movq %rax, -256(%rbp) ## 8-byte Spill
movl $16, %eax
movq %rax, -272(%rbp) ## 8-byte Spill
movq $0, -264(%rbp) ## 8-byte Folded Spill
xorl %ebx, %ebx
jmp LBB0_36
.p2align 4, 0x90
LBB0_35: ## in Loop: Header=BB0_36 Depth=1
addq $768, -264(%rbp) ## 8-byte Folded Spill
## imm = 0x300
addq $768, -272(%rbp) ## 8-byte Folded Spill
## imm = 0x300
movq -224(%rbp), %rbx ## 8-byte Reload
cmpq -256(%rbp), %rbx ## 8-byte Folded Reload
jae LBB0_47
LBB0_36: ## =>This Loop Header: Depth=1
## Child Loop BB0_38 Depth 2
## Child Loop BB0_43 Depth 2
movq %r13, -240(%rbp) ## 8-byte Spill
leaq 32(%rbx), %rdi
movq %rdi, -224(%rbp) ## 8-byte Spill
## kill: def $edi killed $edi killed $rdi
movl %r12d, %esi
callq _FFMIN
cltq
movl $0, %r14d
cmpq %rax, %rbx
jge LBB0_41
## %bb.37: ## in Loop: Header=BB0_36 Depth=1
xorl %r14d, %r14d
movl $31, %r12d
movl %ebx, %r15d
movq -264(%rbp), %r13 ## 8-byte Reload
jmp LBB0_38
.p2align 4, 0x90
LBB0_40: ## in Loop: Header=BB0_38 Depth=2
orl %eax, %r14d
movq -224(%rbp), %rdi ## 8-byte Reload
## kill: def $edi killed $edi killed $rdi
movl -228(%rbp), %esi ## 4-byte Reload
callq _FFMIN
decl %r12d
addq $24, %r13
incl %r15d
cmpl %r15d, %eax
jle LBB0_41
LBB0_38: ## Parent Loop BB0_36 Depth=1
## => This Inner Loop Header: Depth=2
movl $1, %eax
movl %r12d, %ecx
shll %cl, %eax
movq -216(%rbp), %rcx ## 8-byte Reload
movq 8(%rcx), %rcx
movq (%rcx,%r13), %rcx
movq _ENC_V4@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
je LBB0_40
## %bb.39: ## in Loop: Header=BB0_38 Depth=2
xorl %eax, %eax
jmp LBB0_40
.p2align 4, 0x90
LBB0_41: ## in Loop: Header=BB0_36 Depth=1
movq -240(%rbp), %r13 ## 8-byte Reload
movslq %r13d, %r13
movq 24(%rbp), %r15
leaq (%r15,%r13), %rdi
movl %r14d, %esi
callq _AV_WB32
addl $4, %r13d
movq -224(%rbp), %rdi ## 8-byte Reload
## kill: def $edi killed $edi killed $rdi
movl -228(%rbp), %r12d ## 4-byte Reload
movl %r12d, %esi
callq _FFMIN
cltq
cmpq %rax, %rbx
jge LBB0_35
## %bb.42: ## in Loop: Header=BB0_36 Depth=1
movq -272(%rbp), %r14 ## 8-byte Reload
jmp LBB0_43
.p2align 4, 0x90
LBB0_45: ## in Loop: Header=BB0_43 Depth=2
movzbl -8(%rcx,%r14), %ecx
leal 1(%rax), %r13d
movb %cl, (%r15,%rax)
LBB0_46: ## in Loop: Header=BB0_43 Depth=2
movq -224(%rbp), %rdi ## 8-byte Reload
## kill: def $edi killed $edi killed $rdi
movl %r12d, %esi
callq _FFMIN
addq $24, %r14
incl %ebx
cmpl %ebx, %eax
jle LBB0_35
LBB0_43: ## Parent Loop BB0_36 Depth=1
## => This Inner Loop Header: Depth=2
movq -216(%rbp), %rax ## 8-byte Reload
movq 8(%rax), %rcx
movq -16(%rcx,%r14), %rdx
movslq %r13d, %rax
movq _ENC_V1@GOTPCREL(%rip), %rsi
cmpq (%rsi), %rdx
je LBB0_45
## %bb.44: ## in Loop: Header=BB0_43 Depth=2
movq (%rcx,%r14), %rdx
movzbl (%rdx), %edx
movb %dl, (%r15,%rax)
movq (%rcx,%r14), %rdx
movzbl 1(%rdx), %edx
movb %dl, 1(%r15,%rax)
movq (%rcx,%r14), %rdx
movzbl 2(%rdx), %edx
movb %dl, 2(%r15,%rax)
movq (%rcx,%r14), %rcx
movzbl 3(%rcx), %ecx
leal 4(%rax), %r13d
movb %cl, 3(%r15,%rax)
jmp LBB0_46
LBB0_69:
testl %r15d, %r15d
jle LBB0_70
## %bb.71:
movslq %r14d, %r14
movq 24(%rbp), %r15
leaq (%r15,%r14), %rdi
movl %ebx, %esi
movq %rdx, %rbx
callq _AV_WB32
leaq (%r15,%r14), %rdi
addq $4, %rdi
leaq -112(%rbp), %rsi
movl %ebx, %edx
callq _memcpy
addl %ebx, %r14d
addl $4, %r14d
jmp LBB0_72
LBB0_47:
movq _CHUNK_HEADER_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq -248(%rbp), %rcx ## 8-byte Reload
addl %ecx, %eax
jmp LBB0_48
LBB0_33:
movl %r13d, %eax
LBB0_48:
movslq %ecx, %rcx
addq %rcx, %r15
movl %r13d, %edx
subl %eax, %edx
movq %r15, %rdi
movl $48, %esi
callq _write_chunk_header
movl %r13d, %r14d
jmp LBB0_74
LBB0_27:
movl %eax, %edx
andl $2147483646, %edx ## imm = 0x7FFFFFFE
leaq (%r14,%r15), %rsi
incq %rsi
xorl %edi, %edi
xorl %ecx, %ecx
movq -216(%rbp), %r9 ## 8-byte Reload
.p2align 4, 0x90
LBB0_28: ## =>This Inner Loop Header: Depth=1
movq 8(%r9), %r8
movzbl 8(%r8,%rdi), %r8d
movb %r8b, -1(%rsi,%rcx)
movq 8(%r9), %r8
movzbl 32(%r8,%rdi), %r8d
movb %r8b, (%rsi,%rcx)
addq $2, %rcx
addq $48, %rdi
cmpq %rcx, %rdx
jne LBB0_28
## %bb.29:
addq %rcx, %r14
testb $1, %al
je LBB0_74
LBB0_31:
movq -216(%rbp), %rax ## 8-byte Reload
movq 8(%rax), %rax
leaq (%rcx,%rcx,2), %rcx
movzbl 8(%rax,%rcx,8), %eax
movb %al, (%r15,%r14)
incq %r14
jmp LBB0_74
LBB0_70:
movq 24(%rbp), %r15
LBB0_72:
movq _CHUNK_HEADER_SIZE@GOTPCREL(%rip), %rdx
LBB0_73:
movq -248(%rbp), %rcx ## 8-byte Reload
movslq %ecx, %rax
addq %rax, %r15
addl (%rdx), %ecx
movl %r14d, %edx
subl %ecx, %edx
movq %r15, %rdi
movl $49, %esi
callq _write_chunk_header
## kill: def $r14d killed $r14d killed $r14 def $r14
LBB0_74:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_76
## %bb.75:
movl %r14d, %eax
addq $248, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_76:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _MB_AREA,4,2 ## @MB_AREA
.comm _ENC_SKIP,8,3 ## @ENC_SKIP
.comm _ENC_V1,8,3 ## @ENC_V1
.comm _MB_SIZE,8,3 ## @MB_SIZE
.comm _CHUNK_HEADER_SIZE,4,2 ## @CHUNK_HEADER_SIZE
.comm _ENC_V4,8,3 ## @ENC_V4
.no_dead_strip _encode_mode
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function encode_mode
_encode_mode: ; @encode_mode
.cfi_startproc
; %bb.0:
sub sp, sp, #336
stp x28, x27, [sp, #240] ; 16-byte Folded Spill
stp x26, x25, [sp, #256] ; 16-byte Folded Spill
stp x24, x23, [sp, #272] ; 16-byte Folded Spill
stp x22, x21, [sp, #288] ; 16-byte Folded Spill
stp x20, x19, [sp, #304] ; 16-byte Folded Spill
stp x29, x30, [sp, #320] ; 16-byte Folded Spill
add x29, sp, #320
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
str x7, [sp, #32] ; 8-byte Folded Spill
mov x23, x6
stp x4, x5, [sp, #48] ; 16-byte Folded Spill
mov x26, x3
mov x27, x2
str w1, [sp, #40] ; 4-byte Folded Spill
mov x21, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-96]
Lloh3:
adrp x8, _MB_AREA@GOTPAGE
Lloh4:
ldr x8, [x8, _MB_AREA@GOTPAGEOFF]
ldr w20, [x0]
Lloh5:
ldr w19, [x8]
movi.2d v0, #0000000000000000
stp q0, q0, [sp, #128]
stp q0, q0, [sp, #96]
stp xzr, xzr, [sp, #80]
stp xzr, xzr, [sp, #64]
ldr x2, [x6, #24]
cbz x2, LBB0_2
; %bb.1:
ldr w8, [x21, #16]
cbz w8, LBB0_3
LBB0_2:
mov w22, #0 ; =0x0
b LBB0_4
LBB0_3:
ldr w1, [x23, #32]
mov x0, x21
mov w3, #32 ; =0x20
mov w4, #36 ; =0x24
ldr x5, [sp, #32] ; 8-byte Folded Reload
bl _encode_codebook
mov x22, x0
LBB0_4:
ldr w8, [sp, #40] ; 4-byte Folded Reload
mul w20, w20, w8
ldr x2, [x23, #8]
cbz x2, LBB0_6
LBB0_5:
ldr w1, [x23, #16]
ldr x8, [sp, #32] ; 8-byte Folded Reload
add x5, x8, w22, sxtw
mov x0, x21
mov w3, #34 ; =0x22
mov w4, #38 ; =0x26
bl _encode_codebook
add w22, w22, w0
b LBB0_7
LBB0_6:
ldr w8, [x21, #16]
cbz w8, LBB0_5
LBB0_7:
str x22, [sp, #8] ; 8-byte Folded Spill
sdiv w8, w20, w19
str x8, [sp, #24] ; 8-byte Folded Spill
ldr w8, [sp, #40] ; 4-byte Folded Reload
cmp w8, #1
b.lt LBB0_22
; %bb.8:
mov w20, #0 ; =0x0
mov w19, #0 ; =0x0
ldr w8, [x21]
Lloh6:
adrp x24, _MB_SIZE@GOTPAGE
Lloh7:
ldr x24, [x24, _MB_SIZE@GOTPAGEOFF]
b LBB0_11
LBB0_9: ; in Loop: Header=BB0_11 Depth=1
ldr w9, [x24]
LBB0_10: ; in Loop: Header=BB0_11 Depth=1
add w19, w19, w9
ldr w9, [sp, #40] ; 4-byte Folded Reload
cmp w19, w9
b.ge LBB0_22
LBB0_11: ; =>This Loop Header: Depth=1
; Child Loop BB0_15 Depth 2
cmp w8, #0
b.le LBB0_9
; %bb.12: ; in Loop: Header=BB0_11 Depth=1
mov w28, #0 ; =0x0
mov w8, #24 ; =0x18
smull x22, w20, w8
b LBB0_15
LBB0_13: ; in Loop: Header=BB0_15 Depth=2
add x8, x25, x22
ldrb w3, [x8, #8]
add x1, sp, #128
add x2, sp, #80
mov x0, x21
mov x4, x23
bl _decode_v1_vector
LBB0_14: ; in Loop: Header=BB0_15 Depth=2
ldr w9, [x24]
ldr w8, [x21]
add x22, x22, #24
add w20, w20, #1
add w28, w28, w9
cmp w28, w8
b.ge LBB0_10
LBB0_15: ; Parent Loop BB0_11 Depth=1
; => This Inner Loop Header: Depth=2
ldr x25, [x21, #8]
add x5, sp, #128
add x6, sp, #80
mov x0, x21
mov x1, x28
mov x2, x19
mov x3, x27
mov x4, x26
bl _get_sub_picture
ldr w8, [x23]
cmp w8, #129
b.eq LBB0_13
; %bb.16: ; in Loop: Header=BB0_15 Depth=2
cmp w8, #130
b.ne LBB0_19
; %bb.17: ; in Loop: Header=BB0_15 Depth=2
ldr x8, [x25, x22]
Lloh8:
adrp x9, _ENC_SKIP@GOTPAGE
Lloh9:
ldr x9, [x9, _ENC_SKIP@GOTPAGEOFF]
Lloh10:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_20
; %bb.18: ; in Loop: Header=BB0_15 Depth=2
add x5, sp, #96
add x6, sp, #64
mov x0, x21
mov x1, x28
mov x2, x19
ldp x3, x4, [sp, #48] ; 16-byte Folded Reload
bl _get_sub_picture
add x1, sp, #128
add x2, sp, #80
add x3, sp, #96
add x4, sp, #64
mov x0, x21
bl _copy_mb
b LBB0_14
LBB0_19: ; in Loop: Header=BB0_15 Depth=2
ldr x8, [x25, x22]
LBB0_20: ; in Loop: Header=BB0_15 Depth=2
Lloh11:
adrp x9, _ENC_V1@GOTPAGE
Lloh12:
ldr x9, [x9, _ENC_V1@GOTPAGEOFF]
Lloh13:
ldr x9, [x9]
cmp x8, x9
b.eq LBB0_13
; %bb.21: ; in Loop: Header=BB0_15 Depth=2
add x8, x25, x22
ldr x3, [x8, #16]
add x1, sp, #128
add x2, sp, #80
mov x0, x21
mov x4, x23
bl _decode_v4_vector
b LBB0_14
LBB0_22:
ldr w8, [x23]
cmp w8, #128
b.eq LBB0_49
; %bb.23:
cmp w8, #130
ldr x24, [sp, #8] ; 8-byte Folded Reload
ldp x22, x20, [sp, #24] ; 16-byte Folded Reload
b.eq LBB0_28
; %bb.24:
cmp w8, #129
b.ne LBB0_70
; %bb.25:
add x0, x20, w24, sxtw
mov w1, #50 ; =0x32
mov x2, x22
bl _write_chunk_header
add w24, w0, w24
cmp w22, #1
b.lt LBB0_70
; %bb.26:
add x8, x20, w24, sxtw
add w24, w24, w22
mov w9, #8 ; =0x8
LBB0_27: ; =>This Inner Loop Header: Depth=1
ldr x10, [x21, #8]
ldrb w10, [x10, x9]
strb w10, [x8], #1
add x9, x9, #24
subs x22, x22, #1
b.ne LBB0_27
b LBB0_70
LBB0_28:
Lloh14:
adrp x9, _CHUNK_HEADER_SIZE@GOTPAGE
Lloh15:
ldr x9, [x9, _CHUNK_HEADER_SIZE@GOTPAGEOFF]
ldr w8, [x9]
add w25, w8, w24
cmp w22, #1
b.lt LBB0_66
; %bb.29:
mov x26, #0 ; =0x0
mov w19, #0 ; =0x0
mov w23, #0 ; =0x0
mov w24, #0 ; =0x0
mov w8, #24 ; =0x18
umull x22, w22, w8
Lloh16:
adrp x27, _ENC_V4@GOTPAGE
Lloh17:
ldr x27, [x27, _ENC_V4@GOTPAGEOFF]
str x22, [sp, #56] ; 8-byte Folded Spill
b LBB0_31
LBB0_30: ; in Loop: Header=BB0_31 Depth=1
add x26, x26, #24
cmp x22, x26
b.eq LBB0_63
LBB0_31: ; =>This Inner Loop Header: Depth=1
ldr x20, [x21, #8]
ldr x8, [x20, x26]
Lloh18:
adrp x9, _ENC_SKIP@GOTPAGE
Lloh19:
ldr x9, [x9, _ENC_SKIP@GOTPAGEOFF]
Lloh20:
ldr x10, [x9]
add w9, w24, #1
cmp x8, x10
cset w10, ne
mvn w11, w24
lsl w10, w10, w11
orr w1, w10, w19
b.eq LBB0_34
; %bb.32: ; in Loop: Header=BB0_31 Depth=1
cmp w24, #30
b.gt LBB0_38
; %bb.33: ; in Loop: Header=BB0_31 Depth=1
mov w28, #0 ; =0x0
ldr x9, [x27]
cmp x8, x9
cset w10, eq
add w9, w24, #2
mov w11, #30 ; =0x1e
sub w11, w11, w24
lsl w10, w10, w11
orr w1, w10, w1
b LBB0_35
LBB0_34: ; in Loop: Header=BB0_31 Depth=1
mov w28, #0 ; =0x0
LBB0_35: ; in Loop: Header=BB0_31 Depth=1
mov w19, #1 ; =0x1
cmp w9, #32
b.ne LBB0_39
LBB0_36: ; in Loop: Header=BB0_31 Depth=1
mov x22, x27
; kill: def $w25 killed $w25 killed $x25 def $x25
sxtw x24, w25
ldr x27, [sp, #32] ; 8-byte Folded Reload
add x0, x27, x24
bl _AV_WB32
add x25, x24, #4
ldr x8, [x20, x26]
Lloh21:
adrp x9, _ENC_SKIP@GOTPAGE
Lloh22:
ldr x9, [x9, _ENC_SKIP@GOTPAGEOFF]
Lloh23:
ldr x9, [x9]
cmp x8, x9
cset w9, ne
bic w9, w9, w28
tbnz w9, #0, LBB0_40
; %bb.37: ; in Loop: Header=BB0_31 Depth=1
add x0, x27, x25
add x1, sp, #160
mov x2, x23
bl _memcpy
mov w9, #0 ; =0x0
mov w1, #0 ; =0x0
add w25, w25, w23
ldr x8, [x20, x26]
mov w10, #1 ; =0x1
mov w23, #0 ; =0x0
b LBB0_41
LBB0_38: ; in Loop: Header=BB0_31 Depth=1
mov w19, #0 ; =0x0
mov w28, #1 ; =0x1
cmp w9, #32
b.eq LBB0_36
LBB0_39: ; in Loop: Header=BB0_31 Depth=1
mov w10, #1 ; =0x1
b LBB0_42
LBB0_40: ; in Loop: Header=BB0_31 Depth=1
mov w9, #0 ; =0x0
mov w10, #0 ; =0x0
mov w1, #0 ; =0x0
LBB0_41: ; in Loop: Header=BB0_31 Depth=1
mov x27, x22
ldr x22, [sp, #56] ; 8-byte Folded Reload
LBB0_42: ; in Loop: Header=BB0_31 Depth=1
ldr x11, [x27]
cmp x8, x11
cset w12, eq
lsl w12, w12, #31
cmp w19, #0
csel w19, w1, w12, ne
csinc w24, w9, wzr, ne
Lloh24:
adrp x9, _ENC_V1@GOTPAGE
Lloh25:
ldr x9, [x9, _ENC_V1@GOTPAGEOFF]
Lloh26:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_44
; %bb.43: ; in Loop: Header=BB0_31 Depth=1
add x8, x20, x26
add x9, x8, #8
sxtw x8, w23
add w11, w23, #1
mov x23, x11
b LBB0_46
LBB0_44: ; in Loop: Header=BB0_31 Depth=1
cmp x8, x11
b.ne LBB0_47
; %bb.45: ; in Loop: Header=BB0_31 Depth=1
add x9, x20, x26
mov x8, x23
sxtw x8, w8
ldr x11, [x9, #16]
ldrb w11, [x11]
add x12, sp, #160
add x12, x12, x8
strb w11, [x12]
ldr x11, [x9, #16]
ldrb w11, [x11, #1]
strb w11, [x12, #1]
ldr x11, [x9, #16]
ldrb w11, [x11, #2]
add x8, x8, #3
strb w11, [x12, #2]
ldr x9, [x9, #16]
add x9, x9, #3
add w23, w23, #4
LBB0_46: ; in Loop: Header=BB0_31 Depth=1
ldrb w9, [x9]
add x11, sp, #160
strb w9, [x11, x8]
LBB0_47: ; in Loop: Header=BB0_31 Depth=1
ldr x20, [sp, #32] ; 8-byte Folded Reload
tbnz w10, #0, LBB0_30
; %bb.48: ; in Loop: Header=BB0_31 Depth=1
add x0, x20, w25, sxtw
add x1, sp, #160
mov x2, x23
bl _memcpy
add w25, w23, w25
mov w23, #0 ; =0x0
b LBB0_30
LBB0_49:
Lloh27:
adrp x8, _CHUNK_HEADER_SIZE@GOTPAGE
Lloh28:
ldr x8, [x8, _CHUNK_HEADER_SIZE@GOTPAGEOFF]
Lloh29:
ldr w8, [x8]
ldr x9, [sp, #8] ; 8-byte Folded Reload
add w24, w8, w9
ldp x23, x20, [sp, #24] ; 16-byte Folded Reload
cmp w23, #1
b.lt LBB0_68
; %bb.50:
mov x25, #0 ; =0x0
mov x19, #0 ; =0x0
add x27, x20, #1
add x9, x20, #2
add x8, x20, #3
stp x8, x9, [sp, #48] ; 16-byte Folded Spill
str x27, [sp, #16] ; 8-byte Folded Spill
b LBB0_53
LBB0_51: ; in Loop: Header=BB0_53 Depth=1
ldr x25, [sp, #40] ; 8-byte Folded Reload
LBB0_52: ; in Loop: Header=BB0_53 Depth=1
add x25, x25, #768
mov x19, x26
cmp x26, x23
b.hs LBB0_67
LBB0_53: ; =>This Loop Header: Depth=1
; Child Loop BB0_55 Depth 2
; Child Loop BB0_61 Depth 2
add x26, x19, #32
mov x0, x26
mov x1, x23
bl _FFMIN
cmp x19, w0, sxtw
str x25, [sp, #40] ; 8-byte Folded Spill
mov w23, #0 ; =0x0
b.ge LBB0_56
; %bb.54: ; in Loop: Header=BB0_53 Depth=1
mov w22, #31 ; =0x1f
mov x20, x19
ldr x27, [sp, #24] ; 8-byte Folded Reload
Lloh30:
adrp x28, _ENC_V4@GOTPAGE
Lloh31:
ldr x28, [x28, _ENC_V4@GOTPAGEOFF]
LBB0_55: ; Parent Loop BB0_53 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [x21, #8]
ldr x8, [x8, x25]
ldr x9, [x28]
mov w10, #1 ; =0x1
lsl w10, w10, w22
cmp x8, x9
csel w8, w10, wzr, eq
orr w23, w8, w23
mov x0, x26
mov x1, x27
bl _FFMIN
sub w22, w22, #1
add x25, x25, #24
add w20, w20, #1
cmp w0, w20
b.gt LBB0_55
b LBB0_57
LBB0_56: ; in Loop: Header=BB0_53 Depth=1
ldr x27, [sp, #24] ; 8-byte Folded Reload
LBB0_57: ; in Loop: Header=BB0_53 Depth=1
ldr x20, [sp, #32] ; 8-byte Folded Reload
add x0, x20, w24, sxtw
mov x1, x23
bl _AV_WB32
add w24, w24, #4
mov x0, x26
mov x1, x27
bl _FFMIN
cmp x19, w0, sxtw
mov x23, x27
Lloh32:
adrp x28, _ENC_V1@GOTPAGE
Lloh33:
ldr x28, [x28, _ENC_V1@GOTPAGEOFF]
b.ge LBB0_51
; %bb.58: ; in Loop: Header=BB0_53 Depth=1
ldr x25, [sp, #40] ; 8-byte Folded Reload
mov x22, x25
ldr x27, [sp, #16] ; 8-byte Folded Reload
b LBB0_61
LBB0_59: ; in Loop: Header=BB0_61 Depth=2
ldrb w8, [x8, #8]
strb w8, [x20, w24, sxtw]
add w8, w24, #1
LBB0_60: ; in Loop: Header=BB0_61 Depth=2
mov x24, x8
mov x0, x26
mov x1, x23
bl _FFMIN
add x22, x22, #24
add w19, w19, #1
cmp w0, w19
b.le LBB0_52
LBB0_61: ; Parent Loop BB0_53 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [x21, #8]
ldr x9, [x8, x22]
ldr x10, [x28]
add x8, x8, x22
cmp x9, x10
b.eq LBB0_59
; %bb.62: ; in Loop: Header=BB0_61 Depth=2
ldr x9, [x8, #16]
ldrb w9, [x9]
strb w9, [x20, w24, sxtw]
ldr x9, [x8, #16]
ldrb w9, [x9, #1]
strb w9, [x27, w24, sxtw]
ldr x9, [x8, #16]
ldrb w9, [x9, #2]
ldr x10, [sp, #56] ; 8-byte Folded Reload
strb w9, [x10, w24, sxtw]
ldr x8, [x8, #16]
ldrb w8, [x8, #3]
ldr x9, [sp, #48] ; 8-byte Folded Reload
strb w8, [x9, w24, sxtw]
add w8, w24, #4
b LBB0_60
LBB0_63:
cmp w24, #1
b.lt LBB0_65
; %bb.64:
; kill: def $w25 killed $w25 killed $x25 def $x25
sxtw x20, w25
ldr x8, [sp, #32] ; 8-byte Folded Reload
add x0, x8, x20
mov x1, x19
bl _AV_WB32
add x19, x20, #4
ldr x20, [sp, #32] ; 8-byte Folded Reload
add x0, x20, x19
add x1, sp, #160
mov x2, x23
bl _memcpy
add w25, w19, w23
LBB0_65:
ldr x24, [sp, #8] ; 8-byte Folded Reload
Lloh34:
adrp x9, _CHUNK_HEADER_SIZE@GOTPAGE
Lloh35:
ldr x9, [x9, _CHUNK_HEADER_SIZE@GOTPAGEOFF]
LBB0_66:
add x0, x20, w24, sxtw
ldr w8, [x9]
add w8, w24, w8
sub w2, w25, w8
mov w1, #49 ; =0x31
bl _write_chunk_header
mov x24, x25
b LBB0_70
LBB0_67:
Lloh36:
adrp x8, _CHUNK_HEADER_SIZE@GOTPAGE
Lloh37:
ldr x8, [x8, _CHUNK_HEADER_SIZE@GOTPAGEOFF]
Lloh38:
ldr w8, [x8]
ldr x9, [sp, #8] ; 8-byte Folded Reload
add w8, w9, w8
b LBB0_69
LBB0_68:
mov x8, x24
ldr x9, [sp, #8] ; 8-byte Folded Reload
LBB0_69:
add x0, x20, w9, sxtw
sub w2, w24, w8
mov w1, #48 ; =0x30
bl _write_chunk_header
; kill: def $w24 killed $w24 killed $x24 def $x24
LBB0_70:
ldur x8, [x29, #-96]
Lloh39:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh40:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh41:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_72
; %bb.71:
mov x0, x24
ldp x29, x30, [sp, #320] ; 16-byte Folded Reload
ldp x20, x19, [sp, #304] ; 16-byte Folded Reload
ldp x22, x21, [sp, #288] ; 16-byte Folded Reload
ldp x24, x23, [sp, #272] ; 16-byte Folded Reload
ldp x26, x25, [sp, #256] ; 16-byte Folded Reload
ldp x28, x27, [sp, #240] ; 16-byte Folded Reload
add sp, sp, #336
ret
LBB0_72:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpLdrGot Lloh30, Lloh31
.loh AdrpLdrGot Lloh32, Lloh33
.loh AdrpLdrGot Lloh34, Lloh35
.loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38
.loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41
.cfi_endproc
; -- End function
.comm _MB_AREA,4,2 ; @MB_AREA
.comm _ENC_SKIP,8,3 ; @ENC_SKIP
.comm _ENC_V1,8,3 ; @ENC_V1
.comm _MB_SIZE,8,3 ; @MB_SIZE
.comm _CHUNK_HEADER_SIZE,4,2 ; @CHUNK_HEADER_SIZE
.comm _ENC_V4,8,3 ; @ENC_V4
.no_dead_strip _encode_mode
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function decode_drc_channel_exclusions
_decode_drc_channel_exclusions: ## @decode_drc_channel_exclusions
.cfi_startproc
## %bb.0:
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
xorl %r15d, %r15d
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
callq _get_bits1
movq (%r14), %rcx
movq %rax, (%rcx,%r15)
addq $8, %r15
jmp LBB0_1
.cfi_endproc
## -- End function
.comm _MAX_CHANNELS,4,2 ## @MAX_CHANNELS
.no_dead_strip _decode_drc_channel_exclusions
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function decode_drc_channel_exclusions
_decode_drc_channel_exclusions: ; @decode_drc_channel_exclusions
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
mov x21, #0 ; =0x0
LBB0_1: ; =>This Inner Loop Header: Depth=1
mov x0, x19
bl _get_bits1
ldr x8, [x20]
str x0, [x8, x21]
add x21, x21, #8
b LBB0_1
.cfi_endproc
; -- End function
.comm _MAX_CHANNELS,4,2 ; @MAX_CHANNELS
.no_dead_strip _decode_drc_channel_exclusions
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _util_replace_whitespace ## -- Begin function util_replace_whitespace
.p2align 4, 0x90
_util_replace_whitespace: ## @util_replace_whitespace
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r15
callq _assert
movq %rbx, -48(%rbp) ## 8-byte Spill
movq %rbx, %rdi
callq _assert
movq _WHITESPACE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r15, %rdi
callq _strspn
movq %rax, %r12
xorl %ebx, %ebx
xorl %r13d, %r13d
jmp LBB0_1
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
movq -48(%rbp), %rcx ## 8-byte Reload
LBB0_10: ## in Loop: Header=BB0_1 Depth=1
movzbl (%r15,%r12), %eax
movb %al, (%rcx,%r13)
incq %r13
xorl %ecx, %ecx
LBB0_11: ## in Loop: Header=BB0_1 Depth=1
incq %r12
movl %ecx, %ebx
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpq %r14, %r13
jae LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movzbl (%r15,%r12), %eax
jmp LBB0_5
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
cmpq %r14, %r12
jae LBB0_12
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
movzbl (%r15,%r12), %eax
testb %al, %al
je LBB0_12
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movsbl %al, %edi
callq _isspace
movl $1, %ecx
testq %rax, %rax
jne LBB0_11
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
testl %ebx, %ebx
je LBB0_7
## %bb.8: ## in Loop: Header=BB0_1 Depth=1
leaq -1(%r13), %rax
cmpq %r14, %rax
jae LBB0_11
## %bb.9: ## in Loop: Header=BB0_1 Depth=1
movq -48(%rbp), %rcx ## 8-byte Reload
movb $95, (%rcx,%r13)
incq %r13
jmp LBB0_10
LBB0_12:
movq -48(%rbp), %rax ## 8-byte Reload
movb $0, (%rax,%r13)
movq %r13, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _WHITESPACE,4,2 ## @WHITESPACE
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _util_replace_whitespace ; -- Begin function util_replace_whitespace
.p2align 2
_util_replace_whitespace: ; @util_replace_whitespace
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x20, x2
mov x19, x1
mov x21, x0
bl _assert
mov x0, x19
bl _assert
Lloh0:
adrp x8, _WHITESPACE@GOTPAGE
Lloh1:
ldr x8, [x8, _WHITESPACE@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov x0, x21
bl _strspn
mov x22, x0
mov w25, #0 ; =0x0
mov x23, #0 ; =0x0
mov w24, #95 ; =0x5f
b LBB0_2
LBB0_1: ; in Loop: Header=BB0_2 Depth=1
mov w25, #1 ; =0x1
add x22, x22, #1
LBB0_2: ; =>This Inner Loop Header: Depth=1
cmp x23, x20
b.hs LBB0_4
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
ldrb w8, [x21, x22]
b LBB0_6
LBB0_4: ; in Loop: Header=BB0_2 Depth=1
cmp x22, x20
b.hs LBB0_12
; %bb.5: ; in Loop: Header=BB0_2 Depth=1
ldrb w8, [x21, x22]
cbz w8, LBB0_12
LBB0_6: ; in Loop: Header=BB0_2 Depth=1
sxtb w0, w8
bl _isspace
cbnz x0, LBB0_1
; %bb.7: ; in Loop: Header=BB0_2 Depth=1
cbz w25, LBB0_10
; %bb.8: ; in Loop: Header=BB0_2 Depth=1
sub x8, x23, #1
cmp x8, x20
b.hs LBB0_11
; %bb.9: ; in Loop: Header=BB0_2 Depth=1
strb w24, [x19, x23]
add x23, x23, #1
LBB0_10: ; in Loop: Header=BB0_2 Depth=1
mov w25, #0 ; =0x0
ldrb w8, [x21, x22]
strb w8, [x19, x23]
add x23, x23, #1
add x22, x22, #1
b LBB0_2
LBB0_11: ; in Loop: Header=BB0_2 Depth=1
mov w25, #1 ; =0x1
add x22, x22, #1
b LBB0_2
LBB0_12:
strb wzr, [x19, x23]
mov x0, x23
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _WHITESPACE,4,2 ; @WHITESPACE
.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
xorl %r9d, %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
incq %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)
sarl %r14d
addq $8, %rbx
incl %eax
incq %r10
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 w12, [x9]
tbnz w12, #31, LBB0_6
; %bb.1:
mov x8, x0
mov x9, #0 ; =0x0
mov w10, #0 ; =0x0
mov w0, #0 ; =0x0
ldr x8, [x8]
Lloh3:
adrp x11, _BITS_PER_BITMAPWORD@GOTPAGE
Lloh4:
ldr x11, [x11, _BITS_PER_BITMAPWORD@GOTPAGEOFF]
Lloh5:
ldr w11, [x11]
add x12, x12, #1
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x9, x9, #1
add w10, w10, w11
cmp x9, x12
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, w10
add x14, x14, #1
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
asr w16, w13, #1
add w0, w0, #1
add x14, x14, #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
.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
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
testq %rdi, %rdi
je LBB0_12
## %bb.1:
movq %rdi, %r14
movl $64, %edi
callq _malloc
xorl %edx, %edx
testq %rax, %rax
je LBB0_15
## %bb.2:
movq %rax, %rcx
movl $8, %r15d
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_4 Depth 2
movq %rcx, %rax
leaq -1(%r14), %r12
.p2align 4, 0x90
LBB0_4: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movzbl 1(%r12), %ecx
testl %ecx, %ecx
je LBB0_10
## %bb.5: ## in Loop: Header=BB0_4 Depth=2
cmpl $32, %ecx
je LBB0_7
## %bb.6: ## in Loop: Header=BB0_4 Depth=2
decq %r12
jmp LBB0_4
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_3 Depth=1
movb $0, 1(%r12)
movl %edx, %ecx
incl %edx
movq %r14, (%rax,%rcx,8)
movq %rax, %rcx
movq %r12, %r14
cmpl %r15d, %edx
jne LBB0_3
## %bb.8: ## in Loop: Header=BB0_3 Depth=1
leal (%r15,%r15), %r13d
movl %r15d, %esi
shll $4, %esi
movq %rax, %rdi
movq %rax, %r14
callq _realloc
movq %rax, %rcx
movq %r14, %rdi
movl %r15d, %edx
movl %r13d, %r15d
movq %r12, %r14
testq %rax, %rax
jne LBB0_3
## %bb.9:
callq _free
jmp LBB0_15
LBB0_10:
movl %edx, %ecx
movq %r14, (%rax,%rcx,8)
testq %rbx, %rbx
je LBB0_16
## %bb.11:
incl %edx
movl %edx, (%rbx)
jmp LBB0_16
LBB0_12:
testq %rbx, %rbx
je LBB0_15
## %bb.13:
movl $0, (%rbx)
LBB0_15:
xorl %eax, %eax
LBB0_16:
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 _strsplit_by_space ; -- Begin function strsplit_by_space
.p2align 2
_strsplit_by_space: ; @strsplit_by_space
.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
cbz x0, LBB0_11
; %bb.1:
mov x20, x0
mov w0, #64 ; =0x40
bl _malloc
cbz x0, LBB0_13
; %bb.2:
mov x8, x0
mov w9, #0 ; =0x0
mov w21, #8 ; =0x8
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_4 Depth 2
mov x0, x8
sub x22, x20, #1
ldrb w8, [x22, #1]
cbz w8, LBB0_9
LBB0_4: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
cmp w8, #32
b.eq LBB0_6
; %bb.5: ; in Loop: Header=BB0_4 Depth=2
sub x22, x22, #1
ldrb w8, [x22, #1]
cbnz w8, LBB0_4
b LBB0_9
LBB0_6: ; in Loop: Header=BB0_3 Depth=1
strb wzr, [x22, #1]
str x20, [x0, w9, uxtw #3]
add w10, w9, #1
mov x8, x0
mov x9, x10
mov x20, x22
cmp w10, w21
b.ne LBB0_3
; %bb.7: ; in Loop: Header=BB0_3 Depth=1
lsl w23, w21, #1
lsl w1, w21, #4
mov x20, x0
bl _realloc
mov x8, x0
mov x0, x20
mov x9, x21
mov x21, x23
mov x20, x22
cbnz x8, LBB0_3
; %bb.8:
bl _free
mov x0, #0 ; =0x0
b LBB0_13
LBB0_9:
str x20, [x0, w9, uxtw #3]
cbz x19, LBB0_13
; %bb.10:
add w8, w9, #1
str w8, [x19]
b LBB0_13
LBB0_11:
mov x0, #0 ; =0x0
cbz x19, LBB0_13
; %bb.12:
str wzr, [x19]
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 ecp_precompute_comb
_ecp_precompute_comb: ## @ecp_precompute_comb
.cfi_startproc
## %bb.0:
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 %r8, %r13
movl %ecx, %ebx
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, -56(%rbp) ## 8-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _COMB_MAX_PRE@GOTPCREL(%rip), %rax
movl (%rax), %eax
decl %eax
shlq $3, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r14
movq %r12, -80(%rbp) ## 8-byte Spill
movq %r12, %rdi
movq %r15, %rsi
callq _mbedtls_ecp_copy
movl %eax, %edi
callq _MBEDTLS_MPI_CHK
movq -56(%rbp), %rdi ## 8-byte Reload
decl %ebx
movl $1, %r12d
movl $1, %eax
movl %ebx, %ecx
shll %cl, %eax
movl %eax, -60(%rbp) ## 4-byte Spill
movl %ebx, -72(%rbp) ## 4-byte Spill
testl %ebx, %ebx
movq %r14, -96(%rbp) ## 8-byte Spill
je LBB0_13
## %bb.1:
xorl %ecx, %ecx
movq -56(%rbp), %r14 ## 8-byte Reload
.p2align 4, 0x90
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
movq %rcx, -88(%rbp) ## 8-byte Spill
movl %r12d, %eax
movq -80(%rbp), %rcx ## 8-byte Reload
leaq (%rcx,%rax,4), %r15
movl %r12d, %eax
shrl %eax
leaq (%rcx,%rax,4), %rsi
movq %r15, %rdi
callq _mbedtls_ecp_copy
movl %eax, %edi
callq _MBEDTLS_MPI_CHK
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_3: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movq %r14, %rdi
movq %r15, %rsi
movq %r15, %rdx
callq _ecp_double_jac
movl %eax, %edi
callq _MBEDTLS_MPI_CHK
incq %rbx
cmpq %r13, %rbx
jbe LBB0_3
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movq -88(%rbp), %rcx ## 8-byte Reload
movzbl %cl, %eax
incb %cl
movq -96(%rbp), %rsi ## 8-byte Reload
movq %r15, (%rsi,%rax,8)
addl %r12d, %r12d
movzbl %r12b, %r12d
cmpl -60(%rbp), %r12d ## 4-byte Folded Reload
jb LBB0_2
## %bb.5:
movzbl %cl, %edx
movq -56(%rbp), %rdi ## 8-byte Reload
callq _ecp_normalize_jac_many
movl %eax, %edi
callq _MBEDTLS_MPI_CHK
cmpl $0, -72(%rbp) ## 4-byte Folded Reload
je LBB0_6
## %bb.7:
movq -80(%rbp), %rax ## 8-byte Reload
addq $-4, %rax
movq %rax, -104(%rbp) ## 8-byte Spill
movb $1, %al
xorl %r14d, %r14d
jmp LBB0_8
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_8 Depth=1
movl %r14d, %ebx
LBB0_12: ## in Loop: Header=BB0_8 Depth=1
movq -72(%rbp), %rax ## 8-byte Reload
addl %eax, %eax
movzbl %al, %ecx
movl %ebx, %r14d
cmpl %ecx, -60(%rbp) ## 4-byte Folded Reload
jbe LBB0_14
LBB0_8: ## =>This Loop Header: Depth=1
## Child Loop BB0_11 Depth 2
movzbl %al, %r13d
testb %r13b, %r13b
movq %r13, -72(%rbp) ## 8-byte Spill
je LBB0_9
## %bb.10: ## in Loop: Header=BB0_8 Depth=1
leal (,%r13,4), %r12d
movq -80(%rbp), %rax ## 8-byte Reload
addq %r12, %rax
movq %rax, -88(%rbp) ## 8-byte Spill
movq -104(%rbp), %rax ## 8-byte Reload
addq %rax, %r12
leaq (%rax,%r13,8), %r15
.p2align 4, 0x90
LBB0_11: ## Parent Loop BB0_8 Depth=1
## => This Inner Loop Header: Depth=2
movq -56(%rbp), %rdi ## 8-byte Reload
movq %r15, %rsi
movq %r12, %rdx
movq -88(%rbp), %rcx ## 8-byte Reload
callq _ecp_add_mixed
movl %eax, %edi
callq _MBEDTLS_MPI_CHK
leal 1(%r14), %ebx
addq $-4, %r12
movzbl %r14b, %eax
movq -96(%rbp), %rcx ## 8-byte Reload
movq %r15, (%rcx,%rax,8)
addq $-4, %r15
movl %ebx, %r14d
decq %r13
jne LBB0_11
jmp LBB0_12
LBB0_13:
xorl %ebx, %ebx
movq %r14, %rsi
xorl %edx, %edx
callq _ecp_normalize_jac_many
movl %eax, %edi
callq _MBEDTLS_MPI_CHK
jmp LBB0_14
LBB0_6:
xorl %ebx, %ebx
LBB0_14:
movzbl %bl, %edx
movq -56(%rbp), %rdi ## 8-byte Reload
movq -96(%rbp), %rsi ## 8-byte Reload
callq _ecp_normalize_jac_many
movl %eax, %edi
callq _MBEDTLS_MPI_CHK
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_16
## %bb.15:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_16:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _COMB_MAX_PRE,4,2 ## @COMB_MAX_PRE
.no_dead_strip _ecp_precompute_comb
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function ecp_precompute_comb
_ecp_precompute_comb: ; @ecp_precompute_comb
.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 x22, x4
mov x23, x3
mov x21, x1
mov x19, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
Lloh3:
adrp x9, _COMB_MAX_PRE@GOTPAGE
Lloh4:
ldr x9, [x9, _COMB_MAX_PRE@GOTPAGEOFF]
stur x8, [x29, #-88]
Lloh5:
ldr w8, [x9]
sub w8, w8, #1
ubfiz x9, x8, #3, #32
add x8, x9, #15
and x8, x8, #0xffffffff0
Lloh6:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh7:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
sub x20, x9, x8
mov sp, x20
mov x0, x1
mov x1, x2
bl _mbedtls_ecp_copy
bl _MBEDTLS_MPI_CHK
subs w25, w23, #1
b.eq LBB0_12
; %bb.1:
mov w26, #0 ; =0x0
mov w8, #1 ; =0x1
lsl w24, w8, w25
mov w27, #1 ; =0x1
LBB0_2: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
add x23, x21, w27, uxtw #2
lsr w8, w27, #1
add x1, x21, w8, uxtw #2
mov x0, x23
bl _mbedtls_ecp_copy
bl _MBEDTLS_MPI_CHK
mov x28, #0 ; =0x0
LBB0_3: ; Parent Loop BB0_2 Depth=1
; => This Inner Loop Header: Depth=2
mov x0, x19
mov x1, x23
mov x2, x23
bl _ecp_double_jac
bl _MBEDTLS_MPI_CHK
add x28, x28, #1
cmp x28, x22
b.ls LBB0_3
; %bb.4: ; in Loop: Header=BB0_2 Depth=1
add w8, w26, #1
and x9, x26, #0xff
str x23, [x20, x9, lsl #3]
ubfiz w27, w27, #1, #7
mov x26, x8
cmp w27, w24
b.lo LBB0_2
; %bb.5:
and w2, w8, #0xff
mov x0, x19
mov x1, x20
bl _ecp_normalize_jac_many
bl _MBEDTLS_MPI_CHK
cbz w25, LBB0_13
; %bb.6:
mov w26, #0 ; =0x0
sub x8, x21, #4
stur x8, [x29, #-96] ; 8-byte Folded Spill
mov w9, #1 ; =0x1
b LBB0_9
LBB0_7: ; in Loop: Header=BB0_9 Depth=1
mov x8, x26
LBB0_8: ; in Loop: Header=BB0_9 Depth=1
lsl w9, w25, #1
and w10, w9, #0xfe
mov x26, x8
cmp w24, w10
b.ls LBB0_14
LBB0_9: ; =>This Loop Header: Depth=1
; Child Loop BB0_11 Depth 2
and x25, x9, #0xff
tst w9, #0xff
b.eq LBB0_7
; %bb.10: ; in Loop: Header=BB0_9 Depth=1
lsl x28, x25, #2
ldur x8, [x29, #-96] ; 8-byte Folded Reload
add x22, x8, x28
add x23, x8, x25, lsl #3
mov x27, x25
LBB0_11: ; Parent Loop BB0_9 Depth=1
; => This Inner Loop Header: Depth=2
sub x27, x27, #1
add x3, x21, x28
mov x0, x19
mov x1, x23
mov x2, x22
bl _ecp_add_mixed
bl _MBEDTLS_MPI_CHK
add w8, w26, #1
and x9, x26, #0xff
str x23, [x20, x9, lsl #3]
sub x22, x22, #4
sub x23, x23, #4
mov x26, x8
cbnz x27, LBB0_11
b LBB0_8
LBB0_12:
mov x0, x19
mov x1, x20
mov w2, #0 ; =0x0
bl _ecp_normalize_jac_many
bl _MBEDTLS_MPI_CHK
LBB0_13:
mov w8, #0 ; =0x0
LBB0_14:
and w2, w8, #0xff
mov x0, x19
mov x1, x20
bl _ecp_normalize_jac_many
bl _MBEDTLS_MPI_CHK
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_16
; %bb.15:
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_16:
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 _COMB_MAX_PRE,4,2 ; @COMB_MAX_PRE
.no_dead_strip _ecp_precompute_comb
.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 %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r14
movq $0, -48(%rbp)
xorl %r15d, %r15d
leaq -48(%rbp), %rsi
xorl %edi, %edi
movl $24, %edx
callq _GetRawInputDeviceList
cmpq $-1, %rax
je LBB0_6
## %bb.1:
movq -48(%rbp), %rax
shlq $3, %rax
leaq (%rax,%rax,2), %rdi
callq _malloc
testq %rax, %rax
je LBB0_7
## %bb.2:
movq %rax, %r15
leaq -48(%rbp), %rsi
movq %rax, %rdi
movl $24, %edx
callq _GetRawInputDeviceList
movq %rax, -48(%rbp)
cmpq $-1, %rax
je LBB0_6
## %bb.3:
testq %rax, %rax
js LBB0_10
## %bb.4:
movq %rbx, -56(%rbp) ## 8-byte Spill
movq _RIM_TYPEMOUSE@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
leaq 1(%rax), %rsi
movl %esi, %edx
andl $3, %edx
cmpq $3, %rax
jae LBB0_11
## %bb.5:
xorl %ebx, %ebx
xorl %edi, %edi
jmp LBB0_13
LBB0_6:
xorl %r12d, %r12d
xorl %eax, %eax
callq _GetLastError
leaq L_.str(%rip), %rdi
movl %eax, %esi
callq _RARCH_ERR
jmp LBB0_8
LBB0_7:
xorl %r12d, %r12d
xorl %r15d, %r15d
LBB0_8:
movq %r15, %rdi
callq _free
movq %r12, %rdi
callq _free
xorl %r12d, %r12d
xorl %r13d, %r13d
xorl %eax, %eax
LBB0_9:
movq %r12, (%r14)
movl %r13d, (%rbx)
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_10:
xorl %r12d, %r12d
xorl %r13d, %r13d
jmp LBB0_35
LBB0_11:
andq $-4, %rsi
xorl %ebx, %ebx
movq %r15, %r8
xorl %edi, %edi
.p2align 4, 0x90
LBB0_12: ## =>This Inner Loop Header: Depth=1
xorl %r9d, %r9d
cmpq %rcx, (%r8)
sete %r9b
addl %ebx, %r9d
xorl %r10d, %r10d
cmpq %rcx, 24(%r8)
sete %r10b
xorl %r11d, %r11d
cmpq %rcx, 48(%r8)
sete %r11b
addl %r10d, %r11d
addl %r9d, %r11d
xorl %ebx, %ebx
cmpq %rcx, 72(%r8)
sete %bl
addl %r11d, %ebx
addq $4, %rdi
addq $96, %r8
cmpq %rdi, %rsi
jne LBB0_12
LBB0_13:
testq %rdx, %rdx
je LBB0_16
## %bb.14:
leaq (%rdi,%rdi,2), %rsi
leaq (%r15,%rsi,8), %rsi
shll $3, %edx
leaq (%rdx,%rdx,2), %rdx
xorl %edi, %edi
.p2align 4, 0x90
LBB0_15: ## =>This Inner Loop Header: Depth=1
xorl %r8d, %r8d
cmpq %rcx, (%rsi,%rdi)
sete %r8b
addl %r8d, %ebx
addq $24, %rdi
cmpq %rdi, %rdx
jne LBB0_15
LBB0_16:
xorl %r13d, %r13d
testl %ebx, %ebx
je LBB0_21
## %bb.17:
leal (,%rbx,8), %eax
leal (%rax,%rax,2), %esi
movl $1, %edi
callq _calloc
testq %rax, %rax
je LBB0_22
## %bb.18:
movq %rax, %r12
leaq -64(%rbp), %rdi
callq _GetCursorPos
testl %eax, %eax
je LBB0_23
## %bb.19:
movl %ebx, %ecx
movsd -64(%rbp), %xmm0 ## xmm0 = mem[0],zero
movl %ecx, %eax
andl $3, %eax
cmpl $4, %ebx
jae LBB0_24
## %bb.20:
xorl %edx, %edx
jmp LBB0_26
LBB0_21:
xorl %r12d, %r12d
movq -56(%rbp), %rbx ## 8-byte Reload
testq %rax, %rax
jg LBB0_30
jmp LBB0_35
LBB0_22:
xorl %r12d, %r12d
LBB0_23:
movq -56(%rbp), %rbx ## 8-byte Reload
jmp LBB0_8
LBB0_24:
andl $-4, %ecx
leaq 16(%r12), %rsi
xorl %edx, %edx
.p2align 4, 0x90
LBB0_25: ## =>This Inner Loop Header: Depth=1
movlps %xmm0, (%rsi)
movlps %xmm0, 24(%rsi)
movlps %xmm0, 48(%rsi)
movlps %xmm0, 72(%rsi)
addq $4, %rdx
addq $96, %rsi
cmpq %rdx, %rcx
jne LBB0_25
LBB0_26:
testq %rax, %rax
movq -56(%rbp), %rbx ## 8-byte Reload
je LBB0_29
## %bb.27:
leaq (%rdx,%rdx,2), %rcx
leaq (%r12,%rcx,8), %rcx
addq $16, %rcx
shll $3, %eax
leaq (%rax,%rax,2), %rax
xorl %edx, %edx
.p2align 4, 0x90
LBB0_28: ## =>This Inner Loop Header: Depth=1
movlps %xmm0, (%rcx,%rdx)
addq $24, %rdx
cmpq %rdx, %rax
jne LBB0_28
LBB0_29:
movq -48(%rbp), %rax
testq %rax, %rax
jle LBB0_35
LBB0_30:
movq _RIM_TYPEMOUSE@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq $1, %rax
jne LBB0_36
## %bb.31:
xorl %r13d, %r13d
xorl %edx, %edx
LBB0_32:
testb $1, %al
je LBB0_35
## %bb.33:
leaq (%rdx,%rdx,2), %rax
cmpq %rcx, (%r15,%rax,8)
jne LBB0_35
## %bb.34:
leaq (%r15,%rax,8), %rax
movl 8(%rax), %eax
movl %r13d, %ecx
incl %r13d
leaq (%rcx,%rcx,2), %rcx
movl %eax, 12(%r12,%rcx,8)
LBB0_35:
movq %r12, %rdi
movl %r13d, %esi
callq _winraw_log_mice_info
movq %r15, %rdi
callq _free
movl $1, %eax
jmp LBB0_9
LBB0_36:
movabsq $9223372036854775806, %rsi ## imm = 0x7FFFFFFFFFFFFFFE
andq %rax, %rsi
leaq 32(%r15), %rdi
xorl %r13d, %r13d
xorl %edx, %edx
jmp LBB0_38
.p2align 4, 0x90
LBB0_37: ## in Loop: Header=BB0_38 Depth=1
addq $2, %rdx
addq $48, %rdi
cmpq %rdx, %rsi
je LBB0_32
LBB0_38: ## =>This Inner Loop Header: Depth=1
cmpq %rcx, -32(%rdi)
jne LBB0_40
## %bb.39: ## in Loop: Header=BB0_38 Depth=1
movl -24(%rdi), %r8d
movl %r13d, %r9d
incl %r13d
leaq (%r9,%r9,2), %r9
movl %r8d, 12(%r12,%r9,8)
LBB0_40: ## in Loop: Header=BB0_38 Depth=1
cmpq %rcx, -8(%rdi)
jne LBB0_37
## %bb.41: ## in Loop: Header=BB0_38 Depth=1
movl (%rdi), %r8d
movl %r13d, %r9d
incl %r13d
leaq (%r9,%r9,2), %r9
movl %r8d, 12(%r12,%r9,8)
jmp LBB0_37
.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, #128
stp d13, d12, [sp, #16] ; 16-byte Folded Spill
stp d11, d10, [sp, #32] ; 16-byte Folded Spill
stp d9, d8, [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 b8, -72
.cfi_offset b9, -80
.cfi_offset b10, -88
.cfi_offset b11, -96
.cfi_offset b12, -104
.cfi_offset b13, -112
mov x19, x1
mov x20, x0
str xzr, [sp]
mov x1, sp
mov x0, #0 ; =0x0
mov w2, #24 ; =0x18
bl _GetRawInputDeviceList
cmn x0, #1
b.eq LBB0_6
; %bb.1:
ldr x8, [sp]
add x8, x8, x8, lsl #1
lsl x0, x8, #3
bl _malloc
mov x21, x0
cbz x0, LBB0_8
; %bb.2:
mov x1, sp
mov x0, x21
mov w2, #24 ; =0x18
bl _GetRawInputDeviceList
str x0, [sp]
cmn x0, #1
b.eq LBB0_7
; %bb.3:
tbnz x0, #63, LBB0_11
; %bb.4:
Lloh0:
adrp x24, _RIM_TYPEMOUSE@GOTPAGE
Lloh1:
ldr x24, [x24, _RIM_TYPEMOUSE@GOTPAGEOFF]
ldr x8, [x24]
cmp x0, #16
b.hs LBB0_14
; %bb.5:
mov w23, #0 ; =0x0
mov x9, #0 ; =0x0
b LBB0_17
LBB0_6:
mov x21, #0 ; =0x0
LBB0_7:
bl _GetLastError
mov x1, x0
Lloh2:
adrp x0, l_.str@PAGE
Lloh3:
add x0, x0, l_.str@PAGEOFF
bl _RARCH_ERR
LBB0_8:
mov x22, #0 ; =0x0
LBB0_9:
mov x0, x21
bl _free
mov x0, x22
bl _free
mov x22, #0 ; =0x0
mov w23, #0 ; =0x0
mov w0, #0 ; =0x0
LBB0_10:
str x22, [x20]
str w23, [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 d9, d8, [sp, #48] ; 16-byte Folded Reload
ldp d11, d10, [sp, #32] ; 16-byte Folded Reload
ldp d13, d12, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #128
ret
LBB0_11:
mov x22, #0 ; =0x0
LBB0_12:
mov w23, #0 ; =0x0
LBB0_13:
mov x0, x22
mov x1, x23
bl _winraw_log_mice_info
mov x0, x21
bl _free
mov w0, #1 ; =0x1
b LBB0_10
LBB0_14:
add x9, x0, #1
ands x10, x9, #0xf
mov w11, #16 ; =0x10
csel x10, x11, x10, eq
sub x9, x9, x10
dup.2d v1, x8
movi.2d v0, #0000000000000000
mov x10, x9
mov x11, x21
movi.2d v2, #0000000000000000
movi.2d v3, #0000000000000000
movi.2d v4, #0000000000000000
LBB0_15: ; =>This Inner Loop Header: Depth=1
add x12, x11, #96
mov x13, x11
ld3.2d { v5, v6, v7 }, [x13], #48
ld3.2d { v16, v17, v18 }, [x13]
ld3.2d { v19, v20, v21 }, [x12]
add x12, x11, #192
add x13, x11, #144
ld3.2d { v22, v23, v24 }, [x13]
ld3.2d { v25, v26, v27 }, [x12]
add x12, x11, #240
ld3.2d { v28, v29, v30 }, [x12]
add x12, x11, #288
ld3.2d { v8, v9, v10 }, [x12], #48
ld3.2d { v11, v12, v13 }, [x12]
cmeq.2d v5, v5, v1
cmeq.2d v6, v16, v1
uzp1.4s v5, v5, v6
cmeq.2d v6, v22, v1
cmeq.2d v7, v19, v1
uzp1.4s v6, v7, v6
cmeq.2d v7, v28, v1
cmeq.2d v16, v25, v1
uzp1.4s v7, v16, v7
cmeq.2d v16, v8, v1
cmeq.2d v17, v11, v1
uzp1.4s v16, v16, v17
sub.4s v0, v0, v5
sub.4s v2, v2, v6
sub.4s v3, v3, v7
sub.4s v4, v4, v16
add x11, x11, #384
subs x10, x10, #16
b.ne LBB0_15
; %bb.16:
add.4s v0, v2, v0
add.4s v1, v4, v3
add.4s v0, v1, v0
addv.4s s0, v0
fmov w23, s0
LBB0_17:
sub x10, x0, x9
add x10, x10, #1
add x9, x9, x9, lsl #1
lsl x9, x9, #3
LBB0_18: ; =>This Inner Loop Header: Depth=1
ldr x11, [x21, x9]
cmp x11, x8
cinc w23, w23, eq
add x9, x9, #24
subs x10, x10, #1
b.ne LBB0_18
; %bb.19:
cbz w23, LBB0_24
; %bb.20:
add w8, w23, w23, lsl #1
lsl w1, w8, #3
mov w0, #1 ; =0x1
bl _calloc
mov x22, x0
cbz x0, LBB0_9
; %bb.21:
add x0, sp, #8
bl _GetCursorPos
cbz w0, LBB0_9
; %bb.22:
ldp w9, w8, [sp, #8]
cmp w23, #4
b.hs LBB0_25
; %bb.23:
mov x10, #0 ; =0x0
b LBB0_28
LBB0_24:
mov x22, #0 ; =0x0
cmp x0, #1
b.ge LBB0_31
b LBB0_12
LBB0_25:
and x10, x23, #0xfffffffc
add x11, x22, #64
mov x12, x10
LBB0_26: ; =>This Inner Loop Header: Depth=1
stp w9, w8, [x11, #-48]
stp w9, w8, [x11, #-24]
stp w9, w8, [x11]
stp w9, w8, [x11, #24]
add x11, x11, #96
subs x12, x12, #4
b.ne LBB0_26
; %bb.27:
cmp x10, x23
b.eq LBB0_30
LBB0_28:
sub x11, x23, x10
mov w12, #24 ; =0x18
umaddl x10, w10, w12, x22
add x10, x10, #20
LBB0_29: ; =>This Inner Loop Header: Depth=1
stp w9, w8, [x10, #-4]
add x10, x10, #24
subs x11, x11, #1
b.ne LBB0_29
LBB0_30:
ldr x0, [sp]
cmp x0, #1
b.lt LBB0_12
LBB0_31:
mov w23, #0 ; =0x0
ldr x8, [x24]
add x9, x21, #8
mov w10, #24 ; =0x18
b LBB0_33
LBB0_32: ; in Loop: Header=BB0_33 Depth=1
add x9, x9, #24
subs x0, x0, #1
b.eq LBB0_13
LBB0_33: ; =>This Inner Loop Header: Depth=1
ldur x11, [x9, #-8]
cmp x11, x8
b.ne LBB0_32
; %bb.34: ; in Loop: Header=BB0_33 Depth=1
ldr w11, [x9]
umaddl x12, w23, w10, x22
add w23, w23, #1
str w11, [x12, #12]
b LBB0_32
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.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 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
movq _XHI_CMD_DESYNCH@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -36(%rbp)
movq _XHI_NOOP_PACKET@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -32(%rbp)
movl %eax, -28(%rbp)
movq (%rbx), %rax
leaq -32(%rbp), %rsi
movq %rbx, %rdi
movl $2, %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
Lloh3:
adrp x8, _XHI_CMD_DESYNCH@GOTPAGE
Lloh4:
ldr x8, [x8, _XHI_CMD_DESYNCH@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
Lloh6:
adrp x9, _XHI_NOOP_PACKET@GOTPAGE
Lloh7:
ldr x9, [x9, _XHI_NOOP_PACKET@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
stp w8, w9, [sp, #4]
str w9, [sp, #12]
ldr x8, [x19]
ldr x8, [x8]
add x1, sp, #8
mov x0, x19
mov w2, #2 ; =0x2
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
.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 $72, %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 %rdi, %r12
movq _FLOAT_BYTES@GOTPCREL(%rip), %r15
movl (%r15), %ecx
movl %ecx, %eax
imull %esi, %eax
movq %rax, -80(%rbp) ## 8-byte Spill
decl %eax
movl %eax, -68(%rbp) ## 4-byte Spill
movl $1, -44(%rbp)
testl %esi, %esi
movl %esi, -84(%rbp) ## 4-byte Spill
js LBB0_1
## %bb.2:
movl %esi, %eax
movq %rax, -104(%rbp) ## 8-byte Spill
movq _BITS_PER_BYTE@GOTPCREL(%rip), %rax
movl (%rax), %esi
xorl %ebx, %ebx
xorl %eax, %eax
movl $0, -48(%rbp) ## 4-byte Folded Spill
movl $0, -52(%rbp) ## 4-byte Folded Spill
movq %r12, -96(%rbp) ## 8-byte Spill
jmp LBB0_3
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_3 Depth=1
movl %r14d, -52(%rbp) ## 4-byte Spill
movl %r13d, -48(%rbp) ## 4-byte Spill
LBB0_12: ## in Loop: Header=BB0_3 Depth=1
decq %rbx
cmpq -104(%rbp), %rbx ## 8-byte Folded Reload
movl -88(%rbp), %eax ## 4-byte Reload
jg LBB0_13
LBB0_3: ## =>This Inner Loop Header: Depth=1
movl (%r12,%rbx,4), %edx
movl %edx, %r13d
xorl %eax, %r13d
movl %edx, -88(%rbp) ## 4-byte Spill
cmpl %eax, %edx
jne LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movl %esi, %eax
imull %ecx, %eax
jmp LBB0_5
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_3 Depth=1
movl %r13d, %edi
callq _BUILDIN_CTZ
movl %eax, %r14d
movl %r13d, %edi
callq _BUILDIN_CLZ
movl (%r15), %ecx
movq _BITS_PER_BYTE@GOTPCREL(%rip), %rdx
movl (%rdx), %esi
cmpl %eax, %r14d
jle LBB0_5
## %bb.7: ## in Loop: Header=BB0_3 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
testb $1, %bl
je LBB0_9
jmp LBB0_10
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_3 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_9
LBB0_10: ## in Loop: Header=BB0_3 Depth=1
movl $3, %edi
callq _INT8MASK
movl %eax, %r12d
movl -52(%rbp), %r15d ## 4-byte Reload
orl %r15d, %r12d
movl $3, %edi
callq _INT8MASK
## kill: def $eax killed $eax def $rax
andl %r14d, %eax
addl %r12d, %eax
movslq -44(%rbp), %rcx
addl %ecx, %eax
addl $3, %eax
cmpl -80(%rbp), %eax ## 4-byte Folded Reload
jge LBB0_18
## %bb.11: ## in Loop: Header=BB0_3 Depth=1
leal 1(%rcx), %eax
movl %r14d, %edx
shll $4, %edx
orl %r15d, %edx
movl %eax, -44(%rbp)
movq -64(%rbp), %r12 ## 8-byte Reload
movb %dl, (%r12,%rcx)
movl -48(%rbp), %edi ## 4-byte Reload
movl %r15d, %esi
movq %r12, %rdx
leaq -44(%rbp), %r15
movq %r15, %rcx
callq _encodeFloatValue
movl %r13d, %edi
movl %r14d, %esi
movq %r12, %rdx
movq %r15, %rcx
callq _encodeFloatValue
movq _FLOAT_BYTES@GOTPCREL(%rip), %r15
movl (%r15), %ecx
movq _BITS_PER_BYTE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq -96(%rbp), %r12 ## 8-byte Reload
jmp LBB0_12
LBB0_1:
movl $0, -52(%rbp) ## 4-byte Folded Spill
movl $0, -48(%rbp) ## 4-byte Folded Spill
LBB0_13:
testb $1, -84(%rbp) ## 1-byte Folded Reload
je LBB0_16
## %bb.14:
movl $3, %edi
callq _INT8MASK
## kill: def $eax killed $eax def $rax
movl -52(%rbp), %esi ## 4-byte Reload
andl %esi, %eax
movslq -44(%rbp), %rcx
addl %ecx, %eax
addl $2, %eax
movl -68(%rbp), %ebx ## 4-byte Reload
cmpl %ebx, %eax
jge LBB0_19
## %bb.15:
leal 1(%rcx), %eax
movl %eax, -44(%rbp)
movq -64(%rbp), %rbx ## 8-byte Reload
movb %sil, (%rbx,%rcx)
leaq -44(%rbp), %r14
movl -48(%rbp), %edi ## 4-byte Reload
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 -64(%rbp), %rax ## 8-byte Reload
movb $0, (%rax)
movl -44(%rbp), %ebx
jmp LBB0_17
LBB0_18:
movq -64(%rbp), %rdi ## 8-byte Reload
movb $1, (%rdi)
incq %rdi
movq -80(%rbp), %rdx ## 8-byte Reload
addl $-2, %edx
movq -96(%rbp), %rsi ## 8-byte Reload
## kill: def $edx killed $edx killed $rdx
callq _memcpy
movl -68(%rbp), %ebx ## 4-byte Reload
jmp LBB0_17
LBB0_19:
movq -64(%rbp), %rdi ## 8-byte Reload
movb $1, (%rdi)
incq %rdi
movq -80(%rbp), %rdx ## 8-byte Reload
addl $-2, %edx
movq %r12, %rsi
## kill: def $edx killed $edx killed $rdx
callq _memcpy
LBB0_17:
movl %ebx, %eax
addq $72, %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, #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, x2
mov x23, x0
Lloh0:
adrp x27, _FLOAT_BYTES@GOTPAGE
Lloh1:
ldr x27, [x27, _FLOAT_BYTES@GOTPAGEOFF]
ldr w8, [x27]
mul w9, w8, w1
stp w1, w9, [sp, #16] ; 8-byte Folded Spill
sub w9, w9, #1
str w9, [sp, #12] ; 4-byte Folded Spill
mov w9, #1 ; =0x1
str w9, [sp, #28]
tbnz w1, #31, LBB0_11
; %bb.1:
mov x20, #0 ; =0x0
mov w10, #0 ; =0x0
str wzr, [sp, #24] ; 4-byte Folded Spill
mov w22, #0 ; =0x0
mov w24, w1
Lloh2:
adrp x9, _BITS_PER_BYTE@GOTPAGE
Lloh3:
ldr x9, [x9, _BITS_PER_BYTE@GOTPAGEOFF]
Lloh4:
ldr w9, [x9]
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
mov x22, x26
str w25, [sp, #24] ; 4-byte Folded Spill
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
sub x20, x20, #1
mov x10, x28
cmp x20, x24
b.gt LBB0_12
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr w28, [x23, x20, lsl #2]
eor w25, w28, w10
cmp w28, 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]
Lloh5:
adrp x9, _BITS_PER_BYTE@GOTPAGE
Lloh6:
ldr x9, [x9, _BITS_PER_BYTE@GOTPAGEOFF]
Lloh7:
ldr w9, [x9]
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 w20, #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 w20, #0, LBB0_2
LBB0_9: ; in Loop: Header=BB0_4 Depth=1
mov x21, x27
mov w0, #3 ; =0x3
bl _INT8MASK
orr w27, w0, w22
mov w0, #3 ; =0x3
bl _INT8MASK
and w10, w0, w26
ldrsw x8, [sp, #28]
add w9, w8, #1
add w11, w27, w9
add w10, w11, w10
add w10, w10, #2
ldr w11, [sp, #20] ; 4-byte Folded Reload
cmp w10, w11
b.ge LBB0_16
; %bb.10: ; in Loop: Header=BB0_4 Depth=1
orr w10, w22, w26, lsl #4
str w9, [sp, #28]
strb w10, [x19, x8]
add x3, sp, #28
ldr w0, [sp, #24] ; 4-byte Folded Reload
mov x1, x22
mov x2, x19
bl _encodeFloatValue
add x3, sp, #28
mov x0, x25
mov x1, x26
mov x2, x19
bl _encodeFloatValue
mov x27, x21
ldr w8, [x21]
Lloh8:
adrp x9, _BITS_PER_BYTE@GOTPAGE
Lloh9:
ldr x9, [x9, _BITS_PER_BYTE@GOTPAGEOFF]
Lloh10:
ldr w9, [x9]
b LBB0_3
LBB0_11:
mov w22, #0 ; =0x0
str wzr, [sp, #24] ; 4-byte Folded Spill
LBB0_12:
ldr w8, [sp, #16] ; 4-byte Folded Reload
tbz w8, #0, LBB0_15
; %bb.13:
mov w0, #3 ; =0x3
bl _INT8MASK
and w10, w0, w22
ldrsw x8, [sp, #28]
add w9, w8, #1
add w10, w10, w9
add w10, w10, #1
ldr w11, [sp, #12] ; 4-byte Folded Reload
cmp w10, w11
b.ge LBB0_17
; %bb.14:
str w9, [sp, #28]
strb w22, [x19, x8]
add x3, sp, #28
ldr w0, [sp, #24] ; 4-byte Folded Reload
mov x1, x22
mov x2, x19
bl _encodeFloatValue
add x3, sp, #28
mov w0, #0 ; =0x0
mov w1, #0 ; =0x0
mov x2, x19
bl _encodeFloatValue
LBB0_15:
strb wzr, [x19]
ldr w0, [sp, #28]
b LBB0_18
LBB0_16:
mov w8, #1 ; =0x1
strb w8, [x19], #1
ldr w8, [sp, #20] ; 4-byte Folded Reload
sub w2, w8, #2
mov x0, x19
mov x1, x23
bl _memcpy
ldr w0, [sp, #12] ; 4-byte Folded Reload
b LBB0_18
LBB0_17:
mov w8, #1 ; =0x1
strb w8, [x19], #1
ldr w8, [sp, #20] ; 4-byte Folded Reload
sub w2, w8, #2
mov x20, x11
mov x0, x19
mov x1, x23
bl _memcpy
mov x0, x20
LBB0_18:
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
ldp x28, x27, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #128
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.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 _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 (%rax,%rdi,8), %rbx
subq -40(%rbp), %rbx
callq _PUSH_BANK
movq (%r14), %rdi
movq %rbx, %rsi
callq _strcat
movl $1, %edi
xorl %eax, %eax
movq _script_variables@GOTPCREL(%rip), %rcx
movq _text_lines@GOTPCREL(%rip), %rdx
jmp LBB0_1
.p2align 4, 0x90
LBB0_19: ## in Loop: Header=BB0_1 Depth=1
movq (%rdx), %rsi
movslq %eax, %r8
movb %r9b, (%rsi,%r8)
LBB0_20: ## in Loop: Header=BB0_1 Depth=1
incl %eax
leal -1(%rdi), %esi
cmpl $82, %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), %r9
cmpq $36, %r9
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), %rdi
imulq $100, %rdi, %rdi
movsbq 2(%r8,%rsi), %r8
leaq (%r8,%r8,4), %r8
addq %rdi, %r9
leaq (%r9,%r8,2), %rdi
addq $-5328, %rdi ## imm = 0xEB30
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movq (%rcx), %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 (%rdx), %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 (%rdx), %rbx
addq %rax, %rbx
movb %r11b, (%r10,%rbx)
movzbl -1(%r8), %r11d
movq (%rdx), %rbx
addq %rax, %rbx
movb %r11b, 1(%r10,%rbx)
movzbl -2(%r8), %r11d
movq (%rdx), %rbx
addq %rax, %rbx
movb %r11b, 2(%r10,%rbx)
movzbl -3(%r8), %r11d
movq (%rdx), %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 (%rdx), %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: ## in Loop: Header=BB0_1 Depth=1
movq (%rdx), %rsi
movslq %eax, %r8
movb $36, (%rsi,%r8)
jmp LBB0_20
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), %edi
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 %edi, %edi
callq _UISetPos
xorl %edi, %edi
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
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, x9, [sp, #16]
ldr x8, [x8, x0, lsl #3]
sub x19, x8, x9
bl _PUSH_BANK
ldr x0, [x20]
mov x1, x19
bl _strcat
mov w0, #0 ; =0x0
mov w8, #1 ; =0x1
mov w9, #10 ; =0xa
Lloh13:
adrp x10, _script_variables@GOTPAGE
Lloh14:
ldr x10, [x10, _script_variables@GOTPAGEOFF]
Lloh15:
adrp x11, _text_lines@GOTPAGE
Lloh16:
ldr x11, [x11, _text_lines@GOTPAGEOFF]
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
mov w17, #36 ; =0x24
b LBB0_3
LBB0_1: ; in Loop: Header=BB0_3 Depth=1
ldr x1, [x11]
strb w4, [x1, w0, sxtw]
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add w0, w0, #1
sub w1, w8, #1
cmp w8, #82
mov x8, x1
b.ge LBB0_19
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_10 Depth 2
; Child Loop BB0_13 Depth 2
ldr x3, [x20]
sxtw x1, w8
add x2, x3, x1
ldrb w4, [x2]
cmp w4, #36
b.ne LBB0_1
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
add x1, x1, #3
ldrsb x3, [x3, x1]
cmp x3, #36
b.ne LBB0_6
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
ldrsb x3, [x2, #1]
ldrsb x2, [x2, #2]
smaddl x2, w3, w9, x2
sub x2, x2, #528
b LBB0_8
LBB0_6: ; in Loop: Header=BB0_3 Depth=1
ldrb w4, [x2, #4]
cmp w4, #36
b.ne LBB0_18
; %bb.7: ; in Loop: Header=BB0_3 Depth=1
ldrsb x4, [x2, #1]
ldrsb x2, [x2, #2]
smaddl x3, w4, w15, x3
smaddl x2, w2, w9, x3
add x2, x2, x16
LBB0_8: ; in Loop: Header=BB0_3 Depth=1
ldr x3, [x10]
ldr w3, [x3, x2, lsl #2]
cbz w3, LBB0_16
; %bb.9: ; in Loop: Header=BB0_3 Depth=1
mov x4, #0 ; =0x0
LBB0_10: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
smull x5, w3, w13
lsr x6, x5, #63
asr x5, x5, #34
add w6, w5, w6
msub w5, w6, w9, w3
add w7, w5, #48
add x5, x4, #1
strb w7, [x14, x4]
add w7, w3, #9
mov x4, x5
mov x3, x6
cmp w7, #19
b.hs LBB0_10
; %bb.11: ; in Loop: Header=BB0_3 Depth=1
cmp x5, #256
b.eq LBB0_15
; %bb.12: ; in Loop: Header=BB0_3 Depth=1
sub x3, x5, #1
sxtw x0, w0
LBB0_13: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w4, [x14, x3]
ldr x5, [x11]
strb w4, [x5, x0]
add x0, x0, #1
sub x3, x3, #1
cmp x3, #255
b.ne LBB0_13
; %bb.14: ; in Loop: Header=BB0_3 Depth=1
; kill: def $w0 killed $w0 killed $x0 def $x0
LBB0_15: ; in Loop: Header=BB0_3 Depth=1
sub w0, w0, #1
b LBB0_17
LBB0_16: ; in Loop: Header=BB0_3 Depth=1
ldr x3, [x11]
strb w12, [x3, w0, sxtw]
LBB0_17: ; in Loop: Header=BB0_3 Depth=1
add w8, w8, #4
cmp x2, #99
csel w8, w8, w1, hi
b LBB0_2
LBB0_18: ; in Loop: Header=BB0_3 Depth=1
ldr x1, [x11]
strb w17, [x1, w0, sxtw]
b LBB0_2
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
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ## -- Begin function shm_decode_mode
LCPI0_0:
.byte 119 ## 0x77
.byte 120 ## 0x78
.byte 114 ## 0x72
.byte 119 ## 0x77
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
LCPI0_1:
.byte 45 ## 0x2d
.byte 45 ## 0x2d
.byte 45 ## 0x2d
.byte 45 ## 0x2d
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
LCPI0_2:
.byte 119 ## 0x77
.byte 120 ## 0x78
.byte 114 ## 0x72
.byte 119 ## 0x77
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_shm_decode_mode: ## @shm_decode_mode
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _S_IRUSR@GOTPCREL(%rip), %rax
testl %edi, (%rax)
movl $45, %eax
movl $114, %edx
movl $114, %ecx
cmovel %eax, %ecx
movb %cl, (%rsi)
movq _S_IWUSR@GOTPCREL(%rip), %rcx
testl %edi, (%rcx)
movl $119, %ecx
cmovel %eax, %ecx
movb %cl, 1(%rsi)
movq _S_IXUSR@GOTPCREL(%rip), %rcx
testl %edi, (%rcx)
movl $120, %ecx
movl $120, %r8d
cmovel %eax, %r8d
movb %r8b, 2(%rsi)
movq _S_IRGRP@GOTPCREL(%rip), %r8
testl %edi, (%r8)
cmovel %eax, %edx
movb %dl, 3(%rsi)
movq _S_IWGRP@GOTPCREL(%rip), %rdx
movq _S_IXGRP@GOTPCREL(%rip), %r8
movq _S_IROTH@GOTPCREL(%rip), %r9
movq _S_IWOTH@GOTPCREL(%rip), %r10
movd (%rdx), %xmm0 ## xmm0 = mem[0],zero,zero,zero
pinsrd $1, (%r8), %xmm0
pinsrd $2, (%r9), %xmm0
pinsrd $3, (%r10), %xmm0
movd %edi, %xmm1
pshufd $0, %xmm1, %xmm1 ## xmm1 = xmm1[0,0,0,0]
pand %xmm0, %xmm1
pxor %xmm0, %xmm0
pcmpeqd %xmm1, %xmm0
packssdw %xmm0, %xmm0
packsswb %xmm0, %xmm0
movd LCPI0_2(%rip), %xmm1 ## xmm1 = [119,120,114,119,0,0,0,0,0,0,0,0,0,0,0,0]
pblendvb %xmm0, LCPI0_1(%rip), %xmm1
movd %xmm1, 4(%rsi)
movq _S_IXOTH@GOTPCREL(%rip), %rdx
testl %edi, (%rdx)
cmovel %eax, %ecx
movb %cl, 8(%rsi)
movb $0, 9(%rsi)
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _S_IRUSR,4,2 ## @S_IRUSR
.comm _S_IWUSR,4,2 ## @S_IWUSR
.comm _S_IXUSR,4,2 ## @S_IXUSR
.comm _S_IRGRP,4,2 ## @S_IRGRP
.comm _S_IWGRP,4,2 ## @S_IWGRP
.comm _S_IXGRP,4,2 ## @S_IXGRP
.comm _S_IROTH,4,2 ## @S_IROTH
.comm _S_IWOTH,4,2 ## @S_IWOTH
.comm _S_IXOTH,4,2 ## @S_IXOTH
.no_dead_strip _shm_decode_mode
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function shm_decode_mode
_shm_decode_mode: ; @shm_decode_mode
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _S_IRUSR@GOTPAGE
Lloh1:
ldr x8, [x8, _S_IRUSR@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
tst w8, w0
mov w8, #114 ; =0x72
mov w9, #45 ; =0x2d
csel w10, w9, w8, eq
strb w10, [x1]
Lloh3:
adrp x10, _S_IWUSR@GOTPAGE
Lloh4:
ldr x10, [x10, _S_IWUSR@GOTPAGEOFF]
Lloh5:
ldr w10, [x10]
tst w10, w0
mov w10, #119 ; =0x77
csel w11, w9, w10, eq
strb w11, [x1, #1]
Lloh6:
adrp x11, _S_IXUSR@GOTPAGE
Lloh7:
ldr x11, [x11, _S_IXUSR@GOTPAGEOFF]
Lloh8:
ldr w11, [x11]
tst w11, w0
mov w11, #120 ; =0x78
csel w12, w9, w11, eq
Lloh9:
adrp x13, _S_IRGRP@GOTPAGE
Lloh10:
ldr x13, [x13, _S_IRGRP@GOTPAGEOFF]
strb w12, [x1, #2]
Lloh11:
ldr w12, [x13]
tst w12, w0
csel w12, w9, w8, eq
Lloh12:
adrp x13, _S_IWGRP@GOTPAGE
Lloh13:
ldr x13, [x13, _S_IWGRP@GOTPAGEOFF]
strb w12, [x1, #3]
Lloh14:
ldr w12, [x13]
tst w12, w0
csel w12, w9, w10, eq
Lloh15:
adrp x13, _S_IXGRP@GOTPAGE
Lloh16:
ldr x13, [x13, _S_IXGRP@GOTPAGEOFF]
strb w12, [x1, #4]
Lloh17:
ldr w12, [x13]
tst w12, w0
csel w12, w9, w11, eq
Lloh18:
adrp x13, _S_IROTH@GOTPAGE
Lloh19:
ldr x13, [x13, _S_IROTH@GOTPAGEOFF]
strb w12, [x1, #5]
Lloh20:
ldr w12, [x13]
tst w12, w0
csel w8, w9, w8, eq
Lloh21:
adrp x12, _S_IWOTH@GOTPAGE
Lloh22:
ldr x12, [x12, _S_IWOTH@GOTPAGEOFF]
strb w8, [x1, #6]
Lloh23:
ldr w8, [x12]
tst w8, w0
csel w8, w9, w10, eq
Lloh24:
adrp x10, _S_IXOTH@GOTPAGE
Lloh25:
ldr x10, [x10, _S_IXOTH@GOTPAGEOFF]
strb w8, [x1, #7]
Lloh26:
ldr w8, [x10]
tst w8, w0
csel w8, w9, w11, eq
strb w8, [x1, #8]
strb wzr, [x1, #9]
ret
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _S_IRUSR,4,2 ; @S_IRUSR
.comm _S_IWUSR,4,2 ; @S_IWUSR
.comm _S_IXUSR,4,2 ; @S_IXUSR
.comm _S_IRGRP,4,2 ; @S_IRGRP
.comm _S_IWGRP,4,2 ; @S_IWGRP
.comm _S_IXGRP,4,2 ; @S_IXGRP
.comm _S_IROTH,4,2 ; @S_IROTH
.comm _S_IWOTH,4,2 ; @S_IWOTH
.comm _S_IXOTH,4,2 ; @S_IXOTH
.no_dead_strip _shm_decode_mode
.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 16(%rbx), %rsi
movq _TUL_SCnt0@GOTPCREL(%rip), %rax
subq (%rax), %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
negq %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
testl %edx, (%rax)
je LBB0_15
## %bb.12:
movl $0, 12(%rcx)
jmp LBB0_13
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
jmp LBB0_27
LBB0_15:
movq %rbx, %rdi
callq _initio_msgin_sync
testq %rax, %rax
je LBB0_16
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
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_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
LBB0_16:
movq 24(%rbx), %rax
movq _TCF_SYNC_DONE@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
testl %ecx, (%rax)
je LBB0_13
## %bb.17:
movq %rbx, %rdi
callq _initio_sync_done
LBB0_24:
movq %rbx, %rdi
callq _initio_msgin_accept
movq %rax, %r14
jmp LBB0_2
.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_22
; %bb.1:
ldr x8, [x19, #16]
Lloh2:
adrp x23, _TUL_SCnt0@GOTPAGE
Lloh3:
ldr x23, [x23, _TUL_SCnt0@GOTPAGEOFF]
ldr x9, [x23]
sub x1, x8, x9
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_11
; %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_22
; %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_11
; %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
adds x25, x25, #1
b.lo LBB0_4
LBB0_7:
ldp w9, w10, [x8]
cmp w10, #1
b.ne LBB0_12
; %bb.8:
cmp w9, #3
b.ne LBB0_13
; %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]
tst w10, w9
b.eq LBB0_18
; %bb.10:
str wzr, [x8, #12]
b LBB0_19
LBB0_11:
mov w0, #-1 ; =0xffffffff
b LBB0_23
LBB0_12:
cmp w10, #3
ccmp w9, #2, #0, eq
b.eq LBB0_14
LBB0_13:
mov x0, x19
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
b _initio_msgout_reject
LBB0_14:
ldr x9, [x19, #24]
ldr w9, [x9]
Lloh13:
adrp x10, _TCF_NO_WDTR@GOTPAGE
Lloh14:
ldr x10, [x10, _TCF_NO_WDTR@GOTPAGEOFF]
Lloh15:
ldr w10, [x10]
tst w10, w9
b.eq LBB0_24
; %bb.15:
mov w9, #0 ; =0x0
LBB0_16:
str w9, [x8, #8]
ldr x8, [x19, #16]
Lloh16:
adrp x22, _TUL_SSignal@GOTPAGE
Lloh17:
ldr x22, [x22, _TUL_SSignal@GOTPAGEOFF]
ldr x9, [x22]
add x0, x9, x8
bl _inb
Lloh18:
adrp x8, _TSC_SET_ACK@GOTPAGE
Lloh19:
ldr x8, [x8, _TSC_SET_ACK@GOTPAGEOFF]
Lloh20:
ldr w8, [x8]
orr w8, w8, #0x7
and w8, w8, w0
Lloh21:
adrp x9, _TSC_SET_ATN@GOTPAGE
Lloh22:
ldr x9, [x9, _TSC_SET_ATN@GOTPAGEOFF]
Lloh23:
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
Lloh24:
adrp x8, _MSG_OUT@GOTPAGE
Lloh25:
ldr x8, [x8, _MSG_OUT@GOTPAGEOFF]
Lloh26:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_22
; %bb.17:
Lloh27:
adrp x8, _MSG_EXTEND@GOTPAGE
Lloh28:
ldr x8, [x8, _MSG_EXTEND@GOTPAGEOFF]
Lloh29:
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]
b LBB0_21
LBB0_18:
mov x0, x19
bl _initio_msgin_sync
cbz x0, LBB0_27
LBB0_19:
ldr x8, [x19, #16]
Lloh30:
adrp x22, _TUL_SSignal@GOTPAGE
Lloh31:
ldr x22, [x22, _TUL_SSignal@GOTPAGEOFF]
ldr x9, [x22]
add x0, x9, x8
bl _inb
Lloh32:
adrp x8, _TSC_SET_ACK@GOTPAGE
Lloh33:
ldr x8, [x8, _TSC_SET_ACK@GOTPAGEOFF]
Lloh34:
ldr w8, [x8]
orr w8, w8, #0x7
and w8, w8, w0
Lloh35:
adrp x9, _TSC_SET_ATN@GOTPAGE
Lloh36:
ldr x9, [x9, _TSC_SET_ATN@GOTPAGEOFF]
Lloh37:
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
Lloh38:
adrp x8, _MSG_OUT@GOTPAGE
Lloh39:
ldr x8, [x8, _MSG_OUT@GOTPAGEOFF]
Lloh40:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_22
; %bb.20:
Lloh41:
adrp x8, _TSC_FLUSH_FIFO@GOTPAGE
Lloh42:
ldr x8, [x8, _TSC_FLUSH_FIFO@GOTPAGEOFF]
Lloh43:
ldr w0, [x8]
ldr x8, [x19, #16]
Lloh44:
adrp x9, _TUL_SCtrl0@GOTPAGE
Lloh45:
ldr x9, [x9, _TUL_SCtrl0@GOTPAGEOFF]
Lloh46:
ldr x9, [x9]
add x1, x9, x8
bl _outb
mov x0, x19
bl _initio_sync_done
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, #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]
LBB0_21:
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_22:
ldr w0, [x19]
LBB0_23:
; 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_24:
ldr w9, [x8, #8]
cmp w9, #3
b.ge LBB0_13
; %bb.25:
cmp w9, #2
b.ne LBB0_29
; %bb.26:
mov w9, #1 ; =0x1
b LBB0_16
LBB0_27:
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_19
; %bb.28:
mov x0, x19
bl _initio_sync_done
mov x0, x19
bl _initio_msgin_accept
; kill: def $w0 killed $w0 killed $x0 def $x0
b LBB0_23
LBB0_29:
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_31
; %bb.30:
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
LBB0_31:
mov x0, x19
bl _initio_msgin_accept
b LBB0_23
.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 Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40
.loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37
.loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34
.loh AdrpLdrGot Lloh30, Lloh31
.loh AdrpLdrGotLdr Lloh47, Lloh48, Lloh49
.loh AdrpLdrGotLdr Lloh44, Lloh45, Lloh46
.loh AdrpLdrGotLdr Lloh41, Lloh42, Lloh43
.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
.globl _decodets ## -- Begin function decodets
.p2align 4, 0x90
_decodets: ## @decodets
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -32(%rbp)
movzbl (%rdi), %eax
addl $-34, %eax
cmpl $68, %eax
ja LBB0_16
## %bb.1:
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_14:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -32(%rbp), %rax
jne LBB0_19
LBB0_15:
addq $40, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _hextolfp ## TAILCALL
LBB0_2:
movzbl 1(%rdi), %eax
leaq -64(%rbp), %rbx
testl %eax, %eax
je LBB0_8
## %bb.3:
cmpl $34, %eax
je LBB0_8
## %bb.4:
movq %rdi, %r15
movq %rbx, %rdi
movq %rsi, %r14
callq _COUNTOF
movq %r14, %rsi
cmpl $1, %eax
je LBB0_8
## %bb.5:
leaq -65(%rbp), %rbx
movzbl 1(%r15), %eax
movb %al, -64(%rbp)
movzbl 2(%r15), %eax
testl %eax, %eax
je LBB0_8
## %bb.6:
cmpl $34, %eax
je LBB0_8
## %bb.7:
leaq -64(%rbp), %rdi
callq _COUNTOF
movq %r14, %rsi
LBB0_8:
movb $0, (%rbx)
leaq -64(%rbp), %rdi
callq _rtdatetolfp
jmp LBB0_9
LBB0_11:
movzbl 1(%rdi), %eax
orl $32, %eax
cmpl $120, %eax
jne LBB0_16
## %bb.12:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -32(%rbp), %rax
jne LBB0_19
## %bb.13:
addq $2, %rdi
jmp LBB0_15
LBB0_16:
movq %rdi, %rbx
movq %rsi, %r14
callq _atolfp
movq %rax, %rcx
movl $1, %eax
testq %rcx, %rcx
je LBB0_17
LBB0_9:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -32(%rbp), %rcx
jne LBB0_19
## %bb.10:
addq $40, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_17:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -32(%rbp), %rax
jne LBB0_19
## %bb.18:
movq %r14, %rsi
movq %rbx, %rdi
addq $40, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _rtdatetolfp ## TAILCALL
LBB0_19:
callq ___stack_chk_fail
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
LJTI0_0:
.long L0_0_set_2
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_11
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.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_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.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
.end_data_region
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _decodets ; -- Begin function decodets
.p2align 2
_decodets: ; @decodets
.cfi_startproc
; %bb.0:
sub sp, sp, #96
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #40]
ldrb w8, [x0]
sub w9, w8, #48
cmp w9, #54
b.hi LBB0_8
; %bb.1:
mov w10, #1 ; =0x1
lsl x10, x10, x9
tst x10, #0x7e0000007e0000
b.eq LBB0_4
; %bb.2:
ldr x8, [sp, #40]
Lloh3:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh4:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_22
LBB0_3:
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
add sp, sp, #96
b _hextolfp
LBB0_4:
cbnz x9, LBB0_8
; %bb.5:
ldrb w8, [x0, #1]
orr w8, w8, #0x20
cmp w8, #120
b.ne LBB0_16
; %bb.6:
ldr x8, [sp, #40]
Lloh6:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh7:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_22
; %bb.7:
add x0, x0, #2
b LBB0_3
LBB0_8:
cmp w8, #34
b.ne LBB0_16
; %bb.9:
ldrb w8, [x0, #1]
add x19, sp, #10
cbz w8, LBB0_15
; %bb.10:
cmp w8, #34
b.eq LBB0_15
; %bb.11:
add x19, sp, #10
mov x21, x0
add x0, sp, #10
mov x20, x1
bl _COUNTOF
mov x1, x20
cmp w0, #1
b.eq LBB0_15
; %bb.12:
add x9, sp, #10
sub x19, x9, #1
ldrb w9, [x21, #1]
strb w9, [sp, #10]
ldrb w8, [x21, #2]
cbz w8, LBB0_15
; %bb.13:
cmp w8, #34
b.eq LBB0_15
; %bb.14:
add x0, sp, #10
bl _COUNTOF
mov x1, x20
LBB0_15:
strb wzr, [x19]
add x0, sp, #10
bl _rtdatetolfp
b LBB0_18
LBB0_16:
mov x19, x0
mov x20, x1
bl _atolfp
cbz x0, LBB0_20
; %bb.17:
mov w0, #1 ; =0x1
LBB0_18:
ldr x8, [sp, #40]
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_22
; %bb.19:
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
add sp, sp, #96
ret
LBB0_20:
ldr x8, [sp, #40]
Lloh12:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh13:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_22
; %bb.21:
mov x1, x20
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
add sp, sp, #96
b _rtdatetolfp
LBB0_22:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _lm_load ## -- Begin function lm_load
.p2align 4, 0x90
_lm_load: ## @lm_load
.cfi_startproc
## %bb.0:
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 %rdi, %r12
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _MAX_MOD_ARGS@GOTPCREL(%rip), %rax
movl (%rax), %eax
incl %eax
shlq $3, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, -56(%rbp) ## 8-byte Spill
movl $56, %edi
callq _malloc
testq %rax, %rax
je LBB0_1
## %bb.2:
movq %rax, %rbx
movq $0, 16(%rax)
movl $0, (%rax)
movl 48(%rax), %edi
movq %r14, %rsi
movl $4, %edx
callq _strlcpy
movq %r12, %rdi
callq _strdup
movq %rax, 8(%rbx)
testq %rax, %rax
je LBB0_3
## %bb.4:
movq %rax, %r12
movq %r14, %rdi
callq _strlen
movq 32(%rbx), %rcx
movq %rax, (%rcx)
incl %eax
movl %eax, 40(%rbx)
movq $-1, %rax
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movsbq 1(%r14,%rax), %rdx
movq %rdx, 16(%rcx,%rax,8)
incq %rax
cmpq %rax, (%rcx)
ja LBB0_5
## %bb.6:
movq _RTLD_NOW@GOTPCREL(%rip), %rax
movq _RTLD_GLOBAL@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
orl (%rax), %esi
movq %r12, %rdi
callq _dlopen
movq %rax, 16(%rbx)
testq %rax, %rax
je LBB0_7
## %bb.9:
leaq L_.str.2(%rip), %rsi
movq %rax, %rdi
callq _dlsym
movq %rax, 24(%rbx)
testq %rax, %rax
je LBB0_10
## %bb.11:
movq _lmodules@GOTPCREL(%rip), %rsi
movq %rbx, %rdi
callq _INSERT_OBJECT_OID
movq _community@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _COMM_INITIALIZE@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_13
## %bb.12:
movq _LM_ONSTARTLIST@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %eax, (%rbx)
movq _start@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _modules_start@GOTPCREL(%rip), %rdi
movq %rbx, %rsi
callq _TAILQ_INSERT_TAIL
LBB0_13:
movq %rbx, -64(%rbp) ## 8-byte Spill
movq _nprogargs@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jle LBB0_14
## %bb.15:
xorl %ebx, %ebx
xorl %r15d, %r15d
jmp LBB0_16
.p2align 4, 0x90
LBB0_21: ## in Loop: Header=BB0_16 Depth=1
movq %r14, %rdi
callq _strlen
addq %r13, %rax
incq %rax
movslq %r15d, %rcx
incl %r15d
movq -56(%rbp), %rdx ## 8-byte Reload
movq %rax, (%rdx,%rcx,8)
LBB0_22: ## in Loop: Header=BB0_16 Depth=1
incq %rbx
movq _nprogargs@GOTPCREL(%rip), %rax
movslq (%rax), %rax
cmpq %rax, %rbx
jge LBB0_23
LBB0_16: ## =>This Inner Loop Header: Depth=1
movq _progargs@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rax,%rbx,8), %r13
movq %r13, %rdi
callq _strlen
movq %rax, %r12
movq %r14, %rdi
callq _strlen
leaq 1(%rax), %rcx
cmpq %rcx, %r12
jae LBB0_19
## %bb.17: ## in Loop: Header=BB0_16 Depth=1
movq %r13, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq _strncmp
testq %rax, %rax
jne LBB0_22
## %bb.18: ## in Loop: Header=BB0_16 Depth=1
movq _progargs@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rax,%rbx,8), %r13
movq %r14, %rdi
callq _strlen
cmpb $58, (%r13,%rax)
jne LBB0_22
.p2align 4, 0x90
LBB0_19: ## in Loop: Header=BB0_16 Depth=1
movq _MAX_MOD_ARGS@GOTPCREL(%rip), %rax
cmpl (%rax), %r15d
jne LBB0_21
## %bb.20: ## in Loop: Header=BB0_16 Depth=1
movq _LOG_WARNING@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.4(%rip), %rsi
movq %r14, %rdx
xorl %eax, %eax
callq _syslog
jmp LBB0_22
LBB0_1:
movq _LOG_ERR@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
xorl %ebx, %ebx
xorl %eax, %eax
callq _syslog
jmp LBB0_30
LBB0_3:
movq _LOG_ERR@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
xorl %eax, %eax
callq _syslog
jmp LBB0_25
LBB0_7:
movq _LOG_ERR@GOTPCREL(%rip), %rax
movl (%rax), %r14d
xorl %eax, %eax
callq _dlerror
leaq L_.str.1(%rip), %rsi
jmp LBB0_8
LBB0_10:
movq _LOG_ERR@GOTPCREL(%rip), %rax
movl (%rax), %r14d
xorl %eax, %eax
callq _dlerror
leaq L_.str.3(%rip), %rsi
LBB0_8:
movl %r14d, %edi
movl %eax, %edx
xorl %eax, %eax
callq _syslog
jmp LBB0_25
LBB0_14:
xorl %r15d, %r15d
LBB0_23:
movslq %r15d, %rsi
movq -56(%rbp), %rdx ## 8-byte Reload
movq $0, (%rdx,%rsi,8)
movq -64(%rbp), %rbx ## 8-byte Reload
movq 24(%rbx), %rax
movq %rbx, %rdi
## kill: def $esi killed $esi killed $rsi
callq *(%rax)
testl %eax, %eax
je LBB0_30
## %bb.24:
movq _LOG_ERR@GOTPCREL(%rip), %rcx
movl (%rcx), %edi
leaq L_.str.5(%rip), %rsi
movl %eax, %edx
xorl %eax, %eax
callq _syslog
movq _link@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _lmodules@GOTPCREL(%rip), %rdi
movq %rbx, %rsi
callq _TAILQ_REMOVE
LBB0_25:
movq _LM_ONSTARTLIST@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl (%rbx), %eax
je LBB0_27
## %bb.26:
movq _start@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _modules_start@GOTPCREL(%rip), %rdi
movq %rbx, %rsi
callq _TAILQ_REMOVE
LBB0_27:
movq 16(%rbx), %rdi
testq %rdi, %rdi
je LBB0_29
## %bb.28:
callq _dlclose
LBB0_29:
movq 8(%rbx), %rdi
callq _free
movq %rbx, %rdi
callq _free
xorl %ebx, %ebx
LBB0_30:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_32
## %bb.31:
movq %rbx, %rax
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_MOD_ARGS,4,2 ## @MAX_MOD_ARGS
.comm _LOG_ERR,4,2 ## @LOG_ERR
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "lm_load: %m"
.comm _RTLD_NOW,4,2 ## @RTLD_NOW
.comm _RTLD_GLOBAL,4,2 ## @RTLD_GLOBAL
L_.str.1: ## @.str.1
.asciz "lm_load: open %s"
L_.str.2: ## @.str.2
.asciz "config"
L_.str.3: ## @.str.3
.asciz "lm_load: no 'config' symbol %s"
.comm _lmodules,4,2 ## @lmodules
.comm _community,8,3 ## @community
.comm _COMM_INITIALIZE,8,3 ## @COMM_INITIALIZE
.comm _LM_ONSTARTLIST,4,2 ## @LM_ONSTARTLIST
.comm _modules_start,4,2 ## @modules_start
.comm _start,4,2 ## @start
.comm _nprogargs,4,2 ## @nprogargs
.comm _progargs,8,3 ## @progargs
.comm _LOG_WARNING,4,2 ## @LOG_WARNING
L_.str.4: ## @.str.4
.asciz "too many arguments for module '%s"
L_.str.5: ## @.str.5
.asciz "lm_load: init failed: %d"
.comm _link,4,2 ## @link
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _lm_load ; -- Begin function lm_load
.p2align 2
_lm_load: ; @lm_load
.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, x1
mov x22, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
Lloh3:
adrp x27, _MAX_MOD_ARGS@GOTPAGE
Lloh4:
ldr x27, [x27, _MAX_MOD_ARGS@GOTPAGEOFF]
stur x8, [x29, #-88]
ldr w8, [x27]
add w8, w8, #1
ubfiz x9, x8, #3, #32
add x8, x9, #15
and x8, x8, #0xffffffff0
Lloh5:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh6:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
sub x21, x9, x8
mov sp, x21
mov w0, #56 ; =0x38
bl _malloc
mov x19, x0
cbz x0, LBB0_17
; %bb.1:
str xzr, [x19, #16]
str wzr, [x19]
ldr w0, [x19, #48]
mov x1, x20
mov w2, #4 ; =0x4
bl _strlcpy
mov x0, x22
bl _strdup
str x0, [x19, #8]
Lloh7:
adrp x23, _LM_ONSTARTLIST@GOTPAGE
Lloh8:
ldr x23, [x23, _LM_ONSTARTLIST@GOTPAGEOFF]
cbz x0, LBB0_18
; %bb.2:
mov x22, x0
mov x0, x20
bl _strlen
mov x9, #0 ; =0x0
ldr x8, [x19, #32]
str x0, [x8]
add w10, w0, #1
str w10, [x19, #40]
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldrsb x10, [x20, x9]
add x11, x8, x9, lsl #3
add x12, x9, #1
str x10, [x11, #8]
ldr x10, [x8]
cmp x10, x9
mov x9, x12
b.hi LBB0_3
; %bb.4:
Lloh9:
adrp x8, _RTLD_NOW@GOTPAGE
Lloh10:
ldr x8, [x8, _RTLD_NOW@GOTPAGEOFF]
Lloh11:
ldr w8, [x8]
Lloh12:
adrp x9, _RTLD_GLOBAL@GOTPAGE
Lloh13:
ldr x9, [x9, _RTLD_GLOBAL@GOTPAGEOFF]
Lloh14:
ldr w9, [x9]
orr w1, w9, w8
mov x0, x22
bl _dlopen
str x0, [x19, #16]
cbz x0, LBB0_19
; %bb.5:
Lloh15:
adrp x1, l_.str.2@PAGE
Lloh16:
add x1, x1, l_.str.2@PAGEOFF
bl _dlsym
str x0, [x19, #24]
cbz x0, LBB0_20
; %bb.6:
Lloh17:
adrp x1, _lmodules@GOTPAGE
Lloh18:
ldr x1, [x1, _lmodules@GOTPAGEOFF]
mov x0, x19
bl _INSERT_OBJECT_OID
Lloh19:
adrp x8, _community@GOTPAGE
Lloh20:
ldr x8, [x8, _community@GOTPAGEOFF]
Lloh21:
ldr x8, [x8]
Lloh22:
adrp x9, _COMM_INITIALIZE@GOTPAGE
Lloh23:
ldr x9, [x9, _COMM_INITIALIZE@GOTPAGEOFF]
Lloh24:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_8
; %bb.7:
ldr w8, [x23]
ldr w9, [x19]
orr w8, w9, w8
str w8, [x19]
Lloh25:
adrp x8, _start@GOTPAGE
Lloh26:
ldr x8, [x8, _start@GOTPAGEOFF]
Lloh27:
ldr w2, [x8]
Lloh28:
adrp x0, _modules_start@GOTPAGE
Lloh29:
ldr x0, [x0, _modules_start@GOTPAGEOFF]
mov x1, x19
bl _TAILQ_INSERT_TAIL
LBB0_8:
Lloh30:
adrp x28, _nprogargs@GOTPAGE
Lloh31:
ldr x28, [x28, _nprogargs@GOTPAGEOFF]
ldr w8, [x28]
cmp w8, #1
b.lt LBB0_22
; %bb.9:
mov x26, #0 ; =0x0
mov w22, #0 ; =0x0
Lloh32:
adrp x23, _progargs@GOTPAGE
Lloh33:
ldr x23, [x23, _progargs@GOTPAGEOFF]
b LBB0_12
LBB0_10: ; in Loop: Header=BB0_12 Depth=1
mov x0, x20
bl _strlen
add x8, x24, x0
add x8, x8, #1
str x8, [x21, w22, sxtw #3]
add w22, w22, #1
LBB0_11: ; in Loop: Header=BB0_12 Depth=1
add x26, x26, #1
ldrsw x8, [x28]
cmp x26, x8
b.ge LBB0_23
LBB0_12: ; =>This Inner Loop Header: Depth=1
ldr x8, [x23]
ldr x24, [x8, x26, lsl #3]
mov x0, x24
bl _strlen
mov x25, x0
mov x0, x20
bl _strlen
add x8, x0, #1
cmp x25, x8
b.hs LBB0_15
; %bb.13: ; in Loop: Header=BB0_12 Depth=1
mov x2, x0
mov x0, x24
mov x1, x20
bl _strncmp
cbnz x0, LBB0_11
; %bb.14: ; in Loop: Header=BB0_12 Depth=1
ldr x8, [x23]
ldr x24, [x8, x26, lsl #3]
mov x0, x20
bl _strlen
ldrb w8, [x24, x0]
cmp w8, #58
b.ne LBB0_11
LBB0_15: ; in Loop: Header=BB0_12 Depth=1
ldr w8, [x27]
cmp w22, w8
b.ne LBB0_10
; %bb.16: ; in Loop: Header=BB0_12 Depth=1
Lloh34:
adrp x8, _LOG_WARNING@GOTPAGE
Lloh35:
ldr x8, [x8, _LOG_WARNING@GOTPAGEOFF]
Lloh36:
ldr w0, [x8]
str x20, [sp, #-16]!
Lloh37:
adrp x1, l_.str.4@PAGE
Lloh38:
add x1, x1, l_.str.4@PAGEOFF
bl _syslog
add sp, sp, #16
b LBB0_11
LBB0_17:
Lloh39:
adrp x8, _LOG_ERR@GOTPAGE
Lloh40:
ldr x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh41:
ldr w0, [x8]
Lloh42:
adrp x1, l_.str@PAGE
Lloh43:
add x1, x1, l_.str@PAGEOFF
bl _syslog
b LBB0_30
LBB0_18:
Lloh44:
adrp x8, _LOG_ERR@GOTPAGE
Lloh45:
ldr x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh46:
ldr w0, [x8]
Lloh47:
adrp x1, l_.str@PAGE
Lloh48:
add x1, x1, l_.str@PAGEOFF
bl _syslog
b LBB0_25
LBB0_19:
Lloh49:
adrp x8, _LOG_ERR@GOTPAGE
Lloh50:
ldr x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh51:
ldr w20, [x8]
bl _dlerror
; kill: def $w0 killed $w0 def $x0
str x0, [sp, #-16]!
Lloh52:
adrp x1, l_.str.1@PAGE
Lloh53:
add x1, x1, l_.str.1@PAGEOFF
b LBB0_21
LBB0_20:
Lloh54:
adrp x8, _LOG_ERR@GOTPAGE
Lloh55:
ldr x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh56:
ldr w20, [x8]
bl _dlerror
; kill: def $w0 killed $w0 def $x0
str x0, [sp, #-16]!
Lloh57:
adrp x1, l_.str.3@PAGE
Lloh58:
add x1, x1, l_.str.3@PAGEOFF
LBB0_21:
mov x0, x20
bl _syslog
add sp, sp, #16
b LBB0_25
LBB0_22:
mov w22, #0 ; =0x0
LBB0_23:
str xzr, [x21, w22, sxtw #3]
ldr x8, [x19, #24]
ldr x8, [x8]
mov x0, x19
mov x1, x22
mov x2, x21
blr x8
; kill: def $w0 killed $w0 def $x0
cbz w0, LBB0_30
; %bb.24:
Lloh59:
adrp x8, _LOG_ERR@GOTPAGE
Lloh60:
ldr x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh61:
ldr w8, [x8]
str x0, [sp, #-16]!
Lloh62:
adrp x1, l_.str.5@PAGE
Lloh63:
add x1, x1, l_.str.5@PAGEOFF
mov x0, x8
bl _syslog
add sp, sp, #16
Lloh64:
adrp x8, _link@GOTPAGE
Lloh65:
ldr x8, [x8, _link@GOTPAGEOFF]
Lloh66:
ldr w2, [x8]
Lloh67:
adrp x0, _lmodules@GOTPAGE
Lloh68:
ldr x0, [x0, _lmodules@GOTPAGEOFF]
mov x1, x19
bl _TAILQ_REMOVE
Lloh69:
adrp x23, _LM_ONSTARTLIST@GOTPAGE
Lloh70:
ldr x23, [x23, _LM_ONSTARTLIST@GOTPAGEOFF]
LBB0_25:
ldr w8, [x19]
ldr w9, [x23]
orr w8, w9, w8
cbz w8, LBB0_27
; %bb.26:
Lloh71:
adrp x8, _start@GOTPAGE
Lloh72:
ldr x8, [x8, _start@GOTPAGEOFF]
Lloh73:
ldr w2, [x8]
Lloh74:
adrp x0, _modules_start@GOTPAGE
Lloh75:
ldr x0, [x0, _modules_start@GOTPAGEOFF]
mov x1, x19
bl _TAILQ_REMOVE
LBB0_27:
ldr x0, [x19, #16]
cbz x0, LBB0_29
; %bb.28:
bl _dlclose
LBB0_29:
ldr x0, [x19, #8]
bl _free
mov x0, x19
bl _free
mov x19, #0 ; =0x0
LBB0_30:
ldur x8, [x29, #-88]
Lloh76:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh77:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh78:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_32
; %bb.31:
mov x0, x19
sub sp, x29, #80
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
LBB0_32:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGot Lloh17, Lloh18
.loh AdrpLdrGot Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpLdrGot Lloh30, Lloh31
.loh AdrpLdrGot Lloh32, Lloh33
.loh AdrpAdd Lloh37, Lloh38
.loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36
.loh AdrpAdd Lloh42, Lloh43
.loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41
.loh AdrpAdd Lloh47, Lloh48
.loh AdrpLdrGotLdr Lloh44, Lloh45, Lloh46
.loh AdrpAdd Lloh52, Lloh53
.loh AdrpLdrGotLdr Lloh49, Lloh50, Lloh51
.loh AdrpAdd Lloh57, Lloh58
.loh AdrpLdrGotLdr Lloh54, Lloh55, Lloh56
.loh AdrpLdrGot Lloh69, Lloh70
.loh AdrpLdrGot Lloh67, Lloh68
.loh AdrpLdrGotLdr Lloh64, Lloh65, Lloh66
.loh AdrpAdd Lloh62, Lloh63
.loh AdrpLdrGotLdr Lloh59, Lloh60, Lloh61
.loh AdrpLdrGot Lloh74, Lloh75
.loh AdrpLdrGotLdr Lloh71, Lloh72, Lloh73
.loh AdrpLdrGotLdr Lloh76, Lloh77, Lloh78
.loh AdrpLdrGot Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _MAX_MOD_ARGS,4,2 ; @MAX_MOD_ARGS
.comm _LOG_ERR,4,2 ; @LOG_ERR
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "lm_load: %m"
.comm _RTLD_NOW,4,2 ; @RTLD_NOW
.comm _RTLD_GLOBAL,4,2 ; @RTLD_GLOBAL
l_.str.1: ; @.str.1
.asciz "lm_load: open %s"
l_.str.2: ; @.str.2
.asciz "config"
l_.str.3: ; @.str.3
.asciz "lm_load: no 'config' symbol %s"
.comm _lmodules,4,2 ; @lmodules
.comm _community,8,3 ; @community
.comm _COMM_INITIALIZE,8,3 ; @COMM_INITIALIZE
.comm _LM_ONSTARTLIST,4,2 ; @LM_ONSTARTLIST
.comm _modules_start,4,2 ; @modules_start
.comm _start,4,2 ; @start
.comm _nprogargs,4,2 ; @nprogargs
.comm _progargs,8,3 ; @progargs
.comm _LOG_WARNING,4,2 ; @LOG_WARNING
l_.str.4: ; @.str.4
.asciz "too many arguments for module '%s"
l_.str.5: ; @.str.5
.asciz "lm_load: init failed: %d"
.comm _link,4,2 ; @link
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function RememberToFreeTupleDescAtEOX
_RememberToFreeTupleDescAtEOX: ## @RememberToFreeTupleDescAtEOX
.cfi_startproc
## %bb.0:
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 %edi, %ebx
movq _EOXactTupleDescArray@GOTPCREL(%rip), %r15
cmpq $0, (%r15)
je LBB0_2
## %bb.1:
movq _CacheMemoryContext@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _MemoryContextSwitchTo
movl %eax, %r14d
movl $64, %edi
callq _palloc
movq %rax, (%r15)
movq _EOXactTupleDescArrayLen@GOTPCREL(%rip), %rax
movl $16, (%rax)
movq _NextEOXactTupleDescNum@GOTPCREL(%rip), %rax
movl $0, (%rax)
movl %r14d, %edi
callq _MemoryContextSwitchTo
movq (%r15), %rax
jmp LBB0_3
LBB0_2:
movq _EOXactTupleDescArrayLen@GOTPCREL(%rip), %r12
movl (%r12), %r14d
leal (%r14,%r14), %r13d
movl %r14d, %edi
notl %edi
shrl $31, %edi
callq _Assert
movq (%r15), %rdi
shll $3, %r14d
movl %r14d, %esi
callq _repalloc
movq %rax, (%r15)
movl %r13d, (%r12)
LBB0_3:
movq _NextEOXactTupleDescNum@GOTPCREL(%rip), %rcx
movslq (%rcx), %rdx
leal -1(%rdx), %esi
movl %esi, (%rcx)
movl %ebx, (%rax,%rdx,4)
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EOXactTupleDescArray,8,3 ## @EOXactTupleDescArray
.comm _CacheMemoryContext,4,2 ## @CacheMemoryContext
.comm _EOXactTupleDescArrayLen,4,2 ## @EOXactTupleDescArrayLen
.comm _NextEOXactTupleDescNum,4,2 ## @NextEOXactTupleDescNum
.no_dead_strip _RememberToFreeTupleDescAtEOX
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function RememberToFreeTupleDescAtEOX
_RememberToFreeTupleDescAtEOX: ; @RememberToFreeTupleDescAtEOX
.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 x22, _EOXactTupleDescArray@GOTPAGE
Lloh1:
ldr x22, [x22, _EOXactTupleDescArray@GOTPAGEOFF]
ldr x8, [x22]
Lloh2:
adrp x21, _NextEOXactTupleDescNum@GOTPAGE
Lloh3:
ldr x21, [x21, _NextEOXactTupleDescNum@GOTPAGEOFF]
cbz x8, LBB0_2
; %bb.1:
Lloh4:
adrp x8, _CacheMemoryContext@GOTPAGE
Lloh5:
ldr x8, [x8, _CacheMemoryContext@GOTPAGEOFF]
Lloh6:
ldr w0, [x8]
bl _MemoryContextSwitchTo
mov x20, x0
mov w0, #64 ; =0x40
bl _palloc
str x0, [x22]
Lloh7:
adrp x8, _EOXactTupleDescArrayLen@GOTPAGE
Lloh8:
ldr x8, [x8, _EOXactTupleDescArrayLen@GOTPAGEOFF]
mov w9, #16 ; =0x10
Lloh9:
str w9, [x8]
str wzr, [x21]
mov x0, x20
bl _MemoryContextSwitchTo
ldr x0, [x22]
b LBB0_3
LBB0_2:
Lloh10:
adrp x20, _EOXactTupleDescArrayLen@GOTPAGE
Lloh11:
ldr x20, [x20, _EOXactTupleDescArrayLen@GOTPAGEOFF]
ldr w23, [x20]
lsl w24, w23, #1
mvn w8, w23
lsr w0, w8, #31
bl _Assert
ldr x0, [x22]
lsl w1, w23, #3
bl _repalloc
str x0, [x22]
str w24, [x20]
LBB0_3:
ldrsw x8, [x21]
sub w9, w8, #1
str w9, [x21]
str w19, [x0, x8, lsl #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
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotStr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpLdrGot Lloh10, Lloh11
.cfi_endproc
; -- End function
.comm _EOXactTupleDescArray,8,3 ; @EOXactTupleDescArray
.comm _CacheMemoryContext,4,2 ; @CacheMemoryContext
.comm _EOXactTupleDescArrayLen,4,2 ; @EOXactTupleDescArrayLen
.comm _NextEOXactTupleDescNum,4,2 ; @NextEOXactTupleDescNum
.no_dead_strip _RememberToFreeTupleDescAtEOX
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function do_decomp
_do_decomp: ## @do_decomp
.cfi_startproc
## %bb.0:
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
movzbl (%rdx), %r14d
cmpl $4, %ecx
je LBB0_7
## %bb.1:
cmpl $3, %ecx
je LBB0_4
## %bb.2:
cmpl $2, %ecx
jne LBB0_12
## %bb.3:
movb %r14b, (%rbx)
movzbl 1(%rdx), %r15d
movb %r15b, 1(%rbx)
movb $0, 2(%rbx)
xorl %r12d, %r12d
xorl %r13d, %r13d
jmp LBB0_8
LBB0_4:
movq %r8, -72(%rbp) ## 8-byte Spill
movl %ecx, -52(%rbp) ## 4-byte Spill
movq %r9, -48(%rbp) ## 8-byte Spill
movq %rdi, -64(%rbp) ## 8-byte Spill
movsbl 1(%rdx), %eax
movq %rdx, %r15
movsbl 2(%rdx), %ecx
movsbl %r14b, %esi
xorl %edi, %edi
movl %eax, %edx
callq _U8_PUT_3BYTES_INTO_UTF32
xorl %edi, %edi
callq _U8_HANGUL_SYLLABLE
testq %rax, %rax
je LBB0_15
## %bb.5:
movq _U8_HANGUL_SYL_FIRST@GOTPCREL(%rip), %rax
xorl %ecx, %ecx
subb (%rax), %cl
movq _U8_HANGUL_VT_COUNT@GOTPCREL(%rip), %rsi
movsbl %cl, %ecx
movl %ecx, %eax
cwtd
movsbl (%rsi), %esi
idivw %si
movl %eax, %esi
movq _U8_HANGUL_JAMO_L_FIRST@GOTPCREL(%rip), %rax
addb (%rax), %sil
movq _U8_HANGUL_JAMO_V_FIRST@GOTPCREL(%rip), %rdi
movq _U8_HANGUL_T_COUNT@GOTPCREL(%rip), %rax
movsbl (%rax), %r8d
movsbl %dl, %eax
idivb %r8b
movl %eax, %r15d
addb (%rdi), %r15b
movl %ecx, %eax
cwtd
idivw %r8w
movl %edx, %r14d
movsbl %sil, %r8d
movq %rbx, %rdi
xorl %esi, %esi
movl $1, %edx
movl $2, %ecx
callq _U8_SAVE_HANGUL_AS_UTF8
movsbl %r15b, %r8d
movq %rbx, %rdi
movl $3, %esi
movl $4, %edx
movl $5, %ecx
callq _U8_SAVE_HANGUL_AS_UTF8
testw %r14w, %r14w
je LBB0_21
## %bb.6:
movq _U8_HANGUL_JAMO_T_FIRST@GOTPCREL(%rip), %rax
addl (%rax), %r14d
movsbl %r14b, %r8d
movq %rbx, %rdi
movl $6, %esi
movl $7, %edx
movl $8, %ecx
callq _U8_SAVE_HANGUL_AS_UTF8
movb $0, 9(%rbx)
movq _U8_STATE_HANGUL_LVT@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq -48(%rbp), %rax ## 8-byte Reload
movq %rcx, (%rax)
movl $9, %eax
jmp LBB0_48
LBB0_7:
movsbq %r14b, %r12
movb %r12b, (%rbx)
movzbl 1(%rdx), %r13d
movb %r13b, 1(%rbx)
movzbl 2(%rdx), %r14d
movb %r14b, 2(%rbx)
movzbl 3(%rdx), %r15d
movb %r15b, 3(%rbx)
movb $0, 4(%rbx)
LBB0_8:
movq _U8_STATE_START@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, (%r9)
movq _u8_common_b1_tbl@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rax,%rdi,8), %rax
movsbq (%rax,%r12), %rax
movq _U8_TBL_ELEMENT_NOT_DEF@GOTPCREL(%rip), %rdx
movzbl (%rdx), %edx
cmpb %dl, %al
je LBB0_9
## %bb.10:
movq _u8_decomp_b2_tbl@GOTPCREL(%rip), %rsi
movq (%rsi), %rsi
movq (%rsi,%rdi,8), %rsi
movq (%rsi,%rax,8), %rax
movsbq %r13b, %rsi
movsbq (%rax,%rsi), %rax
cmpb %dl, %al
je LBB0_9
## %bb.13:
movq _u8_decomp_b3_tbl@GOTPCREL(%rip), %rsi
movq (%rsi), %rsi
movq (%rsi,%rdi,8), %rsi
movq (%rsi,%rax,8), %rax
movsbq %r14b, %rsi
movzbl (%rax,%rsi,2), %r9d
cmpb %dl, %r9b
je LBB0_9
## %bb.17:
movq _U8_16BIT_TABLE_INDICATOR@GOTPCREL(%rip), %rdx
movzbl (%rdx), %edx
xorl %r10d, %r10d
cmpb %dl, %r9b
cmovgel %edx, %r10d
movq _u8_decomp_b4_16bit_tbl@GOTPCREL(%rip), %rdx
cmovlq _u8_decomp_b4_tbl@GOTPCREL(%rip), %rdx
subb %r10b, %r9b
movq (%rdx), %rdx
movq (%rdx,%rdi,8), %rdx
movsbq %r9b, %r9
movq (%rdx,%r9,8), %r9
movsbq %r15b, %r10
movq (%r9,%r10,8), %rdx
movq 8(%r9,%r10,8), %r10
cmpq %r10, %rdx
jae LBB0_9
## %bb.18:
movsbq 1(%rax,%rsi,2), %rsi
movq _u8_decomp_final_tbl@GOTPCREL(%rip), %r9
movq (%r9), %rax
movq (%rax,%rdi,8), %r11
leaq (%r11,%rdx,8), %rax
movzbl (%rax,%rsi,8), %eax
movq _U8_DECOMP_BOTH@GOTPCREL(%rip), %r14
movzbl (%r14), %r14d
testq %r8, %r8
je LBB0_29
## %bb.19:
cmpb %al, %r14b
jge LBB0_9
## %bb.20:
incq %rdx
jmp LBB0_34
LBB0_9:
movl %ecx, %eax
jmp LBB0_48
LBB0_12:
movb %r14b, (%rbx)
movb $0, 1(%rbx)
movq _U8_STATE_START@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, (%r9)
movl $1, %eax
jmp LBB0_48
LBB0_15:
movzbl (%r15), %r13d
movb %r13b, (%rbx)
movzbl 1(%r15), %r14d
movb %r14b, 1(%rbx)
movzbl 2(%r15), %r15d
movb %r15b, 2(%rbx)
movb $0, 3(%rbx)
xorl %edi, %edi
callq _U8_HANGUL_JAMO_L
testq %rax, %rax
je LBB0_22
## %bb.16:
movq _U8_STATE_HANGUL_L@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq -48(%rbp), %rax ## 8-byte Reload
jmp LBB0_47
LBB0_21:
movb $0, 6(%rbx)
movq _U8_STATE_HANGUL_LV@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq -48(%rbp), %rax ## 8-byte Reload
movq %rcx, (%rax)
movl $6, %eax
jmp LBB0_48
LBB0_22:
xorl %edi, %edi
callq _U8_HANGUL_JAMO_V
testq %rax, %rax
je LBB0_26
## %bb.23:
movq -48(%rbp), %rax ## 8-byte Reload
movq (%rax), %rcx
movq _U8_STATE_HANGUL_L@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
jne LBB0_31
## %bb.24:
movq _U8_STATE_HANGUL_LV@GOTPCREL(%rip), %rcx
jmp LBB0_46
LBB0_26:
xorl %r12d, %r12d
xorl %edi, %edi
callq _U8_HANGUL_JAMO_T
testq %rax, %rax
je LBB0_44
## %bb.27:
movq -48(%rbp), %rax ## 8-byte Reload
movq (%rax), %rcx
movq _U8_STATE_HANGUL_LV@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
jne LBB0_45
## %bb.28:
movq _U8_STATE_HANGUL_LVT@GOTPCREL(%rip), %rcx
jmp LBB0_46
LBB0_29:
cmpb %al, %r14b
jne LBB0_33
## %bb.30:
leaq (%r11,%rdx,8), %rax
addq $8, %rax
incq %rdx
addq (%rax,%rsi,8), %rdx
jmp LBB0_34
LBB0_31:
movq _U8_STATE_HANGUL_V@GOTPCREL(%rip), %rcx
jmp LBB0_46
LBB0_33:
movq _U8_DECOMP_CANONICAL@GOTPCREL(%rip), %rcx
xorl %r8d, %r8d
cmpb %al, (%rcx)
sete %r8b
addq %r8, %rdx
LBB0_34:
movq %r10, %rax
subq %rdx, %rax
jbe LBB0_37
## %bb.35:
leaq 1(%rdx), %rcx
cmpq %rcx, %r10
jne LBB0_38
## %bb.36:
xorl %ecx, %ecx
jmp LBB0_41
LBB0_37:
xorl %eax, %eax
jmp LBB0_43
LBB0_38:
leaq 1(%rbx), %r8
leaq (%rdx,%rsi), %r10
movq %rax, %r11
andq $-2, %r11
negq %r11
xorl %ecx, %ecx
LBB0_39: ## =>This Inner Loop Header: Depth=1
movq (%r9), %r14
movq (%r14,%rdi,8), %r14
movzbl (%r14,%r10,8), %r14d
movb %r14b, -1(%r8)
movq (%r9), %r14
movq (%r14,%rdi,8), %r14
movzbl 8(%r14,%r10,8), %r14d
movb %r14b, (%r8)
addq $2, %r8
addq $-2, %rcx
addq $2, %r10
cmpq %rcx, %r11
jne LBB0_39
## %bb.40:
subq %rcx, %rdx
negq %rcx
LBB0_41:
testb $1, %al
je LBB0_43
## %bb.42:
movq (%r9), %r8
shlq $3, %rdx
addq (%r8,%rdi,8), %rdx
movzbl (%rdx,%rsi,8), %edx
movb %dl, (%rbx,%rcx)
LBB0_43:
movb $0, (%rbx,%rax)
jmp LBB0_48
LBB0_44:
movq -64(%rbp), %rdi ## 8-byte Reload
movq -48(%rbp), %r9 ## 8-byte Reload
movl -52(%rbp), %ecx ## 4-byte Reload
movq -72(%rbp), %r8 ## 8-byte Reload
jmp LBB0_8
LBB0_45:
movq _U8_STATE_HANGUL_T@GOTPCREL(%rip), %rcx
LBB0_46:
movq (%rcx), %rcx
LBB0_47:
movq %rcx, (%rax)
movl $3, %eax
LBB0_48:
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _U8_HANGUL_SYL_FIRST,8,3 ## @U8_HANGUL_SYL_FIRST
.comm _U8_HANGUL_JAMO_L_FIRST,1,0 ## @U8_HANGUL_JAMO_L_FIRST
.comm _U8_HANGUL_VT_COUNT,1,0 ## @U8_HANGUL_VT_COUNT
.comm _U8_HANGUL_JAMO_V_FIRST,1,0 ## @U8_HANGUL_JAMO_V_FIRST
.comm _U8_HANGUL_T_COUNT,1,0 ## @U8_HANGUL_T_COUNT
.comm _U8_HANGUL_JAMO_T_FIRST,8,3 ## @U8_HANGUL_JAMO_T_FIRST
.comm _U8_STATE_HANGUL_LVT,8,3 ## @U8_STATE_HANGUL_LVT
.comm _U8_STATE_HANGUL_LV,8,3 ## @U8_STATE_HANGUL_LV
.comm _U8_STATE_HANGUL_L,8,3 ## @U8_STATE_HANGUL_L
.comm _U8_STATE_HANGUL_V,8,3 ## @U8_STATE_HANGUL_V
.comm _U8_STATE_HANGUL_T,8,3 ## @U8_STATE_HANGUL_T
.comm _U8_STATE_START,8,3 ## @U8_STATE_START
.comm _u8_common_b1_tbl,8,3 ## @u8_common_b1_tbl
.comm _U8_TBL_ELEMENT_NOT_DEF,1,0 ## @U8_TBL_ELEMENT_NOT_DEF
.comm _u8_decomp_b2_tbl,8,3 ## @u8_decomp_b2_tbl
.comm _u8_decomp_b3_tbl,8,3 ## @u8_decomp_b3_tbl
.comm _U8_16BIT_TABLE_INDICATOR,1,0 ## @U8_16BIT_TABLE_INDICATOR
.comm _u8_decomp_b4_16bit_tbl,8,3 ## @u8_decomp_b4_16bit_tbl
.comm _u8_decomp_b4_tbl,8,3 ## @u8_decomp_b4_tbl
.comm _u8_decomp_final_tbl,8,3 ## @u8_decomp_final_tbl
.comm _U8_DECOMP_BOTH,1,0 ## @U8_DECOMP_BOTH
.comm _U8_DECOMP_CANONICAL,1,0 ## @U8_DECOMP_CANONICAL
.no_dead_strip _do_decomp
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function do_decomp
_do_decomp: ; @do_decomp
.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
ldrsb x1, [x2]
cmp w3, #4
b.eq LBB0_7
; %bb.1:
cmp w3, #3
b.eq LBB0_4
; %bb.2:
cmp w3, #2
b.ne LBB0_16
; %bb.3:
mov x8, #0 ; =0x0
mov w23, #0 ; =0x0
strb w1, [x19]
ldrb w22, [x2, #1]
strb w22, [x19, #1]
strb wzr, [x19, #2]
mov x21, x1
b LBB0_8
LBB0_4:
mov x24, x4
mov x25, x3
mov x20, x5
mov x26, x0
ldrsb w8, [x2, #1]
mov x21, x2
ldrsb w3, [x2, #2]
mov w0, #0 ; =0x0
; kill: def $w1 killed $w1 killed $x1
mov x2, x8
bl _U8_PUT_3BYTES_INTO_UTF32
mov w0, #0 ; =0x0
bl _U8_HANGUL_SYLLABLE
cbz x0, LBB0_17
; %bb.5:
Lloh0:
adrp x8, _U8_HANGUL_SYL_FIRST@GOTPAGE
Lloh1:
ldr x8, [x8, _U8_HANGUL_SYL_FIRST@GOTPAGEOFF]
Lloh2:
adrp x9, _U8_HANGUL_JAMO_L_FIRST@GOTPAGE
Lloh3:
ldr x9, [x9, _U8_HANGUL_JAMO_L_FIRST@GOTPAGEOFF]
ldrb w8, [x8]
ldrb w9, [x9]
neg w8, w8
Lloh4:
adrp x10, _U8_HANGUL_VT_COUNT@GOTPAGE
Lloh5:
ldr x10, [x10, _U8_HANGUL_VT_COUNT@GOTPAGEOFF]
ldrb w10, [x10]
sxtb w8, w8
sxtb w11, w10
sxth w12, w8
sdiv w11, w12, w11
Lloh6:
adrp x12, _U8_HANGUL_JAMO_V_FIRST@GOTPAGE
Lloh7:
ldr x12, [x12, _U8_HANGUL_JAMO_V_FIRST@GOTPAGEOFF]
add w9, w9, w11
ldrb w12, [x12]
msub w10, w11, w10, w8
Lloh8:
adrp x11, _U8_HANGUL_T_COUNT@GOTPAGE
Lloh9:
ldr x11, [x11, _U8_HANGUL_T_COUNT@GOTPAGEOFF]
Lloh10:
ldrsb w11, [x11]
sxtb w10, w10
sdiv w10, w10, w11
add w22, w10, w12
sdiv w10, w8, w11
msub w21, w10, w11, w8
sxtb w4, w9
mov x0, x19
mov w1, #0 ; =0x0
mov w2, #1 ; =0x1
mov w3, #2 ; =0x2
bl _U8_SAVE_HANGUL_AS_UTF8
sxtb w4, w22
mov x0, x19
mov w1, #3 ; =0x3
mov w2, #4 ; =0x4
mov w3, #5 ; =0x5
bl _U8_SAVE_HANGUL_AS_UTF8
cbz w21, LBB0_19
; %bb.6:
Lloh11:
adrp x8, _U8_HANGUL_JAMO_T_FIRST@GOTPAGE
Lloh12:
ldr x8, [x8, _U8_HANGUL_JAMO_T_FIRST@GOTPAGEOFF]
Lloh13:
ldr w8, [x8]
add w8, w8, w21
sxtb w4, w8
mov x0, x19
mov w1, #6 ; =0x6
mov w2, #7 ; =0x7
mov w3, #8 ; =0x8
bl _U8_SAVE_HANGUL_AS_UTF8
strb wzr, [x19, #9]
Lloh14:
adrp x8, _U8_STATE_HANGUL_LVT@GOTPAGE
Lloh15:
ldr x8, [x8, _U8_STATE_HANGUL_LVT@GOTPAGEOFF]
Lloh16:
ldr x8, [x8]
str x8, [x20]
mov w0, #9 ; =0x9
b LBB0_26
LBB0_7:
strb w1, [x19]
ldrb w23, [x2, #1]
strb w23, [x19, #1]
ldrb w21, [x2, #2]
strb w21, [x19, #2]
ldrb w22, [x2, #3]
strb w22, [x19, #3]
strb wzr, [x19, #4]
mov x8, x1
LBB0_8:
Lloh17:
adrp x9, _U8_STATE_START@GOTPAGE
Lloh18:
ldr x9, [x9, _U8_STATE_START@GOTPAGEOFF]
Lloh19:
ldr x9, [x9]
str x9, [x5]
Lloh20:
adrp x9, _u8_common_b1_tbl@GOTPAGE
Lloh21:
ldr x9, [x9, _u8_common_b1_tbl@GOTPAGEOFF]
Lloh22:
ldr x9, [x9]
ldr x9, [x9, x0, lsl #3]
ldrb w8, [x9, x8]
Lloh23:
adrp x9, _U8_TBL_ELEMENT_NOT_DEF@GOTPAGE
Lloh24:
ldr x9, [x9, _U8_TBL_ELEMENT_NOT_DEF@GOTPAGEOFF]
ldrb w9, [x9]
cmp w8, w9
b.eq LBB0_15
; %bb.9:
sxtb x8, w8
Lloh25:
adrp x10, _u8_decomp_b2_tbl@GOTPAGE
Lloh26:
ldr x10, [x10, _u8_decomp_b2_tbl@GOTPAGEOFF]
Lloh27:
ldr x10, [x10]
ldr x10, [x10, x0, lsl #3]
ldr x8, [x10, x8, lsl #3]
sxtb x10, w23
ldrb w8, [x8, x10]
cmp w8, w9
b.eq LBB0_15
; %bb.10:
sxtb x8, w8
Lloh28:
adrp x10, _u8_decomp_b3_tbl@GOTPAGE
Lloh29:
ldr x10, [x10, _u8_decomp_b3_tbl@GOTPAGEOFF]
Lloh30:
ldr x10, [x10]
ldr x10, [x10, x0, lsl #3]
ldr x8, [x10, x8, lsl #3]
sbfiz x10, x21, #1, #8
ldrb w10, [x8, x10]
cmp w10, w9
b.eq LBB0_15
; %bb.11:
sxtb w9, w10
Lloh31:
adrp x10, _U8_16BIT_TABLE_INDICATOR@GOTPAGE
Lloh32:
ldr x10, [x10, _U8_16BIT_TABLE_INDICATOR@GOTPAGEOFF]
Lloh33:
ldrsb w10, [x10]
cmp w9, w10
csel w10, wzr, w10, lt
Lloh34:
adrp x11, _u8_decomp_b4_tbl@GOTPAGE
Lloh35:
ldr x11, [x11, _u8_decomp_b4_tbl@GOTPAGEOFF]
Lloh36:
adrp x12, _u8_decomp_b4_16bit_tbl@GOTPAGE
Lloh37:
ldr x12, [x12, _u8_decomp_b4_16bit_tbl@GOTPAGEOFF]
csel x11, x11, x12, lt
sub w9, w9, w10
ldr x10, [x11]
ldr x10, [x10, x0, lsl #3]
sxtb x9, w9
ldr x9, [x10, x9, lsl #3]
add x10, x9, w22, sxtb #3
ldp x11, x9, [x10]
cmp x11, x9
b.hs LBB0_15
; %bb.12:
sxtb x10, w21
add x8, x8, x10, lsl #1
ldrsb x10, [x8, #1]
Lloh38:
adrp x8, _u8_decomp_final_tbl@GOTPAGE
Lloh39:
ldr x8, [x8, _u8_decomp_final_tbl@GOTPAGEOFF]
ldr x12, [x8]
ldr x12, [x12, x0, lsl #3]
add x13, x12, x11, lsl #3
ldr x13, [x13, x10, lsl #3]
and w13, w13, #0xff
Lloh40:
adrp x14, _U8_DECOMP_BOTH@GOTPAGE
Lloh41:
ldr x14, [x14, _U8_DECOMP_BOTH@GOTPAGEOFF]
ldrb w14, [x14]
cbz x4, LBB0_27
; %bb.13:
sxtb w12, w14
cmp w12, w13, sxtb
b.ge LBB0_15
; %bb.14:
add x11, x11, #1
b LBB0_30
LBB0_15:
mov w0, w3
b LBB0_26
LBB0_16:
strb w1, [x19]
strb wzr, [x19, #1]
Lloh42:
adrp x8, _U8_STATE_START@GOTPAGE
Lloh43:
ldr x8, [x8, _U8_STATE_START@GOTPAGEOFF]
Lloh44:
ldr x8, [x8]
str x8, [x5]
mov w0, #1 ; =0x1
b LBB0_26
LBB0_17:
mov x8, x21
ldrb w23, [x21]
strb w23, [x19]
ldrb w21, [x21, #1]
strb w21, [x19, #1]
ldrb w22, [x8, #2]
strb w22, [x19, #2]
strb wzr, [x19, #3]
bl _U8_HANGUL_JAMO_L
cbz x0, LBB0_20
; %bb.18:
Lloh45:
adrp x8, _U8_STATE_HANGUL_L@GOTPAGE
Lloh46:
ldr x8, [x8, _U8_STATE_HANGUL_L@GOTPAGEOFF]
b LBB0_25
LBB0_19:
strb wzr, [x19, #6]
Lloh47:
adrp x8, _U8_STATE_HANGUL_LV@GOTPAGE
Lloh48:
ldr x8, [x8, _U8_STATE_HANGUL_LV@GOTPAGEOFF]
Lloh49:
ldr x8, [x8]
str x8, [x20]
mov w0, #6 ; =0x6
b LBB0_26
LBB0_20:
bl _U8_HANGUL_JAMO_V
cbz x0, LBB0_22
; %bb.21:
ldr x8, [x20]
Lloh50:
adrp x9, _U8_STATE_HANGUL_L@GOTPAGE
Lloh51:
ldr x9, [x9, _U8_STATE_HANGUL_L@GOTPAGEOFF]
Lloh52:
adrp x10, _U8_STATE_HANGUL_LV@GOTPAGE
Lloh53:
ldr x10, [x10, _U8_STATE_HANGUL_LV@GOTPAGEOFF]
Lloh54:
adrp x11, _U8_STATE_HANGUL_V@GOTPAGE
Lloh55:
ldr x11, [x11, _U8_STATE_HANGUL_V@GOTPAGEOFF]
b LBB0_24
LBB0_22:
bl _U8_HANGUL_JAMO_T
cbz x0, LBB0_36
; %bb.23:
ldr x8, [x20]
Lloh56:
adrp x9, _U8_STATE_HANGUL_LV@GOTPAGE
Lloh57:
ldr x9, [x9, _U8_STATE_HANGUL_LV@GOTPAGEOFF]
Lloh58:
adrp x10, _U8_STATE_HANGUL_LVT@GOTPAGE
Lloh59:
ldr x10, [x10, _U8_STATE_HANGUL_LVT@GOTPAGEOFF]
Lloh60:
adrp x11, _U8_STATE_HANGUL_T@GOTPAGE
Lloh61:
ldr x11, [x11, _U8_STATE_HANGUL_T@GOTPAGEOFF]
LBB0_24:
ldr x9, [x9]
cmp x8, x9
csel x8, x10, x11, eq
LBB0_25:
ldr x8, [x8]
str x8, [x20]
mov w0, #3 ; =0x3
LBB0_26:
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_27:
cmp w14, w13
b.ne LBB0_29
; %bb.28:
add x11, x11, #1
add x12, x12, x11, lsl #3
ldr x12, [x12, x10, lsl #3]
add x11, x12, x11
b LBB0_30
LBB0_29:
Lloh62:
adrp x12, _U8_DECOMP_CANONICAL@GOTPAGE
Lloh63:
ldr x12, [x12, _U8_DECOMP_CANONICAL@GOTPAGEOFF]
ldrb w12, [x12]
cmp w12, w13
cinc x11, x11, eq
LBB0_30:
subs x9, x9, x11
b.ls LBB0_34
; %bb.31:
lsl x11, x11, #3
add x10, x11, x10, lsl #3
mov x11, x19
mov x12, x9
LBB0_32: ; =>This Inner Loop Header: Depth=1
ldr x13, [x8]
ldr x13, [x13, x0, lsl #3]
ldr x13, [x13, x10]
add x10, x10, #8
strb w13, [x11], #1
subs x12, x12, #1
b.ne LBB0_32
; %bb.33:
mov x0, x9
b LBB0_35
LBB0_34:
mov x0, #0 ; =0x0
LBB0_35:
strb wzr, [x19, x0]
b LBB0_26
LBB0_36:
mov x8, #0 ; =0x0
mov x0, x26
mov x5, x20
mov x3, x25
mov x4, x24
b LBB0_8
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGot Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30
.loh AdrpLdrGot Lloh36, Lloh37
.loh AdrpLdrGot Lloh34, Lloh35
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.loh AdrpLdrGot Lloh40, Lloh41
.loh AdrpLdrGot Lloh38, Lloh39
.loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44
.loh AdrpLdrGot Lloh45, Lloh46
.loh AdrpLdrGotLdr Lloh47, Lloh48, Lloh49
.loh AdrpLdrGot Lloh54, Lloh55
.loh AdrpLdrGot Lloh52, Lloh53
.loh AdrpLdrGot Lloh50, Lloh51
.loh AdrpLdrGot Lloh60, Lloh61
.loh AdrpLdrGot Lloh58, Lloh59
.loh AdrpLdrGot Lloh56, Lloh57
.loh AdrpLdrGot Lloh62, Lloh63
.cfi_endproc
; -- End function
.comm _U8_HANGUL_SYL_FIRST,8,3 ; @U8_HANGUL_SYL_FIRST
.comm _U8_HANGUL_JAMO_L_FIRST,1,0 ; @U8_HANGUL_JAMO_L_FIRST
.comm _U8_HANGUL_VT_COUNT,1,0 ; @U8_HANGUL_VT_COUNT
.comm _U8_HANGUL_JAMO_V_FIRST,1,0 ; @U8_HANGUL_JAMO_V_FIRST
.comm _U8_HANGUL_T_COUNT,1,0 ; @U8_HANGUL_T_COUNT
.comm _U8_HANGUL_JAMO_T_FIRST,8,3 ; @U8_HANGUL_JAMO_T_FIRST
.comm _U8_STATE_HANGUL_LVT,8,3 ; @U8_STATE_HANGUL_LVT
.comm _U8_STATE_HANGUL_LV,8,3 ; @U8_STATE_HANGUL_LV
.comm _U8_STATE_HANGUL_L,8,3 ; @U8_STATE_HANGUL_L
.comm _U8_STATE_HANGUL_V,8,3 ; @U8_STATE_HANGUL_V
.comm _U8_STATE_HANGUL_T,8,3 ; @U8_STATE_HANGUL_T
.comm _U8_STATE_START,8,3 ; @U8_STATE_START
.comm _u8_common_b1_tbl,8,3 ; @u8_common_b1_tbl
.comm _U8_TBL_ELEMENT_NOT_DEF,1,0 ; @U8_TBL_ELEMENT_NOT_DEF
.comm _u8_decomp_b2_tbl,8,3 ; @u8_decomp_b2_tbl
.comm _u8_decomp_b3_tbl,8,3 ; @u8_decomp_b3_tbl
.comm _U8_16BIT_TABLE_INDICATOR,1,0 ; @U8_16BIT_TABLE_INDICATOR
.comm _u8_decomp_b4_16bit_tbl,8,3 ; @u8_decomp_b4_16bit_tbl
.comm _u8_decomp_b4_tbl,8,3 ; @u8_decomp_b4_tbl
.comm _u8_decomp_final_tbl,8,3 ; @u8_decomp_final_tbl
.comm _U8_DECOMP_BOTH,1,0 ; @U8_DECOMP_BOTH
.comm _U8_DECOMP_CANONICAL,1,0 ; @U8_DECOMP_CANONICAL
.no_dead_strip _do_decomp
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function gfx_v8_0_get_csb_buffer
_gfx_v8_0_get_csb_buffer: ## @gfx_v8_0_get_csb_buffer
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %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 %rdi, -48(%rbp) ## 8-byte Spill
testq %rsi, %rsi
je LBB0_13
## %bb.1:
movq -48(%rbp), %rax ## 8-byte Reload
cmpq $0, 8(%rax)
je LBB0_13
## %bb.2:
movq %rsi, %r13
movq _PACKET3_PREAMBLE_CNTL@GOTPCREL(%rip), %rax
movl (%rax), %edi
xorl %esi, %esi
callq _PACKET3
movl %eax, %edi
callq _cpu_to_le32
movq %rax, (%r13)
movq _PACKET3_PREAMBLE_BEGIN_CLEAR_STATE@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _cpu_to_le32
movq %rax, -8(%r13)
movq _PACKET3_CONTEXT_CONTROL@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl $1, %esi
callq _PACKET3
movl %eax, %edi
callq _cpu_to_le32
movq %rax, (%r13)
movl $-2147483648, %edi ## imm = 0x80000000
callq _cpu_to_le32
movq %rax, 8(%r13)
movl $-2147483648, %edi ## imm = 0x80000000
callq _cpu_to_le32
movq %rax, 16(%r13)
movq -48(%rbp), %rax ## 8-byte Reload
movq 8(%rax), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
movq 8(%rax), %r14
testq %r14, %r14
je LBB0_3
## %bb.4:
leaq 16(%r13), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
movl $3, %r15d
movq %r13, -72(%rbp) ## 8-byte Spill
jmp LBB0_5
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_5 Depth=1
leaq (%r12,%rbx), %r15
addq $2, %r15
LBB0_11: ## in Loop: Header=BB0_5 Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
movq 24(%rax), %r14
addq $16, %rax
movq %rax, -56(%rbp) ## 8-byte Spill
testq %r14, %r14
je LBB0_12
LBB0_5: ## =>This Loop Header: Depth=1
## Child Loop BB0_6 Depth 2
## Child Loop BB0_8 Depth 3
cmpq $0, (%r14)
je LBB0_11
.p2align 4, 0x90
LBB0_6: ## Parent Loop BB0_5 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_8 Depth 3
movq -56(%rbp), %rax ## 8-byte Reload
movq (%rax), %rax
movq _SECT_CONTEXT@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_13
## %bb.7: ## in Loop: Header=BB0_6 Depth=2
movq %r15, %r12
movq _PACKET3_SET_CONTEXT_REG@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl 8(%r14), %esi
callq _PACKET3
movl %eax, %edi
callq _cpu_to_le32
movq %rax, (%r13,%r15,8)
movl 12(%r14), %edi
movq _PACKET3_SET_CONTEXT_REG_START@GOTPCREL(%rip), %rax
subl (%rax), %edi
callq _cpu_to_le32
addq $2, %r15
movq %rax, 8(%r13,%r12,8)
movq -64(%rbp), %rax ## 8-byte Reload
leaq (%rax,%r12,8), %r13
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_8: ## Parent Loop BB0_5 Depth=1
## Parent Loop BB0_6 Depth=2
## => This Inner Loop Header: Depth=3
movq (%r14), %rax
movl (%rax,%rbx,4), %edi
callq _cpu_to_le32
movq %rax, (%r13,%rbx,8)
incq %rbx
movslq 8(%r14), %rax
cmpq %rax, %rbx
jbe LBB0_8
## %bb.9: ## in Loop: Header=BB0_6 Depth=2
addq %rbx, %r15
cmpq $0, 16(%r14)
leaq 16(%r14), %r14
movq -72(%rbp), %r13 ## 8-byte Reload
jne LBB0_6
jmp LBB0_10
LBB0_3:
movl $3, %r15d
LBB0_12:
movq _PACKET3_SET_CONTEXT_REG@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl $2, %esi
callq _PACKET3
movl %eax, %edi
callq _cpu_to_le32
movq %rax, (%r13,%r15,8)
movq _mmPA_SC_RASTER_CONFIG@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _PACKET3_SET_CONTEXT_REG_START@GOTPCREL(%rip), %rax
subl (%rax), %edi
callq _cpu_to_le32
movq %rax, 8(%r13,%r15,8)
movq -48(%rbp), %rbx ## 8-byte Reload
movq (%rbx), %rax
movq (%rax), %rax
movl (%rax), %edi
callq _cpu_to_le32
movq %rax, 16(%r13,%r15,8)
movq (%rbx), %rax
movq (%rax), %rax
movl 4(%rax), %edi
callq _cpu_to_le32
movq %rax, 24(%r13,%r15,8)
movq _PACKET3_PREAMBLE_CNTL@GOTPCREL(%rip), %rax
movl (%rax), %edi
xorl %esi, %esi
callq _PACKET3
movl %eax, %edi
callq _cpu_to_le32
movq %rax, 32(%r13,%r15,8)
movq _PACKET3_PREAMBLE_END_CLEAR_STATE@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _cpu_to_le32
movq %rax, 40(%r13,%r15,8)
movq _PACKET3_CLEAR_STATE@GOTPCREL(%rip), %rax
movl (%rax), %edi
xorl %esi, %esi
callq _PACKET3
movl %eax, %edi
callq _cpu_to_le32
movq %rax, 48(%r13,%r15,8)
xorl %edi, %edi
callq _cpu_to_le32
movq %rax, 56(%r13,%r15,8)
LBB0_13:
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PACKET3_PREAMBLE_CNTL,4,2 ## @PACKET3_PREAMBLE_CNTL
.comm _PACKET3_PREAMBLE_BEGIN_CLEAR_STATE,4,2 ## @PACKET3_PREAMBLE_BEGIN_CLEAR_STATE
.comm _PACKET3_CONTEXT_CONTROL,4,2 ## @PACKET3_CONTEXT_CONTROL
.comm _SECT_CONTEXT,8,3 ## @SECT_CONTEXT
.comm _PACKET3_SET_CONTEXT_REG,4,2 ## @PACKET3_SET_CONTEXT_REG
.comm _PACKET3_SET_CONTEXT_REG_START,4,2 ## @PACKET3_SET_CONTEXT_REG_START
.comm _mmPA_SC_RASTER_CONFIG,4,2 ## @mmPA_SC_RASTER_CONFIG
.comm _PACKET3_PREAMBLE_END_CLEAR_STATE,4,2 ## @PACKET3_PREAMBLE_END_CLEAR_STATE
.comm _PACKET3_CLEAR_STATE,4,2 ## @PACKET3_CLEAR_STATE
.no_dead_strip _gfx_v8_0_get_csb_buffer
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function gfx_v8_0_get_csb_buffer
_gfx_v8_0_get_csb_buffer: ; @gfx_v8_0_get_csb_buffer
.cfi_startproc
; %bb.0:
sub sp, sp, #112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
str x0, [sp, #8] ; 8-byte Folded Spill
cbz x1, LBB0_13
; %bb.1:
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x8, [x8, #8]
cbz x8, LBB0_13
; %bb.2:
mov x20, x1
Lloh0:
adrp x8, _PACKET3_PREAMBLE_CNTL@GOTPAGE
Lloh1:
ldr x8, [x8, _PACKET3_PREAMBLE_CNTL@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
mov w1, #0 ; =0x0
bl _PACKET3
bl _cpu_to_le32
str x0, [x20]
Lloh3:
adrp x8, _PACKET3_PREAMBLE_BEGIN_CLEAR_STATE@GOTPAGE
Lloh4:
ldr x8, [x8, _PACKET3_PREAMBLE_BEGIN_CLEAR_STATE@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
bl _cpu_to_le32
stur x0, [x20, #-8]
Lloh6:
adrp x8, _PACKET3_CONTEXT_CONTROL@GOTPAGE
Lloh7:
ldr x8, [x8, _PACKET3_CONTEXT_CONTROL@GOTPAGEOFF]
Lloh8:
ldr w0, [x8]
mov w1, #1 ; =0x1
bl _PACKET3
bl _cpu_to_le32
str x0, [x20]
mov w0, #-2147483648 ; =0x80000000
bl _cpu_to_le32
str x0, [x20, #8]
mov w0, #-2147483648 ; =0x80000000
bl _cpu_to_le32
str x0, [x20, #16]
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x24, [x8, #8]
ldr x27, [x24, #8]
cbz x27, LBB0_11
; %bb.3:
add x25, x20, #16
mov w21, #3 ; =0x3
Lloh9:
adrp x26, _SECT_CONTEXT@GOTPAGE
Lloh10:
ldr x26, [x26, _SECT_CONTEXT@GOTPAGEOFF]
b LBB0_6
LBB0_4: ; in Loop: Header=BB0_6 Depth=1
add x8, x28, x19
add x21, x8, #2
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
ldr x27, [x24, #24]
add x24, x24, #16
cbz x27, LBB0_12
LBB0_6: ; =>This Loop Header: Depth=1
; Child Loop BB0_7 Depth 2
; Child Loop BB0_9 Depth 3
ldr x8, [x27]
cbz x8, LBB0_5
LBB0_7: ; Parent Loop BB0_6 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_9 Depth 3
ldr x8, [x24]
ldr x9, [x26]
cmp x8, x9
b.ne LBB0_13
; %bb.8: ; in Loop: Header=BB0_7 Depth=2
mov x28, x21
Lloh11:
adrp x8, _PACKET3_SET_CONTEXT_REG@GOTPAGE
Lloh12:
ldr x8, [x8, _PACKET3_SET_CONTEXT_REG@GOTPAGEOFF]
Lloh13:
ldr w0, [x8]
ldr w1, [x27, #8]
bl _PACKET3
bl _cpu_to_le32
lsl x22, x21, #3
add x23, x20, x22
str x0, [x23]
ldr w8, [x27, #12]
Lloh14:
adrp x9, _PACKET3_SET_CONTEXT_REG_START@GOTPAGE
Lloh15:
ldr x9, [x9, _PACKET3_SET_CONTEXT_REG_START@GOTPAGEOFF]
Lloh16:
ldr w9, [x9]
sub w0, w8, w9
bl _cpu_to_le32
mov x19, #0 ; =0x0
add x21, x21, #2
str x0, [x23, #8]
add x22, x25, x22
LBB0_9: ; Parent Loop BB0_6 Depth=1
; Parent Loop BB0_7 Depth=2
; => This Inner Loop Header: Depth=3
ldr x8, [x27]
ldr w0, [x8, x19, lsl #2]
bl _cpu_to_le32
str x0, [x22, x19, lsl #3]
add x19, x19, #1
ldrsw x8, [x27, #8]
cmp x19, x8
b.ls LBB0_9
; %bb.10: ; in Loop: Header=BB0_7 Depth=2
ldr x8, [x27, #16]!
add x21, x21, x19
cbnz x8, LBB0_7
b LBB0_4
LBB0_11:
mov w21, #3 ; =0x3
LBB0_12:
Lloh17:
adrp x8, _PACKET3_SET_CONTEXT_REG@GOTPAGE
Lloh18:
ldr x8, [x8, _PACKET3_SET_CONTEXT_REG@GOTPAGEOFF]
Lloh19:
ldr w0, [x8]
mov w1, #2 ; =0x2
bl _PACKET3
bl _cpu_to_le32
add x20, x20, x21, lsl #3
str x0, [x20]
Lloh20:
adrp x8, _mmPA_SC_RASTER_CONFIG@GOTPAGE
Lloh21:
ldr x8, [x8, _mmPA_SC_RASTER_CONFIG@GOTPAGEOFF]
Lloh22:
ldr w8, [x8]
Lloh23:
adrp x9, _PACKET3_SET_CONTEXT_REG_START@GOTPAGE
Lloh24:
ldr x9, [x9, _PACKET3_SET_CONTEXT_REG_START@GOTPAGEOFF]
Lloh25:
ldr w9, [x9]
sub w0, w8, w9
bl _cpu_to_le32
str x0, [x20, #8]
ldr x19, [sp, #8] ; 8-byte Folded Reload
ldr x8, [x19]
ldr x8, [x8]
ldr w0, [x8]
bl _cpu_to_le32
str x0, [x20, #16]
ldr x8, [x19]
ldr x8, [x8]
ldr w0, [x8, #4]
bl _cpu_to_le32
str x0, [x20, #24]
Lloh26:
adrp x8, _PACKET3_PREAMBLE_CNTL@GOTPAGE
Lloh27:
ldr x8, [x8, _PACKET3_PREAMBLE_CNTL@GOTPAGEOFF]
Lloh28:
ldr w0, [x8]
mov w1, #0 ; =0x0
bl _PACKET3
bl _cpu_to_le32
str x0, [x20, #32]
Lloh29:
adrp x8, _PACKET3_PREAMBLE_END_CLEAR_STATE@GOTPAGE
Lloh30:
ldr x8, [x8, _PACKET3_PREAMBLE_END_CLEAR_STATE@GOTPAGEOFF]
Lloh31:
ldr w0, [x8]
bl _cpu_to_le32
str x0, [x20, #40]
Lloh32:
adrp x8, _PACKET3_CLEAR_STATE@GOTPAGE
Lloh33:
ldr x8, [x8, _PACKET3_CLEAR_STATE@GOTPAGEOFF]
Lloh34:
ldr w0, [x8]
mov w1, #0 ; =0x0
bl _PACKET3
bl _cpu_to_le32
str x0, [x20, #48]
mov w0, #0 ; =0x0
bl _cpu_to_le32
str x0, [x20, #56]
LBB0_13:
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 Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.cfi_endproc
; -- End function
.comm _PACKET3_PREAMBLE_CNTL,4,2 ; @PACKET3_PREAMBLE_CNTL
.comm _PACKET3_PREAMBLE_BEGIN_CLEAR_STATE,4,2 ; @PACKET3_PREAMBLE_BEGIN_CLEAR_STATE
.comm _PACKET3_CONTEXT_CONTROL,4,2 ; @PACKET3_CONTEXT_CONTROL
.comm _SECT_CONTEXT,8,3 ; @SECT_CONTEXT
.comm _PACKET3_SET_CONTEXT_REG,4,2 ; @PACKET3_SET_CONTEXT_REG
.comm _PACKET3_SET_CONTEXT_REG_START,4,2 ; @PACKET3_SET_CONTEXT_REG_START
.comm _mmPA_SC_RASTER_CONFIG,4,2 ; @mmPA_SC_RASTER_CONFIG
.comm _PACKET3_PREAMBLE_END_CLEAR_STATE,4,2 ; @PACKET3_PREAMBLE_END_CLEAR_STATE
.comm _PACKET3_CLEAR_STATE,4,2 ; @PACKET3_CLEAR_STATE
.no_dead_strip _gfx_v8_0_get_csb_buffer
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _migrateCommand ## -- Begin function migrateCommand
.p2align 4, 0x90
_migrateCommand: ## @migrateCommand
.cfi_startproc
## %bb.0:
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 (%rdi), %eax
movq %rax, -48(%rbp) ## 8-byte Spill
cmpl $7, %eax
jl LBB0_13
## %bb.1:
movl $3, -52(%rbp) ## 4-byte Folded Spill
movl $1, %eax
movq %rax, -64(%rbp) ## 8-byte Spill
movl $6, %r13d
movq $0, -72(%rbp) ## 8-byte Folded Spill
jmp LBB0_4
.p2align 4, 0x90
LBB0_2: ## in Loop: Header=BB0_4 Depth=1
movq %r12, %rdi
LBB0_3: ## in Loop: Header=BB0_4 Depth=1
incl %r13d
cmpl -48(%rbp), %r13d ## 4-byte Folded Reload
jge LBB0_14
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq %rdi, %r12
movq 8(%rdi), %r15
movslq %r13d, %rbx
movq (%r15,%rbx,8), %rax
movq (%rax), %r14
movq %r14, %rdi
leaq L_.str(%rip), %rsi
callq _strcasecmp
testl %eax, %eax
je LBB0_2
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movq %r14, %rdi
leaq L_.str.1(%rip), %rsi
callq _strcasecmp
testl %eax, %eax
je LBB0_2
## %bb.6: ## in Loop: Header=BB0_4 Depth=1
movq %r14, %rdi
leaq L_.str.2(%rip), %rsi
callq _strcasecmp
testl %eax, %eax
je LBB0_11
## %bb.7: ## in Loop: Header=BB0_4 Depth=1
movq %r14, %rdi
leaq L_.str.3(%rip), %rsi
callq _strcasecmp
testl %eax, %eax
jne LBB0_29
## %bb.8: ## in Loop: Header=BB0_4 Depth=1
movq 24(%r15), %rax
movq (%rax), %rdi
callq _sdslen
testq %rax, %rax
movq %r12, %rdi
jne LBB0_30
## %bb.9: ## in Loop: Header=BB0_4 Depth=1
leal 1(%r13), %eax
movl %eax, -52(%rbp) ## 4-byte Spill
movl (%rdi), %eax
movq %rax, -48(%rbp) ## 8-byte Spill
addl %r13d, %eax
decl %eax
movq %rax, -64(%rbp) ## 8-byte Spill
jmp LBB0_3
LBB0_11: ## in Loop: Header=BB0_4 Depth=1
movq -48(%rbp), %rax ## 8-byte Reload
decl %eax
cmpl %eax, %r13d
jge LBB0_29
## %bb.12: ## in Loop: Header=BB0_4 Depth=1
incl %r13d
movq 8(%r15,%rbx,8), %rax
movq (%rax), %rax
movq %rax, -72(%rbp) ## 8-byte Spill
jmp LBB0_2
LBB0_13:
movl $1, %r15d
movl $3, %r12d
movq $0, -72(%rbp) ## 8-byte Folded Spill
jmp LBB0_15
LBB0_14:
movslq -52(%rbp), %r12 ## 4-byte Folded Reload
movq -64(%rbp), %r15 ## 8-byte Reload
LBB0_15:
movq 8(%rdi), %rax
movq 40(%rax), %rsi
leaq -80(%rbp), %rdx
movq %rdi, %r14
xorl %ecx, %ecx
callq _getLongFromObjectOrReply
movq _C_OK@GOTPCREL(%rip), %rbx
cmpq (%rbx), %rax
jne LBB0_28
## %bb.16:
movq 8(%r14), %rax
movq 32(%rax), %rsi
leaq -96(%rbp), %rdx
movq %r14, %rdi
xorl %ecx, %ecx
callq _getLongFromObjectOrReply
cmpq (%rbx), %rax
jne LBB0_28
## %bb.17:
movq %r14, -64(%rbp) ## 8-byte Spill
cmpq $0, -80(%rbp)
jg LBB0_19
## %bb.18:
movq $1000, -80(%rbp) ## imm = 0x3E8
LBB0_19:
leal (,%r15,8), %r14d
movq %r15, %rbx
xorl %r13d, %r13d
xorl %edi, %edi
movl %r14d, %esi
callq _zrealloc
movq %rax, %r15
xorl %edi, %edi
movl %r14d, %esi
callq _zrealloc
movq %rax, -48(%rbp) ## 8-byte Spill
movq %rbx, %rax
testl %eax, %eax
movq -64(%rbp), %rbx ## 8-byte Reload
jle LBB0_27
## %bb.20:
movl %eax, %r14d
jmp LBB0_22
.p2align 4, 0x90
LBB0_21: ## in Loop: Header=BB0_22 Depth=1
incq %r12
decq %r14
je LBB0_24
LBB0_22: ## =>This Inner Loop Header: Depth=1
movl 16(%rbx), %edi
movq 8(%rbx), %rax
movq (%rax,%r12,8), %rsi
callq _lookupKeyRead
movslq %r13d, %rcx
movq %rax, (%r15,%rcx,8)
testq %rax, %rax
je LBB0_21
## %bb.23: ## in Loop: Header=BB0_22 Depth=1
movq 8(%rbx), %rax
movq (%rax,%r12,8), %rax
movq -48(%rbp), %rdx ## 8-byte Reload
movq %rax, (%rdx,%rcx,8)
incl %ecx
movl %ecx, %r13d
jmp LBB0_21
LBB0_24:
testl %r13d, %r13d
je LBB0_27
## %bb.25:
movq 8(%rbx), %rax
movq 8(%rax), %rsi
movq 16(%rax), %rdx
movq -80(%rbp), %rcx
movq %rbx, %rdi
callq _migrateGetSocket
testq %rax, %rax
je LBB0_31
## %bb.26:
movq %r15, %rdi
callq _zfree
movq -48(%rbp), %rdi ## 8-byte Reload
callq _zfree
jmp LBB0_28
LBB0_27:
movq %r15, %rdi
callq _zfree
movq -48(%rbp), %rdi ## 8-byte Reload
callq _zfree
leaq L_.str.5(%rip), %rdi
callq _sdsnew
movq %rbx, %rdi
movl %eax, %esi
callq _addReplySds
LBB0_28:
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_29:
movq _shared@GOTPCREL(%rip), %rax
movl 4(%rax), %esi
movq %r12, %rdi
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _addReply ## TAILCALL
LBB0_30:
leaq L_.str.4(%rip), %rsi
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _addReplyError ## TAILCALL
LBB0_31:
xorl %eax, %eax
callq _sdsempty
leaq -88(%rbp), %rdi
movl %eax, %esi
callq _rioInitWithBuffer
movq -72(%rbp), %r15 ## 8-byte Reload
testq %r15, %r15
je LBB0_33
## %bb.32:
leaq -88(%rbp), %r14
movq %r14, %rdi
movl $42, %esi
movl $2, %edx
callq _rioWriteBulkCount
movq %rbx, %rdi
xorl %esi, %esi
movl %eax, %edx
callq _serverAssertWithInfo
leaq L_.str.6(%rip), %rsi
movq %r14, %rdi
movl $4, %edx
callq _rioWriteBulkString
movq %rbx, %rdi
xorl %esi, %esi
movl %eax, %edx
callq _serverAssertWithInfo
movq %r15, %rdi
callq _sdslen
movq %r14, %rdi
movq %r15, %rsi
movl %eax, %edx
callq _rioWriteBulkString
movq %rbx, %rdi
xorl %esi, %esi
movl %eax, %edx
callq _serverAssertWithInfo
.p2align 4, 0x90
LBB0_33: ## =>This Inner Loop Header: Depth=1
jmp LBB0_33
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "copy"
L_.str.1: ## @.str.1
.asciz "replace"
L_.str.2: ## @.str.2
.asciz "auth"
.comm _shared,8,2 ## @shared
L_.str.3: ## @.str.3
.asciz "keys"
L_.str.4: ## @.str.4
.asciz "When using MIGRATE KEYS option, the key argument must be set to the empty string"
.comm _C_OK,8,3 ## @C_OK
L_.str.5: ## @.str.5
.asciz "+NOKEY\r\n"
L_.str.6: ## @.str.6
.asciz "AUTH"
.comm _server,16,3 ## @server
.comm _errno,8,3 ## @errno
.comm _ETIMEDOUT,8,3 ## @ETIMEDOUT
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _migrateCommand ; -- Begin function migrateCommand
.p2align 2
_migrateCommand: ; @migrateCommand
.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 w28, [x0]
cmp w28, #7
b.lt LBB0_11
; %bb.1:
str xzr, [sp] ; 8-byte Folded Spill
mov w20, #3 ; =0x3
mov w26, #1 ; =0x1
mov w27, #6 ; =0x6
Lloh0:
adrp x21, l_.str@PAGE
Lloh1:
add x21, x21, l_.str@PAGEOFF
Lloh2:
adrp x22, l_.str.1@PAGE
Lloh3:
add x22, x22, l_.str.1@PAGEOFF
Lloh4:
adrp x23, l_.str.2@PAGE
Lloh5:
add x23, x23, l_.str.2@PAGEOFF
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add w27, w27, #1
cmp w27, w28
b.ge LBB0_12
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x24, [x19, #8]
ldr x8, [x24, w27, sxtw #3]
ldr x25, [x8]
mov x0, x25
mov x1, x21
bl _strcasecmp
cbz w0, LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov x0, x25
mov x1, x22
bl _strcasecmp
cbz w0, LBB0_2
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
mov x0, x25
mov x1, x23
bl _strcasecmp
cbz w0, LBB0_9
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
mov x0, x25
Lloh6:
adrp x1, l_.str.3@PAGE
Lloh7:
add x1, x1, l_.str.3@PAGEOFF
bl _strcasecmp
cbnz w0, LBB0_27
; %bb.7: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x24, #24]
ldr x0, [x8]
bl _sdslen
cbnz x0, LBB0_28
; %bb.8: ; in Loop: Header=BB0_3 Depth=1
add w20, w27, #1
ldr w28, [x19]
add w8, w27, w28
sub w26, w8, #1
b LBB0_2
LBB0_9: ; in Loop: Header=BB0_3 Depth=1
sub w8, w28, #1
cmp w27, w8
b.ge LBB0_27
; %bb.10: ; in Loop: Header=BB0_3 Depth=1
sxtw x8, w27
add x27, x8, #1
ldr x8, [x24, x27, lsl #3]
ldr x8, [x8]
str x8, [sp] ; 8-byte Folded Spill
; kill: def $w27 killed $w27 killed $x27 def $x27
b LBB0_2
LBB0_11:
mov x25, #0 ; =0x0
mov w26, #1 ; =0x1
mov w20, #3 ; =0x3
b LBB0_13
LBB0_12:
sxtw x20, w20
ldr x25, [sp] ; 8-byte Folded Reload
LBB0_13:
ldr x8, [x19, #8]
ldr x1, [x8, #40]
add x2, sp, #24
mov x0, x19
mov x3, #0 ; =0x0
bl _getLongFromObjectOrReply
Lloh8:
adrp x21, _C_OK@GOTPAGE
Lloh9:
ldr x21, [x21, _C_OK@GOTPAGEOFF]
ldr x8, [x21]
cmp x0, x8
b.ne LBB0_26
; %bb.14:
ldr x8, [x19, #8]
ldr x1, [x8, #32]
add x2, sp, #16
mov x0, x19
mov x3, #0 ; =0x0
bl _getLongFromObjectOrReply
ldr x8, [x21]
cmp x0, x8
b.ne LBB0_26
; %bb.15:
ldr x8, [sp, #24]
cmp x8, #0
b.gt LBB0_17
; %bb.16:
mov w8, #1000 ; =0x3e8
str x8, [sp, #24]
LBB0_17:
lsl w21, w26, #3
mov x0, #0 ; =0x0
mov x1, x21
bl _zrealloc
mov x22, x0
mov x0, #0 ; =0x0
mov x1, x21
bl _zrealloc
mov x21, x0
cmp w26, #1
b.lt LBB0_25
; %bb.18:
mov w23, #0 ; =0x0
lsl x20, x20, #3
mov w24, w26
b LBB0_20
LBB0_19: ; in Loop: Header=BB0_20 Depth=1
add x20, x20, #8
subs x24, x24, #1
b.eq LBB0_22
LBB0_20: ; =>This Inner Loop Header: Depth=1
ldr w0, [x19, #16]
ldr x8, [x19, #8]
ldr x1, [x8, x20]
bl _lookupKeyRead
str x0, [x22, w23, sxtw #3]
cbz x0, LBB0_19
; %bb.21: ; in Loop: Header=BB0_20 Depth=1
ldr x8, [x19, #8]
ldr x8, [x8, x20]
str x8, [x21, w23, sxtw #3]
add w23, w23, #1
b LBB0_19
LBB0_22:
cbz w23, LBB0_25
; %bb.23:
ldr x8, [x19, #8]
ldp x1, x2, [x8, #8]
ldr x3, [sp, #24]
mov x0, x19
bl _migrateGetSocket
cbz x0, LBB0_29
; %bb.24:
mov x0, x22
bl _zfree
mov x0, x21
bl _zfree
b LBB0_26
LBB0_25:
mov x0, x22
bl _zfree
mov x0, x21
bl _zfree
Lloh10:
adrp x0, l_.str.5@PAGE
Lloh11:
add x0, x0, l_.str.5@PAGEOFF
bl _sdsnew
mov x1, x0
mov x0, x19
bl _addReplySds
LBB0_26:
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_27:
Lloh12:
adrp x8, _shared@GOTPAGE
Lloh13:
ldr x8, [x8, _shared@GOTPAGEOFF]
Lloh14:
ldr w1, [x8, #4]
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
b _addReply
LBB0_28:
Lloh15:
adrp x1, l_.str.4@PAGE
Lloh16:
add x1, x1, l_.str.4@PAGEOFF
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
b _addReplyError
LBB0_29:
bl _sdsempty
mov x1, x0
add x0, sp, #8
bl _rioInitWithBuffer
cbz x25, LBB0_31
; %bb.30:
add x0, sp, #8
mov w1, #42 ; =0x2a
mov w2, #2 ; =0x2
bl _rioWriteBulkCount
mov x2, x0
mov x0, x19
mov x1, #0 ; =0x0
bl _serverAssertWithInfo
Lloh17:
adrp x1, l_.str.6@PAGE
Lloh18:
add x1, x1, l_.str.6@PAGEOFF
add x0, sp, #8
mov w2, #4 ; =0x4
bl _rioWriteBulkString
mov x2, x0
mov x0, x19
mov x1, #0 ; =0x0
bl _serverAssertWithInfo
mov x0, x25
bl _sdslen
mov x2, x0
add x0, sp, #8
mov x1, x25
; kill: def $w2 killed $w2 killed $x2
bl _rioWriteBulkString
mov x2, x0
mov x0, x19
mov x1, #0 ; =0x0
bl _serverAssertWithInfo
LBB0_31: ; =>This Inner Loop Header: Depth=1
b LBB0_31
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh17, Lloh18
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "copy"
l_.str.1: ; @.str.1
.asciz "replace"
l_.str.2: ; @.str.2
.asciz "auth"
.comm _shared,8,2 ; @shared
l_.str.3: ; @.str.3
.asciz "keys"
l_.str.4: ; @.str.4
.asciz "When using MIGRATE KEYS option, the key argument must be set to the empty string"
.comm _C_OK,8,3 ; @C_OK
l_.str.5: ; @.str.5
.asciz "+NOKEY\r\n"
l_.str.6: ; @.str.6
.asciz "AUTH"
.comm _server,16,3 ; @server
.comm _errno,8,3 ; @errno
.comm _ETIMEDOUT,8,3 ; @ETIMEDOUT
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function npc_mcam_alloc_entries
_npc_mcam_alloc_entries: ## @npc_mcam_alloc_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 $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %r12
movq %rdx, %r14
movl %esi, -84(%rbp) ## 4-byte Spill
movq %rdi, %r15
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _NPC_MAX_NONCONTIG_ENTRIES@GOTPCREL(%rip), %rax
movl (%rax), %eax
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, -80(%rbp) ## 8-byte Spill
movl $0, -60(%rbp)
leaq 48(%r15), %rbx
movq %rbx, %rdi
callq _mutex_lock
cmpl $0, (%r15)
je LBB0_1
## %bb.2:
cmpq $0, (%r14)
movq %r12, -72(%rbp) ## 8-byte Spill
je LBB0_4
## %bb.3:
leaq -56(%rbp), %rdx
leaq -52(%rbp), %rcx
leaq -60(%rbp), %r8
movq %r15, %rdi
movq %r14, %rsi
callq _npc_get_mcam_search_range_priority
cmpl $0, -60(%rbp)
sete %al
jmp LBB0_11
LBB0_1:
movq %rbx, %rdi
callq _mutex_unlock
movq _NPC_MCAM_ALLOC_FAILED@GOTPCREL(%rip), %rax
movl (%rax), %eax
jmp LBB0_55
LBB0_4:
movq 8(%r15), %rdi
movl 16(%r15), %esi
movl 20(%r15), %edx
callq _npc_mcam_get_free_count
movl %eax, %r12d
movq 8(%r15), %rdi
movl 24(%r15), %edx
xorl %esi, %esi
callq _npc_mcam_get_free_count
## kill: def $eax killed $eax def $rax
movl (%r15), %ecx
subl %eax, %ecx
subl %r12d, %ecx
movl 8(%r14), %edx
cmpl %edx, %ecx
jle LBB0_6
## %bb.5:
movl 24(%r15), %eax
movl %eax, -56(%rbp)
movl 16(%r15), %eax
movl %eax, -52(%rbp)
movb $1, %al
jmp LBB0_10
LBB0_6:
movl %eax, %esi
shrl $31, %esi
addl %eax, %esi
sarl %esi
movl %r12d, %eax
shrl $31, %eax
addl %r12d, %eax
sarl %eax
subl %esi, %eax
addl %ecx, %eax
cmpl %edx, %eax
jle LBB0_8
## %bb.7:
movl 24(%r15), %eax
movl %eax, %ecx
shrl $31, %ecx
addl %eax, %ecx
sarl %ecx
movl %ecx, -56(%rbp)
movl 20(%r15), %eax
movl 28(%r15), %ecx
movl %ecx, %edx
shrl $31, %edx
addl %ecx, %edx
sarl %edx
subl %edx, %eax
movl %eax, -52(%rbp)
movl $1, -60(%rbp)
jmp LBB0_9
LBB0_8:
movl $1, -60(%rbp)
movl $0, -56(%rbp)
movl 20(%r15), %eax
movl %eax, -52(%rbp)
LBB0_9:
xorl %eax, %eax
LBB0_10:
movq -72(%rbp), %r12 ## 8-byte Reload
LBB0_11:
movq %rbx, -96(%rbp) ## 8-byte Spill
jmp LBB0_12
LBB0_34: ## in Loop: Header=BB0_12 Depth=1
movl %edx, -56(%rbp)
movl 20(%r15), %eax
movl %eax, -52(%rbp)
movl $0, -60(%rbp)
movb $1, %al
.p2align 4, 0x90
LBB0_12: ## =>This Loop Header: Depth=1
## Child Loop BB0_21 Depth 2
testb $1, %al
je LBB0_13
## %bb.14: ## in Loop: Header=BB0_12 Depth=1
movq 8(%r15), %r13
cmpq $0, 16(%r14)
je LBB0_19
LBB0_16: ## in Loop: Header=BB0_12 Depth=1
movl -52(%rbp), %esi
movl -56(%rbp), %edx
movl 8(%r14), %ecx
movq %r13, %rdi
leaq -88(%rbp), %r8
callq _npc_mcam_find_zero_area
movl -88(%rbp), %ecx
movl %ecx, (%r12)
cmpl $0, -60(%rbp)
je LBB0_18
## %bb.17: ## in Loop: Header=BB0_12 Depth=1
addl %eax, %ecx
movl 20(%r15), %eax
subl %ecx, %eax
LBB0_18: ## in Loop: Header=BB0_12 Depth=1
movl %eax, 4(%r12)
LBB0_27: ## in Loop: Header=BB0_12 Depth=1
movq (%r14), %rcx
movq -72(%rbp), %r12 ## 8-byte Reload
movl (%r12), %eax
movl 8(%r14), %edx
testq %rcx, %rcx
je LBB0_28
## %bb.31: ## in Loop: Header=BB0_12 Depth=1
cmpl %edx, %eax
jge LBB0_38
## %bb.32: ## in Loop: Header=BB0_12 Depth=1
movq _NPC_MCAM_LOWER_PRIO@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
jne LBB0_35
## %bb.33: ## in Loop: Header=BB0_12 Depth=1
movl 12(%r14), %edx
incl %edx
cmpl %edx, -56(%rbp)
jne LBB0_34
LBB0_35: ## in Loop: Header=BB0_12 Depth=1
movq _NPC_MCAM_HIGHER_PRIO@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
jne LBB0_38
## %bb.36: ## in Loop: Header=BB0_12 Depth=1
movl -52(%rbp), %edx
subl -56(%rbp), %edx
movl 12(%r14), %ecx
cmpl %ecx, %edx
je LBB0_38
## %bb.37: ## in Loop: Header=BB0_12 Depth=1
movl $0, -56(%rbp)
movl %ecx, -52(%rbp)
movl $1, -60(%rbp)
xorl %eax, %eax
jmp LBB0_12
.p2align 4, 0x90
LBB0_13: ## in Loop: Header=BB0_12 Depth=1
movq 32(%r15), %r13
movl 20(%r15), %eax
movl %eax, %ecx
subl -56(%rbp), %ecx
subl -52(%rbp), %eax
movl %eax, -56(%rbp)
movl %ecx, -52(%rbp)
cmpq $0, 16(%r14)
jne LBB0_16
LBB0_19: ## in Loop: Header=BB0_12 Depth=1
movl $0, (%r12)
cmpl $0, 8(%r14)
jle LBB0_27
## %bb.20: ## in Loop: Header=BB0_12 Depth=1
movl -56(%rbp), %r12d
movl $1, %ebx
movl -52(%rbp), %esi
jmp LBB0_21
.p2align 4, 0x90
LBB0_24: ## in Loop: Header=BB0_21 Depth=2
movl %eax, %ecx
notl %ecx
addl 20(%r15), %ecx
LBB0_25: ## in Loop: Header=BB0_21 Depth=2
movq -72(%rbp), %rdx ## 8-byte Reload
incl %eax
movq -80(%rbp), %rdi ## 8-byte Reload
movl %ecx, -4(%rdi,%rbx,4)
incl (%rdx)
movl %eax, %r12d
LBB0_26: ## in Loop: Header=BB0_21 Depth=2
movslq 8(%r14), %rax
decq %rbx
cmpq %rax, %rbx
jg LBB0_27
LBB0_21: ## Parent Loop BB0_12 Depth=1
## => This Inner Loop Header: Depth=2
movq %r13, %rdi
movl %r12d, %edx
callq _find_next_zero_bit
movl -52(%rbp), %esi
cmpl %esi, %eax
jge LBB0_26
## %bb.22: ## in Loop: Header=BB0_21 Depth=2
cmpl $0, -60(%rbp)
jne LBB0_24
## %bb.23: ## in Loop: Header=BB0_21 Depth=2
movl %eax, %ecx
jmp LBB0_25
.p2align 4, 0x90
LBB0_28: ## in Loop: Header=BB0_12 Depth=1
cmpl %edx, %eax
jge LBB0_38
## %bb.29: ## in Loop: Header=BB0_12 Depth=1
movl -52(%rbp), %edx
subl -56(%rbp), %edx
movl 20(%r15), %ecx
cmpl %ecx, %edx
je LBB0_38
## %bb.30: ## in Loop: Header=BB0_12 Depth=1
movl $1, -60(%rbp)
movl $0, -56(%rbp)
movl %ecx, -52(%rbp)
xorl %eax, %eax
jmp LBB0_12
LBB0_38:
cmpq $0, 16(%r14)
je LBB0_39
## %bb.48:
testl %eax, %eax
jg LBB0_49
jmp LBB0_54
LBB0_39:
testl %eax, %eax
jle LBB0_54
## %bb.40:
xorl %ecx, %ecx
cmpl $1, %eax
jne LBB0_42
## %bb.41:
movq %rax, %rdi
movq -80(%rbp), %rbx ## 8-byte Reload
testb $1, %al
jne LBB0_46
jmp LBB0_47
LBB0_42:
movl %eax, %edx
andl $2147483646, %edx ## imm = 0x7FFFFFFE
movq 8(%r12), %rsi
movq %rax, %rdi
movq -80(%rbp), %rbx ## 8-byte Reload
.p2align 4, 0x90
LBB0_43: ## =>This Inner Loop Header: Depth=1
xorl %r8d, %r8d
cmpl $0, -60(%rbp)
leaq -1(%rdi), %r9
setne %r8b
movl -4(%rbx,%rdi,4), %r10d
movl %ecx, %r11d
cmoveq %r9, %r11
addl %ecx, %r8d
movl %r10d, (%rsi,%r11,4)
xorl %ecx, %ecx
cmpl $0, -60(%rbp)
movl -8(%rbx,%rdi,4), %r9d
leaq -2(%rdi), %rdi
movq %r8, %r10
cmoveq %rdi, %r10
setne %cl
addl %r8d, %ecx
movl %r9d, (%rsi,%r10,4)
addq $-2, %rdx
jne LBB0_43
## %bb.44:
movl %ecx, %ecx
testb $1, %al
je LBB0_47
LBB0_46:
leaq -1(%rdi), %rax
cmpl $0, -60(%rbp)
movl -4(%rbx,%rdi,4), %edx
movq 8(%r12), %rsi
cmoveq %rax, %rcx
movl %edx, (%rsi,%rcx,4)
LBB0_47:
movl (%r12), %eax
testl %eax, %eax
jle LBB0_54
LBB0_49:
xorl %ebx, %ebx
jmp LBB0_50
.p2align 4, 0x90
LBB0_52: ## in Loop: Header=BB0_50 Depth=1
movq 8(%r12), %rax
movq %r12, %r13
movl (%rax,%rbx,4), %r12d
LBB0_53: ## in Loop: Header=BB0_50 Depth=1
movq %r15, %rdi
movl %r12d, %esi
callq _npc_mcam_set_bit
movq 40(%r15), %rax
movslq %r12d, %rcx
movl -84(%rbp), %edx ## 4-byte Reload
movl %edx, (%rax,%rcx,4)
movq _NPC_MCAM_INVALID_MAP@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq 56(%r15), %rdx
movl %eax, (%rdx,%rcx,4)
incq %rbx
movslq (%r13), %rax
cmpq %rax, %rbx
movq %r13, %r12
jge LBB0_54
LBB0_50: ## =>This Inner Loop Header: Depth=1
cmpq $0, 16(%r14)
je LBB0_52
## %bb.51: ## in Loop: Header=BB0_50 Depth=1
movq %r12, %r13
movl 4(%r12), %r12d
addl %ebx, %r12d
jmp LBB0_53
LBB0_54:
movl (%r15), %eax
movl %eax, 16(%r12)
movq -96(%rbp), %rdi ## 8-byte Reload
callq _mutex_unlock
xorl %eax, %eax
LBB0_55:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_57
## %bb.56:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_57:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _NPC_MAX_NONCONTIG_ENTRIES,4,2 ## @NPC_MAX_NONCONTIG_ENTRIES
.comm _NPC_MCAM_ALLOC_FAILED,4,2 ## @NPC_MCAM_ALLOC_FAILED
.comm _NPC_MCAM_LOWER_PRIO,8,3 ## @NPC_MCAM_LOWER_PRIO
.comm _NPC_MCAM_HIGHER_PRIO,8,3 ## @NPC_MCAM_HIGHER_PRIO
.comm _NPC_MCAM_INVALID_MAP,4,2 ## @NPC_MCAM_INVALID_MAP
.no_dead_strip _npc_mcam_alloc_entries
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function npc_mcam_alloc_entries
_npc_mcam_alloc_entries: ; @npc_mcam_alloc_entries
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
sub sp, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x20, x3
mov x21, 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, #-88]
Lloh3:
adrp x8, _NPC_MAX_NONCONTIG_ENTRIES@GOTPAGE
Lloh4:
ldr x8, [x8, _NPC_MAX_NONCONTIG_ENTRIES@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
lsl x8, x8, #2
mov x9, x8
Lloh6:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh7:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x7fffffff0
sub x25, x9, x8
mov sp, x25
stur wzr, [x29, #-100]
add x0, x0, #48
bl _mutex_lock
ldr w8, [x19]
cbz w8, LBB0_3
; %bb.1:
ldr x8, [x21]
cbz x8, LBB0_4
; %bb.2:
sub x2, x29, #92
sub x3, x29, #96
sub x4, x29, #100
mov x0, x19
mov x1, x21
bl _npc_get_mcam_search_range_priority
ldur w8, [x29, #-100]
cmp w8, #0
cset w8, eq
tbz w8, #0, LBB0_9
b LBB0_24
LBB0_3:
add x0, x19, #48
bl _mutex_unlock
Lloh8:
adrp x8, _NPC_MCAM_ALLOC_FAILED@GOTPAGE
Lloh9:
ldr x8, [x8, _NPC_MCAM_ALLOC_FAILED@GOTPAGEOFF]
Lloh10:
ldr w0, [x8]
b LBB0_45
LBB0_4:
ldr x0, [x19, #8]
ldp w1, w2, [x19, #16]
bl _npc_mcam_get_free_count
mov x23, x0
ldr x0, [x19, #8]
ldr w2, [x19, #24]
mov w1, #0 ; =0x0
bl _npc_mcam_get_free_count
ldr w8, [x19]
add w9, w0, w23
sub w9, w8, w9
ldr w8, [x21, #8]
cmp w9, w8
b.le LBB0_6
; %bb.5:
ldr w9, [x19, #24]
ldr w8, [x19, #16]
stp w8, w9, [x29, #-96]
mov w8, #1 ; =0x1
tbz w8, #0, LBB0_9
b LBB0_24
LBB0_6:
add w10, w0, w0, lsr #31
add w11, w23, w23, lsr #31
sub w9, w9, w10, asr #1
add w9, w9, w11, asr #1
cmp w9, w8
b.le LBB0_8
; %bb.7:
mov w8, #0 ; =0x0
ldp w10, w9, [x19, #20]
add w9, w9, w9, lsr #31
asr w11, w9, #1
ldr w9, [x19, #28]
add w9, w9, w9, lsr #31
sub w9, w10, w9, asr #1
stp w9, w11, [x29, #-96]
mov w9, #1 ; =0x1
stur w9, [x29, #-100]
tbz w8, #0, LBB0_9
b LBB0_24
LBB0_8:
mov w8, #0 ; =0x0
mov w10, #1 ; =0x1
stur wzr, [x29, #-92]
ldr w9, [x19, #20]
stp w10, w9, [x29, #-100]
tbnz w8, #0, LBB0_24
LBB0_9:
ldr x23, [x19, #32]
ldr w8, [x19, #20]
ldp w10, w9, [x29, #-96]
sub w9, w8, w9
sub w8, w8, w10
stp w9, w8, [x29, #-96]
ldr x8, [x21, #16]
cbz x8, LBB0_25
LBB0_10:
ldp w1, w2, [x29, #-96]
ldr w3, [x21, #8]
sub x4, x29, #104
mov x0, x23
bl _npc_mcam_find_zero_area
ldp w8, w9, [x29, #-104]
str w8, [x20]
cbz w9, LBB0_12
; %bb.11:
ldr w9, [x19, #20]
sub w8, w9, w8
sub w0, w8, w0
LBB0_12:
str w0, [x20, #4]
LBB0_13:
ldr x9, [x21]
ldr w8, [x20]
ldr w10, [x21, #8]
cmp w8, w10
cbz x9, LBB0_20
; %bb.14:
b.ge LBB0_33
; %bb.15:
Lloh11:
adrp x10, _NPC_MCAM_LOWER_PRIO@GOTPAGE
Lloh12:
ldr x10, [x10, _NPC_MCAM_LOWER_PRIO@GOTPAGEOFF]
Lloh13:
ldr x10, [x10]
cmp x9, x10
b.ne LBB0_17
; %bb.16:
ldur w11, [x29, #-92]
ldr w10, [x21, #12]
add w10, w10, #1
cmp w11, w10
b.ne LBB0_23
LBB0_17:
Lloh14:
adrp x10, _NPC_MCAM_HIGHER_PRIO@GOTPAGE
Lloh15:
ldr x10, [x10, _NPC_MCAM_HIGHER_PRIO@GOTPAGEOFF]
Lloh16:
ldr x10, [x10]
cmp x9, x10
b.ne LBB0_33
; %bb.18:
ldp w10, w11, [x29, #-96]
ldr w9, [x21, #12]
sub w10, w10, w11
cmp w10, w9
b.eq LBB0_33
; %bb.19:
stp w9, wzr, [x29, #-96]
mov w8, #1 ; =0x1
stur w8, [x29, #-100]
b LBB0_9
LBB0_20:
b.ge LBB0_33
; %bb.21:
ldp w10, w11, [x29, #-96]
ldr w9, [x19, #20]
sub w10, w10, w11
cmp w10, w9
b.eq LBB0_33
; %bb.22:
mov w8, #1 ; =0x1
stp w8, w9, [x29, #-100]
stur wzr, [x29, #-92]
b LBB0_9
LBB0_23:
ldr w8, [x19, #20]
stp w8, w10, [x29, #-96]
stur wzr, [x29, #-100]
LBB0_24:
ldr x23, [x19, #8]
ldr x8, [x21, #16]
cbnz x8, LBB0_10
LBB0_25:
str wzr, [x20]
ldr w8, [x21, #8]
cmp w8, #1
b.lt LBB0_13
; %bb.26:
ldp w1, w24, [x29, #-96]
mov w26, #1 ; =0x1
mov x27, x25
b LBB0_30
LBB0_27: ; in Loop: Header=BB0_30 Depth=1
ldr w8, [x19, #20]
mvn w9, w0
add w8, w8, w9
LBB0_28: ; in Loop: Header=BB0_30 Depth=1
add w24, w0, #1
str w8, [x27]
ldr w8, [x20]
add w8, w8, #1
str w8, [x20]
LBB0_29: ; in Loop: Header=BB0_30 Depth=1
ldrsw x8, [x21, #8]
sub x26, x26, #1
sub x27, x27, #4
cmp x26, x8
b.gt LBB0_13
LBB0_30: ; =>This Inner Loop Header: Depth=1
mov x0, x23
mov x2, x24
bl _find_next_zero_bit
ldur w1, [x29, #-96]
cmp w0, w1
b.ge LBB0_29
; %bb.31: ; in Loop: Header=BB0_30 Depth=1
ldur w8, [x29, #-100]
cbnz w8, LBB0_27
; %bb.32: ; in Loop: Header=BB0_30 Depth=1
mov x8, x0
b LBB0_28
LBB0_33:
ldr x9, [x21, #16]
cbz x9, LBB0_35
; %bb.34:
cmp w8, #1
b.ge LBB0_39
b LBB0_44
LBB0_35:
cmp w8, #1
b.lt LBB0_44
; %bb.36:
mov w9, #0 ; =0x0
ldr x10, [x20, #8]
sub x8, x8, #1
LBB0_37: ; =>This Inner Loop Header: Depth=1
ldur w11, [x29, #-100]
ldr w12, [x25, x8, lsl #2]
mov w13, w9
cmp w11, #0
csel x11, x13, x8, ne
cinc w9, w9, ne
str w12, [x10, x11, lsl #2]
add x11, x8, #1
sub x8, x8, #1
cmp x11, #1
b.hi LBB0_37
; %bb.38:
ldr w8, [x20]
cmp w8, #1
b.lt LBB0_44
LBB0_39:
mov x24, #0 ; =0x0
Lloh17:
adrp x25, _NPC_MCAM_INVALID_MAP@GOTPAGE
Lloh18:
ldr x25, [x25, _NPC_MCAM_INVALID_MAP@GOTPAGEOFF]
b LBB0_42
LBB0_40: ; in Loop: Header=BB0_42 Depth=1
ldr x8, [x20, #8]
ldr w23, [x8, x24, lsl #2]
LBB0_41: ; in Loop: Header=BB0_42 Depth=1
mov x0, x19
mov x1, x23
bl _npc_mcam_set_bit
ldr x8, [x19, #40]
str w22, [x8, w23, sxtw #2]
ldr w8, [x25]
ldr x9, [x19, #56]
str w8, [x9, w23, sxtw #2]
add x24, x24, #1
ldrsw x8, [x20]
cmp x24, x8
b.ge LBB0_44
LBB0_42: ; =>This Inner Loop Header: Depth=1
ldr x8, [x21, #16]
cbz x8, LBB0_40
; %bb.43: ; in Loop: Header=BB0_42 Depth=1
ldr w8, [x20, #4]
add w23, w24, w8
b LBB0_41
LBB0_44:
ldr w8, [x19]
str w8, [x20, #16]
add x0, x19, #48
bl _mutex_unlock
mov w0, #0 ; =0x0
LBB0_45:
ldur x8, [x29, #-88]
Lloh19:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh20:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_47
; %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:
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 AdrpLdrGot Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _NPC_MAX_NONCONTIG_ENTRIES,4,2 ; @NPC_MAX_NONCONTIG_ENTRIES
.comm _NPC_MCAM_ALLOC_FAILED,4,2 ; @NPC_MCAM_ALLOC_FAILED
.comm _NPC_MCAM_LOWER_PRIO,8,3 ; @NPC_MCAM_LOWER_PRIO
.comm _NPC_MCAM_HIGHER_PRIO,8,3 ; @NPC_MCAM_HIGHER_PRIO
.comm _NPC_MCAM_INVALID_MAP,4,2 ; @NPC_MCAM_INVALID_MAP
.no_dead_strip _npc_mcam_alloc_entries
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function store_table
_store_table: ## @store_table
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %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
movl (%rdi), %r15d
testl %r15d, %r15d
js LBB0_1
## %bb.2:
movq %rsi, %r12
leaq -4(%rsi), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
xorl %r14d, %r14d
xorl %eax, %eax
jmp LBB0_3
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_3 Depth=1
shll $5, %ebx
andl %r13d, %ebx
leal 1(%rdx), %eax
movq -56(%rbp), %rcx ## 8-byte Reload
movl %ebx, (%rcx,%rdx,4)
cmpl %r15d, %r14d
jg LBB0_14
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_6 Depth 2
movl %eax, -44(%rbp) ## 4-byte Spill
movslq %r14d, %rax
movl (%r12,%rax,4), %r13d
movl $0, %ebx
cmpl %r15d, %eax
jge LBB0_10
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
xorl %ebx, %ebx
cmpl %r13d, (%r12,%rax,4)
jne LBB0_9
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movq -64(%rbp), %rcx ## 8-byte Reload
leaq (%rcx,%rax,4), %rcx
xorl %edx, %edx
.p2align 4, 0x90
LBB0_6: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
leaq 1(%rdx), %rbx
cmpl %r13d, (%rcx)
jne LBB0_8
## %bb.7: ## in Loop: Header=BB0_6 Depth=2
addq $-4, %rcx
cmpl $254, %edx
movq %rbx, %rdx
jb LBB0_6
LBB0_8: ## in Loop: Header=BB0_3 Depth=1
subq %rbx, %rax
LBB0_9: ## in Loop: Header=BB0_3 Depth=1
movl %eax, %r14d
LBB0_10: ## in Loop: Header=BB0_3 Depth=1
leal -1(%r13), %eax
cmpl $31, %eax
setb %al
leal -1(%rbx), %ecx
cmpl $255, %ecx
setb %cl
andb %al, %cl
movzbl %cl, %edi
callq _av_assert0
movslq -44(%rbp), %rdx ## 4-byte Folded Reload
cmpl $8, %ebx
jb LBB0_12
## %bb.11: ## in Loop: Header=BB0_3 Depth=1
movq -56(%rbp), %rcx ## 8-byte Reload
movl %r13d, (%rcx,%rdx,4)
leal 2(%rdx), %eax
movl %ebx, 4(%rcx,%rdx,4)
cmpl %r15d, %r14d
jle LBB0_3
jmp LBB0_14
LBB0_1:
xorl %eax, %eax
LBB0_14:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _store_table
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function store_table
_store_table: ; @store_table
.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
ldr w22, [x0]
tbnz w22, #31, LBB0_14
; %bb.1:
mov x19, x2
mov x20, x1
mov w26, #0 ; =0x0
mov w21, #0 ; =0x0
sub x23, x1, #4
mov w24, #255 ; =0xff
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
and w8, w25, w27, lsl #5
str w8, [x19, w21, sxtw #2]
add w21, w21, #1
cmp w26, w22
b.gt LBB0_15
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_6 Depth 2
ldr w25, [x20, w26, sxtw #2]
cmp w26, w22
b.ge LBB0_9
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
sxtw x26, w26
ldr w8, [x20, x26, lsl #2]
cmp w8, w25
b.ne LBB0_10
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
mov x9, #0 ; =0x0
add x8, x23, x26, lsl #2
LBB0_6: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr w10, [x8], #-4
add x27, x9, #1
cmp w10, w25
b.ne LBB0_8
; %bb.7: ; in Loop: Header=BB0_6 Depth=2
cmp w9, #254
mov x9, x27
b.lo LBB0_6
LBB0_8: ; in Loop: Header=BB0_3 Depth=1
sub x26, x26, x27
b LBB0_11
LBB0_9: ; in Loop: Header=BB0_3 Depth=1
mov w27, #0 ; =0x0
b LBB0_12
LBB0_10: ; in Loop: Header=BB0_3 Depth=1
mov w27, #0 ; =0x0
LBB0_11: ; in Loop: Header=BB0_3 Depth=1
; kill: def $w26 killed $w26 killed $x26 def $x26
LBB0_12: ; in Loop: Header=BB0_3 Depth=1
sub w8, w25, #1
sub w9, w27, #1
cmp w8, #31
ccmp w9, w24, #2, lo
cset w0, lo
bl _av_assert0
cmp w27, #8
b.lo LBB0_2
; %bb.13: ; in Loop: Header=BB0_3 Depth=1
add x8, x19, w21, sxtw #2
add w21, w21, #2
stp w25, w27, [x8]
cmp w26, w22
b.le LBB0_3
b LBB0_15
LBB0_14:
mov w21, #0 ; =0x0
LBB0_15:
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
.cfi_endproc
; -- End function
.no_dead_strip _store_table
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _dwc3_host_init ## -- Begin function dwc3_host_init
.p2align 4, 0x90
_dwc3_host_init: ## @dwc3_host_init
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $48, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
movl 8(%rdi), %edi
callq _to_platform_device
movq %rax, %r14
movq %rbx, %rdi
callq _dwc3_host_get_irq
testl %eax, %eax
jle LBB0_22
## %bb.1:
movl %eax, %r15d
movq _IORESOURCE_IRQ@GOTPCREL(%rip), %r12
movl (%r12), %esi
leaq L_.str(%rip), %rdx
movq %r14, %rdi
callq _platform_get_resource_byname
testq %rax, %rax
jne LBB0_5
## %bb.2:
movl (%r12), %esi
leaq L_.str.1(%rip), %rdx
movq %r14, %rdi
callq _platform_get_resource_byname
testq %rax, %rax
jne LBB0_5
## %bb.3:
movl (%r12), %esi
xorl %r12d, %r12d
movq %r14, %rdi
xorl %edx, %edx
callq _platform_get_resource
testq %rax, %rax
je LBB0_4
LBB0_5:
movq 32(%rbx), %rcx
movl %r15d, 16(%rcx)
movl %r15d, 20(%rcx)
movq (%rax), %rax
movq %rax, 24(%rcx)
movq _PLATFORM_DEVID_AUTO@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str.2(%rip), %rdi
callq _platform_device_alloc
movl 8(%rbx), %edi
testq %rax, %rax
je LBB0_6
## %bb.7:
movq %rax, %r14
movl %edi, (%rax)
movq %rax, 40(%rbx)
movq 32(%rbx), %rsi
movq _DWC3_XHCI_RESOURCES_NUM@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r14, %rdi
callq _platform_device_add_resources
testl %eax, %eax
je LBB0_9
## %bb.8:
movl %eax, %r15d
movl 8(%rbx), %edi
leaq L_.str.4(%rip), %rsi
jmp LBB0_21
LBB0_6:
leaq L_.str.3(%rip), %rsi
callq _dev_err
movq _ENOMEM@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
jmp LBB0_22
LBB0_9:
leaq -80(%rbp), %r15
movq %r15, %rdi
callq _ARRAY_SIZE
## kill: def $eax killed $eax def $rax
leal (,%rax,8), %edx
xorl %r12d, %r12d
movq %r15, %rdi
xorl %esi, %esi
callq _memset
cmpq $0, 24(%rbx)
je LBB0_11
## %bb.10:
leaq L_.str.5(%rip), %rax
movq %rax, -80(%rbp)
movl $1, %r12d
LBB0_11:
cmpq $0, 16(%rbx)
je LBB0_13
## %bb.12:
movl %r12d, %eax
incl %r12d
leaq L_.str.6(%rip), %rcx
movq %rcx, -80(%rbp,%rax,8)
LBB0_13:
movq (%rbx), %rax
movq _DWC3_REVISION_300A@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jle LBB0_14
## %bb.15:
testl %r12d, %r12d
jne LBB0_16
jmp LBB0_18
LBB0_14:
movl %r12d, %eax
leaq L_.str.7(%rip), %rcx
movq %rcx, -80(%rbp,%rax,8)
LBB0_16:
leaq -80(%rbp), %rsi
movq %r14, %rdi
callq _platform_device_add_properties
testl %eax, %eax
je LBB0_18
## %bb.17:
movl %eax, %r15d
movl 8(%rbx), %edi
leaq L_.str.8(%rip), %rsi
jmp LBB0_21
LBB0_18:
movq %r14, %rdi
callq _platform_device_add
testl %eax, %eax
je LBB0_19
## %bb.20:
movl %eax, %r15d
movl 8(%rbx), %edi
leaq L_.str.9(%rip), %rsi
LBB0_21:
callq _dev_err
movq %r14, %rdi
callq _platform_device_put
movl %r15d, %eax
LBB0_22:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -40(%rbp), %rcx
jne LBB0_24
## %bb.23:
addq $48, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_4:
movq _ENOMEM@GOTPCREL(%rip), %rax
subl (%rax), %r12d
movl %r12d, %eax
jmp LBB0_22
LBB0_19:
xorl %eax, %eax
jmp LBB0_22
LBB0_24:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _IORESOURCE_IRQ,4,2 ## @IORESOURCE_IRQ
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "host"
L_.str.1: ## @.str.1
.asciz "dwc_usb3"
.comm _ENOMEM,4,2 ## @ENOMEM
L_.str.2: ## @.str.2
.asciz "xhci-hcd"
.comm _PLATFORM_DEVID_AUTO,4,2 ## @PLATFORM_DEVID_AUTO
L_.str.3: ## @.str.3
.asciz "couldn't allocate xHCI device\n"
.comm _DWC3_XHCI_RESOURCES_NUM,4,2 ## @DWC3_XHCI_RESOURCES_NUM
L_.str.4: ## @.str.4
.asciz "couldn't add resources to xHCI device\n"
L_.str.5: ## @.str.5
.asciz "usb3-lpm-capable"
L_.str.6: ## @.str.6
.asciz "usb2-lpm-disable"
.comm _DWC3_REVISION_300A,8,3 ## @DWC3_REVISION_300A
L_.str.7: ## @.str.7
.asciz "quirk-broken-port-ped"
L_.str.8: ## @.str.8
.asciz "failed to add properties to xHCI\n"
L_.str.9: ## @.str.9
.asciz "failed to register xHCI device\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _dwc3_host_init ; -- Begin function dwc3_host_init
.p2align 2
_dwc3_host_init: ; @dwc3_host_init
.cfi_startproc
; %bb.0:
sub sp, sp, #96
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
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]
ldr w0, [x0, #8]
bl _to_platform_device
mov x20, x0
mov x0, x19
bl _dwc3_host_get_irq
cmp w0, #1
b.lt LBB0_21
; %bb.1:
mov x21, x0
Lloh3:
adrp x22, _IORESOURCE_IRQ@GOTPAGE
Lloh4:
ldr x22, [x22, _IORESOURCE_IRQ@GOTPAGEOFF]
ldr w1, [x22]
Lloh5:
adrp x2, l_.str@PAGE
Lloh6:
add x2, x2, l_.str@PAGEOFF
mov x0, x20
bl _platform_get_resource_byname
cbnz x0, LBB0_4
; %bb.2:
ldr w1, [x22]
Lloh7:
adrp x2, l_.str.1@PAGE
Lloh8:
add x2, x2, l_.str.1@PAGEOFF
mov x0, x20
bl _platform_get_resource_byname
cbnz x0, LBB0_4
; %bb.3:
ldr w1, [x22]
mov x0, x20
mov w2, #0 ; =0x0
bl _platform_get_resource
cbz x0, LBB0_8
LBB0_4:
ldr x8, [x19, #32]
stp w21, w21, [x8, #16]
ldr d0, [x0]
str d0, [x8, #24]
Lloh9:
adrp x8, _PLATFORM_DEVID_AUTO@GOTPAGE
Lloh10:
ldr x8, [x8, _PLATFORM_DEVID_AUTO@GOTPAGEOFF]
Lloh11:
ldr w1, [x8]
Lloh12:
adrp x0, l_.str.2@PAGE
Lloh13:
add x0, x0, l_.str.2@PAGEOFF
bl _platform_device_alloc
mov x20, x0
ldr w0, [x19, #8]
cbz x20, LBB0_7
; %bb.5:
str w0, [x20]
str x20, [x19, #40]
ldr x1, [x19, #32]
Lloh14:
adrp x8, _DWC3_XHCI_RESOURCES_NUM@GOTPAGE
Lloh15:
ldr x8, [x8, _DWC3_XHCI_RESOURCES_NUM@GOTPAGEOFF]
Lloh16:
ldr w2, [x8]
mov x0, x20
bl _platform_device_add_resources
cbz w0, LBB0_9
; %bb.6:
mov x21, x0
ldr w0, [x19, #8]
Lloh17:
adrp x1, l_.str.4@PAGE
Lloh18:
add x1, x1, l_.str.4@PAGEOFF
b LBB0_20
LBB0_7:
Lloh19:
adrp x1, l_.str.3@PAGE
Lloh20:
add x1, x1, l_.str.3@PAGEOFF
bl _dev_err
LBB0_8:
Lloh21:
adrp x8, _ENOMEM@GOTPAGE
Lloh22:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh23:
ldr w8, [x8]
neg w0, w8
b LBB0_21
LBB0_9:
add x0, sp, #8
bl _ARRAY_SIZE
lsl w2, w0, #3
add x0, sp, #8
mov w1, #0 ; =0x0
bl _memset
ldr x8, [x19, #24]
cbz x8, LBB0_11
; %bb.10:
Lloh24:
adrp x8, l_.str.5@PAGE
Lloh25:
add x8, x8, l_.str.5@PAGEOFF
str x8, [sp, #8]
mov w8, #1 ; =0x1
LBB0_11:
ldr x9, [x19, #16]
cbz x9, LBB0_13
; %bb.12:
Lloh26:
adrp x9, l_.str.6@PAGE
Lloh27:
add x9, x9, l_.str.6@PAGEOFF
add x10, sp, #8
str x9, [x10, w8, uxtw #3]
add w8, w8, #1
LBB0_13:
ldr x9, [x19]
Lloh28:
adrp x10, _DWC3_REVISION_300A@GOTPAGE
Lloh29:
ldr x10, [x10, _DWC3_REVISION_300A@GOTPAGEOFF]
Lloh30:
ldr x10, [x10]
cmp x9, x10
b.le LBB0_15
; %bb.14:
cbnz w8, LBB0_16
b LBB0_18
LBB0_15:
Lloh31:
adrp x9, l_.str.7@PAGE
Lloh32:
add x9, x9, l_.str.7@PAGEOFF
add x10, sp, #8
str x9, [x10, w8, uxtw #3]
LBB0_16:
add x1, sp, #8
mov x0, x20
bl _platform_device_add_properties
cbz w0, LBB0_18
; %bb.17:
mov x21, x0
ldr w0, [x19, #8]
Lloh33:
adrp x1, l_.str.8@PAGE
Lloh34:
add x1, x1, l_.str.8@PAGEOFF
b LBB0_20
LBB0_18:
mov x0, x20
bl _platform_device_add
cbz w0, LBB0_21
; %bb.19:
mov x21, x0
ldr w0, [x19, #8]
Lloh35:
adrp x1, l_.str.9@PAGE
Lloh36:
add x1, x1, l_.str.9@PAGEOFF
LBB0_20:
bl _dev_err
mov x0, x20
bl _platform_device_put
mov x0, x21
LBB0_21:
ldr x8, [sp, #40]
Lloh37:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh38:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh39:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_23
; %bb.22:
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
add sp, sp, #96
ret
LBB0_23:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30
.loh AdrpAdd Lloh31, Lloh32
.loh AdrpAdd Lloh33, Lloh34
.loh AdrpAdd Lloh35, Lloh36
.loh AdrpLdrGotLdr Lloh37, Lloh38, Lloh39
.cfi_endproc
; -- End function
.comm _IORESOURCE_IRQ,4,2 ; @IORESOURCE_IRQ
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "host"
l_.str.1: ; @.str.1
.asciz "dwc_usb3"
.comm _ENOMEM,4,2 ; @ENOMEM
l_.str.2: ; @.str.2
.asciz "xhci-hcd"
.comm _PLATFORM_DEVID_AUTO,4,2 ; @PLATFORM_DEVID_AUTO
l_.str.3: ; @.str.3
.asciz "couldn't allocate xHCI device\n"
.comm _DWC3_XHCI_RESOURCES_NUM,4,2 ; @DWC3_XHCI_RESOURCES_NUM
l_.str.4: ; @.str.4
.asciz "couldn't add resources to xHCI device\n"
l_.str.5: ; @.str.5
.asciz "usb3-lpm-capable"
l_.str.6: ; @.str.6
.asciz "usb2-lpm-disable"
.comm _DWC3_REVISION_300A,8,3 ; @DWC3_REVISION_300A
l_.str.7: ; @.str.7
.asciz "quirk-broken-port-ped"
l_.str.8: ; @.str.8
.asciz "failed to add properties to xHCI\n"
l_.str.9: ; @.str.9
.asciz "failed to register xHCI device\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function pcx_draw
_pcx_draw: ## @pcx_draw
.cfi_startproc
## %bb.0:
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, %r15
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _MAXSCANLINE@GOTPCREL(%rip), %rax
movl (%rax), %eax
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %rax
movq _pcx_info@GOTPCREL(%rip), %rcx
cmpl $0, (%rcx)
jle LBB0_8
## %bb.1:
movq %rax, -64(%rbp) ## 8-byte Spill
movl 24(%rcx), %esi
movq %r15, %rdi
callq _vidd_load_palette
movq 24(%r15), %r14
movq 8(%r15), %rbx
movq %rbx, %xmm0
movdqa %xmm0, -96(%rbp) ## 16-byte Spill
shrq $32, %rbx
movl (%r15), %eax
movl 4(%r15), %r12d
movl %eax, -52(%rbp) ## 4-byte Spill
imull %eax, %ebx
testl %ebx, %ebx
jle LBB0_4
## %bb.2:
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
movl %r13d, %esi
callq _vidd_set_win_org
movq %r14, %rdi
movl %r12d, %esi
callq _bzero
addl %r12d, %r13d
cmpl %ebx, %r13d
jl LBB0_3
LBB0_4:
movq %r14, -72(%rbp) ## 8-byte Spill
movq _pcx_info@GOTPCREL(%rip), %rbx
movq 4(%rbx), %xmm0 ## xmm0 = mem[0],zero
movdqa -96(%rbp), %xmm1 ## 16-byte Reload
psubd %xmm0, %xmm1
movdqa %xmm1, %xmm0
psrld $31, %xmm0
paddd %xmm1, %xmm0
psrad $1, %xmm0
pextrd $1, %xmm0, %ecx
imull -52(%rbp), %ecx ## 4-byte Folded Reload
movd %xmm0, %eax
addl %ecx, %eax
cmpl %r12d, %eax
jle LBB0_9
## %bb.5:
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
subl %r12d, %r13d
leal (%rax,%r13), %r14d
cmpl %r12d, %r14d
jg LBB0_6
## %bb.7:
negl %r13d
jmp LBB0_10
LBB0_9:
movl %eax, %r14d
xorl %r13d, %r13d
LBB0_10:
movq %r15, %rdi
movl %r13d, %esi
callq _vidd_set_win_org
cmpl $0, 8(%rbx)
movl $0, %eax
jle LBB0_33
## %bb.11:
movq %r15, -80(%rbp) ## 8-byte Spill
xorl %r10d, %r10d
xorl %r15d, %r15d
movq -64(%rbp), %rdi ## 8-byte Reload
jmp LBB0_14
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_14 Depth=1
movq -72(%rbp), %rax ## 8-byte Reload
leaq (%rax,%r14,4), %rsi
## kill: def $edx killed $edx killed $rdx
callq _bcopy
LBB0_13: ## in Loop: Header=BB0_14 Depth=1
movl -96(%rbp), %r10d ## 4-byte Reload
incl %r10d
addl -52(%rbp), %ebx ## 4-byte Folded Reload
movl %ebx, %r14d
movq _pcx_info@GOTPCREL(%rip), %rbx
cmpl 8(%rbx), %r10d
movq -64(%rbp), %rdi ## 8-byte Reload
jge LBB0_32
LBB0_14: ## =>This Loop Header: Depth=1
## Child Loop BB0_17 Depth 2
movl (%rbx), %eax
movl 12(%rbx), %ecx
testl %ecx, %ecx
jg LBB0_16
## %bb.15: ## in Loop: Header=BB0_14 Depth=1
cmpl %eax, %r15d
jge LBB0_24
LBB0_16: ## in Loop: Header=BB0_14 Depth=1
movq 16(%rbx), %rdx
xorl %esi, %esi
.p2align 4, 0x90
LBB0_17: ## Parent Loop BB0_14 Depth=1
## => This Inner Loop Header: Depth=2
movslq %r15d, %r8
movl (%rdx,%r8,4), %r9d
testl $-193, %r9d
je LBB0_20
## %bb.18: ## in Loop: Header=BB0_17 Depth=2
cmpl %ecx, %esi
jge LBB0_8
## %bb.19: ## in Loop: Header=BB0_17 Depth=2
movslq %esi, %r8
movl %r9d, (%rdi,%r8,4)
incl %esi
jmp LBB0_22
.p2align 4, 0x90
LBB0_20: ## in Loop: Header=BB0_17 Depth=2
incl %r15d
cmpl %eax, %r15d
jge LBB0_8
## %bb.21: ## in Loop: Header=BB0_17 Depth=2
cmpl %ecx, %esi
jg LBB0_8
LBB0_22: ## in Loop: Header=BB0_17 Depth=2
incl %r15d
cmpl %ecx, %esi
jl LBB0_17
## %bb.23: ## in Loop: Header=BB0_17 Depth=2
cmpl %eax, %r15d
jl LBB0_17
LBB0_24: ## in Loop: Header=BB0_14 Depth=1
movl %r14d, %ebx
subl %r12d, %ebx
movl %r10d, -96(%rbp) ## 4-byte Spill
jle LBB0_26
## %bb.25: ## in Loop: Header=BB0_14 Depth=1
addl %r12d, %r13d
movq -80(%rbp), %rdi ## 8-byte Reload
movl %r13d, %esi
callq _vidd_set_win_org
movq -64(%rbp), %rdi ## 8-byte Reload
jmp LBB0_27
.p2align 4, 0x90
LBB0_26: ## in Loop: Header=BB0_14 Depth=1
movl %r14d, %ebx
LBB0_27: ## in Loop: Header=BB0_14 Depth=1
movq _pcx_info@GOTPCREL(%rip), %rax
movl 4(%rax), %edx
leal (%rdx,%rbx), %eax
movslq %ebx, %r14
cmpl %r12d, %eax
jle LBB0_12
## %bb.28: ## in Loop: Header=BB0_14 Depth=1
movl %r12d, %ebx
subl %r14d, %ebx
movq -72(%rbp), %rax ## 8-byte Reload
leaq (%rax,%r14,4), %rsi
movl %ebx, %edx
callq _bcopy
addl %r12d, %r13d
subl %r12d, %r14d
movq -80(%rbp), %rdi ## 8-byte Reload
movl %r13d, %esi
callq _vidd_set_win_org
movslq %ebx, %rax
movq -64(%rbp), %rcx ## 8-byte Reload
leaq (%rcx,%rax,4), %rdi
movq _pcx_info@GOTPCREL(%rip), %rcx
movl 4(%rcx), %edx
subl %eax, %edx
movq -72(%rbp), %rsi ## 8-byte Reload
callq _bcopy
movl %r14d, %ebx
jmp LBB0_13
LBB0_8:
movl $1, %eax
LBB0_33:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_35
## %bb.34:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_32:
xorl %eax, %eax
jmp LBB0_33
LBB0_35:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _MAXSCANLINE,4,2 ## @MAXSCANLINE
.comm _pcx_info,32,3 ## @pcx_info
.no_dead_strip _pcx_draw
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function pcx_draw
_pcx_draw: ; @pcx_draw
.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]
Lloh3:
adrp x8, _MAXSCANLINE@GOTPAGE
Lloh4:
ldr x8, [x8, _MAXSCANLINE@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
lsl x8, x8, #2
mov x9, x8
Lloh6:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh7:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x7fffffff0
sub x20, x9, x8
mov sp, x20
Lloh8:
adrp x25, _pcx_info@GOTPAGE
Lloh9:
ldr x25, [x25, _pcx_info@GOTPAGEOFF]
ldr w8, [x25]
cmp w8, #1
b.lt LBB0_26
; %bb.1:
ldr w1, [x25, #24]
mov x0, x19
bl _vidd_load_palette
ldr x21, [x19, #24]
ldp w26, w24, [x19, #8]
ldp w8, w22, [x19]
stur w8, [x29, #-92] ; 4-byte Folded Spill
mul w27, w8, w24
cmp w27, #1
b.lt LBB0_4
; %bb.2:
mov w23, #0 ; =0x0
LBB0_3: ; =>This Inner Loop Header: Depth=1
mov x0, x19
mov x1, x23
bl _vidd_set_win_org
mov x0, x21
mov x1, x22
bl _bzero
add w23, w23, w22
cmp w23, w27
b.lt LBB0_3
LBB0_4:
ldp w8, w9, [x25, #4]
sub w8, w26, w8
add w8, w8, w8, lsr #31
sub w9, w24, w9
add w9, w9, w9, lsr #31
asr w9, w9, #1
ldur w10, [x29, #-92] ; 4-byte Folded Reload
mul w9, w9, w10
add w27, w9, w8, asr #1
cmp w27, w22
b.le LBB0_8
; %bb.5:
mov w8, #0 ; =0x0
LBB0_6: ; =>This Inner Loop Header: Depth=1
sub w8, w8, w22
add w9, w27, w8
cmp w9, w22
b.gt LBB0_6
; %bb.7:
neg w23, w8
mov x27, x9
b LBB0_9
LBB0_8:
mov w23, #0 ; =0x0
LBB0_9:
mov x0, x19
mov x1, x23
bl _vidd_set_win_org
ldr w8, [x25, #8]
cmp w8, #1
b.lt LBB0_27
; %bb.10:
mov w28, #0 ; =0x0
mov w26, #0 ; =0x0
b LBB0_13
LBB0_11: ; in Loop: Header=BB0_13 Depth=1
add x1, x21, w27, sxtw #2
mov x0, x20
LBB0_12: ; in Loop: Header=BB0_13 Depth=1
bl _bcopy
add w28, w28, #1
ldur w8, [x29, #-92] ; 4-byte Folded Reload
add w27, w27, w8
ldr w8, [x25, #8]
cmp w28, w8
b.ge LBB0_27
LBB0_13: ; =>This Loop Header: Depth=1
; Child Loop BB0_15 Depth 2
ldr w8, [x25, #12]
ldr w9, [x25]
cmp w8, #0
ccmp w26, w9, #8, le
b.ge LBB0_22
; %bb.14: ; in Loop: Header=BB0_13 Depth=1
mov w10, #0 ; =0x0
ldr x11, [x25, #16]
LBB0_15: ; Parent Loop BB0_13 Depth=1
; => This Inner Loop Header: Depth=2
ldr w12, [x11, w26, sxtw #2]
tst w12, #0xffffff3f
b.eq LBB0_18
; %bb.16: ; in Loop: Header=BB0_15 Depth=2
cmp w10, w8
b.ge LBB0_26
; %bb.17: ; in Loop: Header=BB0_15 Depth=2
str w12, [x20, w10, sxtw #2]
add w10, w10, #1
b LBB0_20
LBB0_18: ; in Loop: Header=BB0_15 Depth=2
add w26, w26, #1
mov w0, #1 ; =0x1
cmp w26, w9
b.ge LBB0_28
; %bb.19: ; in Loop: Header=BB0_15 Depth=2
cmp w10, w8
b.gt LBB0_28
LBB0_20: ; in Loop: Header=BB0_15 Depth=2
add w26, w26, #1
cmp w10, w8
b.lt LBB0_15
; %bb.21: ; in Loop: Header=BB0_15 Depth=2
cmp w26, w9
b.lt LBB0_15
LBB0_22: ; in Loop: Header=BB0_13 Depth=1
subs w24, w27, w22
b.le LBB0_24
; %bb.23: ; in Loop: Header=BB0_13 Depth=1
add w23, w23, w22
mov x0, x19
mov x1, x23
bl _vidd_set_win_org
mov x27, x24
LBB0_24: ; in Loop: Header=BB0_13 Depth=1
ldr w2, [x25, #4]
add w8, w2, w27
cmp w8, w22
b.le LBB0_11
; %bb.25: ; in Loop: Header=BB0_13 Depth=1
sub w24, w22, w27
add x1, x21, w27, sxtw #2
mov x0, x20
mov x2, x24
bl _bcopy
add w23, w23, w22
sub w27, w27, w22
mov x0, x19
mov x1, x23
bl _vidd_set_win_org
add x0, x20, w24, sxtw #2
ldr w8, [x25, #4]
sub w2, w8, w24
mov x1, x21
b LBB0_12
LBB0_26:
mov w0, #1 ; =0x1
b LBB0_28
LBB0_27:
mov w0, #0 ; =0x0
LBB0_28:
ldur x8, [x29, #-88]
Lloh10:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh11:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_30
; %bb.29:
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_30:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _MAXSCANLINE,4,2 ; @MAXSCANLINE
.comm _pcx_info,32,3 ; @pcx_info
.no_dead_strip _pcx_draw
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function FSE_readNCount
_FSE_readNCount: ## @FSE_readNCount
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $88, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %r12
movq %rsi, -72(%rbp) ## 8-byte Spill
movq %rdi, -80(%rbp) ## 8-byte Spill
movq _srcSize_wrong@GOTPCREL(%rip), %rcx
cmpq $4, %r8
jb LBB0_3
## %bb.1:
movq %r8, %r15
movq %rdx, %r14
movq %r12, %rdi
callq _MEM_readLE32
movl %eax, %ebx
movl %eax, %r13d
orl $15, %r13d
movq _FSE_MIN_TABLELOG@GOTPCREL(%rip), %rax
addl (%rax), %r13d
movq _FSE_TABLELOG_ABSOLUTE_MAX@GOTPCREL(%rip), %rax
cmpl (%rax), %r13d
jle LBB0_4
## %bb.2:
movq _tableLog_tooLarge@GOTPCREL(%rip), %rcx
jmp LBB0_3
LBB0_4:
movq %r15, -112(%rbp) ## 8-byte Spill
leaq (%r12,%r15,4), %rdx
sarl $4, %ebx
movq %r12, %rax
movl $1, %r12d
movl %r13d, %ecx
shll %cl, %r12d
movl %r13d, (%r14)
leal 1(%r12), %ecx
movl %ecx, -44(%rbp) ## 4-byte Spill
decl %r13d
leaq -20(%rdx), %rcx
movq %rcx, -120(%rbp) ## 8-byte Spill
leaq -28(%rdx), %rcx
movq %rcx, -96(%rbp) ## 8-byte Spill
addq $-16, %rdx
movq %rdx, -88(%rbp) ## 8-byte Spill
movb $1, %dl
movl $4, %r14d
movq %rax, -104(%rbp) ## 8-byte Spill
movq %rax, %r15
xorl %ecx, %ecx
jmp LBB0_5
.p2align 4, 0x90
LBB0_31: ## in Loop: Header=BB0_5 Depth=1
movl %eax, -44(%rbp) ## 4-byte Spill
addl %r14d, %r15d
incl %esi
movl %esi, -48(%rbp) ## 4-byte Spill
movq -56(%rbp), %r8 ## 8-byte Reload
cmpq -96(%rbp), %r8 ## 8-byte Folded Reload
seta %al
movl %r15d, %ecx
sarl $3, %ecx
movslq %ecx, %rcx
leaq (%r8,%rcx,4), %rdi
movq -88(%rbp), %rsi ## 8-byte Reload
cmpq %rsi, %rdi
seta %cl
subl %esi, %r8d
movl %r15d, %edx
andl $7, %edx
leal (%r15,%r8,2), %r14d
testb %cl, %al
cmovneq %rsi, %rdi
cmovel %edx, %r14d
movq %rdi, %r15
callq _MEM_readLE32
movl %eax, %ebx
movl %r14d, %ecx
sarl %cl, %ebx
movl -48(%rbp), %eax ## 4-byte Reload
movl %eax, %ecx
movzbl -64(%rbp), %edx ## 1-byte Folded Reload
LBB0_5: ## =>This Loop Header: Depth=1
## Child Loop BB0_11 Depth 2
## Child Loop BB0_16 Depth 2
## Child Loop BB0_30 Depth 2
cmpl $1, -44(%rbp) ## 4-byte Folded Reload
jg LBB0_7
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movq -72(%rbp), %rax ## 8-byte Reload
cmpl (%rax), %ecx
ja LBB0_32
LBB0_7: ## in Loop: Header=BB0_5 Depth=1
movq %rcx, -64(%rbp) ## 8-byte Spill
testb $1, %dl
movq %r15, %rsi
je LBB0_9
## %bb.8: ## in Loop: Header=BB0_5 Depth=1
movq %rsi, -56(%rbp) ## 8-byte Spill
movq -64(%rbp), %rax ## 8-byte Reload
movl %eax, %r8d
jmp LBB0_26
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_5 Depth=1
movq -64(%rbp), %r15 ## 8-byte Reload
## kill: def $r15d killed $r15d killed $r15 def $r15
cmpw $-1, %bx
je LBB0_11
jmp LBB0_16
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_11 Depth=2
addq $8, %rsi
movq %rsi, %rbx
movq %rsi, %rdi
callq _MEM_readLE32
movq %rbx, %rsi
movl %eax, %ebx
movl %r14d, %ecx
sarl %cl, %ebx
addl $24, %r15d
cmpw $-1, %bx
jne LBB0_16
LBB0_11: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
cmpq -120(%rbp), %rsi ## 8-byte Folded Reload
jb LBB0_12
## %bb.13: ## in Loop: Header=BB0_11 Depth=2
sarl $16, %ebx
addl $16, %r14d
addl $24, %r15d
cmpw $-1, %bx
je LBB0_11
jmp LBB0_16
.p2align 4, 0x90
LBB0_15: ## in Loop: Header=BB0_16 Depth=2
addl $3, %r15d
sarl $2, %ebx
addl $2, %r14d
LBB0_16: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
movl %ebx, %eax
andl $3, %eax
cmpl $3, %eax
je LBB0_15
## %bb.17: ## in Loop: Header=BB0_5 Depth=1
leal (%r15,%rax), %edi
movq -72(%rbp), %rcx ## 8-byte Reload
cmpl (%rcx), %edi
ja LBB0_18
## %bb.19: ## in Loop: Header=BB0_5 Depth=1
movq -64(%rbp), %r8 ## 8-byte Reload
cmpl %edi, %r8d
jae LBB0_20
## %bb.21: ## in Loop: Header=BB0_5 Depth=1
movl %r8d, %ecx
movq -80(%rbp), %rdx ## 8-byte Reload
movq %rsi, -56(%rbp) ## 8-byte Spill
movl %edi, -48(%rbp) ## 4-byte Spill
leaq (%rdx,%rcx,2), %rdi
addl %eax, %r15d
notl %r8d
addl %r15d, %r8d
leaq 2(,%r8,2), %rsi
callq ___bzero
movl -48(%rbp), %r8d ## 4-byte Reload
movq -56(%rbp), %rsi ## 8-byte Reload
jmp LBB0_22
.p2align 4, 0x90
LBB0_20: ## in Loop: Header=BB0_5 Depth=1
## kill: def $r8d killed $r8d killed $r8
LBB0_22: ## in Loop: Header=BB0_5 Depth=1
addl $2, %r14d
movl %r14d, %eax
sarl $3, %eax
cltq
leaq (%rsi,%rax,4), %rdi
cmpq -96(%rbp), %rsi ## 8-byte Folded Reload
jbe LBB0_24
## %bb.23: ## in Loop: Header=BB0_5 Depth=1
cmpq -88(%rbp), %rdi ## 8-byte Folded Reload
jbe LBB0_24
## %bb.25: ## in Loop: Header=BB0_5 Depth=1
sarl $2, %ebx
movq %rsi, -56(%rbp) ## 8-byte Spill
jmp LBB0_26
.p2align 4, 0x90
LBB0_24: ## in Loop: Header=BB0_5 Depth=1
andl $7, %r14d
movl %r8d, %ebx
movq %rdi, -56(%rbp) ## 8-byte Spill
callq _MEM_readLE32
movl %ebx, %r8d
movl %eax, %ebx
movl %r14d, %ecx
sarl %cl, %ebx
LBB0_26: ## in Loop: Header=BB0_5 Depth=1
leal -1(,%r12,2), %edx
movl %edx, %ecx
subl -44(%rbp), %ecx ## 4-byte Folded Reload
leal -1(%r12), %eax
andl %ebx, %eax
movswl %cx, %esi
cmpl %esi, %eax
movl %r8d, -48(%rbp) ## 4-byte Spill
jge LBB0_28
## %bb.27: ## in Loop: Header=BB0_5 Depth=1
leal -1(%r13), %r15d
jmp LBB0_29
.p2align 4, 0x90
LBB0_28: ## in Loop: Header=BB0_5 Depth=1
andl %edx, %ebx
movswl %bx, %eax
cmpl %r12d, %eax
movl $0, %eax
cmovll %eax, %ecx
subl %ecx, %ebx
movl %r13d, %r15d
movl %ebx, %eax
LBB0_29: ## in Loop: Header=BB0_5 Depth=1
decl %eax
movswl %ax, %ebx
movl %ebx, %edi
callq _FSE_abs
movl -44(%rbp), %edx ## 4-byte Reload
subl %eax, %edx
movl -48(%rbp), %esi ## 4-byte Reload
movl %esi, %eax
movq -80(%rbp), %rcx ## 8-byte Reload
movw %bx, (%rcx,%rax,2)
testw %bx, %bx
movl %edx, %eax
setne %cl
cmpl %r12d, %edx
movb %cl, -64(%rbp) ## 1-byte Spill
jge LBB0_31
.p2align 4, 0x90
LBB0_30: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
decl %r13d
sarl %r12d
cmpl %r12d, %eax
jl LBB0_30
jmp LBB0_31
LBB0_32:
cmpl $1, -44(%rbp) ## 4-byte Folded Reload
jne LBB0_33
## %bb.34:
decl %ecx
movq -72(%rbp), %rax ## 8-byte Reload
movl %ecx, (%rax)
addl $7, %r14d
sarl $3, %r14d
movslq %r14d, %rax
leaq (%r15,%rax,4), %rax
subq -104(%rbp), %rax ## 8-byte Folded Reload
sarq $2, %rax
cmpq -112(%rbp), %rax ## 8-byte Folded Reload
movq _srcSize_wrong@GOTPCREL(%rip), %rcx
ja LBB0_3
## %bb.35:
addq $88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_18:
movq _maxSymbolValue_tooSmall@GOTPCREL(%rip), %rcx
jmp LBB0_3
LBB0_33:
movq _GENERIC@GOTPCREL(%rip), %rcx
LBB0_3:
movl (%rcx), %edi
addq $88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _ERROR ## TAILCALL
.cfi_endproc
## -- End function
.comm _srcSize_wrong,4,2 ## @srcSize_wrong
.comm _FSE_MIN_TABLELOG,4,2 ## @FSE_MIN_TABLELOG
.comm _FSE_TABLELOG_ABSOLUTE_MAX,4,2 ## @FSE_TABLELOG_ABSOLUTE_MAX
.comm _tableLog_tooLarge,4,2 ## @tableLog_tooLarge
.comm _maxSymbolValue_tooSmall,4,2 ## @maxSymbolValue_tooSmall
.comm _GENERIC,4,2 ## @GENERIC
.no_dead_strip _FSE_readNCount
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function FSE_readNCount
_FSE_readNCount: ; @FSE_readNCount
.cfi_startproc
; %bb.0:
sub sp, sp, #144
stp x28, x27, [sp, #48] ; 16-byte Folded Spill
stp x26, x25, [sp, #64] ; 16-byte Folded Spill
stp x24, x23, [sp, #80] ; 16-byte Folded Spill
stp x22, x21, [sp, #96] ; 16-byte Folded Spill
stp x20, x19, [sp, #112] ; 16-byte Folded Spill
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
str x0, [sp, #16] ; 8-byte Folded Spill
cmp x4, #4
b.hs LBB0_2
LBB0_1:
Lloh0:
adrp x8, _srcSize_wrong@GOTPAGE
Lloh1:
ldr x8, [x8, _srcSize_wrong@GOTPAGEOFF]
b LBB0_32
LBB0_2:
mov x19, x4
mov x20, x3
mov x23, x2
mov x26, x1
mov x0, x3
bl _MEM_readLE32
orr w8, w0, #0xf
Lloh2:
adrp x9, _FSE_MIN_TABLELOG@GOTPAGE
Lloh3:
ldr x9, [x9, _FSE_MIN_TABLELOG@GOTPAGEOFF]
Lloh4:
ldr w9, [x9]
Lloh5:
adrp x10, _FSE_TABLELOG_ABSOLUTE_MAX@GOTPAGE
Lloh6:
ldr x10, [x10, _FSE_TABLELOG_ABSOLUTE_MAX@GOTPAGEOFF]
Lloh7:
ldr w10, [x10]
add w8, w8, w9
cmp w8, w10
b.le LBB0_4
; %bb.3:
Lloh8:
adrp x8, _tableLog_tooLarge@GOTPAGE
Lloh9:
ldr x8, [x8, _tableLog_tooLarge@GOTPAGEOFF]
b LBB0_32
LBB0_4:
mov w22, #0 ; =0x0
str x19, [sp, #8] ; 8-byte Folded Spill
add x9, x20, x19, lsl #2
asr w21, w0, #4
str w8, [x23]
mov w24, #1 ; =0x1
lsl w27, w24, w8
add w28, w27, #1
mov x23, x20
sub w20, w8, #1
sub x25, x9, #20
sub x10, x9, #28
sub x8, x9, #16
stp x8, x10, [sp, #24] ; 16-byte Folded Spill
mov w19, #4 ; =0x4
str x23, [sp] ; 8-byte Folded Spill
b LBB0_6
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
add w8, w21, w19
add w22, w22, #1
ldp x14, x9, [sp, #24] ; 16-byte Folded Reload
cmp x23, x9
cset w9, hi
asr w10, w8, #3
add x10, x23, w10, sxtw #2
cmp x10, x14
cset w11, hi
and w12, w8, #0x7
sub w13, w23, w14
add w8, w8, w13, lsl #1
tst w9, w11
csel x23, x14, x10, ne
csel w19, w8, w12, ne
mov x0, x23
bl _MEM_readLE32
asr w21, w0, w19
LBB0_6: ; =>This Loop Header: Depth=1
; Child Loop BB0_11 Depth 2
; Child Loop BB0_15 Depth 2
; Child Loop BB0_26 Depth 2
cmp w28, #1
b.gt LBB0_8
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
ldr w8, [x26]
cmp w22, w8
b.hi LBB0_27
LBB0_8: ; in Loop: Header=BB0_6 Depth=1
tbnz w24, #0, LBB0_25
; %bb.9: ; in Loop: Header=BB0_6 Depth=1
mov x24, x22
b LBB0_11
LBB0_10: ; in Loop: Header=BB0_11 Depth=2
add x23, x23, #8
mov x0, x23
bl _MEM_readLE32
asr w21, w0, w19
add w24, w24, #24
LBB0_11: ; Parent Loop BB0_6 Depth=1
; => This Inner Loop Header: Depth=2
mov w8, #65535 ; =0xffff
bics wzr, w8, w21
b.ne LBB0_14
; %bb.12: ; in Loop: Header=BB0_11 Depth=2
cmp x23, x25
b.lo LBB0_10
; %bb.13: ; in Loop: Header=BB0_11 Depth=2
asr w21, w21, #16
add w19, w19, #16
add w24, w24, #24
b LBB0_11
LBB0_14: ; in Loop: Header=BB0_6 Depth=1
str w22, [sp, #44] ; 4-byte Folded Spill
LBB0_15: ; Parent Loop BB0_6 Depth=1
; => This Inner Loop Header: Depth=2
and w8, w21, #0x3
cmp w8, #3
b.ne LBB0_17
; %bb.16: ; in Loop: Header=BB0_15 Depth=2
add w24, w24, #3
asr w21, w21, #2
add w19, w19, #2
b LBB0_15
LBB0_17: ; in Loop: Header=BB0_6 Depth=1
mov x22, x26
ldr w9, [x26]
add w26, w24, w8
cmp w26, w9
b.hi LBB0_30
; %bb.18: ; in Loop: Header=BB0_6 Depth=1
ldr w10, [sp, #44] ; 4-byte Folded Reload
cmp w10, w26
b.hs LBB0_20
; %bb.19: ; in Loop: Header=BB0_6 Depth=1
ldr x9, [sp, #16] ; 8-byte Folded Reload
add x0, x9, w10, uxtw #1
mvn w9, w10
add w8, w24, w8
add w8, w9, w8
ubfiz x8, x8, #1, #32
add x1, x8, #2
bl _bzero
str w26, [sp, #44] ; 4-byte Folded Spill
LBB0_20: ; in Loop: Header=BB0_6 Depth=1
mov x26, x22
add w19, w19, #2
asr w8, w19, #3
add x24, x23, w8, sxtw #2
ldr x8, [sp, #32] ; 8-byte Folded Reload
cmp x23, x8
b.ls LBB0_23
; %bb.21: ; in Loop: Header=BB0_6 Depth=1
ldr x8, [sp, #24] ; 8-byte Folded Reload
cmp x24, x8
b.ls LBB0_23
; %bb.22: ; in Loop: Header=BB0_6 Depth=1
asr w21, w21, #2
b LBB0_24
LBB0_23: ; in Loop: Header=BB0_6 Depth=1
and w19, w19, #0x7
mov x0, x24
bl _MEM_readLE32
asr w21, w0, w19
mov x23, x24
LBB0_24: ; in Loop: Header=BB0_6 Depth=1
ldr w22, [sp, #44] ; 4-byte Folded Reload
LBB0_25: ; in Loop: Header=BB0_6 Depth=1
lsl w8, w27, #1
sub w8, w8, #1
sub w9, w8, w28
sub w10, w27, #1
and w10, w21, w10
and w8, w21, w8
cmp w27, w8, sxth
csel w11, wzr, w9, gt
sub w8, w8, w11
sub w11, w20, #1
cmp w10, w9, sxth
csel w21, w20, w11, ge
csel w8, w8, w10, ge
sub w24, w8, #1
sxth w0, w24
bl _FSE_abs
ldr x8, [sp, #16] ; 8-byte Folded Reload
strh w24, [x8, w22, uxtw #1]
tst w24, #0xffff
cset w24, ne
sub w28, w28, w0
cmp w28, w27
b.ge LBB0_5
LBB0_26: ; Parent Loop BB0_6 Depth=1
; => This Inner Loop Header: Depth=2
sub w20, w20, #1
asr w27, w27, #1
cmp w28, w27
b.lt LBB0_26
b LBB0_5
LBB0_27:
cmp w28, #1
b.ne LBB0_31
; %bb.28:
sub w8, w22, #1
str w8, [x26]
add w8, w19, #7
asr w8, w8, #3
add x8, x23, w8, sxtw #2
ldr x9, [sp] ; 8-byte Folded Reload
sub x8, x8, x9
asr x0, x8, #2
ldr x8, [sp, #8] ; 8-byte Folded Reload
cmp x0, x8
b.hi LBB0_1
; %bb.29:
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_30:
Lloh10:
adrp x8, _maxSymbolValue_tooSmall@GOTPAGE
Lloh11:
ldr x8, [x8, _maxSymbolValue_tooSmall@GOTPAGEOFF]
b LBB0_32
LBB0_31:
Lloh12:
adrp x8, _GENERIC@GOTPAGE
Lloh13:
ldr x8, [x8, _GENERIC@GOTPAGEOFF]
LBB0_32:
ldr w0, [x8]
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
ldp x20, x19, [sp, #112] ; 16-byte Folded Reload
ldp x22, x21, [sp, #96] ; 16-byte Folded Reload
ldp x24, x23, [sp, #80] ; 16-byte Folded Reload
ldp x26, x25, [sp, #64] ; 16-byte Folded Reload
ldp x28, x27, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #144
b _ERROR
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh12, Lloh13
.cfi_endproc
; -- End function
.comm _srcSize_wrong,4,2 ; @srcSize_wrong
.comm _FSE_MIN_TABLELOG,4,2 ; @FSE_MIN_TABLELOG
.comm _FSE_TABLELOG_ABSOLUTE_MAX,4,2 ; @FSE_TABLELOG_ABSOLUTE_MAX
.comm _tableLog_tooLarge,4,2 ; @tableLog_tooLarge
.comm _maxSymbolValue_tooSmall,4,2 ; @maxSymbolValue_tooSmall
.comm _GENERIC,4,2 ; @GENERIC
.no_dead_strip _FSE_readNCount
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function insert
_insert: ## @insert
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rdx), %eax
testl %eax, %eax
jle LBB0_4
## %bb.1:
movq 8(%rdx), %rcx
cmpq %rdi, (%rcx)
jne LBB0_2
## %bb.3:
orl %esi, 8(%rcx)
popq %rbp
retq
LBB0_4:
leal 1(%rax), %ecx
movl %ecx, (%rdx)
testl %eax, %eax
jns LBB0_5
jmp LBB0_7
LBB0_2:
incl %eax
movl %eax, (%rdx)
LBB0_5:
movd %esi, %xmm0
movl $8, %eax
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
movq 8(%rdx), %rsi
movq -8(%rsi,%rax), %r8
incq %rcx
movq %rdi, -8(%rsi,%rax)
movq (%rsi,%rax), %xmm1 ## xmm1 = mem[0],zero
movq %xmm0, (%rsi,%rax)
movslq (%rdx), %rsi
addq $16, %rax
movq %r8, %rdi
movdqa %xmm1, %xmm0
cmpq %rsi, %rcx
jl LBB0_6
LBB0_7:
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _insert
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function insert
_insert: ; @insert
.cfi_startproc
; %bb.0:
ldr w8, [x2]
cmp w8, #1
b.lt LBB0_3
; %bb.1:
ldr x9, [x2, #8]
ldr x10, [x9]
cmp x0, x10
b.ne LBB0_4
; %bb.2:
ldr w8, [x9, #8]
orr w8, w8, w1
str w8, [x9, #8]
ret
LBB0_3:
add w9, w8, #1
str w9, [x2]
tbz w8, #31, LBB0_5
b LBB0_7
LBB0_4:
add w8, w8, #1
str w8, [x2]
LBB0_5:
mov x8, #0 ; =0x0
mov x9, #0 ; =0x0
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldr x10, [x2, #8]
add x10, x10, x8
ldp x11, x12, [x10]
add x9, x9, #1
stp x0, x1, [x10]
ldrsw x10, [x2]
add x8, x8, #16
mov x1, x12
mov x0, x11
cmp x9, x10
b.lt LBB0_6
LBB0_7:
ret
.cfi_endproc
; -- End function
.no_dead_strip _insert
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function dfx_xmt_queue_pkt
_dfx_xmt_queue_pkt: ## @dfx_xmt_queue_pkt
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %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 %rsi, %rdi
callq _netdev_priv
movq %rax, %r15
movq %rax, %r12
movq %rbx, %rdi
callq _netif_stop_queue
movl (%r14), %edi
movq _FDDI_K_LLC_ZLEN@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _FDDI_K_LLC_LEN@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _IN_RANGE
testl %eax, %eax
je LBB0_1
## %bb.2:
movq (%r12), %rax
movq _PI_K_FALSE@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_5
## %bb.3:
movq %r12, %rdi
callq _dfx_hw_adap_state_rd
movq _PI_STATE_K_LINK_AVAIL@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_13
## %bb.4:
movq _PI_K_TRUE@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, (%r12)
LBB0_5:
movq %r14, %rdi
movl $3, %esi
callq _skb_push
movq _DFX_PRH0_BYTE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq 8(%r14), %rsi
movl %eax, (%rsi)
movq _DFX_PRH1_BYTE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 4(%rsi)
movq _DFX_PRH2_BYTE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 8(%rsi)
movl 56(%r12), %edi
movl (%r14), %edx
movq _DMA_TO_DEVICE@GOTPCREL(%rip), %rax
movl (%rax), %ecx
callq _dma_map_single
movq %rax, %r13
movl 56(%r12), %edi
movq %rax, %rsi
callq _dma_mapping_error
testq %rax, %rax
je LBB0_7
## %bb.6:
movq %r14, %rdi
movl $3, %esi
callq _skb_pull
movq _NETDEV_TX_BUSY@GOTPCREL(%rip), %rax
jmp LBB0_12
LBB0_1:
movl (%rbx), %esi
movl (%r14), %edx
leaq L_.str(%rip), %rdi
callq _printk
incl 64(%r12)
movq %rbx, %rdi
callq _netif_wake_queue
movq %r14, %rdi
callq _dev_kfree_skb
jmp LBB0_11
LBB0_7:
addq $8, %r15
movq %r15, %rdi
callq _spin_lock_irqsave
movq 24(%r12), %rax
movq 40(%r12), %rdx
movq 48(%r12), %rcx
movq (%rcx), %rdi
movq %rax, %r8
shlq $4, %r8
leaq 1(%rax), %rsi
movq _PI_XMT_DESCR_M_SOP@GOTPCREL(%rip), %r9
movq _PI_XMT_DESCR_M_EOP@GOTPCREL(%rip), %rcx
movl (%rcx), %r10d
movq _PI_XMT_DESCR_V_SEG_LEN@GOTPCREL(%rip), %rcx
movzbl (%rcx), %ecx
movl (%r14), %r11d
shll %cl, %r11d
andl (%r9), %r10d
orl %r10d, %r11d
movslq %r11d, %rcx
movq %rcx, 8(%rdi,%r8)
movq %r13, (%rdi,%r8)
cmpq 32(%r12), %rsi
jne LBB0_9
## %bb.8:
movq %r14, %rdi
movl $3, %esi
callq _skb_pull
movq %r15, %rdi
callq _spin_unlock_irqrestore
movq _NETDEV_TX_BUSY@GOTPCREL(%rip), %rax
jmp LBB0_12
LBB0_13:
incl 60(%r12)
movq %r14, %rdi
callq _dev_kfree_skb
jmp LBB0_10
LBB0_9:
movq %r14, (%rdx,%rax,8)
movq %rsi, 24(%r12)
movq _PI_PDQ_K_REG_TYPE_2_PROD@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl 16(%r12), %edx
movq %r12, %rdi
callq _dfx_port_write_long
movq %r15, %rdi
callq _spin_unlock_irqrestore
LBB0_10:
movq %rbx, %rdi
callq _netif_wake_queue
LBB0_11:
movq _NETDEV_TX_OK@GOTPCREL(%rip), %rax
LBB0_12:
movl (%rax), %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _FDDI_K_LLC_ZLEN,4,2 ## @FDDI_K_LLC_ZLEN
.comm _FDDI_K_LLC_LEN,4,2 ## @FDDI_K_LLC_LEN
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s: Invalid packet length - %u bytes\n"
.comm _NETDEV_TX_OK,4,2 ## @NETDEV_TX_OK
.comm _PI_K_FALSE,8,3 ## @PI_K_FALSE
.comm _PI_STATE_K_LINK_AVAIL,8,3 ## @PI_STATE_K_LINK_AVAIL
.comm _PI_K_TRUE,8,3 ## @PI_K_TRUE
.comm _DFX_PRH0_BYTE,4,2 ## @DFX_PRH0_BYTE
.comm _DFX_PRH1_BYTE,4,2 ## @DFX_PRH1_BYTE
.comm _DFX_PRH2_BYTE,4,2 ## @DFX_PRH2_BYTE
.comm _DMA_TO_DEVICE,4,2 ## @DMA_TO_DEVICE
.comm _NETDEV_TX_BUSY,4,2 ## @NETDEV_TX_BUSY
.comm _PI_XMT_DESCR_M_SOP,4,2 ## @PI_XMT_DESCR_M_SOP
.comm _PI_XMT_DESCR_M_EOP,4,2 ## @PI_XMT_DESCR_M_EOP
.comm _PI_XMT_DESCR_V_SEG_LEN,4,2 ## @PI_XMT_DESCR_V_SEG_LEN
.comm _PI_PDQ_K_REG_TYPE_2_PROD,4,2 ## @PI_PDQ_K_REG_TYPE_2_PROD
.no_dead_strip _dfx_xmt_queue_pkt
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function dfx_xmt_queue_pkt
_dfx_xmt_queue_pkt: ; @dfx_xmt_queue_pkt
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x21, x0
mov x0, x1
bl _netdev_priv
mov x20, x0
mov x0, x19
bl _netif_stop_queue
ldr w0, [x21]
Lloh0:
adrp x8, _FDDI_K_LLC_ZLEN@GOTPAGE
Lloh1:
ldr x8, [x8, _FDDI_K_LLC_ZLEN@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
Lloh3:
adrp x8, _FDDI_K_LLC_LEN@GOTPAGE
Lloh4:
ldr x8, [x8, _FDDI_K_LLC_LEN@GOTPAGEOFF]
Lloh5:
ldr w2, [x8]
bl _IN_RANGE
cbz w0, LBB0_6
; %bb.1:
ldr x8, [x20]
Lloh6:
adrp x9, _PI_K_FALSE@GOTPAGE
Lloh7:
ldr x9, [x9, _PI_K_FALSE@GOTPAGEOFF]
Lloh8:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_4
; %bb.2:
mov x0, x20
bl _dfx_hw_adap_state_rd
Lloh9:
adrp x8, _PI_STATE_K_LINK_AVAIL@GOTPAGE
Lloh10:
ldr x8, [x8, _PI_STATE_K_LINK_AVAIL@GOTPAGEOFF]
Lloh11:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_10
; %bb.3:
Lloh12:
adrp x8, _PI_K_TRUE@GOTPAGE
Lloh13:
ldr x8, [x8, _PI_K_TRUE@GOTPAGEOFF]
Lloh14:
ldr x8, [x8]
str x8, [x20]
LBB0_4:
mov x0, x21
mov w1, #3 ; =0x3
bl _skb_push
Lloh15:
adrp x8, _DFX_PRH0_BYTE@GOTPAGE
Lloh16:
ldr x8, [x8, _DFX_PRH0_BYTE@GOTPAGEOFF]
Lloh17:
ldr w8, [x8]
ldr x1, [x21, #8]
Lloh18:
adrp x9, _DFX_PRH1_BYTE@GOTPAGE
Lloh19:
ldr x9, [x9, _DFX_PRH1_BYTE@GOTPAGEOFF]
str w8, [x1]
Lloh20:
ldr w8, [x9]
Lloh21:
adrp x9, _DFX_PRH2_BYTE@GOTPAGE
Lloh22:
ldr x9, [x9, _DFX_PRH2_BYTE@GOTPAGEOFF]
Lloh23:
ldr w9, [x9]
stp w8, w9, [x1, #4]
ldr w0, [x20, #56]
ldr w2, [x21]
Lloh24:
adrp x8, _DMA_TO_DEVICE@GOTPAGE
Lloh25:
ldr x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh26:
ldr w3, [x8]
bl _dma_map_single
mov x22, x0
ldr w0, [x20, #56]
mov x1, x22
bl _dma_mapping_error
cbz x0, LBB0_7
; %bb.5:
mov x0, x21
mov w1, #3 ; =0x3
bl _skb_pull
b LBB0_9
LBB0_6:
ldr w1, [x19]
ldr w2, [x21]
Lloh27:
adrp x0, l_.str@PAGE
Lloh28:
add x0, x0, l_.str@PAGEOFF
bl _printk
ldr w8, [x20, #64]
add w8, w8, #1
str w8, [x20, #64]
mov x0, x19
bl _netif_wake_queue
mov x0, x21
bl _dev_kfree_skb
b LBB0_13
LBB0_7:
add x0, x20, #8
bl _spin_lock_irqsave
ldp x8, x9, [x20, #40]
ldr x10, [x9]
ldp x9, x11, [x20, #24]
add x12, x10, x9, lsl #4
Lloh29:
adrp x10, _PI_XMT_DESCR_M_SOP@GOTPAGE
Lloh30:
ldr x10, [x10, _PI_XMT_DESCR_M_SOP@GOTPAGEOFF]
Lloh31:
ldr w10, [x10]
Lloh32:
adrp x13, _PI_XMT_DESCR_M_EOP@GOTPAGE
Lloh33:
ldr x13, [x13, _PI_XMT_DESCR_M_EOP@GOTPAGEOFF]
Lloh34:
ldr w13, [x13]
and w13, w13, w10
ldr w10, [x21]
Lloh35:
adrp x14, _PI_XMT_DESCR_V_SEG_LEN@GOTPAGE
Lloh36:
ldr x14, [x14, _PI_XMT_DESCR_V_SEG_LEN@GOTPAGEOFF]
Lloh37:
ldr w14, [x14]
lsl w14, w10, w14
add x10, x9, #1
orr w13, w14, w13
sxtw x13, w13
stp x22, x13, [x12]
cmp x10, x11
b.ne LBB0_11
; %bb.8:
mov x0, x21
mov w1, #3 ; =0x3
bl _skb_pull
add x0, x20, #8
bl _spin_unlock_irqrestore
LBB0_9:
Lloh38:
adrp x8, _NETDEV_TX_BUSY@GOTPAGE
Lloh39:
ldr x8, [x8, _NETDEV_TX_BUSY@GOTPAGEOFF]
b LBB0_14
LBB0_10:
ldr w8, [x20, #60]
add w8, w8, #1
str w8, [x20, #60]
mov x0, x21
bl _dev_kfree_skb
b LBB0_12
LBB0_11:
str x21, [x8, x9, lsl #3]
str x10, [x20, #24]
Lloh40:
adrp x8, _PI_PDQ_K_REG_TYPE_2_PROD@GOTPAGE
Lloh41:
ldr x8, [x8, _PI_PDQ_K_REG_TYPE_2_PROD@GOTPAGEOFF]
Lloh42:
ldr w1, [x8]
ldr w2, [x20, #16]
mov x0, x20
bl _dfx_port_write_long
add x0, x20, #8
bl _spin_unlock_irqrestore
LBB0_12:
mov x0, x19
bl _netif_wake_queue
LBB0_13:
Lloh43:
adrp x8, _NETDEV_TX_OK@GOTPAGE
Lloh44:
ldr x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
LBB0_14:
ldr w0, [x8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37
.loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.loh AdrpLdrGot Lloh38, Lloh39
.loh AdrpLdrGotLdr Lloh40, Lloh41, Lloh42
.loh AdrpLdrGot Lloh43, Lloh44
.cfi_endproc
; -- End function
.comm _FDDI_K_LLC_ZLEN,4,2 ; @FDDI_K_LLC_ZLEN
.comm _FDDI_K_LLC_LEN,4,2 ; @FDDI_K_LLC_LEN
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s: Invalid packet length - %u bytes\n"
.comm _NETDEV_TX_OK,4,2 ; @NETDEV_TX_OK
.comm _PI_K_FALSE,8,3 ; @PI_K_FALSE
.comm _PI_STATE_K_LINK_AVAIL,8,3 ; @PI_STATE_K_LINK_AVAIL
.comm _PI_K_TRUE,8,3 ; @PI_K_TRUE
.comm _DFX_PRH0_BYTE,4,2 ; @DFX_PRH0_BYTE
.comm _DFX_PRH1_BYTE,4,2 ; @DFX_PRH1_BYTE
.comm _DFX_PRH2_BYTE,4,2 ; @DFX_PRH2_BYTE
.comm _DMA_TO_DEVICE,4,2 ; @DMA_TO_DEVICE
.comm _NETDEV_TX_BUSY,4,2 ; @NETDEV_TX_BUSY
.comm _PI_XMT_DESCR_M_SOP,4,2 ; @PI_XMT_DESCR_M_SOP
.comm _PI_XMT_DESCR_M_EOP,4,2 ; @PI_XMT_DESCR_M_EOP
.comm _PI_XMT_DESCR_V_SEG_LEN,4,2 ; @PI_XMT_DESCR_V_SEG_LEN
.comm _PI_PDQ_K_REG_TYPE_2_PROD,4,2 ; @PI_PDQ_K_REG_TYPE_2_PROD
.no_dead_strip _dfx_xmt_queue_pkt
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function mlx5e_grp_per_prio_traffic_fill_stats
_mlx5e_grp_per_prio_traffic_fill_stats: ## @mlx5e_grp_per_prio_traffic_fill_stats
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %eax
movq %rsi, -56(%rbp) ## 8-byte Spill
movq _NUM_PPORT_PRIO@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
testl %ecx, %ecx
jle LBB0_7
## %bb.1:
movq %rdi, %rbx
movq _NUM_PPORT_PER_PRIO_TRAFFIC_COUNTERS@GOTPCREL(%rip), %r14
movl (%r14), %edi
xorl %r11d, %r11d
movq _pport_per_prio_traffic_stats_desc@GOTPCREL(%rip), %r15
jmp LBB0_2
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_2 Depth=1
leaq -1(%r11), %rdx
movslq %ecx, %rsi
cmpq %rsi, %r11
movq %rdx, %r11
jg LBB0_7
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_4 Depth 2
testl %edi, %edi
jle LBB0_6
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movl %eax, -44(%rbp) ## 4-byte Spill
cltq
movq -56(%rbp), %rcx ## 8-byte Reload
leaq (%rcx,%rax,4), %rax
movq %rax, -72(%rbp) ## 8-byte Spill
movq %r11, -64(%rbp) ## 8-byte Spill
leaq (,%r11,4), %r13
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_4: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movq (%rbx), %rdi
addq %r13, %rdi
movl (%r15), %esi
movl %r12d, %edx
callq _MLX5E_READ_CTR64_BE
movq -72(%rbp), %rcx ## 8-byte Reload
movl %eax, (%rcx,%r12,4)
movl (%r14), %edi
incq %r12
cmpl %edi, %r12d
jl LBB0_4
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
movl -44(%rbp), %eax ## 4-byte Reload
addl %r12d, %eax
movq _NUM_PPORT_PRIO@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movq -64(%rbp), %r11 ## 8-byte Reload
jmp LBB0_6
LBB0_7:
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _NUM_PPORT_PRIO,4,2 ## @NUM_PPORT_PRIO
.comm _NUM_PPORT_PER_PRIO_TRAFFIC_COUNTERS,4,2 ## @NUM_PPORT_PER_PRIO_TRAFFIC_COUNTERS
.comm _pport_per_prio_traffic_stats_desc,4,2 ## @pport_per_prio_traffic_stats_desc
.no_dead_strip _mlx5e_grp_per_prio_traffic_fill_stats
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function mlx5e_grp_per_prio_traffic_fill_stats
_mlx5e_grp_per_prio_traffic_fill_stats: ; @mlx5e_grp_per_prio_traffic_fill_stats
.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
Lloh0:
adrp x23, _NUM_PPORT_PRIO@GOTPAGE
Lloh1:
ldr x23, [x23, _NUM_PPORT_PRIO@GOTPAGEOFF]
ldr w9, [x23]
cmp w9, #1
b.lt LBB0_7
; %bb.1:
mov x20, x1
mov x21, x0
mov x25, #0 ; =0x0
Lloh2:
adrp x24, _NUM_PPORT_PER_PRIO_TRAFFIC_COUNTERS@GOTPAGE
Lloh3:
ldr x24, [x24, _NUM_PPORT_PER_PRIO_TRAFFIC_COUNTERS@GOTPAGEOFF]
ldr w8, [x24]
Lloh4:
adrp x26, _pport_per_prio_traffic_stats_desc@GOTPAGE
Lloh5:
ldr x26, [x26, _pport_per_prio_traffic_stats_desc@GOTPAGEOFF]
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
cmp x25, w9, sxtw
sub x25, x25, #1
b.gt LBB0_7
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_5 Depth 2
cmp w8, #1
b.lt LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov x22, #0 ; =0x0
add x27, x20, w19, sxtw #2
LBB0_5: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [x21]
add x0, x8, x25, lsl #2
ldr w1, [x26]
mov x2, x22
bl _MLX5E_READ_CTR64_BE
str w0, [x27, x22, lsl #2]
ldr w8, [x24]
add x22, x22, #1
cmp w22, w8
b.lt LBB0_5
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
add w19, w19, w22
ldr w9, [x23]
b LBB0_2
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
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.cfi_endproc
; -- End function
.comm _NUM_PPORT_PRIO,4,2 ; @NUM_PPORT_PRIO
.comm _NUM_PPORT_PER_PRIO_TRAFFIC_COUNTERS,4,2 ; @NUM_PPORT_PER_PRIO_TRAFFIC_COUNTERS
.comm _pport_per_prio_traffic_stats_desc,4,2 ; @pport_per_prio_traffic_stats_desc
.no_dead_strip _mlx5e_grp_per_prio_traffic_fill_stats
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _qat_hal_batch_wr_lm ## -- Begin function qat_hal_batch_wr_lm
.p2align 4, 0x90
_qat_hal_batch_wr_lm: ## @qat_hal_batch_wr_lm
.cfi_startproc
## %bb.0:
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, %r15d
movq %rdi, %rbx
movl $1, -44(%rbp)
movq 24(%rdx), %r13
movl (%rdx), %eax
movq (%rdi), %rcx
movl (%rcx), %edi
cmpl %edi, %eax
cmovbl %eax, %edi
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl $4, %esi
callq _kmalloc_array
testq %rax, %rax
je LBB0_3
## %bb.1:
movq %rax, %r14
testq %r13, %r13
je LBB0_2
## %bb.4:
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movzbl 4(%r13), %r15d
movl 8(%r13), %ecx
movq 16(%r13), %r8
movl (%r13), %edx
movq %r14, %rdi
movl %r12d, %esi
callq _qat_hal_concat_micro_code
addl %r12d, %eax
movq 24(%r13), %r13
movl %eax, %r12d
testq %r13, %r13
jne LBB0_5
jmp LBB0_6
LBB0_3:
movq _ENOMEM@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
subl (%rax), %ebx
jmp LBB0_7
LBB0_2:
xorl %eax, %eax
LBB0_6:
movslq %eax, %rcx
incl %eax
movl $65536, (%r14,%rcx,4) ## imm = 0x10000
movzbl %r15b, %esi
leaq -44(%rbp), %rcx
movq %rbx, %rdi
xorl %edx, %edx
movq %r14, %r8
movl %eax, %r9d
callq _qat_hal_exec_micro_init_lm
movl %eax, %ebx
movq %r14, %rdi
callq _kfree
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 _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _ENOMEM,4,2 ## @ENOMEM
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _qat_hal_batch_wr_lm ; -- Begin function qat_hal_batch_wr_lm
.p2align 2
_qat_hal_batch_wr_lm: ; @qat_hal_batch_wr_lm
.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
mov w8, #1 ; =0x1
str w8, [sp, #12]
ldr x23, [x2, #24]
ldr w8, [x2]
ldr x9, [x0]
ldr w9, [x9]
cmp w8, w9
csel w0, w8, w9, lo
Lloh0:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh1:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
mov w1, #4 ; =0x4
bl _kmalloc_array
cbz x0, LBB0_4
; %bb.1:
mov x21, x0
mov w22, #0 ; =0x0
cbz x23, LBB0_3
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldrb w20, [x23, #4]
ldr w3, [x23, #8]
ldr x4, [x23, #16]
ldr w2, [x23]
mov x0, x21
mov x1, x22
bl _qat_hal_concat_micro_code
add w22, w22, w0
ldr x23, [x23, #24]
cbnz x23, LBB0_2
LBB0_3:
mov w8, #65536 ; =0x10000
str w8, [x21, w22, sxtw #2]
add x3, sp, #12
add w5, w22, #1
mov x0, x19
mov x1, x20
mov w2, #0 ; =0x0
mov x4, x21
bl _qat_hal_exec_micro_init_lm
mov x19, x0
mov x0, x21
bl _kfree
b LBB0_5
LBB0_4:
Lloh3:
adrp x8, _ENOMEM@GOTPAGE
Lloh4:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
neg w19, w8
LBB0_5:
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
add sp, sp, #80
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _ENOMEM,4,2 ; @ENOMEM
.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
shlq $4, %rdx
addq $16, %rdx
xorl %esi, %esi
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq 8(%rcx,%rsi), %rax
testq %rax, %rax
jne LBB0_4
## %bb.2: ## in Loop: Header=BB0_3 Depth=1
addq $16, %rsi
cmpq %rsi, %rdx
jne 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 (%rcx,%rsi), %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 w8, #1 ; =0x1
lsl x8, x8, x22
ldr x9, [x21, #8]
add x10, x8, #1
add x9, x9, #8
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x8, [x9]
cbnz x8, LBB0_5
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
add x9, x9, #16
subs x10, x10, #1
b.ne 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, [x9, #-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
.p2align 4, 0x90 ## -- Begin function put_lfn
_put_lfn: ## @put_lfn
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, -56(%rbp) ## 8-byte Spill
movq _LDIR_Chksum@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl %ecx, (%rsi,%rax,4)
movq _AM_LFN@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _LDIR_Attr@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movl %eax, (%rsi,%rcx,4)
movq _LDIR_Type@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl $0, (%rsi,%rax,4)
movq _LDIR_FstClusLO@GOTPCREL(%rip), %rax
movslq (%rax), %rax
leaq (%rsi,%rax,4), %rdi
xorl %r13d, %r13d
xorl %esi, %esi
callq _st_word
leal (%rbx,%rbx,2), %eax
movq %rbx, -48(%rbp) ## 8-byte Spill
leal (%rbx,%rax,4), %ebx
addl $-13, %ebx
movq _LfnOfs@GOTPCREL(%rip), %r15
xorl %eax, %eax
jmp LBB0_1
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
movl $65535, %r12d ## imm = 0xFFFF
cmpq $12, %r13
jae LBB0_10
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
incq %r13
movl %r12d, %eax
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl $65535, %r12d ## imm = 0xFFFF
cmpl $65535, %eax ## imm = 0xFFFF
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movslq %ebx, %rax
decl %ebx
movq -56(%rbp), %rcx ## 8-byte Reload
movl (%rcx,%rax,4), %r12d
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movq (%r15), %rax
movslq (%rax,%r13,4), %rax
leaq (%r14,%rax,4), %rdi
movl %r12d, %esi
callq _st_word
testl %r12d, %r12d
je LBB0_9
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
cmpq $11, %r13
jbe LBB0_5
## %bb.6:
cmpl $65535, %r12d ## imm = 0xFFFF
je LBB0_10
## %bb.7:
movslq %ebx, %rax
movq -56(%rbp), %rcx ## 8-byte Reload
cmpl $0, (%rcx,%rax,4)
je LBB0_10
## %bb.8:
movq -48(%rbp), %rcx ## 8-byte Reload
jmp LBB0_11
LBB0_10:
movq _LLEF@GOTPCREL(%rip), %rax
movq -48(%rbp), %rcx ## 8-byte Reload
orl (%rax), %ecx
LBB0_11:
movq _LDIR_Ord@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl %ecx, (%r14,%rax,4)
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _LDIR_Chksum,8,3 ## @LDIR_Chksum
.comm _AM_LFN,4,2 ## @AM_LFN
.comm _LDIR_Attr,8,3 ## @LDIR_Attr
.comm _LDIR_Type,8,3 ## @LDIR_Type
.comm _LDIR_FstClusLO,4,2 ## @LDIR_FstClusLO
.comm _LfnOfs,8,3 ## @LfnOfs
.comm _LLEF,4,2 ## @LLEF
.comm _LDIR_Ord,8,3 ## @LDIR_Ord
.no_dead_strip _put_lfn
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function put_lfn
_put_lfn: ; @put_lfn
.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
mov x21, x0
Lloh0:
adrp x8, _LDIR_Chksum@GOTPAGE
Lloh1:
ldr x8, [x8, _LDIR_Chksum@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str w3, [x1, x8, lsl #2]
Lloh3:
adrp x8, _AM_LFN@GOTPAGE
Lloh4:
ldr x8, [x8, _AM_LFN@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
Lloh6:
adrp x9, _LDIR_Attr@GOTPAGE
Lloh7:
ldr x9, [x9, _LDIR_Attr@GOTPAGEOFF]
Lloh8:
ldr x9, [x9]
str w8, [x1, x9, lsl #2]
Lloh9:
adrp x8, _LDIR_Type@GOTPAGE
Lloh10:
ldr x8, [x8, _LDIR_Type@GOTPAGEOFF]
Lloh11:
ldr x8, [x8]
str wzr, [x1, x8, lsl #2]
Lloh12:
adrp x8, _LDIR_FstClusLO@GOTPAGE
Lloh13:
ldr x8, [x8, _LDIR_FstClusLO@GOTPAGEOFF]
Lloh14:
ldrsw x8, [x8]
add x0, x1, x8, lsl #2
mov w1, #0 ; =0x0
bl _st_word
mov x24, #0 ; =0x0
mov w8, #0 ; =0x0
mov w9, #13 ; =0xd
mov w10, #-13 ; =0xfffffff3
madd w23, w19, w9, w10
Lloh15:
adrp x25, _LfnOfs@GOTPAGE
Lloh16:
ldr x25, [x25, _LfnOfs@GOTPAGEOFF]
b LBB0_3
LBB0_1: ; in Loop: Header=BB0_3 Depth=1
cmp x24, #11
b.hi LBB0_8
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x24, x24, #1
mov x8, x22
LBB0_3: ; =>This Inner Loop Header: Depth=1
mov w22, #65535 ; =0xffff
cmp w8, w22
b.eq LBB0_5
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
ldr w22, [x21, w23, sxtw #2]
sub w23, w23, #1
LBB0_5: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x25]
ldrsw x8, [x8, x24, lsl #2]
add x0, x20, x8, lsl #2
mov x1, x22
bl _st_word
cbnz w22, LBB0_1
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
cmp x24, #12
b.hs LBB0_10
; %bb.7: ; in Loop: Header=BB0_3 Depth=1
mov w22, #65535 ; =0xffff
b LBB0_2
LBB0_8:
mov w8, #65535 ; =0xffff
cmp w22, w8
b.eq LBB0_10
; %bb.9:
ldr w8, [x21, w23, sxtw #2]
cbnz w8, LBB0_11
LBB0_10:
Lloh17:
adrp x8, _LLEF@GOTPAGE
Lloh18:
ldr x8, [x8, _LLEF@GOTPAGEOFF]
Lloh19:
ldr w8, [x8]
orr w19, w8, w19
LBB0_11:
Lloh20:
adrp x8, _LDIR_Ord@GOTPAGE
Lloh21:
ldr x8, [x8, _LDIR_Ord@GOTPAGEOFF]
Lloh22:
ldr x8, [x8]
str w19, [x20, x8, lsl #2]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.cfi_endproc
; -- End function
.comm _LDIR_Chksum,8,3 ; @LDIR_Chksum
.comm _AM_LFN,4,2 ; @AM_LFN
.comm _LDIR_Attr,8,3 ; @LDIR_Attr
.comm _LDIR_Type,8,3 ; @LDIR_Type
.comm _LDIR_FstClusLO,4,2 ; @LDIR_FstClusLO
.comm _LfnOfs,8,3 ; @LfnOfs
.comm _LLEF,4,2 ; @LLEF
.comm _LDIR_Ord,8,3 ; @LDIR_Ord
.no_dead_strip _put_lfn
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _svn_utf__glob ## -- Begin function svn_utf__glob
.p2align 4, 0x90
_svn_utf__glob: ## @svn_utf__glob
.cfi_startproc
## %bb.0:
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 %r9, %r12
movl 24(%rbp), %r14d
testq %r9, %r9
sete %al
testl %r14d, %r14d
setne %r9b
orb %al, %r9b
je LBB0_31
## %bb.1:
movq %rcx, -80(%rbp) ## 8-byte Spill
movq %r8, -88(%rbp) ## 8-byte Spill
movq %rdi, -104(%rbp) ## 8-byte Spill
movq 48(%rbp), %rbx
movq 40(%rbp), %rax
movq %rax, -96(%rbp) ## 8-byte Spill
movq 32(%rbp), %r15
movq 16(%rbp), %r13
leaq -64(%rbp), %rdi
movq %rbx, %rcx
callq _decompose_normalized
movl %eax, %edi
callq _SVN_ERR
movq %rbx, -72(%rbp) ## 8-byte Spill
movq (%rbx), %rbx
testl %r14d, %r14d
je LBB0_2
## %bb.3:
testq %r12, %r12
je LBB0_4
## %bb.9:
movq _SVN_UTF__UNKNOWN_LENGTH@GOTPCREL(%rip), %rax
xorl %r8d, %r8d
cmpq %r13, (%rax)
jne LBB0_11
## %bb.10:
movq _UTF8PROC_NULLTERM@GOTPCREL(%rip), %rax
movl (%rax), %r8d
LBB0_11:
movq _UTF8PROC_DECOMPOSE@GOTPCREL(%rip), %rax
movq _UTF8PROC_STABLE@GOTPCREL(%rip), %rcx
orl (%rax), %r8d
orl (%rcx), %r8d
leaq -52(%rbp), %rdx
movq %r12, %rdi
movq %r13, %rsi
movl $1, %ecx
callq _utf8proc_decompose
testl %eax, %eax
js LBB0_12
## %bb.13:
cmpl $1, %eax
jne LBB0_14
## %bb.16:
cmpb $-1, -52(%rbp)
je LBB0_5
## %bb.17:
movq _SVN_ERR_UTF8_GLOB@GOTPCREL(%rip), %rax
movl (%rax), %ebx
leaq L_.str.2(%rip), %rdi
callq __
movslq -52(%rbp), %rcx
movl %ebx, %edi
xorl %esi, %esi
movl %eax, %edx
callq _svn_error_createf
jmp LBB0_30
LBB0_31:
movq _SVN_ERR_UTF8_GLOB@GOTPCREL(%rip), %rax
movl (%rax), %ebx
leaq L_.str(%rip), %rdi
callq __
movl %ebx, %edi
xorl %esi, %esi
movl %eax, %edx
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _svn_error_create ## TAILCALL
LBB0_2:
movq -64(%rbp), %rdx
leaq -48(%rbp), %rcx
movq %r15, %rdi
movq %rbx, %rsi
callq _svn_utf__encode_ucs4_string
movl %eax, %edi
callq _SVN_ERR
jmp LBB0_29
LBB0_4:
movl $-1, -52(%rbp)
LBB0_5:
movq $0, -48(%rbp)
movq -64(%rbp), %rsi
decq %rsi
movq %r15, %rdi
callq _svn_membuf__ensure
cmpq $0, -64(%rbp)
jle LBB0_28
## %bb.6:
movq _FALSE@GOTPCREL(%rip), %r14
movl (%r14), %eax
xorl %r13d, %r13d
leaq -48(%rbp), %r12
jmp LBB0_7
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_7 Depth=1
movq -48(%rbp), %rsi
incq %rsi
movq %r15, %rdi
callq _svn_membuf__resize
movq (%r15), %rax
movq -48(%rbp), %rcx
leaq 1(%rcx), %rdx
movq %rdx, -48(%rbp)
movb $92, (%rax,%rcx)
movq _TRUE@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_27: ## in Loop: Header=BB0_7 Depth=1
incq %r13
cmpq -64(%rbp), %r13
jge LBB0_28
LBB0_7: ## =>This Inner Loop Header: Depth=1
movl (%rbx,%r13,4), %esi
movl -52(%rbp), %ecx
xorl %esi, %ecx
orl %eax, %ecx
je LBB0_8
## %bb.18: ## in Loop: Header=BB0_7 Depth=1
testl %eax, %eax
je LBB0_20
## %bb.19: ## in Loop: Header=BB0_7 Depth=1
movq %r15, %rdi
## kill: def $esi killed $esi killed $rsi
movq %r12, %rdx
callq _encode_ucs4
movl %eax, %edi
callq _SVN_ERR
movl (%r14), %eax
jmp LBB0_27
LBB0_20: ## in Loop: Header=BB0_7 Depth=1
leal -91(%rsi), %eax
cmpl $1, %eax
jbe LBB0_21
## %bb.22: ## in Loop: Header=BB0_7 Depth=1
cmpl $95, %esi
je LBB0_24
## %bb.23: ## in Loop: Header=BB0_7 Depth=1
cmpl $37, %esi
jne LBB0_25
LBB0_24: ## in Loop: Header=BB0_7 Depth=1
cmpl $37, %esi
movq %r14, %r12
movl $63, %r14d
movl $42, %eax
cmovel %eax, %r14d
movq -48(%rbp), %rsi
incq %rsi
movq %r15, %rdi
callq _svn_membuf__resize
movq (%r15), %rax
movq -48(%rbp), %rcx
leaq 1(%rcx), %rdx
movq %rdx, -48(%rbp)
movb %r14b, (%rax,%rcx)
movq %r12, %r14
leaq -48(%rbp), %r12
jmp LBB0_26
LBB0_25: ## in Loop: Header=BB0_7 Depth=1
movq %r15, %rdi
## kill: def $esi killed $esi killed $rsi
movq %r12, %rdx
callq _encode_ucs4
movl %eax, %edi
callq _SVN_ERR
LBB0_26: ## in Loop: Header=BB0_7 Depth=1
xorl %eax, %eax
jmp LBB0_27
LBB0_12:
movq _SVN_ERR_UTF8PROC_ERROR@GOTPCREL(%rip), %rcx
movl (%rcx), %ebx
movl %eax, %edi
callq _utf8proc_errmsg
movl %eax, %edi
callq _gettext
jmp LBB0_15
LBB0_14:
movq _SVN_ERR_UTF8_GLOB@GOTPCREL(%rip), %rax
movl (%rax), %ebx
leaq L_.str.1(%rip), %rdi
callq __
LBB0_15:
movl %ebx, %edi
xorl %esi, %esi
movl %eax, %edx
callq _svn_error_create
jmp LBB0_30
LBB0_21:
movq -48(%rbp), %rsi
incq %rsi
movq %r15, %rdi
callq _svn_membuf__resize
movq (%r15), %rax
movq -48(%rbp), %rcx
leaq 1(%rcx), %rdx
movq %rdx, -48(%rbp)
movb $92, (%rax,%rcx)
LBB0_28:
movq -48(%rbp), %rsi
incq %rsi
movq %r15, %rdi
callq _svn_membuf__resize
movq (%r15), %rax
movq -48(%rbp), %rcx
movb $0, (%rax,%rcx)
LBB0_29:
leaq -64(%rbp), %rbx
movq %rbx, %rdi
movq -80(%rbp), %rsi ## 8-byte Reload
movq -88(%rbp), %rdx ## 8-byte Reload
movq -72(%rbp), %r14 ## 8-byte Reload
movq %r14, %rcx
callq _decompose_normalized
movl %eax, %edi
callq _SVN_ERR
movq (%r14), %rsi
movq -64(%rbp), %rdx
movq -96(%rbp), %r14 ## 8-byte Reload
movq %r14, %rdi
movq %rbx, %rcx
callq _svn_utf__encode_ucs4_string
movl %eax, %edi
callq _SVN_ERR
movq (%r15), %rdi
movq (%r14), %rsi
xorl %edx, %edx
callq _apr_fnmatch
xorl %ecx, %ecx
testl %eax, %eax
sete %cl
movq -104(%rbp), %rax ## 8-byte Reload
movl %ecx, (%rax)
movq _SVN_NO_ERROR@GOTPCREL(%rip), %rax
movq (%rax), %rax
LBB0_30:
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SVN_ERR_UTF8_GLOB,4,2 ## @SVN_ERR_UTF8_GLOB
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Cannot use a custom escape token in glob matching mode"
.comm _SVN_UTF__UNKNOWN_LENGTH,8,3 ## @SVN_UTF__UNKNOWN_LENGTH
.comm _UTF8PROC_NULLTERM,4,2 ## @UTF8PROC_NULLTERM
.comm _UTF8PROC_DECOMPOSE,4,2 ## @UTF8PROC_DECOMPOSE
.comm _UTF8PROC_STABLE,4,2 ## @UTF8PROC_STABLE
.comm _SVN_ERR_UTF8PROC_ERROR,4,2 ## @SVN_ERR_UTF8PROC_ERROR
L_.str.1: ## @.str.1
.asciz "Escape token must be one character"
L_.str.2: ## @.str.2
.asciz "Invalid escape character U+%04lX"
.comm _FALSE,4,2 ## @FALSE
.comm _TRUE,4,2 ## @TRUE
.comm _SVN_NO_ERROR,8,3 ## @SVN_NO_ERROR
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _svn_utf__glob ; -- Begin function svn_utf__glob
.p2align 2
_svn_utf__glob: ; @svn_utf__glob
.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 x27, x7
mov x26, x5
mov x23, x4
mov x24, x3
mov x19, x0
ldp x20, x22, [x29, #24]
ldr x21, [x29, #16]
cbz x5, LBB0_3
; %bb.1:
cbnz w27, LBB0_3
; %bb.2:
Lloh0:
adrp x8, _SVN_ERR_UTF8_GLOB@GOTPAGE
Lloh1:
ldr x8, [x8, _SVN_ERR_UTF8_GLOB@GOTPAGEOFF]
Lloh2:
ldr w19, [x8]
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
bl __
mov x2, x0
mov x0, x19
mov x1, #0 ; =0x0
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
ldp x28, x27, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #128
b _svn_error_create
LBB0_3:
mov x28, x6
add x0, sp, #16
mov x3, x22
bl _decompose_normalized
bl _SVN_ERR
ldr x25, [x22]
cbz w27, LBB0_9
; %bb.4:
cbz x26, LBB0_10
; %bb.5:
Lloh5:
adrp x8, _SVN_UTF__UNKNOWN_LENGTH@GOTPAGE
Lloh6:
ldr x8, [x8, _SVN_UTF__UNKNOWN_LENGTH@GOTPAGEOFF]
Lloh7:
ldr x8, [x8]
Lloh8:
adrp x9, _UTF8PROC_NULLTERM@GOTPAGE
Lloh9:
ldr x9, [x9, _UTF8PROC_NULLTERM@GOTPAGEOFF]
Lloh10:
ldr w9, [x9]
mov x1, x28
cmp x8, x28
Lloh11:
adrp x8, _UTF8PROC_DECOMPOSE@GOTPAGE
Lloh12:
ldr x8, [x8, _UTF8PROC_DECOMPOSE@GOTPAGEOFF]
csel w9, w9, wzr, eq
Lloh13:
ldr w8, [x8]
Lloh14:
adrp x10, _UTF8PROC_STABLE@GOTPAGE
Lloh15:
ldr x10, [x10, _UTF8PROC_STABLE@GOTPAGEOFF]
Lloh16:
ldr w10, [x10]
orr w8, w8, w10
add x2, sp, #12
orr w4, w9, w8
mov x0, x26
mov w3, #1 ; =0x1
bl _utf8proc_decompose
tbnz w0, #31, LBB0_23
; %bb.6:
cmp w0, #1
b.ne LBB0_24
; %bb.7:
ldrb w8, [sp, #12]
eor w8, w8, #0xff
cbz w8, LBB0_11
; %bb.8:
Lloh17:
adrp x8, _SVN_ERR_UTF8_GLOB@GOTPAGE
Lloh18:
ldr x8, [x8, _SVN_ERR_UTF8_GLOB@GOTPAGEOFF]
Lloh19:
ldr w19, [x8]
Lloh20:
adrp x0, l_.str.2@PAGE
Lloh21:
add x0, x0, l_.str.2@PAGEOFF
bl __
mov x2, x0
ldrsw x3, [sp, #12]
mov x0, x19
mov x1, #0 ; =0x0
bl _svn_error_createf
b LBB0_29
LBB0_9:
ldr x2, [sp, #16]
add x3, sp, #24
mov x0, x21
mov x1, x25
bl _svn_utf__encode_ucs4_string
bl _SVN_ERR
b LBB0_28
LBB0_10:
mov w8, #-1 ; =0xffffffff
str w8, [sp, #12]
LBB0_11:
str xzr, [sp, #24]
ldr x8, [sp, #16]
sub x1, x8, #1
mov x0, x21
bl _svn_membuf__ensure
ldr x8, [sp, #16]
cmp x8, #1
b.lt LBB0_27
; %bb.12:
mov x26, #0 ; =0x0
Lloh22:
adrp x28, _FALSE@GOTPAGE
Lloh23:
ldr x28, [x28, _FALSE@GOTPAGEOFF]
ldr w8, [x28]
mov w27, #92 ; =0x5c
b LBB0_15
LBB0_13: ; in Loop: Header=BB0_15 Depth=1
ldr x8, [sp, #24]
add x1, x8, #1
mov x0, x21
bl _svn_membuf__resize
ldr x8, [x21]
ldr x9, [sp, #24]
add x10, x9, #1
str x10, [sp, #24]
strb w27, [x8, x9]
Lloh24:
adrp x8, _TRUE@GOTPAGE
Lloh25:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
Lloh26:
ldr w8, [x8]
LBB0_14: ; in Loop: Header=BB0_15 Depth=1
add x26, x26, #1
ldr x9, [sp, #16]
cmp x26, x9
b.ge LBB0_27
LBB0_15: ; =>This Inner Loop Header: Depth=1
ldr w1, [x25, x26, lsl #2]
ldr w9, [sp, #12]
cmp w1, w9
ccmp w8, #0, #0, eq
b.eq LBB0_13
; %bb.16: ; in Loop: Header=BB0_15 Depth=1
cbz w8, LBB0_18
; %bb.17: ; in Loop: Header=BB0_15 Depth=1
add x2, sp, #24
mov x0, x21
bl _encode_ucs4
bl _SVN_ERR
ldr w8, [x28]
b LBB0_14
LBB0_18: ; in Loop: Header=BB0_15 Depth=1
sub w8, w1, #91
cmp w8, #1
b.ls LBB0_26
; %bb.19: ; in Loop: Header=BB0_15 Depth=1
cmp w1, #95
b.eq LBB0_21
; %bb.20: ; in Loop: Header=BB0_15 Depth=1
cmp w1, #37
b.ne LBB0_22
LBB0_21: ; in Loop: Header=BB0_15 Depth=1
cmp w1, #37
mov x27, x28
mov x28, x24
mov x24, x23
mov x23, x19
mov w8, #63 ; =0x3f
mov w9, #42 ; =0x2a
csel w19, w9, w8, eq
ldr x8, [sp, #24]
add x1, x8, #1
mov x0, x21
bl _svn_membuf__resize
mov w8, #0 ; =0x0
ldr x9, [x21]
ldr x10, [sp, #24]
add x11, x10, #1
str x11, [sp, #24]
strb w19, [x9, x10]
mov x19, x23
mov x23, x24
mov x24, x28
mov x28, x27
mov w27, #92 ; =0x5c
b LBB0_14
LBB0_22: ; in Loop: Header=BB0_15 Depth=1
add x2, sp, #24
mov x0, x21
bl _encode_ucs4
bl _SVN_ERR
mov w8, #0 ; =0x0
b LBB0_14
LBB0_23:
Lloh27:
adrp x8, _SVN_ERR_UTF8PROC_ERROR@GOTPAGE
Lloh28:
ldr x8, [x8, _SVN_ERR_UTF8PROC_ERROR@GOTPAGEOFF]
Lloh29:
ldr w19, [x8]
bl _utf8proc_errmsg
bl _gettext
b LBB0_25
LBB0_24:
Lloh30:
adrp x8, _SVN_ERR_UTF8_GLOB@GOTPAGE
Lloh31:
ldr x8, [x8, _SVN_ERR_UTF8_GLOB@GOTPAGEOFF]
Lloh32:
ldr w19, [x8]
Lloh33:
adrp x0, l_.str.1@PAGE
Lloh34:
add x0, x0, l_.str.1@PAGEOFF
bl __
LBB0_25:
mov x2, x0
mov x0, x19
mov x1, #0 ; =0x0
bl _svn_error_create
b LBB0_29
LBB0_26:
ldr x8, [sp, #24]
add x1, x8, #1
mov x0, x21
bl _svn_membuf__resize
ldr x8, [x21]
ldr x9, [sp, #24]
add x10, x9, #1
str x10, [sp, #24]
mov w10, #92 ; =0x5c
strb w10, [x8, x9]
LBB0_27:
ldr x8, [sp, #24]
add x1, x8, #1
mov x0, x21
bl _svn_membuf__resize
ldr x8, [x21]
ldr x9, [sp, #24]
strb wzr, [x8, x9]
LBB0_28:
add x0, sp, #16
mov x1, x24
mov x2, x23
mov x3, x22
bl _decompose_normalized
bl _SVN_ERR
ldr x1, [x22]
ldr x2, [sp, #16]
add x3, sp, #16
mov x0, x20
bl _svn_utf__encode_ucs4_string
bl _SVN_ERR
ldr x0, [x21]
ldr x1, [x20]
mov w2, #0 ; =0x0
bl _apr_fnmatch
cmp w0, #0
cset w8, eq
str w8, [x19]
Lloh35:
adrp x8, _SVN_NO_ERROR@GOTPAGE
Lloh36:
ldr x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh37:
ldr x0, [x8]
LBB0_29:
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 AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGot Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpAdd Lloh33, Lloh34
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37
.cfi_endproc
; -- End function
.comm _SVN_ERR_UTF8_GLOB,4,2 ; @SVN_ERR_UTF8_GLOB
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Cannot use a custom escape token in glob matching mode"
.comm _SVN_UTF__UNKNOWN_LENGTH,8,3 ; @SVN_UTF__UNKNOWN_LENGTH
.comm _UTF8PROC_NULLTERM,4,2 ; @UTF8PROC_NULLTERM
.comm _UTF8PROC_DECOMPOSE,4,2 ; @UTF8PROC_DECOMPOSE
.comm _UTF8PROC_STABLE,4,2 ; @UTF8PROC_STABLE
.comm _SVN_ERR_UTF8PROC_ERROR,4,2 ; @SVN_ERR_UTF8PROC_ERROR
l_.str.1: ; @.str.1
.asciz "Escape token must be one character"
l_.str.2: ; @.str.2
.asciz "Invalid escape character U+%04lX"
.comm _FALSE,4,2 ; @FALSE
.comm _TRUE,4,2 ; @TRUE
.comm _SVN_NO_ERROR,8,3 ; @SVN_NO_ERROR
.subsections_via_symbols
|
.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_22
## %bb.1:
movq (%rbx), %r15
xorl %r12d, %r12d
testq %r15, %r15
je LBB0_14
## %bb.2:
movq _opt_rev_args@GOTPCREL(%rip), %r14
xorl %r13d, %r13d
jmp LBB0_3
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_3 Depth=1
movslq %r13d, %rax
incl %r13d
movq %r15, (%rbx,%rax,8)
LBB0_12: ## in Loop: Header=BB0_3 Depth=1
movslq %r12d, %rax
decl %r12d
movq -8(%rbx,%rax,8), %r15
testq %r15, %r15
je LBB0_13
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_9: ## in Loop: Header=BB0_3 Depth=1
movq %r15, %rdi
xorl %esi, %esi
callq _argv_parse_rev_flag
testq %rax, %rax
je LBB0_11
## %bb.10: ## in Loop: Header=BB0_3 Depth=1
movq %r14, %rdi
movq %r15, %rsi
callq _argv_append
jmp LBB0_12
LBB0_5: ## in Loop: Header=BB0_3 Depth=1
movzbl 2(%r15), %eax
testl %eax, %eax
jne LBB0_9
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_3 Depth=1
movslq %r12d, %r12
movslq %r13d, %rax
leaq (%rbx,%rax,8), %rax
.p2align 4, 0x90
LBB0_8: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movq %r15, (%rax)
movq 8(%rbx,%r12,8), %r15
incq %r12
addq $8, %rax
incl %r13d
testq %r15, %r15
jne LBB0_8
jmp LBB0_12
LBB0_13:
movslq %r13d, %r12
LBB0_14:
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_20
## %bb.15:
xorl %r15d, %r15d
movq _opt_rev_args@GOTPCREL(%rip), %rbx
xorl %r12d, %r12d
jmp LBB0_16
.p2align 4, 0x90
LBB0_18: ## in Loop: Header=BB0_16 Depth=1
movq -48(%rbp), %rax
movslq %r12d, %rcx
incl %r12d
movq %r14, (%rax,%rcx,8)
LBB0_19: ## in Loop: Header=BB0_16 Depth=1
movq -48(%rbp), %rax
addq $8, %r15
LBB0_16: ## =>This Inner Loop Header: Depth=1
movq (%rax,%r15), %r14
movq %r14, %rdi
xorl %esi, %esi
callq _argv_parse_rev_flag
testq %rax, %rax
je LBB0_18
## %bb.17: ## in Loop: Header=BB0_16 Depth=1
movq %rbx, %rdi
movq %r14, %rsi
callq _argv_append
jmp LBB0_19
LBB0_22:
movq _opt_cmdline_args@GOTPCREL(%rip), %rax
movq %rbx, (%rax)
jmp LBB0_21
LBB0_20:
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_21:
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_15
; %bb.1:
ldr x21, [x19]
cbz x21, LBB0_16
; %bb.2:
mov w24, #0 ; =0x0
mov w22, #0 ; =0x0
add x23, 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
sub w24, w24, #1
ldr x21, [x19, w24, sxtw #3]
cbz x21, LBB0_14
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
sxtw x24, w24
add x8, x19, w22, sxtw #3
LBB0_12: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
str x21, [x8], #8
ldr x21, [x23, x24, lsl #3]
add x24, x24, #1
add w22, w22, #1
cbnz x21, LBB0_12
; %bb.13: ; in Loop: Header=BB0_5 Depth=1
; kill: def $w24 killed $w24 killed $x24 def $x24
b LBB0_4
LBB0_14:
sxtw x8, w22
b LBB0_17
LBB0_15:
Lloh2:
adrp x8, _opt_cmdline_args@GOTPAGE
Lloh3:
ldr x8, [x8, _opt_cmdline_args@GOTPAGEOFF]
Lloh4:
str x19, [x8]
b LBB0_24
LBB0_16:
mov x8, #0 ; =0x0
LBB0_17:
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_23
; %bb.18:
mov x21, #0 ; =0x0
mov w22, #0 ; =0x0
Lloh13:
adrp x19, _opt_rev_args@GOTPAGE
Lloh14:
ldr x19, [x19, _opt_rev_args@GOTPAGEOFF]
b LBB0_21
LBB0_19: ; in Loop: Header=BB0_21 Depth=1
ldr x8, [sp, #8]
str x20, [x8, w22, sxtw #3]
add w22, w22, #1
LBB0_20: ; in Loop: Header=BB0_21 Depth=1
ldr x8, [sp, #8]
add x21, x21, #8
LBB0_21: ; =>This Inner Loop Header: Depth=1
ldr x20, [x8, x21]
mov x0, x20
mov x1, #0 ; =0x0
bl _argv_parse_rev_flag
cbz x0, LBB0_19
; %bb.22: ; in Loop: Header=BB0_21 Depth=1
mov x0, x19
mov x1, x20
bl _argv_append
b LBB0_20
LBB0_23:
Lloh15:
adrp x0, _opt_rev_args@GOTPAGE
Lloh16:
ldr x0, [x0, _opt_rev_args@GOTPAGEOFF]
Lloh17:
adrp x1, l_.str.4@PAGE
Lloh18:
add x1, x1, l_.str.4@PAGEOFF
Lloh19:
adrp x2, l_.str.5@PAGE
Lloh20:
add x2, x2, l_.str.5@PAGEOFF
mov x3, x19
bl _filter_rev_parse
LBB0_24:
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 AdrpAdd Lloh19, Lloh20
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpLdrGot Lloh15, Lloh16
.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 opfsub
_opfsub: ## @opfsub
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rdx), %ecx
movl $-1, %eax
cmpl $2, %ecx
je LBB0_8
## %bb.1:
cmpl $1, %ecx
jne LBB0_13
## %bb.2:
movq 8(%rdx), %rcx
movl (%rcx), %edx
movq _OT_MEMORY@GOTPCREL(%rip), %rdi
testl %edx, (%rdi)
je LBB0_13
## %bb.3:
movq _OT_DWORD@GOTPCREL(%rip), %rdi
testl %edx, (%rdi)
je LBB0_6
## %bb.4:
movl $216, (%rsi)
jmp LBB0_5
LBB0_8:
movq 8(%rdx), %rcx
movq _OT_FPUREG@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
movq _OT_REGALL@GOTPCREL(%rip), %rdi
movl (%rdi), %edi
notl %edi
movl (%rcx), %r8d
andl %edi, %r8d
testl %edx, %r8d
je LBB0_9
LBB0_11:
movl $216, (%rsi)
movl $224, %eax
orl 40(%rcx), %eax
jmp LBB0_12
LBB0_9:
cmpl $0, 16(%rcx)
je LBB0_10
LBB0_13:
popq %rbp
retq
LBB0_6:
movq _OT_QWORD@GOTPCREL(%rip), %rdi
testl %edx, (%rdi)
je LBB0_13
## %bb.7:
movl $220, (%rsi)
LBB0_5:
movq 8(%rcx), %rax
movl (%rax), %eax
orl $32, %eax
LBB0_12:
movl %eax, 4(%rsi)
movl $2, %eax
popq %rbp
retq
LBB0_10:
andl 24(%rcx), %edi
testl %edx, %edi
jne LBB0_11
jmp LBB0_13
.cfi_endproc
## -- End function
.comm _OT_MEMORY,4,2 ## @OT_MEMORY
.comm _OT_DWORD,4,2 ## @OT_DWORD
.comm _OT_QWORD,4,2 ## @OT_QWORD
.comm _OT_FPUREG,4,2 ## @OT_FPUREG
.comm _OT_REGALL,4,2 ## @OT_REGALL
.no_dead_strip _opfsub
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function opfsub
_opfsub: ; @opfsub
.cfi_startproc
; %bb.0:
ldr w8, [x2]
cmp w8, #2
b.eq LBB0_5
; %bb.1:
cmp w8, #1
b.ne LBB0_13
; %bb.2:
ldr x8, [x2, #8]
ldr w9, [x8]
Lloh0:
adrp x10, _OT_MEMORY@GOTPAGE
Lloh1:
ldr x10, [x10, _OT_MEMORY@GOTPAGEOFF]
Lloh2:
ldr w10, [x10]
tst w10, w9
b.eq LBB0_13
; %bb.3:
Lloh3:
adrp x10, _OT_DWORD@GOTPAGE
Lloh4:
ldr x10, [x10, _OT_DWORD@GOTPAGEOFF]
Lloh5:
ldr w10, [x10]
tst w10, w9
b.eq LBB0_9
; %bb.4:
mov w9, #216 ; =0xd8
b LBB0_11
LBB0_5:
ldr x8, [x2, #8]
ldr w11, [x8]
Lloh6:
adrp x9, _OT_FPUREG@GOTPAGE
Lloh7:
ldr x9, [x9, _OT_FPUREG@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
Lloh9:
adrp x10, _OT_REGALL@GOTPAGE
Lloh10:
ldr x10, [x10, _OT_REGALL@GOTPAGEOFF]
Lloh11:
ldr w10, [x10]
bic w11, w11, w10
tst w11, w9
b.eq LBB0_7
LBB0_6:
mov w9, #216 ; =0xd8
str w9, [x1]
ldr w8, [x8, #40]
orr w8, w8, #0xe0
b LBB0_12
LBB0_7:
ldr w11, [x8, #16]
cbnz w11, LBB0_13
; %bb.8:
mvn w10, w10
ldr w11, [x8, #24]
and w9, w11, w9
tst w9, w10
b.ne LBB0_6
b LBB0_13
LBB0_9:
Lloh12:
adrp x10, _OT_QWORD@GOTPAGE
Lloh13:
ldr x10, [x10, _OT_QWORD@GOTPAGEOFF]
Lloh14:
ldr w10, [x10]
tst w10, w9
b.eq LBB0_13
; %bb.10:
mov w9, #220 ; =0xdc
LBB0_11:
str w9, [x1]
ldr x8, [x8, #8]
ldr w8, [x8]
orr w8, w8, #0x20
LBB0_12:
str w8, [x1, #4]
mov w0, #2 ; =0x2
ret
LBB0_13:
mov w0, #-1 ; =0xffffffff
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.cfi_endproc
; -- End function
.comm _OT_MEMORY,4,2 ; @OT_MEMORY
.comm _OT_DWORD,4,2 ; @OT_DWORD
.comm _OT_QWORD,4,2 ; @OT_QWORD
.comm _OT_FPUREG,4,2 ; @OT_FPUREG
.comm _OT_REGALL,4,2 ; @OT_REGALL
.no_dead_strip _opfsub
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function lf_to_crlf
_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
xorl %esi, %esi
xorl %edi, %edi
xorl %edx, %edx
.p2align 4, 0x90
LBB0_1: ## =>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
decq %rdx
movl %r8d, %esi
cmpq %rax, %rdx
jbe LBB0_1
## %bb.2:
callq _xmallocz
cmpq $0, (%rbx)
je LBB0_3
## %bb.4:
xorl %edi, %edi
xorl %edx, %edx
xorl %ecx, %ecx
jmp LBB0_5
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_5 Depth=1
movb %sil, (%rax,%rdx)
incq %rdx
incq %rcx
movl %esi, %edi
cmpq (%rbx), %rcx
jae LBB0_9
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq 8(%rbx), %rsi
movzbl (%rsi,%rcx), %esi
cmpb $10, %sil
jne LBB0_8
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
cmpb $13, %dil
je LBB0_8
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movb $13, (%rax,%rdx)
incq %rdx
movq 8(%rbx), %rsi
movzbl (%rsi,%rcx), %esi
jmp LBB0_8
LBB0_3:
xorl %edx, %edx
LBB0_9:
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 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
mov w11, #0 ; =0x0
mov x0, #0 ; =0x0
mov x8, #0 ; =0x0
ldp x9, x10, [x19]
LBB0_1: ; =>This Inner Loop Header: Depth=1
cmp w11, #13
ldrb w11, [x10, x8]
ccmp w11, #10, #4, eq
cinc x12, x0, eq
add x0, x12, #1
sub x8, x8, #1
cmp x8, x9
b.ls LBB0_1
; %bb.2:
bl _xmallocz
mov x1, x0
ldr x8, [x19]
cbz x8, LBB0_7
; %bb.3:
mov w11, #0 ; =0x0
mov x10, #0 ; =0x0
mov x8, #0 ; =0x0
mov w9, #13 ; =0xd
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_5 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_8
LBB0_5: ; =>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_4
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
strb w9, [x1, x10]
add x10, x10, #1
ldr x11, [x19, #8]
ldrb w12, [x11, x8]
b LBB0_4
LBB0_7:
mov x2, #0 ; =0x0
LBB0_8:
add x3, x2, #1
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 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
.p2align 4, 0x90 ## -- Begin function thmc50_probe
_thmc50_probe: ## @thmc50_probe
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r12
movq %rdi, %r14
leaq 4(%rdi), %rbx
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
movl $32, %esi
callq _devm_kzalloc
testq %rax, %rax
je LBB0_4
## %bb.1:
movq %rax, %r15
movq %r14, 24(%rax)
movl (%r12), %eax
movl %eax, 20(%r15)
movq %r15, %rdi
addq $16, %rdi
callq _mutex_init
movq %r15, %rdi
callq _thmc50_init_client
movq (%r15), %rax
movq _thmc50_group@GOTPCREL(%rip), %rcx
movq %rcx, (%rax)
cmpq $0, 8(%r15)
je LBB0_3
## %bb.2:
movq (%r15), %rax
movq _temp3_group@GOTPCREL(%rip), %rcx
movq %rcx, -8(%rax)
LBB0_3:
movl (%r14), %esi
movq (%r15), %rcx
movq %rbx, %rdi
movq %r15, %rdx
callq _devm_hwmon_device_register_with_groups
movq %rax, %rdi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _PTR_ERR_OR_ZERO ## TAILCALL
LBB0_4:
movq _ENOMEM@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _thmc50_group,4,2 ## @thmc50_group
.comm _temp3_group,4,2 ## @temp3_group
.no_dead_strip _thmc50_probe
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function thmc50_probe
_thmc50_probe: ; @thmc50_probe
.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, x1
mov x19, x0
Lloh0:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh1:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
add x0, x0, #4
mov w1, #32 ; =0x20
bl _devm_kzalloc
cbz x0, LBB0_4
; %bb.1:
mov x20, x0
str x19, [x0, #24]
ldr w8, [x21]
str w8, [x0, #20]
add x0, x0, #16
bl _mutex_init
mov x0, x20
bl _thmc50_init_client
Lloh3:
adrp x8, _thmc50_group@GOTPAGE
Lloh4:
ldr x8, [x8, _thmc50_group@GOTPAGEOFF]
ldp x9, x10, [x20]
str x8, [x9]
cbz x10, LBB0_3
; %bb.2:
ldr x8, [x20]
Lloh5:
adrp x9, _temp3_group@GOTPAGE
Lloh6:
ldr x9, [x9, _temp3_group@GOTPAGEOFF]
stur x9, [x8, #-8]
LBB0_3:
ldr w1, [x19]
ldr x3, [x20]
add x0, x19, #4
mov x2, x20
bl _devm_hwmon_device_register_with_groups
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 _PTR_ERR_OR_ZERO
LBB0_4:
Lloh7:
adrp x8, _ENOMEM@GOTPAGE
Lloh8:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh9:
ldr w8, [x8]
neg w0, w8
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _thmc50_group,4,2 ; @thmc50_group
.comm _temp3_group,4,2 ; @temp3_group
.no_dead_strip _thmc50_probe
.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, %r14
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq 16(%rbx), %rax
movq 24(%rbx), %rcx
movl 8(%rcx,%r14,4), %edi
movq 8(%rax,%r14,8), %rsi
callq _free_irq
movslq 4(%rbx), %rax
incq %r14
cmpq %rax, %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
ldr 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
.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), %rax
movl (%rax), %ecx
testl %ecx, %ecx
js LBB0_1
## %bb.2:
movq _ixgbe_gstrings_stats@GOTPCREL(%rip), %rax
movq (%rax), %rax
leaq 1(%rcx), %r13
testq %rcx, %rcx
je LBB0_3
## %bb.16:
movl %r13d, %edx
andl $-2, %edx
leaq 20(%rax), %rsi
xorl %ecx, %ecx
jmp LBB0_17
.p2align 4, 0x90
LBB0_25: ## in Loop: Header=BB0_17 Depth=1
movslq (%rsi), %rdi
movq -48(%rbp), %r8 ## 8-byte Reload
movq (%r8,%rdi), %rdi
LBB0_26: ## in Loop: Header=BB0_17 Depth=1
movq %rdi, 8(%rbx,%rcx,8)
LBB0_27: ## in Loop: Header=BB0_17 Depth=1
addq $2, %rcx
addq $24, %rsi
cmpq %rcx, %rdx
je LBB0_4
LBB0_17: ## =>This Inner Loop Header: Depth=1
movl -20(%rsi), %edi
cmpl $128, %edi
je LBB0_22
## %bb.18: ## in Loop: Header=BB0_17 Depth=1
cmpl $129, %edi
jne LBB0_19
## %bb.20: ## in Loop: Header=BB0_17 Depth=1
movslq -12(%rsi), %rdi
movq -48(%rbp), %r8 ## 8-byte Reload
movq (%r8,%rdi), %rdi
jmp LBB0_21
.p2align 4, 0x90
LBB0_19: ## in Loop: Header=BB0_17 Depth=1
xorl %edi, %edi
LBB0_21: ## in Loop: Header=BB0_17 Depth=1
movq %rdi, (%rbx,%rcx,8)
LBB0_22: ## in Loop: Header=BB0_17 Depth=1
movl -8(%rsi), %edi
cmpl $128, %edi
je LBB0_27
## %bb.23: ## in Loop: Header=BB0_17 Depth=1
cmpl $129, %edi
je LBB0_25
## %bb.24: ## in Loop: Header=BB0_17 Depth=1
xorl %edi, %edi
jmp LBB0_26
LBB0_1:
xorl %r13d, %r13d
jmp LBB0_10
LBB0_3:
xorl %ecx, %ecx
LBB0_4:
testb $1, %r13b
je LBB0_10
## %bb.5:
leaq (%rcx,%rcx,2), %rdx
movl (%rax,%rdx,4), %esi
cmpl $128, %esi
je LBB0_10
## %bb.6:
cmpl $129, %esi
jne LBB0_7
## %bb.8:
leaq (%rax,%rdx,4), %rax
movslq 8(%rax), %rax
movq -48(%rbp), %rdx ## 8-byte Reload
movq (%rdx,%rax), %rax
jmp LBB0_9
LBB0_7:
xorl %eax, %eax
LBB0_9:
movq %rax, (%rbx,%rcx,8)
LBB0_10:
movq -56(%rbp), %rax ## 8-byte Reload
movl (%rax), %eax
testl %eax, %eax
jle LBB0_28
## %bb.11:
movl %r13d, %r13d
xorl %r15d, %r15d
jmp LBB0_12
.p2align 4, 0x90
LBB0_34: ## in Loop: Header=BB0_12 Depth=1
xorps %xmm0, %xmm0
movups %xmm0, (%rbx,%r13,8)
LBB0_35: ## in Loop: Header=BB0_12 Depth=1
addq $2, %r13
incq %r15
movslq %eax, %rcx
cmpq %rcx, %r15
jge LBB0_28
LBB0_12: ## =>This Loop Header: Depth=1
## Child Loop BB0_14 Depth 2
movq -48(%rbp), %rcx ## 8-byte Reload
movq 40(%rcx), %rcx
movq (%rcx,%r15,8), %r14
testq %r14, %r14
je LBB0_34
## %bb.13: ## in Loop: Header=BB0_12 Depth=1
leaq 16(%r14), %r12
.p2align 4, 0x90
LBB0_14: ## Parent Loop BB0_12 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_14
## %bb.15: ## in Loop: Header=BB0_12 Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
movl (%rax), %eax
jmp LBB0_35
LBB0_28:
movq _IXGBE_NUM_RX_QUEUES@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, %eax
jle LBB0_36
## %bb.29:
movl %r13d, %r13d
xorl %r12d, %r12d
jmp LBB0_30
.p2align 4, 0x90
LBB0_43: ## in Loop: Header=BB0_30 Depth=1
xorps %xmm0, %xmm0
movups %xmm0, (%rbx,%r13,8)
LBB0_44: ## in Loop: Header=BB0_30 Depth=1
addq $2, %r13
incq %r12
movslq %eax, %rcx
cmpq %rcx, %r12
jge LBB0_36
LBB0_30: ## =>This Loop Header: Depth=1
## Child Loop BB0_32 Depth 2
movq -48(%rbp), %rcx ## 8-byte Reload
movq 32(%rcx), %rcx
movq (%rcx,%r12,8), %r14
testq %r14, %r14
je LBB0_43
## %bb.31: ## in Loop: Header=BB0_30 Depth=1
leaq 16(%r14), %r15
.p2align 4, 0x90
LBB0_32: ## Parent Loop BB0_30 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_32
## %bb.33: ## in Loop: Header=BB0_30 Depth=1
movq _IXGBE_NUM_RX_QUEUES@GOTPCREL(%rip), %rax
movl (%rax), %eax
jmp LBB0_44
LBB0_36:
movq _IXGBE_MAX_PACKET_BUFFERS@GOTPCREL(%rip), %rax
movslq (%rax), %rax
testq %rax, %rax
jle LBB0_51
## %bb.37:
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_38
## %bb.45:
movl %eax, %r9d
andl $2147483646, %r9d ## imm = 0x7FFFFFFE
xorl %r8d, %r8d
.p2align 4, 0x90
LBB0_46: ## =>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_46
## %bb.39:
testb $1, %al
je LBB0_41
LBB0_40:
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_41:
movq -48(%rbp), %rdi ## 8-byte Reload
movq (%rdi), %rsi
movq 8(%rdi), %rdi
movl %edx, %edx
testq %rcx, %rcx
je LBB0_42
## %bb.47:
movl %eax, %r8d
andl $2147483646, %r8d ## imm = 0x7FFFFFFE
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_48: ## =>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_48
## %bb.49:
testb $1, %al
je LBB0_51
LBB0_50:
movq (%rdi,%rcx,8), %rax
movq %rax, (%rbx,%rdx,8)
movq (%rsi,%rcx,8), %rax
movq %rax, 8(%rbx,%rdx,8)
LBB0_51:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_38:
xorl %r8d, %r8d
testb $1, %al
jne LBB0_40
jmp LBB0_41
LBB0_42:
xorl %ecx, %ecx
testb $1, %al
jne LBB0_50
jmp LBB0_51
.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 w8, [x8]
tbnz w8, #31, LBB0_8
; %bb.1:
Lloh3:
adrp x9, _ixgbe_gstrings_stats@GOTPAGE
Lloh4:
ldr x9, [x9, _ixgbe_gstrings_stats@GOTPAGEOFF]
Lloh5:
ldr x10, [x9]
add x9, x8, #1
add x8, x10, #8
mov x10, x9
mov x11, x19
b LBB0_5
LBB0_2: ; in Loop: Header=BB0_5 Depth=1
ldrsw x12, [x8]
ldr x12, [x20, x12]
LBB0_3: ; in Loop: Header=BB0_5 Depth=1
str x12, [x11]
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
add x11, x11, #8
add x8, x8, #12
subs x10, x10, #1
b.eq LBB0_9
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldur w12, [x8, #-8]
cmp w12, #128
b.eq LBB0_4
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
cmp w12, #129
b.eq LBB0_2
; %bb.7: ; in Loop: Header=BB0_5 Depth=1
mov x12, #0 ; =0x0
b LBB0_3
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
.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 %dil
orb %dl, %dil
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
cmpb $0, (%rcx)
sete %dl
cmpq %rax, %rsi
setbe %dil
orb %dl, %dil
jne LBB0_6
## %bb.3:
incq %rcx
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
incq %rax
cmpb $0, (%rcx)
je LBB0_6
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
incq %rcx
cmpq %rsi, %rax
jb LBB0_4
LBB0_6:
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:
cbnz x0, LBB0_7
; %bb.1:
cmp x2, x1
b.hs LBB0_7
; %bb.2:
cbz x3, LBB0_7
; %bb.3:
ldrb w8, [x3]
cbz w8, LBB0_7
; %bb.4:
sub x8, x1, #1
cmp x8, x2
b.ls LBB0_7
; %bb.5:
add x9, x3, #1
LBB0_6: ; =>This Inner Loop Header: Depth=1
add x2, x2, #1
ldrb w10, [x9], #1
cmp w10, #0
ccmp x2, x8, #2, ne
b.lo LBB0_6
LBB0_7:
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
.p2align 4, 0x90 ## -- Begin function unpack_superblocks
_unpack_superblocks: ## @unpack_superblocks
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $72, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r12
movq %rdi, %rbx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movl $0, -60(%rbp)
movq (%rdi), %rax
movq %rax, -56(%rbp)
cmpq $0, 120(%rdi)
movq %rsi, -72(%rbp) ## 8-byte Spill
je LBB0_2
## %bb.1:
movq 8(%rbx), %rdi
movq _SB_FULLY_CODED@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl 16(%rbx), %edx
callq _memset
xorl %r13d, %r13d
xorl %r15d, %r15d
LBB0_37:
movq $0, 96(%rbx)
movq 24(%rbx), %rdi
movq _MODE_COPY@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movl 32(%rbx), %edx
callq _memset
movq %r15, %r10
xorl %eax, %eax
cmpq $0, 120(%rbx)
sete %al
movq 48(%rbx,%rax,8), %rax
movq 40(%rbx), %rcx
movq %rax, (%rcx)
xorl %r11d, %r11d
xorl %edx, %edx
.p2align 4, 0x90
LBB0_38: ## =>This Loop Header: Depth=1
## Child Loop BB0_45 Depth 2
## Child Loop BB0_46 Depth 3
## Child Loop BB0_54 Depth 2
## Child Loop BB0_58 Depth 3
movslq -60(%rbp,%r11,4), %rsi
xorl %eax, %eax
testq %r11, %r11
sete %al
movslq 64(%rbx,%rax,4), %rcx
movq %rcx, %rdi
movq %rsi, -80(%rbp) ## 8-byte Spill
addq %rsi, %rdi
movq %rdi, -112(%rbp) ## 8-byte Spill
cmpq $0, 120(%rbx)
movl %edx, -100(%rbp) ## 4-byte Spill
je LBB0_39
## %bb.41: ## in Loop: Header=BB0_38 Depth=1
movq 72(%rbx), %rax
movl (%rax,%r11,4), %r15d
cmpl $-1, %r15d
jne LBB0_68
## %bb.42: ## in Loop: Header=BB0_38 Depth=1
testl %ecx, %ecx
jle LBB0_43
## %bb.44: ## in Loop: Header=BB0_38 Depth=1
movq 80(%rbx), %rdx
movslq -112(%rbp), %rcx ## 4-byte Folded Reload
movq -80(%rbp), %rsi ## 8-byte Reload
shlq $6, %rsi
addq %rsi, %rdx
addq $4, %rdx
xorl %r15d, %r15d
jmp LBB0_45
.p2align 4, 0x90
LBB0_51: ## in Loop: Header=BB0_45 Depth=2
movq -80(%rbp), %rdi ## 8-byte Reload
incq %rdi
addq $64, %rdx
movq %rdi, -80(%rbp) ## 8-byte Spill
cmpq %rcx, %rdi
jge LBB0_52
LBB0_45: ## Parent Loop BB0_38 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_46 Depth 3
xorl %esi, %esi
jmp LBB0_46
.p2align 4, 0x90
LBB0_50: ## in Loop: Header=BB0_46 Depth=3
addq $2, %rsi
cmpq $16, %rsi
je LBB0_51
LBB0_46: ## Parent Loop BB0_38 Depth=1
## Parent Loop BB0_45 Depth=2
## => This Inner Loop Header: Depth=3
movl -4(%rdx,%rsi,4), %edi
cmpl $-1, %edi
je LBB0_48
## %bb.47: ## in Loop: Header=BB0_46 Depth=3
movq 40(%rbx), %r8
movq (%r8,%r11,8), %r8
movslq %r15d, %r9
incl %r15d
movl %edi, (%r8,%r9,4)
LBB0_48: ## in Loop: Header=BB0_46 Depth=3
movl (%rdx,%rsi,4), %edi
cmpl $-1, %edi
je LBB0_50
## %bb.49: ## in Loop: Header=BB0_46 Depth=3
movq 40(%rbx), %r8
movq (%r8,%r11,8), %r8
movslq %r15d, %r9
incl %r15d
movl %edi, (%r8,%r9,4)
jmp LBB0_50
.p2align 4, 0x90
LBB0_39: ## in Loop: Header=BB0_38 Depth=1
testl %ecx, %ecx
jle LBB0_40
## %bb.53: ## in Loop: Header=BB0_38 Depth=1
sarl $2, %edx
movl %edx, -104(%rbp) ## 4-byte Spill
movq -80(%rbp), %rdi ## 8-byte Reload
shlq $6, %rdi
xorl %r15d, %r15d
movq %r11, -96(%rbp) ## 8-byte Spill
jmp LBB0_54
.p2align 4, 0x90
LBB0_67: ## in Loop: Header=BB0_54 Depth=2
movq -80(%rbp), %rcx ## 8-byte Reload
incq %rcx
addq $64, %rdi
movq %rcx, -80(%rbp) ## 8-byte Spill
cmpq -112(%rbp), %rcx ## 8-byte Folded Reload
movq -72(%rbp), %r12 ## 8-byte Reload
jge LBB0_68
LBB0_54: ## Parent Loop BB0_38 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_58 Depth 3
movq %rdi, -88(%rbp) ## 8-byte Spill
movq %r10, %r14
movq %r12, %rdi
callq _get_bits_left
testl %eax, %eax
jle LBB0_55
## %bb.56: ## in Loop: Header=BB0_54 Depth=2
movq %r12, %rdi
callq _get_bits_left
cmpl -104(%rbp), %eax ## 4-byte Folded Reload
jl LBB0_71
## %bb.57: ## in Loop: Header=BB0_54 Depth=2
xorl %r12d, %r12d
movq %r14, %r10
movq -96(%rbp), %r11 ## 8-byte Reload
movq _SB_PARTIALLY_CODED@GOTPCREL(%rip), %rdx
movq _MODE_INTER_NO_MV@GOTPCREL(%rip), %rsi
movq -88(%rbp), %rdi ## 8-byte Reload
jmp LBB0_58
.p2align 4, 0x90
LBB0_65: ## in Loop: Header=BB0_58 Depth=3
movq _MODE_COPY@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, (%rcx,%r14,4)
LBB0_66: ## in Loop: Header=BB0_58 Depth=3
incq %r12
cmpq $16, %r12
je LBB0_67
LBB0_58: ## Parent Loop BB0_38 Depth=1
## Parent Loop BB0_54 Depth=2
## => This Inner Loop Header: Depth=3
movq 80(%rbx), %rax
addq %rdi, %rax
movslq (%rax,%r12,4), %r14
cmpq $-1, %r14
je LBB0_66
## %bb.59: ## in Loop: Header=BB0_58 Depth=3
movq 8(%rbx), %rax
movq -80(%rbp), %rcx ## 8-byte Reload
movl (%rax,%rcx,4), %eax
cmpl (%rdx), %eax
jne LBB0_63
## %bb.60: ## in Loop: Header=BB0_58 Depth=3
subl $1, %r13d
jae LBB0_62
## %bb.61: ## in Loop: Header=BB0_58 Depth=3
xorl $1, %r10d
movl 112(%rbx), %esi
movq -72(%rbp), %rdi ## 8-byte Reload
movl $5, %edx
movl $2, %ecx
movq %rbx, %r13
movq %r10, %rbx
callq _get_vlc2
movq -88(%rbp), %rdi ## 8-byte Reload
movq _MODE_INTER_NO_MV@GOTPCREL(%rip), %rsi
movq _SB_PARTIALLY_CODED@GOTPCREL(%rip), %rdx
movq -96(%rbp), %r11 ## 8-byte Reload
movq %rbx, %r10
movq %r13, %rbx
movl %eax, %r13d
LBB0_62: ## in Loop: Header=BB0_58 Depth=3
movl %r10d, %eax
LBB0_63: ## in Loop: Header=BB0_58 Depth=3
movq 104(%rbx), %rcx
testl %eax, %eax
je LBB0_65
## %bb.64: ## in Loop: Header=BB0_58 Depth=3
movl (%rsi), %eax
movl %eax, (%rcx,%r14,4)
movq 40(%rbx), %rax
movq (%rax,%r11,8), %rax
movslq %r15d, %rcx
incl %r15d
movl %r14d, (%rax,%rcx,4)
jmp LBB0_66
LBB0_52: ## in Loop: Header=BB0_38 Depth=1
movl %r15d, (%rax,%r11,4)
jmp LBB0_68
LBB0_40: ## in Loop: Header=BB0_38 Depth=1
xorl %r15d, %r15d
jmp LBB0_68
LBB0_43: ## in Loop: Header=BB0_38 Depth=1
xorl %r15d, %r15d
movl %r15d, (%rax,%r11,4)
jmp LBB0_68
LBB0_55: ## in Loop: Header=BB0_38 Depth=1
movq %r14, %r10
movq -96(%rbp), %r11 ## 8-byte Reload
.p2align 4, 0x90
LBB0_68: ## in Loop: Header=BB0_38 Depth=1
movslq %r15d, %rax
addq %rax, 96(%rbx)
movd %eax, %xmm0
pshufd $0, %xmm0, %xmm0 ## xmm0 = xmm0[0,0,0,0]
movq 88(%rbx), %rcx
movq (%rcx,%r11,8), %rcx
movdqu %xmm0, (%rcx)
movdqu %xmm0, 16(%rcx)
movdqu %xmm0, 32(%rcx)
movdqu %xmm0, 48(%rcx)
movdqu %xmm0, 64(%rcx)
movdqu %xmm0, 80(%rcx)
movdqu %xmm0, 96(%rcx)
movdqu %xmm0, 112(%rcx)
movdqu %xmm0, 128(%rcx)
movdqu %xmm0, 144(%rcx)
movdqu %xmm0, 160(%rcx)
movdqu %xmm0, 176(%rcx)
movdqu %xmm0, 192(%rcx)
movdqu %xmm0, 208(%rcx)
movdqu %xmm0, 224(%rcx)
movdqu %xmm0, 240(%rcx)
cmpq $2, %r11
je LBB0_69
## %bb.70: ## in Loop: Header=BB0_38 Depth=1
testq %r11, %r11
movl -100(%rbp), %edx ## 4-byte Reload
cmovel %eax, %edx
movq 40(%rbx), %rcx
shlq $2, %rax
addq (%rcx,%r11,8), %rax
movq %rax, 8(%rcx,%r11,8)
incq %r11
jmp LBB0_38
LBB0_71:
movq _AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
movl (%rax), %eax
jmp LBB0_72
LBB0_2:
movq %r12, %rdi
callq _get_bits1
movl %eax, %r15d
xorl $1, %r15d
movl 16(%rbx), %ecx
testl %ecx, %ecx
jle LBB0_3
## %bb.4:
xorl %r14d, %r14d
xorl %r13d, %r13d
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq -72(%rbp), %rdi ## 8-byte Reload
callq _get_bits_left
testl %eax, %eax
jle LBB0_6
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
cmpq $0, 136(%rbx)
je LBB0_10
## %bb.8: ## in Loop: Header=BB0_5 Depth=1
movq _MAXIMUM_LONG_BIT_RUN@GOTPCREL(%rip), %rax
cmpl (%rax), %r13d
jne LBB0_10
## %bb.9: ## in Loop: Header=BB0_5 Depth=1
movq -72(%rbp), %r13 ## 8-byte Reload
movq %r13, %rdi
callq _get_bits1
movl %eax, %r15d
jmp LBB0_11
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_5 Depth=1
xorl $1, %r15d
movq -72(%rbp), %r13 ## 8-byte Reload
LBB0_11: ## in Loop: Header=BB0_5 Depth=1
movl 132(%rbx), %esi
movq %r13, %rdi
movl $6, %edx
movl $2, %ecx
callq _get_vlc2
movl %eax, %r13d
decl %r13d
cmpl $34, %r13d
jne LBB0_13
## %bb.12: ## in Loop: Header=BB0_5 Depth=1
movq -72(%rbp), %rdi ## 8-byte Reload
movl $12, %esi
callq _get_bits
movq %rax, %r13
addl $34, %r13d
LBB0_13: ## in Loop: Header=BB0_5 Depth=1
movl 16(%rbx), %eax
subl %r12d, %eax
cmpl %eax, %r13d
jg LBB0_14
## %bb.16: ## in Loop: Header=BB0_5 Depth=1
movq %r15, %rsi
movslq %r12d, %rdi
shlq $2, %rdi
addq 8(%rbx), %rdi
## kill: def $esi killed $esi killed $rsi
movl %r13d, %edx
callq _memset
addl %r13d, %r12d
testl %r15d, %r15d
movl %r13d, %ecx
cmovel %r15d, %ecx
addl %ecx, %r14d
movl 16(%rbx), %ecx
cmpl %ecx, %r12d
jl LBB0_5
jmp LBB0_17
LBB0_69:
xorl %eax, %eax
jmp LBB0_72
LBB0_3:
xorl %r13d, %r13d
xorl %r14d, %r14d
LBB0_17:
cmpl %ecx, %r14d
jl LBB0_18
jmp LBB0_35
LBB0_6:
movl 16(%rbx), %ecx
cmpl %ecx, %r14d
jge LBB0_35
LBB0_18:
movq -72(%rbp), %rdi ## 8-byte Reload
callq _get_bits1
movl %eax, %r15d
xorl $1, %r15d
cmpl %r14d, 16(%rbx)
jle LBB0_19
## %bb.20:
xorl %edx, %edx
xorl %r13d, %r13d
xorl %r12d, %r12d
jmp LBB0_21
LBB0_34: ## in Loop: Header=BB0_21 Depth=1
movl -88(%rbp), %edx ## 4-byte Reload
addl %r13d, %edx
movl 16(%rbx), %ecx
subl %r14d, %ecx
cmpl %ecx, %edx
jge LBB0_35
LBB0_21: ## =>This Loop Header: Depth=1
## Child Loop BB0_30 Depth 2
movl %edx, -88(%rbp) ## 4-byte Spill
movq -72(%rbp), %rdi ## 8-byte Reload
callq _get_bits_left
testl %eax, %eax
jle LBB0_35
## %bb.22: ## in Loop: Header=BB0_21 Depth=1
cmpq $0, 136(%rbx)
je LBB0_25
## %bb.23: ## in Loop: Header=BB0_21 Depth=1
movq _MAXIMUM_LONG_BIT_RUN@GOTPCREL(%rip), %rax
cmpl (%rax), %r13d
jne LBB0_25
## %bb.24: ## in Loop: Header=BB0_21 Depth=1
movq -72(%rbp), %r15 ## 8-byte Reload
movq %r15, %rdi
callq _get_bits1
## kill: def $eax killed $eax def $rax
movq %rax, -80(%rbp) ## 8-byte Spill
jmp LBB0_26
LBB0_25: ## in Loop: Header=BB0_21 Depth=1
xorl $1, %r15d
movq %r15, -80(%rbp) ## 8-byte Spill
movq -72(%rbp), %r15 ## 8-byte Reload
LBB0_26: ## in Loop: Header=BB0_21 Depth=1
movl 132(%rbx), %esi
movq %r15, %rdi
movl $6, %edx
movl $2, %ecx
callq _get_vlc2
## kill: def $eax killed $eax def $rax
incl %eax
cmpl $34, %eax
jne LBB0_28
## %bb.27: ## in Loop: Header=BB0_21 Depth=1
movq -72(%rbp), %rdi ## 8-byte Reload
movl $12, %esi
callq _get_bits
addl $34, %eax
LBB0_28: ## in Loop: Header=BB0_21 Depth=1
movq %rax, %r13
testl %eax, %eax
movq -80(%rbp), %r15 ## 8-byte Reload
jle LBB0_34
## %bb.29: ## in Loop: Header=BB0_21 Depth=1
leal (%r15,%r15), %edi
movslq %r12d, %r12
xorl %ecx, %ecx
movq _SB_NOT_CODED@GOTPCREL(%rip), %r8
jmp LBB0_30
.p2align 4, 0x90
LBB0_33: ## in Loop: Header=BB0_30 Depth=2
decq %r12
cmpl %r13d, %ecx
jge LBB0_34
LBB0_30: ## Parent Loop BB0_21 Depth=1
## => This Inner Loop Header: Depth=2
movslq 16(%rbx), %rdx
cmpq %rdx, %r12
jge LBB0_74
## %bb.31: ## in Loop: Header=BB0_30 Depth=2
movq 8(%rbx), %rdx
movl (%rdx,%r12,4), %esi
cmpl (%r8), %esi
jne LBB0_33
## %bb.32: ## in Loop: Header=BB0_30 Depth=2
movl %edi, (%rdx,%r12,4)
incl %ecx
jmp LBB0_33
LBB0_14:
movl 128(%rbx), %edi
movq _AV_LOG_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rdx
jmp LBB0_15
LBB0_19:
xorl %r13d, %r13d
LBB0_35:
testl %r14d, %r14d
movq -72(%rbp), %r12 ## 8-byte Reload
je LBB0_37
## %bb.36:
movq %r12, %rdi
callq _get_bits1
movl %eax, %r15d
xorl $1, %r15d
xorl %r13d, %r13d
jmp LBB0_37
LBB0_74:
movl 128(%rbx), %edi
movq _AV_LOG_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str.1(%rip), %rdx
LBB0_15:
callq _av_log
movl $-1, %eax
LBB0_72:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_75
## %bb.73:
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_75:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _SB_FULLY_CODED,4,2 ## @SB_FULLY_CODED
.comm _MAXIMUM_LONG_BIT_RUN,4,2 ## @MAXIMUM_LONG_BIT_RUN
.comm _AV_LOG_ERROR,4,2 ## @AV_LOG_ERROR
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Invalid partially coded superblock run length\n"
L_.str.1: ## @.str.1
.asciz "Invalid fully coded superblock run length\n"
.comm _SB_NOT_CODED,4,2 ## @SB_NOT_CODED
.comm _MODE_COPY,4,2 ## @MODE_COPY
.comm _AVERROR_INVALIDDATA,4,2 ## @AVERROR_INVALIDDATA
.comm _SB_PARTIALLY_CODED,4,2 ## @SB_PARTIALLY_CODED
.comm _MODE_INTER_NO_MV,4,2 ## @MODE_INTER_NO_MV
.no_dead_strip _unpack_superblocks
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function unpack_superblocks
_unpack_superblocks: ; @unpack_superblocks
.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 x26, x1
mov x19, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #40]
str wzr, [sp, #28]
ldr d0, [x0]
stur d0, [sp, #32]
ldr x8, [x0, #120]
str x1, [sp, #16] ; 8-byte Folded Spill
cbz x8, LBB0_62
; %bb.1:
ldr x0, [x19, #8]
Lloh3:
adrp x8, _SB_FULLY_CODED@GOTPAGE
Lloh4:
ldr x8, [x8, _SB_FULLY_CODED@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
ldr w2, [x19, #16]
bl _memset
mov w22, #0 ; =0x0
mov w21, #0 ; =0x0
LBB0_2:
str xzr, [x19, #96]
ldr x0, [x19, #24]
Lloh6:
adrp x8, _MODE_COPY@GOTPAGE
Lloh7:
ldr x8, [x8, _MODE_COPY@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
ldr w2, [x19, #32]
bl _memset
mov x24, #0 ; =0x0
mov w13, #0 ; =0x0
ldr x8, [x19, #120]
mov w9, #48 ; =0x30
mov w10, #56 ; =0x38
cmp x8, #0
csel x8, x10, x9, eq
ldr x8, [x19, x8]
ldr x9, [x19, #40]
str x8, [x9]
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_8 Depth 2
; Child Loop BB0_43 Depth 2
; Child Loop BB0_48 Depth 3
add x8, sp, #28
ldrsw x28, [x8, x24, lsl #2]
cmp x24, #0
mov w8, #64 ; =0x40
mov w9, #68 ; =0x44
csel x8, x9, x8, eq
ldrsw x9, [x19, x8]
add x8, x9, x28
str x8, [sp, #8] ; 8-byte Folded Spill
ldr x8, [x19, #120]
str w13, [sp] ; 4-byte Folded Spill
cbz x8, LBB0_40
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x19, #72]
ldr w25, [x8, x24, lsl #2]
cmn w25, #1
b.ne LBB0_59
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
cmp w9, #1
b.lt LBB0_58
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
mov w25, #0 ; =0x0
ldr x10, [x19, #80]
ldr x9, [sp, #8] ; 8-byte Folded Reload
; kill: def $w9 killed $w9 killed $x9 def $x9
sxtw x9, w9
add x10, x10, x28, lsl #6
add x10, x10, #32
b LBB0_8
LBB0_7: ; in Loop: Header=BB0_8 Depth=2
add x28, x28, #1
add x10, x10, #64
cmp x28, x9
b.ge LBB0_56
LBB0_8: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldur w11, [x10, #-32]
cmn w11, #1
b.eq LBB0_10
; %bb.9: ; in Loop: Header=BB0_8 Depth=2
ldr x12, [x19, #40]
ldr x12, [x12, x24, lsl #3]
str w11, [x12, w25, sxtw #2]
add w11, w25, #1
mov x25, x11
LBB0_10: ; in Loop: Header=BB0_8 Depth=2
ldur w11, [x10, #-28]
cmn w11, #1
b.eq LBB0_12
; %bb.11: ; in Loop: Header=BB0_8 Depth=2
ldr x12, [x19, #40]
ldr x12, [x12, x24, lsl #3]
str w11, [x12, w25, sxtw #2]
add w11, w25, #1
mov x25, x11
LBB0_12: ; in Loop: Header=BB0_8 Depth=2
ldur w11, [x10, #-24]
cmn w11, #1
b.eq LBB0_14
; %bb.13: ; in Loop: Header=BB0_8 Depth=2
ldr x12, [x19, #40]
ldr x12, [x12, x24, lsl #3]
str w11, [x12, w25, sxtw #2]
add w11, w25, #1
mov x25, x11
LBB0_14: ; in Loop: Header=BB0_8 Depth=2
ldur w11, [x10, #-20]
cmn w11, #1
b.eq LBB0_16
; %bb.15: ; in Loop: Header=BB0_8 Depth=2
ldr x12, [x19, #40]
ldr x12, [x12, x24, lsl #3]
str w11, [x12, w25, sxtw #2]
add w11, w25, #1
mov x25, x11
LBB0_16: ; in Loop: Header=BB0_8 Depth=2
ldur w11, [x10, #-16]
cmn w11, #1
b.eq LBB0_18
; %bb.17: ; in Loop: Header=BB0_8 Depth=2
ldr x12, [x19, #40]
ldr x12, [x12, x24, lsl #3]
str w11, [x12, w25, sxtw #2]
add w11, w25, #1
mov x25, x11
LBB0_18: ; in Loop: Header=BB0_8 Depth=2
ldur w11, [x10, #-12]
cmn w11, #1
b.eq LBB0_20
; %bb.19: ; in Loop: Header=BB0_8 Depth=2
ldr x12, [x19, #40]
ldr x12, [x12, x24, lsl #3]
str w11, [x12, w25, sxtw #2]
add w11, w25, #1
mov x25, x11
LBB0_20: ; in Loop: Header=BB0_8 Depth=2
ldur w11, [x10, #-8]
cmn w11, #1
b.eq LBB0_22
; %bb.21: ; in Loop: Header=BB0_8 Depth=2
ldr x12, [x19, #40]
ldr x12, [x12, x24, lsl #3]
str w11, [x12, w25, sxtw #2]
add w11, w25, #1
mov x25, x11
LBB0_22: ; in Loop: Header=BB0_8 Depth=2
ldur w11, [x10, #-4]
cmn w11, #1
b.eq LBB0_24
; %bb.23: ; in Loop: Header=BB0_8 Depth=2
ldr x12, [x19, #40]
ldr x12, [x12, x24, lsl #3]
str w11, [x12, w25, sxtw #2]
add w11, w25, #1
mov x25, x11
LBB0_24: ; in Loop: Header=BB0_8 Depth=2
ldr w11, [x10]
cmn w11, #1
b.eq LBB0_26
; %bb.25: ; in Loop: Header=BB0_8 Depth=2
ldr x12, [x19, #40]
ldr x12, [x12, x24, lsl #3]
str w11, [x12, w25, sxtw #2]
add w11, w25, #1
mov x25, x11
LBB0_26: ; in Loop: Header=BB0_8 Depth=2
ldr w11, [x10, #4]
cmn w11, #1
b.eq LBB0_28
; %bb.27: ; in Loop: Header=BB0_8 Depth=2
ldr x12, [x19, #40]
ldr x12, [x12, x24, lsl #3]
str w11, [x12, w25, sxtw #2]
add w11, w25, #1
mov x25, x11
LBB0_28: ; in Loop: Header=BB0_8 Depth=2
ldr w11, [x10, #8]
cmn w11, #1
b.eq LBB0_30
; %bb.29: ; in Loop: Header=BB0_8 Depth=2
ldr x12, [x19, #40]
ldr x12, [x12, x24, lsl #3]
str w11, [x12, w25, sxtw #2]
add w11, w25, #1
mov x25, x11
LBB0_30: ; in Loop: Header=BB0_8 Depth=2
ldr w11, [x10, #12]
cmn w11, #1
b.eq LBB0_32
; %bb.31: ; in Loop: Header=BB0_8 Depth=2
ldr x12, [x19, #40]
ldr x12, [x12, x24, lsl #3]
str w11, [x12, w25, sxtw #2]
add w11, w25, #1
mov x25, x11
LBB0_32: ; in Loop: Header=BB0_8 Depth=2
ldr w11, [x10, #16]
cmn w11, #1
b.eq LBB0_34
; %bb.33: ; in Loop: Header=BB0_8 Depth=2
ldr x12, [x19, #40]
ldr x12, [x12, x24, lsl #3]
str w11, [x12, w25, sxtw #2]
add w11, w25, #1
mov x25, x11
LBB0_34: ; in Loop: Header=BB0_8 Depth=2
ldr w11, [x10, #20]
cmn w11, #1
b.eq LBB0_36
; %bb.35: ; in Loop: Header=BB0_8 Depth=2
ldr x12, [x19, #40]
ldr x12, [x12, x24, lsl #3]
str w11, [x12, w25, sxtw #2]
add w11, w25, #1
mov x25, x11
LBB0_36: ; in Loop: Header=BB0_8 Depth=2
ldr w11, [x10, #24]
cmn w11, #1
b.eq LBB0_38
; %bb.37: ; in Loop: Header=BB0_8 Depth=2
ldr x12, [x19, #40]
ldr x12, [x12, x24, lsl #3]
str w11, [x12, w25, sxtw #2]
add w11, w25, #1
mov x25, x11
LBB0_38: ; in Loop: Header=BB0_8 Depth=2
ldr w11, [x10, #28]
cmn w11, #1
b.eq LBB0_7
; %bb.39: ; in Loop: Header=BB0_8 Depth=2
ldr x12, [x19, #40]
ldr x12, [x12, x24, lsl #3]
str w11, [x12, w25, sxtw #2]
add w11, w25, #1
mov x25, x11
b LBB0_7
LBB0_40: ; in Loop: Header=BB0_3 Depth=1
cmp w9, #1
b.lt LBB0_57
; %bb.41: ; in Loop: Header=BB0_3 Depth=1
mov w25, #0 ; =0x0
asr w8, w13, #2
str w8, [sp, #4] ; 4-byte Folded Spill
lsl x27, x28, #6
b LBB0_43
LBB0_42: ; in Loop: Header=BB0_43 Depth=2
add x28, x28, #1
add x27, x27, #64
ldp x8, x26, [sp, #8] ; 16-byte Folded Reload
cmp x28, x8
b.ge LBB0_59
LBB0_43: ; Parent Loop BB0_3 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_48 Depth 3
mov x0, x26
bl _get_bits_left
cmp w0, #1
b.lt LBB0_59
; %bb.44: ; in Loop: Header=BB0_43 Depth=2
mov x0, x26
bl _get_bits_left
ldr w8, [sp, #4] ; 4-byte Folded Reload
cmp w0, w8
b.lt LBB0_61
; %bb.45: ; in Loop: Header=BB0_43 Depth=2
mov w23, #16 ; =0x10
mov x20, x27
Lloh9:
adrp x10, _SB_PARTIALLY_CODED@GOTPAGE
Lloh10:
ldr x10, [x10, _SB_PARTIALLY_CODED@GOTPAGEOFF]
Lloh11:
adrp x11, _MODE_INTER_NO_MV@GOTPAGE
Lloh12:
ldr x11, [x11, _MODE_INTER_NO_MV@GOTPAGEOFF]
b LBB0_48
LBB0_46: ; in Loop: Header=BB0_48 Depth=3
Lloh13:
adrp x8, _MODE_COPY@GOTPAGE
Lloh14:
ldr x8, [x8, _MODE_COPY@GOTPAGEOFF]
Lloh15:
ldr w8, [x8]
str w8, [x9, w26, sxtw #2]
LBB0_47: ; in Loop: Header=BB0_48 Depth=3
add x20, x20, #4
subs x23, x23, #1
b.eq LBB0_42
LBB0_48: ; Parent Loop BB0_3 Depth=1
; Parent Loop BB0_43 Depth=2
; => This Inner Loop Header: Depth=3
ldr x8, [x19, #80]
ldr w26, [x8, x20]
cmn w26, #1
b.eq LBB0_47
; %bb.49: ; in Loop: Header=BB0_48 Depth=3
ldr x8, [x19, #8]
ldr w8, [x8, x28, lsl #2]
ldr w9, [x10]
cmp w8, w9
b.ne LBB0_54
; %bb.50: ; in Loop: Header=BB0_48 Depth=3
cbz w22, LBB0_52
; %bb.51: ; in Loop: Header=BB0_48 Depth=3
sub w22, w22, #1
b LBB0_53
LBB0_52: ; in Loop: Header=BB0_48 Depth=3
eor w21, w21, #0x1
ldr w1, [x19, #112]
ldr x0, [sp, #16] ; 8-byte Folded Reload
mov w2, #5 ; =0x5
mov w3, #2 ; =0x2
bl _get_vlc2
Lloh16:
adrp x11, _MODE_INTER_NO_MV@GOTPAGE
Lloh17:
ldr x11, [x11, _MODE_INTER_NO_MV@GOTPAGEOFF]
Lloh18:
adrp x10, _SB_PARTIALLY_CODED@GOTPAGE
Lloh19:
ldr x10, [x10, _SB_PARTIALLY_CODED@GOTPAGEOFF]
mov x22, x0
LBB0_53: ; in Loop: Header=BB0_48 Depth=3
mov x8, x21
LBB0_54: ; in Loop: Header=BB0_48 Depth=3
ldr x9, [x19, #104]
cbz w8, LBB0_46
; %bb.55: ; in Loop: Header=BB0_48 Depth=3
ldr w8, [x11]
str w8, [x9, w26, sxtw #2]
ldr x8, [x19, #40]
ldr x8, [x8, x24, lsl #3]
str w26, [x8, w25, sxtw #2]
add w8, w25, #1
mov x25, x8
b LBB0_47
LBB0_56: ; in Loop: Header=BB0_3 Depth=1
str w25, [x8, x24, lsl #2]
b LBB0_59
LBB0_57: ; in Loop: Header=BB0_3 Depth=1
mov w25, #0 ; =0x0
b LBB0_59
LBB0_58: ; in Loop: Header=BB0_3 Depth=1
mov w25, #0 ; =0x0
str wzr, [x8, x24, lsl #2]
LBB0_59: ; in Loop: Header=BB0_3 Depth=1
dup.4s v0, w25
sxtw x8, w25
ldp x10, x9, [x19, #88]
add x9, x9, x8
ldr x10, [x10, x24, lsl #3]
str x9, [x19, #96]
stp q0, q0, [x10]
stp q0, q0, [x10, #32]
stp q0, q0, [x10, #64]
stp q0, q0, [x10, #96]
stp q0, q0, [x10, #128]
stp q0, q0, [x10, #160]
stp q0, q0, [x10, #192]
stp q0, q0, [x10, #224]
cmp x24, #2
b.eq LBB0_72
; %bb.60: ; in Loop: Header=BB0_3 Depth=1
cmp x24, #0
ldr w13, [sp] ; 4-byte Folded Reload
csel w13, w8, w13, eq
ldr x9, [x19, #40]
add x9, x9, x24, lsl #3
ldr x10, [x9]
add x8, x10, x8, lsl #2
str x8, [x9, #8]
add x24, x24, #1
b LBB0_3
LBB0_61:
Lloh20:
adrp x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh21:
ldr x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh22:
ldr w0, [x8]
b LBB0_98
LBB0_62:
mov x0, x26
bl _get_bits1
eor w21, w0, #0x1
ldr w8, [x19, #16]
cmp w8, #1
b.lt LBB0_73
; %bb.63:
mov w23, #0 ; =0x0
mov w22, #0 ; =0x0
mov w20, #0 ; =0x0
Lloh23:
adrp x24, _MAXIMUM_LONG_BIT_RUN@GOTPAGE
Lloh24:
ldr x24, [x24, _MAXIMUM_LONG_BIT_RUN@GOTPAGEOFF]
LBB0_64: ; =>This Inner Loop Header: Depth=1
mov x0, x26
bl _get_bits_left
cmp w0, #0
b.le LBB0_75
; %bb.65: ; in Loop: Header=BB0_64 Depth=1
ldr x8, [x19, #136]
ldr w9, [x24]
cmp x8, #0
ccmp w22, w9, #0, ne
b.eq LBB0_67
; %bb.66: ; in Loop: Header=BB0_64 Depth=1
eor w21, w21, #0x1
b LBB0_68
LBB0_67: ; in Loop: Header=BB0_64 Depth=1
mov x0, x26
bl _get_bits1
mov x21, x0
LBB0_68: ; in Loop: Header=BB0_64 Depth=1
ldr w1, [x19, #132]
mov x0, x26
mov w2, #6 ; =0x6
mov w3, #2 ; =0x2
bl _get_vlc2
sub w22, w0, #1
cmp w22, #34
b.ne LBB0_70
; %bb.69: ; in Loop: Header=BB0_64 Depth=1
mov x0, x26
mov w1, #12 ; =0xc
bl _get_bits
add w22, w0, #34
LBB0_70: ; in Loop: Header=BB0_64 Depth=1
ldr w8, [x19, #16]
sub w8, w8, w20
cmp w22, w8
b.gt LBB0_78
; %bb.71: ; in Loop: Header=BB0_64 Depth=1
ldr x8, [x19, #8]
add x0, x8, w20, sxtw #2
mov x1, x21
mov x2, x22
bl _memset
cmp w21, #0
csel w8, wzr, w22, eq
add w23, w8, w23
ldr w8, [x19, #16]
add w20, w22, w20
cmp w20, w8
b.lt LBB0_64
b LBB0_74
LBB0_72:
mov w0, #0 ; =0x0
b LBB0_98
LBB0_73:
mov w22, #0 ; =0x0
mov w23, #0 ; =0x0
LBB0_74:
cmp w23, w8
b.lt LBB0_76
b LBB0_80
LBB0_75:
ldr w8, [x19, #16]
cmp w23, w8
b.ge LBB0_80
LBB0_76:
ldr x0, [sp, #16] ; 8-byte Folded Reload
bl _get_bits1
eor w21, w0, #0x1
ldr w8, [x19, #16]
cmp w8, w23
b.le LBB0_79
; %bb.77:
mov w20, #0 ; =0x0
mov w22, #0 ; =0x0
mov w26, #0 ; =0x0
Lloh25:
adrp x24, _MAXIMUM_LONG_BIT_RUN@GOTPAGE
Lloh26:
ldr x24, [x24, _MAXIMUM_LONG_BIT_RUN@GOTPAGEOFF]
Lloh27:
adrp x25, _SB_NOT_CODED@GOTPAGE
Lloh28:
ldr x25, [x25, _SB_NOT_CODED@GOTPAGEOFF]
b LBB0_84
LBB0_78:
ldr w0, [x19, #128]
Lloh29:
adrp x8, _AV_LOG_ERROR@GOTPAGE
Lloh30:
ldr x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh31:
ldr w1, [x8]
Lloh32:
adrp x2, l_.str@PAGE
Lloh33:
add x2, x2, l_.str@PAGEOFF
b LBB0_97
LBB0_79:
mov w22, #0 ; =0x0
LBB0_80:
ldr x26, [sp, #16] ; 8-byte Folded Reload
cbz w23, LBB0_2
; %bb.81:
mov x0, x26
bl _get_bits1
mov w22, #0 ; =0x0
eor w21, w0, #0x1
b LBB0_2
LBB0_82: ; in Loop: Header=BB0_84 Depth=1
; kill: def $w26 killed $w26 killed $x26 def $x26
LBB0_83: ; in Loop: Header=BB0_84 Depth=1
add w20, w22, w20
ldr w8, [x19, #16]
sub w8, w8, w23
cmp w20, w8
b.ge LBB0_80
LBB0_84: ; =>This Loop Header: Depth=1
; Child Loop BB0_93 Depth 2
ldr x0, [sp, #16] ; 8-byte Folded Reload
bl _get_bits_left
cmp w0, #1
b.lt LBB0_80
; %bb.85: ; in Loop: Header=BB0_84 Depth=1
ldr x8, [x19, #136]
ldr w9, [x24]
cmp x8, #0
ccmp w22, w9, #0, ne
b.eq LBB0_87
; %bb.86: ; in Loop: Header=BB0_84 Depth=1
eor w21, w21, #0x1
ldr x22, [sp, #16] ; 8-byte Folded Reload
b LBB0_88
LBB0_87: ; in Loop: Header=BB0_84 Depth=1
ldr x22, [sp, #16] ; 8-byte Folded Reload
mov x0, x22
bl _get_bits1
mov x21, x0
LBB0_88: ; in Loop: Header=BB0_84 Depth=1
ldr w1, [x19, #132]
mov x0, x22
mov w2, #6 ; =0x6
mov w3, #2 ; =0x2
bl _get_vlc2
add w22, w0, #1
cmp w22, #34
b.ne LBB0_90
; %bb.89: ; in Loop: Header=BB0_84 Depth=1
ldr x0, [sp, #16] ; 8-byte Folded Reload
mov w1, #12 ; =0xc
bl _get_bits
add w22, w0, #34
LBB0_90: ; in Loop: Header=BB0_84 Depth=1
cmp w22, #1
b.lt LBB0_83
; %bb.91: ; in Loop: Header=BB0_84 Depth=1
mov w8, #0 ; =0x0
lsl w9, w21, #1
sxtw x26, w26
b LBB0_93
LBB0_92: ; in Loop: Header=BB0_93 Depth=2
sub x26, x26, #1
cmp w8, w22
b.ge LBB0_82
LBB0_93: ; Parent Loop BB0_84 Depth=1
; => This Inner Loop Header: Depth=2
ldrsw x10, [x19, #16]
cmp x26, x10
b.ge LBB0_96
; %bb.94: ; in Loop: Header=BB0_93 Depth=2
ldr x10, [x19, #8]
ldr w11, [x10, x26, lsl #2]
ldr w12, [x25]
cmp w11, w12
b.ne LBB0_92
; %bb.95: ; in Loop: Header=BB0_93 Depth=2
str w9, [x10, x26, lsl #2]
add w8, w8, #1
b LBB0_92
LBB0_96:
ldr w0, [x19, #128]
Lloh34:
adrp x8, _AV_LOG_ERROR@GOTPAGE
Lloh35:
ldr x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh36:
ldr w1, [x8]
Lloh37:
adrp x2, l_.str.1@PAGE
Lloh38:
add x2, x2, l_.str.1@PAGEOFF
LBB0_97:
bl _av_log
mov w0, #-1 ; =0xffffffff
LBB0_98:
ldr x8, [sp, #40]
Lloh39:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh40:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh41:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_100
; %bb.99:
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_100:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGot Lloh18, Lloh19
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGot Lloh23, Lloh24
.loh AdrpLdrGot Lloh27, Lloh28
.loh AdrpLdrGot Lloh25, Lloh26
.loh AdrpAdd Lloh32, Lloh33
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.loh AdrpAdd Lloh37, Lloh38
.loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36
.loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41
.cfi_endproc
; -- End function
.comm _SB_FULLY_CODED,4,2 ; @SB_FULLY_CODED
.comm _MAXIMUM_LONG_BIT_RUN,4,2 ; @MAXIMUM_LONG_BIT_RUN
.comm _AV_LOG_ERROR,4,2 ; @AV_LOG_ERROR
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Invalid partially coded superblock run length\n"
l_.str.1: ; @.str.1
.asciz "Invalid fully coded superblock run length\n"
.comm _SB_NOT_CODED,4,2 ; @SB_NOT_CODED
.comm _MODE_COPY,4,2 ; @MODE_COPY
.comm _AVERROR_INVALIDDATA,4,2 ; @AVERROR_INVALIDDATA
.comm _SB_PARTIALLY_CODED,4,2 ; @SB_PARTIALLY_CODED
.comm _MODE_INTER_NO_MV,4,2 ; @MODE_INTER_NO_MV
.no_dead_strip _unpack_superblocks
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function _GetDriveLettersAndType
__GetDriveLettersAndType: ## @_GetDriveLettersAndType
.cfi_startproc
## %bb.0:
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 %rdx, %r14
movq %rsi, -200(%rbp) ## 8-byte Spill
movl %edi, %r12d
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _FALSE@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movl $3810140, -173(%rbp) ## imm = 0x3A235C
movl $1546542172, -176(%rbp) ## imm = 0x5C2E5C5C
movq _NtQueryVolumeInformationFile@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _Ntdll@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _PF_INIT
testq %r14, %r14
je LBB0_2
## %bb.1:
movq _DRIVE_UNKNOWN@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, (%r14)
LBB0_2:
movq %r14, -208(%rbp) ## 8-byte Spill
movl %r12d, -184(%rbp) ## 4-byte Spill
movl %r12d, %edi
callq _CheckDriveIndex
leaq -160(%rbp), %r13
movl $103, %edi
movq %r13, %rsi
callq _GetLogicalDriveStringsA
testl %eax, %eax
je LBB0_3
## %bb.4:
cmpl $103, %eax
jb LBB0_6
## %bb.5:
leaq L_.str.1(%rip), %rdi
xorl %r14d, %r14d
movl $103, %edx
movl %eax, %esi
xorl %eax, %eax
callq _uprintf
jmp LBB0_22
LBB0_3:
xorl %r14d, %r14d
xorl %eax, %eax
callq _WindowsErrorString
leaq L_.str(%rip), %rdi
movl %eax, %esi
xorl %eax, %eax
callq _uprintf
jmp LBB0_22
LBB0_6:
movq _TRUE@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movzbl -160(%rbp), %ecx
movq $0, -168(%rbp) ## 8-byte Folded Spill
testb %cl, %cl
je LBB0_7
## %bb.8:
movq _DRIVE_REMOVABLE@GOTPCREL(%rip), %r15
jmp LBB0_9
LBB0_16: ## in Loop: Header=BB0_9 Depth=1
movl -180(%rbp), %ebx ## 4-byte Reload
.p2align 4, 0x90
LBB0_20: ## in Loop: Header=BB0_9 Depth=1
movq %r13, %rdi
callq _safe_strlen
movzbl 1(%rax,%r13), %ecx
addq %rax, %r13
incq %r13
testb %cl, %cl
je LBB0_21
LBB0_9: ## =>This Inner Loop Header: Depth=1
movsbl %cl, %edi
callq _isalpha
testl %eax, %eax
je LBB0_20
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
movsbl (%r13), %edi
callq _toupper
movb %al, (%r13)
movq %r13, %rdi
callq _GetDriveTypeA
movq %rax, %r14
cmpq (%r15), %rax
je LBB0_12
## %bb.11: ## in Loop: Header=BB0_9 Depth=1
movq _DRIVE_FIXED@GOTPCREL(%rip), %rax
cmpq (%rax), %r14
jne LBB0_20
LBB0_12: ## in Loop: Header=BB0_9 Depth=1
movsbl (%r13), %edx
leaq -176(%rbp), %r12
movq %r12, %rdi
leaq L_.str.2(%rip), %rsi
callq _static_sprintf
movq _GENERIC_READ@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _FILE_SHARE_WRITE@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _FILE_SHARE_READ@GOTPCREL(%rip), %rax
orl (%rax), %edx
movq _OPEN_EXISTING@GOTPCREL(%rip), %rax
movl (%rax), %r8d
movq _FILE_ATTRIBUTE_NORMAL@GOTPCREL(%rip), %rax
movl (%rax), %r9d
movq $0, (%rsp)
movq %r12, %rdi
xorl %ecx, %ecx
callq _CreateFileA
movq %rax, %r12
movq _INVALID_HANDLE_VALUE@GOTPCREL(%rip), %rax
cmpq (%rax), %r12
je LBB0_20
## %bb.13: ## in Loop: Header=BB0_9 Depth=1
movq _FileFsDeviceInformation@GOTPCREL(%rip), %rax
movl (%rax), %r8d
movq %r12, %rdi
leaq -212(%rbp), %rsi
leaq -188(%rbp), %rdx
movl $4, %ecx
callq _pfNtQueryVolumeInformationFile
movq _NO_ERROR@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_15
## %bb.14: ## in Loop: Header=BB0_9 Depth=1
movq _FILE_FLOPPY_DISKETTE@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl -188(%rbp), %eax
jne LBB0_20
LBB0_15: ## in Loop: Header=BB0_9 Depth=1
movl %ebx, -180(%rbp) ## 4-byte Spill
movq %r12, %rdi
leaq -176(%rbp), %rsi
callq _GetDriveNumber
movl %eax, %ebx
movq %r12, %rdi
callq _safe_closehandle
cmpl -184(%rbp), %ebx ## 4-byte Folded Reload
jne LBB0_16
## %bb.17: ## in Loop: Header=BB0_9 Depth=1
movq -168(%rbp), %rdx ## 8-byte Reload
leal 1(%rdx), %eax
movq _TRUE@GOTPCREL(%rip), %rcx
movl (%rcx), %ebx
movzbl (%r13), %ecx
movslq %edx, %rdx
movq -200(%rbp), %rdi ## 8-byte Reload
movb %cl, (%rdi,%rdx)
movq -208(%rbp), %rcx ## 8-byte Reload
testq %rcx, %rcx
je LBB0_19
## %bb.18: ## in Loop: Header=BB0_9 Depth=1
movq %r14, (%rcx)
LBB0_19: ## in Loop: Header=BB0_9 Depth=1
## kill: def $eax killed $eax def $rax
movq %rax, -168(%rbp) ## 8-byte Spill
jmp LBB0_20
LBB0_21:
movq -168(%rbp), %r14 ## 8-byte Reload
movslq %r14d, %r14
jmp LBB0_22
LBB0_7:
xorl %r14d, %r14d
LBB0_22:
movq -200(%rbp), %rax ## 8-byte Reload
movb $0, (%rax,%r14)
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_24
## %bb.23:
movl %ebx, %eax
addq $184, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_24:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _FALSE,4,2 ## @FALSE
.comm _INVALID_HANDLE_VALUE,8,3 ## @INVALID_HANDLE_VALUE
.section __TEXT,__cstring,cstring_literals
L___const._GetDriveLettersAndType.logical_drive: ## @__const._GetDriveLettersAndType.logical_drive
.asciz "\\\\.\\#:"
.comm _NtQueryVolumeInformationFile,4,2 ## @NtQueryVolumeInformationFile
.comm _Ntdll,4,2 ## @Ntdll
.comm _DRIVE_UNKNOWN,8,3 ## @DRIVE_UNKNOWN
L_.str: ## @.str
.asciz "GetLogicalDriveStrings failed: %s"
L_.str.1: ## @.str.1
.asciz "GetLogicalDriveStrings: Buffer too small (required %d vs. %d)"
.comm _TRUE,4,2 ## @TRUE
.comm _DRIVE_REMOVABLE,8,3 ## @DRIVE_REMOVABLE
.comm _DRIVE_FIXED,8,3 ## @DRIVE_FIXED
L_.str.2: ## @.str.2
.asciz "\\\\.\\%c:"
.comm _GENERIC_READ,4,2 ## @GENERIC_READ
.comm _FILE_SHARE_READ,4,2 ## @FILE_SHARE_READ
.comm _FILE_SHARE_WRITE,4,2 ## @FILE_SHARE_WRITE
.comm _OPEN_EXISTING,4,2 ## @OPEN_EXISTING
.comm _FILE_ATTRIBUTE_NORMAL,4,2 ## @FILE_ATTRIBUTE_NORMAL
.comm _FileFsDeviceInformation,4,2 ## @FileFsDeviceInformation
.comm _NO_ERROR,8,3 ## @NO_ERROR
.comm _FILE_FLOPPY_DISKETTE,4,2 ## @FILE_FLOPPY_DISKETTE
.no_dead_strip __GetDriveLettersAndType
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function _GetDriveLettersAndType
__GetDriveLettersAndType: ; @_GetDriveLettersAndType
.cfi_startproc
; %bb.0:
sub sp, sp, #288
stp x28, x27, [sp, #192] ; 16-byte Folded Spill
stp x26, x25, [sp, #208] ; 16-byte Folded Spill
stp x24, x23, [sp, #224] ; 16-byte Folded Spill
stp x22, x21, [sp, #240] ; 16-byte Folded Spill
stp x20, x19, [sp, #256] ; 16-byte Folded Spill
stp x29, x30, [sp, #272] ; 16-byte Folded Spill
add x29, sp, #272
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x21, x2
mov x19, x1
mov x22, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
Lloh3:
adrp x9, _FALSE@GOTPAGE
Lloh4:
ldr x9, [x9, _FALSE@GOTPAGEOFF]
stur x8, [x29, #-96]
Lloh5:
ldr w20, [x9]
mov w8, #9052 ; =0x235c
movk w8, #58, lsl #16
stur w8, [sp, #59]
mov w8, #23644 ; =0x5c5c
movk w8, #23598, lsl #16
str w8, [sp, #56]
Lloh6:
adrp x8, _NtQueryVolumeInformationFile@GOTPAGE
Lloh7:
ldr x8, [x8, _NtQueryVolumeInformationFile@GOTPAGEOFF]
Lloh8:
ldr w0, [x8]
Lloh9:
adrp x8, _Ntdll@GOTPAGE
Lloh10:
ldr x8, [x8, _Ntdll@GOTPAGEOFF]
Lloh11:
ldr w1, [x8]
bl _PF_INIT
cbz x21, LBB0_2
; %bb.1:
Lloh12:
adrp x8, _DRIVE_UNKNOWN@GOTPAGE
Lloh13:
ldr x8, [x8, _DRIVE_UNKNOWN@GOTPAGEOFF]
Lloh14:
ldr x8, [x8]
str x8, [x21]
LBB0_2:
mov x0, x22
bl _CheckDriveIndex
add x1, sp, #73
mov w0, #103 ; =0x67
bl _GetLogicalDriveStringsA
cbz w0, LBB0_5
; %bb.3:
mov x1, x0
cmp w0, #103
b.lo LBB0_10
; %bb.4:
mov w8, #103 ; =0x67
str x8, [sp]
Lloh15:
adrp x0, l_.str.1@PAGE
Lloh16:
add x0, x0, l_.str.1@PAGEOFF
b LBB0_6
LBB0_5:
bl _WindowsErrorString
mov x1, x0
Lloh17:
adrp x0, l_.str@PAGE
Lloh18:
add x0, x0, l_.str@PAGEOFF
LBB0_6:
bl _uprintf
LBB0_7:
mov x8, #0 ; =0x0
LBB0_8:
strb wzr, [x19, x8]
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_24
; %bb.9:
mov x0, x20
ldp x29, x30, [sp, #272] ; 16-byte Folded Reload
ldp x20, x19, [sp, #256] ; 16-byte Folded Reload
ldp x22, x21, [sp, #240] ; 16-byte Folded Reload
ldp x24, x23, [sp, #224] ; 16-byte Folded Reload
ldp x26, x25, [sp, #208] ; 16-byte Folded Reload
ldp x28, x27, [sp, #192] ; 16-byte Folded Reload
add sp, sp, #288
ret
LBB0_10:
Lloh22:
adrp x8, _TRUE@GOTPAGE
Lloh23:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
Lloh24:
ldr w20, [x8]
ldrb w8, [sp, #73]
cbz w8, LBB0_7
; %bb.11:
str x21, [sp, #8] ; 8-byte Folded Spill
str w22, [sp, #36] ; 4-byte Folded Spill
str w20, [sp, #20] ; 4-byte Folded Spill
str x19, [sp, #24] ; 8-byte Folded Spill
str xzr, [sp, #40] ; 8-byte Folded Spill
Lloh25:
adrp x27, _DRIVE_REMOVABLE@GOTPAGE
Lloh26:
ldr x27, [x27, _DRIVE_REMOVABLE@GOTPAGEOFF]
add x23, sp, #73
Lloh27:
adrp x24, _DRIVE_FIXED@GOTPAGE
Lloh28:
ldr x24, [x24, _DRIVE_FIXED@GOTPAGEOFF]
Lloh29:
adrp x26, _GENERIC_READ@GOTPAGE
Lloh30:
ldr x26, [x26, _GENERIC_READ@GOTPAGEOFF]
Lloh31:
adrp x19, l_.str.2@PAGE
Lloh32:
add x19, x19, l_.str.2@PAGEOFF
Lloh33:
adrp x20, _FILE_SHARE_READ@GOTPAGE
Lloh34:
ldr x20, [x20, _FILE_SHARE_READ@GOTPAGEOFF]
Lloh35:
adrp x22, _FILE_SHARE_WRITE@GOTPAGE
Lloh36:
ldr x22, [x22, _FILE_SHARE_WRITE@GOTPAGEOFF]
Lloh37:
adrp x21, _OPEN_EXISTING@GOTPAGE
Lloh38:
ldr x21, [x21, _OPEN_EXISTING@GOTPAGEOFF]
Lloh39:
adrp x28, _FILE_ATTRIBUTE_NORMAL@GOTPAGE
Lloh40:
ldr x28, [x28, _FILE_ATTRIBUTE_NORMAL@GOTPAGEOFF]
b LBB0_15
LBB0_12: ; in Loop: Header=BB0_15 Depth=1
; kill: def $w8 killed $w8 def $x8
str x8, [sp, #40] ; 8-byte Folded Spill
LBB0_13: ; in Loop: Header=BB0_15 Depth=1
mov x26, x19
mov x19, x20
mov x20, x27
mov x27, x22
mov x22, x21
mov x21, x28
Lloh41:
adrp x28, _FILE_ATTRIBUTE_NORMAL@GOTPAGE
Lloh42:
ldr x28, [x28, _FILE_ATTRIBUTE_NORMAL@GOTPAGEOFF]
LBB0_14: ; in Loop: Header=BB0_15 Depth=1
mov x0, x23
bl _safe_strlen
add x23, x0, x23
ldrb w8, [x23, #1]!
cbz w8, LBB0_23
LBB0_15: ; =>This Inner Loop Header: Depth=1
sxtb w0, w8
bl _isalpha
cbz w0, LBB0_14
; %bb.16: ; in Loop: Header=BB0_15 Depth=1
ldrsb w0, [x23]
bl _toupper
strb w0, [x23]
mov x0, x23
bl _GetDriveTypeA
ldr x8, [x27]
ldr x9, [x24]
cmp x0, x8
ccmp x0, x9, #4, ne
b.ne LBB0_14
; %bb.17: ; in Loop: Header=BB0_15 Depth=1
str x0, [sp, #48] ; 8-byte Folded Spill
ldrsb w2, [x23]
add x0, sp, #56
mov x1, x19
bl _static_sprintf
ldr w1, [x26]
ldr w8, [x20]
ldr w9, [x22]
ldr w4, [x21]
ldr w5, [x28]
add x0, sp, #56
orr w2, w9, w8
mov x3, #0 ; =0x0
mov x6, #0 ; =0x0
bl _CreateFileA
Lloh43:
adrp x8, _INVALID_HANDLE_VALUE@GOTPAGE
Lloh44:
ldr x8, [x8, _INVALID_HANDLE_VALUE@GOTPAGEOFF]
Lloh45:
ldr x8, [x8]
cmp x0, x8
b.eq LBB0_14
; %bb.18: ; in Loop: Header=BB0_15 Depth=1
mov x25, x0
Lloh46:
adrp x8, _FileFsDeviceInformation@GOTPAGE
Lloh47:
ldr x8, [x8, _FileFsDeviceInformation@GOTPAGEOFF]
Lloh48:
ldr w4, [x8]
add x1, sp, #68
add x2, sp, #64
mov w3, #4 ; =0x4
bl _pfNtQueryVolumeInformationFile
Lloh49:
adrp x8, _NO_ERROR@GOTPAGE
Lloh50:
ldr x8, [x8, _NO_ERROR@GOTPAGEOFF]
Lloh51:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_20
; %bb.19: ; in Loop: Header=BB0_15 Depth=1
ldr w8, [sp, #64]
Lloh52:
adrp x9, _FILE_FLOPPY_DISKETTE@GOTPAGE
Lloh53:
ldr x9, [x9, _FILE_FLOPPY_DISKETTE@GOTPAGEOFF]
Lloh54:
ldr w9, [x9]
orr w8, w9, w8
cbnz w8, LBB0_14
LBB0_20: ; in Loop: Header=BB0_15 Depth=1
mov x28, x21
mov x21, x22
mov x22, x27
mov x27, x20
mov x20, x19
mov x19, x26
add x1, sp, #56
mov x0, x25
bl _GetDriveNumber
mov x26, x0
mov x0, x25
bl _safe_closehandle
ldr w8, [sp, #36] ; 4-byte Folded Reload
cmp w26, w8
b.ne LBB0_13
; %bb.21: ; in Loop: Header=BB0_15 Depth=1
Lloh55:
adrp x8, _TRUE@GOTPAGE
Lloh56:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
Lloh57:
ldr w8, [x8]
str w8, [sp, #20] ; 4-byte Folded Spill
ldrb w9, [x23]
ldr x10, [sp, #40] ; 8-byte Folded Reload
add w8, w10, #1
ldr x11, [sp, #24] ; 8-byte Folded Reload
strb w9, [x11, w10, sxtw]
ldr x9, [sp, #8] ; 8-byte Folded Reload
cbz x9, LBB0_12
; %bb.22: ; in Loop: Header=BB0_15 Depth=1
ldr x10, [sp, #48] ; 8-byte Folded Reload
str x10, [x9]
b LBB0_12
LBB0_23:
ldr x8, [sp, #40] ; 8-byte Folded Reload
sxtw x8, w8
ldr x19, [sp, #24] ; 8-byte Folded Reload
ldr w20, [sp, #20] ; 4-byte Folded Reload
b LBB0_8
LBB0_24:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpLdrGot Lloh39, Lloh40
.loh AdrpLdrGot Lloh37, Lloh38
.loh AdrpLdrGot Lloh35, Lloh36
.loh AdrpLdrGot Lloh33, Lloh34
.loh AdrpAdd Lloh31, Lloh32
.loh AdrpLdrGot Lloh29, Lloh30
.loh AdrpLdrGot Lloh27, Lloh28
.loh AdrpLdrGot Lloh25, Lloh26
.loh AdrpLdrGot Lloh41, Lloh42
.loh AdrpLdrGotLdr Lloh43, Lloh44, Lloh45
.loh AdrpLdrGotLdr Lloh49, Lloh50, Lloh51
.loh AdrpLdrGotLdr Lloh46, Lloh47, Lloh48
.loh AdrpLdrGotLdr Lloh52, Lloh53, Lloh54
.loh AdrpLdrGotLdr Lloh55, Lloh56, Lloh57
.cfi_endproc
; -- End function
.comm _FALSE,4,2 ; @FALSE
.comm _INVALID_HANDLE_VALUE,8,3 ; @INVALID_HANDLE_VALUE
.section __TEXT,__cstring,cstring_literals
l___const._GetDriveLettersAndType.logical_drive: ; @__const._GetDriveLettersAndType.logical_drive
.asciz "\\\\.\\#:"
.comm _NtQueryVolumeInformationFile,4,2 ; @NtQueryVolumeInformationFile
.comm _Ntdll,4,2 ; @Ntdll
.comm _DRIVE_UNKNOWN,8,3 ; @DRIVE_UNKNOWN
l_.str: ; @.str
.asciz "GetLogicalDriveStrings failed: %s"
l_.str.1: ; @.str.1
.asciz "GetLogicalDriveStrings: Buffer too small (required %d vs. %d)"
.comm _TRUE,4,2 ; @TRUE
.comm _DRIVE_REMOVABLE,8,3 ; @DRIVE_REMOVABLE
.comm _DRIVE_FIXED,8,3 ; @DRIVE_FIXED
l_.str.2: ; @.str.2
.asciz "\\\\.\\%c:"
.comm _GENERIC_READ,4,2 ; @GENERIC_READ
.comm _FILE_SHARE_READ,4,2 ; @FILE_SHARE_READ
.comm _FILE_SHARE_WRITE,4,2 ; @FILE_SHARE_WRITE
.comm _OPEN_EXISTING,4,2 ; @OPEN_EXISTING
.comm _FILE_ATTRIBUTE_NORMAL,4,2 ; @FILE_ATTRIBUTE_NORMAL
.comm _FileFsDeviceInformation,4,2 ; @FileFsDeviceInformation
.comm _NO_ERROR,8,3 ; @NO_ERROR
.comm _FILE_FLOPPY_DISKETTE,4,2 ; @FILE_FLOPPY_DISKETTE
.no_dead_strip __GetDriveLettersAndType
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _mqtt_get_id ## -- Begin function mqtt_get_id
.p2align 4, 0x90
_mqtt_get_id: ## @mqtt_get_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 %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
xorl %r14d, %r14d
testl %esi, %esi
jle LBB0_14
## %bb.1:
movl %esi, %r15d
movq %rdi, %rbx
callq _mqtt_get_type
addl $-128, %eax
cmpl $7, %eax
ja LBB0_14
## %bb.2:
cmpl $5, %eax
je LBB0_3
## %bb.10:
cmpl $3, %r15d
ja LBB0_12
## %bb.11:
testb $-128, 4(%rbx)
jne LBB0_14
LBB0_12:
leaq 8(%rbx), %rax
addq $12, %rbx
LBB0_13:
movl (%rax), %r14d
shll $8, %r14d
orl (%rbx), %r14d
LBB0_14:
movl %r14d, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_3:
movq %rbx, %rdi
callq _mqtt_get_qos
testl %eax, %eax
jle LBB0_14
## %bb.4:
movl $1, %eax
cmpl $1, %r15d
je LBB0_7
## %bb.5:
movl $1, %eax
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
cltq
movzbl (%rbx,%rax,4), %ecx
andb $-128, %cl
cmpb $1, %cl
adcl $-1, %eax
cmpl %r15d, %eax
jl LBB0_6
LBB0_7:
leal -2(%rax), %ecx
cmpl %r15d, %ecx
jg LBB0_14
## %bb.8:
movl %eax, %ecx
movl (%rbx,%rcx,4), %edx
shll $8, %edx
movslq %eax, %rcx
orl 4(%rbx,%rcx,4), %edx
leal (%rax,%rdx), %ecx
addl $2, %ecx
cmpl %r15d, %ecx
setg %sil
addl %edx, %eax
addl $4, %eax
cmpl %r15d, %eax
setg %al
orb %sil, %al
jne LBB0_14
## %bb.9:
movslq %ecx, %rcx
leaq (%rbx,%rcx,4), %rax
leaq (%rbx,%rcx,4), %rbx
addq $4, %rbx
jmp LBB0_13
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _mqtt_get_id ; -- Begin function mqtt_get_id
.p2align 2
_mqtt_get_id: ; @mqtt_get_id
.cfi_startproc
; %bb.0:
cmp w1, #1
b.lt LBB0_7
; %bb.1:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x20, x1
mov x19, x0
bl _mqtt_get_type
sub w8, w0, #128
cmp w8, #7
b.hi LBB0_13
; %bb.2:
cmp w8, #5
b.eq LBB0_8
; %bb.3:
cmp w20, #3
b.hi LBB0_5
; %bb.4:
ldrb w8, [x19, #4]
tbnz w8, #7, LBB0_13
LBB0_5:
add x8, x19, #8
add x9, x19, #12
LBB0_6:
ldr w8, [x8]
ldr w9, [x9]
orr w0, w9, w8, lsl #8
b LBB0_14
LBB0_7:
mov w0, #0 ; =0x0
ret
LBB0_8:
mov x0, x19
bl _mqtt_get_qos
cmp w0, #1
b.lt LBB0_13
; %bb.9:
mov w9, #1 ; =0x1
mov w8, #1 ; =0x1
cmp w20, #1
b.eq LBB0_11
LBB0_10: ; =>This Inner Loop Header: Depth=1
ldr w10, [x19, w8, sxtw #2]
bic w10, w9, w10, lsr #7
add w8, w8, w10
sub w8, w8, #1
cmp w8, w20
b.lt LBB0_10
LBB0_11:
sub w9, w8, #2
cmp w9, w20
b.gt LBB0_13
; %bb.12:
ldr w9, [x19, w8, uxtw #2]
add x10, x19, w8, sxtw #2
ldr w10, [x10, #4]
orr w9, w10, w9, lsl #8
add w9, w8, w9
add w8, w9, #2
add w9, w9, #4
cmp w8, w20
ccmp w9, w20, #0, le
b.le LBB0_15
LBB0_13:
mov w0, #0 ; =0x0
LBB0_14:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_15:
add x8, x19, w8, sxtw #2
add x9, x8, #4
b LBB0_6
.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 define_config
_define_config: ## @define_config
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %ebx
movq %rdi, %r14
leal 1(%rbx), %edi
callq _grow_config
movq _str_config@GOTPCREL(%rip), %r15
movq _len_config@GOTPCREL(%rip), %r12
movslq (%r12), %rdi
addq (%r15), %rdi
movq %r14, %rsi
movl %ebx, %edx
callq _memcpy
movslq (%r12), %rax
movslq %ebx, %rcx
addq %rax, %rcx
movq (%r15), %rax
leal -1(%rcx), %edx
movl %edx, (%r12)
movb $10, (%rax,%rcx)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _str_config,8,3 ## @str_config
.comm _len_config,4,2 ## @len_config
.no_dead_strip _define_config
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function define_config
_define_config: ; @define_config
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
add w0, w1, #1
bl _grow_config
Lloh0:
adrp x21, _str_config@GOTPAGE
Lloh1:
ldr x21, [x21, _str_config@GOTPAGEOFF]
ldr x8, [x21]
Lloh2:
adrp x22, _len_config@GOTPAGE
Lloh3:
ldr x22, [x22, _len_config@GOTPAGEOFF]
ldrsw x9, [x22]
add x0, x8, x9
mov x1, x20
mov x2, x19
bl _memcpy
ldrsw x8, [x22]
add x8, x8, w19, sxtw
ldr x9, [x21]
sub w10, w8, #1
str w10, [x22]
mov w10, #10 ; =0xa
strb w10, [x9, x8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _str_config,8,3 ; @str_config
.comm _len_config,4,2 ; @len_config
.no_dead_strip _define_config
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function transliterate
_transliterate: ## @transliterate
.cfi_startproc
## %bb.0:
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, %r15
leal 1(,%r14,4), %edi
callq _sqlite3_malloc64
movq %rax, %rbx
testq %rax, %rax
je LBB0_26
## %bb.1:
xorl %r12d, %r12d
testl %r14d, %r14d
jns LBB0_2
jmp LBB0_25
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_2 Depth=1
movslq %r12d, %rax
incl %r12d
movb %r13b, (%rbx,%rax)
LBB0_23: ## in Loop: Header=BB0_2 Depth=1
addq %rcx, %r15
subl %ecx, %r14d
js LBB0_24
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_6 Depth 2
## Child Loop BB0_7 Depth 3
movq %r15, %rdi
movl %r14d, %esi
leaq -48(%rbp), %rdx
callq _utf8Read
movl %eax, %r13d
movslq -48(%rbp), %rcx
cmpl $127, %eax
jle LBB0_3
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movq %rcx, -56(%rbp) ## 8-byte Spill
movl %r13d, %edi
leaq -44(%rbp), %rsi
callq _spellfixFindTranslit
movl -44(%rbp), %ecx
testl %ecx, %ecx
js LBB0_21
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
xorl %edx, %edx
LBB0_6: ## Parent Loop BB0_2 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_7 Depth 3
movl %ecx, %esi
jmp LBB0_7
.p2align 4, 0x90
LBB0_17: ## in Loop: Header=BB0_7 Depth=3
decl %edi
movl %edi, -44(%rbp)
movl %edi, %ecx
movl %edi, %esi
cmpl %edx, %esi
jl LBB0_20
LBB0_7: ## Parent Loop BB0_2 Depth=1
## Parent Loop BB0_6 Depth=2
## => This Inner Loop Header: Depth=3
leal (%rsi,%rdx), %edi
shrl %edi
leaq (%rdi,%rdi,2), %r8
cmpl %r13d, (%rax,%r8,4)
je LBB0_8
## %bb.16: ## in Loop: Header=BB0_7 Depth=3
jg LBB0_17
## %bb.18: ## in Loop: Header=BB0_7 Depth=3
incl %edi
movl %edi, %edx
cmpl %edx, %esi
jge LBB0_7
jmp LBB0_20
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_6 Depth=2
leaq (%rax,%r8,4), %rdi
movzbl 4(%rdi), %r8d
movslq %r12d, %rsi
leaq 1(%rsi), %r9
movb %r8b, (%rbx,%rsi)
movzbl 5(%rdi), %r10d
testb %r10b, %r10b
je LBB0_9
## %bb.10: ## in Loop: Header=BB0_6 Depth=2
leaq 2(%rsi), %r8
movb %r10b, (%rbx,%r9)
movzbl 6(%rdi), %r9d
testb %r9b, %r9b
je LBB0_11
## %bb.12: ## in Loop: Header=BB0_6 Depth=2
addq $3, %rsi
movb %r9b, (%rbx,%r8)
movzbl 7(%rdi), %edi
testb %dil, %dil
je LBB0_13
## %bb.14: ## in Loop: Header=BB0_6 Depth=2
addl $4, %r12d
movb %dil, (%rbx,%rsi)
jmp LBB0_15
LBB0_9: ## in Loop: Header=BB0_6 Depth=2
movl %r9d, %r12d
jmp LBB0_15
LBB0_11: ## in Loop: Header=BB0_6 Depth=2
movl %r8d, %r12d
jmp LBB0_15
LBB0_13: ## in Loop: Header=BB0_6 Depth=2
movl %esi, %r12d
.p2align 4, 0x90
LBB0_15: ## in Loop: Header=BB0_6 Depth=2
xorl %r13d, %r13d
cmpl %edx, %ecx
jge LBB0_6
jmp LBB0_22
.p2align 4, 0x90
LBB0_20: ## in Loop: Header=BB0_2 Depth=1
testl %r13d, %r13d
je LBB0_22
LBB0_21: ## in Loop: Header=BB0_2 Depth=1
movslq %r12d, %rax
incl %r12d
movb $63, (%rbx,%rax)
LBB0_22: ## in Loop: Header=BB0_2 Depth=1
movq -56(%rbp), %rcx ## 8-byte Reload
jmp LBB0_23
LBB0_24:
movslq %r12d, %r12
LBB0_25:
movb $0, (%rbx,%r12)
LBB0_26:
movq %rbx, %rax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _transliterate
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function transliterate
_transliterate: ; @transliterate
.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, x1
mov x21, x0
mov w8, #1 ; =0x1
orr w0, w8, w1, lsl #2
bl _sqlite3_malloc64
mov x19, x0
cbz x0, LBB0_26
; %bb.1:
tbnz w20, #31, LBB0_24
; %bb.2:
mov w25, #0 ; =0x0
mov w23, #63 ; =0x3f
mov w24, #12 ; =0xc
b LBB0_6
LBB0_3: ; in Loop: Header=BB0_6 Depth=1
strb w22, [x19, w25, sxtw]
LBB0_4: ; in Loop: Header=BB0_6 Depth=1
add w8, w25, #1
mov x25, x8
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
add x21, x21, x26
sub w20, w20, w26
tbnz w20, #31, LBB0_23
LBB0_6: ; =>This Loop Header: Depth=1
; Child Loop BB0_10 Depth 2
add x2, sp, #12
mov x0, x21
mov x1, x20
bl _utf8Read
mov x22, x0
ldrsw x26, [sp, #12]
cmp w0, #127
b.le LBB0_3
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
add x1, sp, #8
mov x0, x22
bl _spellfixFindTranslit
ldr w8, [sp, #8]
tbnz w8, #31, LBB0_22
; %bb.8: ; in Loop: Header=BB0_6 Depth=1
mov w9, #0 ; =0x0
b LBB0_10
LBB0_9: ; in Loop: Header=BB0_10 Depth=2
add w9, w11, #1
cmp w8, w9
b.lt LBB0_21
LBB0_10: ; Parent Loop BB0_6 Depth=1
; => This Inner Loop Header: Depth=2
add w10, w8, w9
lsr w11, w10, #1
umaddl x10, w11, w24, x0
ldr w12, [x10]
cmp w12, w22
b.eq LBB0_13
; %bb.11: ; in Loop: Header=BB0_10 Depth=2
b.le LBB0_9
; %bb.12: ; in Loop: Header=BB0_10 Depth=2
sub w8, w11, #1
str w8, [sp, #8]
cmp w8, w9
b.ge LBB0_10
b LBB0_21
LBB0_13: ; in Loop: Header=BB0_10 Depth=2
ldrb w13, [x10, #4]
sxtw x11, w25
add x12, x11, #1
strb w13, [x19, x11]
ldrb w14, [x10, #5]
cbz w14, LBB0_17
; %bb.14: ; in Loop: Header=BB0_10 Depth=2
add x13, x11, #2
strb w14, [x19, x12]
ldrb w12, [x10, #6]
cbz w12, LBB0_18
; %bb.15: ; in Loop: Header=BB0_10 Depth=2
add x11, x11, #3
strb w12, [x19, x13]
ldrb w10, [x10, #7]
cbz w10, LBB0_19
; %bb.16: ; in Loop: Header=BB0_10 Depth=2
add w25, w25, #4
strb w10, [x19, x11]
b LBB0_20
LBB0_17: ; in Loop: Header=BB0_10 Depth=2
mov x25, x12
b LBB0_20
LBB0_18: ; in Loop: Header=BB0_10 Depth=2
mov x25, x13
b LBB0_20
LBB0_19: ; in Loop: Header=BB0_10 Depth=2
mov x25, x11
LBB0_20: ; in Loop: Header=BB0_10 Depth=2
mov w22, #0 ; =0x0
cmp w8, w9
b.ge LBB0_10
b LBB0_5
LBB0_21: ; in Loop: Header=BB0_6 Depth=1
cbz w22, LBB0_5
LBB0_22: ; in Loop: Header=BB0_6 Depth=1
strb w23, [x19, w25, sxtw]
b LBB0_4
LBB0_23:
; kill: def $w25 killed $w25 killed $x25 def $x25
sxtw x8, w25
b LBB0_25
LBB0_24:
mov x8, #0 ; =0x0
LBB0_25:
strb wzr, [x19, x8]
LBB0_26:
mov x0, x19
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.no_dead_strip _transliterate
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function usb_unbind_interface
_usb_unbind_interface: ## @usb_unbind_interface
.cfi_startproc
## %bb.0:
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, %rbx
movl (%rdi), %edi
callq _to_usb_driver
movq %rax, %r14
movq %rbx, %rdi
callq _to_usb_interface
movq _ENODEV@GOTPCREL(%rip), %rcx
xorl %r13d, %r13d
subl (%rcx), %r13d
movq %rax, %rdi
movq _USB_INTERFACE_UNBINDING@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 16(%rdi)
movq %rdi, -48(%rbp) ## 8-byte Spill
callq _interface_to_usbdev
movq %rax, %r15
movq %rax, %rdi
callq _usb_autoresume_device
movl %eax, %r12d
cmpq $0, 24(%r14)
je LBB0_2
## %bb.1:
movq %r15, %rdi
callq _usb_unlocked_disable_lpm
movl %eax, %r13d
LBB0_2:
movl %r13d, -76(%rbp) ## 4-byte Spill
movl %r12d, -52(%rbp) ## 4-byte Spill
movq %rbx, -72(%rbp) ## 8-byte Spill
cmpl $0, 16(%r14)
je LBB0_4
## %bb.3:
movq (%r15), %rax
movq _USB_STATE_NOTATTACHED@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_5
LBB0_4:
movq %r15, %rdi
movq -48(%rbp), %rsi ## 8-byte Reload
xorl %edx, %edx
callq _usb_disable_interface
LBB0_5:
movq %r15, -88(%rbp) ## 8-byte Spill
movq -48(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rdi
movq %r14, -64(%rbp) ## 8-byte Spill
callq *8(%r14)
movq %rbx, %rdi
movq 40(%rbx), %rax
movl (%rax), %ecx
testl %ecx, %ecx
js LBB0_14
## %bb.6:
xorl %r15d, %r15d
xorl %r12d, %r12d
xorl %r14d, %r14d
xorl %ebx, %ebx
jmp LBB0_7
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_7 Depth=1
addq %r15, %r13
movslq %ebx, %rax
incl %ebx
movq %r13, (%r14,%rax,8)
movq 40(%rdi), %rax
movl (%rax), %ecx
LBB0_11: ## in Loop: Header=BB0_7 Depth=1
decq %r12
movslq %ecx, %rdx
addq $-8, %r15
cmpq %rdx, %r12
jg LBB0_12
LBB0_7: ## =>This Inner Loop Header: Depth=1
movq 16(%rax), %r13
cmpq $0, (%r13,%r15)
je LBB0_11
## %bb.8: ## in Loop: Header=BB0_7 Depth=1
testl %ebx, %ebx
jne LBB0_10
## %bb.9: ## in Loop: Header=BB0_7 Depth=1
movq _USB_MAXENDPOINTS@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl $8, %esi
callq _kmalloc_array
movq -48(%rbp), %rdi ## 8-byte Reload
movq %rax, %r14
testq %rax, %rax
jne LBB0_10
jmp LBB0_14
LBB0_12:
testl %ebx, %ebx
je LBB0_14
## %bb.13:
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %r14, %rsi
movl %ebx, %edx
callq _usb_free_streams
movq %r14, %rdi
callq _kfree
movq -48(%rbp), %rdi ## 8-byte Reload
LBB0_14:
movq 40(%rdi), %rax
cmpq $0, 8(%rax)
je LBB0_15
## %bb.16:
movl -52(%rbp), %r12d ## 4-byte Reload
testl %r12d, %r12d
movq -88(%rbp), %r15 ## 8-byte Reload
jne LBB0_20
## %bb.17:
cmpl $0, 32(%rdi)
je LBB0_18
LBB0_20:
movl $1, (%rdi)
movq -72(%rbp), %rbx ## 8-byte Reload
movq -64(%rbp), %r14 ## 8-byte Reload
jmp LBB0_21
LBB0_15:
movq -88(%rbp), %r15 ## 8-byte Reload
movq %r15, %rdi
movq -48(%rbp), %rsi ## 8-byte Reload
xorl %edx, %edx
callq _usb_enable_interface
movq -48(%rbp), %rdi ## 8-byte Reload
movq -72(%rbp), %rbx ## 8-byte Reload
movq -64(%rbp), %r14 ## 8-byte Reload
movl -52(%rbp), %r12d ## 4-byte Reload
LBB0_21:
movq %rdi, %r13
xorl %esi, %esi
callq _usb_set_intfdata
movq _USB_INTERFACE_UNBOUND@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 16(%r13)
movq $0, 8(%r13)
cmpl $0, -76(%rbp) ## 4-byte Folded Reload
jne LBB0_23
## %bb.22:
movq %r15, %rdi
callq _usb_unlocked_enable_lpm
LBB0_23:
cmpq $0, (%r14)
je LBB0_25
## %bb.24:
movq %rbx, %rdi
callq _pm_runtime_disable
LBB0_25:
movq %rbx, %rdi
callq _pm_runtime_set_suspended
testl %r12d, %r12d
jne LBB0_27
## %bb.26:
movq %r15, %rdi
callq _usb_autosuspend_device
LBB0_27:
xorl %eax, %eax
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_18:
movq 24(%rdi), %rax
movl (%rax), %esi
movq %r15, %rdi
xorl %edx, %edx
callq _usb_set_interface
movq -48(%rbp), %rdi ## 8-byte Reload
testl %eax, %eax
movq -72(%rbp), %rbx ## 8-byte Reload
movq -64(%rbp), %r14 ## 8-byte Reload
jns LBB0_21
## %bb.19:
movl $1, (%rdi)
jmp LBB0_21
.cfi_endproc
## -- End function
.comm _ENODEV,4,2 ## @ENODEV
.comm _USB_INTERFACE_UNBINDING,4,2 ## @USB_INTERFACE_UNBINDING
.comm _USB_STATE_NOTATTACHED,8,3 ## @USB_STATE_NOTATTACHED
.comm _USB_MAXENDPOINTS,4,2 ## @USB_MAXENDPOINTS
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _USB_INTERFACE_UNBOUND,4,2 ## @USB_INTERFACE_UNBOUND
.no_dead_strip _usb_unbind_interface
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function usb_unbind_interface
_usb_unbind_interface: ; @usb_unbind_interface
.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, x0
ldr w0, [x0]
bl _to_usb_driver
mov x21, x0
mov x0, x19
bl _to_usb_interface
mov x23, x0
Lloh0:
adrp x8, _ENODEV@GOTPAGE
Lloh1:
ldr x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh2:
ldr w22, [x8]
Lloh3:
adrp x8, _USB_INTERFACE_UNBINDING@GOTPAGE
Lloh4:
ldr x8, [x8, _USB_INTERFACE_UNBINDING@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
str w8, [x0, #16]
bl _interface_to_usbdev
mov x20, x0
bl _usb_autoresume_device
str w0, [sp, #12] ; 4-byte Folded Spill
ldr x8, [x21, #24]
cbz x8, LBB0_2
; %bb.1:
mov x0, x20
bl _usb_unlocked_disable_lpm
str w0, [sp, #8] ; 4-byte Folded Spill
ldr w8, [x21, #16]
cbnz w8, LBB0_3
b LBB0_4
LBB0_2:
neg w8, w22
str w8, [sp, #8] ; 4-byte Folded Spill
ldr w8, [x21, #16]
cbz w8, LBB0_4
LBB0_3:
ldr x8, [x20]
Lloh6:
adrp x9, _USB_STATE_NOTATTACHED@GOTPAGE
Lloh7:
ldr x9, [x9, _USB_STATE_NOTATTACHED@GOTPAGEOFF]
Lloh8:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_5
LBB0_4:
mov x0, x20
mov x1, x23
mov w2, #0 ; =0x0
bl _usb_disable_interface
LBB0_5:
ldr x8, [x21, #8]
mov x0, x23
blr x8
ldr x8, [x23, #40]
ldr w9, [x8]
tbnz w9, #31, LBB0_14
; %bb.6:
mov x26, #0 ; =0x0
mov x27, #0 ; =0x0
mov x0, #0 ; =0x0
mov w25, #0 ; =0x0
Lloh9:
adrp x24, _USB_MAXENDPOINTS@GOTPAGE
Lloh10:
ldr x24, [x24, _USB_MAXENDPOINTS@GOTPAGEOFF]
Lloh11:
adrp x28, _GFP_KERNEL@GOTPAGE
Lloh12:
ldr x28, [x28, _GFP_KERNEL@GOTPAGEOFF]
b LBB0_9
LBB0_7: ; in Loop: Header=BB0_9 Depth=1
str x22, [x0, w25, sxtw #3]
add w25, w25, #1
ldr x8, [x23, #40]
ldr w9, [x8]
LBB0_8: ; in Loop: Header=BB0_9 Depth=1
sub x27, x27, #1
sub x26, x26, #8
cmp x27, w9, sxtw
b.gt LBB0_12
LBB0_9: ; =>This Inner Loop Header: Depth=1
ldr x10, [x8, #16]
add x22, x10, x26
ldr x10, [x22]
cbz x10, LBB0_8
; %bb.10: ; in Loop: Header=BB0_9 Depth=1
cbnz w25, LBB0_7
; %bb.11: ; in Loop: Header=BB0_9 Depth=1
ldr w0, [x24]
ldr w2, [x28]
mov w1, #8 ; =0x8
bl _kmalloc_array
cbnz x0, LBB0_7
b LBB0_14
LBB0_12:
cbz w25, LBB0_14
; %bb.13:
ldr w3, [x28]
mov x26, x0
mov x0, x23
mov x1, x26
mov x2, x25
bl _usb_free_streams
mov x0, x26
bl _kfree
LBB0_14:
ldr x8, [x23, #40]
ldr x8, [x8, #8]
cbz x8, LBB0_18
; %bb.15:
ldr w22, [sp, #12] ; 4-byte Folded Reload
cbnz w22, LBB0_17
; %bb.16:
ldr w8, [x23, #32]
cbz w8, LBB0_26
LBB0_17:
mov w8, #1 ; =0x1
str w8, [x23]
b LBB0_19
LBB0_18:
mov x0, x20
mov x1, x23
mov w2, #0 ; =0x0
bl _usb_enable_interface
ldr w22, [sp, #12] ; 4-byte Folded Reload
LBB0_19:
mov x0, x23
mov x1, #0 ; =0x0
bl _usb_set_intfdata
Lloh13:
adrp x8, _USB_INTERFACE_UNBOUND@GOTPAGE
Lloh14:
ldr x8, [x8, _USB_INTERFACE_UNBOUND@GOTPAGEOFF]
Lloh15:
ldr w8, [x8]
str w8, [x23, #16]
str xzr, [x23, #8]
ldr w8, [sp, #8] ; 4-byte Folded Reload
cbnz w8, LBB0_21
; %bb.20:
mov x0, x20
bl _usb_unlocked_enable_lpm
LBB0_21:
ldr x8, [x21]
cbz x8, LBB0_23
; %bb.22:
mov x0, x19
bl _pm_runtime_disable
LBB0_23:
mov x0, x19
bl _pm_runtime_set_suspended
cbnz w22, LBB0_25
; %bb.24:
mov x0, x20
bl _usb_autosuspend_device
LBB0_25:
mov w0, #0 ; =0x0
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
LBB0_26:
ldr x8, [x23, #24]
ldr w1, [x8]
mov x0, x20
mov w2, #0 ; =0x0
bl _usb_set_interface
tbz w0, #31, LBB0_19
b LBB0_17
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.cfi_endproc
; -- End function
.comm _ENODEV,4,2 ; @ENODEV
.comm _USB_INTERFACE_UNBINDING,4,2 ; @USB_INTERFACE_UNBINDING
.comm _USB_STATE_NOTATTACHED,8,3 ; @USB_STATE_NOTATTACHED
.comm _USB_MAXENDPOINTS,4,2 ; @USB_MAXENDPOINTS
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _USB_INTERFACE_UNBOUND,4,2 ; @USB_INTERFACE_UNBOUND
.no_dead_strip _usb_unbind_interface
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function fdtv_ca_pmt
_fdtv_ca_pmt: ## @fdtv_ca_pmt
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq (%rsi), %rax
movl 12(%rax), %esi
movq %rsi, %rcx
andq $127, %rcx
je LBB0_1
## %bb.2:
movl %esi, %edx
andl $127, %edx
leaq -1(%rdx), %r8
andl $3, %esi
cmpq $3, %r8
jae LBB0_4
## %bb.3:
xorl %edx, %edx
movl $4, %r8d
jmp LBB0_7
LBB0_1:
xorl %edx, %edx
movl $4, %ecx
jmp LBB0_10
LBB0_4:
andl $-4, %edx
negq %rdx
movl $4, %r8d
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
leaq (%rdx,%r8), %r9
addq $4, %r9
addq $4, %r8
cmpq $4, %r9
jne LBB0_5
## %bb.6:
movl -16(%rax,%r8,4), %r9d
movl -12(%rax,%r8,4), %edx
shll $16, %r9d
shll $8, %edx
addl %r9d, %edx
addl -8(%rax,%r8,4), %edx
shll $8, %edx
addl -4(%rax,%r8,4), %edx
LBB0_7:
addq $4, %rcx
testq %rsi, %rsi
je LBB0_10
## %bb.8:
leaq (%rax,%r8,4), %r8
xorl %r9d, %r9d
.p2align 4, 0x90
LBB0_9: ## =>This Inner Loop Header: Depth=1
shll $8, %edx
addl (%r8,%r9,4), %edx
incq %r9
cmpq %r9, %rsi
jne LBB0_9
LBB0_10:
leaq (%rax,%rcx,4), %rsi
popq %rbp
jmp _avc_ca_pmt ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _fdtv_ca_pmt
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function fdtv_ca_pmt
_fdtv_ca_pmt: ; @fdtv_ca_pmt
.cfi_startproc
; %bb.0:
ldr x8, [x1]
ldr w11, [x8, #12]
mov w2, #0 ; =0x0
and x9, x11, #0x7f
cbz w9, LBB0_4
; %bb.1:
add x9, x9, #4
add x10, x8, #16
; kill: def $w11 killed $w11 killed $x11 def $x11
and x11, x11, #0x7f
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr w12, [x10], #4
add w2, w12, w2, lsl #8
subs x11, x11, #1
b.ne LBB0_2
; %bb.3:
add x1, x8, x9, lsl #2
b _avc_ca_pmt
LBB0_4:
mov w9, #4 ; =0x4
add x1, x8, x9, lsl #2
b _avc_ca_pmt
.cfi_endproc
; -- End function
.no_dead_strip _fdtv_ca_pmt
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function peek_ipv6
_peek_ipv6: ## @peek_ipv6
.cfi_startproc
## %bb.0:
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
cmpb $91, (%rdi)
jne LBB0_8
## %bb.1:
movq %rdi, %r14
movq %rsi, -48(%rbp) ## 8-byte Spill
movl $1, %r13d
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movsbl (%r14,%r13), %r15d
incq %r13
cmpl $46, %r15d
sete %bl
movl %r15d, %edi
callq _ISALNUM
testq %rax, %rax
setne %al
cmpl $37, %r15d
je LBB0_2
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
andb %al, %bl
jne LBB0_2
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movzbl %r15b, %eax
cmpl $58, %eax
jne LBB0_5
## %bb.10: ## in Loop: Header=BB0_2 Depth=1
incq %r12
jmp LBB0_2
LBB0_5:
cmpl $93, %eax
jne LBB0_8
## %bb.6:
movq -48(%rbp), %rax ## 8-byte Reload
movq %r13, (%rax)
cmpq $2, %r12
jb LBB0_8
## %bb.7:
movq _TRUE@GOTPCREL(%rip), %rax
jmp LBB0_9
LBB0_8:
movq _FALSE@GOTPCREL(%rip), %rax
LBB0_9:
movl (%rax), %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _FALSE,4,2 ## @FALSE
.comm _TRUE,4,2 ## @TRUE
.no_dead_strip _peek_ipv6
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function peek_ipv6
_peek_ipv6: ; @peek_ipv6
.cfi_startproc
; %bb.0:
ldrb w8, [x0]
cmp w8, #91
b.ne LBB0_6
; %bb.1:
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 x22, #0 ; =0x0
mov w23, #1 ; =0x1
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldrsb w21, [x20, x23]
add x23, x23, #1
mov x0, x21
bl _ISALNUM
cmp w21, #46
ccmp x0, #0, #4, eq
cset w8, ne
cmp w21, #37
b.eq LBB0_2
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
tbnz w8, #0, LBB0_2
; %bb.4: ; in Loop: Header=BB0_2 Depth=1
and w8, w21, #0xff
cmp w8, #58
b.ne LBB0_7
; %bb.5: ; in Loop: Header=BB0_2 Depth=1
add x22, x22, #1
b LBB0_2
LBB0_6:
Lloh0:
adrp x8, _FALSE@GOTPAGE
Lloh1:
ldr x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
ret
LBB0_7:
cmp w8, #93
b.ne LBB0_9
; %bb.8:
Lloh3:
adrp x8, _TRUE@GOTPAGE
Lloh4:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
str x23, [x19]
Lloh5:
adrp x9, _FALSE@GOTPAGE
Lloh6:
ldr x9, [x9, _FALSE@GOTPAGEOFF]
cmp x22, #1
csel x8, x8, x9, hi
b LBB0_10
LBB0_9:
Lloh7:
adrp x8, _FALSE@GOTPAGE
Lloh8:
ldr x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_10:
ldr w0, [x8]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGot Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _FALSE,4,2 ; @FALSE
.comm _TRUE,4,2 ; @TRUE
.no_dead_strip _peek_ipv6
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function write_length
_write_length: ## @write_length
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %esi, %eax
movl %esi, %ecx
orl $255, %ecx
movq (%rdi), %rsi
movslq %edx, %rdx
movl %ecx, (%rsi,%rdx,4)
movzbl %ah, %ecx
movl %ecx, 4(%rsi,%rdx,4)
movl %eax, %ecx
shrl $16, %ecx
movzbl %cl, %ecx
movl %ecx, 8(%rsi,%rdx,4)
shrl $24, %eax
movl %eax, 12(%rsi,%rdx,4)
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _write_length
.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 write_length
lCPI0_0:
.long 4294967288 ; 0xfffffff8
.long 4294967280 ; 0xfffffff0
.section __TEXT,__text,regular,pure_instructions
.p2align 2
_write_length: ; @write_length
.cfi_startproc
; %bb.0:
orr w8, w1, #0xff
ldr x9, [x0]
add x9, x9, w2, sxtw #2
str w8, [x9]
dup.2s v0, w1
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, [x9, #4]
lsr w8, w1, #24
str w8, [x9, #12]
ret
.loh AdrpLdr Lloh0, Lloh1
.cfi_endproc
; -- End function
.no_dead_strip _write_length
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function ossltest_digest_nids
_ossltest_digest_nids: ## @ossltest_digest_nids
.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
cmpb $1, _ossltest_digest_nids.init(%rip)
jne LBB0_2
## %bb.1:
movl _ossltest_digest_nids.pos(%rip), %eax
jmp LBB0_14
LBB0_2:
xorl %eax, %eax
callq _digest_md5
testq %rax, %rax
je LBB0_4
## %bb.3:
movq %rax, %rdi
callq _EVP_MD_type
movslq _ossltest_digest_nids.pos(%rip), %rcx
leal 1(%rcx), %edx
movl %edx, _ossltest_digest_nids.pos(%rip)
leaq _ossltest_digest_nids.digest_nids(%rip), %rdx
movl %eax, (%rdx,%rcx,4)
LBB0_4:
xorl %eax, %eax
callq _digest_sha1
testq %rax, %rax
je LBB0_6
## %bb.5:
movq %rax, %rdi
callq _EVP_MD_type
movslq _ossltest_digest_nids.pos(%rip), %rcx
leal 1(%rcx), %edx
movl %edx, _ossltest_digest_nids.pos(%rip)
leaq _ossltest_digest_nids.digest_nids(%rip), %rdx
movl %eax, (%rdx,%rcx,4)
LBB0_6:
xorl %eax, %eax
callq _digest_sha256
testq %rax, %rax
je LBB0_8
## %bb.7:
movq %rax, %rdi
callq _EVP_MD_type
movslq _ossltest_digest_nids.pos(%rip), %rcx
leal 1(%rcx), %edx
movl %edx, _ossltest_digest_nids.pos(%rip)
leaq _ossltest_digest_nids.digest_nids(%rip), %rdx
movl %eax, (%rdx,%rcx,4)
LBB0_8:
xorl %eax, %eax
callq _digest_sha384
testq %rax, %rax
je LBB0_10
## %bb.9:
movq %rax, %rdi
callq _EVP_MD_type
movslq _ossltest_digest_nids.pos(%rip), %rcx
leal 1(%rcx), %edx
movl %edx, _ossltest_digest_nids.pos(%rip)
leaq _ossltest_digest_nids.digest_nids(%rip), %rdx
movl %eax, (%rdx,%rcx,4)
LBB0_10:
xorl %eax, %eax
callq _digest_sha512
testq %rax, %rax
je LBB0_11
## %bb.12:
movq %rax, %rdi
callq _EVP_MD_type
movl %eax, %ecx
movslq _ossltest_digest_nids.pos(%rip), %rdx
leal 1(%rdx), %eax
movl %eax, _ossltest_digest_nids.pos(%rip)
leaq _ossltest_digest_nids.digest_nids(%rip), %rsi
movl %ecx, (%rsi,%rdx,4)
jmp LBB0_13
LBB0_11:
movl _ossltest_digest_nids.pos(%rip), %eax
LBB0_13:
movslq %eax, %rcx
leaq _ossltest_digest_nids.digest_nids(%rip), %rdx
movl $0, (%rdx,%rcx,4)
movb $1, _ossltest_digest_nids.init(%rip)
LBB0_14:
leaq _ossltest_digest_nids.digest_nids(%rip), %rcx
movq %rcx, (%rbx)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_ossltest_digest_nids.digest_nids,24,4 ## @ossltest_digest_nids.digest_nids
.zerofill __DATA,__bss,_ossltest_digest_nids.pos,4,2 ## @ossltest_digest_nids.pos
.zerofill __DATA,__bss,_ossltest_digest_nids.init,1,2 ## @ossltest_digest_nids.init
.no_dead_strip _ossltest_digest_nids
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function ossltest_digest_nids
_ossltest_digest_nids: ; @ossltest_digest_nids
.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 x21, _ossltest_digest_nids.init@PAGE
ldrb w8, [x21, _ossltest_digest_nids.init@PAGEOFF]
Lloh0:
adrp x20, _ossltest_digest_nids.digest_nids@PAGE
Lloh1:
add x20, x20, _ossltest_digest_nids.digest_nids@PAGEOFF
cmp w8, #1
b.ne LBB0_2
; %bb.1:
Lloh2:
adrp x8, _ossltest_digest_nids.pos@PAGE
Lloh3:
ldr w0, [x8, _ossltest_digest_nids.pos@PAGEOFF]
b LBB0_14
LBB0_2:
bl _digest_md5
adrp x22, _ossltest_digest_nids.pos@PAGE
cbz x0, LBB0_4
; %bb.3:
bl _EVP_MD_type
ldrsw x8, [x22, _ossltest_digest_nids.pos@PAGEOFF]
add w9, w8, #1
str w9, [x22, _ossltest_digest_nids.pos@PAGEOFF]
str w0, [x20, x8, lsl #2]
LBB0_4:
bl _digest_sha1
cbz x0, LBB0_6
; %bb.5:
bl _EVP_MD_type
ldrsw x8, [x22, _ossltest_digest_nids.pos@PAGEOFF]
add w9, w8, #1
str w9, [x22, _ossltest_digest_nids.pos@PAGEOFF]
str w0, [x20, x8, lsl #2]
LBB0_6:
bl _digest_sha256
cbz x0, LBB0_8
; %bb.7:
bl _EVP_MD_type
ldrsw x8, [x22, _ossltest_digest_nids.pos@PAGEOFF]
add w9, w8, #1
str w9, [x22, _ossltest_digest_nids.pos@PAGEOFF]
str w0, [x20, x8, lsl #2]
LBB0_8:
bl _digest_sha384
cbz x0, LBB0_10
; %bb.9:
bl _EVP_MD_type
ldrsw x8, [x22, _ossltest_digest_nids.pos@PAGEOFF]
add w9, w8, #1
str w9, [x22, _ossltest_digest_nids.pos@PAGEOFF]
str w0, [x20, x8, lsl #2]
LBB0_10:
bl _digest_sha512
cbz x0, LBB0_12
; %bb.11:
bl _EVP_MD_type
mov x8, x0
ldrsw x9, [x22, _ossltest_digest_nids.pos@PAGEOFF]
add w0, w9, #1
str w0, [x22, _ossltest_digest_nids.pos@PAGEOFF]
str w8, [x20, x9, lsl #2]
b LBB0_13
LBB0_12:
ldr w0, [x22, _ossltest_digest_nids.pos@PAGEOFF]
LBB0_13:
str wzr, [x20, w0, sxtw #2]
mov w8, #1 ; =0x1
strb w8, [x21, _ossltest_digest_nids.init@PAGEOFF]
LBB0_14:
str x20, [x19]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdr Lloh2, Lloh3
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_ossltest_digest_nids.digest_nids,24,2 ; @ossltest_digest_nids.digest_nids
.zerofill __DATA,__bss,_ossltest_digest_nids.pos,4,2 ; @ossltest_digest_nids.pos
.zerofill __DATA,__bss,_ossltest_digest_nids.init,1,2 ; @ossltest_digest_nids.init
.no_dead_strip _ossltest_digest_nids
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function parse_uncompressed_block
_parse_uncompressed_block: ## @parse_uncompressed_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 %rbx
subq $24, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r15
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -32(%rbp)
movl (%rdi), %esi
andl $7, %esi
callq _zreceive
movl (%r15), %eax
testl %eax, %eax
jle LBB0_1
## %bb.2:
movl 4(%r15), %ecx
leal -1(%rax), %esi
shrl $3, %esi
incl %esi
movl %esi, %edx
andl $3, %edx
cmpl $25, %eax
jae LBB0_4
## %bb.3:
xorl %r14d, %r14d
testl %edx, %edx
jne LBB0_8
jmp LBB0_11
LBB0_1:
xorl %r14d, %r14d
jmp LBB0_12
LBB0_4:
andl $-4, %esi
leaq -48(%rbp), %rdi
xorl %r14d, %r14d
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movzbl %cl, %r8d
movl %r8d, (%rdi)
movzbl %ch, %ebx
movl %ebx, -4(%rdi)
movl %ecx, %r8d
shrl $16, %r8d
movzbl %r8b, %r8d
movl %r8d, -8(%rdi)
movl %ecx, %ebx
shrl $24, %ebx
movl %ebx, -12(%rdi)
sarl $31, %ecx
addl $-32, %eax
addq $4, %r14
addq $-16, %rdi
cmpl %r14d, %esi
jne LBB0_5
## %bb.6:
negq %r14
testl %edx, %edx
je LBB0_11
LBB0_8:
shll $3, %edx
xorl %esi, %esi
.p2align 4, 0x90
LBB0_9: ## =>This Inner Loop Header: Depth=1
movzbl %cl, %edi
movl %edi, -48(%rbp,%r14,4)
decq %r14
sarl $8, %ecx
addl $8, %esi
cmpl %esi, %edx
jne LBB0_9
## %bb.10:
subl %esi, %eax
LBB0_11:
movl %ecx, 4(%r15)
movl %eax, (%r15)
LBB0_12:
xorl %edi, %edi
testl %eax, %eax
sete %dil
callq _assert
cmpl $4, %r14d
jg LBB0_15
## %bb.13:
movslq %r14d, %r14
.p2align 4, 0x90
LBB0_14: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
callq _zget8
movl %eax, -48(%rbp,%r14,4)
incq %r14
cmpq $5, %r14
jne LBB0_14
LBB0_15:
movslq -44(%rbp), %r14
shlq $8, %r14
movslq -48(%rbp), %rax
subq %rax, %r14
movl -36(%rbp), %eax
shll $8, %eax
addl -40(%rbp), %eax
xorl %r14d, %eax
cmpl $65535, %eax ## imm = 0xFFFF
jne LBB0_16
## %bb.19:
movq 8(%r15), %rsi
leaq (%rsi,%r14), %rax
cmpq 16(%r15), %rax
jle LBB0_22
## %bb.20:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -32(%rbp), %rax
jne LBB0_29
## %bb.21:
leaq L_.str.2(%rip), %rdi
jmp LBB0_18
LBB0_16:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -32(%rbp), %rax
jne LBB0_29
## %bb.17:
leaq L_.str(%rip), %rdi
LBB0_18:
leaq L_.str.1(%rip), %rsi
addq $24, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _e ## TAILCALL
LBB0_22:
movq 24(%r15), %rdi
leaq (%rdi,%r14), %rax
cmpq 32(%r15), %rax
jle LBB0_26
## %bb.23:
movq %r15, %rdi
movl %r14d, %esi
callq _expand
testl %eax, %eax
je LBB0_24
## %bb.25:
movq 8(%r15), %rsi
movq 24(%r15), %rdi
LBB0_26:
movl %r14d, %edx
callq _memcpy
addq %r14, 8(%r15)
addq %r14, 24(%r15)
movl $1, %eax
LBB0_27:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -32(%rbp), %rcx
jne LBB0_29
## %bb.28:
addq $24, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_24:
xorl %eax, %eax
jmp LBB0_27
LBB0_29:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "zlib corrupt"
L_.str.1: ## @.str.1
.asciz "Corrupt PNG"
L_.str.2: ## @.str.2
.asciz "read past buffer"
.no_dead_strip _parse_uncompressed_block
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function parse_uncompressed_block
_parse_uncompressed_block: ; @parse_uncompressed_block
.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 x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #24]
ldr w8, [x0]
and w1, w8, #0x7
bl _zreceive
ldr w8, [x19]
cmp w8, #1
b.lt LBB0_4
; %bb.1:
mov w20, #0 ; =0x0
ldr w9, [x19, #4]
add x10, sp, #8
LBB0_2: ; =>This Inner Loop Header: Depth=1
and w11, w9, #0xff
str w11, [x10], #-4
asr w9, w9, #8
sub w20, w20, #1
subs w8, w8, #8
b.hi LBB0_2
; %bb.3:
stp w8, w9, [x19]
b LBB0_5
LBB0_4:
mov w20, #0 ; =0x0
LBB0_5:
cmp w8, #0
cset w0, eq
bl _assert
cmp w20, #4
b.gt LBB0_8
; %bb.6:
sxtw x21, w20
add x20, sp, #8
LBB0_7: ; =>This Inner Loop Header: Depth=1
mov x0, x19
bl _zget8
str w0, [x20, x21, lsl #2]
add x8, x21, #1
mov x21, x8
cmp x8, #5
b.ne LBB0_7
LBB0_8:
ldpsw x9, x8, [sp, #8]
lsl x8, x8, #8
ldp w11, w10, [sp, #16]
add w10, w11, w10, lsl #8
sub x20, x8, x9
eor w8, w10, w20
mov w9, #65535 ; =0xffff
cmp w8, w9
b.ne LBB0_12
; %bb.9:
ldp x1, x8, [x19, #8]
add x9, x1, x20
cmp x9, x8
b.le LBB0_15
; %bb.10:
ldr x8, [sp, #24]
Lloh3:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh4:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_21
; %bb.11:
Lloh6:
adrp x0, l_.str.2@PAGE
Lloh7:
add x0, x0, l_.str.2@PAGEOFF
b LBB0_14
LBB0_12:
ldr x8, [sp, #24]
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_21
; %bb.13:
Lloh11:
adrp x0, l_.str@PAGE
Lloh12:
add x0, x0, l_.str@PAGEOFF
LBB0_14:
Lloh13:
adrp x1, l_.str.1@PAGE
Lloh14:
add x1, x1, l_.str.1@PAGEOFF
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #80
b _e
LBB0_15:
ldp x0, x8, [x19, #24]
add x9, x0, x20
cmp x9, x8
b.le LBB0_18
; %bb.16:
mov x0, x19
mov x1, x20
bl _expand
cbz w0, LBB0_19
; %bb.17:
ldr x0, [x19, #24]
ldr x1, [x19, #8]
LBB0_18:
mov x2, x20
bl _memcpy
ldr x8, [x19, #8]
add x8, x8, x20
str x8, [x19, #8]
ldr x8, [x19, #24]
add x8, x8, x20
str x8, [x19, #24]
mov w0, #1 ; =0x1
LBB0_19:
ldr x8, [sp, #24]
Lloh15:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh16:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_21
; %bb.20:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #80
ret
LBB0_21:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "zlib corrupt"
l_.str.1: ; @.str.1
.asciz "Corrupt PNG"
l_.str.2: ; @.str.2
.asciz "read past buffer"
.no_dead_strip _parse_uncompressed_block
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function getisoweeks
_getisoweeks: ## @getisoweeks
.cfi_startproc
## %bb.0:
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
movl %edi, %r15d
callq _days_per_month
testl %eax, %eax
jle LBB0_1
## %bb.2:
movl $1, %r12d
movl %r14d, -44(%rbp) ## 4-byte Spill
leaq _getisoweeks.result(%rip), %rbx
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movabsq $-4294967296, %rcx ## imm = 0xFFFFFFFF00000000
addq %rcx, %r13
movl %r15d, %edi
movl -44(%rbp), %esi ## 4-byte Reload
movl %r12d, %edx
movl %eax, %r14d
callq _iso_week
movl %eax, (%rbx)
movl %r14d, %eax
movq _MAX_DAYS@GOTPCREL(%rip), %rcx
addl (%rcx), %r12d
addq $-4, %rbx
cmpl %r14d, %r12d
jle LBB0_3
## %bb.4:
sarq $32, %r13
movl -44(%rbp), %r14d ## 4-byte Reload
jmp LBB0_5
LBB0_1:
xorl %r13d, %r13d
LBB0_5:
movl %r15d, %edi
movl %r14d, %esi
movl %eax, %edx
callq _iso_week
leaq _getisoweeks.result(%rip), %rcx
movl %eax, (%rcx,%r13,4)
movq %rcx, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_getisoweeks.result,40,4 ## @getisoweeks.result
.comm _MAX_DAYS,8,3 ## @MAX_DAYS
.no_dead_strip _getisoweeks
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function getisoweeks
_getisoweeks: ; @getisoweeks
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x1
mov x20, x0
bl _days_per_month
mov x22, x0
Lloh0:
adrp x21, _getisoweeks.result@PAGE
Lloh1:
add x21, x21, _getisoweeks.result@PAGEOFF
cmp w0, #1
b.lt LBB0_4
; %bb.1:
mov x24, #0 ; =0x0
mov w23, #1 ; =0x1
Lloh2:
adrp x25, _MAX_DAYS@GOTPAGE
Lloh3:
ldr x25, [x25, _MAX_DAYS@GOTPAGEOFF]
mov x26, #-4294967296 ; =0xffffffff00000000
Lloh4:
adrp x27, _getisoweeks.result@PAGE
Lloh5:
add x27, x27, _getisoweeks.result@PAGEOFF
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x0, x20
mov x1, x19
mov x2, x23
bl _iso_week
str w0, [x27], #-4
ldr w8, [x25]
add x24, x24, x26
add w23, w23, w8
cmp w23, w22
b.le LBB0_2
; %bb.3:
asr x23, x24, #32
b LBB0_5
LBB0_4:
mov x23, #0 ; =0x0
LBB0_5:
mov x0, x20
mov x1, x19
mov x2, x22
bl _iso_week
str w0, [x21, x23, lsl #2]
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 AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_getisoweeks.result,40,2 ; @getisoweeks.result
.comm _MAX_DAYS,8,3 ; @MAX_DAYS
.no_dead_strip _getisoweeks
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function append_ref
_append_ref: ## @append_ref
.cfi_startproc
## %bb.0:
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, %r14d
movq %rdi, %rbx
movq _the_repository@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl $1, %edx
callq _lookup_commit_reference_gently
testq %rax, %rax
je LBB0_8
## %bb.1:
testl %r14d, %r14d
setne %al
movq _ref_name_cnt@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, %r15d
testl %ecx, %ecx
sets %cl
orb %al, %cl
jne LBB0_5
## %bb.2:
movq _ref_name@GOTPCREL(%rip), %rax
movq (%rax), %r12
leaq 1(%r15), %r13
xorl %r14d, %r14d
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq (%r12,%r14,8), %rsi
movq %rbx, %rdi
callq _strcmp
testl %eax, %eax
je LBB0_8
## %bb.3: ## in Loop: Header=BB0_4 Depth=1
incq %r14
cmpq %r14, %r13
jne LBB0_4
LBB0_5:
movq _MAX_REVS@GOTPCREL(%rip), %r14
movl (%r14), %edx
cmpl %r15d, %edx
jle LBB0_6
## %bb.7:
movq %rbx, %rdi
callq _xstrdup
movq _ref_name@GOTPCREL(%rip), %rcx
movq (%rcx), %rdx
movq _ref_name_cnt@GOTPCREL(%rip), %r8
movslq (%r8), %rsi
leaq 1(%rsi), %rdi
movl %edi, (%r8)
movq %rax, (%rdx,%rsi,8)
movq (%rcx), %rax
movq $0, 8(%rax,%rsi,8)
jmp LBB0_8
LBB0_6:
leaq L_.str(%rip), %rdi
leaq L_.str.1(%rip), %rsi
callq _Q_
movl (%r14), %edx
movl %eax, %edi
movq %rbx, %rsi
callq _warning
LBB0_8:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _the_repository,4,2 ## @the_repository
.comm _ref_name_cnt,4,2 ## @ref_name_cnt
.comm _ref_name,8,3 ## @ref_name
.comm _MAX_REVS,4,2 ## @MAX_REVS
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "ignoring %s; cannot handle more than %d ref"
L_.str.1: ## @.str.1
.asciz "ignoring %s; cannot handle more than %d refs"
.no_dead_strip _append_ref
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function append_ref
_append_ref: ; @append_ref
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x20, x2
mov x19, x0
Lloh0:
adrp x8, _the_repository@GOTPAGE
Lloh1:
ldr x8, [x8, _the_repository@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
mov w2, #1 ; =0x1
bl _lookup_commit_reference_gently
cbz x0, LBB0_9
; %bb.1:
Lloh3:
adrp x21, _ref_name_cnt@GOTPAGE
Lloh4:
ldr x21, [x21, _ref_name_cnt@GOTPAGEOFF]
ldr w22, [x21]
cbnz w20, LBB0_6
; %bb.2:
tbnz w22, #31, LBB0_6
; %bb.3:
Lloh5:
adrp x8, _ref_name@GOTPAGE
Lloh6:
ldr x8, [x8, _ref_name@GOTPAGEOFF]
Lloh7:
ldr x20, [x8]
add x23, x22, #1
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr x1, [x20]
mov x0, x19
bl _strcmp
cbz w0, LBB0_9
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
add x20, x20, #8
subs x23, x23, #1
b.ne LBB0_4
LBB0_6:
Lloh8:
adrp x20, _MAX_REVS@GOTPAGE
Lloh9:
ldr x20, [x20, _MAX_REVS@GOTPAGEOFF]
ldr w2, [x20]
cmp w2, w22
b.le LBB0_8
; %bb.7:
mov x0, x19
bl _xstrdup
Lloh10:
adrp x8, _ref_name@GOTPAGE
Lloh11:
ldr x8, [x8, _ref_name@GOTPAGEOFF]
ldr x9, [x8]
ldrsw x10, [x21]
add x11, x10, #1
str w11, [x21]
str x0, [x9, x10, lsl #3]
ldr x8, [x8]
str xzr, [x8, x11, lsl #3]
b LBB0_9
LBB0_8:
Lloh12:
adrp x0, l_.str@PAGE
Lloh13:
add x0, x0, l_.str@PAGEOFF
Lloh14:
adrp x1, l_.str.1@PAGE
Lloh15:
add x1, x1, l_.str.1@PAGEOFF
bl _Q_
ldr w2, [x20]
mov x1, x19
bl _warning
LBB0_9:
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
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.cfi_endproc
; -- End function
.comm _the_repository,4,2 ; @the_repository
.comm _ref_name_cnt,4,2 ; @ref_name_cnt
.comm _ref_name,8,3 ; @ref_name
.comm _MAX_REVS,4,2 ; @MAX_REVS
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "ignoring %s; cannot handle more than %d ref"
l_.str.1: ; @.str.1
.asciz "ignoring %s; cannot handle more than %d refs"
.no_dead_strip _append_ref
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _check_classless_option ## -- Begin function check_classless_option
.p2align 4, 0x90
_check_classless_option: ## @check_classless_option
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
cmpl $5, %esi
jge LBB0_1
## %bb.4:
leaq L_.str(%rip), %rdi
xorl %r14d, %r14d
LBB0_5:
xorl %eax, %eax
callq _warning
jmp LBB0_19
LBB0_1:
movq %rdi, %r14
xorl %r12d, %r12d
movl %esi, -44(%rbp) ## 4-byte Spill
jmp LBB0_2
.p2align 4, 0x90
LBB0_16: ## in Loop: Header=BB0_2 Depth=1
addl $4, %r12d
movl -44(%rbp), %esi ## 4-byte Reload
cmpl %esi, %r12d
jge LBB0_17
LBB0_2: ## =>This Inner Loop Header: Depth=1
movslq %r12d, %rax
movzbl (%r14,%rax), %r15d
testl %r15d, %r15d
je LBB0_3
## %bb.6: ## in Loop: Header=BB0_2 Depth=1
cmpb $8, %r15b
ja LBB0_8
## %bb.7: ## in Loop: Header=BB0_2 Depth=1
movzbl 1(%r14,%rax), %edi
shll $24, %edi
movl $2, %r12d
jmp LBB0_14
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_2 Depth=1
cmpb $16, %r15b
ja LBB0_10
## %bb.9: ## in Loop: Header=BB0_2 Depth=1
movzbl 1(%r14,%rax), %ecx
shll $24, %ecx
movl %r15d, %edi
shll $16, %edi
orl %ecx, %edi
movl $3, %r12d
jmp LBB0_14
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_2 Depth=1
cmpb $24, %r15b
ja LBB0_12
## %bb.11: ## in Loop: Header=BB0_2 Depth=1
movzbl 1(%r14,%rax), %ecx
shll $24, %ecx
movzbl 2(%r14,%rax), %edx
shll $16, %edx
orl %ecx, %edx
movzbl 3(%r14,%rax), %edi
shll $8, %edi
orl %edx, %edi
movl $4, %r12d
jmp LBB0_14
LBB0_12: ## in Loop: Header=BB0_2 Depth=1
cmpb $32, %r15b
ja LBB0_20
## %bb.13: ## in Loop: Header=BB0_2 Depth=1
movzbl 1(%r14,%rax), %ecx
shll $24, %ecx
movzbl 2(%r14,%rax), %edx
shll $16, %edx
orl %ecx, %edx
movzbl 3(%r14,%rax), %ecx
shll $8, %ecx
orl %edx, %ecx
movzbl 4(%r14,%rax), %edi
orl %ecx, %edi
movl $5, %r12d
.p2align 4, 0x90
LBB0_14: ## in Loop: Header=BB0_2 Depth=1
addl %eax, %r12d
movl %r15d, %ecx
negl %ecx
movl $-1, %ebx
## kill: def $cl killed $cl killed $ecx
shll %cl, %ebx
callq _ntohl
movl %eax, %r13d
movl %ebx, %edi
callq _ntohl
movl %r13d, %ecx
notl %ecx
testl %eax, %ecx
je LBB0_16
## %bb.15: ## in Loop: Header=BB0_2 Depth=1
movl $32, %edx
subl %r15d, %edx
andl %r13d, %eax
leal 7(%rdx), %ecx
testw %dx, %dx
cmovnsl %edx, %ecx
andl $248, %ecx
## kill: def $cl killed $cl killed $ecx
sarl %cl, %eax
movslq %r12d, %rcx
movb %al, -1(%r14,%rcx)
jmp LBB0_16
LBB0_3:
addl $5, %r12d
LBB0_17:
movl $1, %r14d
cmpl %esi, %r12d
jle LBB0_19
## %bb.18:
leaq L_.str.2(%rip), %rdi
xorl %r14d, %r14d
movl %r12d, %edx
xorl %eax, %eax
callq _warning
LBB0_19:
movl %r14d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_20:
leaq L_.str.1(%rip), %rdi
xorl %r14d, %r14d
movl %r15d, %esi
jmp LBB0_5
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Too small length: %d"
L_.str.1: ## @.str.1
.asciz "Incorrect subnet width: %d"
L_.str.2: ## @.str.2
.asciz "Incorrect data length: %d (must be %d)"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _check_classless_option ; -- Begin function check_classless_option
.p2align 2
_check_classless_option: ; @check_classless_option
.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
cmp w1, #5
b.ge LBB0_2
; %bb.1:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
b LBB0_18
LBB0_2:
mov x20, x0
mov w8, #0 ; =0x0
sub x24, x0, #1
mov w25, #32 ; =0x20
mov w26, #-1 ; =0xffffffff
b LBB0_4
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
add w8, w27, #4
cmp w8, w19
b.ge LBB0_16
LBB0_4: ; =>This Inner Loop Header: Depth=1
sxtw x8, w8
add x9, x20, x8
ldrb w21, [x9]
cbz w21, LBB0_15
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
add x10, x8, #1
cmp w21, #8
b.hi LBB0_7
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
ldrb w9, [x20, x10]
lsl w0, w9, #24
mov w9, #2 ; =0x2
b LBB0_13
LBB0_7: ; in Loop: Header=BB0_4 Depth=1
cmp w21, #16
b.hi LBB0_9
; %bb.8: ; in Loop: Header=BB0_4 Depth=1
ldrb w9, [x20, x10]
lsl w10, w21, #16
orr w0, w10, w9, lsl #24
mov w9, #3 ; =0x3
b LBB0_13
LBB0_9: ; in Loop: Header=BB0_4 Depth=1
cmp w21, #24
b.hi LBB0_11
; %bb.10: ; in Loop: Header=BB0_4 Depth=1
ldrb w10, [x20, x10]
lsl w10, w10, #24
ldrb w11, [x9, #2]
orr w10, w10, w11, lsl #16
ldrb w9, [x9, #3]
orr w0, w10, w9, lsl #8
mov w9, #4 ; =0x4
b LBB0_13
LBB0_11: ; in Loop: Header=BB0_4 Depth=1
cmp w21, #32
b.hi LBB0_22
; %bb.12: ; in Loop: Header=BB0_4 Depth=1
ldrb w10, [x20, x10]
lsl w10, w10, #24
ldrb w11, [x9, #2]
orr w10, w10, w11, lsl #16
ldrb w11, [x9, #3]
orr w10, w10, w11, lsl #8
ldrb w9, [x9, #4]
orr w0, w10, w9
mov w9, #5 ; =0x5
LBB0_13: ; in Loop: Header=BB0_4 Depth=1
add x27, x8, w9, uxtw
neg w8, w21
lsl w23, w26, w8
bl _ntohl
mov x22, x0
mov x0, x23
bl _ntohl
orr w8, w0, w22
cmp w8, w22
b.eq LBB0_3
; %bb.14: ; in Loop: Header=BB0_4 Depth=1
sub w8, w25, w21
and w9, w0, w22
and w10, w8, #0xe000
add w8, w8, w10, lsr #13
and w8, w8, #0xfffffff8
asr w8, w9, w8
strb w8, [x24, x27]
b LBB0_3
LBB0_15:
add w8, w8, #5
LBB0_16:
cmp w8, w19
b.le LBB0_20
; %bb.17:
; kill: def $w8 killed $w8 killed $x8 def $x8
str x8, [sp]
Lloh2:
adrp x0, l_.str.2@PAGE
Lloh3:
add x0, x0, l_.str.2@PAGEOFF
LBB0_18:
mov x1, x19
LBB0_19:
bl _warning
mov w0, #0 ; =0x0
b LBB0_21
LBB0_20:
mov w0, #1 ; =0x1
LBB0_21:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
LBB0_22:
Lloh4:
adrp x0, l_.str.1@PAGE
Lloh5:
add x0, x0, l_.str.1@PAGEOFF
mov x1, x21
b LBB0_19
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Too small length: %d"
l_.str.1: ; @.str.1
.asciz "Incorrect subnet width: %d"
l_.str.2: ; @.str.2
.asciz "Incorrect data length: %d (must be %d)"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _tsDecompressDoubleImp ## -- Begin function tsDecompressDoubleImp
.p2align 4, 0x90
_tsDecompressDoubleImp: ## @tsDecompressDoubleImp
.cfi_startproc
## %bb.0:
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, %r15
movl %esi, %r14d
movq %rdi, %rsi
cmpb $1, (%rdi)
jne LBB0_2
## %bb.1:
decq %rsi
movq _DOUBLE_BYTES@GOTPCREL(%rip), %rbx
movl (%rbx), %edx
imull %r14d, %edx
movq %r15, %rdi
callq _memcpy
movl (%rbx), %eax
jmp LBB0_8
LBB0_2:
movq %rsi, -64(%rbp) ## 8-byte Spill
movl $1, -44(%rbp)
movq %r14, -56(%rbp) ## 8-byte Spill
testl %r14d, %r14d
js LBB0_7
## %bb.3:
movq -56(%rbp), %rax ## 8-byte Reload
incl %eax
movq %rax, -72(%rbp) ## 8-byte Spill
xorl %ebx, %ebx
## implicit-def: $r12
xorl %r13d, %r13d
xorl %r14d, %r14d
jmp LBB0_4
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_4 Depth=1
movl $4, %edi
callq _INT8MASK
orl %r13d, %eax
sarl $4, %r13d
movq -64(%rbp), %rdi ## 8-byte Reload
leaq -44(%rbp), %rsi
movl %eax, %edx
callq _decodeDoubleValue
xorl %eax, %r14d
movabsq $-4294967296, %rax ## imm = 0xFFFFFFFF00000000
andq %rax, %r12
orq %r14, %r12
movq %r12, (%r15,%rbx,8)
incq %rbx
cmpq %rbx, -72(%rbp) ## 8-byte Folded Reload
je LBB0_7
LBB0_4: ## =>This Inner Loop Header: Depth=1
testb $1, %bl
jne LBB0_6
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movslq -44(%rbp), %rax
leal 1(%rax), %ecx
movl %ecx, -44(%rbp)
movq -64(%rbp), %rcx ## 8-byte Reload
movsbl (%rcx,%rax), %r13d
jmp LBB0_6
LBB0_7:
movq _DOUBLE_BYTES@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq -56(%rbp), %r14 ## 8-byte Reload
LBB0_8:
imull %r14d, %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _DOUBLE_BYTES,4,2 ## @DOUBLE_BYTES
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _tsDecompressDoubleImp ; -- Begin function tsDecompressDoubleImp
.p2align 2
_tsDecompressDoubleImp: ; @tsDecompressDoubleImp
.cfi_startproc
; %bb.0:
sub sp, sp, #112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x20, x2
mov x19, x1
mov x21, x0
ldrb w8, [x0]
cmp w8, #1
b.ne LBB0_2
; %bb.1:
sub x1, x21, #1
Lloh0:
adrp x21, _DOUBLE_BYTES@GOTPAGE
Lloh1:
ldr x21, [x21, _DOUBLE_BYTES@GOTPAGEOFF]
ldr w8, [x21]
mul w2, w8, w19
mov x0, x20
bl _memcpy
ldr w8, [x21]
b LBB0_8
LBB0_2:
mov w8, #1 ; =0x1
str w8, [sp, #12]
tbnz w19, #31, LBB0_7
; %bb.3:
mov x23, #0 ; =0x0
mov w26, #0 ; =0x0
mov w22, #0 ; =0x0
add w24, w19, #1
; implicit-def: $x25
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
mov w0, #4 ; =0x4
bl _INT8MASK
asr w27, w26, #4
add x1, sp, #12
orr w2, w0, w26
mov x0, x21
bl _decodeDoubleValue
eor w22, w0, w22
and x8, x25, #0xffffffff00000000
orr x25, x8, x22
str x25, [x20, x23, lsl #3]
add x8, x23, #1
mov x23, x8
mov x26, x27
cmp x24, x8
b.eq LBB0_7
LBB0_5: ; =>This Inner Loop Header: Depth=1
tbnz w23, #0, LBB0_4
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
ldrsw x8, [sp, #12]
add w9, w8, #1
str w9, [sp, #12]
ldrsb w26, [x21, x8]
b LBB0_4
LBB0_7:
Lloh2:
adrp x8, _DOUBLE_BYTES@GOTPAGE
Lloh3:
ldr x8, [x8, _DOUBLE_BYTES@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
LBB0_8:
mul w0, w8, w19
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 _DOUBLE_BYTES,4,2 ; @DOUBLE_BYTES
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _radeon_sync_rings ## -- Begin function radeon_sync_rings
.p2align 4, 0x90
_radeon_sync_rings: ## @radeon_sync_rings
.cfi_startproc
## %bb.0:
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, -64(%rbp) ## 8-byte Spill
movq _RADEON_NUM_RINGS@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jle LBB0_15
## %bb.1:
movq %rdi, %r14
xorl %ebx, %ebx
xorl %r13d, %r13d
movl $0, -44(%rbp) ## 4-byte Folded Spill
movl %edx, -48(%rbp) ## 4-byte Spill
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq -64(%rbp), %rax ## 8-byte Reload
movq 8(%rax), %rax
movq (%rax,%rbx,2), %r12
movq %r12, %rdi
movl %edx, %esi
callq _radeon_fence_need_sync
testl %eax, %eax
je LBB0_15
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq (%r14), %rax
cmpl $0, (%rax,%rbx)
je LBB0_17
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movq _RADEON_NUM_SYNCS@GOTPCREL(%rip), %rax
movl -44(%rbp), %ecx ## 4-byte Reload
cmpl (%rax), %ecx
jae LBB0_13
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
movq %r14, %rdi
leaq -56(%rbp), %rsi
callq _radeon_semaphore_create
testl %eax, %eax
jne LBB0_16
## %bb.6: ## in Loop: Header=BB0_2 Depth=1
movq -56(%rbp), %rax
movq -64(%rbp), %rcx ## 8-byte Reload
movq (%rcx), %rcx
movq %r14, %r15
movl -44(%rbp), %r14d ## 4-byte Reload
movl %r14d, %edx
movq %rax, (%rcx,%rdx,8)
movq (%r15), %rsi
addq %rbx, %rsi
movq %r15, %rdi
movl $16, %edx
callq _radeon_ring_alloc
testl %eax, %eax
jne LBB0_16
## %bb.7: ## in Loop: Header=BB0_2 Depth=1
incl %r14d
movl %r14d, -44(%rbp) ## 4-byte Spill
movq -56(%rbp), %rdx
movq %r15, %rdi
movl %r13d, %esi
callq _radeon_semaphore_emit_signal
testl %eax, %eax
movq %r15, %r14
je LBB0_10
## %bb.8: ## in Loop: Header=BB0_2 Depth=1
movq -56(%rbp), %rdx
movq %r14, %rdi
movl -48(%rbp), %r15d ## 4-byte Reload
movl %r15d, %esi
callq _radeon_semaphore_emit_wait
movq (%r14), %rsi
addq %rbx, %rsi
testl %eax, %eax
je LBB0_11
## %bb.9: ## in Loop: Header=BB0_2 Depth=1
movq %r14, %rdi
xorl %edx, %edx
callq _radeon_ring_commit
movq %r12, %rdi
movl %r15d, %esi
callq _radeon_fence_note_sync
jmp LBB0_14
LBB0_10: ## in Loop: Header=BB0_2 Depth=1
movq (%r14), %rdi
addq %rbx, %rdi
jmp LBB0_12
LBB0_11: ## in Loop: Header=BB0_2 Depth=1
movq %rsi, %rdi
LBB0_12: ## in Loop: Header=BB0_2 Depth=1
callq _radeon_ring_undo
LBB0_13: ## in Loop: Header=BB0_2 Depth=1
movq %r12, %rdi
xorl %esi, %esi
callq _radeon_fence_wait
testl %eax, %eax
jne LBB0_16
LBB0_14: ## in Loop: Header=BB0_2 Depth=1
incq %r13
movq _RADEON_NUM_RINGS@GOTPCREL(%rip), %rax
movslq (%rax), %rax
addq $4, %rbx
cmpq %rax, %r13
movl -48(%rbp), %edx ## 4-byte Reload
jl LBB0_2
LBB0_15:
xorl %eax, %eax
LBB0_16:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_17:
movl 8(%r14), %edi
leaq L_.str(%rip), %rsi
callq _dev_err
movq _EINVAL@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
jmp LBB0_16
.cfi_endproc
## -- End function
.comm _RADEON_NUM_RINGS,4,2 ## @RADEON_NUM_RINGS
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Syncing to a disabled ring!"
.comm _EINVAL,4,2 ## @EINVAL
.comm _RADEON_NUM_SYNCS,4,2 ## @RADEON_NUM_SYNCS
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _radeon_sync_rings ; -- Begin function radeon_sync_rings
.p2align 2
_radeon_sync_rings: ; @radeon_sync_rings
.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
Lloh0:
adrp x24, _RADEON_NUM_RINGS@GOTPAGE
Lloh1:
ldr x24, [x24, _RADEON_NUM_RINGS@GOTPAGEOFF]
ldr w8, [x24]
cmp w8, #1
b.lt LBB0_14
; %bb.1:
mov x19, x2
mov x21, x1
mov x20, x0
mov x25, #0 ; =0x0
mov x22, #0 ; =0x0
mov x26, #0 ; =0x0
Lloh2:
adrp x27, _RADEON_NUM_SYNCS@GOTPAGE
Lloh3:
ldr x27, [x27, _RADEON_NUM_SYNCS@GOTPAGEOFF]
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x8, [x21, #8]
ldr x23, [x8, x22, lsl #3]
mov x0, x23
mov x1, x19
bl _radeon_fence_need_sync
cbz w0, LBB0_16
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
ldr x8, [x20]
ldr w8, [x8, x25]
cbz w8, LBB0_15
; %bb.4: ; in Loop: Header=BB0_2 Depth=1
ldr w8, [x27]
cmp x26, x8
b.hs LBB0_12
; %bb.5: ; in Loop: Header=BB0_2 Depth=1
add x1, sp, #8
mov x0, x20
bl _radeon_semaphore_create
cbnz w0, LBB0_16
; %bb.6: ; in Loop: Header=BB0_2 Depth=1
ldr x8, [sp, #8]
ldr x9, [x21]
str x8, [x9, x26, lsl #3]
ldr x8, [x20]
add x1, x8, x25
mov x0, x20
mov w2, #16 ; =0x10
bl _radeon_ring_alloc
cbnz w0, LBB0_16
; %bb.7: ; in Loop: Header=BB0_2 Depth=1
add x26, x26, #1
ldr x2, [sp, #8]
mov x0, x20
mov x1, x22
bl _radeon_semaphore_emit_signal
cbz w0, LBB0_10
; %bb.8: ; in Loop: Header=BB0_2 Depth=1
ldr x2, [sp, #8]
mov x0, x20
mov x1, x19
bl _radeon_semaphore_emit_wait
ldr x8, [x20]
cbz w0, LBB0_11
; %bb.9: ; in Loop: Header=BB0_2 Depth=1
add x1, x8, x25
mov x0, x20
mov w2, #0 ; =0x0
bl _radeon_ring_commit
mov x0, x23
mov x1, x19
bl _radeon_fence_note_sync
b LBB0_13
LBB0_10: ; in Loop: Header=BB0_2 Depth=1
ldr x8, [x20]
LBB0_11: ; in Loop: Header=BB0_2 Depth=1
add x0, x8, x25
bl _radeon_ring_undo
LBB0_12: ; in Loop: Header=BB0_2 Depth=1
mov x0, x23
mov w1, #0 ; =0x0
bl _radeon_fence_wait
cbnz w0, LBB0_16
LBB0_13: ; in Loop: Header=BB0_2 Depth=1
add x22, x22, #1
ldrsw x8, [x24]
add x25, x25, #4
cmp x22, x8
b.lt LBB0_2
LBB0_14:
mov w0, #0 ; =0x0
b LBB0_16
LBB0_15:
ldr w0, [x20, #8]
Lloh4:
adrp x1, l_.str@PAGE
Lloh5:
add x1, x1, l_.str@PAGEOFF
bl _dev_err
Lloh6:
adrp x8, _EINVAL@GOTPAGE
Lloh7:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
neg w0, w8
LBB0_16:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _RADEON_NUM_RINGS,4,2 ; @RADEON_NUM_RINGS
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Syncing to a disabled ring!"
.comm _EINVAL,4,2 ; @EINVAL
.comm _RADEON_NUM_SYNCS,4,2 ; @RADEON_NUM_SYNCS
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function i40e_get_regs
_i40e_get_regs: ## @i40e_get_regs
.cfi_startproc
## %bb.0:
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 %rsi, %r15
callq _netdev_priv
movq (%rax), %rax
movq (%rax), %r13
movl $1, (%r15)
movq _i40e_reg_list@GOTPCREL(%rip), %r12
movq (%r12), %rax
cmpq $0, (%rax)
je LBB0_7
## %bb.1:
xorl %ecx, %ecx
xorl %esi, %esi
xorl %r14d, %r14d
jmp LBB0_2
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_2 Depth=1
decl %esi
movq %rsi, %rcx
shlq $4, %rcx
cmpq $0, (%rax,%rcx)
movq %rsi, %rcx
je LBB0_7
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_4 Depth 2
shlq $4, %rcx
movq %rcx, -48(%rbp) ## 8-byte Spill
cmpl $0, 8(%rax,%rcx)
je LBB0_6
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq %rsi, -56(%rbp) ## 8-byte Spill
addq -48(%rbp), %rax ## 8-byte Folded Reload
xorl %r15d, %r15d
movq %rax, %rcx
.p2align 4, 0x90
LBB0_4: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
leal (%r14,%r15), %eax
movq %rax, -64(%rbp) ## 8-byte Spill
movl 12(%rcx), %esi
imull %r15d, %esi
addq (%rcx), %rsi
movq %r13, %rdi
callq _rd32
movq -64(%rbp), %rcx ## 8-byte Reload
movq %rax, (%rbx,%rcx,8)
incl %r15d
movq (%r12), %rax
movq -48(%rbp), %rsi ## 8-byte Reload
leaq (%rax,%rsi), %rcx
cmpl 8(%rax,%rsi), %r15d
jb LBB0_4
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
addl %r15d, %r14d
movq -56(%rbp), %rsi ## 8-byte Reload
jmp LBB0_6
LBB0_7:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _i40e_reg_list,8,3 ## @i40e_reg_list
.no_dead_strip _i40e_get_regs
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function i40e_get_regs
_i40e_get_regs: ; @i40e_get_regs
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x2
mov x21, x1
bl _netdev_priv
ldr x8, [x0]
ldr x20, [x8]
mov w8, #1 ; =0x1
str w8, [x21]
Lloh0:
adrp x21, _i40e_reg_list@GOTPAGE
Lloh1:
ldr x21, [x21, _i40e_reg_list@GOTPAGEOFF]
ldr x8, [x21]
ldr x9, [x8]
cbz x9, LBB0_6
; %bb.1:
mov x23, #0 ; =0x0
mov w22, #0 ; =0x0
mov w9, #0 ; =0x0
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
sub w23, w22, #1
ubfiz x10, x23, #4, #32
ldr x10, [x8, x10]
mov x22, x23
cbz x10, LBB0_6
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_5 Depth 2
add x10, x8, x23, lsl #4
ldr w11, [x10, #8]
cbz w11, LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov w24, #0 ; =0x0
LBB0_5: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
mov x25, x9
ldr x8, [x10]
ldr w9, [x10, #12]
mul w9, w9, w24
add x1, x8, x9
mov x0, x20
bl _rd32
str x0, [x19, w25, uxtw #3]
add w9, w25, #1
add w24, w24, #1
ldr x8, [x21]
add x10, x8, x23, lsl #4
ldr w11, [x10, #8]
cmp w24, w11
b.lo LBB0_5
b LBB0_2
LBB0_6:
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
.cfi_endproc
; -- End function
.comm _i40e_reg_list,8,3 ; @i40e_reg_list
.no_dead_strip _i40e_get_regs
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function xlr_i2c_tx
_xlr_i2c_tx: ## @xlr_i2c_tx
.cfi_startproc
## %bb.0:
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, %r15d
movq %rdx, %r12
movl %esi, %r13d
movq %rdi, %r14
movl (%rdx), %edx
movl 16(%rdi), %edi
movq _XLR_I2C_ADDR@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _xlr_i2c_wreg
movl 16(%r14), %edi
movq _XLR_I2C_DEVADDR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl %r15d, %edx
callq _xlr_i2c_wreg
movl 16(%r14), %edi
movq _XLR_I2C_CFG@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _XLR_I2C_CFG_ADDR@GOTPCREL(%rip), %rax
movq 24(%r14), %rcx
movl (%rcx), %edx
orl (%rax), %edx
callq _xlr_i2c_wreg
movq _XLR_I2C_TIMEOUT@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _msecs_to_jiffies
movq _jiffies@GOTPCREL(%rip), %r15
movq (%r15), %rbx
movq %rax, -80(%rbp) ## 8-byte Spill
addq %rax, %rbx
movl 16(%r14), %edi
movq _XLR_I2C_BYTECNT@GOTPCREL(%rip), %rax
movl (%rax), %esi
cmpl $1, %r13d
movq %r13, -56(%rbp) ## 8-byte Spill
movq %r12, -88(%rbp) ## 8-byte Spill
jne LBB0_2
## %bb.1:
xorl %edx, %edx
callq _xlr_i2c_wreg
movq _XLR_I2C_STARTXFR_ND@GOTPCREL(%rip), %rax
movl $1, %ecx
jmp LBB0_3
LBB0_2:
leal -2(%r13), %edx
callq _xlr_i2c_wreg
movl 16(%r14), %edi
movq _XLR_I2C_DATAOUT@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl 4(%r12), %edx
callq _xlr_i2c_wreg
movq _XLR_I2C_STARTXFR_WR@GOTPCREL(%rip), %rax
movl $2, %ecx
LBB0_3:
movl (%rax), %edx
movl %ecx, -44(%rbp) ## 4-byte Spill
movl %ecx, (%r14)
movl 16(%r14), %edi
movq _XLR_I2C_STARTXFR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl %edx, -60(%rbp) ## 4-byte Spill
callq _xlr_i2c_wreg
cmpq $0, 8(%r14)
jle LBB0_4
LBB0_18:
movq -56(%rbp), %rsi ## 8-byte Reload
movq _XLR_I2C_TIMEOUT@GOTPCREL(%rip), %rax
imull (%rax), %esi
movq %r14, %rdi
## kill: def $esi killed $esi killed $rsi
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _xlr_i2c_wait ## TAILCALL
LBB0_4:
leaq 32(%r14), %rax
movq %rax, -72(%rbp) ## 8-byte Spill
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
movq (%r15), %r13
movl 16(%r14), %edi
movq _XLR_I2C_STATUS@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _xlr_i2c_rdreg
movl %eax, %r12d
movq _XLR_I2C_SDOEMPTY@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %r12d, %eax
setne %al
movl -44(%rbp), %edx ## 4-byte Reload
cmpl -56(%rbp), %edx ## 4-byte Folded Reload
setl %cl
andb %al, %cl
cmpb $1, %cl
jne LBB0_8
## %bb.7: ## in Loop: Header=BB0_6 Depth=1
movl 16(%r14), %edi
movq _XLR_I2C_DATAOUT@GOTPCREL(%rip), %rax
movl (%rax), %esi
movslq %edx, %rax
incl %edx
movl %edx, -44(%rbp) ## 4-byte Spill
movq -88(%rbp), %rcx ## 8-byte Reload
movl (%rcx,%rax,4), %edx
callq _xlr_i2c_wreg
movq (%r15), %rbx
addq -80(%rbp), %rbx ## 8-byte Folded Reload
LBB0_8: ## in Loop: Header=BB0_6 Depth=1
movq %r13, %rdi
movq %rbx, %rsi
callq _time_after
movq _XLR_I2C_ARB_STARTERR@GOTPCREL(%rip), %rcx
testl %r12d, (%rcx)
je LBB0_10
## %bb.9: ## in Loop: Header=BB0_6 Depth=1
testl %eax, %eax
movq _jiffies@GOTPCREL(%rip), %r15
jne LBB0_15
## %bb.5: ## in Loop: Header=BB0_6 Depth=1
movl 16(%r14), %edi
movq _XLR_I2C_STARTXFR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl -60(%rbp), %edx ## 4-byte Reload
callq _xlr_i2c_wreg
cmpq $0, 8(%r14)
jle LBB0_6
jmp LBB0_18
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_6 Depth=1
movq _XLR_I2C_ACK_ERR@GOTPCREL(%rip), %rcx
testl %r12d, (%rcx)
jne LBB0_11
## %bb.12: ## in Loop: Header=BB0_6 Depth=1
movl %eax, %r15d
movq %r14, %rdi
movl %r12d, %esi
callq _xlr_i2c_busy
testl %eax, %eax
setne %al
movl -44(%rbp), %ecx ## 4-byte Reload
cmpl -56(%rbp), %ecx ## 4-byte Folded Reload
setl %cl
orb %al, %cl
je LBB0_13
## %bb.14: ## in Loop: Header=BB0_6 Depth=1
testl %r15d, %r15d
movq _jiffies@GOTPCREL(%rip), %r15
je LBB0_6
LBB0_15:
leaq L_.str(%rip), %rsi
movq -72(%rbp), %rdi ## 8-byte Reload
callq _dev_err
movq _ETIMEDOUT@GOTPCREL(%rip), %rcx
jmp LBB0_16
LBB0_11:
movq _EIO@GOTPCREL(%rip), %rcx
LBB0_16:
xorl %eax, %eax
subl (%rcx), %eax
jmp LBB0_17
LBB0_13:
xorl %eax, %eax
LBB0_17:
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _XLR_I2C_ADDR,4,2 ## @XLR_I2C_ADDR
.comm _XLR_I2C_DEVADDR,4,2 ## @XLR_I2C_DEVADDR
.comm _XLR_I2C_CFG,4,2 ## @XLR_I2C_CFG
.comm _XLR_I2C_CFG_ADDR,4,2 ## @XLR_I2C_CFG_ADDR
.comm _XLR_I2C_TIMEOUT,4,2 ## @XLR_I2C_TIMEOUT
.comm _jiffies,8,3 ## @jiffies
.comm _XLR_I2C_BYTECNT,4,2 ## @XLR_I2C_BYTECNT
.comm _XLR_I2C_STARTXFR_ND,4,2 ## @XLR_I2C_STARTXFR_ND
.comm _XLR_I2C_DATAOUT,4,2 ## @XLR_I2C_DATAOUT
.comm _XLR_I2C_STARTXFR_WR,4,2 ## @XLR_I2C_STARTXFR_WR
.comm _XLR_I2C_STARTXFR,4,2 ## @XLR_I2C_STARTXFR
.comm _XLR_I2C_STATUS,4,2 ## @XLR_I2C_STATUS
.comm _XLR_I2C_SDOEMPTY,4,2 ## @XLR_I2C_SDOEMPTY
.comm _XLR_I2C_ARB_STARTERR,4,2 ## @XLR_I2C_ARB_STARTERR
.comm _XLR_I2C_ACK_ERR,4,2 ## @XLR_I2C_ACK_ERR
.comm _EIO,4,2 ## @EIO
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "I2C transmit timeout\n"
.comm _ETIMEDOUT,4,2 ## @ETIMEDOUT
.no_dead_strip _xlr_i2c_tx
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function xlr_i2c_tx
_xlr_i2c_tx: ; @xlr_i2c_tx
.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 x22, x3
mov x21, x2
mov x20, x1
mov x19, x0
ldr w2, [x2]
ldr w0, [x0, #16]
Lloh0:
adrp x8, _XLR_I2C_ADDR@GOTPAGE
Lloh1:
ldr x8, [x8, _XLR_I2C_ADDR@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _xlr_i2c_wreg
ldr w0, [x19, #16]
Lloh3:
adrp x8, _XLR_I2C_DEVADDR@GOTPAGE
Lloh4:
ldr x8, [x8, _XLR_I2C_DEVADDR@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
mov x2, x22
bl _xlr_i2c_wreg
ldr w0, [x19, #16]
Lloh6:
adrp x8, _XLR_I2C_CFG@GOTPAGE
Lloh7:
ldr x8, [x8, _XLR_I2C_CFG@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
Lloh9:
adrp x8, _XLR_I2C_CFG_ADDR@GOTPAGE
Lloh10:
ldr x8, [x8, _XLR_I2C_CFG_ADDR@GOTPAGEOFF]
Lloh11:
ldr w8, [x8]
ldr x9, [x19, #24]
ldr w9, [x9]
orr w2, w9, w8
bl _xlr_i2c_wreg
Lloh12:
adrp x8, _XLR_I2C_TIMEOUT@GOTPAGE
Lloh13:
ldr x8, [x8, _XLR_I2C_TIMEOUT@GOTPAGEOFF]
Lloh14:
ldr w0, [x8]
bl _msecs_to_jiffies
str x0, [sp, #16] ; 8-byte Folded Spill
Lloh15:
adrp x28, _jiffies@GOTPAGE
Lloh16:
ldr x28, [x28, _jiffies@GOTPAGEOFF]
ldr x22, [x28]
ldr w0, [x19, #16]
Lloh17:
adrp x8, _XLR_I2C_BYTECNT@GOTPAGE
Lloh18:
ldr x8, [x8, _XLR_I2C_BYTECNT@GOTPAGEOFF]
Lloh19:
ldr w1, [x8]
cmp w20, #1
str x21, [sp, #8] ; 8-byte Folded Spill
b.ne LBB0_2
; %bb.1:
mov w2, #0 ; =0x0
bl _xlr_i2c_wreg
Lloh20:
adrp x8, _XLR_I2C_STARTXFR_ND@GOTPAGE
Lloh21:
ldr x8, [x8, _XLR_I2C_STARTXFR_ND@GOTPAGEOFF]
mov w21, #1 ; =0x1
b LBB0_3
LBB0_2:
sub w2, w20, #2
bl _xlr_i2c_wreg
ldr w0, [x19, #16]
Lloh22:
adrp x8, _XLR_I2C_DATAOUT@GOTPAGE
Lloh23:
ldr x8, [x8, _XLR_I2C_DATAOUT@GOTPAGEOFF]
Lloh24:
ldr w1, [x8]
ldr w2, [x21, #4]
bl _xlr_i2c_wreg
Lloh25:
adrp x8, _XLR_I2C_STARTXFR_WR@GOTPAGE
Lloh26:
ldr x8, [x8, _XLR_I2C_STARTXFR_WR@GOTPAGEOFF]
mov w21, #2 ; =0x2
LBB0_3:
ldr w2, [x8]
str w21, [x19]
ldr w0, [x19, #16]
Lloh27:
adrp x8, _XLR_I2C_STARTXFR@GOTPAGE
Lloh28:
ldr x8, [x8, _XLR_I2C_STARTXFR@GOTPAGEOFF]
Lloh29:
ldr w1, [x8]
str w2, [sp, #28] ; 4-byte Folded Spill
bl _xlr_i2c_wreg
ldr x8, [x19, #8]
cmp x8, #0
b.le LBB0_5
LBB0_4:
Lloh30:
adrp x8, _XLR_I2C_TIMEOUT@GOTPAGE
Lloh31:
ldr x8, [x8, _XLR_I2C_TIMEOUT@GOTPAGEOFF]
Lloh32:
ldr w8, [x8]
mul w1, w8, w20
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
b _xlr_i2c_wait
LBB0_5:
ldr x8, [sp, #16] ; 8-byte Folded Reload
add x24, x22, x8
Lloh33:
adrp x27, _XLR_I2C_STATUS@GOTPAGE
Lloh34:
ldr x27, [x27, _XLR_I2C_STATUS@GOTPAGEOFF]
Lloh35:
adrp x22, _XLR_I2C_SDOEMPTY@GOTPAGE
Lloh36:
ldr x22, [x22, _XLR_I2C_SDOEMPTY@GOTPAGEOFF]
Lloh37:
adrp x23, _XLR_I2C_ARB_STARTERR@GOTPAGE
Lloh38:
ldr x23, [x23, _XLR_I2C_ARB_STARTERR@GOTPAGEOFF]
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldr x26, [x28]
ldr w0, [x19, #16]
ldr w1, [x27]
bl _xlr_i2c_rdreg
mov x25, x0
ldr w8, [x22]
orr w8, w8, w0
cmp w8, #0
ccmp w21, w20, #0, ne
b.ge LBB0_8
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
ldr w0, [x19, #16]
Lloh39:
adrp x8, _XLR_I2C_DATAOUT@GOTPAGE
Lloh40:
ldr x8, [x8, _XLR_I2C_DATAOUT@GOTPAGEOFF]
Lloh41:
ldr w1, [x8]
mov x24, x22
mov x22, x27
add w27, w21, #1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr w2, [x8, w21, sxtw #2]
bl _xlr_i2c_wreg
ldr x8, [x28]
ldr x9, [sp, #16] ; 8-byte Folded Reload
add x8, x8, x9
mov x21, x27
mov x27, x22
mov x22, x24
mov x24, x8
LBB0_8: ; in Loop: Header=BB0_6 Depth=1
mov x0, x26
mov x1, x24
bl _time_after
ldr w8, [x23]
tst w8, w25
b.eq LBB0_11
; %bb.9: ; in Loop: Header=BB0_6 Depth=1
cbnz w0, LBB0_14
; %bb.10: ; in Loop: Header=BB0_6 Depth=1
ldr w0, [x19, #16]
Lloh42:
adrp x8, _XLR_I2C_STARTXFR@GOTPAGE
Lloh43:
ldr x8, [x8, _XLR_I2C_STARTXFR@GOTPAGEOFF]
Lloh44:
ldr w1, [x8]
ldr w2, [sp, #28] ; 4-byte Folded Reload
bl _xlr_i2c_wreg
ldr x8, [x19, #8]
cmp x8, #1
b.lt LBB0_6
b LBB0_4
LBB0_11: ; in Loop: Header=BB0_6 Depth=1
Lloh45:
adrp x8, _XLR_I2C_ACK_ERR@GOTPAGE
Lloh46:
ldr x8, [x8, _XLR_I2C_ACK_ERR@GOTPAGEOFF]
Lloh47:
ldr w8, [x8]
tst w8, w25
b.ne LBB0_15
; %bb.12: ; in Loop: Header=BB0_6 Depth=1
mov x26, x0
mov x0, x19
mov x1, x25
bl _xlr_i2c_busy
cmp w0, #0
ccmp w21, w20, #8, eq
b.ge LBB0_17
; %bb.13: ; in Loop: Header=BB0_6 Depth=1
cbz w26, LBB0_6
LBB0_14:
Lloh48:
adrp x1, l_.str@PAGE
Lloh49:
add x1, x1, l_.str@PAGEOFF
add x0, x19, #32
bl _dev_err
Lloh50:
adrp x8, _ETIMEDOUT@GOTPAGE
Lloh51:
ldr x8, [x8, _ETIMEDOUT@GOTPAGEOFF]
b LBB0_16
LBB0_15:
Lloh52:
adrp x8, _EIO@GOTPAGE
Lloh53:
ldr x8, [x8, _EIO@GOTPAGEOFF]
LBB0_16:
ldr w8, [x8]
neg w0, w8
b LBB0_18
LBB0_17:
mov w0, #0 ; =0x0
LBB0_18:
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 Lloh17, Lloh18, Lloh19
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh20, Lloh21
.loh AdrpLdrGot Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpLdrGot Lloh37, Lloh38
.loh AdrpLdrGot Lloh35, Lloh36
.loh AdrpLdrGot Lloh33, Lloh34
.loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41
.loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44
.loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47
.loh AdrpLdrGot Lloh50, Lloh51
.loh AdrpAdd Lloh48, Lloh49
.loh AdrpLdrGot Lloh52, Lloh53
.cfi_endproc
; -- End function
.comm _XLR_I2C_ADDR,4,2 ; @XLR_I2C_ADDR
.comm _XLR_I2C_DEVADDR,4,2 ; @XLR_I2C_DEVADDR
.comm _XLR_I2C_CFG,4,2 ; @XLR_I2C_CFG
.comm _XLR_I2C_CFG_ADDR,4,2 ; @XLR_I2C_CFG_ADDR
.comm _XLR_I2C_TIMEOUT,4,2 ; @XLR_I2C_TIMEOUT
.comm _jiffies,8,3 ; @jiffies
.comm _XLR_I2C_BYTECNT,4,2 ; @XLR_I2C_BYTECNT
.comm _XLR_I2C_STARTXFR_ND,4,2 ; @XLR_I2C_STARTXFR_ND
.comm _XLR_I2C_DATAOUT,4,2 ; @XLR_I2C_DATAOUT
.comm _XLR_I2C_STARTXFR_WR,4,2 ; @XLR_I2C_STARTXFR_WR
.comm _XLR_I2C_STARTXFR,4,2 ; @XLR_I2C_STARTXFR
.comm _XLR_I2C_STATUS,4,2 ; @XLR_I2C_STATUS
.comm _XLR_I2C_SDOEMPTY,4,2 ; @XLR_I2C_SDOEMPTY
.comm _XLR_I2C_ARB_STARTERR,4,2 ; @XLR_I2C_ARB_STARTERR
.comm _XLR_I2C_ACK_ERR,4,2 ; @XLR_I2C_ACK_ERR
.comm _EIO,4,2 ; @EIO
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "I2C transmit timeout\n"
.comm _ETIMEDOUT,4,2 ; @ETIMEDOUT
.no_dead_strip _xlr_i2c_tx
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _rtstrmactohex ## -- Begin function rtstrmactohex
.p2align 4, 0x90
_rtstrmactohex: ## @rtstrmactohex
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r14
callq _strlen
movq _ETH_MAC_ADDR_STR_LEN@GOTPCREL(%rip), %rcx
movq _FALSE@GOTPCREL(%rip), %r15
cmpl (%rcx), %eax
jne LBB0_12
## %bb.1:
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
cmpb $0, (%r14)
je LBB0_10
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq %r14, %rdi
movl $58, %esi
callq _strchr
testq %rax, %rax
je LBB0_4
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
movq %rax, %r13
decq %r13
movb $0, (%rax)
jmp LBB0_6
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
xorl %r13d, %r13d
LBB0_6: ## in Loop: Header=BB0_2 Depth=1
movq %r14, %rdi
callq _strlen
cmpl $2, %eax
jne LBB0_2
## %bb.7: ## in Loop: Header=BB0_2 Depth=1
movsbl (%r14), %edi
callq _isxdigit
testl %eax, %eax
je LBB0_2
## %bb.8: ## in Loop: Header=BB0_2 Depth=1
movsbl 1(%r14), %edi
callq _isxdigit
testl %eax, %eax
je LBB0_2
## %bb.9: ## in Loop: Header=BB0_2 Depth=1
leaq (%rbx,%r12), %rsi
incq %r12
movq %r14, %rdi
movl $1, %edx
callq _AtoH
movq %r13, %r14
cmpq $6, %r12
jne LBB0_2
jmp LBB0_11
LBB0_10:
cmpl $6, %r12d
jne LBB0_12
LBB0_11:
movq _TRUE@GOTPCREL(%rip), %r15
LBB0_12:
movl (%r15), %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ETH_MAC_ADDR_STR_LEN,4,2 ## @ETH_MAC_ADDR_STR_LEN
.comm _FALSE,4,2 ## @FALSE
.comm _TRUE,4,2 ## @TRUE
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _rtstrmactohex ; -- Begin function rtstrmactohex
.p2align 2
_rtstrmactohex: ; @rtstrmactohex
.cfi_startproc
; %bb.0:
stp 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 _strlen
Lloh0:
adrp x8, _ETH_MAC_ADDR_STR_LEN@GOTPAGE
Lloh1:
ldr x8, [x8, _ETH_MAC_ADDR_STR_LEN@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cmp w0, w8
b.ne LBB0_11
; %bb.1:
mov x22, #0 ; =0x0
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldrb w8, [x20]
cbz w8, LBB0_9
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
mov x0, x20
mov w1, #58 ; =0x3a
bl _strchr
mov x21, x0
cbz x0, LBB0_5
; %bb.4: ; in Loop: Header=BB0_2 Depth=1
strb wzr, [x21], #-1
LBB0_5: ; in Loop: Header=BB0_2 Depth=1
mov x0, x20
bl _strlen
cmp w0, #2
b.ne LBB0_2
; %bb.6: ; in Loop: Header=BB0_2 Depth=1
ldrsb w0, [x20]
bl _isxdigit
cbz w0, LBB0_2
; %bb.7: ; in Loop: Header=BB0_2 Depth=1
ldrsb w0, [x20, #1]
bl _isxdigit
cbz w0, LBB0_2
; %bb.8: ; in Loop: Header=BB0_2 Depth=1
add x23, x22, #1
add x1, x19, x22
mov x0, x20
mov w2, #1 ; =0x1
bl _AtoH
mov x22, x23
mov x20, x21
cmp x23, #6
b.ne LBB0_2
b LBB0_10
LBB0_9:
cmp w22, #6
b.ne LBB0_11
LBB0_10:
Lloh3:
adrp x8, _TRUE@GOTPAGE
Lloh4:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
b LBB0_12
LBB0_11:
Lloh5:
adrp x8, _FALSE@GOTPAGE
Lloh6:
ldr x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_12:
ldr w0, [x8]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGot Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _ETH_MAC_ADDR_STR_LEN,4,2 ; @ETH_MAC_ADDR_STR_LEN
.comm _FALSE,4,2 ; @FALSE
.comm _TRUE,4,2 ; @TRUE
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function xmlescape
_xmlescape: ## @xmlescape
.cfi_startproc
## %bb.0:
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 _strlen
## kill: def $eax killed $eax def $rax
leal (%rax,%rax,2), %eax
movl %eax, %r13d
shrl $31, %r13d
addl %eax, %r13d
sarl %r13d
leal 7(%r13), %esi
xorl %r15d, %r15d
xorl %edi, %edi
callq _av_realloc
testq %rax, %rax
je LBB0_20
## %bb.1:
movq %rax, %r14
movzbl (%rbx), %ecx
xorl %r15d, %r15d
testb %cl, %cl
je LBB0_19
## %bb.2:
addl $6, %r13d
jmp LBB0_3
LBB0_16: ## in Loop: Header=BB0_3 Depth=1
movslq %r15d, %rax
incl %r15d
movb %cl, (%r14,%rax)
.p2align 4, 0x90
LBB0_17: ## in Loop: Header=BB0_3 Depth=1
movzbl -1(%rbx), %ecx
decq %rbx
testb %cl, %cl
je LBB0_18
LBB0_3: ## =>This Inner Loop Header: Depth=1
leal 6(%r15), %r12d
cmpl %r13d, %r12d
jle LBB0_7
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
leal 7(,%r13,2), %esi
movq %r14, %rdi
callq _av_realloc
testq %rax, %rax
je LBB0_5
## %bb.6: ## in Loop: Header=BB0_3 Depth=1
addl %r13d, %r13d
addl $6, %r13d
movzbl (%rbx), %ecx
movq %rax, %r14
LBB0_7: ## in Loop: Header=BB0_3 Depth=1
movzbl %cl, %eax
addl $-34, %eax
cmpl $28, %eax
ja LBB0_16
## %bb.8: ## in Loop: Header=BB0_3 Depth=1
leaq LJTI0_0(%rip), %rdx
movslq (%rdx,%rax,4), %rax
addq %rdx, %rax
jmpq *%rax
LBB0_15: ## in Loop: Header=BB0_3 Depth=1
movslq %r15d, %rdi
addq %r14, %rdi
leaq L_.str.4(%rip), %rsi
jmp LBB0_14
LBB0_13: ## in Loop: Header=BB0_3 Depth=1
movslq %r15d, %rdi
addq %r14, %rdi
leaq L_.str.3(%rip), %rsi
LBB0_14: ## in Loop: Header=BB0_3 Depth=1
movl $6, %edx
callq _memcpy
movl %r12d, %r15d
jmp LBB0_17
LBB0_9: ## in Loop: Header=BB0_3 Depth=1
movslq %r15d, %rdi
addq %r14, %rdi
leaq L_.str(%rip), %rsi
movl $5, %edx
callq _memcpy
addl $5, %r15d
jmp LBB0_17
LBB0_10: ## in Loop: Header=BB0_3 Depth=1
movslq %r15d, %rdi
addq %r14, %rdi
leaq L_.str.1(%rip), %rsi
jmp LBB0_11
LBB0_12: ## in Loop: Header=BB0_3 Depth=1
movslq %r15d, %rdi
addq %r14, %rdi
leaq L_.str.2(%rip), %rsi
LBB0_11: ## in Loop: Header=BB0_3 Depth=1
movl $4, %edx
callq _memcpy
addl $4, %r15d
jmp LBB0_17
LBB0_18:
movslq %r15d, %r15
LBB0_19:
movb $0, (%r14,%r15)
movq %r14, %r15
jmp LBB0_20
LBB0_5:
movq %r14, %rdi
callq _av_free
xorl %r15d, %r15d
LBB0_20:
movq %r15, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
.long L0_0_set_15
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_9
.long L0_0_set_13
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_10
.long L0_0_set_16
.long L0_0_set_12
.end_data_region
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "&"
L_.str.1: ## @.str.1
.asciz "<"
L_.str.2: ## @.str.2
.asciz ">"
L_.str.3: ## @.str.3
.asciz "'"
L_.str.4: ## @.str.4
.asciz """
.no_dead_strip _xmlescape
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function xmlescape
_xmlescape: ; @xmlescape
.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, x0
bl _strlen
add w8, w0, w0, lsl #1
add w8, w8, w8, lsr #31
asr w21, w8, #1
add w1, w21, #7
mov x0, #0 ; =0x0
bl _av_realloc
mov x19, x0
cbz x0, LBB0_25
; %bb.1:
ldrb w8, [x20]
cbz w8, LBB0_22
; %bb.2:
mov w26, #0 ; =0x0
add w27, w21, #6
Lloh0:
adrp x21, l_.str.4@PAGE
Lloh1:
add x21, x21, l_.str.4@PAGEOFF
Lloh2:
adrp x22, l_.str@PAGE
Lloh3:
add x22, x22, l_.str@PAGEOFF
Lloh4:
adrp x23, l_.str.3@PAGE
Lloh5:
add x23, x23, l_.str.3@PAGEOFF
Lloh6:
adrp x24, l_.str.1@PAGE
Lloh7:
add x24, x24, l_.str.1@PAGEOFF
Lloh8:
adrp x25, l_.str.2@PAGE
Lloh9:
add x25, x25, l_.str.2@PAGEOFF
b LBB0_6
LBB0_3: ; in Loop: Header=BB0_6 Depth=1
add x0, x19, w26, sxtw
mov x1, x23
LBB0_4: ; in Loop: Header=BB0_6 Depth=1
mov w2, #6 ; =0x6
bl _memcpy
mov x26, x28
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
ldrb w8, [x20, #-1]!
cbz w8, LBB0_21
LBB0_6: ; =>This Inner Loop Header: Depth=1
add w28, w26, #6
cmp w28, w27
b.le LBB0_9
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
lsl w27, w27, #1
add w1, w27, #7
mov x0, x19
bl _av_realloc
cbz x0, LBB0_24
; %bb.8: ; in Loop: Header=BB0_6 Depth=1
add w27, w27, #6
ldrb w8, [x20]
mov x19, x0
LBB0_9: ; in Loop: Header=BB0_6 Depth=1
cmp w8, #38
b.le LBB0_14
; %bb.10: ; in Loop: Header=BB0_6 Depth=1
cmp w8, #39
b.eq LBB0_3
; %bb.11: ; in Loop: Header=BB0_6 Depth=1
cmp w8, #60
b.eq LBB0_17
; %bb.12: ; in Loop: Header=BB0_6 Depth=1
cmp w8, #62
b.ne LBB0_20
; %bb.13: ; in Loop: Header=BB0_6 Depth=1
add x0, x19, w26, sxtw
mov x1, x25
b LBB0_18
LBB0_14: ; in Loop: Header=BB0_6 Depth=1
cmp w8, #34
b.eq LBB0_19
; %bb.15: ; in Loop: Header=BB0_6 Depth=1
cmp w8, #38
b.ne LBB0_20
; %bb.16: ; in Loop: Header=BB0_6 Depth=1
add x0, x19, w26, sxtw
mov x1, x22
mov w2, #5 ; =0x5
bl _memcpy
add w26, w26, #5
b LBB0_5
LBB0_17: ; in Loop: Header=BB0_6 Depth=1
add x0, x19, w26, sxtw
mov x1, x24
LBB0_18: ; in Loop: Header=BB0_6 Depth=1
mov w2, #4 ; =0x4
bl _memcpy
add w26, w26, #4
b LBB0_5
LBB0_19: ; in Loop: Header=BB0_6 Depth=1
add x0, x19, w26, sxtw
mov x1, x21
b LBB0_4
LBB0_20: ; in Loop: Header=BB0_6 Depth=1
strb w8, [x19, w26, sxtw]
add w8, w26, #1
mov x26, x8
b LBB0_5
LBB0_21:
sxtw x8, w26
b LBB0_23
LBB0_22:
mov x8, #0 ; =0x0
LBB0_23:
strb wzr, [x19, x8]
b LBB0_25
LBB0_24:
mov x0, x19
bl _av_free
mov x19, #0 ; =0x0
LBB0_25:
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
ret
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "&"
l_.str.1: ; @.str.1
.asciz "<"
l_.str.2: ; @.str.2
.asciz ">"
l_.str.3: ; @.str.3
.asciz "'"
l_.str.4: ; @.str.4
.asciz """
.no_dead_strip _xmlescape
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function restore_extent_metadata
_restore_extent_metadata: ## @restore_extent_metadata
.cfi_startproc
## %bb.0:
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 (%rdx), %r12d
movl %r12d, %eax
shll $5, %eax
orl $24, %eax
cmpl %ecx, %eax
jbe LBB0_1
## %bb.13:
leaq L_.str(%rip), %rdi
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _error ## TAILCALL
LBB0_1:
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r13
leal 40(,%r12,8), %edi
callq _mallocz
movq %rax, %r14
movq %r15, -56(%rbp) ## 8-byte Spill
movq 16(%r15), %rax
movq %rax, 28(%r14)
movl (%rbx), %eax
movl %eax, 24(%r14)
movq $0, 16(%r14)
testq %r12, %r12
je LBB0_2
## %bb.3:
movq %r12, -48(%rbp) ## 8-byte Spill
movq %r13, -72(%rbp) ## 8-byte Spill
leaq 16(%r13), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
movl $16, %r15d
xorl %r12d, %r12d
## implicit-def: $rax
## kill: killed $rax
movq -56(%rbp), %rbx ## 8-byte Reload
movq %r14, -80(%rbp) ## 8-byte Spill
movq -72(%rbp), %r13 ## 8-byte Reload
jmp LBB0_4
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_4 Depth=1
movq (%r14), %r14
movq %r13, %rdi
callq _uv_rwlock_rdunlock
LBB0_9: ## in Loop: Header=BB0_4 Depth=1
xorl %eax, %eax
callq _pg_cache_create_descr
movq -56(%rbp), %rbx ## 8-byte Reload
movq 8(%rbx), %rcx
movl (%rcx,%r15), %edx
movl %edx, 24(%rax)
movq -8(%rcx,%r15), %rcx
movq %rcx, 16(%rax)
movq %r14, 8(%rax)
movq %r14, %rsi
movq -80(%rbp), %r14 ## 8-byte Reload
movq %r14, (%rax)
movq 8(%r14), %rcx
movq %rax, (%rcx,%r12,8)
incq %r12
movq %r13, %rdi
movq %rsi, -88(%rbp) ## 8-byte Spill
movq %rax, %rdx
callq _pg_cache_insert
addq $32, %r15
cmpq %r12, -48(%rbp) ## 8-byte Folded Reload
je LBB0_10
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq _PAGE_METRICS@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq 8(%rbx), %rax
cmpq -16(%rax,%r15), %rcx
jne LBB0_14
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movq 8(%rax,%r15), %rbx
movq %r13, %rdi
callq _uv_rwlock_rdlock
movl 16(%r13), %edi
movq %rbx, %rsi
movl $4, %edx
callq _JudyHSGet
movq %rax, %r14
xorl %edi, %edi
testq %rax, %rax
setne %dil
callq _likely
testq %rax, %rax
jne LBB0_6
## %bb.7: ## in Loop: Header=BB0_4 Depth=1
movq %r13, %rdi
callq _uv_rwlock_rdunlock
testq %r14, %r14
movq -88(%rbp), %r14 ## 8-byte Reload
jne LBB0_9
## %bb.8: ## in Loop: Header=BB0_4 Depth=1
movq %r13, %rdi
callq _uv_rwlock_wrlock
movq _PJE0@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq -64(%rbp), %rdi ## 8-byte Reload
movq %rbx, %rsi
movl $4, %edx
callq _JudyHSIns
movq %rax, %r14
xorl %edi, %edi
cmpq $0, (%rax)
sete %dil
callq _assert
movq %rbx, %rdi
callq _create_page_index
movq %rax, (%r14)
movq %rax, %r14
movq 8(%r13), %rax
movq %rax, 8(%r14)
movq %r14, 8(%r13)
movq %r13, %rdi
callq _uv_rwlock_wrunlock
jmp LBB0_9
LBB0_2:
xorl %r12d, %r12d
jmp LBB0_11
LBB0_14:
leaq L_.str.1(%rip), %rdi
callq _error
jmp LBB0_11
LBB0_10:
movq -48(%rbp), %r12 ## 8-byte Reload
## kill: def $r12d killed $r12d killed $r12 def $r12
LBB0_11:
movl %r12d, (%r14)
movl %r12d, %edi
callq _likely
movq %r14, %rdi
addq $56, %rsp
testq %rax, %rax
je LBB0_12
## %bb.15:
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _df_extent_insert ## TAILCALL
LBB0_12:
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _freez ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Corrupted transaction payload."
.comm _PAGE_METRICS,8,3 ## @PAGE_METRICS
L_.str.1: ## @.str.1
.asciz "Unknown page type encountered."
.comm _PJE0,4,2 ## @PJE0
.no_dead_strip _restore_extent_metadata
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function restore_extent_metadata
_restore_extent_metadata: ; @restore_extent_metadata
.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
ldr w26, [x2]
mov w8, #24 ; =0x18
orr w8, w8, w26, lsl #5
cmp w8, w3
b.ls LBB0_2
; %bb.1:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@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 _error
LBB0_2:
mov x20, x2
mov x22, x1
mov x21, x0
lsl w8, w26, #3
add w0, w8, #40
bl _mallocz
mov x19, x0
ldr d0, [x20, #16]
stur d0, [x0, #28]
ldr w8, [x22]
str w8, [x0, #24]
str xzr, [x0, #16]
cbz w26, LBB0_10
; %bb.3:
mov x27, #0 ; =0x0
mov x22, #0 ; =0x0
Lloh2:
adrp x28, _PAGE_METRICS@GOTPAGE
Lloh3:
ldr x28, [x28, _PAGE_METRICS@GOTPAGEOFF]
; implicit-def: $x23
b LBB0_6
LBB0_4: ; in Loop: Header=BB0_6 Depth=1
ldr x23, [x25]
mov x0, x21
bl _uv_rwlock_rdunlock
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
bl _pg_cache_create_descr
mov x2, x0
ldr x8, [x20, #8]
add x8, x8, x27
ldr w9, [x8, #16]
str w9, [x0, #24]
ldr d0, [x8, #8]
str d0, [x0, #16]
stp x19, x23, [x0]
ldr x8, [x19, #8]
add x24, x22, #1
str x0, [x8, x22, lsl #3]
mov x0, x21
mov x1, x23
bl _pg_cache_insert
add x27, x27, #32
mov x22, x24
cmp x26, x24
b.eq LBB0_12
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldr x9, [x28]
ldr x8, [x20, #8]
ldr x10, [x8, x27]
cmp x9, x10
b.ne LBB0_11
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
add x8, x8, x27
ldr x24, [x8, #24]
mov x0, x21
bl _uv_rwlock_rdlock
ldr w0, [x21, #16]
mov x1, x24
mov w2, #4 ; =0x4
bl _JudyHSGet
mov x25, x0
cmp x0, #0
cset w0, ne
bl _likely
cbnz x0, LBB0_4
; %bb.8: ; in Loop: Header=BB0_6 Depth=1
mov x0, x21
bl _uv_rwlock_rdunlock
cbnz x25, LBB0_5
; %bb.9: ; in Loop: Header=BB0_6 Depth=1
mov x0, x21
bl _uv_rwlock_wrlock
Lloh4:
adrp x8, _PJE0@GOTPAGE
Lloh5:
ldr x8, [x8, _PJE0@GOTPAGEOFF]
Lloh6:
ldr w3, [x8]
add x0, x21, #16
mov x1, x24
mov w2, #4 ; =0x4
bl _JudyHSIns
mov x25, x0
ldr x8, [x0]
cmp x8, #0
cset w0, eq
bl _assert
mov x0, x24
bl _create_page_index
mov x23, x0
str x0, [x25]
ldr x8, [x21, #8]
str x8, [x0, #8]
str x0, [x21, #8]
mov x0, x21
bl _uv_rwlock_wrunlock
b LBB0_5
LBB0_10:
mov w22, #0 ; =0x0
b LBB0_13
LBB0_11:
Lloh7:
adrp x0, l_.str.1@PAGE
Lloh8:
add x0, x0, l_.str.1@PAGEOFF
bl _error
b LBB0_13
LBB0_12:
mov x22, x26
LBB0_13:
str w22, [x19]
mov x0, x22
bl _likely
cbz x0, LBB0_15
; %bb.14:
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 _df_extent_insert
LBB0_15:
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 _freez
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpAdd Lloh7, Lloh8
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Corrupted transaction payload."
.comm _PAGE_METRICS,8,3 ; @PAGE_METRICS
l_.str.1: ; @.str.1
.asciz "Unknown page type encountered."
.comm _PJE0,4,2 ; @PJE0
.no_dead_strip _restore_extent_metadata
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function rave_sp_eeprom_io
_rave_sp_eeprom_io: ## @rave_sp_eeprom_io
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, -80(%rbp) ## 8-byte Spill
movl %edx, -68(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _RAVE_SP_EEPROM_WRITE@GOTPCREL(%rip), %rax
xorl %r12d, %r12d
movl %esi, -64(%rbp) ## 4-byte Spill
cmpl %esi, (%rax)
movq %rdi, %r15
setne -56(%rbp) ## 1-byte Folded Spill
sete %r12b
shll $2, %r12d
movl (%rdi), %r13d
subl %r12d, %r13d
movq _RAVE_SP_EEPROM_HEADER_MAX@GOTPCREL(%rip), %rax
movslq (%rax), %rax
leaq 16(,%rax,4), %rbx
movq %rbx, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r14
xorl %edi, %edi
cmpq %r13, %rbx
setb %dil
callq _WARN_ON
testq %rax, %rax
je LBB0_2
## %bb.1:
movq _EINVAL@GOTPCREL(%rip), %rcx
LBB0_9:
xorl %eax, %eax
subl (%rcx), %eax
jmp LBB0_10
LBB0_2:
movq -80(%rbp), %rbx ## 8-byte Reload
xorl %eax, %eax
movzbl -56(%rbp), %ecx ## 1-byte Folded Reload
movb %cl, %al
leal 8(,%rax,4), %eax
movl %eax, -60(%rbp) ## 4-byte Spill
movabsq $17179869180, %rax ## imm = 0x3FFFFFFFC
movl $0, (%r14,%rax)
movl -64(%rbp), %edx ## 4-byte Reload
movl %edx, (%r14)
movl -68(%rbp), %ecx ## 4-byte Reload
movl %ecx, 4(%r14)
movl $2, %eax
movq %r15, -56(%rbp) ## 8-byte Spill
cmpl $3, (%r15)
movl %edx, %r15d
jb LBB0_4
## %bb.3:
sarl $8, %ecx
movl %ecx, 8(%r14)
movl $3, %eax
LBB0_4:
leaq (%r14,%rax,4), %rdi
movl 8(%rbx), %esi
movl %r12d, %edx
callq _memcpy
movq -56(%rbp), %rax ## 8-byte Reload
movl 8(%rax), %edi
movq %r14, %rsi
movl %r13d, %edx
movq %rbx, %rcx
movl -60(%rbp), %r8d ## 4-byte Reload
callq _rave_sp_exec
testl %eax, %eax
je LBB0_5
LBB0_10:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_12
## %bb.11:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_5:
cmpl %r15d, (%rbx)
jne LBB0_6
## %bb.7:
xorl %eax, %eax
cmpl $0, 4(%rbx)
jne LBB0_10
## %bb.8:
movq _EIO@GOTPCREL(%rip), %rcx
jmp LBB0_9
LBB0_6:
movq _EPROTO@GOTPCREL(%rip), %rcx
jmp LBB0_9
LBB0_12:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _RAVE_SP_EEPROM_WRITE,4,2 ## @RAVE_SP_EEPROM_WRITE
.comm _RAVE_SP_EEPROM_HEADER_MAX,4,2 ## @RAVE_SP_EEPROM_HEADER_MAX
.comm _EINVAL,4,2 ## @EINVAL
.comm _EPROTO,4,2 ## @EPROTO
.comm _EIO,4,2 ## @EIO
.no_dead_strip _rave_sp_eeprom_io
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function rave_sp_eeprom_io
_rave_sp_eeprom_io: ; @rave_sp_eeprom_io
.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, x3
mov x25, 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, _RAVE_SP_EEPROM_WRITE@GOTPAGE
Lloh4:
ldr x8, [x8, _RAVE_SP_EEPROM_WRITE@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
mov w9, #12 ; =0xc
mov w10, #8 ; =0x8
cmp w8, w1
csel w22, w10, w9, eq
cset w8, eq
lsl w24, w8, #2
ldr w8, [x0]
sub w23, w8, w24
Lloh6:
adrp x8, _RAVE_SP_EEPROM_HEADER_MAX@GOTPAGE
Lloh7:
ldr x8, [x8, _RAVE_SP_EEPROM_HEADER_MAX@GOTPAGEOFF]
Lloh8:
ldrsw x8, [x8]
lsl x12, x8, #2
add x8, x12, #16
mov x9, x8
Lloh9:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh10:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x10, x12, #31
and x10, x10, #0xfffffffffffffff0
sub x26, x9, x10
mov sp, x26
cmp x8, x23
cset w0, lo
bl _WARN_ON
cbz x0, LBB0_3
; %bb.1:
Lloh11:
adrp x8, _EINVAL@GOTPAGE
Lloh12:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_2:
ldr w8, [x8]
neg w0, w8
b LBB0_7
LBB0_3:
mov x8, #17179869180 ; =0x3fffffffc
str wzr, [x26, x8]
stp w20, w25, [x26]
ldr w8, [x21]
cmp w8, #3
b.lo LBB0_5
; %bb.4:
asr w8, w25, #8
str w8, [x26, #8]
mov w8, #3 ; =0x3
b LBB0_6
LBB0_5:
mov w8, #2 ; =0x2
LBB0_6:
add x0, x26, x8, lsl #2
ldr w1, [x19, #8]
mov x2, x24
bl _memcpy
ldr w0, [x21, #8]
mov x1, x26
mov x2, x23
mov x3, x19
mov x4, x22
bl _rave_sp_exec
cbz w0, LBB0_9
LBB0_7:
ldur x8, [x29, #-72]
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_14
; %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:
ldr w8, [x19]
cmp w8, w20
b.ne LBB0_12
; %bb.10:
ldr w8, [x19, #4]
cbz w8, LBB0_13
; %bb.11:
mov w0, #0 ; =0x0
b LBB0_7
LBB0_12:
Lloh16:
adrp x8, _EPROTO@GOTPAGE
Lloh17:
ldr x8, [x8, _EPROTO@GOTPAGEOFF]
b LBB0_2
LBB0_13:
Lloh18:
adrp x8, _EIO@GOTPAGE
Lloh19:
ldr x8, [x8, _EIO@GOTPAGEOFF]
b LBB0_2
LBB0_14:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGot Lloh18, Lloh19
.loh AdrpLdrGot Lloh9, Lloh10
.cfi_endproc
; -- End function
.comm _RAVE_SP_EEPROM_WRITE,4,2 ; @RAVE_SP_EEPROM_WRITE
.comm _RAVE_SP_EEPROM_HEADER_MAX,4,2 ; @RAVE_SP_EEPROM_HEADER_MAX
.comm _EINVAL,4,2 ; @EINVAL
.comm _EPROTO,4,2 ; @EPROTO
.comm _EIO,4,2 ; @EIO
.no_dead_strip _rave_sp_eeprom_io
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _kvm_s390_handle_stctl ## -- Begin function kvm_s390_handle_stctl
.p2align 4, 0x90
_kvm_s390_handle_stctl: ## @kvm_s390_handle_stctl
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $88, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq (%rdi), %rax
movl (%rax), %r14d
decl 8(%rdi)
movq _PSW_MASK_PSTATE@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
testl %ecx, 16(%rax)
je LBB0_3
## %bb.1:
movq _PGM_PRIVILEGED_OP@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_12
## %bb.2:
addq $88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _kvm_s390_inject_program_int ## TAILCALL
LBB0_3:
leaq -124(%rbp), %rsi
movq %rdi, -120(%rbp) ## 8-byte Spill
callq _kvm_s390_get_base_disp_rs
movl %eax, %r15d
testb $3, %r15b
je LBB0_5
## %bb.4:
movq _PGM_SPECIFICATION@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq -120(%rbp), %rdi ## 8-byte Reload
callq _kvm_s390_inject_program_int
jmp LBB0_10
LBB0_5:
movl %r14d, %r13d
shrl $4, %r13d
andl $15, %r13d
andl $15, %r14d
leaq L_.str(%rip), %rdx
movl $4, %r12d
movq -120(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rdi
movl $4, %esi
movl %r13d, %ecx
movl %r14d, %r8d
movl %r15d, %r9d
callq _VCPU_EVENT
movq %rbx, %rdi
xorl %esi, %esi
movl %r13d, %edx
movl %r14d, %ecx
movl %r15d, %r8d
callq _trace_kvm_s390_handle_stctl
movq (%rbx), %rax
movq 8(%rax), %rax
movl (%rax,%r13,4), %ecx
movl %ecx, -112(%rbp)
cmpl %r14d, %r13d
je LBB0_8
## %bb.6:
movl $4, %r12d
.p2align 4, 0x90
LBB0_7: ## =>This Inner Loop Header: Depth=1
leal -1(%r13), %ecx
leal 14(%r13), %edx
testl %ecx, %ecx
cmovnsl %ecx, %edx
andl $-16, %edx
negl %edx
addl %edx, %r13d
decl %r13d
movslq %r13d, %rcx
movl (%rax,%rcx,4), %edx
movl %edx, -112(%rbp,%r12)
addq $4, %r12
cmpl %r14d, %ecx
jne LBB0_7
LBB0_8:
movl -124(%rbp), %edx
leaq -112(%rbp), %rcx
movq %rbx, %rdi
movl %r15d, %esi
movl %r12d, %r8d
callq _write_guest
movl %eax, %esi
testl %eax, %eax
movl $0, %eax
je LBB0_10
## %bb.9:
movq -120(%rbp), %rdi ## 8-byte Reload
callq _kvm_s390_inject_prog_cond
LBB0_10:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_12
## %bb.11:
addq $88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_12:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _PSW_MASK_PSTATE,4,2 ## @PSW_MASK_PSTATE
.comm _PGM_PRIVILEGED_OP,4,2 ## @PGM_PRIVILEGED_OP
.comm _PGM_SPECIFICATION,4,2 ## @PGM_SPECIFICATION
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "STCTL r1:%d, r3:%d, addr: 0x%llx"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _kvm_s390_handle_stctl ; -- Begin function kvm_s390_handle_stctl
.p2align 2
_kvm_s390_handle_stctl: ; @kvm_s390_handle_stctl
.cfi_startproc
; %bb.0:
sub sp, sp, #144
stp x24, x23, [sp, #80] ; 16-byte Folded Spill
stp x22, x21, [sp, #96] ; 16-byte Folded Spill
stp x20, x19, [sp, #112] ; 16-byte Folded Spill
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-56]
ldr x8, [x0]
ldr w21, [x8]
ldr w9, [x0, #8]
sub w9, w9, #1
str w9, [x0, #8]
ldr w8, [x8, #16]
Lloh3:
adrp x9, _PSW_MASK_PSTATE@GOTPAGE
Lloh4:
ldr x9, [x9, _PSW_MASK_PSTATE@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_3
; %bb.1:
Lloh6:
adrp x8, _PGM_PRIVILEGED_OP@GOTPAGE
Lloh7:
ldr x8, [x8, _PGM_PRIVILEGED_OP@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
ldur x8, [x29, #-56]
Lloh9:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh10:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_12
; %bb.2:
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
ldp x20, x19, [sp, #112] ; 16-byte Folded Reload
ldp x22, x21, [sp, #96] ; 16-byte Folded Reload
ldp x24, x23, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #144
b _kvm_s390_inject_program_int
LBB0_3:
add x1, sp, #4
mov x19, x0
bl _kvm_s390_get_base_disp_rs
tst w0, #0x3
b.eq LBB0_5
; %bb.4:
Lloh12:
adrp x8, _PGM_SPECIFICATION@GOTPAGE
Lloh13:
ldr x8, [x8, _PGM_SPECIFICATION@GOTPAGEOFF]
Lloh14:
ldr w1, [x8]
mov x0, x19
bl _kvm_s390_inject_program_int
b LBB0_10
LBB0_5:
mov x20, x0
ubfx x23, x21, #4, #4
and w22, w21, #0xf
Lloh15:
adrp x2, l_.str@PAGE
Lloh16:
add x2, x2, l_.str@PAGEOFF
mov w21, #4 ; =0x4
mov x24, x19
mov x0, x19
mov w1, #4 ; =0x4
mov x3, x23
mov x4, x22
mov x5, x20
bl _VCPU_EVENT
mov x0, x19
mov w1, #0 ; =0x0
mov x2, x23
mov x3, x22
mov x4, x20
bl _trace_kvm_s390_handle_stctl
ldr x8, [x19]
ldr x8, [x8, #8]
ldr w9, [x8, x23, lsl #2]
str w9, [sp, #8]
cmp w23, w22
b.eq LBB0_8
; %bb.6:
mov w21, #4 ; =0x4
add x9, sp, #8
LBB0_7: ; =>This Inner Loop Header: Depth=1
sub w10, w23, #1
negs w11, w10
and w11, w11, #0xf
and w10, w10, #0xf
csneg w23, w10, w11, mi
ldr w10, [x8, w23, sxtw #2]
str w10, [x9, x21]
add x21, x21, #4
cmp w23, w22
b.ne LBB0_7
LBB0_8:
ldr w2, [sp, #4]
add x3, sp, #8
mov x0, x24
mov x1, x20
mov x4, x21
bl _write_guest
cbz w0, LBB0_10
; %bb.9:
mov x1, x0
mov x0, x19
bl _kvm_s390_inject_prog_cond
LBB0_10:
ldur x8, [x29, #-56]
Lloh17:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh18:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_12
; %bb.11:
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
ldp x20, x19, [sp, #112] ; 16-byte Folded Reload
ldp x22, x21, [sp, #96] ; 16-byte Folded Reload
ldp x24, x23, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #144
ret
LBB0_12:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.cfi_endproc
; -- End function
.comm _PSW_MASK_PSTATE,4,2 ; @PSW_MASK_PSTATE
.comm _PGM_PRIVILEGED_OP,4,2 ; @PGM_PRIVILEGED_OP
.comm _PGM_SPECIFICATION,4,2 ; @PGM_SPECIFICATION
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "STCTL r1:%d, r3:%d, addr: 0x%llx"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function opcdqe
_opcdqe: ## @opcdqe
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %rbx
movq %rdi, %r14
movq %rdx, %rdi
callq _is_valid_registers
xorl %eax, %eax
cmpl $64, (%r14)
jne LBB0_2
## %bb.1:
movl $72, (%rbx)
movl $-1, %eax
LBB0_2:
movslq %eax, %rcx
incl %eax
movl $152, (%rbx,%rcx,4)
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _opcdqe
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function opcdqe
_opcdqe: ; @opcdqe
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov x20, x0
mov x0, x2
bl _is_valid_registers
ldr w8, [x20]
cmp w8, #64
b.ne LBB0_2
; %bb.1:
mov w8, #72 ; =0x48
str w8, [x19]
mov w8, #-1 ; =0xffffffff
b LBB0_3
LBB0_2:
mov w8, #0 ; =0x0
LBB0_3:
mov w9, #152 ; =0x98
str w9, [x19, w8, sxtw #2]
add w0, w8, #1
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _opcdqe
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _CfgUnescape ## -- Begin function CfgUnescape
.p2align 4, 0x90
_CfgUnescape: ## @CfgUnescape
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB0_2
## %bb.1:
xorl %eax, %eax
retq
LBB0_2:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
xorl %edi, %edi
callq _StrLen
## kill: def $eax killed $eax def $rax
leal 1(%rax), %edi
callq _ZeroMalloc
movq %rax, %rbx
movq %rax, %rdi
callq _StrLen
## kill: def $eax killed $eax def $rax
leal 1(%rax), %edi
callq _Malloc
movq %rax, %r14
movq %rbx, %rdi
callq _StrLen
## kill: def $eax killed $eax def $rax
leal 1(%rax), %esi
movq %r14, %rdi
movq %rbx, %rdx
callq _StrCpy
movq %rbx, %rdi
callq _Free
movq %r14, %rax
popq %rbx
popq %r14
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 _CfgUnescape ; -- Begin function CfgUnescape
.p2align 2
_CfgUnescape: ; @CfgUnescape
.cfi_startproc
; %bb.0:
cbz x0, LBB0_2
; %bb.1:
mov x0, #0 ; =0x0
ret
LBB0_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
bl _StrLen
add w0, w0, #1
bl _ZeroMalloc
mov x19, x0
bl _StrLen
add w0, w0, #1
bl _Malloc
mov x20, x0
mov x0, x19
bl _StrLen
add w1, w0, #1
mov x0, x20
mov x2, x19
bl _StrCpy
mov x0, x19
bl _Free
mov x0, x20
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 _brcms_c_rateset_filter ## -- Begin function brcms_c_rateset_filter
.p2align 4, 0x90
_brcms_c_rateset_filter: ## @brcms_c_rateset_filter
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %r9d, -52(%rbp) ## 4-byte Spill
movq %r8, -64(%rbp) ## 8-byte Spill
movq %rcx, %r15
movl %edx, -56(%rbp) ## 4-byte Spill
movq %rsi, -48(%rbp) ## 8-byte Spill
movq %rdi, %r14
xorl %r13d, %r13d
xorl %ebx, %ebx
jmp LBB0_1
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
andq -64(%rbp), %r12 ## 8-byte Folded Reload
movq -48(%rbp), %rax ## 8-byte Reload
movq 8(%rax), %rax
movq %r12, (%rax,%r13,8)
incq %r13
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
incq %rbx
cmpq (%r14), %rbx
ja LBB0_9
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq 8(%r14), %rax
movq (%rax,%rbx,8), %r12
cmpl $0, -56(%rbp) ## 4-byte Folded Reload
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq _BRCMS_RATE_FLAG@GOTPCREL(%rip), %rax
movq (%rax), %rax
orq %r12, %rax
je LBB0_9
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movq _BRCMS_RATES_CCK@GOTPCREL(%rip), %rax
cmpq %r15, (%rax)
jne LBB0_5
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
movq _BRCMS_RATE_MASK@GOTPCREL(%rip), %rax
movq (%rax), %rdi
andq %r12, %rdi
callq _is_ofdm_rate
testq %rax, %rax
jne LBB0_8
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movq _BRCMS_RATES_OFDM@GOTPCREL(%rip), %rax
cmpq %r15, (%rax)
jne LBB0_7
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
movq _BRCMS_RATE_MASK@GOTPCREL(%rip), %rax
movq (%rax), %rdi
andq %r12, %rdi
callq _is_cck_rate
testq %rax, %rax
jne LBB0_8
jmp LBB0_7
LBB0_9:
movq -48(%rbp), %rcx ## 8-byte Reload
movq %r13, (%rcx)
movl 24(%r14), %eax
movl %eax, 24(%rcx)
cmpl $0, -52(%rbp) ## 4-byte Folded Reload
je LBB0_12
## %bb.10:
movq _BRCMS_RATES_CCK@GOTPCREL(%rip), %rax
cmpq %r15, (%rax)
je LBB0_12
## %bb.11:
movq -48(%rbp), %rax ## 8-byte Reload
movq 16(%rax), %rdi
movq 16(%r14), %rsi
movq _MCSSET_LEN@GOTPCREL(%rip), %rax
movl (%rax), %edx
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _memcpy ## TAILCALL
LBB0_12:
movq -48(%rbp), %rdi ## 8-byte Reload
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _brcms_c_rateset_mcs_clear ## TAILCALL
.cfi_endproc
## -- End function
.comm _BRCMS_RATE_FLAG,8,3 ## @BRCMS_RATE_FLAG
.comm _BRCMS_RATES_CCK,8,3 ## @BRCMS_RATES_CCK
.comm _BRCMS_RATE_MASK,8,3 ## @BRCMS_RATE_MASK
.comm _BRCMS_RATES_OFDM,8,3 ## @BRCMS_RATES_OFDM
.comm _MCSSET_LEN,4,2 ## @MCSSET_LEN
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _brcms_c_rateset_filter ; -- Begin function brcms_c_rateset_filter
.p2align 2
_brcms_c_rateset_filter: ; @brcms_c_rateset_filter
.cfi_startproc
; %bb.0:
sub sp, sp, #112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
str w5, [sp, #12] ; 4-byte Folded Spill
mov x23, x4
mov x21, x3
mov x24, x2
mov x19, x1
mov x20, x0
mov x26, #0 ; =0x0
mov x27, #0 ; =0x0
Lloh0:
adrp x25, _BRCMS_RATES_CCK@GOTPAGE
Lloh1:
ldr x25, [x25, _BRCMS_RATES_CCK@GOTPAGEOFF]
Lloh2:
adrp x28, _BRCMS_RATE_MASK@GOTPAGE
Lloh3:
ldr x28, [x28, _BRCMS_RATE_MASK@GOTPAGEOFF]
b LBB0_3
LBB0_1: ; in Loop: Header=BB0_3 Depth=1
and x8, x22, x23
ldr x9, [x19, #8]
str x8, [x9, x26, lsl #3]
add x26, x26, #1
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x27, x27, #1
ldr x8, [x20]
cmp x27, x8
b.hi LBB0_9
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x8, [x20, #8]
ldr x22, [x8, x27, lsl #3]
cbz w24, LBB0_5
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
Lloh4:
adrp x8, _BRCMS_RATE_FLAG@GOTPAGE
Lloh5:
ldr x8, [x8, _BRCMS_RATE_FLAG@GOTPAGEOFF]
Lloh6:
ldr x8, [x8]
orr x8, x8, x22
cbz x8, LBB0_9
LBB0_5: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x25]
cmp x8, x21
b.ne LBB0_7
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x28]
and x0, x8, x22
bl _is_ofdm_rate
cbnz x0, LBB0_2
LBB0_7: ; in Loop: Header=BB0_3 Depth=1
Lloh7:
adrp x8, _BRCMS_RATES_OFDM@GOTPAGE
Lloh8:
ldr x8, [x8, _BRCMS_RATES_OFDM@GOTPAGEOFF]
Lloh9:
ldr x8, [x8]
cmp x8, x21
b.ne LBB0_1
; %bb.8: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x28]
and x0, x8, x22
bl _is_cck_rate
cbnz x0, LBB0_2
b LBB0_1
LBB0_9:
str x26, [x19]
ldr w8, [x20, #24]
str w8, [x19, #24]
ldr w8, [sp, #12] ; 4-byte Folded Reload
cbz w8, LBB0_12
; %bb.10:
ldr x8, [x25]
cmp x8, x21
b.eq LBB0_12
; %bb.11:
ldr x0, [x19, #16]
ldr x1, [x20, #16]
Lloh10:
adrp x8, _MCSSET_LEN@GOTPAGE
Lloh11:
ldr x8, [x8, _MCSSET_LEN@GOTPAGEOFF]
Lloh12:
ldr w2, [x8]
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
b _memcpy
LBB0_12:
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
b _brcms_c_rateset_mcs_clear
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.cfi_endproc
; -- End function
.comm _BRCMS_RATE_FLAG,8,3 ; @BRCMS_RATE_FLAG
.comm _BRCMS_RATES_CCK,8,3 ; @BRCMS_RATES_CCK
.comm _BRCMS_RATE_MASK,8,3 ; @BRCMS_RATE_MASK
.comm _BRCMS_RATES_OFDM,8,3 ; @BRCMS_RATES_OFDM
.comm _MCSSET_LEN,4,2 ; @MCSSET_LEN
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _esp_eddystone_decode ## -- Begin function esp_eddystone_decode
.p2align 4, 0x90
_esp_eddystone_decode: ## @esp_eddystone_decode
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %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, %rax
orq %rsi, %rax
sete %al
testq %rdx, %rdx
sete %cl
orb %al, %cl
je LBB0_1
LBB0_19:
movl $-1, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_1:
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movq (%rdx), %rax
movq _EDDYSTONE_SERVICE_UUID@GOTPCREL(%rip), %r12
movq (%r12), %rcx
cmpq %rcx, %rax
jne LBB0_3
## %bb.2:
xorl %esi, %esi
LBB0_18:
leaq (%r15,%rsi,8), %rdi
subq %rsi, %r14
movq %r14, %rsi
movq %rbx, %rdx
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _esp_eddystone_get_inform ## TAILCALL
LBB0_3:
xorl %r13d, %r13d
jmp LBB0_4
.p2align 4, 0x90
LBB0_15: ## in Loop: Header=BB0_4 Depth=1
addq $5, %r13
movq %rax, (%rbx)
movq %rcx, 16(%rbx)
movq (%r12), %rcx
LBB0_16: ## in Loop: Header=BB0_4 Depth=1
movq %r13, %rsi
LBB0_17: ## in Loop: Header=BB0_4 Depth=1
movq %rsi, %r13
cmpq %rcx, %rax
je LBB0_18
LBB0_4: ## =>This Inner Loop Header: Depth=1
leaq 1(%r13), %rdx
cmpq %r14, %rdx
jge LBB0_19
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
leaq 2(%r13), %rsi
movq 8(%r15,%r13,8), %rdx
cmpq $128, %rdx
je LBB0_11
## %bb.6: ## in Loop: Header=BB0_4 Depth=1
cmpq $130, %rdx
je LBB0_9
## %bb.7: ## in Loop: Header=BB0_4 Depth=1
cmpq $129, %rdx
jne LBB0_17
## %bb.8: ## in Loop: Header=BB0_4 Depth=1
movq 16(%r15,%r13,8), %rdx
addq $3, %r13
movq %rdx, 8(%rbx)
jmp LBB0_16
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_4 Depth=1
movq %r15, %rdi
callq _little_endian_read_16
cmpq (%r12), %rax
jne LBB0_19
## %bb.10: ## in Loop: Header=BB0_4 Depth=1
movq %rax, %rcx
movq %rax, 24(%rbx)
addq $4, %r13
movq (%rbx), %rax
jmp LBB0_16
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_4 Depth=1
movq %r15, %rdi
callq _little_endian_read_16
cmpq (%r12), %rax
jne LBB0_19
## %bb.12: ## in Loop: Header=BB0_4 Depth=1
movq 32(%r15,%r13,8), %rcx
movq _EDDYSTONE_FRAME_TYPE_UID@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
je LBB0_15
## %bb.13: ## in Loop: Header=BB0_4 Depth=1
movq _EDDYSTONE_FRAME_TYPE_URL@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
je LBB0_15
## %bb.14: ## in Loop: Header=BB0_4 Depth=1
movq _EDDYSTONE_FRAME_TYPE_TLM@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
je LBB0_15
jmp LBB0_19
.cfi_endproc
## -- End function
.comm _EDDYSTONE_SERVICE_UUID,8,3 ## @EDDYSTONE_SERVICE_UUID
.comm _EDDYSTONE_FRAME_TYPE_UID,8,3 ## @EDDYSTONE_FRAME_TYPE_UID
.comm _EDDYSTONE_FRAME_TYPE_URL,8,3 ## @EDDYSTONE_FRAME_TYPE_URL
.comm _EDDYSTONE_FRAME_TYPE_TLM,8,3 ## @EDDYSTONE_FRAME_TYPE_TLM
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _esp_eddystone_decode ; -- Begin function esp_eddystone_decode
.p2align 2
_esp_eddystone_decode: ; @esp_eddystone_decode
.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
orr x8, x0, x1
cbz x8, LBB0_17
; %bb.1:
mov x19, x2
cbz x2, LBB0_17
; %bb.2:
mov x20, x1
mov x21, x0
ldr x0, [x19]
Lloh0:
adrp x22, _EDDYSTONE_SERVICE_UUID@GOTPAGE
Lloh1:
ldr x22, [x22, _EDDYSTONE_SERVICE_UUID@GOTPAGEOFF]
ldr x8, [x22]
cmp x0, x8
b.ne LBB0_5
; %bb.3:
mov x1, #0 ; =0x0
LBB0_4:
add x0, x21, x1, lsl #3
sub x1, x20, x1
mov x2, 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 _esp_eddystone_get_inform
LBB0_5:
mov x27, #0 ; =0x0
add x23, x21, #32
Lloh2:
adrp x24, _EDDYSTONE_FRAME_TYPE_UID@GOTPAGE
Lloh3:
ldr x24, [x24, _EDDYSTONE_FRAME_TYPE_UID@GOTPAGEOFF]
Lloh4:
adrp x25, _EDDYSTONE_FRAME_TYPE_URL@GOTPAGE
Lloh5:
ldr x25, [x25, _EDDYSTONE_FRAME_TYPE_URL@GOTPAGEOFF]
Lloh6:
adrp x26, _EDDYSTONE_FRAME_TYPE_TLM@GOTPAGE
Lloh7:
ldr x26, [x26, _EDDYSTONE_FRAME_TYPE_TLM@GOTPAGEOFF]
b LBB0_7
LBB0_6: ; in Loop: Header=BB0_7 Depth=1
mov x27, x1
cmp x0, x8
b.eq LBB0_4
LBB0_7: ; =>This Inner Loop Header: Depth=1
add x9, x27, #1
cmp x9, x20
b.ge LBB0_17
; %bb.8: ; in Loop: Header=BB0_7 Depth=1
add x1, x27, #2
ldr x9, [x21, x9, lsl #3]
cmp x9, #128
b.eq LBB0_14
; %bb.9: ; in Loop: Header=BB0_7 Depth=1
cmp x9, #130
b.eq LBB0_12
; %bb.10: ; in Loop: Header=BB0_7 Depth=1
cmp x9, #129
b.ne LBB0_6
; %bb.11: ; in Loop: Header=BB0_7 Depth=1
ldr x9, [x21, x1, lsl #3]
add x1, x27, #3
str x9, [x19, #8]
b LBB0_6
LBB0_12: ; in Loop: Header=BB0_7 Depth=1
mov x0, x21
bl _little_endian_read_16
ldr x9, [x22]
cmp x0, x9
b.ne LBB0_17
; %bb.13: ; in Loop: Header=BB0_7 Depth=1
mov x8, x0
str x0, [x19, #24]
add x1, x27, #4
ldr x0, [x19]
b LBB0_6
LBB0_14: ; in Loop: Header=BB0_7 Depth=1
mov x0, x21
bl _little_endian_read_16
ldr x8, [x22]
cmp x0, x8
b.ne LBB0_17
; %bb.15: ; in Loop: Header=BB0_7 Depth=1
ldr x8, [x23, x27, lsl #3]
ldr x9, [x24]
ldr x10, [x25]
ldr x11, [x26]
cmp x8, x9
ccmp x8, x10, #4, ne
ccmp x8, x11, #4, ne
b.ne LBB0_17
; %bb.16: ; in Loop: Header=BB0_7 Depth=1
add x1, x27, #5
str x0, [x19]
str x8, [x19, #16]
ldr x8, [x22]
b LBB0_6
LBB0_17:
mov w0, #-1 ; =0xffffffff
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.cfi_endproc
; -- End function
.comm _EDDYSTONE_SERVICE_UUID,8,3 ; @EDDYSTONE_SERVICE_UUID
.comm _EDDYSTONE_FRAME_TYPE_UID,8,3 ; @EDDYSTONE_FRAME_TYPE_UID
.comm _EDDYSTONE_FRAME_TYPE_URL,8,3 ; @EDDYSTONE_FRAME_TYPE_URL
.comm _EDDYSTONE_FRAME_TYPE_TLM,8,3 ; @EDDYSTONE_FRAME_TYPE_TLM
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function rev_friends_find
_rev_friends_find: ## @rev_friends_find
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB0_10
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %ebx
movq %rdi, %r14
movq _rev_friends_intersect_len@GOTPCREL(%rip), %r15
movq _MAX_FRIENDS@GOTPCREL(%rip), %r12
movq _rev_friends_intersect_list@GOTPCREL(%rip), %r13
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl (%r14), %eax
cmpl %ebx, %eax
jl LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq 24(%r14), %rdi
movl %ebx, %esi
callq _rev_friends_find
movl (%r14), %eax
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
movq (%r15), %rcx
cmpl %ebx, %eax
je LBB0_6
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
cmpq (%r12), %rcx
jge LBB0_7
LBB0_6: ## in Loop: Header=BB0_2 Depth=1
movl 16(%r14), %eax
movq (%r13), %rdx
leaq 1(%rcx), %rsi
movq %rsi, (%r15)
movl %eax, (%rdx,%rcx,4)
movl (%r14), %eax
LBB0_7: ## in Loop: Header=BB0_2 Depth=1
cmpl %ebx, %eax
jg LBB0_9
## %bb.8: ## in Loop: Header=BB0_2 Depth=1
movq 8(%r14), %r14
testq %r14, %r14
jne LBB0_2
LBB0_9:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
LBB0_10:
retq
.cfi_endproc
## -- End function
.comm _rev_friends_intersect_len,8,3 ## @rev_friends_intersect_len
.comm _MAX_FRIENDS,8,3 ## @MAX_FRIENDS
.comm _rev_friends_intersect_list,8,3 ## @rev_friends_intersect_list
.no_dead_strip _rev_friends_find
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function rev_friends_find
_rev_friends_find: ; @rev_friends_find
.cfi_startproc
; %bb.0:
cbz x0, LBB0_9
; %bb.1:
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
Lloh0:
adrp x21, _rev_friends_intersect_len@GOTPAGE
Lloh1:
ldr x21, [x21, _rev_friends_intersect_len@GOTPAGEOFF]
Lloh2:
adrp x22, _MAX_FRIENDS@GOTPAGE
Lloh3:
ldr x22, [x22, _MAX_FRIENDS@GOTPAGEOFF]
Lloh4:
adrp x23, _rev_friends_intersect_list@GOTPAGE
Lloh5:
ldr x23, [x23, _rev_friends_intersect_list@GOTPAGEOFF]
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr w8, [x20]
cmp w8, w19
b.lt LBB0_4
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
ldr x0, [x20, #24]
mov x1, x19
bl _rev_friends_find
ldr w8, [x20]
LBB0_4: ; in Loop: Header=BB0_2 Depth=1
ldr x9, [x21]
ldr x10, [x22]
cmp w8, w19
ccmp x9, x10, #8, ne
b.ge LBB0_6
; %bb.5: ; in Loop: Header=BB0_2 Depth=1
ldr w8, [x20, #16]
ldr x10, [x23]
add x11, x9, #1
str x11, [x21]
str w8, [x10, x9, lsl #2]
ldr w8, [x20]
LBB0_6: ; in Loop: Header=BB0_2 Depth=1
cmp w8, w19
b.gt LBB0_8
; %bb.7: ; in Loop: Header=BB0_2 Depth=1
ldr x20, [x20, #8]
cbnz x20, LBB0_2
LBB0_8:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
LBB0_9:
ret
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _rev_friends_intersect_len,8,3 ; @rev_friends_intersect_len
.comm _MAX_FRIENDS,8,3 ; @MAX_FRIENDS
.comm _rev_friends_intersect_list,8,3 ; @rev_friends_intersect_list
.no_dead_strip _rev_friends_find
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function amd64_return_value
_amd64_return_value: ## @amd64_return_value
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r8, %r15
movq %rcx, %r12
movq %rdx, -72(%rbp) ## 8-byte Spill
movq %rsi, %rbx
movq %rdi, %r13
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq %rsi, %rdi
callq _TYPE_LENGTH
movl %eax, %r14d
testq %r12, %r12
sete %al
testq %r15, %r15
sete %cl
orb %al, %cl
movzbl %cl, %edi
callq _gdb_assert
leaq -56(%rbp), %rsi
movq %rbx, %rdi
callq _amd64_classify
movq _AMD64_MEMORY@GOTPCREL(%rip), %rax
movl (%rax), %eax
cmpl %eax, -56(%rbp)
jne LBB0_2
## %bb.1:
movq _RETURN_VALUE_STRUCT_CONVENTION@GOTPCREL(%rip), %r13
jmp LBB0_35
LBB0_2:
movq %r13, -80(%rbp) ## 8-byte Spill
xorl %edi, %edi
cmpl %eax, -52(%rbp)
setne %dil
callq _gdb_assert
xorl %edi, %edi
cmpl $17, %r14d
setl %dil
callq _gdb_assert
movq _RETURN_VALUE_REGISTER_CONVENTION@GOTPCREL(%rip), %r13
testl %r14d, %r14d
jle LBB0_35
## %bb.3:
movl %r14d, %ebx
movl $-130, %eax
addl -56(%rbp), %eax
cmpl $7, %eax
ja LBB0_11
## %bb.4:
xorl %r14d, %r14d
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_5:
movl $0, -64(%rbp) ## 4-byte Folded Spill
cmpl $9, %ebx
jae LBB0_19
jmp LBB0_35
LBB0_10:
movl %ebx, -60(%rbp) ## 4-byte Spill
movl $0, -64(%rbp) ## 4-byte Folded Spill
xorl %edi, %edi
callq _gdb_assert
movl $8, %r14d
## implicit-def: $ebx
jmp LBB0_13
LBB0_7:
movl $0, -64(%rbp) ## 4-byte Folded Spill
xorl %edi, %edi
callq _gdb_assert
movq _AMD64_ST0_REGNUM@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movl $8, %r14d
movl $2, -60(%rbp) ## 4-byte Folded Spill
jmp LBB0_13
LBB0_8:
movl %ebx, -60(%rbp) ## 4-byte Spill
movl $0, -64(%rbp) ## 4-byte Folded Spill
movq _AMD64_ST0_REGNUM@GOTPCREL(%rip), %rax
movl (%rax), %ebx
testq %r15, %r15
je LBB0_12
## %bb.9:
movq -80(%rbp), %rdi ## 8-byte Reload
movq -72(%rbp), %rsi ## 8-byte Reload
callq _i387_return_value
jmp LBB0_12
LBB0_11:
movl %ebx, -60(%rbp) ## 4-byte Spill
movl $0, -64(%rbp) ## 4-byte Folded Spill
xorl %edi, %edi
callq _gdb_assert
movl $-1, %ebx
LBB0_12:
xorl %r14d, %r14d
jmp LBB0_13
LBB0_6:
movl %ebx, -60(%rbp) ## 4-byte Spill
movl $129, %ebx
movl $1, -64(%rbp) ## 4-byte Folded Spill
LBB0_13:
xorl %edi, %edi
cmpl $-1, %ebx
setne %dil
callq _gdb_assert
testq %r12, %r12
je LBB0_15
## %bb.14:
movl -60(%rbp), %edi ## 4-byte Reload
movl $8, %esi
callq _min
movq -72(%rbp), %rdi ## 8-byte Reload
movl %ebx, %esi
movl %r14d, %edx
movl %eax, %ecx
movq %r12, %r8
callq _regcache_raw_read_part
LBB0_15:
testq %r15, %r15
je LBB0_16
## %bb.17:
movl -60(%rbp), %r13d ## 4-byte Reload
movl %r13d, %edi
movl $8, %esi
callq _min
movq -72(%rbp), %rdi ## 8-byte Reload
movl %ebx, %esi
movl %r13d, %ebx
movq _RETURN_VALUE_REGISTER_CONVENTION@GOTPCREL(%rip), %r13
movl %r14d, %edx
movl %eax, %ecx
movq %r15, %r8
callq _regcache_raw_write_part
cmpl $9, %ebx
jae LBB0_19
jmp LBB0_35
LBB0_16:
movl -60(%rbp), %ebx ## 4-byte Reload
cmpl $9, %ebx
jb LBB0_35
LBB0_19:
movq %r12, -96(%rbp) ## 8-byte Spill
addq $-8, %r12
leaq -52(%rbp), %r13
movq %r15, -88(%rbp) ## 8-byte Spill
leaq 8(%r15), %r14
jmp LBB0_20
.p2align 4, 0x90
LBB0_32: ## in Loop: Header=BB0_20 Depth=1
movl %r15d, %edi
movl $8, %esi
callq _min
movq -72(%rbp), %rdi ## 8-byte Reload
movl %ebx, %esi
movl %r15d, %ebx
movl -60(%rbp), %edx ## 4-byte Reload
movl %eax, %ecx
movq %r14, %r8
callq _regcache_raw_write_part
LBB0_33: ## in Loop: Header=BB0_20 Depth=1
addq $-8, %r12
addq $4, %r13
addq $8, %r14
cmpl $8, %ebx
jle LBB0_34
LBB0_20: ## =>This Inner Loop Header: Depth=1
addl $-8, %ebx
movl (%r13), %eax
movl $-130, %ecx
addl %ecx, %eax
cmpl $7, %eax
ja LBB0_27
## %bb.21: ## in Loop: Header=BB0_20 Depth=1
leaq LJTI0_1(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_26: ## in Loop: Header=BB0_20 Depth=1
xorl %edi, %edi
cmpl $131, -56(%rbp)
sete %dil
callq _gdb_assert
movq _AMD64_ST0_REGNUM@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movl $8, -60(%rbp) ## 4-byte Folded Spill
movl $2, %r15d
jmp LBB0_28
LBB0_22: ## in Loop: Header=BB0_20 Depth=1
movl %ebx, %r15d
movl -64(%rbp), %ecx ## 4-byte Reload
movslq %ecx, %rax
incl %ecx
movl %ecx, -64(%rbp) ## 4-byte Spill
leaq _amd64_return_value.sse_regnum(%rip), %rcx
movl (%rcx,%rax,4), %ebx
movl $0, -60(%rbp) ## 4-byte Folded Spill
jmp LBB0_28
LBB0_27: ## in Loop: Header=BB0_20 Depth=1
movl %ebx, %r15d
movl $0, -60(%rbp) ## 4-byte Folded Spill
xorl %edi, %edi
callq _gdb_assert
movl $-1, %ebx
jmp LBB0_28
LBB0_24: ## in Loop: Header=BB0_20 Depth=1
movl %ebx, %r15d
movl $0, -60(%rbp) ## 4-byte Folded Spill
movq _AMD64_ST0_REGNUM@GOTPCREL(%rip), %rax
movl (%rax), %ebx
cmpq $0, -88(%rbp) ## 8-byte Folded Reload
je LBB0_28
## %bb.25: ## in Loop: Header=BB0_20 Depth=1
movq -80(%rbp), %rdi ## 8-byte Reload
movq -72(%rbp), %rsi ## 8-byte Reload
callq _i387_return_value
jmp LBB0_28
LBB0_23: ## in Loop: Header=BB0_20 Depth=1
movl %ebx, %r15d
xorl %edi, %edi
movl -64(%rbp), %ebx ## 4-byte Reload
testl %ebx, %ebx
setg %dil
callq _gdb_assert
movslq %ebx, %rax
leaq _amd64_return_value.sse_regnum(%rip), %rcx
movl -4(%rcx,%rax,4), %ebx
movl $8, -60(%rbp) ## 4-byte Folded Spill
.p2align 4, 0x90
LBB0_28: ## in Loop: Header=BB0_20 Depth=1
xorl %edi, %edi
cmpl $-1, %ebx
setne %dil
callq _gdb_assert
cmpq $0, -96(%rbp) ## 8-byte Folded Reload
je LBB0_30
## %bb.29: ## in Loop: Header=BB0_20 Depth=1
movl %r15d, %edi
movl $8, %esi
callq _min
movq -72(%rbp), %rdi ## 8-byte Reload
movl %ebx, %esi
movl -60(%rbp), %edx ## 4-byte Reload
movl %eax, %ecx
movq %r12, %r8
callq _regcache_raw_read_part
LBB0_30: ## in Loop: Header=BB0_20 Depth=1
cmpq $0, -88(%rbp) ## 8-byte Folded Reload
jne LBB0_32
## %bb.31: ## in Loop: Header=BB0_20 Depth=1
movl %r15d, %ebx
jmp LBB0_33
LBB0_34:
movq _RETURN_VALUE_REGISTER_CONVENTION@GOTPCREL(%rip), %r13
LBB0_35:
movl (%r13), %eax
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_37
## %bb.36:
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_37:
callq ___stack_chk_fail
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
.long L0_0_set_7
.long L0_0_set_8
.long L0_0_set_10
.long L0_0_set_6
.long L0_0_set_11
.long L0_0_set_11
.long L0_0_set_5
.long L0_0_set_5
.set L0_1_set_26, LBB0_26-LJTI0_1
.set L0_1_set_24, LBB0_24-LJTI0_1
.set L0_1_set_23, LBB0_23-LJTI0_1
.set L0_1_set_22, LBB0_22-LJTI0_1
.set L0_1_set_27, LBB0_27-LJTI0_1
.set L0_1_set_33, LBB0_33-LJTI0_1
LJTI0_1:
.long L0_1_set_26
.long L0_1_set_24
.long L0_1_set_23
.long L0_1_set_22
.long L0_1_set_27
.long L0_1_set_27
.long L0_1_set_33
.long L0_1_set_33
.end_data_region
## -- End function
.section __TEXT,__const
.p2align 2, 0x0 ## @amd64_return_value.sse_regnum
_amd64_return_value.sse_regnum:
.long 129 ## 0x81
.long 128 ## 0x80
.comm _AMD64_MEMORY,4,2 ## @AMD64_MEMORY
.comm _RETURN_VALUE_STRUCT_CONVENTION,4,2 ## @RETURN_VALUE_STRUCT_CONVENTION
.comm _AMD64_ST0_REGNUM,4,2 ## @AMD64_ST0_REGNUM
.comm _RETURN_VALUE_REGISTER_CONVENTION,4,2 ## @RETURN_VALUE_REGISTER_CONVENTION
.no_dead_strip _amd64_return_value
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function amd64_return_value
_amd64_return_value: ; @amd64_return_value
.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, x4
mov x20, x3
mov x21, x2
mov x24, x1
mov x22, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #24]
mov x0, x1
bl _TYPE_LENGTH
mov x23, x0
cmp x20, #0
ccmp x19, #0, #4, ne
cset w0, eq
bl _gdb_assert
add x1, sp, #16
mov x0, x24
bl _amd64_classify
ldr w9, [sp, #16]
Lloh3:
adrp x8, _AMD64_MEMORY@GOTPAGE
Lloh4:
ldr x8, [x8, _AMD64_MEMORY@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
cmp w9, w8
b.ne LBB0_2
; %bb.1:
Lloh6:
adrp x8, _RETURN_VALUE_STRUCT_CONVENTION@GOTPAGE
Lloh7:
ldr x8, [x8, _RETURN_VALUE_STRUCT_CONVENTION@GOTPAGEOFF]
b LBB0_42
LBB0_2:
ldr w9, [sp, #20]
cmp w9, w8
cset w0, ne
bl _gdb_assert
cmp w23, #17
cset w0, lt
bl _gdb_assert
cmp w23, #1
b.lt LBB0_41
; %bb.3:
ldr w8, [sp, #16]
cmp w8, #132
b.gt LBB0_8
; %bb.4:
cmp w8, #130
b.eq LBB0_12
; %bb.5:
cmp w8, #131
b.eq LBB0_14
; %bb.6:
cmp w8, #132
b.ne LBB0_13
; %bb.7:
mov w0, #0 ; =0x0
bl _gdb_assert
mov w28, #0 ; =0x0
mov w25, #8 ; =0x8
; implicit-def: $w24
b LBB0_17
LBB0_8:
mov w25, #0 ; =0x0
sub w9, w8, #136
cmp w9, #2
b.hs LBB0_10
; %bb.9:
mov x28, x25
b LBB0_21
LBB0_10:
cmp w8, #133
b.ne LBB0_13
; %bb.11:
mov w24, #129 ; =0x81
mov w28, #1 ; =0x1
b LBB0_17
LBB0_12:
mov w0, #0 ; =0x0
bl _gdb_assert
mov w28, #0 ; =0x0
Lloh8:
adrp x8, _AMD64_ST0_REGNUM@GOTPAGE
Lloh9:
ldr x8, [x8, _AMD64_ST0_REGNUM@GOTPAGEOFF]
Lloh10:
ldr w24, [x8]
mov w25, #8 ; =0x8
mov w23, #2 ; =0x2
b LBB0_17
LBB0_13:
mov w0, #0 ; =0x0
bl _gdb_assert
mov w28, #0 ; =0x0
mov w25, #0 ; =0x0
mov w24, #-1 ; =0xffffffff
b LBB0_17
LBB0_14:
Lloh11:
adrp x8, _AMD64_ST0_REGNUM@GOTPAGE
Lloh12:
ldr x8, [x8, _AMD64_ST0_REGNUM@GOTPAGEOFF]
Lloh13:
ldr w24, [x8]
cbz x19, LBB0_16
; %bb.15:
mov x0, x22
mov x1, x21
bl _i387_return_value
LBB0_16:
mov w28, #0 ; =0x0
mov w25, #0 ; =0x0
LBB0_17:
cmn w24, #1
cset w0, ne
bl _gdb_assert
cbz x20, LBB0_19
; %bb.18:
mov x0, x23
mov w1, #8 ; =0x8
bl _min
mov x3, x0
mov x0, x21
mov x1, x24
mov x2, x25
mov x4, x20
bl _regcache_raw_read_part
LBB0_19:
cbz x19, LBB0_21
; %bb.20:
mov x0, x23
mov w1, #8 ; =0x8
bl _min
mov x3, x0
mov x0, x21
mov x1, x24
mov x2, x25
mov x4, x19
bl _regcache_raw_write_part
LBB0_21:
cmp w23, #9
b.lo LBB0_41
; %bb.22:
str x22, [sp, #8] ; 8-byte Folded Spill
sub x24, x20, #8
add x25, x19, #8
mov w22, #4 ; =0x4
b LBB0_25
LBB0_23: ; in Loop: Header=BB0_25 Depth=1
sub w9, w8, #136
cmp w9, #2
b.hs LBB0_30
LBB0_24: ; in Loop: Header=BB0_25 Depth=1
sub x24, x24, #8
add x25, x25, #8
add x22, x22, #4
cmp w23, #8
b.le LBB0_41
LBB0_25: ; =>This Inner Loop Header: Depth=1
sub w23, w23, #8
add x8, sp, #16
ldr w8, [x8, x22]
cmp w8, #132
b.gt LBB0_23
; %bb.26: ; in Loop: Header=BB0_25 Depth=1
cmp w8, #130
b.eq LBB0_32
; %bb.27: ; in Loop: Header=BB0_25 Depth=1
cmp w8, #131
b.eq LBB0_34
; %bb.28: ; in Loop: Header=BB0_25 Depth=1
cmp w8, #132
b.ne LBB0_33
; %bb.29: ; in Loop: Header=BB0_25 Depth=1
cmp w28, #0
cset w0, gt
bl _gdb_assert
Lloh14:
adrp x8, _amd64_return_value.sse_regnum@PAGE
Lloh15:
add x8, x8, _amd64_return_value.sse_regnum@PAGEOFF
add x8, x8, w28, sxtw #2
ldur w26, [x8, #-4]
mov w27, #8 ; =0x8
b LBB0_37
LBB0_30: ; in Loop: Header=BB0_25 Depth=1
cmp w8, #133
b.ne LBB0_33
; %bb.31: ; in Loop: Header=BB0_25 Depth=1
mov w27, #0 ; =0x0
Lloh16:
adrp x8, _amd64_return_value.sse_regnum@PAGE
Lloh17:
add x8, x8, _amd64_return_value.sse_regnum@PAGEOFF
ldr w26, [x8, w28, sxtw #2]
add w28, w28, #1
b LBB0_37
LBB0_32: ; in Loop: Header=BB0_25 Depth=1
ldr w8, [sp, #16]
cmp w8, #131
cset w0, eq
bl _gdb_assert
Lloh18:
adrp x8, _AMD64_ST0_REGNUM@GOTPAGE
Lloh19:
ldr x8, [x8, _AMD64_ST0_REGNUM@GOTPAGEOFF]
Lloh20:
ldr w26, [x8]
mov w27, #8 ; =0x8
mov w23, #2 ; =0x2
b LBB0_37
LBB0_33: ; in Loop: Header=BB0_25 Depth=1
mov w0, #0 ; =0x0
bl _gdb_assert
mov w27, #0 ; =0x0
mov w26, #-1 ; =0xffffffff
b LBB0_37
LBB0_34: ; in Loop: Header=BB0_25 Depth=1
Lloh21:
adrp x8, _AMD64_ST0_REGNUM@GOTPAGE
Lloh22:
ldr x8, [x8, _AMD64_ST0_REGNUM@GOTPAGEOFF]
Lloh23:
ldr w26, [x8]
cbz x19, LBB0_36
; %bb.35: ; in Loop: Header=BB0_25 Depth=1
ldr x0, [sp, #8] ; 8-byte Folded Reload
mov x1, x21
bl _i387_return_value
LBB0_36: ; in Loop: Header=BB0_25 Depth=1
mov w27, #0 ; =0x0
LBB0_37: ; in Loop: Header=BB0_25 Depth=1
cmn w26, #1
cset w0, ne
bl _gdb_assert
cbz x20, LBB0_39
; %bb.38: ; in Loop: Header=BB0_25 Depth=1
mov x0, x23
mov w1, #8 ; =0x8
bl _min
mov x3, x0
mov x0, x21
mov x1, x26
mov x2, x27
mov x4, x24
bl _regcache_raw_read_part
LBB0_39: ; in Loop: Header=BB0_25 Depth=1
cbz x19, LBB0_24
; %bb.40: ; in Loop: Header=BB0_25 Depth=1
mov x0, x23
mov w1, #8 ; =0x8
bl _min
mov x3, x0
mov x0, x21
mov x1, x26
mov x2, x27
mov x4, x25
bl _regcache_raw_write_part
b LBB0_24
LBB0_41:
Lloh24:
adrp x8, _RETURN_VALUE_REGISTER_CONVENTION@GOTPAGE
Lloh25:
ldr x8, [x8, _RETURN_VALUE_REGISTER_CONVENTION@GOTPAGEOFF]
LBB0_42:
ldr w0, [x8]
ldr x8, [sp, #24]
Lloh26:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh27:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh28:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_44
; %bb.43:
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_44:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGot Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.cfi_endproc
; -- End function
.section __TEXT,__const
.p2align 2, 0x0 ; @amd64_return_value.sse_regnum
_amd64_return_value.sse_regnum:
.long 129 ; 0x81
.long 128 ; 0x80
.comm _AMD64_MEMORY,4,2 ; @AMD64_MEMORY
.comm _RETURN_VALUE_STRUCT_CONVENTION,4,2 ; @RETURN_VALUE_STRUCT_CONVENTION
.comm _AMD64_ST0_REGNUM,4,2 ; @AMD64_ST0_REGNUM
.comm _RETURN_VALUE_REGISTER_CONVENTION,4,2 ; @RETURN_VALUE_REGISTER_CONVENTION
.no_dead_strip _amd64_return_value
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function fill_lines
_fill_lines: ## @fill_lines
.cfi_startproc
## %bb.0:
movl %ecx, %eax
orl %esi, %eax
je LBB0_15
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movslq %ecx, %rax
movq %rdx, %r15
subq %rax, %r15
movq %rdx, (%rdi)
movq $-1, %r12
testl %eax, %eax
jns LBB0_12
## %bb.2:
negq %rax
testl %esi, %esi
movl $-1, %r13d
movl %esi, %r14d
cmovnsl %esi, %r13d
movq %rdx, %rdi
movl $10, %esi
movl %eax, %edx
callq _memchr
movq %rax, %rdx
testq %rax, %rax
je LBB0_3
LBB0_12:
cmpq %r15, %rdx
jae LBB0_14
## %bb.13:
movq %rdx, (%rbx,%r12,8)
LBB0_14:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
LBB0_15:
retq
LBB0_3:
testl %r14d, %r14d
js LBB0_14
## %bb.4:
movq $1, -8(%rbx)
cmpq $2, %r15
jb LBB0_5
## %bb.6:
leal -1(%r15), %r14d
movl $1, %edi
movl $10, %esi
movl %r14d, %edx
callq _memchr
testq %rax, %rax
je LBB0_8
## %bb.7:
movq %rax, %rdx
xorl %r12d, %r12d
jmp LBB0_12
LBB0_5:
xorl %r12d, %r12d
movl $1, %edx
jmp LBB0_12
LBB0_8:
movslq %r13d, %rax
movq %rax, -48(%rbp) ## 8-byte Spill
xorl %r12d, %r12d
xorl %r13d, %r13d
LBB0_9: ## =>This Inner Loop Header: Depth=1
cmpq %r13, -48(%rbp) ## 8-byte Folded Reload
je LBB0_14
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
movq $1, (%rbx,%r13,8)
incq %r13
movl $1, %edi
movl $10, %esi
movl %r14d, %edx
callq _memchr
movq %rax, %rdx
movabsq $4294967296, %rax ## imm = 0x100000000
addq %rax, %r12
testq %rdx, %rdx
je LBB0_9
## %bb.11:
sarq $32, %r12
jmp LBB0_12
.cfi_endproc
## -- End function
.no_dead_strip _fill_lines
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function fill_lines
_fill_lines: ; @fill_lines
.cfi_startproc
; %bb.0:
; kill: def $w3 killed $w3 def $x3
orr w8, w3, w1
cbz w8, LBB0_8
; %bb.1:
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
sxtw x8, w3
sub x21, x2, x8
str x2, [x0]
tbz w3, #31, LBB0_4
; %bb.2:
neg x8, x8
cmp w1, #0
mov x20, x1
csinv w23, w1, wzr, ge
mov x0, x2
mov w1, #10 ; =0xa
mov x2, x8
bl _memchr
cbz x0, LBB0_9
; %bb.3:
mov x2, x0
LBB0_4:
mov x8, #-1 ; =0xffffffffffffffff
LBB0_5:
cmp x2, x21
b.hs LBB0_7
; %bb.6:
str x2, [x19, x8, lsl #3]
LBB0_7:
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
LBB0_8:
ret
LBB0_9:
tbnz w20, #31, LBB0_7
; %bb.10:
mov w2, #1 ; =0x1
stur x2, [x19, #-8]
cmp x21, #2
b.lo LBB0_13
; %bb.11:
sub w20, w21, #1
mov w0, #1 ; =0x1
mov w1, #10 ; =0xa
mov x2, x20
bl _memchr
cbz x0, LBB0_14
; %bb.12:
mov x2, x0
LBB0_13:
mov x8, #0 ; =0x0
b LBB0_5
LBB0_14:
mov x22, #0 ; =0x0
sxtw x23, w23
mov w24, #1 ; =0x1
mov x25, #4294967296 ; =0x100000000
mov x26, x19
LBB0_15: ; =>This Inner Loop Header: Depth=1
cbz x23, LBB0_7
; %bb.16: ; in Loop: Header=BB0_15 Depth=1
str x24, [x26], #8
mov w0, #1 ; =0x1
mov w1, #10 ; =0xa
mov x2, x20
bl _memchr
add x22, x22, x25
sub x23, x23, #1
cbz x0, LBB0_15
; %bb.17:
mov x2, x0
asr x8, x22, #32
b LBB0_5
.cfi_endproc
; -- End function
.no_dead_strip _fill_lines
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _TransactionIdIsInProgress ## -- Begin function TransactionIdIsInProgress
.p2align 4, 0x90
_TransactionIdIsInProgress: ## @TransactionIdIsInProgress
.cfi_startproc
## %bb.0:
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 %edi, %ebx
movq _procArray@GOTPCREL(%rip), %r12
movq (%r12), %r13
movq _RecentXmin@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _TransactionIdPrecedes
testq %rax, %rax
je LBB0_2
## %bb.1:
xorl %r15d, %r15d
xorl %eax, %eax
callq _xc_by_recent_xmin_inc
jmp LBB0_43
LBB0_2:
movl %ebx, %edi
callq _TransactionIdIsKnownCompleted
testq %rax, %rax
je LBB0_4
## %bb.3:
xorl %r15d, %r15d
xorl %eax, %eax
callq _xc_by_known_xact_inc
jmp LBB0_43
LBB0_4:
movl %ebx, %edi
callq _TransactionIdIsCurrentTransactionId
testq %rax, %rax
je LBB0_6
## %bb.5:
xorl %eax, %eax
callq _xc_by_my_xact_inc
jmp LBB0_42
LBB0_6:
cmpq $0, _TransactionIdIsInProgress.xids(%rip)
jne LBB0_11
## %bb.7:
xorl %eax, %eax
callq _RecoveryInProgress
movq %r13, %rcx
testq %rax, %rax
je LBB0_9
## %bb.8:
movq _TOTAL_MAX_CACHED_SUBXIDS@GOTPCREL(%rip), %rcx
LBB0_9:
movl (%rcx), %edi
shll $2, %edi
callq _malloc
movq %rax, _TransactionIdIsInProgress.xids(%rip)
testq %rax, %rax
jne LBB0_11
## %bb.10:
movq _ERROR@GOTPCREL(%rip), %rax
movl (%rax), %r14d
movq _ERRCODE_OUT_OF_MEMORY@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _errcode
leaq L_.str(%rip), %rdi
callq _errmsg
movl %r14d, %edi
movl %eax, %esi
callq _ereport
LBB0_11:
movq _ProcArrayLock@GOTPCREL(%rip), %r14
movl (%r14), %edi
movq _LW_SHARED@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _LWLockAcquire
movq _ShmemVariableCache@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl (%rax), %edi
movl %ebx, %esi
callq _TransactionIdPrecedes
testq %rax, %rax
je LBB0_12
## %bb.14:
movl (%r14), %edi
callq _LWLockRelease
xorl %eax, %eax
callq _xc_by_latest_xid_inc
LBB0_42:
movl $1, %r15d
LBB0_43:
movl %r15d, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_12:
cmpl $0, 4(%r13)
js LBB0_13
## %bb.15:
xorl %r14d, %r14d
movl $0, -44(%rbp) ## 4-byte Folded Spill
jmp LBB0_16
LBB0_27: ## in Loop: Header=BB0_16 Depth=1
movq _procArray@GOTPCREL(%rip), %r12
LBB0_28: ## in Loop: Header=BB0_16 Depth=1
decq %r14
movslq 4(%r13), %rax
cmpq %rax, %r14
jg LBB0_29
LBB0_16: ## =>This Loop Header: Depth=1
## Child Loop BB0_22 Depth 2
movq 8(%r13), %rax
movslq (%rax,%r14,4), %rax
leaq (,%rax,8), %r15
movq _allProcs@GOTPCREL(%rip), %rcx
addq (%rcx), %r15
movq _MyProc@GOTPCREL(%rip), %rcx
cmpq (%rcx), %r15
je LBB0_28
## %bb.17: ## in Loop: Header=BB0_16 Depth=1
leaq (%rax,%rax,2), %rcx
shlq $3, %rcx
movq _allPgXact@GOTPCREL(%rip), %rax
addq (%rax), %rcx
movq %rcx, -56(%rbp) ## 8-byte Spill
movl 16(%rcx), %edi
callq _UINT32_ACCESS_ONCE
movl %eax, -48(%rbp) ## 4-byte Spill
movl %eax, %edi
callq _TransactionIdIsValid
testl %eax, %eax
je LBB0_28
## %bb.18: ## in Loop: Header=BB0_16 Depth=1
movl -48(%rbp), %edi ## 4-byte Reload
movl %ebx, %esi
callq _TransactionIdEquals
testq %rax, %rax
jne LBB0_19
## %bb.20: ## in Loop: Header=BB0_16 Depth=1
movl %ebx, %edi
movl -48(%rbp), %esi ## 4-byte Reload
callq _TransactionIdPrecedes
testq %rax, %rax
jne LBB0_28
## %bb.21: ## in Loop: Header=BB0_16 Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
movl (%rax), %r12d
xorl %eax, %eax
callq _pg_read_barrier
.p2align 4, 0x90
LBB0_22: ## Parent Loop BB0_16 Depth=1
## => This Inner Loop Header: Depth=2
testl %r12d, %r12d
jle LBB0_25
## %bb.23: ## in Loop: Header=BB0_22 Depth=2
movq (%r15), %rax
movl -4(%rax,%r12,4), %edi
decq %r12
callq _UINT32_ACCESS_ONCE
movl %eax, %edi
movl %ebx, %esi
callq _TransactionIdEquals
testq %rax, %rax
je LBB0_22
jmp LBB0_24
LBB0_25: ## in Loop: Header=BB0_16 Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
cmpq $0, 8(%rax)
je LBB0_27
## %bb.26: ## in Loop: Header=BB0_16 Depth=1
movq _TransactionIdIsInProgress.xids(%rip), %rax
movl -44(%rbp), %edx ## 4-byte Reload
movslq %edx, %rcx
incl %edx
movl %edx, -44(%rbp) ## 4-byte Spill
movl -48(%rbp), %edx ## 4-byte Reload
movl %edx, (%rax,%rcx,4)
jmp LBB0_27
LBB0_24:
movq _ProcArrayLock@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _LWLockRelease
xorl %eax, %eax
callq _xc_by_child_xid_inc
jmp LBB0_42
LBB0_13:
movl $0, -44(%rbp) ## 4-byte Folded Spill
LBB0_29:
xorl %eax, %eax
callq _RecoveryInProgress
testq %rax, %rax
je LBB0_30
## %bb.31:
xorl %edi, %edi
movl -44(%rbp), %r14d ## 4-byte Reload
testl %r14d, %r14d
sete %dil
callq _Assert
movl %ebx, %edi
callq _KnownAssignedXidExists
testq %rax, %rax
je LBB0_33
## %bb.32:
movq _ProcArrayLock@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _LWLockRelease
xorl %eax, %eax
callq _xc_by_known_assigned_inc
jmp LBB0_42
LBB0_30:
movl -44(%rbp), %r14d ## 4-byte Reload
jmp LBB0_35
LBB0_33:
movq (%r12), %rax
movl 16(%rax), %esi
movl %ebx, %edi
callq _TransactionIdPrecedesOrEquals
testq %rax, %rax
je LBB0_35
## %bb.34:
movq _TransactionIdIsInProgress.xids(%rip), %rdi
movl %ebx, %esi
callq _KnownAssignedXidsGet
movl %eax, %r14d
LBB0_35:
movq _ProcArrayLock@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _LWLockRelease
xorl %r15d, %r15d
xorl %eax, %eax
testl %r14d, %r14d
je LBB0_36
## %bb.37:
callq _xc_slow_answer_inc
movl %ebx, %edi
callq _TransactionIdDidAbort
testq %rax, %rax
jne LBB0_43
## %bb.38:
movl %ebx, %edi
callq _SubTransGetTopmostTransaction
movl %eax, %r12d
movl %eax, %edi
callq _TransactionIdIsValid
movl %eax, %edi
callq _Assert
movl %r12d, %edi
movl %ebx, %esi
callq _TransactionIdEquals
testq %rax, %rax
sete %al
testl %r14d, %r14d
setg %cl
andb %al, %cl
cmpb $1, %cl
jne LBB0_43
## %bb.39:
movl %r14d, %ebx
xorl %r14d, %r14d
xorl %r15d, %r15d
LBB0_41: ## =>This Inner Loop Header: Depth=1
movq _TransactionIdIsInProgress.xids(%rip), %rax
movl (%rax,%r14,4), %edi
movl %r12d, %esi
callq _TransactionIdEquals
testq %rax, %rax
jne LBB0_42
## %bb.40: ## in Loop: Header=BB0_41 Depth=1
incq %r14
cmpq %r14, %rbx
jne LBB0_41
jmp LBB0_43
LBB0_36:
callq _xc_no_overflow_inc
jmp LBB0_43
LBB0_19:
movq _ProcArrayLock@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _LWLockRelease
xorl %eax, %eax
callq _xc_by_main_xid_inc
jmp LBB0_42
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_TransactionIdIsInProgress.xids,8,3 ## @TransactionIdIsInProgress.xids
.comm _procArray,8,3 ## @procArray
.comm _RecentXmin,4,2 ## @RecentXmin
.comm _TOTAL_MAX_CACHED_SUBXIDS,4,2 ## @TOTAL_MAX_CACHED_SUBXIDS
.comm _ERROR,4,2 ## @ERROR
.comm _ERRCODE_OUT_OF_MEMORY,4,2 ## @ERRCODE_OUT_OF_MEMORY
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "out of memory"
.comm _ProcArrayLock,4,2 ## @ProcArrayLock
.comm _LW_SHARED,4,2 ## @LW_SHARED
.comm _ShmemVariableCache,8,3 ## @ShmemVariableCache
.comm _allProcs,8,3 ## @allProcs
.comm _allPgXact,8,3 ## @allPgXact
.comm _MyProc,8,3 ## @MyProc
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _TransactionIdIsInProgress ; -- Begin function TransactionIdIsInProgress
.p2align 2
_TransactionIdIsInProgress: ; @TransactionIdIsInProgress
.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, x0
Lloh0:
adrp x23, _procArray@GOTPAGE
Lloh1:
ldr x23, [x23, _procArray@GOTPAGEOFF]
ldr x24, [x23]
Lloh2:
adrp x8, _RecentXmin@GOTPAGE
Lloh3:
ldr x8, [x8, _RecentXmin@GOTPAGEOFF]
Lloh4:
ldr w1, [x8]
bl _TransactionIdPrecedes
cbz x0, LBB0_2
; %bb.1:
bl _xc_by_recent_xmin_inc
mov w0, #0 ; =0x0
b LBB0_12
LBB0_2:
mov x0, x19
bl _TransactionIdIsKnownCompleted
cbz x0, LBB0_4
; %bb.3:
bl _xc_by_known_xact_inc
mov w0, #0 ; =0x0
b LBB0_12
LBB0_4:
mov x0, x19
bl _TransactionIdIsCurrentTransactionId
cbz x0, LBB0_6
; %bb.5:
bl _xc_by_my_xact_inc
b LBB0_11
LBB0_6:
adrp x25, _TransactionIdIsInProgress.xids@PAGE
ldr x8, [x25, _TransactionIdIsInProgress.xids@PAGEOFF]
cbnz x8, LBB0_9
; %bb.7:
bl _RecoveryInProgress
Lloh5:
adrp x8, _TOTAL_MAX_CACHED_SUBXIDS@GOTPAGE
Lloh6:
ldr x8, [x8, _TOTAL_MAX_CACHED_SUBXIDS@GOTPAGEOFF]
cmp x0, #0
csel x8, x24, x8, eq
ldr w8, [x8]
lsl w0, w8, #2
bl _malloc
str x0, [x25, _TransactionIdIsInProgress.xids@PAGEOFF]
cbnz x0, LBB0_9
; %bb.8:
Lloh7:
adrp x8, _ERROR@GOTPAGE
Lloh8:
ldr x8, [x8, _ERROR@GOTPAGEOFF]
Lloh9:
ldr w20, [x8]
Lloh10:
adrp x8, _ERRCODE_OUT_OF_MEMORY@GOTPAGE
Lloh11:
ldr x8, [x8, _ERRCODE_OUT_OF_MEMORY@GOTPAGEOFF]
Lloh12:
ldr w0, [x8]
bl _errcode
Lloh13:
adrp x0, l_.str@PAGE
Lloh14:
add x0, x0, l_.str@PAGEOFF
bl _errmsg
mov x1, x0
mov x0, x20
bl _ereport
LBB0_9:
Lloh15:
adrp x20, _ProcArrayLock@GOTPAGE
Lloh16:
ldr x20, [x20, _ProcArrayLock@GOTPAGEOFF]
ldr w0, [x20]
Lloh17:
adrp x8, _LW_SHARED@GOTPAGE
Lloh18:
ldr x8, [x8, _LW_SHARED@GOTPAGEOFF]
Lloh19:
ldr w1, [x8]
bl _LWLockAcquire
Lloh20:
adrp x8, _ShmemVariableCache@GOTPAGE
Lloh21:
ldr x8, [x8, _ShmemVariableCache@GOTPAGEOFF]
Lloh22:
ldr x8, [x8]
ldr w0, [x8]
mov x1, x19
bl _TransactionIdPrecedes
cbz x0, LBB0_13
; %bb.10:
ldr w0, [x20]
bl _LWLockRelease
bl _xc_by_latest_xid_inc
LBB0_11:
mov w0, #1 ; =0x1
LBB0_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
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
LBB0_13:
ldr w8, [x24, #4]
tbnz w8, #31, LBB0_27
; %bb.14:
mov x26, #0 ; =0x0
str xzr, [sp, #8] ; 8-byte Folded Spill
Lloh23:
adrp x20, _MyProc@GOTPAGE
Lloh24:
ldr x20, [x20, _MyProc@GOTPAGEOFF]
b LBB0_18
LBB0_15: ; in Loop: Header=BB0_18 Depth=1
ldr x8, [x22, #8]
cbz x8, LBB0_25
; %bb.16: ; in Loop: Header=BB0_18 Depth=1
adrp x25, _TransactionIdIsInProgress.xids@PAGE
ldr x8, [x25, _TransactionIdIsInProgress.xids@PAGEOFF]
ldr x9, [sp, #8] ; 8-byte Folded Reload
str w21, [x8, w9, sxtw #2]
add w8, w9, #1
; kill: def $w8 killed $w8 def $x8
str x8, [sp, #8] ; 8-byte Folded Spill
LBB0_17: ; in Loop: Header=BB0_18 Depth=1
sub x26, x26, #1
ldrsw x8, [x24, #4]
cmp x26, x8
b.gt LBB0_28
LBB0_18: ; =>This Loop Header: Depth=1
; Child Loop BB0_23 Depth 2
ldr x8, [x24, #8]
ldrsw x8, [x8, x26, lsl #2]
Lloh25:
adrp x9, _allProcs@GOTPAGE
Lloh26:
ldr x9, [x9, _allProcs@GOTPAGEOFF]
Lloh27:
ldr x9, [x9]
add x28, x9, x8, lsl #3
ldr x9, [x20]
cmp x28, x9
b.eq LBB0_17
; %bb.19: ; in Loop: Header=BB0_18 Depth=1
Lloh28:
adrp x9, _allPgXact@GOTPAGE
Lloh29:
ldr x9, [x9, _allPgXact@GOTPAGEOFF]
Lloh30:
ldr x9, [x9]
mov w10, #24 ; =0x18
smaddl x22, w8, w10, x9
ldr w0, [x22, #16]
bl _UINT32_ACCESS_ONCE
mov x21, x0
bl _TransactionIdIsValid
cbz w0, LBB0_17
; %bb.20: ; in Loop: Header=BB0_18 Depth=1
mov x0, x21
mov x1, x19
bl _TransactionIdEquals
cbnz x0, LBB0_43
; %bb.21: ; in Loop: Header=BB0_18 Depth=1
mov x0, x19
mov x1, x21
bl _TransactionIdPrecedes
cbnz x0, LBB0_17
; %bb.22: ; in Loop: Header=BB0_18 Depth=1
ldr w25, [x22]
bl _pg_read_barrier
LBB0_23: ; Parent Loop BB0_18 Depth=1
; => This Inner Loop Header: Depth=2
cmp w25, #1
b.lt LBB0_15
; %bb.24: ; in Loop: Header=BB0_23 Depth=2
sub x27, x25, #1
ldr x8, [x28]
add x8, x8, x25, lsl #2
ldur w0, [x8, #-4]
bl _UINT32_ACCESS_ONCE
mov x1, x19
bl _TransactionIdEquals
mov x25, x27
cbz x0, LBB0_23
b LBB0_26
LBB0_25: ; in Loop: Header=BB0_18 Depth=1
adrp x25, _TransactionIdIsInProgress.xids@PAGE
b LBB0_17
LBB0_26:
Lloh31:
adrp x8, _ProcArrayLock@GOTPAGE
Lloh32:
ldr x8, [x8, _ProcArrayLock@GOTPAGEOFF]
Lloh33:
ldr w0, [x8]
bl _LWLockRelease
bl _xc_by_child_xid_inc
b LBB0_11
LBB0_27:
str xzr, [sp, #8] ; 8-byte Folded Spill
LBB0_28:
bl _RecoveryInProgress
cbz x0, LBB0_31
; %bb.29:
ldr x20, [sp, #8] ; 8-byte Folded Reload
cmp w20, #0
cset w0, eq
bl _Assert
mov x0, x19
bl _KnownAssignedXidExists
cbz x0, LBB0_32
; %bb.30:
Lloh34:
adrp x8, _ProcArrayLock@GOTPAGE
Lloh35:
ldr x8, [x8, _ProcArrayLock@GOTPAGEOFF]
Lloh36:
ldr w0, [x8]
bl _LWLockRelease
bl _xc_by_known_assigned_inc
b LBB0_11
LBB0_31:
ldr x20, [sp, #8] ; 8-byte Folded Reload
b LBB0_34
LBB0_32:
ldr x8, [x23]
ldr w1, [x8, #16]
mov x0, x19
bl _TransactionIdPrecedesOrEquals
cbz x0, LBB0_34
; %bb.33:
ldr x0, [x25, _TransactionIdIsInProgress.xids@PAGEOFF]
mov x1, x19
bl _KnownAssignedXidsGet
mov x20, x0
LBB0_34:
Lloh37:
adrp x8, _ProcArrayLock@GOTPAGE
Lloh38:
ldr x8, [x8, _ProcArrayLock@GOTPAGEOFF]
Lloh39:
ldr w0, [x8]
bl _LWLockRelease
cbz w20, LBB0_37
; %bb.35:
bl _xc_slow_answer_inc
mov x0, x19
bl _TransactionIdDidAbort
cbz x0, LBB0_38
; %bb.36:
mov w0, #0 ; =0x0
b LBB0_12
LBB0_37:
bl _xc_no_overflow_inc
mov w0, #0 ; =0x0
b LBB0_12
LBB0_38:
mov x0, x19
bl _SubTransGetTopmostTransaction
mov x21, x0
bl _TransactionIdIsValid
bl _Assert
mov x0, x21
mov x1, x19
bl _TransactionIdEquals
mov x8, x0
mov w0, #0 ; =0x0
cbnz x8, LBB0_12
; %bb.39:
cmp w20, #1
b.lt LBB0_12
; %bb.40:
mov x19, #0 ; =0x0
ubfiz x20, x20, #2, #32
LBB0_41: ; =>This Inner Loop Header: Depth=1
ldr x8, [x25, _TransactionIdIsInProgress.xids@PAGEOFF]
ldr w0, [x8, x19]
mov x1, x21
bl _TransactionIdEquals
cbnz x0, LBB0_11
; %bb.42: ; in Loop: Header=BB0_41 Depth=1
add x19, x19, #4
cmp x20, x19
b.ne LBB0_41
b LBB0_12
LBB0_43:
Lloh40:
adrp x8, _ProcArrayLock@GOTPAGE
Lloh41:
ldr x8, [x8, _ProcArrayLock@GOTPAGEOFF]
Lloh42:
ldr w0, [x8]
bl _LWLockRelease
bl _xc_by_main_xid_inc
b LBB0_11
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpLdrGot Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36
.loh AdrpLdrGotLdr Lloh37, Lloh38, Lloh39
.loh AdrpLdrGotLdr Lloh40, Lloh41, Lloh42
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_TransactionIdIsInProgress.xids,8,3 ; @TransactionIdIsInProgress.xids
.comm _procArray,8,3 ; @procArray
.comm _RecentXmin,4,2 ; @RecentXmin
.comm _TOTAL_MAX_CACHED_SUBXIDS,4,2 ; @TOTAL_MAX_CACHED_SUBXIDS
.comm _ERROR,4,2 ; @ERROR
.comm _ERRCODE_OUT_OF_MEMORY,4,2 ; @ERRCODE_OUT_OF_MEMORY
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "out of memory"
.comm _ProcArrayLock,4,2 ; @ProcArrayLock
.comm _LW_SHARED,4,2 ; @LW_SHARED
.comm _ShmemVariableCache,8,3 ; @ShmemVariableCache
.comm _allProcs,8,3 ; @allProcs
.comm _allPgXact,8,3 ; @allPgXact
.comm _MyProc,8,3 ; @MyProc
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _isort ## -- Begin function isort
.p2align 4, 0x90
_isort: ## @isort
.cfi_startproc
## %bb.0:
## kill: def $edi killed $edi def $rdi
cmpl %esi, %edi
jge LBB0_13
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %ebx
movq _X@GOTPCREL(%rip), %r14
movl %edi, %r15d
jmp LBB0_2
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_2 Depth=1
## kill: def $edi killed $edi killed $rdi
callq _isort
movl %r15d, %edi
cmpl %ebx, %r15d
jge LBB0_12
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
## Child Loop BB0_4 Depth 3
## Child Loop BB0_6 Depth 3
movq (%r14), %rax
leal (%rdi,%rbx), %ecx
sarl %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rcx
movl (%rcx), %ecx
movl %ebx, %esi
jmp LBB0_3
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_3 Depth=2
movq %r11, (%rax,%r8,8)
movq (%r14), %rax
movq %r9, (%rax,%r10,8)
movq (%r14), %rax
movl %edx, %r15d
cmpl %esi, %r15d
jg LBB0_11
LBB0_3: ## Parent Loop BB0_2 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_4 Depth 3
## Child Loop BB0_6 Depth 3
movslq %r15d, %r8
decq %r8
movl %r15d, %edx
.p2align 4, 0x90
LBB0_4: ## Parent Loop BB0_2 Depth=1
## Parent Loop BB0_3 Depth=2
## => This Inner Loop Header: Depth=3
movq 8(%rax,%r8,8), %r9
incl %edx
incq %r8
cmpl %ecx, (%r9)
jg LBB0_4
## %bb.5: ## in Loop: Header=BB0_3 Depth=2
leal -1(%rdx), %r15d
movslq %esi, %r10
incq %r10
.p2align 4, 0x90
LBB0_6: ## Parent Loop BB0_2 Depth=1
## Parent Loop BB0_3 Depth=2
## => This Inner Loop Header: Depth=3
movq -8(%rax,%r10,8), %r11
decq %r10
decl %esi
cmpl %ecx, (%r11)
jl LBB0_6
## %bb.7: ## in Loop: Header=BB0_3 Depth=2
cmpq %r10, %r8
jle LBB0_9
## %bb.8: ## in Loop: Header=BB0_3 Depth=2
incl %esi
cmpl %esi, %r15d
jle LBB0_3
jmp LBB0_11
LBB0_12:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
LBB0_13:
retq
.cfi_endproc
## -- End function
.comm _X,8,3 ## @X
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _isort ; -- Begin function isort
.p2align 2
_isort: ; @isort
.cfi_startproc
; %bb.0:
cmp w0, w1
b.ge LBB0_12
; %bb.1:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
Lloh0:
adrp x20, _X@GOTPAGE
Lloh1:
ldr x20, [x20, _X@GOTPAGEOFF]
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
; kill: def $w1 killed $w1 killed $x1
bl _isort
mov x0, x21
cmp w21, w19
b.ge LBB0_11
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_5 Depth 2
; Child Loop BB0_6 Depth 3
; Child Loop BB0_8 Depth 3
ldr x9, [x20]
add w8, w0, w19
asr w8, w8, #1
ldr x8, [x9, w8, sxtw #3]
ldr w8, [x8]
mov x1, x19
mov x21, x0
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_5 Depth=2
stur x14, [x12, #-8]
ldr x9, [x20]
add x9, x9, x1, lsl #3
str x11, [x9, #8]
ldr x9, [x20]
mov x21, x10
cmp w21, w1
b.gt LBB0_2
LBB0_5: ; Parent Loop BB0_3 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_6 Depth 3
; Child Loop BB0_8 Depth 3
sxtw x10, w21
LBB0_6: ; Parent Loop BB0_3 Depth=1
; Parent Loop BB0_5 Depth=2
; => This Inner Loop Header: Depth=3
ldr x11, [x9, x10, lsl #3]
ldr w12, [x11]
add x10, x10, #1
cmp w12, w8
b.gt LBB0_6
; %bb.7: ; in Loop: Header=BB0_5 Depth=2
add x12, x9, x10, lsl #3
sub w21, w10, #1
; kill: def $w1 killed $w1 killed $x1 def $x1
sxtw x1, w1
sub x13, x10, #1
LBB0_8: ; Parent Loop BB0_3 Depth=1
; Parent Loop BB0_5 Depth=2
; => This Inner Loop Header: Depth=3
ldr x14, [x9, x1, lsl #3]
ldr w15, [x14]
sub x1, x1, #1
cmp w15, w8
b.lt LBB0_8
; %bb.9: ; in Loop: Header=BB0_5 Depth=2
add x15, x1, #1
cmp x13, x15
b.le LBB0_4
; %bb.10: ; in Loop: Header=BB0_5 Depth=2
add w1, w1, #1
cmp w21, w1
b.le LBB0_5
b LBB0_2
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
LBB0_12:
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _X,8,3 ; @X
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function ixgbe_free_irq
_ixgbe_free_irq: ## @ixgbe_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 %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movq _IXGBE_FLAG_MSIX_ENABLED@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, (%rdi)
je LBB0_3
## %bb.1:
cmpl $0, 4(%rbx)
js LBB0_2
## %bb.4:
xorl %r15d, %r15d
jmp LBB0_5
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_5 Depth=1
movl (%r12,%r15,4), %edi
xorl %esi, %esi
callq _irq_set_affinity_hint
movl (%r12,%r15,4), %edi
movq %r14, %rsi
callq _free_irq
decq %r15
movslq 4(%rbx), %rax
cmpq %rax, %r15
jg LBB0_8
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq 8(%rbx), %r12
movq 24(%rbx), %rax
movq (%rax,%r15,8), %r14
cmpl $0, 20(%r14)
jne LBB0_7
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
cmpl $0, 16(%r14)
jne LBB0_7
LBB0_8:
movslq %r15d, %rax
jmp LBB0_9
LBB0_3:
movq 32(%rbx), %rax
jmp LBB0_10
LBB0_2:
xorl %eax, %eax
LBB0_9:
shlq $2, %rax
addq 8(%rbx), %rax
LBB0_10:
movl (%rax), %edi
movq %rbx, %rsi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _free_irq ## TAILCALL
.cfi_endproc
## -- End function
.comm _IXGBE_FLAG_MSIX_ENABLED,4,2 ## @IXGBE_FLAG_MSIX_ENABLED
.no_dead_strip _ixgbe_free_irq
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function ixgbe_free_irq
_ixgbe_free_irq: ; @ixgbe_free_irq
.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]
Lloh0:
adrp x9, _IXGBE_FLAG_MSIX_ENABLED@GOTPAGE
Lloh1:
ldr x9, [x9, _IXGBE_FLAG_MSIX_ENABLED@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_7
; %bb.1:
ldr w8, [x19, #4]
tbnz w8, #31, LBB0_8
; %bb.2:
mov x21, #0 ; =0x0
b LBB0_4
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
ldr w0, [x22, x21, lsl #2]
mov x1, #0 ; =0x0
bl _irq_set_affinity_hint
ldr w0, [x22, x21, lsl #2]
mov x1, x20
bl _free_irq
sub x21, x21, #1
ldrsw x8, [x19, #4]
cmp x21, x8
b.gt LBB0_6
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #24]
ldr x20, [x8, x21, lsl #3]
ldr x22, [x19, #8]
ldr w8, [x20, #20]
cbnz w8, LBB0_3
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [x20, #16]
cbnz w8, LBB0_3
LBB0_6:
sxtw x8, w21
b LBB0_9
LBB0_7:
ldr x8, [x19, #32]
b LBB0_10
LBB0_8:
mov x8, #0 ; =0x0
LBB0_9:
ldr x9, [x19, #8]
add x8, x9, x8, lsl #2
LBB0_10:
ldr w0, [x8]
mov x1, 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 _free_irq
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _IXGBE_FLAG_MSIX_ENABLED,4,2 ; @IXGBE_FLAG_MSIX_ENABLED
.no_dead_strip _ixgbe_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 create_huffman_tbl
_create_huffman_tbl: ## @create_huffman_tbl
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
testl %edx, %edx
jne LBB0_1
## %bb.2:
movq _JDR_OK@GOTPCREL(%rip), %rax
jmp LBB0_3
LBB0_1:
movq _JDR_FMT1@GOTPCREL(%rip), %rax
LBB0_3:
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _JDR_FMT1,4,2 ## @JDR_FMT1
.comm _JDR_MEM1,4,2 ## @JDR_MEM1
.comm _JDR_OK,4,2 ## @JDR_OK
.no_dead_strip _create_huffman_tbl
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function create_huffman_tbl
_create_huffman_tbl: ; @create_huffman_tbl
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _JDR_OK@GOTPAGE
Lloh1:
ldr x8, [x8, _JDR_OK@GOTPAGEOFF]
Lloh2:
adrp x9, _JDR_FMT1@GOTPAGE
Lloh3:
ldr x9, [x9, _JDR_FMT1@GOTPAGEOFF]
cmp w2, #0
csel x8, x8, x9, eq
ldr w0, [x8]
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _JDR_FMT1,4,2 ; @JDR_FMT1
.comm _JDR_MEM1,4,2 ; @JDR_MEM1
.comm _JDR_OK,4,2 ; @JDR_OK
.no_dead_strip _create_huffman_tbl
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function get_token
_get_token: ## @get_token
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r14
movq %rsi, %rbx
movl %edi, %r15d
cmpl %edi, (%rsi)
jge LBB0_1
## %bb.2:
movq 8(%rbx), %rax
movslq %r15d, %r13
movsbl (%rax,%r13), %edi
callq _is_name_beginner
testq %rax, %rax
jne LBB0_3
jmp LBB0_12
LBB0_1:
movslq %r15d, %r13
LBB0_3:
movq 8(%rbx), %rax
leal -1(%r15), %r12d
movsbl (%rax,%r13), %esi
movq %r14, %rdi
callq _sb_add_char
movl (%rbx), %eax
cmpl %r15d, %eax
jl LBB0_8
## %bb.4:
movslq %r12d, %r12
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq 8(%rbx), %rax
movsbl (%rax,%r12), %edi
callq _is_part_of_name
testq %rax, %rax
je LBB0_6
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movq 8(%rbx), %rax
movsbl (%rax,%r12), %esi
incq %r12
movq %r14, %rdi
callq _sb_add_char
movslq (%rbx), %rax
cmpq %rax, %r12
jl LBB0_5
LBB0_8:
cmpl %eax, %r12d
jl LBB0_9
jmp LBB0_11
LBB0_6:
movl (%rbx), %eax
cmpl %eax, %r12d
jge LBB0_11
LBB0_9:
movq 8(%rbx), %rax
movslq %r12d, %r15
movsbl (%rax,%r15), %edi
callq _is_name_ender
testq %rax, %rax
je LBB0_11
## %bb.10:
movq 8(%rbx), %rax
incl %r12d
movsbl (%rax,%r15), %esi
movq %r14, %rdi
callq _sb_add_char
LBB0_11:
movl %r12d, %r15d
LBB0_12:
movq _macro_alternate@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB0_15
## %bb.13:
cmpl (%rbx), %r15d
jge LBB0_15
## %bb.14:
movq 8(%rbx), %rax
movslq %r15d, %rcx
xorl %edx, %edx
cmpb $38, (%rax,%rcx)
sete %dl
addl %r15d, %edx
movl %edx, %r15d
LBB0_15:
movl %r15d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _macro_alternate,8,3 ## @macro_alternate
.no_dead_strip _get_token
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function get_token
_get_token: ; @get_token
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x20, x2
mov x19, x1
mov x21, x0
ldr w8, [x1]
cmp w8, w0
b.ge LBB0_2
; %bb.1:
ldr x8, [x19, #8]
mov x9, x21
sxtw x22, w9
ldrsb w0, [x8, x22]
bl _is_name_beginner
cbnz x0, LBB0_3
b LBB0_13
LBB0_2:
mov x8, x21
sxtw x22, w8
LBB0_3:
ldr x8, [x19, #8]
sub w23, w21, #1
ldrsb w1, [x8, x22]
mov x0, x20
bl _sb_add_char
ldr w8, [x19]
cmp w8, w21
b.ge LBB0_5
; %bb.4:
mov x21, x23
cmp w21, w8
b.lt LBB0_11
b LBB0_13
LBB0_5:
sxtw x21, w23
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #8]
ldrsb w0, [x8, x21]
bl _is_part_of_name
cbz x0, LBB0_9
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
ldr x8, [x19, #8]
add x22, x21, #1
ldrsb w1, [x8, x21]
mov x0, x20
bl _sb_add_char
ldrsw x8, [x19]
mov x21, x22
cmp x22, x8
b.lt LBB0_6
; %bb.8:
mov x21, x22
b LBB0_10
LBB0_9:
ldr w8, [x19]
LBB0_10:
; kill: def $w21 killed $w21 killed $x21 def $x21
cmp w21, w8
b.ge LBB0_13
LBB0_11:
ldr x8, [x19, #8]
ldrsb w0, [x8, w21, sxtw]
bl _is_name_ender
cbz x0, LBB0_13
; %bb.12:
ldr x8, [x19, #8]
add w22, w21, #1
ldrsb w1, [x8, w21, sxtw]
mov x0, x20
bl _sb_add_char
mov x21, x22
LBB0_13:
Lloh0:
adrp x8, _macro_alternate@GOTPAGE
Lloh1:
ldr x8, [x8, _macro_alternate@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cbz x8, LBB0_16
; %bb.14:
ldr w8, [x19]
cmp w21, w8
b.ge LBB0_16
; %bb.15:
ldr x8, [x19, #8]
ldrb w8, [x8, w21, sxtw]
cmp w8, #38
cinc w21, w21, eq
LBB0_16:
mov x0, x21
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _macro_alternate,8,3 ; @macro_alternate
.no_dead_strip _get_token
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function iscsit_randomize_seq_lists
_iscsit_randomize_seq_lists: ## @iscsit_randomize_seq_lists
.cfi_startproc
## %bb.0:
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
movq _PDULIST_IMMEDIATE@GOTPCREL(%rip), %rax
cmpq %rsi, (%rax)
je LBB0_2
## %bb.1:
movq _PDULIST_UNSOLICITED@GOTPCREL(%rip), %rax
cmpq %rsi, (%rax)
je LBB0_2
## %bb.3:
movq _PDULIST_IMMEDIATE_AND_UNSOLICITED@GOTPCREL(%rip), %rax
cmpq %rsi, (%rax)
leal -2(%r12), %eax
cmovnel %r12d, %eax
movl %eax, %r12d
jmp LBB0_4
LBB0_2:
decl %r12d
LBB0_4:
xorl %ebx, %ebx
testl %r12d, %r12d
je LBB0_21
## %bb.5:
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl %r12d, %edi
movl $4, %esi
callq _kcalloc
testq %rax, %rax
je LBB0_6
## %bb.7:
movq %rax, %r14
movq %rax, %rdi
movl %r12d, %esi
callq _iscsit_create_random_array
movl (%r15), %edi
testl %edi, %edi
js LBB0_20
## %bb.8:
movq 8(%r15), %rax
movq _SEQTYPE_NORMAL@GOTPCREL(%rip), %rcx
movq (%rcx), %rdx
leaq 1(%rdi), %rsi
xorl %ecx, %ecx
testq %rdi, %rdi
je LBB0_9
## %bb.10:
movl %esi, %r8d
andl $-2, %r8d
leaq 24(%rax), %r9
xorl %edi, %edi
jmp LBB0_11
.p2align 4, 0x90
LBB0_15: ## in Loop: Header=BB0_11 Depth=1
addq $2, %rdi
addq $32, %r9
cmpq %rdi, %r8
je LBB0_16
LBB0_11: ## =>This Inner Loop Header: Depth=1
cmpq %rdx, -24(%r9)
jne LBB0_13
## %bb.12: ## in Loop: Header=BB0_11 Depth=1
movslq %ecx, %r10
incl %ecx
movl (%r14,%r10,4), %r10d
movl %r10d, -16(%r9)
LBB0_13: ## in Loop: Header=BB0_11 Depth=1
cmpq %rdx, -8(%r9)
jne LBB0_15
## %bb.14: ## in Loop: Header=BB0_11 Depth=1
movslq %ecx, %r10
incl %ecx
movl (%r14,%r10,4), %r10d
movl %r10d, (%r9)
jmp LBB0_15
LBB0_6:
leaq L_.str(%rip), %rdi
callq _pr_err
movq _ENOMEM@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
subl (%rax), %ebx
jmp LBB0_21
LBB0_16:
movslq %ecx, %rcx
testb $1, %sil
jne LBB0_18
jmp LBB0_20
LBB0_9:
xorl %edi, %edi
testb $1, %sil
je LBB0_20
LBB0_18:
shlq $4, %rdi
cmpq %rdx, (%rax,%rdi)
jne LBB0_20
## %bb.19:
addq %rdi, %rax
movl (%r14,%rcx,4), %ecx
movl %ecx, 8(%rax)
LBB0_20:
movq %r14, %rdi
callq _kfree
LBB0_21:
movl %ebx, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PDULIST_IMMEDIATE,8,3 ## @PDULIST_IMMEDIATE
.comm _PDULIST_UNSOLICITED,8,3 ## @PDULIST_UNSOLICITED
.comm _PDULIST_IMMEDIATE_AND_UNSOLICITED,8,3 ## @PDULIST_IMMEDIATE_AND_UNSOLICITED
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Unable to allocate memory for random array.\n"
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _SEQTYPE_NORMAL,8,3 ## @SEQTYPE_NORMAL
.no_dead_strip _iscsit_randomize_seq_lists
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function iscsit_randomize_seq_lists
_iscsit_randomize_seq_lists: ; @iscsit_randomize_seq_lists
.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, x0
ldr w8, [x0]
Lloh0:
adrp x9, _PDULIST_IMMEDIATE@GOTPAGE
Lloh1:
ldr x9, [x9, _PDULIST_IMMEDIATE@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
Lloh3:
adrp x10, _PDULIST_UNSOLICITED@GOTPAGE
Lloh4:
ldr x10, [x10, _PDULIST_UNSOLICITED@GOTPAGEOFF]
Lloh5:
ldr x10, [x10]
cmp x9, x1
ccmp x10, x1, #4, ne
b.ne LBB0_2
; %bb.1:
sub w21, w8, #1
cbnz w21, LBB0_3
b LBB0_10
LBB0_2:
Lloh6:
adrp x9, _PDULIST_IMMEDIATE_AND_UNSOLICITED@GOTPAGE
Lloh7:
ldr x9, [x9, _PDULIST_IMMEDIATE_AND_UNSOLICITED@GOTPAGEOFF]
Lloh8:
ldr x9, [x9]
sub w10, w8, #2
cmp x9, x1
csel w21, w10, w8, eq
cbz w21, LBB0_10
LBB0_3:
Lloh9:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh10:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh11:
ldr w2, [x8]
mov x0, x21
mov w1, #4 ; =0x4
bl _kcalloc
cbz x0, LBB0_11
; %bb.4:
mov x19, x0
mov x1, x21
bl _iscsit_create_random_array
ldr w10, [x20]
tbnz w10, #31, LBB0_9
; %bb.5:
mov w8, #0 ; =0x0
ldr x11, [x20, #8]
Lloh12:
adrp x9, _SEQTYPE_NORMAL@GOTPAGE
Lloh13:
ldr x9, [x9, _SEQTYPE_NORMAL@GOTPAGEOFF]
Lloh14:
ldr x9, [x9]
add x10, x10, #1
add x11, x11, #8
b LBB0_7
LBB0_6: ; in Loop: Header=BB0_7 Depth=1
add x11, x11, #16
subs x10, x10, #1
b.eq LBB0_9
LBB0_7: ; =>This Inner Loop Header: Depth=1
ldur x12, [x11, #-8]
cmp x12, x9
b.ne LBB0_6
; %bb.8: ; in Loop: Header=BB0_7 Depth=1
ldr w12, [x19, w8, sxtw #2]
add w8, w8, #1
str w12, [x11]
b LBB0_6
LBB0_9:
mov x0, x19
bl _kfree
LBB0_10:
mov w0, #0 ; =0x0
b LBB0_12
LBB0_11:
Lloh15:
adrp x0, l_.str@PAGE
Lloh16:
add x0, x0, l_.str@PAGEOFF
bl _pr_err
Lloh17:
adrp x8, _ENOMEM@GOTPAGE
Lloh18:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh19:
ldr w8, [x8]
neg w0, w8
LBB0_12:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpAdd Lloh15, Lloh16
.cfi_endproc
; -- End function
.comm _PDULIST_IMMEDIATE,8,3 ; @PDULIST_IMMEDIATE
.comm _PDULIST_UNSOLICITED,8,3 ; @PDULIST_UNSOLICITED
.comm _PDULIST_IMMEDIATE_AND_UNSOLICITED,8,3 ; @PDULIST_IMMEDIATE_AND_UNSOLICITED
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Unable to allocate memory for random array.\n"
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _SEQTYPE_NORMAL,8,3 ; @SEQTYPE_NORMAL
.no_dead_strip _iscsit_randomize_seq_lists
.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_ms_information
LCPI0_0:
.long 1 ## 0x1
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.section __TEXT,__literal4,4byte_literals
.p2align 2, 0x0
LCPI0_1:
.long 1 ## 0x1
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_get_ms_information: ## @get_ms_information
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %rbx
callq _SCSI_LUN
movl %eax, %r15d
movq %r14, %rdi
movl %eax, %esi
callq _check_card_ready
testl %eax, %eax
je LBB0_1
## %bb.3:
movq %r14, %rdi
movl %r15d, %esi
callq _get_lun_card
movq _MS_CARD@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_4
## %bb.5:
movq (%rbx), %rax
cmpl $176, 8(%rax)
je LBB0_7
## %bb.6:
cmpl $77, 16(%rax)
jne LBB0_10
LBB0_7:
cmpl $83, 20(%rax)
jne LBB0_10
## %bb.8:
cmpl $73, 24(%rax)
jne LBB0_10
## %bb.9:
cmpl $68, 28(%rax)
jne LBB0_10
## %bb.11:
movl 12(%rax), %r13d
movq %r14, %rdi
callq _CHK_MSXC
testq %rax, %rax
setne %al
cmpl $16, %r13d
sete %cl
testb %cl, %al
jne LBB0_10
## %bb.12:
movq %r14, %rdi
callq _CHK_MSXC
testq %rax, %rax
sete %al
cmpl $19, %r13d
sete %cl
testb %cl, %al
jne LBB0_10
## %bb.13:
movq %r14, %rdi
callq _CHK_MSPRO
testl %eax, %eax
je LBB0_10
## %bb.14:
cmpl $21, %r13d
movl $58, %eax
movl $106, %r12d
cmovel %eax, %r12d
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl %r12d, %edi
callq _kmalloc
testq %rax, %rax
je LBB0_15
## %bb.16:
movq %rax, %r15
movl $0, (%rax)
movl %r12d, 4(%rax)
movq %r14, %rdi
callq _CHK_MSXC
cmpq $1, %rax
movl $3, %eax
sbbl $0, %eax
cmpl $21, %r13d
movl %eax, 8(%r15)
movss LCPI0_1(%rip), %xmm0 ## xmm0 = [1,0,0,0]
movups %xmm0, 12(%r15)
movl $1, 28(%r15)
movl %r13d, 32(%r15)
movl $49, %eax
movl $97, %ecx
cmovel %eax, %ecx
movl $0, 36(%r15)
movl %ecx, 40(%r15)
movl $128, 44(%r15)
cmpl $19, %r13d
je LBB0_18
## %bb.17:
cmpl $16, %r13d
jne LBB0_19
LBB0_18:
movq %r15, %rdi
addq $-48, %rdi
movl 4(%r14), %esi
movl $96, %edx
callq _memcpy
movq %r15, %rdi
movl $106, %esi
movq %rbx, %rdx
callq _rtsx_stor_set_xfer_buf
LBB0_20:
movq $-108, %r14
LBB0_21:
movq %rbx, %rdi
callq _scsi_bufflen
addq %rax, %r14
movq %rbx, %rdi
movq %r14, %rsi
callq _scsi_set_resid
movq %r15, %rdi
callq _kfree
movq _STATUS_SUCCESS@GOTPCREL(%rip), %rax
jmp LBB0_22
LBB0_1:
movq _SENSE_TYPE_MEDIA_NOT_PRESENT@GOTPCREL(%rip), %rax
jmp LBB0_2
LBB0_4:
movq _SENSE_TYPE_MEDIA_LUN_NOT_SUPPORT@GOTPCREL(%rip), %rax
jmp LBB0_2
LBB0_10:
movq _SENSE_TYPE_MEDIA_INVALID_CMD_FIELD@GOTPCREL(%rip), %rax
LBB0_2:
movl (%rax), %edx
movq %r14, %rdi
movl %r15d, %esi
callq _set_sense_type
movq _TRANSPORT_FAILED@GOTPCREL(%rip), %rax
LBB0_22:
movl (%rax), %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_15:
movq _TRANSPORT_ERROR@GOTPCREL(%rip), %rax
jmp LBB0_22
LBB0_19:
movq %r15, %rdi
addq $48, %rdi
movl (%r14), %esi
movl $48, %edx
callq _memcpy
movq %r15, %rdi
movl %r12d, %esi
movq %rbx, %rdx
callq _rtsx_stor_set_xfer_buf
movq $-60, %r14
cmpl $21, %r13d
jne LBB0_20
jmp LBB0_21
.cfi_endproc
## -- End function
.comm _SENSE_TYPE_MEDIA_NOT_PRESENT,4,2 ## @SENSE_TYPE_MEDIA_NOT_PRESENT
.comm _TRANSPORT_FAILED,4,2 ## @TRANSPORT_FAILED
.comm _MS_CARD,8,3 ## @MS_CARD
.comm _SENSE_TYPE_MEDIA_LUN_NOT_SUPPORT,4,2 ## @SENSE_TYPE_MEDIA_LUN_NOT_SUPPORT
.comm _SENSE_TYPE_MEDIA_INVALID_CMD_FIELD,4,2 ## @SENSE_TYPE_MEDIA_INVALID_CMD_FIELD
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _TRANSPORT_ERROR,4,2 ## @TRANSPORT_ERROR
.comm _STATUS_SUCCESS,4,2 ## @STATUS_SUCCESS
.no_dead_strip _get_ms_information
.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_ms_information
lCPI0_0:
.long 1 ; 0x1
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.section __TEXT,__text,regular,pure_instructions
.p2align 2
_get_ms_information: ; @get_ms_information
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x20, x1
mov x19, x0
bl _SCSI_LUN
mov x21, x0
mov x0, x20
mov x1, x21
bl _check_card_ready
cbz w0, LBB0_18
; %bb.1:
mov x0, x20
mov x1, x21
bl _get_lun_card
Lloh0:
adrp x8, _MS_CARD@GOTPAGE
Lloh1:
ldr x8, [x8, _MS_CARD@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_19
; %bb.2:
ldr x8, [x19]
ldr w9, [x8, #8]
cmp w9, #176
b.eq LBB0_4
; %bb.3:
ldr w9, [x8, #16]
cmp w9, #77
b.ne LBB0_20
LBB0_4:
ldr w9, [x8, #20]
cmp w9, #83
b.ne LBB0_20
; %bb.5:
ldr w9, [x8, #24]
cmp w9, #73
b.ne LBB0_20
; %bb.6:
ldr w9, [x8, #28]
cmp w9, #68
b.ne LBB0_20
; %bb.7:
ldr w23, [x8, #12]
mov x0, x20
bl _CHK_MSXC
cbz x0, LBB0_9
; %bb.8:
cmp w23, #16
b.eq LBB0_20
LBB0_9:
mov x0, x20
bl _CHK_MSXC
cbnz x0, LBB0_11
; %bb.10:
cmp w23, #19
b.eq LBB0_20
LBB0_11:
mov x0, x20
bl _CHK_MSPRO
cbz w0, LBB0_20
; %bb.12:
mov w8, #106 ; =0x6a
mov w9, #58 ; =0x3a
cmp w23, #21
csel w22, w9, w8, eq
Lloh3:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh4:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
mov x0, x22
bl _kmalloc
cbz x0, LBB0_23
; %bb.13:
mov x21, x0
stp wzr, w22, [x0]
mov x0, x20
bl _CHK_MSXC
cmp x0, #0
mov w8, #2 ; =0x2
cinc w8, w8, ne
str w8, [x21, #8]
Lloh6:
adrp x8, lCPI0_0@PAGE
Lloh7:
ldr q0, [x8, lCPI0_0@PAGEOFF]
stur q0, [x21, #12]
mov w8, #1 ; =0x1
stp w8, w23, [x21, #28]
mov w8, #97 ; =0x61
mov w9, #49 ; =0x31
cmp w23, #21
csel w8, w9, w8, eq
stp wzr, w8, [x21, #36]
mov w8, #128 ; =0x80
str w8, [x21, #44]
cmp w23, #19
b.eq LBB0_15
; %bb.14:
cmp w23, #16
b.ne LBB0_24
LBB0_15:
sub x0, x21, #48
ldr w1, [x20, #4]
mov w2, #96 ; =0x60
bl _memcpy
mov x0, x21
mov w1, #106 ; =0x6a
mov x2, x19
bl _rtsx_stor_set_xfer_buf
LBB0_16:
mov x20, #-108 ; =0xffffffffffffff94
LBB0_17:
mov x0, x19
bl _scsi_bufflen
add x1, x0, x20
mov x0, x19
bl _scsi_set_resid
mov x0, x21
bl _kfree
Lloh8:
adrp x8, _STATUS_SUCCESS@GOTPAGE
Lloh9:
ldr x8, [x8, _STATUS_SUCCESS@GOTPAGEOFF]
b LBB0_22
LBB0_18:
Lloh10:
adrp x8, _SENSE_TYPE_MEDIA_NOT_PRESENT@GOTPAGE
Lloh11:
ldr x8, [x8, _SENSE_TYPE_MEDIA_NOT_PRESENT@GOTPAGEOFF]
b LBB0_21
LBB0_19:
Lloh12:
adrp x8, _SENSE_TYPE_MEDIA_LUN_NOT_SUPPORT@GOTPAGE
Lloh13:
ldr x8, [x8, _SENSE_TYPE_MEDIA_LUN_NOT_SUPPORT@GOTPAGEOFF]
b LBB0_21
LBB0_20:
Lloh14:
adrp x8, _SENSE_TYPE_MEDIA_INVALID_CMD_FIELD@GOTPAGE
Lloh15:
ldr x8, [x8, _SENSE_TYPE_MEDIA_INVALID_CMD_FIELD@GOTPAGEOFF]
LBB0_21:
ldr w2, [x8]
mov x0, x20
mov x1, x21
bl _set_sense_type
Lloh16:
adrp x8, _TRANSPORT_FAILED@GOTPAGE
Lloh17:
ldr x8, [x8, _TRANSPORT_FAILED@GOTPAGEOFF]
LBB0_22:
ldr w0, [x8]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
LBB0_23:
Lloh18:
adrp x8, _TRANSPORT_ERROR@GOTPAGE
Lloh19:
ldr x8, [x8, _TRANSPORT_ERROR@GOTPAGEOFF]
b LBB0_22
LBB0_24:
ldr w1, [x20]
add x0, x21, #48
mov w2, #48 ; =0x30
bl _memcpy
mov x0, x21
mov x1, x22
mov x2, x19
bl _rtsx_stor_set_xfer_buf
cmp w23, #21
b.ne LBB0_16
; %bb.25:
mov x20, #-60 ; =0xffffffffffffffc4
b LBB0_17
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdr Lloh6, Lloh7
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGot Lloh18, Lloh19
.cfi_endproc
; -- End function
.comm _SENSE_TYPE_MEDIA_NOT_PRESENT,4,2 ; @SENSE_TYPE_MEDIA_NOT_PRESENT
.comm _TRANSPORT_FAILED,4,2 ; @TRANSPORT_FAILED
.comm _MS_CARD,8,3 ; @MS_CARD
.comm _SENSE_TYPE_MEDIA_LUN_NOT_SUPPORT,4,2 ; @SENSE_TYPE_MEDIA_LUN_NOT_SUPPORT
.comm _SENSE_TYPE_MEDIA_INVALID_CMD_FIELD,4,2 ; @SENSE_TYPE_MEDIA_INVALID_CMD_FIELD
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _TRANSPORT_ERROR,4,2 ; @TRANSPORT_ERROR
.comm _STATUS_SUCCESS,4,2 ; @STATUS_SUCCESS
.no_dead_strip _get_ms_information
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _do_import_card ## -- Begin function do_import_card
.p2align 4, 0x90
_do_import_card: ## @do_import_card
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rcx, %rbx
movq %rdx, %r14
xorl %edi, %edi
cmpl $1, %esi
sete %dil
callq _assert
movq (%r14), %r14
movq %r14, %rdi
callq _strlen
## kill: def $eax killed $eax def $rax
testl %eax, %eax
jle LBB0_11
## %bb.1:
leal 1(%rax), %esi
movl %esi, %ecx
andl $3, %ecx
cmpl $3, %eax
jae LBB0_3
## %bb.2:
xorl %edx, %edx
xorl %eax, %eax
jmp LBB0_5
LBB0_11:
popq %rbx
popq %r14
popq %rbp
retq
LBB0_3:
andl $-4, %esi
xorl %edx, %edx
xorl %eax, %eax
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movsbl (%r14,%rdx), %edi
shll $4, %eax
addl %edi, %eax
shll $4, %eax
movsbl 1(%r14,%rdx), %edi
addl %eax, %edi
shll $4, %edi
movsbl 2(%r14,%rdx), %eax
addl %edi, %eax
shll $4, %eax
movsbl 3(%r14,%rdx), %edi
addl %edi, %eax
addl $-209712, %eax ## imm = 0xFFFCCCD0
addq $4, %rdx
cmpq %rdx, %rsi
jne LBB0_4
LBB0_5:
testq %rcx, %rcx
je LBB0_8
## %bb.6:
addq %rdx, %r14
xorl %edx, %edx
.p2align 4, 0x90
LBB0_7: ## =>This Inner Loop Header: Depth=1
movsbl (%r14,%rdx), %esi
shll $4, %eax
addl %esi, %eax
addl $-48, %eax
incq %rdx
cmpq %rdx, %rcx
jne LBB0_7
LBB0_8:
movl %eax, _do_import_card.p(%rip)
testq %rbx, %rbx
je LBB0_10
## %bb.9:
incl (%rbx)
LBB0_10:
movq _TLS@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _print_user_gw@GOTPCREL(%rip), %rax
movl (%rax), %ecx
leaq _do_import_card.p(%rip), %rdx
movl $1, %esi
movq %rbx, %r8
popq %rbx
popq %r14
popq %rbp
jmp _tgl_do_import_card ## TAILCALL
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_do_import_card.p,40,4 ## @do_import_card.p
.comm _TLS,4,2 ## @TLS
.comm _print_user_gw,4,2 ## @print_user_gw
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _do_import_card ; -- Begin function do_import_card
.p2align 2
_do_import_card: ; @do_import_card
.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
mov x20, x2
cmp w1, #1
cset w0, eq
bl _assert
ldr x20, [x20]
mov x0, x20
bl _strlen
cmp w0, #1
b.lt LBB0_6
; %bb.1:
mov w8, #0 ; =0x0
add w9, w0, #1
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldrsb w10, [x20], #1
add w8, w10, w8, lsl #4
sub w8, w8, #48
subs x9, x9, #1
b.ne LBB0_2
; %bb.3:
adrp x9, _do_import_card.p@PAGE
str w8, [x9, _do_import_card.p@PAGEOFF]
cbz x19, LBB0_5
; %bb.4:
ldr w8, [x19]
add w8, w8, #1
str w8, [x19]
LBB0_5:
Lloh0:
adrp x8, _TLS@GOTPAGE
Lloh1:
ldr x8, [x8, _TLS@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
Lloh3:
adrp x8, _print_user_gw@GOTPAGE
Lloh4:
ldr x8, [x8, _print_user_gw@GOTPAGEOFF]
Lloh5:
adrp x2, _do_import_card.p@PAGE
Lloh6:
add x2, x2, _do_import_card.p@PAGEOFF
Lloh7:
ldr w3, [x8]
mov w1, #1 ; =0x1
mov x4, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _tgl_do_import_card
LBB0_6:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh7
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_do_import_card.p,40,2 ; @do_import_card.p
.comm _TLS,4,2 ; @TLS
.comm _print_user_gw,4,2 ; @print_user_gw
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function btvacuumpage
_btvacuumpage: ## @btvacuumpage
.cfi_startproc
## %bb.0:
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 %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r13
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq 64(%rdi), %rax
movq 56(%rdi), %rcx
movq %rcx, -88(%rbp) ## 8-byte Spill
movq 40(%rdi), %rcx
movq %rcx, -144(%rbp) ## 8-byte Spill
movq 48(%rdi), %rcx
movq %rcx, -136(%rbp) ## 8-byte Spill
movq %rax, -152(%rbp) ## 8-byte Spill
movl 4(%rax), %r14d
movq _P_NONE@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq $0, -72(%rbp) ## 8-byte Folded Spill
movq %rdx, -64(%rbp) ## 8-byte Spill
movl %r14d, -52(%rbp) ## 4-byte Spill
.p2align 4, 0x90
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_37 Depth 2
movq %rax, -120(%rbp) ## 8-byte Spill
xorl %eax, %eax
callq _vacuum_delay_point
movq _MAIN_FORKNUM@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _RBM_NORMAL@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq -152(%rbp), %rax ## 8-byte Reload
movl (%rax), %r8d
movl %r14d, %edi
movq %rbx, %rdx
callq _ReadBufferExtended
movl %eax, %r12d
movq _BT_READ@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl %r12d, %edi
callq _LockBuffer
movl %r12d, %edi
callq _BufferGetPage
movl %eax, %r14d
movl %eax, %edi
callq _PageIsNew
testl %eax, %eax
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
cmpq %r15, %rbx
jne LBB0_4
jmp LBB0_8
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movl -52(%rbp), %edi ## 4-byte Reload
movl %r12d, %esi
callq __bt_checkpage
movl %r14d, %edi
callq _PageGetSpecialPointer
movq %rax, -72(%rbp) ## 8-byte Spill
cmpq %r15, %rbx
je LBB0_8
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movl %r14d, %edi
callq __bt_page_recyclable
testq %rax, %rax
je LBB0_6
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
movq -72(%rbp), %rdi ## 8-byte Reload
callq _P_IGNORE
testq %rax, %rax
jne LBB0_53
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movq -72(%rbp), %rdi ## 8-byte Reload
callq _P_ISLEAF
testq %rax, %rax
je LBB0_53
## %bb.7: ## in Loop: Header=BB0_1 Depth=1
movq -72(%rbp), %rax ## 8-byte Reload
movq (%rax), %rax
cmpq (%r13), %rax
jne LBB0_53
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
movl %r14d, %edi
callq __bt_page_recyclable
testq %rax, %rax
je LBB0_10
## %bb.9: ## in Loop: Header=BB0_1 Depth=1
movl -52(%rbp), %r14d ## 4-byte Reload
movl %r14d, %edi
movq %rbx, %rsi
callq _RecordFreeIndexPage
incl 32(%r13)
movq -88(%rbp), %rax ## 8-byte Reload
incl 4(%rax)
jmp LBB0_15
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_1 Depth=1
movq -72(%rbp), %r15 ## 8-byte Reload
movq %r15, %rdi
callq _P_ISDELETED
testq %rax, %rax
je LBB0_17
## %bb.11: ## in Loop: Header=BB0_1 Depth=1
movq -88(%rbp), %rax ## 8-byte Reload
incl 4(%rax)
movl 24(%r13), %edi
callq _TransactionIdIsValid
testl %eax, %eax
je LBB0_13
## %bb.12: ## in Loop: Header=BB0_1 Depth=1
movl 24(%r15), %edi
movl 24(%r13), %esi
callq _TransactionIdPrecedes
testq %rax, %rax
je LBB0_14
LBB0_13: ## in Loop: Header=BB0_1 Depth=1
movl 24(%r15), %eax
movl %eax, 24(%r13)
LBB0_14: ## in Loop: Header=BB0_1 Depth=1
movl -52(%rbp), %r14d ## 4-byte Reload
movq -64(%rbp), %r15 ## 8-byte Reload
LBB0_15: ## in Loop: Header=BB0_1 Depth=1
movl %r14d, %edi
movl %r12d, %esi
callq __bt_relbuf
LBB0_16: ## in Loop: Header=BB0_1 Depth=1
movq -120(%rbp), %rbx ## 8-byte Reload
movq _P_NONE@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq %rax, %rbx
jne LBB0_1
jmp LBB0_54
LBB0_17: ## in Loop: Header=BB0_1 Depth=1
movq %r15, %rdi
callq _P_ISHALFDEAD
testq %rax, %rax
je LBB0_24
## %bb.18: ## in Loop: Header=BB0_1 Depth=1
movl -52(%rbp), %r14d ## 4-byte Reload
movq -64(%rbp), %r15 ## 8-byte Reload
LBB0_19: ## in Loop: Header=BB0_1 Depth=1
movl 28(%r13), %edi
callq _MemoryContextReset
movl 28(%r13), %edi
callq _MemoryContextSwitchTo
movl %eax, %ebx
movl %r14d, %edi
movl %r12d, %esi
callq __bt_pagedel
testl %eax, %eax
je LBB0_23
## %bb.20: ## in Loop: Header=BB0_1 Depth=1
movq -88(%rbp), %rax ## 8-byte Reload
incl 4(%rax)
movl 24(%r13), %edi
callq _TransactionIdIsValid
testl %eax, %eax
je LBB0_22
## %bb.21: ## in Loop: Header=BB0_1 Depth=1
movq -72(%rbp), %rax ## 8-byte Reload
movl 24(%rax), %edi
movl 24(%r13), %esi
callq _TransactionIdPrecedes
testq %rax, %rax
je LBB0_23
LBB0_22: ## in Loop: Header=BB0_1 Depth=1
movq -72(%rbp), %rax ## 8-byte Reload
movl 24(%rax), %eax
movl %eax, 24(%r13)
LBB0_23: ## in Loop: Header=BB0_1 Depth=1
movl %ebx, %edi
callq _MemoryContextSwitchTo
jmp LBB0_16
LBB0_24: ## in Loop: Header=BB0_1 Depth=1
movq %r15, %rdi
callq _P_ISLEAF
testq %rax, %rax
je LBB0_14
## %bb.25: ## in Loop: Header=BB0_1 Depth=1
movq %rsp, -104(%rbp) ## 8-byte Spill
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, -112(%rbp) ## 8-byte Spill
movq _BUFFER_LOCK_UNLOCK@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl %r12d, %edi
callq _LockBuffer
movl %r12d, %edi
callq _LockBufferForCleanup
cmpq 8(%r13), %rbx
jle LBB0_27
## %bb.26: ## in Loop: Header=BB0_1 Depth=1
movq %rbx, 8(%r13)
LBB0_27: ## in Loop: Header=BB0_1 Depth=1
movq (%r13), %rax
testq %rax, %rax
movq %r13, -80(%rbp) ## 8-byte Spill
je LBB0_32
## %bb.28: ## in Loop: Header=BB0_1 Depth=1
movq -72(%rbp), %r15 ## 8-byte Reload
cmpq %rax, (%r15)
jne LBB0_32
## %bb.29: ## in Loop: Header=BB0_1 Depth=1
movq _BTP_SPLIT_END@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl 8(%r15), %eax
jne LBB0_32
## %bb.50: ## in Loop: Header=BB0_1 Depth=1
movq %r15, %rdi
callq _P_RIGHTMOST
testl %eax, %eax
je LBB0_52
LBB0_32: ## in Loop: Header=BB0_1 Depth=1
movq -64(%rbp), %r15 ## 8-byte Reload
LBB0_33: ## in Loop: Header=BB0_1 Depth=1
movq -72(%rbp), %rdi ## 8-byte Reload
callq _P_FIRSTDATAKEY
movq %rax, %r13
movl %r14d, %edi
callq _PageGetMaxOffsetNumber
movq %r13, %rsi
cmpq $0, -136(%rbp) ## 8-byte Folded Reload
je LBB0_44
## %bb.34: ## in Loop: Header=BB0_1 Depth=1
cmpq %rax, %rsi
jg LBB0_44
## %bb.35: ## in Loop: Header=BB0_1 Depth=1
movl %r12d, -124(%rbp) ## 4-byte Spill
xorl %r13d, %r13d
movq %rsi, -96(%rbp) ## 8-byte Spill
movq %rsi, %r15
jmp LBB0_37
.p2align 4, 0x90
LBB0_36: ## in Loop: Header=BB0_37 Depth=2
movq %r15, %rdi
callq _OffsetNumberNext
movq %rax, %r15
movq %r12, %rax
cmpq %r12, %r15
jg LBB0_39
LBB0_37: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movq %rax, %r12
movl %r14d, %edi
movq %r15, %rsi
callq _PageGetItemId
movl %r14d, %edi
movl %eax, %esi
callq _PageGetItem
movq %rax, %rdi
movq -144(%rbp), %rsi ## 8-byte Reload
callq *-136(%rbp) ## 8-byte Folded Reload
testq %rax, %rax
je LBB0_36
## %bb.38: ## in Loop: Header=BB0_37 Depth=2
movslq %r13d, %rax
incl %r13d
movq -112(%rbp), %rcx ## 8-byte Reload
movq %r15, (%rcx,%rax,8)
jmp LBB0_36
LBB0_39: ## in Loop: Header=BB0_1 Depth=1
testl %r13d, %r13d
movq -64(%rbp), %r15 ## 8-byte Reload
movq -96(%rbp), %rsi ## 8-byte Reload
movl -124(%rbp), %r12d ## 4-byte Reload
jle LBB0_44
## %bb.40: ## in Loop: Header=BB0_1 Depth=1
movq -80(%rbp), %rax ## 8-byte Reload
movq 16(%rax), %r8
movl -52(%rbp), %edi ## 4-byte Reload
movl %r12d, %esi
movq -112(%rbp), %rdx ## 8-byte Reload
movl %r13d, %ecx
callq __bt_delitems_vacuum
movq -80(%rbp), %rax ## 8-byte Reload
cmpq 16(%rax), %rbx
jle LBB0_42
## %bb.41: ## in Loop: Header=BB0_1 Depth=1
movq -80(%rbp), %rax ## 8-byte Reload
movq %rbx, 16(%rax)
LBB0_42: ## in Loop: Header=BB0_1 Depth=1
movq -88(%rbp), %rax ## 8-byte Reload
addl %r13d, (%rax)
movl %r14d, %edi
callq _PageGetMaxOffsetNumber
movq -80(%rbp), %r13 ## 8-byte Reload
movl -52(%rbp), %r14d ## 4-byte Reload
movq -104(%rbp), %rdx ## 8-byte Reload
movq -96(%rbp), %rsi ## 8-byte Reload
cmpq %rsi, %rax
jl LBB0_49
LBB0_43: ## in Loop: Header=BB0_1 Depth=1
subl %esi, %eax
movq -88(%rbp), %rcx ## 8-byte Reload
movl 8(%rcx), %esi
addl %esi, %eax
incl %eax
movl %eax, 8(%rcx)
movq %rdx, %rsp
jmp LBB0_15
LBB0_44: ## in Loop: Header=BB0_1 Depth=1
movq -80(%rbp), %r13 ## 8-byte Reload
movq (%r13), %rdx
testq %rdx, %rdx
je LBB0_47
## %bb.45: ## in Loop: Header=BB0_1 Depth=1
movq -72(%rbp), %rcx ## 8-byte Reload
cmpq %rdx, (%rcx)
movl -52(%rbp), %r14d ## 4-byte Reload
jne LBB0_48
## %bb.46: ## in Loop: Header=BB0_1 Depth=1
movq $0, (%rcx)
movq %rax, -112(%rbp) ## 8-byte Spill
movl %r12d, %edi
movq %rsi, -96(%rbp) ## 8-byte Spill
movl $1, %esi
callq _MarkBufferDirtyHint
movq -112(%rbp), %rax ## 8-byte Reload
movq -96(%rbp), %rsi ## 8-byte Reload
jmp LBB0_48
LBB0_47: ## in Loop: Header=BB0_1 Depth=1
movl -52(%rbp), %r14d ## 4-byte Reload
LBB0_48: ## in Loop: Header=BB0_1 Depth=1
movq -104(%rbp), %rdx ## 8-byte Reload
cmpq %rsi, %rax
jge LBB0_43
LBB0_49: ## in Loop: Header=BB0_1 Depth=1
cmpq %r15, %rbx
movq %rdx, %rsp
jne LBB0_15
jmp LBB0_19
LBB0_52: ## in Loop: Header=BB0_1 Depth=1
movq 16(%r15), %rax
movq -64(%rbp), %r15 ## 8-byte Reload
cmpq %r15, %rax
movq -120(%rbp), %rcx ## 8-byte Reload
cmovlq %rax, %rcx
movq %rcx, -120(%rbp) ## 8-byte Spill
jmp LBB0_33
LBB0_53:
movl -52(%rbp), %edi ## 4-byte Reload
movl %r12d, %esi
callq __bt_relbuf
LBB0_54:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_56
## %bb.55:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_56:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _P_NONE,8,3 ## @P_NONE
.comm _MAIN_FORKNUM,4,2 ## @MAIN_FORKNUM
.comm _RBM_NORMAL,4,2 ## @RBM_NORMAL
.comm _BT_READ,4,2 ## @BT_READ
.comm _MaxOffsetNumber,4,2 ## @MaxOffsetNumber
.comm _BUFFER_LOCK_UNLOCK,4,2 ## @BUFFER_LOCK_UNLOCK
.comm _BTP_SPLIT_END,4,2 ## @BTP_SPLIT_END
.no_dead_strip _btvacuumpage
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function btvacuumpage
_btvacuumpage: ; @btvacuumpage
.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, #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, x2
mov x25, x1
mov x20, x0
mov x23, #0 ; =0x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-88]
ldp x19, x28, [x0, #56]
ldp x8, x9, [x0, #40]
stp x8, x9, [x29, #-104] ; 16-byte Folded Spill
ldr w21, [x28, #4]
Lloh3:
adrp x8, _P_NONE@GOTPAGE
Lloh4:
ldr x8, [x8, _P_NONE@GOTPAGEOFF]
Lloh5:
ldr x27, [x8]
stur x19, [x29, #-120] ; 8-byte Folded Spill
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_34 Depth 2
bl _vacuum_delay_point
Lloh6:
adrp x8, _MAIN_FORKNUM@GOTPAGE
Lloh7:
ldr x8, [x8, _MAIN_FORKNUM@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
Lloh9:
adrp x8, _RBM_NORMAL@GOTPAGE
Lloh10:
ldr x8, [x8, _RBM_NORMAL@GOTPAGEOFF]
Lloh11:
ldr w3, [x8]
ldr w4, [x28]
mov x0, x21
mov x2, x25
bl _ReadBufferExtended
mov x24, x0
Lloh12:
adrp x8, _BT_READ@GOTPAGE
Lloh13:
ldr x8, [x8, _BT_READ@GOTPAGEOFF]
Lloh14:
ldr w1, [x8]
bl _LockBuffer
mov x0, x24
bl _BufferGetPage
mov x26, x0
bl _PageIsNew
cbz w0, LBB0_3
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
cmp x25, x22
b.ne LBB0_4
b LBB0_8
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
mov x0, x21
mov x1, x24
bl __bt_checkpage
mov x0, x26
bl _PageGetSpecialPointer
mov x23, x0
cmp x25, x22
b.eq LBB0_8
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
mov x0, x26
bl __bt_page_recyclable
cbz x0, LBB0_6
; %bb.5: ; in Loop: Header=BB0_1 Depth=1
mov x0, x23
bl _P_IGNORE
cbnz x0, LBB0_46
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
mov x0, x23
bl _P_ISLEAF
cbz x0, LBB0_46
; %bb.7: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [x23]
ldr x9, [x20]
cmp x8, x9
b.ne LBB0_46
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
mov x0, x26
bl __bt_page_recyclable
cbz x0, LBB0_10
; %bb.9: ; in Loop: Header=BB0_1 Depth=1
mov x0, x21
mov x1, x25
bl _RecordFreeIndexPage
ldr w8, [x20, #32]
add w8, w8, #1
str w8, [x20, #32]
ldr w8, [x19, #4]
add w8, w8, #1
str w8, [x19, #4]
b LBB0_14
LBB0_10: ; in Loop: Header=BB0_1 Depth=1
mov x0, x23
bl _P_ISDELETED
cbz x0, LBB0_16
; %bb.11: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [x19, #4]
add w8, w8, #1
str w8, [x19, #4]
ldr w0, [x20, #24]
bl _TransactionIdIsValid
cbz w0, LBB0_13
; %bb.12: ; in Loop: Header=BB0_1 Depth=1
ldr w0, [x23, #24]
ldr w1, [x20, #24]
bl _TransactionIdPrecedes
cbz x0, LBB0_14
LBB0_13: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [x23, #24]
str w8, [x20, #24]
LBB0_14: ; in Loop: Header=BB0_1 Depth=1
mov x0, x21
mov x1, x24
bl __bt_relbuf
LBB0_15: ; in Loop: Header=BB0_1 Depth=1
mov x25, x27
Lloh15:
adrp x8, _P_NONE@GOTPAGE
Lloh16:
ldr x8, [x8, _P_NONE@GOTPAGEOFF]
Lloh17:
ldr x27, [x8]
cmp x25, x27
b.ne LBB0_1
b LBB0_47
LBB0_16: ; in Loop: Header=BB0_1 Depth=1
mov x0, x23
bl _P_ISHALFDEAD
cbz x0, LBB0_22
LBB0_17: ; in Loop: Header=BB0_1 Depth=1
ldr w0, [x20, #28]
bl _MemoryContextReset
ldr w0, [x20, #28]
bl _MemoryContextSwitchTo
mov x19, x0
mov x0, x21
mov x1, x24
bl __bt_pagedel
cbz w0, LBB0_21
; %bb.18: ; in Loop: Header=BB0_1 Depth=1
ldur x9, [x29, #-120] ; 8-byte Folded Reload
ldr w8, [x9, #4]
add w8, w8, #1
str w8, [x9, #4]
ldr w0, [x20, #24]
bl _TransactionIdIsValid
cbz w0, LBB0_20
; %bb.19: ; in Loop: Header=BB0_1 Depth=1
ldr w0, [x23, #24]
ldr w1, [x20, #24]
bl _TransactionIdPrecedes
cbz x0, LBB0_21
LBB0_20: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [x23, #24]
str w8, [x20, #24]
LBB0_21: ; in Loop: Header=BB0_1 Depth=1
mov x0, x19
bl _MemoryContextSwitchTo
ldur x19, [x29, #-120] ; 8-byte Folded Reload
b LBB0_15
LBB0_22: ; in Loop: Header=BB0_1 Depth=1
mov x0, x23
bl _P_ISLEAF
cbz x0, LBB0_14
; %bb.23: ; in Loop: Header=BB0_1 Depth=1
mov x8, sp
stur x8, [x29, #-144] ; 8-byte Folded Spill
Lloh18:
adrp x8, _MaxOffsetNumber@GOTPAGE
Lloh19:
ldr x8, [x8, _MaxOffsetNumber@GOTPAGEOFF]
Lloh20:
ldr w8, [x8]
lsl x8, x8, #3
mov x9, x8
Lloh21:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh22:
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, #-112] ; 8-byte Folded Spill
mov sp, x8
Lloh23:
adrp x8, _BUFFER_LOCK_UNLOCK@GOTPAGE
Lloh24:
ldr x8, [x8, _BUFFER_LOCK_UNLOCK@GOTPAGEOFF]
Lloh25:
ldr w1, [x8]
mov x0, x24
bl _LockBuffer
mov x0, x24
bl _LockBufferForCleanup
ldr x8, [x20, #8]
cmp x25, x8
b.le LBB0_25
; %bb.24: ; in Loop: Header=BB0_1 Depth=1
str x25, [x20, #8]
LBB0_25: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [x20]
stp x22, x28, [x29, #-136] ; 16-byte Folded Spill
cbz x8, LBB0_30
; %bb.26: ; in Loop: Header=BB0_1 Depth=1
ldr x9, [x23]
cmp x9, x8
b.ne LBB0_30
; %bb.27: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [x23, #8]
Lloh26:
adrp x9, _BTP_SPLIT_END@GOTPAGE
Lloh27:
ldr x9, [x9, _BTP_SPLIT_END@GOTPAGEOFF]
Lloh28:
ldr w9, [x9]
orr w8, w9, w8
cbnz w8, LBB0_30
; %bb.28: ; in Loop: Header=BB0_1 Depth=1
mov x0, x23
bl _P_RIGHTMOST
cbnz w0, LBB0_30
; %bb.29: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [x23, #16]
cmp x8, x22
csel x27, x8, x27, lt
LBB0_30: ; in Loop: Header=BB0_1 Depth=1
mov x0, x23
bl _P_FIRSTDATAKEY
mov x22, x0
mov x0, x26
bl _PageGetMaxOffsetNumber
mov x28, x0
mov x11, x22
ldur x8, [x29, #-96] ; 8-byte Folded Reload
cbz x8, LBB0_41
; %bb.31: ; in Loop: Header=BB0_1 Depth=1
cmp x11, x28
b.gt LBB0_41
; %bb.32: ; in Loop: Header=BB0_1 Depth=1
mov w22, #0 ; =0x0
stur x11, [x29, #-152] ; 8-byte Folded Spill
mov x19, x11
b LBB0_34
LBB0_33: ; in Loop: Header=BB0_34 Depth=2
mov x0, x19
bl _OffsetNumberNext
mov x19, x0
cmp x0, x28
b.gt LBB0_36
LBB0_34: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
mov x0, x26
mov x1, x19
bl _PageGetItemId
mov x1, x0
mov x0, x26
bl _PageGetItem
ldp x1, x8, [x29, #-104] ; 16-byte Folded Reload
blr x8
cbz x0, LBB0_33
; %bb.35: ; in Loop: Header=BB0_34 Depth=2
ldur x8, [x29, #-112] ; 8-byte Folded Reload
str x19, [x8, w22, sxtw #3]
add w22, w22, #1
b LBB0_33
LBB0_36: ; in Loop: Header=BB0_1 Depth=1
cmp w22, #1
ldur x19, [x29, #-120] ; 8-byte Folded Reload
ldur x11, [x29, #-152] ; 8-byte Folded Reload
b.lt LBB0_41
; %bb.37: ; in Loop: Header=BB0_1 Depth=1
ldr x4, [x20, #16]
mov x0, x21
mov x1, x24
ldur x2, [x29, #-112] ; 8-byte Folded Reload
mov x3, x22
bl __bt_delitems_vacuum
ldr x8, [x20, #16]
cmp x25, x8
b.le LBB0_39
; %bb.38: ; in Loop: Header=BB0_1 Depth=1
str x25, [x20, #16]
LBB0_39: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [x19]
add w8, w8, w22
str w8, [x19]
mov x0, x26
bl _PageGetMaxOffsetNumber
mov x28, x0
ldp x10, x22, [x29, #-144] ; 16-byte Folded Reload
ldur x11, [x29, #-152] ; 8-byte Folded Reload
cmp x28, x11
b.lt LBB0_45
LBB0_40: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [x19, #8]
sub w9, w28, w11
add w8, w9, w8
add w8, w8, #1
str w8, [x19, #8]
mov sp, x10
ldur x28, [x29, #-128] ; 8-byte Folded Reload
b LBB0_14
LBB0_41: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [x20]
cbz x8, LBB0_44
; %bb.42: ; in Loop: Header=BB0_1 Depth=1
ldr x9, [x23]
cmp x9, x8
b.ne LBB0_44
; %bb.43: ; in Loop: Header=BB0_1 Depth=1
str xzr, [x23]
mov x22, x11
mov x0, x24
mov w1, #1 ; =0x1
bl _MarkBufferDirtyHint
mov x11, x22
LBB0_44: ; in Loop: Header=BB0_1 Depth=1
ldp x10, x22, [x29, #-144] ; 16-byte Folded Reload
cmp x28, x11
b.ge LBB0_40
LBB0_45: ; in Loop: Header=BB0_1 Depth=1
mov sp, x10
cmp x25, x22
ldur x28, [x29, #-128] ; 8-byte Folded Reload
b.ne LBB0_14
b LBB0_17
LBB0_46:
mov x0, x21
mov x1, x24
bl __bt_relbuf
LBB0_47:
ldur x8, [x29, #-88]
Lloh29:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh30:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh31:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_49
; %bb.48:
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_49:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.loh AdrpLdrGot Lloh21, Lloh22
.cfi_endproc
; -- End function
.comm _P_NONE,8,3 ; @P_NONE
.comm _MAIN_FORKNUM,4,2 ; @MAIN_FORKNUM
.comm _RBM_NORMAL,4,2 ; @RBM_NORMAL
.comm _BT_READ,4,2 ; @BT_READ
.comm _MaxOffsetNumber,4,2 ; @MaxOffsetNumber
.comm _BUFFER_LOCK_UNLOCK,4,2 ; @BUFFER_LOCK_UNLOCK
.comm _BTP_SPLIT_END,4,2 ; @BTP_SPLIT_END
.no_dead_strip _btvacuumpage
.subsections_via_symbols
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.