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 _reallocf ## -- Begin function reallocf
.p2align 4, 0x90
_reallocf: ## @reallocf
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
callq _realloc
testq %rax, %rax
setne %cl
testq %rbx, %rbx
sete %dl
testb %cl, %dl
jne LBB0_2
## %bb.1:
movq %rbx, %rdi
movq %rax, %rbx
callq _free
movq %rbx, %rax
LBB0_2:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _reallocf ; -- Begin function reallocf
.p2align 2
_reallocf: ; @reallocf
.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
bl _realloc
mov x8, x19
cbnz x19, LBB0_2
; %bb.1:
cbnz x0, LBB0_3
LBB0_2:
mov x19, x0
mov x0, x8
bl _free
mov x0, x19
LBB0_3:
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
.p2align 4, 0x90 ## -- Begin function nvg__allocTempVerts
_nvg__allocTempVerts: ## @nvg__allocTempVerts
.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
cmpl %esi, (%rax)
jle LBB0_2
## %bb.1:
movq 8(%rax), %rax
jmp LBB0_5
LBB0_2:
movl %esi, %ebx
movq %rdi, %r14
decl %ebx
orl $-256, %ebx
movq 8(%rax), %rdi
leal (,%rbx,4), %esi
callq _realloc
testq %rax, %rax
jne LBB0_4
## %bb.3:
movq (%r14), %rax
movq $0, 8(%rax)
movl %ebx, (%rax)
LBB0_4:
xorl %eax, %eax
LBB0_5:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _nvg__allocTempVerts
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function nvg__allocTempVerts
_nvg__allocTempVerts: ; @nvg__allocTempVerts
.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
ldr x8, [x0]
ldr w9, [x8]
cmp w9, w1
b.le LBB0_2
; %bb.1:
ldr x0, [x8, #8]
b LBB0_5
LBB0_2:
mov x20, x0
sub w9, w1, #1
orr w19, w9, #0xffffff00
ldr x0, [x8, #8]
lsl w1, w19, #2
bl _realloc
cbz x0, LBB0_4
; %bb.3:
mov x0, #0 ; =0x0
b LBB0_5
LBB0_4:
ldr x8, [x20]
str xzr, [x8, #8]
str w19, [x8]
LBB0_5:
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 _nvg__allocTempVerts
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _cgoto ## -- Begin function cgoto
.p2align 4, 0x90
_cgoto: ## @cgoto
.cfi_startproc
## %bb.0:
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 %esi, %r15d
movq _HAT@GOTPCREL(%rip), %rax
cmpl %edx, (%rax)
sete %al
movq _NCHARS@GOTPCREL(%rip), %rcx
movl %edx, -44(%rbp) ## 4-byte Spill
cmpl %edx, (%rcx)
movq %rdi, %rbx
setg %cl
andb %al, %cl
movzbl %cl, %edi
callq _assert
movq %rbx, -56(%rbp) ## 8-byte Spill
movl (%rbx), %eax
movq _maxsetvec@GOTPCREL(%rip), %r13
movl (%r13), %esi
cmpl %esi, %eax
jge LBB0_1
LBB0_5:
testl %eax, %eax
movq -56(%rbp), %r12 ## 8-byte Reload
js LBB0_8
## %bb.6:
movq _setvec@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq $-1, %rcx
.p2align 4, 0x90
LBB0_7: ## =>This Inner Loop Header: Depth=1
movl $0, 4(%rax,%rcx,4)
movslq (%r12), %rdx
incq %rcx
cmpq %rdx, %rcx
jl LBB0_7
LBB0_8:
movq _setcnt@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq 8(%r12), %rax
movslq %r15d, %rcx
movq %rcx, -80(%rbp) ## 8-byte Spill
movq (%rax,%rcx,8), %rdx
cmpl $0, (%rdx)
jle LBB0_9
## %bb.10:
movl $1, %ecx
movq %rdx, -64(%rbp) ## 8-byte Spill
jmp LBB0_11
.p2align 4, 0x90
LBB0_35: ## in Loop: Header=BB0_11 Depth=1
movq -72(%rbp), %rsi ## 8-byte Reload
leaq 1(%rsi), %rax
movq -64(%rbp), %rdx ## 8-byte Reload
movslq (%rdx), %rcx
cmpq %rcx, %rsi
movq %rax, %rcx
jge LBB0_36
LBB0_11: ## =>This Loop Header: Depth=1
## Child Loop BB0_29 Depth 2
movq -56(%rbp), %rax ## 8-byte Reload
movq 48(%rax), %rax
movq %rcx, -72(%rbp) ## 8-byte Spill
movslq (%rdx,%rcx,4), %rcx
shlq $5, %rcx
movl (%rax,%rcx), %ebx
movq _FINAL@GOTPCREL(%rip), %rdx
cmpl (%rdx), %ebx
je LBB0_35
## %bb.12: ## in Loop: Header=BB0_11 Depth=1
movq _CHAR@GOTPCREL(%rip), %rdx
cmpl (%rdx), %ebx
jne LBB0_14
## %bb.13: ## in Loop: Header=BB0_11 Depth=1
addq %rcx, %rax
movl 24(%rax), %edi
callq _ptoi
cmpl -44(%rbp), %eax ## 4-byte Folded Reload
je LBB0_27
LBB0_14: ## in Loop: Header=BB0_11 Depth=1
cmpl $0, -44(%rbp) ## 4-byte Folded Reload
je LBB0_17
## %bb.15: ## in Loop: Header=BB0_11 Depth=1
movq _DOT@GOTPCREL(%rip), %rax
cmpl (%rax), %ebx
jne LBB0_17
## %bb.16: ## in Loop: Header=BB0_11 Depth=1
movl -44(%rbp), %eax ## 4-byte Reload
movq _HAT@GOTPCREL(%rip), %rcx
cmpl %eax, (%rcx)
jne LBB0_27
LBB0_17: ## in Loop: Header=BB0_11 Depth=1
cmpl $0, -44(%rbp) ## 4-byte Folded Reload
je LBB0_19
## %bb.18: ## in Loop: Header=BB0_11 Depth=1
movq _ALL@GOTPCREL(%rip), %rax
cmpl (%rax), %ebx
je LBB0_27
LBB0_19: ## in Loop: Header=BB0_11 Depth=1
cmpl $0, -44(%rbp) ## 4-byte Folded Reload
je LBB0_21
## %bb.20: ## in Loop: Header=BB0_11 Depth=1
movq _EMPTYRE@GOTPCREL(%rip), %rax
cmpl (%rax), %ebx
je LBB0_27
LBB0_21: ## in Loop: Header=BB0_11 Depth=1
movq _CCL@GOTPCREL(%rip), %rax
cmpl (%rax), %ebx
jne LBB0_23
## %bb.22: ## in Loop: Header=BB0_11 Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
movq 48(%rax), %rax
movq -64(%rbp), %rcx ## 8-byte Reload
movq -72(%rbp), %rdx ## 8-byte Reload
movslq (%rcx,%rdx,4), %rcx
shlq $5, %rcx
movq 16(%rax,%rcx), %rsi
movl -44(%rbp), %edi ## 4-byte Reload
callq _member
testq %rax, %rax
jne LBB0_27
LBB0_23: ## in Loop: Header=BB0_11 Depth=1
movq _NCCL@GOTPCREL(%rip), %rax
cmpl (%rax), %ebx
jne LBB0_35
## %bb.24: ## in Loop: Header=BB0_11 Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
movq 48(%rax), %rax
movq -64(%rbp), %rcx ## 8-byte Reload
movq -72(%rbp), %rdx ## 8-byte Reload
movslq (%rcx,%rdx,4), %rcx
shlq $5, %rcx
movq 16(%rax,%rcx), %rsi
movl -44(%rbp), %ebx ## 4-byte Reload
movl %ebx, %edi
callq _member
testl %ebx, %ebx
je LBB0_35
## %bb.25: ## in Loop: Header=BB0_11 Depth=1
testq %rax, %rax
jne LBB0_35
## %bb.26: ## in Loop: Header=BB0_11 Depth=1
movl -44(%rbp), %eax ## 4-byte Reload
movq _HAT@GOTPCREL(%rip), %rcx
cmpl %eax, (%rcx)
je LBB0_35
.p2align 4, 0x90
LBB0_27: ## in Loop: Header=BB0_11 Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
movq 48(%rax), %rax
movq -64(%rbp), %rcx ## 8-byte Reload
movq -72(%rbp), %rdx ## 8-byte Reload
movslq (%rcx,%rdx,4), %rcx
shlq $5, %rcx
movq 8(%rax,%rcx), %r14
cmpl $0, (%r14)
jle LBB0_35
## %bb.28: ## in Loop: Header=BB0_11 Depth=1
movq _setvec@GOTPCREL(%rip), %rax
movq (%rax), %rdi
xorl %ebx, %ebx
jmp LBB0_29
.p2align 4, 0x90
LBB0_32: ## in Loop: Header=BB0_29 Depth=2
movslq 4(%r14,%rbx,4), %rax
cmpl $0, (%rdi,%rax,4)
je LBB0_33
LBB0_34: ## in Loop: Header=BB0_29 Depth=2
movslq (%r14), %rax
incq %rbx
cmpq %rax, %rbx
jge LBB0_35
LBB0_29: ## Parent Loop BB0_11 Depth=1
## => This Inner Loop Header: Depth=2
movl (%r13), %esi
cmpl %esi, 4(%r14,%rbx,4)
jl LBB0_32
## %bb.30: ## in Loop: Header=BB0_29 Depth=2
leal (,%rsi,4), %eax
movl %eax, (%r13)
shll $4, %esi
## kill: def $esi killed $esi killed $rsi
callq _realloc
movq _setvec@GOTPCREL(%rip), %r12
movq %rax, (%r12)
movq _tmpset@GOTPCREL(%rip), %r15
movq (%r15), %rdi
movl (%r13), %esi
shll $2, %esi
callq _realloc
movq %rax, (%r15)
movq (%r12), %rdi
testq %rdi, %rdi
sete %cl
testq %rax, %rax
sete %al
orb %cl, %al
cmpb $1, %al
jne LBB0_32
## %bb.31: ## in Loop: Header=BB0_29 Depth=2
leaq L_.str.1(%rip), %rdi
callq _overflo
movq _setvec@GOTPCREL(%rip), %rax
movq (%rax), %rdi
jmp LBB0_32
.p2align 4, 0x90
LBB0_33: ## in Loop: Header=BB0_29 Depth=2
movq _setcnt@GOTPCREL(%rip), %rax
incl (%rax)
movslq 4(%r14,%rbx,4), %rax
movl $1, (%rdi,%rax,4)
jmp LBB0_34
LBB0_36:
movq _setcnt@GOTPCREL(%rip), %r13
movl (%r13), %eax
movq -56(%rbp), %r12 ## 8-byte Reload
jmp LBB0_37
LBB0_1:
movq _setvec@GOTPCREL(%rip), %rbx
movq (%rbx), %rdi
movq _tmpset@GOTPCREL(%rip), %r14
leaq L_.str(%rip), %r12
jmp LBB0_2
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
movl (%rax), %eax
movl (%r13), %esi
cmpl %esi, %eax
jl LBB0_5
LBB0_2: ## =>This Inner Loop Header: Depth=1
leal (,%rsi,4), %eax
movl %eax, (%r13)
shll $4, %esi
## kill: def $esi killed $esi killed $rsi
callq _realloc
movq %rax, (%rbx)
movq (%r14), %rdi
movl (%r13), %esi
shll $2, %esi
callq _realloc
movq %rax, (%r14)
movq (%rbx), %rdi
testq %rdi, %rdi
sete %cl
testq %rax, %rax
sete %al
orb %cl, %al
cmpb $1, %al
jne LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq %r12, %rdi
callq _overflo
movq (%rbx), %rdi
jmp LBB0_4
LBB0_9:
xorl %eax, %eax
movq _setcnt@GOTPCREL(%rip), %r13
LBB0_37:
movq _tmpset@GOTPCREL(%rip), %r15
movq (%r15), %rcx
movl %eax, (%rcx)
movslq (%r12), %rax
testq %rax, %rax
js LBB0_44
## %bb.38:
movq _setvec@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
testl %eax, %eax
je LBB0_39
## %bb.49:
leal 1(%rax), %edi
andl $-2, %edi
movl $1, %r8d
movq %rax, %rsi
jmp LBB0_50
.p2align 4, 0x90
LBB0_54: ## in Loop: Header=BB0_50 Depth=1
addq $-2, %rsi
addq $-2, %rdi
je LBB0_40
LBB0_50: ## =>This Inner Loop Header: Depth=1
cmpl $0, (%rdx,%rsi,4)
je LBB0_52
## %bb.51: ## in Loop: Header=BB0_50 Depth=1
movslq %r8d, %r9
incl %r8d
movl %esi, (%rcx,%r9,4)
LBB0_52: ## in Loop: Header=BB0_50 Depth=1
cmpl $0, -4(%rdx,%rsi,4)
je LBB0_54
## %bb.53: ## in Loop: Header=BB0_50 Depth=1
movslq %r8d, %r9
incl %r8d
leal -1(%rsi), %r10d
movl %r10d, (%rcx,%r9,4)
jmp LBB0_54
LBB0_40:
movslq %r8d, %rdi
testb $1, %al
je LBB0_42
jmp LBB0_44
LBB0_39:
movl $1, %edi
movq %rax, %rsi
testb $1, %al
jne LBB0_44
LBB0_42:
cmpl $0, (%rdx,%rsi,4)
je LBB0_44
## %bb.43:
movl %esi, (%rcx,%rdi,4)
LBB0_44:
movl 16(%r12), %edx
testl %edx, %edx
jle LBB0_58
## %bb.45:
movq 8(%r12), %rsi
movl (%rcx), %edi
leal 1(%rdi), %r8d
leaq 1(%rdx), %r9
movl $1, %eax
jmp LBB0_46
.p2align 4, 0x90
LBB0_57: ## in Loop: Header=BB0_46 Depth=1
incq %rax
cmpq %r9, %rax
je LBB0_58
LBB0_46: ## =>This Loop Header: Depth=1
## Child Loop BB0_56 Depth 2
movq (%rsi,%rax,8), %r10
cmpl (%r10), %edi
jne LBB0_57
## %bb.47: ## in Loop: Header=BB0_46 Depth=1
testl %edi, %edi
jle LBB0_73
## %bb.48: ## in Loop: Header=BB0_46 Depth=1
movl $1, %r11d
.p2align 4, 0x90
LBB0_56: ## Parent Loop BB0_46 Depth=1
## => This Inner Loop Header: Depth=2
movl (%rcx,%r11,4), %ebx
cmpl (%r10,%r11,4), %ebx
jne LBB0_57
## %bb.55: ## in Loop: Header=BB0_56 Depth=2
incq %r11
cmpq %r11, %r8
jne LBB0_56
LBB0_73:
movq 24(%r12), %rcx
movq -80(%rbp), %rdx ## 8-byte Reload
movq (%rcx,%rdx,8), %rcx
movslq -44(%rbp), %rdx ## 4-byte Folded Reload
movl %eax, (%rcx,%rdx,4)
jmp LBB0_72
LBB0_58:
movq _NSTATES@GOTPCREL(%rip), %rbx
movl (%rbx), %eax
leal -1(%rax), %ecx
cmpl %ecx, %edx
jge LBB0_59
## %bb.62:
incl %edx
movl %edx, 16(%r12)
jmp LBB0_63
LBB0_59:
movl $2, 16(%r12)
movl $1, 32(%r12)
cmpl $2, %eax
jl LBB0_63
## %bb.60:
movl $1, %r14d
.p2align 4, 0x90
LBB0_61: ## =>This Inner Loop Header: Depth=1
movq 8(%r12), %rax
movq 8(%rax,%r14,8), %rdi
callq _xfree
movslq (%rbx), %rax
incq %r14
cmpq %rax, %r14
jl LBB0_61
LBB0_63:
movq _NCHARS@GOTPCREL(%rip), %rsi
cmpl $0, (%rsi)
jle LBB0_66
## %bb.64:
movq 24(%r12), %rax
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_65: ## =>This Inner Loop Header: Depth=1
movslq 16(%r12), %rdx
movq (%rax,%rdx,8), %rdx
movl $0, (%rdx,%rcx,4)
incq %rcx
movslq (%rsi), %rdx
cmpq %rdx, %rcx
jl LBB0_65
LBB0_66:
movq 8(%r12), %rax
movslq 16(%r12), %rcx
movq (%rax,%rcx,8), %rdi
callq _xfree
movl (%r13), %edi
incl %edi
movl $4, %esi
callq _calloc
testq %rax, %rax
jne LBB0_68
## %bb.67:
leaq L_.str.2(%rip), %rdi
movq %rax, %rbx
callq _overflo
movq %rbx, %rax
LBB0_68:
movq 8(%r12), %rcx
movslq 16(%r12), %rdx
movq %rax, (%rcx,%rdx,8)
movq 24(%r12), %rcx
movq -80(%rbp), %rsi ## 8-byte Reload
movq (%rcx,%rsi,8), %rcx
movslq -44(%rbp), %rsi ## 4-byte Folded Reload
movl %edx, (%rcx,%rsi,4)
cmpl $0, (%r13)
js LBB0_71
## %bb.69:
movq (%r15), %rcx
movq $-1, %rdx
.p2align 4, 0x90
LBB0_70: ## =>This Inner Loop Header: Depth=1
movl 4(%rcx,%rdx,4), %esi
movl %esi, 4(%rax,%rdx,4)
movslq (%r13), %rsi
incq %rdx
cmpq %rsi, %rdx
jl LBB0_70
LBB0_71:
movq _setvec@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq (%r12), %rcx
xorl %edx, %edx
cmpl $0, (%rax,%rcx,4)
setne %dl
movq 40(%r12), %rax
movslq 16(%r12), %rcx
movl %edx, (%rax,%rcx,4)
movl 16(%r12), %eax
LBB0_72:
## kill: def $eax killed $eax killed $rax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _HAT,4,2 ## @HAT
.comm _NCHARS,4,2 ## @NCHARS
.comm _maxsetvec,4,2 ## @maxsetvec
.comm _setvec,8,3 ## @setvec
.comm _tmpset,8,3 ## @tmpset
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "out of space in cgoto()"
.comm _setcnt,4,2 ## @setcnt
.comm _FINAL,4,2 ## @FINAL
.comm _CHAR,4,2 ## @CHAR
.comm _DOT,4,2 ## @DOT
.comm _ALL,4,2 ## @ALL
.comm _EMPTYRE,4,2 ## @EMPTYRE
.comm _CCL,4,2 ## @CCL
.comm _NCCL,4,2 ## @NCCL
L_.str.1: ## @.str.1
.asciz "cgoto overflow"
.comm _NSTATES,4,2 ## @NSTATES
L_.str.2: ## @.str.2
.asciz "out of space in cgoto"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _cgoto ; -- Begin function cgoto
.p2align 2
_cgoto: ; @cgoto
.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, x1
mov x25, x0
Lloh0:
adrp x8, _HAT@GOTPAGE
Lloh1:
ldr x8, [x8, _HAT@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cmp w8, w2
Lloh3:
adrp x8, _NCHARS@GOTPAGE
Lloh4:
ldr x8, [x8, _NCHARS@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
str w2, [sp, #20] ; 4-byte Folded Spill
ccmp w8, w2, #4, eq
cset w0, gt
bl _assert
ldr w9, [x25]
Lloh6:
adrp x28, _maxsetvec@GOTPAGE
Lloh7:
ldr x28, [x28, _maxsetvec@GOTPAGEOFF]
ldr w8, [x28]
Lloh8:
adrp x23, _setvec@GOTPAGE
Lloh9:
ldr x23, [x23, _setvec@GOTPAGEOFF]
Lloh10:
adrp x24, _tmpset@GOTPAGE
Lloh11:
ldr x24, [x24, _tmpset@GOTPAGEOFF]
cmp w9, w8
b.ge LBB0_30
LBB0_1:
tbnz w9, #31, LBB0_4
; %bb.2:
ldr x8, [x23]
mov x9, #-1 ; =0xffffffffffffffff
LBB0_3: ; =>This Inner Loop Header: Depth=1
str wzr, [x8], #4
ldrsw x10, [x25]
add x9, x9, #1
cmp x9, x10
b.lt LBB0_3
LBB0_4:
Lloh12:
adrp x26, _setcnt@GOTPAGE
Lloh13:
ldr x26, [x26, _setcnt@GOTPAGEOFF]
str wzr, [x26]
ldr x8, [x25, #8]
ldr x21, [x8, w27, sxtw #3]
ldr w8, [x21]
cmp w8, #1
b.lt LBB0_34
; %bb.5:
str x27, [sp, #8] ; 8-byte Folded Spill
str x25, [sp, #24] ; 8-byte Folded Spill
mov w27, #1 ; =0x1
mov w25, #1 ; =0x1
b LBB0_7
LBB0_6: ; in Loop: Header=BB0_7 Depth=1
add x8, x25, #1
ldrsw x9, [x21]
cmp x25, x9
mov x25, x8
b.ge LBB0_29
LBB0_7: ; =>This Loop Header: Depth=1
; Child Loop BB0_25 Depth 2
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x8, [x8, #48]
ldrsw x9, [x21, x25, lsl #2]
add x8, x8, x9, lsl #5
ldr w20, [x8]
Lloh14:
adrp x9, _FINAL@GOTPAGE
Lloh15:
ldr x9, [x9, _FINAL@GOTPAGEOFF]
Lloh16:
ldr w9, [x9]
cmp w20, w9
b.eq LBB0_6
; %bb.8: ; in Loop: Header=BB0_7 Depth=1
Lloh17:
adrp x9, _CHAR@GOTPAGE
Lloh18:
ldr x9, [x9, _CHAR@GOTPAGEOFF]
Lloh19:
ldr w9, [x9]
cmp w20, w9
b.ne LBB0_10
; %bb.9: ; in Loop: Header=BB0_7 Depth=1
ldr w0, [x8, #24]
bl _ptoi
ldr w8, [sp, #20] ; 4-byte Folded Reload
cmp w0, w8
b.eq LBB0_21
LBB0_10: ; in Loop: Header=BB0_7 Depth=1
ldr w8, [sp, #20] ; 4-byte Folded Reload
cbz w8, LBB0_12
; %bb.11: ; in Loop: Header=BB0_7 Depth=1
Lloh20:
adrp x8, _DOT@GOTPAGE
Lloh21:
ldr x8, [x8, _DOT@GOTPAGEOFF]
Lloh22:
ldr w8, [x8]
Lloh23:
adrp x9, _HAT@GOTPAGE
Lloh24:
ldr x9, [x9, _HAT@GOTPAGEOFF]
Lloh25:
ldr w9, [x9]
cmp w20, w8
ldr w8, [sp, #20] ; 4-byte Folded Reload
ccmp w9, w8, #4, eq
b.ne LBB0_21
LBB0_12: ; in Loop: Header=BB0_7 Depth=1
ldr w8, [sp, #20] ; 4-byte Folded Reload
cbz w8, LBB0_14
; %bb.13: ; in Loop: Header=BB0_7 Depth=1
Lloh26:
adrp x8, _ALL@GOTPAGE
Lloh27:
ldr x8, [x8, _ALL@GOTPAGEOFF]
Lloh28:
ldr w8, [x8]
cmp w20, w8
b.eq LBB0_21
LBB0_14: ; in Loop: Header=BB0_7 Depth=1
ldr w8, [sp, #20] ; 4-byte Folded Reload
cbz w8, LBB0_16
; %bb.15: ; in Loop: Header=BB0_7 Depth=1
Lloh29:
adrp x8, _EMPTYRE@GOTPAGE
Lloh30:
ldr x8, [x8, _EMPTYRE@GOTPAGEOFF]
Lloh31:
ldr w8, [x8]
cmp w20, w8
b.eq LBB0_21
LBB0_16: ; in Loop: Header=BB0_7 Depth=1
Lloh32:
adrp x8, _CCL@GOTPAGE
Lloh33:
ldr x8, [x8, _CCL@GOTPAGEOFF]
Lloh34:
ldr w8, [x8]
cmp w20, w8
b.ne LBB0_18
; %bb.17: ; in Loop: Header=BB0_7 Depth=1
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x8, [x8, #48]
ldrsw x9, [x21, x25, lsl #2]
add x8, x8, x9, lsl #5
ldr x1, [x8, #16]
ldr w0, [sp, #20] ; 4-byte Folded Reload
bl _member
cbnz x0, LBB0_21
LBB0_18: ; in Loop: Header=BB0_7 Depth=1
Lloh35:
adrp x8, _NCCL@GOTPAGE
Lloh36:
ldr x8, [x8, _NCCL@GOTPAGEOFF]
Lloh37:
ldr w8, [x8]
cmp w20, w8
b.ne LBB0_6
; %bb.19: ; in Loop: Header=BB0_7 Depth=1
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x8, [x8, #48]
ldrsw x9, [x21, x25, lsl #2]
add x8, x8, x9, lsl #5
ldr x1, [x8, #16]
ldr w19, [sp, #20] ; 4-byte Folded Reload
mov x0, x19
bl _member
cbz w19, LBB0_6
; %bb.20: ; in Loop: Header=BB0_7 Depth=1
Lloh38:
adrp x8, _HAT@GOTPAGE
Lloh39:
ldr x8, [x8, _HAT@GOTPAGEOFF]
Lloh40:
ldr w8, [x8]
cmp x0, #0
ldr w9, [sp, #20] ; 4-byte Folded Reload
ccmp w8, w9, #4, eq
b.eq LBB0_6
LBB0_21: ; in Loop: Header=BB0_7 Depth=1
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x8, [x8, #48]
ldrsw x9, [x21, x25, lsl #2]
add x8, x8, x9, lsl #5
ldr x20, [x8, #8]
ldr w8, [x20]
cmp w8, #1
b.lt LBB0_6
; %bb.22: ; in Loop: Header=BB0_7 Depth=1
mov x22, #0 ; =0x0
ldr x0, [x23]
b LBB0_25
LBB0_23: ; in Loop: Header=BB0_25 Depth=2
ldrsw x8, [x19, #4]
ldr w8, [x0, x8, lsl #2]
cbz w8, LBB0_28
LBB0_24: ; in Loop: Header=BB0_25 Depth=2
ldrsw x8, [x20]
add x22, x22, #1
cmp x22, x8
b.ge LBB0_6
LBB0_25: ; Parent Loop BB0_7 Depth=1
; => This Inner Loop Header: Depth=2
add x19, x20, x22, lsl #2
ldr w9, [x19, #4]
ldr w8, [x28]
cmp w9, w8
b.lt LBB0_23
; %bb.26: ; in Loop: Header=BB0_25 Depth=2
lsl w9, w8, #2
str w9, [x28]
lsl w1, w8, #4
bl _realloc
str x0, [x23]
ldr x0, [x24]
ldr w8, [x28]
lsl w1, w8, #2
bl _realloc
mov x8, x0
str x0, [x24]
ldr x0, [x23]
cmp x0, #0
ccmp x8, #0, #4, ne
b.ne LBB0_23
; %bb.27: ; in Loop: Header=BB0_25 Depth=2
Lloh41:
adrp x0, l_.str.1@PAGE
Lloh42:
add x0, x0, l_.str.1@PAGEOFF
bl _overflo
ldr x0, [x23]
b LBB0_23
LBB0_28: ; in Loop: Header=BB0_25 Depth=2
ldr w8, [x26]
add w8, w8, #1
str w8, [x26]
ldrsw x8, [x19, #4]
str w27, [x0, x8, lsl #2]
b LBB0_24
LBB0_29:
ldr w9, [x26]
ldr x25, [sp, #24] ; 8-byte Folded Reload
ldr x27, [sp, #8] ; 8-byte Folded Reload
b LBB0_35
LBB0_30:
ldr x0, [x23]
Lloh43:
adrp x22, l_.str@PAGE
Lloh44:
add x22, x22, l_.str@PAGEOFF
b LBB0_32
LBB0_31: ; in Loop: Header=BB0_32 Depth=1
ldr w9, [x25]
ldr w8, [x28]
cmp w9, w8
b.lt LBB0_1
LBB0_32: ; =>This Inner Loop Header: Depth=1
lsl w9, w8, #2
str w9, [x28]
lsl w1, w8, #4
bl _realloc
str x0, [x23]
ldr x0, [x24]
ldr w8, [x28]
lsl w1, w8, #2
bl _realloc
mov x8, x0
str x0, [x24]
ldr x0, [x23]
cmp x0, #0
ccmp x8, #0, #4, ne
b.ne LBB0_31
; %bb.33: ; in Loop: Header=BB0_32 Depth=1
mov x0, x22
bl _overflo
ldr x0, [x23]
b LBB0_31
LBB0_34:
mov w9, #0 ; =0x0
LBB0_35:
ldr x8, [x24]
str w9, [x8]
ldr w9, [x25]
tbnz w9, #31, LBB0_40
; %bb.36:
ldr x10, [x23]
mov w11, #1 ; =0x1
b LBB0_38
LBB0_37: ; in Loop: Header=BB0_38 Depth=1
sub x12, x9, #1
cmp x9, #0
mov x9, x12
b.le LBB0_40
LBB0_38: ; =>This Inner Loop Header: Depth=1
ldr w12, [x10, x9, lsl #2]
cbz w12, LBB0_37
; %bb.39: ; in Loop: Header=BB0_38 Depth=1
str w9, [x8, w11, sxtw #2]
add w11, w11, #1
b LBB0_37
LBB0_40:
ldr w9, [x25, #16]
cmp w9, #1
b.lt LBB0_49
; %bb.41:
ldr x10, [x25, #8]
ldr w11, [x8], #4
add w13, w11, #1
add x12, x9, #1
sub x13, x13, #1
mov w0, #1 ; =0x1
b LBB0_43
LBB0_42: ; in Loop: Header=BB0_43 Depth=1
add x0, x0, #1
cmp x0, x12
b.eq LBB0_49
LBB0_43: ; =>This Loop Header: Depth=1
; Child Loop BB0_46 Depth 2
ldr x14, [x10, x0, lsl #3]
ldr w15, [x14]
cmp w11, w15
b.ne LBB0_42
; %bb.44: ; in Loop: Header=BB0_43 Depth=1
cmp w11, #1
b.lt LBB0_48
; %bb.45: ; in Loop: Header=BB0_43 Depth=1
add x14, x14, #4
mov x15, x13
mov x16, x8
LBB0_46: ; Parent Loop BB0_43 Depth=1
; => This Inner Loop Header: Depth=2
ldr w17, [x16], #4
ldr w1, [x14], #4
cmp w17, w1
b.ne LBB0_42
; %bb.47: ; in Loop: Header=BB0_46 Depth=2
subs x15, x15, #1
b.ne LBB0_46
LBB0_48:
ldr x8, [x25, #24]
ldr x8, [x8, w27, sxtw #3]
ldr w9, [sp, #20] ; 4-byte Folded Reload
str w0, [x8, w9, sxtw #2]
b LBB0_63
LBB0_49:
Lloh45:
adrp x19, _NSTATES@GOTPAGE
Lloh46:
ldr x19, [x19, _NSTATES@GOTPAGEOFF]
ldr w8, [x19]
sub w10, w8, #1
cmp w9, w10
b.ge LBB0_51
; %bb.50:
add w8, w9, #1
str w8, [x25, #16]
b LBB0_54
LBB0_51:
mov w9, #2 ; =0x2
str w9, [x25, #16]
mov w9, #1 ; =0x1
str w9, [x25, #32]
cmp w8, #1
b.le LBB0_54
; %bb.52:
mov w20, #2 ; =0x2
LBB0_53: ; =>This Inner Loop Header: Depth=1
ldr x8, [x25, #8]
ldr x0, [x8, x20, lsl #3]
bl _xfree
add x8, x20, #1
ldrsw x9, [x19]
cmp x20, x9
mov x20, x8
b.lt LBB0_53
LBB0_54:
Lloh47:
adrp x11, _NCHARS@GOTPAGE
Lloh48:
ldr x11, [x11, _NCHARS@GOTPAGEOFF]
ldr w8, [x11]
cmp w8, #1
b.lt LBB0_57
; %bb.55:
mov x8, #0 ; =0x0
ldr x9, [x25, #24]
LBB0_56: ; =>This Inner Loop Header: Depth=1
ldrsw x10, [x25, #16]
ldr x10, [x9, x10, lsl #3]
str wzr, [x10, x8, lsl #2]
add x8, x8, #1
ldrsw x10, [x11]
cmp x8, x10
b.lt LBB0_56
LBB0_57:
ldr x8, [x25, #8]
ldrsw x9, [x25, #16]
ldr x0, [x8, x9, lsl #3]
bl _xfree
ldr w8, [x26]
add w0, w8, #1
mov w1, #4 ; =0x4
bl _calloc
cbnz x0, LBB0_59
; %bb.58:
Lloh49:
adrp x8, l_.str.2@PAGE
Lloh50:
add x8, x8, l_.str.2@PAGEOFF
mov x19, x0
mov x0, x8
bl _overflo
mov x0, x19
LBB0_59:
ldr x8, [x25, #8]
ldrsw x9, [x25, #16]
str x0, [x8, x9, lsl #3]
ldr x8, [x25, #24]
ldr x8, [x8, w27, sxtw #3]
ldr w10, [sp, #20] ; 4-byte Folded Reload
str w9, [x8, w10, sxtw #2]
ldr w8, [x26]
tbnz w8, #31, LBB0_62
; %bb.60:
mov x9, #0 ; =0x0
ldr x8, [x24]
LBB0_61: ; =>This Inner Loop Header: Depth=1
ldr w10, [x8, x9, lsl #2]
str w10, [x0, x9, lsl #2]
add x10, x9, #1
ldrsw x11, [x26]
cmp x9, x11
mov x9, x10
b.lt LBB0_61
LBB0_62:
ldr x8, [x23]
ldrsw x9, [x25]
ldr w8, [x8, x9, lsl #2]
cmp w8, #0
cset w8, ne
ldr x9, [x25, #40]
ldrsw x10, [x25, #16]
str w8, [x9, x10, lsl #2]
ldr w0, [x25, #16]
LBB0_63:
; kill: def $w0 killed $w0 killed $x0
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 Lloh10, Lloh11
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34
.loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37
.loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40
.loh AdrpAdd Lloh41, Lloh42
.loh AdrpAdd Lloh43, Lloh44
.loh AdrpLdrGot Lloh45, Lloh46
.loh AdrpLdrGot Lloh47, Lloh48
.loh AdrpAdd Lloh49, Lloh50
.cfi_endproc
; -- End function
.comm _HAT,4,2 ; @HAT
.comm _NCHARS,4,2 ; @NCHARS
.comm _maxsetvec,4,2 ; @maxsetvec
.comm _setvec,8,3 ; @setvec
.comm _tmpset,8,3 ; @tmpset
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "out of space in cgoto()"
.comm _setcnt,4,2 ; @setcnt
.comm _FINAL,4,2 ; @FINAL
.comm _CHAR,4,2 ; @CHAR
.comm _DOT,4,2 ; @DOT
.comm _ALL,4,2 ; @ALL
.comm _EMPTYRE,4,2 ; @EMPTYRE
.comm _CCL,4,2 ; @CCL
.comm _NCCL,4,2 ; @NCCL
l_.str.1: ; @.str.1
.asciz "cgoto overflow"
.comm _NSTATES,4,2 ; @NSTATES
l_.str.2: ; @.str.2
.asciz "out of space in cgoto"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function Curl_formadd_convert
_Curl_formadd_convert: ## @Curl_formadd_convert
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r14d
movq %rdi, %rbx
movslq %esi, %rax
testl %esi, %esi
jg LBB0_3
## %bb.1:
cmpq $0, (%rbx,%rax,8)
je LBB0_2
LBB0_3:
movl %ecx, -48(%rbp) ## 4-byte Spill
testl %r14d, %r14d
movq %rax, -56(%rbp) ## 8-byte Spill
js LBB0_5
## %bb.4:
movl %r14d, %eax
movl (%rbx,%rax,8), %r13d
jmp LBB0_6
LBB0_5:
movq (%rbx,%rax,8), %rdi
callq _strlen
movl %eax, %r13d
decl %r13d
LBB0_6:
movq _MAX_CONV_EXPANSION@GOTPCREL(%rip), %r15
movl (%r15), %edi
imull %r13d, %edi
callq _malloc
movq %rax, %r12
movl $-1, %eax
testq %r12, %r12
je LBB0_12
## %bb.7:
movl %r14d, -44(%rbp) ## 4-byte Spill
movl (%r15), %esi
imull %r13d, %esi
movq _ASCII_CCSID@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq -56(%rbp), %r14 ## 8-byte Reload
movq (%rbx,%r14,8), %rcx
movq %r12, %rdi
movl %r13d, %r8d
movl -48(%rbp), %r9d ## 4-byte Reload
callq _convert
testl %eax, %eax
js LBB0_8
## %bb.9:
movl %eax, %r15d
movq %r12, %rdi
movl %eax, %esi
callq _realloc
testq %rax, %rax
cmovneq %rax, %r12
movq %r12, (%rbx,%r14,8)
movl -44(%rbp), %ecx ## 4-byte Reload
testl %ecx, %ecx
js LBB0_11
## %bb.10:
movl %r15d, %eax
movl %ecx, %ecx
movq %rax, (%rbx,%rcx,8)
LBB0_11:
movl %r15d, %eax
jmp LBB0_12
LBB0_8:
movq %r12, %rdi
callq _free
movl $-1, %eax
jmp LBB0_12
LBB0_2:
xorl %eax, %eax
LBB0_12:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MAX_CONV_EXPANSION,4,2 ## @MAX_CONV_EXPANSION
.comm _ASCII_CCSID,4,2 ## @ASCII_CCSID
.no_dead_strip _Curl_formadd_convert
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function Curl_formadd_convert
_Curl_formadd_convert: ; @Curl_formadd_convert
.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 x22, x3
mov x19, x2
mov x21, x1
mov x20, x0
cmp w1, #0
b.gt LBB0_2
; %bb.1:
ldr x8, [x20, w21, sxtw #3]
cbz x8, LBB0_11
LBB0_2:
tbnz w19, #31, LBB0_4
; %bb.3:
ldr x24, [x20, w19, uxtw #3]
b LBB0_5
LBB0_4:
ldr x0, [x20, w21, sxtw #3]
bl _strlen
sub w24, w0, #1
LBB0_5:
Lloh0:
adrp x25, _MAX_CONV_EXPANSION@GOTPAGE
Lloh1:
ldr x25, [x25, _MAX_CONV_EXPANSION@GOTPAGEOFF]
ldr w8, [x25]
mul w0, w8, w24
bl _malloc
cbz x0, LBB0_9
; %bb.6:
mov x23, x0
ldr w8, [x25]
mul w1, w8, w24
Lloh2:
adrp x8, _ASCII_CCSID@GOTPAGE
Lloh3:
ldr x8, [x8, _ASCII_CCSID@GOTPAGEOFF]
Lloh4:
ldr w2, [x8]
ldr x3, [x20, w21, sxtw #3]
mov x4, x24
mov x5, x22
bl _convert
tbnz w0, #31, LBB0_10
; %bb.7:
mov x22, x0
mov x0, x23
mov x1, x22
bl _realloc
cmp x0, #0
csel x8, x23, x0, eq
str x8, [x20, w21, sxtw #3]
tbnz w19, #31, LBB0_12
; %bb.8:
mov w8, w22
str x8, [x20, w19, uxtw #3]
b LBB0_12
LBB0_9:
mov w22, #-1 ; =0xffffffff
b LBB0_12
LBB0_10:
mov x0, x23
bl _free
mov w22, #-1 ; =0xffffffff
b LBB0_12
LBB0_11:
mov w22, #0 ; =0x0
LBB0_12:
mov x0, x22
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _MAX_CONV_EXPANSION,4,2 ; @MAX_CONV_EXPANSION
.comm _ASCII_CCSID,4,2 ; @ASCII_CCSID
.no_dead_strip _Curl_formadd_convert
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function r_debug_gdb_reg_write
_r_debug_gdb_reg_write: ## @r_debug_gdb_reg_write
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
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, -56(%rbp) ## 4-byte Spill
movq %rdi, %r14
callq _check_connection
movq _desc@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB0_1
## %bb.2:
movq _reg_buf@GOTPCREL(%rip), %r15
movl $-1, %eax
cmpq $0, (%r15)
je LBB0_22
## %bb.3:
movl $0, -48(%rbp)
movq 24(%r14), %rax
movl (%rax), %r13d
movl 4(%rax), %edi
movq _R_REG_NAME_PC@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _r_reg_get_name
movq 24(%r14), %rcx
movl 4(%rcx), %edi
movq %rax, %rsi
xorl %edx, %edx
callq _r_reg_get
testq %rax, %rax
je LBB0_5
## %bb.4:
movq 24(%r14), %rcx
movl (%rax), %eax
cmpl %eax, (%rcx)
cmovnel %eax, %r13d
LBB0_5:
movl (%r14), %edi
leaq -48(%rbp), %rdx
movl -56(%rbp), %esi ## 4-byte Reload
callq _r_reg_get_bytes
movl %eax, %edi
callq _free
movq _buf_size@GOTPCREL(%rip), %rbx
movl -48(%rbp), %esi
cmpl %esi, (%rbx)
jg LBB0_8
## %bb.6:
movq (%r15), %rdi
shll $2, %esi
callq _realloc
testq %rax, %rax
je LBB0_21
## %bb.7:
movq %rax, (%r15)
movslq (%rbx), %rcx
movl -48(%rbp), %edx
subl %ecx, %edx
shlq $2, %rcx
subq %rcx, %rax
movq %rax, %rdi
xorl %esi, %esi
callq _memset
LBB0_8:
movq 8(%r14), %rdi
testq %rdi, %rdi
je LBB0_9
## %bb.10:
leaq L_.str(%rip), %rsi
callq *16(%r14)
testq %rax, %rax
setne %al
movl %eax, -52(%rbp) ## 4-byte Spill
jmp LBB0_11
LBB0_1:
movq _R_DEBUG_REASON_UNKNOWN@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_22:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_9:
movl $0, -52(%rbp) ## 4-byte Folded Spill
LBB0_11:
leal 7(%r13), %r12d
testl %r13d, %r13d
movq %r13, %rbx
cmovnsl %r13d, %r12d
sarl $3, %r12d
xorl %r13d, %r13d
jmp LBB0_12
LBB0_17: ## in Loop: Header=BB0_12 Depth=1
callq _r_swap_ut32
LBB0_19: ## in Loop: Header=BB0_12 Depth=1
movl %eax, -44(%rbp)
LBB0_20: ## in Loop: Header=BB0_12 Depth=1
movq _desc@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl 4(%r13), %esi
leaq -44(%rbp), %rdx
movl %r12d, %ecx
callq _gdbr_write_reg
LBB0_12: ## =>This Inner Loop Header: Depth=1
movl (%r14), %edi
movq (%r15), %rdx
movl -48(%rbp), %ecx
movl -56(%rbp), %esi ## 4-byte Reload
movq %r13, %r8
movl %ebx, %r9d
callq _r_reg_next_diff
movq %rax, %r13
testq %rax, %rax
je LBB0_12
## %bb.13: ## in Loop: Header=BB0_12 Depth=1
movl (%r14), %edi
movq %r13, %rsi
callq _r_reg_get_value
movl %eax, -44(%rbp)
cmpb $0, -52(%rbp) ## 1-byte Folded Reload
je LBB0_20
## %bb.14: ## in Loop: Header=BB0_12 Depth=1
movl %eax, %edi
cmpl $4, %r12d
je LBB0_17
## %bb.15: ## in Loop: Header=BB0_12 Depth=1
cmpl $2, %r12d
jne LBB0_18
## %bb.16: ## in Loop: Header=BB0_12 Depth=1
callq _r_swap_ut16
jmp LBB0_19
LBB0_18: ## in Loop: Header=BB0_12 Depth=1
callq _r_swap_ut64
jmp LBB0_19
LBB0_21:
movl $-1, %eax
jmp LBB0_22
.cfi_endproc
## -- End function
.comm _desc,4,2 ## @desc
.comm _R_DEBUG_REASON_UNKNOWN,4,2 ## @R_DEBUG_REASON_UNKNOWN
.comm _reg_buf,8,3 ## @reg_buf
.comm _R_REG_NAME_PC,4,2 ## @R_REG_NAME_PC
.comm _buf_size,4,2 ## @buf_size
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "cfg.bigendian"
.no_dead_strip _r_debug_gdb_reg_write
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function r_debug_gdb_reg_write
_r_debug_gdb_reg_write: ; @r_debug_gdb_reg_write
.cfi_startproc
; %bb.0:
sub sp, sp, #96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x1
mov x20, x0
bl _check_connection
Lloh0:
adrp x24, _desc@GOTPAGE
Lloh1:
ldr x24, [x24, _desc@GOTPAGEOFF]
ldr w8, [x24]
cbz w8, LBB0_9
; %bb.1:
Lloh2:
adrp x25, _reg_buf@GOTPAGE
Lloh3:
ldr x25, [x25, _reg_buf@GOTPAGEOFF]
ldr x8, [x25]
cbz x8, LBB0_10
; %bb.2:
str wzr, [sp, #12]
ldr x8, [x20, #24]
ldp w21, w0, [x8]
Lloh4:
adrp x8, _R_REG_NAME_PC@GOTPAGE
Lloh5:
ldr x8, [x8, _R_REG_NAME_PC@GOTPAGEOFF]
Lloh6:
ldr w1, [x8]
bl _r_reg_get_name
mov x1, x0
ldr x8, [x20, #24]
ldr w0, [x8, #4]
mov w2, #0 ; =0x0
bl _r_reg_get
cbz x0, LBB0_4
; %bb.3:
ldr x8, [x20, #24]
ldr w8, [x8]
ldr w9, [x0]
cmp w8, w9
csel w21, w21, w9, eq
LBB0_4:
ldr w0, [x20]
add x2, sp, #12
mov x1, x19
bl _r_reg_get_bytes
bl _free
Lloh7:
adrp x22, _buf_size@GOTPAGE
Lloh8:
ldr x22, [x22, _buf_size@GOTPAGEOFF]
ldr w9, [x22]
ldr w8, [sp, #12]
cmp w9, w8
b.gt LBB0_7
; %bb.5:
ldr x0, [x25]
lsl w1, w8, #2
bl _realloc
cbz x0, LBB0_10
; %bb.6:
str x0, [x25]
ldrsw x8, [x22]
sub x0, x0, x8, lsl #2
ldr w9, [sp, #12]
sub w2, w9, w8
mov w1, #0 ; =0x0
bl _memset
LBB0_7:
ldr x0, [x20, #8]
cbz x0, LBB0_12
; %bb.8:
ldr x8, [x20, #16]
Lloh9:
adrp x1, l_.str@PAGE
Lloh10:
add x1, x1, l_.str@PAGEOFF
blr x8
cmp x0, #0
cset w26, ne
b LBB0_13
LBB0_9:
Lloh11:
adrp x8, _R_DEBUG_REASON_UNKNOWN@GOTPAGE
Lloh12:
ldr x8, [x8, _R_DEBUG_REASON_UNKNOWN@GOTPAGEOFF]
Lloh13:
ldr w0, [x8]
b LBB0_11
LBB0_10:
mov w0, #-1 ; =0xffffffff
LBB0_11:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
ret
LBB0_12:
mov w26, #0 ; =0x0
LBB0_13:
mov x22, #0 ; =0x0
add w8, w21, #7
cmp w21, #0
csel w8, w8, w21, lt
asr w23, w8, #3
b LBB0_17
LBB0_14: ; in Loop: Header=BB0_17 Depth=1
bl _r_swap_ut32
LBB0_15: ; in Loop: Header=BB0_17 Depth=1
str w0, [sp, #8]
LBB0_16: ; in Loop: Header=BB0_17 Depth=1
ldr w0, [x24]
ldr w1, [x22, #4]
add x2, sp, #8
mov x3, x23
bl _gdbr_write_reg
LBB0_17: ; =>This Inner Loop Header: Depth=1
ldr w0, [x20]
ldr x2, [x25]
ldr w3, [sp, #12]
mov x1, x19
mov x4, x22
mov x5, x21
bl _r_reg_next_diff
mov x22, x0
cbz x0, LBB0_17
; %bb.18: ; in Loop: Header=BB0_17 Depth=1
ldr w0, [x20]
mov x1, x22
bl _r_reg_get_value
str w0, [sp, #8]
cbz w26, LBB0_16
; %bb.19: ; in Loop: Header=BB0_17 Depth=1
cmp w23, #4
b.eq LBB0_14
; %bb.20: ; in Loop: Header=BB0_17 Depth=1
cmp w23, #2
b.ne LBB0_22
; %bb.21: ; in Loop: Header=BB0_17 Depth=1
bl _r_swap_ut16
b LBB0_15
LBB0_22: ; in Loop: Header=BB0_17 Depth=1
bl _r_swap_ut64
b LBB0_15
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.cfi_endproc
; -- End function
.comm _desc,4,2 ; @desc
.comm _R_DEBUG_REASON_UNKNOWN,4,2 ; @R_DEBUG_REASON_UNKNOWN
.comm _reg_buf,8,3 ; @reg_buf
.comm _R_REG_NAME_PC,4,2 ; @R_REG_NAME_PC
.comm _buf_size,4,2 ; @buf_size
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "cfg.bigendian"
.no_dead_strip _r_debug_gdb_reg_write
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function add_enctype_to_key_set
_add_enctype_to_key_set: ## @add_enctype_to_key_set
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $32, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %r15
movl %edx, %r12d
movq %rsi, %rbx
movq %rdi, %r14
leaq -64(%rbp), %rdi
xorl %esi, %esi
movl $32, %edx
callq _memset
movq (%r14), %rdi
movq (%rbx), %rsi
shlq $5, %rsi
addq $-32, %rsi
callq _realloc
testq %rax, %rax
je LBB0_1
## %bb.2:
movq %rax, (%r14)
movl %r12d, -40(%rbp)
xorps %xmm0, %xmm0
movups %xmm0, -56(%rbp)
testq %r15, %r15
je LBB0_8
## %bb.3:
movl $1, %edi
movl $8, %esi
callq _calloc
movq %rax, -64(%rbp)
testq %rax, %rax
je LBB0_4
## %bb.5:
movl 8(%r15), %ecx
movl %ecx, 4(%rax)
movq %rax, %rdi
callq _krb5_data_zero
movq -64(%rbp), %rdi
movl (%r15), %edx
movl 4(%r15), %esi
callq _krb5_data_copy
testq %rax, %rax
je LBB0_6
## %bb.7:
leaq -64(%rbp), %rdi
movq %rax, %rbx
callq _free_Key
movq %rbx, %rax
jmp LBB0_10
LBB0_8:
movq $0, -64(%rbp)
jmp LBB0_9
LBB0_4:
leaq -64(%rbp), %rdi
callq _free_Key
LBB0_1:
movq _ENOMEM@GOTPCREL(%rip), %rax
movq (%rax), %rax
jmp LBB0_10
LBB0_6:
movq (%r14), %rax
LBB0_9:
movq (%rbx), %rcx
shlq $5, %rcx
movups -64(%rbp), %xmm0
movups -48(%rbp), %xmm1
movups %xmm1, 16(%rax,%rcx)
movups %xmm0, (%rax,%rcx)
incq (%rbx)
xorl %eax, %eax
LBB0_10:
addq $32, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ENOMEM,8,3 ## @ENOMEM
.no_dead_strip _add_enctype_to_key_set
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function add_enctype_to_key_set
_add_enctype_to_key_set: ; @add_enctype_to_key_set
.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 x22, x2
mov x19, x1
mov x20, x0
mov x0, sp
mov w1, #0 ; =0x0
mov w2, #32 ; =0x20
bl _memset
ldr x0, [x20]
ldr x8, [x19]
lsl x8, x8, #5
sub x1, x8, #32
bl _realloc
cbz x0, LBB0_7
; %bb.1:
str x0, [x20]
str w22, [sp, #24]
stp xzr, xzr, [sp, #8]
cbz x21, LBB0_5
; %bb.2:
mov w0, #1 ; =0x1
mov w1, #8 ; =0x8
bl _calloc
str x0, [sp]
cbz x0, LBB0_6
; %bb.3:
ldr w8, [x21, #8]
str w8, [x0, #4]
bl _krb5_data_zero
ldr x0, [sp]
ldp w2, w1, [x21]
bl _krb5_data_copy
cbz x0, LBB0_8
; %bb.4:
mov x19, x0
mov x0, sp
bl _free_Key
mov x0, x19
b LBB0_10
LBB0_5:
mov x8, x0
str xzr, [sp]
b LBB0_9
LBB0_6:
mov x0, sp
bl _free_Key
LBB0_7:
Lloh0:
adrp x8, _ENOMEM@GOTPAGE
Lloh1:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
ldr x0, [x8]
b LBB0_10
LBB0_8:
ldr x8, [x20]
LBB0_9:
mov x0, #0 ; =0x0
ldr x9, [x19]
add x8, x8, x9, lsl #5
ldp q0, q1, [sp]
stp q0, q1, [x8]
ldr x8, [x19]
add x8, x8, #1
str x8, [x19]
LBB0_10:
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 Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _ENOMEM,8,3 ; @ENOMEM
.no_dead_strip _add_enctype_to_key_set
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _generate_param ## -- Begin function generate_param
.p2align 4, 0x90
_generate_param: ## @generate_param
.cfi_startproc
## %bb.0:
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
cmpq $0, (%rsi)
je LBB0_2
LBB0_16:
xorl %ebx, %ebx
jmp LBB0_17
LBB0_2:
movq %rdx, %r15
movq %rsi, %r12
movq $0, -80(%rbp) ## 8-byte Folded Spill
movq %rdi, -88(%rbp) ## 8-byte Spill
xorl %r14d, %r14d
movl $0, -56(%rbp) ## 4-byte Folded Spill
xorl %ebx, %ebx
movq %rdx, -72(%rbp) ## 8-byte Spill
movq %rsi, -96(%rbp) ## 8-byte Spill
jmp LBB0_5
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_5 Depth=1
movq -72(%rbp), %r15 ## 8-byte Reload
movq %rbx, %r12
movq %r13, %rbx
LBB0_4: ## in Loop: Header=BB0_5 Depth=1
cmpq $0, -8(%r12,%r14)
leaq -8(%r14), %r14
jne LBB0_14
LBB0_5: ## =>This Inner Loop Header: Depth=1
cmpq $0, (%r15,%r14)
je LBB0_14
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
xorl %edi, %edi
callq _strlen
movl %eax, %r13d
movq (%r15,%r14), %rdi
callq _strlen
xorl %ecx, %ecx
movl %r13d, -44(%rbp) ## 4-byte Spill
cmpl $127, %r13d
setge %cl
leal (%rcx,%rcx,2), %edx
addl -56(%rbp), %edx ## 4-byte Folded Reload
xorl %ecx, %ecx
movl %eax, -60(%rbp) ## 4-byte Spill
cmpl $127, %eax
setg %cl
movq %rbx, -56(%rbp) ## 8-byte Spill
movq %r12, %rbx
movq %r15, %r12
leal (%rcx,%rcx,2), %r15d
addl %edx, %r15d
movq (%rbx,%r14), %rdi
callq _strlen
movl %eax, %r13d
movq (%r12,%r14), %rdi
callq _strlen
subl %eax, %r13d
leal (%r15,%r13), %esi
addl $2, %esi
movq -56(%rbp), %rdi ## 8-byte Reload
movl %esi, -56(%rbp) ## 4-byte Spill
callq _realloc
movq %rax, %r13
testq %rax, %rax
je LBB0_3
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movq %rbx, %r15
movq (%rbx,%r14), %rdi
callq _strlen
movslq -80(%rbp), %rcx ## 4-byte Folded Reload
cmpl $128, %eax
jl LBB0_9
## %bb.8: ## in Loop: Header=BB0_5 Depth=1
movl -44(%rbp), %ebx ## 4-byte Reload
movl %ebx, %eax
shrl $24, %eax
orb $-128, %al
movq %r13, %rdx
movb %al, (%r13,%rcx)
movl %ebx, %eax
shrl $16, %eax
movb %al, 1(%r13,%rcx)
movb %bh, 2(%rdx,%rcx)
leal 4(%rcx), %r12d
movb %bl, 3(%r13,%rcx)
jmp LBB0_10
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_5 Depth=1
leal 1(%rcx), %r12d
movq %r13, %rdx
movl -44(%rbp), %eax ## 4-byte Reload
movb %al, (%r13,%rcx)
LBB0_10: ## in Loop: Header=BB0_5 Depth=1
movq -72(%rbp), %rax ## 8-byte Reload
movq %rdx, %rbx
movq (%rax,%r14), %rdi
callq _strlen
movslq %r12d, %rcx
cmpl $128, %eax
jl LBB0_12
## %bb.11: ## in Loop: Header=BB0_5 Depth=1
movl -60(%rbp), %edx ## 4-byte Reload
movl %edx, %eax
shrl $24, %eax
orb $-128, %al
movb %al, (%rbx,%rcx)
movl %edx, %eax
shrl $16, %eax
movb %al, 1(%rbx,%rcx)
movb %dh, 2(%rbx,%rcx)
leal 4(%rcx), %eax
movl %edx, %r12d
movb %dl, 3(%rbx,%rcx)
jmp LBB0_13
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_5 Depth=1
leal 1(%rcx), %eax
movl -60(%rbp), %edx ## 4-byte Reload
movl %edx, %r12d
movb %dl, (%rbx,%rcx)
LBB0_13: ## in Loop: Header=BB0_5 Depth=1
movq %r15, %rcx
movslq %eax, %r15
leaq (%rbx,%r15), %rdi
movq (%rcx,%r14), %rsi
movl -44(%rbp), %r13d ## 4-byte Reload
movl %r13d, %edx
callq _memcpy
addl %r13d, %r15d
movslq %r15d, %r13
movq %rbx, %rdi
addq %r13, %rdi
movq -72(%rbp), %r15 ## 8-byte Reload
movq (%r15,%r14), %rsi
movl %r12d, %edx
callq _memcpy
addl %r12d, %r13d
movq %r13, -80(%rbp) ## 8-byte Spill
movq -96(%rbp), %r12 ## 8-byte Reload
jmp LBB0_4
LBB0_14:
testq %rbx, %rbx
je LBB0_16
## %bb.15:
movq -88(%rbp), %rax ## 8-byte Reload
movl -56(%rbp), %ecx ## 4-byte Reload
movl %ecx, (%rax)
LBB0_17:
movq %rbx, %rax
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _generate_param ; -- Begin function generate_param
.p2align 2
_generate_param: ; @generate_param
.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 x8, [x1]
cbz x8, LBB0_2
; %bb.1:
mov x22, #0 ; =0x0
b LBB0_15
LBB0_2:
mov x20, x2
mov x21, x1
mov x19, x0
mov w26, #0 ; =0x0
mov w23, #0 ; =0x0
mov x22, #0 ; =0x0
b LBB0_6
LBB0_3: ; in Loop: Header=BB0_6 Depth=1
add w8, w27, #1
strb w24, [x22, w27, sxtw]
LBB0_4: ; in Loop: Header=BB0_6 Depth=1
sxtw x26, w8
ldr x1, [x21]
add x0, x22, x26
mov x2, x25
bl _memcpy
add x25, x26, w25, sxtw
ldr x1, [x20]
add x0, x22, x25
mov x2, x24
bl _memcpy
add w26, w25, w24
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
ldr x8, [x21, #-8]!
sub x20, x20, #8
cbnz x8, LBB0_13
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldr x8, [x20]
cbz x8, LBB0_13
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
mov x0, #0 ; =0x0
bl _strlen
mov x25, x0
ldr x0, [x20]
bl _strlen
mov x24, x0
cmp w25, #126
add w8, w23, #4
csinc w8, w8, w23, gt
cmp w0, #127
add w9, w8, #4
csinc w27, w9, w8, gt
ldr x0, [x21]
bl _strlen
mov x23, x0
ldr x0, [x20]
bl _strlen
sub w8, w23, w0
add w23, w27, w8
mov x0, x22
mov x1, x23
bl _realloc
mov x22, x0
cbz x0, LBB0_5
; %bb.8: ; in Loop: Header=BB0_6 Depth=1
ldr x0, [x21]
bl _strlen
cmp w0, #128
b.lt LBB0_10
; %bb.9: ; in Loop: Header=BB0_6 Depth=1
lsr w8, w25, #24
orr w8, w8, #0x80
add x9, x22, w26, sxtw
strb w8, [x9]
lsr w8, w25, #16
strb w8, [x9, #1]
lsr w8, w25, #8
strb w8, [x9, #2]
add w27, w26, #4
strb w25, [x9, #3]
b LBB0_11
LBB0_10: ; in Loop: Header=BB0_6 Depth=1
add w27, w26, #1
strb w25, [x22, w26, sxtw]
LBB0_11: ; in Loop: Header=BB0_6 Depth=1
ldr x0, [x20]
bl _strlen
cmp w0, #128
b.lt LBB0_3
; %bb.12: ; in Loop: Header=BB0_6 Depth=1
lsr w8, w24, #24
orr w8, w8, #0x80
add x9, x22, w27, sxtw
strb w8, [x9]
lsr w8, w24, #16
strb w8, [x9, #1]
lsr w8, w24, #8
strb w8, [x9, #2]
add w8, w27, #4
strb w24, [x9, #3]
b LBB0_4
LBB0_13:
cbz x22, LBB0_15
; %bb.14:
str w23, [x19]
LBB0_15:
mov x0, x22
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 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 text_data
_text_data: ## @text_data
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %ebx
movq %rsi, %r15
movq %rdi, %r14
movq (%rdi), %rdi
testq %rdi, %rdi
je LBB0_1
## %bb.2:
callq _strlen
movl %eax, %r12d
movq (%r14), %rdi
jmp LBB0_3
LBB0_1:
xorl %edi, %edi
xorl %r12d, %r12d
LBB0_3:
movl %r12d, %esi
subl %ebx, %esi
incl %esi
callq _realloc
testq %rax, %rax
jne LBB0_5
## %bb.4:
movq $0, (%r14)
movslq %r12d, %rdi
movq %r15, %rsi
movl %ebx, %edx
callq _strncpy
movq (%r14), %rax
addl %ebx, %r12d
movslq %r12d, %rcx
movb $0, (%rax,%rcx)
LBB0_5:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _text_data
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function text_data
_text_data: ; @text_data
.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, x2
mov x21, x1
mov x20, x0
ldr x0, [x0]
cbz x0, LBB0_2
; %bb.1:
bl _strlen
mov x22, x0
ldr x0, [x20]
b LBB0_3
LBB0_2:
mov w22, #0 ; =0x0
LBB0_3:
sub w8, w22, w19
add w1, w8, #1
bl _realloc
cbnz x0, LBB0_5
; %bb.4:
str xzr, [x20]
sxtw x22, w22
mov x0, x22
mov x1, x21
mov x2, x19
bl _strncpy
ldr x8, [x20]
add x9, x22, w19, sxtw
strb wzr, [x8, x9]
LBB0_5:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _text_data
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _osdep_get_name ## -- Begin function osdep_get_name
.p2align 4, 0x90
_osdep_get_name: ## @osdep_get_name
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rax
movl %edi, %ebx
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq %rcx, -48(%rbp)
movq _CTL_KERN@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, -64(%rbp)
movq _KERN_PROC@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, -60(%rbp)
movq _KERN_PROC_PGRP@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, -56(%rbp)
leaq -88(%rbp), %rsi
movq %rax, %rdi
callq _stat
cmpl $-1, %eax
je LBB0_8
## %bb.1:
movl %ebx, %edi
callq _tcgetpgrp
movl %eax, -52(%rbp)
cmpl $-1, %eax
je LBB0_8
## %bb.2:
movq $0, -72(%rbp) ## 8-byte Folded Spill
leaq -64(%rbp), %r14
leaq -80(%rbp), %r15
movq _ENOMEM@GOTPCREL(%rip), %rbx
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
callq _nitems
movq %r14, %rdi
movl %eax, %esi
xorl %edx, %edx
movq %r15, %rcx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq _sysctl
cmpl $-1, %eax
je LBB0_9
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq -80(%rbp), %rax
leaq (%rax,%rax,4), %rsi
shrq $2, %rsi
movq %rsi, -80(%rbp)
movq %r13, %rdi
callq _realloc
testq %rax, %rax
je LBB0_7
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movq %rax, %r12
movq %r14, %rdi
callq _nitems
movq %r14, %rdi
movl %eax, %esi
movq %r12, %rdx
movq %r15, %rcx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq _sysctl
cmpl $-1, %eax
jne LBB0_11
## %bb.6: ## in Loop: Header=BB0_3 Depth=1
movq _errno@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %r12, %r13
cmpq (%rbx), %rax
je LBB0_3
LBB0_7:
movq %r13, %rdi
callq _free
LBB0_8:
movq $0, -72(%rbp) ## 8-byte Folded Spill
LBB0_9:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_17
## %bb.10:
movq -72(%rbp), %rax ## 8-byte Reload
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_11:
cmpq $16, -80(%rbp)
jb LBB0_15
## %bb.13:
movq (%r12), %rax
cmpq -88(%rbp), %rax
jne LBB0_15
## %bb.14:
movl 8(%r12), %edi
callq _strdup
movq %rax, -72(%rbp) ## 8-byte Spill
jmp LBB0_16
LBB0_15:
movq $0, -72(%rbp) ## 8-byte Folded Spill
LBB0_16:
movq %r12, %rdi
callq _free
jmp LBB0_9
LBB0_17:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _CTL_KERN,4,2 ## @CTL_KERN
.comm _KERN_PROC,4,2 ## @KERN_PROC
.comm _KERN_PROC_PGRP,4,2 ## @KERN_PROC_PGRP
.comm _errno,8,3 ## @errno
.comm _ENOMEM,8,3 ## @ENOMEM
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _osdep_get_name ; -- Begin function osdep_get_name
.p2align 2
_osdep_get_name: ; @osdep_get_name
.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 x8, x1
mov x19, x0
Lloh0:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
str x9, [sp, #40]
Lloh3:
adrp x9, _CTL_KERN@GOTPAGE
Lloh4:
ldr x9, [x9, _CTL_KERN@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
Lloh6:
adrp x10, _KERN_PROC@GOTPAGE
Lloh7:
ldr x10, [x10, _KERN_PROC@GOTPAGEOFF]
Lloh8:
ldr w10, [x10]
stp w9, w10, [sp, #24]
Lloh9:
adrp x9, _KERN_PROC_PGRP@GOTPAGE
Lloh10:
ldr x9, [x9, _KERN_PROC_PGRP@GOTPAGEOFF]
Lloh11:
ldr w9, [x9]
str w9, [sp, #32]
add x1, sp, #16
mov x0, x8
bl _stat
cmn w0, #1
b.eq LBB0_8
; %bb.1:
mov x0, x19
bl _tcgetpgrp
str w0, [sp, #36]
cmn w0, #1
b.eq LBB0_8
; %bb.2:
mov x20, #0 ; =0x0
Lloh12:
adrp x21, _errno@GOTPAGE
Lloh13:
ldr x21, [x21, _errno@GOTPAGEOFF]
Lloh14:
adrp x22, _ENOMEM@GOTPAGE
Lloh15:
ldr x22, [x22, _ENOMEM@GOTPAGEOFF]
LBB0_3: ; =>This Inner Loop Header: Depth=1
add x0, sp, #24
bl _nitems
mov x1, x0
add x0, sp, #24
add x3, sp, #8
mov x2, #0 ; =0x0
mov x4, #0 ; =0x0
mov w5, #0 ; =0x0
bl _sysctl
cmn w0, #1
b.eq LBB0_8
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [sp, #8]
add x8, x8, x8, lsl #2
lsr x1, x8, #2
str x1, [sp, #8]
mov x0, x20
bl _realloc
cbz x0, LBB0_7
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
mov x19, x0
add x0, sp, #24
bl _nitems
mov x1, x0
add x0, sp, #24
add x3, sp, #8
mov x2, x19
mov x4, #0 ; =0x0
mov w5, #0 ; =0x0
bl _sysctl
cmn w0, #1
b.ne LBB0_11
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x21]
ldr x9, [x22]
mov x20, x19
cmp x8, x9
b.eq LBB0_3
LBB0_7:
mov x0, x20
bl _free
LBB0_8:
mov x0, #0 ; =0x0
LBB0_9:
ldr x8, [sp, #40]
Lloh16:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh17:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_16
; %bb.10:
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_11:
ldr x8, [sp, #8]
cmp x8, #16
b.lo LBB0_14
; %bb.12:
ldr x8, [x19]
ldr x9, [sp, #16]
cmp x8, x9
b.ne LBB0_14
; %bb.13:
ldr w0, [x19, #8]
bl _strdup
mov x20, x0
b LBB0_15
LBB0_14:
mov x20, #0 ; =0x0
LBB0_15:
mov x0, x19
bl _free
mov x0, x20
b LBB0_9
LBB0_16:
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 AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.cfi_endproc
; -- End function
.comm _CTL_KERN,4,2 ; @CTL_KERN
.comm _KERN_PROC,4,2 ; @KERN_PROC
.comm _KERN_PROC_PGRP,4,2 ; @KERN_PROC_PGRP
.comm _errno,8,3 ; @errno
.comm _ENOMEM,8,3 ; @ENOMEM
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _carlfw_load ## -- Begin function carlfw_load
.p2align 4, 0x90
_carlfw_load: ## @carlfw_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
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
movl $1, %edi
movl $56, %esi
callq _calloc
testq %rax, %rax
je LBB0_3
## %bb.1:
movq %rax, %rbx
leaq 48(%rax), %rdi
callq _init_list_head
leaq L_.str(%rip), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq ___carlfw_load
testl %eax, %eax
je LBB0_4
LBB0_2:
movl %eax, %r15d
jmp LBB0_8
LBB0_3:
movq _ENOMEM@GOTPCREL(%rip), %rax
xorl %r15d, %r15d
subl (%rax), %r15d
jmp LBB0_9
LBB0_4:
movq 40(%rbx), %rax
testq %rax, %rax
movl $24, %ecx
cmoveq %rax, %rcx
movq %rbx, %r14
addq %rcx, %r14
movq _OTUS_MAGIC@GOTPCREL(%rip), %rax
movq (%rax), %rsi
movq _CARL9170FW_OTUS_DESC_CUR_VER@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %r14, %rdi
movl $4, %edx
callq ___carlfw_find_desc
movq %rax, %r12
movq _LAST_MAGIC@GOTPCREL(%rip), %rax
movq (%rax), %rsi
movq _CARL9170FW_LAST_DESC_CUR_VER@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %r14, %rdi
movl $4, %edx
callq ___carlfw_find_desc
testq %r12, %r12
setne %cl
testq %rax, %rax
setne %dl
andb %cl, %dl
cmpb $1, %dl
jne LBB0_6
## %bb.5:
cmpq %rax, %r12
jbe LBB0_10
LBB0_6:
movq _ENODATA@GOTPCREL(%rip), %rax
LBB0_7:
xorl %r15d, %r15d
subl (%rax), %r15d
LBB0_8:
movq %rbx, %rdi
callq _carlfw_release
LBB0_9:
movl %r15d, %edi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _ERR_PTR ## TAILCALL
LBB0_10:
movq %rax, %r13
movq %rbx, %rdi
movq %r12, %rsi
callq _carlfw_parse_descs
testl %eax, %eax
jne LBB0_2
## %bb.12:
leaq -4(%r13), %rcx
movq %r12, %r15
subq %rcx, %r15
movq (%r14), %rsi
movq 8(%r14), %rdi
movq %rdi, %rdx
subq %rcx, %rdx
addq %rsi, %rdx
je LBB0_14
## %bb.13:
movq %r13, %rax
subq %rdi, %r12
leaq (%rdi,%r12,4), %rdi
addq $16, %rax
movq %rax, %rsi
callq _memmove
movq (%r14), %rsi
movq 8(%r14), %rdi
LBB0_14:
addq %r15, %rsi
movq %rsi, (%r14)
callq _realloc
movq %rax, 8(%r14)
testq %rax, %rax
je LBB0_18
LBB0_15:
movq %rbx, %rdi
callq _carlfw_check_crc32s
testl %eax, %eax
je LBB0_17
## %bb.16:
movl %eax, %r15d
movq _ENODATA@GOTPCREL(%rip), %rax
movl (%rax), %eax
addl %r15d, %eax
jne LBB0_8
LBB0_17:
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_18:
cmpq $0, (%r14)
je LBB0_15
## %bb.19:
movq _ENOMEM@GOTPCREL(%rip), %rax
jmp LBB0_7
.cfi_endproc
## -- End function
.comm _ENOMEM,4,2 ## @ENOMEM
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "r"
.comm _OTUS_MAGIC,8,3 ## @OTUS_MAGIC
.comm _CARL9170FW_OTUS_DESC_CUR_VER,4,2 ## @CARL9170FW_OTUS_DESC_CUR_VER
.comm _LAST_MAGIC,8,3 ## @LAST_MAGIC
.comm _CARL9170FW_LAST_DESC_CUR_VER,4,2 ## @CARL9170FW_LAST_DESC_CUR_VER
.comm _ENODATA,4,2 ## @ENODATA
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _carlfw_load ; -- Begin function carlfw_load
.p2align 2
_carlfw_load: ; @carlfw_load
.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
mov w0, #1 ; =0x1
mov w1, #56 ; =0x38
bl _calloc
cbz x0, LBB0_3
; %bb.1:
mov x19, x0
add x0, x0, #48
bl _init_list_head
Lloh0:
adrp x2, l_.str@PAGE
Lloh1:
add x2, x2, l_.str@PAGEOFF
mov x0, x19
mov x1, x20
bl ___carlfw_load
cbz w0, LBB0_4
LBB0_2:
mov x20, x0
b LBB0_7
LBB0_3:
Lloh2:
adrp x8, _ENOMEM@GOTPAGE
Lloh3:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
neg w0, w8
b LBB0_8
LBB0_4:
ldr x8, [x19, #40]
mov w9, #24 ; =0x18
cmp x8, #0
csel x8, xzr, x9, eq
add x20, x19, x8
Lloh5:
adrp x8, _OTUS_MAGIC@GOTPAGE
Lloh6:
ldr x8, [x8, _OTUS_MAGIC@GOTPAGEOFF]
Lloh7:
ldr x1, [x8]
Lloh8:
adrp x8, _CARL9170FW_OTUS_DESC_CUR_VER@GOTPAGE
Lloh9:
ldr x8, [x8, _CARL9170FW_OTUS_DESC_CUR_VER@GOTPAGEOFF]
Lloh10:
ldr w3, [x8]
mov x0, x20
mov w2, #4 ; =0x4
bl ___carlfw_find_desc
mov x21, x0
Lloh11:
adrp x8, _LAST_MAGIC@GOTPAGE
Lloh12:
ldr x8, [x8, _LAST_MAGIC@GOTPAGEOFF]
Lloh13:
ldr x1, [x8]
Lloh14:
adrp x8, _CARL9170FW_LAST_DESC_CUR_VER@GOTPAGE
Lloh15:
ldr x8, [x8, _CARL9170FW_LAST_DESC_CUR_VER@GOTPAGEOFF]
Lloh16:
ldr w3, [x8]
mov x0, x20
mov w2, #4 ; =0x4
bl ___carlfw_find_desc
cmp x21, #0
ccmp x0, #0, #4, ne
ccmp x21, x0, #2, ne
b.ls LBB0_9
; %bb.5:
Lloh17:
adrp x8, _ENODATA@GOTPAGE
Lloh18:
ldr x8, [x8, _ENODATA@GOTPAGEOFF]
LBB0_6:
ldr w8, [x8]
neg w20, w8
LBB0_7:
mov x0, x19
bl _carlfw_release
mov x0, x20
LBB0_8:
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 _ERR_PTR
LBB0_9:
mov x22, x0
mov x0, x19
mov x1, x21
bl _carlfw_parse_descs
cbnz w0, LBB0_2
; %bb.10:
mov x9, x22
sub x10, x22, #4
sub x22, x21, x10
ldp x8, x0, [x20]
sub x10, x0, x10
adds x2, x10, x8
b.eq LBB0_12
; %bb.11:
sub x8, x21, x0
add x0, x0, x8, lsl #2
add x1, x9, #16
bl _memmove
ldp x8, x0, [x20]
LBB0_12:
add x1, x8, x22
str x1, [x20]
bl _realloc
str x0, [x20, #8]
cbz x0, LBB0_16
LBB0_13:
mov x0, x19
bl _carlfw_check_crc32s
cbz w0, LBB0_15
; %bb.14:
Lloh19:
adrp x8, _ENODATA@GOTPAGE
Lloh20:
ldr x8, [x8, _ENODATA@GOTPAGEOFF]
Lloh21:
ldr w8, [x8]
cmn w0, w8
b.ne LBB0_2
LBB0_15:
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_16:
ldr x8, [x20]
cbz x8, LBB0_13
; %bb.17:
Lloh22:
adrp x8, _ENOMEM@GOTPAGE
Lloh23:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
b LBB0_6
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGot Lloh22, Lloh23
.cfi_endproc
; -- End function
.comm _ENOMEM,4,2 ; @ENOMEM
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "r"
.comm _OTUS_MAGIC,8,3 ; @OTUS_MAGIC
.comm _CARL9170FW_OTUS_DESC_CUR_VER,4,2 ; @CARL9170FW_OTUS_DESC_CUR_VER
.comm _LAST_MAGIC,8,3 ; @LAST_MAGIC
.comm _CARL9170FW_LAST_DESC_CUR_VER,4,2 ; @CARL9170FW_LAST_DESC_CUR_VER
.comm _ENODATA,4,2 ; @ENODATA
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _efi_register_handles ## -- Begin function efi_register_handles
.p2align 4, 0x90
_efi_register_handles: ## @efi_register_handles
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movq _nentries@GOTPCREL(%rip), %rax
movslq (%rax), %r13
movslq %ecx, %rcx
addq %r13, %rcx
movl %ecx, (%rax)
movq %rcx, %rsi
shlq $2, %rsi
movq _entry@GOTPCREL(%rip), %r12
movq (%r12), %rdi
testq %rdi, %rdi
je LBB0_1
## %bb.2:
callq _realloc
movq _nentries@GOTPCREL(%rip), %r9
movl (%r9), %ecx
jmp LBB0_3
LBB0_1:
movq %rsi, %rdi
movq %rcx, -48(%rbp) ## 8-byte Spill
callq _malloc
movq -48(%rbp), %rcx ## 8-byte Reload
movq _nentries@GOTPCREL(%rip), %r9
LBB0_3:
movq %rax, (%r12)
cmpl %ecx, %r13d
jle LBB0_4
LBB0_9:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_4:
movq %r13, %rcx
shlq $5, %rcx
decq %r13
xorl %edx, %edx
xorl %esi, %esi
jmp LBB0_5
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_5 Depth=1
movq (%rbx,%rdx), %rax
LBB0_8: ## in Loop: Header=BB0_5 Depth=1
movq (%r12), %rdi
addq %rcx, %rdi
movq %rax, 16(%rdi,%rdx,4)
movq (%r12), %rax
addq %rcx, %rax
movq %r15, 8(%rax,%rdx,4)
movq (%r12), %rax
leaq (%rax,%rcx), %rdi
movl %esi, (%rdi,%rdx,4)
movslq (%r9), %rdi
addq $8, %rdx
leaq (%rsi,%r13), %r8
incq %r8
incq %rsi
cmpq %rdi, %r8
jge LBB0_9
LBB0_5: ## =>This Inner Loop Header: Depth=1
addq %rcx, %rax
movq (%r14,%rdx), %rdi
movq %rdi, 24(%rax,%rdx,4)
testq %rbx, %rbx
jne LBB0_7
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
xorl %eax, %eax
jmp LBB0_8
.cfi_endproc
## -- End function
.comm _nentries,4,2 ## @nentries
.comm _entry,8,3 ## @entry
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _efi_register_handles ; -- Begin function efi_register_handles
.p2align 2
_efi_register_handles: ; @efi_register_handles
.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 x22, _nentries@GOTPAGE
Lloh1:
ldr x22, [x22, _nentries@GOTPAGEOFF]
ldrsw x24, [x22]
add w25, w24, w3
str w25, [x22]
sbfiz x1, x25, #2, #32
Lloh2:
adrp x23, _entry@GOTPAGE
Lloh3:
ldr x23, [x23, _entry@GOTPAGEOFF]
ldr x0, [x23]
cbz x0, LBB0_2
; %bb.1:
bl _realloc
ldr w25, [x22]
b LBB0_3
LBB0_2:
mov x0, x1
bl _malloc
LBB0_3:
str x0, [x23]
cmp w24, w25
b.le LBB0_5
LBB0_4:
mov w0, #0 ; =0x0
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_5:
mov x8, #0 ; =0x0
mov w9, #16 ; =0x10
orr x9, x9, x24, lsl #5
sub x10, x24, #1
b LBB0_8
LBB0_6: ; in Loop: Header=BB0_8 Depth=1
ldr x11, [x19, x8, lsl #3]
LBB0_7: ; in Loop: Header=BB0_8 Depth=1
ldr x12, [x23]
str x11, [x12, x9]
ldr x11, [x23]
add x11, x11, x9
stur x21, [x11, #-8]
ldr x0, [x23]
add x11, x0, x9
stur w8, [x11, #-16]
add x8, x8, #1
ldrsw x11, [x22]
add x9, x9, #32
add x10, x10, #1
cmp x10, x11
b.ge LBB0_4
LBB0_8: ; =>This Inner Loop Header: Depth=1
ldr x11, [x20, x8, lsl #3]
add x12, x0, x9
str x11, [x12, #8]
cbnz x19, LBB0_6
; %bb.9: ; in Loop: Header=BB0_8 Depth=1
mov x11, #0 ; =0x0
b LBB0_7
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _nentries,4,2 ; @nentries
.comm _entry,8,3 ; @entry
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function strbuf_append
_strbuf_append: ## @strbuf_append
.cfi_startproc
## %bb.0:
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 %rdi, %rax
orq %rsi, %rax
setne %al
testl %edx, %edx
js LBB0_12
## %bb.1:
testb %al, %al
je LBB0_12
## %bb.2:
movq %rsi, %r14
movq %rsi, %rdi
callq _strlen
movl %eax, %r15d
movl (%rbx), %ecx
movl 4(%rbx), %eax
subl %r15d, %ecx
addl $2, %ecx
cmpl %eax, %ecx
jge LBB0_4
## %bb.3:
movq 8(%rbx), %rax
testq %r14, %r14
jne LBB0_8
jmp LBB0_10
LBB0_4:
leal (%r15,%rax), %r12d
addl $256, %r12d ## imm = 0x100
movq 8(%rbx), %rdi
movl %r12d, %esi
callq _realloc
testq %rax, %rax
je LBB0_5
## %bb.6:
movq %rax, 8(%rbx)
movl %r12d, 4(%rbx)
testq %r14, %r14
je LBB0_10
LBB0_8:
testq %rax, %rax
je LBB0_10
## %bb.9:
movslq (%rbx), %rcx
addq %rcx, %rax
movq %rax, %rdi
movq %r14, %rsi
movl %r15d, %edx
callq _memcpy
addl %r15d, (%rbx)
movq 8(%rbx), %rax
LBB0_10:
testq %rax, %rax
je LBB0_12
## %bb.11:
movslq (%rbx), %rcx
movb $0, (%rax,%rcx)
jmp LBB0_12
LBB0_5:
xorl %ebx, %ebx
LBB0_12:
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _strbuf_append
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function strbuf_append
_strbuf_append: ; @strbuf_append
.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
orr x8, x0, x1
cmp x8, #0
cset w8, ne
tbnz w2, #31, LBB0_11
; %bb.1:
cbz w8, LBB0_11
; %bb.2:
mov x20, x1
mov x0, x1
bl _strlen
mov x21, x0
ldp w9, w8, [x19]
sub w9, w9, w0
add w9, w9, #2
cmp w9, w8
b.ge LBB0_4
; %bb.3:
ldr x0, [x19, #8]
cbnz x20, LBB0_6
b LBB0_8
LBB0_4:
add w8, w21, w8
add w22, w8, #256
ldr x0, [x19, #8]
mov x1, x22
bl _realloc
cbz x0, LBB0_10
; %bb.5:
str x0, [x19, #8]
str w22, [x19, #4]
cbz x20, LBB0_8
LBB0_6:
cbz x0, LBB0_8
; %bb.7:
ldrsw x8, [x19]
add x0, x0, x8
mov x1, x20
mov x2, x21
bl _memcpy
ldr w8, [x19]
add w8, w8, w21
str w8, [x19]
ldr x0, [x19, #8]
LBB0_8:
cbz x0, LBB0_11
; %bb.9:
ldrsw x8, [x19]
strb wzr, [x0, x8]
b LBB0_11
LBB0_10:
mov x19, #0 ; =0x0
LBB0_11:
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _strbuf_append
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _ncp_AddUrgentPort ## -- Begin function ncp_AddUrgentPort
.p2align 4, 0x90
_ncp_AddUrgentPort: ## @ncp_AddUrgentPort
.cfi_startproc
## %bb.0:
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
movl (%rdi), %edx
cmpl 4(%rdi), %edx
jne LBB0_4
## %bb.1:
leal 10(%rdx), %eax
movl %eax, 4(%rbx)
movq 8(%rbx), %rdi
leal 80(,%rdx,8), %esi
callq _realloc
testq %rax, %rax
je LBB0_3
## %bb.2:
movq _LogERROR@GOTPCREL(%rip), %rax
movl (%rax), %r14d
movq _errno@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _strerror
leaq L_.str(%rip), %rsi
movl %r14d, %edi
movq %rax, %rdx
callq _log_Printf
addl $-10, 4(%rbx)
jmp LBB0_12
LBB0_3:
movq $0, 8(%rbx)
movl (%rbx), %edx
LBB0_4:
xorl %r12d, %r12d
leaq L_.str.1(%rip), %r15
jmp LBB0_5
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_5 Depth=1
movq _LogWARN@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq %r15, %rsi
movq %r14, %rdx
callq _log_Printf
movl (%rbx), %edx
LBB0_7: ## in Loop: Header=BB0_5 Depth=1
incl %r12d
cmpl %edx, %r12d
ja LBB0_10
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq 8(%rbx), %rax
movl %r12d, %r13d
cmpq %r14, (%rax,%r13,8)
je LBB0_6
## %bb.8: ## in Loop: Header=BB0_5 Depth=1
jle LBB0_7
## %bb.9:
leaq (%rax,%r13,8), %rsi
leaq (%rax,%r13,8), %rdi
addq $8, %rdi
subl %r12d, %edx
shll $3, %edx
## kill: def $edx killed $edx killed $rdx
callq _memmove
movq 8(%rbx), %rax
movq %r14, (%rax,%r13,8)
movl (%rbx), %edx
incl %edx
movl %edx, (%rbx)
LBB0_10:
cmpl %edx, %r12d
jne LBB0_12
## %bb.11:
movq 8(%rbx), %rax
leal 1(%rdx), %ecx
movl %ecx, (%rbx)
movslq %edx, %rcx
movq %r14, (%rax,%rcx,8)
LBB0_12:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _LogERROR,4,2 ## @LogERROR
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "ncp_AddUrgentPort: realloc: %s\n"
.comm _errno,4,2 ## @errno
.comm _LogWARN,4,2 ## @LogWARN
L_.str.1: ## @.str.1
.asciz "%u: Port already set to urgent\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _ncp_AddUrgentPort ; -- Begin function ncp_AddUrgentPort
.p2align 2
_ncp_AddUrgentPort: ; @ncp_AddUrgentPort
.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
ldp w8, w9, [x0]
cmp w8, w9
b.ne LBB0_4
; %bb.1:
add w8, w8, #10
str w8, [x19, #4]
ldr x0, [x19, #8]
lsl w1, w8, #3
bl _realloc
cbz x0, LBB0_3
; %bb.2:
Lloh0:
adrp x8, _LogERROR@GOTPAGE
Lloh1:
ldr x8, [x8, _LogERROR@GOTPAGEOFF]
Lloh2:
ldr w20, [x8]
Lloh3:
adrp x8, _errno@GOTPAGE
Lloh4:
ldr x8, [x8, _errno@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
bl _strerror
mov x2, x0
Lloh6:
adrp x1, l_.str@PAGE
Lloh7:
add x1, x1, l_.str@PAGEOFF
mov x0, x20
bl _log_Printf
ldr w8, [x19, #4]
sub w8, w8, #10
str w8, [x19, #4]
b LBB0_12
LBB0_3:
str xzr, [x19, #8]
ldr w8, [x19]
LBB0_4:
mov w22, #0 ; =0x0
Lloh8:
adrp x23, _LogWARN@GOTPAGE
Lloh9:
ldr x23, [x23, _LogWARN@GOTPAGEOFF]
Lloh10:
adrp x21, l_.str.1@PAGE
Lloh11:
add x21, x21, l_.str.1@PAGEOFF
b LBB0_7
LBB0_5: ; in Loop: Header=BB0_7 Depth=1
ldr w0, [x23]
mov x1, x21
mov x2, x20
bl _log_Printf
ldr w8, [x19]
LBB0_6: ; in Loop: Header=BB0_7 Depth=1
add w22, w22, #1
cmp w22, w8
b.hi LBB0_10
LBB0_7: ; =>This Inner Loop Header: Depth=1
ldr x9, [x19, #8]
ldr x10, [x9, w22, uxtw #3]
cmp x10, x20
b.eq LBB0_5
; %bb.8: ; in Loop: Header=BB0_7 Depth=1
b.le LBB0_6
; %bb.9:
mov w10, w22
lsl x21, x10, #3
add x1, x9, x21
sub w8, w8, w22
lsl w2, w8, #3
add x0, x1, #8
bl _memmove
ldr x8, [x19, #8]
str x20, [x8, x21]
ldr w8, [x19]
add w8, w8, #1
str w8, [x19]
LBB0_10:
cmp w22, w8
b.ne LBB0_12
; %bb.11:
ldr x9, [x19, #8]
add w10, w8, #1
str w10, [x19]
str x20, [x9, w8, sxtw #3]
LBB0_12:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpLdrGot Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _LogERROR,4,2 ; @LogERROR
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "ncp_AddUrgentPort: realloc: %s\n"
.comm _errno,4,2 ; @errno
.comm _LogWARN,4,2 ; @LogWARN
l_.str.1: ; @.str.1
.asciz "%u: Port already set to urgent\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function dynstring_set_size
_dynstring_set_size: ## @dynstring_set_size
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
## kill: def $esi killed $esi def $rsi
xorl %ebx, %ebx
cmpl %esi, (%rdi)
jge LBB0_4
## %bb.1:
movq %rdi, %r14
leal (%rsi,%rsi,4), %eax
leal (%rsi,%rsi,4), %r15d
addl $3, %r15d
testl %eax, %eax
cmovnsl %eax, %r15d
sarl $2, %r15d
movl 4(%rdi), %edi
movl %r15d, %esi
callq _realloc
movl %eax, 4(%r14)
testl %eax, %eax
je LBB0_2
## %bb.3:
movl %r15d, (%r14)
jmp LBB0_4
LBB0_2:
leaq L_.str(%rip), %rdi
callq _dtoverlay_error
movq _FDT_ERR_NOSPACE@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
subl (%rax), %ebx
LBB0_4:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz " out of memory"
.comm _FDT_ERR_NOSPACE,4,2 ## @FDT_ERR_NOSPACE
.no_dead_strip _dynstring_set_size
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function dynstring_set_size
_dynstring_set_size: ; @dynstring_set_size
.cfi_startproc
; %bb.0:
ldr w8, [x0]
cmp w8, w1
b.ge LBB0_3
; %bb.1:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
add w8, w1, w1, lsl #2
add w9, w8, #3
cmp w8, #0
csel w8, w9, w8, lt
asr w20, w8, #2
ldr w0, [x0, #4]
mov x1, x20
bl _realloc
str w0, [x19, #4]
cbz w0, LBB0_4
; %bb.2:
mov w0, #0 ; =0x0
str w20, [x19]
b LBB0_5
LBB0_3:
mov w0, #0 ; =0x0
ret
LBB0_4:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _dtoverlay_error
Lloh2:
adrp x8, _FDT_ERR_NOSPACE@GOTPAGE
Lloh3:
ldr x8, [x8, _FDT_ERR_NOSPACE@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
neg w0, w8
LBB0_5:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz " out of memory"
.comm _FDT_ERR_NOSPACE,4,2 ; @FDT_ERR_NOSPACE
.no_dead_strip _dynstring_set_size
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _reallocz ## -- Begin function reallocz
.p2align 4, 0x90
_reallocz: ## @reallocz
.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
callq _realloc
movq %rax, %r14
xorl %edi, %edi
testq %rax, %rax
sete %dil
callq _unlikely
testq %rax, %rax
je LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
movq %rbx, %rsi
callq _fatal
LBB0_2:
movq %r14, %rax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Cannot re-allocate memory to %zu bytes."
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _reallocz ; -- Begin function reallocz
.p2align 2
_reallocz: ; @reallocz
.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
bl _realloc
mov x20, x0
cmp x0, #0
cset w0, eq
bl _unlikely
cbz x0, LBB0_2
; %bb.1:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
mov x1, x19
bl _fatal
LBB0_2:
mov x0, x20
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Cannot re-allocate memory to %zu bytes."
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function ParserCueDoneHandler
_ParserCueDoneHandler: ## @ParserCueDoneHandler
.cfi_startproc
## %bb.0:
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
cmpq $0, 16(%rsi)
je LBB0_1
## %bb.13:
movq %rbx, %rdi
callq _webvtt_cue_Clean
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _webvtt_cue_Init ## TAILCALL
LBB0_1:
movq 8(%rdi), %rax
movq (%rax), %r14
movq (%rbx), %rax
cmpq (%r14), %rax
jle LBB0_3
## %bb.2:
movq %rax, (%r14)
LBB0_3:
movslq 24(%r14), %rax
testq %rax, %rax
jg LBB0_5
## %bb.4:
movq 32(%r14), %rcx
movq -8(%rcx,%rax,8), %rax
cmpq 8(%rbx), %rax
je LBB0_6
LBB0_5:
movl $0, (%rdi)
LBB0_6:
movl 8(%r14), %esi
cmpl 12(%r14), %esi
jg LBB0_10
## %bb.7:
movslq %esi, %rcx
movq _SIZE_MAX@GOTPCREL(%rip), %rax
movslq (%rax), %rdx
shrq $2, %rdx
movq _WEBVTT_PREALLOC@GOTPCREL(%rip), %r15
movslq (%r15), %rax
addq %rax, %rax
subq %rax, %rdx
cmpq %rcx, %rdx
jbe LBB0_10
## %bb.8:
movq 16(%r14), %rdi
subl %eax, %esi
shll $2, %esi
## kill: def $esi killed $esi killed $rsi
callq _realloc
movl 8(%r14), %esi
testq %rax, %rax
je LBB0_10
## %bb.9:
movq %rax, 16(%r14)
movl (%r15), %eax
leal (%rsi,%rax,2), %esi
movl %esi, 8(%r14)
LBB0_10:
movslq 12(%r14), %rax
cmpl %eax, %esi
jle LBB0_12
## %bb.11:
movq 16(%r14), %rcx
movq %rax, %rdx
shlq $4, %rdx
movl $1, (%rcx,%rdx)
movq 8(%rbx), %rsi
movq %rsi, 8(%rcx,%rdx)
movl $0, 16(%rdx,%rcx)
movq (%rbx), %rsi
addl $2, %eax
movl %eax, 12(%r14)
movq %rsi, 24(%rdx,%rcx)
LBB0_12:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SIZE_MAX,4,2 ## @SIZE_MAX
.comm _WEBVTT_PREALLOC,4,2 ## @WEBVTT_PREALLOC
.no_dead_strip _ParserCueDoneHandler
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function ParserCueDoneHandler
_ParserCueDoneHandler: ; @ParserCueDoneHandler
.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
ldr x8, [x1, #16]
cbz x8, LBB0_2
; %bb.1:
mov x0, x19
bl _webvtt_cue_Clean
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _webvtt_cue_Init
LBB0_2:
ldr x8, [x0, #8]
ldr x20, [x8]
ldr x8, [x19]
ldr x9, [x20]
cmp x8, x9
b.le LBB0_4
; %bb.3:
str x8, [x20]
LBB0_4:
ldrsw x8, [x20, #24]
cmp w8, #0
b.gt LBB0_6
; %bb.5:
ldr x9, [x20, #32]
add x8, x9, x8, lsl #3
ldur x8, [x8, #-8]
ldr x9, [x19, #8]
cmp x8, x9
b.eq LBB0_7
LBB0_6:
str wzr, [x0]
LBB0_7:
ldp w8, w9, [x20, #8]
cmp w8, w9
b.gt LBB0_11
; %bb.8:
sxtw x10, w8
Lloh0:
adrp x9, _SIZE_MAX@GOTPAGE
Lloh1:
ldr x9, [x9, _SIZE_MAX@GOTPAGEOFF]
Lloh2:
ldrsw x9, [x9]
lsr x11, x9, #2
Lloh3:
adrp x21, _WEBVTT_PREALLOC@GOTPAGE
Lloh4:
ldr x21, [x21, _WEBVTT_PREALLOC@GOTPAGEOFF]
ldrsw x9, [x21]
lsl x9, x9, #1
sub x11, x11, x9
cmp x11, x10
b.ls LBB0_11
; %bb.9:
ldr x0, [x20, #16]
sub w8, w8, w9
lsl w1, w8, #2
bl _realloc
ldr w8, [x20, #8]
cbz x0, LBB0_11
; %bb.10:
str x0, [x20, #16]
ldr w9, [x21]
add w8, w8, w9, lsl #1
str w8, [x20, #8]
LBB0_11:
ldrsw x9, [x20, #12]
cmp w8, w9
b.le LBB0_13
; %bb.12:
ldr x8, [x20, #16]
add x8, x8, x9, lsl #4
mov w10, #1 ; =0x1
str w10, [x8]
ldp x11, x10, [x19]
str x10, [x8, #8]
str wzr, [x8, #16]
add w9, w9, #2
str w9, [x20, #12]
str x11, [x8, #24]
LBB0_13:
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 Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _SIZE_MAX,4,2 ; @SIZE_MAX
.comm _WEBVTT_PREALLOC,4,2 ; @WEBVTT_PREALLOC
.no_dead_strip _ParserCueDoneHandler
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function add_to_group
_add_to_group: ## @add_to_group
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %r15
movq 8(%rdi), %rdi
movl (%r15), %eax
testq %rdi, %rdi
je LBB0_1
## %bb.2:
movslq %eax, %rcx
leaq (%rcx,%rcx,2), %rcx
leaq (%rdi,%rcx,8), %r13
movq %r13, %r12
addq $24, %r12
je LBB0_6
## %bb.3:
movl 40(%r13), %edi
movl 8(%r14), %esi
movl $2, %edx
callq _strncmp
testl %eax, %eax
je LBB0_9
## %bb.4:
movq 32(%r13), %rax
cmpq $0, (%rax)
je LBB0_9
## %bb.5:
movl (%r15), %eax
movq 8(%r15), %rdi
jmp LBB0_6
LBB0_1:
xorl %edi, %edi
LBB0_6:
leal 1(%rax), %ecx
movl %ecx, (%r15)
leal 8(,%rax,8), %eax
leal (%rax,%rax,2), %esi
callq _realloc
movq %rax, 8(%r15)
testq %rax, %rax
je LBB0_10
## %bb.7:
movq %rax, %r12
movslq (%r15), %rax
leaq (%rax,%rax,2), %r15
movl -8(%r12,%r15,8), %edi
movl 8(%r14), %esi
movl $2, %edx
callq _memcpy
movq (%r14), %rax
movq %rax, -16(%r12,%r15,8)
movl %ebx, -20(%r12,%r15,8)
movl $1, -24(%r12,%r15,8)
jmp LBB0_8
LBB0_9:
incl (%r12)
LBB0_8:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_10:
movq _EXIT_FAILURE@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _exit
.cfi_endproc
## -- End function
.comm _EXIT_FAILURE,4,2 ## @EXIT_FAILURE
.no_dead_strip _add_to_group
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function add_to_group
_add_to_group: ; @add_to_group
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x2
mov x20, x1
mov x21, x0
ldr x0, [x0, #8]
ldr w8, [x21]
cbz x0, LBB0_5
; %bb.1:
mov w9, #24 ; =0x18
smaddl x23, w8, w9, x0
adds x22, x23, #24
b.eq LBB0_5
; %bb.2:
ldr w0, [x23, #40]
ldr w1, [x20, #8]
mov w2, #2 ; =0x2
bl _strncmp
cbz w0, LBB0_7
; %bb.3:
ldr x8, [x23, #32]
ldr x8, [x8]
cbz x8, LBB0_7
; %bb.4:
ldr w8, [x21]
ldr x0, [x21, #8]
LBB0_5:
add w8, w8, #1
str w8, [x21]
add w8, w8, w8, lsl #1
lsl w1, w8, #3
bl _realloc
str x0, [x21, #8]
cbz x0, LBB0_9
; %bb.6:
ldrsw x8, [x21]
mov w9, #24 ; =0x18
smaddl x21, w8, w9, x0
ldur w0, [x21, #-8]
ldr w1, [x20, #8]
mov w2, #2 ; =0x2
bl _memcpy
ldr x8, [x20]
stur x8, [x21, #-16]
mov w8, #1 ; =0x1
stp w8, w19, [x21, #-24]
b LBB0_8
LBB0_7:
ldr w8, [x22]
add w8, w8, #1
str w8, [x22]
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
ret
LBB0_9:
Lloh0:
adrp x8, _EXIT_FAILURE@GOTPAGE
Lloh1:
ldr x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
bl _exit
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _EXIT_FAILURE,4,2 ; @EXIT_FAILURE
.no_dead_strip _add_to_group
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _growtokenrow ## -- Begin function growtokenrow
.p2align 4, 0x90
_growtokenrow: ## @growtokenrow
.cfi_startproc
## %bb.0:
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 24(%rdi), %r15
movq 16(%rdi), %r14
movq 8(%rdi), %r12
movl (%rdi), %eax
leal (%rax,%rax,2), %eax
movl %eax, %ecx
shrl $31, %ecx
addl %eax, %ecx
sarl %ecx
leal 1(%rcx), %eax
movl %eax, (%rdi)
leal 4(,%rcx,4), %esi
movq %r14, %rdi
callq _realloc
movq %rax, 16(%rbx)
testq %rax, %rax
je LBB0_2
## %bb.1:
movq _FATAL@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
callq _error
movq 16(%rbx), %rax
LBB0_2:
subq %r14, %r12
subq %r14, %r15
shrq $2, %r12
movslq %r12d, %rcx
leaq (%rax,%rcx,4), %rcx
movq %rcx, 8(%rbx)
shrq $2, %r15
movslq %r15d, %rdx
leaq (%rax,%rdx,4), %rax
movq %rax, 24(%rbx)
movq %rcx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _FATAL,4,2 ## @FATAL
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Out of memory from realloc"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _growtokenrow ; -- Begin function growtokenrow
.p2align 2
_growtokenrow: ; @growtokenrow
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
ldp x20, x21, [x0, #16]
ldr x22, [x0, #8]
ldr w8, [x0]
add w8, w8, w8, lsl #1
add w8, w8, w8, lsr #31
asr w8, w8, #1
add w8, w8, #1
str w8, [x0]
lsl w1, w8, #2
mov x0, x20
bl _realloc
str x0, [x19, #16]
cbz x0, LBB0_2
; %bb.1:
Lloh0:
adrp x8, _FATAL@GOTPAGE
Lloh1:
ldr x8, [x8, _FATAL@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
bl _error
ldr x0, [x19, #16]
LBB0_2:
sub x8, x22, x20
sub x9, x21, x20
lsr x8, x8, #2
add x8, x0, w8, sxtw #2
str x8, [x19, #8]
lsr x9, x9, #2
add x9, x0, w9, sxtw #2
str x9, [x19, #24]
mov x0, 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 AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _FATAL,4,2 ; @FATAL
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Out of memory from realloc"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function check_cpu
_check_cpu: ## @check_cpu
.cfi_startproc
## %bb.0:
movl $-1, %eax
testl %esi, %esi
jle 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 %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r15d
movq %rdi, %r14
leal 1(%r15), %ebx
movq (%rdi), %rdi
testq %rdi, %rdi
je LBB0_2
## %bb.4:
xorl %eax, %eax
cmpl %r15d, 8(%r14)
jg LBB0_9
## %bb.5:
leal (,%rbx,4), %esi
callq _realloc
movq %rax, %rcx
movl $-1, %eax
testq %rcx, %rcx
je LBB0_9
## %bb.6:
leaq 8(%r14), %r12
movq %rcx, (%r14)
movslq 8(%r14), %rax
cmpl %eax, %r15d
jl LBB0_8
## %bb.7:
leaq (%rcx,%rax,4), %rdi
subl %eax, %r15d
leaq 4(,%r15,4), %rdx
movl $255, %esi
callq _memset
jmp LBB0_8
LBB0_2:
movl %ebx, %edi
movl $4, %esi
callq _calloc
movq %rax, %rdi
movq %rax, (%r14)
movl $-1, %eax
testq %rdi, %rdi
je LBB0_9
## %bb.3:
movl %ebx, %edx
shlq $2, %rdx
movl $255, %esi
callq _memset
addq $8, %r14
movq %r14, %r12
LBB0_8:
movl %ebx, (%r12)
xorl %eax, %eax
LBB0_9:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
LBB0_10:
retq
.cfi_endproc
## -- End function
.no_dead_strip _check_cpu
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function check_cpu
_check_cpu: ; @check_cpu
.cfi_startproc
; %bb.0:
cmp w1, #1
b.lt LBB0_4
; %bb.1:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x0
add w19, w1, #1
ldr x0, [x0]
cbz x0, LBB0_5
; %bb.2:
mov x21, x20
ldr w8, [x21, #8]!
cmp w8, w1
b.le LBB0_7
; %bb.3:
mov w0, #0 ; =0x0
b LBB0_12
LBB0_4:
mov w0, #-1 ; =0xffffffff
ret
LBB0_5:
mov x0, x19
mov w1, #4 ; =0x4
bl _calloc
str x0, [x20]
cbz x0, LBB0_11
; %bb.6:
ubfiz x2, x19, #2, #32
mov w1, #255 ; =0xff
bl _memset
add x21, x20, #8
b LBB0_10
LBB0_7:
mov x22, x1
lsl w1, w19, #2
bl _realloc
cbz x0, LBB0_11
; %bb.8:
str x0, [x20]
ldrsw x8, [x20, #8]
cmp w22, w8
b.lt LBB0_10
; %bb.9:
add x0, x0, x8, lsl #2
sub w8, w22, w8
ubfiz x8, x8, #2, #32
add x2, x8, #4
mov w1, #255 ; =0xff
bl _memset
LBB0_10:
mov w0, #0 ; =0x0
str w19, [x21]
b LBB0_12
LBB0_11:
mov w0, #-1 ; =0xffffffff
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
.cfi_endproc
; -- End function
.no_dead_strip _check_cpu
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function add_file
_add_file: ## @add_file
.cfi_startproc
## %bb.0:
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
movq (%rdi), %r12
movl (%rsi), %eax
testl %eax, %eax
jle LBB0_6
## %bb.1:
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq (%r12,%r13,8), %rdi
movq %r14, %rsi
callq _strcmp
testq %rax, %rax
je LBB0_4
## %bb.2: ## in Loop: Header=BB0_3 Depth=1
incq %r13
movslq (%rbx), %rax
cmpq %rax, %r13
jl LBB0_3
## %bb.5:
movq (%r15), %r12
LBB0_6:
leal 16(,%rax,8), %esi
movq %r12, %rdi
callq _realloc
testq %rax, %rax
je LBB0_8
## %bb.7:
movq %r14, %rdi
callq _free
movq _ENOMEM@GOTPCREL(%rip), %rax
movl (%rax), %eax
jmp LBB0_10
LBB0_4:
movq %r14, %rdi
callq _free
jmp LBB0_9
LBB0_8:
movslq (%rbx), %rax
xorps %xmm0, %xmm0
movups %xmm0, (,%rax,8)
movq $0, (%r15)
incl %eax
movl %eax, (%rbx)
LBB0_9:
xorl %eax, %eax
LBB0_10:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ENOMEM,4,2 ## @ENOMEM
.no_dead_strip _add_file
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function add_file
_add_file: ; @add_file
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x21, x2
mov x19, x1
mov x20, x0
ldr x22, [x0]
ldr w8, [x1]
cmp w8, #1
b.lt LBB0_5
; %bb.1:
mov x23, #0 ; =0x0
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x0, [x22, x23, lsl #3]
mov x1, x21
bl _strcmp
cbz x0, LBB0_7
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
add x23, x23, #1
ldrsw x8, [x19]
cmp x23, x8
b.lt LBB0_2
; %bb.4:
ldr x22, [x20]
LBB0_5:
lsl w8, w8, #3
add w1, w8, #16
mov x0, x22
bl _realloc
cbz x0, LBB0_8
; %bb.6:
mov x0, x21
bl _free
Lloh0:
adrp x8, _ENOMEM@GOTPAGE
Lloh1:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
b LBB0_9
LBB0_7:
mov x0, x21
bl _free
mov w0, #0 ; =0x0
b LBB0_9
LBB0_8:
ldrsw x8, [x19]
lsl x9, x8, #3
stp xzr, xzr, [x9]
str xzr, [x20]
add w8, w8, #1
str w8, [x19]
LBB0_9:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _ENOMEM,4,2 ; @ENOMEM
.no_dead_strip _add_file
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function pushchar
_pushchar: ## @pushchar
.cfi_startproc
## %bb.0:
movl %esi, %eax
movq (%rdi), %rsi
cmpq 8(%rdi), %rsi
jne LBB0_1
## %bb.2:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
addq %rsi, %rsi
movq 16(%rdi), %rax
movq %rdi, %rbx
movq %rax, %rdi
callq *24(%rbx)
movq _errno@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _json_error_s
movl $-1, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
LBB0_1:
movq 16(%rdi), %rcx
leaq 1(%rsi), %rdx
movq %rdx, (%rdi)
movb %al, (%rcx,%rsi)
xorl %eax, %eax
retq
.cfi_endproc
## -- End function
.comm _errno,4,2 ## @errno
.no_dead_strip _pushchar
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function pushchar
_pushchar: ; @pushchar
.cfi_startproc
; %bb.0:
ldp x9, x8, [x0]
cmp x9, x8
b.ne LBB0_2
; %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
lsl x1, x9, #1
ldp x8, x9, [x0, #16]
mov x19, x0
mov x0, x8
blr x9
Lloh0:
adrp x8, _errno@GOTPAGE
Lloh1:
ldr x8, [x8, _errno@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov x0, x19
bl _json_error_s
mov w0, #-1 ; =0xffffffff
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_2:
ldr x10, [x0, #16]
add x11, x9, #1
str x11, [x0]
strb w1, [x10, x9]
mov w0, #0 ; =0x0
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _errno,4,2 ; @errno
.no_dead_strip _pushchar
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _osdep_get_name ## -- Begin function osdep_get_name
.p2align 4, 0x90
_osdep_get_name: ## @osdep_get_name
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -24
movq %rsi, %rax
movl %edi, %ebx
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq %rcx, -16(%rbp)
movq _CTL_KERN@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, -32(%rbp)
movq _KERN_PROC@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, -28(%rbp)
movq _KERN_PROC_PGRP@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, -24(%rbp)
leaq -48(%rbp), %rsi
movq %rax, %rdi
callq _stat
cmpl $-1, %eax
je LBB0_4
## %bb.1:
movl %ebx, %edi
callq _tcgetpgrp
movl %eax, -20(%rbp)
cmpl $-1, %eax
je LBB0_4
## %bb.2:
leaq -32(%rbp), %rbx
movq %rbx, %rdi
callq _nitems
leaq -40(%rbp), %rcx
movq %rbx, %rdi
movl %eax, %esi
xorl %edx, %edx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq _sysctl
cmpl $-1, %eax
je LBB0_4
## %bb.3:
movq -40(%rbp), %rax
leaq (%rax,%rax,4), %rax
shrq $2, %rax
movq %rax, -40(%rbp)
xorl %edi, %edi
callq _free
LBB0_4:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -16(%rbp), %rax
jne LBB0_6
## %bb.5:
xorl %eax, %eax
addq $40, %rsp
popq %rbx
popq %rbp
retq
LBB0_6:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _CTL_KERN,4,2 ## @CTL_KERN
.comm _KERN_PROC,4,2 ## @KERN_PROC
.comm _KERN_PROC_PGRP,4,2 ## @KERN_PROC_PGRP
.comm _errno,8,3 ## @errno
.comm _ENOMEM,8,3 ## @ENOMEM
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _osdep_get_name ; -- Begin function osdep_get_name
.p2align 2
_osdep_get_name: ; @osdep_get_name
.cfi_startproc
; %bb.0:
sub sp, sp, #80
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
mov x8, x1
mov x19, x0
Lloh0:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
stur x9, [x29, #-24]
Lloh3:
adrp x9, _CTL_KERN@GOTPAGE
Lloh4:
ldr x9, [x9, _CTL_KERN@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
Lloh6:
adrp x10, _KERN_PROC@GOTPAGE
Lloh7:
ldr x10, [x10, _KERN_PROC@GOTPAGEOFF]
Lloh8:
ldr w10, [x10]
stp w9, w10, [sp, #24]
Lloh9:
adrp x9, _KERN_PROC_PGRP@GOTPAGE
Lloh10:
ldr x9, [x9, _KERN_PROC_PGRP@GOTPAGEOFF]
Lloh11:
ldr w9, [x9]
str w9, [sp, #32]
add x1, sp, #16
mov x0, x8
bl _stat
cmn w0, #1
b.eq LBB0_4
; %bb.1:
mov x0, x19
bl _tcgetpgrp
str w0, [sp, #36]
cmn w0, #1
b.eq LBB0_4
; %bb.2:
add x0, sp, #24
bl _nitems
mov x1, x0
add x0, sp, #24
add x3, sp, #8
mov x2, #0 ; =0x0
mov x4, #0 ; =0x0
mov w5, #0 ; =0x0
bl _sysctl
cmn w0, #1
b.eq LBB0_4
; %bb.3:
ldr x8, [sp, #8]
add x8, x8, x8, lsl #2
lsr x8, x8, #2
str x8, [sp, #8]
mov x0, #0 ; =0x0
bl _free
LBB0_4:
ldur x8, [x29, #-24]
Lloh12:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh13:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_6
; %bb.5:
mov x0, #0 ; =0x0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #80
ret
LBB0_6:
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
.cfi_endproc
; -- End function
.comm _CTL_KERN,4,2 ; @CTL_KERN
.comm _KERN_PROC,4,2 ; @KERN_PROC
.comm _KERN_PROC_PGRP,4,2 ; @KERN_PROC_PGRP
.comm _errno,8,3 ; @errno
.comm _ENOMEM,8,3 ; @ENOMEM
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _ppy_realloc ## -- Begin function ppy_realloc
.p2align 4, 0x90
_ppy_realloc: ## @ppy_realloc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
jmp _realloc ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _ppy_realloc ; -- Begin function ppy_realloc
.p2align 2
_ppy_realloc: ; @ppy_realloc
.cfi_startproc
; %bb.0:
b _realloc
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _insert_chars ## -- Begin function insert_chars
.p2align 4, 0x90
_insert_chars: ## @insert_chars
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r14
movl %esi, %r12d
movq %rdi, %rbx
movq 8(%rdi), %rdi
movslq %ecx, %r15
movq (%rbx), %rsi
addq %r15, %rsi
callq _realloc
movq %rax, 8(%rbx)
leal (%r15,%r12), %ecx
movslq %ecx, %rcx
leaq (%rax,%rcx,4), %rdi
movslq %r12d, %r12
leaq (%rax,%r12,4), %rsi
movq (%rbx), %rdx
subq %r12, %rdx
shlq $2, %r12
callq _memmove
addq 8(%rbx), %r12
movq %r12, %rdi
movq %r14, %rsi
movl %r15d, %edx
callq _memcpy
addq %r15, (%rbx)
movl $1, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _insert_chars ; -- Begin function insert_chars
.p2align 2
_insert_chars: ; @insert_chars
.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, x3
mov x20, x2
mov x21, x1
mov x22, x0
ldr x0, [x0, #8]
ldr x8, [x22]
sxtw x23, w19
add x1, x8, x23
bl _realloc
str x0, [x22, #8]
add w8, w19, w21
add x8, x0, w8, sxtw #2
sxtw x9, w21
sbfiz x21, x21, #2, #32
ldr x10, [x22]
sub x2, x10, x9
add x1, x0, x21
mov x0, x8
bl _memmove
ldr x8, [x22, #8]
add x0, x8, x21
mov x1, x20
mov x2, x19
bl _memcpy
ldr x8, [x22]
add x8, x8, x23
str x8, [x22]
mov w0, #1 ; =0x1
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 add_to_list
_add_to_list: ## @add_to_list
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %r14
movq %rdi, %rbx
movq 8(%rdi), %rdi
movl (%rbx), %eax
leal -4(,%rax,4), %esi
callq _realloc
testq %rax, %rax
je LBB0_1
## %bb.2:
movq %rax, 8(%rbx)
movslq (%rbx), %rcx
leaq (%rax,%rcx,4), %rsi
movq %r14, %rdi
callq _der_copy_octet_string
testl %eax, %eax
jne LBB0_4
## %bb.3:
decl (%rbx)
xorl %eax, %eax
jmp LBB0_4
LBB0_1:
movq _ENOMEM@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_4:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ENOMEM,4,2 ## @ENOMEM
.no_dead_strip _add_to_list
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function add_to_list
_add_to_list: ; @add_to_list
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x20, x1
mov x19, x0
ldr x0, [x0, #8]
ldr w8, [x19]
lsl w8, w8, #2
sub w1, w8, #4
bl _realloc
cbz x0, LBB0_3
; %bb.1:
str x0, [x19, #8]
ldrsw x8, [x19]
add x1, x0, x8, lsl #2
mov x0, x20
bl _der_copy_octet_string
cbnz w0, LBB0_4
; %bb.2:
ldr w8, [x19]
sub w8, w8, #1
str w8, [x19]
b LBB0_4
LBB0_3:
Lloh0:
adrp x8, _ENOMEM@GOTPAGE
Lloh1:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
LBB0_4:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _ENOMEM,4,2 ; @ENOMEM
.no_dead_strip _add_to_list
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _perf_cpu_map__new ## -- Begin function perf_cpu_map__new
.p2align 4, 0x90
_perf_cpu_map__new: ## @perf_cpu_map__new
.cfi_startproc
## %bb.0:
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 $0, -48(%rbp)
testq %rdi, %rdi
je LBB0_25
## %bb.1:
movq %rdi, %r14
movsbl (%rdi), %edi
callq _isdigit
testq %rax, %rax
setne %cl
movzbl (%r14), %eax
testb %al, %al
sete %dl
orb %cl, %dl
cmpb $1, %dl
jne LBB0_26
## %bb.2:
movsbl %al, %edi
callq _isdigit
testq %rax, %rax
je LBB0_27
## %bb.3:
movq $0, -56(%rbp) ## 8-byte Folded Spill
xorl %ebx, %ebx
xorl %r15d, %r15d
LBB0_4: ## =>This Loop Header: Depth=1
## Child Loop BB0_19 Depth 2
movq $0, -48(%rbp)
movq %r14, %rdi
leaq -48(%rbp), %rsi
xorl %edx, %edx
callq _strtoul
movq %rax, %r13
movq _INT_MAX@GOTPCREL(%rip), %rax
cmpq (%rax), %r13
jae LBB0_31
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movq -48(%rbp), %r14
movzbl (%r14), %eax
testl %eax, %eax
je LBB0_13
## %bb.6: ## in Loop: Header=BB0_4 Depth=1
cmpl $44, %eax
je LBB0_13
## %bb.7: ## in Loop: Header=BB0_4 Depth=1
cmpl $45, %eax
jne LBB0_31
## %bb.8: ## 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
movq %rax, %r12
movq _INT_MAX@GOTPCREL(%rip), %rax
cmpq (%rax), %r12
jae LBB0_31
## %bb.9: ## in Loop: Header=BB0_4 Depth=1
movq -48(%rbp), %r14
movzbl (%r14), %eax
cmpl $44, %eax
je LBB0_11
## %bb.10: ## in Loop: Header=BB0_4 Depth=1
testl %eax, %eax
jne LBB0_31
LBB0_11: ## in Loop: Header=BB0_4 Depth=1
cmpq %r13, %r12
ja LBB0_14
jmp LBB0_31
.p2align 4, 0x90
LBB0_13: ## in Loop: Header=BB0_4 Depth=1
movq %r13, %r12
LBB0_14: ## in Loop: Header=BB0_4 Depth=1
movq _MAX_NR_CPUS@GOTPCREL(%rip), %rax
movq (%rax), %rdx
xorl %edi, %edi
cmpq %rdx, %r12
setae %dil
leaq L_.str(%rip), %rsi
callq _WARN_ONCE
cmpq %r12, %r13
jbe LBB0_17
LBB0_15: ## in Loop: Header=BB0_4 Depth=1
cmpb $0, (%r14)
je LBB0_21
## %bb.16: ## in Loop: Header=BB0_4 Depth=1
leaq 1(%r14), %rcx
movq %rcx, -48(%rbp)
movzbl 1(%r14), %eax
movq %rcx, %r14
jmp LBB0_22
.p2align 4, 0x90
LBB0_17: ## in Loop: Header=BB0_4 Depth=1
movslq %r15d, %r15
jmp LBB0_19
.p2align 4, 0x90
LBB0_18: ## in Loop: Header=BB0_19 Depth=2
incq %r15
incq %r13
cmpq %r12, %r13
ja LBB0_15
LBB0_19: ## Parent Loop BB0_4 Depth=1
## => This Inner Loop Header: Depth=2
cmpl %ebx, %r15d
jne LBB0_18
## %bb.20: ## in Loop: Header=BB0_19 Depth=2
movq _MAX_NR_CPUS@GOTPCREL(%rip), %rax
addl (%rax), %ebx
leal (,%rbx,4), %esi
xorl %edi, %edi
callq _realloc
testq %rax, %rax
je LBB0_18
jmp LBB0_31
.p2align 4, 0x90
LBB0_21: ## in Loop: Header=BB0_4 Depth=1
xorl %eax, %eax
LBB0_22: ## in Loop: Header=BB0_4 Depth=1
movsbl %al, %edi
callq _isdigit
testq %rax, %rax
jne LBB0_4
## %bb.23:
testl %r15d, %r15d
jle LBB0_27
## %bb.24:
movl %r15d, %edi
xorl %esi, %esi
callq _cpu_map__trim_new
jmp LBB0_30
LBB0_25:
xorl %eax, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _cpu_map__read_all_cpu_map ## TAILCALL
LBB0_26:
xorl %eax, %eax
jmp LBB0_32
LBB0_27:
cmpb $0, (%r14)
je LBB0_29
## %bb.28:
xorl %eax, %eax
callq _cpu_map__default_new
jmp LBB0_30
LBB0_29:
xorl %eax, %eax
callq _perf_cpu_map__dummy_new
LBB0_30:
movq %rax, -56(%rbp) ## 8-byte Spill
LBB0_31:
xorl %edi, %edi
callq _free
movq -56(%rbp), %rax ## 8-byte Reload
LBB0_32:
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
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Perf can support %d CPUs. Consider raising MAX_NR_CPUS\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _perf_cpu_map__new ; -- Begin function perf_cpu_map__new
.p2align 2
_perf_cpu_map__new: ; @perf_cpu_map__new
.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
str xzr, [sp, #8]
cbz x0, LBB0_23
; %bb.1:
mov x19, x0
ldrsb w0, [x0]
bl _isdigit
mov x8, x0
ldrsb w0, [x19]
cmp x8, #0
ccmp w0, #0, #4, eq
b.ne LBB0_24
; %bb.2:
bl _isdigit
cbz x0, LBB0_26
; %bb.3:
mov w24, #0 ; =0x0
mov w21, #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]
Lloh4:
adrp x20, l_.str@PAGE
Lloh5:
add x20, x20, l_.str@PAGEOFF
LBB0_4: ; =>This Loop Header: Depth=1
; Child Loop BB0_15 Depth 2
str xzr, [sp, #8]
add x1, sp, #8
mov x0, x19
mov w2, #0 ; =0x0
bl _strtoul
ldr x8, [x25]
cmp x0, x8
b.hs LBB0_25
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
mov x22, x0
ldr x19, [sp, #8]
ldrb w8, [x19]
cbz w8, LBB0_11
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
mov x23, x22
cmp w8, #44
b.eq LBB0_12
; %bb.7: ; in Loop: Header=BB0_4 Depth=1
cmp w8, #45
b.ne LBB0_25
; %bb.8: ; in Loop: Header=BB0_4 Depth=1
sub x0, x19, #1
str xzr, [sp, #8]
add x1, sp, #8
mov w2, #0 ; =0x0
bl _strtoul
ldr x8, [x25]
cmp x0, x8
b.hs LBB0_25
; %bb.9: ; in Loop: Header=BB0_4 Depth=1
ldr x19, [sp, #8]
ldrb w8, [x19]
cmp w8, #44
ccmp w8, #0, #4, ne
b.ne LBB0_25
; %bb.10: ; in Loop: Header=BB0_4 Depth=1
mov x23, x0
cmp x0, x22
b.hi LBB0_12
b LBB0_25
LBB0_11: ; in Loop: Header=BB0_4 Depth=1
mov x23, x22
LBB0_12: ; in Loop: Header=BB0_4 Depth=1
ldr x2, [x26]
cmp x23, x2
cset w0, hs
mov x1, x20
bl _WARN_ONCE
cmp x22, x23
b.hi LBB0_18
; %bb.13: ; in Loop: Header=BB0_4 Depth=1
sxtw x21, w21
b LBB0_15
LBB0_14: ; in Loop: Header=BB0_15 Depth=2
add x21, x21, #1
add x22, x22, #1
cmp x22, x23
b.hi LBB0_17
LBB0_15: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
cmp w21, w24
b.ne LBB0_14
; %bb.16: ; in Loop: Header=BB0_15 Depth=2
ldr w8, [x26]
add w24, w24, w8
lsl w1, w24, #2
mov x0, #0 ; =0x0
bl _realloc
cbz x0, LBB0_14
b LBB0_25
LBB0_17: ; in Loop: Header=BB0_4 Depth=1
; kill: def $w21 killed $w21 killed $x21 def $x21
LBB0_18: ; in Loop: Header=BB0_4 Depth=1
ldrb w8, [x19]
cbz w8, LBB0_20
; %bb.19: ; in Loop: Header=BB0_4 Depth=1
ldrb w8, [x19, #1]!
str x19, [sp, #8]
LBB0_20: ; in Loop: Header=BB0_4 Depth=1
sxtb w0, w8
bl _isdigit
cbnz x0, LBB0_4
; %bb.21:
cmp w21, #1
b.lt LBB0_26
; %bb.22:
mov x0, x21
mov x1, #0 ; =0x0
bl _cpu_map__trim_new
b LBB0_29
LBB0_23:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
b _cpu_map__read_all_cpu_map
LBB0_24:
mov x19, #0 ; =0x0
b LBB0_31
LBB0_25:
mov x19, #0 ; =0x0
b LBB0_30
LBB0_26:
ldrb w8, [x19]
cbz w8, LBB0_28
; %bb.27:
bl _cpu_map__default_new
b LBB0_29
LBB0_28:
bl _perf_cpu_map__dummy_new
LBB0_29:
mov x19, x0
LBB0_30:
mov x0, #0 ; =0x0
bl _free
LBB0_31:
mov x0, x19
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpAdd Lloh4, Lloh5
.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
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Perf can support %d CPUs. Consider raising MAX_NR_CPUS\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function tok_alloc_new
_tok_alloc_new: ## @tok_alloc_new
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r12d
movq %rsi, %r14
movq %rdi, -48(%rbp) ## 8-byte Spill
movq _tok_ident@GOTPCREL(%rip), %rbx
movq (%rbx), %r15
movq _SYM_FIRST_ANOM@GOTPCREL(%rip), %rax
cmpq (%rax), %r15
jl LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
callq _tcc_error
movq (%rbx), %r15
LBB0_2:
movq _TOK_IDENT@GOTPCREL(%rip), %rax
subq (%rax), %r15
movq _TOK_ALLOC_INCR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl %r15d, %eax
cltd
idivl %esi
testl %edx, %edx
jne LBB0_4
## %bb.3:
movq _table_ident@GOTPCREL(%rip), %r13
movq (%r13), %rdi
addl %r15d, %esi
shll $3, %esi
callq _realloc
movq %rax, (%r13)
LBB0_4:
movslq %r12d, %r12
leal 64(%r12), %edi
callq _malloc
movq %rax, %r13
movq _table_ident@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq %r15d, %rcx
movq %r13, (%rax,%rcx,8)
movq (%rbx), %rax
leaq 1(%rax), %rcx
movq %rcx, (%rbx)
movq %rax, 56(%r13)
xorps %xmm0, %xmm0
movups %xmm0, 24(%r13)
movups %xmm0, 40(%r13)
movl %r12d, (%r13)
movq $0, 16(%r13)
movq 8(%r13), %rdi
movq %r14, %rsi
movl %r12d, %edx
callq _memcpy
movq 8(%r13), %rax
movb $0, (%rax,%r12)
movq -48(%rbp), %rax ## 8-byte Reload
movq %r13, (%rax)
movq %r13, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _tok_ident,8,3 ## @tok_ident
.comm _SYM_FIRST_ANOM,8,3 ## @SYM_FIRST_ANOM
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "memory full"
.comm _TOK_IDENT,8,3 ## @TOK_IDENT
.comm _TOK_ALLOC_INCR,4,2 ## @TOK_ALLOC_INCR
.comm _table_ident,8,3 ## @table_ident
.no_dead_strip _tok_alloc_new
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function tok_alloc_new
_tok_alloc_new: ; @tok_alloc_new
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x2
mov x21, x1
mov x20, x0
Lloh0:
adrp x23, _tok_ident@GOTPAGE
Lloh1:
ldr x23, [x23, _tok_ident@GOTPAGEOFF]
ldr x8, [x23]
Lloh2:
adrp x9, _SYM_FIRST_ANOM@GOTPAGE
Lloh3:
ldr x9, [x9, _SYM_FIRST_ANOM@GOTPAGEOFF]
Lloh4:
ldr x9, [x9]
cmp x8, x9
b.lt LBB0_2
; %bb.1:
Lloh5:
adrp x0, l_.str@PAGE
Lloh6:
add x0, x0, l_.str@PAGEOFF
bl _tcc_error
ldr x8, [x23]
LBB0_2:
Lloh7:
adrp x9, _TOK_IDENT@GOTPAGE
Lloh8:
ldr x9, [x9, _TOK_IDENT@GOTPAGEOFF]
Lloh9:
ldr x9, [x9]
Lloh10:
adrp x10, _TOK_ALLOC_INCR@GOTPAGE
Lloh11:
ldr x10, [x10, _TOK_ALLOC_INCR@GOTPAGEOFF]
sub x24, x8, x9
Lloh12:
ldr w8, [x10]
sdiv w9, w24, w8
msub w9, w9, w8, w24
Lloh13:
adrp x25, _table_ident@GOTPAGE
Lloh14:
ldr x25, [x25, _table_ident@GOTPAGEOFF]
cbnz w9, LBB0_4
; %bb.3:
ldr x0, [x25]
add w8, w8, w24
lsl w1, w8, #3
bl _realloc
str x0, [x25]
LBB0_4:
add w0, w19, #64
bl _malloc
mov x22, x0
ldr x8, [x25]
sbfiz x9, x24, #3, #32
str x0, [x8, x9]
ldr x8, [x23]
add x9, x8, #1
str x9, [x23]
str x8, [x0, #56]
movi.2d v0, #0000000000000000
stur q0, [x0, #24]
stur q0, [x0, #40]
str w19, [x0]
str xzr, [x0, #16]
ldr x0, [x0, #8]
mov x1, x21
mov x2, x19
bl _memcpy
ldr x8, [x22, #8]
strb wzr, [x8, w19, sxtw]
str x22, [x20]
mov x0, x22
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _tok_ident,8,3 ; @tok_ident
.comm _SYM_FIRST_ANOM,8,3 ; @SYM_FIRST_ANOM
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "memory full"
.comm _TOK_IDENT,8,3 ; @TOK_IDENT
.comm _TOK_ALLOC_INCR,4,2 ; @TOK_ALLOC_INCR
.comm _table_ident,8,3 ; @table_ident
.no_dead_strip _tok_alloc_new
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _hx509_peer_info_add_cms_alg ## -- Begin function hx509_peer_info_add_cms_alg
.p2align 4, 0x90
_hx509_peer_info_add_cms_alg: ## @hx509_peer_info_add_cms_alg
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r15
movq %rsi, %r14
movl %edi, %ebx
movq 8(%rsi), %rdi
movl (%rsi), %eax
leal 4(,%rax,4), %esi
callq _realloc
testq %rax, %rax
je LBB0_2
## %bb.1:
movq _ENOMEM@GOTPCREL(%rip), %r14
movl (%r14), %edx
leaq L_.str(%rip), %rcx
movl %ebx, %edi
xorl %esi, %esi
callq _hx509_set_error_string
movl (%r14), %eax
jmp LBB0_5
LBB0_2:
movq $0, 8(%r14)
movslq (%r14), %rsi
shlq $2, %rsi
movq %r15, %rdi
callq _copy_AlgorithmIdentifier
testl %eax, %eax
je LBB0_3
## %bb.4:
leaq L_.str(%rip), %rcx
movl %ebx, %edi
xorl %esi, %esi
movl %eax, %edx
movl %eax, %ebx
callq _hx509_set_error_string
movl %ebx, %eax
jmp LBB0_5
LBB0_3:
incl (%r14)
xorl %eax, %eax
LBB0_5:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ENOMEM,4,2 ## @ENOMEM
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "out of memory"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _hx509_peer_info_add_cms_alg ; -- Begin function hx509_peer_info_add_cms_alg
.p2align 2
_hx509_peer_info_add_cms_alg: ; @hx509_peer_info_add_cms_alg
.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, x2
mov x20, x1
mov x19, x0
ldr x0, [x1, #8]
ldr w8, [x1]
lsl w8, w8, #2
add w1, w8, #4
bl _realloc
cbz x0, LBB0_2
; %bb.1:
Lloh0:
adrp x20, _ENOMEM@GOTPAGE
Lloh1:
ldr x20, [x20, _ENOMEM@GOTPAGEOFF]
ldr w2, [x20]
Lloh2:
adrp x3, l_.str@PAGE
Lloh3:
add x3, x3, l_.str@PAGEOFF
mov x0, x19
mov w1, #0 ; =0x0
bl _hx509_set_error_string
ldr w0, [x20]
b LBB0_5
LBB0_2:
str xzr, [x20, #8]
ldrsw x8, [x20]
lsl x1, x8, #2
mov x0, x21
bl _copy_AlgorithmIdentifier
cbz w0, LBB0_4
; %bb.3:
Lloh4:
adrp x3, l_.str@PAGE
Lloh5:
add x3, x3, l_.str@PAGEOFF
mov x20, x0
mov x0, x19
mov w1, #0 ; =0x0
mov x2, x20
bl _hx509_set_error_string
mov x0, x20
b LBB0_5
LBB0_4:
ldr w8, [x20]
add w8, w8, #1
str w8, [x20]
LBB0_5:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _ENOMEM,4,2 ; @ENOMEM
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "out of memory"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function register_select
_register_select: ## @register_select
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
testq %rdi, %rdi
je LBB0_1
## %bb.2:
movq %rdi, %rbx
movq _s_registered_select_lock@GOTPCREL(%rip), %rdi
callq _portENTER_CRITICAL
movq _s_registered_select_num@GOTPCREL(%rip), %r14
movl (%r14), %r15d
movq _s_registered_selects@GOTPCREL(%rip), %r12
movq (%r12), %rdi
leal -8(,%r15,8), %esi
callq _realloc
movq %rax, (%r12)
testq %rax, %rax
je LBB0_3
## %bb.4:
decl %r15d
movslq (%r14), %rcx
movq %rbx, (%rax,%rcx,8)
movl %r15d, (%r14)
movq _ESP_OK@GOTPCREL(%rip), %rax
jmp LBB0_5
LBB0_1:
movq _ESP_ERR_INVALID_ARG@GOTPCREL(%rip), %rax
movl (%rax), %ebx
jmp LBB0_6
LBB0_3:
movq _ESP_ERR_NO_MEM@GOTPCREL(%rip), %rax
LBB0_5:
movl (%rax), %ebx
movq _s_registered_select_lock@GOTPCREL(%rip), %rdi
callq _portEXIT_CRITICAL
LBB0_6:
movl %ebx, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ESP_ERR_INVALID_ARG,4,2 ## @ESP_ERR_INVALID_ARG
.comm _s_registered_select_lock,4,2 ## @s_registered_select_lock
.comm _s_registered_select_num,4,2 ## @s_registered_select_num
.comm _s_registered_selects,8,3 ## @s_registered_selects
.comm _ESP_ERR_NO_MEM,4,2 ## @ESP_ERR_NO_MEM
.comm _ESP_OK,4,2 ## @ESP_OK
.no_dead_strip _register_select
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function register_select
_register_select: ; @register_select
.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
cbz x0, LBB0_3
; %bb.1:
mov x19, x0
Lloh0:
adrp x0, _s_registered_select_lock@GOTPAGE
Lloh1:
ldr x0, [x0, _s_registered_select_lock@GOTPAGEOFF]
bl _portENTER_CRITICAL
Lloh2:
adrp x20, _s_registered_select_num@GOTPAGE
Lloh3:
ldr x20, [x20, _s_registered_select_num@GOTPAGEOFF]
ldr w8, [x20]
sub w21, w8, #1
Lloh4:
adrp x22, _s_registered_selects@GOTPAGE
Lloh5:
ldr x22, [x22, _s_registered_selects@GOTPAGEOFF]
ldr x0, [x22]
lsl w1, w21, #3
bl _realloc
str x0, [x22]
cbz x0, LBB0_4
; %bb.2:
ldrsw x8, [x20]
str x19, [x0, x8, lsl #3]
str w21, [x20]
Lloh6:
adrp x8, _ESP_OK@GOTPAGE
Lloh7:
ldr x8, [x8, _ESP_OK@GOTPAGEOFF]
b LBB0_5
LBB0_3:
Lloh8:
adrp x8, _ESP_ERR_INVALID_ARG@GOTPAGE
Lloh9:
ldr x8, [x8, _ESP_ERR_INVALID_ARG@GOTPAGEOFF]
Lloh10:
ldr w19, [x8]
b LBB0_6
LBB0_4:
Lloh11:
adrp x8, _ESP_ERR_NO_MEM@GOTPAGE
Lloh12:
ldr x8, [x8, _ESP_ERR_NO_MEM@GOTPAGEOFF]
LBB0_5:
ldr w19, [x8]
Lloh13:
adrp x0, _s_registered_select_lock@GOTPAGE
Lloh14:
ldr x0, [x0, _s_registered_select_lock@GOTPAGEOFF]
bl _portEXIT_CRITICAL
LBB0_6:
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGot Lloh13, Lloh14
.cfi_endproc
; -- End function
.comm _ESP_ERR_INVALID_ARG,4,2 ; @ESP_ERR_INVALID_ARG
.comm _s_registered_select_lock,4,2 ; @s_registered_select_lock
.comm _s_registered_select_num,4,2 ; @s_registered_select_num
.comm _s_registered_selects,8,3 ; @s_registered_selects
.comm _ESP_ERR_NO_MEM,4,2 ; @ESP_ERR_NO_MEM
.comm _ESP_OK,4,2 ; @ESP_OK
.no_dead_strip _register_select
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl __hx509_set_cert_attribute ## -- Begin function _hx509_set_cert_attribute
.p2align 4, 0x90
__hx509_set_cert_attribute: ## @_hx509_set_cert_attribute
.cfi_startproc
## %bb.0:
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 %rcx, %r15
movq %rdx, %r14
movq %rsi, %rbx
movl %edi, %r12d
movq %rsi, %rdi
movq %rdx, %rsi
callq _hx509_cert_get_attribute
movq %rax, %rcx
xorl %eax, %eax
testq %rcx, %rcx
jne LBB0_6
## %bb.1:
movq 8(%rbx), %rdi
movl (%rbx), %eax
leal -8(,%rax,8), %esi
callq _realloc
testq %rax, %rax
je LBB0_3
## %bb.2:
movl %r12d, %edi
callq _hx509_clear_error_string
LBB0_4:
movq _ENOMEM@GOTPCREL(%rip), %rax
movl (%rax), %eax
jmp LBB0_6
LBB0_3:
movq $0, 8(%rbx)
movl $8, %edi
callq _malloc
testq %rax, %rax
je LBB0_4
## %bb.5:
movq %rax, %rsi
addq $4, %rsi
movq %r15, %rdi
movq %rax, %r15
callq _der_copy_octet_string
movq %r14, %rdi
movq %r15, %rsi
callq _der_copy_oid
movq 8(%rbx), %rax
movslq (%rbx), %rcx
movq %r15, (%rax,%rcx,8)
leal 1(%rcx), %eax
movl %eax, (%rbx)
xorl %eax, %eax
LBB0_6:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ENOMEM,4,2 ## @ENOMEM
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl __hx509_set_cert_attribute ; -- Begin function _hx509_set_cert_attribute
.p2align 2
__hx509_set_cert_attribute: ; @_hx509_set_cert_attribute
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x21, x3
mov x20, x2
mov x19, x1
mov x22, x0
mov x0, x1
mov x1, x2
bl _hx509_cert_get_attribute
cbz x0, LBB0_2
; %bb.1:
mov w0, #0 ; =0x0
b LBB0_7
LBB0_2:
ldr x0, [x19, #8]
ldr w8, [x19]
lsl w8, w8, #3
sub w1, w8, #8
bl _realloc
cbz x0, LBB0_5
; %bb.3:
mov x0, x22
bl _hx509_clear_error_string
LBB0_4:
Lloh0:
adrp x8, _ENOMEM@GOTPAGE
Lloh1:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
b LBB0_7
LBB0_5:
str xzr, [x19, #8]
mov w0, #8 ; =0x8
bl _malloc
cbz x0, LBB0_4
; %bb.6:
add x1, x0, #4
mov x22, x0
mov x0, x21
bl _der_copy_octet_string
mov x0, x20
mov x1, x22
bl _der_copy_oid
mov w0, #0 ; =0x0
ldr x8, [x19, #8]
ldrsw x9, [x19]
str x22, [x8, x9, lsl #3]
add w8, w9, #1
str w8, [x19]
LBB0_7:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _ENOMEM,4,2 ; @ENOMEM
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _resize_region_layer ## -- Begin function resize_region_layer
.p2align 4, 0x90
_resize_region_layer: ## @resize_region_layer
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movl %esi, (%rdi)
movl %edx, 4(%rdi)
imull %edx, %esi
imull 12(%rdi), %esi
movl 16(%rdi), %eax
subl 20(%rdi), %eax
incl %eax
imull %eax, %esi
movl %esi, 8(%rdi)
movl %esi, 24(%rdi)
movq 32(%rdi), %rdi
imull 28(%rbx), %esi
shll $2, %esi
callq _realloc
movq %rax, 32(%rbx)
movq 48(%rbx), %rdi
movl 28(%rbx), %esi
imull 8(%rbx), %esi
shll $2, %esi
callq _realloc
movq %rax, 48(%rbx)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _resize_region_layer ; -- Begin function resize_region_layer
.p2align 2
_resize_region_layer: ; @resize_region_layer
.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
stp w1, w2, [x0]
mul w8, w2, w1
ldp w9, w10, [x0, #12]
mul w8, w8, w9
ldr w9, [x0, #20]
sub w9, w10, w9
madd w8, w8, w9, w8
str w8, [x0, #8]
str w8, [x0, #24]
ldr x0, [x0, #32]
ldr w9, [x19, #28]
mul w8, w8, w9
lsl w1, w8, #2
bl _realloc
str x0, [x19, #32]
ldr x0, [x19, #48]
ldr w8, [x19, #28]
ldr w9, [x19, #8]
mul w8, w8, w9
lsl w1, w8, #2
bl _realloc
str x0, [x19, #48]
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 _generate_array ## -- Begin function generate_array
.p2align 4, 0x90
_generate_array: ## @generate_array
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB0_1
## %bb.2:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r14d
movq %rdi, %rbx
movq %rdx, -80(%rbp) ## 8-byte Spill
callq _strlen
testl %eax, %eax
js LBB0_3
## %bb.4:
movq $0, -56(%rbp) ## 8-byte Folded Spill
movl $1, %ecx
xorl %r15d, %r15d
movq $0, -48(%rbp) ## 8-byte Folded Spill
movl %r14d, -60(%rbp) ## 4-byte Spill
movq %rbx, -72(%rbp) ## 8-byte Spill
jmp LBB0_5
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_5 Depth=1
movq %r12, %rcx
movslq %ecx, %rax
movq $0, (%r13,%rax,8)
movl -60(%rbp), %r14d ## 4-byte Reload
movq -72(%rbp), %rbx ## 8-byte Reload
LBB0_11: ## in Loop: Header=BB0_5 Depth=1
incl %ecx
movq %rcx, %r12
leal 1(%r15), %eax
movq %rax, -56(%rbp) ## 8-byte Spill
LBB0_12: ## in Loop: Header=BB0_5 Depth=1
decq %r15
movq %rbx, %rdi
callq _strlen
cltq
cmpq %rax, %r15
movq %r12, %rcx
jg LBB0_13
LBB0_5: ## =>This Inner Loop Header: Depth=1
cmpb %r14b, (%rbx,%r15)
movq %rcx, %r12
je LBB0_7
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movq %rbx, %rdi
callq _strlen
movq %r12, %rcx
cmpl %eax, %r15d
jne LBB0_12
LBB0_7: ## in Loop: Header=BB0_5 Depth=1
leal -8(,%rcx,8), %esi
movq -48(%rbp), %rdi ## 8-byte Reload
callq _realloc
movq %r12, %rcx
testq %rax, %rax
movq %rax, -48(%rbp) ## 8-byte Spill
je LBB0_11
## %bb.8: ## in Loop: Header=BB0_5 Depth=1
movq %rax, %r13
leal -1(%rcx), %eax
movslq %eax, %r14
movq -56(%rbp), %rbx ## 8-byte Reload
## kill: def $ebx killed $ebx killed $rbx def $rbx
negl %ebx
leaq (%r15,%rbx), %rdi
incq %rdi
movq %rdi, -88(%rbp) ## 8-byte Spill
## kill: def $edi killed $edi killed $rdi
callq _malloc
movq %r14, -96(%rbp) ## 8-byte Spill
movq %rax, (%r13,%r14,8)
testq %rax, %rax
je LBB0_10
## %bb.9: ## in Loop: Header=BB0_5 Depth=1
addq %r15, %rbx
movslq -56(%rbp), %rsi ## 4-byte Folded Reload
addq -72(%rbp), %rsi ## 8-byte Folded Reload
movq %rax, %rdi
movl %ebx, %edx
callq _strncpy
movq -48(%rbp), %r13 ## 8-byte Reload
movq -96(%rbp), %rax ## 8-byte Reload
movq (%r13,%rax,8), %rax
movslq -88(%rbp), %rcx ## 4-byte Folded Reload
movb $0, (%rax,%rcx)
jmp LBB0_10
LBB0_1:
xorl %eax, %eax
retq
LBB0_3:
movl $1, %ecx
movq $0, -48(%rbp) ## 8-byte Folded Spill
LBB0_13:
movq -80(%rbp), %rax ## 8-byte Reload
movl %ecx, (%rax)
movq -48(%rbp), %rax ## 8-byte Reload
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _generate_array ; -- Begin function generate_array
.p2align 2
_generate_array: ; @generate_array
.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
cbz x0, LBB0_11
; %bb.1:
mov x22, x1
mov x21, x0
str x2, [sp, #8] ; 8-byte Folded Spill
bl _strlen
tbnz w0, #31, LBB0_12
; %bb.2:
mov x25, #0 ; =0x0
mov w27, #0 ; =0x0
mov x20, #0 ; =0x0
and w26, w22, #0xff
mov w24, #1 ; =0x1
b LBB0_6
LBB0_3: ; in Loop: Header=BB0_6 Depth=1
str xzr, [x20, x28, lsl #3]
LBB0_4: ; in Loop: Header=BB0_6 Depth=1
add w24, w24, #1
add w27, w25, #1
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
sub x25, x25, #1
mov x0, x21
bl _strlen
cmp x25, w0, sxtw
b.gt LBB0_13
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldrb w8, [x21, x25]
cmp w8, w26
b.eq LBB0_8
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
mov x0, x21
bl _strlen
cmp w25, w0
b.ne LBB0_5
LBB0_8: ; in Loop: Header=BB0_6 Depth=1
sxtw x28, w24
sub x19, x28, #1
lsl w1, w19, #3
mov x0, x20
bl _realloc
mov x20, x0
cbz x0, LBB0_4
; %bb.9: ; in Loop: Header=BB0_6 Depth=1
neg w8, w27
add x23, x25, x8
add x22, x23, #1
mov x0, x22
bl _malloc
str x0, [x20, x19, lsl #3]
cbz x0, LBB0_3
; %bb.10: ; in Loop: Header=BB0_6 Depth=1
add x1, x21, w27, sxtw
mov x2, x23
bl _strncpy
ldr x8, [x20, x19, lsl #3]
strb wzr, [x8, w22, sxtw]
b LBB0_3
LBB0_11:
mov x20, #0 ; =0x0
b LBB0_14
LBB0_12:
mov x20, #0 ; =0x0
mov w24, #1 ; =0x1
LBB0_13:
ldr x8, [sp, #8] ; 8-byte Folded Reload
str w24, [x8]
LBB0_14:
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
.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 http_growbuf
_http_growbuf: ## @http_growbuf
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
xorl %ebx, %ebx
cmpq %rsi, (%rdi)
jae LBB0_4
## %bb.1:
movq %rsi, %r14
movq %rdi, %r15
movq 8(%rdi), %rdi
callq _realloc
testq %rax, %rax
je LBB0_2
## %bb.3:
movq %rax, 8(%r15)
movq %r14, (%r15)
jmp LBB0_4
LBB0_2:
movl $-1, %ebx
LBB0_4:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _http_growbuf
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function http_growbuf
_http_growbuf: ; @http_growbuf
.cfi_startproc
; %bb.0:
ldr x8, [x0]
cmp x8, x1
b.hs LBB0_3
; %bb.1:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov x20, x0
ldr x0, [x0, #8]
bl _realloc
cbz x0, LBB0_4
; %bb.2:
mov x8, x0
mov w0, #0 ; =0x0
stp x19, x8, [x20]
b LBB0_5
LBB0_3:
mov w0, #0 ; =0x0
ret
LBB0_4:
mov w0, #-1 ; =0xffffffff
LBB0_5:
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 _http_growbuf
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _tcp_init ## -- Begin function tcp_init
.p2align 4, 0x90
_tcp_init: ## @tcp_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 %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
movq 8(%rdi), %rax
movq 16(%rdi), %rdi
cmpq %rsi, %rax
jle LBB0_2
## %bb.1:
movq %rax, %rcx
jmp LBB0_4
LBB0_2:
movq %rsi, %r14
callq _realloc
testq %rax, %rax
je LBB0_3
## %bb.6:
movl $262, (%rbx) ## imm = 0x106
xorl %eax, %eax
jmp LBB0_5
LBB0_3:
movq $0, 16(%rbx)
movq %r14, %rcx
movq %r14, 8(%rbx)
xorl %edi, %edi
LBB0_4:
leaq 8(%rbx), %rax
movq %rdi, 32(%rbx)
leaq (%rdi,%rcx,4), %rcx
movq %rcx, 24(%rbx)
LBB0_5:
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 _tcp_init ; -- Begin function tcp_init
.p2align 2
_tcp_init: ; @tcp_init
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
ldp x9, x8, [x0, #8]!
cmp x9, x1
b.le LBB0_2
; %bb.1:
mov x21, x9
b LBB0_5
LBB0_2:
mov x20, x0
mov x0, x8
mov x21, x1
bl _realloc
cbz x0, LBB0_4
; %bb.3:
mov x0, #0 ; =0x0
mov w8, #262 ; =0x106
str w8, [x19]
b LBB0_6
LBB0_4:
mov x8, #0 ; =0x0
stp x21, xzr, [x19, #8]
mov x0, x20
LBB0_5:
add x9, x8, x21, lsl #2
stp x9, x8, [x19, #24]
LBB0_6:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _buildargv ## -- Begin function buildargv
.p2align 4, 0x90
_buildargv: ## @buildargv
.cfi_startproc
## %bb.0:
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
xorl %r14d, %r14d
testq %rdi, %rdi
je LBB0_42
## %bb.1:
movq %rdi, %rbx
callq _strlen
leaq -1(%rax), %rdi
callq _alloca
movq %rax, -64(%rbp) ## 8-byte Spill
xorl %r15d, %r15d
xorl %r13d, %r13d
movl $0, -52(%rbp) ## 4-byte Folded Spill
xorl %r12d, %r12d
movq $0, -48(%rbp) ## 8-byte Folded Spill
jmp LBB0_5
LBB0_2: ## in Loop: Header=BB0_5 Depth=1
movq -48(%rbp), %rdi ## 8-byte Reload
callq _freeargv
LBB0_3: ## in Loop: Header=BB0_5 Depth=1
movq $0, -48(%rbp) ## 8-byte Folded Spill
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_5 Depth=1
movzbl (%rbx), %eax
## kill: def $r12d killed $r12d killed $r12 def $r12
movq _EOS@GOTPCREL(%rip), %rcx
cmpb (%rcx), %al
je LBB0_43
LBB0_5: ## =>This Loop Header: Depth=1
## Child Loop BB0_6 Depth 2
## Child Loop BB0_18 Depth 2
## Child Loop BB0_37 Depth 2
incq %rbx
.p2align 4, 0x90
LBB0_6: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
movsbl -1(%rbx), %edi
decq %rbx
callq _ISBLANK
testq %rax, %rax
jne LBB0_6
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movl %r12d, %eax
addl $-1, %eax
setb %cl
movl -52(%rbp), %edx ## 4-byte Reload
cmpl %eax, %edx
setl %al
movslq %edx, %rdx
movq %rdx, -72(%rbp) ## 8-byte Spill
testb %al, %cl
jne LBB0_12
## %bb.8: ## in Loop: Header=BB0_5 Depth=1
cmpq $0, -48(%rbp) ## 8-byte Folded Reload
je LBB0_10
## %bb.9: ## in Loop: Header=BB0_5 Depth=1
movq _INITIAL_MAXARGC@GOTPCREL(%rip), %rax
movl (%rax), %r12d
leal (,%r12,8), %edi
callq _malloc
testq %rax, %rax
jne LBB0_11
jmp LBB0_2
LBB0_10: ## in Loop: Header=BB0_5 Depth=1
movq %r12, %rsi
addl %r12d, %r12d
shll $4, %esi
xorl %edi, %edi
## kill: def $esi killed $esi killed $rsi
callq _realloc
testq %rax, %rax
je LBB0_3
LBB0_11: ## in Loop: Header=BB0_5 Depth=1
movq %rax, -48(%rbp) ## 8-byte Spill
movq -72(%rbp), %rcx ## 8-byte Reload
movq $0, (%rax,%rcx,8)
## kill: def $r12d killed $r12d killed $r12 def $r12
LBB0_12: ## in Loop: Header=BB0_5 Depth=1
movq %r12, -80(%rbp) ## 8-byte Spill
movzbl (%rbx), %eax
movq _EOS@GOTPCREL(%rip), %rcx
cmpb (%rcx), %al
jne LBB0_14
## %bb.13: ## in Loop: Header=BB0_5 Depth=1
movq -64(%rbp), %r12 ## 8-byte Reload
jmp LBB0_35
.p2align 4, 0x90
LBB0_14: ## in Loop: Header=BB0_5 Depth=1
movq -64(%rbp), %r12 ## 8-byte Reload
jmp LBB0_18
.p2align 4, 0x90
LBB0_15: ## in Loop: Header=BB0_18 Depth=2
movb %al, (%r12)
incq %r12
LBB0_16: ## in Loop: Header=BB0_18 Depth=2
xorl %r13d, %r13d
LBB0_17: ## in Loop: Header=BB0_18 Depth=2
movzbl 1(%rbx), %eax
incq %rbx
movq _EOS@GOTPCREL(%rip), %rcx
cmpb (%rcx), %al
je LBB0_35
LBB0_18: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
movsbl %al, %edi
callq _ISSPACE
testq %rax, %rax
sete %al
movl %r14d, %ecx
orl %r15d, %ecx
orl %r13d, %ecx
setne %cl
orb %al, %cl
je LBB0_34
## %bb.19: ## in Loop: Header=BB0_18 Depth=2
movzbl (%rbx), %eax
testl %r13d, %r13d
jne LBB0_15
## %bb.20: ## in Loop: Header=BB0_18 Depth=2
movl $1, %r13d
cmpb $92, %al
je LBB0_17
## %bb.21: ## in Loop: Header=BB0_18 Depth=2
testl %r14d, %r14d
jne LBB0_26
## %bb.22: ## in Loop: Header=BB0_18 Depth=2
testl %r15d, %r15d
jne LBB0_28
## %bb.23: ## in Loop: Header=BB0_18 Depth=2
movzbl %al, %ecx
cmpl $39, %ecx
je LBB0_31
## %bb.24: ## in Loop: Header=BB0_18 Depth=2
cmpl $34, %ecx
jne LBB0_32
## %bb.25: ## in Loop: Header=BB0_18 Depth=2
movl $1, %r15d
xorl %r14d, %r14d
jmp LBB0_16
LBB0_26: ## in Loop: Header=BB0_18 Depth=2
xorl %r13d, %r13d
cmpb $39, %al
jne LBB0_30
## %bb.27: ## in Loop: Header=BB0_18 Depth=2
xorl %r14d, %r14d
jmp LBB0_17
LBB0_28: ## in Loop: Header=BB0_18 Depth=2
xorl %r14d, %r14d
cmpb $34, %al
je LBB0_33
## %bb.29: ## in Loop: Header=BB0_18 Depth=2
movb %al, (%r12)
incq %r12
movl $1, %r15d
jmp LBB0_16
LBB0_30: ## in Loop: Header=BB0_18 Depth=2
movb %al, (%r12)
incq %r12
movl $1, %r14d
jmp LBB0_17
LBB0_31: ## in Loop: Header=BB0_18 Depth=2
xorl %r15d, %r15d
movl $1, %r14d
jmp LBB0_16
LBB0_32: ## in Loop: Header=BB0_18 Depth=2
movb %al, (%r12)
incq %r12
xorl %r14d, %r14d
LBB0_33: ## in Loop: Header=BB0_18 Depth=2
xorl %r15d, %r15d
jmp LBB0_16
.p2align 4, 0x90
LBB0_34: ## in Loop: Header=BB0_5 Depth=1
movq _EOS@GOTPCREL(%rip), %rax
movzbl (%rax), %eax
xorl %r14d, %r14d
xorl %r15d, %r15d
xorl %r13d, %r13d
LBB0_35: ## in Loop: Header=BB0_5 Depth=1
movb %al, (%r12)
movq -64(%rbp), %rdi ## 8-byte Reload
callq _strdup
movq -48(%rbp), %rdi ## 8-byte Reload
movq -72(%rbp), %rcx ## 8-byte Reload
movq %rax, (%rdi,%rcx,8)
testq %rax, %rax
je LBB0_41
## %bb.36: ## in Loop: Header=BB0_5 Depth=1
leal 1(%rcx), %eax
movl %eax, -52(%rbp) ## 4-byte Spill
movq $0, 8(%rdi,%rcx,8)
decq %rbx
.p2align 4, 0x90
LBB0_37: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
movsbl 1(%rbx), %edi
incq %rbx
callq _ISSPACE
testq %rax, %rax
jne LBB0_37
## %bb.38: ## in Loop: Header=BB0_5 Depth=1
movq -80(%rbp), %r12 ## 8-byte Reload
## kill: def $r12d killed $r12d killed $r12 def $r12
jmp LBB0_4
LBB0_41:
callq _freeargv
LBB0_42:
movq $0, -48(%rbp) ## 8-byte Folded Spill
LBB0_43:
movq -48(%rbp), %rax ## 8-byte Reload
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _INITIAL_MAXARGC,4,2 ## @INITIAL_MAXARGC
.comm _EOS,1,0 ## @EOS
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _buildargv ; -- Begin function buildargv
.p2align 2
_buildargv: ; @buildargv
.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
cbz x0, LBB0_43
; %bb.1:
mov x19, x0
bl _strlen
sub x0, x0, #1
bl _alloca
mov x24, x0
mov w26, #0 ; =0x0
mov w25, #0 ; =0x0
mov w27, #0 ; =0x0
mov w22, #0 ; =0x0
mov w28, #0 ; =0x0
mov x21, #0 ; =0x0
Lloh0:
adrp x23, _EOS@GOTPAGE
Lloh1:
ldr x23, [x23, _EOS@GOTPAGEOFF]
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
mov x0, x21
bl _freeargv
mov x21, #0 ; =0x0
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
ldrb w8, [x19]
ldrb w9, [x23]
mov x28, x20
cmp w8, w9
b.eq LBB0_44
LBB0_4: ; =>This Loop Header: Depth=1
; Child Loop BB0_5 Depth 2
; Child Loop BB0_17 Depth 2
; Child Loop BB0_40 Depth 2
add x19, x19, #1
LBB0_5: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
ldrsb w0, [x19, #-1]!
bl _ISBLANK
cbnz x0, LBB0_5
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
subs w8, w28, #1
b.lo LBB0_8
; %bb.7: ; in Loop: Header=BB0_4 Depth=1
cmp w22, w8
b.lt LBB0_13
LBB0_8: ; in Loop: Header=BB0_4 Depth=1
cbz x21, LBB0_11
; %bb.9: ; in Loop: Header=BB0_4 Depth=1
Lloh2:
adrp x8, _INITIAL_MAXARGC@GOTPAGE
Lloh3:
ldr x8, [x8, _INITIAL_MAXARGC@GOTPAGEOFF]
Lloh4:
ldr w20, [x8]
lsl w0, w20, #3
bl _malloc
cbz x0, LBB0_2
; %bb.10: ; in Loop: Header=BB0_4 Depth=1
mov x21, x0
b LBB0_12
LBB0_11: ; in Loop: Header=BB0_4 Depth=1
lsl w20, w28, #1
lsl w1, w28, #4
mov x0, #0 ; =0x0
bl _realloc
mov x21, x0
cbz x0, LBB0_3
LBB0_12: ; in Loop: Header=BB0_4 Depth=1
str xzr, [x21, w22, sxtw #3]
mov x28, x20
LBB0_13: ; in Loop: Header=BB0_4 Depth=1
ldrb w8, [x19]
ldrb w9, [x23]
mov x20, x24
b LBB0_17
LBB0_14: ; in Loop: Header=BB0_17 Depth=2
mov w26, #0 ; =0x0
mov w25, #0 ; =0x0
LBB0_15: ; in Loop: Header=BB0_17 Depth=2
mov w27, #0 ; =0x0
strb w8, [x20], #1
LBB0_16: ; in Loop: Header=BB0_17 Depth=2
ldrb w8, [x19, #1]!
ldrb w9, [x23]
LBB0_17: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
cmp w8, w9
b.eq LBB0_38
; %bb.18: ; in Loop: Header=BB0_17 Depth=2
sxtb w0, w8
bl _ISSPACE
cbz x0, LBB0_22
; %bb.19: ; in Loop: Header=BB0_17 Depth=2
cbnz w26, LBB0_22
; %bb.20: ; in Loop: Header=BB0_17 Depth=2
cbnz w25, LBB0_22
; %bb.21: ; in Loop: Header=BB0_17 Depth=2
cbz w27, LBB0_37
LBB0_22: ; in Loop: Header=BB0_17 Depth=2
ldrb w8, [x19]
cbnz w27, LBB0_15
; %bb.23: ; in Loop: Header=BB0_17 Depth=2
cmp w8, #92
b.ne LBB0_25
; %bb.24: ; in Loop: Header=BB0_17 Depth=2
mov w27, #1 ; =0x1
b LBB0_16
LBB0_25: ; in Loop: Header=BB0_17 Depth=2
cbnz w26, LBB0_30
; %bb.26: ; in Loop: Header=BB0_17 Depth=2
cbnz w25, LBB0_32
; %bb.27: ; in Loop: Header=BB0_17 Depth=2
cmp w8, #39
b.eq LBB0_35
; %bb.28: ; in Loop: Header=BB0_17 Depth=2
cmp w8, #34
b.ne LBB0_14
; %bb.29: ; in Loop: Header=BB0_17 Depth=2
mov w26, #0 ; =0x0
mov w27, #0 ; =0x0
mov w25, #1 ; =0x1
b LBB0_16
LBB0_30: ; in Loop: Header=BB0_17 Depth=2
cmp w8, #39
b.ne LBB0_34
; %bb.31: ; in Loop: Header=BB0_17 Depth=2
mov w26, #0 ; =0x0
mov w27, #0 ; =0x0
b LBB0_16
LBB0_32: ; in Loop: Header=BB0_17 Depth=2
cmp w8, #34
b.ne LBB0_36
; %bb.33: ; in Loop: Header=BB0_17 Depth=2
mov w26, #0 ; =0x0
mov w25, #0 ; =0x0
mov w27, #0 ; =0x0
b LBB0_16
LBB0_34: ; in Loop: Header=BB0_17 Depth=2
mov w27, #0 ; =0x0
strb w8, [x20], #1
mov w26, #1 ; =0x1
b LBB0_16
LBB0_35: ; in Loop: Header=BB0_17 Depth=2
mov w25, #0 ; =0x0
mov w27, #0 ; =0x0
mov w26, #1 ; =0x1
b LBB0_16
LBB0_36: ; in Loop: Header=BB0_17 Depth=2
mov w26, #0 ; =0x0
mov w27, #0 ; =0x0
strb w8, [x20], #1
mov w25, #1 ; =0x1
b LBB0_16
LBB0_37: ; in Loop: Header=BB0_4 Depth=1
mov w26, #0 ; =0x0
mov w25, #0 ; =0x0
ldrb w8, [x23]
LBB0_38: ; in Loop: Header=BB0_4 Depth=1
strb w8, [x20]
mov x0, x24
bl _strdup
str x0, [x21, w22, sxtw #3]
cbz x0, LBB0_42
; %bb.39: ; in Loop: Header=BB0_4 Depth=1
sxtw x8, w22
add x22, x8, #1
str xzr, [x21, x22, lsl #3]
; kill: def $w22 killed $w22 killed $x22 def $x22
sub x19, x19, #1
LBB0_40: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
ldrsb w0, [x19, #1]!
bl _ISSPACE
cbnz x0, LBB0_40
; %bb.41: ; in Loop: Header=BB0_4 Depth=1
mov x20, x28
b LBB0_3
LBB0_42:
mov x0, x21
bl _freeargv
LBB0_43:
mov x21, #0 ; =0x0
LBB0_44:
mov x0, x21
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _INITIAL_MAXARGC,4,2 ; @INITIAL_MAXARGC
.comm _EOS,1,0 ; @EOS
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function TextLoad
_TextLoad: ## @TextLoad
.cfi_startproc
## %bb.0:
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, %r14
movq %rdi, %rbx
movq %rsi, %rdi
callq _vlc_stream_ReadLine
testq %rax, %rax
je LBB0_2
LBB0_1:
xorl %r12d, %r12d
xorl %r15d, %r15d
jmp LBB0_6
LBB0_2:
movq _INT_MAX@GOTPCREL(%rip), %rcx
xorl %eax, %eax
cmpl $8, (%rcx)
movl $0, %r12d
movl $0, %r15d
jb LBB0_6
## %bb.3:
movq $-8, %rdi
callq _malloc
testq %rax, %rax
je LBB0_4
## %bb.5:
movq %rax, %r15
movq $0, (%rax)
movq %r14, %rdi
callq _vlc_stream_ReadLine
movq $-1, %r12
LBB0_6:
movq %rax, %rdi
callq _free
movq %r12, (%rbx)
movq $0, 16(%rbx)
movq %r15, 8(%rbx)
movq _VLC_SUCCESS@GOTPCREL(%rip), %rax
movl (%rax), %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_4:
xorl %eax, %eax
jmp LBB0_1
.cfi_endproc
## -- End function
.comm _INT_MAX,4,2 ## @INT_MAX
.comm _VLC_SUCCESS,4,2 ## @VLC_SUCCESS
.no_dead_strip _TextLoad
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function TextLoad
_TextLoad: ; @TextLoad
.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
mov x0, x1
bl _vlc_stream_ReadLine
cbnz x0, LBB0_3
; %bb.1:
Lloh0:
adrp x8, _INT_MAX@GOTPAGE
Lloh1:
ldr x8, [x8, _INT_MAX@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cmp w8, #8
b.hs LBB0_5
; %bb.2:
mov x0, #0 ; =0x0
LBB0_3:
mov x21, #0 ; =0x0
mov x20, #0 ; =0x0
LBB0_4:
bl _free
stp x20, xzr, [x19, #8]
str x21, [x19]
Lloh3:
adrp x8, _VLC_SUCCESS@GOTPAGE
Lloh4:
ldr x8, [x8, _VLC_SUCCESS@GOTPAGEOFF]
Lloh5:
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
LBB0_5:
mov x0, #-8 ; =0xfffffffffffffff8
bl _malloc
mov x20, x0
cbz x0, LBB0_7
; %bb.6:
str xzr, [x20]
mov x0, x21
bl _vlc_stream_ReadLine
mov x21, #-1 ; =0xffffffffffffffff
b LBB0_4
LBB0_7:
mov x21, #0 ; =0x0
b LBB0_4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _INT_MAX,4,2 ; @INT_MAX
.comm _VLC_SUCCESS,4,2 ; @VLC_SUCCESS
.no_dead_strip _TextLoad
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function makefinal_query
_makefinal_query: ## @makefinal_query
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movq 8(%rdi), %r14
cmpl $0, (%rdi)
je LBB0_3
## %bb.1:
movl $56, %edi
callq _MEM_ROUND
addl (%rbx), %eax
movl %eax, %edi
callq _MEM_ROUND
movq %r14, %rdi
movl %eax, %esi
callq _realloc
testq %rax, %rax
je LBB0_7
## %bb.2:
movq %rax, %r14
movq %rax, 8(%rbx)
LBB0_3:
movl $56, %edi
callq _MEM_ROUND
cltq
leaq (%r14,%rax,4), %rax
movq %rax, 32(%rbx)
leaq 32(%r14), %rsi
movq %rbx, %rdi
callq _adns__makefinal_str
leaq 24(%r14), %rsi
movq %rbx, %rdi
callq _adns__makefinal_str
movslq (%r14), %rdx
testq %rdx, %rdx
je LBB0_8
## %bb.4:
leaq 48(%r14), %rsi
imulq 8(%r14), %rdx
movq %rbx, %rdi
callq _adns__makefinal_block
cmpl $0, (%r14)
js LBB0_8
## %bb.5:
movq $-1, %r15
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
incq %r15
movq 24(%rbx), %rax
movq 8(%r14), %rsi
imulq %r15, %rsi
addq 40(%r14), %rsi
movq %rbx, %rdi
callq *(%rax)
movslq (%r14), %rax
cmpq %rax, %r15
jl LBB0_6
jmp LBB0_8
LBB0_7:
movq $0, 16(%rbx)
movq 8(%rbx), %rax
xorps %xmm0, %xmm0
movups %xmm0, 24(%rax)
movq %rbx, %rdi
callq _adns__reset_preserved
movq _adns_s_nomemory@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq 8(%rbx), %rcx
movl %eax, 16(%rcx)
LBB0_8:
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _free_query_allocs ## TAILCALL
.cfi_endproc
## -- End function
.comm _adns_s_nomemory,4,2 ## @adns_s_nomemory
.no_dead_strip _makefinal_query
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function makefinal_query
_makefinal_query: ; @makefinal_query
.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 x20, [x0, #8]
ldr w8, [x0]
cbz w8, LBB0_3
; %bb.1:
mov w0, #56 ; =0x38
bl _MEM_ROUND
ldr w8, [x19]
add w0, w8, w0
bl _MEM_ROUND
mov x1, x0
mov x0, x20
bl _realloc
cbz x0, LBB0_7
; %bb.2:
mov x20, x0
str x0, [x19, #8]
LBB0_3:
mov w0, #56 ; =0x38
bl _MEM_ROUND
add x8, x20, w0, sxtw #2
str x8, [x19, #32]
add x1, x20, #32
mov x0, x19
bl _adns__makefinal_str
add x1, x20, #24
mov x0, x19
bl _adns__makefinal_str
ldrsw x8, [x20]
cbz w8, LBB0_8
; %bb.4:
ldr x9, [x20, #8]
mul x2, x9, x8
add x1, x20, #48
mov x0, x19
bl _adns__makefinal_block
ldr w8, [x20]
tbnz w8, #31, LBB0_8
; %bb.5:
mov x21, #-1 ; =0xffffffffffffffff
LBB0_6: ; =>This Inner Loop Header: Depth=1
add x21, x21, #1
ldr x8, [x19, #24]
ldr x8, [x8]
ldr x9, [x20, #40]
ldr x10, [x20, #8]
madd x1, x10, x21, x9
mov x0, x19
blr x8
ldrsw x8, [x20]
cmp x21, x8
b.lt LBB0_6
b LBB0_8
LBB0_7:
str xzr, [x19, #16]
ldr x8, [x19, #8]
stp xzr, xzr, [x8, #24]
mov x0, x19
bl _adns__reset_preserved
Lloh0:
adrp x8, _adns_s_nomemory@GOTPAGE
Lloh1:
ldr x8, [x8, _adns_s_nomemory@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
ldr x9, [x19, #8]
str w8, [x9, #16]
LBB0_8:
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _free_query_allocs
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _adns_s_nomemory,4,2 ; @adns_s_nomemory
.no_dead_strip _makefinal_query
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function scan_AddMultiplex
_scan_AddMultiplex: ## @scan_AddMultiplex
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %rbx
movq 8(%rdi), %rdi
movl (%rbx), %eax
leal -8(,%rax,8), %esi
callq _realloc
movq %rax, %r15
xorl %edi, %edi
testq %rax, %rax
sete %dil
callq _unlikely
movq %rax, %rcx
xorl %eax, %eax
testq %rcx, %rcx
jne LBB0_3
## %bb.1:
movslq (%rbx), %rax
movq %r14, (%r15,%rax,8)
movq %r15, 8(%rbx)
incl %eax
movl %eax, (%rbx)
movl $1, %eax
cmpl $0, (%r14)
jne LBB0_3
## %bb.2:
incl 4(%rbx)
LBB0_3:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _scan_AddMultiplex
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function scan_AddMultiplex
_scan_AddMultiplex: ; @scan_AddMultiplex
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x1
mov x19, x0
ldr x0, [x0, #8]
ldr w8, [x19]
lsl w8, w8, #3
sub w1, w8, #8
bl _realloc
mov x21, x0
cmp x0, #0
cset w0, eq
bl _unlikely
cbz x0, LBB0_2
; %bb.1:
mov w0, #0 ; =0x0
b LBB0_5
LBB0_2:
ldrsw x8, [x19]
str x20, [x21, x8, lsl #3]
str x21, [x19, #8]
add w8, w8, #1
str w8, [x19]
ldr w8, [x20]
cbnz w8, LBB0_4
; %bb.3:
ldr w8, [x19, #4]
add w8, w8, #1
str w8, [x19, #4]
LBB0_4:
mov w0, #1 ; =0x1
LBB0_5:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _scan_AddMultiplex
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function btf_dump_add_emit_queue_id
_btf_dump_add_emit_queue_id: ## @btf_dump_add_emit_queue_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
movl %esi, %ebx
movq %rdi, %r14
movl (%rdi), %ecx
movl 4(%rdi), %eax
cmpl %eax, %ecx
jge LBB0_2
## %bb.1:
movq 8(%r14), %rax
jmp LBB0_5
LBB0_2:
leal (%rax,%rax,2), %eax
movl %eax, %esi
shrl $31, %esi
addl %eax, %esi
sarl %esi
movl $16, %edi
callq _max
movq %rax, %r15
movq 8(%r14), %rdi
leaq (,%rax,4), %rsi
callq _realloc
testq %rax, %rax
je LBB0_3
## %bb.4:
movq %rax, 8(%r14)
movl %r15d, 4(%r14)
movl (%r14), %ecx
LBB0_5:
leal 1(%rcx), %edx
movl %edx, (%r14)
movslq %ecx, %rcx
movl %ebx, (%rax,%rcx,4)
xorl %eax, %eax
LBB0_6:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_3:
movq _ENOMEM@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
jmp LBB0_6
.cfi_endproc
## -- End function
.comm _ENOMEM,4,2 ## @ENOMEM
.no_dead_strip _btf_dump_add_emit_queue_id
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function btf_dump_add_emit_queue_id
_btf_dump_add_emit_queue_id: ; @btf_dump_add_emit_queue_id
.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
ldp w9, w8, [x0]
cmp w9, w8
b.ge LBB0_2
; %bb.1:
ldr x0, [x20, #8]
b LBB0_4
LBB0_2:
add w8, w8, w8, lsl #1
add w8, w8, w8, lsr #31
asr w1, w8, #1
mov w0, #16 ; =0x10
bl _max
mov x21, x0
ldr x0, [x20, #8]
lsl x1, x21, #2
bl _realloc
cbz x0, LBB0_6
; %bb.3:
str x0, [x20, #8]
str w21, [x20, #4]
ldr w9, [x20]
LBB0_4:
mov w8, #0 ; =0x0
add w10, w9, #1
str w10, [x20]
str w19, [x0, w9, sxtw #2]
LBB0_5:
mov x0, 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
LBB0_6:
Lloh0:
adrp x8, _ENOMEM@GOTPAGE
Lloh1:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
neg w8, w8
b LBB0_5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _ENOMEM,4,2 ; @ENOMEM
.no_dead_strip _btf_dump_add_emit_queue_id
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function nl_getmsg
_nl_getmsg: ## @nl_getmsg
.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
callq _getpid
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
jmp LBB0_1
.cfi_endproc
## -- End function
.comm _MSG_TRUNC,4,2 ## @MSG_TRUNC
.comm _NLMSG_DONE,8,3 ## @NLMSG_DONE
.comm _NLMSG_ERROR,8,3 ## @NLMSG_ERROR
.comm _EIO,4,2 ## @EIO
.comm _errno,4,2 ## @errno
.no_dead_strip _nl_getmsg
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function nl_getmsg
_nl_getmsg: ; @nl_getmsg
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl _getpid
LBB0_1: ; =>This Inner Loop Header: Depth=1
b LBB0_1
.cfi_endproc
; -- End function
.comm _MSG_TRUNC,4,2 ; @MSG_TRUNC
.comm _NLMSG_DONE,8,3 ; @NLMSG_DONE
.comm _NLMSG_ERROR,8,3 ; @NLMSG_ERROR
.comm _EIO,4,2 ; @EIO
.comm _errno,4,2 ; @errno
.no_dead_strip _nl_getmsg
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _realloc ## -- Begin function realloc
.p2align 4, 0x90
_realloc: ## @realloc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, %r12d
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movq (%rdx), %rax
movq _M_MAGIC@GOTPCREL(%rip), %rcx
xorl %edi, %edi
cmpq (%rcx), %rax
sete %dil
leaq L_.str(%rip), %rsi
callq _KASSERT
movq _curthread@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq $0, (%rax)
je LBB0_1
## %bb.2:
xorl %eax, %eax
callq _SCHEDULER_STOPPED
xorl %edi, %edi
testq %rax, %rax
setne %dil
jmp LBB0_3
LBB0_1:
movl $1, %edi
LBB0_3:
leaq L_.str.1(%rip), %rsi
callq _KASSERT
testq %rbx, %rbx
je LBB0_14
## %bb.4:
movq _UMA_SLAB_MASK@GOTPCREL(%rip), %rax
movl (%rax), %edi
notl %edi
orl %ebx, %edi
callq _vtoslab
movq %rax, %r13
xorl %edi, %edi
testq %rax, %rax
setne %dil
movq %rbx, %rsi
callq _KASSERT
movq _UMA_SLAB_MALLOC@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, (%r13)
je LBB0_5
## %bb.6:
addq $8, %r13
jmp LBB0_7
LBB0_14:
movq %r15, %rdi
movq %r14, %rsi
movl %r12d, %edx
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _malloc ## TAILCALL
LBB0_5:
movq 16(%r13), %r13
LBB0_7:
movq (%r13), %r13
cmpq %r15, %r13
jb LBB0_10
## %bb.8:
movq _REALLOC_FRACTION@GOTPCREL(%rip), %rax
movzbl (%rax), %ecx
movq %r13, %rax
shrq %cl, %rax
cmpq %r15, %rax
jb LBB0_13
## %bb.9:
movq _MINALLOCSIZE@GOTPCREL(%rip), %rax
cmpq (%rax), %r13
je LBB0_13
LBB0_10:
movq %r15, %rdi
movq %r14, %rsi
movl %r12d, %edx
callq _malloc
testq %rax, %rax
je LBB0_11
## %bb.12:
movq %rax, %r12
movq %r15, %rdi
movq %r13, %rsi
callq _min
movq %rbx, %rdi
movq %r12, %rsi
movl %eax, %edx
callq _bcopy
movq %rbx, %rdi
movq %r14, %rsi
callq _free
movq %r12, %rbx
jmp LBB0_13
LBB0_11:
xorl %ebx, %ebx
LBB0_13:
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _M_MAGIC,8,3 ## @M_MAGIC
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "realloc: bad malloc type magic"
.comm _curthread,8,3 ## @curthread
L_.str.1: ## @.str.1
.asciz "realloc: called with spinlock or critical section held"
.comm _UMA_SLAB_MASK,4,2 ## @UMA_SLAB_MASK
.comm _UMA_SLAB_MALLOC,4,2 ## @UMA_SLAB_MALLOC
.comm _REALLOC_FRACTION,8,3 ## @REALLOC_FRACTION
.comm _MINALLOCSIZE,8,3 ## @MINALLOCSIZE
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _realloc ; -- Begin function realloc
.p2align 2
_realloc: ; @realloc
.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 x22, x3
mov x20, x2
mov x21, x1
mov x19, x0
ldr x8, [x2]
Lloh0:
adrp x9, _M_MAGIC@GOTPAGE
Lloh1:
ldr x9, [x9, _M_MAGIC@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x8, x9
cset w0, eq
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
bl _KASSERT
Lloh5:
adrp x8, _curthread@GOTPAGE
Lloh6:
ldr x8, [x8, _curthread@GOTPAGEOFF]
Lloh7:
ldr x8, [x8]
ldr x8, [x8]
cbz x8, LBB0_2
; %bb.1:
bl _SCHEDULER_STOPPED
cmp x0, #0
cset w0, ne
b LBB0_3
LBB0_2:
mov w0, #1 ; =0x1
LBB0_3:
Lloh8:
adrp x1, l_.str.1@PAGE
Lloh9:
add x1, x1, l_.str.1@PAGEOFF
bl _KASSERT
cbz x19, LBB0_6
; %bb.4:
Lloh10:
adrp x8, _UMA_SLAB_MASK@GOTPAGE
Lloh11:
ldr x8, [x8, _UMA_SLAB_MASK@GOTPAGEOFF]
Lloh12:
ldr w8, [x8]
orn w0, w19, w8
bl _vtoslab
mov x23, x0
cmp x0, #0
cset w0, ne
mov x1, x19
bl _KASSERT
ldr w8, [x23]
Lloh13:
adrp x9, _UMA_SLAB_MALLOC@GOTPAGE
Lloh14:
ldr x9, [x9, _UMA_SLAB_MALLOC@GOTPAGEOFF]
Lloh15:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_7
; %bb.5:
add x8, x23, #8
b LBB0_8
LBB0_6:
mov x0, x21
mov x1, x20
mov x2, x22
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
b _malloc
LBB0_7:
ldr x8, [x23, #16]
LBB0_8:
ldr x23, [x8]
cmp x23, x21
b.lo LBB0_10
; %bb.9:
Lloh16:
adrp x8, _REALLOC_FRACTION@GOTPAGE
Lloh17:
ldr x8, [x8, _REALLOC_FRACTION@GOTPAGEOFF]
Lloh18:
ldr x8, [x8]
lsr x8, x23, x8
Lloh19:
adrp x9, _MINALLOCSIZE@GOTPAGE
Lloh20:
ldr x9, [x9, _MINALLOCSIZE@GOTPAGEOFF]
Lloh21:
ldr x9, [x9]
cmp x8, x21
ccmp x23, x9, #4, hs
b.eq LBB0_13
LBB0_10:
mov x0, x21
mov x1, x20
mov x2, x22
bl _malloc
cbz x0, LBB0_12
; %bb.11:
mov x22, x0
mov x0, x21
mov x1, x23
bl _min
mov x2, x0
mov x0, x19
mov x1, x22
bl _bcopy
mov x0, x19
mov x1, x20
bl _free
mov x19, x22
b LBB0_13
LBB0_12:
mov x19, #0 ; =0x0
LBB0_13:
mov x0, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.cfi_endproc
; -- End function
.comm _M_MAGIC,8,3 ; @M_MAGIC
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "realloc: bad malloc type magic"
.comm _curthread,8,3 ; @curthread
l_.str.1: ; @.str.1
.asciz "realloc: called with spinlock or critical section held"
.comm _UMA_SLAB_MASK,4,2 ; @UMA_SLAB_MASK
.comm _UMA_SLAB_MALLOC,4,2 ; @UMA_SLAB_MALLOC
.comm _REALLOC_FRACTION,8,3 ; @REALLOC_FRACTION
.comm _MINALLOCSIZE,8,3 ; @MINALLOCSIZE
.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 parse_pipes
LCPI0_0:
.long 1 ## 0x1
.space 4
.space 4
.space 4
.section __TEXT,__literal4,4byte_literals
LCPI0_1:
.space 4,1
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_parse_pipes: ## @parse_pipes
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movl $58, %esi
callq _index
movq %rax, %r14
movq _glob_arg@GOTPCREL(%rip), %r12
movl (%r12), %edx
leaq L_.str(%rip), %rdi
movq %rbx, %rsi
callq _ND
movl (%r12), %ecx
movq _groups@GOTPCREL(%rip), %r15
movq (%r15), %rax
cmpl $-1, %ecx
jl LBB0_3
## %bb.1:
incl %ecx
shlq $2, %rcx
leaq (%rcx,%rcx,2), %rsi
movq %rax, %rdi
callq _realloc
movq %rax, (%r15)
testq %rax, %rax
je LBB0_11
## %bb.2:
movl (%r12), %ecx
LBB0_3:
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
leaq (%rax,%rcx,4), %r15
movq %r15, %rdi
xorl %esi, %esi
movl $12, %edx
callq _memset
testq %r14, %r14
je LBB0_8
## %bb.4:
movq %r14, %rdx
subq %rbx, %rdx
movq _MAX_IFNAMELEN@GOTPCREL(%rip), %rax
movslq (%rax), %rax
addq $-8, %rax
cmpq %rax, %rdx
jle LBB0_6
## %bb.5:
leaq L_.str.2(%rip), %rdi
jmp LBB0_15
LBB0_6:
cmpq %rbx, %r14
je LBB0_14
## %bb.7:
movl 8(%r15), %edi
movq %rbx, %rsi
## kill: def $edx killed $edx killed $rdx
callq _strncpy
movl $1, (%r15)
decq %r14
movq %r14, %rbx
LBB0_8:
cmpb $0, (%rbx)
je LBB0_12
## %bb.9:
movq %rbx, %rdi
callq _atoi
movl %eax, 4(%r15)
testl %eax, %eax
jg LBB0_13
## %bb.10:
leaq L_.str.4(%rip), %rdi
jmp LBB0_15
LBB0_11:
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _D
jmp LBB0_16
LBB0_12:
movq _DEF_OUT_PIPES@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 4(%r15)
LBB0_13:
pmovsxbd LCPI0_1(%rip), %xmm0 ## xmm0 = [1,1,1,1]
pinsrd $1, %eax, %xmm0
movq (%r12), %xmm1 ## xmm1 = mem[0],zero
paddd %xmm1, %xmm0
movq %xmm0, (%r12)
xorl %eax, %eax
jmp LBB0_17
LBB0_14:
leaq L_.str.3(%rip), %rdi
LBB0_15:
movq %rbx, %rsi
xorl %eax, %eax
callq _D
LBB0_16:
movl $1, %eax
LBB0_17:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "spec %s num_groups %d"
.comm _glob_arg,8,2 ## @glob_arg
.comm _groups,8,3 ## @groups
L_.str.1: ## @.str.1
.asciz "out of memory"
.comm _MAX_IFNAMELEN,4,2 ## @MAX_IFNAMELEN
L_.str.2: ## @.str.2
.asciz "name '%s' too long"
L_.str.3: ## @.str.3
.asciz "missing prefix before ':' in '%s'"
.comm _DEF_OUT_PIPES,4,2 ## @DEF_OUT_PIPES
L_.str.4: ## @.str.4
.asciz "invalid number of pipes '%s' (must be at least 1)"
.no_dead_strip _parse_pipes
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function parse_pipes
_parse_pipes: ; @parse_pipes
.cfi_startproc
; %bb.0:
sub sp, sp, #64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
mov w1, #58 ; =0x3a
bl _index
mov x20, x0
Lloh0:
adrp x22, _glob_arg@GOTPAGE
Lloh1:
ldr x22, [x22, _glob_arg@GOTPAGEOFF]
ldr w2, [x22]
Lloh2:
adrp x0, l_.str@PAGE
Lloh3:
add x0, x0, l_.str@PAGEOFF
mov x1, x19
bl _ND
ldr w8, [x22]
Lloh4:
adrp x21, _groups@GOTPAGE
Lloh5:
ldr x21, [x21, _groups@GOTPAGEOFF]
ldr x0, [x21]
cmn w8, #1
b.lt LBB0_3
; %bb.1:
add w8, w8, #1
mov w9, #12 ; =0xc
umull x1, w8, w9
bl _realloc
str x0, [x21]
cbz x0, LBB0_11
; %bb.2:
ldr w8, [x22]
LBB0_3:
mov w9, #12 ; =0xc
smaddl x21, w8, w9, x0
mov x0, x21
mov w1, #0 ; =0x0
mov w2, #12 ; =0xc
bl _memset
cbz x20, LBB0_8
; %bb.4:
Lloh6:
adrp x8, _MAX_IFNAMELEN@GOTPAGE
Lloh7:
ldr x8, [x8, _MAX_IFNAMELEN@GOTPAGEOFF]
Lloh8:
ldrsw x8, [x8]
sub x8, x8, #8
sub x2, x20, x19
cmp x2, x8
b.le LBB0_6
; %bb.5:
str x19, [sp]
Lloh9:
adrp x0, l_.str.2@PAGE
Lloh10:
add x0, x0, l_.str.2@PAGEOFF
b LBB0_15
LBB0_6:
cmp x20, x19
b.eq LBB0_14
; %bb.7:
ldr w0, [x21, #8]
mov x1, x19
; kill: def $w2 killed $w2 killed $x2
bl _strncpy
mov w8, #1 ; =0x1
str w8, [x21]
sub x19, x20, #1
LBB0_8:
ldrb w8, [x19]
cbz w8, LBB0_12
; %bb.9:
mov x0, x19
bl _atoi
mov x8, x0
str w0, [x21, #4]
cmp w0, #0
b.gt LBB0_13
; %bb.10:
str x19, [sp]
Lloh11:
adrp x0, l_.str.4@PAGE
Lloh12:
add x0, x0, l_.str.4@PAGEOFF
b LBB0_15
LBB0_11:
Lloh13:
adrp x0, l_.str.1@PAGE
Lloh14:
add x0, x0, l_.str.1@PAGEOFF
b LBB0_15
LBB0_12:
Lloh15:
adrp x8, _DEF_OUT_PIPES@GOTPAGE
Lloh16:
ldr x8, [x8, _DEF_OUT_PIPES@GOTPAGEOFF]
Lloh17:
ldr w8, [x8]
str w8, [x21, #4]
LBB0_13:
mov w0, #0 ; =0x0
ldr d0, [x22]
movi.2s v1, #1
mov.s v1[1], w8
add.2s v0, v0, v1
str d0, [x22]
b LBB0_16
LBB0_14:
str x19, [sp]
Lloh18:
adrp x0, l_.str.3@PAGE
Lloh19:
add x0, x0, l_.str.3@PAGEOFF
LBB0_15:
bl _D
mov w0, #1 ; =0x1
LBB0_16:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpAdd Lloh18, Lloh19
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "spec %s num_groups %d"
.comm _glob_arg,8,2 ; @glob_arg
.comm _groups,8,3 ; @groups
l_.str.1: ; @.str.1
.asciz "out of memory"
.comm _MAX_IFNAMELEN,4,2 ; @MAX_IFNAMELEN
l_.str.2: ; @.str.2
.asciz "name '%s' too long"
l_.str.3: ; @.str.3
.asciz "missing prefix before ':' in '%s'"
.comm _DEF_OUT_PIPES,4,2 ; @DEF_OUT_PIPES
l_.str.4: ; @.str.4
.asciz "invalid number of pipes '%s' (must be at least 1)"
.no_dead_strip _parse_pipes
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function http_next_header
_http_next_header: ## @http_next_header
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
callq _http_conn_trimright
movq (%r15), %rsi
testq %rsi, %rsi
je LBB0_1
## %bb.2:
leaq -1(%rsi), %rax
movq 16(%r14), %rdi
cmpq %rax, (%r14)
jge LBB0_3
## %bb.4:
incl %esi
## kill: def $esi killed $esi killed $rsi
callq _realloc
movq %rax, 16(%r14)
testq %rax, %rax
je LBB0_6
## %bb.5:
movq _hdr_syserror@GOTPCREL(%rip), %r12
jmp LBB0_18
LBB0_1:
movq _hdr_end@GOTPCREL(%rip), %r12
jmp LBB0_18
LBB0_3:
movq %rbx, -48(%rbp) ## 8-byte Spill
jmp LBB0_7
LBB0_6:
movq %rbx, -48(%rbp) ## 8-byte Spill
movq (%r15), %rax
incq %rax
movq %rax, (%r14)
xorl %edi, %edi
LBB0_7:
movq 8(%r15), %rsi
callq _strcpy
movl (%r15), %eax
movl %eax, 8(%r14)
movq _HTTP_MAX_CONT_LINES@GOTPCREL(%rip), %r13
cmpl $0, (%r13)
je LBB0_11
## %bb.8:
xorl %ebx, %ebx
movq _hdr_syserror@GOTPCREL(%rip), %r12
.p2align 4, 0x90
LBB0_9: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
callq _fetch_getln
cmpl $-1, %eax
je LBB0_18
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
movq %r15, %rdi
callq _http_conn_trimright
incl %ebx
cmpl (%r13), %ebx
jb LBB0_9
LBB0_11:
movq _hdr_names@GOTPCREL(%rip), %r15
movq (%r15), %rcx
movq (%rcx), %rax
movq _hdr_unknown@GOTPCREL(%rip), %r13
cmpq (%r13), %rax
movq -48(%rbp), %rbx ## 8-byte Reload
je LBB0_19
## %bb.12:
movl 8(%rcx), %edi
movq 16(%r14), %rsi
callq _http_match
movq %rax, (%rbx)
testq %rax, %rax
je LBB0_14
## %bb.13:
xorl %r12d, %r12d
jmp LBB0_17
LBB0_14:
movl $1, %edx
.p2align 4, 0x90
LBB0_15: ## =>This Inner Loop Header: Depth=1
movq (%r15), %rcx
movl %edx, %r12d
movq %r12, %rdx
shlq $4, %rdx
movq (%rcx,%rdx), %rax
cmpq (%r13), %rax
je LBB0_19
## %bb.16: ## in Loop: Header=BB0_15 Depth=1
addq %rdx, %rcx
movl 8(%rcx), %edi
movq 16(%r14), %rsi
callq _http_match
movq %rax, (%rbx)
leal 1(%r12), %edx
testq %rax, %rax
je LBB0_15
LBB0_17:
shlq $4, %r12
addq (%r15), %r12
LBB0_18:
movq (%r12), %rax
LBB0_19:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _hdr_end,8,3 ## @hdr_end
.comm _hdr_syserror,8,3 ## @hdr_syserror
.comm _HTTP_MAX_CONT_LINES,4,2 ## @HTTP_MAX_CONT_LINES
.comm _hdr_names,8,3 ## @hdr_names
.comm _hdr_unknown,8,3 ## @hdr_unknown
.no_dead_strip _http_next_header
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function http_next_header
_http_next_header: ; @http_next_header
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x2
mov x20, x1
mov x21, x0
bl _http_conn_trimright
ldr x8, [x21]
cbz x8, LBB0_4
; %bb.1:
ldr x9, [x20]
sub x10, x8, #1
ldr x0, [x20, #16]
cmp x9, x10
b.ge LBB0_6
; %bb.2:
add w1, w8, #1
bl _realloc
str x0, [x20, #16]
cbz x0, LBB0_5
; %bb.3:
Lloh0:
adrp x22, _hdr_syserror@GOTPAGE
Lloh1:
ldr x22, [x22, _hdr_syserror@GOTPAGEOFF]
b LBB0_17
LBB0_4:
Lloh2:
adrp x22, _hdr_end@GOTPAGE
Lloh3:
ldr x22, [x22, _hdr_end@GOTPAGEOFF]
b LBB0_17
LBB0_5:
ldr x8, [x21]
add x8, x8, #1
str x8, [x20]
LBB0_6:
ldr x1, [x21, #8]
bl _strcpy
ldr x8, [x21]
str w8, [x20, #8]
Lloh4:
adrp x23, _HTTP_MAX_CONT_LINES@GOTPAGE
Lloh5:
ldr x23, [x23, _HTTP_MAX_CONT_LINES@GOTPAGEOFF]
ldr w8, [x23]
cbz w8, LBB0_10
; %bb.7:
mov w24, #0 ; =0x0
Lloh6:
adrp x22, _hdr_syserror@GOTPAGE
Lloh7:
ldr x22, [x22, _hdr_syserror@GOTPAGEOFF]
LBB0_8: ; =>This Inner Loop Header: Depth=1
mov x0, x21
bl _fetch_getln
cmn w0, #1
b.eq LBB0_17
; %bb.9: ; in Loop: Header=BB0_8 Depth=1
mov x0, x21
bl _http_conn_trimright
add w24, w24, #1
ldr w8, [x23]
cmp w24, w8
b.lo LBB0_8
LBB0_10:
Lloh8:
adrp x21, _hdr_names@GOTPAGE
Lloh9:
ldr x21, [x21, _hdr_names@GOTPAGEOFF]
ldr x8, [x21]
ldr x0, [x8]
Lloh10:
adrp x22, _hdr_unknown@GOTPAGE
Lloh11:
ldr x22, [x22, _hdr_unknown@GOTPAGEOFF]
ldr x9, [x22]
cmp x0, x9
b.eq LBB0_18
; %bb.11:
ldr w0, [x8, #8]
ldr x1, [x20, #16]
bl _http_match
str x0, [x19]
cbz x0, LBB0_13
; %bb.12:
mov x23, #0 ; =0x0
b LBB0_16
LBB0_13:
mov w8, #1 ; =0x1
LBB0_14: ; =>This Inner Loop Header: Depth=1
ldr x9, [x21]
add x9, x9, w8, uxtw #4
ldr x0, [x9]
ldr x10, [x22]
cmp x0, x10
b.eq LBB0_18
; %bb.15: ; in Loop: Header=BB0_14 Depth=1
mov w23, w8
ldr w0, [x9, #8]
ldr x1, [x20, #16]
bl _http_match
str x0, [x19]
add w8, w23, #1
cbz x0, LBB0_14
LBB0_16:
ldr x8, [x21]
add x22, x8, x23, lsl #4
LBB0_17:
ldr x0, [x22]
LBB0_18:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _hdr_end,8,3 ; @hdr_end
.comm _hdr_syserror,8,3 ; @hdr_syserror
.comm _HTTP_MAX_CONT_LINES,4,2 ; @HTTP_MAX_CONT_LINES
.comm _hdr_names,8,3 ; @hdr_names
.comm _hdr_unknown,8,3 ; @hdr_unknown
.no_dead_strip _http_next_header
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function add_filter_type
_add_filter_type: ## @add_filter_type
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r14d
movq %rdi, %rbx
callq _find_filter_type
testq %rax, %rax
jne LBB0_3
## %bb.1:
movq 8(%rbx), %rdi
movl (%rbx), %eax
leal (%rax,%rax,2), %eax
leal 24(,%rax,8), %esi
callq _realloc
movq %rax, %rcx
xorl %eax, %eax
testq %rcx, %rcx
je LBB0_3
## %bb.2:
movq %rcx, 8(%rbx)
movl (%rbx), %edx
leal 1(%rdx), %esi
testl %esi, %esi
cmovgl %esi, %eax
xorl %esi, %esi
cmpl $2147483647, %edx ## imm = 0x7FFFFFFF
setb %sil
subl %esi, %eax
negq %rsi
xorl %edx, %edx
cmpl $-1, %eax
sete %dl
negq %rdx
leaq (%rsi,%rsi,2), %rax
leaq (%rcx,%rax,8), %r15
leaq (%rdx,%rdx,2), %r12
leaq (%r15,%r12,8), %r13
movl %r14d, (%r15,%r12,8)
movl 4(%rbx), %edi
movl %r14d, %esi
callq _tep_find_event
movl %eax, %ecx
movq %r13, %rax
movl %ecx, 16(%r15,%r12,8)
movq $0, 8(%r15,%r12,8)
incl (%rbx)
LBB0_3:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _add_filter_type
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function add_filter_type
_add_filter_type: ; @add_filter_type
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x1
mov x19, x0
bl _find_filter_type
cbnz x0, LBB0_3
; %bb.1:
ldr x0, [x19, #8]
ldr w8, [x19]
mov w9, #24 ; =0x18
mov w10, #24 ; =0x18
madd w1, w8, w9, w10
bl _realloc
cbz x0, LBB0_3
; %bb.2:
str x0, [x19, #8]
mov w9, #2147483647 ; =0x7fffffff
ldp w10, w8, [x19]
cmp w10, w9
add w9, w10, #1
bic w9, w9, w9, asr #31
cset w10, lo
sub w9, w9, w10
csetm x10, lo
cmn w9, #1
mov w9, #24 ; =0x18
madd x10, x10, x9, x0
csetm x11, eq
madd x21, x11, x9, x10
str w20, [x21]
mov x0, x8
mov x1, x20
bl _tep_find_event
mov x8, x0
mov x0, x21
str w8, [x21, #16]
str xzr, [x21, #8]
ldr w8, [x19]
add w8, w8, #1
str w8, [x19]
LBB0_3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _add_filter_type
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _PQunescapeBytea ## -- Begin function PQunescapeBytea
.p2align 4, 0x90
_PQunescapeBytea: ## @PQunescapeBytea
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB0_3
## %bb.1:
xorl %eax, %eax
retq
LBB0_3:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %r14
xorl %edi, %edi
callq _strlen
leaq 1(%rax), %rdi
callq _malloc
movq %rax, %rbx
xorl %eax, %eax
testq %rbx, %rbx
je LBB0_7
## %bb.4:
movl $1, %esi
movq %rbx, %rdi
callq _realloc
testq %rax, %rax
je LBB0_5
## %bb.6:
movq $0, (%r14)
jmp LBB0_7
LBB0_5:
movq %rbx, %rdi
callq _free
xorl %eax, %eax
LBB0_7:
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 _PQunescapeBytea ; -- Begin function PQunescapeBytea
.p2align 2
_PQunescapeBytea: ; @PQunescapeBytea
.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
mov x20, x1
bl _strlen
add x0, x0, #1
bl _malloc
cbz x0, LBB0_6
; %bb.3:
mov x19, x0
mov w1, #1 ; =0x1
bl _realloc
cbz x0, LBB0_5
; %bb.4:
str xzr, [x20]
b LBB0_6
LBB0_5:
mov x0, x19
bl _free
mov x0, #0 ; =0x0
LBB0_6:
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
.p2align 4, 0x90 ## -- Begin function zend_do_inherit_interfaces
_zend_do_inherit_interfaces: ## @zend_do_inherit_interfaces
.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
movslq (%rdi), %r14
movq _ZEND_INTERNAL_CLASS@GOTPCREL(%rip), %rax
movq 8(%rdi), %rcx
movq 16(%rdi), %rdi
movl (%rsi), %esi
addl %r14d, %esi
shll $3, %esi
cmpq (%rax), %rcx
jne LBB0_2
## %bb.1:
callq _realloc
jmp LBB0_3
LBB0_2:
callq _erealloc
LBB0_3:
movq %rax, 16(%rbx)
movq _ZEND_ACC_RESOLVED_INTERFACES@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %eax, 24(%rbx)
cmpl (%rbx), %r14d
jge LBB0_5
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq 16(%rbx), %rax
movq (%rax,%r14,8), %rsi
incq %r14
movq %rbx, %rdi
callq _do_implement_interface
movslq (%rbx), %rax
cmpq %rax, %r14
jl LBB0_4
LBB0_5:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ZEND_INTERNAL_CLASS,8,3 ## @ZEND_INTERNAL_CLASS
.comm _ZEND_ACC_RESOLVED_INTERFACES,4,2 ## @ZEND_ACC_RESOLVED_INTERFACES
.no_dead_strip _zend_do_inherit_interfaces
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function zend_do_inherit_interfaces
_zend_do_inherit_interfaces: ; @zend_do_inherit_interfaces
.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, [x1]
ldrsw x20, [x0]
Lloh0:
adrp x9, _ZEND_INTERNAL_CLASS@GOTPAGE
Lloh1:
ldr x9, [x9, _ZEND_INTERNAL_CLASS@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
ldp x10, x0, [x0, #8]
add w8, w20, w8
lsl w1, w8, #3
cmp x10, x9
b.ne LBB0_2
; %bb.1:
bl _realloc
b LBB0_3
LBB0_2:
bl _erealloc
LBB0_3:
str x0, [x19, #16]
Lloh3:
adrp x8, _ZEND_ACC_RESOLVED_INTERFACES@GOTPAGE
Lloh4:
ldr x8, [x8, _ZEND_ACC_RESOLVED_INTERFACES@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
ldr w9, [x19, #24]
orr w8, w9, w8
str w8, [x19, #24]
ldr w8, [x19]
cmp w20, w8
b.ge LBB0_5
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #16]
add x21, x20, #1
ldr x1, [x8, x20, lsl #3]
mov x0, x19
bl _do_implement_interface
ldrsw x8, [x19]
mov x20, x21
cmp x21, x8
b.lt LBB0_4
LBB0_5:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _ZEND_INTERNAL_CLASS,8,3 ; @ZEND_INTERNAL_CLASS
.comm _ZEND_ACC_RESOLVED_INTERFACES,4,2 ; @ZEND_ACC_RESOLVED_INTERFACES
.no_dead_strip _zend_do_inherit_interfaces
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _hb_list_insert ## -- Begin function hb_list_insert
.p2align 4, 0x90
_hb_list_insert: ## @hb_list_insert
.cfi_startproc
## %bb.0:
testq %rdx, %rdx
je LBB0_7
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r14
movq %rdi, %rbx
movl (%rdi), %edx
cmpl 4(%rdi), %edx
jne LBB0_3
## %bb.2:
movq _HB_LIST_DEFAULT_SIZE@GOTPCREL(%rip), %rax
addl (%rax), %edx
movl %edx, 4(%rbx)
movq 8(%rbx), %rdi
shll $3, %edx
movl %esi, %r15d
movl %edx, %esi
callq _realloc
movl %r15d, %esi
movq %rax, 8(%rbx)
movl (%rbx), %edx
LBB0_3:
cmpl %esi, %edx
jne LBB0_5
## %bb.4:
movslq %esi, %r15
jmp LBB0_6
LBB0_5:
movq 8(%rbx), %rcx
movslq %esi, %r15
leaq (%rcx,%r15,8), %rax
leaq (%rcx,%r15,8), %rdi
addq $8, %rdi
addl %esi, %edx
shll $3, %edx
movq %rax, %rsi
callq _memmove
movl (%rbx), %esi
LBB0_6:
movq 8(%rbx), %rax
movq %r14, (%rax,%r15,8)
incl %esi
movl %esi, (%rbx)
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
LBB0_7:
retq
.cfi_endproc
## -- End function
.comm _HB_LIST_DEFAULT_SIZE,8,3 ## @HB_LIST_DEFAULT_SIZE
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _hb_list_insert ; -- Begin function hb_list_insert
.p2align 2
_hb_list_insert: ; @hb_list_insert
.cfi_startproc
; %bb.0:
cbz x2, LBB0_7
; %bb.1:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x2
mov x21, x1
mov x19, x0
ldp w8, w9, [x0]
cmp w8, w9
b.ne LBB0_3
; %bb.2:
Lloh0:
adrp x9, _HB_LIST_DEFAULT_SIZE@GOTPAGE
Lloh1:
ldr x9, [x9, _HB_LIST_DEFAULT_SIZE@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
add w8, w8, w9
str w8, [x19, #4]
ldr x0, [x19, #8]
lsl w1, w8, #3
bl _realloc
str x0, [x19, #8]
ldr w8, [x19]
LBB0_3:
cmp w8, w21
b.ne LBB0_5
; %bb.4:
sxtw x22, w21
b LBB0_6
LBB0_5:
ldr x9, [x19, #8]
mov x10, x21
sxtw x22, w10
add x1, x9, w21, sxtw #3
add w8, w8, w21
lsl w2, w8, #3
add x0, x1, #8
bl _memmove
ldr w21, [x19]
LBB0_6:
ldr x8, [x19, #8]
str x20, [x8, x22, lsl #3]
add w8, w21, #1
str w8, [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
LBB0_7:
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _HB_LIST_DEFAULT_SIZE,8,3 ; @HB_LIST_DEFAULT_SIZE
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function ps_psm_fill
_ps_psm_fill: ## @ps_psm_fill
.cfi_startproc
## %bb.0:
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 %r8, %rbx
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %r13
xorl %edi, %edi
cmpq $4, %rdx
setae %dil
callq _assert
testq %r13, %r13
sete %al
cmpq $10, %r15
setb %cl
testb %cl, %al
jne LBB0_2
## %bb.1:
movl 12(%r12), %eax
movq _PS_STREAM_ID_MAP@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB0_2
## %bb.3:
leaq 16(%r12), %rdi
callq _GetWBE
addl $6, %eax
cltq
cmpq %r15, %rax
ja LBB0_2
## %bb.4:
movl 24(%r12), %ecx
movl %ecx, -80(%rbp) ## 4-byte Spill
andl $248, %ecx
cmpl %ecx, (%r13)
je LBB0_2
## %bb.5:
movl %ecx, -76(%rbp) ## 4-byte Spill
movq %r13, %rdi
movq %rax, -48(%rbp) ## 8-byte Spill
callq _ps_psm_destroy
leaq 32(%r12), %rdi
callq _GetWBE
movslq %eax, %rcx
leaq 10(%rcx), %rax
cmpq -48(%rbp), %rax ## 8-byte Folded Reload
movq -48(%rbp), %rax ## 8-byte Reload
jbe LBB0_6
LBB0_2:
movq _VLC_EGENERIC@GOTPCREL(%rip), %rax
LBB0_27:
movl (%rax), %eax
addq $88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_6:
movq %r12, -64(%rbp) ## 8-byte Spill
movq %rbx, -88(%rbp) ## 8-byte Spill
movq %rcx, -56(%rbp) ## 8-byte Spill
leaq 16(%rcx), %rdx
movq %rdx, -72(%rbp) ## 8-byte Spill
cmpq %rax, %rdx
jae LBB0_16
## %bb.7:
addq $12, -56(%rbp) ## 8-byte Folded Spill
leaq 8(%r13), %rax
movq %rax, -128(%rbp) ## 8-byte Spill
jmp LBB0_8
LBB0_14: ## in Loop: Header=BB0_8 Depth=1
movq -64(%rbp), %rax ## 8-byte Reload
movq -72(%rbp), %rcx ## 8-byte Reload
leaq (%rax,%rcx,4), %rdi
addq $8, %rdx
movq %rbx, %rsi
callq _ps_parse_descriptors
movq -56(%rbp), %r12 ## 8-byte Reload
LBB0_15: ## in Loop: Header=BB0_8 Depth=1
leaq (%r12,%rbx), %rcx
addq $8, %rcx
leaq (%r12,%rbx), %rax
addq $4, %rax
movq %rax, -56(%rbp) ## 8-byte Spill
movq %rcx, -72(%rbp) ## 8-byte Spill
cmpq -48(%rbp), %rcx ## 8-byte Folded Reload
jae LBB0_16
LBB0_8: ## =>This Inner Loop Header: Depth=1
movq 16(%r13), %rdi
movl 4(%r13), %eax
leal (%rax,%rax,2), %eax
leal 12(,%rax,4), %esi
callq _realloc
testq %rax, %rax
jne LBB0_16
## %bb.9: ## in Loop: Header=BB0_8 Depth=1
movq $0, 16(%r13)
movslq 4(%r13), %r12
leal -1(%r12), %eax
movl %eax, 4(%r13)
shlq $2, %r12
movq -64(%rbp), %rcx ## 8-byte Reload
movq -56(%rbp), %rdx ## 8-byte Reload
movl 4(%rcx,%rdx,4), %eax
movl %eax, 4(%r12,%r12,2)
leaq (%rcx,%rdx,4), %rdi
addq $8, %rdi
callq _GetWBE
movslq %eax, %rbx
movq -72(%rbp), %rcx ## 8-byte Reload
addq %rbx, %rcx
cmpq -48(%rbp), %rcx ## 8-byte Folded Reload
ja LBB0_16
## %bb.10: ## in Loop: Header=BB0_8 Depth=1
leaq (%r12,%r12,2), %rdx
testb $64, -80(%rbp) ## 1-byte Folded Reload
jne LBB0_14
## %bb.11: ## in Loop: Header=BB0_8 Depth=1
movl 4(%rdx), %ecx
movq _PS_STREAM_ID_EXTENDED@GOTPCREL(%rip), %rsi
cmpl (%rsi), %ecx
jne LBB0_14
## %bb.12: ## in Loop: Header=BB0_8 Depth=1
cmpl $3, %eax
jb LBB0_16
## %bb.13: ## in Loop: Header=BB0_8 Depth=1
movq -64(%rbp), %rax ## 8-byte Reload
movq -56(%rbp), %r12 ## 8-byte Reload
leaq (%rax,%r12,4), %rdi
shll $8, %ecx
movl 24(%rdi), %eax
andl $127, %eax
orl %ecx, %eax
movl %eax, 4(%rdx)
addq $28, %rdi
leaq -3(%rbx), %rsi
movq -128(%rbp), %rdx ## 8-byte Reload
callq _ps_parse_descriptors
jmp LBB0_15
LBB0_16:
movl -76(%rbp), %eax ## 4-byte Reload
movl %eax, (%r13)
movq _PS_TK_COUNT@GOTPCREL(%rip), %rbx
movl (%rbx), %eax
testl %eax, %eax
jle LBB0_26
## %bb.17:
xorl %r12d, %r12d
jmp LBB0_18
LBB0_23: ## in Loop: Header=BB0_18 Depth=1
leaq 8(%r14), %rbx
movq %rbx, -48(%rbp) ## 8-byte Spill
movq 16(%r14), %rsi
movq -88(%rbp), %rdi ## 8-byte Reload
callq _es_out_Del
movq %rbx, %rdi
callq _es_format_Clean
movl $1, -120(%rbp)
movups -104(%rbp), %xmm0
movups %xmm0, 16(%r14)
movl -120(%rbp), %eax
movl %eax, (%r14)
movq -116(%rbp), %rax
movq %rax, 4(%r14)
movl -108(%rbp), %eax
movl %eax, 12(%r14)
movq -88(%rbp), %rdi ## 8-byte Reload
movq _PS_TK_COUNT@GOTPCREL(%rip), %rbx
movq -48(%rbp), %rsi ## 8-byte Reload
callq _es_out_Add
movq %rax, 16(%r14)
LBB0_24: ## in Loop: Header=BB0_18 Depth=1
movl (%rbx), %eax
LBB0_25: ## in Loop: Header=BB0_18 Depth=1
incq %r12
movslq %eax, %rcx
addq $32, %r14
cmpq %rcx, %r12
jge LBB0_26
LBB0_18: ## =>This Inner Loop Header: Depth=1
cmpl $0, (%r14)
je LBB0_25
## %bb.19: ## in Loop: Header=BB0_18 Depth=1
cmpq $0, 16(%r14)
je LBB0_25
## %bb.20: ## in Loop: Header=BB0_18 Depth=1
movq _UNKNOWN_ES@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -112(%rbp), %rdi
xorl %edx, %edx
callq _es_format_Init
movl 24(%r14), %edx
leaq -120(%rbp), %rdi
movq %r13, %rsi
movq -64(%rbp), %rcx ## 8-byte Reload
movq %r15, %r8
xorl %r9d, %r9d
callq _ps_track_fill
movq _VLC_SUCCESS@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_24
## %bb.21: ## in Loop: Header=BB0_18 Depth=1
movq -112(%rbp), %rax
cmpq 8(%r14), %rax
jne LBB0_23
## %bb.22: ## in Loop: Header=BB0_18 Depth=1
leaq -112(%rbp), %rdi
callq _es_format_Clean
jmp LBB0_24
LBB0_26:
movq _VLC_SUCCESS@GOTPCREL(%rip), %rax
jmp LBB0_27
.cfi_endproc
## -- End function
.comm _PS_TK_COUNT,4,2 ## @PS_TK_COUNT
.comm _PS_STREAM_ID_MAP,4,2 ## @PS_STREAM_ID_MAP
.comm _VLC_EGENERIC,4,2 ## @VLC_EGENERIC
.comm _PS_STREAM_ID_EXTENDED,4,2 ## @PS_STREAM_ID_EXTENDED
.comm _UNKNOWN_ES,4,2 ## @UNKNOWN_ES
.comm _VLC_SUCCESS,8,3 ## @VLC_SUCCESS
.no_dead_strip _ps_psm_fill
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function ps_psm_fill
_ps_psm_fill: ; @ps_psm_fill
.cfi_startproc
; %bb.0:
sub sp, sp, #160
stp x28, x27, [sp, #64] ; 16-byte Folded Spill
stp x26, x25, [sp, #80] ; 16-byte Folded Spill
stp x24, x23, [sp, #96] ; 16-byte Folded Spill
stp x22, x21, [sp, #112] ; 16-byte Folded Spill
stp x20, x19, [sp, #128] ; 16-byte Folded Spill
stp x29, x30, [sp, #144] ; 16-byte Folded Spill
add x29, sp, #144
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x4
mov x23, x3
mov x20, x2
mov x21, x1
mov x22, x0
cmp x2, #3
cset w0, hi
bl _assert
cbnz x22, LBB0_2
; %bb.1:
cmp x20, #10
b.lo LBB0_6
LBB0_2:
ldr w8, [x21, #12]
Lloh0:
adrp x9, _PS_STREAM_ID_MAP@GOTPAGE
Lloh1:
ldr x9, [x9, _PS_STREAM_ID_MAP@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
cmp w8, w9
b.ne LBB0_6
; %bb.3:
add x0, x21, #16
bl _GetWBE
add w8, w0, #6
sxtw x25, w8
cmp x25, x20
b.hi LBB0_6
; %bb.4:
ldr w8, [x21, #24]
str w8, [sp, #28] ; 4-byte Folded Spill
and w24, w8, #0xf8
ldr w8, [x22]
cmp w8, w24
b.eq LBB0_6
; %bb.5:
mov x0, x22
bl _ps_psm_destroy
add x0, x21, #32
bl _GetWBE
; kill: def $w0 killed $w0 def $x0
sxtw x8, w0
add x9, x8, #10
cmp x9, x25
b.ls LBB0_8
LBB0_6:
Lloh3:
adrp x8, _VLC_EGENERIC@GOTPAGE
Lloh4:
ldr x8, [x8, _VLC_EGENERIC@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
LBB0_7:
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_8:
str w24, [sp, #12] ; 4-byte Folded Spill
str x19, [sp, #16] ; 8-byte Folded Spill
add x26, x8, #16
cmp x26, x25
b.hs LBB0_18
; %bb.9:
add x28, x8, #12
mov w8, #12 ; =0xc
str w8, [sp, #24] ; 4-byte Folded Spill
b LBB0_12
LBB0_10: ; in Loop: Header=BB0_12 Depth=1
add x0, x21, x26, lsl #2
add x2, x27, #8
mov x1, x24
LBB0_11: ; in Loop: Header=BB0_12 Depth=1
bl _ps_parse_descriptors
add x8, x28, x24
add x28, x8, #4
add x26, x8, #8
cmp x26, x25
b.hs LBB0_18
LBB0_12: ; =>This Inner Loop Header: Depth=1
ldr x0, [x22, #16]
ldr w8, [x22, #4]
mov w9, #12 ; =0xc
ldr w10, [sp, #24] ; 4-byte Folded Reload
madd w1, w8, w9, w10
bl _realloc
cbnz x0, LBB0_18
; %bb.13: ; in Loop: Header=BB0_12 Depth=1
str xzr, [x22, #16]
ldrsw x8, [x22, #4]
sub w9, w8, #1
str w9, [x22, #4]
add x8, x8, x8, lsl #1
lsl x27, x8, #2
add x19, x21, x28, lsl #2
ldr w8, [x19, #4]
str w8, [x27, #4]
add x0, x19, #8
bl _GetWBE
; kill: def $w0 killed $w0 def $x0
sxtw x24, w0
add x8, x26, x24
cmp x8, x25
b.hi LBB0_18
; %bb.14: ; in Loop: Header=BB0_12 Depth=1
ldr w8, [sp, #28] ; 4-byte Folded Reload
tbnz w8, #6, LBB0_10
; %bb.15: ; in Loop: Header=BB0_12 Depth=1
ldr w8, [x27, #4]
Lloh6:
adrp x9, _PS_STREAM_ID_EXTENDED@GOTPAGE
Lloh7:
ldr x9, [x9, _PS_STREAM_ID_EXTENDED@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
cmp w8, w9
b.ne LBB0_10
; %bb.16: ; in Loop: Header=BB0_12 Depth=1
cmp w24, #3
b.lo LBB0_18
; %bb.17: ; in Loop: Header=BB0_12 Depth=1
ldr w9, [x19, #24]
and w9, w9, #0x7f
orr w8, w9, w8, lsl #8
str w8, [x27, #4]
sub x1, x24, #3
add x0, x19, #28
add x2, x22, #8
b LBB0_11
LBB0_18:
ldr w8, [sp, #12] ; 4-byte Folded Reload
str w8, [x22]
Lloh9:
adrp x8, _PS_TK_COUNT@GOTPAGE
Lloh10:
ldr x8, [x8, _PS_TK_COUNT@GOTPAGEOFF]
Lloh11:
ldr w8, [x8]
Lloh12:
adrp x19, _VLC_SUCCESS@GOTPAGE
Lloh13:
ldr x19, [x19, _VLC_SUCCESS@GOTPAGEOFF]
cmp w8, #1
b.lt LBB0_29
; %bb.19:
mov x26, #0 ; =0x0
add x27, sp, #32
add x28, x23, #16
Lloh14:
adrp x23, _UNKNOWN_ES@GOTPAGE
Lloh15:
ldr x23, [x23, _UNKNOWN_ES@GOTPAGEOFF]
b LBB0_24
LBB0_20: ; in Loop: Header=BB0_24 Depth=1
ldr x1, [x28]
ldr x27, [sp, #16] ; 8-byte Folded Reload
mov x0, x27
bl _es_out_Del
mov x0, x23
bl _es_format_Clean
mov w8, #1 ; =0x1
str w8, [sp, #32]
ldp q1, q0, [sp, #32]
stp q1, q0, [x24]
mov x0, x27
add x27, sp, #32
mov x1, x23
bl _es_out_Add
str x0, [x28]
LBB0_21: ; in Loop: Header=BB0_24 Depth=1
mov x23, x25
LBB0_22: ; in Loop: Header=BB0_24 Depth=1
Lloh16:
adrp x8, _PS_TK_COUNT@GOTPAGE
Lloh17:
ldr x8, [x8, _PS_TK_COUNT@GOTPAGEOFF]
Lloh18:
ldr w8, [x8]
LBB0_23: ; in Loop: Header=BB0_24 Depth=1
add x26, x26, #1
add x28, x28, #32
cmp x26, w8, sxtw
b.ge LBB0_29
LBB0_24: ; =>This Inner Loop Header: Depth=1
mov x24, x28
ldr w9, [x24, #-16]!
cbz w9, LBB0_23
; %bb.25: ; in Loop: Header=BB0_24 Depth=1
ldr x9, [x28]
cbz x9, LBB0_23
; %bb.26: ; in Loop: Header=BB0_24 Depth=1
ldr w1, [x23]
add x0, x27, #8
mov w2, #0 ; =0x0
bl _es_format_Init
ldr w2, [x28, #8]
add x0, sp, #32
mov x1, x22
mov x3, x21
mov x4, x20
mov w5, #0 ; =0x0
bl _ps_track_fill
ldr x8, [x19]
cmp x0, x8
b.ne LBB0_22
; %bb.27: ; in Loop: Header=BB0_24 Depth=1
mov x25, x23
ldr x8, [sp, #40]
mov x23, x28
ldr x9, [x23, #-8]!
cmp x8, x9
b.ne LBB0_20
; %bb.28: ; in Loop: Header=BB0_24 Depth=1
add x0, x27, #8
bl _es_format_Clean
b LBB0_21
LBB0_29:
ldr w0, [x19]
b LBB0_7
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.cfi_endproc
; -- End function
.comm _PS_TK_COUNT,4,2 ; @PS_TK_COUNT
.comm _PS_STREAM_ID_MAP,4,2 ; @PS_STREAM_ID_MAP
.comm _VLC_EGENERIC,4,2 ; @VLC_EGENERIC
.comm _PS_STREAM_ID_EXTENDED,4,2 ; @PS_STREAM_ID_EXTENDED
.comm _UNKNOWN_ES,4,2 ; @UNKNOWN_ES
.comm _VLC_SUCCESS,8,3 ; @VLC_SUCCESS
.no_dead_strip _ps_psm_fill
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function dex_get_proto
_dex_get_proto: ## @dex_get_proto
.cfi_startproc
## %bb.0:
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 ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
cmpl %esi, 16(%rdi)
jle LBB0_26
## %bb.1:
movq %rdi, %r14
movq 40(%rdi), %rax
movslq %esi, %rcx
shlq $4, %rcx
movq (%rax,%rcx), %r15
cmpq (%rdi), %r15
jae LBB0_26
## %bb.2:
addq %rcx, %rax
movq 8(%rax), %rax
cmpq 24(%r14), %rax
jae LBB0_26
## %bb.3:
movq 8(%r14), %rcx
movl (%rcx,%rax,4), %esi
movq %r14, %rdi
callq _getstr
testq %rax, %rax
je LBB0_26
## %bb.4:
movq %rax, %rsi
testq %r15, %r15
je LBB0_20
## %bb.5:
movq %rsi, -136(%rbp) ## 8-byte Spill
movl 32(%r14), %edi
leaq -80(%rbp), %rdx
movl %r15d, %esi
movl $32, %ecx
callq _r_buf_read_at
testl %eax, %eax
je LBB0_26
## %bb.6:
leaq -80(%rbp), %rdi
callq _r_read_le32
movq %rax, %r12
leaq (,%rax,8), %rcx
xorl %eax, %eax
cmpq (%r14), %rcx
jae LBB0_27
## %bb.7:
addl $-4, %r15d
incq %r12
movl $1, %ecx
movq %rcx, -128(%rbp) ## 8-byte Spill
xorl %r13d, %r13d
jmp LBB0_11
LBB0_10: ## in Loop: Header=BB0_11 Depth=1
addl $2, %r15d
decq %r12
je LBB0_24
LBB0_11: ## =>This Inner Loop Header: Depth=1
movslq %r15d, %rcx
cmpq %rcx, (%r14)
jbe LBB0_10
## %bb.12: ## in Loop: Header=BB0_11 Depth=1
movq %rax, -120(%rbp) ## 8-byte Spill
movl 32(%r14), %edi
movl %r15d, %esi
leaq -112(%rbp), %rdx
movl $32, %ecx
callq _r_buf_read_at
testl %eax, %eax
je LBB0_24
## %bb.13: ## in Loop: Header=BB0_11 Depth=1
leaq -112(%rbp), %rdi
callq _r_read_le16
cmpq 24(%r14), %rax
jb LBB0_15
## %bb.14: ## in Loop: Header=BB0_11 Depth=1
cmpq (%r14), %rax
jae LBB0_24
LBB0_15: ## in Loop: Header=BB0_11 Depth=1
movq 8(%r14), %rcx
movl (%rcx,%rax,4), %esi
movq %r14, %rdi
callq _getstr
testq %rax, %rax
je LBB0_24
## %bb.16: ## in Loop: Header=BB0_11 Depth=1
movq %rax, %rbx
movq %r12, -152(%rbp) ## 8-byte Spill
movq %rax, %rdi
callq _strlen
movq %r13, %rdi
movl %eax, %r13d
movq -128(%rbp), %rsi ## 8-byte Reload
addl %r13d, %esi
incl %esi
movq %rdi, -144(%rbp) ## 8-byte Spill
movq %rsi, -128(%rbp) ## 8-byte Spill
## kill: def $esi killed $esi killed $rsi
callq _realloc
testq %rax, %rax
je LBB0_23
## %bb.17: ## in Loop: Header=BB0_11 Depth=1
movq %rax, %r12
movslq -120(%rbp), %rax ## 4-byte Folded Reload
movq %rax, -120(%rbp) ## 8-byte Spill
movq %r12, %rdi
addq %rax, %rdi
movq %rbx, %rsi
callq _strcpy
addl -120(%rbp), %r13d ## 4-byte Folded Reload
movslq %r13d, %rax
movb $0, (%r12,%rax)
movl %r13d, %eax
movq %r12, %r13
movq -152(%rbp), %r12 ## 8-byte Reload
jmp LBB0_10
LBB0_20:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_29
## %bb.21:
leaq L_.str(%rip), %rdi
xorl %eax, %eax
addq $120, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _r_str_newf ## TAILCALL
LBB0_23:
leaq L_.str.1(%rip), %rdi
movq -128(%rbp), %rsi ## 8-byte Reload
## kill: def $esi killed $esi killed $rsi
callq _eprintf
movq -144(%rbp), %r13 ## 8-byte Reload
LBB0_24:
testq %r13, %r13
je LBB0_26
## %bb.25:
leaq L_.str.2(%rip), %rdi
movq %r13, %rsi
movq -136(%rbp), %rdx ## 8-byte Reload
xorl %eax, %eax
callq _r_str_newf
movq %rax, %rbx
movq %r13, %rdi
callq _free
movq %rbx, %rax
jmp LBB0_27
LBB0_26:
xorl %eax, %eax
LBB0_27:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_29
## %bb.28:
addq $120, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_29:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "()%s"
L_.str.1: ## @.str.1
.asciz "Cannot realloc to %d\n"
L_.str.2: ## @.str.2
.asciz "(%s)%s"
.no_dead_strip _dex_get_proto
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function dex_get_proto
_dex_get_proto: ; @dex_get_proto
.cfi_startproc
; %bb.0:
sub sp, sp, #176
stp x28, x27, [sp, #80] ; 16-byte Folded Spill
stp x26, x25, [sp, #96] ; 16-byte Folded Spill
stp x24, x23, [sp, #112] ; 16-byte Folded Spill
stp x22, x21, [sp, #128] ; 16-byte Folded Spill
stp x20, x19, [sp, #144] ; 16-byte Folded Spill
stp x29, x30, [sp, #160] ; 16-byte Folded Spill
add x29, sp, #160
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #72]
ldr w8, [x0, #16]
cmp w8, w1
b.le LBB0_21
; %bb.1:
mov x19, x0
ldr x8, [x0, #40]
add x8, x8, w1, sxtw #4
ldr x22, [x8]
ldr x9, [x0]
cmp x22, x9
b.hs LBB0_21
; %bb.2:
ldr x8, [x8, #8]
ldr x9, [x19, #24]
cmp x8, x9
b.hs LBB0_21
; %bb.3:
ldr x9, [x19, #8]
ldr w1, [x9, x8, lsl #2]
mov x0, x19
bl _getstr
cbz x0, LBB0_22
; %bb.4:
mov x20, x0
cbz x22, LBB0_16
; %bb.5:
ldr w0, [x19, #32]
add x2, sp, #40
mov x1, x22
mov w3, #32 ; =0x20
bl _r_buf_read_at
cbz w0, LBB0_21
; %bb.6:
add x0, sp, #40
bl _r_read_le32
ldr x8, [x19]
cmp x8, x0, lsl #3
b.ls LBB0_21
; %bb.7:
mov w28, #0 ; =0x0
mov x21, #0 ; =0x0
sub w22, w22, #4
add x27, x0, #1
mov w23, #1 ; =0x1
b LBB0_9
LBB0_8: ; in Loop: Header=BB0_9 Depth=1
add w22, w22, #2
subs x27, x27, #1
b.eq LBB0_19
LBB0_9: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19]
cmp x8, w22, sxtw
b.ls LBB0_8
; %bb.10: ; in Loop: Header=BB0_9 Depth=1
ldr w0, [x19, #32]
add x2, sp, #8
mov x1, x22
mov w3, #32 ; =0x20
bl _r_buf_read_at
cbz w0, LBB0_19
; %bb.11: ; in Loop: Header=BB0_9 Depth=1
add x0, sp, #8
bl _r_read_le16
ldr x8, [x19, #24]
cmp x0, x8
b.lo LBB0_13
; %bb.12: ; in Loop: Header=BB0_9 Depth=1
ldr x8, [x19]
cmp x0, x8
b.hs LBB0_19
LBB0_13: ; in Loop: Header=BB0_9 Depth=1
ldr x8, [x19, #8]
ldr w1, [x8, x0, lsl #2]
mov x0, x19
bl _getstr
cbz x0, LBB0_19
; %bb.14: ; in Loop: Header=BB0_9 Depth=1
mov x24, x0
bl _strlen
mov x25, x0
add w8, w23, w0
add w23, w8, #1
mov x0, x21
mov x1, x23
bl _realloc
cbz x0, LBB0_18
; %bb.15: ; in Loop: Header=BB0_9 Depth=1
mov x26, x0
sxtw x21, w28
add x0, x0, x21
mov x1, x24
bl _strcpy
add x28, x21, w25, sxtw
strb wzr, [x26, x28]
; kill: def $w28 killed $w28 killed $x28 def $x28
mov x21, x26
b LBB0_8
LBB0_16:
ldr x8, [sp, #72]
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_24
; %bb.17:
Lloh6:
adrp x0, l_.str@PAGE
Lloh7:
add x0, x0, l_.str@PAGEOFF
mov x1, x20
ldp x29, x30, [sp, #160] ; 16-byte Folded Reload
ldp x20, x19, [sp, #144] ; 16-byte Folded Reload
ldp x22, x21, [sp, #128] ; 16-byte Folded Reload
ldp x24, x23, [sp, #112] ; 16-byte Folded Reload
ldp x26, x25, [sp, #96] ; 16-byte Folded Reload
ldp x28, x27, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #176
b _r_str_newf
LBB0_18:
Lloh8:
adrp x0, l_.str.1@PAGE
Lloh9:
add x0, x0, l_.str.1@PAGEOFF
mov x1, x23
bl _eprintf
LBB0_19:
cbz x21, LBB0_21
; %bb.20:
str x20, [sp]
Lloh10:
adrp x0, l_.str.2@PAGE
Lloh11:
add x0, x0, l_.str.2@PAGEOFF
mov x1, x21
bl _r_str_newf
mov x19, x0
mov x0, x21
bl _free
mov x0, x19
b LBB0_22
LBB0_21:
mov x0, #0 ; =0x0
LBB0_22:
ldr x8, [sp, #72]
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_24
; %bb.23:
ldp x29, x30, [sp, #160] ; 16-byte Folded Reload
ldp x20, x19, [sp, #144] ; 16-byte Folded Reload
ldp x22, x21, [sp, #128] ; 16-byte Folded Reload
ldp x24, x23, [sp, #112] ; 16-byte Folded Reload
ldp x26, x25, [sp, #96] ; 16-byte Folded Reload
ldp x28, x27, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #176
ret
LBB0_24:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "()%s"
l_.str.1: ; @.str.1
.asciz "Cannot realloc to %d\n"
l_.str.2: ; @.str.2
.asciz "(%s)%s"
.no_dead_strip _dex_get_proto
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _mgmtMeterAddColumn ## -- Begin function mgmtMeterAddColumn
.p2align 4, 0x90
_mgmtMeterAddColumn: ## @mgmtMeterAddColumn
.cfi_startproc
## %bb.0:
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 _TSDB_CODE_APP_ERROR@GOTPCREL(%rip), %r13
testl %edx, %edx
jle LBB0_10
## %bb.1:
movq %rdi, %rbx
movq _TSDB_METER_STABLE@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq %rax, (%rdi)
je LBB0_10
## %bb.2:
movl %edx, -44(%rbp) ## 4-byte Spill
movl %edx, %r12d
movq %rsi, -56(%rbp) ## 8-byte Spill
leaq 8(%rsi), %r15
xorl %r14d, %r14d
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movl (%r15), %esi
movq %rbx, %rdi
callq _mgmtFindColumnIndex
testq %rax, %rax
jg LBB0_10
## %bb.3: ## in Loop: Header=BB0_4 Depth=1
decq %r14
addq $-16, %r15
cmpq %r12, %r14
jle LBB0_4
## %bb.5:
movl 72(%rbx), %edi
callq _mgmtGetDbByMeterId
testq %rax, %rax
je LBB0_6
## %bb.7:
movq %rax, %r15
movl 4(%rax), %edi
callq _mgmtGetAcct
testq %rax, %rax
je LBB0_8
## %bb.11:
movq %rax, %r13
movq 64(%rbx), %rdi
movq %r12, %r15
shlq $4, %r15
movq 56(%rbx), %rsi
addq %r15, %rsi
callq _realloc
movq %rax, 64(%rbx)
movq (%rbx), %rcx
movq _TSDB_METER_OTABLE@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
jne LBB0_13
## %bb.12:
addq 56(%rbx), %rax
movl -44(%rbp), %r14d ## 4-byte Reload
jmp LBB0_15
LBB0_6:
movl 72(%rbx), %esi
leaq L_.str(%rip), %rdi
jmp LBB0_9
LBB0_8:
movl (%r15), %esi
leaq L_.str.1(%rip), %rdi
LBB0_9:
callq _mError
jmp LBB0_10
LBB0_13:
movq _TSDB_METER_METRIC@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
movl -44(%rbp), %r14d ## 4-byte Reload
jne LBB0_16
## %bb.14:
movslq 8(%rbx), %rsi
movslq %r14d, %rdi
addq %rsi, %rdi
shlq $4, %rdi
addq %rax, %rdi
shlq $4, %rsi
addq %rax, %rsi
movl 12(%rbx), %edx
shll $4, %edx
callq _memmove
movslq 8(%rbx), %rax
shlq $4, %rax
addq 64(%rbx), %rax
LBB0_15:
movq %rax, %rdi
movq -56(%rbp), %rsi ## 8-byte Reload
movl %r15d, %edx
callq _memcpy
LBB0_16:
movslq 8(%rbx), %rax
movq %rax, %rcx
shlq $4, %rcx
addq 64(%rbx), %rcx
movq 32(%rbx), %rdx
leaq -1(%r12), %rdi
movl %r12d, %esi
andl $3, %esi
cmpq $3, %rdi
jae LBB0_28
## %bb.17:
xorl %edi, %edi
jmp LBB0_19
LBB0_28:
andl $2147483644, %r12d ## imm = 0x7FFFFFFC
leaq 48(%rcx), %r8
xorl %edi, %edi
.p2align 4, 0x90
LBB0_29: ## =>This Inner Loop Header: Depth=1
leaq (%rdx,%rdi), %r9
movq %r9, -48(%r8)
leaq (%rdx,%rdi), %r9
incq %r9
movq %r9, -32(%r8)
leaq 2(%rdx,%rdi), %r9
movq %r9, -16(%r8)
leaq (%rdx,%rdi), %r9
addq $3, %r9
movq %r9, (%r8)
addq $4, %rdi
addq $64, %r8
cmpq %rdi, %r12
jne LBB0_29
## %bb.18:
addq %rdi, %rdx
LBB0_19:
testq %rsi, %rsi
je LBB0_22
## %bb.20:
shlq $4, %rdi
addq %rdi, %rcx
shll $4, %esi
xorl %edi, %edi
.p2align 4, 0x90
LBB0_21: ## =>This Inner Loop Header: Depth=1
movq %rdx, (%rcx,%rdi)
incq %rdx
addq $16, %rdi
cmpq %rdi, %rsi
jne LBB0_21
LBB0_22:
movq %rdx, 32(%rbx)
addq %r15, 56(%rbx)
addl %r14d, %eax
movl %eax, 8(%rbx)
incq 24(%rbx)
movq %rbx, %rdi
callq _mgmtIsNormalMeter
testq %rax, %rax
jne LBB0_24
## %bb.23:
imull 16(%rbx), %r14d
LBB0_24:
addl %r14d, (%r13)
movq _meterSdb@GOTPCREL(%rip), %r15
movl (%r15), %edi
movq %rbx, %rsi
xorl %edx, %edx
movl $1, %ecx
callq _sdbUpdateRow
movq (%rbx), %rax
movq _TSDB_METER_METRIC@GOTPCREL(%rip), %rcx
movq _TSDB_CODE_SUCCESS@GOTPCREL(%rip), %r13
cmpq (%rcx), %rax
jne LBB0_10
## %bb.25:
movq 48(%rbx), %r14
testq %r14, %r14
je LBB0_10
.p2align 4, 0x90
LBB0_27: ## =>This Inner Loop Header: Depth=1
incl 8(%r14)
movups 24(%rbx), %xmm0
movups %xmm0, 24(%r14)
movl (%r15), %edi
movq %r14, %rsi
xorl %edx, %edx
movl $1, %ecx
callq _sdbUpdateRow
movq 40(%r14), %r14
testq %r14, %r14
jne LBB0_27
LBB0_10:
movl (%r13), %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _TSDB_METER_MTABLE,8,3 ## @TSDB_METER_MTABLE
.comm _TSDB_METER_STABLE,8,3 ## @TSDB_METER_STABLE
.comm _TSDB_CODE_APP_ERROR,4,2 ## @TSDB_CODE_APP_ERROR
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "meter: %s not belongs to any database"
L_.str.1: ## @.str.1
.asciz "DB: %s not belongs to andy account"
.comm _TSDB_METER_OTABLE,8,3 ## @TSDB_METER_OTABLE
.comm _TSDB_METER_METRIC,8,3 ## @TSDB_METER_METRIC
.comm _meterSdb,4,2 ## @meterSdb
.comm _TSDB_CODE_SUCCESS,4,2 ## @TSDB_CODE_SUCCESS
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _mgmtMeterAddColumn ; -- Begin function mgmtMeterAddColumn
.p2align 2
_mgmtMeterAddColumn: ; @mgmtMeterAddColumn
.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
Lloh0:
adrp x21, _TSDB_CODE_APP_ERROR@GOTPAGE
Lloh1:
ldr x21, [x21, _TSDB_CODE_APP_ERROR@GOTPAGEOFF]
cmp w2, #1
b.lt LBB0_29
; %bb.1:
mov x19, x0
ldr x8, [x0]
Lloh2:
adrp x9, _TSDB_METER_STABLE@GOTPAGE
Lloh3:
ldr x9, [x9, _TSDB_METER_STABLE@GOTPAGEOFF]
Lloh4:
ldr x9, [x9]
cmp x8, x9
b.eq LBB0_29
; %bb.2:
mov x20, x2
mov x23, x1
mov x22, #0 ; =0x0
mov w24, #8 ; =0x8
mov w25, w2
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr w1, [x23, x24]
mov x0, x19
bl _mgmtFindColumnIndex
cmp x0, #0
b.gt LBB0_29
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
sub x22, x22, #1
sub x24, x24, #16
cmp x22, x25
b.le LBB0_3
; %bb.5:
ldr w0, [x19, #72]
bl _mgmtGetDbByMeterId
cbz x0, LBB0_9
; %bb.6:
mov x22, x0
ldr w0, [x0, #4]
bl _mgmtGetAcct
cbz x0, LBB0_10
; %bb.7:
mov x21, x0
ldp x8, x0, [x19, #56]
lsl x22, x25, #4
add x1, x8, x22
bl _realloc
str x0, [x19, #64]
ldr x8, [x19]
Lloh5:
adrp x9, _TSDB_METER_OTABLE@GOTPAGE
Lloh6:
ldr x9, [x9, _TSDB_METER_OTABLE@GOTPAGEOFF]
Lloh7:
ldr x9, [x9]
Lloh8:
adrp x24, _TSDB_METER_METRIC@GOTPAGE
Lloh9:
ldr x24, [x24, _TSDB_METER_METRIC@GOTPAGEOFF]
cmp x8, x9
b.ne LBB0_12
; %bb.8:
ldr x8, [x19, #56]
add x0, x8, x0
b LBB0_14
LBB0_9:
ldr w1, [x19, #72]
Lloh10:
adrp x0, l_.str@PAGE
Lloh11:
add x0, x0, l_.str@PAGEOFF
b LBB0_11
LBB0_10:
ldr w1, [x22]
Lloh12:
adrp x0, l_.str.1@PAGE
Lloh13:
add x0, x0, l_.str.1@PAGEOFF
LBB0_11:
bl _mError
Lloh14:
adrp x21, _TSDB_CODE_APP_ERROR@GOTPAGE
Lloh15:
ldr x21, [x21, _TSDB_CODE_APP_ERROR@GOTPAGEOFF]
b LBB0_29
LBB0_12:
ldr x9, [x24]
cmp x8, x9
b.ne LBB0_15
; %bb.13:
ldp w9, w10, [x19, #8]
; kill: def $w9 killed $w9 def $x9
sxtw x9, w9
add w8, w9, w20
add x8, x0, w8, sxtw #4
add x1, x0, x9, lsl #4
lsl w2, w10, #4
mov x0, x8
bl _memmove
ldr x8, [x19, #64]
ldrsw x9, [x19, #8]
add x0, x8, x9, lsl #4
LBB0_14:
mov x1, x23
mov x2, x22
bl _memcpy
LBB0_15:
ldr x9, [x19, #64]
ldrsw x8, [x19, #8]
add x10, x9, x8, lsl #4
ldr x12, [x19, #32]
cmp w20, #3
b.hi LBB0_17
; %bb.16:
mov x11, #0 ; =0x0
mov x9, x12
b LBB0_20
LBB0_17:
and x11, x25, #0x7ffffffc
add x9, x12, x11
add x13, x10, #32
mov x14, x11
LBB0_18: ; =>This Inner Loop Header: Depth=1
add x15, x12, #1
add x16, x12, #2
add x17, x12, #3
stur x12, [x13, #-32]
stur x15, [x13, #-16]
str x16, [x13]
str x17, [x13, #16]
add x12, x12, #4
add x13, x13, #64
subs x14, x14, #4
b.ne LBB0_18
; %bb.19:
cmp x11, x25
b.eq LBB0_22
LBB0_20:
add x10, x10, x11, lsl #4
sub x11, x25, x11
mov x12, x9
LBB0_21: ; =>This Inner Loop Header: Depth=1
add x9, x12, #1
str x12, [x10], #16
mov x12, x9
subs x11, x11, #1
b.ne LBB0_21
LBB0_22:
ldr x10, [x19, #56]
add x10, x10, x22
str x10, [x19, #56]
add w8, w8, w20
str w8, [x19, #8]
ldr x8, [x19, #24]
add x8, x8, #1
stp x8, x9, [x19, #24]
mov x0, x19
bl _mgmtIsNormalMeter
cbnz x0, LBB0_24
; %bb.23:
ldr w8, [x19, #16]
mul w20, w8, w20
LBB0_24:
ldr w8, [x21]
add w8, w8, w20
str w8, [x21]
Lloh16:
adrp x22, _meterSdb@GOTPAGE
Lloh17:
ldr x22, [x22, _meterSdb@GOTPAGEOFF]
ldr w0, [x22]
mov x1, x19
mov w2, #0 ; =0x0
mov w3, #1 ; =0x1
bl _sdbUpdateRow
ldr x8, [x19]
ldr x9, [x24]
cmp x8, x9
b.ne LBB0_28
; %bb.25:
ldr x20, [x19, #48]
cbz x20, LBB0_28
; %bb.26:
Lloh18:
adrp x21, _TSDB_CODE_SUCCESS@GOTPAGE
Lloh19:
ldr x21, [x21, _TSDB_CODE_SUCCESS@GOTPAGEOFF]
LBB0_27: ; =>This Inner Loop Header: Depth=1
ldr w8, [x20, #8]
add w8, w8, #1
str w8, [x20, #8]
ldur q0, [x19, #24]
stur q0, [x20, #24]
ldr w0, [x22]
mov x1, x20
mov w2, #0 ; =0x0
mov w3, #1 ; =0x1
bl _sdbUpdateRow
ldr x20, [x20, #40]
cbnz x20, LBB0_27
b LBB0_29
LBB0_28:
Lloh20:
adrp x21, _TSDB_CODE_SUCCESS@GOTPAGE
Lloh21:
ldr x21, [x21, _TSDB_CODE_SUCCESS@GOTPAGEOFF]
LBB0_29:
ldr w0, [x21]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGot Lloh18, Lloh19
.loh AdrpLdrGot Lloh20, Lloh21
.cfi_endproc
; -- End function
.comm _TSDB_METER_MTABLE,8,3 ; @TSDB_METER_MTABLE
.comm _TSDB_METER_STABLE,8,3 ; @TSDB_METER_STABLE
.comm _TSDB_CODE_APP_ERROR,4,2 ; @TSDB_CODE_APP_ERROR
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "meter: %s not belongs to any database"
l_.str.1: ; @.str.1
.asciz "DB: %s not belongs to andy account"
.comm _TSDB_METER_OTABLE,8,3 ; @TSDB_METER_OTABLE
.comm _TSDB_METER_METRIC,8,3 ; @TSDB_METER_METRIC
.comm _meterSdb,4,2 ; @meterSdb
.comm _TSDB_CODE_SUCCESS,4,2 ; @TSDB_CODE_SUCCESS
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function AV_queue
_AV_queue: ## @AV_queue
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, %r14d
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r12
movl (%rdx), %edi
incl %edi
callq _malloc
movq %rax, %r13
movl (%r15), %edx
movl 4(%r15), %esi
movq %rax, %rdi
callq _memcpy
movslq (%r15), %rax
movb $0, (%r13,%rax)
movq (%r12), %rax
movslq (%rbx), %rcx
leaq (%rcx,%rcx,2), %rcx
movl %r14d, (%rax,%rcx,8)
movslq (%r15), %rcx
movslq (%rbx), %rdx
leaq (%rdx,%rdx,2), %rsi
movq %rcx, 8(%rax,%rsi,8)
leal -1(%rdx), %ecx
movl %ecx, (%rbx)
movq %r13, 16(%rax,%rsi,8)
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _AV_queue
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function AV_queue
_AV_queue: ; @AV_queue
.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, x3
mov x20, x2
mov x21, x1
mov x22, x0
ldr w8, [x2]
add w0, w8, #1
bl _malloc
mov x23, x0
ldp w2, w1, [x20]
bl _memcpy
ldrsw x8, [x20]
strb wzr, [x23, x8]
ldr x8, [x22]
ldrsw x9, [x21]
mov w10, #24 ; =0x18
smull x9, w9, w10
str w19, [x8, x9]
ldrsw x9, [x20]
ldrsw x11, [x21]
smaddl x8, w11, w10, x8
sub w10, w11, #1
str w10, [x21]
stp x9, x23, [x8, #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
ret
.cfi_endproc
; -- End function
.no_dead_strip _AV_queue
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function append
_append: ## @append
.cfi_startproc
## %bb.0:
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
movq _len@GOTPCREL(%rip), %r15
movq _cap@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movq _things@GOTPCREL(%rip), %r12
movq (%r12), %rax
cmpl %esi, (%r15)
jl LBB0_3
## %bb.1:
movq _grow@GOTPCREL(%rip), %rdx
addl (%rdx), %esi
movl %esi, (%rcx)
shll $4, %esi
movq %rax, %rdi
callq _realloc
movq %rax, (%r12)
testq %rax, %rax
jne LBB0_3
## %bb.2:
leaq L_.str(%rip), %rdi
callq _die
movq (%r12), %rax
LBB0_3:
movslq (%r15), %rcx
shlq $4, %rcx
movq %r14, (%rax,%rcx)
movq (%r12), %rax
movl %ebx, 8(%rax,%rcx)
movslq (%r15), %rcx
leal -1(%rcx), %edx
movl %edx, (%r15)
shlq $4, %rcx
movq -32(%rax,%rcx), %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _len,4,2 ## @len
.comm _cap,4,2 ## @cap
.comm _grow,8,3 ## @grow
.comm _things,8,3 ## @things
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "reallocating things array in test/spaced.c append()"
.no_dead_strip _append
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function append
_append: ; @append
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
Lloh0:
adrp x21, _len@GOTPAGE
Lloh1:
ldr x21, [x21, _len@GOTPAGEOFF]
Lloh2:
adrp x8, _cap@GOTPAGE
Lloh3:
ldr x8, [x8, _cap@GOTPAGEOFF]
ldr w10, [x21]
ldr w9, [x8]
Lloh4:
adrp x22, _things@GOTPAGE
Lloh5:
ldr x22, [x22, _things@GOTPAGEOFF]
ldr x0, [x22]
cmp w10, w9
b.lt LBB0_3
; %bb.1:
Lloh6:
adrp x10, _grow@GOTPAGE
Lloh7:
ldr x10, [x10, _grow@GOTPAGEOFF]
Lloh8:
ldr w10, [x10]
add w9, w9, w10
str w9, [x8]
lsl w1, w9, #4
bl _realloc
str x0, [x22]
cbnz x0, LBB0_3
; %bb.2:
Lloh9:
adrp x0, l_.str@PAGE
Lloh10:
add x0, x0, l_.str@PAGEOFF
bl _die
ldr x0, [x22]
LBB0_3:
ldrsw x8, [x21]
lsl x8, x8, #4
str x20, [x0, x8]
ldr x9, [x22]
add x8, x9, x8
str w19, [x8, #8]
ldrsw x8, [x21]
sub w10, w8, #1
str w10, [x21]
add x8, x9, x8, lsl #4
ldur x0, [x8, #-32]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpAdd Lloh9, Lloh10
.cfi_endproc
; -- End function
.comm _len,4,2 ; @len
.comm _cap,4,2 ; @cap
.comm _grow,8,3 ; @grow
.comm _things,8,3 ; @things
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "reallocating things array in test/spaced.c append()"
.no_dead_strip _append
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function thread_stack__grow
_thread_stack__grow: ## @thread_stack__grow
.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 _STACK_GROWTH@GOTPCREL(%rip), %rax
movq (%rax), %r14
addq (%rdi), %r14
leaq (,%r14,4), %rsi
movq 8(%rdi), %rdi
callq _realloc
testq %rax, %rax
je LBB0_1
## %bb.2:
movq %rax, 8(%rbx)
movq %r14, (%rbx)
xorl %eax, %eax
jmp LBB0_3
LBB0_1:
movq _ENOMEM@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
LBB0_3:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _STACK_GROWTH,8,3 ## @STACK_GROWTH
.comm _ENOMEM,4,2 ## @ENOMEM
.no_dead_strip _thread_stack__grow
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function thread_stack__grow
_thread_stack__grow: ; @thread_stack__grow
.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
Lloh0:
adrp x8, _STACK_GROWTH@GOTPAGE
Lloh1:
ldr x8, [x8, _STACK_GROWTH@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
ldp x9, x0, [x0]
add x20, x8, x9
lsl x1, x20, #2
bl _realloc
cbz x0, LBB0_2
; %bb.1:
mov x8, x0
mov w0, #0 ; =0x0
stp x20, x8, [x19]
b LBB0_3
LBB0_2:
Lloh3:
adrp x8, _ENOMEM@GOTPAGE
Lloh4:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
neg w0, w8
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _STACK_GROWTH,8,3 ; @STACK_GROWTH
.comm _ENOMEM,4,2 ; @ENOMEM
.no_dead_strip _thread_stack__grow
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function fons__allocFont
_fons__allocFont: ## @fons__allocFont
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movl 4(%rdi), %eax
cmpl %eax, (%rdi)
jl LBB0_2
## %bb.1:
leal (%rax,%rax), %ecx
testl %eax, %eax
movl $8, %esi
cmovnel %ecx, %esi
movl %esi, 4(%rbx)
movq 8(%rbx), %rdi
shll $3, %esi
callq _realloc
movq %rax, %rcx
movq %rax, 8(%rbx)
movl $-1, %eax
testq %rcx, %rcx
jne LBB0_6
LBB0_2:
movl $24, %edi
callq _malloc
movq %rax, %r14
testq %rax, %rax
je LBB0_5
## %bb.3:
movq %r14, %rdi
xorl %esi, %esi
movl $24, %edx
callq _memset
movq _FONS_INIT_GLYPHS@GOTPCREL(%rip), %r15
movl (%r15), %edi
shll $2, %edi
callq _malloc
movq %rax, 16(%r14)
testq %rax, %rax
je LBB0_5
## %bb.4:
movl (%r15), %eax
movl %eax, (%r14)
movq $0, 8(%r14)
movq 8(%rbx), %rax
movslq (%rbx), %rcx
leal -1(%rcx), %edx
movl %edx, (%rbx)
movq %r14, (%rax,%rcx,8)
leal -2(%rcx), %eax
jmp LBB0_6
LBB0_5:
movq %r14, %rdi
callq _fons__freeFont
movq _FONS_INVALID@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_6:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _FONS_INIT_GLYPHS,4,2 ## @FONS_INIT_GLYPHS
.comm _FONS_INVALID,4,2 ## @FONS_INVALID
.no_dead_strip _fons__allocFont
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function fons__allocFont
_fons__allocFont: ; @fons__allocFont
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
ldp w9, w8, [x0]
cmp w9, w8
b.lt LBB0_3
; %bb.1:
lsl w9, w8, #1
mov w10, #8 ; =0x8
cmp w8, #0
csel w8, w10, w9, eq
str w8, [x19, #4]
ldr x0, [x19, #8]
lsl w1, w8, #3
bl _realloc
str x0, [x19, #8]
cbz x0, LBB0_3
; %bb.2:
mov w0, #-1 ; =0xffffffff
b LBB0_7
LBB0_3:
mov w0, #24 ; =0x18
bl _malloc
mov x20, x0
cbz x0, LBB0_6
; %bb.4:
mov x0, x20
mov w1, #0 ; =0x0
mov w2, #24 ; =0x18
bl _memset
Lloh0:
adrp x21, _FONS_INIT_GLYPHS@GOTPAGE
Lloh1:
ldr x21, [x21, _FONS_INIT_GLYPHS@GOTPAGEOFF]
ldr w8, [x21]
lsl w0, w8, #2
bl _malloc
str x0, [x20, #16]
cbz x0, LBB0_6
; %bb.5:
ldr w8, [x21]
str w8, [x20]
str xzr, [x20, #8]
ldr x8, [x19, #8]
ldrsw x9, [x19]
sub w10, w9, #1
str w10, [x19]
str x20, [x8, x9, lsl #3]
sub w0, w9, #2
b LBB0_7
LBB0_6:
mov x0, x20
bl _fons__freeFont
Lloh2:
adrp x8, _FONS_INVALID@GOTPAGE
Lloh3:
ldr x8, [x8, _FONS_INVALID@GOTPAGEOFF]
Lloh4:
ldr w0, [x8]
LBB0_7:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _FONS_INIT_GLYPHS,4,2 ; @FONS_INIT_GLYPHS
.comm _FONS_INVALID,4,2 ; @FONS_INVALID
.no_dead_strip _fons__allocFont
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function search_loclist_at
_search_loclist_at: ## @search_loclist_at
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $104, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r9, -88(%rbp) ## 8-byte Spill
movq %r8, -80(%rbp) ## 8-byte Spill
movq %rcx, -72(%rbp) ## 8-byte Spill
movq %rdx, -96(%rbp) ## 8-byte Spill
movl %esi, %r12d
movq %rdi, -104(%rbp) ## 8-byte Spill
movl %esi, %edi
callq _dwarf_get_die_infotypes_flag
movl %eax, -108(%rbp) ## 4-byte Spill
leaq -56(%rbp), %rsi
leaq -60(%rbp), %rdx
leaq -44(%rbp), %rcx
movl %r12d, %edi
callq _dwarf_attrlist
movq _DW_DLV_OK@GOTPCREL(%rip), %r13
cmpl (%r13), %eax
jne LBB0_6
## %bb.1:
cmpl $0, -60(%rbp)
js LBB0_31
## %bb.2:
xorl %ebx, %ebx
leaq -136(%rbp), %r15
leaq -44(%rbp), %r14
jmp LBB0_3
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_3 Depth=1
movl -44(%rbp), %edi
callq _dwarf_errmsg
leaq L_.str.1(%rip), %rdi
LBB0_5: ## in Loop: Header=BB0_3 Depth=1
movl %eax, %esi
callq _warnx
LBB0_30: ## in Loop: Header=BB0_3 Depth=1
decq %rbx
movslq -60(%rbp), %rax
cmpq %rax, %rbx
jg LBB0_31
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq -56(%rbp), %rax
movl (%rax,%rbx,4), %edi
movq %r15, %rsi
movq %r14, %rdx
callq _dwarf_whatattr
cmpl (%r13), %eax
jne LBB0_4
## %bb.8: ## in Loop: Header=BB0_3 Depth=1
movq -136(%rbp), %rax
movq _DW_AT_location@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_30
## %bb.9: ## in Loop: Header=BB0_3 Depth=1
movq _DW_AT_string_length@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_17
## %bb.10: ## in Loop: Header=BB0_3 Depth=1
movq _DW_AT_return_addr@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_17
## %bb.11: ## in Loop: Header=BB0_3 Depth=1
movq _DW_AT_data_member_location@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_17
## %bb.12: ## in Loop: Header=BB0_3 Depth=1
movq _DW_AT_frame_base@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_17
## %bb.13: ## in Loop: Header=BB0_3 Depth=1
movq _DW_AT_segment@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_17
## %bb.14: ## in Loop: Header=BB0_3 Depth=1
movq _DW_AT_static_link@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_17
## %bb.15: ## in Loop: Header=BB0_3 Depth=1
movq _DW_AT_use_location@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_17
## %bb.16: ## in Loop: Header=BB0_3 Depth=1
movq _DW_AT_vtable_elem_location@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_30
LBB0_17: ## in Loop: Header=BB0_3 Depth=1
movq -56(%rbp), %rax
movl (%rax,%rbx,4), %edi
leaq -128(%rbp), %rsi
movq %r14, %rdx
callq _dwarf_whatform
cmpl (%r13), %eax
jne LBB0_18
## %bb.19: ## in Loop: Header=BB0_3 Depth=1
movq -128(%rbp), %rax
movq _DW_FORM_data4@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_21
## %bb.20: ## in Loop: Header=BB0_3 Depth=1
movq _DW_FORM_data8@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_21
## %bb.23: ## in Loop: Header=BB0_3 Depth=1
movq _DW_FORM_sec_offset@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_30
## %bb.24: ## in Loop: Header=BB0_3 Depth=1
movq -56(%rbp), %rax
movl (%rax,%rbx,4), %edi
leaq -144(%rbp), %rsi
movq %r14, %rdx
callq _dwarf_global_formref
cmpl (%r13), %eax
jne LBB0_25
## %bb.26: ## in Loop: Header=BB0_3 Depth=1
movq -144(%rbp), %rax
movq %rax, -120(%rbp)
jmp LBB0_27
LBB0_18: ## in Loop: Header=BB0_3 Depth=1
movl -44(%rbp), %edi
callq _dwarf_errmsg
leaq L_.str.2(%rip), %rdi
jmp LBB0_5
LBB0_21: ## in Loop: Header=BB0_3 Depth=1
movq -56(%rbp), %rax
movl (%rax,%rbx,4), %edi
leaq -120(%rbp), %rsi
movq %r14, %rdx
callq _dwarf_formudata
cmpl (%r13), %eax
jne LBB0_22
LBB0_27: ## in Loop: Header=BB0_3 Depth=1
movq -88(%rbp), %r8 ## 8-byte Reload
movq (%r8), %rdx
movq -80(%rbp), %rdi ## 8-byte Reload
movq (%rdi), %rcx
movq -72(%rbp), %rsi ## 8-byte Reload
movq (%rsi), %rax
cmpq %rcx, %rdx
jne LBB0_29
## %bb.28: ## in Loop: Header=BB0_3 Depth=1
shlq $4, %rdx
leaq (%rdx,%rdx,4), %rsi
movq %rax, %rdi
callq _realloc
movq -80(%rbp), %rdi ## 8-byte Reload
movq -72(%rbp), %rcx ## 8-byte Reload
movq %rax, (%rcx)
movq -88(%rbp), %rcx ## 8-byte Reload
shlq (%rcx)
movq (%rdi), %rcx
LBB0_29: ## in Loop: Header=BB0_3 Depth=1
leaq (%rcx,%rcx,4), %rdx
movq -56(%rbp), %rsi
movl (%rsi,%rbx,4), %esi
movl %esi, 32(%rax,%rdx,8)
movq -120(%rbp), %rsi
movq %rsi, 24(%rax,%rdx,8)
movq -96(%rbp), %rsi ## 8-byte Reload
movq %rsi, 16(%rax,%rdx,8)
movq -104(%rbp), %r8 ## 8-byte Reload
movl 12(%r8), %esi
movl %esi, 8(%rax,%rdx,8)
movq 4(%r8), %rsi
movq %rsi, (%rax,%rdx,8)
incq %rcx
movq %rcx, (%rdi)
jmp LBB0_30
LBB0_22: ## in Loop: Header=BB0_3 Depth=1
movl -44(%rbp), %edi
callq _dwarf_errmsg
leaq L_.str.3(%rip), %rdi
jmp LBB0_5
LBB0_25: ## in Loop: Header=BB0_3 Depth=1
movl -44(%rbp), %edi
callq _dwarf_errmsg
leaq L_.str.4(%rip), %rdi
jmp LBB0_5
LBB0_6:
movq _DW_DLV_ERROR@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB0_31
## %bb.7:
movl -44(%rbp), %edi
callq _dwarf_errmsg
leaq L_.str(%rip), %rdi
movl %eax, %esi
callq _warnx
LBB0_31:
leaq -48(%rbp), %rsi
leaq -44(%rbp), %rdx
movl %r12d, %edi
callq _dwarf_child
movq _DW_DLV_ERROR@GOTPCREL(%rip), %rbx
cmpl (%rbx), %eax
jne LBB0_33
## %bb.32:
movl -44(%rbp), %edi
callq _dwarf_errmsg
leaq L_.str.6(%rip), %rdi
movl %eax, %esi
callq _warnx
movq -104(%rbp), %r14 ## 8-byte Reload
jmp LBB0_35
LBB0_33:
cmpl (%r13), %eax
movq -104(%rbp), %r14 ## 8-byte Reload
jne LBB0_35
## %bb.34:
movl -48(%rbp), %esi
movq %r14, %rdi
movq -96(%rbp), %rdx ## 8-byte Reload
movq -72(%rbp), %rcx ## 8-byte Reload
movq -80(%rbp), %r8 ## 8-byte Reload
movq -88(%rbp), %r9 ## 8-byte Reload
callq _search_loclist_at
LBB0_35:
movl (%r14), %edi
leaq -48(%rbp), %rdx
leaq -44(%rbp), %r8
movl %r12d, %esi
movl -108(%rbp), %ecx ## 4-byte Reload
callq _dwarf_siblingof_b
cmpl (%rbx), %eax
jne LBB0_37
## %bb.36:
movl -44(%rbp), %edi
callq _dwarf_errmsg
leaq L_.str.7(%rip), %rdi
movl %eax, %esi
callq _warnx
jmp LBB0_39
LBB0_37:
cmpl (%r13), %eax
jne LBB0_39
## %bb.38:
movl -48(%rbp), %esi
movq %r14, %rdi
movq -96(%rbp), %rdx ## 8-byte Reload
movq -72(%rbp), %rcx ## 8-byte Reload
movq -80(%rbp), %r8 ## 8-byte Reload
movq -88(%rbp), %r9 ## 8-byte Reload
callq _search_loclist_at
LBB0_39:
addq $104, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _DW_DLV_OK,4,2 ## @DW_DLV_OK
.comm _DW_DLV_ERROR,4,2 ## @DW_DLV_ERROR
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "dwarf_attrlist failed: %s"
L_.str.1: ## @.str.1
.asciz "dwarf_whatattr failed: %s"
.comm _DW_AT_location,8,3 ## @DW_AT_location
.comm _DW_AT_string_length,8,3 ## @DW_AT_string_length
.comm _DW_AT_return_addr,8,3 ## @DW_AT_return_addr
.comm _DW_AT_data_member_location,8,3 ## @DW_AT_data_member_location
.comm _DW_AT_frame_base,8,3 ## @DW_AT_frame_base
.comm _DW_AT_segment,8,3 ## @DW_AT_segment
.comm _DW_AT_static_link,8,3 ## @DW_AT_static_link
.comm _DW_AT_use_location,8,3 ## @DW_AT_use_location
.comm _DW_AT_vtable_elem_location,8,3 ## @DW_AT_vtable_elem_location
L_.str.2: ## @.str.2
.asciz "dwarf_whatform failed: %s"
.comm _DW_FORM_data4,8,3 ## @DW_FORM_data4
.comm _DW_FORM_data8,8,3 ## @DW_FORM_data8
L_.str.3: ## @.str.3
.asciz "dwarf_formudata failed: %s"
.comm _DW_FORM_sec_offset,8,3 ## @DW_FORM_sec_offset
L_.str.4: ## @.str.4
.asciz "dwarf_global_formref failed: %s"
.comm _EXIT_FAILURE,4,2 ## @EXIT_FAILURE
L_.str.6: ## @.str.6
.asciz "dwarf_child: %s"
L_.str.7: ## @.str.7
.asciz "dwarf_siblingof: %s"
.no_dead_strip _search_loclist_at
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function search_loclist_at
_search_loclist_at: ; @search_loclist_at
.cfi_startproc
; %bb.0:
sub sp, sp, #176
stp x28, x27, [sp, #80] ; 16-byte Folded Spill
stp x26, x25, [sp, #96] ; 16-byte Folded Spill
stp x24, x23, [sp, #112] ; 16-byte Folded Spill
stp x22, x21, [sp, #128] ; 16-byte Folded Spill
stp x20, x19, [sp, #144] ; 16-byte Folded Spill
stp x29, x30, [sp, #160] ; 16-byte Folded Spill
add x29, sp, #160
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
str x5, [sp, #8] ; 8-byte Folded Spill
mov x20, x4
mov x28, x3
mov x19, x2
mov x24, x1
mov x23, x0
mov x0, x1
bl _dwarf_get_die_infotypes_flag
mov x25, x0
add x1, sp, #72
add x2, sp, #44
add x3, sp, #20
mov x0, x24
bl _dwarf_attrlist
Lloh0:
adrp x26, _DW_DLV_OK@GOTPAGE
Lloh1:
ldr x26, [x26, _DW_DLV_OK@GOTPAGEOFF]
ldr w8, [x26]
Lloh2:
adrp x9, _DW_DLV_ERROR@GOTPAGE
Lloh3:
ldr x9, [x9, _DW_DLV_ERROR@GOTPAGEOFF]
cmp w0, w8
b.ne LBB0_29
; %bb.1:
ldr w8, [sp, #44]
tbnz w8, #31, LBB0_31
; %bb.2:
mov x22, #0 ; =0x0
Lloh4:
adrp x21, _DW_AT_location@GOTPAGE
Lloh5:
ldr x21, [x21, _DW_AT_location@GOTPAGEOFF]
Lloh6:
adrp x27, l_.str.1@PAGE
Lloh7:
add x27, x27, l_.str.1@PAGEOFF
b LBB0_6
LBB0_3: ; in Loop: Header=BB0_6 Depth=1
ldr w0, [sp, #20]
bl _dwarf_errmsg
mov x1, x0
mov x0, x27
LBB0_4: ; in Loop: Header=BB0_6 Depth=1
bl _warnx
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
sub x22, x22, #1
ldrsw x8, [sp, #44]
cmp x22, x8
b.gt LBB0_31
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #72]
ldr w0, [x8, x22, lsl #2]
add x1, sp, #32
add x2, sp, #20
bl _dwarf_whatattr
ldr w8, [x26]
cmp w0, w8
b.ne LBB0_3
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
ldr x8, [sp, #32]
ldr x9, [x21]
cmp x8, x9
b.ne LBB0_5
; %bb.8: ; in Loop: Header=BB0_6 Depth=1
Lloh8:
adrp x9, _DW_AT_string_length@GOTPAGE
Lloh9:
ldr x9, [x9, _DW_AT_string_length@GOTPAGEOFF]
Lloh10:
ldr x9, [x9]
cmp x8, x9
b.eq LBB0_16
; %bb.9: ; in Loop: Header=BB0_6 Depth=1
Lloh11:
adrp x9, _DW_AT_return_addr@GOTPAGE
Lloh12:
ldr x9, [x9, _DW_AT_return_addr@GOTPAGEOFF]
Lloh13:
ldr x9, [x9]
cmp x8, x9
b.eq LBB0_16
; %bb.10: ; in Loop: Header=BB0_6 Depth=1
Lloh14:
adrp x9, _DW_AT_data_member_location@GOTPAGE
Lloh15:
ldr x9, [x9, _DW_AT_data_member_location@GOTPAGEOFF]
Lloh16:
ldr x9, [x9]
cmp x8, x9
b.eq LBB0_16
; %bb.11: ; in Loop: Header=BB0_6 Depth=1
Lloh17:
adrp x9, _DW_AT_frame_base@GOTPAGE
Lloh18:
ldr x9, [x9, _DW_AT_frame_base@GOTPAGEOFF]
Lloh19:
ldr x9, [x9]
cmp x8, x9
b.eq LBB0_16
; %bb.12: ; in Loop: Header=BB0_6 Depth=1
Lloh20:
adrp x9, _DW_AT_segment@GOTPAGE
Lloh21:
ldr x9, [x9, _DW_AT_segment@GOTPAGEOFF]
Lloh22:
ldr x9, [x9]
cmp x8, x9
b.eq LBB0_16
; %bb.13: ; in Loop: Header=BB0_6 Depth=1
Lloh23:
adrp x9, _DW_AT_static_link@GOTPAGE
Lloh24:
ldr x9, [x9, _DW_AT_static_link@GOTPAGEOFF]
Lloh25:
ldr x9, [x9]
cmp x8, x9
b.eq LBB0_16
; %bb.14: ; in Loop: Header=BB0_6 Depth=1
Lloh26:
adrp x9, _DW_AT_use_location@GOTPAGE
Lloh27:
ldr x9, [x9, _DW_AT_use_location@GOTPAGEOFF]
Lloh28:
ldr x9, [x9]
cmp x8, x9
b.eq LBB0_16
; %bb.15: ; in Loop: Header=BB0_6 Depth=1
Lloh29:
adrp x9, _DW_AT_vtable_elem_location@GOTPAGE
Lloh30:
ldr x9, [x9, _DW_AT_vtable_elem_location@GOTPAGEOFF]
Lloh31:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_5
LBB0_16: ; in Loop: Header=BB0_6 Depth=1
ldr x8, [sp, #72]
ldr w0, [x8, x22, lsl #2]
add x1, sp, #24
add x2, sp, #20
bl _dwarf_whatform
ldr w8, [x26]
cmp w0, w8
b.ne LBB0_22
; %bb.17: ; in Loop: Header=BB0_6 Depth=1
ldr x8, [sp, #24]
Lloh32:
adrp x9, _DW_FORM_data4@GOTPAGE
Lloh33:
ldr x9, [x9, _DW_FORM_data4@GOTPAGEOFF]
Lloh34:
ldr x9, [x9]
cmp x8, x9
b.eq LBB0_23
; %bb.18: ; in Loop: Header=BB0_6 Depth=1
Lloh35:
adrp x9, _DW_FORM_data8@GOTPAGE
Lloh36:
ldr x9, [x9, _DW_FORM_data8@GOTPAGEOFF]
Lloh37:
ldr x9, [x9]
cmp x8, x9
b.eq LBB0_23
; %bb.19: ; in Loop: Header=BB0_6 Depth=1
Lloh38:
adrp x9, _DW_FORM_sec_offset@GOTPAGE
Lloh39:
ldr x9, [x9, _DW_FORM_sec_offset@GOTPAGEOFF]
Lloh40:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_5
; %bb.20: ; in Loop: Header=BB0_6 Depth=1
ldr x8, [sp, #72]
ldr w0, [x8, x22, lsl #2]
add x1, sp, #48
add x2, sp, #20
bl _dwarf_global_formref
ldr w8, [x26]
cmp w0, w8
b.ne LBB0_28
; %bb.21: ; in Loop: Header=BB0_6 Depth=1
ldr x8, [sp, #48]
str x8, [sp, #56]
b LBB0_24
LBB0_22: ; in Loop: Header=BB0_6 Depth=1
ldr w0, [sp, #20]
bl _dwarf_errmsg
mov x1, x0
Lloh41:
adrp x0, l_.str.2@PAGE
Lloh42:
add x0, x0, l_.str.2@PAGEOFF
b LBB0_4
LBB0_23: ; in Loop: Header=BB0_6 Depth=1
ldr x8, [sp, #72]
ldr w0, [x8, x22, lsl #2]
add x1, sp, #56
add x2, sp, #20
bl _dwarf_formudata
ldr w8, [x26]
cmp w0, w8
b.ne LBB0_27
LBB0_24: ; in Loop: Header=BB0_6 Depth=1
ldr x10, [sp, #8] ; 8-byte Folded Reload
ldr x9, [x10]
ldr x8, [x20]
ldr x0, [x28]
cmp x9, x8
b.ne LBB0_26
; %bb.25: ; in Loop: Header=BB0_6 Depth=1
add x8, x9, x9, lsl #2
lsl x1, x8, #4
str w25, [sp, #4] ; 4-byte Folded Spill
mov x25, x19
mov x19, x20
mov x20, x28
mov x28, x10
bl _realloc
str x0, [x20]
ldr x8, [x28]
lsl x8, x8, #1
str x8, [x28]
mov x28, x20
mov x20, x19
mov x19, x25
ldr w25, [sp, #4] ; 4-byte Folded Reload
ldr x8, [x20]
LBB0_26: ; in Loop: Header=BB0_6 Depth=1
mov w9, #40 ; =0x28
madd x9, x8, x9, x0
ldr x10, [sp, #72]
ldr w10, [x10, x22, lsl #2]
str w10, [x9, #32]
ldr x10, [sp, #56]
stp x19, x10, [x9, #16]
ldr w10, [x23, #12]
str w10, [x9, #8]
ldur d0, [x23, #4]
str d0, [x9]
add x8, x8, #1
str x8, [x20]
b LBB0_5
LBB0_27: ; in Loop: Header=BB0_6 Depth=1
ldr w0, [sp, #20]
bl _dwarf_errmsg
mov x1, x0
Lloh43:
adrp x0, l_.str.3@PAGE
Lloh44:
add x0, x0, l_.str.3@PAGEOFF
b LBB0_4
LBB0_28: ; in Loop: Header=BB0_6 Depth=1
ldr w0, [sp, #20]
bl _dwarf_errmsg
mov x1, x0
Lloh45:
adrp x0, l_.str.4@PAGE
Lloh46:
add x0, x0, l_.str.4@PAGEOFF
b LBB0_4
LBB0_29:
ldr w8, [x9]
cmp w0, w8
b.ne LBB0_31
; %bb.30:
ldr w0, [sp, #20]
bl _dwarf_errmsg
mov x1, x0
Lloh47:
adrp x0, l_.str@PAGE
Lloh48:
add x0, x0, l_.str@PAGEOFF
bl _warnx
LBB0_31:
add x1, sp, #68
add x2, sp, #20
mov x0, x24
bl _dwarf_child
Lloh49:
adrp x21, _DW_DLV_ERROR@GOTPAGE
Lloh50:
ldr x21, [x21, _DW_DLV_ERROR@GOTPAGEOFF]
ldr w8, [x21]
cmp w0, w8
b.ne LBB0_33
; %bb.32:
ldr w0, [sp, #20]
bl _dwarf_errmsg
mov x1, x0
Lloh51:
adrp x0, l_.str.6@PAGE
Lloh52:
add x0, x0, l_.str.6@PAGEOFF
bl _warnx
b LBB0_35
LBB0_33:
ldr w8, [x26]
cmp w0, w8
b.ne LBB0_35
; %bb.34:
ldr w1, [sp, #68]
mov x0, x23
mov x2, x19
mov x3, x28
mov x4, x20
ldr x5, [sp, #8] ; 8-byte Folded Reload
bl _search_loclist_at
LBB0_35:
ldr w0, [x23]
add x2, sp, #68
add x4, sp, #20
mov x1, x24
mov x3, x25
bl _dwarf_siblingof_b
ldr w8, [x21]
cmp w0, w8
b.ne LBB0_37
; %bb.36:
ldr w0, [sp, #20]
bl _dwarf_errmsg
mov x1, x0
Lloh53:
adrp x0, l_.str.7@PAGE
Lloh54:
add x0, x0, l_.str.7@PAGEOFF
bl _warnx
b LBB0_39
LBB0_37:
ldr w8, [x26]
cmp w0, w8
b.ne LBB0_39
; %bb.38:
ldr w1, [sp, #68]
mov x0, x23
mov x2, x19
mov x3, x28
mov x4, x20
ldr x5, [sp, #8] ; 8-byte Folded Reload
bl _search_loclist_at
LBB0_39:
ldp x29, x30, [sp, #160] ; 16-byte Folded Reload
ldp x20, x19, [sp, #144] ; 16-byte Folded Reload
ldp x22, x21, [sp, #128] ; 16-byte Folded Reload
ldp x24, x23, [sp, #112] ; 16-byte Folded Reload
ldp x26, x25, [sp, #96] ; 16-byte Folded Reload
ldp x28, x27, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #176
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34
.loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37
.loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40
.loh AdrpAdd Lloh41, Lloh42
.loh AdrpAdd Lloh43, Lloh44
.loh AdrpAdd Lloh45, Lloh46
.loh AdrpAdd Lloh47, Lloh48
.loh AdrpLdrGot Lloh49, Lloh50
.loh AdrpAdd Lloh51, Lloh52
.loh AdrpAdd Lloh53, Lloh54
.cfi_endproc
; -- End function
.comm _DW_DLV_OK,4,2 ; @DW_DLV_OK
.comm _DW_DLV_ERROR,4,2 ; @DW_DLV_ERROR
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "dwarf_attrlist failed: %s"
l_.str.1: ; @.str.1
.asciz "dwarf_whatattr failed: %s"
.comm _DW_AT_location,8,3 ; @DW_AT_location
.comm _DW_AT_string_length,8,3 ; @DW_AT_string_length
.comm _DW_AT_return_addr,8,3 ; @DW_AT_return_addr
.comm _DW_AT_data_member_location,8,3 ; @DW_AT_data_member_location
.comm _DW_AT_frame_base,8,3 ; @DW_AT_frame_base
.comm _DW_AT_segment,8,3 ; @DW_AT_segment
.comm _DW_AT_static_link,8,3 ; @DW_AT_static_link
.comm _DW_AT_use_location,8,3 ; @DW_AT_use_location
.comm _DW_AT_vtable_elem_location,8,3 ; @DW_AT_vtable_elem_location
l_.str.2: ; @.str.2
.asciz "dwarf_whatform failed: %s"
.comm _DW_FORM_data4,8,3 ; @DW_FORM_data4
.comm _DW_FORM_data8,8,3 ; @DW_FORM_data8
l_.str.3: ; @.str.3
.asciz "dwarf_formudata failed: %s"
.comm _DW_FORM_sec_offset,8,3 ; @DW_FORM_sec_offset
l_.str.4: ; @.str.4
.asciz "dwarf_global_formref failed: %s"
.comm _EXIT_FAILURE,4,2 ; @EXIT_FAILURE
l_.str.6: ; @.str.6
.asciz "dwarf_child: %s"
l_.str.7: ; @.str.7
.asciz "dwarf_siblingof: %s"
.no_dead_strip _search_loclist_at
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function decode_file_layout_handles
_decode_file_layout_handles: ## @decode_file_layout_handles
.cfi_startproc
## %bb.0:
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
leaq -44(%rbp), %rsi
callq _xdr_u_int32_t
movq _FALSE@GOTPCREL(%rip), %r15
testl %eax, %eax
je LBB0_12
## %bb.1:
movl -44(%rbp), %esi
movl (%rbx), %eax
testl %esi, %esi
je LBB0_6
## %bb.2:
cmpl %eax, %esi
jne LBB0_4
## %bb.3:
movl %esi, %eax
jmp LBB0_6
LBB0_4:
movq 8(%rbx), %rdi
shll $2, %esi
callq _realloc
testq %rax, %rax
je LBB0_12
## %bb.5:
movq %rax, 8(%rbx)
movl -44(%rbp), %esi
shll $2, %esi
movq %rax, %rdi
callq _ZeroMemory
movl -44(%rbp), %eax
movl %eax, (%rbx)
LBB0_6:
movq _TRUE@GOTPCREL(%rip), %rcx
testl %eax, %eax
js LBB0_7
## %bb.10:
xorl %r13d, %r13d
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_11: ## =>This Inner Loop Header: Depth=1
movq 8(%rbx), %rsi
addq %r13, %rsi
movq %r14, %rdi
callq _xdr_fh
testl %eax, %eax
je LBB0_12
## %bb.8: ## in Loop: Header=BB0_11 Depth=1
decq %r12
movslq (%rbx), %rax
addq $-4, %r13
cmpq %rax, %r12
jle LBB0_11
## %bb.9:
movq _TRUE@GOTPCREL(%rip), %r15
jmp LBB0_12
LBB0_7:
movq %rcx, %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 _FALSE,4,2 ## @FALSE
.comm _TRUE,4,2 ## @TRUE
.no_dead_strip _decode_file_layout_handles
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function decode_file_layout_handles
_decode_file_layout_handles: ; @decode_file_layout_handles
.cfi_startproc
; %bb.0:
sub sp, sp, #80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x1
mov x20, x0
add x1, sp, #12
bl _xdr_u_int32_t
cbz w0, LBB0_9
; %bb.1:
ldr w8, [sp, #12]
ldr w9, [x19]
cbz w8, LBB0_10
; %bb.2:
cmp w8, w9
b.eq LBB0_5
; %bb.3:
ldr x0, [x19, #8]
lsl w1, w8, #2
bl _realloc
cbz x0, LBB0_9
; %bb.4:
str x0, [x19, #8]
ldr w8, [sp, #12]
lsl w1, w8, #2
bl _ZeroMemory
ldr w8, [sp, #12]
str w8, [x19]
LBB0_5:
tbnz w8, #31, LBB0_11
LBB0_6:
mov x22, #0 ; =0x0
mov x23, #0 ; =0x0
Lloh0:
adrp x24, _FALSE@GOTPAGE
Lloh1:
ldr x24, [x24, _FALSE@GOTPAGEOFF]
Lloh2:
adrp x21, _TRUE@GOTPAGE
Lloh3:
ldr x21, [x21, _TRUE@GOTPAGEOFF]
LBB0_7: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #8]
add x1, x8, x22
mov x0, x20
bl _xdr_fh
cbz w0, LBB0_12
; %bb.8: ; in Loop: Header=BB0_7 Depth=1
sub x23, x23, #1
ldrsw x8, [x19]
sub x22, x22, #4
cmp x23, x8
b.le LBB0_7
b LBB0_13
LBB0_9:
Lloh4:
adrp x21, _FALSE@GOTPAGE
Lloh5:
ldr x21, [x21, _FALSE@GOTPAGEOFF]
b LBB0_13
LBB0_10:
mov x8, x9
tbz w8, #31, LBB0_6
LBB0_11:
Lloh6:
adrp x21, _TRUE@GOTPAGE
Lloh7:
ldr x21, [x21, _TRUE@GOTPAGEOFF]
b LBB0_13
LBB0_12:
mov x21, x24
LBB0_13:
ldr w0, [x21]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _FALSE,4,2 ; @FALSE
.comm _TRUE,4,2 ; @TRUE
.no_dead_strip _decode_file_layout_handles
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function get_string
_get_string: ## @get_string
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $72, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %ebx
movl %edi, -52(%rbp) ## 4-byte Spill
testl %edx, %edx
je LBB0_2
## %bb.1:
movq %rsi, %r13
leal -1(%rbx), %eax
movslq %eax, %r15
jmp LBB0_6
LBB0_2:
movq _PAGE_SIZE@GOTPCREL(%rip), %rax
movq (%rax), %r15
movq %rsi, %rax
orq %r15, %rax
shrq $32, %rax
je LBB0_3
## %bb.4:
movq %rsi, %rax
xorl %edx, %edx
divq %r15
jmp LBB0_5
LBB0_3:
movl %esi, %eax
xorl %edx, %edx
divl %r15d
## kill: def $edx killed $edx def $rdx
LBB0_5:
movq %rsi, %r13
subq %rdx, %r15
movq _MAXSIZE@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq %rax, %r15
cmovaeq %rax, %r15
LBB0_6:
movq %r15, %rdi
callq _malloc
testq %rax, %rax
je LBB0_7
## %bb.8:
movq %rbx, -72(%rbp) ## 8-byte Spill
xorl %r14d, %r14d
movq %r15, %r12
movq %r13, %rcx
movq %r13, -64(%rbp) ## 8-byte Spill
jmp LBB0_9
.p2align 4, 0x90
LBB0_15: ## in Loop: Header=BB0_9 Depth=1
addq %rax, %r14
subq %rbx, %r15
movq _PAGE_SIZE@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq %rax, %r15
cmovaeq %rax, %r15
leaq (%r15,%rbx), %r12
movq -48(%rbp), %r13 ## 8-byte Reload
movq %r13, %rdi
movq %r12, %rsi
callq _realloc
testq %rax, %rax
movq -64(%rbp), %rcx ## 8-byte Reload
je LBB0_17
LBB0_9: ## =>This Inner Loop Header: Depth=1
movq %r12, %rbx
movq %rax, %rdx
movq _PIOD_READ_D@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -80(%rbp)
leaq (%r14,%rcx), %rax
movq %rax, -88(%rbp)
movq %rdx, -48(%rbp) ## 8-byte Spill
leaq (%rdx,%r14), %r12
movq %r12, -104(%rbp)
movq %r15, -96(%rbp)
movq _PT_IO@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl -52(%rbp), %esi ## 4-byte Reload
leaq -104(%rbp), %rdx
## kill: def $edx killed $edx killed $rdx
xorl %ecx, %ecx
callq _ptrace
testq %rax, %rax
js LBB0_10
## %bb.11: ## in Loop: Header=BB0_9 Depth=1
movq %r12, %rdi
xorl %esi, %esi
movq %r15, %rdx
callq _memchr
testq %rax, %rax
jne LBB0_12
## %bb.13: ## in Loop: Header=BB0_9 Depth=1
movq %r15, %rax
movq _MAXSIZE@GOTPCREL(%rip), %rcx
movq (%rcx), %r15
cmpl $0, -72(%rbp) ## 4-byte Folded Reload
je LBB0_15
## %bb.14: ## in Loop: Header=BB0_9 Depth=1
cmpq %rbx, %r15
jae LBB0_15
## %bb.16:
movq -48(%rbp), %r13 ## 8-byte Reload
LBB0_17:
movb $0, -1(%rbx,%r13)
jmp LBB0_18
LBB0_7:
xorl %r13d, %r13d
jmp LBB0_18
LBB0_10:
movq -48(%rbp), %rdi ## 8-byte Reload
callq _free
xorl %r13d, %r13d
jmp LBB0_18
LBB0_12:
movq -48(%rbp), %r13 ## 8-byte Reload
LBB0_18:
movq %r13, %rax
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PAGE_SIZE,8,3 ## @PAGE_SIZE
.comm _MAXSIZE,8,3 ## @MAXSIZE
.comm _PIOD_READ_D,4,2 ## @PIOD_READ_D
.comm _PT_IO,4,2 ## @PT_IO
.no_dead_strip _get_string
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function get_string
_get_string: ; @get_string
.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 x20, x1
mov x21, x0
Lloh0:
adrp x8, _PAGE_SIZE@GOTPAGE
Lloh1:
ldr x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh2:
adrp x11, _MAXSIZE@GOTPAGE
Lloh3:
ldr x11, [x11, _MAXSIZE@GOTPAGEOFF]
cbz w2, LBB0_2
; %bb.1:
sub w8, w19, #1
sxtw x22, w8
b LBB0_3
LBB0_2:
ldr x8, [x8]
udiv x9, x20, x8
neg x10, x20
madd x9, x9, x8, x10
ldr x10, [x11]
add x8, x8, x9
cmp x8, x10
csel x22, x8, x10, lo
LBB0_3:
mov x0, x22
bl _malloc
cbz x0, LBB0_12
; %bb.4:
mov x27, #0 ; =0x0
Lloh4:
adrp x28, _PIOD_READ_D@GOTPAGE
Lloh5:
ldr x28, [x28, _PIOD_READ_D@GOTPAGEOFF]
Lloh6:
adrp x25, _PT_IO@GOTPAGE
Lloh7:
ldr x25, [x25, _PT_IO@GOTPAGEOFF]
mov x24, x22
b LBB0_6
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
add x27, x22, x27
Lloh8:
adrp x9, _PAGE_SIZE@GOTPAGE
Lloh9:
ldr x9, [x9, _PAGE_SIZE@GOTPAGEOFF]
Lloh10:
ldr x9, [x9]
sub x8, x8, x26
cmp x8, x9
csel x22, x8, x9, lo
add x24, x22, x26
mov x0, x23
mov x1, x24
bl _realloc
cbz x0, LBB0_10
LBB0_6: ; =>This Inner Loop Header: Depth=1
mov x26, x24
mov x23, x0
ldr w8, [x28]
str w8, [sp, #24]
add x8, x27, x20
stp x22, x8, [sp, #8]
add x24, x0, x27
str x24, [sp]
ldr w0, [x25]
mov x2, sp
mov x1, x21
mov w3, #0 ; =0x0
bl _ptrace
tbnz x0, #63, LBB0_11
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
mov x0, x24
mov w1, #0 ; =0x0
mov x2, x22
bl _memchr
cbnz x0, LBB0_13
; %bb.8: ; in Loop: Header=BB0_6 Depth=1
Lloh11:
adrp x8, _MAXSIZE@GOTPAGE
Lloh12:
ldr x8, [x8, _MAXSIZE@GOTPAGEOFF]
Lloh13:
ldr x8, [x8]
cbz w19, LBB0_5
; %bb.9: ; in Loop: Header=BB0_6 Depth=1
cmp x8, x26
b.hs LBB0_5
LBB0_10:
add x8, x26, x23
sturb wzr, [x8, #-1]
b LBB0_13
LBB0_11:
mov x0, x23
bl _free
LBB0_12:
mov x23, #0 ; =0x0
LBB0_13:
mov x0, x23
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 Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.cfi_endproc
; -- End function
.comm _PAGE_SIZE,8,3 ; @PAGE_SIZE
.comm _MAXSIZE,8,3 ; @MAXSIZE
.comm _PIOD_READ_D,4,2 ; @PIOD_READ_D
.comm _PT_IO,4,2 ; @PT_IO
.no_dead_strip _get_string
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _SekInitIdleDet ## -- Begin function SekInitIdleDet
.p2align 4, 0x90
_SekInitIdleDet: ## @SekInitIdleDet
.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 _idledet_ptrs@GOTPCREL(%rip), %r14
movq (%r14), %rdi
movl $2048, %esi ## imm = 0x800
callq _realloc
movq %rax, %rbx
testq %rax, %rax
jne LBB0_2
## %bb.1:
movq (%r14), %rdi
callq _free
LBB0_2:
movq %rbx, (%r14)
movq _idledet_bads@GOTPCREL(%rip), %rax
movq $0, (%rax)
movq _idledet_count@GOTPCREL(%rip), %rax
movq $0, (%rax)
movq _Pico@GOTPCREL(%rip), %rax
movq $-360, %rcx ## imm = 0xFE98
addq (%rax), %rcx
movq _idledet_start_frame@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _idledet_ptrs,8,3 ## @idledet_ptrs
.comm _idledet_bads,8,3 ## @idledet_bads
.comm _idledet_count,8,3 ## @idledet_count
.comm _Pico,8,3 ## @Pico
.comm _idledet_start_frame,8,3 ## @idledet_start_frame
.comm _idlehit_addrs,8,3 ## @idlehit_addrs
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _SekInitIdleDet ; -- Begin function SekInitIdleDet
.p2align 2
_SekInitIdleDet: ; @SekInitIdleDet
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x20, _idledet_ptrs@GOTPAGE
Lloh1:
ldr x20, [x20, _idledet_ptrs@GOTPAGEOFF]
ldr x0, [x20]
mov w1, #2048 ; =0x800
bl _realloc
mov x19, x0
cbnz x0, LBB0_2
; %bb.1:
ldr x0, [x20]
bl _free
LBB0_2:
Lloh2:
adrp x8, _idledet_bads@GOTPAGE
Lloh3:
ldr x8, [x8, _idledet_bads@GOTPAGEOFF]
str x19, [x20]
Lloh4:
str xzr, [x8]
Lloh5:
adrp x8, _idledet_count@GOTPAGE
Lloh6:
ldr x8, [x8, _idledet_count@GOTPAGEOFF]
Lloh7:
adrp x9, _Pico@GOTPAGE
Lloh8:
ldr x9, [x9, _Pico@GOTPAGEOFF]
Lloh9:
str xzr, [x8]
Lloh10:
ldr x8, [x9]
sub x8, x8, #360
Lloh11:
adrp x9, _idledet_start_frame@GOTPAGE
Lloh12:
ldr x9, [x9, _idledet_start_frame@GOTPAGEOFF]
Lloh13:
str x8, [x9]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotStr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh10
.loh AdrpLdrGotStr Lloh5, Lloh6, Lloh9
.loh AdrpLdrGotStr Lloh2, Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _idledet_ptrs,8,3 ; @idledet_ptrs
.comm _idledet_bads,8,3 ; @idledet_bads
.comm _idledet_count,8,3 ; @idledet_count
.comm _Pico,8,3 ; @Pico
.comm _idledet_start_frame,8,3 ; @idledet_start_frame
.comm _idlehit_addrs,8,3 ; @idlehit_addrs
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function add_style
_add_style: ## @add_style
.cfi_startproc
## %bb.0:
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
xorl %ebx, %ebx
testq %rsi, %rsi
je LBB0_37
## %bb.1:
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %r14
movl (%rdi), %r15d
leal -1(%r15), %eax
cmpl 4(%rdi), %eax
jle LBB0_5
## %bb.2:
movl %r15d, %eax
addl %eax, %eax
leal 2(,%r15,2), %ecx
movl %ecx, 4(%r14)
movq 16(%r14), %rdi
leal 8(,%rax,4), %esi
callq _realloc
testq %rax, %rax
je LBB0_3
## %bb.4:
movq %rax, 16(%r14)
movl (%r14), %r15d
LBB0_5:
movl 36(%r12), %esi
movq %r13, %rdi
callq _field_value
movq %rax, %rbx
testq %rax, %rax
leaq L_.str(%rip), %rsi
cmoveq %rsi, %rbx
movq %rbx, %rdi
callq _strcasecmp
testl %eax, %eax
jne LBB0_7
## %bb.6:
movl %r15d, 8(%r14)
movl %r15d, 12(%r14)
LBB0_7:
movq %rbx, %rdi
callq _strdup
movq 16(%r14), %rcx
movq %r15, -72(%rbp) ## 8-byte Spill
movslq %r15d, %rdx
imulq $56, %rdx, %r15
movq %rax, 48(%rcx,%r15)
movl 32(%r12), %esi
movq %r13, %rdi
callq _field_value
testq %rax, %rax
jne LBB0_9
## %bb.8:
movq _HB_FONT_SANS@GOTPCREL(%rip), %rax
movq (%rax), %rax
LBB0_9:
movq %rax, %rdi
callq _strdup
movq 16(%r14), %rcx
movq %rax, 40(%rcx,%r15)
movl 28(%r12), %esi
movq %r13, %rdi
callq _field_value
testq %rax, %rax
je LBB0_10
## %bb.11:
movq %rax, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq _strtol
jmp LBB0_12
LBB0_10:
movl $72, %eax
LBB0_12:
movq 16(%r14), %rcx
movl %eax, (%rcx,%r15)
movq %r12, -48(%rbp) ## 8-byte Spill
movl 24(%r12), %esi
movq %r13, %rdi
callq _field_value
movq %rax, %rbx
testq %rax, %rax
jne LBB0_14
## %bb.13:
xorl %r12d, %r12d
xorl %edi, %edi
callq _strlen
movl %eax, %ecx
movl $16777215, %eax ## imm = 0xFFFFFF
cmpl $3, %ecx
jl LBB0_15
LBB0_14:
addq $2, %rbx
movq %rbx, %rdi
xorl %esi, %esi
movl $16, %edx
callq _strtol
movl %eax, %ebx
movl %eax, %edi
callq _HB_BGR_TO_RGB
sarl $24, %ebx
movl $255, %r12d
subl %ebx, %r12d
LBB0_15:
movq 16(%r14), %rcx
movl %eax, 4(%rcx,%r15)
movl %r12d, 8(%rcx,%r15)
movq -48(%rbp), %rax ## 8-byte Reload
movl 20(%rax), %esi
movq %r13, -64(%rbp) ## 8-byte Spill
movq %r13, %rdi
callq _field_value
movl $16777215, %ebx ## imm = 0xFFFFFF
movl $255, -52(%rbp) ## 4-byte Folded Spill
testq %rax, %rax
je LBB0_16
## %bb.17:
movq %rax, %r12
movq %rax, %rdi
callq _strlen
movl $255, %r13d
cmpl $3, %eax
jl LBB0_19
## %bb.18:
addq $2, %r12
movq %r12, %rdi
xorl %esi, %esi
movl $16, %edx
callq _strtol
movl %eax, %r13d
movl %eax, %edi
callq _HB_BGR_TO_RGB
movl %eax, %ebx
sarl $24, %r13d
jmp LBB0_19
LBB0_16:
movl $255, %r13d
LBB0_19:
movq 16(%r14), %rax
movl %ebx, 12(%rax,%r15)
movl %r13d, 16(%rax,%r15)
movq -48(%rbp), %rax ## 8-byte Reload
movl 16(%rax), %esi
movq -64(%rbp), %r13 ## 8-byte Reload
movq %r13, %rdi
callq _field_value
movl $986895, %ebx ## imm = 0xF0F0F
testq %rax, %rax
je LBB0_20
## %bb.21:
movq %rax, %r12
movq %rax, %rdi
callq _strlen
movl %eax, %ecx
movl $986895, %eax ## imm = 0xF0F0F
cmpl $3, %ecx
jl LBB0_23
## %bb.22:
addq $2, %r12
movq %r12, %rdi
xorl %esi, %esi
movl $16, %edx
callq _strtol
movl %eax, %r12d
movl %eax, %edi
callq _HB_BGR_TO_RGB
sarl $24, %r12d
movl %r12d, -52(%rbp) ## 4-byte Spill
jmp LBB0_23
LBB0_20:
movl $986895, %eax ## imm = 0xF0F0F
LBB0_23:
movq 16(%r14), %rcx
movl %eax, 20(%rcx,%r15)
movl -52(%rbp), %eax ## 4-byte Reload
movl %eax, 24(%rcx,%r15)
movq -48(%rbp), %rax ## 8-byte Reload
movl 12(%rax), %esi
movq %r13, %rdi
callq _field_value
movl $255, %r13d
testq %rax, %rax
je LBB0_26
## %bb.24:
movq %rax, %r12
movq %rax, %rdi
callq _strlen
cmpl $3, %eax
jl LBB0_26
## %bb.25:
addq $2, %r12
movq %r12, %rdi
xorl %esi, %esi
movl $16, %edx
callq _strtol
movl %eax, %r13d
movl %eax, %edi
callq _HB_BGR_TO_RGB
movl %eax, %ebx
sarl $24, %r13d
LBB0_26:
movq 16(%r14), %rax
movl %ebx, 28(%rax,%r15)
movl %r13d, 32(%rax,%r15)
movl $0, 36(%rax,%r15)
movq -48(%rbp), %rax ## 8-byte Reload
movl 8(%rax), %esi
movq -64(%rbp), %r12 ## 8-byte Reload
movq %r12, %rdi
callq _field_value
testq %rax, %rax
je LBB0_27
## %bb.28:
movq %rax, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq _strtol
testl %eax, %eax
movl $0, %ebx
je LBB0_30
## %bb.29:
movq _HB_STYLE_FLAG_BOLD@GOTPCREL(%rip), %rax
movl (%rax), %eax
jmp LBB0_30
LBB0_27:
movq _HB_STYLE_FLAG_BOLD@GOTPCREL(%rip), %rax
movl (%rax), %eax
xorl %ebx, %ebx
LBB0_30:
movq 16(%r14), %rcx
orl %eax, 36(%rcx,%r15)
movq -48(%rbp), %rax ## 8-byte Reload
movl 4(%rax), %esi
movq %r12, %rdi
callq _field_value
testq %rax, %rax
je LBB0_32
## %bb.31:
movq %rax, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq _strtol
testl %eax, %eax
je LBB0_33
LBB0_32:
movq _HB_STYLE_FLAG_ITALIC@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_33:
movq 16(%r14), %rcx
orl %eax, 36(%rcx,%r15)
movq -48(%rbp), %rax ## 8-byte Reload
movl (%rax), %esi
movq %r12, %rdi
callq _field_value
testq %rax, %rax
je LBB0_35
## %bb.34:
movq %rax, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq _strtol
testl %eax, %eax
je LBB0_36
LBB0_35:
movq _HB_STYLE_FLAG_UNDERLINE@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_36:
movq 16(%r14), %rcx
orl %eax, 36(%rcx,%r15)
movq -72(%rbp), %rax ## 8-byte Reload
incl %eax
movl %eax, (%r14)
LBB0_37:
movl %ebx, %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_3:
movl $1, %ebx
jmp LBB0_37
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Default"
.comm _HB_FONT_SANS,8,3 ## @HB_FONT_SANS
.comm _HB_STYLE_FLAG_BOLD,4,2 ## @HB_STYLE_FLAG_BOLD
.comm _HB_STYLE_FLAG_ITALIC,4,2 ## @HB_STYLE_FLAG_ITALIC
.comm _HB_STYLE_FLAG_UNDERLINE,4,2 ## @HB_STYLE_FLAG_UNDERLINE
.no_dead_strip _add_style
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function add_style
_add_style: ; @add_style
.cfi_startproc
; %bb.0:
cbz x1, 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 x21, x2
mov x20, x1
mov x19, x0
ldp w24, w8, [x0]
sub w9, w24, #1
cmp w9, w8
b.le LBB0_4
; %bb.2:
lsl w8, w24, #1
add w8, w8, #2
str w8, [x19, #4]
ldr x0, [x19, #16]
lsl w1, w8, #2
bl _realloc
cbz x0, LBB0_37
; %bb.3:
str x0, [x19, #16]
ldr w24, [x19]
LBB0_4:
ldr w1, [x21, #36]
mov x0, x20
bl _field_value
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
cmp x0, #0
csel x22, x1, x0, eq
mov x0, x22
bl _strcasecmp
cbnz w0, LBB0_6
; %bb.5:
stp w24, w24, [x19, #8]
LBB0_6:
mov x0, x22
bl _strdup
ldr x8, [x19, #16]
sxtw x25, w24
sbfiz x9, x24, #6, #32
sub x22, x9, w24, sxtw #3
add x8, x8, x22
str x0, [x8, #48]
ldr w1, [x21, #32]
mov x0, x20
bl _field_value
Lloh2:
adrp x8, _HB_FONT_SANS@GOTPAGE
Lloh3:
ldr x8, [x8, _HB_FONT_SANS@GOTPAGEOFF]
Lloh4:
ldr x8, [x8]
cmp x0, #0
csel x0, x8, x0, eq
bl _strdup
ldr x8, [x19, #16]
add x8, x8, x22
str x0, [x8, #40]
ldr w1, [x21, #28]
mov x0, x20
bl _field_value
cbz x0, LBB0_9
; %bb.7:
mov x1, #0 ; =0x0
mov w2, #0 ; =0x0
bl _strtol
b LBB0_10
LBB0_8:
mov w0, #0 ; =0x0
ret
LBB0_9:
mov w0, #72 ; =0x48
LBB0_10:
ldr x8, [x19, #16]
mov w9, #56 ; =0x38
smull x9, w25, w9
str w0, [x8, x9]
ldr w1, [x21, #24]
mov x0, x20
bl _field_value
mov x22, x0
cbnz x0, LBB0_13
; %bb.11:
bl _strlen
cmp w0, #3
b.ge LBB0_13
; %bb.12:
mov w8, #0 ; =0x0
mov w0, #16777215 ; =0xffffff
b LBB0_14
LBB0_13:
add x0, x22, #2
mov x1, #0 ; =0x0
mov w2, #16 ; =0x10
bl _strtol
mov x22, x0
bl _HB_BGR_TO_RGB
mov w8, #255 ; =0xff
sub w8, w8, w22, asr #24
LBB0_14:
ldr x9, [x19, #16]
mov w10, #56 ; =0x38
smaddl x9, w25, w10, x9
stp w0, w8, [x9, #4]
ldr w1, [x21, #20]
mov x0, x20
bl _field_value
cbz x0, LBB0_16
; %bb.15:
mov x22, x0
bl _strlen
cmp w0, #3
b.ge LBB0_17
LBB0_16:
mov w0, #16777215 ; =0xffffff
mov w8, #255 ; =0xff
b LBB0_18
LBB0_17:
add x0, x22, #2
mov x1, #0 ; =0x0
mov w2, #16 ; =0x10
bl _strtol
mov x22, x0
bl _HB_BGR_TO_RGB
asr w8, w22, #24
LBB0_18:
mov w22, #3855 ; =0xf0f
movk w22, #15, lsl #16
ldr x9, [x19, #16]
mov w10, #56 ; =0x38
smaddl x9, w25, w10, x9
stp w0, w8, [x9, #12]
ldr w1, [x21, #16]
mov x0, x20
bl _field_value
cbz x0, LBB0_20
; %bb.19:
mov x23, x0
bl _strlen
cmp w0, #3
b.ge LBB0_21
LBB0_20:
mov w8, #255 ; =0xff
mov w0, #3855 ; =0xf0f
movk w0, #15, lsl #16
b LBB0_22
LBB0_21:
add x0, x23, #2
mov x1, #0 ; =0x0
mov w2, #16 ; =0x10
bl _strtol
mov x23, x0
bl _HB_BGR_TO_RGB
asr w8, w23, #24
LBB0_22:
ldr x9, [x19, #16]
mov w10, #56 ; =0x38
smaddl x9, w25, w10, x9
stp w0, w8, [x9, #20]
ldr w1, [x21, #12]
mov x0, x20
bl _field_value
cbz x0, LBB0_24
; %bb.23:
mov x23, x0
bl _strlen
cmp w0, #3
b.ge LBB0_25
LBB0_24:
mov w8, #255 ; =0xff
b LBB0_26
LBB0_25:
add x0, x23, #2
mov x1, #0 ; =0x0
mov w2, #16 ; =0x10
bl _strtol
mov x23, x0
bl _HB_BGR_TO_RGB
mov x22, x0
asr w8, w23, #24
LBB0_26:
ldr x9, [x19, #16]
mov w10, #56 ; =0x38
smaddl x9, w25, w10, x9
stp w22, w8, [x9, #28]
str wzr, [x9, #36]
ldr w1, [x21, #8]
mov x0, x20
bl _field_value
cbz x0, LBB0_28
; %bb.27:
mov x1, #0 ; =0x0
mov w2, #0 ; =0x0
bl _strtol
Lloh5:
adrp x8, _HB_STYLE_FLAG_BOLD@GOTPAGE
Lloh6:
ldr x8, [x8, _HB_STYLE_FLAG_BOLD@GOTPAGEOFF]
Lloh7:
ldr w8, [x8]
cmp w0, #0
csel w8, wzr, w8, eq
b LBB0_29
LBB0_28:
Lloh8:
adrp x8, _HB_STYLE_FLAG_BOLD@GOTPAGE
Lloh9:
ldr x8, [x8, _HB_STYLE_FLAG_BOLD@GOTPAGEOFF]
Lloh10:
ldr w8, [x8]
LBB0_29:
ldr x9, [x19, #16]
mov w10, #56 ; =0x38
smaddl x9, w25, w10, x9
ldr w10, [x9, #36]
orr w8, w10, w8
str w8, [x9, #36]
ldr w1, [x21, #4]
mov x0, x20
bl _field_value
cbz x0, LBB0_31
; %bb.30:
mov x1, #0 ; =0x0
mov w2, #0 ; =0x0
bl _strtol
Lloh11:
adrp x8, _HB_STYLE_FLAG_ITALIC@GOTPAGE
Lloh12:
ldr x8, [x8, _HB_STYLE_FLAG_ITALIC@GOTPAGEOFF]
Lloh13:
ldr w8, [x8]
cmp w0, #0
csel w8, wzr, w8, eq
b LBB0_32
LBB0_31:
Lloh14:
adrp x8, _HB_STYLE_FLAG_ITALIC@GOTPAGE
Lloh15:
ldr x8, [x8, _HB_STYLE_FLAG_ITALIC@GOTPAGEOFF]
Lloh16:
ldr w8, [x8]
LBB0_32:
ldr x9, [x19, #16]
mov w10, #56 ; =0x38
smaddl x9, w25, w10, x9
ldr w10, [x9, #36]
orr w8, w10, w8
str w8, [x9, #36]
ldr w1, [x21]
mov x0, x20
bl _field_value
cbz x0, LBB0_34
; %bb.33:
mov x1, #0 ; =0x0
mov w2, #0 ; =0x0
bl _strtol
Lloh17:
adrp x8, _HB_STYLE_FLAG_UNDERLINE@GOTPAGE
Lloh18:
ldr x8, [x8, _HB_STYLE_FLAG_UNDERLINE@GOTPAGEOFF]
Lloh19:
ldr w8, [x8]
cmp w0, #0
csel w8, wzr, w8, eq
b LBB0_35
LBB0_34:
Lloh20:
adrp x8, _HB_STYLE_FLAG_UNDERLINE@GOTPAGE
Lloh21:
ldr x8, [x8, _HB_STYLE_FLAG_UNDERLINE@GOTPAGEOFF]
Lloh22:
ldr w8, [x8]
LBB0_35:
mov w0, #0 ; =0x0
ldr x9, [x19, #16]
mov w10, #56 ; =0x38
smaddl x9, w25, w10, x9
ldr w10, [x9, #36]
orr w8, w10, w8
str w8, [x9, #36]
add w8, w24, #1
str w8, [x19]
LBB0_36:
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_37:
mov w0, #1 ; =0x1
b LBB0_36
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Default"
.comm _HB_FONT_SANS,8,3 ; @HB_FONT_SANS
.comm _HB_STYLE_FLAG_BOLD,4,2 ; @HB_STYLE_FLAG_BOLD
.comm _HB_STYLE_FLAG_ITALIC,4,2 ; @HB_STYLE_FLAG_ITALIC
.comm _HB_STYLE_FLAG_UNDERLINE,4,2 ; @HB_STYLE_FLAG_UNDERLINE
.no_dead_strip _add_style
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function parse_syntax_octetstring
_parse_syntax_octetstring: ## @parse_syntax_octetstring
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movq _token@GOTPCREL(%rip), %r14
movq (%r14), %rax
movq _TOK_STR@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_1
## %bb.17:
movq _strvallen@GOTPCREL(%rip), %rax
movq (%rax), %r14
movq %r14, (%rbx)
movq %r14, %rdi
callq _malloc
movq %rax, 8(%rbx)
movq _strval@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movq %rax, %rdi
movq %r14, %rdx
callq _memcpy
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _gettoken ## TAILCALL
LBB0_1:
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
movq (%r14), %rax
movq _TOK_NUM@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_16
## %bb.2:
xorl %eax, %eax
callq _ERRPUSH
testq %rax, %rax
je LBB0_4
## %bb.3:
movq 8(%rbx), %rdi
callq _free
xorl %eax, %eax
callq _ERRNEXT
LBB0_4:
movq _numval@GOTPCREL(%rip), %r12
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq (%r14), %rax
movq _TOK_NUM@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_7
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
leaq L_.str(%rip), %rdi
callq _report
LBB0_7: ## in Loop: Header=BB0_5 Depth=1
cmpl $255, (%r12)
jl LBB0_9
## %bb.8: ## in Loop: Header=BB0_5 Depth=1
leaq L_.str.1(%rip), %rdi
callq _report
LBB0_9: ## in Loop: Header=BB0_5 Depth=1
movq (%rbx), %rax
movq 8(%rbx), %r15
cmpq %rax, %r13
jne LBB0_13
## %bb.10: ## in Loop: Header=BB0_5 Depth=1
addq $100, %r13
movq %r15, %rdi
movq %r13, %rsi
callq _realloc
movq %rax, %r15
testq %rax, %rax
je LBB0_12
## %bb.11: ## in Loop: Header=BB0_5 Depth=1
leaq L_.str.2(%rip), %rdi
callq _report
LBB0_12: ## in Loop: Header=BB0_5 Depth=1
movq %r15, 8(%rbx)
movq (%rbx), %rax
LBB0_13: ## in Loop: Header=BB0_5 Depth=1
movl (%r12), %ecx
leaq 1(%rax), %rdx
movq %rdx, (%rbx)
movl %ecx, (%r15,%rax,4)
xorl %eax, %eax
callq _gettoken
cmpb $58, %al
jne LBB0_15
## %bb.14: ## in Loop: Header=BB0_5 Depth=1
xorl %eax, %eax
callq _gettoken
jmp LBB0_5
LBB0_15:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _ERRPOP ## TAILCALL
LBB0_16:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _token,8,3 ## @token
.comm _TOK_STR,8,3 ## @TOK_STR
.comm _strvallen,8,3 ## @strvallen
.comm _strval,4,2 ## @strval
.comm _TOK_NUM,8,3 ## @TOK_NUM
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "bad OCTETSTRING syntax"
.comm _numval,4,2 ## @numval
L_.str.1: ## @.str.1
.asciz "byte value too large"
L_.str.2: ## @.str.2
.asciz "%m"
.no_dead_strip _parse_syntax_octetstring
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function parse_syntax_octetstring
_parse_syntax_octetstring: ; @parse_syntax_octetstring
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x0
Lloh0:
adrp x24, _token@GOTPAGE
Lloh1:
ldr x24, [x24, _token@GOTPAGEOFF]
ldr x8, [x24]
Lloh2:
adrp x9, _TOK_STR@GOTPAGE
Lloh3:
ldr x9, [x9, _TOK_STR@GOTPAGEOFF]
Lloh4:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_2
; %bb.1:
Lloh5:
adrp x8, _strvallen@GOTPAGE
Lloh6:
ldr x8, [x8, _strvallen@GOTPAGEOFF]
Lloh7:
ldr x20, [x8]
str x20, [x19]
mov x0, x20
bl _malloc
str x0, [x19, #8]
Lloh8:
adrp x8, _strval@GOTPAGE
Lloh9:
ldr x8, [x8, _strval@GOTPAGEOFF]
Lloh10:
ldr w1, [x8]
mov x2, x20
bl _memcpy
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 _gettoken
LBB0_2:
stp xzr, xzr, [x19]
ldr x8, [x24]
Lloh11:
adrp x25, _TOK_NUM@GOTPAGE
Lloh12:
ldr x25, [x25, _TOK_NUM@GOTPAGEOFF]
ldr x9, [x25]
cmp x8, x9
b.ne LBB0_17
; %bb.3:
bl _ERRPUSH
cbz x0, LBB0_5
; %bb.4:
ldr x0, [x19, #8]
bl _free
bl _ERRNEXT
LBB0_5:
mov x20, #0 ; =0x0
Lloh13:
adrp x26, _numval@GOTPAGE
Lloh14:
ldr x26, [x26, _numval@GOTPAGEOFF]
Lloh15:
adrp x21, l_.str.1@PAGE
Lloh16:
add x21, x21, l_.str.1@PAGEOFF
Lloh17:
adrp x22, l_.str.2@PAGE
Lloh18:
add x22, x22, l_.str.2@PAGEOFF
Lloh19:
adrp x23, l_.str@PAGE
Lloh20:
add x23, x23, l_.str@PAGEOFF
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldr x8, [x24]
ldr x9, [x25]
cmp x8, x9
b.eq LBB0_8
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
mov x0, x23
bl _report
LBB0_8: ; in Loop: Header=BB0_6 Depth=1
ldr w8, [x26]
cmp w8, #255
b.lt LBB0_10
; %bb.9: ; in Loop: Header=BB0_6 Depth=1
mov x0, x21
bl _report
LBB0_10: ; in Loop: Header=BB0_6 Depth=1
ldp x8, x0, [x19]
cmp x20, x8
b.ne LBB0_14
; %bb.11: ; in Loop: Header=BB0_6 Depth=1
add x20, x20, #100
mov x1, x20
bl _realloc
cbz x0, LBB0_13
; %bb.12: ; in Loop: Header=BB0_6 Depth=1
mov x27, x0
mov x0, x22
bl _report
mov x0, x27
LBB0_13: ; in Loop: Header=BB0_6 Depth=1
str x0, [x19, #8]
ldr x8, [x19]
LBB0_14: ; in Loop: Header=BB0_6 Depth=1
ldr w9, [x26]
add x10, x8, #1
str x10, [x19]
str w9, [x0, x8, lsl #2]
bl _gettoken
cmp w0, #58
b.ne LBB0_16
; %bb.15: ; in Loop: Header=BB0_6 Depth=1
bl _gettoken
b LBB0_6
LBB0_16:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
b _ERRPOP
LBB0_17:
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 Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpLdrGot Lloh13, Lloh14
.cfi_endproc
; -- End function
.comm _token,8,3 ; @token
.comm _TOK_STR,8,3 ; @TOK_STR
.comm _strvallen,8,3 ; @strvallen
.comm _strval,4,2 ; @strval
.comm _TOK_NUM,8,3 ; @TOK_NUM
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "bad OCTETSTRING syntax"
.comm _numval,4,2 ; @numval
l_.str.1: ; @.str.1
.asciz "byte value too large"
l_.str.2: ; @.str.2
.asciz "%m"
.no_dead_strip _parse_syntax_octetstring
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function taosReadTcpData
_taosReadTcpData: ## @taosReadTcpData
.cfi_startproc
## %bb.0:
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, %r13
movq _maxTcpEvents@GOTPCREL(%rip), %rax
movl (%rax), %eax
shlq $4, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r14
leaq 24(%r13), %rax
movq %rax, -72(%rbp) ## 8-byte Spill
leaq 28(%r13), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
movq _EPOLLERR@GOTPCREL(%rip), %r12
movq %r13, -56(%rbp) ## 8-byte Spill
.p2align 4, 0x90
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_5 Depth 2
movq -72(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rdi
callq _pthread_mutex_lock
cmpl $0, (%r13)
jg LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -64(%rbp), %rdi ## 8-byte Reload
movq %rbx, %rsi
callq _pthread_cond_wait
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movq %rbx, %rdi
callq _pthread_mutex_unlock
movl 20(%r13), %edi
movq _maxTcpEvents@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r14, %rsi
movl $-1, %ecx
callq _epoll_wait
testl %eax, %eax
jle LBB0_1
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
movl %eax, %eax
shlq $4, %rax
movq %rax, -80(%rbp) ## 8-byte Spill
xorl %ebx, %ebx
jmp LBB0_5
LBB0_11: ## in Loop: Header=BB0_5 Depth=2
movl 16(%r13), %esi
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _tTrace
LBB0_15: ## in Loop: Header=BB0_5 Depth=2
movq %r15, %rdi
callq _taosCleanUpTcpFdObj
movq _EPOLLERR@GOTPCREL(%rip), %r12
.p2align 4, 0x90
LBB0_24: ## in Loop: Header=BB0_5 Depth=2
addq $16, %rbx
cmpq %rbx, -80(%rbp) ## 8-byte Folded Reload
je LBB0_1
LBB0_5: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movq 8(%r14,%rbx), %r15
movl (%r14,%rbx), %eax
testl %eax, (%r12)
je LBB0_8
## %bb.6: ## in Loop: Header=BB0_5 Depth=2
movl 16(%r13), %esi
leaq L_.str(%rip), %rdi
jmp LBB0_7
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_5 Depth=2
movq _EPOLLHUP@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_10
## %bb.9: ## in Loop: Header=BB0_5 Depth=2
movl 16(%r13), %esi
leaq L_.str.1(%rip), %rdi
LBB0_7: ## in Loop: Header=BB0_5 Depth=2
xorl %eax, %eax
callq _tTrace
LBB0_23: ## in Loop: Header=BB0_5 Depth=2
movq %r15, %rdi
callq _taosCleanUpTcpFdObj
jmp LBB0_24
LBB0_10: ## in Loop: Header=BB0_5 Depth=2
movl $1024, %edi ## imm = 0x400
callq _malloc
testq %rax, %rax
je LBB0_11
## %bb.12: ## in Loop: Header=BB0_5 Depth=2
movq %rax, %r12
movl 16(%r15), %edi
movq %rax, %rsi
movl $8, %edx
callq _taosReadMsg
cmpl $8, %eax
jne LBB0_13
## %bb.16: ## in Loop: Header=BB0_5 Depth=2
movl (%r12), %edi
callq _htonl
movl %eax, %r13d
movl %eax, -44(%rbp) ## 4-byte Spill
cmpl $1025, %eax ## imm = 0x401
jl LBB0_17
## %bb.20: ## in Loop: Header=BB0_5 Depth=2
movl %r13d, %esi
movq %r12, %rdi
callq _realloc
testq %rax, %rax
jne LBB0_18
## %bb.21: ## in Loop: Header=BB0_5 Depth=2
movq -56(%rbp), %r13 ## 8-byte Reload
movl 16(%r13), %esi
leaq L_.str.4(%rip), %rdi
movl -44(%rbp), %edx ## 4-byte Reload
xorl %eax, %eax
callq _tTrace
jmp LBB0_14
LBB0_13: ## in Loop: Header=BB0_5 Depth=2
movl 16(%r13), %esi
leaq L_.str.3(%rip), %rdi
movl %eax, %edx
xorl %eax, %eax
callq _tError
jmp LBB0_14
LBB0_17: ## in Loop: Header=BB0_5 Depth=2
movq %r12, %rax
LBB0_18: ## in Loop: Header=BB0_5 Depth=2
addl $-8, %r13d
movl 16(%r15), %edi
movq %rax, %r12
leaq -8(%rax), %rsi
movl %r13d, %edx
callq _taosReadMsg
cmpl %eax, %r13d
jne LBB0_19
## %bb.22: ## in Loop: Header=BB0_5 Depth=2
movl 12(%r15), %edx
movl 8(%r15), %ecx
movq -56(%rbp), %r13 ## 8-byte Reload
movl 4(%r13), %r8d
movq (%r15), %r9
subq $8, %rsp
movq %r12, %rdi
movl -44(%rbp), %esi ## 4-byte Reload
pushq %r15
callq *8(%r13)
addq $16, %rsp
movq %rax, (%r15)
testq %rax, %rax
movq _EPOLLERR@GOTPCREL(%rip), %r12
jne LBB0_23
jmp LBB0_24
LBB0_19: ## in Loop: Header=BB0_5 Depth=2
movq -56(%rbp), %rcx ## 8-byte Reload
movl 16(%rcx), %esi
leaq L_.str.5(%rip), %rdi
movl %r13d, %edx
movq %rcx, %r13
movl %eax, %ecx
xorl %eax, %eax
callq _tError
LBB0_14: ## in Loop: Header=BB0_5 Depth=2
movq %r12, %rdi
callq _tfree
jmp LBB0_15
.cfi_endproc
## -- End function
.comm _maxTcpEvents,4,2 ## @maxTcpEvents
.comm _EPOLLERR,4,2 ## @EPOLLERR
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s TCP error happened on FD\n"
.comm _EPOLLHUP,4,2 ## @EPOLLHUP
L_.str.1: ## @.str.1
.asciz "%s TCP FD hang up\n"
L_.str.2: ## @.str.2
.asciz "%s TCP malloc(size:1024) fail\n"
L_.str.3: ## @.str.3
.asciz "%s read error, headLen:%d"
L_.str.4: ## @.str.4
.asciz "%s TCP malloc(size:%d) fail\n"
L_.str.5: ## @.str.5
.asciz "%s read error, leftLen:%d retLen:%d"
.no_dead_strip _taosReadTcpData
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function taosReadTcpData
_taosReadTcpData: ; @taosReadTcpData
.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, _maxTcpEvents@GOTPAGE
Lloh1:
ldr x8, [x8, _maxTcpEvents@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
lsl x8, x8, #4
mov x9, x8
Lloh3:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh4:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
sub x8, x9, x8
mov sp, x8
stur x8, [x29, #-88] ; 8-byte Folded Spill
add x8, x8, #8
stur x8, [x29, #-96] ; 8-byte Folded Spill
Lloh5:
adrp x21, _EPOLLERR@GOTPAGE
Lloh6:
ldr x21, [x21, _EPOLLERR@GOTPAGEOFF]
Lloh7:
adrp x23, _EPOLLHUP@GOTPAGE
Lloh8:
ldr x23, [x23, _EPOLLHUP@GOTPAGEOFF]
Lloh9:
adrp x24, l_.str.1@PAGE
Lloh10:
add x24, x24, l_.str.1@PAGEOFF
Lloh11:
adrp x26, l_.str@PAGE
Lloh12:
add x26, x26, l_.str@PAGEOFF
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_5 Depth 2
add x0, x19, #24
bl _pthread_mutex_lock
ldr w8, [x19]
cmp w8, #0
b.gt LBB0_3
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
add x0, x19, #28
add x1, x19, #24
bl _pthread_cond_wait
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
add x0, x19, #24
bl _pthread_mutex_unlock
ldr w0, [x19, #20]
Lloh13:
adrp x8, _maxTcpEvents@GOTPAGE
Lloh14:
ldr x8, [x8, _maxTcpEvents@GOTPAGEOFF]
Lloh15:
ldr w2, [x8]
ldur x1, [x29, #-88] ; 8-byte Folded Reload
mov w3, #-1 ; =0xffffffff
bl _epoll_wait
cmp w0, #1
b.lt LBB0_1
; %bb.4: ; in Loop: Header=BB0_1 Depth=1
mov w20, w0
ldur x25, [x29, #-96] ; 8-byte Folded Reload
LBB0_5: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x27, [x25]
ldur w8, [x25, #-8]
ldr w9, [x21]
tst w9, w8
b.eq LBB0_7
; %bb.6: ; in Loop: Header=BB0_5 Depth=2
ldr w1, [x19, #16]
mov x0, x26
b LBB0_9
LBB0_7: ; in Loop: Header=BB0_5 Depth=2
ldr w9, [x23]
tst w9, w8
b.eq LBB0_12
; %bb.8: ; in Loop: Header=BB0_5 Depth=2
ldr w1, [x19, #16]
mov x0, x24
LBB0_9: ; in Loop: Header=BB0_5 Depth=2
bl _tTrace
LBB0_10: ; in Loop: Header=BB0_5 Depth=2
mov x0, x27
bl _taosCleanUpTcpFdObj
LBB0_11: ; in Loop: Header=BB0_5 Depth=2
add x25, x25, #16
subs x20, x20, #1
b.ne LBB0_5
b LBB0_1
LBB0_12: ; in Loop: Header=BB0_5 Depth=2
mov w0, #1024 ; =0x400
bl _malloc
cbz x0, LBB0_17
; %bb.13: ; in Loop: Header=BB0_5 Depth=2
mov x28, x0
ldr w0, [x27, #16]
mov x1, x28
mov w2, #8 ; =0x8
bl _taosReadMsg
cmp w0, #8
b.ne LBB0_18
; %bb.14: ; in Loop: Header=BB0_5 Depth=2
ldr w0, [x28]
bl _htonl
mov x22, x0
cmp w0, #1025
b.lt LBB0_19
; %bb.15: ; in Loop: Header=BB0_5 Depth=2
mov w1, w22
mov x0, x28
bl _realloc
mov x23, x0
cbnz x0, LBB0_20
; %bb.16: ; in Loop: Header=BB0_5 Depth=2
ldr w1, [x19, #16]
str x22, [sp, #-16]!
Lloh16:
adrp x0, l_.str.4@PAGE
Lloh17:
add x0, x0, l_.str.4@PAGEOFF
bl _tTrace
add sp, sp, #16
mov x0, x28
b LBB0_23
LBB0_17: ; in Loop: Header=BB0_5 Depth=2
ldr w1, [x19, #16]
Lloh18:
adrp x0, l_.str.2@PAGE
Lloh19:
add x0, x0, l_.str.2@PAGEOFF
b LBB0_9
LBB0_18: ; in Loop: Header=BB0_5 Depth=2
mov x2, x0
ldr w1, [x19, #16]
Lloh20:
adrp x0, l_.str.3@PAGE
Lloh21:
add x0, x0, l_.str.3@PAGEOFF
bl _tError
mov x0, x28
bl _tfree
b LBB0_10
LBB0_19: ; in Loop: Header=BB0_5 Depth=2
mov x23, x28
LBB0_20: ; in Loop: Header=BB0_5 Depth=2
sub w28, w22, #8
ldr w0, [x27, #16]
sub x1, x23, #8
mov x2, x28
bl _taosReadMsg
; kill: def $w0 killed $w0 def $x0
cmp w28, w0
b.ne LBB0_22
; %bb.21: ; in Loop: Header=BB0_5 Depth=2
ldr x8, [x19, #8]
ldp w3, w2, [x27, #8]
ldr w4, [x19, #4]
ldr x5, [x27]
mov x0, x23
mov x1, x22
mov x6, x27
blr x8
str x0, [x27]
Lloh22:
adrp x23, _EPOLLHUP@GOTPAGE
Lloh23:
ldr x23, [x23, _EPOLLHUP@GOTPAGEOFF]
cbnz x0, LBB0_10
b LBB0_11
LBB0_22: ; in Loop: Header=BB0_5 Depth=2
ldr w1, [x19, #16]
str x0, [sp, #-16]!
Lloh24:
adrp x0, l_.str.5@PAGE
Lloh25:
add x0, x0, l_.str.5@PAGEOFF
mov x2, x28
bl _tError
add sp, sp, #16
mov x0, x23
LBB0_23: ; in Loop: Header=BB0_5 Depth=2
bl _tfree
mov x0, x27
bl _taosCleanUpTcpFdObj
Lloh26:
adrp x23, _EPOLLHUP@GOTPAGE
Lloh27:
ldr x23, [x23, _EPOLLHUP@GOTPAGEOFF]
b LBB0_11
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpLdrGot Lloh22, Lloh23
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpLdrGot Lloh26, Lloh27
.loh AdrpLdrGot Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _maxTcpEvents,4,2 ; @maxTcpEvents
.comm _EPOLLERR,4,2 ; @EPOLLERR
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s TCP error happened on FD\n"
.comm _EPOLLHUP,4,2 ; @EPOLLHUP
l_.str.1: ; @.str.1
.asciz "%s TCP FD hang up\n"
l_.str.2: ; @.str.2
.asciz "%s TCP malloc(size:1024) fail\n"
l_.str.3: ; @.str.3
.asciz "%s read error, headLen:%d"
l_.str.4: ; @.str.4
.asciz "%s TCP malloc(size:%d) fail\n"
l_.str.5: ; @.str.5
.asciz "%s read error, leftLen:%d retLen:%d"
.no_dead_strip _taosReadTcpData
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function fieldarg
_fieldarg: ## @fieldarg
.cfi_startproc
## %bb.0:
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, -48(%rbp)
leaq L_.str(%rip), %rsi
leaq -48(%rbp), %rdi
callq _strsep
testq %rax, %rax
je LBB0_16
## %bb.1:
movq _olistcnt@GOTPCREL(%rip), %rbx
movq _olist@GOTPCREL(%rip), %r12
## implicit-def: $r14
## implicit-def: $r15
jmp LBB0_2
.p2align 4, 0x90
LBB0_15: ## in Loop: Header=BB0_2 Depth=1
movslq (%rbx), %rax
leal 1(%rax), %ecx
shlq $4, %rax
movq %r15, 8(%rdi,%rax)
movq %r14, (%rdi,%rax)
movl %ecx, (%rbx)
leaq -48(%rbp), %rdi
leaq L_.str(%rip), %rsi
callq _strsep
testq %rax, %rax
je LBB0_16
LBB0_2: ## =>This Inner Loop Header: Depth=1
movzbl (%rax), %r13d
leal -49(%r13), %ecx
cmpl $2, %ecx
jb LBB0_5
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
cmpl $48, %r13d
je LBB0_4
## %bb.11: ## in Loop: Header=BB0_2 Depth=1
testl %r13d, %r13d
jne LBB0_12
jmp LBB0_16
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
cmpb $46, 1(%rax)
jne LBB0_12
## %bb.6: ## in Loop: Header=BB0_2 Depth=1
addq $2, %rax
movq %rax, %rdi
leaq -56(%rbp), %rsi
movl $10, %edx
callq _strtol
movq %rax, %r14
movq -56(%rbp), %rax
cmpb $0, (%rax)
je LBB0_8
## %bb.7: ## in Loop: Header=BB0_2 Depth=1
movl $1, %edi
leaq L_.str.1(%rip), %rsi
callq _errx
LBB0_8: ## in Loop: Header=BB0_2 Depth=1
testq %r14, %r14
jne LBB0_10
## %bb.9: ## in Loop: Header=BB0_2 Depth=1
movl $1, %edi
leaq L_.str.2(%rip), %rsi
callq _errx
LBB0_10: ## in Loop: Header=BB0_2 Depth=1
addq $-48, %r13
decq %r14
movq %r13, %r15
jmp LBB0_13
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_2 Depth=1
movl $1, %edi
leaq L_.str.1(%rip), %rsi
callq _errx
jmp LBB0_13
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
xorl %r15d, %r15d
xorl %r14d, %r14d
LBB0_13: ## in Loop: Header=BB0_2 Depth=1
movl (%rbx), %eax
movq (%r12), %rdi
movq _olistalloc@GOTPCREL(%rip), %rdx
cmpl (%rdx), %eax
jne LBB0_15
## %bb.14: ## in Loop: Header=BB0_2 Depth=1
leal 50(%rax), %ecx
movl %ecx, (%rdx)
leal 200(,%rax,4), %esi
callq _realloc
movq %rax, (%r12)
movl $1, %edi
xorl %esi, %esi
callq _err
movq (%r12), %rdi
jmp LBB0_15
LBB0_16:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz ", \t"
L_.str.1: ## @.str.1
.asciz "malformed -o option field"
L_.str.2: ## @.str.2
.asciz "field numbers are 1 based"
.comm _olistcnt,4,2 ## @olistcnt
.comm _olistalloc,4,2 ## @olistalloc
.comm _olist,8,3 ## @olist
.no_dead_strip _fieldarg
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function fieldarg
_fieldarg: ; @fieldarg
.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]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
add x0, sp, #8
bl _strsep
cbz x0, LBB0_16
; %bb.1:
Lloh2:
adrp x19, l_.str.2@PAGE
Lloh3:
add x19, x19, l_.str.2@PAGEOFF
Lloh4:
adrp x20, l_.str.1@PAGE
Lloh5:
add x20, x20, l_.str.1@PAGEOFF
Lloh6:
adrp x23, _olistcnt@GOTPAGE
Lloh7:
ldr x23, [x23, _olistcnt@GOTPAGEOFF]
Lloh8:
adrp x24, _olistalloc@GOTPAGE
Lloh9:
ldr x24, [x24, _olistalloc@GOTPAGEOFF]
Lloh10:
adrp x25, _olist@GOTPAGE
Lloh11:
ldr x25, [x25, _olist@GOTPAGEOFF]
; implicit-def: $x22
; implicit-def: $x26
Lloh12:
adrp x21, l_.str@PAGE
Lloh13:
add x21, x21, l_.str@PAGEOFF
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
ldrsw x8, [x23]
add x9, x0, x8, lsl #4
stp x22, x26, [x9]
add w8, w8, #1
str w8, [x23]
add x0, sp, #8
mov x1, x21
bl _strsep
cbz x0, LBB0_16
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldrb w27, [x0]
sub w8, w27, #49
cmp w8, #2
b.lo LBB0_6
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
cmp w27, #48
b.eq LBB0_13
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
cbnz w27, LBB0_12
b LBB0_16
LBB0_6: ; in Loop: Header=BB0_3 Depth=1
ldrb w8, [x0, #1]
cmp w8, #46
b.ne LBB0_12
; %bb.7: ; in Loop: Header=BB0_3 Depth=1
add x0, x0, #2
mov x1, sp
mov w2, #10 ; =0xa
bl _strtol
mov x22, x0
ldr x8, [sp]
ldrb w8, [x8]
cbz w8, LBB0_9
; %bb.8: ; in Loop: Header=BB0_3 Depth=1
mov w0, #1 ; =0x1
mov x1, x20
bl _errx
LBB0_9: ; in Loop: Header=BB0_3 Depth=1
cbnz x22, LBB0_11
; %bb.10: ; in Loop: Header=BB0_3 Depth=1
mov w0, #1 ; =0x1
mov x1, x19
bl _errx
LBB0_11: ; in Loop: Header=BB0_3 Depth=1
sub x26, x27, #48
sub x22, x22, #1
b LBB0_14
LBB0_12: ; in Loop: Header=BB0_3 Depth=1
mov w0, #1 ; =0x1
mov x1, x20
bl _errx
b LBB0_14
LBB0_13: ; in Loop: Header=BB0_3 Depth=1
mov x26, #0 ; =0x0
mov x22, #0 ; =0x0
LBB0_14: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [x23]
ldr w9, [x24]
ldr x0, [x25]
cmp w8, w9
b.ne LBB0_2
; %bb.15: ; in Loop: Header=BB0_3 Depth=1
add w8, w8, #50
str w8, [x24]
lsl w1, w8, #2
bl _realloc
str x0, [x25]
mov w0, #1 ; =0x1
mov x1, #0 ; =0x0
bl _err
ldr x0, [x25]
b LBB0_2
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 AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz ", \t"
l_.str.1: ; @.str.1
.asciz "malformed -o option field"
l_.str.2: ; @.str.2
.asciz "field numbers are 1 based"
.comm _olistcnt,4,2 ; @olistcnt
.comm _olistalloc,4,2 ; @olistalloc
.comm _olist,8,3 ; @olist
.no_dead_strip _fieldarg
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function _append_new
__append_new: ## @_append_new
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movq (%rdi), %rdi
movq _NPY_NOTYPE@GOTPCREL(%rip), %r14
movl (%r14), %eax
xorl %r15d, %r15d
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq %r15, %rcx
addq $-4, %r15
cmpl %eax, (%rdi,%rcx)
jne LBB0_1
## %bb.2:
leal 12(%r15), %esi
callq _realloc
testq %rax, %rax
je LBB0_4
## %bb.3:
xorl %eax, %eax
callq _PyErr_NoMemory
movl $-1, %eax
jmp LBB0_5
LBB0_4:
movl (%r14), %eax
movl %eax, 8(%r15)
movq $0, (%rbx)
xorl %eax, %eax
LBB0_5:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _NPY_NOTYPE,4,2 ## @NPY_NOTYPE
.no_dead_strip __append_new
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function _append_new
__append_new: ; @_append_new
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
mov x20, #0 ; =0x0
ldr x0, [x0]
Lloh0:
adrp x21, _NPY_NOTYPE@GOTPAGE
Lloh1:
ldr x21, [x21, _NPY_NOTYPE@GOTPAGEOFF]
ldr w8, [x21]
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w9, [x0, x20]
sub x20, x20, #4
cmp w9, w8
b.ne LBB0_1
; %bb.2:
add w1, w20, #12
bl _realloc
cbz x0, LBB0_4
; %bb.3:
bl _PyErr_NoMemory
mov w0, #-1 ; =0xffffffff
b LBB0_5
LBB0_4:
ldr w8, [x21]
str w8, [x20, #8]
str xzr, [x19]
LBB0_5:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _NPY_NOTYPE,4,2 ; @NPY_NOTYPE
.no_dead_strip __append_new
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _ppy_realloc ## -- Begin function ppy_realloc
.p2align 4, 0x90
_ppy_realloc: ## @ppy_realloc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
jmp _realloc ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _ppy_realloc ; -- Begin function ppy_realloc
.p2align 2
_ppy_realloc: ; @ppy_realloc
.cfi_startproc
; %bb.0:
b _realloc
.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 TextLoad
_TextLoad: ## @TextLoad
.cfi_startproc
## %bb.0:
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, %r14
movq %rdi, %rbx
movq $0, (%rdi)
movq $0, 16(%rdi)
movl $500, %edi ## imm = 0x1F4
movl $8, %esi
callq _calloc
movq %rax, 8(%rbx)
movq _VLC_ENOMEM@GOTPCREL(%rip), %r15
testq %rax, %rax
je LBB0_10
## %bb.1:
movq %r14, %rdi
callq _vlc_stream_ReadLine
testq %rax, %rax
je LBB0_2
LBB0_7:
cmpq $0, (%rbx)
je LBB0_9
## %bb.8:
movq _VLC_SUCCESS@GOTPCREL(%rip), %r15
jmp LBB0_10
LBB0_2:
movl $500, %r12d ## imm = 0x1F4
jmp LBB0_3
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_3 Depth=1
movq %rax, (%rbx)
movq %r14, %rdi
callq _vlc_stream_ReadLine
testq %rax, %rax
jne LBB0_7
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq (%rbx), %rax
movq 8(%rbx), %rcx
movq $0, (%rcx,%rax,8)
decq %rax
cmpq %r12, %rax
jb LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq 8(%rbx), %rdi
leaq 800(,%r12,8), %rsi
callq _realloc
testq %rax, %rax
je LBB0_10
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
addq $100, %r12
movq %rax, 8(%rbx)
movq (%rbx), %rax
decq %rax
jmp LBB0_6
LBB0_9:
movq 8(%rbx), %rdi
callq _free
movq _VLC_EGENERIC@GOTPCREL(%rip), %r15
LBB0_10:
movl (%r15), %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _VLC_ENOMEM,4,2 ## @VLC_ENOMEM
.comm _VLC_EGENERIC,4,2 ## @VLC_EGENERIC
.comm _VLC_SUCCESS,4,2 ## @VLC_SUCCESS
.no_dead_strip _TextLoad
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function TextLoad
_TextLoad: ; @TextLoad
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x1
mov x19, x0
str xzr, [x0]
str xzr, [x0, #16]
mov w0, #500 ; =0x1f4
mov w1, #8 ; =0x8
bl _calloc
str x0, [x19, #8]
cbz x0, LBB0_4
; %bb.1:
mov x0, x20
bl _vlc_stream_ReadLine
cbz x0, LBB0_5
LBB0_2:
ldr x8, [x19]
cbz x8, LBB0_10
; %bb.3:
Lloh0:
adrp x21, _VLC_SUCCESS@GOTPAGE
Lloh1:
ldr x21, [x21, _VLC_SUCCESS@GOTPAGEOFF]
b LBB0_11
LBB0_4:
Lloh2:
adrp x21, _VLC_ENOMEM@GOTPAGE
Lloh3:
ldr x21, [x21, _VLC_ENOMEM@GOTPAGEOFF]
b LBB0_11
LBB0_5:
mov w22, #500 ; =0x1f4
Lloh4:
adrp x21, _VLC_ENOMEM@GOTPAGE
Lloh5:
ldr x21, [x21, _VLC_ENOMEM@GOTPAGEOFF]
b LBB0_7
LBB0_6: ; in Loop: Header=BB0_7 Depth=1
str x8, [x19]
mov x0, x20
bl _vlc_stream_ReadLine
cbnz x0, LBB0_2
LBB0_7: ; =>This Inner Loop Header: Depth=1
ldp x9, x8, [x19]
str xzr, [x8, x9, lsl #3]
sub x8, x9, #1
cmp x8, x22
b.lo LBB0_6
; %bb.8: ; in Loop: Header=BB0_7 Depth=1
add x22, x22, #100
ldr x0, [x19, #8]
lsl x1, x22, #3
bl _realloc
cbz x0, LBB0_11
; %bb.9: ; in Loop: Header=BB0_7 Depth=1
str x0, [x19, #8]
ldr x8, [x19]
sub x8, x8, #1
b LBB0_6
LBB0_10:
ldr x0, [x19, #8]
bl _free
Lloh6:
adrp x21, _VLC_EGENERIC@GOTPAGE
Lloh7:
ldr x21, [x21, _VLC_EGENERIC@GOTPAGEOFF]
LBB0_11:
ldr w0, [x21]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _VLC_ENOMEM,4,2 ; @VLC_ENOMEM
.comm _VLC_EGENERIC,4,2 ; @VLC_EGENERIC
.comm _VLC_SUCCESS,4,2 ; @VLC_SUCCESS
.no_dead_strip _TextLoad
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function pushchar
_pushchar: ## @pushchar
.cfi_startproc
## %bb.0:
movl %esi, %eax
movq (%rdi), %rsi
cmpq 8(%rdi), %rsi
jne LBB0_1
## %bb.2:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
addq %rsi, %rsi
movq 16(%rdi), %rax
movq %rdi, %rbx
movq %rax, %rdi
callq *24(%rbx)
movq _errno@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _json_error_s
movl $-1, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
LBB0_1:
movq 16(%rdi), %rcx
leaq -1(%rsi), %rdx
movq %rdx, (%rdi)
movb %al, (%rcx,%rsi)
xorl %eax, %eax
retq
.cfi_endproc
## -- End function
.comm _errno,4,2 ## @errno
.no_dead_strip _pushchar
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function pushchar
_pushchar: ; @pushchar
.cfi_startproc
; %bb.0:
ldp x9, x8, [x0]
cmp x9, x8
b.ne LBB0_2
; %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
lsl x1, x9, #1
ldp x8, x9, [x0, #16]
mov x19, x0
mov x0, x8
blr x9
Lloh0:
adrp x8, _errno@GOTPAGE
Lloh1:
ldr x8, [x8, _errno@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov x0, x19
bl _json_error_s
mov w0, #-1 ; =0xffffffff
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_2:
ldr x10, [x0, #16]
sub x11, x9, #1
str x11, [x0]
strb w1, [x10, x9]
mov w0, #0 ; =0x0
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _errno,4,2 ; @errno
.no_dead_strip _pushchar
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function check_cpu
_check_cpu: ## @check_cpu
.cfi_startproc
## %bb.0:
movl $-1, %eax
testl %esi, %esi
js LBB0_12
## %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 %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r14d
movq %rdi, %r15
leal -1(%r14), %ebx
movq (%rdi), %rdi
testq %rdi, %rdi
je LBB0_2
## %bb.6:
xorl %eax, %eax
cmpl %r14d, 8(%r15)
jg LBB0_11
## %bb.7:
leal (,%rbx,4), %esi
callq _realloc
movq %rax, %rcx
movl $-1, %eax
testq %rcx, %rcx
je LBB0_11
## %bb.8:
leaq 8(%r15), %r12
movq %rcx, (%r15)
movslq 8(%r15), %rax
cmpl %ebx, %eax
jge LBB0_10
## %bb.9:
leaq (%rcx,%rax,4), %rdi
subl %eax, %r14d
addl $-2, %r14d
leaq 4(,%r14,4), %rdx
movl $255, %esi
callq _memset
jmp LBB0_10
LBB0_2:
movl %ebx, %edi
movl $4, %esi
callq _calloc
movq %rax, %rcx
movq %rax, (%r15)
movl $-1, %eax
testq %rcx, %rcx
je LBB0_11
## %bb.3:
cmpl $2, %r14d
jb LBB0_5
## %bb.4:
movq $-1, -4(%rcx)
LBB0_5:
addq $8, %r15
movq %r15, %r12
LBB0_10:
movl %ebx, (%r12)
xorl %eax, %eax
LBB0_11:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
LBB0_12:
retq
.cfi_endproc
## -- End function
.no_dead_strip _check_cpu
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function check_cpu
_check_cpu: ; @check_cpu
.cfi_startproc
; %bb.0:
tbnz w1, #31, LBB0_4
; %bb.1:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x0
sub w19, w1, #1
ldr x0, [x0]
cbz x0, LBB0_5
; %bb.2:
mov x21, x20
ldr w8, [x21, #8]!
cmp w8, w1
b.le LBB0_9
; %bb.3:
mov w0, #0 ; =0x0
b LBB0_14
LBB0_4:
mov w0, #-1 ; =0xffffffff
ret
LBB0_5:
mov x21, x1
mov x0, x19
mov w1, #4 ; =0x4
bl _calloc
str x0, [x20]
cbz x0, LBB0_13
; %bb.6:
cmp w21, #2
b.lo LBB0_8
; %bb.7:
mov x8, #-1 ; =0xffffffffffffffff
stur x8, [x0, #-4]
LBB0_8:
add x21, x20, #8
b LBB0_12
LBB0_9:
mov x22, x1
lsl w1, w19, #2
bl _realloc
cbz x0, LBB0_13
; %bb.10:
str x0, [x20]
ldrsw x8, [x20, #8]
cmp w8, w19
b.ge LBB0_12
; %bb.11:
add x0, x0, x8, lsl #2
sub w8, w22, w8
sub w8, w8, #2
ubfiz x8, x8, #2, #32
add x2, x8, #4
mov w1, #255 ; =0xff
bl _memset
LBB0_12:
mov w0, #0 ; =0x0
str w19, [x21]
b LBB0_14
LBB0_13:
mov w0, #-1 ; =0xffffffff
LBB0_14:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _check_cpu
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function arch__grow_instructions
_arch__grow_instructions: ## @arch__grow_instructions
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movslq (%rdi), %r14
movq 8(%rdi), %rdi
testq %r14, %r14
je LBB0_1
LBB0_3:
leaq -512(,%r14,4), %rsi
callq _realloc
movq %rax, %rcx
movl $-1, %eax
testq %rcx, %rcx
jne LBB0_8
## %bb.4:
addq $-128, %r14
xorl %r15d, %r15d
jmp LBB0_5
LBB0_1:
testq %rdi, %rdi
je LBB0_2
## %bb.6:
movslq 4(%rbx), %r14
subq $-128, %r14
movq %r14, %rdi
movl $4, %esi
callq _calloc
testq %rax, %rax
je LBB0_7
## %bb.9:
movq %rax, %r15
movq 8(%rbx), %rsi
movl 4(%rbx), %edx
movq %rax, %rdi
callq _memcpy
LBB0_5:
movq %r15, 8(%rbx)
movl %r14d, (%rbx)
xorl %eax, %eax
LBB0_8:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_2:
xorl %edi, %edi
jmp LBB0_3
LBB0_7:
movl $-1, %eax
jmp LBB0_8
.cfi_endproc
## -- End function
.no_dead_strip _arch__grow_instructions
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function arch__grow_instructions
_arch__grow_instructions: ; @arch__grow_instructions
.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]
ldr x0, [x0, #8]
cbz w8, LBB0_3
LBB0_1:
sub w21, w8, #128
sbfiz x1, x21, #2, #32
bl _realloc
cbz x0, LBB0_6
LBB0_2:
mov w0, #-1 ; =0xffffffff
b LBB0_8
LBB0_3:
cbz x0, LBB0_1
; %bb.4:
ldrsw x8, [x19, #4]
add x21, x8, #128
mov x0, x21
mov w1, #4 ; =0x4
bl _calloc
cbz x0, LBB0_2
; %bb.5:
mov x20, x0
ldr x1, [x19, #8]
ldr w2, [x19, #4]
bl _memcpy
; kill: def $w21 killed $w21 killed $x21 def $x21
b LBB0_7
LBB0_6:
mov x20, #0 ; =0x0
LBB0_7:
mov w0, #0 ; =0x0
str x20, [x19, #8]
str w21, [x19]
LBB0_8:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _arch__grow_instructions
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _httpReMallocMultiCmdsBuffer ## -- Begin function httpReMallocMultiCmdsBuffer
.p2align 4, 0x90
_httpReMallocMultiCmdsBuffer: ## @httpReMallocMultiCmdsBuffer
.cfi_startproc
## %bb.0:
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 %esi, %ebx
movq %rdi, %r14
movq _HTTP_MAX_BUFFER_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %eax
cmpl %esi, %eax
jge LBB0_2
## %bb.1:
movl 8(%r14), %edx
movl (%r14), %r8d
movl 4(%r14), %ecx
movl %eax, (%rsp)
leaq L_.str(%rip), %rdi
jmp LBB0_4
LBB0_2:
movq 16(%r14), %r12
movq (%r12), %rdi
movslq %ebx, %r15
movq %r15, %rsi
callq _realloc
movq %rax, (%r12)
testq %rax, %rax
je LBB0_3
## %bb.5:
movslq 8(%r12), %rcx
subq %rcx, %rax
subq %rcx, %r15
movq %rax, %rdi
xorl %esi, %esi
movq %r15, %rdx
callq _memset
movl %ebx, 8(%r12)
movl $1, %r15d
jmp LBB0_6
LBB0_3:
movl 8(%r14), %edx
movl (%r14), %r8d
movl 4(%r14), %ecx
leaq L_.str.1(%rip), %rdi
LBB0_4:
xorl %r15d, %r15d
movq %r14, %rsi
movl %ebx, %r9d
xorl %eax, %eax
callq _httpError
LBB0_6:
movl %r15d, %eax
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _HTTP_MAX_BUFFER_SIZE,4,2 ## @HTTP_MAX_BUFFER_SIZE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "context:%p, fd:%d, ip:%s, user:%s, mulitcmd buffer size:%d large then %d"
L_.str.1: ## @.str.1
.asciz "context:%p, fd:%d, ip:%s, user:%s, malloc buffer:%d error"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _httpReMallocMultiCmdsBuffer ; -- Begin function httpReMallocMultiCmdsBuffer
.p2align 2
_httpReMallocMultiCmdsBuffer: ; @httpReMallocMultiCmdsBuffer
.cfi_startproc
; %bb.0:
sub sp, sp, #64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
Lloh0:
adrp x8, _HTTP_MAX_BUFFER_SIZE@GOTPAGE
Lloh1:
ldr x8, [x8, _HTTP_MAX_BUFFER_SIZE@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cmp w8, w1
b.ge LBB0_2
; %bb.1:
ldp w3, w2, [x20, #4]
ldr w4, [x20]
str x8, [sp]
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
b LBB0_5
LBB0_2:
ldr x21, [x20, #16]
ldr x0, [x21]
sxtw x1, w19
bl _realloc
str x0, [x21]
cbz x0, LBB0_4
; %bb.3:
ldrsw x8, [x21, #8]
sub x0, x0, x8
mov x9, x19
sxtw x9, w9
sub x2, x9, x8
mov w1, #0 ; =0x0
bl _memset
str w19, [x21, #8]
mov w0, #1 ; =0x1
b LBB0_6
LBB0_4:
ldp w3, w2, [x20, #4]
ldr w4, [x20]
Lloh5:
adrp x0, l_.str.1@PAGE
Lloh6:
add x0, x0, l_.str.1@PAGEOFF
LBB0_5:
mov x1, x20
mov x5, x19
bl _httpError
mov w0, #0 ; =0x0
LBB0_6:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpAdd Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _HTTP_MAX_BUFFER_SIZE,4,2 ; @HTTP_MAX_BUFFER_SIZE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "context:%p, fd:%d, ip:%s, user:%s, mulitcmd buffer size:%d large then %d"
l_.str.1: ; @.str.1
.asciz "context:%p, fd:%d, ip:%s, user:%s, malloc buffer:%d error"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _efi_get_forbidden_digests ## -- Begin function efi_get_forbidden_digests
.p2align 4, 0x90
_efi_get_forbidden_digests: ## @efi_get_forbidden_digests
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq $0, -8(%rbp)
movq _ImageSecurityDatabaseGUID@GOTPCREL(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq -8(%rbp), %rcx
xorl %edx, %edx
callq _efi_getenv
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ImageSecurityDatabaseGUID,4,2 ## @ImageSecurityDatabaseGUID
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "dbx"
.comm _EFI_BUFFER_TOO_SMALL,8,3 ## @EFI_BUFFER_TOO_SMALL
.comm _EFI_SUCCESS,8,3 ## @EFI_SUCCESS
.comm _efiCertX509Sha256GUID,4,2 ## @efiCertX509Sha256GUID
.comm _br_sha256_SIZE,8,3 ## @br_sha256_SIZE
.comm _efiCertX509Sha384GUID,4,2 ## @efiCertX509Sha384GUID
.comm _br_sha384_SIZE,8,3 ## @br_sha384_SIZE
.comm _efiCertX509Sha5122UID,4,2 ## @efiCertX509Sha5122UID
.comm _br_sha512_SIZE,8,3 ## @br_sha512_SIZE
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _efi_get_forbidden_digests ; -- Begin function efi_get_forbidden_digests
.p2align 2
_efi_get_forbidden_digests: ; @efi_get_forbidden_digests
.cfi_startproc
; %bb.0:
sub sp, sp, #32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str xzr, [sp, #8]
Lloh0:
adrp x0, _ImageSecurityDatabaseGUID@GOTPAGE
Lloh1:
ldr x0, [x0, _ImageSecurityDatabaseGUID@GOTPAGEOFF]
Lloh2:
adrp x1, l_.str@PAGE
Lloh3:
add x1, x1, l_.str@PAGEOFF
add x3, sp, #8
mov x2, #0 ; =0x0
bl _efi_getenv
mov x0, #0 ; =0x0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _ImageSecurityDatabaseGUID,4,2 ; @ImageSecurityDatabaseGUID
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "dbx"
.comm _EFI_BUFFER_TOO_SMALL,8,3 ; @EFI_BUFFER_TOO_SMALL
.comm _EFI_SUCCESS,8,3 ; @EFI_SUCCESS
.comm _efiCertX509Sha256GUID,4,2 ; @efiCertX509Sha256GUID
.comm _br_sha256_SIZE,8,3 ; @br_sha256_SIZE
.comm _efiCertX509Sha384GUID,4,2 ; @efiCertX509Sha384GUID
.comm _br_sha384_SIZE,8,3 ; @br_sha384_SIZE
.comm _efiCertX509Sha5122UID,4,2 ; @efiCertX509Sha5122UID
.comm _br_sha512_SIZE,8,3 ; @br_sha512_SIZE
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function ParserCueDoneHandler
_ParserCueDoneHandler: ## @ParserCueDoneHandler
.cfi_startproc
## %bb.0:
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
cmpq $0, 16(%rsi)
je LBB0_1
## %bb.13:
movq %rbx, %rdi
callq _webvtt_cue_Clean
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _webvtt_cue_Init ## TAILCALL
LBB0_1:
movq 8(%rdi), %rax
movq (%rax), %r14
movq (%rbx), %rax
cmpq (%r14), %rax
jle LBB0_3
## %bb.2:
movq %rax, (%r14)
LBB0_3:
movslq 24(%r14), %rax
testq %rax, %rax
jle LBB0_6
## %bb.4:
movq 32(%r14), %rcx
movq -8(%rcx,%rax,8), %rax
cmpq 8(%rbx), %rax
je LBB0_6
## %bb.5:
movl $0, (%rdi)
LBB0_6:
movl 8(%r14), %esi
cmpl 12(%r14), %esi
jg LBB0_10
## %bb.7:
movslq %esi, %rcx
movq _SIZE_MAX@GOTPCREL(%rip), %rax
movslq (%rax), %rdx
shrq $2, %rdx
movq _WEBVTT_PREALLOC@GOTPCREL(%rip), %r15
movslq (%r15), %rax
addq %rax, %rax
subq %rax, %rdx
cmpq %rcx, %rdx
jbe LBB0_10
## %bb.8:
movq 16(%r14), %rdi
subl %eax, %esi
shll $2, %esi
## kill: def $esi killed $esi killed $rsi
callq _realloc
movl 8(%r14), %esi
testq %rax, %rax
je LBB0_10
## %bb.9:
movq %rax, 16(%r14)
movl (%r15), %eax
leal (%rsi,%rax,2), %esi
movl %esi, 8(%r14)
LBB0_10:
movl 12(%r14), %eax
cmpl %eax, %esi
jle LBB0_12
## %bb.11:
movslq %eax, %rcx
movq 16(%r14), %rdx
shlq $4, %rcx
movl $1, (%rdx,%rcx)
movq 8(%rbx), %rsi
movq %rsi, 8(%rdx,%rcx)
movl $0, -16(%rcx,%rdx)
movq (%rbx), %rsi
movl %eax, 12(%r14)
movq %rsi, -8(%rcx,%rdx)
LBB0_12:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SIZE_MAX,4,2 ## @SIZE_MAX
.comm _WEBVTT_PREALLOC,4,2 ## @WEBVTT_PREALLOC
.no_dead_strip _ParserCueDoneHandler
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function ParserCueDoneHandler
_ParserCueDoneHandler: ; @ParserCueDoneHandler
.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
ldr x8, [x1, #16]
cbz x8, LBB0_2
; %bb.1:
mov x0, x19
bl _webvtt_cue_Clean
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _webvtt_cue_Init
LBB0_2:
ldr x8, [x0, #8]
ldr x20, [x8]
ldr x8, [x19]
ldr x9, [x20]
cmp x8, x9
b.le LBB0_4
; %bb.3:
str x8, [x20]
LBB0_4:
ldr w8, [x20, #24]
cmp w8, #1
b.lt LBB0_7
; %bb.5:
ldr x9, [x20, #32]
add x8, x9, x8, lsl #3
ldur x8, [x8, #-8]
ldr x9, [x19, #8]
cmp x8, x9
b.eq LBB0_7
; %bb.6:
str wzr, [x0]
LBB0_7:
ldp w8, w9, [x20, #8]
cmp w8, w9
b.gt LBB0_11
; %bb.8:
sxtw x10, w8
Lloh0:
adrp x9, _SIZE_MAX@GOTPAGE
Lloh1:
ldr x9, [x9, _SIZE_MAX@GOTPAGEOFF]
Lloh2:
ldrsw x9, [x9]
lsr x11, x9, #2
Lloh3:
adrp x21, _WEBVTT_PREALLOC@GOTPAGE
Lloh4:
ldr x21, [x21, _WEBVTT_PREALLOC@GOTPAGEOFF]
ldrsw x9, [x21]
lsl x9, x9, #1
sub x11, x11, x9
cmp x11, x10
b.ls LBB0_11
; %bb.9:
ldr x0, [x20, #16]
sub w8, w8, w9
lsl w1, w8, #2
bl _realloc
ldr w8, [x20, #8]
cbz x0, LBB0_11
; %bb.10:
str x0, [x20, #16]
ldr w9, [x21]
add w8, w8, w9, lsl #1
str w8, [x20, #8]
LBB0_11:
ldr w9, [x20, #12]
cmp w8, w9
b.le LBB0_13
; %bb.12:
sxtw x8, w9
ldr x10, [x20, #16]
add x8, x10, x8, lsl #4
mov w11, #1 ; =0x1
str w11, [x8]
ldp x12, x11, [x19]
str x11, [x8, #8]
add x8, x10, w9, sxtw #4
stur wzr, [x8, #-16]
str w9, [x20, #12]
stur x12, [x8, #-8]
LBB0_13:
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 Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _SIZE_MAX,4,2 ; @SIZE_MAX
.comm _WEBVTT_PREALLOC,4,2 ; @WEBVTT_PREALLOC
.no_dead_strip _ParserCueDoneHandler
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _abAppend ## -- Begin function abAppend
.p2align 4, 0x90
_abAppend: ## @abAppend
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %ebx
movq %rsi, %r15
movq %rdi, %r14
movq (%rdi), %rdi
movl 8(%r14), %esi
addl %edx, %esi
callq _realloc
testq %rax, %rax
jne LBB0_2
## %bb.1:
movslq 8(%r14), %rdi
movq %r15, %rsi
movl %ebx, %edx
callq _memcpy
movq $0, (%r14)
addl %ebx, 8(%r14)
LBB0_2:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _abAppend ; -- Begin function abAppend
.p2align 2
_abAppend: ; @abAppend
.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, x2
mov x21, x1
mov x20, x0
ldr x0, [x0]
ldr w8, [x20, #8]
add w1, w8, w2
bl _realloc
cbnz x0, LBB0_2
; %bb.1:
ldrsw x0, [x20, #8]
mov x1, x21
mov x2, x19
bl _memcpy
str xzr, [x20]
ldr w8, [x20, #8]
add w8, w8, w19
str w8, [x20, #8]
LBB0_2:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _split_cmdline ## -- Begin function split_cmdline
.p2align 4, 0x90
_split_cmdline: ## @split_cmdline
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r14
movl $128, %edi
callq _malloc
movq %rax, (%rbx)
movq %r14, (%rax)
movzbl (%r14), %r15d
testb %r15b, %r15b
je LBB0_1
## %bb.3:
movq %rbx, -56(%rbp) ## 8-byte Spill
leaq 1(%r14), %rax
movq %rax, -72(%rbp) ## 8-byte Spill
xorl %r12d, %r12d
movl $-1, -44(%rbp) ## 4-byte Folded Spill
movl $16, %eax
movq %rax, -64(%rbp) ## 8-byte Spill
xorl %r13d, %r13d
xorl %ebx, %ebx
jmp LBB0_4
.p2align 4, 0x90
LBB0_16: ## in Loop: Header=BB0_4 Depth=1
incl %ebx
xorl %r12d, %r12d
LBB0_22: ## in Loop: Header=BB0_4 Depth=1
movslq %ebx, %rax
movzbl (%r14,%rax), %r15d
testb %r15b, %r15b
je LBB0_23
LBB0_4: ## =>This Loop Header: Depth=1
## Child Loop BB0_7 Depth 2
testb %r12b, %r12b
je LBB0_5
LBB0_15: ## in Loop: Header=BB0_4 Depth=1
cmpb %r12b, %r15b
je LBB0_16
## %bb.17: ## in Loop: Header=BB0_4 Depth=1
cmpb $92, %r15b
setne %al
cmpb $39, %r12b
sete %cl
orb %al, %cl
jne LBB0_21
## %bb.18: ## in Loop: Header=BB0_4 Depth=1
movslq %ebx, %rbx
movzbl 1(%r14,%rbx), %r15d
testb %r15b, %r15b
je LBB0_19
## %bb.20: ## in Loop: Header=BB0_4 Depth=1
incq %rbx
LBB0_21: ## in Loop: Header=BB0_4 Depth=1
movslq %r13d, %rax
incl %r13d
movb %r15b, (%r14,%rax)
incl %ebx
jmp LBB0_22
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_4 Depth=1
movsbl %r15b, %edi
callq _isspace
testq %rax, %rax
je LBB0_12
## %bb.6: ## in Loop: Header=BB0_4 Depth=1
leal 1(%r13), %eax
movl %eax, -48(%rbp) ## 4-byte Spill
movslq %r13d, %rax
movb $0, (%r14,%rax)
movslq %ebx, %r12
leal 1(%r12), %ecx
addq -72(%rbp), %r12 ## 8-byte Folded Reload
.p2align 4, 0x90
LBB0_7: ## Parent Loop BB0_4 Depth=1
## => This Inner Loop Header: Depth=2
movl %ecx, %ebx
movzbl (%r12), %eax
testb %al, %al
je LBB0_9
## %bb.8: ## in Loop: Header=BB0_7 Depth=2
movsbl %al, %edi
callq _isspace
leal 1(%rbx), %ecx
incq %r12
testq %rax, %rax
jne LBB0_7
LBB0_9: ## in Loop: Header=BB0_4 Depth=1
movq -56(%rbp), %r15 ## 8-byte Reload
movq (%r15), %rax
movl -44(%rbp), %esi ## 4-byte Reload
movq -64(%rbp), %rcx ## 8-byte Reload
cmpl %ecx, %esi
jl LBB0_11
## %bb.10: ## in Loop: Header=BB0_4 Depth=1
movl %ecx, %r12d
addl $16, %r12d
leal 128(,%rcx,8), %esi
movq %rax, %rdi
callq _realloc
movq %rax, (%r15)
movl %r12d, %ecx
movq %rcx, -64(%rbp) ## 8-byte Spill
movl -44(%rbp), %esi ## 4-byte Reload
LBB0_11: ## in Loop: Header=BB0_4 Depth=1
notl %r13d
movslq %r13d, %rcx
addq %r14, %rcx
movslq %esi, %rdx
incl %esi
movl %esi, -44(%rbp) ## 4-byte Spill
movq %rcx, (%rax,%rdx,8)
xorl %r12d, %r12d
movl -48(%rbp), %eax ## 4-byte Reload
movl %eax, %r13d
jmp LBB0_22
LBB0_12: ## in Loop: Header=BB0_4 Depth=1
cmpb $39, %r15b
je LBB0_14
## %bb.13: ## in Loop: Header=BB0_4 Depth=1
movzbl %r15b, %eax
cmpl $34, %eax
jne LBB0_15
LBB0_14: ## in Loop: Header=BB0_4 Depth=1
incl %ebx
movl %r15d, %r12d
jmp LBB0_22
LBB0_23:
movslq %r13d, %rax
movb $0, (%r14,%rax)
testb %r12b, %r12b
movl -44(%rbp), %eax ## 4-byte Reload
je LBB0_2
## %bb.24:
leaq L_.str.1(%rip), %r14
jmp LBB0_25
LBB0_1:
movl $-1, %eax
LBB0_2:
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_19:
leaq L_.str(%rip), %r14
LBB0_25:
movq -56(%rbp), %rbx ## 8-byte Reload
movq (%rbx), %rdi
callq _free
movq $0, (%rbx)
movq %r14, %rdi
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _error ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "cmdline ends with \\"
L_.str.1: ## @.str.1
.asciz "unclosed quote"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _split_cmdline ; -- Begin function split_cmdline
.p2align 2
_split_cmdline: ; @split_cmdline
.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
mov w0, #128 ; =0x80
bl _malloc
str x0, [x19]
str x20, [x0]
ldrb w28, [x20]
cbz w28, LBB0_25
; %bb.1:
mov w27, #0 ; =0x0
mov w25, #0 ; =0x0
mov w26, #0 ; =0x0
add x23, x20, #1
mov w22, #-1 ; =0xffffffff
mov w24, #16 ; =0x10
Lloh0:
adrp x21, l_.str@PAGE
Lloh1:
add x21, x21, l_.str@PAGEOFF
b LBB0_5
LBB0_2: ; in Loop: Header=BB0_5 Depth=1
mov w27, #0 ; =0x0
LBB0_3: ; in Loop: Header=BB0_5 Depth=1
add w26, w26, #1
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
ldrb w28, [x20, w26, sxtw]
cbz w28, LBB0_22
LBB0_5: ; =>This Loop Header: Depth=1
; Child Loop BB0_14 Depth 2
tst w27, #0xff
b.eq LBB0_12
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
and w8, w28, #0xff
cmp w8, w27, uxtb
b.eq LBB0_2
; %bb.7: ; in Loop: Header=BB0_5 Depth=1
cmp w8, #92
b.ne LBB0_11
; %bb.8: ; in Loop: Header=BB0_5 Depth=1
and w8, w27, #0xff
cmp w8, #39
b.eq LBB0_11
; %bb.9: ; in Loop: Header=BB0_5 Depth=1
sxtw x8, w26
add x26, x8, #1
ldrb w28, [x20, x26]
cbz w28, LBB0_24
; %bb.10: ; in Loop: Header=BB0_5 Depth=1
; kill: def $w26 killed $w26 killed $x26 def $x26
LBB0_11: ; in Loop: Header=BB0_5 Depth=1
strb w28, [x20, w25, sxtw]
add w25, w25, #1
b LBB0_3
LBB0_12: ; in Loop: Header=BB0_5 Depth=1
sxtb w0, w28
bl _isspace
cbz x0, LBB0_19
; %bb.13: ; in Loop: Header=BB0_5 Depth=1
add w28, w25, #1
strb wzr, [x20, w25, sxtw]
add w8, w26, #1
add x27, x23, w26, sxtw
LBB0_14: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
mov x26, x8
ldrsb w0, [x27], #1
cbz w0, LBB0_16
; %bb.15: ; in Loop: Header=BB0_14 Depth=2
bl _isspace
add w8, w26, #1
cbnz x0, LBB0_14
LBB0_16: ; in Loop: Header=BB0_5 Depth=1
ldr x0, [x19]
cmp w22, w24
b.lt LBB0_18
; %bb.17: ; in Loop: Header=BB0_5 Depth=1
add w24, w24, #16
lsl w1, w24, #3
bl _realloc
str x0, [x19]
LBB0_18: ; in Loop: Header=BB0_5 Depth=1
mov w27, #0 ; =0x0
mvn w8, w25
add x8, x20, w8, sxtw
str x8, [x0, w22, sxtw #3]
add w22, w22, #1
mov x25, x28
b LBB0_4
LBB0_19: ; in Loop: Header=BB0_5 Depth=1
and w8, w28, #0xff
cmp w8, #39
b.eq LBB0_21
; %bb.20: ; in Loop: Header=BB0_5 Depth=1
cmp w8, #34
b.ne LBB0_6
LBB0_21: ; in Loop: Header=BB0_5 Depth=1
add w26, w26, #1
mov x27, x28
b LBB0_4
LBB0_22:
strb wzr, [x20, w25, sxtw]
tst w27, #0xff
b.eq LBB0_26
; %bb.23:
Lloh2:
adrp x21, l_.str.1@PAGE
Lloh3:
add x21, x21, l_.str.1@PAGEOFF
LBB0_24:
ldr x0, [x19]
bl _free
str xzr, [x19]
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
b _error
LBB0_25:
mov w22, #-1 ; =0xffffffff
LBB0_26:
mov x0, x22
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "cmdline ends with \\"
l_.str.1: ; @.str.1
.asciz "unclosed quote"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _reallocz ## -- Begin function reallocz
.p2align 4, 0x90
_reallocz: ## @reallocz
.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
callq _realloc
movq %rax, %r14
xorl %edi, %edi
testq %rax, %rax
sete %dil
callq _unlikely
testq %rax, %rax
je LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
movq %rbx, %rsi
callq _fatal
LBB0_2:
movq %r14, %rax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Cannot re-allocate memory to %zu bytes."
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _reallocz ; -- Begin function reallocz
.p2align 2
_reallocz: ; @reallocz
.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
bl _realloc
mov x20, x0
cmp x0, #0
cset w0, eq
bl _unlikely
cbz x0, LBB0_2
; %bb.1:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
mov x1, x19
bl _fatal
LBB0_2:
mov x0, x20
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Cannot re-allocate memory to %zu bytes."
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function init_sockets
_init_sockets: ## @init_sockets
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $168, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, -184(%rbp) ## 8-byte Spill
movl %edi, %ebx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _explicit_addresses@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
movq %rsi, -144(%rbp) ## 8-byte Spill
je LBB0_2
## %bb.1:
movups (%rax), %xmm0
movaps %xmm0, -160(%rbp)
jmp LBB0_4
LBB0_2:
leaq -160(%rbp), %rsi
movl %ebx, %edi
callq _krb5_get_all_server_addrs
movq -144(%rbp), %rsi ## 8-byte Reload
testq %rax, %rax
je LBB0_4
## %bb.3:
leaq L_.str(%rip), %rcx
movl %ebx, %edi
movl $1, %esi
movq %rax, %rdx
callq _krb5_err
movq -144(%rbp), %rsi ## 8-byte Reload
LBB0_4:
movq _port_str@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl %ebx, %edi
callq _parse_ports
movl -160(%rbp), %edi
movq _num_ports@GOTPCREL(%rip), %r14
imull (%r14), %edi
shll $3, %edi
callq _malloc
movq %rax, -168(%rbp) ## 8-byte Spill
testq %rax, %rax
je LBB0_6
## %bb.5:
movslq (%r14), %rcx
shlq $3, %rcx
leaq L_.str.1(%rip), %rdx
movl %ebx, %edi
movl $1, %esi
callq _krb5_errx
LBB0_6:
movl %ebx, -132(%rbp) ## 4-byte Spill
movl (%r14), %ecx
xorl %r14d, %r14d
testl %ecx, %ecx
je LBB0_16
## %bb.7:
movl -160(%rbp), %eax
movq _ports@GOTPCREL(%rip), %rsi
xorl %edi, %edi
jmp LBB0_8
.p2align 4, 0x90
LBB0_14: ## in Loop: Header=BB0_8 Depth=1
movq _num_ports@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movq -192(%rbp), %rdi ## 8-byte Reload
LBB0_15: ## in Loop: Header=BB0_8 Depth=1
incq %rdi
movslq %ecx, %rdx
cmpq %rdx, %rdi
jae LBB0_16
LBB0_8: ## =>This Loop Header: Depth=1
## Child Loop BB0_11 Depth 2
testl %eax, %eax
je LBB0_9
## %bb.10: ## in Loop: Header=BB0_8 Depth=1
movq %rdi, -192(%rbp) ## 8-byte Spill
shlq $4, %rdi
xorl %ebx, %ebx
xorl %r15d, %r15d
movq %rdi, -176(%rbp) ## 8-byte Spill
jmp LBB0_11
.p2align 4, 0x90
LBB0_13: ## in Loop: Header=BB0_11 Depth=2
incq %r15
movslq -160(%rbp), %rax
addq $4, %rbx
cmpq %rax, %r15
movq _ports@GOTPCREL(%rip), %rsi
movq -176(%rbp), %rdi ## 8-byte Reload
jae LBB0_14
LBB0_11: ## Parent Loop BB0_8 Depth=1
## => This Inner Loop Header: Depth=2
movslq %r14d, %r12
movq -168(%rbp), %r13 ## 8-byte Reload
leaq (,%r12,8), %rdx
addq %r13, %rdx
movq -152(%rbp), %rcx
addq %rbx, %rcx
movq (%rsi), %rax
movl 12(%rax,%rdi), %r8d
movq (%rax,%rdi), %r9
movl 8(%rax,%rdi), %eax
movl %eax, (%rsp)
movl -132(%rbp), %edi ## 4-byte Reload
movq -144(%rbp), %rsi ## 8-byte Reload
callq _init_socket
movq (%r13,%r12,8), %rax
movq _rk_INVALID_SOCKET@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_13
## %bb.12: ## in Loop: Header=BB0_11 Depth=2
movq -152(%rbp), %rdi
addq %rbx, %rdi
leaq -128(%rbp), %rsi
movl $80, %edx
leaq -200(%rbp), %rcx
callq _krb5_print_address
movq _ports@GOTPCREL(%rip), %r12
movq (%r12), %rax
movq -176(%rbp), %r13 ## 8-byte Reload
movl 8(%rax,%r13), %edi
callq _ntohs
movq (%r12), %rcx
movq (%rcx,%r13), %rcx
movq _SOCK_STREAM@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
leaq L_.str.4(%rip), %rcx
leaq L_.str.3(%rip), %rdx
cmoveq %rdx, %rcx
movq %rcx, (%rsp)
movl -132(%rbp), %edi ## 4-byte Reload
movq -144(%rbp), %rsi ## 8-byte Reload
movl $5, %edx
leaq L_.str.2(%rip), %rcx
leaq -128(%rbp), %r8
movl %eax, %r9d
callq _kdc_log
incl %r14d
jmp LBB0_13
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_8 Depth=1
xorl %eax, %eax
jmp LBB0_15
LBB0_16:
leaq -160(%rbp), %rsi
movl -132(%rbp), %edi ## 4-byte Reload
callq _krb5_free_addresses
movslq %r14d, %rbx
shlq $3, %rbx
movq -168(%rbp), %rdi ## 8-byte Reload
movl %ebx, %esi
callq _realloc
movq %rax, %r15
testq %rax, %rax
je LBB0_18
## %bb.17:
testl %r14d, %r14d
je LBB0_19
LBB0_18:
leaq L_.str.5(%rip), %rdx
movl -132(%rbp), %edi ## 4-byte Reload
movl $1, %esi
movq %rbx, %rcx
callq _krb5_errx
LBB0_19:
movq %r15, %rdi
movl %r14d, %esi
callq _reinit_descrs
movq -184(%rbp), %rax ## 8-byte Reload
movq %r15, (%rax)
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_21
## %bb.20:
movl %r14d, %eax
addq $168, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_21:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _explicit_addresses,16,3 ## @explicit_addresses
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "krb5_get_all_server_addrs"
.comm _port_str,4,2 ## @port_str
.comm _num_ports,4,2 ## @num_ports
L_.str.1: ## @.str.1
.asciz "malloc(%lu) failed"
.comm _ports,8,3 ## @ports
.comm _rk_INVALID_SOCKET,8,3 ## @rk_INVALID_SOCKET
L_.str.2: ## @.str.2
.asciz "listening on %s port %u/%s"
.comm _SOCK_STREAM,8,3 ## @SOCK_STREAM
L_.str.3: ## @.str.3
.asciz "tcp"
L_.str.4: ## @.str.4
.asciz "udp"
L_.str.5: ## @.str.5
.asciz "realloc(%lu) failed"
.no_dead_strip _init_sockets
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function init_sockets
_init_sockets: ; @init_sockets
.cfi_startproc
; %bb.0:
sub sp, sp, #224
stp x28, x27, [sp, #128] ; 16-byte Folded Spill
stp x26, x25, [sp, #144] ; 16-byte Folded Spill
stp x24, x23, [sp, #160] ; 16-byte Folded Spill
stp x22, x21, [sp, #176] ; 16-byte Folded Spill
stp x20, x19, [sp, #192] ; 16-byte Folded Spill
stp x29, x30, [sp, #208] ; 16-byte Folded Spill
add x29, sp, #208
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.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 x2, [sp] ; 8-byte Folded Spill
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, #-88]
Lloh3:
adrp x8, _explicit_addresses@GOTPAGE
Lloh4:
ldr x8, [x8, _explicit_addresses@GOTPAGEOFF]
ldr w9, [x8]
cbz w9, LBB0_2
; %bb.1:
ldr q0, [x8]
str q0, [sp, #16]
b LBB0_4
LBB0_2:
add x1, sp, #16
mov x0, x20
bl _krb5_get_all_server_addrs
cbz x0, LBB0_4
; %bb.3:
mov x2, x0
Lloh5:
adrp x3, l_.str@PAGE
Lloh6:
add x3, x3, l_.str@PAGEOFF
mov x0, x20
mov w1, #1 ; =0x1
bl _krb5_err
LBB0_4:
Lloh7:
adrp x8, _port_str@GOTPAGE
Lloh8:
ldr x8, [x8, _port_str@GOTPAGEOFF]
Lloh9:
ldr w2, [x8]
mov x0, x20
mov x1, x21
bl _parse_ports
ldr w8, [sp, #16]
Lloh10:
adrp x19, _num_ports@GOTPAGE
Lloh11:
ldr x19, [x19, _num_ports@GOTPAGEOFF]
ldr w9, [x19]
mul w8, w8, w9
lsl w0, w8, #3
bl _malloc
mov x23, x0
cbz x0, LBB0_6
; %bb.5:
ldrsw x8, [x19]
lsl x3, x8, #3
Lloh12:
adrp x2, l_.str.1@PAGE
Lloh13:
add x2, x2, l_.str.1@PAGEOFF
mov x0, x20
mov w1, #1 ; =0x1
bl _krb5_errx
LBB0_6:
ldr w8, [x19]
cbz w8, LBB0_15
; %bb.7:
mov w22, #0 ; =0x0
mov x27, #0 ; =0x0
ldr w9, [sp, #16]
Lloh14:
adrp x28, _ports@GOTPAGE
Lloh15:
ldr x28, [x28, _ports@GOTPAGEOFF]
b LBB0_10
LBB0_8: ; in Loop: Header=BB0_10 Depth=1
Lloh16:
adrp x8, _num_ports@GOTPAGE
Lloh17:
ldr x8, [x8, _num_ports@GOTPAGEOFF]
Lloh18:
ldr w8, [x8]
LBB0_9: ; in Loop: Header=BB0_10 Depth=1
add x27, x27, #1
cmp x27, w8, sxtw
b.hs LBB0_16
LBB0_10: ; =>This Loop Header: Depth=1
; Child Loop BB0_13 Depth 2
cbz w9, LBB0_9
; %bb.11: ; in Loop: Header=BB0_10 Depth=1
mov x26, #0 ; =0x0
mov x24, #0 ; =0x0
lsl x19, x27, #4
b LBB0_13
LBB0_12: ; in Loop: Header=BB0_13 Depth=2
add x24, x24, #1
ldrsw x9, [sp, #16]
add x26, x26, #4
cmp x24, x9
b.hs LBB0_8
LBB0_13: ; Parent Loop BB0_10 Depth=1
; => This Inner Loop Header: Depth=2
add x25, x23, w22, sxtw #3
ldr x8, [sp, #24]
ldr x9, [x28]
add x9, x9, x27, lsl #4
ldr x5, [x9]
ldp w6, w4, [x9, #8]
add x3, x8, x26
mov x0, x20
mov x1, x21
mov x2, x25
bl _init_socket
ldr x8, [x25]
Lloh19:
adrp x9, _rk_INVALID_SOCKET@GOTPAGE
Lloh20:
ldr x9, [x9, _rk_INVALID_SOCKET@GOTPAGEOFF]
Lloh21:
ldr x9, [x9]
cmp x8, x9
b.eq LBB0_12
; %bb.14: ; in Loop: Header=BB0_13 Depth=2
ldr x8, [sp, #24]
add x0, x8, x26
add x1, sp, #40
add x3, sp, #8
mov w2, #80 ; =0x50
bl _krb5_print_address
ldr x8, [x28]
add x8, x8, x19
ldr w0, [x8, #8]
bl _ntohs
mov x5, x0
ldr x8, [x28]
ldr x8, [x8, x19]
Lloh22:
adrp x9, _SOCK_STREAM@GOTPAGE
Lloh23:
ldr x9, [x9, _SOCK_STREAM@GOTPAGEOFF]
Lloh24:
ldr x9, [x9]
cmp x8, x9
Lloh25:
adrp x8, l_.str.4@PAGE
Lloh26:
add x8, x8, l_.str.4@PAGEOFF
Lloh27:
adrp x9, l_.str.3@PAGE
Lloh28:
add x9, x9, l_.str.3@PAGEOFF
csel x6, x9, x8, eq
add x4, sp, #40
mov x0, x20
mov x1, x21
mov w2, #5 ; =0x5
Lloh29:
adrp x3, l_.str.2@PAGE
Lloh30:
add x3, x3, l_.str.2@PAGEOFF
bl _kdc_log
add w22, w22, #1
b LBB0_12
LBB0_15:
mov w22, #0 ; =0x0
LBB0_16:
add x1, sp, #16
mov x0, x20
bl _krb5_free_addresses
sbfiz x24, x22, #3, #32
mov x0, x23
mov x1, x24
bl _realloc
mov x21, x0
cbz x0, LBB0_18
; %bb.17:
cbz w22, LBB0_19
LBB0_18:
Lloh31:
adrp x2, l_.str.5@PAGE
Lloh32:
add x2, x2, l_.str.5@PAGEOFF
mov x0, x20
mov w1, #1 ; =0x1
mov x3, x24
bl _krb5_errx
LBB0_19:
mov x0, x21
mov x1, x22
bl _reinit_descrs
ldr x8, [sp] ; 8-byte Folded Reload
str x21, [x8]
ldur x8, [x29, #-88]
Lloh33:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh34:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh35:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_21
; %bb.20:
mov x0, x22
ldp x29, x30, [sp, #208] ; 16-byte Folded Reload
ldp x20, x19, [sp, #192] ; 16-byte Folded Reload
ldp x22, x21, [sp, #176] ; 16-byte Folded Reload
ldp x24, x23, [sp, #160] ; 16-byte Folded Reload
ldp x26, x25, [sp, #144] ; 16-byte Folded Reload
ldp x28, x27, [sp, #128] ; 16-byte Folded Reload
add sp, sp, #224
ret
LBB0_21:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpAdd Lloh29, Lloh30
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpAdd Lloh31, Lloh32
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.cfi_endproc
; -- End function
.comm _explicit_addresses,16,3 ; @explicit_addresses
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "krb5_get_all_server_addrs"
.comm _port_str,4,2 ; @port_str
.comm _num_ports,4,2 ; @num_ports
l_.str.1: ; @.str.1
.asciz "malloc(%lu) failed"
.comm _ports,8,3 ; @ports
.comm _rk_INVALID_SOCKET,8,3 ; @rk_INVALID_SOCKET
l_.str.2: ; @.str.2
.asciz "listening on %s port %u/%s"
.comm _SOCK_STREAM,8,3 ; @SOCK_STREAM
l_.str.3: ; @.str.3
.asciz "tcp"
l_.str.4: ; @.str.4
.asciz "udp"
l_.str.5: ; @.str.5
.asciz "realloc(%lu) failed"
.no_dead_strip _init_sockets
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function kernel_modify_some
_kernel_modify_some: ## @kernel_modify_some
.cfi_startproc
## %bb.0:
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
movl $1, %r12d
xorl %r15d, %r15d
leaq -64(%rbp), %r14
.p2align 4, 0x90
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_2 Depth 2
leal (,%r12,8), %eax
leal (%rax,%rax,2), %r13d
.p2align 4, 0x90
LBB0_2: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movq %r15, %rdi
movl %r13d, %esi
callq _realloc
movq %rax, %r15
testq %rax, %rax
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=2
movl $1, %edi
leaq L_.str(%rip), %rsi
callq _xo_err
LBB0_4: ## in Loop: Header=BB0_2 Depth=2
movq %r14, %rdi
xorl %esi, %esi
movl $24, %edx
callq _memset
movl %r12d, -64(%rbp)
movq %r15, -48(%rbp)
movq _ISCSISLIST@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl %ebx, %edi
movq %r14, %rdx
callq _ioctl
testl %eax, %eax
je LBB0_2
## %bb.5: ## in Loop: Header=BB0_2 Depth=2
movq _errno@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _EMSGSIZE@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_2
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
shll $2, %r12d
jmp LBB0_1
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "realloc"
.comm _ISCSISLIST,4,2 ## @ISCSISLIST
.comm _errno,8,3 ## @errno
.comm _EMSGSIZE,8,3 ## @EMSGSIZE
.comm _ENABLE_OFF,4,2 ## @ENABLE_OFF
.comm _ENABLE_ON,4,2 ## @ENABLE_ON
.comm _ISCSISMODIFY,4,2 ## @ISCSISMODIFY
.no_dead_strip _kernel_modify_some
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function kernel_modify_some
_kernel_modify_some: ; @kernel_modify_some
.cfi_startproc
; %bb.0:
sub sp, sp, #112
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x0
mov x20, #0 ; =0x0
mov w23, #1 ; =0x1
Lloh0:
adrp x24, _ISCSISLIST@GOTPAGE
Lloh1:
ldr x24, [x24, _ISCSISLIST@GOTPAGEOFF]
Lloh2:
adrp x25, _errno@GOTPAGE
Lloh3:
ldr x25, [x25, _errno@GOTPAGEOFF]
Lloh4:
adrp x26, _EMSGSIZE@GOTPAGE
Lloh5:
ldr x26, [x26, _EMSGSIZE@GOTPAGEOFF]
Lloh6:
adrp x21, l_.str@PAGE
Lloh7:
add x21, x21, l_.str@PAGEOFF
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_2 Depth 2
add w8, w23, w23, lsl #1
lsl w22, w8, #3
LBB0_2: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
mov x0, x20
mov x1, x22
bl _realloc
mov x20, x0
cbz x0, LBB0_4
; %bb.3: ; in Loop: Header=BB0_2 Depth=2
mov w0, #1 ; =0x1
mov x1, x21
bl _xo_err
LBB0_4: ; in Loop: Header=BB0_2 Depth=2
add x0, sp, #8
mov w1, #0 ; =0x0
mov w2, #24 ; =0x18
bl _memset
str w23, [sp, #8]
str x20, [sp, #24]
ldr w1, [x24]
add x2, sp, #8
mov x0, x19
bl _ioctl
cbz w0, LBB0_2
; %bb.5: ; in Loop: Header=BB0_2 Depth=2
ldr x8, [x25]
ldr x9, [x26]
cmp x8, x9
b.ne LBB0_2
; %bb.6: ; in Loop: Header=BB0_1 Depth=1
lsl w23, w23, #2
b LBB0_1
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "realloc"
.comm _ISCSISLIST,4,2 ; @ISCSISLIST
.comm _errno,8,3 ; @errno
.comm _EMSGSIZE,8,3 ; @EMSGSIZE
.comm _ENABLE_OFF,4,2 ; @ENABLE_OFF
.comm _ENABLE_ON,4,2 ; @ENABLE_ON
.comm _ISCSISMODIFY,4,2 ; @ISCSISMODIFY
.no_dead_strip _kernel_modify_some
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function parsebytes
_parsebytes: ## @parsebytes
.cfi_startproc
## %bb.0:
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, %r14
movq %rdi, %r12
callq _strlen
testb $1, %al
jne LBB0_1
## %bb.2:
movq _nil@GOTPCREL(%rip), %rax
movq (%rax), %rax
movzbl (%r12), %ecx
testb %cl, %cl
je LBB0_3
## %bb.4:
movq %r14, -48(%rbp) ## 8-byte Spill
movq %rbx, -56(%rbp) ## 8-byte Spill
addq $2, %r12
movl $4, %r13d
xorl %r15d, %r15d
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
cmpb $0, -1(%r12)
je LBB0_7
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movq %rax, -64(%rbp) ## 8-byte Spill
movsbl %cl, %edi
callq _gethex
movl %eax, %ebx
shll $4, %ebx
movsbl -1(%r12), %edi
callq _gethex
movl %eax, %r14d
andl %ebx, %r14d
movq -64(%rbp), %rdi ## 8-byte Reload
movl %r13d, %esi
callq _realloc
movl %r14d, (%rax,%r15,4)
decq %r15
movzbl (%r12), %ecx
addl $-4, %r13d
addq $2, %r12
testb %cl, %cl
jne LBB0_5
LBB0_7:
movq -56(%rbp), %rbx ## 8-byte Reload
movq -48(%rbp), %r14 ## 8-byte Reload
jmp LBB0_8
LBB0_1:
leaq L_.str(%rip), %rdi
callq _err
movq _False@GOTPCREL(%rip), %rax
jmp LBB0_9
LBB0_3:
xorl %r15d, %r15d
LBB0_8:
movq %rax, (%r14)
movl %r15d, (%rbx)
movq _True@GOTPCREL(%rip), %rax
LBB0_9:
movl (%rax), %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "the byte stream must be an even length"
.comm _False,4,2 ## @False
.comm _nil,8,3 ## @nil
.comm _True,4,2 ## @True
.no_dead_strip _parsebytes
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function parsebytes
_parsebytes: ; @parsebytes
.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 x22, x0
bl _strlen
tbnz w0, #0, LBB0_5
; %bb.1:
Lloh0:
adrp x8, _nil@GOTPAGE
Lloh1:
ldr x8, [x8, _nil@GOTPAGEOFF]
Lloh2:
ldr x21, [x8]
ldrb w8, [x22]
cbz w8, LBB0_6
; %bb.2:
mov x25, #0 ; =0x0
add x24, x22, #1
mov w22, #4 ; =0x4
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldrb w9, [x24]
cbz w9, LBB0_7
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
sxtb w0, w8
bl _gethex
mov x23, x0
ldrsb w0, [x24]
bl _gethex
and w23, w0, w23, lsl #4
mov x0, x21
mov x1, x22
bl _realloc
mov x21, x0
sub x9, x25, #1
str w23, [x0, x25, lsl #2]
ldrb w8, [x24, #1]
sub w22, w22, #4
add x24, x24, #2
mov x25, x9
cbnz w8, LBB0_3
b LBB0_8
LBB0_5:
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
bl _err
Lloh5:
adrp x8, _False@GOTPAGE
Lloh6:
ldr x8, [x8, _False@GOTPAGEOFF]
b LBB0_9
LBB0_6:
mov w9, #0 ; =0x0
b LBB0_8
LBB0_7:
mov x9, x25
LBB0_8:
str x21, [x20]
str w9, [x19]
Lloh7:
adrp x8, _True@GOTPAGE
Lloh8:
ldr x8, [x8, _True@GOTPAGEOFF]
LBB0_9:
ldr w0, [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
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGot Lloh7, Lloh8
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "the byte stream must be an even length"
.comm _False,4,2 ; @False
.comm _nil,8,3 ; @nil
.comm _True,4,2 ; @True
.no_dead_strip _parsebytes
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function kftp_get_response
_kftp_get_response: ## @kftp_get_response
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movl 16(%rdi), %edi
movl $1, %esi
callq _socket_wait
testq %rax, %rax
jle LBB0_1
## %bb.2:
movl 16(%rbx), %edi
leaq -41(%rbp), %rsi
movl $1, %edx
callq _read
movq %rax, %rcx
movl $-1, %eax
testq %rcx, %rcx
je LBB0_16
## %bb.3:
xorl %r12d, %r12d
leaq -41(%rbp), %r14
movl $256, %r15d ## imm = 0x100
jmp LBB0_4
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_4 Depth=1
movl %r13d, %r12d
LBB0_13: ## in Loop: Header=BB0_4 Depth=1
movl 16(%rbx), %edi
movq %r14, %rsi
movl $1, %edx
callq _read
movl %r12d, %r13d
testq %rax, %rax
je LBB0_14
LBB0_4: ## =>This Inner Loop Header: Depth=1
movl (%rbx), %ecx
movq 8(%rbx), %rax
cmpl %ecx, %r12d
jl LBB0_6
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
leal (%rcx,%rcx), %esi
testl %ecx, %ecx
cmovel %r15d, %esi
movl %esi, (%rbx)
movq %rax, %rdi
callq _realloc
movq %rax, 8(%rbx)
LBB0_6: ## in Loop: Header=BB0_4 Depth=1
movzbl -41(%rbp), %ecx
leal 1(%r12), %r13d
movslq %r12d, %rdx
movb %cl, (%rax,%rdx)
cmpb $10, %cl
jne LBB0_7
## %bb.8: ## in Loop: Header=BB0_4 Depth=1
cmpl $2, %r12d
jg LBB0_15
## %bb.9: ## in Loop: Header=BB0_4 Depth=1
movq 8(%rbx), %rax
movzbl (%rax), %edi
callq _isdigit
xorl %r12d, %r12d
testq %rax, %rax
je LBB0_13
## %bb.10: ## in Loop: Header=BB0_4 Depth=1
movq 8(%rbx), %rax
movzbl 1(%rax), %edi
callq _isdigit
testq %rax, %rax
je LBB0_13
## %bb.11: ## in Loop: Header=BB0_4 Depth=1
movq 8(%rbx), %rax
movzbl 2(%rax), %edi
callq _isdigit
testq %rax, %rax
je LBB0_13
## %bb.12: ## in Loop: Header=BB0_4 Depth=1
movq 8(%rbx), %rax
cmpb $45, 3(%rax)
je LBB0_13
LBB0_14:
cmpl $2, %r13d
movl $-1, %eax
jl LBB0_16
LBB0_15:
movq 8(%rbx), %rax
movl %r13d, %ecx
movb $0, -2(%rax,%rcx)
movq 8(%rbx), %rdi
leaq -56(%rbp), %rsi
xorl %edx, %edx
callq _strtol
jmp LBB0_16
LBB0_1:
xorl %eax, %eax
LBB0_16:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _kftp_get_response
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function kftp_get_response
_kftp_get_response: ; @kftp_get_response
.cfi_startproc
; %bb.0:
sub sp, sp, #64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
ldr w0, [x0, #16]
mov w1, #1 ; =0x1
bl _socket_wait
cmp x0, #1
b.lt LBB0_15
; %bb.1:
ldr w0, [x19, #16]
add x1, sp, #15
mov w2, #1 ; =0x1
bl _read
cbz x0, LBB0_14
; %bb.2:
mov w22, #0 ; =0x0
mov w20, #256 ; =0x100
b LBB0_5
LBB0_3: ; in Loop: Header=BB0_5 Depth=1
mov w21, #0 ; =0x0
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
ldr w0, [x19, #16]
add x1, sp, #15
mov w2, #1 ; =0x1
bl _read
mov x22, x21
cbz x0, LBB0_13
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [x19]
ldr x0, [x19, #8]
cmp w22, w8
b.lt LBB0_7
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
lsl w9, w8, #1
cmp w8, #0
csel w1, w20, w9, eq
str w1, [x19]
bl _realloc
str x0, [x19, #8]
LBB0_7: ; in Loop: Header=BB0_5 Depth=1
ldrb w8, [sp, #15]
add w21, w22, #1
strb w8, [x0, w22, sxtw]
cmp w8, #10
b.ne LBB0_4
; %bb.8: ; in Loop: Header=BB0_5 Depth=1
cmp w22, #2
b.gt LBB0_16
; %bb.9: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [x19, #8]
ldrb w0, [x8]
bl _isdigit
cbz x0, LBB0_3
; %bb.10: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [x19, #8]
ldrb w0, [x8, #1]
bl _isdigit
cbz x0, LBB0_3
; %bb.11: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [x19, #8]
ldrb w0, [x8, #2]
bl _isdigit
cbz x0, LBB0_3
; %bb.12: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [x19, #8]
ldrb w8, [x8, #3]
cmp w8, #45
b.eq LBB0_3
LBB0_13:
cmp w21, #2
b.ge LBB0_16
LBB0_14:
mov w0, #-1 ; =0xffffffff
b LBB0_17
LBB0_15:
mov w0, #0 ; =0x0
b LBB0_17
LBB0_16:
ldr x8, [x19, #8]
add x8, x8, w21, uxtw
sturb wzr, [x8, #-2]
ldr x0, [x19, #8]
mov x1, sp
mov w2, #0 ; =0x0
bl _strtol
LBB0_17:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.no_dead_strip _kftp_get_response
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function mpcf_unescape_new
_mpcf_unescape_new: ## @mpcf_unescape_new
.cfi_startproc
## %bb.0:
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, -56(%rbp) ## 8-byte Spill
movq %rdi, %r15
movl $1, %edi
movl $1, %esi
callq _calloc
movq %rax, %r12
movzbl (%r15), %eax
testb %al, %al
je LBB0_10
## %bb.1:
leaq -42(%rbp), %r13
.p2align 4, 0x90
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_5 Depth 2
movq (%rbx), %rcx
testq %rcx, %rcx
je LBB0_8
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
xorl %r14d, %r14d
jmp LBB0_5
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_5 Depth=2
movq 8(%rbx,%r14,8), %rcx
incq %r14
testq %rcx, %rcx
je LBB0_8
LBB0_5: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
cmpb (%rcx), %al
jne LBB0_7
## %bb.6: ## in Loop: Header=BB0_5 Depth=2
movzbl 1(%r15), %edx
cmpb 1(%rcx), %dl
jne LBB0_7
## %bb.11: ## in Loop: Header=BB0_3 Depth=1
movq %r12, %rdi
callq _strlen
leaq 2(%rax), %rsi
movq %r12, %rdi
callq _realloc
movq %rax, %r12
movq -56(%rbp), %rax ## 8-byte Reload
movzbl (%rax,%r14), %eax
movb %al, -42(%rbp)
movb $0, -41(%rbp)
movq %r12, %rdi
movq %r13, %rsi
callq _strcat
decq %r15
cmpb $0, (%r15)
jne LBB0_2
jmp LBB0_10
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_3 Depth=1
movq %r12, %rdi
callq _strlen
leaq 2(%rax), %rsi
movq %r12, %rdi
callq _realloc
movq %rax, %r12
movzbl (%r15), %eax
movb %al, -42(%rbp)
movb $0, -41(%rbp)
movq %r12, %rdi
movq %r13, %rsi
callq _strcat
cmpb $0, (%r15)
je LBB0_10
LBB0_2: ## in Loop: Header=BB0_3 Depth=1
movzbl 1(%r15), %eax
incq %r15
testb %al, %al
jne LBB0_3
LBB0_10:
movq %r12, %rax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _mpcf_unescape_new
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function mpcf_unescape_new
_mpcf_unescape_new: ; @mpcf_unescape_new
.cfi_startproc
; %bb.0:
sub sp, sp, #80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x2
mov x20, x1
mov x21, x0
mov w0, #1 ; =0x1
mov w1, #1 ; =0x1
bl _calloc
mov x22, x0
ldrb w8, [x21]
cbz w8, LBB0_10
; %bb.1:
add x23, x19, #8
LBB0_2: ; =>This Loop Header: Depth=1
; Child Loop BB0_5 Depth 2
ldr x10, [x19]
cbz x10, LBB0_8
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
mov x9, x23
mov x24, x20
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_5 Depth=2
ldr x10, [x9], #8
add x24, x24, #1
cbz x10, LBB0_8
LBB0_5: ; Parent Loop BB0_2 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w11, [x10]
cmp w8, w11
b.ne LBB0_4
; %bb.6: ; in Loop: Header=BB0_5 Depth=2
ldrb w11, [x21, #1]
ldrb w10, [x10, #1]
cmp w11, w10
b.ne LBB0_4
; %bb.7: ; in Loop: Header=BB0_2 Depth=1
mov x0, x22
bl _strlen
add x1, x0, #2
mov x0, x22
bl _realloc
mov x22, x0
ldrb w8, [x24]
strb w8, [sp, #14]
strb wzr, [sp, #15]
add x1, sp, #14
bl _strcat
sub x21, x21, #1
ldrb w8, [x21]
cbnz w8, LBB0_9
b LBB0_10
LBB0_8: ; in Loop: Header=BB0_2 Depth=1
mov x0, x22
bl _strlen
add x1, x0, #2
mov x0, x22
bl _realloc
mov x22, x0
ldrb w8, [x21]
strb w8, [sp, #14]
strb wzr, [sp, #15]
add x1, sp, #14
bl _strcat
ldrb w8, [x21]
cbz w8, LBB0_10
LBB0_9: ; in Loop: Header=BB0_2 Depth=1
ldrb w8, [x21, #1]!
cbnz w8, LBB0_2
LBB0_10:
mov x0, x22
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.no_dead_strip _mpcf_unescape_new
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function unregister_select
_unregister_select: ## @unregister_select
.cfi_startproc
## %bb.0:
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 _ESP_OK@GOTPCREL(%rip), %r15
testq %rdi, %rdi
je LBB0_1
## %bb.2:
movq %rdi, %rbx
movq _ESP_ERR_INVALID_STATE@GOTPCREL(%rip), %rax
movl (%rax), %r14d
movq _s_registered_select_lock@GOTPCREL(%rip), %rdi
callq _portENTER_CRITICAL
movq _s_registered_select_num@GOTPCREL(%rip), %r12
movl (%r12), %r13d
testl %r13d, %r13d
jle LBB0_9
## %bb.3:
movq _s_registered_selects@GOTPCREL(%rip), %r14
movq (%r14), %rcx
leaq 8(%rcx), %rax
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq %rax, %rdx
addq $-8, %rax
cmpq %rbx, -8(%rdx)
jne LBB0_4
## %bb.5:
movq 8(%rcx,%r13,8), %rcx
incq %r13
movq %rcx, (%rax)
movq (%r14), %rdi
leal (,%r13,8), %esi
callq _realloc
movq %rax, (%r14)
testq %rax, %rax
je LBB0_6
## %bb.7:
movl %r13d, (%r12)
jmp LBB0_8
LBB0_1:
movl (%r15), %r14d
jmp LBB0_10
LBB0_6:
movq _ESP_ERR_NO_MEM@GOTPCREL(%rip), %r15
LBB0_8:
movl (%r15), %r14d
LBB0_9:
movq _s_registered_select_lock@GOTPCREL(%rip), %rdi
callq _portEXIT_CRITICAL
LBB0_10:
movl %r14d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ESP_OK,4,2 ## @ESP_OK
.comm _ESP_ERR_INVALID_STATE,4,2 ## @ESP_ERR_INVALID_STATE
.comm _s_registered_select_lock,4,2 ## @s_registered_select_lock
.comm _s_registered_select_num,4,2 ## @s_registered_select_num
.comm _s_registered_selects,8,3 ## @s_registered_selects
.comm _ESP_ERR_NO_MEM,4,2 ## @ESP_ERR_NO_MEM
.no_dead_strip _unregister_select
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function unregister_select
_unregister_select: ; @unregister_select
.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
cbz x0, LBB0_6
; %bb.1:
mov x20, x0
Lloh0:
adrp x8, _ESP_ERR_INVALID_STATE@GOTPAGE
Lloh1:
ldr x8, [x8, _ESP_ERR_INVALID_STATE@GOTPAGEOFF]
Lloh2:
ldr w19, [x8]
Lloh3:
adrp x0, _s_registered_select_lock@GOTPAGE
Lloh4:
ldr x0, [x0, _s_registered_select_lock@GOTPAGEOFF]
bl _portENTER_CRITICAL
Lloh5:
adrp x21, _s_registered_select_num@GOTPAGE
Lloh6:
ldr x21, [x21, _s_registered_select_num@GOTPAGEOFF]
ldr w8, [x21]
cmp w8, #1
b.lt LBB0_9
; %bb.2:
Lloh7:
adrp x19, _s_registered_selects@GOTPAGE
Lloh8:
ldr x19, [x19, _s_registered_selects@GOTPAGEOFF]
ldr x9, [x19]
add x10, x9, #8
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x11, [x10, #-8]!
cmp x11, x20
b.ne LBB0_3
; %bb.4:
add x20, x8, #1
ldr x8, [x9, x20, lsl #3]
str x8, [x10]
ldr x0, [x19]
lsl w1, w20, #3
bl _realloc
str x0, [x19]
cbz x0, LBB0_7
; %bb.5:
str w20, [x21]
Lloh9:
adrp x8, _ESP_OK@GOTPAGE
Lloh10:
ldr x8, [x8, _ESP_OK@GOTPAGEOFF]
b LBB0_8
LBB0_6:
Lloh11:
adrp x8, _ESP_OK@GOTPAGE
Lloh12:
ldr x8, [x8, _ESP_OK@GOTPAGEOFF]
Lloh13:
ldr w19, [x8]
b LBB0_10
LBB0_7:
Lloh14:
adrp x8, _ESP_ERR_NO_MEM@GOTPAGE
Lloh15:
ldr x8, [x8, _ESP_ERR_NO_MEM@GOTPAGEOFF]
LBB0_8:
ldr w19, [x8]
LBB0_9:
Lloh16:
adrp x0, _s_registered_select_lock@GOTPAGE
Lloh17:
ldr x0, [x0, _s_registered_select_lock@GOTPAGEOFF]
bl _portEXIT_CRITICAL
LBB0_10:
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGot Lloh16, Lloh17
.cfi_endproc
; -- End function
.comm _ESP_OK,4,2 ; @ESP_OK
.comm _ESP_ERR_INVALID_STATE,4,2 ; @ESP_ERR_INVALID_STATE
.comm _s_registered_select_lock,4,2 ; @s_registered_select_lock
.comm _s_registered_select_num,4,2 ; @s_registered_select_num
.comm _s_registered_selects,8,3 ; @s_registered_selects
.comm _ESP_ERR_NO_MEM,4,2 ; @ESP_ERR_NO_MEM
.no_dead_strip _unregister_select
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function strbuf_append
_strbuf_append: ## @strbuf_append
.cfi_startproc
## %bb.0:
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 %rdi, %rax
orq %rsi, %rax
setne %al
testl %edx, %edx
js LBB0_12
## %bb.1:
testb %al, %al
je LBB0_12
## %bb.2:
movq %rsi, %r14
movq %rsi, %rdi
callq _strlen
movl %eax, %r15d
movl (%rbx), %ecx
movl 4(%rbx), %eax
addl %r15d, %ecx
addl $2, %ecx
cmpl %eax, %ecx
jge LBB0_4
## %bb.3:
movq 8(%rbx), %rax
testq %r14, %r14
jne LBB0_8
jmp LBB0_10
LBB0_4:
leal (%r15,%rax), %r12d
addl $256, %r12d ## imm = 0x100
movq 8(%rbx), %rdi
movl %r12d, %esi
callq _realloc
testq %rax, %rax
je LBB0_5
## %bb.6:
movq %rax, 8(%rbx)
movl %r12d, 4(%rbx)
testq %r14, %r14
je LBB0_10
LBB0_8:
testq %rax, %rax
je LBB0_10
## %bb.9:
movslq (%rbx), %rcx
addq %rcx, %rax
movq %rax, %rdi
movq %r14, %rsi
movl %r15d, %edx
callq _memcpy
addl %r15d, (%rbx)
movq 8(%rbx), %rax
LBB0_10:
testq %rax, %rax
je LBB0_12
## %bb.11:
movslq (%rbx), %rcx
movb $0, (%rax,%rcx)
jmp LBB0_12
LBB0_5:
xorl %ebx, %ebx
LBB0_12:
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _strbuf_append
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function strbuf_append
_strbuf_append: ; @strbuf_append
.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
orr x8, x0, x1
cmp x8, #0
cset w8, ne
tbnz w2, #31, LBB0_11
; %bb.1:
cbz w8, LBB0_11
; %bb.2:
mov x20, x1
mov x0, x1
bl _strlen
mov x21, x0
ldp w9, w8, [x19]
add w9, w0, w9
add w9, w9, #2
cmp w9, w8
b.ge LBB0_4
; %bb.3:
ldr x0, [x19, #8]
cbnz x20, LBB0_6
b LBB0_8
LBB0_4:
add w8, w21, w8
add w22, w8, #256
ldr x0, [x19, #8]
mov x1, x22
bl _realloc
cbz x0, LBB0_10
; %bb.5:
str x0, [x19, #8]
str w22, [x19, #4]
cbz x20, LBB0_8
LBB0_6:
cbz x0, LBB0_8
; %bb.7:
ldrsw x8, [x19]
add x0, x0, x8
mov x1, x20
mov x2, x21
bl _memcpy
ldr w8, [x19]
add w8, w8, w21
str w8, [x19]
ldr x0, [x19, #8]
LBB0_8:
cbz x0, LBB0_11
; %bb.9:
ldrsw x8, [x19]
strb wzr, [x0, x8]
b LBB0_11
LBB0_10:
mov x19, #0 ; =0x0
LBB0_11:
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _strbuf_append
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _datalink2iov ## -- Begin function datalink2iov
.p2align 4, 0x90
_datalink2iov: ## @datalink2iov
.cfi_startproc
## %bb.0:
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 %r9, -48(%rbp) ## 8-byte Spill
movq %r8, %r15
movl %ecx, %r12d
movq %rdx, %r13
movq %rsi, %r14
movq %rdi, %rbx
testq %rdi, %rdi
je LBB0_2
## %bb.1:
leaq 28(%rbx), %rdi
callq _timer_Stop
leaq 24(%rbx), %rdi
callq _cbcp_Down
leaq 20(%rbx), %rdi
callq _timer_Stop
leaq 16(%rbx), %rdi
callq _timer_Stop
LBB0_2:
movslq (%r13), %rax
leal -1(%r12), %ecx
cmpl %ecx, %eax
jge LBB0_3
## %bb.4:
movq %rax, %rcx
shlq $4, %rcx
decl %eax
movq %rbx, 8(%r14,%rcx)
movl %eax, (%r13)
movl $32, (%r14,%rcx)
testq %rbx, %rbx
je LBB0_6
## %bb.5:
movq (%rbx), %rdi
movq _DATALINK_MAXNAME@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _realloc
movslq (%r13), %rcx
leal 1(%rcx), %edx
shlq $4, %rcx
movq %rax, 8(%r14,%rcx)
movq _DATALINK_MAXNAME@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %edx, (%r13)
movl %eax, (%r14,%rcx)
movq 8(%rbx), %rdi
movq %r14, %rsi
movq %r13, %rdx
movl %r12d, %ecx
movq %r15, %r8
movq -48(%rbp), %r9 ## 8-byte Reload
callq _physical2iov
movl %eax, %r14d
jmp LBB0_8
LBB0_3:
movq _LogERROR@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
callq _log_Printf
movl $-1, %r14d
testq %rbx, %rbx
je LBB0_9
LBB0_8:
movq (%rbx), %rdi
callq _free
movq %rbx, %rdi
callq _free
LBB0_9:
movl %r14d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_6:
movslq (%r13), %rax
leal 1(%rax), %ecx
shlq $4, %rax
movq $0, 8(%r14,%rax)
movq _DATALINK_MAXNAME@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
movl %ecx, (%r13)
movl %edx, (%r14,%rax)
xorl %edi, %edi
movq %r14, %rsi
movq %r13, %rdx
movl %r12d, %ecx
movq %r15, %r8
movq -48(%rbp), %r9 ## 8-byte Reload
callq _physical2iov
movl %eax, %r14d
cmpl $-1, %eax
jne LBB0_9
## %bb.7:
movl $-1, %r14d
jmp LBB0_8
.cfi_endproc
## -- End function
.comm _LogERROR,4,2 ## @LogERROR
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Toiov: No room for datalink !\n"
.comm _DATALINK_MAXNAME,4,2 ## @DATALINK_MAXNAME
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _datalink2iov ; -- Begin function datalink2iov
.p2align 2
_datalink2iov: ; @datalink2iov
.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, x5
mov x21, x4
mov x22, x3
mov x23, x2
mov x24, x1
mov x19, x0
cbz x0, LBB0_2
; %bb.1:
add x0, x19, #28
bl _timer_Stop
add x0, x19, #24
bl _cbcp_Down
add x0, x19, #20
bl _timer_Stop
add x0, x19, #16
bl _timer_Stop
LBB0_2:
ldrsw x8, [x23]
sub w9, w22, #1
cmp w8, w9
b.ge LBB0_5
; %bb.3:
add x9, x24, x8, lsl #4
str x19, [x9, #8]
sub w8, w8, #1
str w8, [x23]
mov w8, #32 ; =0x20
str w8, [x9]
cbz x19, LBB0_8
; %bb.4:
ldr x0, [x19]
Lloh0:
adrp x25, _DATALINK_MAXNAME@GOTPAGE
Lloh1:
ldr x25, [x25, _DATALINK_MAXNAME@GOTPAGEOFF]
ldr w1, [x25]
bl _realloc
ldrsw x8, [x23]
add x9, x24, x8, lsl #4
str x0, [x9, #8]
ldr w10, [x25]
add w8, w8, #1
str w8, [x23]
str w10, [x9]
ldr x0, [x19, #8]
mov x1, x24
mov x2, x23
mov x3, x22
mov x4, x21
mov x5, x20
bl _physical2iov
mov x20, x0
b LBB0_6
LBB0_5:
Lloh2:
adrp x8, _LogERROR@GOTPAGE
Lloh3:
ldr x8, [x8, _LogERROR@GOTPAGEOFF]
Lloh4:
ldr w0, [x8]
Lloh5:
adrp x1, l_.str@PAGE
Lloh6:
add x1, x1, l_.str@PAGEOFF
bl _log_Printf
mov w20, #-1 ; =0xffffffff
cbz x19, LBB0_7
LBB0_6:
ldr x0, [x19]
bl _free
mov x0, x19
bl _free
LBB0_7:
mov x0, x20
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
LBB0_8:
ldrsw x8, [x23]
add x9, x24, x8, lsl #4
str xzr, [x9, #8]
Lloh7:
adrp x10, _DATALINK_MAXNAME@GOTPAGE
Lloh8:
ldr x10, [x10, _DATALINK_MAXNAME@GOTPAGEOFF]
Lloh9:
ldr w10, [x10]
add w8, w8, #1
str w8, [x23]
str w10, [x9]
mov x0, #0 ; =0x0
mov x1, x24
mov x2, x23
mov x3, x22
mov x4, x21
mov x5, x20
bl _physical2iov
mov x20, x0
cmn w0, #1
b.ne LBB0_7
b LBB0_6
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _LogERROR,4,2 ; @LogERROR
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Toiov: No room for datalink !\n"
.comm _DATALINK_MAXNAME,4,2 ; @DATALINK_MAXNAME
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _realloc ## -- Begin function realloc
.p2align 4, 0x90
_realloc: ## @realloc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r14
movl $8, %esi
subl %ebx, %esi
movq _TAG_FREETYPE@GOTPCREL(%rip), %rax
movl (%rax), %edx
xorl %r15d, %r15d
xorl %edi, %edi
callq _EngAllocMem
testq %rax, %rax
je LBB0_2
## %bb.1:
movq %rbx, (%rax)
addq $8, %rax
leaq -8(%r14), %r15
movq -8(%r14), %rcx
cmpq %rbx, %rcx
cmovbq %rcx, %rbx
movq %rax, %rdi
movq %r14, %rsi
movq %rbx, %rdx
movq %rax, %rbx
callq _memcpy
movq %r15, %rdi
callq _EngFreeMem
movq %rbx, %r15
LBB0_2:
movq %r15, %rax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _TAG_FREETYPE,4,2 ## @TAG_FREETYPE
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _realloc ; -- Begin function realloc
.p2align 2
_realloc: ; @realloc
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x1
mov x19, x0
mov w8, #8 ; =0x8
sub w1, w8, w20
Lloh0:
adrp x8, _TAG_FREETYPE@GOTPAGE
Lloh1:
ldr x8, [x8, _TAG_FREETYPE@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
mov w0, #0 ; =0x0
bl _EngAllocMem
cbz x0, LBB0_2
; %bb.1:
str x20, [x0], #8
mov x21, x19
ldr x8, [x21, #-8]!
cmp x8, x20
csel x2, x8, x20, lo
mov x20, x0
mov x1, x19
bl _memcpy
mov x0, x21
bl _EngFreeMem
mov x0, x20
LBB0_2:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _TAG_FREETYPE,4,2 ; @TAG_FREETYPE
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _carlfw_load ## -- Begin function carlfw_load
.p2align 4, 0x90
_carlfw_load: ## @carlfw_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
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
movl $1, %edi
movl $56, %esi
callq _calloc
testq %rax, %rax
je LBB0_3
## %bb.1:
movq %rax, %rbx
leaq 48(%rax), %rdi
callq _init_list_head
leaq L_.str(%rip), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq ___carlfw_load
testl %eax, %eax
je LBB0_4
LBB0_2:
movl %eax, %r15d
jmp LBB0_8
LBB0_3:
movq _ENOMEM@GOTPCREL(%rip), %rax
xorl %r15d, %r15d
subl (%rax), %r15d
jmp LBB0_9
LBB0_4:
movq 40(%rbx), %rax
testq %rax, %rax
movl $24, %ecx
cmoveq %rax, %rcx
movq %rbx, %r14
addq %rcx, %r14
movq _OTUS_MAGIC@GOTPCREL(%rip), %rax
movq (%rax), %rsi
movq _CARL9170FW_OTUS_DESC_CUR_VER@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %r14, %rdi
movl $4, %edx
callq ___carlfw_find_desc
movq %rax, %r12
movq _LAST_MAGIC@GOTPCREL(%rip), %rax
movq (%rax), %rsi
movq _CARL9170FW_LAST_DESC_CUR_VER@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %r14, %rdi
movl $4, %edx
callq ___carlfw_find_desc
testq %r12, %r12
setne %cl
testq %rax, %rax
setne %dl
andb %cl, %dl
cmpb $1, %dl
jne LBB0_6
## %bb.5:
cmpq %rax, %r12
jbe LBB0_10
LBB0_6:
movq _ENODATA@GOTPCREL(%rip), %rax
LBB0_7:
xorl %r15d, %r15d
subl (%rax), %r15d
LBB0_8:
movq %rbx, %rdi
callq _carlfw_release
LBB0_9:
movl %r15d, %edi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _ERR_PTR ## TAILCALL
LBB0_10:
movq %rax, %r13
movq %rbx, %rdi
movq %r12, %rsi
callq _carlfw_parse_descs
testl %eax, %eax
jne LBB0_2
## %bb.12:
leaq -4(%r13), %rcx
movq %r12, %r15
subq %rcx, %r15
movq (%r14), %rsi
movq 8(%r14), %rdi
movq %rdi, %rdx
subq %rcx, %rdx
addq %rsi, %rdx
je LBB0_14
## %bb.13:
movq %r13, %rax
subq %rdi, %r12
leaq (%rdi,%r12,4), %rdi
addq $16, %rax
movq %rax, %rsi
callq _memmove
movq (%r14), %rsi
movq 8(%r14), %rdi
LBB0_14:
addq %r15, %rsi
movq %rsi, (%r14)
callq _realloc
movq %rax, 8(%r14)
testq %rax, %rax
je LBB0_18
LBB0_15:
movq %rbx, %rdi
callq _carlfw_check_crc32s
testl %eax, %eax
je LBB0_17
## %bb.16:
movl %eax, %r15d
movq _ENODATA@GOTPCREL(%rip), %rax
movl (%rax), %eax
addl %r15d, %eax
jne LBB0_8
LBB0_17:
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_18:
cmpq $0, (%r14)
je LBB0_15
## %bb.19:
movq _ENOMEM@GOTPCREL(%rip), %rax
jmp LBB0_7
.cfi_endproc
## -- End function
.comm _ENOMEM,4,2 ## @ENOMEM
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "r"
.comm _OTUS_MAGIC,8,3 ## @OTUS_MAGIC
.comm _CARL9170FW_OTUS_DESC_CUR_VER,4,2 ## @CARL9170FW_OTUS_DESC_CUR_VER
.comm _LAST_MAGIC,8,3 ## @LAST_MAGIC
.comm _CARL9170FW_LAST_DESC_CUR_VER,4,2 ## @CARL9170FW_LAST_DESC_CUR_VER
.comm _ENODATA,4,2 ## @ENODATA
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _carlfw_load ; -- Begin function carlfw_load
.p2align 2
_carlfw_load: ; @carlfw_load
.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
mov w0, #1 ; =0x1
mov w1, #56 ; =0x38
bl _calloc
cbz x0, LBB0_3
; %bb.1:
mov x19, x0
add x0, x0, #48
bl _init_list_head
Lloh0:
adrp x2, l_.str@PAGE
Lloh1:
add x2, x2, l_.str@PAGEOFF
mov x0, x19
mov x1, x20
bl ___carlfw_load
cbz w0, LBB0_4
LBB0_2:
mov x20, x0
b LBB0_7
LBB0_3:
Lloh2:
adrp x8, _ENOMEM@GOTPAGE
Lloh3:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
neg w0, w8
b LBB0_8
LBB0_4:
ldr x8, [x19, #40]
mov w9, #24 ; =0x18
cmp x8, #0
csel x8, xzr, x9, eq
add x20, x19, x8
Lloh5:
adrp x8, _OTUS_MAGIC@GOTPAGE
Lloh6:
ldr x8, [x8, _OTUS_MAGIC@GOTPAGEOFF]
Lloh7:
ldr x1, [x8]
Lloh8:
adrp x8, _CARL9170FW_OTUS_DESC_CUR_VER@GOTPAGE
Lloh9:
ldr x8, [x8, _CARL9170FW_OTUS_DESC_CUR_VER@GOTPAGEOFF]
Lloh10:
ldr w3, [x8]
mov x0, x20
mov w2, #4 ; =0x4
bl ___carlfw_find_desc
mov x21, x0
Lloh11:
adrp x8, _LAST_MAGIC@GOTPAGE
Lloh12:
ldr x8, [x8, _LAST_MAGIC@GOTPAGEOFF]
Lloh13:
ldr x1, [x8]
Lloh14:
adrp x8, _CARL9170FW_LAST_DESC_CUR_VER@GOTPAGE
Lloh15:
ldr x8, [x8, _CARL9170FW_LAST_DESC_CUR_VER@GOTPAGEOFF]
Lloh16:
ldr w3, [x8]
mov x0, x20
mov w2, #4 ; =0x4
bl ___carlfw_find_desc
cmp x21, #0
ccmp x0, #0, #4, ne
ccmp x21, x0, #2, ne
b.ls LBB0_9
; %bb.5:
Lloh17:
adrp x8, _ENODATA@GOTPAGE
Lloh18:
ldr x8, [x8, _ENODATA@GOTPAGEOFF]
LBB0_6:
ldr w8, [x8]
neg w20, w8
LBB0_7:
mov x0, x19
bl _carlfw_release
mov x0, x20
LBB0_8:
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 _ERR_PTR
LBB0_9:
mov x22, x0
mov x0, x19
mov x1, x21
bl _carlfw_parse_descs
cbnz w0, LBB0_2
; %bb.10:
mov x9, x22
sub x10, x22, #4
sub x22, x21, x10
ldp x8, x0, [x20]
sub x10, x0, x10
adds x2, x10, x8
b.eq LBB0_12
; %bb.11:
sub x8, x21, x0
add x0, x0, x8, lsl #2
add x1, x9, #16
bl _memmove
ldp x8, x0, [x20]
LBB0_12:
add x1, x8, x22
str x1, [x20]
bl _realloc
str x0, [x20, #8]
cbz x0, LBB0_16
LBB0_13:
mov x0, x19
bl _carlfw_check_crc32s
cbz w0, LBB0_15
; %bb.14:
Lloh19:
adrp x8, _ENODATA@GOTPAGE
Lloh20:
ldr x8, [x8, _ENODATA@GOTPAGEOFF]
Lloh21:
ldr w8, [x8]
cmn w0, w8
b.ne LBB0_2
LBB0_15:
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_16:
ldr x8, [x20]
cbz x8, LBB0_13
; %bb.17:
Lloh22:
adrp x8, _ENOMEM@GOTPAGE
Lloh23:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
b LBB0_6
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGot Lloh22, Lloh23
.cfi_endproc
; -- End function
.comm _ENOMEM,4,2 ; @ENOMEM
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "r"
.comm _OTUS_MAGIC,8,3 ; @OTUS_MAGIC
.comm _CARL9170FW_OTUS_DESC_CUR_VER,4,2 ; @CARL9170FW_OTUS_DESC_CUR_VER
.comm _LAST_MAGIC,8,3 ; @LAST_MAGIC
.comm _CARL9170FW_LAST_DESC_CUR_VER,4,2 ; @CARL9170FW_LAST_DESC_CUR_VER
.comm _ENODATA,4,2 ; @ENODATA
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function _cmsReallocDefaultFn
__cmsReallocDefaultFn: ## @_cmsReallocDefaultFn
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _MAX_MEMORY_FOR_ALLOC@GOTPCREL(%rip), %rax
cmpq %rdx, (%rax)
jle LBB0_1
## %bb.2:
movq %rsi, %rdi
movq %rdx, %rsi
popq %rbp
jmp _realloc ## TAILCALL
LBB0_1:
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MAX_MEMORY_FOR_ALLOC,8,3 ## @MAX_MEMORY_FOR_ALLOC
.no_dead_strip __cmsReallocDefaultFn
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function _cmsReallocDefaultFn
__cmsReallocDefaultFn: ; @_cmsReallocDefaultFn
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _MAX_MEMORY_FOR_ALLOC@GOTPAGE
Lloh1:
ldr x8, [x8, _MAX_MEMORY_FOR_ALLOC@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x8, x2
b.le LBB0_2
; %bb.1:
mov x0, x1
mov x1, x2
b _realloc
LBB0_2:
mov x0, #0 ; =0x0
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _MAX_MEMORY_FOR_ALLOC,8,3 ; @MAX_MEMORY_FOR_ALLOC
.no_dead_strip __cmsReallocDefaultFn
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function getargv
_getargv: ## @getargv
.cfi_startproc
## %bb.0:
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, %rbx
movq %rsi, %r14
movq %rdi, %r12
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
callq _assert
movq %r14, %rdi
callq _assert
movq (%r12), %rsi
movq _PROCSTAT_KVM@GOTPCREL(%rip), %rax
cmpq (%rax), %rsi
jne LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
xorl %r12d, %r12d
xorl %eax, %eax
callq _warnx
jmp LBB0_38
LBB0_2:
movq _PROCSTAT_SYSCTL@GOTPCREL(%rip), %rax
movq (%rax), %rdx
cmpq %rdx, %rsi
je LBB0_5
## %bb.3:
movq _PROCSTAT_CORE@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rsi
je LBB0_5
## %bb.4:
leaq L_.str.1(%rip), %rdi
xorl %r12d, %r12d
xorl %eax, %eax
callq _warnx
jmp LBB0_38
LBB0_5:
movq _ARG_MAX@GOTPCREL(%rip), %rcx
movq (%rcx), %r13
leaq -1(%rbx), %rcx
cmpq %r13, %rcx
cmovbq %rbx, %r13
xorl %ebx, %ebx
testl %r15d, %r15d
setne %bl
cmpq $0, 16(%r12,%rbx,4)
je LBB0_10
## %bb.6:
movq %r13, %rdi
callq _argvec_alloc
testq %rax, %rax
je LBB0_13
## %bb.7:
leaq 16(,%rbx,4), %rcx
movq %rax, (%r12,%rcx)
movq (%r12), %rsi
movq _PROCSTAT_SYSCTL@GOTPCREL(%rip), %rcx
movq (%rcx), %rdx
movq %rax, %rbx
cmpq %rdx, %rsi
jne LBB0_11
LBB0_8:
movq _CTL_KERN@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -64(%rbp)
movq _KERN_PROC@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -60(%rbp)
testl %r15d, %r15d
jne LBB0_14
## %bb.9:
movq _KERN_PROC_ARGS@GOTPCREL(%rip), %rax
jmp LBB0_15
LBB0_10:
xorl %ebx, %ebx
cmpq %rdx, %rsi
je LBB0_8
LBB0_11:
testl %r15d, %r15d
jne LBB0_19
## %bb.12:
movq _PSC_TYPE_ARGV@GOTPCREL(%rip), %rax
jmp LBB0_20
LBB0_13:
leaq L_.str.2(%rip), %rdi
xorl %r12d, %r12d
movq %r13, %rsi
jmp LBB0_37
LBB0_14:
movq _KERN_PROC_ENV@GOTPCREL(%rip), %rax
LBB0_15:
movl (%rax), %eax
movl %eax, -56(%rbp)
movl 8(%r14), %eax
movl %eax, -52(%rbp)
movq %r13, -72(%rbp)
leaq -64(%rbp), %r14
movq %r14, %rdi
callq _nitems
movq 8(%rbx), %rdx
leaq -72(%rbp), %rcx
movq %r14, %rdi
movl %eax, %esi
xorl %r8d, %r8d
xorl %r9d, %r9d
callq _sysctl
testl %eax, %eax
je LBB0_22
## %bb.16:
movq _errno@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _ESRCH@GOTPCREL(%rip), %rcx
xorl %r12d, %r12d
cmpq (%rcx), %rax
je LBB0_38
## %bb.17:
movq _EPERM@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_38
## %bb.18:
testl %r15d, %r15d
leaq L_.str.5(%rip), %rax
leaq L_.str.4(%rip), %rsi
cmoveq %rax, %rsi
leaq L_.str.3(%rip), %rdi
jmp LBB0_36
LBB0_19:
movq _PSC_TYPE_ENVV@GOTPCREL(%rip), %rax
LBB0_20:
movl (%rax), %esi
movq %r13, -72(%rbp)
movl 12(%r12), %edi
movq 8(%rbx), %rdx
leaq -72(%rbp), %rcx
callq _procstat_core_get
testq %rax, %rax
je LBB0_34
## %bb.21:
movq -72(%rbp), %rcx
jmp LBB0_23
LBB0_22:
movq -72(%rbp), %rcx
testq %rcx, %rcx
je LBB0_34
LBB0_23:
movq 16(%rbx), %r12
movq %rcx, %rax
decq %rax
js LBB0_26
## %bb.24:
xorl %r13d, %r13d
jmp LBB0_33
LBB0_34:
xorl %r12d, %r12d
jmp LBB0_38
LBB0_26:
movq 8(%rbx), %r15
movq %rbx, -88(%rbp) ## 8-byte Spill
movl 24(%rbx), %ebx
xorl %r13d, %r13d
xorl %r14d, %r14d
jmp LBB0_29
.p2align 4, 0x90
LBB0_27: ## in Loop: Header=BB0_29 Depth=1
movl %ebx, -76(%rbp) ## 4-byte Spill
movq %rdi, -96(%rbp) ## 8-byte Spill
movq -88(%rbp), %r12 ## 8-byte Reload
movq %rcx, %rbx
LBB0_28: ## in Loop: Header=BB0_29 Depth=1
movq %r15, %rdi
callq _strlen
addq %rax, %r15
incq %r15
movq 8(%r12), %rax
subq %rbx, %rax
movabsq $-4294967296, %rcx ## imm = 0xFFFFFFFF00000000
addq %rcx, %r13
decq %r14
cmpq %rax, %r15
movq -96(%rbp), %r12 ## 8-byte Reload
movq %rbx, %rcx
movl -76(%rbp), %ebx ## 4-byte Reload
ja LBB0_32
LBB0_29: ## =>This Inner Loop Header: Depth=1
movq %r15, (%r12,%r14,8)
movslq %ebx, %rax
cmpq %rax, %r14
movq %r12, %rdi
jle LBB0_27
## %bb.30: ## in Loop: Header=BB0_29 Depth=1
addl %ebx, %ebx
movslq %ebx, %r12
shlq $3, %r12
movl %r12d, %esi
callq _realloc
testq %rax, %rax
je LBB0_35
## %bb.31: ## in Loop: Header=BB0_29 Depth=1
movq -88(%rbp), %r12 ## 8-byte Reload
movq %rax, -96(%rbp) ## 8-byte Spill
movq %rax, 16(%r12)
movl %ebx, -76(%rbp) ## 4-byte Spill
movl %ebx, 24(%r12)
movq -72(%rbp), %rbx
jmp LBB0_28
LBB0_32:
sarq $32, %r13
LBB0_33:
movq $0, (%r12,%r13,8)
jmp LBB0_38
LBB0_35:
leaq L_.str.2(%rip), %rdi
movq %r12, %rsi
LBB0_36:
xorl %r12d, %r12d
LBB0_37:
xorl %eax, %eax
callq _warn
LBB0_38:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_40
## %bb.39:
movq %r12, %rax
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_40:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _PROCSTAT_KVM,8,3 ## @PROCSTAT_KVM
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "can't use kvm access method"
.comm _PROCSTAT_SYSCTL,8,3 ## @PROCSTAT_SYSCTL
.comm _PROCSTAT_CORE,8,3 ## @PROCSTAT_CORE
L_.str.1: ## @.str.1
.asciz "unknown access method: %d"
.comm _ARG_MAX,8,3 ## @ARG_MAX
L_.str.2: ## @.str.2
.asciz "malloc(%zu)"
.comm _CTL_KERN,4,2 ## @CTL_KERN
.comm _KERN_PROC,4,2 ## @KERN_PROC
.comm _KERN_PROC_ENV,4,2 ## @KERN_PROC_ENV
.comm _KERN_PROC_ARGS,4,2 ## @KERN_PROC_ARGS
.comm _errno,8,3 ## @errno
.comm _ESRCH,8,3 ## @ESRCH
.comm _EPERM,8,3 ## @EPERM
L_.str.3: ## @.str.3
.asciz "sysctl(kern.proc.%s)"
L_.str.4: ## @.str.4
.asciz "env"
L_.str.5: ## @.str.5
.asciz "args"
.comm _PSC_TYPE_ENVV,4,2 ## @PSC_TYPE_ENVV
.comm _PSC_TYPE_ARGV,4,2 ## @PSC_TYPE_ARGV
.no_dead_strip _getargv
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function getargv
_getargv: ; @getargv
.cfi_startproc
; %bb.0:
sub sp, sp, #128
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
mov x20, x3
mov x19, x2
mov x21, 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, #40]
bl _assert
mov x0, x21
bl _assert
ldr x8, [x22]
Lloh3:
adrp x9, _PROCSTAT_KVM@GOTPAGE
Lloh4:
ldr x9, [x9, _PROCSTAT_KVM@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_2
; %bb.1:
Lloh6:
adrp x0, l_.str@PAGE
Lloh7:
add x0, x0, l_.str@PAGEOFF
b LBB0_11
LBB0_2:
Lloh8:
adrp x24, _PROCSTAT_SYSCTL@GOTPAGE
Lloh9:
ldr x24, [x24, _PROCSTAT_SYSCTL@GOTPAGEOFF]
ldr x9, [x24]
Lloh10:
adrp x10, _PROCSTAT_CORE@GOTPAGE
Lloh11:
ldr x10, [x10, _PROCSTAT_CORE@GOTPAGEOFF]
Lloh12:
ldr x10, [x10]
cmp x8, x9
ccmp x8, x10, #4, ne
b.ne LBB0_10
; %bb.3:
Lloh13:
adrp x10, _ARG_MAX@GOTPAGE
Lloh14:
ldr x10, [x10, _ARG_MAX@GOTPAGEOFF]
Lloh15:
ldr x10, [x10]
sub x11, x19, #1
cmp x11, x10
csel x23, x19, x10, lo
cmp w20, #0
mov w10, #20 ; =0x14
mov w11, #16 ; =0x10
csel x25, x11, x10, eq
ldr x10, [x22, x25]
cbz x10, LBB0_15
; %bb.4:
mov x0, x23
bl _argvec_alloc
cbz x0, LBB0_18
; %bb.5:
mov x19, x0
str x0, [x22, x25]
ldr x8, [x22]
ldr x9, [x24]
cmp x8, x9
b.ne LBB0_16
LBB0_6:
Lloh16:
adrp x8, _CTL_KERN@GOTPAGE
Lloh17:
ldr x8, [x8, _CTL_KERN@GOTPAGEOFF]
Lloh18:
ldr w8, [x8]
Lloh19:
adrp x9, _KERN_PROC@GOTPAGE
Lloh20:
ldr x9, [x9, _KERN_PROC@GOTPAGEOFF]
Lloh21:
ldr w9, [x9]
stp w8, w9, [sp, #24]
Lloh22:
adrp x8, _KERN_PROC_ENV@GOTPAGE
Lloh23:
ldr x8, [x8, _KERN_PROC_ENV@GOTPAGEOFF]
Lloh24:
adrp x9, _KERN_PROC_ARGS@GOTPAGE
Lloh25:
ldr x9, [x9, _KERN_PROC_ARGS@GOTPAGEOFF]
cmp w20, #0
csel x8, x9, x8, eq
ldr w8, [x8]
ldr w9, [x21, #8]
stp w8, w9, [sp, #32]
str x23, [sp, #16]
add x0, sp, #24
bl _nitems
mov x1, x0
ldr x2, [x19, #8]
add x0, sp, #24
add x3, sp, #16
mov x4, #0 ; =0x0
mov w5, #0 ; =0x0
bl _sysctl
cbz w0, LBB0_20
; %bb.7:
mov x21, #0 ; =0x0
Lloh26:
adrp x8, _errno@GOTPAGE
Lloh27:
ldr x8, [x8, _errno@GOTPAGEOFF]
Lloh28:
ldr x8, [x8]
Lloh29:
adrp x9, _ESRCH@GOTPAGE
Lloh30:
ldr x9, [x9, _ESRCH@GOTPAGEOFF]
Lloh31:
ldr x9, [x9]
cmp x8, x9
b.eq LBB0_13
; %bb.8:
Lloh32:
adrp x9, _EPERM@GOTPAGE
Lloh33:
ldr x9, [x9, _EPERM@GOTPAGEOFF]
Lloh34:
ldr x9, [x9]
cmp x8, x9
b.eq LBB0_13
; %bb.9:
Lloh35:
adrp x8, l_.str.4@PAGE
Lloh36:
add x8, x8, l_.str.4@PAGEOFF
Lloh37:
adrp x9, l_.str.5@PAGE
Lloh38:
add x9, x9, l_.str.5@PAGEOFF
cmp w20, #0
csel x8, x9, x8, eq
str x8, [sp]
Lloh39:
adrp x0, l_.str.3@PAGE
Lloh40:
add x0, x0, l_.str.3@PAGEOFF
b LBB0_19
LBB0_10:
str x8, [sp]
Lloh41:
adrp x0, l_.str.1@PAGE
Lloh42:
add x0, x0, l_.str.1@PAGEOFF
LBB0_11:
bl _warnx
LBB0_12:
mov x21, #0 ; =0x0
LBB0_13:
ldr x8, [sp, #40]
Lloh43:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh44:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh45:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_31
; %bb.14:
mov x0, x21
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
add sp, sp, #128
ret
LBB0_15:
mov x19, #0 ; =0x0
cmp x8, x9
b.eq LBB0_6
LBB0_16:
Lloh46:
adrp x8, _PSC_TYPE_ENVV@GOTPAGE
Lloh47:
ldr x8, [x8, _PSC_TYPE_ENVV@GOTPAGEOFF]
Lloh48:
adrp x9, _PSC_TYPE_ARGV@GOTPAGE
Lloh49:
ldr x9, [x9, _PSC_TYPE_ARGV@GOTPAGEOFF]
cmp w20, #0
csel x8, x9, x8, eq
ldr w1, [x8]
str x23, [sp, #16]
ldr w0, [x22, #12]
ldr x2, [x19, #8]
add x3, sp, #16
bl _procstat_core_get
cbz x0, LBB0_12
; %bb.17:
ldr x22, [sp, #16]
b LBB0_21
LBB0_18:
str x23, [sp]
Lloh50:
adrp x0, l_.str.2@PAGE
Lloh51:
add x0, x0, l_.str.2@PAGEOFF
LBB0_19:
bl _warn
b LBB0_12
LBB0_20:
ldr x22, [sp, #16]
cbz x22, LBB0_12
LBB0_21:
ldr x21, [x19, #16]
cmp x22, #1
b.mi LBB0_23
; %bb.22:
mov x8, #0 ; =0x0
b LBB0_30
LBB0_23:
mov x23, #0 ; =0x0
mov x24, #0 ; =0x0
ldr x20, [x19, #8]
ldr w25, [x19, #24]
mov x26, #-4294967296 ; =0xffffffff00000000
b LBB0_26
LBB0_24: ; in Loop: Header=BB0_26 Depth=1
str x21, [x19, #16]
str w25, [x19, #24]
ldr x22, [sp, #16]
LBB0_25: ; in Loop: Header=BB0_26 Depth=1
mov x0, x20
bl _strlen
add x8, x0, x20
add x20, x8, #1
ldr x8, [x19, #8]
add x23, x23, x26
sub x24, x24, #1
sub x8, x8, x22
cmp x20, x8
b.hi LBB0_29
LBB0_26: ; =>This Inner Loop Header: Depth=1
str x20, [x21, x24, lsl #3]
cmp x24, w25, sxtw
b.le LBB0_25
; %bb.27: ; in Loop: Header=BB0_26 Depth=1
lsl w25, w25, #1
sbfiz x22, x25, #3, #32
mov x0, x21
mov x1, x22
bl _realloc
mov x21, x0
cbnz x0, LBB0_24
; %bb.28:
str x22, [sp]
Lloh52:
adrp x0, l_.str.2@PAGE
Lloh53:
add x0, x0, l_.str.2@PAGEOFF
bl _warn
b LBB0_13
LBB0_29:
asr x8, x23, #32
LBB0_30:
str xzr, [x21, x8, lsl #3]
b LBB0_13
LBB0_31:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGot Lloh24, Lloh25
.loh AdrpLdrGot Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34
.loh AdrpAdd Lloh39, Lloh40
.loh AdrpAdd Lloh37, Lloh38
.loh AdrpAdd Lloh35, Lloh36
.loh AdrpAdd Lloh41, Lloh42
.loh AdrpLdrGotLdr Lloh43, Lloh44, Lloh45
.loh AdrpLdrGot Lloh48, Lloh49
.loh AdrpLdrGot Lloh46, Lloh47
.loh AdrpAdd Lloh50, Lloh51
.loh AdrpAdd Lloh52, Lloh53
.cfi_endproc
; -- End function
.comm _PROCSTAT_KVM,8,3 ; @PROCSTAT_KVM
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "can't use kvm access method"
.comm _PROCSTAT_SYSCTL,8,3 ; @PROCSTAT_SYSCTL
.comm _PROCSTAT_CORE,8,3 ; @PROCSTAT_CORE
l_.str.1: ; @.str.1
.asciz "unknown access method: %d"
.comm _ARG_MAX,8,3 ; @ARG_MAX
l_.str.2: ; @.str.2
.asciz "malloc(%zu)"
.comm _CTL_KERN,4,2 ; @CTL_KERN
.comm _KERN_PROC,4,2 ; @KERN_PROC
.comm _KERN_PROC_ENV,4,2 ; @KERN_PROC_ENV
.comm _KERN_PROC_ARGS,4,2 ; @KERN_PROC_ARGS
.comm _errno,8,3 ; @errno
.comm _ESRCH,8,3 ; @ESRCH
.comm _EPERM,8,3 ; @EPERM
l_.str.3: ; @.str.3
.asciz "sysctl(kern.proc.%s)"
l_.str.4: ; @.str.4
.asciz "env"
l_.str.5: ; @.str.5
.asciz "args"
.comm _PSC_TYPE_ENVV,4,2 ; @PSC_TYPE_ENVV
.comm _PSC_TYPE_ARGV,4,2 ; @PSC_TYPE_ARGV
.no_dead_strip _getargv
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function ebuf_tail_extend
_ebuf_tail_extend: ## @ebuf_tail_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 %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %rbx
testq %rdi, %rdi
je LBB0_1
## %bb.2:
movq (%rbx), %rax
movq _EBUF_MAGIC@GOTPCREL(%rip), %rcx
xorl %edi, %edi
cmpq (%rcx), %rax
sete %dil
jmp LBB0_3
LBB0_1:
xorl %edi, %edi
LBB0_3:
callq _PJDLOG_ASSERT
movq 8(%rbx), %r15
movq 16(%rbx), %rdi
movq _PAGE_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %eax
leal (%rax,%rax,2), %ecx
leal (%rax,%rax,2), %eax
addl $3, %eax
testl %ecx, %ecx
cmovnsl %ecx, %eax
sarl $2, %eax
cltq
addq %rdi, %r14
subq %r14, %r15
addq %rax, %r15
movq %r15, %rsi
callq _realloc
movq %rax, %rcx
movl $-1, %eax
testq %rcx, %rcx
jne LBB0_5
## %bb.4:
movq 16(%rbx), %rax
subq %rax, 24(%rbx)
movq $0, 16(%rbx)
movq %r15, 8(%rbx)
xorl %eax, %eax
LBB0_5:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EBUF_MAGIC,8,3 ## @EBUF_MAGIC
.comm _PAGE_SIZE,4,2 ## @PAGE_SIZE
.no_dead_strip _ebuf_tail_extend
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function ebuf_tail_extend
_ebuf_tail_extend: ; @ebuf_tail_extend
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x20, x1
mov x19, x0
cbz x0, LBB0_2
; %bb.1:
ldr x8, [x19]
Lloh0:
adrp x9, _EBUF_MAGIC@GOTPAGE
Lloh1:
ldr x9, [x9, _EBUF_MAGIC@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x8, x9
cset w0, eq
LBB0_2:
bl _PJDLOG_ASSERT
ldp x8, x0, [x19, #8]
Lloh3:
adrp x9, _PAGE_SIZE@GOTPAGE
Lloh4:
ldr x9, [x9, _PAGE_SIZE@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
add w9, w9, w9, lsl #1
add w10, w9, #3
cmp w9, #0
csel w9, w10, w9, lt
asr w9, w9, #2
add x10, x0, x20
sub x8, x8, x10
add x20, x8, w9, sxtw
mov x1, x20
bl _realloc
cbz x0, LBB0_4
; %bb.3:
mov w0, #-1 ; =0xffffffff
b LBB0_5
LBB0_4:
ldp x9, x8, [x19, #16]
sub x8, x8, x9
stp xzr, x8, [x19, #16]
str x20, [x19, #8]
LBB0_5:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _EBUF_MAGIC,8,3 ; @EBUF_MAGIC
.comm _PAGE_SIZE,4,2 ; @PAGE_SIZE
.no_dead_strip _ebuf_tail_extend
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function grow_descr
_grow_descr: ## @grow_descr
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %rbx
movq %rsi, %r14
movq (%rdx), %rdx
movq 8(%rbx), %rsi
subq %rsi, %rdx
xorl %eax, %eax
cmpq %rcx, %rdx
jae LBB0_7
## %bb.1:
movl %edi, %r15d
subq %rcx, %rsi
movl $1024, %edi ## imm = 0x400
callq _max
movq %rax, %r12
movq (%rbx), %r8
addq %rax, %r8
movq _max_request_tcp@GOTPCREL(%rip), %rax
cmpq (%rax), %r8
jbe LBB0_4
## %bb.2:
leaq L_.str(%rip), %rcx
movl %r15d, %edi
movq %r14, %rsi
xorl %edx, %edx
jmp LBB0_3
LBB0_4:
movq 16(%rbx), %rdi
movq %r8, %rsi
callq _realloc
addq (%rbx), %r12
testq %rax, %rax
je LBB0_5
## %bb.6:
movq %r12, (%rbx)
movq %rax, 16(%rbx)
xorl %eax, %eax
jmp LBB0_7
LBB0_5:
leaq L_.str.1(%rip), %rcx
movl %r15d, %edi
movq %r14, %rsi
xorl %edx, %edx
movq %r12, %r8
LBB0_3:
callq _kdc_log
movq %rbx, %rdi
callq _clear_descr
movl $-1, %eax
LBB0_7:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _max_request_tcp,8,3 ## @max_request_tcp
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Request exceeds max request size (%lu bytes)."
L_.str.1: ## @.str.1
.asciz "Failed to re-allocate %lu bytes."
.no_dead_strip _grow_descr
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function grow_descr
_grow_descr: ; @grow_descr
.cfi_startproc
; %bb.0:
ldp x9, x8, [x2]
sub x9, x9, x8
cmp x9, x3
b.hs LBB0_3
; %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, x2
mov x21, x0
mov x20, x1
sub x1, x8, x3
mov w0, #1024 ; =0x400
bl _max
ldr x8, [x19]
Lloh0:
adrp x9, _max_request_tcp@GOTPAGE
Lloh1:
ldr x9, [x9, _max_request_tcp@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
add x4, x8, x0
cmp x4, x9
b.ls LBB0_4
; %bb.2:
Lloh3:
adrp x3, l_.str@PAGE
Lloh4:
add x3, x3, l_.str@PAGEOFF
b LBB0_7
LBB0_3:
mov w0, #0 ; =0x0
ret
LBB0_4:
mov x22, x0
ldr x0, [x19, #16]
mov x1, x4
bl _realloc
ldr x9, [x19]
add x4, x9, x22
cbz x0, LBB0_6
; %bb.5:
mov x8, x0
mov w0, #0 ; =0x0
str x4, [x19]
str x8, [x19, #16]
b LBB0_8
LBB0_6:
Lloh5:
adrp x3, l_.str.1@PAGE
Lloh6:
add x3, x3, l_.str.1@PAGEOFF
LBB0_7:
mov x0, x21
mov x1, x20
mov w2, #0 ; =0x0
bl _kdc_log
mov x0, x19
bl _clear_descr
mov w0, #-1 ; =0xffffffff
LBB0_8:
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 AdrpAdd Lloh3, Lloh4
.loh AdrpAdd Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _max_request_tcp,8,3 ; @max_request_tcp
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Request exceeds max request size (%lu bytes)."
l_.str.1: ; @.str.1
.asciz "Failed to re-allocate %lu bytes."
.no_dead_strip _grow_descr
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function vlc_https_headers_recv
_vlc_https_headers_recv: ## @vlc_https_headers_recv
.cfi_startproc
## %bb.0:
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, -48(%rbp) ## 8-byte Spill
movq %rdi, -56(%rbp) ## 8-byte Spill
xorl %r14d, %r14d
xorl %r15d, %r15d
xorl %r12d, %r12d
jmp LBB0_1
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movq %r15, %r13
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movq %r12, %rax
subq %r14, %rax
xorl %edi, %edi
cmpq %rbx, %rax
setae %dil
callq _assert
leaq (%r14,%r13), %rsi
movq -56(%rbp), %rdi ## 8-byte Reload
movq %rbx, %rdx
movl $1, %ecx
callq _vlc_tls_Read
addq %rax, %r14
movq %r13, %r15
cmpq %rbx, %rax
jne LBB0_7
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
movq %r14, %rsi
callq _vlc_http_can_read
testq %rax, %rax
je LBB0_8
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq %rax, %rbx
addq %r14, %rax
cmpq %r12, %rax
jb LBB0_3
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
addq $2048, %r12 ## imm = 0x800
cmpq $65535, %r12 ## imm = 0xFFFF
ja LBB0_7
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
movq %r15, %rdi
movq %r12, %rsi
callq _realloc
movq %rax, %r13
xorl %edi, %edi
testq %rax, %rax
setne %dil
callq _unlikely
testq %rax, %rax
je LBB0_6
LBB0_7:
movq %r15, %rdi
callq _free
xorl %r15d, %r15d
jmp LBB0_10
LBB0_8:
xorl %edi, %edi
cmpq %r14, %r12
setne %dil
callq _assert
movb $0, (%r15,%r14)
movq -48(%rbp), %rax ## 8-byte Reload
testq %rax, %rax
je LBB0_10
## %bb.9:
movq %r14, (%rax)
LBB0_10:
movq %r15, %rax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _vlc_https_headers_recv
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function vlc_https_headers_recv
_vlc_https_headers_recv: ; @vlc_https_headers_recv
.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
mov x21, x0
mov x20, #0 ; =0x0
mov x23, #0 ; =0x0
mov x22, #0 ; =0x0
b LBB0_3
LBB0_1: ; in Loop: Header=BB0_3 Depth=1
mov x25, x23
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
sub x8, x22, x20
cmp x8, x24
cset w0, hs
bl _assert
add x1, x25, x20
mov x0, x21
mov x2, x24
mov w3, #1 ; =0x1
bl _vlc_tls_Read
add x20, x0, x20
mov x23, x25
cmp x0, x24
b.ne LBB0_7
LBB0_3: ; =>This Inner Loop Header: Depth=1
mov x0, x23
mov x1, x20
bl _vlc_http_can_read
cbz x0, LBB0_8
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov x24, x0
add x8, x0, x20
cmp x8, x22
b.lo LBB0_1
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
add x22, x22, #2048
lsr x8, x22, #16
cbnz x8, LBB0_7
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
mov x0, x23
mov x1, x22
bl _realloc
mov x25, x0
cmp x0, #0
cset w0, ne
bl _unlikely
cbz x0, LBB0_2
LBB0_7:
mov x0, x23
bl _free
mov x23, #0 ; =0x0
b LBB0_10
LBB0_8:
cmp x22, x20
cset w0, ne
bl _assert
strb wzr, [x23, x20]
cbz x19, LBB0_10
; %bb.9:
str x20, [x19]
LBB0_10:
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
.cfi_endproc
; -- End function
.no_dead_strip _vlc_https_headers_recv
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function add_enctype_to_key_set
_add_enctype_to_key_set: ## @add_enctype_to_key_set
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $32, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %r15
movl %edx, %r12d
movq %rsi, %rbx
movq %rdi, %r14
leaq -64(%rbp), %rdi
xorl %esi, %esi
movl $32, %edx
callq _memset
movq (%r14), %rdi
movq (%rbx), %rsi
shlq $5, %rsi
addq $32, %rsi
callq _realloc
testq %rax, %rax
je LBB0_2
LBB0_1:
movq _ENOMEM@GOTPCREL(%rip), %rax
movq (%rax), %rax
LBB0_7:
addq $32, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_2:
movq $0, (%r14)
movl %r12d, -40(%rbp)
xorps %xmm0, %xmm0
movups %xmm0, -56(%rbp)
movl $1, %edi
movl $8, %esi
callq _calloc
movq %rax, -64(%rbp)
testq %rax, %rax
je LBB0_3
## %bb.4:
movl 8(%r15), %ecx
movl %ecx, 4(%rax)
movq %rax, %rdi
callq _krb5_data_zero
movq -64(%rbp), %rdi
movl (%r15), %edx
movl 4(%r15), %esi
callq _krb5_data_copy
testq %rax, %rax
je LBB0_5
## %bb.6:
leaq -64(%rbp), %rdi
movq %rax, %rbx
callq _free_Key
movq %rbx, %rax
jmp LBB0_7
LBB0_3:
leaq -64(%rbp), %rdi
callq _free_Key
jmp LBB0_1
LBB0_5:
movq (%r14), %rax
movq (%rbx), %rcx
shlq $5, %rcx
movups -64(%rbp), %xmm0
movups -48(%rbp), %xmm1
movups %xmm1, 16(%rax,%rcx)
movups %xmm0, (%rax,%rcx)
incq (%rbx)
xorl %eax, %eax
jmp LBB0_7
.cfi_endproc
## -- End function
.comm _ENOMEM,8,3 ## @ENOMEM
.no_dead_strip _add_enctype_to_key_set
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function add_enctype_to_key_set
_add_enctype_to_key_set: ; @add_enctype_to_key_set
.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 x22, x2
mov x19, x1
mov x20, x0
mov x0, sp
mov w1, #0 ; =0x0
mov w2, #32 ; =0x20
bl _memset
ldr x0, [x20]
ldr x8, [x19]
lsl x8, x8, #5
add x1, x8, #32
bl _realloc
cbz x0, LBB0_3
LBB0_1:
Lloh0:
adrp x8, _ENOMEM@GOTPAGE
Lloh1:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
ldr x0, [x8]
LBB0_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
add sp, sp, #80
ret
LBB0_3:
str xzr, [x20]
str w22, [sp, #24]
stp xzr, xzr, [sp, #8]
mov w0, #1 ; =0x1
mov w1, #8 ; =0x8
bl _calloc
str x0, [sp]
cbz x0, LBB0_6
; %bb.4:
ldr w8, [x21, #8]
str w8, [x0, #4]
bl _krb5_data_zero
ldr x0, [sp]
ldp w2, w1, [x21]
bl _krb5_data_copy
cbz x0, LBB0_7
; %bb.5:
mov x19, x0
mov x0, sp
bl _free_Key
mov x0, x19
b LBB0_2
LBB0_6:
mov x0, sp
bl _free_Key
b LBB0_1
LBB0_7:
ldr x8, [x20]
ldr x9, [x19]
add x8, x8, x9, lsl #5
ldp q0, q1, [sp]
stp q0, q1, [x8]
ldr x8, [x19]
add x8, x8, #1
str x8, [x19]
b LBB0_2
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _ENOMEM,8,3 ; @ENOMEM
.no_dead_strip _add_enctype_to_key_set
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function text_data
_text_data: ## @text_data
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %ebx
movq %rsi, %r15
movq %rdi, %r14
movq (%rdi), %rdi
testq %rdi, %rdi
je LBB0_1
## %bb.2:
callq _strlen
movl %eax, %r12d
movq (%r14), %rdi
jmp LBB0_3
LBB0_1:
xorl %edi, %edi
xorl %r12d, %r12d
LBB0_3:
movl %r12d, %esi
subl %ebx, %esi
incl %esi
callq _realloc
testq %rax, %rax
jne LBB0_5
## %bb.4:
movq $0, (%r14)
movslq %r12d, %rdi
movq %r15, %rsi
movl %ebx, %edx
callq _strncpy
movq (%r14), %rax
addl %ebx, %r12d
movslq %r12d, %rcx
movb $0, (%rax,%rcx)
LBB0_5:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _text_data
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function text_data
_text_data: ; @text_data
.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, x2
mov x21, x1
mov x20, x0
ldr x0, [x0]
cbz x0, LBB0_2
; %bb.1:
bl _strlen
mov x22, x0
ldr x0, [x20]
b LBB0_3
LBB0_2:
mov w22, #0 ; =0x0
LBB0_3:
sub w8, w22, w19
add w1, w8, #1
bl _realloc
cbnz x0, LBB0_5
; %bb.4:
str xzr, [x20]
sxtw x22, w22
mov x0, x22
mov x1, x21
mov x2, x19
bl _strncpy
ldr x8, [x20]
add x9, x22, w19, sxtw
strb wzr, [x8, x9]
LBB0_5:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _text_data
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function r_debug_gdb_reg_write
_r_debug_gdb_reg_write: ## @r_debug_gdb_reg_write
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
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, -52(%rbp) ## 4-byte Spill
movq %rdi, %r14
callq _check_connection
movq _desc@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB0_19
## %bb.1:
movq _reg_buf@GOTPCREL(%rip), %r12
cmpq $0, (%r12)
je LBB0_22
## %bb.2:
movl $0, -44(%rbp)
movq 24(%r14), %rax
movl (%rax), %r15d
movl 4(%rax), %edi
movq _R_REG_NAME_PC@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _r_reg_get_name
movq 24(%r14), %rcx
movl 4(%rcx), %edi
movq %rax, %rsi
xorl %edx, %edx
callq _r_reg_get
testq %rax, %rax
je LBB0_4
## %bb.3:
movq 24(%r14), %rcx
movl (%rax), %eax
cmpl %eax, (%rcx)
cmovnel %eax, %r15d
LBB0_4:
movl (%r14), %edi
leaq -44(%rbp), %rdx
movl -52(%rbp), %esi ## 4-byte Reload
callq _r_reg_get_bytes
movl %eax, %edi
callq _free
movq _buf_size@GOTPCREL(%rip), %rbx
movl -44(%rbp), %esi
cmpl %esi, (%rbx)
jg LBB0_7
## %bb.5:
movq (%r12), %rdi
shll $2, %esi
callq _realloc
testq %rax, %rax
je LBB0_22
## %bb.6:
movq %rax, (%r12)
movslq (%rbx), %rcx
leaq (%rax,%rcx,4), %rdi
movl -44(%rbp), %edx
subl %ecx, %edx
xorl %esi, %esi
callq _memset
LBB0_7:
movb $1, %bl
cmpq $0, 8(%r14)
jne LBB0_9
## %bb.8:
leaq L_.str(%rip), %rsi
xorl %edi, %edi
callq *16(%r14)
testq %rax, %rax
setne %bl
LBB0_9:
movl (%r14), %edi
movq (%r12), %rdx
movl -44(%rbp), %ecx
movl -52(%rbp), %esi ## 4-byte Reload
xorl %r8d, %r8d
movl %r15d, %r9d
callq _r_reg_next_diff
movq %rax, %r12
movl $1, %eax
testq %r12, %r12
je LBB0_23
## %bb.10:
leal 7(%r15), %r13d
testl %r15d, %r15d
cmovnsl %r15d, %r13d
sarl $3, %r13d
jmp LBB0_14
LBB0_11: ## in Loop: Header=BB0_14 Depth=1
callq _r_swap_ut32
LBB0_12: ## in Loop: Header=BB0_14 Depth=1
movl %eax, -48(%rbp)
LBB0_13: ## in Loop: Header=BB0_14 Depth=1
movq _desc@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl 4(%r12), %esi
leaq -48(%rbp), %rdx
movl %r13d, %ecx
callq _gdbr_write_reg
movl (%r14), %edi
movq _reg_buf@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movl -44(%rbp), %ecx
movl -52(%rbp), %esi ## 4-byte Reload
movq %r12, %r8
movl %r15d, %r9d
callq _r_reg_next_diff
movq %rax, %r12
testq %rax, %rax
je LBB0_21
LBB0_14: ## =>This Inner Loop Header: Depth=1
movl (%r14), %edi
movq %r12, %rsi
callq _r_reg_get_value
movl %eax, -48(%rbp)
testb %bl, %bl
je LBB0_13
## %bb.15: ## in Loop: Header=BB0_14 Depth=1
movl %eax, %edi
cmpl $4, %r13d
je LBB0_11
## %bb.16: ## in Loop: Header=BB0_14 Depth=1
cmpl $2, %r13d
jne LBB0_18
## %bb.17: ## in Loop: Header=BB0_14 Depth=1
callq _r_swap_ut16
jmp LBB0_12
LBB0_18: ## in Loop: Header=BB0_14 Depth=1
callq _r_swap_ut64
jmp LBB0_12
LBB0_19:
movq _R_DEBUG_REASON_UNKNOWN@GOTPCREL(%rip), %rax
movl (%rax), %eax
jmp LBB0_23
LBB0_22:
movl $-1, %eax
jmp LBB0_23
LBB0_21:
movl $1, %eax
LBB0_23:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _desc,4,2 ## @desc
.comm _R_DEBUG_REASON_UNKNOWN,4,2 ## @R_DEBUG_REASON_UNKNOWN
.comm _reg_buf,8,3 ## @reg_buf
.comm _R_REG_NAME_PC,4,2 ## @R_REG_NAME_PC
.comm _buf_size,4,2 ## @buf_size
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "cfg.bigendian"
.no_dead_strip _r_debug_gdb_reg_write
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function r_debug_gdb_reg_write
_r_debug_gdb_reg_write: ; @r_debug_gdb_reg_write
.cfi_startproc
; %bb.0:
sub sp, sp, #96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x1
mov x20, x0
bl _check_connection
Lloh0:
adrp x24, _desc@GOTPAGE
Lloh1:
ldr x24, [x24, _desc@GOTPAGEOFF]
ldr w8, [x24]
cbz w8, LBB0_9
; %bb.1:
Lloh2:
adrp x25, _reg_buf@GOTPAGE
Lloh3:
ldr x25, [x25, _reg_buf@GOTPAGEOFF]
ldr x8, [x25]
cbz x8, LBB0_10
; %bb.2:
str wzr, [sp, #12]
ldr x8, [x20, #24]
ldp w21, w0, [x8]
Lloh4:
adrp x8, _R_REG_NAME_PC@GOTPAGE
Lloh5:
ldr x8, [x8, _R_REG_NAME_PC@GOTPAGEOFF]
Lloh6:
ldr w1, [x8]
bl _r_reg_get_name
mov x1, x0
ldr x8, [x20, #24]
ldr w0, [x8, #4]
mov w2, #0 ; =0x0
bl _r_reg_get
cbz x0, LBB0_4
; %bb.3:
ldr x8, [x20, #24]
ldr w8, [x8]
ldr w9, [x0]
cmp w8, w9
csel w21, w21, w9, eq
LBB0_4:
ldr w0, [x20]
add x2, sp, #12
mov x1, x19
bl _r_reg_get_bytes
bl _free
Lloh7:
adrp x22, _buf_size@GOTPAGE
Lloh8:
ldr x22, [x22, _buf_size@GOTPAGEOFF]
ldr w9, [x22]
ldr w8, [sp, #12]
cmp w9, w8
b.gt LBB0_7
; %bb.5:
ldr x0, [x25]
lsl w1, w8, #2
bl _realloc
cbz x0, LBB0_10
; %bb.6:
str x0, [x25]
ldrsw x8, [x22]
add x0, x0, x8, lsl #2
ldr w9, [sp, #12]
sub w2, w9, w8
mov w1, #0 ; =0x0
bl _memset
LBB0_7:
ldr x8, [x20, #8]
cbz x8, LBB0_11
; %bb.8:
mov w26, #1 ; =0x1
b LBB0_12
LBB0_9:
Lloh9:
adrp x8, _R_DEBUG_REASON_UNKNOWN@GOTPAGE
Lloh10:
ldr x8, [x8, _R_DEBUG_REASON_UNKNOWN@GOTPAGEOFF]
Lloh11:
ldr w0, [x8]
b LBB0_23
LBB0_10:
mov w0, #-1 ; =0xffffffff
b LBB0_23
LBB0_11:
ldr x8, [x20, #16]
Lloh12:
adrp x1, l_.str@PAGE
Lloh13:
add x1, x1, l_.str@PAGEOFF
mov x0, #0 ; =0x0
blr x8
cmp x0, #0
cset w26, ne
LBB0_12:
ldr w0, [x20]
ldr x2, [x25]
ldr w3, [sp, #12]
mov x1, x19
mov x4, #0 ; =0x0
mov x5, x21
bl _r_reg_next_diff
cbz x0, LBB0_22
; %bb.13:
mov x22, x0
add w8, w21, #7
cmp w21, #0
csel w8, w8, w21, lt
asr w23, w8, #3
b LBB0_17
LBB0_14: ; in Loop: Header=BB0_17 Depth=1
bl _r_swap_ut32
LBB0_15: ; in Loop: Header=BB0_17 Depth=1
str w0, [sp, #8]
LBB0_16: ; in Loop: Header=BB0_17 Depth=1
ldr w0, [x24]
ldr w1, [x22, #4]
add x2, sp, #8
mov x3, x23
bl _gdbr_write_reg
ldr w0, [x20]
ldr x2, [x25]
ldr w3, [sp, #12]
mov x1, x19
mov x4, x22
mov x5, x21
bl _r_reg_next_diff
mov x22, x0
cbz x0, LBB0_22
LBB0_17: ; =>This Inner Loop Header: Depth=1
ldr w0, [x20]
mov x1, x22
bl _r_reg_get_value
str w0, [sp, #8]
cbz w26, LBB0_16
; %bb.18: ; in Loop: Header=BB0_17 Depth=1
cmp w23, #4
b.eq LBB0_14
; %bb.19: ; in Loop: Header=BB0_17 Depth=1
cmp w23, #2
b.ne LBB0_21
; %bb.20: ; in Loop: Header=BB0_17 Depth=1
bl _r_swap_ut16
b LBB0_15
LBB0_21: ; in Loop: Header=BB0_17 Depth=1
bl _r_swap_ut64
b LBB0_15
LBB0_22:
mov w0, #1 ; =0x1
LBB0_23:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpAdd Lloh12, Lloh13
.cfi_endproc
; -- End function
.comm _desc,4,2 ; @desc
.comm _R_DEBUG_REASON_UNKNOWN,4,2 ; @R_DEBUG_REASON_UNKNOWN
.comm _reg_buf,8,3 ; @reg_buf
.comm _R_REG_NAME_PC,4,2 ; @R_REG_NAME_PC
.comm _buf_size,4,2 ; @buf_size
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "cfg.bigendian"
.no_dead_strip _r_debug_gdb_reg_write
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _skin ## -- Begin function skin
.p2align 4, 0x90
_skin: ## @skin
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB0_1
## %bb.2:
xorl %eax, %eax
retq
LBB0_1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %edi, %edi
movl $40, %esi
callq _strchr
xorl %edi, %edi
movl $60, %esi
callq _strchr
xorl %edi, %edi
movl $32, %esi
callq _strchr
popq %rbp
xorl %eax, %eax
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _skin ; -- Begin function skin
.p2align 2
_skin: ; @skin
.cfi_startproc
; %bb.0:
cbz x0, LBB0_2
; %bb.1:
mov x0, #0 ; =0x0
ret
LBB0_2:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w1, #40 ; =0x28
bl _strchr
mov x0, #0 ; =0x0
mov w1, #60 ; =0x3c
bl _strchr
mov x0, #0 ; =0x0
mov w1, #32 ; =0x20
bl _strchr
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
mov x0, #0 ; =0x0
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _register_module_func ## -- Begin function register_module_func
.p2align 4, 0x90
_register_module_func: ## @register_module_func
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %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 _g_moddef_num@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movl %edx, %r15d
movq (%rcx,%r15,8), %rax
movq _g_moddef_capacity@GOTPCREL(%rip), %r13
movq (%r13), %rdx
cmpq (%rdx,%r15,8), %rax
jne LBB0_4
## %bb.1:
leaq (%rax,%rax), %rcx
testq %rax, %rax
movl $16, %r12d
cmovneq %rcx, %r12
movq _g_moddef@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rax,%r15,8), %rdi
movq %r12, %rsi
shlq $4, %rsi
callq _realloc
testq %rax, %rax
jne LBB0_3
## %bb.2:
movl $3735928495, %ecx ## imm = 0xDEADBEAF
movb $0, (%rcx)
LBB0_3:
movq _g_moddef@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq %rax, (%rcx,%r15,8)
movq (%r13), %rax
movq %r12, (%rax,%r15,8)
movq _g_moddef_num@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq (%rcx,%r15,8), %rax
LBB0_4:
movq _g_moddef@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movq (%rdx,%r15,8), %rdx
leaq 1(%rax), %rsi
movq %rsi, (%rcx,%r15,8)
shlq $4, %rax
movq %rdx, %rcx
subq %rax, %rcx
negq %rax
movq %r14, (%rdx,%rax)
movq %rbx, 8(%rcx)
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _g_moddef_num,8,3 ## @g_moddef_num
.comm _g_moddef_capacity,8,3 ## @g_moddef_capacity
.comm _g_moddef,8,3 ## @g_moddef
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _register_module_func ; -- Begin function register_module_func
.p2align 2
_register_module_func: ; @register_module_func
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x21, x2
mov x19, x1
mov x20, x0
Lloh0:
adrp x23, _g_moddef_num@GOTPAGE
Lloh1:
ldr x23, [x23, _g_moddef_num@GOTPAGEOFF]
ldr x9, [x23]
ldr x8, [x9, w2, uxtw #3]
Lloh2:
adrp x24, _g_moddef_capacity@GOTPAGE
Lloh3:
ldr x24, [x24, _g_moddef_capacity@GOTPAGEOFF]
ldr x10, [x24]
ldr x10, [x10, w2, uxtw #3]
Lloh4:
adrp x22, _g_moddef@GOTPAGE
Lloh5:
ldr x22, [x22, _g_moddef@GOTPAGEOFF]
cmp x8, x10
b.ne LBB0_4
; %bb.1:
lsl x9, x8, #1
mov w10, #16 ; =0x10
cmp x8, #0
csel x25, x10, x9, eq
ldr x8, [x22]
ldr x0, [x8, w21, uxtw #3]
lsl x1, x25, #4
bl _realloc
cbnz x0, LBB0_3
; %bb.2:
mov w8, #48815 ; =0xbeaf
movk w8, #57005, lsl #16
strb wzr, [x8]
LBB0_3:
ldr x8, [x22]
str x0, [x8, w21, uxtw #3]
ldr x8, [x24]
str x25, [x8, w21, uxtw #3]
ldr x9, [x23]
ldr x8, [x9, w21, uxtw #3]
LBB0_4:
ldr x10, [x22]
ldr x10, [x10, w21, uxtw #3]
add x11, x8, #1
str x11, [x9, w21, uxtw #3]
sub x8, x10, x8, lsl #4
stp x20, x19, [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
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _g_moddef_num,8,3 ; @g_moddef_num
.comm _g_moddef_capacity,8,3 ; @g_moddef_capacity
.comm _g_moddef,8,3 ; @g_moddef
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function nvg__allocTempVerts
_nvg__allocTempVerts: ## @nvg__allocTempVerts
.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
cmpl %esi, (%rax)
jge LBB0_1
## %bb.2:
movl %esi, %ebx
movq %rdi, %r14
addl $255, %ebx
andl $-256, %ebx
movq 8(%rax), %rdi
leal (,%rbx,4), %esi
callq _realloc
testq %rax, %rax
jne LBB0_4
## %bb.3:
movq (%r14), %rax
movq $0, 8(%rax)
movl %ebx, (%rax)
LBB0_4:
xorl %eax, %eax
jmp LBB0_5
LBB0_1:
movq 8(%rax), %rax
LBB0_5:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _nvg__allocTempVerts
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function nvg__allocTempVerts
_nvg__allocTempVerts: ; @nvg__allocTempVerts
.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
ldr x8, [x0]
ldr w9, [x8]
cmp w9, w1
b.ge LBB0_3
; %bb.1:
mov x20, x0
add w9, w1, #255
and w19, w9, #0xffffff00
ldr x0, [x8, #8]
lsl w1, w19, #2
bl _realloc
cbz x0, LBB0_4
; %bb.2:
mov x0, #0 ; =0x0
b LBB0_5
LBB0_3:
ldr x0, [x8, #8]
b LBB0_5
LBB0_4:
ldr x8, [x20]
str xzr, [x8, #8]
str w19, [x8]
LBB0_5:
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 _nvg__allocTempVerts
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function reserveAllocatedDesc
_reserveAllocatedDesc: ## @reserveAllocatedDesc
.cfi_startproc
## %bb.0:
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 _numAllocatedDescs@GOTPCREL(%rip), %rdx
movq _maxAllocatedDescs@GOTPCREL(%rip), %r14
movl (%r14), %eax
movl $1, %ecx
cmpl %eax, (%rdx)
jle LBB0_7
## %bb.1:
movq _allocatedDescs@GOTPCREL(%rip), %r15
movq (%r15), %rdi
testq %rdi, %rdi
je LBB0_2
## %bb.4:
movq _max_safe_fds@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, %r12d
shrl $31, %r12d
addl %ecx, %r12d
sarl %r12d
xorl %ecx, %ecx
cmpl %eax, %r12d
jle LBB0_7
## %bb.5:
leal (,%r12,4), %esi
callq _realloc
xorl %ecx, %ecx
testq %rax, %rax
jne LBB0_6
jmp LBB0_7
LBB0_2:
movq _FD_MINFREE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, %r12d
shrl $31, %r12d
addl %eax, %r12d
sarl %r12d
leal (,%r12,4), %edi
callq _malloc
testq %rax, %rax
jne LBB0_6
## %bb.3:
movq _ERROR@GOTPCREL(%rip), %rcx
movl (%rcx), %ebx
movq _ERRCODE_OUT_OF_MEMORY@GOTPCREL(%rip), %rcx
movl (%rcx), %edi
movq %rax, %r13
callq _errcode
leaq L_.str(%rip), %rdi
callq _errmsg
movl %ebx, %edi
movl %eax, %esi
callq _ereport
movq %r13, %rax
LBB0_6:
movq %rax, (%r15)
movl %r12d, (%r14)
movl $1, %ecx
LBB0_7:
movl %ecx, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _numAllocatedDescs,4,2 ## @numAllocatedDescs
.comm _maxAllocatedDescs,4,2 ## @maxAllocatedDescs
.comm _allocatedDescs,8,3 ## @allocatedDescs
.comm _FD_MINFREE,4,2 ## @FD_MINFREE
.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 _max_safe_fds,4,2 ## @max_safe_fds
.no_dead_strip _reserveAllocatedDesc
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function reserveAllocatedDesc
_reserveAllocatedDesc: ; @reserveAllocatedDesc
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
Lloh0:
adrp x8, _numAllocatedDescs@GOTPAGE
Lloh1:
ldr x8, [x8, _numAllocatedDescs@GOTPAGEOFF]
Lloh2:
ldr w9, [x8]
Lloh3:
adrp x20, _maxAllocatedDescs@GOTPAGE
Lloh4:
ldr x20, [x20, _maxAllocatedDescs@GOTPAGEOFF]
ldr w8, [x20]
cmp w9, w8
b.le LBB0_7
; %bb.1:
Lloh5:
adrp x21, _allocatedDescs@GOTPAGE
Lloh6:
ldr x21, [x21, _allocatedDescs@GOTPAGEOFF]
ldr x0, [x21]
cbz x0, LBB0_4
; %bb.2:
Lloh7:
adrp x9, _max_safe_fds@GOTPAGE
Lloh8:
ldr x9, [x9, _max_safe_fds@GOTPAGEOFF]
Lloh9:
ldr w9, [x9]
add w9, w9, w9, lsr #31
asr w22, w9, #1
cmp w22, w8
b.le LBB0_9
; %bb.3:
lsl w1, w22, #2
bl _realloc
cbnz x0, LBB0_6
b LBB0_8
LBB0_4:
Lloh10:
adrp x8, _FD_MINFREE@GOTPAGE
Lloh11:
ldr x8, [x8, _FD_MINFREE@GOTPAGEOFF]
Lloh12:
ldr w8, [x8]
add w8, w8, w8, lsr #31
asr w22, w8, #1
lsl w0, w22, #2
bl _malloc
cbnz x0, LBB0_6
; %bb.5:
Lloh13:
adrp x8, _ERROR@GOTPAGE
Lloh14:
ldr x8, [x8, _ERROR@GOTPAGEOFF]
Lloh15:
ldr w19, [x8]
Lloh16:
adrp x8, _ERRCODE_OUT_OF_MEMORY@GOTPAGE
Lloh17:
ldr x8, [x8, _ERRCODE_OUT_OF_MEMORY@GOTPAGEOFF]
Lloh18:
ldr w8, [x8]
mov x23, x0
mov x0, x8
bl _errcode
Lloh19:
adrp x0, l_.str@PAGE
Lloh20:
add x0, x0, l_.str@PAGEOFF
bl _errmsg
mov x1, x0
mov x0, x19
bl _ereport
mov x0, x23
LBB0_6:
str x0, [x21]
str w22, [x20]
LBB0_7:
mov w0, #1 ; =0x1
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
ret
LBB0_9:
mov w0, #0 ; =0x0
b LBB0_8
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.cfi_endproc
; -- End function
.comm _numAllocatedDescs,4,2 ; @numAllocatedDescs
.comm _maxAllocatedDescs,4,2 ; @maxAllocatedDescs
.comm _allocatedDescs,8,3 ; @allocatedDescs
.comm _FD_MINFREE,4,2 ; @FD_MINFREE
.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 _max_safe_fds,4,2 ; @max_safe_fds
.no_dead_strip _reserveAllocatedDesc
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function grow_buffer
_grow_buffer: ## @grow_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 %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl %esi, %r14d
movq %rdi, %rbx
movq 8(%rdi), %rdi
callq _realloc
testq %rax, %rax
je LBB0_2
## %bb.1:
movl 16(%rbx), %edi
movq _PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rdx
callq _pcap_snprintf
xorl %eax, %eax
jmp LBB0_3
LBB0_2:
movq $0, 8(%rbx)
movl %r14d, (%rbx)
movl $1, %eax
LBB0_3:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PCAP_ERRBUF_SIZE,4,2 ## @PCAP_ERRBUF_SIZE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "out of memory"
.no_dead_strip _grow_buffer
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function grow_buffer
_grow_buffer: ; @grow_buffer
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x20, x1
mov x19, x0
ldr x0, [x0, #8]
bl _realloc
cbz x0, LBB0_2
; %bb.1:
ldr w0, [x19, #16]
Lloh0:
adrp x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh1:
ldr x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
Lloh3:
adrp x2, l_.str@PAGE
Lloh4:
add x2, x2, l_.str@PAGEOFF
bl _pcap_snprintf
mov w0, #0 ; =0x0
b LBB0_3
LBB0_2:
str xzr, [x19, #8]
str w20, [x19]
mov w0, #1 ; =0x1
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _PCAP_ERRBUF_SIZE,4,2 ; @PCAP_ERRBUF_SIZE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "out of memory"
.no_dead_strip _grow_buffer
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function push
_push: ## @push
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %ebx
movq %rdi, %r14
movl (%rdi), %eax
movl 4(%rdi), %esi
leal -1(%rax), %ecx
movl %ecx, (%rdi)
cmpl %esi, %eax
jle LBB0_1
## %bb.2:
movq 8(%r14), %rdi
movq _STACK_INC@GOTPCREL(%rip), %r15
subl (%r15), %esi
shll $4, %esi
callq *16(%r14)
testq %rax, %rax
je LBB0_6
## %bb.3:
movl (%r15), %ecx
addl %ecx, 4(%r14)
movq %rax, 8(%r14)
movl (%r14), %ecx
jmp LBB0_4
LBB0_1:
movq 8(%r14), %rax
LBB0_4:
movslq %ecx, %rcx
shlq $4, %rcx
movl %ebx, (%rax,%rcx)
movq $0, 8(%rax,%rcx)
LBB0_5:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_6:
movq _errno@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
callq _json_error_s
movq _JSON_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %ebx
jmp LBB0_5
.cfi_endproc
## -- End function
.comm _STACK_INC,4,2 ## @STACK_INC
.comm _errno,4,2 ## @errno
.comm _JSON_ERROR,4,2 ## @JSON_ERROR
.no_dead_strip _push
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function push
_push: ; @push
.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
ldp w10, w9, [x0]
sub w8, w10, #1
str w8, [x0]
cmp w10, w9
b.le LBB0_3
; %bb.1:
ldp x0, x8, [x20, #8]
Lloh0:
adrp x21, _STACK_INC@GOTPAGE
Lloh1:
ldr x21, [x21, _STACK_INC@GOTPAGEOFF]
ldr w10, [x21]
sub w9, w9, w10
lsl w1, w9, #4
blr x8
cbz x0, LBB0_6
; %bb.2:
ldr w9, [x21]
ldp w8, w10, [x20]
add w9, w10, w9
str w9, [x20, #4]
str x0, [x20, #8]
b LBB0_4
LBB0_3:
ldr x0, [x20, #8]
LBB0_4:
add x8, x0, w8, sxtw #4
str w19, [x8]
str xzr, [x8, #8]
LBB0_5:
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_6:
Lloh2:
adrp x8, _errno@GOTPAGE
Lloh3:
ldr x8, [x8, _errno@GOTPAGEOFF]
Lloh4:
ldr w1, [x8]
mov x0, x20
bl _json_error_s
Lloh5:
adrp x8, _JSON_ERROR@GOTPAGE
Lloh6:
ldr x8, [x8, _JSON_ERROR@GOTPAGEOFF]
Lloh7:
ldr w19, [x8]
b LBB0_5
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _STACK_INC,4,2 ; @STACK_INC
.comm _errno,4,2 ; @errno
.comm _JSON_ERROR,4,2 ; @JSON_ERROR
.no_dead_strip _push
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function archive_utility_string_sort_helper
_archive_utility_string_sort_helper: ## @archive_utility_string_sort_helper
.cfi_startproc
## %bb.0:
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 %esi, -52(%rbp) ## 4-byte Spill
cmpl $1, %esi
ja LBB0_2
## %bb.1:
movq _ARCHIVE_OK@GOTPCREL(%rip), %rax
movl (%rax), %eax
jmp LBB0_42
LBB0_2:
movq %rdi, %rbx
movq (%rdi), %r12
xorl %r13d, %r13d
movl $1, %eax
movq $0, -64(%rbp) ## 8-byte Folded Spill
movq $0, -48(%rbp) ## 8-byte Folded Spill
xorl %r14d, %r14d
jmp LBB0_4
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_4 Depth=1
movq -72(%rbp), %rsi ## 8-byte Reload
movq (%rbx,%rsi,8), %rdx
movl %ecx, %ecx
movq %rdx, (%rax,%rcx,8)
leal 1(%rsi), %eax
cmpl -52(%rbp), %eax ## 4-byte Folded Reload
ja LBB0_9
LBB0_4: ## =>This Inner Loop Header: Depth=1
movl %eax, %eax
movq %rax, -72(%rbp) ## 8-byte Spill
movq (%rbx,%rax,8), %rdi
movq %r12, %rsi
callq _strcmp
testq %rax, %rax
jns LBB0_7
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
leal 8(,%r13,8), %esi
movq -48(%rbp), %r15 ## 8-byte Reload
movq %r15, %rdi
callq _realloc
testq %rax, %rax
je LBB0_16
## %bb.6: ## in Loop: Header=BB0_4 Depth=1
movl %r13d, %ecx
leal 1(%r13), %edx
movq %rax, -48(%rbp) ## 8-byte Spill
movl %edx, %r13d
jmp LBB0_3
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_4 Depth=1
movq %rbx, %r15
movq %r12, %rbx
leal 8(,%r14,8), %esi
movq %r14, %r12
movq -64(%rbp), %r14 ## 8-byte Reload
movq %r14, %rdi
callq _realloc
testq %rax, %rax
je LBB0_15
## %bb.8: ## in Loop: Header=BB0_4 Depth=1
movl %r12d, %ecx
leal 1(%r12), %edx
movl %edx, %r14d
movq %rax, -64(%rbp) ## 8-byte Spill
movq %rbx, %r12
movq %r15, %rbx
jmp LBB0_3
LBB0_9:
movq %r14, -72(%rbp) ## 8-byte Spill
movq -48(%rbp), %rdi ## 8-byte Reload
movq %r13, %r15
movl %r15d, %esi
callq _archive_utility_string_sort_helper
movl %eax, -52(%rbp) ## 4-byte Spill
testl %r15d, %r15d
je LBB0_18
## %bb.10:
movl %r15d, %r14d
xorl %eax, %eax
cmpl $6, %r15d
jb LBB0_19
## %bb.11:
movq %rbx, %rcx
movq -48(%rbp), %rdi ## 8-byte Reload
subq %rdi, %rcx
cmpq $32, %rcx
jb LBB0_20
## %bb.12:
movl %r14d, %eax
andl $-4, %eax
leaq (,%r14,8), %rcx
andq $-32, %rcx
xorl %edx, %edx
.p2align 4, 0x90
LBB0_13: ## =>This Inner Loop Header: Depth=1
movups (%rdi,%rdx), %xmm0
movups 16(%rdi,%rdx), %xmm1
movups %xmm0, (%rbx,%rdx)
movups %xmm1, 16(%rbx,%rdx)
addq $32, %rdx
cmpq %rdx, %rcx
jne LBB0_13
## %bb.14:
cmpl %r14d, %eax
jne LBB0_20
jmp LBB0_25
LBB0_15:
movq %r14, %rdi
callq _free
movq -48(%rbp), %rdi ## 8-byte Reload
jmp LBB0_17
LBB0_16:
movq -64(%rbp), %rdi ## 8-byte Reload
callq _free
movq %r15, %rdi
LBB0_17:
callq _free
movq _ARCHIVE_FATAL@GOTPCREL(%rip), %rax
movl (%rax), %eax
jmp LBB0_42
LBB0_18:
xorl %r14d, %r14d
movq -48(%rbp), %rdi ## 8-byte Reload
jmp LBB0_25
LBB0_19:
movq -48(%rbp), %rdi ## 8-byte Reload
LBB0_20:
movq %r14, %rdx
movq %rax, %rcx
andq $3, %rdx
je LBB0_23
## %bb.21:
movq %rax, %rcx
.p2align 4, 0x90
LBB0_22: ## =>This Inner Loop Header: Depth=1
movq (%rdi,%rcx,8), %rsi
movq %rsi, (%rbx,%rcx,8)
incq %rcx
decq %rdx
jne LBB0_22
LBB0_23:
subq %r14, %rax
cmpq $-4, %rax
ja LBB0_25
.p2align 4, 0x90
LBB0_24: ## =>This Inner Loop Header: Depth=1
movq (%rdi,%rcx,8), %rax
movq %rax, (%rbx,%rcx,8)
movq 8(%rdi,%rcx,8), %rax
movq %rax, 8(%rbx,%rcx,8)
movq 16(%rdi,%rcx,8), %rax
movq %rax, 16(%rbx,%rcx,8)
movq 24(%rdi,%rcx,8), %rax
movq %rax, 24(%rbx,%rcx,8)
addq $4, %rcx
cmpq %rcx, %r14
jne LBB0_24
LBB0_25:
callq _free
movq %r12, (%rbx,%r14,8)
movq -64(%rbp), %r14 ## 8-byte Reload
movq %r14, %rdi
movq -72(%rbp), %r13 ## 8-byte Reload
movl %r13d, %esi
callq _archive_utility_string_sort_helper
movl %eax, %r12d
testl %r13d, %r13d
je LBB0_41
## %bb.26:
movl %r13d, %eax
cmpl $22, %r13d
jb LBB0_27
## %bb.28:
leaq -1(%rax), %rcx
movl %r15d, %edx
negl %edx
cmpl %ecx, %edx
setb %dl
shrq $32, %rcx
setne %cl
orb %dl, %cl
jne LBB0_27
## %bb.30:
leal -1(%r15), %edx
leaq (%rbx,%rdx,8), %rcx
subq %r14, %rcx
cmpq $32, %rcx
jae LBB0_32
LBB0_27:
xorl %ecx, %ecx
LBB0_35:
movq %rax, %rsi
movq %rcx, %rdx
andq $3, %rsi
je LBB0_38
## %bb.36:
leal -1(%r15), %edi
movq %rcx, %rdx
.p2align 4, 0x90
LBB0_37: ## =>This Inner Loop Header: Depth=1
movq (%r14,%rdx,8), %r8
leal (%rdi,%rdx), %r9d
movq %r8, (%rbx,%r9,8)
incq %rdx
decq %rsi
jne LBB0_37
LBB0_38:
subq %rax, %rcx
cmpq $-4, %rcx
ja LBB0_41
## %bb.39:
movl %r15d, %ecx
decl %r15d
.p2align 4, 0x90
LBB0_40: ## =>This Inner Loop Header: Depth=1
movq (%r14,%rdx,8), %rsi
leal (%r15,%rdx), %edi
movq %rsi, (%rbx,%rdi,8)
movq 8(%r14,%rdx,8), %rsi
leal (%rcx,%rdx), %edi
movq %rsi, (%rbx,%rdi,8)
movq 16(%r14,%rdx,8), %rsi
leal 1(%rcx,%rdx), %edi
movq %rsi, (%rbx,%rdi,8)
movq 24(%r14,%rdx,8), %rsi
leal (%rcx,%rdx), %edi
addl $2, %edi
movq %rsi, (%rbx,%rdi,8)
addq $4, %rdx
cmpq %rdx, %rax
jne LBB0_40
LBB0_41:
movq %r14, %rdi
callq _free
movl -52(%rbp), %eax ## 4-byte Reload
cmpl %r12d, %eax
cmovll %eax, %r12d
movl %r12d, %eax
LBB0_42:
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_32:
movl %eax, %ecx
andl $-4, %ecx
xorl %esi, %esi
.p2align 4, 0x90
LBB0_33: ## =>This Inner Loop Header: Depth=1
movups (%r14,%rsi,8), %xmm0
movups 16(%r14,%rsi,8), %xmm1
leal (%rdx,%rsi), %edi
movups %xmm0, (%rbx,%rdi,8)
movups %xmm1, 16(%rbx,%rdi,8)
addq $4, %rsi
cmpq %rsi, %rcx
jne LBB0_33
## %bb.34:
cmpl %eax, %ecx
je LBB0_41
jmp LBB0_35
.cfi_endproc
## -- End function
.comm _ARCHIVE_OK,4,2 ## @ARCHIVE_OK
.comm _ARCHIVE_FATAL,4,2 ## @ARCHIVE_FATAL
.no_dead_strip _archive_utility_string_sort_helper
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function archive_utility_string_sort_helper
_archive_utility_string_sort_helper: ; @archive_utility_string_sort_helper
.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
cmp w1, #1
b.hi LBB0_2
; %bb.1:
Lloh0:
adrp x8, _ARCHIVE_OK@GOTPAGE
Lloh1:
ldr x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
b LBB0_25
LBB0_2:
mov x22, x1
mov x19, x0
mov w21, #0 ; =0x0
mov x20, #0 ; =0x0
mov x24, #0 ; =0x0
mov w23, #0 ; =0x0
ldr x25, [x0]
mov w26, #1 ; =0x1
b LBB0_4
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
mov w9, w26
ldr x10, [x19, x9, lsl #3]
str x10, [x0, w8, uxtw #3]
add w26, w9, #1
cmp w26, w22
b.hi LBB0_10
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr x0, [x19, w26, uxtw #3]
mov x1, x25
bl _strcmp
tbz x0, #63, LBB0_7
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
add w27, w21, #1
lsl w1, w27, #3
mov x0, x24
bl _realloc
cbz x0, LBB0_9
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
mov x8, x21
mov x24, x0
mov x21, x27
b LBB0_3
LBB0_7: ; in Loop: Header=BB0_4 Depth=1
add w27, w23, #1
lsl w1, w27, #3
mov x0, x20
bl _realloc
cbz x0, LBB0_9
; %bb.8: ; in Loop: Header=BB0_4 Depth=1
mov x8, x23
mov x23, x27
mov x20, x0
b LBB0_3
LBB0_9:
mov x0, x20
bl _free
mov x0, x24
bl _free
Lloh3:
adrp x8, _ARCHIVE_FATAL@GOTPAGE
Lloh4:
ldr x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
b LBB0_25
LBB0_10:
mov x0, x24
mov x1, x21
bl _archive_utility_string_sort_helper
mov x22, x0
cbz w21, LBB0_18
; %bb.11:
mov x8, #0 ; =0x0
mov w26, w21
cmp w21, #8
b.lo LBB0_16
; %bb.12:
sub x9, x19, x24
cmp x9, #64
b.lo LBB0_16
; %bb.13:
and x8, x26, #0xfffffff8
add x9, x19, #32
add x10, x24, #32
mov x11, x8
LBB0_14: ; =>This Inner Loop Header: Depth=1
ldp q0, q1, [x10, #-32]
ldp q2, q3, [x10], #64
stp q0, q1, [x9, #-32]
stp q2, q3, [x9], #64
subs x11, x11, #8
b.ne LBB0_14
; %bb.15:
cmp x8, x26
b.eq LBB0_19
LBB0_16:
lsl x10, x8, #3
add x9, x24, x10
add x10, x19, x10
sub x8, x26, x8
LBB0_17: ; =>This Inner Loop Header: Depth=1
ldr x11, [x9], #8
str x11, [x10], #8
subs x8, x8, #1
b.ne LBB0_17
b LBB0_19
LBB0_18:
mov x26, #0 ; =0x0
LBB0_19:
mov x0, x24
bl _free
str x25, [x19, x26, lsl #3]
mov x0, x20
mov x1, x23
bl _archive_utility_string_sort_helper
mov x24, x0
cbz w23, LBB0_24
; %bb.20:
mov w8, w23
cmp w23, #16
b.hs LBB0_26
LBB0_21:
mov x9, #0 ; =0x0
LBB0_22:
add w10, w9, w21
sub w10, w10, #1
add x11, x20, x9, lsl #3
sub x8, x8, x9
LBB0_23: ; =>This Inner Loop Header: Depth=1
ldr x9, [x11], #8
str x9, [x19, w10, uxtw #3]
add w10, w10, #1
subs x8, x8, #1
b.ne LBB0_23
LBB0_24:
mov x0, x20
bl _free
cmp w22, w24
csel w0, w22, w24, lt
LBB0_25:
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_26:
mov x9, #0 ; =0x0
sub x10, x8, #1
neg w11, w21
cmp w11, w10
b.lo LBB0_22
; %bb.27:
lsr x10, x10, #32
cbnz x10, LBB0_22
; %bb.28:
sub w10, w21, #1
add x9, x19, w10, uxtw #3
sub x9, x9, x20
cmp x9, #64
b.lo LBB0_21
; %bb.29:
and x9, x8, #0xfffffff8
add x11, x20, #32
mov x12, x9
LBB0_30: ; =>This Inner Loop Header: Depth=1
ldp q0, q1, [x11, #-32]
ldp q2, q3, [x11], #64
add x13, x19, w10, uxtw #3
stp q0, q1, [x13]
stp q2, q3, [x13, #32]
add w10, w10, #8
subs x12, x12, #8
b.ne LBB0_30
; %bb.31:
cmp x9, x8
b.ne LBB0_22
b LBB0_24
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _ARCHIVE_OK,4,2 ; @ARCHIVE_OK
.comm _ARCHIVE_FATAL,4,2 ; @ARCHIVE_FATAL
.no_dead_strip _archive_utility_string_sort_helper
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _mpc_err_string ## -- Begin function mpc_err_string
.p2align 4, 0x90
_mpc_err_string: ## @mpc_err_string
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %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
movl $0, -48(%rbp)
movl $1023, -44(%rbp) ## imm = 0x3FF
movl $1, %edi
movl $1024, %esi ## imm = 0x400
callq _calloc
movq %rax, %rbx
movl 32(%r14), %r8d
movl 36(%r14), %r9d
testl %r9d, %r9d
je LBB0_2
## %bb.1:
leaq L_.str(%rip), %rcx
leaq -48(%rbp), %rsi
leaq -44(%rbp), %rdx
movq %rbx, %rdi
xorl %eax, %eax
callq _mpc_err_string_cat
jmp LBB0_11
LBB0_2:
movq 16(%r14), %rax
movq 24(%r14), %r9
incq %r9
incq %rax
movq %rax, (%rsp)
leaq L_.str.1(%rip), %rcx
leaq -48(%rbp), %rsi
leaq -44(%rbp), %rdx
movq %rbx, %rdi
xorl %eax, %eax
callq _mpc_err_string_cat
movl (%r14), %eax
testl %eax, %eax
je LBB0_3
## %bb.4:
cmpl $1, %eax
je LBB0_5
LBB0_6:
cmpl $2, %eax
jge LBB0_7
jmp LBB0_10
LBB0_3:
leaq L_.str.2(%rip), %rcx
leaq -48(%rbp), %rsi
leaq -44(%rbp), %rdx
movq %rbx, %rdi
xorl %eax, %eax
callq _mpc_err_string_cat
movl (%r14), %eax
cmpl $1, %eax
jne LBB0_6
LBB0_5:
movq 8(%r14), %rax
movl (%rax), %r8d
leaq L_.str.3(%rip), %rcx
leaq -48(%rbp), %rsi
leaq -44(%rbp), %rdx
movq %rbx, %rdi
xorl %eax, %eax
callq _mpc_err_string_cat
movl (%r14), %eax
cmpl $2, %eax
jl LBB0_10
LBB0_7:
leaq -48(%rbp), %r12
leaq -44(%rbp), %r13
movq %rbx, %r15
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_8: ## =>This Inner Loop Header: Depth=1
movq 8(%r14), %rax
movl (%rax,%rbx,4), %r8d
movq %r15, %rdi
movq %r12, %rsi
movq %r13, %rdx
leaq L_.str.4(%rip), %rcx
xorl %eax, %eax
callq _mpc_err_string_cat
decq %rbx
movslq (%r14), %rax
leaq -2(%rax), %rcx
cmpq %rcx, %rbx
jle LBB0_8
## %bb.9:
movq 8(%r14), %rcx
movl -8(%rcx,%rax,4), %r8d
movl -4(%rcx,%rax,4), %r9d
leaq L_.str.5(%rip), %rcx
leaq -48(%rbp), %rsi
leaq -44(%rbp), %rdx
movq %r15, %rdi
xorl %eax, %eax
callq _mpc_err_string_cat
movq %r15, %rbx
LBB0_10:
leaq L_.str.6(%rip), %rcx
leaq -48(%rbp), %r15
leaq -44(%rbp), %r12
movq %rbx, %rdi
movq %r15, %rsi
movq %r12, %rdx
xorl %eax, %eax
callq _mpc_err_string_cat
movl 4(%r14), %edi
callq _mpc_err_char_unescape
movq %rbx, %rdi
movq %r15, %rsi
movq %r12, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq _mpc_err_string_cat
leaq L_.str.7(%rip), %rcx
movq %rbx, %rdi
movq %r15, %rsi
movq %r12, %rdx
xorl %eax, %eax
callq _mpc_err_string_cat
movq %rbx, %rdi
callq _strlen
leaq 1(%rax), %rsi
movq %rbx, %rdi
callq _realloc
movq %rax, %rbx
LBB0_11:
movq %rbx, %rax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s: error: %s\n"
L_.str.1: ## @.str.1
.asciz "%s:%i:%i: error: expected "
L_.str.2: ## @.str.2
.asciz "ERROR: NOTHING EXPECTED"
L_.str.3: ## @.str.3
.asciz "%s"
L_.str.4: ## @.str.4
.asciz "%s, "
L_.str.5: ## @.str.5
.asciz "%s or %s"
L_.str.6: ## @.str.6
.asciz " at "
L_.str.7: ## @.str.7
.asciz "\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _mpc_err_string ; -- Begin function mpc_err_string
.p2align 2
_mpc_err_string: ; @mpc_err_string
.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 x20, x0
mov w8, #1023 ; =0x3ff
stp w8, wzr, [sp, #24]
mov w0, #1 ; =0x1
mov w1, #1024 ; =0x400
bl _calloc
mov x19, x0
ldp w8, w9, [x20, #32]
cbz w9, LBB0_2
; %bb.1:
stp x8, x9, [sp]
Lloh0:
adrp x3, l_.str@PAGE
Lloh1:
add x3, x3, l_.str@PAGEOFF
add x1, sp, #28
add x2, sp, #24
mov x0, x19
bl _mpc_err_string_cat
b LBB0_11
LBB0_2:
ldp x10, x9, [x20, #16]
add x9, x9, #1
add x10, x10, #1
stp x9, x10, [sp, #8]
str x8, [sp]
Lloh2:
adrp x3, l_.str.1@PAGE
Lloh3:
add x3, x3, l_.str.1@PAGEOFF
add x1, sp, #28
add x2, sp, #24
mov x0, x19
bl _mpc_err_string_cat
ldr w8, [x20]
cbz w8, LBB0_5
; %bb.3:
cmp w8, #1
b.eq LBB0_6
LBB0_4:
cmp w8, #2
b.ge LBB0_7
b LBB0_10
LBB0_5:
Lloh4:
adrp x3, l_.str.2@PAGE
Lloh5:
add x3, x3, l_.str.2@PAGEOFF
add x1, sp, #28
add x2, sp, #24
mov x0, x19
bl _mpc_err_string_cat
ldr w8, [x20]
cmp w8, #1
b.ne LBB0_4
LBB0_6:
ldr x8, [x20, #8]
ldr w8, [x8]
str x8, [sp]
Lloh6:
adrp x3, l_.str.3@PAGE
Lloh7:
add x3, x3, l_.str.3@PAGEOFF
add x1, sp, #28
add x2, sp, #24
mov x0, x19
bl _mpc_err_string_cat
ldr w8, [x20]
cmp w8, #2
b.lt LBB0_10
LBB0_7:
mov x22, #0 ; =0x0
Lloh8:
adrp x21, l_.str.4@PAGE
Lloh9:
add x21, x21, l_.str.4@PAGEOFF
LBB0_8: ; =>This Inner Loop Header: Depth=1
ldr x8, [x20, #8]
ldr w8, [x8, x22, lsl #2]
str x8, [sp]
add x1, sp, #28
add x2, sp, #24
mov x0, x19
mov x3, x21
bl _mpc_err_string_cat
sub x22, x22, #1
ldrsw x9, [x20]
sub x8, x9, #2
cmp x22, x8
b.le LBB0_8
; %bb.9:
ldr x10, [x20, #8]
add x9, x10, x9, lsl #2
ldr w8, [x10, x8, lsl #2]
ldur w9, [x9, #-4]
stp x8, x9, [sp]
Lloh10:
adrp x3, l_.str.5@PAGE
Lloh11:
add x3, x3, l_.str.5@PAGEOFF
add x1, sp, #28
add x2, sp, #24
mov x0, x19
bl _mpc_err_string_cat
LBB0_10:
Lloh12:
adrp x3, l_.str.6@PAGE
Lloh13:
add x3, x3, l_.str.6@PAGEOFF
add x1, sp, #28
add x2, sp, #24
mov x0, x19
bl _mpc_err_string_cat
ldr w0, [x20, #4]
bl _mpc_err_char_unescape
mov x3, x0
add x1, sp, #28
add x2, sp, #24
mov x0, x19
bl _mpc_err_string_cat
Lloh14:
adrp x3, l_.str.7@PAGE
Lloh15:
add x3, x3, l_.str.7@PAGEOFF
add x1, sp, #28
add x2, sp, #24
mov x0, x19
bl _mpc_err_string_cat
mov x0, x19
bl _strlen
add x1, x0, #1
mov x0, x19
bl _realloc
mov x19, x0
LBB0_11:
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
add sp, sp, #80
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s: error: %s\n"
l_.str.1: ; @.str.1
.asciz "%s:%i:%i: error: expected "
l_.str.2: ; @.str.2
.asciz "ERROR: NOTHING EXPECTED"
l_.str.3: ; @.str.3
.asciz "%s"
l_.str.4: ; @.str.4
.asciz "%s, "
l_.str.5: ; @.str.5
.asciz "%s or %s"
l_.str.6: ; @.str.6
.asciz " at "
l_.str.7: ; @.str.7
.asciz "\n"
.subsections_via_symbols
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.