x86
stringlengths 122
99k
| arm
stringlengths 122
86.4k
|
---|---|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function _cset_add_filter
__cset_add_filter: ## @_cset_add_filter
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r12
movl %esi, %r14d
movq %rdi, %rbx
movq 8(%rdi), %rdi
movl (%rbx), %esi
shll $4, %esi
addl $-16, %esi
callq _realloc
movq %rax, %r15
testq %rax, %rax
je LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdx
movl $1, %edi
xorl %esi, %esi
callq _lafe_errc
LBB0_2:
movq %r12, %rdi
callq _strdup
movq %rax, %r12
testq %rax, %rax
jne LBB0_4
## %bb.3:
leaq L_.str(%rip), %rdx
movl $1, %edi
xorl %esi, %esi
callq _lafe_errc
LBB0_4:
movq %r15, 8(%rbx)
movslq (%rbx), %rax
leal 1(%rax), %ecx
shlq $4, %rax
movl %r14d, (%r15,%rax)
movq %r12, 8(%r15,%rax)
movl %ecx, (%rbx)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "No memory"
.no_dead_strip __cset_add_filter
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function _cset_add_filter
__cset_add_filter: ; @_cset_add_filter
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x22, x2
mov x20, x1
mov x19, x0
ldr x0, [x0, #8]
ldr w8, [x19]
lsl w8, w8, #4
sub w1, w8, #16
bl _realloc
mov x21, x0
cbz x0, LBB0_2
; %bb.1:
Lloh0:
adrp x2, l_.str@PAGE
Lloh1:
add x2, x2, l_.str@PAGEOFF
mov w0, #1 ; =0x1
mov w1, #0 ; =0x0
bl _lafe_errc
LBB0_2:
mov x0, x22
bl _strdup
mov x22, x0
cbnz x0, LBB0_4
; %bb.3:
Lloh2:
adrp x2, l_.str@PAGE
Lloh3:
add x2, x2, l_.str@PAGEOFF
mov w0, #1 ; =0x1
mov w1, #0 ; =0x0
bl _lafe_errc
LBB0_4:
str x21, [x19, #8]
ldrsw x8, [x19]
add x9, x21, x8, lsl #4
str w20, [x9]
str x22, [x9, #8]
add w8, w8, #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
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "No memory"
.no_dead_strip __cset_add_filter
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function check_realloc_output
_check_realloc_output: ## @check_realloc_output
.cfi_startproc
## %bb.0:
## kill: def $esi killed $esi def $rsi
movl $1, %eax
cmpl %esi, (%rdi)
jge LBB0_5
## %bb.1:
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
leal -1024(%rsi), %eax
movl %eax, (%rdi)
movl %esi, 4(%rdi)
movq 8(%rdi), %rdi
movl %eax, %esi
callq _realloc
testq %rax, %rax
je LBB0_2
## %bb.3:
leaq L_.str(%rip), %rdi
callq _hb_error
movq 8(%rbx), %rdi
callq _free
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
xorl %eax, %eax
jmp LBB0_4
LBB0_2:
movq $0, 8(%rbx)
movl $1, %eax
LBB0_4:
addq $8, %rsp
popq %rbx
popq %rbp
LBB0_5:
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "realloc failed!"
.no_dead_strip _check_realloc_output
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function check_realloc_output
_check_realloc_output: ; @check_realloc_output
.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
sub w8, w1, #1024
stp w8, w1, [x0]
ldr x0, [x0, #8]
mov x1, x8
bl _realloc
cbz x0, LBB0_4
; %bb.2:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _hb_error
ldr x0, [x19, #8]
bl _free
mov w0, #0 ; =0x0
stp xzr, xzr, [x19]
b LBB0_5
LBB0_3:
mov w0, #1 ; =0x1
ret
LBB0_4:
str xzr, [x19, #8]
mov w0, #1 ; =0x1
LBB0_5:
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 "realloc failed!"
.no_dead_strip _check_realloc_output
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _bfd_realloc ## -- Begin function bfd_realloc
.p2align 4, 0x90
_bfd_realloc: ## @bfd_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 %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rsi, %rbx
testq %rdi, %rdi
je LBB0_1
## %bb.2:
movq %rbx, %rsi
callq _realloc
jmp LBB0_3
LBB0_1:
movq %rbx, %rdi
callq _malloc
LBB0_3:
testq %rax, %rax
setne %cl
testq %rbx, %rbx
sete %dl
testb %cl, %dl
jne LBB0_5
## %bb.4:
movq _bfd_error_no_memory@GOTPCREL(%rip), %rcx
movl (%rcx), %edi
movq %rax, %rbx
callq _bfd_set_error
movq %rbx, %rax
LBB0_5:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _bfd_error_no_memory,4,2 ## @bfd_error_no_memory
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _bfd_realloc ; -- Begin function bfd_realloc
.p2align 2
_bfd_realloc: ; @bfd_realloc
.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
cbz x0, LBB0_2
; %bb.1:
mov x1, x19
bl _realloc
cbz x19, LBB0_3
b LBB0_4
LBB0_2:
mov x0, x19
bl _malloc
cbnz x19, LBB0_4
LBB0_3:
cbnz x0, LBB0_5
LBB0_4:
Lloh0:
adrp x8, _bfd_error_no_memory@GOTPAGE
Lloh1:
ldr x8, [x8, _bfd_error_no_memory@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
mov x19, x0
mov x0, x8
bl _bfd_set_error
mov x0, x19
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
.cfi_endproc
; -- End function
.comm _bfd_error_no_memory,4,2 ; @bfd_error_no_memory
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function kvp_key_add_or_modify
_kvp_key_add_or_modify: ## @kvp_key_add_or_modify
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_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, %r15d
movq %rsi, %r12
movq _HV_KVP_EXCHANGE_MAX_KEY_SIZE@GOTPCREL(%rip), %rax
movl $1, %ebx
cmpl %edx, (%rax)
jge LBB0_2
## %bb.1:
movq _HV_KVP_EXCHANGE_MAX_VALUE_SIZE@GOTPCREL(%rip), %rax
cmpl %r8d, (%rax)
jl LBB0_10
LBB0_2:
movq %rcx, -56(%rbp) ## 8-byte Spill
movl %r8d, -44(%rbp) ## 4-byte Spill
movl %edi, %r14d
callq _kvp_update_mem_state
movq _kvp_file_info@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movl %r14d, -48(%rbp) ## 4-byte Spill
movslq %r14d, %r14
shlq $4, %r14
movl (%rcx,%r14), %eax
movq 8(%rcx,%r14), %r13
testl %eax, %eax
jle LBB0_5
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movl (%r13), %esi
movq %r12, %rdi
movl %r15d, %edx
callq _memcmp
addq $-8, %r13
testq %rax, %rax
jne LBB0_3
## %bb.4:
movl 12(%r13), %edi
movq -56(%rbp), %rsi ## 8-byte Reload
movl -44(%rbp), %edx ## 4-byte Reload
callq _memcpy
jmp LBB0_9
LBB0_5:
movl 4(%rcx,%r14), %edx
movq _ENTRIES_PER_BLOCK@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, %esi
imull %edx, %esi
cmpl %esi, %eax
jne LBB0_8
## %bb.6:
leal 8(,%rdx,8), %esi
imull %ecx, %esi
movq %r13, %rdi
callq _realloc
testq %rax, %rax
jne LBB0_10
## %bb.7:
movq _kvp_file_info@GOTPCREL(%rip), %rax
movq (%rax), %rax
incl 4(%rax,%r14)
xorl %r13d, %r13d
LBB0_8:
movl 4(%r13), %edi
movq -56(%rbp), %rsi ## 8-byte Reload
movl -44(%rbp), %edx ## 4-byte Reload
callq _memcpy
movl (%r13), %edi
movq %r12, %rsi
movl %r15d, %edx
callq _memcpy
movq _kvp_file_info@GOTPCREL(%rip), %rcx
movq (%rcx), %rax
movq %r13, 8(%rax,%r14)
movq (%rcx), %rax
incl (%rax,%r14)
LBB0_9:
movl -48(%rbp), %edi ## 4-byte Reload
callq _kvp_update_file
xorl %ebx, %ebx
LBB0_10:
movl %ebx, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _HV_KVP_EXCHANGE_MAX_KEY_SIZE,4,2 ## @HV_KVP_EXCHANGE_MAX_KEY_SIZE
.comm _HV_KVP_EXCHANGE_MAX_VALUE_SIZE,4,2 ## @HV_KVP_EXCHANGE_MAX_VALUE_SIZE
.comm _kvp_file_info,8,3 ## @kvp_file_info
.comm _ENTRIES_PER_BLOCK,4,2 ## @ENTRIES_PER_BLOCK
.no_dead_strip _kvp_key_add_or_modify
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function kvp_key_add_or_modify
_kvp_key_add_or_modify: ; @kvp_key_add_or_modify
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _HV_KVP_EXCHANGE_MAX_KEY_SIZE@GOTPAGE
Lloh1:
ldr x8, [x8, _HV_KVP_EXCHANGE_MAX_KEY_SIZE@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
Lloh3:
adrp x9, _HV_KVP_EXCHANGE_MAX_VALUE_SIZE@GOTPAGE
Lloh4:
ldr x9, [x9, _HV_KVP_EXCHANGE_MAX_VALUE_SIZE@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
cmp w8, w2
ccmp w9, w4, #0, lt
b.lt LBB0_4
; %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 x20, x4
mov x23, x3
mov x21, x2
mov x22, x1
mov x19, x0
bl _kvp_update_mem_state
Lloh6:
adrp x25, _kvp_file_info@GOTPAGE
Lloh7:
ldr x25, [x25, _kvp_file_info@GOTPAGEOFF]
ldr x8, [x25]
add x9, x8, w19, sxtw #4
ldr w8, [x9]
ldr x24, [x9, #8]
cmp w8, #1
b.lt LBB0_5
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr w1, [x24], #-8
mov x0, x22
mov x2, x21
bl _memcmp
cbnz x0, LBB0_2
; %bb.3:
ldr w0, [x24, #12]
mov x1, x23
mov x2, x20
bl _memcpy
b LBB0_10
LBB0_4:
mov w0, #1 ; =0x1
ret
LBB0_5:
sxtw x26, w19
ldr w9, [x9, #4]
Lloh8:
adrp x10, _ENTRIES_PER_BLOCK@GOTPAGE
Lloh9:
ldr x10, [x10, _ENTRIES_PER_BLOCK@GOTPAGEOFF]
Lloh10:
ldr w10, [x10]
mul w11, w10, w9
cmp w8, w11
b.ne LBB0_9
; %bb.6:
lsl w8, w9, #3
add w8, w8, #8
mul w1, w8, w10
mov x0, x24
bl _realloc
cbz x0, LBB0_8
; %bb.7:
mov w0, #1 ; =0x1
b LBB0_11
LBB0_8:
mov x24, #0 ; =0x0
ldr x8, [x25]
add x8, x8, x26, lsl #4
ldr w9, [x8, #4]
add w9, w9, #1
str w9, [x8, #4]
LBB0_9:
ldr w0, [x24, #4]
mov x1, x23
mov x2, x20
bl _memcpy
ldr w0, [x24]
mov x1, x22
mov x2, x21
bl _memcpy
ldr x8, [x25]
lsl x9, x26, #4
add x8, x8, x9
str x24, [x8, #8]
ldr x8, [x25]
ldr w10, [x8, x9]
add w10, w10, #1
str w10, [x8, x9]
LBB0_10:
mov x0, x19
bl _kvp_update_file
mov w0, #0 ; =0x0
LBB0_11:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.cfi_endproc
; -- End function
.comm _HV_KVP_EXCHANGE_MAX_KEY_SIZE,4,2 ; @HV_KVP_EXCHANGE_MAX_KEY_SIZE
.comm _HV_KVP_EXCHANGE_MAX_VALUE_SIZE,4,2 ; @HV_KVP_EXCHANGE_MAX_VALUE_SIZE
.comm _kvp_file_info,8,3 ; @kvp_file_info
.comm _ENTRIES_PER_BLOCK,4,2 ; @ENTRIES_PER_BLOCK
.no_dead_strip _kvp_key_add_or_modify
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _extend_env ## -- Begin function extend_env
.p2align 4, 0x90
_extend_env: ## @extend_env
.cfi_startproc
## %bb.0:
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 _env@GOTPCREL(%rip), %r15
movq (%r15), %rdi
movq _num_env@GOTPCREL(%rip), %r14
movl (%r14), %eax
leal 8(,%rax,8), %esi
callq _realloc
movq %rax, (%r15)
testq %rax, %rax
jne LBB0_2
## %bb.1:
leaq L_.str(%rip), %rsi
movl $1, %edi
callq _errx
movq (%r15), %rax
LBB0_2:
movslq (%r14), %rcx
leal -1(%rcx), %edx
movl %edx, (%r14)
movq %rbx, (%rax,%rcx,8)
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _env,8,3 ## @env
.comm _num_env,4,2 ## @num_env
.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 _extend_env ; -- Begin function extend_env
.p2align 2
_extend_env: ; @extend_env
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
Lloh0:
adrp x21, _env@GOTPAGE
Lloh1:
ldr x21, [x21, _env@GOTPAGEOFF]
ldr x0, [x21]
Lloh2:
adrp x20, _num_env@GOTPAGE
Lloh3:
ldr x20, [x20, _num_env@GOTPAGEOFF]
ldr w8, [x20]
lsl w8, w8, #3
add w1, w8, #8
bl _realloc
str x0, [x21]
cbnz x0, LBB0_2
; %bb.1:
Lloh4:
adrp x1, l_.str@PAGE
Lloh5:
add x1, x1, l_.str@PAGEOFF
mov w0, #1 ; =0x1
bl _errx
ldr x0, [x21]
LBB0_2:
ldrsw x8, [x20]
sub w9, w8, #1
str w9, [x20]
str x19, [x0, x8, lsl #3]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _env,8,3 ; @env
.comm _num_env,4,2 ; @num_env
.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 _btf__get_from_id ## -- Begin function btf__get_from_id
.p2align 4, 0x90
_btf__get_from_id: ## @btf__get_from_id
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
xorps %xmm0, %xmm0
movaps %xmm0, -80(%rbp)
movq $0, -64(%rbp)
movl $24, -44(%rbp)
movq $0, (%rsi)
callq _bpf_btf_get_fd_by_id
testl %eax, %eax
js LBB0_1
## %bb.2:
movl %eax, %ebx
movl $4096, -80(%rbp) ## imm = 0x1000
movl $4096, %edi ## imm = 0x1000
callq _malloc
testq %rax, %rax
je LBB0_3
## %bb.4:
movq %rax, %r15
movq %rax, %rdi
xorl %esi, %esi
movl $4096, %edx ## imm = 0x1000
callq _memset
movq %r15, %rdi
callq _ptr_to_u64
movq %rax, -72(%rbp)
leaq -80(%rbp), %rsi
leaq -44(%rbp), %rdx
movl %ebx, %edi
callq _bpf_obj_get_info_by_fd
testl %eax, %eax
sete %al
movl -80(%rbp), %r13d
cmpl $4097, %r13d ## imm = 0x1001
setge %cl
orb %al, %cl
cmpb $1, %cl
jne LBB0_11
## %bb.5:
movq %r15, %rdi
movl %r13d, %esi
callq _realloc
testq %rax, %rax
je LBB0_6
## %bb.8:
movq %rax, %r12
movq %rax, %rdi
xorl %esi, %esi
movl %r13d, %edx
callq _memset
movq %r12, %rdi
callq _ptr_to_u64
movq %rax, -72(%rbp)
leaq -80(%rbp), %rsi
leaq -44(%rbp), %rdx
movl %ebx, %edi
callq _bpf_obj_get_info_by_fd
testl %eax, %eax
jne LBB0_10
## %bb.9:
movl -80(%rbp), %esi
cmpl %r13d, %esi
jle LBB0_12
LBB0_10:
movq %r12, %r15
LBB0_11:
movq _errno@GOTPCREL(%rip), %rax
movl (%rax), %r13d
jmp LBB0_16
LBB0_1:
xorl %r13d, %r13d
jmp LBB0_17
LBB0_3:
movq _ENOMEM@GOTPCREL(%rip), %rax
xorl %r15d, %r15d
jmp LBB0_7
LBB0_6:
movq _ENOMEM@GOTPCREL(%rip), %rax
LBB0_7:
xorl %r13d, %r13d
subl (%rax), %r13d
LBB0_16:
movl %ebx, %edi
callq _close
movq %r15, %rdi
callq _free
LBB0_17:
movl %r13d, %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_12:
movq -72(%rbp), %rdi
callq _btf__new
movq %rax, (%r14)
movq %rax, %rdi
callq _IS_ERR
testq %rax, %rax
je LBB0_13
## %bb.14:
movq (%r14), %rdi
callq _PTR_ERR
movl %eax, %r13d
movq $0, (%r14)
jmp LBB0_15
LBB0_13:
xorl %r13d, %r13d
LBB0_15:
movq %r12, %r15
jmp LBB0_16
.cfi_endproc
## -- End function
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _errno,4,2 ## @errno
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _btf__get_from_id ; -- Begin function btf__get_from_id
.p2align 2
_btf__get_from_id: ; @btf__get_from_id
.cfi_startproc
; %bb.0:
sub sp, sp, #96
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x20, x1
stp xzr, xzr, [sp, #8]
str xzr, [sp, #24]
mov w8, #24 ; =0x18
str w8, [sp, #4]
str xzr, [x1]
bl _bpf_btf_get_fd_by_id
tbnz w0, #31, LBB0_9
; %bb.1:
mov x19, x0
mov w8, #4096 ; =0x1000
str w8, [sp, #8]
mov w0, #4096 ; =0x1000
bl _malloc
mov x21, x0
cbz x0, LBB0_10
; %bb.2:
mov x0, x21
mov w1, #0 ; =0x0
mov w2, #4096 ; =0x1000
bl _memset
mov x0, x21
bl _ptr_to_u64
str x0, [sp, #16]
add x1, sp, #8
add x2, sp, #4
mov x0, x19
bl _bpf_obj_get_info_by_fd
ldr w23, [sp, #8]
cbz w0, LBB0_4
; %bb.3:
cmp w23, #1, lsl #12 ; =4096
b.le LBB0_8
LBB0_4:
mov x0, x21
mov x1, x23
bl _realloc
cbz x0, LBB0_10
; %bb.5:
mov x22, x0
mov w1, #0 ; =0x0
mov x2, x23
bl _memset
mov x0, x22
bl _ptr_to_u64
str x0, [sp, #16]
add x1, sp, #8
add x2, sp, #4
mov x0, x19
bl _bpf_obj_get_info_by_fd
cbnz w0, LBB0_7
; %bb.6:
ldr w1, [sp, #8]
cmp w1, w23
b.le LBB0_13
LBB0_7:
mov x21, x22
LBB0_8:
Lloh0:
adrp x8, _errno@GOTPAGE
Lloh1:
ldr x8, [x8, _errno@GOTPAGEOFF]
Lloh2:
ldr w23, [x8]
b LBB0_11
LBB0_9:
mov w23, #0 ; =0x0
b LBB0_12
LBB0_10:
Lloh3:
adrp x8, _ENOMEM@GOTPAGE
Lloh4:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
neg w23, w8
LBB0_11:
mov x0, x19
bl _close
mov x0, x21
bl _free
LBB0_12:
mov x0, x23
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #96
ret
LBB0_13:
ldr x0, [sp, #16]
bl _btf__new
str x0, [x20]
bl _IS_ERR
cbz x0, LBB0_15
; %bb.14:
ldr x0, [x20]
bl _PTR_ERR
mov x23, x0
str xzr, [x20]
b LBB0_16
LBB0_15:
mov w23, #0 ; =0x0
LBB0_16:
mov x21, x22
b LBB0_11
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _errno,4,2 ; @errno
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function add_cmd_list
_add_cmd_list: ## @add_cmd_list
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r14
movl (%rsi), %r15d
addl (%rdi), %r15d
movl 4(%rdi), %edi
cmpl %edi, %r15d
jbe LBB0_1
## %bb.2:
callq _alloc_nr
cmpl %r15d, %eax
jb LBB0_4
## %bb.3:
movl 4(%r14), %edi
callq _alloc_nr
movl %eax, %r15d
LBB0_4:
movl %r15d, 4(%r14)
movq 8(%r14), %rdi
shll $2, %r15d
movl %r15d, %esi
callq _realloc
testq %rax, %rax
je LBB0_5
## %bb.6:
movq %rax, 8(%r14)
jmp LBB0_7
LBB0_1:
movq 8(%r14), %rax
LBB0_7:
leaq 8(%rbx), %rdi
movq 8(%rbx), %rcx
xorl %edx, %edx
.p2align 4, 0x90
LBB0_8: ## =>This Inner Loop Header: Depth=1
movl %edx, %esi
movl (%rcx,%rsi,4), %esi
movl (%r14), %r8d
leal 1(%r8), %r9d
movl %r9d, (%r14)
movl %esi, (%rax,%r8,4)
incl %edx
cmpl (%rbx), %edx
jbe LBB0_8
## %bb.9:
callq _zfree
movl $0, (%rbx)
xorl %eax, %eax
LBB0_10:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_5:
movl $-1, %eax
jmp LBB0_10
.cfi_endproc
## -- End function
.no_dead_strip _add_cmd_list
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function add_cmd_list
_add_cmd_list: ; @add_cmd_list
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
ldr w8, [x1]
ldp w9, w0, [x0]
add w21, w8, w9
cmp w21, w0
b.ls LBB0_5
; %bb.1:
bl _alloc_nr
cmp w0, w21
b.lo LBB0_3
; %bb.2:
ldr w0, [x20, #4]
bl _alloc_nr
mov x21, x0
LBB0_3:
str w21, [x20, #4]
ldr x0, [x20, #8]
lsl w1, w21, #2
bl _realloc
cbz x0, LBB0_10
; %bb.4:
str x0, [x20, #8]
b LBB0_6
LBB0_5:
ldr x0, [x20, #8]
LBB0_6:
mov w9, #0 ; =0x0
mov x8, x19
ldr x10, [x8, #8]!
LBB0_7: ; =>This Inner Loop Header: Depth=1
ldr w11, [x10, w9, uxtw #2]
ldr w12, [x20]
add w13, w12, #1
str w13, [x20]
str w11, [x0, x12, lsl #2]
add w9, w9, #1
ldr w11, [x19]
cmp w9, w11
b.ls LBB0_7
; %bb.8:
mov x0, x8
bl _zfree
mov w0, #0 ; =0x0
str wzr, [x19]
LBB0_9:
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_10:
mov w0, #-1 ; =0xffffffff
b LBB0_9
.cfi_endproc
; -- End function
.no_dead_strip _add_cmd_list
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _esp_transport_ws_set_path ## -- Begin function esp_transport_ws_set_path
.p2align 4, 0x90
_esp_transport_ws_set_path: ## @esp_transport_ws_set_path
.cfi_startproc
## %bb.0:
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
callq _esp_transport_get_context_data
movq %rax, %r14
movl (%rax), %r15d
movq %rbx, %rdi
callq _strlen
leaq -1(%rax), %rsi
movl %r15d, %edi
callq _realloc
movl %eax, (%r14)
movl %eax, %edi
movq %rbx, %rsi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _strcpy ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _esp_transport_ws_set_path ; -- Begin function esp_transport_ws_set_path
.p2align 2
_esp_transport_ws_set_path: ; @esp_transport_ws_set_path
.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
bl _esp_transport_get_context_data
mov x20, x0
ldr w21, [x0]
mov x0, x19
bl _strlen
sub x1, x0, #1
mov x0, x21
bl _realloc
str w0, [x20]
mov x1, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _strcpy
.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 thread_set_texture_frame
_thread_set_texture_frame: ## @thread_set_texture_frame
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_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
movss %xmm0, -48(%rbp) ## 4-byte Spill
movl %r8d, %ebx
movl %ecx, %r15d
movl %edx, -44(%rbp) ## 4-byte Spill
movq %rsi, %r13
movq %rdi, %r14
movl %r8d, %r12d
imull %ecx, %r12d
shlq $2, %r12
movl (%rdi), %edi
callq _slock_lock
movq 40(%r14), %rdi
cmpq 8(%r14), %r12
jb LBB0_2
## %bb.1:
movq %r12, %rsi
callq _realloc
movq %rax, %rdi
movq %rax, 40(%r14)
movq %r12, 8(%r14)
LBB0_2:
testq %rdi, %rdi
je LBB0_4
## %bb.3:
movq %r13, %rsi
movq %r12, %rdx
callq _memcpy
movl $1, 16(%r14)
movl -44(%rbp), %eax ## 4-byte Reload
movl %eax, 20(%r14)
movl %r15d, 24(%r14)
movl %ebx, 28(%r14)
movss -48(%rbp), %xmm0 ## 4-byte Reload
## xmm0 = mem[0],zero,zero,zero
movss %xmm0, 32(%r14)
LBB0_4:
movl (%r14), %edi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _slock_unlock ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _thread_set_texture_frame
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function thread_set_texture_frame
_thread_set_texture_frame: ; @thread_set_texture_frame
.cfi_startproc
; %bb.0:
stp d9, d8, [sp, #-80]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset b8, -72
.cfi_offset b9, -80
fmov s8, s0
mov x19, x4
mov x21, x3
mov x22, x2
mov x23, x1
mov x20, x0
mul w8, w4, w3
ubfiz x24, x8, #2, #32
ldr w0, [x0]
bl _slock_lock
ldr x8, [x20, #8]
ldr x0, [x20, #40]
cmp x24, x8
b.lo LBB0_2
; %bb.1:
mov x1, x24
bl _realloc
str x0, [x20, #40]
str x24, [x20, #8]
LBB0_2:
cbz x0, LBB0_4
; %bb.3:
mov x1, x23
mov x2, x24
bl _memcpy
mov w8, #1 ; =0x1
stp w8, w22, [x20, #16]
stp w21, w19, [x20, #24]
str s8, [x20, #32]
LBB0_4:
ldr w0, [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 d9, d8, [sp], #80 ; 16-byte Folded Reload
b _slock_unlock
.cfi_endproc
; -- End function
.no_dead_strip _thread_set_texture_frame
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _strbuf_grow ## -- Begin function strbuf_grow
.p2align 4, 0x90
_strbuf_grow: ## @strbuf_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 (%rdi), %rcx
movq 8(%rdi), %rdi
leaq (%rsi,%rcx), %r14
incq %r14
xorl %eax, %eax
cmpq %rdi, %r14
jb LBB0_12
## %bb.1:
cmpq %rcx, %r14
jbe LBB0_2
## %bb.4:
callq _alloc_nr
cmpq %r14, %rax
jbe LBB0_6
## %bb.5:
movq 8(%rbx), %rdi
callq _alloc_nr
movq %rax, %r14
LBB0_6:
cmpq $0, 8(%rbx)
je LBB0_7
## %bb.8:
movq 16(%rbx), %rdi
jmp LBB0_9
LBB0_2:
movq _E2BIG@GOTPCREL(%rip), %rcx
jmp LBB0_3
LBB0_7:
xorl %edi, %edi
LBB0_9:
movq %r14, %rsi
callq _realloc
testq %rax, %rax
je LBB0_10
## %bb.11:
movq %rax, 16(%rbx)
movq %r14, 8(%rbx)
xorl %eax, %eax
jmp LBB0_12
LBB0_10:
movq _ENOMEM@GOTPCREL(%rip), %rcx
LBB0_3:
xorl %eax, %eax
subl (%rcx), %eax
LBB0_12:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _E2BIG,4,2 ## @E2BIG
.comm _ENOMEM,4,2 ## @ENOMEM
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _strbuf_grow ; -- Begin function strbuf_grow
.p2align 2
_strbuf_grow: ; @strbuf_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
ldp x8, x0, [x0]
add x9, x1, x8
add x20, x9, #1
cmp x20, x0
b.hs LBB0_2
; %bb.1:
mov w0, #0 ; =0x0
b LBB0_13
LBB0_2:
cmp x20, x8
b.ls LBB0_7
; %bb.3:
bl _alloc_nr
cmp x0, x20
b.ls LBB0_5
; %bb.4:
ldr x0, [x19, #8]
bl _alloc_nr
mov x20, x0
LBB0_5:
ldr x8, [x19, #8]
cbz x8, LBB0_8
; %bb.6:
ldr x0, [x19, #16]
b LBB0_9
LBB0_7:
Lloh0:
adrp x8, _E2BIG@GOTPAGE
Lloh1:
ldr x8, [x8, _E2BIG@GOTPAGEOFF]
b LBB0_12
LBB0_8:
mov x0, #0 ; =0x0
LBB0_9:
mov x1, x20
bl _realloc
cbz x0, LBB0_11
; %bb.10:
mov x8, x0
mov w0, #0 ; =0x0
stp x20, x8, [x19, #8]
b LBB0_13
LBB0_11:
Lloh2:
adrp x8, _ENOMEM@GOTPAGE
Lloh3:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_12:
ldr w8, [x8]
neg w0, w8
LBB0_13:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.cfi_endproc
; -- End function
.comm _E2BIG,4,2 ; @E2BIG
.comm _ENOMEM,4,2 ; @ENOMEM
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _qrealloc ## -- Begin function qrealloc
.p2align 4, 0x90
_qrealloc: ## @qrealloc
.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
addl %ebx, %edx
movq _memory_used@GOTPCREL(%rip), %rax
addl %edx, (%rax)
callq _realloc
movq %rax, %r14
testq %rbx, %rbx
sete %al
testq %r14, %r14
sete %cl
orb %al, %cl
movzbl %cl, %edi
callq _assert
movq %r14, %rax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _memory_used,4,2 ## @memory_used
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _qrealloc ; -- Begin function qrealloc
.p2align 2
_qrealloc: ; @qrealloc
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
Lloh0:
adrp x8, _memory_used@GOTPAGE
Lloh1:
ldr x8, [x8, _memory_used@GOTPAGEOFF]
ldr w9, [x8]
add w10, w2, w19
add w9, w9, w10
str w9, [x8]
bl _realloc
mov x20, x0
cmp x19, #0
ccmp x0, #0, #4, ne
cset w0, eq
bl _assert
mov x0, x20
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _memory_used,4,2 ; @memory_used
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function r_bin_dwarf_expand_abbrev_decl
_r_bin_dwarf_expand_abbrev_decl: ## @r_bin_dwarf_expand_abbrev_decl
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
testq %rdi, %rdi
je LBB0_3
## %bb.1:
movl (%rdi), %esi
testl %esi, %esi
je LBB0_3
## %bb.2:
cmpl 4(%rdi), %esi
jne LBB0_3
## %bb.5:
movq %rdi, %rbx
movq 8(%rdi), %rdi
shll $3, %esi
callq _realloc
testq %rax, %rax
je LBB0_6
## %bb.7:
movslq (%rbx), %rcx
leaq (,%rcx,4), %rdx
shlq $4, %rcx
movq %rax, %rdi
subq %rcx, %rdi
xorl %esi, %esi
## kill: def $edx killed $edx killed $rdx
movq %rax, %r14
callq _memset
xorl %eax, %eax
movq %r14, 8(%rbx)
shll (%rbx)
jmp LBB0_8
LBB0_3:
movq _EINVAL@GOTPCREL(%rip), %rcx
LBB0_4:
xorl %eax, %eax
subl (%rcx), %eax
LBB0_8:
popq %rbx
popq %r14
popq %rbp
retq
LBB0_6:
movq _ENOMEM@GOTPCREL(%rip), %rcx
jmp LBB0_4
.cfi_endproc
## -- End function
.comm _EINVAL,4,2 ## @EINVAL
.comm _ENOMEM,4,2 ## @ENOMEM
.no_dead_strip _r_bin_dwarf_expand_abbrev_decl
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function r_bin_dwarf_expand_abbrev_decl
_r_bin_dwarf_expand_abbrev_decl: ; @r_bin_dwarf_expand_abbrev_decl
.cfi_startproc
; %bb.0:
cbz x0, LBB0_5
; %bb.1:
ldr w8, [x0]
cbz w8, LBB0_5
; %bb.2:
ldr w9, [x0, #4]
cmp w8, w9
b.ne LBB0_5
; %bb.3:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr x0, [x0, #8]
lsl w1, w8, #3
bl _realloc
cbz x0, LBB0_6
; %bb.4:
ldrsw x9, [x19]
sub x8, x0, x9, lsl #4
lsl w2, w9, #2
mov x20, x0
mov x0, x8
mov w1, #0 ; =0x0
bl _memset
mov w0, #0 ; =0x0
str x20, [x19, #8]
ldr w8, [x19]
lsl w8, w8, #1
str w8, [x19]
b LBB0_7
LBB0_5:
Lloh0:
adrp x8, _EINVAL@GOTPAGE
Lloh1:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
neg w0, w8
ret
LBB0_6:
Lloh3:
adrp x8, _ENOMEM@GOTPAGE
Lloh4:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
neg w0, w8
LBB0_7:
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 _EINVAL,4,2 ; @EINVAL
.comm _ENOMEM,4,2 ; @ENOMEM
.no_dead_strip _r_bin_dwarf_expand_abbrev_decl
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function test_sbheap
_test_sbheap: ## @test_sbheap
.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
xorl %edi, %edi
callq __set_sbh_threshold
xorl %edi, %edi
testl %eax, %eax
sete %dil
leaq L_.str(%rip), %rbx
movq %rbx, %rsi
xorl %eax, %eax
callq _ok
movl $1000, %edi ## imm = 0x3E8
callq __set_sbh_threshold
xorl %edi, %edi
testl %eax, %eax
sete %dil
movq %rbx, %rsi
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
jmp _ok ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "_set_sbh_threshold succeeded\n"
.no_dead_strip _test_sbheap
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function test_sbheap
_test_sbheap: ; @test_sbheap
.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 w0, #0 ; =0x0
bl __set_sbh_threshold
cmp w0, #0
cset w0, eq
Lloh0:
adrp x19, l_.str@PAGE
Lloh1:
add x19, x19, l_.str@PAGEOFF
mov x1, x19
bl _ok
mov w0, #1000 ; =0x3e8
bl __set_sbh_threshold
cmp w0, #0
cset w0, eq
mov x1, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _ok
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "_set_sbh_threshold succeeded\n"
.no_dead_strip _test_sbheap
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function xrealloc
_xrealloc: ## @xrealloc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
callq _realloc
testq %rax, %rax
jne LBB0_2
## %bb.1:
leaq L_.str(%rip), %rsi
movl $1, %edi
movq %rax, %rbx
callq _err
movq %rbx, %rax
LBB0_2:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "realloc()"
.no_dead_strip _xrealloc
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function xrealloc
_xrealloc: ; @xrealloc
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
bl _realloc
cbnz x0, LBB0_2
; %bb.1:
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov x19, x0
mov w0, #1 ; =0x1
bl _err
mov x0, x19
LBB0_2:
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 "realloc()"
.no_dead_strip _xrealloc
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _luaT_realloc ## -- Begin function luaT_realloc
.p2align 4, 0x90
_luaT_realloc: ## @luaT_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
movl %edx, %ebx
testq %rsi, %rsi
je LBB0_9
## %bb.1:
testl %ebx, %ebx
je LBB0_2
## %bb.3:
movq %rdi, %r14
jns LBB0_5
## %bb.4:
leaq L_.str(%rip), %rax
movq %r14, %rdi
movq %rsi, %r15
movq %rax, %rsi
xorl %eax, %eax
callq _luaL_error
movq %r15, %rsi
LBB0_5:
movq %rsi, %rdi
movl %ebx, %esi
callq _realloc
testq %rax, %rax
jne LBB0_8
## %bb.6:
leal 1073741823(%rbx), %edx
testl %ebx, %ebx
cmovnsl %ebx, %edx
sarl $30, %edx
leaq L_.str.1(%rip), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _luaL_error
jmp LBB0_7
LBB0_9:
movl %ebx, %esi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _luaT_alloc ## TAILCALL
LBB0_2:
callq _luaT_free
LBB0_7:
xorl %eax, %eax
LBB0_8:
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 "$ Torch: invalid memory size ++ maybe an overflow?"
L_.str.1: ## @.str.1
.asciz "$ Torch: not enough memory: you tried to reallocate %dGB. Buy new RAM!"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _luaT_realloc ; -- Begin function luaT_realloc
.p2align 2
_luaT_realloc: ; @luaT_realloc
.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, x2
cbz x1, LBB0_6
; %bb.1:
cbz w19, LBB0_7
; %bb.2:
mov x20, x0
tbz w19, #31, LBB0_4
; %bb.3:
Lloh0:
adrp x8, l_.str@PAGE
Lloh1:
add x8, x8, l_.str@PAGEOFF
mov x0, x20
mov x21, x1
mov x1, x8
bl _luaL_error
mov x1, x21
LBB0_4:
mov x0, x1
mov x1, x19
bl _realloc
cbnz x0, LBB0_9
; %bb.5:
mov w8, #1073741823 ; =0x3fffffff
add w8, w19, w8
cmp w19, #0
csel w8, w8, w19, lt
asr w8, w8, #30
str x8, [sp]
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x20
bl _luaL_error
b LBB0_8
LBB0_6:
mov x1, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
b _luaT_alloc
LBB0_7:
bl _luaT_free
LBB0_8:
mov x0, #0 ; =0x0
LBB0_9:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "$ Torch: invalid memory size ++ maybe an overflow?"
l_.str.1: ; @.str.1
.asciz "$ Torch: not enough memory: you tried to reallocate %dGB. Buy new RAM!"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _ts_pid_Get ## -- Begin function ts_pid_Get
.p2align 4, 0x90
_ts_pid_Get: ## @ts_pid_Get
.cfi_startproc
## %bb.0:
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
cmpl $8191, %esi ## imm = 0x1FFF
je LBB0_5
## %bb.1:
cmpl $8187, %esi ## imm = 0x1FFB
je LBB0_4
## %bb.2:
testl %esi, %esi
jne LBB0_6
## %bb.3:
addq $56, %rdi
movq %rdi, %rax
jmp LBB0_22
LBB0_4:
addq $48, %rdi
movq %rdi, %rax
jmp LBB0_22
LBB0_5:
addq $40, %rdi
movq %rdi, %rax
jmp LBB0_22
LBB0_6:
cmpl %esi, (%rdi)
jne LBB0_8
## %bb.7:
movq 24(%rdi), %rax
jmp LBB0_22
LBB0_8:
movq 32(%rdi), %rax
testq %rax, %rax
je LBB0_9
## %bb.10:
movl %esi, %ebx
movl %esi, -48(%rbp)
movq $0, -40(%rbp)
movq %rdi, %r14
movq 8(%rdi), %rdx
movq _ts_bsearch_searchkey_Compare@GOTPCREL(%rip), %rcx
movl (%rcx), %r8d
leaq -48(%rbp), %rdi
movq %rax, %rsi
movl $8, %ecx
callq _bsearch
testq %rax, %rax
je LBB0_11
## %bb.12:
cmpq $0, (%rax)
je LBB0_11
## %bb.13:
movq 16(%r14), %rsi
cmpq %rsi, 8(%r14)
jb LBB0_16
## %bb.14:
movq 32(%r14), %rdi
movq _PID_ALLOC_CHUNK@GOTPCREL(%rip), %r15
subl (%r15), %esi
shll $3, %esi
## kill: def $esi killed $esi killed $rsi
callq _realloc
testq %rax, %rax
je LBB0_23
## %bb.15:
movq %rax, 32(%r14)
movslq (%r15), %rax
addq %rax, 16(%r14)
LBB0_16:
movl $1, %edi
movl $8, %esi
callq _calloc
testq %rax, %rax
je LBB0_23
## %bb.17:
movl $255, (%rax)
movl %ebx, %esi
movl %ebx, 4(%rax)
movq %r14, %rdi
movq 8(%r14), %rdx
testq %rdx, %rdx
je LBB0_18
## %bb.19:
movq 32(%rdi), %rcx
movq (%rcx), %rdi
xorl %r15d, %r15d
cmpl %esi, 4(%rdi)
setl %r15b
movl %r15d, %esi
shll $3, %esi
subq %rsi, %rcx
leaq 8(%rcx), %rdi
addq %r15, %rdx
negq %r15
shlq $3, %rdx
movq %rcx, %rsi
movq %rax, %r12
callq _memmove
movq %r12, %rax
movl %ebx, %esi
movq %r14, %rdi
movq 8(%r14), %rcx
incq %rcx
jmp LBB0_20
LBB0_11:
xorl %eax, %eax
movq %r14, %rdi
movl %ebx, %esi
jmp LBB0_21
LBB0_9:
xorl %eax, %eax
jmp LBB0_21
LBB0_18:
movl $1, %ecx
xorl %r15d, %r15d
LBB0_20:
movq 32(%rdi), %rdx
movq %rax, (%rdx,%r15,8)
movq %rcx, 8(%rdi)
LBB0_21:
movq %rax, 24(%rdi)
movl %esi, (%rdi)
LBB0_22:
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_23:
xorl %eax, %eax
callq _abort
.cfi_endproc
## -- End function
.comm _ts_bsearch_searchkey_Compare,4,2 ## @ts_bsearch_searchkey_Compare
.comm _PID_ALLOC_CHUNK,4,2 ## @PID_ALLOC_CHUNK
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _ts_pid_Get ; -- Begin function ts_pid_Get
.p2align 2
_ts_pid_Get: ; @ts_pid_Get
.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 w8, #8191 ; =0x1fff
cmp w1, w8
b.eq LBB0_5
; %bb.1:
mov w8, #8187 ; =0x1ffb
cmp w1, w8
b.eq LBB0_4
; %bb.2:
cbnz w1, LBB0_6
; %bb.3:
add x0, x0, #56
b LBB0_23
LBB0_4:
add x0, x0, #48
b LBB0_23
LBB0_5:
add x0, x0, #40
b LBB0_23
LBB0_6:
ldr w8, [x0]
cmp w8, w1
b.ne LBB0_8
; %bb.7:
ldr x0, [x0, #24]
b LBB0_23
LBB0_8:
ldr x8, [x0, #32]
cbz x8, LBB0_17
; %bb.9:
mov x19, x1
str w1, [sp]
str xzr, [sp, #8]
mov x20, x0
ldr x2, [x0, #8]
Lloh0:
adrp x9, _ts_bsearch_searchkey_Compare@GOTPAGE
Lloh1:
ldr x9, [x9, _ts_bsearch_searchkey_Compare@GOTPAGEOFF]
Lloh2:
ldr w4, [x9]
mov x0, sp
mov x1, x8
mov w3, #8 ; =0x8
bl _bsearch
cbz x0, LBB0_19
; %bb.10:
ldr x8, [x0]
cbz x8, LBB0_18
; %bb.11:
ldp x10, x8, [x20, #8]
cmp x10, x8
b.lo LBB0_14
; %bb.12:
ldr x0, [x20, #32]
Lloh3:
adrp x21, _PID_ALLOC_CHUNK@GOTPAGE
Lloh4:
ldr x21, [x21, _PID_ALLOC_CHUNK@GOTPAGEOFF]
ldr w9, [x21]
sub w8, w8, w9
lsl w1, w8, #3
bl _realloc
cbz x0, LBB0_24
; %bb.13:
str x0, [x20, #32]
ldrsw x9, [x21]
ldr x10, [x20, #16]
add x9, x10, x9
str x9, [x20, #16]
LBB0_14:
mov w0, #1 ; =0x1
mov w1, #8 ; =0x8
bl _calloc
cbz x0, LBB0_24
; %bb.15:
mov w8, #255 ; =0xff
stp w8, w19, [x0]
mov x1, x19
mov x8, x20
ldr x9, [x20, #8]
cbz x9, LBB0_20
; %bb.16:
ldr x8, [x8, #32]
ldr x10, [x8]
ldr w10, [x10, #4]
cmp w10, w1
csetm x21, lt
add x1, x8, x21, lsl #3
sub x8, x9, x21
lsl x2, x8, #3
mov x22, x0
add x0, x1, #8
bl _memmove
mov x0, x22
mov x1, x19
mov x8, x20
ldr x9, [x20, #8]
add x9, x9, #1
b LBB0_21
LBB0_17:
mov x8, x0
mov x0, #0 ; =0x0
b LBB0_22
LBB0_18:
mov x0, #0 ; =0x0
LBB0_19:
mov x8, x20
mov x1, x19
b LBB0_22
LBB0_20:
mov x21, #0 ; =0x0
mov w9, #1 ; =0x1
LBB0_21:
ldr x11, [x8, #32]
str x0, [x11, x21, lsl #3]
str x9, [x8, #8]
LBB0_22:
str x0, [x8, #24]
str w1, [x8]
LBB0_23:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
LBB0_24:
bl _abort
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _ts_bsearch_searchkey_Compare,4,2 ; @ts_bsearch_searchkey_Compare
.comm _PID_ALLOC_CHUNK,4,2 ; @PID_ALLOC_CHUNK
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _resize_deconvolutional_layer ## -- Begin function resize_deconvolutional_layer
.p2align 4, 0x90
_resize_deconvolutional_layer: ## @resize_deconvolutional_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
subq $136, %rsp
.cfi_offset %rbx, -24
## kill: def $edx killed $edx def $rdx
## kill: def $esi killed $esi def $rsi
movq %rdi, %rbx
movl %esi, (%rdi)
movl %edx, 4(%rdi)
leal -1(%rsi), %ecx
movl 12(%rdi), %edi
movl 16(%rbx), %r8d
imull %edi, %ecx
addl %r8d, %ecx
movl 20(%rbx), %r9d
addl %r9d, %r9d
subl %r9d, %ecx
movl %ecx, 8(%rbx)
leal -1(%rdx), %eax
imull %edi, %eax
addl %r8d, %eax
subl %r9d, %eax
movl %eax, 24(%rbx)
imull %ecx, %eax
imull 32(%rbx), %eax
movl %eax, 28(%rbx)
imull %esi, %edx
imull 40(%rbx), %edx
movl %edx, 36(%rbx)
movq 64(%rbx), %rdi
imull 44(%rbx), %eax
shll $2, %eax
movl %eax, %esi
callq _realloc
movq %rax, 64(%rbx)
movq 104(%rbx), %rdi
movl 44(%rbx), %esi
imull 28(%rbx), %esi
shll $2, %esi
callq _realloc
movq %rax, 104(%rbx)
cmpq $0, 88(%rbx)
je LBB0_2
## %bb.1:
movq 128(%rbx), %rdi
movl 44(%rbx), %esi
imull 28(%rbx), %esi
shll $2, %esi
callq _realloc
movq %rax, 128(%rbx)
movq 120(%rbx), %rdi
movl 44(%rbx), %esi
imull 28(%rbx), %esi
shll $2, %esi
callq _realloc
movq %rax, 120(%rbx)
LBB0_2:
movl $17, %ecx
movq %rsp, %rdi
movq %rbx, %rsi
rep;movsq (%rsi), %es:(%rdi)
callq _get_workspace_size
movl %eax, 48(%rbx)
addq $136, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _CUDNN_DATA_FLOAT,4,2 ## @CUDNN_DATA_FLOAT
.comm _CUDNN_TENSOR_NCHW,4,2 ## @CUDNN_TENSOR_NCHW
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _resize_deconvolutional_layer ; -- Begin function resize_deconvolutional_layer
.p2align 2
_resize_deconvolutional_layer: ; @resize_deconvolutional_layer
.cfi_startproc
; %bb.0:
sub sp, sp, #176
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
mov x19, x0
stp w1, w2, [x0]
sub w8, w1, #1
ldp w9, w10, [x0, #12]
madd w8, w9, w8, w10
ldr w11, [x0, #20]
lsl w11, w11, #1
sub w8, w8, w11
str w8, [x0, #8]
sub w12, w2, #1
madd w9, w9, w12, w10
sub w9, w9, w11
mul w8, w8, w9
ldr w10, [x0, #32]
mul w8, w8, w10
stp w9, w8, [x0, #24]
mul w9, w2, w1
ldp w10, w11, [x0, #40]
mul w9, w9, w10
str w9, [x0, #36]
ldr x0, [x0, #64]
mul w8, w8, w11
lsl w1, w8, #2
bl _realloc
str x0, [x19, #64]
ldr x0, [x19, #104]
ldr w8, [x19, #44]
ldr w9, [x19, #28]
mul w8, w8, w9
lsl w1, w8, #2
bl _realloc
str x0, [x19, #104]
ldr x8, [x19, #88]
cbz x8, LBB0_2
; %bb.1:
ldr x0, [x19, #128]
ldr w8, [x19, #44]
ldr w9, [x19, #28]
mul w8, w8, w9
lsl w1, w8, #2
bl _realloc
str x0, [x19, #128]
ldr x0, [x19, #120]
ldr w8, [x19, #44]
ldr w9, [x19, #28]
mul w8, w8, w9
lsl w1, w8, #2
bl _realloc
str x0, [x19, #120]
LBB0_2:
ldp q0, q1, [x19, #96]
stp q0, q1, [sp, #96]
ldr x8, [x19, #128]
str x8, [sp, #128]
ldp q0, q1, [x19, #32]
stp q0, q1, [sp, #32]
ldp q1, q0, [x19, #64]
stp q1, q0, [sp, #64]
ldp q1, q0, [x19]
stp q1, q0, [sp]
mov x0, sp
bl _get_workspace_size
str w0, [x19, #48]
ldp x29, x30, [sp, #160] ; 16-byte Folded Reload
ldp x20, x19, [sp, #144] ; 16-byte Folded Reload
add sp, sp, #176
ret
.cfi_endproc
; -- End function
.comm _CUDNN_DATA_FLOAT,4,2 ; @CUDNN_DATA_FLOAT
.comm _CUDNN_TENSOR_NCHW,4,2 ; @CUDNN_TENSOR_NCHW
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function posix_spawn_growportactions_np
_posix_spawn_growportactions_np: ## @posix_spawn_growportactions_np
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _EINVAL@GOTPCREL(%rip), %rax
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EINVAL,4,2 ## @EINVAL
.comm _ENOMEM,4,2 ## @ENOMEM
.no_dead_strip _posix_spawn_growportactions_np
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function posix_spawn_growportactions_np
_posix_spawn_growportactions_np: ; @posix_spawn_growportactions_np
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _EINVAL@GOTPAGE
Lloh1:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _EINVAL,4,2 ; @EINVAL
.comm _ENOMEM,4,2 ; @ENOMEM
.no_dead_strip _posix_spawn_growportactions_np
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function JSON_Parser_AddMemberNameToList
_JSON_Parser_AddMemberNameToList: ## @JSON_Parser_AddMemberNameToList
.cfi_startproc
## %bb.0:
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 32(%rdi), %edi
movq _PARSER_TRACK_OBJECT_MEMBERS@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _GET_FLAGS
movq _JSON_Success@GOTPCREL(%rip), %r14
testq %rax, %rax
je LBB0_10
## %bb.1:
movq (%rbx), %rax
movq (%rax), %r15
testq %r15, %r15
je LBB0_5
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl 4(%r15), %edx
cmpl 8(%rbx), %edx
je LBB0_7
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movl (%r15), %edi
movl 12(%rbx), %esi
callq _memcmp
testl %eax, %eax
je LBB0_7
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movq 8(%r15), %r15
testq %r15, %r15
jne LBB0_2
LBB0_5:
movl 16(%rbx), %edi
movslq 8(%rbx), %rax
movl $15, %edx
subq %rax, %rdx
xorl %esi, %esi
callq *24(%rbx)
testq %rax, %rax
je LBB0_8
## %bb.6:
movq (%rbx), %rcx
movq (%rcx), %rcx
movq %rcx, 8(%rax)
movl 8(%rbx), %edx
movl %edx, 4(%rax)
movl (%rax), %edi
movl 12(%rbx), %esi
movq %rax, %r15
callq _memcpy
movq (%rbx), %rax
movq %r15, (%rax)
jmp LBB0_10
LBB0_7:
movq _JSON_Error_DuplicateObjectMember@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _JSON_Parser_SetErrorAtToken
jmp LBB0_9
LBB0_8:
movq _JSON_Error_OutOfMemory@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _JSON_Parser_SetErrorAtCodepoint
LBB0_9:
movq _JSON_Failure@GOTPCREL(%rip), %r14
LBB0_10:
movl (%r14), %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PARSER_TRACK_OBJECT_MEMBERS,4,2 ## @PARSER_TRACK_OBJECT_MEMBERS
.comm _JSON_Error_DuplicateObjectMember,4,2 ## @JSON_Error_DuplicateObjectMember
.comm _JSON_Failure,4,2 ## @JSON_Failure
.comm _JSON_Error_OutOfMemory,4,2 ## @JSON_Error_OutOfMemory
.comm _JSON_Success,4,2 ## @JSON_Success
.no_dead_strip _JSON_Parser_AddMemberNameToList
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function JSON_Parser_AddMemberNameToList
_JSON_Parser_AddMemberNameToList: ; @JSON_Parser_AddMemberNameToList
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr w0, [x0, #32]
Lloh0:
adrp x8, _PARSER_TRACK_OBJECT_MEMBERS@GOTPAGE
Lloh1:
ldr x8, [x8, _PARSER_TRACK_OBJECT_MEMBERS@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _GET_FLAGS
cbz x0, LBB0_7
; %bb.1:
ldr x8, [x19]
ldr x20, [x8]
cbz x20, LBB0_5
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr w2, [x20, #4]
ldr w8, [x19, #8]
cmp w2, w8
b.eq LBB0_8
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
ldr w0, [x20]
ldr w1, [x19, #12]
bl _memcmp
cbz w0, LBB0_8
; %bb.4: ; in Loop: Header=BB0_2 Depth=1
ldr x20, [x20, #8]
cbnz x20, LBB0_2
LBB0_5:
ldr x8, [x19, #24]
ldr w0, [x19, #16]
ldrsw x9, [x19, #8]
mov w10, #15 ; =0xf
sub x2, x10, x9
mov x1, #0 ; =0x0
blr x8
cbz x0, LBB0_9
; %bb.6:
ldr x8, [x19]
ldr x8, [x8]
str x8, [x0, #8]
ldp w2, w1, [x19, #8]
str w2, [x0, #4]
ldr w8, [x0]
mov x20, x0
mov x0, x8
bl _memcpy
ldr x8, [x19]
str x20, [x8]
LBB0_7:
Lloh3:
adrp x8, _JSON_Success@GOTPAGE
Lloh4:
ldr x8, [x8, _JSON_Success@GOTPAGEOFF]
b LBB0_11
LBB0_8:
Lloh5:
adrp x8, _JSON_Error_DuplicateObjectMember@GOTPAGE
Lloh6:
ldr x8, [x8, _JSON_Error_DuplicateObjectMember@GOTPAGEOFF]
Lloh7:
ldr w1, [x8]
mov x0, x19
bl _JSON_Parser_SetErrorAtToken
b LBB0_10
LBB0_9:
Lloh8:
adrp x8, _JSON_Error_OutOfMemory@GOTPAGE
Lloh9:
ldr x8, [x8, _JSON_Error_OutOfMemory@GOTPAGEOFF]
Lloh10:
ldr w1, [x8]
mov x0, x19
bl _JSON_Parser_SetErrorAtCodepoint
LBB0_10:
Lloh11:
adrp x8, _JSON_Failure@GOTPAGE
Lloh12:
ldr x8, [x8, _JSON_Failure@GOTPAGEOFF]
LBB0_11:
ldr w0, [x8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGot Lloh11, Lloh12
.cfi_endproc
; -- End function
.comm _PARSER_TRACK_OBJECT_MEMBERS,4,2 ; @PARSER_TRACK_OBJECT_MEMBERS
.comm _JSON_Error_DuplicateObjectMember,4,2 ; @JSON_Error_DuplicateObjectMember
.comm _JSON_Failure,4,2 ; @JSON_Failure
.comm _JSON_Error_OutOfMemory,4,2 ; @JSON_Error_OutOfMemory
.comm _JSON_Success,4,2 ; @JSON_Success
.no_dead_strip _JSON_Parser_AddMemberNameToList
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function cnameappend
_cnameappend: ## @cnameappend
.cfi_startproc
## %bb.0:
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, %rbx
movq %rdi, %r14
movq (%rdi), %rdi
testq %rdi, %rdi
je LBB0_1
## %bb.3:
movq 8(%r14), %rcx
leaq (%rbx,%rcx), %rax
incq %rax
cmpq %rax, %rcx
jae LBB0_6
## %bb.4:
movq %rsi, %r15
movq %rax, 8(%r14)
movq %rax, %rsi
callq _realloc
testq %rax, %rax
je LBB0_8
## %bb.5:
movq %rax, %rdi
movq %rax, (%r14)
movq %r15, %rsi
jmp LBB0_6
LBB0_1:
leaq -1(%rbx), %rdi
movq %rdi, 8(%r14)
movq %rsi, %r15
callq _malloc
movq %r15, %rsi
movq %rax, %rdi
movq %rax, (%r14)
testq %rax, %rax
je LBB0_2
LBB0_6:
addq 16(%r14), %rdi
movq %rbx, %rdx
callq _memcpy
addq 16(%r14), %rbx
movq %rbx, 16(%r14)
movq (%r14), %rax
movb $0, (%rax,%rbx)
movq _DOH_OK@GOTPCREL(%rip), %rax
LBB0_7:
movl (%rax), %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_2:
movq _DOH_OUT_OF_MEM@GOTPCREL(%rip), %rax
jmp LBB0_7
LBB0_8:
movq (%r14), %rdi
callq _free
movq _DOH_OUT_OF_MEM@GOTPCREL(%rip), %rax
jmp LBB0_7
.cfi_endproc
## -- End function
.comm _DOH_OUT_OF_MEM,4,2 ## @DOH_OUT_OF_MEM
.comm _DOH_OK,4,2 ## @DOH_OK
.no_dead_strip _cnameappend
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function cnameappend
_cnameappend: ; @cnameappend
.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, x2
mov x19, x0
ldr x0, [x0]
cbz x0, LBB0_4
; %bb.1:
ldr x9, [x19, #8]
add x8, x20, x9
add x8, x8, #1
cmp x9, x8
b.hs LBB0_5
; %bb.2:
mov x21, x1
str x8, [x19, #8]
mov x1, x8
bl _realloc
cbz x0, LBB0_6
; %bb.3:
str x0, [x19]
mov x1, x21
b LBB0_5
LBB0_4:
sub x0, x20, #1
str x0, [x19, #8]
mov x21, x1
bl _malloc
mov x1, x21
str x0, [x19]
cbz x0, LBB0_7
LBB0_5:
ldr x8, [x19, #16]
add x0, x0, x8
mov x2, x20
bl _memcpy
ldr x8, [x19, #16]
add x8, x8, x20
str x8, [x19, #16]
ldr x9, [x19]
strb wzr, [x9, x8]
Lloh0:
adrp x8, _DOH_OK@GOTPAGE
Lloh1:
ldr x8, [x8, _DOH_OK@GOTPAGEOFF]
b LBB0_8
LBB0_6:
ldr x0, [x19]
bl _free
LBB0_7:
Lloh2:
adrp x8, _DOH_OUT_OF_MEM@GOTPAGE
Lloh3:
ldr x8, [x8, _DOH_OUT_OF_MEM@GOTPAGEOFF]
LBB0_8:
ldr w0, [x8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.cfi_endproc
; -- End function
.comm _DOH_OUT_OF_MEM,4,2 ; @DOH_OUT_OF_MEM
.comm _DOH_OK,4,2 ; @DOH_OK
.no_dead_strip _cnameappend
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function nvg__appendCommands
_nvg__appendCommands: ## @nvg__appendCommands
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %ebx
movq %rsi, %r15
movq %rdi, %r12
callq _nvg__getState
movq %rax, -48(%rbp) ## 8-byte Spill
movl (%r12), %r14d
addl %ebx, %r14d
movl 4(%r12), %eax
cmpl %eax, %r14d
jle LBB0_3
## %bb.1:
movl %eax, %ecx
shrl $31, %ecx
addl %eax, %ecx
sarl %ecx
subl %ecx, %r14d
movq 8(%r12), %rdi
leal (,%r14,4), %esi
callq _realloc
testq %rax, %rax
jne LBB0_17
## %bb.2:
movq $0, 8(%r12)
movl %r14d, 4(%r12)
LBB0_3:
cvttss2si (%r15), %eax
cmpl $128, %eax
je LBB0_6
## %bb.4:
cmpl $131, %eax
je LBB0_6
## %bb.5:
movslq %ebx, %rax
movss -8(%r15,%rax,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, 16(%r12)
movss -4(%r15,%rax,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, 20(%r12)
LBB0_6:
movq %r12, -56(%rbp) ## 8-byte Spill
testl %ebx, %ebx
js LBB0_16
## %bb.7:
xorl %r13d, %r13d
leaq LJTI0_0(%rip), %r14
movq %rbx, -64(%rbp) ## 8-byte Spill
jmp LBB0_8
LBB0_12: ## in Loop: Header=BB0_8 Depth=1
leaq 4(%r12), %rdi
leaq 8(%r12), %rsi
movq %r14, %rbx
movq -48(%rbp), %r14 ## 8-byte Reload
movl (%r14), %edx
movss 4(%r12), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss 8(%r12), %xmm1 ## xmm1 = mem[0],zero,zero,zero
callq _nvgTransformPoint
leaq 12(%r12), %rdi
leaq 16(%r12), %rsi
movl (%r14), %edx
movss 12(%r12), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss 16(%r12), %xmm1 ## xmm1 = mem[0],zero,zero,zero
callq _nvgTransformPoint
leaq 20(%r12), %rdi
leaq 24(%r12), %rsi
movl (%r14), %edx
movq %rbx, %r14
movq -64(%rbp), %rbx ## 8-byte Reload
movss 20(%r12), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss 24(%r12), %xmm1 ## xmm1 = mem[0],zero,zero,zero
callq _nvgTransformPoint
movl $7, %eax
.p2align 4, 0x90
LBB0_15: ## in Loop: Header=BB0_8 Depth=1
addl %eax, %r13d
cmpl %ebx, %r13d
jg LBB0_16
LBB0_8: ## =>This Inner Loop Header: Depth=1
movslq %r13d, %rcx
cvttss2si (%r15,%rcx,4), %eax
addl $-128, %eax
cmpl $4, %eax
ja LBB0_14
## %bb.9: ## in Loop: Header=BB0_8 Depth=1
leaq (%r15,%rcx,4), %r12
movslq (%r14,%rax,4), %rax
addq %r14, %rax
jmpq *%rax
LBB0_11: ## in Loop: Header=BB0_8 Depth=1
leaq 4(%r12), %rdi
leaq 8(%r12), %rsi
movq -48(%rbp), %rax ## 8-byte Reload
movl (%rax), %edx
movss 4(%r12), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss 8(%r12), %xmm1 ## xmm1 = mem[0],zero,zero,zero
callq _nvgTransformPoint
movl $3, %eax
jmp LBB0_15
LBB0_13: ## in Loop: Header=BB0_8 Depth=1
movl $2, %eax
jmp LBB0_15
LBB0_10: ## in Loop: Header=BB0_8 Depth=1
movl $-1, %eax
jmp LBB0_15
LBB0_14: ## in Loop: Header=BB0_8 Depth=1
movl $1, %eax
jmp LBB0_15
LBB0_16:
movq -56(%rbp), %r14 ## 8-byte Reload
movslq (%r14), %rdi
shlq $2, %rdi
addq 8(%r14), %rdi
leal (,%rbx,4), %edx
movq %r15, %rsi
callq _memcpy
addl %ebx, (%r14)
LBB0_17:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
.long L0_0_set_13
.long L0_0_set_11
.long L0_0_set_11
.long L0_0_set_10
.long L0_0_set_12
.end_data_region
## -- End function
.no_dead_strip _nvg__appendCommands
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function nvg__appendCommands
_nvg__appendCommands: ; @nvg__appendCommands
.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 x21, x1
mov x20, x0
bl _nvg__getState
mov x22, x0
ldp w8, w9, [x20]
add w8, w8, w19
cmp w8, w9
b.le LBB0_3
; %bb.1:
add w9, w9, w9, lsr #31
sub w23, w8, w9, asr #1
ldr x0, [x20, #8]
lsl w1, w23, #2
bl _realloc
cbnz x0, LBB0_21
; %bb.2:
str xzr, [x20, #8]
str w23, [x20, #4]
LBB0_3:
ldr s0, [x21]
fcvtzs w8, s0
cmp w8, #128
b.eq LBB0_6
; %bb.4:
cmp w8, #131
b.eq LBB0_6
; %bb.5:
add x8, x21, w19, sxtw #2
ldur s0, [x8, #-8]
str s0, [x20, #16]
ldur s0, [x8, #-4]
str s0, [x20, #20]
LBB0_6:
tbnz w19, #31, LBB0_20
; %bb.7:
mov w24, #0 ; =0x0
b LBB0_12
LBB0_8: ; in Loop: Header=BB0_12 Depth=1
cmp w8, #128
b.eq LBB0_18
; %bb.9: ; in Loop: Header=BB0_12 Depth=1
cmp w8, #129
b.ne LBB0_19
LBB0_10: ; in Loop: Header=BB0_12 Depth=1
ldr w2, [x22]
ldr s0, [x0, #4]!
mov x1, x0
ldr s1, [x1, #4]!
bl _nvgTransformPoint
mov w8, #3 ; =0x3
LBB0_11: ; in Loop: Header=BB0_12 Depth=1
add w24, w24, w8
cmp w24, w19
b.gt LBB0_20
LBB0_12: ; =>This Inner Loop Header: Depth=1
add x0, x21, w24, sxtw #2
ldr s0, [x0]
fcvtzs w8, s0
cmp w8, #129
b.le LBB0_8
; %bb.13: ; in Loop: Header=BB0_12 Depth=1
cmp w8, #130
b.eq LBB0_10
; %bb.14: ; in Loop: Header=BB0_12 Depth=1
cmp w8, #131
b.eq LBB0_17
; %bb.15: ; in Loop: Header=BB0_12 Depth=1
cmp w8, #132
b.ne LBB0_19
; %bb.16: ; in Loop: Header=BB0_12 Depth=1
ldr w2, [x22]
mov x8, x0
ldr s0, [x8, #4]!
mov x1, x0
ldr s1, [x1, #8]!
mov x23, x0
mov x0, x8
bl _nvgTransformPoint
ldr w2, [x22]
mov x0, x23
ldr s0, [x0, #12]!
mov x1, x23
ldr s1, [x1, #16]!
bl _nvgTransformPoint
ldr w2, [x22]
ldr s1, [x23, #24]!
mov x0, x23
ldr s0, [x0, #-4]!
mov x1, x23
bl _nvgTransformPoint
mov w8, #7 ; =0x7
b LBB0_11
LBB0_17: ; in Loop: Header=BB0_12 Depth=1
mov w8, #-1 ; =0xffffffff
b LBB0_11
LBB0_18: ; in Loop: Header=BB0_12 Depth=1
mov w8, #2 ; =0x2
b LBB0_11
LBB0_19: ; in Loop: Header=BB0_12 Depth=1
mov w8, #1 ; =0x1
b LBB0_11
LBB0_20:
ldr x8, [x20, #8]
ldrsw x9, [x20]
add x0, x8, x9, lsl #2
lsl w2, w19, #2
mov x1, x21
bl _memcpy
ldr w8, [x20]
add w8, w8, w19
str w8, [x20]
LBB0_21:
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 _nvg__appendCommands
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _script_request ## -- Begin function script_request
.p2align 4, 0x90
_script_request: ## @script_request
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
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, %r15
movq %rdi, %rbx
leaq L_.str(%rip), %rsi
callq _lua_getglobal
movq %rbx, %rdi
movl $-1, %esi
callq _lua_isfunction
movl $1, %r12d
testl %eax, %eax
jne LBB0_2
## %bb.1:
leaq L_.str.1(%rip), %rsi
movq %rbx, %rdi
callq _lua_getglobal
leaq L_.str(%rip), %rdx
movq %rbx, %rdi
movl $-1, %esi
callq _lua_getfield
movl $3, %r12d
LBB0_2:
movq %rbx, %rdi
xorl %esi, %esi
movl $1, %edx
callq _lua_call
movq %rbx, %rdi
movl $-1, %esi
movq %r14, %rdx
callq _lua_tolstring
movq %rax, %r13
movq (%r15), %rdi
movq (%r14), %rsi
callq _realloc
movq %rax, (%r15)
movq (%r14), %rdx
movq %rax, %rdi
movq %r13, %rsi
callq _memcpy
movq %rbx, %rdi
movl %r12d, %esi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _lua_pop ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "request"
L_.str.1: ## @.str.1
.asciz "wrk"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _script_request ; -- Begin function script_request
.p2align 2
_script_request: ; @script_request
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x20, x2
mov x21, x1
mov x19, x0
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _lua_getglobal
mov x0, x19
mov w1, #-1 ; =0xffffffff
bl _lua_isfunction
cbz w0, LBB0_2
; %bb.1:
mov w22, #1 ; =0x1
b LBB0_3
LBB0_2:
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _lua_getglobal
Lloh4:
adrp x2, l_.str@PAGE
Lloh5:
add x2, x2, l_.str@PAGEOFF
mov x0, x19
mov w1, #-1 ; =0xffffffff
bl _lua_getfield
mov w22, #3 ; =0x3
LBB0_3:
mov x0, x19
mov w1, #0 ; =0x0
mov w2, #1 ; =0x1
bl _lua_call
mov x0, x19
mov w1, #-1 ; =0xffffffff
mov x2, x20
bl _lua_tolstring
mov x23, x0
ldr x0, [x21]
ldr x1, [x20]
bl _realloc
str x0, [x21]
ldr x2, [x20]
mov x1, x23
bl _memcpy
mov x0, x19
mov x1, 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 _lua_pop
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "request"
l_.str.1: ; @.str.1
.asciz "wrk"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function StripTags
_StripTags: ## @StripTags
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_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
callq _strlen
leaq -1(%rax), %rdi
callq _malloc
testq %rax, %rax
je LBB0_1
## %bb.2:
leaq L_.str(%rip), %rbx
leaq L_.str.1(%rip), %r13
movq %rax, -48(%rbp) ## 8-byte Spill
movq %rax, %r15
jmp LBB0_3
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_3 Depth=1
cmpl $10, %ecx
jne LBB0_5
## %bb.24: ## in Loop: Header=BB0_3 Depth=1
movb $32, (%r14)
movb $32, %al
LBB0_25: ## in Loop: Header=BB0_3 Depth=1
movb %al, (%r15)
incq %r15
LBB0_26: ## in Loop: Header=BB0_3 Depth=1
movq %r15, %r12
LBB0_27: ## in Loop: Header=BB0_3 Depth=1
cmpb $1, (%r14)
sbbq $-1, %r14
movq %r12, %r15
LBB0_3: ## =>This Inner Loop Header: Depth=1
movzbl (%r14), %eax
movzbl %al, %ecx
cmpl $37, %ecx
jle LBB0_4
## %bb.8: ## in Loop: Header=BB0_3 Depth=1
cmpl $38, %ecx
je LBB0_14
## %bb.9: ## in Loop: Header=BB0_3 Depth=1
cmpl $60, %ecx
jne LBB0_25
## %bb.10: ## in Loop: Header=BB0_3 Depth=1
movq %r14, %rdi
movq %rbx, %rsi
movl $5, %edx
callq _strncasecmp
testq %rax, %rax
jne LBB0_12
## %bb.11: ## in Loop: Header=BB0_3 Depth=1
movb $10, (%r15)
incq %r15
LBB0_12: ## in Loop: Header=BB0_3 Depth=1
movq %r14, %rdi
movq %r13, %rsi
jmp LBB0_13
.p2align 4, 0x90
LBB0_14: ## in Loop: Header=BB0_3 Depth=1
movq %r14, %rdi
leaq L_.str.2(%rip), %rsi
movl $4, %edx
callq _strncasecmp
testq %rax, %rax
je LBB0_15
## %bb.17: ## in Loop: Header=BB0_3 Depth=1
movq %r14, %rdi
leaq L_.str.4(%rip), %rsi
movl $4, %edx
callq _strncasecmp
testq %rax, %rax
je LBB0_18
## %bb.19: ## in Loop: Header=BB0_3 Depth=1
movq %r14, %rdi
leaq L_.str.5(%rip), %rsi
movl $5, %edx
callq _strncasecmp
testq %rax, %rax
je LBB0_20
## %bb.21: ## in Loop: Header=BB0_3 Depth=1
movq %r14, %rdi
leaq L_.str.6(%rip), %rsi
movl $6, %edx
callq _strncasecmp
leaq 1(%r15), %r12
testq %rax, %rax
je LBB0_22
## %bb.23: ## in Loop: Header=BB0_3 Depth=1
movb $38, (%r15)
jmp LBB0_27
LBB0_5: ## in Loop: Header=BB0_3 Depth=1
testl %ecx, %ecx
jne LBB0_25
jmp LBB0_6
LBB0_15: ## in Loop: Header=BB0_3 Depth=1
movb $60, (%r15)
jmp LBB0_16
LBB0_18: ## in Loop: Header=BB0_3 Depth=1
movb $62, (%r15)
jmp LBB0_16
LBB0_20: ## in Loop: Header=BB0_3 Depth=1
movb $38, (%r15)
LBB0_16: ## in Loop: Header=BB0_3 Depth=1
incq %r15
movq %r14, %rdi
leaq L_.str.3(%rip), %rsi
LBB0_13: ## in Loop: Header=BB0_3 Depth=1
callq _strcspn
cltq
addq %rax, %r14
jmp LBB0_26
LBB0_22: ## in Loop: Header=BB0_3 Depth=1
movb $34, (%r15)
movq %r14, %rdi
leaq L_.str.3(%rip), %rsi
callq _strcspn
cltq
addq %rax, %r14
jmp LBB0_27
LBB0_6:
movb $0, (%r15)
movq -48(%rbp), %rdi ## 8-byte Reload
subl %edi, %r15d
incl %r15d
movl %r15d, %esi
movq %rdi, %r14
callq _realloc
movq %rax, %rbx
xorl %edi, %edi
testq %rax, %rax
setne %dil
callq _likely
testq %rax, %rax
movq %r14, %rax
cmovneq %rbx, %rax
jmp LBB0_7
LBB0_1:
xorl %eax, %eax
LBB0_7:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "<br/>"
L_.str.1: ## @.str.1
.asciz ">"
L_.str.2: ## @.str.2
.asciz "<"
L_.str.3: ## @.str.3
.asciz ";"
L_.str.4: ## @.str.4
.asciz ">"
L_.str.5: ## @.str.5
.asciz "&"
L_.str.6: ## @.str.6
.asciz """
.no_dead_strip _StripTags
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function StripTags
_StripTags: ; @StripTags
.cfi_startproc
; %bb.0:
sub sp, sp, #112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x20, x0
bl _strlen
sub x0, x0, #1
bl _malloc
cbz x0, LBB0_26
; %bb.1:
Lloh0:
adrp x21, l_.str.2@PAGE
Lloh1:
add x21, x21, l_.str.2@PAGEOFF
Lloh2:
adrp x22, l_.str.3@PAGE
Lloh3:
add x22, x22, l_.str.3@PAGEOFF
Lloh4:
adrp x23, l_.str.4@PAGE
Lloh5:
add x23, x23, l_.str.4@PAGEOFF
Lloh6:
adrp x24, l_.str.5@PAGE
Lloh7:
add x24, x24, l_.str.5@PAGEOFF
Lloh8:
adrp x26, l_.str@PAGE
Lloh9:
add x26, x26, l_.str@PAGEOFF
mov w25, #10 ; =0xa
str x0, [sp, #8] ; 8-byte Folded Spill
mov x28, x0
Lloh10:
adrp x27, l_.str.1@PAGE
Lloh11:
add x27, x27, l_.str.1@PAGEOFF
b LBB0_7
LBB0_2: ; in Loop: Header=BB0_7 Depth=1
cmp w8, #10
b.ne LBB0_18
; %bb.3: ; in Loop: Header=BB0_7 Depth=1
mov w8, #32 ; =0x20
strb w8, [x20]
LBB0_4: ; in Loop: Header=BB0_7 Depth=1
strb w8, [x28], #1
LBB0_5: ; in Loop: Header=BB0_7 Depth=1
mov x19, x28
LBB0_6: ; in Loop: Header=BB0_7 Depth=1
mov x8, x20
ldrb w9, [x8], #1
cmp w9, #0
csel x20, x20, x8, eq
mov x28, x19
LBB0_7: ; =>This Inner Loop Header: Depth=1
ldrb w8, [x20]
cmp w8, #37
b.le LBB0_2
; %bb.8: ; in Loop: Header=BB0_7 Depth=1
cmp w8, #38
b.eq LBB0_13
; %bb.9: ; in Loop: Header=BB0_7 Depth=1
cmp w8, #60
b.ne LBB0_4
; %bb.10: ; in Loop: Header=BB0_7 Depth=1
mov x0, x20
mov x1, x26
mov w2, #5 ; =0x5
bl _strncasecmp
cbnz x0, LBB0_12
; %bb.11: ; in Loop: Header=BB0_7 Depth=1
strb w25, [x28], #1
LBB0_12: ; in Loop: Header=BB0_7 Depth=1
mov x0, x20
mov x1, x27
b LBB0_23
LBB0_13: ; in Loop: Header=BB0_7 Depth=1
mov x0, x20
mov x1, x21
mov w2, #4 ; =0x4
bl _strncasecmp
cbz x0, LBB0_19
; %bb.14: ; in Loop: Header=BB0_7 Depth=1
mov x0, x20
mov x1, x23
mov w2, #4 ; =0x4
bl _strncasecmp
cbz x0, LBB0_20
; %bb.15: ; in Loop: Header=BB0_7 Depth=1
mov x0, x20
mov x1, x24
mov w2, #5 ; =0x5
bl _strncasecmp
cbz x0, LBB0_21
; %bb.16: ; in Loop: Header=BB0_7 Depth=1
mov x0, x20
Lloh12:
adrp x1, l_.str.6@PAGE
Lloh13:
add x1, x1, l_.str.6@PAGEOFF
mov w2, #6 ; =0x6
bl _strncasecmp
add x19, x28, #1
cbz x0, LBB0_24
; %bb.17: ; in Loop: Header=BB0_7 Depth=1
mov w8, #38 ; =0x26
strb w8, [x28]
b LBB0_6
LBB0_18: ; in Loop: Header=BB0_7 Depth=1
cbnz w8, LBB0_4
b LBB0_25
LBB0_19: ; in Loop: Header=BB0_7 Depth=1
mov w8, #60 ; =0x3c
b LBB0_22
LBB0_20: ; in Loop: Header=BB0_7 Depth=1
mov w8, #62 ; =0x3e
b LBB0_22
LBB0_21: ; in Loop: Header=BB0_7 Depth=1
mov w8, #38 ; =0x26
LBB0_22: ; in Loop: Header=BB0_7 Depth=1
strb w8, [x28], #1
mov x0, x20
mov x1, x22
LBB0_23: ; in Loop: Header=BB0_7 Depth=1
bl _strcspn
add x20, x20, w0, sxtw
b LBB0_5
LBB0_24: ; in Loop: Header=BB0_7 Depth=1
mov w8, #34 ; =0x22
strb w8, [x28]
mov x0, x20
mov x1, x22
bl _strcspn
add x20, x20, w0, sxtw
b LBB0_6
LBB0_25:
strb wzr, [x28]
ldr x19, [sp, #8] ; 8-byte Folded Reload
sub w8, w28, w19
add w1, w8, #1
mov x0, x19
bl _realloc
mov x20, x0
cmp x0, #0
cset w0, ne
bl _likely
cmp x0, #0
csel x0, x19, x20, eq
LBB0_26:
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 Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh12, Lloh13
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "<br/>"
l_.str.1: ; @.str.1
.asciz ">"
l_.str.2: ; @.str.2
.asciz "<"
l_.str.3: ; @.str.3
.asciz ";"
l_.str.4: ; @.str.4
.asciz ">"
l_.str.5: ; @.str.5
.asciz "&"
l_.str.6: ; @.str.6
.asciz """
.no_dead_strip _StripTags
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _getnewstatvfs ## -- Begin function getnewstatvfs
.p2align 4, 0x90
_getnewstatvfs: ## @getnewstatvfs
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq _sftotal@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
movq _sfused@GOTPCREL(%rip), %rbx
movq _allstatvfs@GOTPCREL(%rip), %r14
movq (%r14), %rax
cmpl (%rbx), %edx
jne LBB0_3
## %bb.1:
leal (%rdx,%rdx), %edi
testl %edx, %edx
movl $1, %esi
cmovnel %edi, %esi
movl %esi, (%rcx)
shll $2, %esi
movq %rax, %rdi
callq _realloc
movq %rax, (%r14)
testq %rax, %rax
jne LBB0_3
## %bb.2:
movq _EXIT_FAILURE@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
callq _err
movq (%r14), %rax
LBB0_3:
movslq (%rbx), %rcx
leal 1(%rcx), %edx
movl %edx, (%rbx)
leaq (%rax,%rcx,4), %rax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _sftotal,4,2 ## @sftotal
.comm _sfused,4,2 ## @sfused
.comm _allstatvfs,8,3 ## @allstatvfs
.comm _EXIT_FAILURE,4,2 ## @EXIT_FAILURE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "realloc"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _getnewstatvfs ; -- Begin function getnewstatvfs
.p2align 2
_getnewstatvfs: ; @getnewstatvfs
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x8, _sftotal@GOTPAGE
Lloh1:
ldr x8, [x8, _sftotal@GOTPAGEOFF]
Lloh2:
adrp x19, _sfused@GOTPAGE
Lloh3:
ldr x19, [x19, _sfused@GOTPAGEOFF]
ldr w9, [x8]
ldr w10, [x19]
Lloh4:
adrp x20, _allstatvfs@GOTPAGE
Lloh5:
ldr x20, [x20, _allstatvfs@GOTPAGEOFF]
ldr x0, [x20]
cmp w9, w10
b.ne LBB0_3
; %bb.1:
lsl w10, w9, #1
cmp w9, #0
csinc w9, w10, wzr, ne
str w9, [x8]
lsl w1, w9, #2
bl _realloc
str x0, [x20]
cbnz x0, LBB0_3
; %bb.2:
Lloh6:
adrp x8, _EXIT_FAILURE@GOTPAGE
Lloh7:
ldr x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh8:
ldr w0, [x8]
Lloh9:
adrp x1, l_.str@PAGE
Lloh10:
add x1, x1, l_.str@PAGEOFF
bl _err
ldr x0, [x20]
LBB0_3:
ldrsw x8, [x19]
add w9, w8, #1
str w9, [x19]
add x0, x0, x8, lsl #2
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _sftotal,4,2 ; @sftotal
.comm _sfused,4,2 ; @sfused
.comm _allstatvfs,8,3 ; @allstatvfs
.comm _EXIT_FAILURE,4,2 ; @EXIT_FAILURE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "realloc"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function setindex2ifc
_setindex2ifc: ## @setindex2ifc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edi, %r14d
movq _index2ifc@GOTPCREL(%rip), %rcx
cmpq $0, (%rcx)
jne LBB0_4
## %bb.1:
movq %rsi, %r15
movq _nindex2ifc@GOTPCREL(%rip), %rbx
movl $5, (%rbx)
movl $40, %edi
movq %rcx, %r13
callq _malloc
movq %r13, %r12
movq %rax, (%r13)
testq %rax, %rax
jne LBB0_3
## %bb.2:
leaq L_.str(%rip), %rdi
callq _fatal
movq (%r12), %rax
LBB0_3:
movl (%rbx), %edx
shll $3, %edx
movq %rax, %rdi
xorl %esi, %esi
callq _memset
movq %r15, %rsi
movq %r12, %rcx
LBB0_4:
movq _nindex2ifc@GOTPCREL(%rip), %rax
movl (%rax), %r12d
movslq %r12d, %r13
movl %r12d, %eax
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movl %eax, %ebx
leal (%rbx,%rbx), %eax
cmpl %r14d, %ebx
jle LBB0_5
## %bb.6:
movq (%rcx), %r15
cmpl %ebx, %r12d
je LBB0_10
## %bb.7:
movq %rsi, -48(%rbp) ## 8-byte Spill
leal (,%rbx,8), %esi
movq %r15, %rdi
callq _realloc
movq %rax, %r15
testq %rax, %rax
jne LBB0_9
## %bb.8:
leaq L_.str.1(%rip), %rdi
callq _fatal
LBB0_9:
shlq $3, %r13
movq %r15, %rdi
subq %r13, %rdi
movq _nindex2ifc@GOTPCREL(%rip), %r13
movl (%r13), %edx
subl %r12d, %edx
shll $3, %edx
xorl %esi, %esi
callq _memset
movq _index2ifc@GOTPCREL(%rip), %rax
movq %r15, (%rax)
movl %ebx, (%r13)
movq -48(%rbp), %rsi ## 8-byte Reload
LBB0_10:
movslq %r14d, %rax
movq %rsi, (%r15,%rax,8)
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _index2ifc,8,3 ## @index2ifc
.comm _nindex2ifc,4,2 ## @nindex2ifc
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "malloc"
L_.str.1: ## @.str.1
.asciz "realloc"
.no_dead_strip _setindex2ifc
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function setindex2ifc
_setindex2ifc: ; @setindex2ifc
.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 x20, x0
Lloh0:
adrp x22, _index2ifc@GOTPAGE
Lloh1:
ldr x22, [x22, _index2ifc@GOTPAGEOFF]
ldr x8, [x22]
Lloh2:
adrp x23, _nindex2ifc@GOTPAGE
Lloh3:
ldr x23, [x23, _nindex2ifc@GOTPAGEOFF]
cbnz x8, LBB0_4
; %bb.1:
mov w8, #5 ; =0x5
str w8, [x23]
mov w0, #40 ; =0x28
bl _malloc
str x0, [x22]
cbnz x0, LBB0_3
; %bb.2:
Lloh4:
adrp x0, l_.str@PAGE
Lloh5:
add x0, x0, l_.str@PAGEOFF
bl _fatal
ldr x0, [x22]
LBB0_3:
ldr w8, [x23]
lsl w2, w8, #3
mov w1, #0 ; =0x0
bl _memset
LBB0_4:
ldr w25, [x23]
sxtw x26, w25
mov x8, x25
LBB0_5: ; =>This Inner Loop Header: Depth=1
mov x24, x8
lsl w8, w8, #1
cmp w24, w20
b.le LBB0_5
; %bb.6:
ldr x21, [x22]
cmp w25, w24
b.eq LBB0_10
; %bb.7:
lsl w1, w24, #3
mov x0, x21
bl _realloc
mov x21, x0
cbnz x0, LBB0_9
; %bb.8:
Lloh6:
adrp x0, l_.str.1@PAGE
Lloh7:
add x0, x0, l_.str.1@PAGEOFF
bl _fatal
LBB0_9:
sub x0, x21, x26, lsl #3
ldr w8, [x23]
sub w8, w8, w25
lsl w2, w8, #3
mov w1, #0 ; =0x0
bl _memset
str x21, [x22]
str w24, [x23]
LBB0_10:
str x19, [x21, w20, sxtw #3]
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 Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _index2ifc,8,3 ; @index2ifc
.comm _nindex2ifc,4,2 ; @nindex2ifc
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "malloc"
l_.str.1: ; @.str.1
.asciz "realloc"
.no_dead_strip _setindex2ifc
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _mib_fetch_rtab ## -- Begin function mib_fetch_rtab
.p2align 4, 0x90
_mib_fetch_rtab: ## @mib_fetch_rtab
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $32, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rcx, %rbx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -24(%rbp)
movq _CTL_NET@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -48(%rbp)
movq _PF_ROUTE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -44(%rbp)
movl $0, -40(%rbp)
movl %edi, -36(%rbp)
movl %esi, -32(%rbp)
movl %edx, -28(%rbp)
movq $0, (%rcx)
leaq -48(%rbp), %r14
movq %r14, %rdi
callq _nitems
movq %r14, %rdi
movl %eax, %esi
xorl %edx, %edx
movq %rbx, %rcx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq _sysctl
cmpl $-1, %eax
je LBB0_1
## %bb.2:
cmpq $0, (%rbx)
je LBB0_4
## %bb.3:
movq _LOG_ERR@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.1(%rip), %rsi
xorl %eax, %eax
callq _syslog
xorl %edi, %edi
callq _free
jmp LBB0_4
LBB0_1:
movq _LOG_ERR@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl -48(%rbp), %edx
movl -44(%rbp), %ecx
movl -40(%rbp), %r8d
movl -36(%rbp), %r9d
movl -32(%rbp), %r10d
movl -28(%rbp), %r11d
leaq L_.str(%rip), %rsi
xorl %eax, %eax
pushq %r11
pushq %r10
callq _syslog
addq $16, %rsp
LBB0_4:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -24(%rbp), %rax
jne LBB0_6
## %bb.5:
xorl %eax, %eax
addq $32, %rsp
popq %rbx
popq %r14
popq %rbp
retq
LBB0_6:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _CTL_NET,4,2 ## @CTL_NET
.comm _PF_ROUTE,4,2 ## @PF_ROUTE
.comm _LOG_ERR,4,2 ## @LOG_ERR
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "sysctl estimate (%d,%d,%d,%d,%d,%d): %m"
L_.str.1: ## @.str.1
.asciz "sysctl buffer: %m"
.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 _mib_fetch_rtab ; -- Begin function mib_fetch_rtab
.p2align 2
_mib_fetch_rtab: ; @mib_fetch_rtab
.cfi_startproc
; %bb.0:
sub sp, sp, #112
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
mov x19, x3
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
Lloh3:
adrp x9, _CTL_NET@GOTPAGE
Lloh4:
ldr x9, [x9, _CTL_NET@GOTPAGEOFF]
stur x8, [x29, #-24]
Lloh5:
ldr w8, [x9]
Lloh6:
adrp x9, _PF_ROUTE@GOTPAGE
Lloh7:
ldr x9, [x9, _PF_ROUTE@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
stp w8, w9, [sp, #48]
stp wzr, w0, [sp, #56]
stp w1, w2, [sp, #64]
str xzr, [x3]
add x0, sp, #48
bl _nitems
mov x1, x0
add x0, sp, #48
mov x2, #0 ; =0x0
mov x3, x19
mov x4, #0 ; =0x0
mov w5, #0 ; =0x0
bl _sysctl
cmn w0, #1
b.eq LBB0_3
; %bb.1:
ldr x8, [x19]
cbz x8, LBB0_4
; %bb.2:
Lloh9:
adrp x8, _LOG_ERR@GOTPAGE
Lloh10:
ldr x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh11:
ldr w0, [x8]
Lloh12:
adrp x1, l_.str.1@PAGE
Lloh13:
add x1, x1, l_.str.1@PAGEOFF
bl _syslog
mov x0, #0 ; =0x0
bl _free
b LBB0_4
LBB0_3:
Lloh14:
adrp x8, _LOG_ERR@GOTPAGE
Lloh15:
ldr x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh16:
ldr w0, [x8]
ldp w8, w9, [sp, #48]
ldp w10, w11, [sp, #56]
ldp w12, w13, [sp, #64]
stp x12, x13, [sp, #32]
stp x10, x11, [sp, #16]
stp x8, x9, [sp]
Lloh17:
adrp x1, l_.str@PAGE
Lloh18:
add x1, x1, l_.str@PAGEOFF
bl _syslog
LBB0_4:
ldur x8, [x29, #-24]
Lloh19:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh20:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_6
; %bb.5:
mov x0, #0 ; =0x0
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #112
ret
LBB0_6:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.cfi_endproc
; -- End function
.comm _CTL_NET,4,2 ; @CTL_NET
.comm _PF_ROUTE,4,2 ; @PF_ROUTE
.comm _LOG_ERR,4,2 ; @LOG_ERR
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "sysctl estimate (%d,%d,%d,%d,%d,%d): %m"
l_.str.1: ; @.str.1
.asciz "sysctl buffer: %m"
.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
.p2align 4, 0x90 ## -- Begin function OpenDemux
_OpenDemux: ## @OpenDemux
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
movq _VLC_EGENERIC@GOTPCREL(%rip), %r15
movl (%r15), %ebx
leaq L_.str(%rip), %rsi
callq _var_CreateGetBool
testl %eax, %eax
je LBB0_3
## %bb.1:
movl 16(%r14), %edi
callq _assert
movl 16(%r14), %edi
leaq -48(%rbp), %rsi
movl $7, %edx
callq _vlc_stream_Peek
cmpl $6, %eax
jle LBB0_3
## %bb.4:
movq -48(%rbp), %rdi
leaq L_.str.1(%rip), %rsi
movl $7, %edx
callq _memcmp
testq %rax, %rax
je LBB0_7
## %bb.5:
movq -48(%rbp), %rdi
leaq L_.str.2(%rip), %rsi
movl $6, %edx
callq _memcmp
testq %rax, %rax
je LBB0_7
LBB0_3:
movl (%r15), %ebx
LBB0_23:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_7:
xorl %r12d, %r12d
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_8: ## =>This Inner Loop Header: Depth=1
leaq -1023(%r13), %rsi
movq %r12, %rdi
callq _realloc
testq %rax, %rax
je LBB0_18
## %bb.9: ## in Loop: Header=BB0_8 Depth=1
movq %rax, %r15
movl 16(%r14), %edi
movq %rax, %rsi
addq %r13, %rsi
movl $1024, %edx ## imm = 0x400
callq _vlc_stream_Read
testl %eax, %eax
js LBB0_19
## %bb.10: ## in Loop: Header=BB0_8 Depth=1
addq %rax, %r13
movb $0, (%r15,%r13)
movq %r15, %r12
cmpq $65537, %r13 ## imm = 0x10001
jb LBB0_8
## %bb.11:
movq %r14, %rdi
callq _VLC_OBJECT
movl %eax, %edi
movq %r15, %rsi
callq _ParseSDP
testq %rax, %rax
je LBB0_20
## %bb.12:
movq %rax, %r12
movq %r14, %rdi
callq _VLC_OBJECT
movl %eax, %edi
movq %r12, %rsi
callq _ParseConnection
testq %rax, %rax
je LBB0_14
## %bb.13:
movq $0, (%r12)
LBB0_14:
movl 8(%r12), %edi
callq _IsWellKnownPayload
testl %eax, %eax
je LBB0_17
## %bb.15:
cmpq $0, (%r12)
je LBB0_17
## %bb.16:
movl $8, %edi
callq _malloc
movq %rax, %r13
xorl %edi, %edi
testq %rax, %rax
sete %dil
callq _unlikely
testq %rax, %rax
je LBB0_24
LBB0_17:
movq %r15, %rdi
callq _FREENULL
movq %r12, %rdi
callq _FreeSDP
jmp LBB0_23
LBB0_18:
movq _VLC_ENOMEM@GOTPCREL(%rip), %rax
movl (%rax), %ebx
jmp LBB0_22
LBB0_19:
leaq L_.str.3(%rip), %rsi
movq %r14, %rdi
callq _msg_Err
jmp LBB0_21
LBB0_20:
leaq L_.str.4(%rip), %rsi
movq %r14, %rdi
callq _msg_Warn
LBB0_21:
movq %r15, %r12
LBB0_22:
movq %r12, %rdi
callq _FREENULL
jmp LBB0_23
LBB0_24:
movq %r12, (%r13)
movq %r13, 8(%r14)
movq _Control@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 4(%r14)
movq _Demux@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, (%r14)
movq %r15, %rdi
callq _FREENULL
movq _VLC_SUCCESS@GOTPCREL(%rip), %rax
movl (%rax), %ebx
jmp LBB0_23
.cfi_endproc
## -- End function
.comm _VLC_EGENERIC,4,2 ## @VLC_EGENERIC
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "sap-parse"
L_.str.1: ## @.str.1
.asciz "v=0\r\no="
L_.str.2: ## @.str.2
.asciz "v=0\no="
.comm _VLC_ENOMEM,4,2 ## @VLC_ENOMEM
L_.str.3: ## @.str.3
.asciz "cannot read SDP"
L_.str.4: ## @.str.4
.asciz "invalid SDP"
.comm _Control,4,2 ## @Control
.comm _Demux,4,2 ## @Demux
.comm _VLC_SUCCESS,4,2 ## @VLC_SUCCESS
.no_dead_strip _OpenDemux
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function OpenDemux
_OpenDemux: ; @OpenDemux
.cfi_startproc
; %bb.0:
sub sp, sp, #80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x20, x0
Lloh0:
adrp x21, _VLC_EGENERIC@GOTPAGE
Lloh1:
ldr x21, [x21, _VLC_EGENERIC@GOTPAGEOFF]
ldr w19, [x21]
Lloh2:
adrp x1, l_.str@PAGE
Lloh3:
add x1, x1, l_.str@PAGEOFF
bl _var_CreateGetBool
cbz w0, LBB0_4
; %bb.1:
ldr w0, [x20, #16]
bl _assert
ldr w0, [x20, #16]
add x1, sp, #8
mov w2, #7 ; =0x7
bl _vlc_stream_Peek
cmp w0, #6
b.le LBB0_4
; %bb.2:
ldr x0, [sp, #8]
Lloh4:
adrp x1, l_.str.1@PAGE
Lloh5:
add x1, x1, l_.str.1@PAGEOFF
mov w2, #7 ; =0x7
bl _memcmp
cbz x0, LBB0_6
; %bb.3:
ldr x0, [sp, #8]
Lloh6:
adrp x1, l_.str.2@PAGE
Lloh7:
add x1, x1, l_.str.2@PAGEOFF
mov w2, #6 ; =0x6
bl _memcmp
cbz x0, LBB0_6
LBB0_4:
ldr w19, [x21]
LBB0_5:
mov x0, x19
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
LBB0_6:
mov x22, #0 ; =0x0
mov x23, #0 ; =0x0
LBB0_7: ; =>This Inner Loop Header: Depth=1
sub x1, x23, #1023
mov x0, x22
bl _realloc
cbz x0, LBB0_17
; %bb.8: ; in Loop: Header=BB0_7 Depth=1
mov x21, x0
ldr w0, [x20, #16]
add x1, x21, x23
mov w2, #1024 ; =0x400
bl _vlc_stream_Read
tbnz w0, #31, LBB0_18
; %bb.9: ; in Loop: Header=BB0_7 Depth=1
add x23, x0, x23
strb wzr, [x21, x23]
mov x22, x21
cmp x23, #16, lsl #12 ; =65536
b.ls LBB0_7
; %bb.10:
mov x0, x20
bl _VLC_OBJECT
mov x1, x21
bl _ParseSDP
cbz x0, LBB0_19
; %bb.11:
mov x22, x0
mov x0, x20
bl _VLC_OBJECT
mov x1, x22
bl _ParseConnection
cbz x0, LBB0_13
; %bb.12:
str xzr, [x22]
LBB0_13:
ldr w0, [x22, #8]
bl _IsWellKnownPayload
cbz w0, LBB0_16
; %bb.14:
ldr x8, [x22]
cbz x8, LBB0_16
; %bb.15:
mov w0, #8 ; =0x8
bl _malloc
mov x23, x0
cmp x0, #0
cset w0, eq
bl _unlikely
cbz x0, LBB0_22
LBB0_16:
mov x0, x21
bl _FREENULL
mov x0, x22
bl _FreeSDP
b LBB0_5
LBB0_17:
Lloh8:
adrp x8, _VLC_ENOMEM@GOTPAGE
Lloh9:
ldr x8, [x8, _VLC_ENOMEM@GOTPAGEOFF]
Lloh10:
ldr w19, [x8]
b LBB0_21
LBB0_18:
Lloh11:
adrp x1, l_.str.3@PAGE
Lloh12:
add x1, x1, l_.str.3@PAGEOFF
mov x0, x20
bl _msg_Err
b LBB0_20
LBB0_19:
Lloh13:
adrp x1, l_.str.4@PAGE
Lloh14:
add x1, x1, l_.str.4@PAGEOFF
mov x0, x20
bl _msg_Warn
LBB0_20:
mov x22, x21
LBB0_21:
mov x0, x22
bl _FREENULL
b LBB0_5
LBB0_22:
str x22, [x23]
str x23, [x20, #8]
Lloh15:
adrp x8, _Control@GOTPAGE
Lloh16:
ldr x8, [x8, _Control@GOTPAGEOFF]
Lloh17:
ldr w8, [x8]
Lloh18:
adrp x9, _Demux@GOTPAGE
Lloh19:
ldr x9, [x9, _Demux@GOTPAGEOFF]
Lloh20:
ldr w9, [x9]
stp w9, w8, [x20]
mov x0, x21
bl _FREENULL
Lloh21:
adrp x8, _VLC_SUCCESS@GOTPAGE
Lloh22:
ldr x8, [x8, _VLC_SUCCESS@GOTPAGEOFF]
Lloh23:
ldr w19, [x8]
b LBB0_5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.cfi_endproc
; -- End function
.comm _VLC_EGENERIC,4,2 ; @VLC_EGENERIC
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "sap-parse"
l_.str.1: ; @.str.1
.asciz "v=0\r\no="
l_.str.2: ; @.str.2
.asciz "v=0\no="
.comm _VLC_ENOMEM,4,2 ; @VLC_ENOMEM
l_.str.3: ; @.str.3
.asciz "cannot read SDP"
l_.str.4: ; @.str.4
.asciz "invalid SDP"
.comm _Control,4,2 ; @Control
.comm _Demux,4,2 ; @Demux
.comm _VLC_SUCCESS,4,2 ; @VLC_SUCCESS
.no_dead_strip _OpenDemux
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function kernel_wait
_kernel_wait: ## @kernel_wait
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_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 -56(%rbp), %r14
.p2align 4, 0x90
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_2 Depth 2
leal (,%r12,4), %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 $16, %edx
callq _memset
movl %r12d, -56(%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
movl %r13d, %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
.no_dead_strip _kernel_wait
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function kernel_wait
_kernel_wait: ; @kernel_wait
.cfi_startproc
; %bb.0:
sub sp, sp, #96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x0
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
lsl w22, w23, #2
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
mov x0, sp
mov w1, #0 ; =0x0
mov w2, #16 ; =0x10
bl _memset
str w23, [sp]
str x20, [sp, #8]
ldr w1, [x24]
mov x2, sp
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
mov x23, x22
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
.no_dead_strip _kernel_wait
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function unicode_builtin_encoding_convert
_unicode_builtin_encoding_convert: ## @unicode_builtin_encoding_convert
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq $0, (%rdi)
movq $0, (%rsi)
movl (%rdx), %edi
leaq L_.str(%rip), %rsi
callq _ntlm_client_set_errmsg
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _unicode_builtin_utf8_to_16,8,3 ## @unicode_builtin_utf8_to_16
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "out of memory"
.comm _unicode_builtin_utf16_to_8,8,3 ## @unicode_builtin_utf16_to_8
.comm _strictConversion,4,2 ## @strictConversion
.comm _lenientConversion,4,2 ## @lenientConversion
.comm _NTLM_UNICODE_MAX_LEN,8,3 ## @NTLM_UNICODE_MAX_LEN
.no_dead_strip _unicode_builtin_encoding_convert
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function unicode_builtin_encoding_convert
_unicode_builtin_encoding_convert: ; @unicode_builtin_encoding_convert
.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
str xzr, [x0]
str xzr, [x1]
ldr w0, [x2]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _ntlm_client_set_errmsg
mov w0, #0 ; =0x0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _unicode_builtin_utf8_to_16,8,3 ; @unicode_builtin_utf8_to_16
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "out of memory"
.comm _unicode_builtin_utf16_to_8,8,3 ; @unicode_builtin_utf16_to_8
.comm _strictConversion,4,2 ; @strictConversion
.comm _lenientConversion,4,2 ; @lenientConversion
.comm _NTLM_UNICODE_MAX_LEN,8,3 ; @NTLM_UNICODE_MAX_LEN
.no_dead_strip _unicode_builtin_encoding_convert
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function kputsn
_kputsn: ## @kputsn
.cfi_startproc
## %bb.0:
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
movl %esi, %ebx
movq %rdi, %r15
movl (%rdx), %edi
leal (%rdi,%rbx), %eax
incl %eax
cmpl 4(%rdx), %eax
jge LBB0_2
## %bb.1:
movq 8(%r14), %rax
jmp LBB0_3
LBB0_2:
addl %ebx, %edi
addl $2, %edi
movl %edi, 4(%r14)
## kill: def $edi killed $edi killed $rdi
callq _kroundup32
movq 8(%r14), %rdi
movl 4(%r14), %esi
callq _realloc
movq %rax, 8(%r14)
movl (%r14), %edi
LBB0_3:
movslq %edi, %rdi
addq %rax, %rdi
movq %r15, %rsi
movl %ebx, %edx
callq _memcpy
movslq (%r14), %rax
movslq %ebx, %rcx
addq %rax, %rcx
movl %ecx, (%r14)
movq 8(%r14), %rax
movb $0, (%rax,%rcx)
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _kputsn
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function kputsn
_kputsn: ; @kputsn
.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, x2
mov x19, x1
mov x21, x0
ldp w8, w10, [x2]
add w9, w8, w1
add w11, w9, #1
cmp w11, w10
b.ge LBB0_2
; %bb.1:
ldr x0, [x20, #8]
b LBB0_3
LBB0_2:
add w0, w9, #2
str w0, [x20, #4]
bl _kroundup32
ldr x0, [x20, #8]
ldr w1, [x20, #4]
bl _realloc
str x0, [x20, #8]
ldr w8, [x20]
LBB0_3:
add x0, x0, w8, sxtw
mov x1, x21
mov x2, x19
bl _memcpy
ldrsw x8, [x20]
add x8, x8, w19, sxtw
str w8, [x20]
ldr x9, [x20, #8]
strb wzr, [x9, x8]
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 _kputsn
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function ws_receiveCallback
_ws_receiveCallback: ## @ws_receiveCallback
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_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 %edx, %r13d
movq %rsi, %r15
movq %rdi, %r14
leaq L_.str(%rip), %rdi
movl %edx, %esi
xorl %eax, %eax
callq _NODE_DBG
movq (%r14), %r12
movq $0, 64(%r12)
leaq 56(%r12), %rbx
movq %rbx, %rdi
callq _os_timer_disarm
movq _WS_PING_INTERVAL_MS@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
movl $1, %edx
callq _os_timer_arm
cmpq $0, (%r12)
je LBB0_9
## %bb.1:
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _NODE_DBG
movq (%r12), %rdi
movzwl 8(%r12), %eax
addw %r13w, %ax
movzwl %ax, %esi
callq _realloc
movq %rax, (%r12)
testq %rax, %rax
je LBB0_2
## %bb.8:
movzwl 8(%r12), %ecx
addq %rcx, %rax
movzwl %r13w, %edx
movq %rax, %rdi
movq %r15, %rsi
callq _memcpy
movzwl 8(%r12), %ebx
addw %r13w, %bx
movw %bx, 8(%r12)
movq (%r12), %r15
movzwl %bx, %esi
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _NODE_DBG
movl %ebx, %r13d
LBB0_9:
testq %r15, %r15
je LBB0_57
## %bb.10:
movq %r14, -80(%rbp) ## 8-byte Spill
movq %r12, -56(%rbp) ## 8-byte Spill
jmp LBB0_11
.p2align 4, 0x90
LBB0_20: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.12(%rip), %rdi
xorl %eax, %eax
callq _NODE_DBG
movq -56(%rbp), %r12 ## 8-byte Reload
cmpq $0, (%r12)
je LBB0_24
## %bb.21: ## in Loop: Header=BB0_11 Depth=1
movl -44(%rbp), %r13d ## 4-byte Reload
LBB0_56: ## in Loop: Header=BB0_11 Depth=1
testq %r15, %r15
je LBB0_57
LBB0_11: ## =>This Inner Loop Header: Depth=1
movl %r13d, -44(%rbp) ## 4-byte Spill
movsbl (%r15), %esi
leaq L_.str.4(%rip), %rdi
xorl %eax, %eax
callq _NODE_DBG
movsbl 1(%r15), %esi
leaq L_.str.5(%rip), %rdi
xorl %eax, %eax
callq _NODE_DBG
movsbl 2(%r15), %esi
leaq L_.str.6(%rip), %rdi
xorl %eax, %eax
callq _NODE_DBG
movsbl 3(%r15), %esi
leaq L_.str.7(%rip), %rdi
xorl %eax, %eax
callq _NODE_DBG
movsbl 4(%r15), %esi
leaq L_.str.8(%rip), %rdi
xorl %eax, %eax
callq _NODE_DBG
movsbl 5(%r15), %esi
leaq L_.str.9(%rip), %rdi
xorl %eax, %eax
callq _NODE_DBG
movsbl 6(%r15), %esi
leaq L_.str.10(%rip), %rdi
xorl %eax, %eax
callq _NODE_DBG
movsbl 7(%r15), %esi
leaq L_.str.11(%rip), %rdi
xorl %eax, %eax
callq _NODE_DBG
movzbl 1(%r15), %esi
movl %esi, %ebx
andl $127, %ebx
cmpl $127, %ebx
je LBB0_14
## %bb.12: ## in Loop: Header=BB0_11 Depth=1
movl $2, %r13d
cmpl $126, %ebx
jne LBB0_16
## %bb.13: ## in Loop: Header=BB0_11 Depth=1
leaq 3(%r15), %rax
movsbl 2(%r15), %ecx
shll $8, %ecx
movl $4, %r13d
jmp LBB0_15
.p2align 4, 0x90
LBB0_14: ## in Loop: Header=BB0_11 Depth=1
leaq 5(%r15), %rax
movzbl 2(%r15), %ecx
shll $24, %ecx
movsbl 3(%r15), %edx
shll $16, %edx
addl %ecx, %edx
movsbl 4(%r15), %ecx
shll $8, %ecx
addl %edx, %ecx
movl $6, %r13d
LBB0_15: ## in Loop: Header=BB0_11 Depth=1
movsbl (%rax), %ebx
addl %ecx, %ebx
LBB0_16: ## in Loop: Header=BB0_11 Depth=1
movzbl (%r15), %r12d
testb %sil, %sil
jns LBB0_19
## %bb.17: ## in Loop: Header=BB0_11 Depth=1
testl %ebx, %ebx
jg LBB0_22
## %bb.18: ## in Loop: Header=BB0_11 Depth=1
addl $4, %r13d
LBB0_19: ## in Loop: Header=BB0_11 Depth=1
movzwl -44(%rbp), %eax ## 2-byte Folded Reload
movl %eax, -72(%rbp) ## 4-byte Spill
subl %r13d, %eax
cmpl %eax, %ebx
jg LBB0_20
## %bb.27: ## in Loop: Header=BB0_11 Depth=1
movl %esi, -84(%rbp) ## 4-byte Spill
andl $15, %r12d
movq _WS_OPCODE_CONTINUATION@GOTPCREL(%rip), %rax
cmpl %r12d, (%rax)
jne LBB0_33
## %bb.28: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.19(%rip), %rdi
xorl %eax, %eax
callq _NODE_DBG
movq -56(%rbp), %r12 ## 8-byte Reload
cmpq $0, 16(%r12)
je LBB0_29
## %bb.30: ## in Loop: Header=BB0_11 Depth=1
movl 28(%r12), %esi
addl %ebx, %esi
movl $1, %edi
callq _calloc
testq %rax, %rax
je LBB0_31
## %bb.32: ## in Loop: Header=BB0_11 Depth=1
movq 16(%r12), %rsi
movzwl 28(%r12), %edx
movq %rax, %rdi
movq %rax, %r14
callq _memcpy
movslq 28(%r12), %rdi
movq %r14, -64(%rbp) ## 8-byte Spill
addq %r14, %rdi
movl %r13d, %esi
addq %r15, %rsi
movzwl %bx, %edx
callq _memcpy
movq 16(%r12), %rdi
callq _os_free
movq $0, 16(%r12)
addl 28(%r12), %ebx
movq %r12, %rax
movl 24(%r12), %r12d
movq $0, 24(%rax)
jmp LBB0_41
.p2align 4, 0x90
LBB0_33: ## in Loop: Header=BB0_11 Depth=1
movl %r13d, %r14d
movq _WS_OPCODE_CLOSE@GOTPCREL(%rip), %rax
cmpl %r12d, (%rax)
je LBB0_35
## %bb.34: ## in Loop: Header=BB0_11 Depth=1
xorl %eax, %eax
testl %ebx, %ebx
jle LBB0_36
LBB0_35: ## in Loop: Header=BB0_11 Depth=1
movsbl (%r15,%r14), %esi
movzbl 1(%r15,%r14), %ecx
addb $8, %cl
shll %cl, %esi
leaq L_.str.21(%rip), %rdi
xorl %eax, %eax
callq _NODE_DBG
movl $2, %eax
LBB0_36: ## in Loop: Header=BB0_11 Depth=1
movq %r14, -64(%rbp) ## 8-byte Spill
movl %ebx, %r14d
movl %eax, -68(%rbp) ## 4-byte Spill
subl %eax, %r14d
leal 1(%r14), %esi
movl $1, %edi
callq _calloc
testq %rax, %rax
je LBB0_37
## %bb.40: ## in Loop: Header=BB0_11 Depth=1
movq -64(%rbp), %rcx ## 8-byte Reload
addq %r15, %rcx
movl -68(%rbp), %esi ## 4-byte Reload
addq %rcx, %rsi
movzwl %r14w, %edx
movq %rax, %rdi
movl %r12d, -68(%rbp) ## 4-byte Spill
movq %rax, %r12
callq _memcpy
movslq %r14d, %rax
movq %r12, -64(%rbp) ## 8-byte Spill
movb $0, (%r12,%rax)
movl -68(%rbp), %r12d ## 4-byte Reload
LBB0_41: ## in Loop: Header=BB0_11 Depth=1
movl -84(%rbp), %r14d ## 4-byte Reload
shrl $7, %r14d
leaq L_.str.23(%rip), %rdi
movl $1, %esi
xorl %eax, %eax
callq _NODE_DBG
leaq L_.str.24(%rip), %rdi
movl %r12d, %esi
xorl %eax, %eax
callq _NODE_DBG
leaq L_.str.25(%rip), %rdi
movl %r14d, %esi
xorl %eax, %eax
callq _NODE_DBG
leaq L_.str.26(%rip), %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _NODE_DBG
leaq L_.str.27(%rip), %rdi
movl -72(%rbp), %esi ## 4-byte Reload
xorl %eax, %eax
callq _NODE_DBG
leaq L_.str.28(%rip), %rdi
movl %r13d, %esi
xorl %eax, %eax
callq _NODE_DBG
movq _WS_OPCODE_CLOSE@GOTPCREL(%rip), %rax
cmpl (%rax), %r12d
jne LBB0_43
## %bb.42: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.29(%rip), %rdi
movq -64(%rbp), %r12 ## 8-byte Reload
movq %r12, %rsi
xorl %eax, %eax
callq _NODE_DBG
movq _ws_closeSentCallback@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq -80(%rbp), %r14 ## 8-byte Reload
movq %r14, %rdi
callq _espconn_regist_sentcb
movq _WS_OPCODE_CLOSE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl %r13d, %edx
addq %r15, %rdx
movzwl %bx, %ecx
movq %r14, %rdi
callq _ws_sendFrame
movq %r12, %rdx
movq -56(%rbp), %rax ## 8-byte Reload
movl $4, 32(%rax)
jmp LBB0_49
.p2align 4, 0x90
LBB0_43: ## in Loop: Header=BB0_11 Depth=1
movq _WS_OPCODE_PONG@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _WS_OPCODE_PING@GOTPCREL(%rip), %rax
cmpl (%rax), %r12d
movq -80(%rbp), %r14 ## 8-byte Reload
jne LBB0_45
## %bb.44: ## in Loop: Header=BB0_11 Depth=1
movl %r13d, %edx
addq %r15, %rdx
movzwl %bx, %ecx
movq %r14, %rdi
callq _ws_sendFrame
jmp LBB0_48
LBB0_24: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.13(%rip), %rdi
xorl %eax, %eax
callq _NODE_DBG
movl $1, %edi
movl -72(%rbp), %ebx ## 4-byte Reload
movl %ebx, %esi
callq _calloc
movq %rax, (%r12)
testq %rax, %rax
movl -44(%rbp), %r13d ## 4-byte Reload
je LBB0_25
## %bb.26: ## in Loop: Header=BB0_11 Depth=1
movq %rax, %rdi
movq %r15, %rsi
movl %ebx, %edx
callq _memcpy
movw %r13w, 8(%r12)
jmp LBB0_56
LBB0_45: ## in Loop: Header=BB0_11 Depth=1
cmpl %esi, %r12d
movq -64(%rbp), %rdx ## 8-byte Reload
je LBB0_49
## %bb.46: ## in Loop: Header=BB0_11 Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
movq 48(%rax), %rax
testq %rax, %rax
je LBB0_49
## %bb.47: ## in Loop: Header=BB0_11 Depth=1
movq -56(%rbp), %rdi ## 8-byte Reload
movl %ebx, %esi
movl %r12d, %ecx
callq *%rax
LBB0_48: ## in Loop: Header=BB0_11 Depth=1
movq -64(%rbp), %rdx ## 8-byte Reload
LBB0_49: ## in Loop: Header=BB0_11 Depth=1
movq %rdx, %rdi
callq _os_free
addl %r13d, %ebx
leaq L_.str.28(%rip), %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _NODE_DBG
cmpl -72(%rbp), %ebx ## 4-byte Folded Reload
je LBB0_50
## %bb.52: ## in Loop: Header=BB0_11 Depth=1
movl -44(%rbp), %r13d ## 4-byte Reload
subl %ebx, %r13d
movslq %ebx, %rax
addq %rax, %r15
movq -56(%rbp), %r12 ## 8-byte Reload
cmpq $0, (%r12)
je LBB0_56
## %bb.53: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.30(%rip), %rdi
xorl %eax, %eax
callq _NODE_DBG
movq (%r12), %rdi
movzwl 8(%r12), %eax
addw %r13w, %ax
movzwl %ax, %esi
callq _realloc
movq %rax, (%r12)
testq %rax, %rax
je LBB0_54
## %bb.55: ## in Loop: Header=BB0_11 Depth=1
movzwl 8(%r12), %ecx
addq %rcx, %rax
movzwl %r13w, %edx
movq %rax, %rdi
movq %r15, %rsi
callq _memcpy
addw %r13w, 8(%r12)
movq (%r12), %r15
jmp LBB0_56
LBB0_2:
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _NODE_DBG
movl $-8, 12(%r12)
LBB0_3:
cmpq $0, 40(%r12)
je LBB0_6
## %bb.4:
movq %r14, %rdi
LBB0_5:
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _espconn_secure_disconnect ## TAILCALL
LBB0_6:
movq %r14, %rdi
LBB0_7:
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _espconn_disconnect ## TAILCALL
LBB0_50:
movq -56(%rbp), %rbx ## 8-byte Reload
movq (%rbx), %rdi
testq %rdi, %rdi
je LBB0_57
## %bb.51:
callq _os_free
movq $0, (%rbx)
movw $0, 8(%rbx)
LBB0_57:
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_22:
movl %r13d, %eax
addq %r15, %rax
addq $4, %rax
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_23: ## =>This Inner Loop Header: Depth=1
leal 3(%rcx), %edx
testl %ecx, %ecx
cmovnsl %ecx, %edx
andl $-4, %edx
movl %ecx, %esi
subl %edx, %esi
addl %r13d, %esi
movslq %esi, %rdx
movzbl (%r15,%rdx), %edx
xorb %dl, (%rax,%rcx)
decq %rcx
jmp LBB0_23
LBB0_54:
leaq L_.str.31(%rip), %rdi
xorl %eax, %eax
callq _NODE_DBG
movl $-14, 12(%r12)
jmp LBB0_3
LBB0_37:
leaq L_.str.22(%rip), %rdi
xorl %eax, %eax
callq _NODE_DBG
movq -56(%rbp), %rax ## 8-byte Reload
movl $-13, 12(%rax)
cmpq $0, 40(%rax)
je LBB0_39
## %bb.38:
movq -80(%rbp), %rdi ## 8-byte Reload
jmp LBB0_5
LBB0_29:
leaq L_.str.20(%rip), %rdi
xorl %eax, %eax
callq _NODE_DBG
movl $-15, 12(%r12)
jmp LBB0_3
LBB0_31:
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _NODE_DBG
movl $-12, 12(%r12)
jmp LBB0_3
LBB0_25:
leaq L_.str.14(%rip), %rdi
xorl %eax, %eax
callq _NODE_DBG
movl $-9, 12(%r12)
jmp LBB0_3
LBB0_39:
movq -80(%rbp), %rdi ## 8-byte Reload
jmp LBB0_7
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "ws_receiveCallback %d \n"
.comm _WS_PING_INTERVAL_MS,4,2 ## @WS_PING_INTERVAL_MS
L_.str.1: ## @.str.1
.asciz "Appending new frameBuffer to old one \n"
L_.str.2: ## @.str.2
.asciz "Failed to allocate new framebuffer, disconnecting...\n"
L_.str.3: ## @.str.3
.asciz "New frameBufferLen: %d\n"
L_.str.4: ## @.str.4
.asciz "b[0] = %d \n"
L_.str.5: ## @.str.5
.asciz "b[1] = %d \n"
L_.str.6: ## @.str.6
.asciz "b[2] = %d \n"
L_.str.7: ## @.str.7
.asciz "b[3] = %d \n"
L_.str.8: ## @.str.8
.asciz "b[4] = %d \n"
L_.str.9: ## @.str.9
.asciz "b[5] = %d \n"
L_.str.10: ## @.str.10
.asciz "b[6] = %d \n"
L_.str.11: ## @.str.11
.asciz "b[7] = %d \n"
L_.str.12: ## @.str.12
.asciz "INCOMPLETE Frame \n"
L_.str.13: ## @.str.13
.asciz "Allocing new frameBuffer \n"
L_.str.14: ## @.str.14
.asciz "Failed to allocate framebuffer, disconnecting... \n"
.comm _WS_OPCODE_CONTINUATION,4,2 ## @WS_OPCODE_CONTINUATION
L_.str.19: ## @.str.19
.asciz "restoring original opcode\n"
L_.str.20: ## @.str.20
.asciz "Got FIN continuation frame but didn't receive any beforehand, disconnecting...\n"
.comm _WS_OPCODE_CLOSE,4,2 ## @WS_OPCODE_CLOSE
L_.str.21: ## @.str.21
.asciz "Closing due to: %d\n"
L_.str.22: ## @.str.22
.asciz "Failed to allocate payload, disconnecting...\n"
L_.str.23: ## @.str.23
.asciz "isFin %d \n"
L_.str.24: ## @.str.24
.asciz "opCode %d \n"
L_.str.25: ## @.str.25
.asciz "hasMask %d \n"
L_.str.26: ## @.str.26
.asciz "payloadLength %d \n"
L_.str.27: ## @.str.27
.asciz "len %d \n"
L_.str.28: ## @.str.28
.asciz "bufOffset %d \n"
L_.str.29: ## @.str.29
.asciz "Closing message: %s\n"
.comm _ws_closeSentCallback,4,2 ## @ws_closeSentCallback
.comm _WS_OPCODE_PING,4,2 ## @WS_OPCODE_PING
.comm _WS_OPCODE_PONG,4,2 ## @WS_OPCODE_PONG
L_.str.30: ## @.str.30
.asciz "Reallocing frameBuffer to remove consumed frame\n"
L_.str.31: ## @.str.31
.asciz "Failed to allocate new frame buffer, disconnecting...\n"
.no_dead_strip _ws_receiveCallback
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function ws_receiveCallback
_ws_receiveCallback: ; @ws_receiveCallback
.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, x2
mov x21, x1
mov x22, x0
str x27, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _NODE_DBG
ldr x20, [x22]
str xzr, [x20, #64]
add x0, x20, #56
bl _os_timer_disarm
Lloh2:
adrp x8, _WS_PING_INTERVAL_MS@GOTPAGE
Lloh3:
ldr x8, [x8, _WS_PING_INTERVAL_MS@GOTPAGEOFF]
Lloh4:
ldr w1, [x8]
add x0, x20, #56
mov w2, #1 ; =0x1
bl _os_timer_arm
ldr x8, [x20]
cbz x8, LBB0_3
; %bb.1:
Lloh5:
adrp x0, l_.str.1@PAGE
Lloh6:
add x0, x0, l_.str.1@PAGEOFF
bl _NODE_DBG
ldr x0, [x20]
ldrh w8, [x20, #8]
add w8, w8, w27
and w1, w8, #0xffff
bl _realloc
str x0, [x20]
cbz x0, LBB0_41
; %bb.2:
ldrh w8, [x20, #8]
add x0, x0, x8
mov x1, x21
mov x2, x27
bl _memcpy
ldrh w8, [x20, #8]
add w19, w8, w27
strh w19, [x20, #8]
ldr x21, [x20]
and x8, x19, #0xffff
str x8, [sp]
Lloh7:
adrp x0, l_.str.3@PAGE
Lloh8:
add x0, x0, l_.str.3@PAGEOFF
bl _NODE_DBG
mov x27, x19
LBB0_3:
cbz x21, LBB0_49
; %bb.4:
Lloh9:
adrp x28, l_.str.4@PAGE
Lloh10:
add x28, x28, l_.str.4@PAGEOFF
str x22, [sp, #8] ; 8-byte Folded Spill
b LBB0_7
LBB0_5: ; in Loop: Header=BB0_7 Depth=1
Lloh11:
adrp x28, l_.str.4@PAGE
Lloh12:
add x28, x28, l_.str.4@PAGEOFF
LBB0_6: ; in Loop: Header=BB0_7 Depth=1
cbz x21, LBB0_49
LBB0_7: ; =>This Inner Loop Header: Depth=1
ldrsb x8, [x21]
str x8, [sp]
mov x0, x28
bl _NODE_DBG
ldrsb x8, [x21, #1]
str x8, [sp]
Lloh13:
adrp x0, l_.str.5@PAGE
Lloh14:
add x0, x0, l_.str.5@PAGEOFF
bl _NODE_DBG
ldrsb x8, [x21, #2]
str x8, [sp]
Lloh15:
adrp x0, l_.str.6@PAGE
Lloh16:
add x0, x0, l_.str.6@PAGEOFF
bl _NODE_DBG
mov x26, x21
ldrsb x8, [x26, #3]!
str x8, [sp]
Lloh17:
adrp x0, l_.str.7@PAGE
Lloh18:
add x0, x0, l_.str.7@PAGEOFF
bl _NODE_DBG
ldrsb x8, [x21, #4]
str x8, [sp]
Lloh19:
adrp x0, l_.str.8@PAGE
Lloh20:
add x0, x0, l_.str.8@PAGEOFF
bl _NODE_DBG
mov x19, x21
ldrsb x8, [x19, #5]!
str x8, [sp]
Lloh21:
adrp x0, l_.str.9@PAGE
Lloh22:
add x0, x0, l_.str.9@PAGEOFF
bl _NODE_DBG
ldrsb x8, [x21, #6]
str x8, [sp]
Lloh23:
adrp x0, l_.str.10@PAGE
Lloh24:
add x0, x0, l_.str.10@PAGEOFF
bl _NODE_DBG
ldrsb x8, [x21, #7]
str x8, [sp]
Lloh25:
adrp x0, l_.str.11@PAGE
Lloh26:
add x0, x0, l_.str.11@PAGEOFF
bl _NODE_DBG
ldrb w24, [x21, #1]
and w25, w24, #0x7f
cmp w25, #127
b.eq LBB0_10
; %bb.8: ; in Loop: Header=BB0_7 Depth=1
cmp w25, #126
b.ne LBB0_12
; %bb.9: ; in Loop: Header=BB0_7 Depth=1
ldrsb w8, [x21, #2]
lsl w8, w8, #8
mov w23, #4 ; =0x4
b LBB0_11
LBB0_10: ; in Loop: Header=BB0_7 Depth=1
ldrb w8, [x21, #2]
ldrsb w9, [x21, #3]
lsl w9, w9, #16
add w8, w9, w8, lsl #24
ldrsb w9, [x21, #4]
add w8, w8, w9, lsl #8
mov w23, #6 ; =0x6
mov x26, x19
LBB0_11: ; in Loop: Header=BB0_7 Depth=1
ldrsb w9, [x26]
add w25, w8, w9
b LBB0_13
LBB0_12: ; in Loop: Header=BB0_7 Depth=1
mov w23, #2 ; =0x2
LBB0_13: ; in Loop: Header=BB0_7 Depth=1
ldrb w8, [x21]
sxtb w9, w24
tbz w9, #31, LBB0_16
; %bb.14: ; in Loop: Header=BB0_7 Depth=1
cmp w25, #1
b.ge LBB0_50
; %bb.15: ; in Loop: Header=BB0_7 Depth=1
add w23, w23, #4
LBB0_16: ; in Loop: Header=BB0_7 Depth=1
and w26, w27, #0xffff
sub w9, w26, w23
cmp w25, w9
b.le LBB0_20
; %bb.17: ; in Loop: Header=BB0_7 Depth=1
Lloh27:
adrp x0, l_.str.12@PAGE
Lloh28:
add x0, x0, l_.str.12@PAGEOFF
bl _NODE_DBG
ldr x8, [x20]
cbnz x8, LBB0_6
; %bb.18: ; in Loop: Header=BB0_7 Depth=1
Lloh29:
adrp x0, l_.str.13@PAGE
Lloh30:
add x0, x0, l_.str.13@PAGEOFF
bl _NODE_DBG
mov w0, #1 ; =0x1
mov x1, x26
bl _calloc
str x0, [x20]
cbz x0, LBB0_57
; %bb.19: ; in Loop: Header=BB0_7 Depth=1
and w2, w27, #0xffff
mov x1, x21
bl _memcpy
strh w27, [x20, #8]
b LBB0_6
LBB0_20: ; in Loop: Header=BB0_7 Depth=1
and w28, w8, #0xf
Lloh31:
adrp x8, _WS_OPCODE_CONTINUATION@GOTPAGE
Lloh32:
ldr x8, [x8, _WS_OPCODE_CONTINUATION@GOTPAGEOFF]
Lloh33:
ldr w8, [x8]
cmp w8, w28
str x27, [sp, #24] ; 8-byte Folded Spill
b.ne LBB0_24
; %bb.21: ; in Loop: Header=BB0_7 Depth=1
Lloh34:
adrp x0, l_.str.19@PAGE
Lloh35:
add x0, x0, l_.str.19@PAGEOFF
bl _NODE_DBG
ldr x8, [x20, #16]
cbz x8, LBB0_55
; %bb.22: ; in Loop: Header=BB0_7 Depth=1
ldr w8, [x20, #28]
add w1, w8, w25
mov w0, #1 ; =0x1
bl _calloc
cbz x0, LBB0_56
; %bb.23: ; in Loop: Header=BB0_7 Depth=1
mov x27, x0
ldr x1, [x20, #16]
ldrh w2, [x20, #28]
bl _memcpy
ldrsw x8, [x20, #28]
add x1, x21, w23, uxtw
add x0, x27, x8
and w2, w25, #0xffff
bl _memcpy
ldr x0, [x20, #16]
bl _os_free
ldp w28, w8, [x20, #24]
add w25, w8, w25
stp xzr, xzr, [x20, #16]
b LBB0_30
LBB0_24: ; in Loop: Header=BB0_7 Depth=1
str x26, [sp, #16] ; 8-byte Folded Spill
Lloh36:
adrp x8, _WS_OPCODE_CLOSE@GOTPAGE
Lloh37:
ldr x8, [x8, _WS_OPCODE_CLOSE@GOTPAGEOFF]
Lloh38:
ldr w8, [x8]
add x19, x21, w23, uxtw
cmp w8, w28
b.eq LBB0_27
; %bb.25: ; in Loop: Header=BB0_7 Depth=1
cmp w25, #1
b.ge LBB0_27
; %bb.26: ; in Loop: Header=BB0_7 Depth=1
mov w26, #0 ; =0x0
b LBB0_28
LBB0_27: ; in Loop: Header=BB0_7 Depth=1
ldrsb w8, [x19]
ldrsb w9, [x19, #1]
add w9, w9, #8
lsl w8, w8, w9
str x8, [sp]
Lloh39:
adrp x0, l_.str.21@PAGE
Lloh40:
add x0, x0, l_.str.21@PAGEOFF
bl _NODE_DBG
mov w26, #2 ; =0x2
LBB0_28: ; in Loop: Header=BB0_7 Depth=1
sub w22, w25, w26
add w1, w22, #1
mov w0, #1 ; =0x1
bl _calloc
cbz x0, LBB0_53
; %bb.29: ; in Loop: Header=BB0_7 Depth=1
mov x27, x0
add x1, x19, w26, uxtw
and w2, w22, #0xffff
bl _memcpy
strb wzr, [x27, w22, sxtw]
ldp x22, x26, [sp, #8] ; 16-byte Folded Reload
LBB0_30: ; in Loop: Header=BB0_7 Depth=1
lsr w19, w24, #7
mov w8, #1 ; =0x1
str x8, [sp]
Lloh41:
adrp x0, l_.str.23@PAGE
Lloh42:
add x0, x0, l_.str.23@PAGEOFF
bl _NODE_DBG
str x28, [sp]
Lloh43:
adrp x0, l_.str.24@PAGE
Lloh44:
add x0, x0, l_.str.24@PAGEOFF
bl _NODE_DBG
str x19, [sp]
Lloh45:
adrp x0, l_.str.25@PAGE
Lloh46:
add x0, x0, l_.str.25@PAGEOFF
bl _NODE_DBG
str x25, [sp]
Lloh47:
adrp x0, l_.str.26@PAGE
Lloh48:
add x0, x0, l_.str.26@PAGEOFF
bl _NODE_DBG
str x26, [sp]
Lloh49:
adrp x0, l_.str.27@PAGE
Lloh50:
add x0, x0, l_.str.27@PAGEOFF
bl _NODE_DBG
str x23, [sp]
Lloh51:
adrp x0, l_.str.28@PAGE
Lloh52:
add x0, x0, l_.str.28@PAGEOFF
bl _NODE_DBG
Lloh53:
adrp x9, _WS_OPCODE_CLOSE@GOTPAGE
Lloh54:
ldr x9, [x9, _WS_OPCODE_CLOSE@GOTPAGEOFF]
ldr w8, [x9]
cmp w28, w8
b.ne LBB0_32
; %bb.31: ; in Loop: Header=BB0_7 Depth=1
str x27, [sp]
Lloh55:
adrp x0, l_.str.29@PAGE
Lloh56:
add x0, x0, l_.str.29@PAGEOFF
mov x19, x9
bl _NODE_DBG
Lloh57:
adrp x8, _ws_closeSentCallback@GOTPAGE
Lloh58:
ldr x8, [x8, _ws_closeSentCallback@GOTPAGEOFF]
Lloh59:
ldr w1, [x8]
mov x0, x22
bl _espconn_regist_sentcb
ldr w1, [x19]
add x2, x21, w23, uxtw
and w3, w25, #0xffff
mov x0, x22
bl _ws_sendFrame
mov w8, #4 ; =0x4
str w8, [x20, #32]
b LBB0_37
LBB0_32: ; in Loop: Header=BB0_7 Depth=1
Lloh60:
adrp x8, _WS_OPCODE_PING@GOTPAGE
Lloh61:
ldr x8, [x8, _WS_OPCODE_PING@GOTPAGEOFF]
Lloh62:
ldr w8, [x8]
Lloh63:
adrp x9, _WS_OPCODE_PONG@GOTPAGE
Lloh64:
ldr x9, [x9, _WS_OPCODE_PONG@GOTPAGEOFF]
Lloh65:
ldr w1, [x9]
cmp w28, w8
b.ne LBB0_34
; %bb.33: ; in Loop: Header=BB0_7 Depth=1
add x2, x21, w23, uxtw
and w3, w25, #0xffff
mov x0, x22
bl _ws_sendFrame
b LBB0_37
LBB0_34: ; in Loop: Header=BB0_7 Depth=1
cmp w28, w1
b.eq LBB0_37
; %bb.35: ; in Loop: Header=BB0_7 Depth=1
ldr x8, [x20, #48]
cbz x8, LBB0_37
; %bb.36: ; in Loop: Header=BB0_7 Depth=1
mov x0, x20
mov x1, x25
mov x2, x27
mov x3, x28
blr x8
LBB0_37: ; in Loop: Header=BB0_7 Depth=1
mov x0, x27
bl _os_free
add w19, w25, w23
str x19, [sp]
Lloh66:
adrp x0, l_.str.28@PAGE
Lloh67:
add x0, x0, l_.str.28@PAGEOFF
bl _NODE_DBG
cmp w19, w26
b.eq LBB0_47
; %bb.38: ; in Loop: Header=BB0_7 Depth=1
ldr x27, [sp, #24] ; 8-byte Folded Reload
sub w27, w27, w19
add x21, x21, w19, sxtw
ldr x8, [x20]
cbz x8, LBB0_5
; %bb.39: ; in Loop: Header=BB0_7 Depth=1
Lloh68:
adrp x0, l_.str.30@PAGE
Lloh69:
add x0, x0, l_.str.30@PAGEOFF
bl _NODE_DBG
ldr x0, [x20]
ldrh w8, [x20, #8]
add w8, w8, w27
and w1, w8, #0xffff
bl _realloc
str x0, [x20]
Lloh70:
adrp x28, l_.str.4@PAGE
Lloh71:
add x28, x28, l_.str.4@PAGEOFF
cbz x0, LBB0_52
; %bb.40: ; in Loop: Header=BB0_7 Depth=1
ldrh w8, [x20, #8]
add x0, x0, x8
and w2, w27, #0xffff
mov x1, x21
bl _memcpy
ldrh w8, [x20, #8]
add w8, w8, w27
strh w8, [x20, #8]
ldr x21, [x20]
b LBB0_6
LBB0_41:
Lloh72:
adrp x0, l_.str.2@PAGE
Lloh73:
add x0, x0, l_.str.2@PAGEOFF
bl _NODE_DBG
mov w8, #-8 ; =0xfffffff8
LBB0_42:
str w8, [x20, #12]
ldr x8, [x20, #40]
cbz x8, LBB0_45
; %bb.43:
mov x0, x22
LBB0_44:
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
ldp x28, x27, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #128
b _espconn_secure_disconnect
LBB0_45:
mov x0, x22
LBB0_46:
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
ldp x28, x27, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #128
b _espconn_disconnect
LBB0_47:
ldr x0, [x20]
cbz x0, LBB0_49
; %bb.48:
bl _os_free
str xzr, [x20]
strh wzr, [x20, #8]
LBB0_49:
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
ldp x28, x27, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #128
ret
LBB0_50:
mov x8, #0 ; =0x0
add x9, x21, w23, uxtw
add x9, x9, #4
LBB0_51: ; =>This Inner Loop Header: Depth=1
negs w10, w8
and w10, w10, #0x3
and w11, w8, #0x3
csneg w10, w11, w10, mi
add w10, w10, w23
ldrb w10, [x21, w10, sxtw]
ldrb w11, [x9, x8]
eor w10, w11, w10
strb w10, [x9, x8]
sub x8, x8, #1
b LBB0_51
LBB0_52:
Lloh74:
adrp x0, l_.str.31@PAGE
Lloh75:
add x0, x0, l_.str.31@PAGEOFF
bl _NODE_DBG
mov w8, #-14 ; =0xfffffff2
b LBB0_42
LBB0_53:
Lloh76:
adrp x0, l_.str.22@PAGE
Lloh77:
add x0, x0, l_.str.22@PAGEOFF
bl _NODE_DBG
mov w8, #-13 ; =0xfffffff3
str w8, [x20, #12]
ldr x8, [x20, #40]
cbz x8, LBB0_58
; %bb.54:
ldr x0, [sp, #8] ; 8-byte Folded Reload
b LBB0_44
LBB0_55:
Lloh78:
adrp x0, l_.str.20@PAGE
Lloh79:
add x0, x0, l_.str.20@PAGEOFF
bl _NODE_DBG
mov w8, #-15 ; =0xfffffff1
b LBB0_42
LBB0_56:
Lloh80:
adrp x0, l_.str.2@PAGE
Lloh81:
add x0, x0, l_.str.2@PAGEOFF
bl _NODE_DBG
mov w8, #-12 ; =0xfffffff4
b LBB0_42
LBB0_57:
Lloh82:
adrp x0, l_.str.14@PAGE
Lloh83:
add x0, x0, l_.str.14@PAGEOFF
bl _NODE_DBG
mov w8, #-9 ; =0xfffffff7
b LBB0_42
LBB0_58:
ldr x0, [sp, #8] ; 8-byte Folded Reload
b LBB0_46
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpAdd Lloh29, Lloh30
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.loh AdrpAdd Lloh34, Lloh35
.loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38
.loh AdrpAdd Lloh39, Lloh40
.loh AdrpLdrGot Lloh53, Lloh54
.loh AdrpAdd Lloh51, Lloh52
.loh AdrpAdd Lloh49, Lloh50
.loh AdrpAdd Lloh47, Lloh48
.loh AdrpAdd Lloh45, Lloh46
.loh AdrpAdd Lloh43, Lloh44
.loh AdrpAdd Lloh41, Lloh42
.loh AdrpLdrGotLdr Lloh57, Lloh58, Lloh59
.loh AdrpAdd Lloh55, Lloh56
.loh AdrpLdrGotLdr Lloh63, Lloh64, Lloh65
.loh AdrpLdrGotLdr Lloh60, Lloh61, Lloh62
.loh AdrpAdd Lloh66, Lloh67
.loh AdrpAdd Lloh70, Lloh71
.loh AdrpAdd Lloh68, Lloh69
.loh AdrpAdd Lloh72, Lloh73
.loh AdrpAdd Lloh74, Lloh75
.loh AdrpAdd Lloh76, Lloh77
.loh AdrpAdd Lloh78, Lloh79
.loh AdrpAdd Lloh80, Lloh81
.loh AdrpAdd Lloh82, Lloh83
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "ws_receiveCallback %d \n"
.comm _WS_PING_INTERVAL_MS,4,2 ; @WS_PING_INTERVAL_MS
l_.str.1: ; @.str.1
.asciz "Appending new frameBuffer to old one \n"
l_.str.2: ; @.str.2
.asciz "Failed to allocate new framebuffer, disconnecting...\n"
l_.str.3: ; @.str.3
.asciz "New frameBufferLen: %d\n"
l_.str.4: ; @.str.4
.asciz "b[0] = %d \n"
l_.str.5: ; @.str.5
.asciz "b[1] = %d \n"
l_.str.6: ; @.str.6
.asciz "b[2] = %d \n"
l_.str.7: ; @.str.7
.asciz "b[3] = %d \n"
l_.str.8: ; @.str.8
.asciz "b[4] = %d \n"
l_.str.9: ; @.str.9
.asciz "b[5] = %d \n"
l_.str.10: ; @.str.10
.asciz "b[6] = %d \n"
l_.str.11: ; @.str.11
.asciz "b[7] = %d \n"
l_.str.12: ; @.str.12
.asciz "INCOMPLETE Frame \n"
l_.str.13: ; @.str.13
.asciz "Allocing new frameBuffer \n"
l_.str.14: ; @.str.14
.asciz "Failed to allocate framebuffer, disconnecting... \n"
.comm _WS_OPCODE_CONTINUATION,4,2 ; @WS_OPCODE_CONTINUATION
l_.str.19: ; @.str.19
.asciz "restoring original opcode\n"
l_.str.20: ; @.str.20
.asciz "Got FIN continuation frame but didn't receive any beforehand, disconnecting...\n"
.comm _WS_OPCODE_CLOSE,4,2 ; @WS_OPCODE_CLOSE
l_.str.21: ; @.str.21
.asciz "Closing due to: %d\n"
l_.str.22: ; @.str.22
.asciz "Failed to allocate payload, disconnecting...\n"
l_.str.23: ; @.str.23
.asciz "isFin %d \n"
l_.str.24: ; @.str.24
.asciz "opCode %d \n"
l_.str.25: ; @.str.25
.asciz "hasMask %d \n"
l_.str.26: ; @.str.26
.asciz "payloadLength %d \n"
l_.str.27: ; @.str.27
.asciz "len %d \n"
l_.str.28: ; @.str.28
.asciz "bufOffset %d \n"
l_.str.29: ; @.str.29
.asciz "Closing message: %s\n"
.comm _ws_closeSentCallback,4,2 ; @ws_closeSentCallback
.comm _WS_OPCODE_PING,4,2 ; @WS_OPCODE_PING
.comm _WS_OPCODE_PONG,4,2 ; @WS_OPCODE_PONG
l_.str.30: ; @.str.30
.asciz "Reallocing frameBuffer to remove consumed frame\n"
l_.str.31: ; @.str.31
.asciz "Failed to allocate new frame buffer, disconnecting...\n"
.no_dead_strip _ws_receiveCallback
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _fiov_adjust ## -- Begin function fiov_adjust
.p2align 4, 0x90
_fiov_adjust: ## @fiov_adjust
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r14
movq (%rdi), %rax
subq %rsi, %rax
jae LBB0_1
LBB0_3:
movq 16(%r14), %r15
movq %rbx, %rdi
callq _FU_AT_LEAST
movq _M_FUSEMSG@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
movq _M_WAITOK@GOTPCREL(%rip), %rsi
movq _M_ZERO@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl (%rsi), %ecx
movq %r15, %rdi
movq %rax, %rsi
callq _realloc
movq %rax, 16(%r14)
testq %rax, %rax
jne LBB0_5
## %bb.4:
leaq L_.str(%rip), %rdi
callq _panic
LBB0_5:
movq %rbx, %rdi
callq _FU_AT_LEAST
movq %rax, (%r14)
movq _fuse_iov_credit@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, 8(%r14)
movq 16(%r14), %rdi
movq %rbx, %rsi
jmp LBB0_8
LBB0_1:
movq _fuse_iov_permanent_bufsize@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
testq %rcx, %rcx
sets %dl
cmpq %rcx, %rax
setbe %al
orb %dl, %al
jne LBB0_6
## %bb.2:
movq 8(%r14), %rax
leaq 1(%rax), %rcx
movq %rcx, 8(%r14)
cmpq $-2, %rax
jle LBB0_3
LBB0_6:
movq 24(%r14), %rax
movq %rbx, %rsi
subq %rax, %rsi
jb LBB0_9
## %bb.7:
movq 16(%r14), %rdi
subq %rax, %rdi
LBB0_8:
callq _bzero
LBB0_9:
movq %rbx, 24(%r14)
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _fuse_iov_permanent_bufsize,8,3 ## @fuse_iov_permanent_bufsize
.comm _M_FUSEMSG,4,2 ## @M_FUSEMSG
.comm _M_WAITOK,4,2 ## @M_WAITOK
.comm _M_ZERO,4,2 ## @M_ZERO
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "FUSE: realloc failed"
.comm _fuse_iov_credit,8,3 ## @fuse_iov_credit
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _fiov_adjust ; -- Begin function fiov_adjust
.p2align 2
_fiov_adjust: ; @fiov_adjust
.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
ldr x8, [x0]
subs x8, x8, x1
b.hs LBB0_4
LBB0_1:
ldr x21, [x20, #16]
mov x0, x19
bl _FU_AT_LEAST
mov x1, x0
Lloh0:
adrp x8, _M_FUSEMSG@GOTPAGE
Lloh1:
ldr x8, [x8, _M_FUSEMSG@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
Lloh3:
adrp x8, _M_WAITOK@GOTPAGE
Lloh4:
ldr x8, [x8, _M_WAITOK@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
Lloh6:
adrp x9, _M_ZERO@GOTPAGE
Lloh7:
ldr x9, [x9, _M_ZERO@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
orr w3, w9, w8
mov x0, x21
bl _realloc
str x0, [x20, #16]
cbnz x0, LBB0_3
; %bb.2:
Lloh9:
adrp x0, l_.str@PAGE
Lloh10:
add x0, x0, l_.str@PAGEOFF
bl _panic
LBB0_3:
mov x0, x19
bl _FU_AT_LEAST
str x0, [x20]
Lloh11:
adrp x8, _fuse_iov_credit@GOTPAGE
Lloh12:
ldr x8, [x8, _fuse_iov_credit@GOTPAGEOFF]
Lloh13:
ldr x8, [x8]
str x8, [x20, #8]
ldr x0, [x20, #16]
mov x1, x19
b LBB0_9
LBB0_4:
Lloh14:
adrp x9, _fuse_iov_permanent_bufsize@GOTPAGE
Lloh15:
ldr x9, [x9, _fuse_iov_permanent_bufsize@GOTPAGEOFF]
Lloh16:
ldr x9, [x9]
tbnz x9, #63, LBB0_7
; %bb.5:
cmp x8, x9
b.ls LBB0_7
; %bb.6:
ldr x8, [x20, #8]
add x9, x8, #1
str x9, [x20, #8]
cmn x8, #2
b.le LBB0_1
LBB0_7:
ldr x8, [x20, #24]
subs x1, x19, x8
b.lo LBB0_10
; %bb.8:
ldr x9, [x20, #16]
sub x0, x9, x8
LBB0_9:
bl _bzero
LBB0_10:
str x19, [x20, #24]
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 Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.cfi_endproc
; -- End function
.comm _fuse_iov_permanent_bufsize,8,3 ; @fuse_iov_permanent_bufsize
.comm _M_FUSEMSG,4,2 ; @M_FUSEMSG
.comm _M_WAITOK,4,2 ; @M_WAITOK
.comm _M_ZERO,4,2 ; @M_ZERO
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "FUSE: realloc failed"
.comm _fuse_iov_credit,8,3 ; @fuse_iov_credit
.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 $256, (%r12) ## imm = 0x100
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, #256
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 mpc_input_success
_mpc_input_success: ## @mpc_input_success
.cfi_startproc
## %bb.0:
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
movl %esi, %r14d
movq (%rdi), %rax
movq _MPC_INPUT_PIPE@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_4
## %bb.1:
cmpq $0, 8(%rdi)
je LBB0_4
## %bb.2:
movq %rdi, %r15
callq _mpc_input_buffer_in_range
movq %r15, %rdi
testl %eax, %eax
jne LBB0_4
## %bb.3:
movq 8(%rdi), %r12
movq %r12, %rdi
callq _strlen
## kill: def $eax killed $eax def $rax
leal 2(%rax), %esi
movq %r12, %rdi
callq _realloc
movq %rax, %r12
movq %rax, 8(%r15)
movq %rax, %rdi
callq _strlen
cltq
movb $0, 1(%r12,%rax)
movq 8(%r15), %r12
movq %r12, %rdi
callq _strlen
movq %r15, %rdi
cltq
movb %r14b, (%r12,%rax)
LBB0_4:
movb %r14b, 16(%rdi)
decl 40(%rdi)
incq 32(%rdi)
cmpb $10, %r14b
jne LBB0_6
## %bb.5:
movq $0, 32(%rdi)
incl 24(%rdi)
LBB0_6:
testq %rbx, %rbx
je LBB0_8
## %bb.7:
movl $2, %esi
callq _mpc_malloc
movq %rax, (%rbx)
movb %r14b, (%rax)
movq (%rbx), %rax
movb $0, 1(%rax)
LBB0_8:
movl $1, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MPC_INPUT_PIPE,8,3 ## @MPC_INPUT_PIPE
.no_dead_strip _mpc_input_success
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function mpc_input_success
_mpc_input_success: ; @mpc_input_success
.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 x20, x1
ldr x8, [x0]
Lloh0:
adrp x9, _MPC_INPUT_PIPE@GOTPAGE
Lloh1:
ldr x9, [x9, _MPC_INPUT_PIPE@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_4
; %bb.1:
ldr x8, [x0, #8]
cbz x8, LBB0_4
; %bb.2:
mov x21, x0
bl _mpc_input_buffer_in_range
mov x8, x0
mov x0, x21
cbnz w8, LBB0_4
; %bb.3:
ldr x22, [x0, #8]
mov x0, x22
bl _strlen
add w1, w0, #2
mov x0, x22
bl _realloc
mov x22, x0
str x0, [x21, #8]
bl _strlen
add x8, x22, w0, sxtw
strb wzr, [x8, #1]
ldr x22, [x21, #8]
mov x0, x22
bl _strlen
mov x8, x0
mov x0, x21
strb w20, [x22, w8, sxtw]
LBB0_4:
strb w20, [x0, #16]
ldr w8, [x0, #40]
sub w8, w8, #1
str w8, [x0, #40]
ldr x8, [x0, #32]
add x8, x8, #1
str x8, [x0, #32]
cmp w20, #10
b.ne LBB0_6
; %bb.5:
str xzr, [x0, #32]
ldr w8, [x0, #24]
add w8, w8, #1
str w8, [x0, #24]
LBB0_6:
cbz x19, LBB0_8
; %bb.7:
mov w1, #2 ; =0x2
bl _mpc_malloc
str x0, [x19]
strb w20, [x0]
ldr x8, [x19]
strb wzr, [x8, #1]
LBB0_8:
mov w0, #1 ; =0x1
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 _MPC_INPUT_PIPE,8,3 ; @MPC_INPUT_PIPE
.no_dead_strip _mpc_input_success
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _node_nodes_concat ## -- Begin function node_nodes_concat
.p2align 4, 0x90
_node_nodes_concat: ## @node_nodes_concat
.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
testq %rdi, %rdi
je LBB0_1
## %bb.2:
movq %rdi, %rbx
testq %r14, %r14
je LBB0_7
## %bb.3:
movl (%rbx), %edi
movl (%r14), %edx
leal (%rdx,%rdi), %eax
cmpl 4(%rbx), %eax
jle LBB0_4
## %bb.5:
leal 10(%rax), %ecx
movl %ecx, 4(%rbx)
movl 8(%rbx), %edi
leal 80(,%rax,8), %esi
callq _realloc
movl %eax, 8(%rbx)
movl (%rbx), %edi
movl (%r14), %edx
jmp LBB0_6
LBB0_1:
movq %r14, %rbx
jmp LBB0_7
LBB0_4:
movl 8(%rbx), %eax
LBB0_6:
addl %eax, %edi
movl 8(%r14), %esi
shll $3, %edx
## kill: def $edi killed $edi killed $rdi
## kill: def $edx killed $edx killed $rdx
callq _memcpy
movl (%r14), %eax
addl %eax, (%rbx)
LBB0_7:
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _node_nodes_concat ; -- Begin function node_nodes_concat
.p2align 2
_node_nodes_concat: ; @node_nodes_concat
.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
cbz x0, LBB0_4
; %bb.1:
cbz x19, LBB0_7
; %bb.2:
ldr w9, [x19]
ldp w8, w11, [x0]
add w10, w9, w8
cmp w10, w11
b.le LBB0_5
; %bb.3:
add w9, w10, #10
str w9, [x0, #4]
ldr w8, [x0, #8]
lsl w1, w9, #3
mov x21, x0
mov x0, x8
bl _realloc
str w0, [x21, #8]
mov x20, x21
ldr w8, [x21]
ldr w9, [x19]
b LBB0_6
LBB0_4:
mov x0, x19
b LBB0_7
LBB0_5:
mov x20, x0
ldr w0, [x0, #8]
LBB0_6:
ldr w1, [x19, #8]
lsl w2, w9, #3
add w0, w8, w0
bl _memcpy
ldr w8, [x19]
mov x0, x20
ldr w9, [x20]
add w8, w9, w8
str w8, [x20]
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
.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 compile_tr
_compile_tr: ## @compile_tr
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_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, %r13
movq %rdi, %r12
movq %rsp, -88(%rbp) ## 8-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq __POSIX2_LINE_MAX@GOTPCREL(%rip), %rbx
movl (%rbx), %eax
decl %eax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r14
movl (%rbx), %eax
incl %eax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r15
movl $24, %edi
callq _malloc
movq %rax, %rbx
movq %rax, (%r13)
testq %rax, %rax
je LBB0_2
## %bb.1:
movl $1, %edi
xorl %esi, %esi
callq _err
LBB0_2:
movq $0, 16(%rbx)
movl $0, (%rbx)
movq %r12, %rdi
movq %r14, %rsi
movl $1, %edx
callq _compile_delimited
movq %rax, %r12
testq %rax, %rax
jne LBB0_4
## %bb.3:
movq _linenum@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _fname@GOTPCREL(%rip), %rax
movl (%rax), %ecx
leaq L_.str.1(%rip), %rsi
movl $1, %edi
callq _errx
LBB0_4:
decq %r12
movq %r12, %rdi
movq %r15, %rsi
movl $1, %edx
callq _compile_delimited
movq %rax, -80(%rbp) ## 8-byte Spill
testq %rax, %rax
jne LBB0_6
## %bb.5:
movq _linenum@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _fname@GOTPCREL(%rip), %rax
movl (%rax), %ecx
leaq L_.str.2(%rip), %rsi
movl $1, %edi
callq _errx
LBB0_6:
xorl %eax, %eax
callq _EATSPACE
movq %r14, -56(%rbp)
leaq -56(%rbp), %rsi
xorl %edi, %edi
xorl %edx, %edx
xorl %ecx, %ecx
callq _mbsrtowcs
movq %rax, %r14
cmpq $-1, %rax
jne LBB0_8
## %bb.7:
movl $1, %edi
xorl %esi, %esi
callq _err
LBB0_8:
movq %r15, -64(%rbp)
leaq -64(%rbp), %rsi
xorl %edi, %edi
xorl %edx, %edx
xorl %ecx, %ecx
callq _mbsrtowcs
movq %rax, %r15
cmpq $-1, %rax
je LBB0_9
## %bb.10:
cmpq %r14, %r15
je LBB0_12
LBB0_11:
movq _linenum@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _fname@GOTPCREL(%rip), %rax
movl (%rax), %ecx
leaq L_.str.3(%rip), %rsi
movl $1, %edi
callq _errx
LBB0_12:
movq _MB_CUR_MAX@GOTPCREL(%rip), %rax
cmpl $1, (%rax)
jne LBB0_19
## %bb.13:
movq _UCHAR_MAX@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
js LBB0_16
## %bb.14:
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_15: ## =>This Inner Loop Header: Depth=1
movq 8(%rbx), %rdx
movb %cl, (%rdx,%rcx)
decq %rcx
movslq (%rax), %rdx
cmpq %rdx, %rcx
jle LBB0_15
LBB0_16:
movq -56(%rbp), %rax
movzbl (%rax), %eax
testb %al, %al
je LBB0_36
## %bb.17:
movq -64(%rbp), %rcx
.p2align 4, 0x90
LBB0_18: ## =>This Inner Loop Header: Depth=1
movzbl (%rcx), %ecx
movq 8(%rbx), %rdx
movsbq %al, %rax
movb %cl, (%rdx,%rax)
movq -56(%rbp), %rax
leaq 1(%rax), %rcx
movq %rcx, -56(%rbp)
movq -64(%rbp), %rcx
incq %rcx
movq %rcx, -64(%rbp)
movzbl 1(%rax), %eax
testb %al, %al
jne LBB0_18
jmp LBB0_36
LBB0_19:
leaq -72(%rbp), %rdi
xorl %esi, %esi
movl $4, %edx
callq _memset
leaq -68(%rbp), %rdi
xorl %esi, %esi
movl $4, %edx
callq _memset
movq _UCHAR_MAX@GOTPCREL(%rip), %r15
cmpl $0, (%r15)
js LBB0_24
## %bb.20:
xorl %r14d, %r14d
movq _WEOF@GOTPCREL(%rip), %r12
jmp LBB0_21
.p2align 4, 0x90
LBB0_23: ## in Loop: Header=BB0_21 Depth=1
movq 8(%rbx), %rax
movb %cl, (%rax,%r14)
leaq 1(%r14), %rax
movslq (%r15), %rcx
cmpq %rcx, %r14
movq %rax, %r14
jge LBB0_24
LBB0_21: ## =>This Inner Loop Header: Depth=1
movl %r14d, %edi
callq _btowc
movl $0, %ecx
cmpq (%r12), %rax
je LBB0_23
## %bb.22: ## in Loop: Header=BB0_21 Depth=1
movl %r14d, %ecx
jmp LBB0_23
LBB0_24:
movq -56(%rbp), %rdi
cmpb $0, (%rdi)
je LBB0_36
## %bb.25:
movq _MB_LEN_MAX@GOTPCREL(%rip), %r15
jmp LBB0_26
.p2align 4, 0x90
LBB0_32: ## in Loop: Header=BB0_26 Depth=1
movslq (%rbx), %rcx
leal 1(%rcx), %edx
movl %edx, (%rbx)
shlq $3, %rcx
leaq (%rcx,%rcx,2), %r12
movq %r13, (%rax,%r12)
movl 20(%rax,%r12), %edi
movq -56(%rbp), %rsi
movq %r13, %rdx
callq _memcpy
movq 16(%rbx), %rax
movq %r14, 8(%rax,%r12)
movl 16(%rax,%r12), %edi
movq -64(%rbp), %rsi
movq %r14, %rdx
callq _memcpy
LBB0_35: ## in Loop: Header=BB0_26 Depth=1
movq -56(%rbp), %rax
movq %r13, %rdi
addq %r14, -64(%rbp)
addq %rax, %rdi
movq %rdi, -56(%rbp)
cmpb $0, (%rax,%r13)
je LBB0_36
LBB0_26: ## =>This Inner Loop Header: Depth=1
movl (%r15), %esi
leaq -72(%rbp), %rdx
callq _mbrlen
movq %rax, %r13
cmpq $-2, %rax
jb LBB0_28
## %bb.27: ## in Loop: Header=BB0_26 Depth=1
movq _EILSEQ@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $1, %edi
xorl %edx, %edx
callq _errc
LBB0_28: ## in Loop: Header=BB0_26 Depth=1
movq -64(%rbp), %rdi
movl (%r15), %esi
leaq -68(%rbp), %rdx
callq _mbrlen
movq %rax, %r14
cmpq $-2, %rax
jb LBB0_33
## %bb.29: ## in Loop: Header=BB0_26 Depth=1
movq _EILSEQ@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $1, %edi
xorl %edx, %edx
callq _errc
jmp LBB0_30
.p2align 4, 0x90
LBB0_33: ## in Loop: Header=BB0_26 Depth=1
movq %r13, %rax
xorq $1, %rax
movq %r14, %rcx
xorq $1, %rcx
orq %rax, %rcx
jne LBB0_30
## %bb.34: ## in Loop: Header=BB0_26 Depth=1
movq -64(%rbp), %rax
movzbl (%rax), %eax
movq 8(%rbx), %rcx
movq -56(%rbp), %rdx
movsbq (%rdx), %rdx
movb %al, (%rcx,%rdx)
jmp LBB0_35
.p2align 4, 0x90
LBB0_30: ## in Loop: Header=BB0_26 Depth=1
movq 8(%rbx), %rax
movq -56(%rbp), %rcx
movsbq (%rcx), %rcx
movb $0, (%rax,%rcx)
movq 16(%rbx), %rdi
movl (%rbx), %eax
leal (%rax,%rax,2), %eax
leal 24(,%rax,8), %esi
callq _realloc
movq %rax, 16(%rbx)
testq %rax, %rax
jne LBB0_32
## %bb.31: ## in Loop: Header=BB0_26 Depth=1
movl $1, %edi
xorl %esi, %esi
callq _err
movq 16(%rbx), %rax
jmp LBB0_32
LBB0_36:
movq -88(%rbp), %rsp ## 8-byte Reload
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_38
## %bb.37:
movq -80(%rbp), %rax ## 8-byte Reload
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_9:
movl $1, %edi
xorl %esi, %esi
callq _err
cmpq %r14, %r15
jne LBB0_11
jmp LBB0_12
LBB0_38:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm __POSIX2_LINE_MAX,4,2 ## @_POSIX2_LINE_MAX
.comm _linenum,4,2 ## @linenum
.comm _fname,4,2 ## @fname
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "%lu: %s: unterminated transform source string"
L_.str.2: ## @.str.2
.asciz "%lu: %s: unterminated transform target string"
L_.str.3: ## @.str.3
.asciz "%lu: %s: transform strings are not the same length"
.comm _MB_CUR_MAX,4,2 ## @MB_CUR_MAX
.comm _UCHAR_MAX,4,2 ## @UCHAR_MAX
.comm _WEOF,8,3 ## @WEOF
.comm _MB_LEN_MAX,4,2 ## @MB_LEN_MAX
.comm _EILSEQ,4,2 ## @EILSEQ
.no_dead_strip _compile_tr
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function compile_tr
_compile_tr: ; @compile_tr
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
sub sp, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x23, x1
mov x20, x0
mov x24, sp
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-88]
Lloh3:
adrp x12, __POSIX2_LINE_MAX@GOTPAGE
Lloh4:
ldr x12, [x12, __POSIX2_LINE_MAX@GOTPAGEOFF]
ldr w8, [x12]
sub w8, w8, #1
mov x9, x8
Lloh5:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh6:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x1fffffff0
sub x22, x9, x8
mov sp, x22
ldr w8, [x12]
add w8, w8, #1
mov x9, x8
Lloh7:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh8:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x1fffffff0
sub x21, x9, x8
mov sp, x21
mov w0, #24 ; =0x18
bl _malloc
mov x19, x0
str x0, [x23]
cbz x0, LBB0_2
; %bb.1:
mov w0, #1 ; =0x1
mov x1, #0 ; =0x0
bl _err
LBB0_2:
str xzr, [x19, #16]
str wzr, [x19]
mov x0, x20
mov x1, x22
mov w2, #1 ; =0x1
bl _compile_delimited
mov x20, x0
cbnz x0, LBB0_4
; %bb.3:
Lloh9:
adrp x8, _linenum@GOTPAGE
Lloh10:
ldr x8, [x8, _linenum@GOTPAGEOFF]
Lloh11:
ldr w2, [x8]
Lloh12:
adrp x8, _fname@GOTPAGE
Lloh13:
ldr x8, [x8, _fname@GOTPAGEOFF]
Lloh14:
ldr w3, [x8]
Lloh15:
adrp x1, l_.str.1@PAGE
Lloh16:
add x1, x1, l_.str.1@PAGEOFF
mov w0, #1 ; =0x1
bl _errx
LBB0_4:
sub x0, x20, #1
mov x1, x21
mov w2, #1 ; =0x1
bl _compile_delimited
mov x20, x0
cbnz x0, LBB0_6
; %bb.5:
Lloh17:
adrp x8, _linenum@GOTPAGE
Lloh18:
ldr x8, [x8, _linenum@GOTPAGEOFF]
Lloh19:
ldr w2, [x8]
Lloh20:
adrp x8, _fname@GOTPAGE
Lloh21:
ldr x8, [x8, _fname@GOTPAGEOFF]
Lloh22:
ldr w3, [x8]
Lloh23:
adrp x1, l_.str.2@PAGE
Lloh24:
add x1, x1, l_.str.2@PAGEOFF
mov w0, #1 ; =0x1
bl _errx
LBB0_6:
bl _EATSPACE
stur x22, [x29, #-96]
sub x1, x29, #96
mov x0, #0 ; =0x0
mov w2, #0 ; =0x0
mov x3, #0 ; =0x0
bl _mbsrtowcs
mov x22, x0
cmn x0, #1
b.ne LBB0_8
; %bb.7:
mov w0, #1 ; =0x1
mov x1, #0 ; =0x0
bl _err
LBB0_8:
stur x21, [x29, #-104]
sub x1, x29, #104
mov x0, #0 ; =0x0
mov w2, #0 ; =0x0
mov x3, #0 ; =0x0
bl _mbsrtowcs
mov x21, x0
cmn x0, #1
b.eq LBB0_35
; %bb.9:
cmp x21, x22
b.eq LBB0_11
LBB0_10:
Lloh25:
adrp x8, _linenum@GOTPAGE
Lloh26:
ldr x8, [x8, _linenum@GOTPAGEOFF]
Lloh27:
ldr w2, [x8]
Lloh28:
adrp x8, _fname@GOTPAGE
Lloh29:
ldr x8, [x8, _fname@GOTPAGEOFF]
Lloh30:
ldr w3, [x8]
Lloh31:
adrp x1, l_.str.3@PAGE
Lloh32:
add x1, x1, l_.str.3@PAGEOFF
mov w0, #1 ; =0x1
bl _errx
LBB0_11:
Lloh33:
adrp x8, _MB_CUR_MAX@GOTPAGE
Lloh34:
ldr x8, [x8, _MB_CUR_MAX@GOTPAGEOFF]
Lloh35:
ldr w8, [x8]
cmp w8, #1
b.ne LBB0_18
; %bb.12:
Lloh36:
adrp x8, _UCHAR_MAX@GOTPAGE
Lloh37:
ldr x8, [x8, _UCHAR_MAX@GOTPAGEOFF]
ldr w9, [x8]
tbnz w9, #31, LBB0_15
; %bb.13:
mov x9, #0 ; =0x0
LBB0_14: ; =>This Inner Loop Header: Depth=1
ldr x10, [x19, #8]
strb w9, [x10, x9]
sub x9, x9, #1
ldrsw x10, [x8]
cmp x9, x10
b.le LBB0_14
LBB0_15:
ldur x8, [x29, #-96]
ldrb w8, [x8]
cbz w8, LBB0_33
; %bb.16:
ldur x9, [x29, #-104]
LBB0_17: ; =>This Inner Loop Header: Depth=1
ldrb w9, [x9]
ldr x10, [x19, #8]
sxtb x8, w8
strb w9, [x10, x8]
ldur x8, [x29, #-96]
add x10, x8, #1
ldur x9, [x29, #-104]
add x9, x9, #1
stp x9, x10, [x29, #-104]
ldrb w8, [x8, #1]
cbnz w8, LBB0_17
b LBB0_33
LBB0_18:
sub x0, x29, #108
mov w1, #0 ; =0x0
mov w2, #4 ; =0x4
bl _memset
sub x0, x29, #112
mov w1, #0 ; =0x0
mov w2, #4 ; =0x4
bl _memset
Lloh38:
adrp x22, _UCHAR_MAX@GOTPAGE
Lloh39:
ldr x22, [x22, _UCHAR_MAX@GOTPAGEOFF]
ldr w8, [x22]
tbnz w8, #31, LBB0_21
; %bb.19:
mov x21, #0 ; =0x0
Lloh40:
adrp x23, _WEOF@GOTPAGE
Lloh41:
ldr x23, [x23, _WEOF@GOTPAGEOFF]
LBB0_20: ; =>This Inner Loop Header: Depth=1
mov x0, x21
bl _btowc
ldr x8, [x23]
cmp x0, x8
csel w8, wzr, w21, eq
ldr x9, [x19, #8]
strb w8, [x9, x21]
add x8, x21, #1
ldrsw x9, [x22]
cmp x21, x9
mov x21, x8
b.lt LBB0_20
LBB0_21:
ldur x0, [x29, #-96]
ldrb w8, [x0]
cbz w8, LBB0_33
; %bb.22:
Lloh42:
adrp x23, _MB_LEN_MAX@GOTPAGE
Lloh43:
ldr x23, [x23, _MB_LEN_MAX@GOTPAGEOFF]
Lloh44:
adrp x25, _EILSEQ@GOTPAGE
Lloh45:
ldr x25, [x25, _EILSEQ@GOTPAGEOFF]
mov w26, #24 ; =0x18
mov w27, #24 ; =0x18
b LBB0_25
LBB0_23: ; in Loop: Header=BB0_25 Depth=1
ldrsw x8, [x19]
add w9, w8, #1
str w9, [x19]
add x8, x8, x8, lsl #1
lsl x28, x8, #3
add x8, x0, x28
str x21, [x8]
ldr w0, [x8, #20]
ldur x1, [x29, #-96]
mov x2, x21
bl _memcpy
ldr x8, [x19, #16]
add x8, x8, x28
str x22, [x8, #8]
ldr w0, [x8, #16]
ldur x1, [x29, #-104]
mov x2, x22
bl _memcpy
LBB0_24: ; in Loop: Header=BB0_25 Depth=1
ldp x8, x9, [x29, #-104]
add x0, x9, x21
add x8, x8, x22
stp x8, x0, [x29, #-104]
ldrb w8, [x0]
cbz w8, LBB0_33
LBB0_25: ; =>This Inner Loop Header: Depth=1
ldr w1, [x23]
sub x2, x29, #108
bl _mbrlen
mov x21, x0
cmn x0, #2
b.lo LBB0_27
; %bb.26: ; in Loop: Header=BB0_25 Depth=1
ldr w1, [x25]
mov w0, #1 ; =0x1
mov x2, #0 ; =0x0
bl _errc
LBB0_27: ; in Loop: Header=BB0_25 Depth=1
ldur x0, [x29, #-104]
ldr w1, [x23]
sub x2, x29, #112
bl _mbrlen
mov x22, x0
cmn x0, #2
b.lo LBB0_29
; %bb.28: ; in Loop: Header=BB0_25 Depth=1
ldr w1, [x25]
mov w0, #1 ; =0x1
mov x2, #0 ; =0x0
bl _errc
b LBB0_30
LBB0_29: ; in Loop: Header=BB0_25 Depth=1
cmp x21, #1
ccmp x22, #1, #0, eq
b.eq LBB0_32
LBB0_30: ; in Loop: Header=BB0_25 Depth=1
ldr x8, [x19, #8]
ldur x9, [x29, #-96]
ldrsb x9, [x9]
strb wzr, [x8, x9]
ldr x0, [x19, #16]
ldr w8, [x19]
madd w1, w8, w26, w27
bl _realloc
str x0, [x19, #16]
cbnz x0, LBB0_23
; %bb.31: ; in Loop: Header=BB0_25 Depth=1
mov w0, #1 ; =0x1
mov x1, #0 ; =0x0
bl _err
ldr x0, [x19, #16]
b LBB0_23
LBB0_32: ; in Loop: Header=BB0_25 Depth=1
ldp x8, x10, [x29, #-104]
ldrb w8, [x8]
ldr x9, [x19, #8]
ldrsb x10, [x10]
strb w8, [x9, x10]
b LBB0_24
LBB0_33:
mov sp, x24
ldur x8, [x29, #-88]
Lloh46:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh47:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh48:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_36
; %bb.34:
mov x0, x20
sub sp, x29, #80
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
LBB0_35:
mov w0, #1 ; =0x1
mov x1, #0 ; =0x0
bl _err
cmp x21, x22
b.ne LBB0_10
b LBB0_11
LBB0_36:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpAdd Lloh31, Lloh32
.loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.loh AdrpLdrGot Lloh36, Lloh37
.loh AdrpLdrGot Lloh38, Lloh39
.loh AdrpLdrGot Lloh40, Lloh41
.loh AdrpLdrGot Lloh44, Lloh45
.loh AdrpLdrGot Lloh42, Lloh43
.loh AdrpLdrGotLdr Lloh46, Lloh47, Lloh48
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm __POSIX2_LINE_MAX,4,2 ; @_POSIX2_LINE_MAX
.comm _linenum,4,2 ; @linenum
.comm _fname,4,2 ; @fname
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "%lu: %s: unterminated transform source string"
l_.str.2: ; @.str.2
.asciz "%lu: %s: unterminated transform target string"
l_.str.3: ; @.str.3
.asciz "%lu: %s: transform strings are not the same length"
.comm _MB_CUR_MAX,4,2 ; @MB_CUR_MAX
.comm _UCHAR_MAX,4,2 ; @UCHAR_MAX
.comm _WEOF,8,3 ; @WEOF
.comm _MB_LEN_MAX,4,2 ; @MB_LEN_MAX
.comm _EILSEQ,4,2 ; @EILSEQ
.no_dead_strip _compile_tr
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _hdb_replace_extension ## -- Begin function hdb_replace_extension
.p2align 4, 0x90
_hdb_replace_extension: ## @hdb_replace_extension
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %rbx
movq %rsi, %r14
movl %edi, %r15d
cmpq $0, (%rsi)
je LBB0_6
## %bb.1:
movl $1, %edi
movl $16, %esi
callq _calloc
movq %rax, (%r14)
testq %rax, %rax
je LBB0_5
LBB0_2:
movq 8(%rax), %rdi
movl (%rax), %esi
shll $4, %esi
addl $16, %esi
callq _realloc
testq %rax, %rax
je LBB0_5
## %bb.3:
movq (%r14), %rcx
movq %rax, 8(%rcx)
movq (%rcx), %rsi
shlq $4, %rsi
addq %rax, %rsi
movq %rbx, %rdi
callq _copy_HDB_extension
testl %eax, %eax
je LBB0_14
## %bb.4:
movl %eax, %r13d
leaq L_.str.4(%rip), %rdx
jmp LBB0_12
LBB0_5:
movq _ENOMEM@GOTPCREL(%rip), %rbx
movl (%rbx), %esi
leaq L_.str(%rip), %rdx
movl %r15d, %edi
callq _krb5_set_error_message
movl (%rbx), %r13d
jmp LBB0_22
LBB0_6:
movq (%rbx), %rsi
movq _choice_HDB_extension_data_asn1_ellipsis@GOTPCREL(%rip), %rax
cmpq (%rax), %rsi
jne LBB0_9
## %bb.7:
movl 8(%rbx), %esi
movl 12(%rbx), %edi
leaq -60(%rbp), %rdx
leaq -52(%rbp), %rcx
leaq -88(%rbp), %r8
leaq -80(%rbp), %r9
callq _der_get_tag
testl %eax, %eax
je LBB0_15
## %bb.8:
movl %eax, %r13d
leaq L_.str.1(%rip), %rdx
jmp LBB0_12
LBB0_9:
movq %r14, %rdi
callq _hdb_find_extension
movq %rax, %r12
testq %r12, %r12
je LBB0_27
LBB0_10:
movq %r12, %rdi
callq _free_HDB_extension
movq %rbx, %rdi
movq %r12, %rsi
callq _copy_HDB_extension
testl %eax, %eax
je LBB0_21
## %bb.11:
movl %eax, %r13d
leaq L_.str.3(%rip), %rdx
LBB0_12:
movl %r15d, %edi
LBB0_13:
movl %r13d, %esi
callq _krb5_set_error_message
jmp LBB0_22
LBB0_14:
movq (%r14), %rax
incq (%rax)
LBB0_21:
xorl %r13d, %r13d
LBB0_22:
movl %r13d, %eax
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_15:
movq %rbx, -72(%rbp) ## 8-byte Spill
movl %r15d, -44(%rbp) ## 4-byte Spill
movq (%r14), %rax
movq _choice_HDB_extension_data_asn1_ellipsis@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
xorl %r12d, %r12d
xorl %ebx, %ebx
jmp LBB0_17
.p2align 4, 0x90
LBB0_16: ## in Loop: Header=BB0_17 Depth=1
decq %rbx
addq $-16, %r12
cmpq (%rax), %rbx
ja LBB0_23
LBB0_17: ## =>This Inner Loop Header: Depth=1
movq 8(%rax), %r15
cmpq %rcx, (%r15,%r12)
jne LBB0_16
## %bb.18: ## in Loop: Header=BB0_17 Depth=1
movl 8(%r15,%r12), %esi
movl 12(%r15,%r12), %edi
leaq -56(%rbp), %rdx
leaq -48(%rbp), %rcx
leaq -84(%rbp), %r8
leaq -80(%rbp), %r9
callq _der_get_tag
testl %eax, %eax
jne LBB0_24
## %bb.19: ## in Loop: Header=BB0_17 Depth=1
movl -60(%rbp), %edi
movl -52(%rbp), %edx
movl %edx, %esi
callq _MAKE_TAG
movq %rax, %r13
movl -56(%rbp), %edi
movl -48(%rbp), %edx
movl %edx, %esi
callq _MAKE_TAG
cmpq %rax, %r13
je LBB0_25
## %bb.20: ## in Loop: Header=BB0_17 Depth=1
movq _choice_HDB_extension_data_asn1_ellipsis@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq (%r14), %rax
jmp LBB0_16
LBB0_23:
xorl %r12d, %r12d
jmp LBB0_26
LBB0_24:
movl %eax, %r13d
leaq L_.str.2(%rip), %rdx
movl -44(%rbp), %edi ## 4-byte Reload
jmp LBB0_13
LBB0_25:
addq %r12, %r15
movq %r15, %r12
LBB0_26:
movl -44(%rbp), %r15d ## 4-byte Reload
movq -72(%rbp), %rbx ## 8-byte Reload
testq %r12, %r12
jne LBB0_10
LBB0_27:
movq (%r14), %rax
jmp LBB0_2
.cfi_endproc
## -- End function
.comm _ENOMEM,4,2 ## @ENOMEM
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "malloc: out of memory"
.comm _choice_HDB_extension_data_asn1_ellipsis,8,3 ## @choice_HDB_extension_data_asn1_ellipsis
L_.str.1: ## @.str.1
.asciz "hdb: failed to decode replacement hdb extention"
L_.str.2: ## @.str.2
.asciz "hdb: failed to decode present hdb extention"
L_.str.3: ## @.str.3
.asciz "hdb: failed to copy replacement hdb extention"
L_.str.4: ## @.str.4
.asciz "hdb: failed to copy new extension"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _hdb_replace_extension ; -- Begin function hdb_replace_extension
.p2align 2
_hdb_replace_extension: ; @hdb_replace_extension
.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 x21, x2
mov x20, x1
mov x19, x0
ldr x8, [x1]
cbz x8, LBB0_6
; %bb.1:
mov w0, #1 ; =0x1
mov w1, #16 ; =0x10
bl _calloc
str x0, [x20]
cbz x0, LBB0_5
LBB0_2:
ldr x8, [x0, #8]
ldr w9, [x0]
lsl w9, w9, #4
add w1, w9, #16
mov x0, x8
bl _realloc
cbz x0, LBB0_5
; %bb.3:
ldr x8, [x20]
str x0, [x8, #8]
ldr x8, [x8]
add x1, x0, x8, lsl #4
mov x0, x21
bl _copy_HDB_extension
mov x22, x0
cbz w0, LBB0_14
; %bb.4:
Lloh0:
adrp x2, l_.str.4@PAGE
Lloh1:
add x2, x2, l_.str.4@PAGEOFF
b LBB0_13
LBB0_5:
Lloh2:
adrp x20, _ENOMEM@GOTPAGE
Lloh3:
ldr x20, [x20, _ENOMEM@GOTPAGEOFF]
ldr w1, [x20]
Lloh4:
adrp x2, l_.str@PAGE
Lloh5:
add x2, x2, l_.str@PAGEOFF
mov x0, x19
bl _krb5_set_error_message
ldr w22, [x20]
b LBB0_15
LBB0_6:
ldr x1, [x21]
Lloh6:
adrp x23, _choice_HDB_extension_data_asn1_ellipsis@GOTPAGE
Lloh7:
ldr x23, [x23, _choice_HDB_extension_data_asn1_ellipsis@GOTPAGEOFF]
ldr x8, [x23]
cmp x1, x8
b.ne LBB0_9
; %bb.7:
ldp w1, w0, [x21, #8]
add x2, sp, #28
add x3, sp, #20
add x4, sp, #12
mov x5, sp
bl _der_get_tag
cbz w0, LBB0_17
; %bb.8:
mov x22, x0
Lloh8:
adrp x2, l_.str.1@PAGE
Lloh9:
add x2, x2, l_.str.1@PAGEOFF
b LBB0_13
LBB0_9:
mov x0, x20
bl _hdb_find_extension
mov x22, x0
LBB0_10:
cbz x22, LBB0_16
; %bb.11:
mov x0, x22
bl _free_HDB_extension
mov x0, x21
mov x1, x22
bl _copy_HDB_extension
mov x22, x0
cbz w0, LBB0_15
; %bb.12:
Lloh10:
adrp x2, l_.str.3@PAGE
Lloh11:
add x2, x2, l_.str.3@PAGEOFF
LBB0_13:
mov x0, x19
mov x1, x22
bl _krb5_set_error_message
b LBB0_15
LBB0_14:
ldr x8, [x20]
ldr x9, [x8]
add x9, x9, #1
str x9, [x8]
LBB0_15:
mov x0, x22
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #112
ret
LBB0_16:
ldr x0, [x20]
b LBB0_2
LBB0_17:
mov x24, #0 ; =0x0
mov x25, #0 ; =0x0
ldr x8, [x20]
ldr x9, [x23]
b LBB0_19
LBB0_18: ; in Loop: Header=BB0_19 Depth=1
sub x25, x25, #1
ldr x10, [x8]
sub x24, x24, #16
cmp x25, x10
b.hi LBB0_23
LBB0_19: ; =>This Inner Loop Header: Depth=1
ldr x26, [x8, #8]
ldr x10, [x26, x24]
cmp x10, x9
b.ne LBB0_18
; %bb.20: ; in Loop: Header=BB0_19 Depth=1
add x8, x26, x24
ldp w1, w0, [x8, #8]
add x2, sp, #24
add x3, sp, #16
add x4, sp, #8
mov x5, sp
bl _der_get_tag
cbnz w0, LBB0_24
; %bb.21: ; in Loop: Header=BB0_19 Depth=1
ldr w0, [sp, #28]
ldr w1, [sp, #20]
mov x2, x1
bl _MAKE_TAG
mov x22, x0
ldr w0, [sp, #24]
ldr w1, [sp, #16]
mov x2, x1
bl _MAKE_TAG
cmp x22, x0
b.eq LBB0_25
; %bb.22: ; in Loop: Header=BB0_19 Depth=1
ldr x9, [x23]
ldr x8, [x20]
b LBB0_18
LBB0_23:
mov x22, #0 ; =0x0
b LBB0_10
LBB0_24:
mov x22, x0
Lloh12:
adrp x2, l_.str.2@PAGE
Lloh13:
add x2, x2, l_.str.2@PAGEOFF
b LBB0_13
LBB0_25:
add x22, x26, x24
b LBB0_10
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh12, Lloh13
.cfi_endproc
; -- End function
.comm _ENOMEM,4,2 ; @ENOMEM
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "malloc: out of memory"
.comm _choice_HDB_extension_data_asn1_ellipsis,8,3 ; @choice_HDB_extension_data_asn1_ellipsis
l_.str.1: ; @.str.1
.asciz "hdb: failed to decode replacement hdb extention"
l_.str.2: ; @.str.2
.asciz "hdb: failed to decode present hdb extention"
l_.str.3: ; @.str.3
.asciz "hdb: failed to copy replacement hdb extention"
l_.str.4: ; @.str.4
.asciz "hdb: failed to copy new extension"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function ws_handle_ping
_ws_handle_ping: ## @ws_handle_ping
.cfi_startproc
## %bb.0:
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 16(%rdi), %rax
cmpl $0, 8(%rax)
je LBB0_1
## %bb.3:
movslq (%rax), %r14
cmpl $126, %r14d
jl LBB0_5
## %bb.4:
movq _WS_CLOSE_PROTO_ERR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _WS_ERR@GOTPCREL(%rip), %rax
movq _WS_CLOSE@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
orl (%rax), %edx
jmp LBB0_2
LBB0_1:
movq _WS_CLOSE_PROTO_ERR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _WS_ERR@GOTPCREL(%rip), %rax
movq _WS_CLOSE@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
andl (%rax), %edx
LBB0_2:
xorl %ecx, %ecx
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _ws_handle_err ## TAILCALL
LBB0_5:
testl %r14d, %r14d
je LBB0_11
## %bb.6:
movq 8(%rdi), %rax
movslq (%rax), %r12
subq %r14, %r12
movq %rdi, %r15
movl %r14d, %edi
movl $1, %esi
callq _xcalloc
movq %rax, %rbx
movq 8(%r15), %rax
addq 8(%rax), %r12
movq %rbx, %rdi
movq %r12, %rsi
movl %r14d, %edx
callq _memcpy
movq 16(%r15), %rax
movl 4(%rax), %ecx
movq %rbx, %rdi
movl %r14d, %esi
xorl %edx, %edx
callq _ws_unmask_payload
movq 8(%r15), %rax
movl (%rax), %r12d
movq 8(%rax), %rdi
movl %r12d, %esi
subl %r14d, %esi
callq _realloc
movq %r15, %rcx
movq 8(%r15), %rdx
cmpl %r14d, %r12d
jg LBB0_12
## %bb.7:
testq %rax, %rax
jne LBB0_12
## %bb.8:
movq $0, 8(%rdx)
movq 8(%rcx), %rax
subl %r14d, (%rax)
movq _WS_OPCODE_PONG@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r15, %rdi
movq %rbx, %rdx
movl %r14d, %ecx
callq _ws_send_frame
movq 8(%r15), %rax
movq $0, 24(%rax)
cmpl $0, 16(%rax)
jne LBB0_10
## %bb.9:
movq %r15, %rdi
callq _ws_free_message
LBB0_10:
movq %rbx, %rdi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _free ## TAILCALL
LBB0_11:
movq _WS_OPCODE_PONG@GOTPCREL(%rip), %rax
movl (%rax), %esi
xorl %edx, %edx
xorl %ecx, %ecx
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _ws_send_frame ## TAILCALL
LBB0_12:
movq 8(%rdx), %rdi
movq %rcx, %r14
callq _free
movq %rbx, %rdi
callq _free
movq 8(%r14), %rax
movq $0, 8(%rax)
movq _WS_ERR@GOTPCREL(%rip), %rax
movq _WS_CLOSE@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl (%rax), %ecx
movl %ecx, (%r14)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _WS_CLOSE_PROTO_ERR,4,2 ## @WS_CLOSE_PROTO_ERR
.comm _WS_ERR,4,2 ## @WS_ERR
.comm _WS_CLOSE,4,2 ## @WS_CLOSE
.comm _WS_OPCODE_PONG,4,2 ## @WS_OPCODE_PONG
.no_dead_strip _ws_handle_ping
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function ws_handle_ping
_ws_handle_ping: ; @ws_handle_ping
.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
ldr x8, [x0, #16]
ldr w9, [x8, #8]
cbz w9, LBB0_3
; %bb.1:
ldrsw x20, [x8]
cmp w20, #126
b.lt LBB0_5
; %bb.2:
Lloh0:
adrp x8, _WS_CLOSE_PROTO_ERR@GOTPAGE
Lloh1:
ldr x8, [x8, _WS_CLOSE_PROTO_ERR@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
Lloh3:
adrp x8, _WS_ERR@GOTPAGE
Lloh4:
ldr x8, [x8, _WS_ERR@GOTPAGEOFF]
Lloh5:
adrp x9, _WS_CLOSE@GOTPAGE
Lloh6:
ldr x9, [x9, _WS_CLOSE@GOTPAGEOFF]
Lloh7:
ldr w8, [x8]
Lloh8:
ldr w9, [x9]
orr w2, w9, w8
b LBB0_4
LBB0_3:
Lloh9:
adrp x8, _WS_CLOSE_PROTO_ERR@GOTPAGE
Lloh10:
ldr x8, [x8, _WS_CLOSE_PROTO_ERR@GOTPAGEOFF]
Lloh11:
ldr w1, [x8]
Lloh12:
adrp x8, _WS_ERR@GOTPAGE
Lloh13:
ldr x8, [x8, _WS_ERR@GOTPAGEOFF]
Lloh14:
adrp x9, _WS_CLOSE@GOTPAGE
Lloh15:
ldr x9, [x9, _WS_CLOSE@GOTPAGEOFF]
Lloh16:
ldr w8, [x8]
Lloh17:
ldr w9, [x9]
and w2, w9, w8
LBB0_4:
mov x3, #0 ; =0x0
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 _ws_handle_err
LBB0_5:
cbz w20, LBB0_8
; %bb.6:
ldr x8, [x0, #8]
ldrsw x22, [x8]
mov x21, x0
mov x0, x20
mov w1, #1 ; =0x1
bl _xcalloc
mov x19, x0
ldr x8, [x21, #8]
ldr x8, [x8, #8]
sub x8, x8, x20
add x1, x8, x22
mov x2, x20
bl _memcpy
ldr x8, [x21, #16]
ldr w3, [x8, #4]
mov x0, x19
mov x1, x20
mov w2, #0 ; =0x0
bl _ws_unmask_payload
ldr x8, [x21, #8]
ldr w9, [x8]
sub w22, w9, w20
ldr x0, [x8, #8]
mov x1, x22
bl _realloc
mov x8, x21
ldr x9, [x21, #8]
cmp w22, #0
ccmp x0, #0, #0, le
b.eq LBB0_9
; %bb.7:
ldr x0, [x9, #8]
mov x20, x8
bl _free
mov x0, x19
bl _free
ldr x8, [x20, #8]
str xzr, [x8, #8]
Lloh18:
adrp x8, _WS_ERR@GOTPAGE
Lloh19:
ldr x8, [x8, _WS_ERR@GOTPAGEOFF]
Lloh20:
ldr w8, [x8]
Lloh21:
adrp x9, _WS_CLOSE@GOTPAGE
Lloh22:
ldr x9, [x9, _WS_CLOSE@GOTPAGEOFF]
Lloh23:
ldr w9, [x9]
orr w8, w9, w8
str w8, [x20]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_8:
Lloh24:
adrp x8, _WS_OPCODE_PONG@GOTPAGE
Lloh25:
ldr x8, [x8, _WS_OPCODE_PONG@GOTPAGEOFF]
Lloh26:
ldr w1, [x8]
mov x2, #0 ; =0x0
mov w3, #0 ; =0x0
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 _ws_send_frame
LBB0_9:
str xzr, [x9, #8]
ldr x8, [x8, #8]
ldr w9, [x8]
sub w9, w9, w20
str w9, [x8]
Lloh27:
adrp x8, _WS_OPCODE_PONG@GOTPAGE
Lloh28:
ldr x8, [x8, _WS_OPCODE_PONG@GOTPAGEOFF]
Lloh29:
ldr w1, [x8]
mov x0, x21
mov x2, x19
mov x3, x20
bl _ws_send_frame
ldr x8, [x21, #8]
str xzr, [x8, #24]
ldr w8, [x8, #16]
cbnz w8, LBB0_11
; %bb.10:
mov x0, x21
bl _ws_free_message
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
b _free
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh7
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh16
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.cfi_endproc
; -- End function
.comm _WS_CLOSE_PROTO_ERR,4,2 ; @WS_CLOSE_PROTO_ERR
.comm _WS_ERR,4,2 ; @WS_ERR
.comm _WS_CLOSE,4,2 ; @WS_CLOSE
.comm _WS_OPCODE_PONG,4,2 ; @WS_OPCODE_PONG
.no_dead_strip _ws_handle_ping
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _wadd ## -- Begin function wadd
.p2align 4, 0x90
_wadd: ## @wadd
.cfi_startproc
## %bb.0:
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 ___argc@GOTPCREL(%rip), %r14
movl (%r14), %ecx
movq _SIZE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl %ecx, %eax
cltd
idivl %esi
movq ___wargv@GOTPCREL(%rip), %r15
movq (%r15), %rax
testl %edx, %edx
jne LBB0_7
## %bb.1:
testq %rax, %rax
je LBB0_3
## %bb.2:
leal 8(,%rsi,8), %edi
callq _malloc
testq %rax, %rax
je LBB0_5
LBB0_6:
movq %rax, (%r15)
movl (%r14), %ecx
LBB0_7:
leal -1(%rcx), %edx
movl %edx, (%r14)
movslq %ecx, %rcx
movq %rbx, (%rax,%rcx,8)
movq (%r15), %rax
movq $0, -8(%rax,%rcx,8)
xorl %eax, %eax
LBB0_8:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_3:
addl %esi, %ecx
leal 8(,%rcx,8), %esi
xorl %edi, %edi
callq _realloc
testq %rax, %rax
jne LBB0_6
LBB0_5:
movl $-1, %eax
jmp LBB0_8
.cfi_endproc
## -- End function
.comm ___argc,4,2 ## @__argc
.comm _SIZE,4,2 ## @SIZE
.comm ___wargv,8,3 ## @__wargv
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _wadd ; -- Begin function wadd
.p2align 2
_wadd: ; @wadd
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
Lloh0:
adrp x20, ___argc@GOTPAGE
Lloh1:
ldr x20, [x20, ___argc@GOTPAGEOFF]
ldr w9, [x20]
Lloh2:
adrp x8, _SIZE@GOTPAGE
Lloh3:
ldr x8, [x8, _SIZE@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
sdiv w10, w9, w8
msub w10, w10, w8, w9
Lloh5:
adrp x21, ___wargv@GOTPAGE
Lloh6:
ldr x21, [x21, ___wargv@GOTPAGEOFF]
ldr x0, [x21]
cbnz w10, LBB0_4
; %bb.1:
cbz x0, LBB0_6
; %bb.2:
lsl w8, w8, #3
add w0, w8, #8
bl _malloc
cbz x0, LBB0_7
LBB0_3:
str x0, [x21]
ldr w9, [x20]
LBB0_4:
mov w8, #0 ; =0x0
sxtw x10, w9
sub x10, x10, #1
str w10, [x20]
str x19, [x0, w9, sxtw #3]
ldr x9, [x21]
str xzr, [x9, x10, lsl #3]
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:
add w8, w9, w8
lsl w8, w8, #3
add w1, w8, #8
bl _realloc
cbnz x0, LBB0_3
LBB0_7:
mov w8, #-1 ; =0xffffffff
b LBB0_5
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm ___argc,4,2 ; @__argc
.comm _SIZE,4,2 ; @SIZE
.comm ___wargv,8,3 ; @__wargv
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function add_princ
_add_princ: ## @add_princ
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %rbx
movq %rdi, %r14
movq (%rdi), %rdi
movl 8(%r14), %eax
leal -8(,%rax,8), %esi
callq _realloc
testq %rax, %rax
je LBB0_1
## %bb.2:
movq %rax, (%r14)
movslq 8(%r14), %rcx
leal -1(%rcx), %edx
movl %edx, 8(%r14)
movq %rbx, (%rax,%rcx,8)
xorl %eax, %eax
jmp LBB0_3
LBB0_1:
movq _ENOMEM@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_3:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ENOMEM,4,2 ## @ENOMEM
.no_dead_strip _add_princ
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function add_princ
_add_princ: ; @add_princ
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov x20, x0
ldr x0, [x0]
ldr w8, [x20, #8]
lsl w8, w8, #3
sub w1, w8, #8
bl _realloc
cbz x0, LBB0_2
; %bb.1:
mov x8, x0
mov w0, #0 ; =0x0
str x8, [x20]
ldrsw x9, [x20, #8]
sub w10, w9, #1
str w10, [x20, #8]
str x19, [x8, x9, lsl #3]
b LBB0_3
LBB0_2:
Lloh0:
adrp x8, _ENOMEM@GOTPAGE
Lloh1:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
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
.cfi_endproc
; -- End function
.comm _ENOMEM,4,2 ; @ENOMEM
.no_dead_strip _add_princ
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _zpool_history_unpack ## -- Begin function zpool_history_unpack
.p2align 4, 0x90
_zpool_history_unpack: ## @zpool_history_unpack
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_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, -48(%rbp) ## 8-byte Spill
movl %esi, %r14d
cmpl $5, %esi
jb LBB0_7
## %bb.1:
movq %r8, %r15
movq %rcx, %r12
movq %rdi, %r13
jmp LBB0_2
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_2 Depth=1
movslq %ebx, %rcx
leaq 4(%rcx), %rdx
subl %edx, %r14d
addq %rcx, %r13
addq $4, %r13
movq -56(%rbp), %rcx
movslq (%r15), %rdx
movq %rcx, -8(%rax,%rdx,8)
cmpl $4, %r14d
jbe LBB0_7
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl 8(%r13), %eax
movl 16(%r13), %ecx
movl 24(%r13), %ebx
shll $8, %eax
addl (%r13), %eax
shll $16, %ecx
shll $24, %ebx
addl %ecx, %ebx
addl %eax, %ebx
leaq 4(%r13), %rdi
movl %ebx, %esi
leaq -56(%rbp), %rdx
xorl %ecx, %ecx
callq _nvlist_unpack
testq %rax, %rax
jne LBB0_3
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movl (%r15), %edi
leal 1(%rdi), %eax
movl %eax, (%r15)
addl $2, %edi
## kill: def $edi killed $edi killed $rdi
callq _ISP2
movq %rax, %rcx
movq (%r12), %rax
testq %rcx, %rcx
je LBB0_6
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
movl (%r15), %esi
shll $4, %esi
movq %rax, %rdi
callq _realloc
movq %rax, (%r12)
jmp LBB0_6
LBB0_7:
movq -48(%rbp), %rax ## 8-byte Reload
movl %r14d, (%rax)
xorl %eax, %eax
jmp LBB0_8
LBB0_3:
movq _ENOMEM@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_8:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ENOMEM,4,2 ## @ENOMEM
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _zpool_history_unpack ; -- Begin function zpool_history_unpack
.p2align 2
_zpool_history_unpack: ; @zpool_history_unpack
.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
cmp w1, #5
b.lo LBB0_6
; %bb.1:
mov x21, x4
mov x22, x3
mov x23, x0
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
sxtw x8, w24
add x8, x8, #4
sub w20, w20, w8
add x23, x23, x8
ldr x8, [sp, #8]
ldrsw x9, [x21]
add x9, x0, x9, lsl #3
stur x8, [x9, #-8]
cmp w20, #4
b.ls LBB0_6
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr w8, [x23]
ldr w9, [x23, #8]
ldr w10, [x23, #16]
ldr w11, [x23, #24]
add w8, w8, w9, lsl #8
add w8, w8, w10, lsl #16
add w24, w8, w11, lsl #24
add x0, x23, #4
add x2, sp, #8
mov x1, x24
mov w3, #0 ; =0x0
bl _nvlist_unpack
cbnz x0, LBB0_7
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [x21]
add w9, w8, #1
str w9, [x21]
add w0, w8, #2
bl _ISP2
mov x8, x0
ldr x0, [x22]
cbz x8, LBB0_2
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [x21]
lsl w1, w8, #4
bl _realloc
str x0, [x22]
b LBB0_2
LBB0_6:
mov w0, #0 ; =0x0
str w20, [x19]
b LBB0_8
LBB0_7:
Lloh0:
adrp x8, _ENOMEM@GOTPAGE
Lloh1:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
LBB0_8:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.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
.p2align 4, 0x90 ## -- Begin function parseUriList
_parseUriList: ## @parseUriList
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_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
movl $0, (%rsi)
leaq L_.str.1(%rip), %rsi
callq _strtok
testq %rax, %rax
je LBB0_1
## %bb.3:
movq %rax, %r13
xorl %r14d, %r14d
leaq -43(%rbp), %r12
jmp LBB0_5
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_5 Depth=1
xorl %edi, %edi
leaq L_.str.1(%rip), %rsi
callq _strtok
movq %rax, %r13
testq %rax, %rax
je LBB0_2
LBB0_5: ## =>This Loop Header: Depth=1
## Child Loop BB0_8 Depth 2
## Child Loop BB0_10 Depth 2
cmpb $35, (%r13)
je LBB0_2
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movl $7, %edx
movq %r13, %rdi
leaq L_.str(%rip), %rsi
callq _strncmp
testq %rax, %rax
jne LBB0_9
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
addq $8, %r13
movq %r13, %rax
.p2align 4, 0x90
LBB0_8: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
leaq -1(%rax), %r13
cmpb $47, -1(%rax)
movq %r13, %rax
jne LBB0_8
LBB0_9: ## in Loop: Header=BB0_5 Depth=1
incl (%rbx)
movq %r13, %rdi
callq _strlen
leaq 1(%rax), %rdi
movl $1, %esi
callq _calloc
movq %rax, %r15
movl (%rbx), %esi
shll $3, %esi
movq %r14, %rdi
callq _realloc
movq %rax, %r14
movslq (%rbx), %rax
movq %r15, -8(%r14,%rax,8)
jmp LBB0_10
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_10 Depth=2
testl %eax, %eax
je LBB0_4
LBB0_12: ## in Loop: Header=BB0_10 Depth=2
movb %al, (%r15)
LBB0_16: ## in Loop: Header=BB0_10 Depth=2
incq %r15
incq %r13
LBB0_10: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
movzbl (%r13), %eax
cmpl $37, %eax
jne LBB0_11
## %bb.13: ## in Loop: Header=BB0_10 Depth=2
movzbl 1(%r13), %ecx
testb %cl, %cl
je LBB0_12
## %bb.14: ## in Loop: Header=BB0_10 Depth=2
movzbl 2(%r13), %edx
testb %dl, %dl
je LBB0_12
## %bb.15: ## in Loop: Header=BB0_10 Depth=2
addq $2, %r13
movb %cl, -43(%rbp)
movb %dl, -42(%rbp)
movb $0, -41(%rbp)
movq %r12, %rdi
xorl %esi, %esi
movl $16, %edx
callq _strtol
movb %al, (%r15)
jmp LBB0_16
LBB0_1:
xorl %r14d, %r14d
LBB0_2:
movq %r14, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "file://"
L_.str.1: ## @.str.1
.asciz "\r\n"
.no_dead_strip _parseUriList
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function parseUriList
_parseUriList: ; @parseUriList
.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
str wzr, [x1]
Lloh0:
adrp x1, l_.str.1@PAGE
Lloh1:
add x1, x1, l_.str.1@PAGEOFF
bl _strtok
cbz x0, LBB0_15
; %bb.1:
mov x23, x0
mov x20, #0 ; =0x0
Lloh2:
adrp x21, l_.str@PAGE
Lloh3:
add x21, x21, l_.str@PAGEOFF
Lloh4:
adrp x22, l_.str.1@PAGE
Lloh5:
add x22, x22, l_.str.1@PAGEOFF
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
mov x0, #0 ; =0x0
mov x1, x22
bl _strtok
mov x23, x0
cbz x0, LBB0_16
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_6 Depth 2
; Child Loop BB0_11 Depth 2
ldrb w8, [x23]
cmp w8, #35
b.eq LBB0_16
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov x0, x23
mov x1, x21
mov w2, #7 ; =0x7
bl _strncmp
cbnz x0, LBB0_7
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
add x23, x23, #8
LBB0_6: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w8, [x23, #-1]!
cmp w8, #47
b.ne LBB0_6
LBB0_7: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [x19]
add w8, w8, #1
str w8, [x19]
mov x0, x23
bl _strlen
add x0, x0, #1
mov w1, #1 ; =0x1
bl _calloc
mov x24, x0
ldr w8, [x19]
lsl w1, w8, #3
mov x0, x20
bl _realloc
mov x20, x0
ldrsw x8, [x19]
add x8, x0, x8, lsl #3
stur x24, [x8, #-8]
b LBB0_11
LBB0_8: ; in Loop: Header=BB0_11 Depth=2
cbz w8, LBB0_2
LBB0_9: ; in Loop: Header=BB0_11 Depth=2
strb w8, [x24]
LBB0_10: ; in Loop: Header=BB0_11 Depth=2
add x24, x24, #1
add x23, x23, #1
LBB0_11: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w8, [x23]
cmp w8, #37
b.ne LBB0_8
; %bb.12: ; in Loop: Header=BB0_11 Depth=2
ldrb w9, [x23, #1]
cbz w9, LBB0_9
; %bb.13: ; in Loop: Header=BB0_11 Depth=2
mov x25, x23
ldrb w10, [x25, #2]!
cbz w10, LBB0_9
; %bb.14: ; in Loop: Header=BB0_11 Depth=2
strb w9, [sp, #13]
strb w10, [sp, #14]
strb wzr, [sp, #15]
add x0, sp, #13
mov x1, #0 ; =0x0
mov w2, #16 ; =0x10
bl _strtol
strb w0, [x24]
mov x23, x25
b LBB0_10
LBB0_15:
mov x20, #0 ; =0x0
LBB0_16:
mov x0, x20
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "file://"
l_.str.1: ; @.str.1
.asciz "\r\n"
.no_dead_strip _parseUriList
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function ParserGetCueHandler
_ParserGetCueHandler: ## @ParserGetCueHandler
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq (%rdi), %rax
movq (%rax), %rbx
movslq (%rbx), %rax
movq 8(%rbx), %rdi
testq %rax, %rax
je LBB0_1
LBB0_2:
leaq (%rdi,%rax,8), %rax
addq $-8, %rax
LBB0_10:
popq %rbx
popq %r14
popq %rbp
retq
LBB0_1:
cmpq $0, -8(%rdi)
je LBB0_2
## %bb.3:
movslq 4(%rbx), %rsi
testq %rsi, %rsi
jg LBB0_7
## %bb.4:
movq _SIZE_MAX@GOTPCREL(%rip), %rax
movslq (%rax), %rcx
shrq $3, %rcx
movq _WEBVTT_PREALLOC@GOTPCREL(%rip), %r14
movslq (%r14), %rax
subq %rax, %rcx
cmpq %rsi, %rcx
jbe LBB0_7
## %bb.5:
subl %eax, %esi
shll $3, %esi
## kill: def $esi killed $esi killed $rsi
callq _realloc
movl 4(%rbx), %esi
testq %rax, %rax
je LBB0_7
## %bb.6:
movq %rax, 8(%rbx)
addl (%r14), %esi
movl %esi, 4(%rbx)
LBB0_7:
movslq (%rbx), %rax
cmpl %eax, %esi
jle LBB0_8
## %bb.9:
leal 1(%rax), %ecx
movl %ecx, (%rbx)
shlq $3, %rax
addq 8(%rbx), %rax
jmp LBB0_10
LBB0_8:
xorl %eax, %eax
jmp LBB0_10
.cfi_endproc
## -- End function
.comm _SIZE_MAX,4,2 ## @SIZE_MAX
.comm _WEBVTT_PREALLOC,4,2 ## @WEBVTT_PREALLOC
.no_dead_strip _ParserGetCueHandler
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function ParserGetCueHandler
_ParserGetCueHandler: ; @ParserGetCueHandler
.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 x19, [x8]
ldrsw x8, [x19]
ldr x0, [x19, #8]
cbz w8, LBB0_3
LBB0_1:
add x8, x0, x8, lsl #3
sub x0, x8, #8
LBB0_2:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_3:
ldur x9, [x0, #-8]
cbz x9, LBB0_1
; %bb.4:
ldr w8, [x19, #4]
cmp w8, #0
b.gt LBB0_8
; %bb.5:
sxtw x10, w8
Lloh0:
adrp x9, _SIZE_MAX@GOTPAGE
Lloh1:
ldr x9, [x9, _SIZE_MAX@GOTPAGEOFF]
Lloh2:
ldrsw x9, [x9]
lsr x11, x9, #3
Lloh3:
adrp x20, _WEBVTT_PREALLOC@GOTPAGE
Lloh4:
ldr x20, [x20, _WEBVTT_PREALLOC@GOTPAGEOFF]
ldrsw x9, [x20]
sub x11, x11, x9
cmp x11, x10
b.ls LBB0_8
; %bb.6:
sub w8, w8, w9
lsl w1, w8, #3
bl _realloc
ldr w8, [x19, #4]
cbz x0, LBB0_8
; %bb.7:
str x0, [x19, #8]
ldr w9, [x20]
add w8, w8, w9
str w8, [x19, #4]
LBB0_8:
ldrsw x9, [x19]
cmp w8, w9
b.le LBB0_10
; %bb.9:
ldr x8, [x19, #8]
add w10, w9, #1
str w10, [x19]
add x0, x8, x9, lsl #3
b LBB0_2
LBB0_10:
mov x0, #0 ; =0x0
b LBB0_2
.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 _ParserGetCueHandler
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function alloc_flink
_alloc_flink: ## @alloc_flink
.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
cmpq %rax, (%rdi)
jb LBB0_5
## %bb.1:
leaq (%rax,%rax,4), %rax
shrq $2, %rax
movl $16, %r14d
subq %rax, %r14
movq 16(%rbx), %rdi
leal (,%r14,8), %esi
callq _realloc
testq %rax, %rax
je LBB0_2
## %bb.4:
movl %r14d, %ecx
movq %rax, 16(%rbx)
movq %rcx, 8(%rbx)
movq (%rbx), %rcx
leaq (%rax,%rcx,8), %rdi
subl %ecx, %r14d
shll $3, %r14d
xorl %esi, %esi
movl %r14d, %edx
callq _memset
LBB0_5:
movl $1, %edi
movl $4, %esi
callq _calloc
testq %rax, %rax
je LBB0_6
## %bb.7:
movq (%rbx), %rcx
movq 16(%rbx), %rdx
leaq 1(%rcx), %rsi
movq %rsi, (%rbx)
movq %rax, (%rdx,%rcx,8)
jmp LBB0_8
LBB0_6:
movq 24(%rbx), %rbx
movq _OSM_LOG_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %r14d
movq _errno@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _strerror
leaq L_.str.1(%rip), %rdx
jmp LBB0_3
LBB0_2:
movq 24(%rbx), %rbx
movq _OSM_LOG_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %r14d
movq _errno@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _strerror
leaq L_.str(%rip), %rdx
LBB0_3:
movq %rbx, %rdi
movl %r14d, %esi
movl %eax, %ecx
callq _OSM_LOG
xorl %eax, %eax
LBB0_8:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _OSM_LOG_ERROR,4,2 ## @OSM_LOG_ERROR
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "ERR 4E04: realloc: %s\n"
.comm _errno,4,2 ## @errno
L_.str.1: ## @.str.1
.asciz "ERR 4E05: calloc: %s\n"
.no_dead_strip _alloc_flink
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function alloc_flink
_alloc_flink: ; @alloc_flink
.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
ldp x9, x8, [x0]
cmp x9, x8
b.lo LBB0_3
; %bb.1:
add x8, x8, x8, lsl #2
mov w9, #16 ; =0x10
sub x20, x9, x8, lsr #2
ldr x0, [x19, #16]
lsl w1, w20, #3
bl _realloc
cbz x0, LBB0_6
; %bb.2:
mov w8, w20
stp x8, x0, [x19, #8]
ldr x8, [x19]
add x0, x0, x8, lsl #3
sub w8, w20, w8
lsl w2, w8, #3
mov w1, #0 ; =0x0
bl _memset
LBB0_3:
mov w0, #1 ; =0x1
mov w1, #4 ; =0x4
bl _calloc
cbz x0, LBB0_5
; %bb.4:
ldr x8, [x19, #16]
ldr x9, [x19]
add x10, x9, #1
str x10, [x19]
str x0, [x8, x9, lsl #3]
b LBB0_8
LBB0_5:
ldr x19, [x19, #24]
Lloh0:
adrp x8, _OSM_LOG_ERROR@GOTPAGE
Lloh1:
ldr x8, [x8, _OSM_LOG_ERROR@GOTPAGEOFF]
Lloh2:
ldr w20, [x8]
Lloh3:
adrp x8, _errno@GOTPAGE
Lloh4:
ldr x8, [x8, _errno@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
bl _strerror
mov x3, x0
Lloh6:
adrp x2, l_.str.1@PAGE
Lloh7:
add x2, x2, l_.str.1@PAGEOFF
b LBB0_7
LBB0_6:
ldr x19, [x19, #24]
Lloh8:
adrp x8, _OSM_LOG_ERROR@GOTPAGE
Lloh9:
ldr x8, [x8, _OSM_LOG_ERROR@GOTPAGEOFF]
Lloh10:
ldr w20, [x8]
Lloh11:
adrp x8, _errno@GOTPAGE
Lloh12:
ldr x8, [x8, _errno@GOTPAGEOFF]
Lloh13:
ldr w0, [x8]
bl _strerror
mov x3, x0
Lloh14:
adrp x2, l_.str@PAGE
Lloh15:
add x2, x2, l_.str@PAGEOFF
LBB0_7:
mov x0, x19
mov x1, x20
bl _OSM_LOG
mov x0, #0 ; =0x0
LBB0_8:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.cfi_endproc
; -- End function
.comm _OSM_LOG_ERROR,4,2 ; @OSM_LOG_ERROR
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "ERR 4E04: realloc: %s\n"
.comm _errno,4,2 ; @errno
l_.str.1: ; @.str.1
.asciz "ERR 4E05: calloc: %s\n"
.no_dead_strip _alloc_flink
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function unicode_builtin_encoding_convert
_unicode_builtin_encoding_convert: ## @unicode_builtin_encoding_convert
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq $0, (%rdi)
movq $0, (%rsi)
movl (%rdx), %edi
leaq L_.str(%rip), %rsi
callq _ntlm_client_set_errmsg
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _unicode_builtin_utf8_to_16,8,3 ## @unicode_builtin_utf8_to_16
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "out of memory"
.comm _unicode_builtin_utf16_to_8,8,3 ## @unicode_builtin_utf16_to_8
.comm _strictConversion,4,2 ## @strictConversion
.comm _lenientConversion,4,2 ## @lenientConversion
.comm _NTLM_UNICODE_MAX_LEN,8,3 ## @NTLM_UNICODE_MAX_LEN
.no_dead_strip _unicode_builtin_encoding_convert
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function unicode_builtin_encoding_convert
_unicode_builtin_encoding_convert: ; @unicode_builtin_encoding_convert
.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
str xzr, [x0]
str xzr, [x1]
ldr w0, [x2]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _ntlm_client_set_errmsg
mov w0, #0 ; =0x0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _unicode_builtin_utf8_to_16,8,3 ; @unicode_builtin_utf8_to_16
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "out of memory"
.comm _unicode_builtin_utf16_to_8,8,3 ; @unicode_builtin_utf16_to_8
.comm _strictConversion,4,2 ; @strictConversion
.comm _lenientConversion,4,2 ; @lenientConversion
.comm _NTLM_UNICODE_MAX_LEN,8,3 ; @NTLM_UNICODE_MAX_LEN
.no_dead_strip _unicode_builtin_encoding_convert
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function AllocateVfd
_AllocateVfd: ## @AllocateVfd
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_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 _LOG@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _SizeVfdCache@GOTPCREL(%rip), %r15
movl (%r15), %edx
leaq L_.str(%rip), %rsi
callq _elog
movl %eax, %edi
callq _DO_DB
xorl %edi, %edi
cmpl $0, (%r15)
setg %dil
callq _Assert
movq _VfdCache@GOTPCREL(%rip), %r14
movq (%r14), %rdi
movl (%rdi), %eax
testl %eax, %eax
jne LBB0_7
## %bb.1:
movl (%r15), %eax
leal (%rax,%rax), %ecx
cmpl $17, %eax
movl $32, %r12d
cmovgel %ecx, %r12d
leal (,%r12,8), %esi
callq _realloc
movq %rax, %rdi
testq %rax, %rax
jne LBB0_3
## %bb.2:
movq _ERROR@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movq _ERRCODE_OUT_OF_MEMORY@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq %rdi, %r13
movl %eax, %edi
callq _errcode
leaq L_.str.1(%rip), %rdi
callq _errmsg
movl %ebx, %edi
movl %eax, %esi
callq _ereport
movq %r13, %rdi
LBB0_3:
movq %rdi, (%r14)
movslq (%r15), %rax
cmpl %r12d, %eax
jge LBB0_6
## %bb.4:
movq %rax, %rbx
shlq $3, %rbx
leal -1(%rax), %r15d
movq _VFD_CLOSED@GOTPCREL(%rip), %r12
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
addq %rbx, %rdi
xorl %esi, %esi
movl $8, %edx
callq _MemSet
movq (%r14), %rdi
movl %r15d, (%rdi,%rbx)
movl (%r12), %eax
movl %eax, 4(%rdi,%rbx)
addq $-8, %rbx
decl %r15d
jmp LBB0_5
LBB0_6:
movslq %r12d, %rax
movl $0, -8(%rdi,%rax,8)
movl (%r15), %eax
movl %eax, (%rdi)
movl %r12d, (%r15)
movl (%rdi), %eax
LBB0_7:
cltq
movl (%rdi,%rax,8), %ecx
movl %ecx, (%rdi)
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _LOG,4,2 ## @LOG
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "AllocateVfd. Size %zu"
.comm _SizeVfdCache,4,2 ## @SizeVfdCache
.comm _VfdCache,8,3 ## @VfdCache
.comm _ERROR,4,2 ## @ERROR
.comm _ERRCODE_OUT_OF_MEMORY,4,2 ## @ERRCODE_OUT_OF_MEMORY
L_.str.1: ## @.str.1
.asciz "out of memory"
.comm _VFD_CLOSED,4,2 ## @VFD_CLOSED
.no_dead_strip _AllocateVfd
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function AllocateVfd
_AllocateVfd: ; @AllocateVfd
.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, _LOG@GOTPAGE
Lloh1:
ldr x8, [x8, _LOG@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
Lloh3:
adrp x21, _SizeVfdCache@GOTPAGE
Lloh4:
ldr x21, [x21, _SizeVfdCache@GOTPAGEOFF]
ldr w2, [x21]
Lloh5:
adrp x1, l_.str@PAGE
Lloh6:
add x1, x1, l_.str@PAGEOFF
bl _elog
bl _DO_DB
ldr w8, [x21]
cmp w8, #0
cset w0, gt
bl _Assert
Lloh7:
adrp x20, _VfdCache@GOTPAGE
Lloh8:
ldr x20, [x20, _VfdCache@GOTPAGEOFF]
ldr x0, [x20]
ldr w9, [x0]
cbnz w9, LBB0_7
; %bb.1:
ldr w8, [x21]
lsl w9, w8, #1
mov w10, #32 ; =0x20
cmp w8, #17
csel w22, w10, w9, lt
lsl w1, w22, #3
bl _realloc
cbnz x0, LBB0_3
; %bb.2:
Lloh9:
adrp x8, _ERROR@GOTPAGE
Lloh10:
ldr x8, [x8, _ERROR@GOTPAGEOFF]
Lloh11:
ldr w19, [x8]
Lloh12:
adrp x8, _ERRCODE_OUT_OF_MEMORY@GOTPAGE
Lloh13:
ldr x8, [x8, _ERRCODE_OUT_OF_MEMORY@GOTPAGEOFF]
Lloh14:
ldr w8, [x8]
mov x23, x0
mov x0, x8
bl _errcode
Lloh15:
adrp x0, l_.str.1@PAGE
Lloh16:
add x0, x0, l_.str.1@PAGEOFF
bl _errmsg
mov x1, x0
mov x0, x19
bl _ereport
mov x0, x23
LBB0_3:
str x0, [x20]
ldrsw x8, [x21]
cmp w8, w22
b.ge LBB0_6
; %bb.4:
lsl x19, x8, #3
sub w21, w8, #1
Lloh17:
adrp x22, _VFD_CLOSED@GOTPAGE
Lloh18:
ldr x22, [x22, _VFD_CLOSED@GOTPAGEOFF]
LBB0_5: ; =>This Inner Loop Header: Depth=1
add x0, x0, x19
mov w1, #0 ; =0x0
mov w2, #8 ; =0x8
bl _MemSet
ldr x0, [x20]
add x8, x0, x19
str w21, [x8]
ldr w9, [x22]
str w9, [x8, #4]
sub x19, x19, #8
sub w21, w21, #1
b LBB0_5
LBB0_6:
add x8, x0, w22, sxtw #3
stur wzr, [x8, #-8]
ldr w8, [x21]
str w8, [x0]
str w22, [x21]
ldr w9, [x0]
LBB0_7:
sxtw x8, w9
sbfiz x9, x9, #3, #32
ldr w9, [x0, x9]
str w9, [x0]
mov x0, x8
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGot Lloh17, Lloh18
.cfi_endproc
; -- End function
.comm _LOG,4,2 ; @LOG
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "AllocateVfd. Size %zu"
.comm _SizeVfdCache,4,2 ; @SizeVfdCache
.comm _VfdCache,8,3 ; @VfdCache
.comm _ERROR,4,2 ; @ERROR
.comm _ERRCODE_OUT_OF_MEMORY,4,2 ; @ERRCODE_OUT_OF_MEMORY
l_.str.1: ; @.str.1
.asciz "out of memory"
.comm _VFD_CLOSED,4,2 ; @VFD_CLOSED
.no_dead_strip _AllocateVfd
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function vlclua_fd_map
_vlclua_fd_map: ## @vlclua_fd_map
.cfi_startproc
## %bb.0:
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
callq _vlclua_get_dtable
movl $-1, %ebx
cmpl $3, %r14d
jb LBB0_11
## %bb.1:
movq %rax, %r15
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq 8(%r15), %rax
movl %r12d, %ecx
xorl %edi, %edi
cmpl %r14d, (%rax,%rcx,4)
setne %dil
callq _assert
incl %r12d
movl (%r15), %eax
cmpl %eax, %r12d
jbe LBB0_2
## %bb.3:
testq %rax, %rax
je LBB0_9
## %bb.4:
movq 8(%r15), %rdx
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
cmpl $-1, (%rdx,%rcx,4)
je LBB0_6
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
incq %rcx
cmpl %ecx, %eax
jne LBB0_5
## %bb.8:
cmpl $63, %eax
ja LBB0_11
LBB0_9:
movq 8(%r15), %rdi
leal 4(,%rax,4), %esi
callq _realloc
movq %rax, %r12
xorl %edi, %edi
testq %rax, %rax
setne %dil
callq _unlikely
testq %rax, %rax
jne LBB0_11
## %bb.10:
movq %r12, 8(%r15)
movl (%r15), %eax
movl %r14d, (%r12,%rax,4)
movl (%r15), %eax
leal 3(%rax), %ebx
incl %eax
movl %eax, (%r15)
jmp LBB0_11
LBB0_6:
movl %r14d, (%rdx,%rcx,4)
addl $3, %ecx
movl %ecx, %ebx
LBB0_11:
movl %ebx, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _vlclua_fd_map
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function vlclua_fd_map
_vlclua_fd_map: ; @vlclua_fd_map
.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
bl _vlclua_get_dtable
cmp w19, #3
b.lo LBB0_9
; %bb.1:
mov x20, x0
mov w21, #0 ; =0x0
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x8, [x20, #8]
ldr w8, [x8, w21, uxtw #2]
cmp w8, w19
cset w0, ne
bl _assert
add w21, w21, #1
ldr w8, [x20]
cmp w21, w8
b.ls LBB0_2
; %bb.3:
cbz w8, LBB0_8
; %bb.4:
mov x9, #0 ; =0x0
ldr x10, [x20, #8]
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr w11, [x10, x9, lsl #2]
cmn w11, #1
b.eq LBB0_11
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
add x9, x9, #1
cmp w8, w9
b.ne LBB0_5
; %bb.7:
cmp w8, #63
b.hi LBB0_9
LBB0_8:
ldr x0, [x20, #8]
lsl w8, w8, #2
add w1, w8, #4
bl _realloc
mov x21, x0
cmp x0, #0
cset w0, ne
bl _unlikely
cbz x0, LBB0_12
LBB0_9:
mov w0, #-1 ; =0xffffffff
LBB0_10:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_11:
str w19, [x10, x9, lsl #2]
add w0, w9, #3
b LBB0_10
LBB0_12:
str x21, [x20, #8]
ldr w8, [x20]
str w19, [x21, x8, lsl #2]
ldr w8, [x20]
add w0, w8, #3
add w8, w8, #1
str w8, [x20]
b LBB0_10
.cfi_endproc
; -- End function
.no_dead_strip _vlclua_fd_map
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _record_pkey_malloc ## -- Begin function record_pkey_malloc
.p2align 4, 0x90
_record_pkey_malloc: ## @record_pkey_malloc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_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 %rsi, -56(%rbp) ## 8-byte Spill
movq %rdi, %r15
movq _nr_pkey_malloc_records@GOTPCREL(%rip), %r13
movq (%r13), %r12
testq %r12, %r12
jle LBB0_2
## %bb.1:
leaq 1(%r12), %rax
xorl %ecx, %ecx
testq %rax, %rax
cmovgq %rax, %rcx
xorl %eax, %eax
testq %rcx, %rcx
setne %al
subq %rax, %rcx
negq %rax
xorl %edx, %edx
cmpq $-1, %rcx
sete %dl
movq _pkey_malloc_records@GOTPCREL(%rip), %rcx
leaq (%rax,%rax,2), %rax
shlq $3, %rax
addq (%rcx), %rax
negq %rdx
leaq (%rdx,%rdx,2), %rbx
shlq $3, %rbx
addq %rax, %rbx
jne LBB0_6
LBB0_2:
movl %r14d, -44(%rbp) ## 4-byte Spill
leaq (%r12,%r12), %rax
leaq -1(,%r12,2), %r13
leaq -8(,%rax,8), %rax
leaq (%rax,%rax,2), %rbx
leaq L_.str(%rip), %rdi
movq %r13, %rsi
callq _dprintf2
leaq L_.str.1(%rip), %rdi
movq %rbx, %rsi
callq _dprintf2
movq _pkey_malloc_records@GOTPCREL(%rip), %r14
movq (%r14), %rdi
movq %rbx, %rsi
callq _realloc
movq %rax, (%r14)
xorl %edi, %edi
testq %rax, %rax
setne %dil
callq _pkey_assert
movq _nr_pkey_malloc_records@GOTPCREL(%rip), %rax
movq (%rax), %rax
leaq (%rax,%rax,2), %rbx
shlq $3, %rbx
addq (%r14), %rbx
subq %r12, %r13
je LBB0_5
## %bb.3:
cmpq $1, %r13
adcq $0, %r13
movq %rbx, %r12
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq %r12, %rdi
xorl %esi, %esi
movl $24, %edx
callq _memset
addq $24, %r12
decq %r13
jne LBB0_4
LBB0_5:
movl -44(%rbp), %r14d ## 4-byte Reload
movq _nr_pkey_malloc_records@GOTPCREL(%rip), %r13
LBB0_6:
movq _pkey_malloc_records@GOTPCREL(%rip), %rax
movq %rbx, %rcx
subq (%rax), %rcx
shrq $3, %rcx
imull $-1431655765, %ecx, %esi ## imm = 0xAAAAAAAB
leaq L_.str.2(%rip), %rdi
movq %rbx, %rdx
movq %r15, %rcx
movq -56(%rbp), %r12 ## 8-byte Reload
movq %r12, %r8
callq _dprintf3
movq %r15, 16(%rbx)
movq %r12, (%rbx)
movl %r14d, 8(%rbx)
movq _pkey_last_malloc_record@GOTPCREL(%rip), %rax
movq %rbx, (%rax)
incq (%r13)
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _nr_pkey_malloc_records,8,3 ## @nr_pkey_malloc_records
.comm _pkey_malloc_records,8,3 ## @pkey_malloc_records
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "new_nr_records: %zd\n"
L_.str.1: ## @.str.1
.asciz "new_size: %zd\n"
L_.str.2: ## @.str.2
.asciz "filling malloc record[%d/%p]: {%p, %ld}\n"
.comm _pkey_last_malloc_record,8,3 ## @pkey_last_malloc_record
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _record_pkey_malloc ; -- Begin function record_pkey_malloc
.p2align 2
_record_pkey_malloc: ; @record_pkey_malloc
.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 x24, _nr_pkey_malloc_records@GOTPAGE
Lloh1:
ldr x24, [x24, _nr_pkey_malloc_records@GOTPAGEOFF]
ldr x26, [x24]
Lloh2:
adrp x25, _pkey_malloc_records@GOTPAGE
Lloh3:
ldr x25, [x25, _pkey_malloc_records@GOTPAGEOFF]
cmp x26, #1
b.lt LBB0_2
; %bb.1:
add x8, x26, #1
bic x8, x8, x8, asr #63
cmp x8, #0
cset w9, ne
csetm x10, ne
sub x8, x8, x9
cmn x8, #1
csetm x8, eq
ldr x9, [x25]
mov w11, #24 ; =0x18
madd x9, x10, x11, x9
madd x22, x8, x11, x9
cbnz x22, LBB0_5
LBB0_2:
lsl x8, x26, #1
sub x23, x8, #1
add x8, x23, x23, lsl #1
lsl x22, x8, #3
Lloh4:
adrp x0, l_.str@PAGE
Lloh5:
add x0, x0, l_.str@PAGEOFF
mov x1, x23
bl _dprintf2
Lloh6:
adrp x0, l_.str.1@PAGE
Lloh7:
add x0, x0, l_.str.1@PAGEOFF
mov x1, x22
bl _dprintf2
ldr x0, [x25]
mov x1, x22
bl _realloc
str x0, [x25]
cmp x0, #0
cset w0, ne
bl _pkey_assert
ldr x8, [x25]
ldr x9, [x24]
mov w10, #24 ; =0x18
madd x22, x9, x10, x8
subs x8, x23, x26
b.eq LBB0_5
; %bb.3:
cmp x8, #1
csinc x26, x8, xzr, hi
mov x23, x22
LBB0_4: ; =>This Inner Loop Header: Depth=1
mov x0, x23
mov w1, #0 ; =0x0
mov w2, #24 ; =0x18
bl _memset
add x23, x23, #24
subs x26, x26, #1
b.ne LBB0_4
LBB0_5:
ldr x8, [x25]
sub x8, x22, x8
lsr x8, x8, #3
mov w9, #43691 ; =0xaaab
movk w9, #43690, lsl #16
mul w1, w8, w9
Lloh8:
adrp x0, l_.str.2@PAGE
Lloh9:
add x0, x0, l_.str.2@PAGEOFF
mov x2, x22
mov x3, x21
mov x4, x20
bl _dprintf3
str x21, [x22, #16]
str x20, [x22]
str w19, [x22, #8]
Lloh10:
adrp x8, _pkey_last_malloc_record@GOTPAGE
Lloh11:
ldr x8, [x8, _pkey_last_malloc_record@GOTPAGEOFF]
Lloh12:
str x22, [x8]
ldr x8, [x24]
add x8, x8, #1
str x8, [x24]
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 Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpLdrGotStr Lloh10, Lloh11, Lloh12
.loh AdrpAdd Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _nr_pkey_malloc_records,8,3 ; @nr_pkey_malloc_records
.comm _pkey_malloc_records,8,3 ; @pkey_malloc_records
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "new_nr_records: %zd\n"
l_.str.1: ; @.str.1
.asciz "new_size: %zd\n"
l_.str.2: ; @.str.2
.asciz "filling malloc record[%d/%p]: {%p, %ld}\n"
.comm _pkey_last_malloc_record,8,3 ; @pkey_last_malloc_record
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function iter_sortby
_iter_sortby: ## @iter_sortby
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl %esi, %ebx
movl %esi, -20(%rbp)
movq (%rdi), %r14
movl (%r14), %ecx
movl 4(%r14), %esi
cmpl %esi, %ecx
jge LBB0_2
## %bb.1:
movq 8(%r14), %rax
jmp LBB0_3
LBB0_2:
leal (%rsi,%rsi), %eax
movl %eax, 4(%r14)
movq 8(%r14), %rdi
shll $3, %esi
## kill: def $esi killed $esi killed $rsi
callq _realloc
movq %rax, 8(%r14)
movl (%r14), %ecx
LBB0_3:
movslq %ecx, %rcx
leaq (%rax,%rcx,8), %r8
movl %ebx, 4(%rax,%rcx,8)
movl 16(%r14), %esi
movl 20(%r14), %edi
leaq -20(%rbp), %rcx
movl $1, %edx
callq _strm_funcall
movq _STRM_NG@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_5
## %bb.4:
incl (%r14)
movq _STRM_OK@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_5:
## kill: def $eax killed $eax killed $rax
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _STRM_NG,8,3 ## @STRM_NG
.comm _STRM_OK,4,2 ## @STRM_OK
.no_dead_strip _iter_sortby
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function iter_sortby
_iter_sortby: ; @iter_sortby
.cfi_startproc
; %bb.0:
sub sp, sp, #48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
str w1, [sp, #12]
ldr x20, [x0]
ldp w8, w9, [x20]
cmp w8, w9
b.ge LBB0_2
; %bb.1:
ldr x0, [x20, #8]
b LBB0_3
LBB0_2:
lsl w8, w9, #1
str w8, [x20, #4]
ldr x0, [x20, #8]
lsl w1, w9, #3
bl _realloc
str x0, [x20, #8]
ldr w8, [x20]
LBB0_3:
add x4, x0, w8, sxtw #3
str w19, [x4, #4]
ldp w1, w0, [x20, #16]
add x3, sp, #12
mov w2, #1 ; =0x1
bl _strm_funcall
Lloh0:
adrp x8, _STRM_NG@GOTPAGE
Lloh1:
ldr x8, [x8, _STRM_NG@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x0, x8
b.eq LBB0_5
; %bb.4:
ldr w8, [x20]
add w8, w8, #1
str w8, [x20]
Lloh3:
adrp x8, _STRM_OK@GOTPAGE
Lloh4:
ldr x8, [x8, _STRM_OK@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
LBB0_5:
; kill: def $w0 killed $w0 killed $x0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _STRM_NG,8,3 ; @STRM_NG
.comm _STRM_OK,4,2 ; @STRM_OK
.no_dead_strip _iter_sortby
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function SDTCallBack
_SDTCallBack: ## @SDTCallBack
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $296, %rsp ## imm = 0x128
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %r15
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq 24(%rdi), %rbx
movq $0, -328(%rbp)
movq (%rsi), %rax
movq _SDT_OTHER_TS_TABLE_ID@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_5
## %bb.1:
movl 36(%r14), %esi
leaq -328(%rbp), %rdx
movq %r15, %rdi
callq _GetOtherTsSDT
testl %eax, %eax
je LBB0_3
## %bb.2:
movq -328(%rbp), %r15
jmp LBB0_6
LBB0_5:
movq %r15, -328(%rbp)
LBB0_6:
movq (%r15), %rdi
testq %rdi, %rdi
je LBB0_10
## %bb.7:
movq 8(%rdi), %rax
cmpq 8(%r14), %rax
jne LBB0_9
## %bb.8:
movq 16(%rdi), %rax
cmpq 16(%r14), %rax
jg LBB0_20
LBB0_9:
callq _dvbpsi_sdt_delete
movq -328(%rbp), %r15
LBB0_10:
movq %r14, (%r15)
movq _SDT_CURRENT_TS_TABLE_ID@GOTPCREL(%rip), %rax
movq (%r14), %rcx
cmpq (%rax), %rcx
leaq L_.str.1(%rip), %rax
leaq L_.str.2(%rip), %rdx
cmoveq %rax, %rdx
movq 8(%r14), %r8
movl 36(%r14), %ecx
movq 16(%r14), %r9
movl 32(%r14), %eax
movl %eax, (%rsp)
leaq L_.str(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _msg_Dbg
movq 24(%r14), %r13
testq %r13, %r13
je LBB0_21
## %bb.11:
leaq -320(%rbp), %r15
jmp LBB0_12
.p2align 4, 0x90
LBB0_19: ## in Loop: Header=BB0_12 Depth=1
movq 32(%r13), %r13
testq %r13, %r13
je LBB0_21
LBB0_12: ## =>This Loop Header: Depth=1
## Child Loop BB0_14 Depth 2
movl 24(%r13), %edx
movl 20(%r13), %ecx
movl 16(%r13), %r8d
movl 8(%r13), %eax
movl 12(%r13), %r9d
movl %eax, (%rsp)
movq %rbx, %rdi
leaq L_.str.3(%rip), %rsi
xorl %eax, %eax
callq _msg_Dbg
movq (%r13), %r14
testq %r14, %r14
jne LBB0_14
jmp LBB0_19
.p2align 4, 0x90
LBB0_17: ## in Loop: Header=BB0_14 Depth=2
movq %rbx, %rdi
leaq L_.str.5(%rip), %rsi
xorl %eax, %eax
callq _msg_Dbg
LBB0_18: ## in Loop: Header=BB0_14 Depth=2
movq 8(%r14), %r14
testq %r14, %r14
je LBB0_19
LBB0_14: ## Parent Loop BB0_12 Depth=1
## => This Inner Loop Header: Depth=2
movl (%r14), %edx
cmpl $72, %edx
jne LBB0_17
## %bb.15: ## in Loop: Header=BB0_14 Depth=2
movq %r14, %rdi
callq _dvbpsi_DecodeServiceDr
testq %rax, %rax
je LBB0_18
## %bb.16: ## in Loop: Header=BB0_14 Depth=2
movq %rax, %r12
movl 12(%rax), %esi
movq (%rax), %rdx
movq %r15, %rdi
callq _memcpy
movq (%r12), %rax
movb $0, -320(%rbp,%rax)
movl 8(%r12), %edx
movq %rbx, %rdi
leaq L_.str.4(%rip), %rsi
movq %r15, %rcx
xorl %eax, %eax
callq _msg_Dbg
movq 8(%r14), %r14
testq %r14, %r14
jne LBB0_14
jmp LBB0_19
LBB0_3:
movq 16(%r15), %rdi
movl 8(%r15), %eax
leal -8(,%rax,8), %esi
callq _realloc
testq %rax, %rax
je LBB0_20
## %bb.4:
movslq 8(%r15), %rcx
leaq (%rax,%rcx,8), %rdx
movq %rdx, -328(%rbp)
movq %rax, 16(%r15)
leal -1(%rcx), %eax
movl %eax, 8(%r15)
movq %rdx, %r15
jmp LBB0_6
LBB0_20:
movq %r14, %rdi
callq _dvbpsi_sdt_delete
LBB0_21:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_23
## %bb.22:
addq $296, %rsp ## imm = 0x128
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_23:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _SDT_OTHER_TS_TABLE_ID,8,3 ## @SDT_OTHER_TS_TABLE_ID
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "new SDT %s ts_id=%d version=%d current_next=%d network_id=%d"
.comm _SDT_CURRENT_TS_TABLE_ID,8,3 ## @SDT_CURRENT_TS_TABLE_ID
L_.str.1: ## @.str.1
.asciz "local"
L_.str.2: ## @.str.2
.asciz "other"
L_.str.3: ## @.str.3
.asciz " * service id=%d eit schedule=%d present=%d running=%d free_ca=%d"
L_.str.4: ## @.str.4
.asciz " - type=%d name=%s"
L_.str.5: ## @.str.5
.asciz " * dsc 0x%x"
.no_dead_strip _SDTCallBack
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function SDTCallBack
_SDTCallBack: ; @SDTCallBack
.cfi_startproc
; %bb.0:
sub sp, sp, #416
stp x28, x27, [sp, #320] ; 16-byte Folded Spill
stp x26, x25, [sp, #336] ; 16-byte Folded Spill
stp x24, x23, [sp, #352] ; 16-byte Folded Spill
stp x22, x21, [sp, #368] ; 16-byte Folded Spill
stp x20, x19, [sp, #384] ; 16-byte Folded Spill
stp x29, x30, [sp, #400] ; 16-byte Folded Spill
add x29, sp, #400
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x20, x1
mov x21, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-88]
ldr x19, [x0, #24]
str xzr, [sp, #40]
ldr x8, [x1]
Lloh3:
adrp x9, _SDT_OTHER_TS_TABLE_ID@GOTPAGE
Lloh4:
ldr x9, [x9, _SDT_OTHER_TS_TABLE_ID@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_5
; %bb.1:
ldr w1, [x20, #36]
add x2, sp, #40
mov x0, x21
bl _GetOtherTsSDT
cbz w0, LBB0_3
; %bb.2:
ldr x21, [sp, #40]
ldr x0, [x21]
cbnz x0, LBB0_6
b LBB0_10
LBB0_3:
ldr x0, [x21, #16]
ldr w8, [x21, #8]
lsl w8, w8, #3
sub w1, w8, #8
bl _realloc
cbz x0, LBB0_8
; %bb.4:
ldrsw x8, [x21, #8]
str x0, [x21, #16]
sub w9, w8, #1
str w9, [x21, #8]
add x21, x0, x8, lsl #3
LBB0_5:
str x21, [sp, #40]
ldr x0, [x21]
cbz x0, LBB0_10
LBB0_6:
ldr x8, [x0, #8]
ldr x9, [x20, #8]
cmp x8, x9
b.ne LBB0_9
; %bb.7:
ldr x8, [x0, #16]
ldr x9, [x20, #16]
cmp x8, x9
b.le LBB0_9
LBB0_8:
mov x0, x20
bl _dvbpsi_sdt_delete
b LBB0_20
LBB0_9:
bl _dvbpsi_sdt_delete
ldr x21, [sp, #40]
LBB0_10:
str x20, [x21]
Lloh6:
adrp x8, _SDT_CURRENT_TS_TABLE_ID@GOTPAGE
Lloh7:
ldr x8, [x8, _SDT_CURRENT_TS_TABLE_ID@GOTPAGEOFF]
Lloh8:
ldr x8, [x8]
Lloh9:
adrp x9, l_.str.2@PAGE
Lloh10:
add x9, x9, l_.str.2@PAGEOFF
Lloh11:
adrp x10, l_.str.1@PAGE
Lloh12:
add x10, x10, l_.str.1@PAGEOFF
ldp x11, x12, [x20]
cmp x11, x8
csel x8, x10, x9, eq
ldr x9, [x20, #16]
ldp w11, w10, [x20, #32]
stp x9, x11, [sp, #24]
stp x10, x12, [sp, #8]
str x8, [sp]
Lloh13:
adrp x1, l_.str@PAGE
Lloh14:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _msg_Dbg
ldr x24, [x20, #24]
cbz x24, LBB0_20
; %bb.11:
Lloh15:
adrp x20, l_.str.3@PAGE
Lloh16:
add x20, x20, l_.str.3@PAGEOFF
add x25, sp, #55
Lloh17:
adrp x21, l_.str.4@PAGE
Lloh18:
add x21, x21, l_.str.4@PAGEOFF
Lloh19:
adrp x22, l_.str.5@PAGE
Lloh20:
add x22, x22, l_.str.5@PAGEOFF
b LBB0_13
LBB0_12: ; in Loop: Header=BB0_13 Depth=1
ldr x24, [x24, #32]
cbz x24, LBB0_20
LBB0_13: ; =>This Loop Header: Depth=1
; Child Loop BB0_17 Depth 2
ldp w9, w8, [x24, #20]
ldp w11, w10, [x24, #12]
ldr w12, [x24, #8]
stp x11, x12, [sp, #24]
stp x9, x10, [sp, #8]
str x8, [sp]
mov x0, x19
mov x1, x20
bl _msg_Dbg
ldr x23, [x24]
cbnz x23, LBB0_17
b LBB0_12
LBB0_14: ; in Loop: Header=BB0_17 Depth=2
str x8, [sp]
mov x0, x19
mov x1, x22
LBB0_15: ; in Loop: Header=BB0_17 Depth=2
bl _msg_Dbg
LBB0_16: ; in Loop: Header=BB0_17 Depth=2
ldr x23, [x23, #8]
cbz x23, LBB0_12
LBB0_17: ; Parent Loop BB0_13 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [x23]
cmp w8, #72
b.ne LBB0_14
; %bb.18: ; in Loop: Header=BB0_17 Depth=2
mov x0, x23
bl _dvbpsi_DecodeServiceDr
cbz x0, LBB0_16
; %bb.19: ; in Loop: Header=BB0_17 Depth=2
ldr w1, [x0, #12]
ldr x2, [x0]
mov x26, x0
add x0, sp, #55
bl _memcpy
ldr x8, [x26]
strb wzr, [x25, x8]
ldr w8, [x26, #8]
stp x8, x25, [sp]
mov x0, x19
mov x1, x21
b LBB0_15
LBB0_20:
ldur x8, [x29, #-88]
Lloh21:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh22:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_22
; %bb.21:
ldp x29, x30, [sp, #400] ; 16-byte Folded Reload
ldp x20, x19, [sp, #384] ; 16-byte Folded Reload
ldp x22, x21, [sp, #368] ; 16-byte Folded Reload
ldp x24, x23, [sp, #352] ; 16-byte Folded Reload
ldp x26, x25, [sp, #336] ; 16-byte Folded Reload
ldp x28, x27, [sp, #320] ; 16-byte Folded Reload
add sp, sp, #416
ret
LBB0_22:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.cfi_endproc
; -- End function
.comm _SDT_OTHER_TS_TABLE_ID,8,3 ; @SDT_OTHER_TS_TABLE_ID
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "new SDT %s ts_id=%d version=%d current_next=%d network_id=%d"
.comm _SDT_CURRENT_TS_TABLE_ID,8,3 ; @SDT_CURRENT_TS_TABLE_ID
l_.str.1: ; @.str.1
.asciz "local"
l_.str.2: ; @.str.2
.asciz "other"
l_.str.3: ; @.str.3
.asciz " * service id=%d eit schedule=%d present=%d running=%d free_ca=%d"
l_.str.4: ; @.str.4
.asciz " - type=%d name=%s"
l_.str.5: ; @.str.5
.asciz " * dsc 0x%x"
.no_dead_strip _SDTCallBack
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function decrypt_internal_special
_decrypt_internal_special: ## @decrypt_internal_special
.cfi_startproc
## %bb.0:
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 %r8, %r14
movl %edi, %ebx
movq 8(%rsi), %r15
movl 24(%r15), %edi
callq _CHECKSUMSIZE
movq %rax, %rcx
movq 8(%r15), %rsi
movq %r14, %rax
orq %rsi, %rax
shrq $32, %rax
je LBB0_1
## %bb.2:
movq %r14, %rax
xorl %edx, %edx
divq %rsi
testq %rdx, %rdx
je LBB0_5
LBB0_4:
movl %ebx, %edi
callq _krb5_clear_error_message
movq _KRB5_BAD_MSIZE@GOTPCREL(%rip), %r15
jmp LBB0_9
LBB0_1:
movl %r14d, %eax
xorl %edx, %edx
divl %esi
## kill: def $edx killed $edx def $rdx
testq %rdx, %rdx
jne LBB0_4
LBB0_5:
addq (%r15), %rcx
cmpq %r14, %rcx
jbe LBB0_7
## %bb.6:
movq _KRB5_BAD_MSIZE@GOTPCREL(%rip), %r15
movq (%r15), %r14
leaq L_.str(%rip), %rdi
jmp LBB0_8
LBB0_7:
movq _ENOMEM@GOTPCREL(%rip), %r15
movq (%r15), %r14
leaq L_.str.2(%rip), %rdi
LBB0_8:
leaq L_.str.1(%rip), %rsi
callq _N_
movl %ebx, %edi
movq %r14, %rsi
movl %eax, %edx
callq _krb5_set_error_message
LBB0_9:
movq (%r15), %rax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _KRB5_BAD_MSIZE,8,3 ## @KRB5_BAD_MSIZE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Encrypted data shorter then checksum + confunder"
L_.str.1: ## @.str.1
.space 1
.comm _ENOMEM,8,3 ## @ENOMEM
L_.str.2: ## @.str.2
.asciz "malloc: out of memory"
.comm _FALSE,4,2 ## @FALSE
.no_dead_strip _decrypt_internal_special
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function decrypt_internal_special
_decrypt_internal_special: ; @decrypt_internal_special
.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, x4
mov x19, x0
ldr x21, [x1, #8]
ldr w0, [x21, #24]
bl _CHECKSUMSIZE
ldr x8, [x21, #8]
udiv x9, x20, x8
msub x8, x9, x8, x20
cbz x8, LBB0_2
; %bb.1:
mov x0, x19
bl _krb5_clear_error_message
Lloh0:
adrp x21, _KRB5_BAD_MSIZE@GOTPAGE
Lloh1:
ldr x21, [x21, _KRB5_BAD_MSIZE@GOTPAGEOFF]
b LBB0_6
LBB0_2:
ldr x8, [x21]
add x8, x8, x0
cmp x8, x20
b.ls LBB0_4
; %bb.3:
Lloh2:
adrp x21, _KRB5_BAD_MSIZE@GOTPAGE
Lloh3:
ldr x21, [x21, _KRB5_BAD_MSIZE@GOTPAGEOFF]
ldr x20, [x21]
Lloh4:
adrp x0, l_.str@PAGE
Lloh5:
add x0, x0, l_.str@PAGEOFF
b LBB0_5
LBB0_4:
Lloh6:
adrp x21, _ENOMEM@GOTPAGE
Lloh7:
ldr x21, [x21, _ENOMEM@GOTPAGEOFF]
ldr x20, [x21]
Lloh8:
adrp x0, l_.str.2@PAGE
Lloh9:
add x0, x0, l_.str.2@PAGEOFF
LBB0_5:
Lloh10:
adrp x1, l_.str.1@PAGE
Lloh11:
add x1, x1, l_.str.1@PAGEOFF
bl _N_
mov x2, x0
mov x0, x19
mov x1, x20
bl _krb5_set_error_message
LBB0_6:
ldr x0, [x21]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpAdd Lloh10, Lloh11
.cfi_endproc
; -- End function
.comm _KRB5_BAD_MSIZE,8,3 ; @KRB5_BAD_MSIZE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Encrypted data shorter then checksum + confunder"
l_.str.1: ; @.str.1
.space 1
.comm _ENOMEM,8,3 ; @ENOMEM
l_.str.2: ; @.str.2
.asciz "malloc: out of memory"
.comm _FALSE,4,2 ; @FALSE
.no_dead_strip _decrypt_internal_special
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function fons__allocGlyph
_fons__allocGlyph: ## @fons__allocGlyph
.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 (%rdi), %ecx
movl 4(%rdi), %eax
cmpl %eax, %ecx
jge LBB0_2
## %bb.1:
movq 8(%rbx), %rax
jmp LBB0_5
LBB0_2:
leal (%rax,%rax), %ecx
testl %eax, %eax
movl $8, %esi
cmovnel %ecx, %esi
movl %esi, 4(%rbx)
movq 8(%rbx), %rdi
shll $2, %esi
callq _realloc
movq %rax, 8(%rbx)
testq %rax, %rax
je LBB0_3
## %bb.4:
movl (%rbx), %ecx
LBB0_5:
leal 1(%rcx), %edx
movl %edx, (%rbx)
movslq %ecx, %rcx
leaq (%rax,%rcx,4), %rax
LBB0_6:
addq $8, %rsp
popq %rbx
popq %rbp
retq
LBB0_3:
xorl %eax, %eax
jmp LBB0_6
.cfi_endproc
## -- End function
.no_dead_strip _fons__allocGlyph
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function fons__allocGlyph
_fons__allocGlyph: ; @fons__allocGlyph
.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
ldp w8, w9, [x0]
cmp w8, w9
b.ge LBB0_2
; %bb.1:
ldr x0, [x19, #8]
b LBB0_4
LBB0_2:
lsl w8, w9, #1
mov w10, #8 ; =0x8
cmp w9, #0
csel w8, w10, w8, eq
str w8, [x19, #4]
ldr x0, [x19, #8]
lsl w1, w8, #2
bl _realloc
str x0, [x19, #8]
cbz x0, LBB0_5
; %bb.3:
ldr w8, [x19]
LBB0_4:
add w9, w8, #1
str w9, [x19]
add x0, x0, w8, sxtw #2
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 _fons__allocGlyph
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _efi_get_next_variable_name ## -- Begin function efi_get_next_variable_name
.p2align 4, 0x90
_efi_get_next_variable_name: ## @efi_get_next_variable_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 $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
xorl %eax, %eax
callq _efi_open_dev
cmpl $-1, %eax
je LBB0_1
## %bb.2:
cmpq $0, _efi_get_next_variable_name.buf(%rip)
je LBB0_4
## %bb.3:
movq _efi_get_next_variable_name.buflen(%rip), %rdi
addq $-8, %rdi
callq _malloc
movq %rax, _efi_get_next_variable_name.buf(%rip)
LBB0_4:
leaq -64(%rbp), %r12
movq _efi_fd@GOTPCREL(%rip), %r15
movq _EFIIOC_VAR_NEXT@GOTPCREL(%rip), %r13
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq %r12, %rdi
callq _efi_var_reset
movq _efi_get_next_variable_name.buf(%rip), %rax
movq %rax, -48(%rbp)
movq _efi_get_next_variable_name.buflen(%rip), %rcx
movq %rcx, -64(%rbp)
movq (%rbx), %rdi
testq %rdi, %rdi
je LBB0_6
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
leaq -48(%rbp), %rsi
leaq -72(%rbp), %rdx
callq _utf8_to_ucs2
testl %eax, %eax
jne LBB0_14
## %bb.8: ## in Loop: Header=BB0_5 Depth=1
movq (%r14), %rax
movl (%rax), %eax
movl %eax, -56(%rbp)
jmp LBB0_9
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_5 Depth=1
movq $0, (%rax)
LBB0_9: ## in Loop: Header=BB0_5 Depth=1
movl (%r15), %edi
movl (%r13), %esi
movq %r12, %rdx
callq _ioctl
testl %eax, %eax
je LBB0_11
## %bb.10: ## in Loop: Header=BB0_5 Depth=1
cmpq $0, -48(%rbp)
jne LBB0_14
LBB0_11: ## in Loop: Header=BB0_5 Depth=1
movq _efi_get_next_variable_name.buf(%rip), %rdi
movl -64(%rbp), %esi
addl $8, %esi
callq _realloc
testq %rax, %rax
je LBB0_12
## %bb.13: ## in Loop: Header=BB0_5 Depth=1
movq -64(%rbp), %rcx
movq %rcx, _efi_get_next_variable_name.buflen(%rip)
movq %rax, _efi_get_next_variable_name.buf(%rip)
jmp LBB0_5
LBB0_14:
movq _errno@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
jmp LBB0_15
LBB0_1:
movl $-1, %eax
jmp LBB0_18
LBB0_12:
movq _ENOMEM@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq _errno@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movl $-1, %eax
LBB0_15:
movq _ENOENT@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
jne LBB0_17
## %bb.16:
movq _errno@GOTPCREL(%rip), %rax
movq $0, (%rax)
movq (%rbx), %rdi
callq _free
xorl %eax, %eax
jmp LBB0_18
LBB0_17:
movl %eax, %edi
callq _rv_to_linux_rv
LBB0_18:
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_efi_get_next_variable_name.buf,8,3 ## @efi_get_next_variable_name.buf
.section __DATA,__data
.p2align 3, 0x0 ## @efi_get_next_variable_name.buflen
_efi_get_next_variable_name.buflen:
.quad 2048 ## 0x800
.comm _efi_fd,4,2 ## @efi_fd
.comm _EFIIOC_VAR_NEXT,4,2 ## @EFIIOC_VAR_NEXT
.comm _ENOMEM,8,3 ## @ENOMEM
.comm _errno,8,3 ## @errno
.comm _ENOENT,8,3 ## @ENOENT
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _efi_get_next_variable_name ; -- Begin function efi_get_next_variable_name
.p2align 2
_efi_get_next_variable_name: ; @efi_get_next_variable_name
.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, x1
mov x20, x0
bl _efi_open_dev
cmn w0, #1
b.eq LBB0_16
; %bb.1:
adrp x21, _efi_get_next_variable_name.buf@PAGE
ldr x8, [x21, _efi_get_next_variable_name.buf@PAGEOFF]
adrp x22, _efi_get_next_variable_name.buflen@PAGE
cbz x8, LBB0_3
; %bb.2:
ldr x8, [x22, _efi_get_next_variable_name.buflen@PAGEOFF]
sub x0, x8, #8
bl _malloc
str x0, [x21, _efi_get_next_variable_name.buf@PAGEOFF]
LBB0_3:
add x23, sp, #8
Lloh0:
adrp x24, _efi_fd@GOTPAGE
Lloh1:
ldr x24, [x24, _efi_fd@GOTPAGEOFF]
Lloh2:
adrp x25, _EFIIOC_VAR_NEXT@GOTPAGE
Lloh3:
ldr x25, [x25, _EFIIOC_VAR_NEXT@GOTPAGEOFF]
LBB0_4: ; =>This Inner Loop Header: Depth=1
add x0, sp, #8
bl _efi_var_reset
ldr x8, [x21, _efi_get_next_variable_name.buf@PAGEOFF]
ldr x9, [x22, _efi_get_next_variable_name.buflen@PAGEOFF]
str x8, [sp, #24]
str x9, [sp, #8]
ldr x0, [x19]
cbz x0, LBB0_7
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
add x1, x23, #16
mov x2, sp
bl _utf8_to_ucs2
cbnz w0, LBB0_11
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x20]
ldr w8, [x8]
str w8, [sp, #16]
b LBB0_8
LBB0_7: ; in Loop: Header=BB0_4 Depth=1
str xzr, [x8]
LBB0_8: ; in Loop: Header=BB0_4 Depth=1
ldr w0, [x24]
ldr w1, [x25]
add x2, sp, #8
bl _ioctl
ldr x8, [sp, #24]
cmp w0, #0
ccmp x8, #0, #4, ne
b.ne LBB0_11
; %bb.9: ; in Loop: Header=BB0_4 Depth=1
ldr x0, [x21, _efi_get_next_variable_name.buf@PAGEOFF]
ldr w8, [sp, #8]
add w1, w8, #8
bl _realloc
cbz x0, LBB0_12
; %bb.10: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [sp, #8]
str x8, [x22, _efi_get_next_variable_name.buflen@PAGEOFF]
str x0, [x21, _efi_get_next_variable_name.buf@PAGEOFF]
b LBB0_4
LBB0_11:
Lloh4:
adrp x8, _errno@GOTPAGE
Lloh5:
ldr x8, [x8, _errno@GOTPAGEOFF]
Lloh6:
ldr x8, [x8]
b LBB0_13
LBB0_12:
Lloh7:
adrp x8, _ENOMEM@GOTPAGE
Lloh8:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh9:
ldr x8, [x8]
Lloh10:
adrp x9, _errno@GOTPAGE
Lloh11:
ldr x9, [x9, _errno@GOTPAGEOFF]
Lloh12:
str x8, [x9]
mov w0, #-1 ; =0xffffffff
LBB0_13:
Lloh13:
adrp x9, _ENOENT@GOTPAGE
Lloh14:
ldr x9, [x9, _ENOENT@GOTPAGEOFF]
Lloh15:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_15
; %bb.14:
Lloh16:
adrp x8, _errno@GOTPAGE
Lloh17:
ldr x8, [x8, _errno@GOTPAGEOFF]
Lloh18:
str xzr, [x8]
ldr x0, [x19]
bl _free
mov w0, #0 ; =0x0
b LBB0_16
LBB0_15:
bl _rv_to_linux_rv
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
add sp, sp, #112
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpLdrGotStr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotStr Lloh16, Lloh17, Lloh18
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_efi_get_next_variable_name.buf,8,3 ; @efi_get_next_variable_name.buf
.section __DATA,__data
.p2align 3, 0x0 ; @efi_get_next_variable_name.buflen
_efi_get_next_variable_name.buflen:
.quad 2048 ; 0x800
.comm _efi_fd,4,2 ; @efi_fd
.comm _EFIIOC_VAR_NEXT,4,2 ; @EFIIOC_VAR_NEXT
.comm _ENOMEM,8,3 ; @ENOMEM
.comm _errno,8,3 ; @errno
.comm _ENOENT,8,3 ; @ENOENT
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _resize_iseg_layer ## -- Begin function resize_iseg_layer
.p2align 4, 0x90
_resize_iseg_layer: ## @resize_iseg_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 %esi, 8(%rdi)
movl %esi, 16(%rdi)
movq 24(%rdi), %rdi
imull 20(%rbx), %esi
shll $2, %esi
callq _realloc
movq %rax, 24(%rbx)
movq 40(%rbx), %rdi
movl 20(%rbx), %esi
imull 8(%rbx), %esi
shll $2, %esi
callq _realloc
movq %rax, 40(%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_iseg_layer ; -- Begin function resize_iseg_layer
.p2align 2
_resize_iseg_layer: ; @resize_iseg_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
ldr w9, [x0, #12]
mul w8, w8, w9
str w8, [x0, #8]
str w8, [x0, #16]
ldr x0, [x0, #24]
ldr w9, [x19, #20]
mul w8, w8, w9
lsl w1, w8, #2
bl _realloc
str x0, [x19, #24]
ldr x0, [x19, #40]
ldr w8, [x19, #20]
ldr w9, [x19, #8]
mul w8, w8, w9
lsl w1, w8, #2
bl _realloc
str x0, [x19, #40]
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 add_name_constraints
_add_name_constraints: ## @add_name_constraints
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %r14
movl %edx, %r15d
movq %rsi, %rax
movl %edi, %ebx
leaq -28(%rbp), %rsi
movq %rax, %rdi
callq _find_extension_name_constraints
movq _HX509_EXTENSION_NOT_FOUND@GOTPCREL(%rip), %rdx
xorl %ecx, %ecx
cmpl (%rdx), %eax
je LBB0_11
## %bb.1:
testl %eax, %eax
je LBB0_3
## %bb.2:
leaq L_.str(%rip), %rcx
movl %ebx, %edi
xorl %esi, %esi
movl %eax, %edx
movl %eax, %ebx
callq _hx509_set_error_string
movl %ebx, %ecx
jmp LBB0_11
LBB0_3:
testl %r15d, %r15d
je LBB0_5
## %bb.4:
movq _HX509_VERIFY_CONSTRAINTS@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq L_.str.1(%rip), %rcx
movl %ebx, %edi
xorl %esi, %esi
movl %edx, %r14d
callq _hx509_set_error_string
jmp LBB0_10
LBB0_5:
movq 8(%r14), %rdi
movl (%r14), %eax
leal 4(,%rax,4), %esi
callq _realloc
testq %rax, %rax
je LBB0_7
## %bb.6:
movl %ebx, %edi
callq _hx509_clear_error_string
movq _ENOMEM@GOTPCREL(%rip), %rax
movl (%rax), %r14d
jmp LBB0_10
LBB0_7:
movq $0, 8(%r14)
movslq (%r14), %rsi
shlq $2, %rsi
leaq -28(%rbp), %rdi
callq _copy_NameConstraints
testl %eax, %eax
je LBB0_9
## %bb.8:
movl %eax, %r14d
movl %ebx, %edi
callq _hx509_clear_error_string
jmp LBB0_10
LBB0_9:
incl (%r14)
xorl %r14d, %r14d
LBB0_10:
leaq -28(%rbp), %rdi
callq _free_NameConstraints
movl %r14d, %ecx
LBB0_11:
movl %ecx, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _HX509_EXTENSION_NOT_FOUND,4,2 ## @HX509_EXTENSION_NOT_FOUND
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Failed getting NameConstraints"
.comm _HX509_VERIFY_CONSTRAINTS,4,2 ## @HX509_VERIFY_CONSTRAINTS
L_.str.1: ## @.str.1
.asciz "Not a CA and have NameConstraints"
.comm _ENOMEM,4,2 ## @ENOMEM
.no_dead_strip _add_name_constraints
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function add_name_constraints
_add_name_constraints: ; @add_name_constraints
.cfi_startproc
; %bb.0:
sub sp, sp, #64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x21, x3
mov x22, x2
mov x8, x1
mov x20, x0
add x1, sp, #12
mov x0, x8
bl _find_extension_name_constraints
Lloh0:
adrp x8, _HX509_EXTENSION_NOT_FOUND@GOTPAGE
Lloh1:
ldr x8, [x8, _HX509_EXTENSION_NOT_FOUND@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cmp w0, w8
b.ne LBB0_2
; %bb.1:
mov w19, #0 ; =0x0
b LBB0_12
LBB0_2:
mov x19, x0
cbz w0, LBB0_4
; %bb.3:
Lloh3:
adrp x3, l_.str@PAGE
Lloh4:
add x3, x3, l_.str@PAGEOFF
mov x0, x20
mov w1, #0 ; =0x0
mov x2, x19
bl _hx509_set_error_string
b LBB0_12
LBB0_4:
cbz w22, LBB0_6
; %bb.5:
Lloh5:
adrp x8, _HX509_VERIFY_CONSTRAINTS@GOTPAGE
Lloh6:
ldr x8, [x8, _HX509_VERIFY_CONSTRAINTS@GOTPAGEOFF]
Lloh7:
ldr w19, [x8]
Lloh8:
adrp x3, l_.str.1@PAGE
Lloh9:
add x3, x3, l_.str.1@PAGEOFF
mov x0, x20
mov w1, #0 ; =0x0
mov x2, x19
bl _hx509_set_error_string
b LBB0_11
LBB0_6:
ldr x0, [x21, #8]
ldr w8, [x21]
lsl w8, w8, #2
add w1, w8, #4
bl _realloc
cbz x0, LBB0_8
; %bb.7:
mov x0, x20
bl _hx509_clear_error_string
Lloh10:
adrp x8, _ENOMEM@GOTPAGE
Lloh11:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh12:
ldr w19, [x8]
b LBB0_11
LBB0_8:
str xzr, [x21, #8]
ldrsw x8, [x21]
lsl x1, x8, #2
add x0, sp, #12
bl _copy_NameConstraints
mov x19, x0
cbz w0, LBB0_10
; %bb.9:
mov x0, x20
bl _hx509_clear_error_string
b LBB0_11
LBB0_10:
ldr w8, [x21]
add w8, w8, #1
str w8, [x21]
LBB0_11:
add x0, sp, #12
bl _free_NameConstraints
LBB0_12:
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
add sp, sp, #64
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.cfi_endproc
; -- End function
.comm _HX509_EXTENSION_NOT_FOUND,4,2 ; @HX509_EXTENSION_NOT_FOUND
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Failed getting NameConstraints"
.comm _HX509_VERIFY_CONSTRAINTS,4,2 ; @HX509_VERIFY_CONSTRAINTS
l_.str.1: ; @.str.1
.asciz "Not a CA and have NameConstraints"
.comm _ENOMEM,4,2 ; @ENOMEM
.no_dead_strip _add_name_constraints
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function idr_ensure_poolsize
_idr_ensure_poolsize: ## @idr_ensure_poolsize
.cfi_startproc
## %bb.0:
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 _ARCHIVE_OK@GOTPCREL(%rip), %r12
cmpl %edx, (%rsi)
jge LBB0_4
## %bb.1:
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %r15
addl $-127, %ebx
andl $-128, %ebx
movq 8(%rsi), %rdi
leal (,%rbx,4), %esi
callq _realloc
testq %rax, %rax
je LBB0_3
## %bb.2:
movq %rax, 8(%r14)
movl %ebx, (%r14)
jmp LBB0_4
LBB0_3:
movq _ENOMEM@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rdx
movq %r15, %rdi
callq _archive_set_error
movq _ARCHIVE_FATAL@GOTPCREL(%rip), %r12
LBB0_4:
movl (%r12), %eax
popq %rbx
popq %r12
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 "Can't allocate memory"
.comm _ARCHIVE_FATAL,4,2 ## @ARCHIVE_FATAL
.comm _ARCHIVE_OK,4,2 ## @ARCHIVE_OK
.no_dead_strip _idr_ensure_poolsize
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function idr_ensure_poolsize
_idr_ensure_poolsize: ; @idr_ensure_poolsize
.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
ldr w8, [x1]
cmp w8, w2
b.ge LBB0_3
; %bb.1:
mov x19, x1
mov x20, x0
sub w8, w2, #127
and w21, w8, #0xffffff80
ldr x0, [x1, #8]
lsl w1, w21, #2
bl _realloc
cbz x0, LBB0_5
; %bb.2:
str x0, [x19, #8]
str w21, [x19]
LBB0_3:
Lloh0:
adrp x8, _ARCHIVE_OK@GOTPAGE
Lloh1:
ldr x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
LBB0_4:
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:
Lloh2:
adrp x8, _ENOMEM@GOTPAGE
Lloh3:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh4:
ldr w1, [x8]
Lloh5:
adrp x2, l_.str@PAGE
Lloh6:
add x2, x2, l_.str@PAGEOFF
mov x0, x20
bl _archive_set_error
Lloh7:
adrp x8, _ARCHIVE_FATAL@GOTPAGE
Lloh8:
ldr x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
b LBB0_4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _ENOMEM,4,2 ; @ENOMEM
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Can't allocate memory"
.comm _ARCHIVE_FATAL,4,2 ; @ARCHIVE_FATAL
.comm _ARCHIVE_OK,4,2 ; @ARCHIVE_OK
.no_dead_strip _idr_ensure_poolsize
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _growfldtab ## -- Begin function growfldtab
.p2align 4, 0x90
_growfldtab: ## @growfldtab
.cfi_startproc
## %bb.0:
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 _nfields@GOTPCREL(%rip), %r14
movl (%r14), %ebx
addl %ebx, %ebx
cmpl %edi, %ebx
cmovlel %edi, %ebx
leal 1(%rbx), %eax
movslq %eax, %rsi
movabsq $2305843009213693951, %rax ## imm = 0x1FFFFFFFFFFFFFFF
andq %rsi, %rax
decq %rax
movslq %ebx, %rcx
cmpq %rcx, %rax
jne LBB0_2
## %bb.1:
shlq $3, %rsi
movq _fldtab@GOTPCREL(%rip), %r15
movq (%r15), %rdi
callq _realloc
movq %rax, (%r15)
testq %rax, %rax
jne LBB0_4
jmp LBB0_5
LBB0_2:
movq _fldtab@GOTPCREL(%rip), %r15
movq (%r15), %rdi
callq _xfree
movq (%r15), %rax
testq %rax, %rax
je LBB0_5
LBB0_4:
leaq L_.str(%rip), %rdi
movl %ebx, %esi
callq _FATAL
LBB0_5:
movl (%r14), %edi
incl %edi
movl %ebx, %esi
callq _makefields
movl %ebx, (%r14)
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _nfields,4,2 ## @nfields
.comm _fldtab,8,3 ## @fldtab
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "out of space creating %d fields"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _growfldtab ; -- Begin function growfldtab
.p2align 2
_growfldtab: ; @growfldtab
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
Lloh0:
adrp x20, _nfields@GOTPAGE
Lloh1:
ldr x20, [x20, _nfields@GOTPAGEOFF]
ldr w8, [x20]
lsl w8, w8, #1
cmp w8, w0
csel w19, w8, w0, gt
add w8, w19, #1
sxtw x8, w8
and x9, x8, #0x1fffffffffffffff
sub x9, x9, #1
cmp x9, w19, sxtw
b.ne LBB0_2
; %bb.1:
lsl x1, x8, #3
Lloh2:
adrp x21, _fldtab@GOTPAGE
Lloh3:
ldr x21, [x21, _fldtab@GOTPAGEOFF]
ldr x0, [x21]
bl _realloc
str x0, [x21]
cbnz x0, LBB0_3
b LBB0_4
LBB0_2:
Lloh4:
adrp x21, _fldtab@GOTPAGE
Lloh5:
ldr x21, [x21, _fldtab@GOTPAGEOFF]
ldr x0, [x21]
bl _xfree
ldr x0, [x21]
cbz x0, LBB0_4
LBB0_3:
Lloh6:
adrp x0, l_.str@PAGE
Lloh7:
add x0, x0, l_.str@PAGEOFF
mov x1, x19
bl _FATAL
LBB0_4:
ldr w8, [x20]
add w0, w8, #1
mov x1, x19
bl _makefields
str w19, [x20]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _nfields,4,2 ; @nfields
.comm _fldtab,8,3 ; @fldtab
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "out of space creating %d fields"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _rcheevos_fixup_find ## -- Begin function rcheevos_fixup_find
.p2align 4, 0x90
_rcheevos_fixup_find: ## @rcheevos_fixup_find
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r14d
movl %esi, %r15d
movq %rdi, %rbx
cmpl $0, (%rdi)
je LBB0_2
## %bb.1:
movq 16(%rbx), %rdi
movl 4(%rbx), %esi
movq _rcheevos_cmpaddr@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl $16, %edx
callq _qsort
movl $0, (%rbx)
LBB0_2:
movl %r15d, -40(%rbp)
movq 16(%rbx), %rsi
movl 4(%rbx), %edx
movq _rcheevos_cmpaddr@GOTPCREL(%rip), %rax
movl (%rax), %r8d
leaq -40(%rbp), %rdi
movl $16, %ecx
callq _bsearch
testq %rax, %rax
je LBB0_4
## %bb.3:
movq 8(%rax), %rax
jmp LBB0_7
LBB0_4:
movslq 4(%rbx), %rax
movq 16(%rbx), %rdi
cmpl 8(%rbx), %eax
jne LBB0_6
## %bb.5:
movl %eax, %ecx
shll $5, %ecx
testl %eax, %eax
movl $256, %esi ## imm = 0x100
cmovnel %ecx, %esi
callq _realloc
xorl %eax, %eax
jmp LBB0_7
LBB0_6:
shlq $4, %rax
movl %r15d, (%rdi,%rax)
movl %r15d, %edi
movl %r14d, %esi
callq _rcheevos_patch_address
movq 16(%rbx), %rcx
movslq 4(%rbx), %rdx
leal 1(%rdx), %esi
movl %esi, 4(%rbx)
shlq $4, %rdx
movq %rax, 8(%rcx,%rdx)
movl $1, (%rbx)
LBB0_7:
addq $24, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _rcheevos_cmpaddr,4,2 ## @rcheevos_cmpaddr
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _rcheevos_fixup_find ; -- Begin function rcheevos_fixup_find
.p2align 2
_rcheevos_fixup_find: ; @rcheevos_fixup_find
.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 x20, x2
mov x21, x1
mov x19, x0
ldr w8, [x0]
Lloh0:
adrp x22, _rcheevos_cmpaddr@GOTPAGE
Lloh1:
ldr x22, [x22, _rcheevos_cmpaddr@GOTPAGEOFF]
cbz w8, LBB0_2
; %bb.1:
ldr x0, [x19, #16]
ldr w1, [x19, #4]
ldr w3, [x22]
mov w2, #16 ; =0x10
bl _qsort
str wzr, [x19]
LBB0_2:
str w21, [sp]
ldr x1, [x19, #16]
ldr w2, [x19, #4]
ldr w4, [x22]
mov x0, sp
mov w3, #16 ; =0x10
bl _bsearch
cbz x0, LBB0_4
; %bb.3:
ldr x0, [x0, #8]
b LBB0_7
LBB0_4:
ldp w8, w9, [x19, #4]
; kill: def $w8 killed $w8 def $x8
sxtw x8, w8
ldr x0, [x19, #16]
cmp w8, w9
b.ne LBB0_6
; %bb.5:
lsl w9, w8, #5
mov w10, #256 ; =0x100
cmp w8, #0
csel w1, w10, w9, eq
bl _realloc
mov x0, #0 ; =0x0
b LBB0_7
LBB0_6:
lsl x8, x8, #4
str w21, [x0, x8]
mov x0, x21
mov x1, x20
bl _rcheevos_patch_address
ldr x8, [x19, #16]
ldrsw x9, [x19, #4]
add w10, w9, #1
add x8, x8, x9, lsl #4
str x0, [x8, #8]
mov w8, #1 ; =0x1
stp w8, w10, [x19]
LBB0_7:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _rcheevos_cmpaddr,4,2 ; @rcheevos_cmpaddr
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _mac_alg_list ## -- Begin function mac_alg_list
.p2align 4, 0x90
_mac_alg_list: ## @mac_alg_list
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edi, -44(%rbp) ## 4-byte Spill
movq _macs@GOTPCREL(%rip), %rax
movq (%rax), %r13
movq (%r13), %rdi
testq %rdi, %rdi
je LBB0_8
## %bb.1:
xorl %ebx, %ebx
xorl %r14d, %r14d
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
testq %r14, %r14
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movl -44(%rbp), %eax ## 4-byte Reload
movb %al, (%r14,%rbx)
incq %rbx
movq (%r13), %rdi
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
callq _strlen
movq %rax, %r12
leaq (%rax,%rbx), %rsi
addq $2, %rsi
movq %r14, %rdi
callq _realloc
testq %rax, %rax
je LBB0_7
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
movq %rax, %r15
leaq (%r12,%rbx), %r14
movq %rax, %rdi
addq %rbx, %rdi
movq (%r13), %rsi
incq %r12
movq %r12, %rdx
callq _memcpy
movq -8(%r13), %rdi
addq $-8, %r13
movq %r14, %rbx
movq %r15, %r14
testq %rdi, %rdi
jne LBB0_2
jmp LBB0_9
LBB0_7:
movq %r14, %rdi
callq _free
LBB0_8:
xorl %r15d, %r15d
LBB0_9:
movq %r15, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _macs,8,3 ## @macs
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _mac_alg_list ; -- Begin function mac_alg_list
.p2align 2
_mac_alg_list: ; @mac_alg_list
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x0
Lloh0:
adrp x8, _macs@GOTPAGE
Lloh1:
ldr x8, [x8, _macs@GOTPAGEOFF]
Lloh2:
ldr x23, [x8]
ldr x0, [x23]
cbz x0, LBB0_6
; %bb.1:
mov x24, #0 ; =0x0
mov x20, #0 ; =0x0
LBB0_2: ; =>This Inner Loop Header: Depth=1
cbz x20, LBB0_4
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
strb w19, [x20, x24]
add x24, x24, #1
ldr x0, [x23]
LBB0_4: ; in Loop: Header=BB0_2 Depth=1
bl _strlen
mov x22, x0
add x25, x0, x24
add x1, x25, #2
mov x0, x20
bl _realloc
mov x21, x0
cbz x0, LBB0_7
; %bb.5: ; in Loop: Header=BB0_2 Depth=1
ldr x1, [x23]
add x0, x21, x24
add x2, x22, #1
bl _memcpy
ldr x0, [x23, #-8]!
mov x24, x25
mov x20, x21
cbnz x0, LBB0_2
b LBB0_8
LBB0_6:
mov x21, #0 ; =0x0
b LBB0_8
LBB0_7:
mov x0, x20
bl _free
LBB0_8:
mov x0, x21
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _macs,8,3 ; @macs
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _esp_transport_ws_set_path ## -- Begin function esp_transport_ws_set_path
.p2align 4, 0x90
_esp_transport_ws_set_path: ## @esp_transport_ws_set_path
.cfi_startproc
## %bb.0:
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
callq _esp_transport_get_context_data
movq %rax, %r14
movl (%rax), %r15d
movq %rbx, %rdi
callq _strlen
leaq 1(%rax), %rsi
movl %r15d, %edi
callq _realloc
movl %eax, (%r14)
movl %eax, %edi
movq %rbx, %rsi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _strcpy ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _esp_transport_ws_set_path ; -- Begin function esp_transport_ws_set_path
.p2align 2
_esp_transport_ws_set_path: ; @esp_transport_ws_set_path
.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
bl _esp_transport_get_context_data
mov x20, x0
ldr w21, [x0]
mov x0, x19
bl _strlen
add x1, x0, #1
mov x0, x21
bl _realloc
str w0, [x20]
mov x1, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _strcpy
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl __hx509_name_modify ## -- Begin function _hx509_name_modify
.p2align 4, 0x90
__hx509_name_modify: ## @_hx509_name_modify
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_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 %r8, %r14
movq %rcx, %r15
movl %edx, %r13d
movq %rsi, %rbx
movl %edi, %r12d
movq 8(%rsi), %rdi
movl (%rsi), %esi
shll $4, %esi
addl $-16, %esi
callq _realloc
testq %rax, %rax
je LBB0_2
## %bb.1:
movq _ENOMEM@GOTPCREL(%rip), %rbx
movl (%rbx), %edx
leaq L_.str(%rip), %rcx
movl %r12d, %edi
xorl %esi, %esi
callq _hx509_set_error_string
movl (%rbx), %eax
jmp LBB0_10
LBB0_2:
movq $0, 8(%rbx)
movslq (%rbx), %r12
testl %r13d, %r13d
je LBB0_4
## %bb.3:
shlq $4, %r12
jmp LBB0_5
LBB0_4:
shll $4, %r12d
movl $16, %edi
xorl %esi, %esi
movl %r12d, %edx
callq _memmove
movq 8(%rbx), %r12
LBB0_5:
movl $24, %edi
callq _malloc
movq %rax, 8(%r12)
testq %rax, %rax
je LBB0_6
## %bb.7:
movl $1, (%r12)
addq $16, %rax
movq %r15, %rdi
movq %rax, %rsi
callq _der_copy_oid
testl %eax, %eax
jne LBB0_10
## %bb.8:
movq _choice_DirectoryString_utf8String@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq 8(%r12), %r15
movl %eax, 8(%r15)
movq %r14, %rdi
callq _strdup
movq %rax, (%r15)
testq %rax, %rax
je LBB0_6
## %bb.9:
incl (%rbx)
xorl %eax, %eax
jmp LBB0_10
LBB0_6:
movq _ENOMEM@GOTPCREL(%rip), %rax
movl (%rax), %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
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Out of memory"
.comm _choice_DirectoryString_utf8String,4,2 ## @choice_DirectoryString_utf8String
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl __hx509_name_modify ; -- Begin function _hx509_name_modify
.p2align 2
__hx509_name_modify: ; @_hx509_name_modify
.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, x4
mov x21, x3
mov x23, x2
mov x19, x1
mov x22, x0
ldr x0, [x1, #8]
ldr w8, [x1]
lsl w8, w8, #4
sub w1, w8, #16
bl _realloc
cbz x0, LBB0_2
; %bb.1:
Lloh0:
adrp x19, _ENOMEM@GOTPAGE
Lloh1:
ldr x19, [x19, _ENOMEM@GOTPAGEOFF]
ldr w2, [x19]
Lloh2:
adrp x3, l_.str@PAGE
Lloh3:
add x3, x3, l_.str@PAGEOFF
mov x0, x22
mov w1, #0 ; =0x0
bl _hx509_set_error_string
ldr w0, [x19]
b LBB0_10
LBB0_2:
str xzr, [x19, #8]
ldrsw x8, [x19]
cbz w23, LBB0_4
; %bb.3:
lsl x22, x8, #4
b LBB0_5
LBB0_4:
lsl w2, w8, #4
mov w0, #16 ; =0x10
mov x1, #0 ; =0x0
bl _memmove
ldr x22, [x19, #8]
LBB0_5:
mov w0, #24 ; =0x18
bl _malloc
str x0, [x22, #8]
cbz x0, LBB0_9
; %bb.6:
mov w8, #1 ; =0x1
str w8, [x22]
add x1, x0, #16
mov x0, x21
bl _der_copy_oid
cbnz w0, LBB0_10
; %bb.7:
Lloh4:
adrp x8, _choice_DirectoryString_utf8String@GOTPAGE
Lloh5:
ldr x8, [x8, _choice_DirectoryString_utf8String@GOTPAGEOFF]
Lloh6:
ldr w8, [x8]
ldr x21, [x22, #8]
str w8, [x21, #8]
mov x0, x20
bl _strdup
str x0, [x21]
cbz x0, LBB0_9
; %bb.8:
mov w0, #0 ; =0x0
ldr w8, [x19]
add w8, w8, #1
str w8, [x19]
b LBB0_10
LBB0_9:
Lloh7:
adrp x8, _ENOMEM@GOTPAGE
Lloh8:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh9:
ldr w0, [x8]
LBB0_10:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _ENOMEM,4,2 ; @ENOMEM
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Out of memory"
.comm _choice_DirectoryString_utf8String,4,2 ; @choice_DirectoryString_utf8String
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function append_string
_append_string: ## @append_string
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
testq %rsi, %rsi
je LBB0_6
## %bb.1:
movq %rsi, %r14
movq %rsi, %rdi
callq _strlen
movl %eax, %r15d
incl %r15d
testq %rbx, %rbx
je LBB0_2
## %bb.3:
movq %rbx, %rdi
callq _strlen
movl %eax, %esi
movslq %eax, %r12
addl %r15d, %esi
jmp LBB0_4
LBB0_2:
xorl %r12d, %r12d
movl %r15d, %esi
LBB0_4:
movq %rbx, %rdi
callq _realloc
testq %rax, %rax
je LBB0_6
## %bb.5:
addq %rax, %r12
movq %r12, %rdi
movq %r14, %rsi
movl %r15d, %edx
movq %rax, %rbx
callq _memcpy
LBB0_6:
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _append_string
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function append_string
_append_string: ; @append_string
.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
cbz x1, LBB0_6
; %bb.1:
mov x20, x1
mov x0, x1
bl _strlen
add w21, w0, #1
cbz x19, LBB0_3
; %bb.2:
mov x0, x19
bl _strlen
; kill: def $w0 killed $w0 def $x0
add w1, w0, w21
sxtw x22, w0
b LBB0_4
LBB0_3:
mov x22, #0 ; =0x0
mov x1, x21
LBB0_4:
mov x0, x19
bl _realloc
cbz x0, LBB0_6
; %bb.5:
mov x19, x0
add x0, x0, x22
mov x1, x20
mov x2, x21
bl _memcpy
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
.cfi_endproc
; -- End function
.no_dead_strip _append_string
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _vec_size ## -- Begin function vec_size
.p2align 4, 0x90
_vec_size: ## @vec_size
.cfi_startproc
## %bb.0:
## kill: def $edx killed $edx def $rdx
leal 1(%rdx), %ecx
movl $1, %eax
testb $3, %cl
je LBB0_1
## %bb.5:
retq
LBB0_1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movq (%rdi), %rdi
addl $-3, %edx
movslq %edx, %rax
imulq %rsi, %rax
movq %rax, %rsi
callq _realloc
testq %rax, %rax
je LBB0_2
## %bb.3:
movq %rax, (%rbx)
movl $1, %eax
jmp LBB0_4
LBB0_2:
xorl %eax, %eax
LBB0_4:
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 _vec_size ; -- Begin function vec_size
.p2align 2
_vec_size: ; @vec_size
.cfi_startproc
; %bb.0:
add w8, w2, #1
tst w8, #0x3
b.eq LBB0_2
; %bb.1:
mov w0, #1 ; =0x1
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 x19, x0
ldr x0, [x0]
sub w8, w2, #3
sxtw x8, w8
mul x1, x8, x1
bl _realloc
cbz x0, LBB0_4
; %bb.3:
str x0, [x19]
mov w0, #1 ; =0x1
LBB0_4:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function _zip_file_new
__zip_file_new: ## @_zip_file_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 %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
movl $32, %edi
callq _malloc
testq %rax, %rax
je LBB0_3
## %bb.1:
addq $24, %rbx
movq _ZIP_ER_MEMORY@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
xorl %edx, %edx
callq __zip_error_set
jmp LBB0_2
LBB0_3:
movq (%rbx), %rcx
movq 8(%rbx), %r14
leaq 1(%rcx), %rax
cmpq %r14, %rax
jl LBB0_4
## %bb.5:
addq $10, %r14
movq 16(%rbx), %rdi
leal (,%r14,8), %esi
callq _realloc
testq %rax, %rax
jne LBB0_7
## %bb.6:
addq $24, %rbx
movq _ZIP_ER_MEMORY@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
xorl %edx, %edx
callq __zip_error_set
xorl %edi, %edi
callq _free
LBB0_2:
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
LBB0_4:
movq 16(%rbx), %rax
jmp LBB0_8
LBB0_7:
movl %r14d, %ecx
movq %rcx, 8(%rbx)
movq %rax, 16(%rbx)
movq (%rbx), %rcx
LBB0_8:
leaq -1(%rcx), %rdx
movq %rdx, (%rbx)
movq $0, (%rax,%rcx,8)
movq %rbx, 24
movl $16, %edi
callq __zip_error_init
ud2
.cfi_endproc
## -- End function
.comm _ZIP_ER_MEMORY,4,2 ## @ZIP_ER_MEMORY
.no_dead_strip __zip_file_new
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function _zip_file_new
__zip_file_new: ; @_zip_file_new
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
mov w0, #32 ; =0x20
bl _malloc
cbz x0, LBB0_2
; %bb.1:
Lloh0:
adrp x8, _ZIP_ER_MEMORY@GOTPAGE
Lloh1:
ldr x8, [x8, _ZIP_ER_MEMORY@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
add x0, x19, #24
mov w2, #0 ; =0x0
bl __zip_error_set
b LBB0_5
LBB0_2:
ldp x8, x9, [x19]
add x10, x8, #1
cmp x10, x9
b.lt LBB0_6
; %bb.3:
add x20, x9, #10
ldr x0, [x19, #16]
lsl w1, w20, #3
bl _realloc
cbnz x0, LBB0_7
; %bb.4:
Lloh3:
adrp x8, _ZIP_ER_MEMORY@GOTPAGE
Lloh4:
ldr x8, [x8, _ZIP_ER_MEMORY@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
add x0, x19, #24
mov w2, #0 ; =0x0
bl __zip_error_set
mov x0, #0 ; =0x0
bl _free
LBB0_5:
mov x0, #0 ; =0x0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_6:
ldr x0, [x19, #16]
b LBB0_8
LBB0_7:
mov w8, w20
stp x8, x0, [x19, #8]
ldr x8, [x19]
LBB0_8:
sub x9, x8, #1
str x9, [x19]
str xzr, [x0, x8, lsl #3]
mov w8, #24 ; =0x18
str x19, [x8]
mov w0, #16 ; =0x10
bl __zip_error_init
brk #0x1
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _ZIP_ER_MEMORY,4,2 ; @ZIP_ER_MEMORY
.no_dead_strip __zip_file_new
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function uniqueadd
_uniqueadd: ## @uniqueadd
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_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, -48(%rbp) ## 8-byte Spill
movq (%rcx), %rax
cmpb $0, (%rax)
je LBB0_11
## %bb.1:
movq %rcx, %rbx
movq %rdx, %r13
movq %rsi, %r14
movq -48(%rbp), %rax ## 8-byte Reload
movq (%rax), %r12
cmpq $0, (%rsi)
je LBB0_2
## %bb.8:
xorl %r15d, %r15d
.p2align 4, 0x90
LBB0_10: ## =>This Inner Loop Header: Depth=1
movq (%r12,%r15,8), %rax
movq (%rax), %rdi
movq (%rbx), %rsi
callq _strcmp
testq %rax, %rax
je LBB0_11
## %bb.9: ## in Loop: Header=BB0_10 Depth=1
incq %r15
movq (%r14), %rax
cmpq %rax, %r15
jb LBB0_10
## %bb.3:
cmpq (%r13), %rax
je LBB0_4
jmp LBB0_7
LBB0_2:
xorl %eax, %eax
cmpq (%r13), %rax
jne LBB0_7
LBB0_4:
leaq 10(%rax), %rcx
movq %rcx, (%r13)
movq -48(%rbp), %rcx ## 8-byte Reload
movq (%rcx), %rdi
leaq 80(,%rax,8), %rsi
callq _realloc
movq %rax, %r12
testq %rax, %rax
je LBB0_6
## %bb.5:
movq _EXIT_FAILURE@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
callq _err
LBB0_6:
movq -48(%rbp), %rax ## 8-byte Reload
movq %r12, (%rax)
movq (%r14), %rax
LBB0_7:
leaq 1(%rax), %rcx
movq %rcx, (%r14)
movq %rbx, (%r12,%rax,8)
LBB0_11:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EXIT_FAILURE,4,2 ## @EXIT_FAILURE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Can't allocate for rule list"
.no_dead_strip _uniqueadd
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function uniqueadd
_uniqueadd: ; @uniqueadd
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
ldr x8, [x3]
ldrb w8, [x8]
cbz w8, LBB0_10
; %bb.1:
mov x19, x3
mov x23, x2
mov x20, x1
mov x21, x0
ldr x22, [x0]
ldr x8, [x1]
cbz x8, LBB0_5
; %bb.2:
mov x24, #0 ; =0x0
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x8, [x22, x24, lsl #3]
ldr x0, [x8]
ldr x1, [x19]
bl _strcmp
cbz x0, LBB0_10
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
add x24, x24, #1
ldr x8, [x20]
cmp x24, x8
b.lo LBB0_3
LBB0_5:
ldr x9, [x23]
cmp x8, x9
b.ne LBB0_9
; %bb.6:
add x8, x8, #10
str x8, [x23]
ldr x0, [x21]
lsl x1, x8, #3
bl _realloc
mov x22, x0
cbz x0, LBB0_8
; %bb.7:
Lloh0:
adrp x8, _EXIT_FAILURE@GOTPAGE
Lloh1:
ldr x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
bl _err
LBB0_8:
str x22, [x21]
ldr x8, [x20]
LBB0_9:
add x9, x8, #1
str x9, [x20]
str x19, [x22, x8, lsl #3]
LBB0_10:
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 Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _EXIT_FAILURE,4,2 ; @EXIT_FAILURE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Can't allocate for rule list"
.no_dead_strip _uniqueadd
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function kvp_key_add_or_modify
_kvp_key_add_or_modify: ## @kvp_key_add_or_modify
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r15d
movq _HV_KVP_EXCHANGE_MAX_KEY_SIZE@GOTPCREL(%rip), %rax
movl $1, %r13d
cmpl %edx, (%rax)
jge LBB0_2
## %bb.1:
movq _HV_KVP_EXCHANGE_MAX_VALUE_SIZE@GOTPCREL(%rip), %rax
cmpl %r8d, (%rax)
jl LBB0_11
LBB0_2:
movq %rcx, -56(%rbp) ## 8-byte Spill
movq %rsi, -64(%rbp) ## 8-byte Spill
movl %r8d, -44(%rbp) ## 4-byte Spill
movl %edi, %ebx
callq _kvp_update_mem_state
movq _kvp_file_info@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl %ebx, -48(%rbp) ## 4-byte Spill
movslq %ebx, %rbx
shlq $4, %rbx
movl (%rax,%rbx), %r14d
movl 4(%rax,%rbx), %edx
movq 8(%rax,%rbx), %r12
testl %r14d, %r14d
jle LBB0_5
## %bb.3:
movl (%r12), %esi
movq -64(%rbp), %rdi ## 8-byte Reload
movq %rdx, -72(%rbp) ## 8-byte Spill
movl %r15d, %edx
callq _memcmp
movq -72(%rbp), %rdx ## 8-byte Reload
testq %rax, %rax
je LBB0_4
LBB0_5:
movq _ENTRIES_PER_BLOCK@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, %ecx
imull %edx, %ecx
cmpl %ecx, %r14d
jne LBB0_6
## %bb.7:
leal 8(,%rdx,8), %esi
imull %eax, %esi
movq %r12, %rdi
callq _realloc
testq %rax, %rax
je LBB0_11
## %bb.8:
movq %rax, %r12
movq _kvp_file_info@GOTPCREL(%rip), %r14
movq (%r14), %rax
incl 4(%rax,%rbx)
jmp LBB0_9
LBB0_6:
movq _kvp_file_info@GOTPCREL(%rip), %r14
LBB0_9:
movl 4(%r12), %edi
movq -56(%rbp), %rsi ## 8-byte Reload
movl -44(%rbp), %edx ## 4-byte Reload
callq _memcpy
movl (%r12), %edi
movq -64(%rbp), %rsi ## 8-byte Reload
movl %r15d, %edx
callq _memcpy
movq (%r14), %rax
movq %r12, 8(%rax,%rbx)
movq (%r14), %rax
incl (%rax,%rbx)
jmp LBB0_10
LBB0_4:
movl 4(%r12), %edi
movq -56(%rbp), %rsi ## 8-byte Reload
movl -44(%rbp), %edx ## 4-byte Reload
callq _memcpy
LBB0_10:
movl -48(%rbp), %edi ## 4-byte Reload
callq _kvp_update_file
xorl %r13d, %r13d
LBB0_11:
movl %r13d, %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _HV_KVP_EXCHANGE_MAX_KEY_SIZE,4,2 ## @HV_KVP_EXCHANGE_MAX_KEY_SIZE
.comm _HV_KVP_EXCHANGE_MAX_VALUE_SIZE,4,2 ## @HV_KVP_EXCHANGE_MAX_VALUE_SIZE
.comm _kvp_file_info,8,3 ## @kvp_file_info
.comm _ENTRIES_PER_BLOCK,4,2 ## @ENTRIES_PER_BLOCK
.no_dead_strip _kvp_key_add_or_modify
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function kvp_key_add_or_modify
_kvp_key_add_or_modify: ; @kvp_key_add_or_modify
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _HV_KVP_EXCHANGE_MAX_KEY_SIZE@GOTPAGE
Lloh1:
ldr x8, [x8, _HV_KVP_EXCHANGE_MAX_KEY_SIZE@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
Lloh3:
adrp x9, _HV_KVP_EXCHANGE_MAX_VALUE_SIZE@GOTPAGE
Lloh4:
ldr x9, [x9, _HV_KVP_EXCHANGE_MAX_VALUE_SIZE@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
cmp w8, w2
ccmp w9, w4, #0, lt
b.lt LBB0_7
; %bb.1:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x20, x4
mov x23, x3
mov x21, x2
mov x22, x1
mov x19, x0
bl _kvp_update_mem_state
Lloh6:
adrp x25, _kvp_file_info@GOTPAGE
Lloh7:
ldr x25, [x25, _kvp_file_info@GOTPAGEOFF]
ldr x8, [x25]
add x8, x8, w19, sxtw #4
ldr x24, [x8, #8]
ldp w28, w27, [x8]
cmp w28, #1
b.lt LBB0_3
; %bb.2:
ldr w1, [x24]
mov x0, x22
mov x2, x21
bl _memcmp
cbz x0, LBB0_8
LBB0_3:
sxtw x26, w19
Lloh8:
adrp x8, _ENTRIES_PER_BLOCK@GOTPAGE
Lloh9:
ldr x8, [x8, _ENTRIES_PER_BLOCK@GOTPAGEOFF]
Lloh10:
ldr w8, [x8]
mul w9, w8, w27
cmp w28, w9
b.ne LBB0_6
; %bb.4:
lsl w9, w27, #3
add w9, w9, #8
mul w1, w9, w8
mov x0, x24
bl _realloc
cbz x0, LBB0_11
; %bb.5:
mov x24, x0
ldr x8, [x25]
add x8, x8, x26, lsl #4
ldr w9, [x8, #4]
add w9, w9, #1
str w9, [x8, #4]
LBB0_6:
ldr w0, [x24, #4]
mov x1, x23
mov x2, x20
bl _memcpy
ldr w0, [x24]
mov x1, x22
mov x2, x21
bl _memcpy
ldr x8, [x25]
lsl x9, x26, #4
add x8, x8, x9
str x24, [x8, #8]
ldr x8, [x25]
ldr w10, [x8, x9]
add w10, w10, #1
str w10, [x8, x9]
b LBB0_9
LBB0_7:
mov w0, #1 ; =0x1
ret
LBB0_8:
ldr w0, [x24, #4]
mov x1, x23
mov x2, x20
bl _memcpy
LBB0_9:
mov x0, x19
bl _kvp_update_file
mov w0, #0 ; =0x0
LBB0_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
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
LBB0_11:
mov w0, #1 ; =0x1
b LBB0_10
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.cfi_endproc
; -- End function
.comm _HV_KVP_EXCHANGE_MAX_KEY_SIZE,4,2 ; @HV_KVP_EXCHANGE_MAX_KEY_SIZE
.comm _HV_KVP_EXCHANGE_MAX_VALUE_SIZE,4,2 ; @HV_KVP_EXCHANGE_MAX_VALUE_SIZE
.comm _kvp_file_info,8,3 ; @kvp_file_info
.comm _ENTRIES_PER_BLOCK,4,2 ; @ENTRIES_PER_BLOCK
.no_dead_strip _kvp_key_add_or_modify
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function joy_read_device
_joy_read_device: ## @joy_read_device
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $32, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edi, %ebx
movl $0, -36(%rbp)
movq _kCFAllocatorDefault@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _kNilOptions@GOTPCREL(%rip), %rax
movl (%rax), %ecx
leaq -36(%rbp), %rsi
callq _IORegistryEntryCreateCFProperties
movq _KERN_SUCCESS@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_12
## %bb.1:
movl -36(%rbp), %r14d
movq _kIOHIDPrimaryUsagePageKey@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _CFSTR
movl %r14d, %edi
movl %eax, %esi
callq _CFDictionaryGetValue
testq %rax, %rax
je LBB0_12
## %bb.2:
movq _kCFNumberSInt32Type@GOTPCREL(%rip), %r15
movl (%r15), %esi
leaq -56(%rbp), %rdx
movl %eax, %edi
callq _CFNumberGetValue
testl %eax, %eax
je LBB0_12
## %bb.3:
movq -56(%rbp), %rax
movq _kHIDPage_GenericDesktop@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_12
## %bb.4:
movl -36(%rbp), %r14d
movq _kIOHIDPrimaryUsageKey@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _CFSTR
movl %r14d, %edi
movl %eax, %esi
callq _CFDictionaryGetValue
testq %rax, %rax
je LBB0_12
## %bb.5:
movl (%r15), %esi
leaq -48(%rbp), %rdx
movl %eax, %edi
callq _CFNumberGetValue
testl %eax, %eax
je LBB0_12
## %bb.6:
movq -48(%rbp), %rax
movq _kHIDUsage_GD_GamePad@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_8
## %bb.7:
movq _kHIDUsage_GD_Joystick@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_12
LBB0_8:
movq _joys@GOTPCREL(%rip), %r12
movq (%r12), %rdi
movq _joy_count@GOTPCREL(%rip), %r15
movl (%r15), %eax
leal (%rax,%rax,2), %eax
leal -12(,%rax,4), %esi
callq _realloc
testq %rax, %rax
je LBB0_9
LBB0_12:
movl -36(%rbp), %edi
callq _CFRelease
addq $32, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_9:
movq $0, (%r12)
movslq (%r15), %rax
shlq $2, %rax
leaq (%rax,%rax,2), %rdi
xorl %esi, %esi
movl $12, %edx
callq _memset
movl -36(%rbp), %r14d
movq _kIOHIDProductKey@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _CFSTR
movl %r14d, %edi
movl %eax, %esi
callq _CFDictionaryGetValue
movq (%r12), %rcx
movslq (%r15), %rdx
leaq (%rdx,%rdx,2), %rdx
movl 8(%rcx,%rdx,4), %esi
movq _kCFStringEncodingUTF8@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %eax, %edi
movl $256, %edx ## imm = 0x100
callq _CFStringGetCString
testl %eax, %eax
je LBB0_12
## %bb.10:
movslq (%r15), %rax
leaq (%rax,%rax,2), %rsi
shlq $2, %rsi
addq (%r12), %rsi
movl %ebx, %edi
callq _joy_create_interface
testl %eax, %eax
je LBB0_12
## %bb.11:
movl -36(%rbp), %edi
movslq (%r15), %rax
leaq (%rax,%rax,2), %rsi
shlq $2, %rsi
addq (%r12), %rsi
callq _joy_find_elements
movq (%r12), %rax
movslq (%r15), %rcx
leaq (%rcx,%rcx,2), %rcx
movl (%rax,%rcx,4), %esi
movl 4(%rax,%rcx,4), %edi
movq _joy_cmp_buttons@GOTPCREL(%rip), %rcx
movl $4, %edx
callq _qsort
incl (%r15)
jmp LBB0_12
.cfi_endproc
## -- End function
.comm _kCFAllocatorDefault,4,2 ## @kCFAllocatorDefault
.comm _kNilOptions,4,2 ## @kNilOptions
.comm _KERN_SUCCESS,8,3 ## @KERN_SUCCESS
.comm _kIOHIDPrimaryUsagePageKey,4,2 ## @kIOHIDPrimaryUsagePageKey
.comm _kCFNumberSInt32Type,4,2 ## @kCFNumberSInt32Type
.comm _kHIDPage_GenericDesktop,8,3 ## @kHIDPage_GenericDesktop
.comm _kIOHIDPrimaryUsageKey,4,2 ## @kIOHIDPrimaryUsageKey
.comm _kHIDUsage_GD_GamePad,8,3 ## @kHIDUsage_GD_GamePad
.comm _kHIDUsage_GD_Joystick,8,3 ## @kHIDUsage_GD_Joystick
.comm _joys,8,3 ## @joys
.comm _joy_count,4,2 ## @joy_count
.comm _kIOHIDProductKey,4,2 ## @kIOHIDProductKey
.comm _kCFStringEncodingUTF8,4,2 ## @kCFStringEncodingUTF8
.comm _joy_cmp_buttons,4,2 ## @joy_cmp_buttons
.no_dead_strip _joy_read_device
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function joy_read_device
_joy_read_device: ; @joy_read_device
.cfi_startproc
; %bb.0:
sub sp, sp, #96
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x0
str wzr, [sp, #28]
Lloh0:
adrp x8, _kCFAllocatorDefault@GOTPAGE
Lloh1:
ldr x8, [x8, _kCFAllocatorDefault@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
Lloh3:
adrp x8, _kNilOptions@GOTPAGE
Lloh4:
ldr x8, [x8, _kNilOptions@GOTPAGEOFF]
Lloh5:
ldr w3, [x8]
add x1, sp, #28
bl _IORegistryEntryCreateCFProperties
Lloh6:
adrp x8, _KERN_SUCCESS@GOTPAGE
Lloh7:
ldr x8, [x8, _KERN_SUCCESS@GOTPAGEOFF]
Lloh8:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_9
; %bb.1:
ldr w20, [sp, #28]
Lloh9:
adrp x8, _kIOHIDPrimaryUsagePageKey@GOTPAGE
Lloh10:
ldr x8, [x8, _kIOHIDPrimaryUsagePageKey@GOTPAGEOFF]
Lloh11:
ldr w0, [x8]
bl _CFSTR
mov x1, x0
mov x0, x20
bl _CFDictionaryGetValue
cbz x0, LBB0_9
; %bb.2:
Lloh12:
adrp x21, _kCFNumberSInt32Type@GOTPAGE
Lloh13:
ldr x21, [x21, _kCFNumberSInt32Type@GOTPAGEOFF]
ldr w1, [x21]
add x2, sp, #16
; kill: def $w0 killed $w0 killed $x0
bl _CFNumberGetValue
cbz w0, LBB0_9
; %bb.3:
ldr x8, [sp, #16]
Lloh14:
adrp x9, _kHIDPage_GenericDesktop@GOTPAGE
Lloh15:
ldr x9, [x9, _kHIDPage_GenericDesktop@GOTPAGEOFF]
Lloh16:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_9
; %bb.4:
ldr w20, [sp, #28]
Lloh17:
adrp x8, _kIOHIDPrimaryUsageKey@GOTPAGE
Lloh18:
ldr x8, [x8, _kIOHIDPrimaryUsageKey@GOTPAGEOFF]
Lloh19:
ldr w0, [x8]
bl _CFSTR
mov x1, x0
mov x0, x20
bl _CFDictionaryGetValue
cbz x0, LBB0_9
; %bb.5:
ldr w1, [x21]
add x2, sp, #8
; kill: def $w0 killed $w0 killed $x0
bl _CFNumberGetValue
cbz w0, LBB0_9
; %bb.6:
ldr x8, [sp, #8]
Lloh20:
adrp x9, _kHIDUsage_GD_GamePad@GOTPAGE
Lloh21:
ldr x9, [x9, _kHIDUsage_GD_GamePad@GOTPAGEOFF]
Lloh22:
ldr x9, [x9]
cmp x8, x9
b.eq LBB0_8
; %bb.7:
Lloh23:
adrp x9, _kHIDUsage_GD_Joystick@GOTPAGE
Lloh24:
ldr x9, [x9, _kHIDUsage_GD_Joystick@GOTPAGEOFF]
Lloh25:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_9
LBB0_8:
Lloh26:
adrp x22, _joys@GOTPAGE
Lloh27:
ldr x22, [x22, _joys@GOTPAGEOFF]
ldr x0, [x22]
Lloh28:
adrp x21, _joy_count@GOTPAGE
Lloh29:
ldr x21, [x21, _joy_count@GOTPAGEOFF]
ldr w8, [x21]
mov w9, #12 ; =0xc
mov w10, #-12 ; =0xfffffff4
madd w1, w8, w9, w10
bl _realloc
cbz x0, LBB0_10
LBB0_9:
ldr w0, [sp, #28]
bl _CFRelease
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #96
ret
LBB0_10:
str xzr, [x22]
ldrsw x8, [x21]
add x8, x8, x8, lsl #1
lsl x0, x8, #2
mov w23, #12 ; =0xc
mov w1, #0 ; =0x0
mov w2, #12 ; =0xc
bl _memset
ldr w20, [sp, #28]
Lloh30:
adrp x8, _kIOHIDProductKey@GOTPAGE
Lloh31:
ldr x8, [x8, _kIOHIDProductKey@GOTPAGEOFF]
Lloh32:
ldr w0, [x8]
bl _CFSTR
mov x1, x0
mov x0, x20
bl _CFDictionaryGetValue
ldr x8, [x22]
ldrsw x9, [x21]
smaddl x8, w9, w23, x8
ldr w1, [x8, #8]
Lloh33:
adrp x8, _kCFStringEncodingUTF8@GOTPAGE
Lloh34:
ldr x8, [x8, _kCFStringEncodingUTF8@GOTPAGEOFF]
Lloh35:
ldr w3, [x8]
; kill: def $w0 killed $w0 killed $x0
mov w2, #256 ; =0x100
bl _CFStringGetCString
cbz w0, LBB0_9
; %bb.11:
ldr x8, [x22]
ldrsw x9, [x21]
mov w10, #12 ; =0xc
smaddl x1, w9, w10, x8
mov x0, x19
bl _joy_create_interface
cbz w0, LBB0_9
; %bb.12:
ldr w0, [sp, #28]
ldr x8, [x22]
ldrsw x9, [x21]
mov w19, #12 ; =0xc
smaddl x1, w9, w19, x8
bl _joy_find_elements
ldr x8, [x22]
ldrsw x9, [x21]
smaddl x8, w9, w19, x8
ldp w1, w0, [x8]
Lloh36:
adrp x3, _joy_cmp_buttons@GOTPAGE
Lloh37:
ldr x3, [x3, _joy_cmp_buttons@GOTPAGEOFF]
mov w2, #4 ; =0x4
bl _qsort
ldr w8, [x21]
add w8, w8, #1
str w8, [x21]
b LBB0_9
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpLdrGot Lloh28, Lloh29
.loh AdrpLdrGot Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpLdrGot Lloh36, Lloh37
.cfi_endproc
; -- End function
.comm _kCFAllocatorDefault,4,2 ; @kCFAllocatorDefault
.comm _kNilOptions,4,2 ; @kNilOptions
.comm _KERN_SUCCESS,8,3 ; @KERN_SUCCESS
.comm _kIOHIDPrimaryUsagePageKey,4,2 ; @kIOHIDPrimaryUsagePageKey
.comm _kCFNumberSInt32Type,4,2 ; @kCFNumberSInt32Type
.comm _kHIDPage_GenericDesktop,8,3 ; @kHIDPage_GenericDesktop
.comm _kIOHIDPrimaryUsageKey,4,2 ; @kIOHIDPrimaryUsageKey
.comm _kHIDUsage_GD_GamePad,8,3 ; @kHIDUsage_GD_GamePad
.comm _kHIDUsage_GD_Joystick,8,3 ; @kHIDUsage_GD_Joystick
.comm _joys,8,3 ; @joys
.comm _joy_count,4,2 ; @joy_count
.comm _kIOHIDProductKey,4,2 ; @kIOHIDProductKey
.comm _kCFStringEncodingUTF8,4,2 ; @kCFStringEncodingUTF8
.comm _joy_cmp_buttons,4,2 ; @joy_cmp_buttons
.no_dead_strip _joy_read_device
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl __dwarf_write_block_alloc ## -- Begin function _dwarf_write_block_alloc
.p2align 4, 0x90
__dwarf_write_block_alloc: ## @_dwarf_write_block_alloc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_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
movl %r8d, %r14d
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, %rbx
movq %rdi, %r13
xorl %edi, %edi
cmpl $0, (%rsi)
setg %dil
callq _assert
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl (%r12), %eax
addl %r14d, %eax
movslq (%rbx), %rsi
cmpl %esi, %eax
jle LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
addq %rsi, %rsi
movl %esi, (%rbx)
movq (%r13), %rdi
callq _realloc
movq %rax, (%r13)
testq %rax, %rax
je LBB0_1
## %bb.3:
movq _DW_DLE_MEMORY@GOTPCREL(%rip), %rbx
movl (%rbx), %edx
xorl %edi, %edi
movq -48(%rbp), %rsi ## 8-byte Reload
callq _DWARF_SET_ERROR
jmp LBB0_5
LBB0_4:
movq (%r13), %rdi
movq %r12, %rsi
movq %r15, %rdx
movl %r14d, %ecx
callq __dwarf_write_block
movq _DW_DLE_NONE@GOTPCREL(%rip), %rbx
LBB0_5:
movl (%rbx), %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _DW_DLE_MEMORY,4,2 ## @DW_DLE_MEMORY
.comm _DW_DLE_NONE,4,2 ## @DW_DLE_NONE
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl __dwarf_write_block_alloc ; -- Begin function _dwarf_write_block_alloc
.p2align 2
__dwarf_write_block_alloc: ; @_dwarf_write_block_alloc
.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, x5
mov x20, x4
mov x21, x3
mov x22, x2
mov x24, x1
mov x23, x0
ldr w8, [x1]
cmp w8, #0
cset w0, gt
bl _assert
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w9, [x22]
ldrsw x8, [x24]
add w9, w9, w20
cmp w9, w8
b.le LBB0_4
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
lsl x1, x8, #1
str w1, [x24]
ldr x0, [x23]
bl _realloc
str x0, [x23]
cbz x0, LBB0_1
; %bb.3:
Lloh0:
adrp x20, _DW_DLE_MEMORY@GOTPAGE
Lloh1:
ldr x20, [x20, _DW_DLE_MEMORY@GOTPAGEOFF]
ldr w2, [x20]
mov x0, #0 ; =0x0
mov x1, x19
bl _DWARF_SET_ERROR
b LBB0_5
LBB0_4:
ldr x0, [x23]
mov x1, x22
mov x2, x21
mov x3, x20
bl __dwarf_write_block
Lloh2:
adrp x20, _DW_DLE_NONE@GOTPAGE
Lloh3:
ldr x20, [x20, _DW_DLE_NONE@GOTPAGEOFF]
LBB0_5:
ldr w0, [x20]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.cfi_endproc
; -- End function
.comm _DW_DLE_MEMORY,4,2 ; @DW_DLE_MEMORY
.comm _DW_DLE_NONE,4,2 ; @DW_DLE_NONE
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function buffer_write
_buffer_write: ## @buffer_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 %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %rbx
movq %rdi, %r14
movq (%rdi), %rdi
movq 16(%r14), %rax
leaq (%rdi,%rdx), %rcx
cmpq 8(%r14), %rcx
jbe LBB0_7
## %bb.1:
movq %rsi, %r15
testq %rax, %rax
je LBB0_3
## %bb.2:
movl $1024, %edi ## imm = 0x400
callq _malloc
testq %rax, %rax
je LBB0_5
LBB0_6:
movq %r15, %rsi
movq %rax, 16(%r14)
movq (%r14), %rdi
leaq (%rdi,%rbx), %rcx
movq %rcx, 8(%r14)
LBB0_7:
addq %rax, %rdi
movq %rbx, %rdx
callq _memcpy
addq %rbx, (%r14)
LBB0_8:
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_3:
xorl %edi, %edi
movq %rcx, %rsi
callq _realloc
testq %rax, %rax
jne LBB0_6
LBB0_5:
movq $-1, %rbx
jmp LBB0_8
.cfi_endproc
## -- End function
.no_dead_strip _buffer_write
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function buffer_write
_buffer_write: ; @buffer_write
.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 x20, x0
ldp x9, x10, [x0]
ldr x0, [x0, #16]
add x8, x9, x2
cmp x8, x10
b.ls LBB0_4
; %bb.1:
mov x21, x1
cbz x0, LBB0_6
; %bb.2:
mov w0, #1024 ; =0x400
bl _malloc
cbz x0, LBB0_7
LBB0_3:
mov x1, x21
ldr x9, [x20]
add x8, x9, x19
stp x8, x0, [x20, #8]
LBB0_4:
add x0, x0, x9
mov x2, x19
bl _memcpy
ldr x8, [x20]
add x8, x8, x19
str x8, [x20]
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:
mov x1, x8
bl _realloc
cbnz x0, LBB0_3
LBB0_7:
mov x19, #-1 ; =0xffffffffffffffff
b LBB0_5
.cfi_endproc
; -- End function
.no_dead_strip _buffer_write
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _SH2HandleTrackInfLoop ## -- Begin function SH2HandleTrackInfLoop
.p2align 4, 0x90
_SH2HandleTrackInfLoop: ## @SH2HandleTrackInfLoop
.cfi_startproc
## %bb.0:
cmpq $0, 24(%rdi)
je LBB0_13
## %bb.1:
movl (%rdi), %eax
movl %eax, %ecx
notl %ecx
testl $43008, %ecx ## imm = 0xA800
je LBB0_4
## %bb.2:
movl %eax, %ecx
andl $-35713, %ecx ## imm = 0xFFFF747F
je LBB0_4
## %bb.3:
andl $35200, %eax ## imm = 0x8980
cmpl $35200, %eax ## imm = 0x8980
je LBB0_4
LBB0_13:
retq
LBB0_4:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
leaq 8(%rdi), %rbx
movslq (%rbx), %rcx
testq %rcx, %rcx
js LBB0_9
## %bb.5:
movq 16(%rdi), %rax
movq 32(%rdi), %rdx
addq $8, %rax
xorl %esi, %esi
.p2align 4, 0x90
LBB0_7: ## =>This Inner Loop Header: Depth=1
cmpq -8(%rax), %rdx
je LBB0_8
## %bb.6: ## in Loop: Header=BB0_7 Depth=1
decq %rsi
addq $-16, %rax
cmpq %rcx, %rsi
jle LBB0_7
LBB0_9:
movl 12(%rdi), %esi
movq 16(%rdi), %rax
cmpl %esi, %ecx
jl LBB0_11
## %bb.10:
shll $3, %esi
movq %rdi, %r14
movq %rax, %rdi
callq _realloc
movq %r14, %rdi
movq %rax, 16(%r14)
shll 12(%r14)
movl 8(%r14), %ecx
LBB0_11:
movq 32(%rdi), %rdx
movslq %ecx, %rsi
shlq $4, %rsi
movq %rdx, (%rax,%rsi)
movl $1, 8(%rax,%rsi)
jmp LBB0_12
LBB0_8:
movl (%rax), %ecx
movq %rax, %rbx
LBB0_12:
incl %ecx
movl %ecx, (%rbx)
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 _SH2HandleTrackInfLoop ; -- Begin function SH2HandleTrackInfLoop
.p2align 2
_SH2HandleTrackInfLoop: ; @SH2HandleTrackInfLoop
.cfi_startproc
; %bb.0:
ldr x8, [x0, #24]
cbz x8, LBB0_11
; %bb.1:
ldr w8, [x0]
mov w9, #-35713 ; =0xffff747f
and w9, w8, w9
mov w10, #35200 ; =0x8980
and w11, w8, w10
mov w12, #43008 ; =0xa800
bic w8, w12, w8
cmp w8, #0
ccmp w9, #0, #4, ne
ccmp w11, w10, #4, ne
b.ne LBB0_11
; %bb.2:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
add x19, x0, #8
ldr w9, [x19]
tbnz w9, #31, LBB0_6
; %bb.3:
mov x10, #0 ; =0x0
ldr x11, [x0, #32]
ldr x8, [x0, #16]
add x8, x8, #8
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldur x12, [x8, #-8]
cmp x11, x12
b.eq LBB0_9
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
sub x10, x10, #1
sub x8, x8, #16
cmp x10, x9
b.le LBB0_4
LBB0_6:
ldr w10, [x0, #12]
ldr x8, [x0, #16]
cmp w9, w10
b.lt LBB0_8
; %bb.7:
lsl w1, w10, #3
mov x20, x0
mov x0, x8
bl _realloc
mov x8, x0
mov x0, x20
str x8, [x20, #16]
ldp w9, w10, [x20, #8]
lsl w10, w10, #1
str w10, [x20, #12]
LBB0_8:
ldr x10, [x0, #32]
add x8, x8, w9, sxtw #4
str x10, [x8]
mov w10, #1 ; =0x1
str w10, [x8, #8]
b LBB0_10
LBB0_9:
ldr w9, [x8]
mov x19, x8
LBB0_10:
add w8, w9, #1
str w8, [x19]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
LBB0_11:
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 check_realloc_output
_check_realloc_output: ## @check_realloc_output
.cfi_startproc
## %bb.0:
## kill: def $esi killed $esi def $rsi
movl $1, %eax
cmpl %esi, (%rdi)
jge LBB0_5
## %bb.1:
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
leal -1024(%rsi), %eax
movl %eax, (%rdi)
movl %esi, 4(%rdi)
movq 8(%rdi), %rdi
movl %eax, %esi
callq _realloc
testq %rax, %rax
je LBB0_2
## %bb.3:
leaq L_.str(%rip), %rdi
callq _hb_error
movq 8(%rbx), %rdi
callq _free
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
xorl %eax, %eax
jmp LBB0_4
LBB0_2:
movq $0, 8(%rbx)
movl $1, %eax
LBB0_4:
addq $8, %rsp
popq %rbx
popq %rbp
LBB0_5:
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "realloc failed!"
.no_dead_strip _check_realloc_output
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function check_realloc_output
_check_realloc_output: ; @check_realloc_output
.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
sub w8, w1, #1024
stp w8, w1, [x0]
ldr x0, [x0, #8]
mov x1, x8
bl _realloc
cbz x0, LBB0_4
; %bb.2:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _hb_error
ldr x0, [x19, #8]
bl _free
mov w0, #0 ; =0x0
stp xzr, xzr, [x19]
b LBB0_5
LBB0_3:
mov w0, #1 ; =0x1
ret
LBB0_4:
str xzr, [x19, #8]
mov w0, #1 ; =0x1
LBB0_5:
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 "realloc failed!"
.no_dead_strip _check_realloc_output
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function grow_seed_array
_grow_seed_array: ## @grow_seed_array
.cfi_startproc
## %bb.0:
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
addl (%rdi), %r15d
movl $1, %ebx
cmpl 4(%rdi), %r15d
jb LBB0_4
## %bb.1:
movq %rdi, %r14
movl %r15d, %r12d
shrl %r12d
leal (%r15,%r12), %eax
movq 8(%rdi), %rdi
leal 8(,%rax,4), %esi
callq _realloc
testq %rax, %rax
je LBB0_2
## %bb.3:
leal (%r15,%r12), %edx
addl $2, %edx
movq %rax, 8(%r14)
movl %edx, 4(%r14)
movslq (%r14), %rcx
leaq (%rax,%rcx,4), %rdi
subl %ecx, %edx
shll $2, %edx
xorl %esi, %esi
callq _memset
jmp LBB0_4
LBB0_2:
xorl %ebx, %ebx
LBB0_4:
movl %ebx, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _grow_seed_array
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function grow_seed_array
_grow_seed_array: ; @grow_seed_array
.cfi_startproc
; %bb.0:
ldp w8, w9, [x0]
add w8, w8, w1
cmp w8, w9
b.hs LBB0_2
; %bb.1:
mov w0, #1 ; =0x1
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 x19, x0
add w8, w8, w8, lsr #1
add w20, w8, #2
ldr x0, [x0, #8]
lsl w1, w20, #2
bl _realloc
cbz x0, LBB0_4
; %bb.3:
str x0, [x19, #8]
str w20, [x19, #4]
ldrsw x8, [x19]
add x0, x0, x8, lsl #2
sub w8, w20, w8
lsl w2, w8, #2
mov w1, #0 ; =0x0
bl _memset
mov w0, #1 ; =0x1
LBB0_4:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _grow_seed_array
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function fons__atlasInsertNode
_fons__atlasInsertNode: ## @fons__atlasInsertNode
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_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 %r8d, %r14d
movl %ecx, %r15d
movl %edx, %r12d
movl %esi, %r13d
movq %rdi, %rbx
movl (%rdi), %eax
movl 4(%rdi), %ecx
cmpl %ecx, %eax
jl LBB0_4
## %bb.1:
leal (%rcx,%rcx), %eax
testl %ecx, %ecx
movl $8, %ecx
cmovnel %eax, %ecx
movl %ecx, 4(%rbx)
movq 8(%rbx), %rdi
addl %ecx, %ecx
leal (%rcx,%rcx,2), %esi
callq _realloc
movq %rax, 8(%rbx)
testq %rax, %rax
je LBB0_2
## %bb.3:
movl (%rbx), %eax
LBB0_4:
cmpl %r13d, %eax
jle LBB0_7
## %bb.5:
cltq
addq %rax, %rax
leaq (%rax,%rax,2), %rax
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
movq 8(%rbx), %rcx
movzwl -2(%rcx,%rax), %edx
movw %dx, 4(%rcx,%rax)
movl -6(%rcx,%rax), %edx
movl %edx, (%rcx,%rax)
addq $6, %rax
jmp LBB0_6
LBB0_7:
movq 8(%rbx), %rcx
movslq %r13d, %rdx
leaq (%rdx,%rdx,2), %rdx
movw %r12w, (%rcx,%rdx,2)
movw %r15w, 2(%rcx,%rdx,2)
movw %r14w, 4(%rcx,%rdx,2)
incl %eax
movl %eax, (%rbx)
movl $1, %eax
jmp LBB0_8
LBB0_2:
xorl %eax, %eax
LBB0_8:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _fons__atlasInsertNode
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function fons__atlasInsertNode
_fons__atlasInsertNode: ; @fons__atlasInsertNode
.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, x4
mov x21, x3
mov x22, x2
mov x23, x1
mov x19, x0
ldp w8, w9, [x0]
cmp w8, w9
b.lt LBB0_3
; %bb.1:
lsl w8, w9, #1
mov w10, #8 ; =0x8
cmp w9, #0
csel w8, w10, w8, eq
str w8, [x19, #4]
ldr x0, [x19, #8]
add w8, w8, w8, lsl #1
lsl w1, w8, #1
bl _realloc
str x0, [x19, #8]
cbz x0, LBB0_7
; %bb.2:
ldr w8, [x19]
LBB0_3:
cmp w8, w23
b.le LBB0_6
; %bb.4:
mov w9, #6 ; =0x6
smull x8, w8, w9
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr x9, [x19, #8]
add x9, x9, x8
ldur w10, [x9, #-6]
str w10, [x9]
ldurh w10, [x9, #-2]
strh w10, [x9, #4]
add x8, x8, #6
b LBB0_5
LBB0_6:
ldr x9, [x19, #8]
mov w10, #6 ; =0x6
smaddl x9, w23, w10, x9
strh w22, [x9]
strh w21, [x9, #2]
strh w20, [x9, #4]
add w8, w8, #1
str w8, [x19]
mov w0, #1 ; =0x1
LBB0_7:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _fons__atlasInsertNode
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function subst
_subst: ## @subst
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
callq _strstrword
testq %rax, %rax
movq %r15, -48(%rbp) ## 8-byte Spill
je LBB0_1
LBB0_10:
movq -48(%rbp), %rax ## 8-byte Reload
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_1:
movq %r15, %rdi
callq _strlen
movl %eax, %r12d
decl %r12d
movq %r14, -80(%rbp) ## 8-byte Spill
movq %r14, %rdi
callq _strlen
movl %eax, %r13d
movq %rbx, -88(%rbp) ## 8-byte Spill
movq %rbx, %rdi
callq _strlen
movl %eax, %ebx
subl %r13d, %eax
movl %eax, -60(%rbp) ## 4-byte Spill
movslq %r13d, %rax
movq %rax, -72(%rbp) ## 8-byte Spill
movslq %ebx, %rax
movq %rax, -56(%rbp) ## 8-byte Spill
xorl %r15d, %r15d
jmp LBB0_2
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_2 Depth=1
movq -88(%rbp), %rdi ## 8-byte Reload
movq %r15, %rsi
movq -56(%rbp), %rdx ## 8-byte Reload
## kill: def $edx killed $edx killed $rdx
callq _bcopy
movq %r15, %rdi
movq -80(%rbp), %rsi ## 8-byte Reload
callq _strstrword
movq %rax, %r15
testq %rax, %rax
je LBB0_10
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %r15, %r14
subq -48(%rbp), %r14 ## 8-byte Folded Reload
cmpl %ebx, %r13d
jle LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq -72(%rbp), %rax ## 8-byte Reload
leaq (%r15,%rax), %rdi
movq -56(%rbp), %rax ## 8-byte Reload
leaq (%r15,%rax), %rsi
movl %r12d, %edx
subl %r13d, %edx
subl %r14d, %edx
callq _bcopy
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
cmpl %r13d, %ebx
je LBB0_7
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
addl -60(%rbp), %r12d ## 4-byte Folded Reload
movq -48(%rbp), %rdi ## 8-byte Reload
movl %r12d, %esi
callq _realloc
testq %rax, %rax
je LBB0_10
## %bb.6: ## in Loop: Header=BB0_2 Depth=1
movslq %r14d, %r15
addq %rax, %r15
movq %rax, -48(%rbp) ## 8-byte Spill
LBB0_7: ## in Loop: Header=BB0_2 Depth=1
cmpl %r13d, %ebx
jle LBB0_9
## %bb.8: ## in Loop: Header=BB0_2 Depth=1
movq -72(%rbp), %rax ## 8-byte Reload
leaq (%r15,%rax), %rdi
movq -56(%rbp), %rax ## 8-byte Reload
leaq (%r15,%rax), %rsi
movl %r12d, %edx
subl %ebx, %edx
subl %r14d, %edx
callq _bcopy
jmp LBB0_9
.cfi_endproc
## -- End function
.no_dead_strip _subst
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function subst
_subst: ; @subst
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x2
mov x20, x1
mov x21, x0
bl _strstrword
cbz x0, LBB0_2
LBB0_1:
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
LBB0_2:
mov x0, x21
bl _strlen
sub w22, w0, #1
mov x0, x20
bl _strlen
mov x23, x0
mov x0, x19
bl _strlen
; kill: def $w0 killed $w0 def $x0
mov x24, #0 ; =0x0
sub w25, w0, w23
sxtw x26, w23
sxtw x23, w0
b LBB0_4
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
mov x0, x19
mov x1, x24
mov x2, x23
bl _bcopy
mov x0, x24
mov x1, x20
bl _strstrword
mov x24, x0
cbz x0, LBB0_1
LBB0_4: ; =>This Inner Loop Header: Depth=1
sub x27, x24, x21
cmp w26, w23
b.le LBB0_6
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
sub w8, w22, w26
add x0, x24, x26
add x1, x24, x23
sub w2, w8, w27
bl _bcopy
LBB0_6: ; in Loop: Header=BB0_4 Depth=1
cmp w23, w26
b.eq LBB0_9
; %bb.7: ; in Loop: Header=BB0_4 Depth=1
add w22, w22, w25
mov x0, x21
mov x1, x22
bl _realloc
cbz x0, LBB0_1
; %bb.8: ; in Loop: Header=BB0_4 Depth=1
add x24, x0, w27, sxtw
mov x21, x0
LBB0_9: ; in Loop: Header=BB0_4 Depth=1
cmp w23, w26
b.le LBB0_3
; %bb.10: ; in Loop: Header=BB0_4 Depth=1
sub w8, w22, w23
add x0, x24, x26
add x1, x24, x23
sub w2, w8, w27
bl _bcopy
b LBB0_3
.cfi_endproc
; -- End function
.no_dead_strip _subst
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function hb_bitvec_add_bits
_hb_bitvec_add_bits: ## @hb_bitvec_add_bits
.cfi_startproc
## %bb.0:
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, %rbx
movl (%rdi), %eax
leal -31(%rax), %r15d
sarl $5, %r15d
leal (%r14,%rax), %r12d
addl $31, %r12d
sarl $5, %r12d
cmpl %r15d, %r12d
jle LBB0_4
## %bb.1:
movq 8(%rbx), %rdi
leal (,%r12,8), %esi
callq _realloc
testq %rax, %rax
je LBB0_2
## %bb.3:
movslq %r15d, %rcx
leaq (%rax,%rcx,8), %rdi
notl %r15d
addl %r15d, %r12d
leaq 8(,%r12,8), %rsi
movq %rax, %r15
callq ___bzero
movq %r15, 8(%rbx)
movl (%rbx), %eax
LBB0_4:
addl %r14d, %eax
movl %eax, (%rbx)
xorl %eax, %eax
LBB0_5:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_2:
movl $-1, %eax
jmp LBB0_5
.cfi_endproc
## -- End function
.no_dead_strip _hb_bitvec_add_bits
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function hb_bitvec_add_bits
_hb_bitvec_add_bits: ; @hb_bitvec_add_bits
.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 w8, [x0]
sub w9, w8, #31
asr w21, w9, #5
add w9, w1, w8
add w9, w9, #31
asr w22, w9, #5
cmp w22, w21
b.le LBB0_3
; %bb.1:
ldr x0, [x19, #8]
lsl w1, w22, #3
bl _realloc
cbz x0, LBB0_5
; %bb.2:
add x8, x0, w21, sxtw #3
mvn w9, w21
add w9, w22, w9
ubfiz x9, x9, #3, #32
add x1, x9, #8
mov x21, x0
mov x0, x8
bl _bzero
str x21, [x19, #8]
ldr w8, [x19]
LBB0_3:
mov w0, #0 ; =0x0
add w8, w8, w20
str w8, [x19]
LBB0_4:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_5:
mov w0, #-1 ; =0xffffffff
b LBB0_4
.cfi_endproc
; -- End function
.no_dead_strip _hb_bitvec_add_bits
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function store_match
_store_match: ## @store_match
.cfi_startproc
## %bb.0:
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
testl %edx, %edx
jle LBB0_7
## %bb.1:
movl (%rbx), %ecx
movl 4(%rbx), %esi
cmpl %esi, %ecx
jge LBB0_3
## %bb.2:
movq 24(%rbx), %rax
jmp LBB0_6
LBB0_7:
xorl %edi, %edi
callq _assert
movl 8(%rbx), %ecx
movl 12(%rbx), %esi
cmpl %esi, %ecx
jge LBB0_9
## %bb.8:
movq 16(%rbx), %rax
jmp LBB0_11
LBB0_3:
movl %edx, %r15d
leal (%rsi,%rsi), %eax
movl %eax, 4(%rbx)
movq 24(%rbx), %rdi
shll $5, %esi
## kill: def $esi killed $esi killed $rsi
callq _realloc
testq %rax, %rax
je LBB0_4
## %bb.5:
movq %rax, 24(%rbx)
movl (%rbx), %ecx
movl %r15d, %edx
LBB0_6:
leal (%rcx,%rcx), %esi
movslq %esi, %rsi
movq %r14, (%rax,%rsi,8)
movl %edx, %eax
addq %r14, %rax
decq %rax
movq 24(%rbx), %rdx
leal 1(,%rcx,2), %esi
movslq %esi, %rsi
movq %rax, (%rdx,%rsi,8)
incl %ecx
movl %ecx, (%rbx)
jmp LBB0_12
LBB0_9:
leal (%rsi,%rsi), %eax
movl %eax, 12(%rbx)
movq 16(%rbx), %rdi
shll $4, %esi
## kill: def $esi killed $esi killed $rsi
callq _realloc
testq %rax, %rax
movl $0, %ecx
je LBB0_13
## %bb.10:
movq %rax, 16(%rbx)
movl 8(%rbx), %ecx
LBB0_11:
leal 1(%rcx), %edx
movl %edx, 8(%rbx)
movslq %ecx, %rcx
movq %r14, (%rax,%rcx,8)
LBB0_12:
movl $1, %ecx
LBB0_13:
movl %ecx, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_4:
xorl %ecx, %ecx
jmp LBB0_13
.cfi_endproc
## -- End function
.no_dead_strip _store_match
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function store_match
_store_match: ; @store_match
.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
cmp w2, #1
b.lt LBB0_3
; %bb.1:
ldp w8, w9, [x19]
cmp w8, w9
b.ge LBB0_5
; %bb.2:
ldr x0, [x19, #24]
b LBB0_7
LBB0_3:
mov w0, #0 ; =0x0
bl _assert
ldp w8, w9, [x19, #8]
cmp w8, w9
b.ge LBB0_8
; %bb.4:
ldr x0, [x19, #16]
b LBB0_10
LBB0_5:
mov x21, x2
lsl w8, w9, #1
str w8, [x19, #4]
ldr x0, [x19, #24]
lsl w1, w9, #5
bl _realloc
cbz x0, LBB0_12
; %bb.6:
str x0, [x19, #24]
ldr w8, [x19]
mov x2, x21
LBB0_7:
sbfiz x9, x8, #1, #32
str x20, [x0, w9, sxtw #3]
add x9, x20, w2, uxtw
sub x9, x9, #1
ldr x10, [x19, #24]
add x10, x10, w8, sxtw #4
str x9, [x10, #8]
add w8, w8, #1
str w8, [x19]
b LBB0_11
LBB0_8:
lsl w8, w9, #1
str w8, [x19, #12]
ldr x0, [x19, #16]
lsl w1, w9, #4
bl _realloc
cbz x0, LBB0_12
; %bb.9:
str x0, [x19, #16]
ldr w8, [x19, #8]
LBB0_10:
add w9, w8, #1
str w9, [x19, #8]
str x20, [x0, w8, sxtw #3]
LBB0_11:
mov w0, #1 ; =0x1
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 _store_match
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _xrealloc ## -- Begin function xrealloc
.p2align 4, 0x90
_xrealloc: ## @xrealloc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
callq _realloc
testq %rax, %rax
je LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
movq %rax, %rbx
callq _warnx
xorl %eax, %eax
callq _crash
movq %rbx, %rax
LBB0_2:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "realloc failed"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _xrealloc ; -- Begin function xrealloc
.p2align 2
_xrealloc: ; @xrealloc
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
bl _realloc
cbz x0, LBB0_2
; %bb.1:
Lloh0:
adrp x8, l_.str@PAGE
Lloh1:
add x8, x8, l_.str@PAGEOFF
mov x19, x0
mov x0, x8
bl _warnx
bl _crash
mov x0, x19
LBB0_2:
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 "realloc failed"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function lodepng_realloc
_lodepng_realloc: ## @lodepng_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
.no_dead_strip _lodepng_realloc
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function lodepng_realloc
_lodepng_realloc: ; @lodepng_realloc
.cfi_startproc
; %bb.0:
b _realloc
.cfi_endproc
; -- End function
.no_dead_strip _lodepng_realloc
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _loop_add_fd ## -- Begin function loop_add_fd
.p2align 4, 0x90
_loop_add_fd: ## @loop_add_fd
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_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 %r8, %r12
movq %rcx, %r13
movl %edx, %ebx
movl %esi, %r14d
movq %rdi, %r15
movl $1, %edi
movl $16, %esi
callq _calloc
testq %rax, %rax
je LBB0_5
## %bb.1:
movq %r13, (%rax)
movq %r12, 8(%rax)
movl 16(%r15), %edi
movq %rax, %rsi
callq _list_add
movl (%r15), %ecx
cmpl 4(%r15), %ecx
jne LBB0_2
## %bb.3:
leal 10(%rcx), %eax
movl %eax, 4(%r15)
movq 8(%r15), %rdi
leal 40(,%rcx,4), %eax
leal (%rax,%rax,2), %esi
callq _realloc
movq %rax, 8(%r15)
movl (%r15), %ecx
jmp LBB0_4
LBB0_5:
movq _SWAY_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _sway_log ## TAILCALL
LBB0_2:
movq 8(%r15), %rax
LBB0_4:
leal -1(%rcx), %edx
movl %edx, (%r15)
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
movl %r14d, (%rax,%rcx,4)
movw %bx, 4(%rax,%rcx,4)
movl $0, 8(%rax,%rcx,4)
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SWAY_ERROR,4,2 ## @SWAY_ERROR
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Unable to allocate memory for event"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _loop_add_fd ; -- Begin function loop_add_fd
.p2align 2
_loop_add_fd: ; @loop_add_fd
.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, x4
mov x23, x3
mov x19, x2
mov x20, x1
mov x21, x0
mov w0, #1 ; =0x1
mov w1, #16 ; =0x10
bl _calloc
cbz x0, LBB0_3
; %bb.1:
mov x1, x0
stp x23, x22, [x0]
ldr w0, [x21, #16]
bl _list_add
ldp w8, w9, [x21]
cmp w8, w9
b.ne LBB0_4
; %bb.2:
add w8, w8, #10
str w8, [x21, #4]
ldr x0, [x21, #8]
add w8, w8, w8, lsl #1
lsl w1, w8, #2
bl _realloc
str x0, [x21, #8]
ldr w8, [x21]
b LBB0_5
LBB0_3:
Lloh0:
adrp x8, _SWAY_ERROR@GOTPAGE
Lloh1:
ldr x8, [x8, _SWAY_ERROR@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
b _sway_log
LBB0_4:
ldr x0, [x21, #8]
LBB0_5:
sub w9, w8, #1
str w9, [x21]
mov w9, #12 ; =0xc
smaddl x8, w8, w9, x0
str w20, [x8]
strh w19, [x8, #4]
str wzr, [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
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _SWAY_ERROR,4,2 ; @SWAY_ERROR
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Unable to allocate memory for event"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _taosStringBuilderEnsureCapacity ## -- Begin function taosStringBuilderEnsureCapacity
.p2align 4, 0x90
_taosStringBuilderEnsureCapacity: ## @taosStringBuilderEnsureCapacity
.cfi_startproc
## %bb.0:
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
addq 24(%rdi), %rbx
cmpq (%rdi), %rbx
jbe LBB0_4
## %bb.1:
movq %rdi, %r14
addq %rbx, %rbx
movq 8(%rdi), %rdi
movq %rbx, %rsi
callq _realloc
movq %rax, %r15
testq %rax, %rax
je LBB0_3
## %bb.2:
movl 16(%r14), %edi
movl $1, %esi
callq _longjmp
LBB0_3:
movq %r15, 8(%r14)
movq %rbx, (%r14)
LBB0_4:
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 _taosStringBuilderEnsureCapacity ; -- Begin function taosStringBuilderEnsureCapacity
.p2align 2
_taosStringBuilderEnsureCapacity: ; @taosStringBuilderEnsureCapacity
.cfi_startproc
; %bb.0:
ldr x8, [x0, #24]
ldr x9, [x0]
add x8, x8, x1
cmp x8, x9
b.ls LBB0_4
; %bb.1:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
lsl x20, x8, #1
ldr x0, [x0, #8]
mov x1, x20
bl _realloc
mov x21, x0
cbz x0, LBB0_3
; %bb.2:
ldr w0, [x19, #16]
mov w1, #1 ; =0x1
bl _longjmp
LBB0_3:
stp x20, x21, [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_4:
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _archive_string_ensure ## -- Begin function archive_string_ensure
.p2align 4, 0x90
_archive_string_ensure: ## @archive_string_ensure
.cfi_startproc
## %bb.0:
movq (%rdi), %rax
movq 8(%rdi), %rcx
testq %rax, %rax
sete %dl
cmpq %rsi, %rcx
setb %r8b
orb %dl, %r8b
cmpb $1, %r8b
jne LBB0_10
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl $32, %edx
cmpq $32, %rcx
jb LBB0_4
## %bb.2:
cmpq $8192, %rcx ## imm = 0x2000
jae LBB0_6
## %bb.3:
xorl %edx, %edx
jmp LBB0_4
LBB0_6:
movq %rcx, %rdx
shrq $2, %rdx
addq %rcx, %rdx
cmpq %rcx, %rdx
jbe LBB0_7
LBB0_4:
movq %rdi, %rbx
cmpq %rsi, %rdx
cmovaq %rdx, %rsi
movq %rax, %rdi
movq %rsi, %r14
callq _realloc
testq %rax, %rax
je LBB0_5
## %bb.8:
movq %rbx, %rdi
movq %rax, (%rbx)
movq %r14, 8(%rbx)
jmp LBB0_9
LBB0_5:
movq %rbx, %rdi
LBB0_7:
callq _archive_string_free
movq _ENOMEM@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _errno@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
xorl %edi, %edi
LBB0_9:
popq %rbx
popq %r14
popq %rbp
LBB0_10:
movq %rdi, %rax
retq
.cfi_endproc
## -- End function
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _errno,4,2 ## @errno
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _archive_string_ensure ; -- Begin function archive_string_ensure
.p2align 2
_archive_string_ensure: ; @archive_string_ensure
.cfi_startproc
; %bb.0:
ldp x8, x10, [x0]
cmp x8, #0
ccmp x10, x1, #0, ne
b.hs LBB0_11
; %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
cmp x10, #32
b.hs LBB0_3
; %bb.2:
mov w9, #32 ; =0x20
b LBB0_6
LBB0_3:
cmp x10, #2, lsl #12 ; =8192
b.hs LBB0_5
; %bb.4:
mov x9, #0 ; =0x0
b LBB0_6
LBB0_5:
add x9, x10, x10, lsr #2
cmp x9, x10
b.ls LBB0_9
LBB0_6:
mov x19, x0
cmp x9, x1
csel x20, x9, x1, hi
mov x0, x8
mov x1, x20
bl _realloc
cbz x0, LBB0_8
; %bb.7:
mov x8, x0
mov x0, x19
stp x8, x20, [x19]
b LBB0_10
LBB0_8:
mov x0, x19
LBB0_9:
bl _archive_string_free
mov x0, #0 ; =0x0
Lloh0:
adrp x8, _ENOMEM@GOTPAGE
Lloh1:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
Lloh3:
adrp x9, _errno@GOTPAGE
Lloh4:
ldr x9, [x9, _errno@GOTPAGEOFF]
Lloh5:
str w8, [x9]
LBB0_10:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
LBB0_11:
ret
.loh AdrpLdrGotStr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _errno,4,2 ; @errno
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function id3_metadata_append
_id3_metadata_append: ## @id3_metadata_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 %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl (%rdi), %eax
testq %rax, %rax
je LBB0_8
## %bb.1:
movq 8(%rdi), %r8
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq (%r8,%rcx,8), %r9
cmpq %rsi, (%r9)
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
incq %rcx
cmpl %ecx, %eax
jne LBB0_2
jmp LBB0_8
LBB0_4:
cmpl %eax, %ecx
jbe LBB0_8
## %bb.5:
movq %rdi, %r14
movl %edx, %edi
movl $512, %esi ## imm = 0x200
callq _MIN
movl %eax, %ebx
movl $24, %edi
subl %eax, %edi
callq _malloc
testq %rax, %rax
jne LBB0_8
## %bb.6:
movq 8(%r14), %rdi
movl (%r14), %eax
leal 8(,%rax,8), %esi
callq _realloc
testq %rax, %rax
jne LBB0_9
## %bb.7:
xorl %edi, %edi
callq _free
LBB0_8:
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
LBB0_9:
movq %rax, 8(%r14)
addl $24, %ebx
xorl %edi, %edi
xorl %esi, %esi
movl %ebx, %edx
callq _memset
ud2
.cfi_endproc
## -- End function
.no_dead_strip _id3_metadata_append
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function id3_metadata_append
_id3_metadata_append: ; @id3_metadata_append
.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 w8, [x0]
cbz w8, LBB0_8
; %bb.1:
mov x9, #0 ; =0x0
ldr x10, [x0, #8]
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x11, [x10, x9, lsl #3]
ldr x11, [x11]
cmp x11, x1
b.eq LBB0_4
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
add x9, x9, #1
cmp w8, w9
b.ne LBB0_2
b LBB0_8
LBB0_4:
cmp w9, w8
b.ls LBB0_8
; %bb.5:
mov x20, x0
mov x0, x2
mov w1, #512 ; =0x200
bl _MIN
mov x19, x0
mov w8, #24 ; =0x18
sub w0, w8, w0
bl _malloc
cbnz x0, LBB0_8
; %bb.6:
ldr x0, [x20, #8]
ldr w8, [x20]
lsl w8, w8, #3
add w1, w8, #8
bl _realloc
cbnz x0, LBB0_9
; %bb.7:
bl _free
LBB0_8:
mov x0, #0 ; =0x0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_9:
str x0, [x20, #8]
add w2, w19, #24
mov x0, #0 ; =0x0
mov w1, #0 ; =0x0
bl _memset
brk #0x1
.cfi_endproc
; -- End function
.no_dead_strip _id3_metadata_append
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _dynarray_add ## -- Begin function dynarray_add
.p2align 4, 0x90
_dynarray_add: ## @dynarray_add
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movslq (%rsi), %rax
movq (%rdi), %rcx
leal 1(%rax), %edi
movq %rdx, (%rcx,%rax,8)
movl %edi, (%rsi)
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _dynarray_add ; -- Begin function dynarray_add
.p2align 2
_dynarray_add: ; @dynarray_add
.cfi_startproc
; %bb.0:
ldrsw x8, [x1]
ldr x9, [x0]
add w10, w8, #1
str x2, [x9, x8, lsl #3]
str w10, [x1]
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _markup_escape_text ## -- Begin function markup_escape_text
.p2align 4, 0x90
_markup_escape_text: ## @markup_escape_text
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
callq _strlen
movl %eax, %r12d
leal 40(%r12), %edi
movq %rdi, %r15
## kill: def $edi killed $edi killed $rdi
callq _malloc
movq %rax, %rdi
testl %r12d, %r12d
js LBB0_17
## %bb.1:
movl %r12d, %r11d
xorl %r13d, %r13d
xorl %r14d, %r14d
movq %r15, %r12
movq %rbx, -48(%rbp) ## 8-byte Spill
jmp LBB0_2
LBB0_10: ## in Loop: Header=BB0_2 Depth=1
movb $38, (%rdi,%rcx)
movb $97, (%rdi,%rax)
movl $997420912, 2(%rcx,%rdi) ## imm = 0x3B736F70
LBB0_11: ## in Loop: Header=BB0_2 Depth=1
addl $6, %r14d
LBB0_12: ## in Loop: Header=BB0_2 Depth=1
xorl %ecx, %ecx
movl %r14d, %eax
LBB0_16: ## in Loop: Header=BB0_2 Depth=1
cltq
movb %cl, (%rdi,%rax)
decq %r13
cmpq %r11, %r13
jg LBB0_17
LBB0_2: ## =>This Inner Loop Header: Depth=1
leal -8(%r12), %eax
cmpl %eax, %r14d
jle LBB0_3
## %bb.6: ## in Loop: Header=BB0_2 Depth=1
addl $40, %r12d
movq %r11, %rbx
movl %r12d, %esi
movq %rdi, %r15
callq _realloc
movq %rbx, %r11
movq -48(%rbp), %rbx ## 8-byte Reload
testq %rax, %rax
jne LBB0_4
jmp LBB0_7
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_2 Depth=1
movq %rdi, %rax
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
movq %rax, %rdi
movzbl (%rbx,%r13), %edx
movslq %r14d, %rcx
leaq 1(%rcx), %rax
leal -34(%rdx), %r8d
cmpl $28, %r8d
ja LBB0_15
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
leaq LJTI0_0(%rip), %r9
movslq (%r9,%r8,4), %r8
addq %r9, %r8
jmpq *%r8
LBB0_13: ## in Loop: Header=BB0_2 Depth=1
movb $38, (%rdi,%rcx)
movb $113, (%rdi,%rax)
movl $997486453, 2(%rcx,%rdi) ## imm = 0x3B746F75
jmp LBB0_11
LBB0_15: ## in Loop: Header=BB0_2 Depth=1
movb %dl, (%rdi,%rcx)
xorl %ecx, %ecx
movl %eax, %r14d
jmp LBB0_16
LBB0_14: ## in Loop: Header=BB0_2 Depth=1
movb $38, (%rdi,%rcx)
movb $97, (%rdi,%rax)
movw $28781, 2(%rcx,%rdi) ## imm = 0x706D
addl $5, %r14d
movb $59, 4(%rcx,%rdi)
jmp LBB0_12
LBB0_8: ## in Loop: Header=BB0_2 Depth=1
movb $38, (%rdi,%rcx)
movb $108, (%rdi,%rax)
leal 3(%r14), %eax
movb $116, 2(%rcx,%rdi)
addl $4, %r14d
movb $59, %cl
jmp LBB0_16
LBB0_9: ## in Loop: Header=BB0_2 Depth=1
movb $38, (%rdi,%rcx)
movb $103, (%rdi,%rax)
movw $15220, 2(%rcx,%rdi) ## imm = 0x3B74
addl $4, %r14d
jmp LBB0_12
LBB0_7:
movslq %r14d, %rax
movb $0, (%r15,%rax)
movq %r15, %rdi
LBB0_17:
movq %rdi, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
.long L0_0_set_13
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_14
.long L0_0_set_10
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_8
.long L0_0_set_15
.long L0_0_set_9
.end_data_region
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _markup_escape_text ; -- Begin function markup_escape_text
.p2align 2
_markup_escape_text: ; @markup_escape_text
.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
bl _strlen
mov x22, x0
add w21, w0, #40
mov x0, x21
bl _malloc
mov x20, x0
tbnz w22, #31, LBB0_21
; %bb.1:
mov x23, #0 ; =0x0
mov w25, #0 ; =0x0
mov w24, #38 ; =0x26
mov w27, #97 ; =0x61
mov w26, #108 ; =0x6c
mov w28, #116 ; =0x74
mov w22, w22
b LBB0_5
LBB0_2: ; in Loop: Header=BB0_5 Depth=1
mov w9, #0 ; =0x0
add x10, x20, x10
strb w24, [x10]
mov w11, #103 ; =0x67
strb w11, [x20, x8]
mov w8, #15220 ; =0x3b74
strh w8, [x10, #2]
add w8, w25, #4
LBB0_3: ; in Loop: Header=BB0_5 Depth=1
mov x25, x8
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
strb w9, [x20, w8, sxtw]
sub x23, x23, #1
cmp x23, x22
b.gt LBB0_21
LBB0_5: ; =>This Inner Loop Header: Depth=1
sub w8, w21, #8
cmp w25, w8
b.le LBB0_8
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
add w21, w21, #40
mov x0, x20
mov x1, x21
bl _realloc
cbz x0, LBB0_20
; %bb.7: ; in Loop: Header=BB0_5 Depth=1
mov x20, x0
LBB0_8: ; in Loop: Header=BB0_5 Depth=1
ldrb w11, [x19, x23]
sxtw x10, w25
add x8, x10, #1
cmp w11, #38
b.le LBB0_13
; %bb.9: ; in Loop: Header=BB0_5 Depth=1
cmp w11, #39
b.eq LBB0_16
; %bb.10: ; in Loop: Header=BB0_5 Depth=1
cmp w11, #62
b.eq LBB0_2
; %bb.11: ; in Loop: Header=BB0_5 Depth=1
cmp w11, #60
b.ne LBB0_19
; %bb.12: ; in Loop: Header=BB0_5 Depth=1
add x9, x20, x10
strb w24, [x9]
strb w26, [x20, x8]
add w8, w25, #3
strb w28, [x9, #2]
add w25, w25, #4
mov w9, #59 ; =0x3b
b LBB0_4
LBB0_13: ; in Loop: Header=BB0_5 Depth=1
cmp w11, #34
b.eq LBB0_17
; %bb.14: ; in Loop: Header=BB0_5 Depth=1
cmp w11, #38
b.ne LBB0_19
; %bb.15: ; in Loop: Header=BB0_5 Depth=1
mov w9, #0 ; =0x0
add x10, x20, x10
strb w24, [x10]
strb w27, [x20, x8]
mov w8, #28781 ; =0x706d
strh w8, [x10, #2]
add w8, w25, #5
mov w11, #59 ; =0x3b
strb w11, [x10, #4]
b LBB0_3
LBB0_16: ; in Loop: Header=BB0_5 Depth=1
mov w9, #0 ; =0x0
add x10, x20, x10
strb w24, [x10]
strb w27, [x20, x8]
mov w8, #28528 ; =0x6f70
movk w8, #15219, lsl #16
b LBB0_18
LBB0_17: ; in Loop: Header=BB0_5 Depth=1
mov w9, #0 ; =0x0
add x10, x20, x10
strb w24, [x10]
mov w11, #113 ; =0x71
strb w11, [x20, x8]
mov w8, #28533 ; =0x6f75
movk w8, #15220, lsl #16
LBB0_18: ; in Loop: Header=BB0_5 Depth=1
stur w8, [x10, #2]
add w8, w25, #6
b LBB0_3
LBB0_19: ; in Loop: Header=BB0_5 Depth=1
mov w9, #0 ; =0x0
strb w11, [x20, x10]
b LBB0_3
LBB0_20:
strb wzr, [x20, w25, sxtw]
LBB0_21:
mov x0, x20
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.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 iter_sort
_iter_sort: ## @iter_sort
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl %esi, %ebx
movq (%rdi), %r14
movl (%r14), %ecx
movl 4(%r14), %esi
cmpl %esi, %ecx
jge LBB0_2
## %bb.1:
movq 8(%r14), %rax
jmp LBB0_3
LBB0_2:
leal (%rsi,%rsi), %eax
movl %eax, 4(%r14)
movq 8(%r14), %rdi
shll $3, %esi
## kill: def $esi killed $esi killed $rsi
callq _realloc
movq %rax, 8(%r14)
movl (%r14), %ecx
LBB0_3:
leal 1(%rcx), %edx
movl %edx, (%r14)
movslq %ecx, %rcx
movl %ebx, (%rax,%rcx,4)
movq _STRM_OK@GOTPCREL(%rip), %rax
movl (%rax), %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _STRM_OK,4,2 ## @STRM_OK
.no_dead_strip _iter_sort
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function iter_sort
_iter_sort: ; @iter_sort
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
ldr x20, [x0]
ldp w8, w9, [x20]
cmp w8, w9
b.ge LBB0_2
; %bb.1:
ldr x0, [x20, #8]
b LBB0_3
LBB0_2:
lsl w8, w9, #1
str w8, [x20, #4]
ldr x0, [x20, #8]
lsl w1, w9, #3
bl _realloc
str x0, [x20, #8]
ldr w8, [x20]
LBB0_3:
add w9, w8, #1
str w9, [x20]
str w19, [x0, w8, sxtw #2]
Lloh0:
adrp x8, _STRM_OK@GOTPAGE
Lloh1:
ldr x8, [x8, _STRM_OK@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
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 _STRM_OK,4,2 ; @STRM_OK
.no_dead_strip _iter_sort
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _btf__get_from_id ## -- Begin function btf__get_from_id
.p2align 4, 0x90
_btf__get_from_id: ## @btf__get_from_id
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
xorps %xmm0, %xmm0
movaps %xmm0, -80(%rbp)
movq $0, -64(%rbp)
movl $24, -44(%rbp)
movq $0, (%rsi)
callq _bpf_btf_get_fd_by_id
testl %eax, %eax
js LBB0_1
## %bb.2:
movl %eax, %ebx
movl $4096, -80(%rbp) ## imm = 0x1000
movl $4096, %edi ## imm = 0x1000
callq _malloc
testq %rax, %rax
je LBB0_3
## %bb.4:
movq %rax, %r15
movq %rax, %rdi
xorl %esi, %esi
movl $4096, %edx ## imm = 0x1000
callq _memset
movq %r15, %rdi
callq _ptr_to_u64
movq %rax, -72(%rbp)
leaq -80(%rbp), %rsi
leaq -44(%rbp), %rdx
movl %ebx, %edi
callq _bpf_obj_get_info_by_fd
testl %eax, %eax
sete %al
movl -80(%rbp), %r13d
cmpl $4097, %r13d ## imm = 0x1001
setge %cl
orb %al, %cl
cmpb $1, %cl
jne LBB0_11
## %bb.5:
movq %r15, %rdi
movl %r13d, %esi
callq _realloc
testq %rax, %rax
je LBB0_6
## %bb.8:
movq %rax, %r12
movq %rax, %rdi
xorl %esi, %esi
movl %r13d, %edx
callq _memset
movq %r12, %rdi
callq _ptr_to_u64
movq %rax, -72(%rbp)
leaq -80(%rbp), %rsi
leaq -44(%rbp), %rdx
movl %ebx, %edi
callq _bpf_obj_get_info_by_fd
testl %eax, %eax
jne LBB0_10
## %bb.9:
movl -80(%rbp), %esi
cmpl %r13d, %esi
jle LBB0_12
LBB0_10:
movq %r12, %r15
LBB0_11:
movq _errno@GOTPCREL(%rip), %rax
movl (%rax), %r13d
jmp LBB0_16
LBB0_1:
xorl %r13d, %r13d
jmp LBB0_17
LBB0_3:
movq _ENOMEM@GOTPCREL(%rip), %rax
xorl %r15d, %r15d
jmp LBB0_7
LBB0_6:
movq _ENOMEM@GOTPCREL(%rip), %rax
LBB0_7:
xorl %r13d, %r13d
subl (%rax), %r13d
LBB0_16:
movl %ebx, %edi
callq _close
movq %r15, %rdi
callq _free
LBB0_17:
movl %r13d, %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_12:
movq -72(%rbp), %rdi
callq _btf__new
movq %rax, (%r14)
movq %rax, %rdi
callq _IS_ERR
testq %rax, %rax
je LBB0_13
## %bb.14:
movq (%r14), %rdi
callq _PTR_ERR
movl %eax, %r13d
movq $0, (%r14)
jmp LBB0_15
LBB0_13:
xorl %r13d, %r13d
LBB0_15:
movq %r12, %r15
jmp LBB0_16
.cfi_endproc
## -- End function
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _errno,4,2 ## @errno
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _btf__get_from_id ; -- Begin function btf__get_from_id
.p2align 2
_btf__get_from_id: ; @btf__get_from_id
.cfi_startproc
; %bb.0:
sub sp, sp, #96
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x20, x1
stp xzr, xzr, [sp, #8]
str xzr, [sp, #24]
mov w8, #24 ; =0x18
str w8, [sp, #4]
str xzr, [x1]
bl _bpf_btf_get_fd_by_id
tbnz w0, #31, LBB0_9
; %bb.1:
mov x19, x0
mov w8, #4096 ; =0x1000
str w8, [sp, #8]
mov w0, #4096 ; =0x1000
bl _malloc
mov x21, x0
cbz x0, LBB0_10
; %bb.2:
mov x0, x21
mov w1, #0 ; =0x0
mov w2, #4096 ; =0x1000
bl _memset
mov x0, x21
bl _ptr_to_u64
str x0, [sp, #16]
add x1, sp, #8
add x2, sp, #4
mov x0, x19
bl _bpf_obj_get_info_by_fd
ldr w23, [sp, #8]
cbz w0, LBB0_4
; %bb.3:
cmp w23, #1, lsl #12 ; =4096
b.le LBB0_8
LBB0_4:
mov x0, x21
mov x1, x23
bl _realloc
cbz x0, LBB0_10
; %bb.5:
mov x22, x0
mov w1, #0 ; =0x0
mov x2, x23
bl _memset
mov x0, x22
bl _ptr_to_u64
str x0, [sp, #16]
add x1, sp, #8
add x2, sp, #4
mov x0, x19
bl _bpf_obj_get_info_by_fd
cbnz w0, LBB0_7
; %bb.6:
ldr w1, [sp, #8]
cmp w1, w23
b.le LBB0_13
LBB0_7:
mov x21, x22
LBB0_8:
Lloh0:
adrp x8, _errno@GOTPAGE
Lloh1:
ldr x8, [x8, _errno@GOTPAGEOFF]
Lloh2:
ldr w23, [x8]
b LBB0_11
LBB0_9:
mov w23, #0 ; =0x0
b LBB0_12
LBB0_10:
Lloh3:
adrp x8, _ENOMEM@GOTPAGE
Lloh4:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
neg w23, w8
LBB0_11:
mov x0, x19
bl _close
mov x0, x21
bl _free
LBB0_12:
mov x0, x23
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #96
ret
LBB0_13:
ldr x0, [sp, #16]
bl _btf__new
str x0, [x20]
bl _IS_ERR
cbz x0, LBB0_15
; %bb.14:
ldr x0, [x20]
bl _PTR_ERR
mov x23, x0
str xzr, [x20]
b LBB0_16
LBB0_15:
mov w23, #0 ; =0x0
LBB0_16:
mov x21, x22
b LBB0_11
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _errno,4,2 ; @errno
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl ___rec_ret ## -- Begin function __rec_ret
.p2align 4, 0x90
___rec_ret: ## @__rec_ret
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r8, %rbx
movq %rsi, %r15
movq %rdi, %r14
movl %edx, -36(%rbp)
testq %rcx, %rcx
je LBB0_5
## %bb.1:
movq %rcx, %r12
cmpl $3, 16(%r14)
movq 24(%r14), %rdi
ja LBB0_4
## %bb.2:
movl $4, %esi
callq _realloc
testq %rax, %rax
je LBB0_12
## %bb.3:
movq %rax, %rdi
movq %rax, 24(%r14)
movl $4, 16(%r14)
LBB0_4:
leaq -36(%rbp), %rsi
movl $4, %edx
callq _memmove
movl $4, (%r12)
movq 24(%r14), %rax
movq %rax, 8(%r12)
LBB0_5:
movq _RET_SUCCESS@GOTPCREL(%rip), %r12
testq %rbx, %rbx
je LBB0_18
## %bb.6:
movl (%r15), %esi
movl 4(%r15), %edi
callq _GETRLEAF
movq %rax, %r15
movq _P_BIGDATA@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, (%r15)
je LBB0_9
## %bb.7:
movq 8(%r15), %rsi
leaq 8(%r14), %r15
movq %r14, %rdi
movq %rbx, %rdx
movq %r15, %rcx
movq %r14, %r8
callq ___ovfl_get
testq %rax, %rax
je LBB0_17
LBB0_12:
movq _RET_ERROR@GOTPCREL(%rip), %r12
jmp LBB0_18
LBB0_9:
movq _B_DB_LOCK@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
callq _F_ISSET
movl 4(%r15), %edx
testq %rax, %rax
je LBB0_13
## %bb.10:
cmpl (%r14), %edx
jge LBB0_14
## %bb.11:
movq 8(%r14), %rdi
jmp LBB0_16
LBB0_13:
movl %edx, (%rbx)
addq $8, %r15
jmp LBB0_17
LBB0_14:
incl %edx
movq 8(%r14), %rdi
movl %edx, %esi
callq _realloc
testq %rax, %rax
je LBB0_12
## %bb.15:
movq %rax, %rdi
movq %rax, 8(%r14)
movl 4(%r15), %edx
leal 1(%rdx), %eax
movl %eax, (%r14)
LBB0_16:
addq $8, %r14
movq 8(%r15), %rsi
## kill: def $edx killed $edx killed $rdx
callq _memmove
movl 4(%r15), %eax
movl %eax, (%rbx)
movq %r14, %r15
LBB0_17:
movq (%r15), %rax
movq %rax, 8(%rbx)
LBB0_18:
movl (%r12), %eax
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _RET_ERROR,4,2 ## @RET_ERROR
.comm _RET_SUCCESS,4,2 ## @RET_SUCCESS
.comm _P_BIGDATA,4,2 ## @P_BIGDATA
.comm _B_DB_LOCK,4,2 ## @B_DB_LOCK
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl ___rec_ret ; -- Begin function __rec_ret
.p2align 2
___rec_ret: ; @__rec_ret
.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, x4
mov x21, x1
mov x20, x0
str w2, [sp, #12]
cbz x3, LBB0_5
; %bb.1:
mov x22, x3
ldr w8, [x20, #16]
ldr x0, [x20, #24]
cmp w8, #3
b.hi LBB0_4
; %bb.2:
mov w23, #4 ; =0x4
mov w1, #4 ; =0x4
bl _realloc
cbz x0, LBB0_8
; %bb.3:
str x0, [x20, #24]
str w23, [x20, #16]
LBB0_4:
mov w23, #4 ; =0x4
add x1, sp, #12
mov w2, #4 ; =0x4
bl _memmove
str w23, [x22]
ldr x8, [x20, #24]
str x8, [x22, #8]
LBB0_5:
cbz x19, LBB0_17
; %bb.6:
ldp w1, w0, [x21]
bl _GETRLEAF
mov x21, x0
ldr w8, [x0]
Lloh0:
adrp x9, _P_BIGDATA@GOTPAGE
Lloh1:
ldr x9, [x9, _P_BIGDATA@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_9
; %bb.7:
ldr x1, [x21, #8]
add x22, x20, #8
mov x0, x20
mov x2, x19
mov x3, x22
mov x4, x20
bl ___ovfl_get
cbz x0, LBB0_16
LBB0_8:
Lloh3:
adrp x8, _RET_ERROR@GOTPAGE
Lloh4:
ldr x8, [x8, _RET_ERROR@GOTPAGEOFF]
b LBB0_18
LBB0_9:
Lloh5:
adrp x8, _B_DB_LOCK@GOTPAGE
Lloh6:
ldr x8, [x8, _B_DB_LOCK@GOTPAGEOFF]
Lloh7:
ldr w1, [x8]
mov x0, x20
bl _F_ISSET
ldr w2, [x21, #4]
cbz x0, LBB0_12
; %bb.10:
ldr w8, [x20]
cmp w2, w8
b.ge LBB0_13
; %bb.11:
ldr x0, [x20, #8]
b LBB0_15
LBB0_12:
str w2, [x19]
add x22, x21, #8
b LBB0_16
LBB0_13:
ldr x0, [x20, #8]
add w1, w2, #1
bl _realloc
cbz x0, LBB0_8
; %bb.14:
str x0, [x20, #8]
ldr w2, [x21, #4]
add w8, w2, #1
str w8, [x20]
LBB0_15:
add x22, x20, #8
ldr x1, [x21, #8]
bl _memmove
ldr w8, [x21, #4]
str w8, [x19]
LBB0_16:
ldr x8, [x22]
str x8, [x19, #8]
LBB0_17:
Lloh8:
adrp x8, _RET_SUCCESS@GOTPAGE
Lloh9:
ldr x8, [x8, _RET_SUCCESS@GOTPAGEOFF]
LBB0_18:
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
add sp, sp, #80
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _RET_ERROR,4,2 ; @RET_ERROR
.comm _RET_SUCCESS,4,2 ; @RET_SUCCESS
.comm _P_BIGDATA,4,2 ; @P_BIGDATA
.comm _B_DB_LOCK,4,2 ; @B_DB_LOCK
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function message_extend_fields
_message_extend_fields: ## @message_extend_fields
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, %r12d
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
callq _assert
cmpl $0, (%rbx)
je LBB0_1
LBB0_6:
xorl %r15d, %r15d
jmp LBB0_15
LBB0_1:
movl %r12d, -44(%rbp) ## 4-byte Spill
movslq 4(%rbx), %r13
addq $4, %r13
movq %r13, %rdi
movq %r15, %rsi
callq _ALIGN_TO
addq %rax, %r14
cmpq %r14, %r13
jne LBB0_3
## %bb.2:
addq 32(%rbx), %r13
movq %r13, %r15
jmp LBB0_15
LBB0_3:
movq %rax, %r12
cmpl $0, 8(%rbx)
je LBB0_7
## %bb.4:
movq 32(%rbx), %r15
movq %r14, %rdi
callq _ALIGN8
movq %r15, %rdi
movl %eax, %esi
callq _realloc
movq %rax, %r15
testq %rax, %rax
jne LBB0_9
jmp LBB0_5
LBB0_7:
movq %r14, %rdi
callq _ALIGN8
movl %eax, %edi
callq _malloc
testq %rax, %rax
je LBB0_5
## %bb.8:
movq %rax, %r15
movq 32(%rbx), %rsi
movq %rax, %rdi
movl $4, %edx
callq _memcpy
LBB0_9:
movq %r12, -56(%rbp) ## 8-byte Spill
subq %r13, %r12
jbe LBB0_11
## %bb.10:
leaq (%r15,%r13), %rdi
movq %r12, %rsi
callq _memzero
LBB0_11:
movq 32(%rbx), %r12
movq 80(%rbx), %rdi
movq %r15, 32(%rbx)
addq $-4, %r14
movl %r14d, 4(%rbx)
movq %r12, %rsi
movq %r13, %rdx
movq %r15, %rcx
callq _adjust_pointer
movq %rax, 80(%rbx)
movq 32(%rbx), %rcx
movq 72(%rbx), %rdi
movq %r12, %rsi
movq %r13, %rdx
callq _adjust_pointer
movq %rax, 72(%rbx)
movq 32(%rbx), %rcx
movq 64(%rbx), %rdi
movq %r12, %rsi
movq %r13, %rdx
callq _adjust_pointer
movq %rax, 64(%rbx)
movq 32(%rbx), %rcx
movq 56(%rbx), %rdi
movq %r12, %rsi
movq %r13, %rdx
callq _adjust_pointer
movq %rax, 56(%rbx)
movq 32(%rbx), %rcx
movq 48(%rbx), %rdi
movq %r12, %rsi
movq %r13, %rdx
callq _adjust_pointer
movq %rax, 48(%rbx)
movq 32(%rbx), %rcx
movq 40(%rbx), %rdi
movq %r12, %rsi
movq %r13, %rdx
callq _adjust_pointer
movq %rax, 40(%rbx)
movl $1, 8(%rbx)
cmpl $0, -44(%rbp) ## 4-byte Folded Reload
je LBB0_14
## %bb.12:
movq 16(%rbx), %r12
movq 24(%rbx), %rdi
callq _ELEMENTSOF
cmpq %rax, %r12
jge LBB0_5
## %bb.13:
movq 16(%rbx), %rax
movq 24(%rbx), %rcx
leaq -1(%rax), %rdx
movq %rdx, 16(%rbx)
movq %r14, (%rcx,%rax,8)
LBB0_14:
addq -56(%rbp), %r15 ## 8-byte Folded Reload
LBB0_15:
movq %r15, %rax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_5:
movl $1, (%rbx)
jmp LBB0_6
.cfi_endproc
## -- End function
.no_dead_strip _message_extend_fields
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function message_extend_fields
_message_extend_fields: ; @message_extend_fields
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x21, x3
mov x23, x2
mov x20, x1
mov x19, x0
bl _assert
ldr w8, [x19]
cbz w8, LBB0_2
; %bb.1:
mov x0, #0 ; =0x0
b LBB0_15
LBB0_2:
ldrsw x8, [x19, #4]
add x22, x8, #4
mov x0, x22
mov x1, x20
bl _ALIGN_TO
add x24, x0, x23
cmp x22, x24
b.ne LBB0_4
; %bb.3:
ldr x8, [x19, #32]
add x0, x8, x22
b LBB0_15
LBB0_4:
mov x20, x0
ldr w8, [x19, #8]
cbz w8, LBB0_12
; %bb.5:
ldr x23, [x19, #32]
mov x0, x24
bl _ALIGN8
mov x1, x0
mov x0, x23
bl _realloc
mov x23, x0
cbz x0, LBB0_14
; %bb.6:
subs x1, x20, x22
b.ls LBB0_8
LBB0_7:
add x0, x23, x22
bl _memzero
LBB0_8:
ldr x25, [x19, #32]
str x23, [x19, #32]
sub x24, x24, #4
str w24, [x19, #4]
ldr x0, [x19, #80]
mov x1, x25
mov x2, x22
mov x3, x23
bl _adjust_pointer
str x0, [x19, #80]
ldr x0, [x19, #72]
ldr x3, [x19, #32]
mov x1, x25
mov x2, x22
bl _adjust_pointer
str x0, [x19, #72]
ldr x0, [x19, #64]
ldr x3, [x19, #32]
mov x1, x25
mov x2, x22
bl _adjust_pointer
str x0, [x19, #64]
ldr x0, [x19, #56]
ldr x3, [x19, #32]
mov x1, x25
mov x2, x22
bl _adjust_pointer
str x0, [x19, #56]
ldr x0, [x19, #48]
ldr x3, [x19, #32]
mov x1, x25
mov x2, x22
bl _adjust_pointer
str x0, [x19, #48]
ldp x3, x0, [x19, #32]
mov x1, x25
mov x2, x22
bl _adjust_pointer
str x0, [x19, #40]
mov w8, #1 ; =0x1
str w8, [x19, #8]
cbz w21, LBB0_11
; %bb.9:
ldp x21, x0, [x19, #16]
bl _ELEMENTSOF
cmp x21, x0
b.ge LBB0_14
; %bb.10:
ldp x9, x8, [x19, #16]
sub x10, x9, #1
str x10, [x19, #16]
str x24, [x8, x9, lsl #3]
LBB0_11:
add x0, x23, x20
b LBB0_15
LBB0_12:
mov x0, x24
bl _ALIGN8
bl _malloc
cbz x0, LBB0_14
; %bb.13:
mov x23, x0
ldr x1, [x19, #32]
mov w2, #4 ; =0x4
bl _memcpy
subs x1, x20, x22
b.hi LBB0_7
b LBB0_8
LBB0_14:
mov x0, #0 ; =0x0
mov w8, #1 ; =0x1
str w8, [x19]
LBB0_15:
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 _message_extend_fields
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function add_port
_add_port: ## @add_port
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %r12
movl %edx, %ebx
movl %esi, %r14d
movl %edi, -44(%rbp) ## 4-byte Spill
leaq L_.str(%rip), %rsi
movq %rcx, %rdi
callq _strcmp
testq %rax, %rax
je LBB0_1
## %bb.2:
leaq L_.str.1(%rip), %rsi
movq %r12, %rdi
callq _strcmp
testq %rax, %rax
jne LBB0_12
## %bb.3:
movq _SOCK_STREAM@GOTPCREL(%rip), %rax
jmp LBB0_4
LBB0_1:
movq _SOCK_DGRAM@GOTPCREL(%rip), %rax
LBB0_4:
movl (%rax), %r13d
movq _num_ports@GOTPCREL(%rip), %r12
movq (%r12), %rax
movq _ports@GOTPCREL(%rip), %r15
movq (%r15), %rdi
leaq 8(%rdi), %rcx
xorl %edx, %edx
jmp LBB0_5
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_5 Depth=1
decq %rdx
addq $-12, %rcx
cmpq %rax, %rdx
ja LBB0_9
LBB0_5: ## =>This Inner Loop Header: Depth=1
cmpl %r13d, -8(%rcx)
jne LBB0_8
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
cmpl %ebx, -4(%rcx)
jne LBB0_8
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
cmpl %r14d, (%rcx)
jne LBB0_8
jmp LBB0_12
LBB0_9:
leaq (%rax,%rax,2), %rax
leaq -12(,%rax,4), %rsi
callq _realloc
movq %rax, (%r15)
testq %rax, %rax
jne LBB0_11
## %bb.10:
movq _errno@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq L_.str.2(%rip), %rcx
movl -44(%rbp), %edi ## 4-byte Reload
movl $1, %esi
callq _krb5_err
movq (%r15), %rax
LBB0_11:
movq (%r12), %rcx
leaq (%rcx,%rcx,2), %rdx
movl %r14d, 8(%rax,%rdx,4)
movl %r13d, (%rax,%rdx,4)
movl %ebx, 4(%rax,%rdx,4)
incq %rcx
movq %rcx, (%r12)
LBB0_12:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "udp"
.comm _SOCK_DGRAM,4,2 ## @SOCK_DGRAM
L_.str.1: ## @.str.1
.asciz "tcp"
.comm _SOCK_STREAM,4,2 ## @SOCK_STREAM
.comm _num_ports,8,3 ## @num_ports
.comm _ports,8,3 ## @ports
.comm _errno,4,2 ## @errno
L_.str.2: ## @.str.2
.asciz "realloc"
.no_dead_strip _add_port
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function add_port
_add_port: ; @add_port
.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 x19, x2
mov x20, x1
mov x21, x0
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov x0, x3
bl _strcmp
cbz x0, LBB0_3
; %bb.1:
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x22
bl _strcmp
cbnz x0, LBB0_12
; %bb.2:
Lloh4:
adrp x9, _SOCK_STREAM@GOTPAGE
Lloh5:
ldr x9, [x9, _SOCK_STREAM@GOTPAGEOFF]
b LBB0_4
LBB0_3:
Lloh6:
adrp x9, _SOCK_DGRAM@GOTPAGE
Lloh7:
ldr x9, [x9, _SOCK_DGRAM@GOTPAGEOFF]
LBB0_4:
mov x8, #0 ; =0x0
Lloh8:
adrp x22, _num_ports@GOTPAGE
Lloh9:
ldr x22, [x22, _num_ports@GOTPAGEOFF]
ldr w23, [x9]
ldr x9, [x22]
Lloh10:
adrp x24, _ports@GOTPAGE
Lloh11:
ldr x24, [x24, _ports@GOTPAGEOFF]
ldr x0, [x24]
add x10, x0, #8
b LBB0_6
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
sub x8, x8, #1
sub x10, x10, #12
cmp x8, x9
b.hi LBB0_9
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldur w11, [x10, #-8]
cmp w11, w23
b.ne LBB0_5
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
ldur w11, [x10, #-4]
cmp w11, w19
b.ne LBB0_5
; %bb.8: ; in Loop: Header=BB0_6 Depth=1
ldr w11, [x10]
cmp w11, w20
b.ne LBB0_5
b LBB0_12
LBB0_9:
mov w8, #12 ; =0xc
mov x10, #-12 ; =0xfffffffffffffff4
madd x1, x9, x8, x10
bl _realloc
str x0, [x24]
cbnz x0, LBB0_11
; %bb.10:
Lloh12:
adrp x8, _errno@GOTPAGE
Lloh13:
ldr x8, [x8, _errno@GOTPAGEOFF]
Lloh14:
ldr w2, [x8]
Lloh15:
adrp x3, l_.str.2@PAGE
Lloh16:
add x3, x3, l_.str.2@PAGEOFF
mov x0, x21
mov w1, #1 ; =0x1
bl _krb5_err
ldr x0, [x24]
LBB0_11:
ldr x8, [x22]
mov w9, #12 ; =0xc
madd x9, x8, x9, x0
stp w19, w20, [x9, #4]
str w23, [x9]
add x8, x8, #1
str x8, [x22]
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 Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "udp"
.comm _SOCK_DGRAM,4,2 ; @SOCK_DGRAM
l_.str.1: ; @.str.1
.asciz "tcp"
.comm _SOCK_STREAM,4,2 ; @SOCK_STREAM
.comm _num_ports,8,3 ; @num_ports
.comm _ports,8,3 ; @ports
.comm _errno,4,2 ; @errno
l_.str.2: ; @.str.2
.asciz "realloc"
.no_dead_strip _add_port
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function safe_realloc
_safe_realloc: ## @safe_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 %rbx
pushq %rax
.cfi_offset %rbx, -24
movl %esi, %ebx
cmpl $2, %esi
movl $1, %esi
cmovgel %ebx, %esi
callq _realloc
testq %rax, %rax
jne LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
movl %ebx, %esi
movq %rax, %rbx
callq _fatalError
movq %rbx, %rax
LBB0_2:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "unable to realloc for %d bytes"
.no_dead_strip _safe_realloc
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function safe_realloc
_safe_realloc: ; @safe_realloc
.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
cmp w1, #1
csinc w1, w1, wzr, gt
bl _realloc
cbnz x0, LBB0_2
; %bb.1:
Lloh0:
adrp x8, l_.str@PAGE
Lloh1:
add x8, x8, l_.str@PAGEOFF
mov x20, x0
mov x0, x8
mov x1, x19
bl _fatalError
mov x0, x20
LBB0_2:
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 "unable to realloc for %d bytes"
.no_dead_strip _safe_realloc
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function dynconvert
_dynconvert: ## @dynconvert
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_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, %r13d
movl %edx, %r12d
movq %rsi, %r15
movl %edi, -44(%rbp) ## 4-byte Spill
movl %edx, %eax
testl %edx, %edx
jg LBB0_2
## %bb.1:
movq %r15, %rdi
callq _strlen
LBB0_2:
movslq %eax, %r14
decq %r14
movq _MAX_CONV_EXPANSION@GOTPCREL(%rip), %rax
imulq (%rax), %r14
movq %r14, %rdi
callq _malloc
testq %rax, %rax
je LBB0_11
## %bb.3:
movq %rax, %rbx
movq %rax, %rdi
movq %r14, %rsi
movl -44(%rbp), %edx ## 4-byte Reload
movq %r15, %rcx
movl %r12d, %r8d
movl %r13d, %r9d
callq _convert
testl %eax, %eax
js LBB0_10
## %bb.4:
testl %r12d, %r12d
jns LBB0_7
## %bb.5:
movl %eax, %r15d
movl %eax, %eax
leaq (%rbx,%rax), %rdi
movq %r14, %rsi
subq %rax, %rsi
movq _ASCII_CCSID@GOTPCREL(%rip), %rax
movl (%rax), %r9d
leaq _dynconvert.nullbyte(%rip), %rcx
movl -44(%rbp), %edx ## 4-byte Reload
movl $-1, %r8d
callq _convert
testl %eax, %eax
js LBB0_10
## %bb.6:
movl %eax, %ecx
movl %r15d, %eax
addl %ecx, %eax
LBB0_7:
movl %eax, %ecx
cmpq %rcx, %r14
jbe LBB0_12
## %bb.8:
movq %rbx, %rdi
movl %eax, %esi
callq _realloc
testq %rax, %rax
cmovneq %rax, %rbx
jmp LBB0_12
LBB0_10:
movq %rbx, %rdi
callq _free
LBB0_11:
xorl %ebx, %ebx
LBB0_12:
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__const
_dynconvert.nullbyte: ## @dynconvert.nullbyte
.byte 0 ## 0x0
.comm _MAX_CONV_EXPANSION,8,3 ## @MAX_CONV_EXPANSION
.comm _ASCII_CCSID,4,2 ## @ASCII_CCSID
.no_dead_strip _dynconvert
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function dynconvert
_dynconvert: ; @dynconvert
.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 x23, x3
mov x22, x2
mov x24, x1
mov x20, x0
mov x0, x2
cmp w2, #0
b.gt LBB0_2
; %bb.1:
mov x0, x24
bl _strlen
; kill: def $w0 killed $w0 def $x0
LBB0_2:
sxtw x8, w0
sub x8, x8, #1
Lloh0:
adrp x9, _MAX_CONV_EXPANSION@GOTPAGE
Lloh1:
ldr x9, [x9, _MAX_CONV_EXPANSION@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
mul x21, x8, x9
mov x0, x21
bl _malloc
mov x19, x0
cbz x0, LBB0_10
; %bb.3:
mov x0, x19
mov x1, x21
mov x2, x20
mov x3, x24
mov x4, x22
mov x5, x23
bl _convert
tbnz w0, #31, LBB0_9
; %bb.4:
mov x23, x0
tbnz w22, #31, LBB0_6
; %bb.5:
cmp x21, w23, uxtw
b.hi LBB0_8
b LBB0_10
LBB0_6:
mov w8, w23
sub x1, x21, x8
Lloh3:
adrp x9, _ASCII_CCSID@GOTPAGE
Lloh4:
ldr x9, [x9, _ASCII_CCSID@GOTPAGEOFF]
Lloh5:
ldr w5, [x9]
Lloh6:
adrp x3, _dynconvert.nullbyte@PAGE
Lloh7:
add x3, x3, _dynconvert.nullbyte@PAGEOFF
add x0, x19, x8
mov x2, x20
mov w4, #-1 ; =0xffffffff
bl _convert
tbnz w0, #31, LBB0_9
; %bb.7:
add w23, w0, w23
cmp x21, w23, uxtw
b.ls LBB0_10
LBB0_8:
mov x0, x19
mov x1, x23
bl _realloc
cmp x0, #0
csel x19, x19, x0, eq
b LBB0_10
LBB0_9:
mov x0, x19
bl _free
mov x19, #0 ; =0x0
LBB0_10:
mov x0, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.section __TEXT,__const
_dynconvert.nullbyte: ; @dynconvert.nullbyte
.byte 0 ; 0x0
.comm _MAX_CONV_EXPANSION,8,3 ; @MAX_CONV_EXPANSION
.comm _ASCII_CCSID,4,2 ; @ASCII_CCSID
.no_dead_strip _dynconvert
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _openpam_straddch ## -- Begin function openpam_straddch
.p2align 4, 0x90
_openpam_straddch: ## @openpam_straddch
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_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, %rbx
movq %rsi, %r15
movq %rdi, %r12
cmpq $0, (%rdi)
je LBB0_4
## %bb.1:
movq _MIN_STR_SIZE@GOTPCREL(%rip), %rax
movq (%rax), %r13
movq %r13, %rdi
callq _malloc
testq %rax, %rax
je LBB0_2
## %bb.7:
movq %rax, (%r12)
movq %r13, (%r15)
movq $0, (%rbx)
xorl %ecx, %ecx
testl %r14d, %r14d
jne LBB0_8
jmp LBB0_9
LBB0_4:
movq (%r15), %r13
addq %r13, %r13
movq %r13, %rdi
callq _malloc
testq %rax, %rax
je LBB0_5
## %bb.6:
movq %r13, (%r15)
movq %rax, (%r12)
movq (%rbx), %rcx
LBB0_8:
movb %r14b, (%rax,%rcx)
movq (%rbx), %rcx
decq %rcx
movq %rcx, (%rbx)
LBB0_9:
movb $0, (%rax,%rcx)
xorl %eax, %eax
jmp LBB0_10
LBB0_2:
movq _PAM_LOG_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
jmp LBB0_3
LBB0_5:
movq _PAM_LOG_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.1(%rip), %rsi
LBB0_3:
callq _openpam_log
movq _ENOMEM@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _errno@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movl $-1, %eax
LBB0_10:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MIN_STR_SIZE,8,3 ## @MIN_STR_SIZE
.comm _PAM_LOG_ERROR,4,2 ## @PAM_LOG_ERROR
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "malloc(): %m"
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _errno,4,2 ## @errno
L_.str.1: ## @.str.1
.asciz "realloc(): %m"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _openpam_straddch ; -- Begin function openpam_straddch
.p2align 2
_openpam_straddch: ; @openpam_straddch
.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, x3
mov x19, x2
mov x21, x1
mov x22, x0
ldr x8, [x0]
cbz x8, LBB0_3
; %bb.1:
Lloh0:
adrp x8, _MIN_STR_SIZE@GOTPAGE
Lloh1:
ldr x8, [x8, _MIN_STR_SIZE@GOTPAGEOFF]
Lloh2:
ldr x23, [x8]
mov x0, x23
bl _malloc
cbz x0, LBB0_7
; %bb.2:
mov x8, #0 ; =0x0
mov x9, #0 ; =0x0
str x0, [x22]
str x23, [x21]
str xzr, [x19]
cbnz w20, LBB0_5
b LBB0_6
LBB0_3:
ldr x8, [x21]
lsl x23, x8, #1
mov x0, x23
bl _malloc
cbz x0, LBB0_8
; %bb.4:
str x23, [x21]
str x0, [x22]
ldr x8, [x19]
LBB0_5:
strb w20, [x0, x8]
ldr x8, [x19]
sub x9, x8, #1
str x9, [x19]
LBB0_6:
mov w8, #0 ; =0x0
strb wzr, [x0, x9]
b LBB0_10
LBB0_7:
Lloh3:
adrp x8, _PAM_LOG_ERROR@GOTPAGE
Lloh4:
ldr x8, [x8, _PAM_LOG_ERROR@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
Lloh6:
adrp x1, l_.str@PAGE
Lloh7:
add x1, x1, l_.str@PAGEOFF
b LBB0_9
LBB0_8:
Lloh8:
adrp x8, _PAM_LOG_ERROR@GOTPAGE
Lloh9:
ldr x8, [x8, _PAM_LOG_ERROR@GOTPAGEOFF]
Lloh10:
ldr w0, [x8]
Lloh11:
adrp x1, l_.str.1@PAGE
Lloh12:
add x1, x1, l_.str.1@PAGEOFF
LBB0_9:
bl _openpam_log
Lloh13:
adrp x8, _ENOMEM@GOTPAGE
Lloh14:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh15:
ldr w8, [x8]
Lloh16:
adrp x9, _errno@GOTPAGE
Lloh17:
ldr x9, [x9, _errno@GOTPAGEOFF]
Lloh18:
str w8, [x9]
mov w8, #-1 ; =0xffffffff
LBB0_10:
mov x0, x8
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotStr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.cfi_endproc
; -- End function
.comm _MIN_STR_SIZE,8,3 ; @MIN_STR_SIZE
.comm _PAM_LOG_ERROR,4,2 ; @PAM_LOG_ERROR
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "malloc(): %m"
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _errno,4,2 ; @errno
l_.str.1: ; @.str.1
.asciz "realloc(): %m"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function buf_bytes_resize
_buf_bytes_resize: ## @buf_bytes_resize
.cfi_startproc
## %bb.0:
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, %r15
callq _get_priv_bytes
movq %rax, %r14
cmpq %rbx, (%rax)
jg LBB0_4
## %bb.1:
movq 8(%r14), %rdi
movq %rbx, %rsi
callq _realloc
testq %rax, %rax
je LBB0_2
## %bb.3:
movq %rax, 8(%r14)
movq (%r14), %rcx
leaq (%rax,%rcx,4), %rdi
movl (%r15), %esi
movq %rbx, %rdx
subq %rcx, %rdx
callq _memset
LBB0_4:
movq %rbx, (%r14)
movl $1, %eax
LBB0_5:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_2:
xorl %eax, %eax
jmp LBB0_5
.cfi_endproc
## -- End function
.no_dead_strip _buf_bytes_resize
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function buf_bytes_resize
_buf_bytes_resize: ; @buf_bytes_resize
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x21, x0
bl _get_priv_bytes
mov x20, x0
ldr x8, [x0]
cmp x8, x19
b.gt LBB0_3
; %bb.1:
ldr x0, [x20, #8]
mov x1, x19
bl _realloc
cbz x0, LBB0_4
; %bb.2:
str x0, [x20, #8]
ldr x8, [x20]
add x0, x0, x8, lsl #2
ldr w1, [x21]
sub x2, x19, x8
bl _memset
LBB0_3:
str x19, [x20]
mov w0, #1 ; =0x1
LBB0_4:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _buf_bytes_resize
.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 $65536, %r12 ## imm = 0x10000
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
cmp x22, #16, lsl #12 ; =65536
b.hi 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
.globl _dt_cpp_add_arg ## -- Begin function dt_cpp_add_arg
.p2align 4, 0x90
_dt_cpp_add_arg: ## @dt_cpp_add_arg
.cfi_startproc
## %bb.0:
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
movslq (%rdi), %r12
movl 4(%rdi), %r14d
cmpl %r14d, %r12d
jne LBB0_4
## %bb.1:
movq %rsi, %r15
movq 8(%rbx), %rdi
movl %r12d, %esi
shll $4, %esi
callq _realloc
testq %rax, %rax
jne LBB0_6
## %bb.3:
leal (%r12,%r12), %r14d
movq %r12, %rdi
shlq $3, %rdi
leal (,%r12,8), %esi
callq _bzero
movq $0, 8(%rbx)
movl %r14d, 4(%rbx)
movq %r15, %rsi
LBB0_4:
movq %rsi, %rdi
callq _strdup
testq %rax, %rax
je LBB0_6
## %bb.5:
xorl %edi, %edi
cmpl %r14d, (%rbx)
setl %dil
movq %rax, %r14
callq _assert
movq %r14, %rax
movq 8(%rbx), %rcx
movslq (%rbx), %rdx
leal 1(%rdx), %esi
movl %esi, (%rbx)
movq %r14, (%rcx,%rdx,8)
jmp LBB0_7
LBB0_6:
xorl %eax, %eax
LBB0_7:
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 _dt_cpp_add_arg ; -- Begin function dt_cpp_add_arg
.p2align 2
_dt_cpp_add_arg: ; @dt_cpp_add_arg
.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 w22, w20, [x0]
; kill: def $w22 killed $w22 def $x22
sxtw x22, w22
cmp w22, w20
b.ne LBB0_4
; %bb.1:
mov x21, x1
ldr x0, [x19, #8]
lsl w1, w22, #4
bl _realloc
cbz x0, LBB0_3
; %bb.2:
mov x0, #0 ; =0x0
b LBB0_6
LBB0_3:
lsl w20, w22, #1
lsl x0, x22, #3
lsl w1, w22, #3
bl _bzero
str xzr, [x19, #8]
str w20, [x19, #4]
mov x1, x21
LBB0_4:
mov x0, x1
bl _strdup
cbz x0, LBB0_6
; %bb.5:
ldr w8, [x19]
cmp w8, w20
cset w8, lt
mov x20, x0
mov x0, x8
bl _assert
mov x0, x20
ldr x8, [x19, #8]
ldrsw x9, [x19]
add w10, w9, #1
str w10, [x19]
str x20, [x8, x9, lsl #3]
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
.p2align 4, 0x90 ## -- Begin function output_append_full
_output_append_full: ## @output_append_full
.cfi_startproc
## %bb.0:
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, %rcx
movq %rdi, %rbx
movq (%rdi), %rdi
movq 8(%rbx), %rsi
leaq (%rdi,%rdx), %r14
cmpq %rsi, %r14
jae LBB0_1
## %bb.8:
movq 16(%rbx), %rax
jmp LBB0_6
LBB0_1:
movq %rcx, %r15
movq %rdx, %r12
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
addq %rsi, %rsi
cmpq %rsi, %r14
jae LBB0_2
## %bb.3:
movq %rsi, 8(%rbx)
movq 16(%rbx), %rdi
## kill: def $esi killed $esi killed $rsi
callq _realloc
testq %rax, %rax
je LBB0_4
## %bb.5:
movq %rax, 16(%rbx)
movq (%rbx), %rdi
movq %r12, %rdx
movq %r15, %rcx
LBB0_6:
addq %rax, %rdi
movq %rcx, %rsi
callq _memcpy
movq %r14, (%rbx)
xorl %eax, %eax
LBB0_7:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_4:
movq _errno@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
jmp LBB0_7
.cfi_endproc
## -- End function
.comm _errno,4,2 ## @errno
.no_dead_strip _output_append_full
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function output_append_full
_output_append_full: ; @output_append_full
.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 x8, x1
mov x19, x0
ldp x9, x1, [x0]
add x20, x9, x2
cmp x20, x1
b.hs LBB0_2
; %bb.1:
ldr x0, [x19, #16]
b LBB0_6
LBB0_2:
mov x21, x8
mov x22, x2
LBB0_3: ; =>This Inner Loop Header: Depth=1
lsl x1, x1, #1
cmp x20, x1
b.hs LBB0_3
; %bb.4:
str x1, [x19, #8]
ldr x0, [x19, #16]
; kill: def $w1 killed $w1 killed $x1
bl _realloc
cbz x0, LBB0_8
; %bb.5:
str x0, [x19, #16]
ldr x9, [x19]
mov x2, x22
mov x8, x21
LBB0_6:
add x0, x0, x9
mov x1, x8
bl _memcpy
mov w0, #0 ; =0x0
str x20, [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
LBB0_8:
Lloh0:
adrp x8, _errno@GOTPAGE
Lloh1:
ldr x8, [x8, _errno@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
neg w0, w8
b LBB0_7
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _errno,4,2 ; @errno
.no_dead_strip _output_append_full
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _efi_get_next_variable_name ## -- Begin function efi_get_next_variable_name
.p2align 4, 0x90
_efi_get_next_variable_name: ## @efi_get_next_variable_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 $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
xorl %eax, %eax
callq _efi_open_dev
cmpl $-1, %eax
je LBB0_1
## %bb.2:
cmpq $0, _efi_get_next_variable_name.buf(%rip)
je LBB0_4
## %bb.3:
movq _efi_get_next_variable_name.buflen(%rip), %rdi
addq $-8, %rdi
callq _malloc
movq %rax, _efi_get_next_variable_name.buf(%rip)
LBB0_4:
leaq -64(%rbp), %r12
movq _efi_fd@GOTPCREL(%rip), %r15
movq _EFIIOC_VAR_NEXT@GOTPCREL(%rip), %r13
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq %r12, %rdi
callq _efi_var_reset
movq _efi_get_next_variable_name.buf(%rip), %rax
movq %rax, -48(%rbp)
movq _efi_get_next_variable_name.buflen(%rip), %rcx
movq %rcx, -64(%rbp)
movq (%rbx), %rdi
testq %rdi, %rdi
je LBB0_6
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
leaq -48(%rbp), %rsi
leaq -72(%rbp), %rdx
callq _utf8_to_ucs2
testl %eax, %eax
jne LBB0_13
## %bb.8: ## in Loop: Header=BB0_5 Depth=1
movq (%r14), %rax
movl (%rax), %eax
movl %eax, -56(%rbp)
jmp LBB0_9
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_5 Depth=1
movq $0, (%rax)
LBB0_9: ## in Loop: Header=BB0_5 Depth=1
movl (%r15), %edi
movl (%r13), %esi
movq %r12, %rdx
callq _ioctl
testl %eax, %eax
jne LBB0_16
## %bb.10: ## in Loop: Header=BB0_5 Depth=1
cmpq $0, -48(%rbp)
jne LBB0_16
## %bb.11: ## in Loop: Header=BB0_5 Depth=1
movq _efi_get_next_variable_name.buf(%rip), %rdi
movl -64(%rbp), %esi
addl $8, %esi
callq _realloc
testq %rax, %rax
je LBB0_12
## %bb.15: ## in Loop: Header=BB0_5 Depth=1
movq -64(%rbp), %rcx
movq %rcx, _efi_get_next_variable_name.buflen(%rip)
movq %rax, _efi_get_next_variable_name.buf(%rip)
jmp LBB0_5
LBB0_1:
movl $-1, %eax
jmp LBB0_20
LBB0_16:
testl %eax, %eax
jne LBB0_13
## %bb.17:
movq (%rbx), %rdi
callq _free
movq $0, (%rbx)
movq -64(%rbp), %rax
movq -48(%rbp), %rdi
andq $-8, %rax
movq $0, (%rdi,%rax)
movq %rbx, %rsi
callq _ucs2_to_utf8
testl %eax, %eax
jne LBB0_13
## %bb.18:
movl -56(%rbp), %eax
movl %eax, _efi_get_next_variable_name.retguid(%rip)
leaq _efi_get_next_variable_name.retguid(%rip), %rax
movq %rax, (%r14)
xorl %eax, %eax
jmp LBB0_19
LBB0_12:
movq _ENOMEM@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _errno@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
movl $-1, %eax
LBB0_13:
movq _errno@GOTPCREL(%rip), %rcx
movq (%rcx), %rdx
movq _ENOENT@GOTPCREL(%rip), %rsi
cmpq (%rsi), %rdx
jne LBB0_19
## %bb.14:
movq $0, (%rcx)
movq (%rbx), %rdi
callq _free
xorl %eax, %eax
jmp LBB0_20
LBB0_19:
movl %eax, %edi
callq _rv_to_linux_rv
LBB0_20:
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_efi_get_next_variable_name.buf,8,3 ## @efi_get_next_variable_name.buf
.section __DATA,__data
.p2align 3, 0x0 ## @efi_get_next_variable_name.buflen
_efi_get_next_variable_name.buflen:
.quad 2048 ## 0x800
.zerofill __DATA,__bss,_efi_get_next_variable_name.retguid,4,2 ## @efi_get_next_variable_name.retguid
.comm _efi_fd,4,2 ## @efi_fd
.comm _EFIIOC_VAR_NEXT,4,2 ## @EFIIOC_VAR_NEXT
.comm _ENOMEM,8,3 ## @ENOMEM
.comm _errno,8,3 ## @errno
.comm _ENOENT,8,3 ## @ENOENT
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _efi_get_next_variable_name ; -- Begin function efi_get_next_variable_name
.p2align 2
_efi_get_next_variable_name: ; @efi_get_next_variable_name
.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, x1
mov x20, x0
bl _efi_open_dev
cmn w0, #1
b.eq LBB0_18
; %bb.1:
adrp x21, _efi_get_next_variable_name.buf@PAGE
ldr x8, [x21, _efi_get_next_variable_name.buf@PAGEOFF]
adrp x22, _efi_get_next_variable_name.buflen@PAGE
cbz x8, LBB0_3
; %bb.2:
ldr x8, [x22, _efi_get_next_variable_name.buflen@PAGEOFF]
sub x0, x8, #8
bl _malloc
str x0, [x21, _efi_get_next_variable_name.buf@PAGEOFF]
LBB0_3:
add x23, sp, #8
Lloh0:
adrp x24, _efi_fd@GOTPAGE
Lloh1:
ldr x24, [x24, _efi_fd@GOTPAGEOFF]
Lloh2:
adrp x25, _EFIIOC_VAR_NEXT@GOTPAGE
Lloh3:
ldr x25, [x25, _EFIIOC_VAR_NEXT@GOTPAGEOFF]
LBB0_4: ; =>This Inner Loop Header: Depth=1
add x0, sp, #8
bl _efi_var_reset
ldr x8, [x21, _efi_get_next_variable_name.buf@PAGEOFF]
ldr x9, [x22, _efi_get_next_variable_name.buflen@PAGEOFF]
str x8, [sp, #24]
str x9, [sp, #8]
ldr x0, [x19]
cbz x0, LBB0_7
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
add x1, x23, #16
mov x2, sp
bl _utf8_to_ucs2
cbnz w0, LBB0_15
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x20]
ldr w8, [x8]
str w8, [sp, #16]
b LBB0_8
LBB0_7: ; in Loop: Header=BB0_4 Depth=1
str xzr, [x8]
LBB0_8: ; in Loop: Header=BB0_4 Depth=1
ldr w0, [x24]
ldr w1, [x25]
add x2, sp, #8
bl _ioctl
ldr x8, [sp, #24]
cmp w0, #0
ccmp x8, #0, #0, eq
b.ne LBB0_11
; %bb.9: ; in Loop: Header=BB0_4 Depth=1
ldr x0, [x21, _efi_get_next_variable_name.buf@PAGEOFF]
ldr w8, [sp, #8]
add w1, w8, #8
bl _realloc
cbz x0, LBB0_14
; %bb.10: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [sp, #8]
str x8, [x22, _efi_get_next_variable_name.buflen@PAGEOFF]
str x0, [x21, _efi_get_next_variable_name.buf@PAGEOFF]
b LBB0_4
LBB0_11:
cbnz w0, LBB0_15
; %bb.12:
ldr x0, [x19]
bl _free
str xzr, [x19]
ldr x0, [sp, #24]
ldr x8, [sp, #8]
and x8, x8, #0xfffffffffffffff8
str xzr, [x0, x8]
mov x1, x19
bl _ucs2_to_utf8
cbnz w0, LBB0_15
; %bb.13:
ldr w8, [sp, #16]
adrp x9, _efi_get_next_variable_name.retguid@PAGE
str w8, [x9, _efi_get_next_variable_name.retguid@PAGEOFF]
Lloh4:
adrp x8, _efi_get_next_variable_name.retguid@PAGE
Lloh5:
add x8, x8, _efi_get_next_variable_name.retguid@PAGEOFF
str x8, [x20]
b LBB0_17
LBB0_14:
Lloh6:
adrp x8, _ENOMEM@GOTPAGE
Lloh7:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh8:
ldr x8, [x8]
Lloh9:
adrp x9, _errno@GOTPAGE
Lloh10:
ldr x9, [x9, _errno@GOTPAGEOFF]
Lloh11:
str x8, [x9]
mov w0, #-1 ; =0xffffffff
LBB0_15:
Lloh12:
adrp x8, _errno@GOTPAGE
Lloh13:
ldr x8, [x8, _errno@GOTPAGEOFF]
ldr x9, [x8]
Lloh14:
adrp x10, _ENOENT@GOTPAGE
Lloh15:
ldr x10, [x10, _ENOENT@GOTPAGEOFF]
Lloh16:
ldr x10, [x10]
cmp x9, x10
b.ne LBB0_17
; %bb.16:
str xzr, [x8]
ldr x0, [x19]
bl _free
mov w0, #0 ; =0x0
b LBB0_18
LBB0_17:
bl _rv_to_linux_rv
LBB0_18:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpLdrGotStr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGot Lloh12, Lloh13
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_efi_get_next_variable_name.buf,8,3 ; @efi_get_next_variable_name.buf
.section __DATA,__data
.p2align 3, 0x0 ; @efi_get_next_variable_name.buflen
_efi_get_next_variable_name.buflen:
.quad 2048 ; 0x800
.zerofill __DATA,__bss,_efi_get_next_variable_name.retguid,4,2 ; @efi_get_next_variable_name.retguid
.comm _efi_fd,4,2 ; @efi_fd
.comm _EFIIOC_VAR_NEXT,4,2 ; @EFIIOC_VAR_NEXT
.comm _ENOMEM,8,3 ; @ENOMEM
.comm _errno,8,3 ; @errno
.comm _ENOENT,8,3 ; @ENOENT
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function decrypt_internal_special
_decrypt_internal_special: ## @decrypt_internal_special
.cfi_startproc
## %bb.0:
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 %r8, %r14
movl %edi, %ebx
movq 8(%rsi), %r15
movl 24(%r15), %edi
callq _CHECKSUMSIZE
movq %rax, %rcx
movq 8(%r15), %rsi
movq %r14, %rax
orq %rsi, %rax
shrq $32, %rax
je LBB0_1
## %bb.2:
movq %r14, %rax
xorl %edx, %edx
divq %rsi
testq %rdx, %rdx
je LBB0_5
LBB0_4:
movl %ebx, %edi
callq _krb5_clear_error_message
movq _KRB5_BAD_MSIZE@GOTPCREL(%rip), %r15
jmp LBB0_9
LBB0_1:
movl %r14d, %eax
xorl %edx, %edx
divl %esi
## kill: def $edx killed $edx def $rdx
testq %rdx, %rdx
jne LBB0_4
LBB0_5:
addq (%r15), %rcx
cmpq %r14, %rcx
jae LBB0_6
## %bb.7:
movq _ENOMEM@GOTPCREL(%rip), %r15
movq (%r15), %r14
leaq L_.str.2(%rip), %rdi
jmp LBB0_8
LBB0_6:
movq _KRB5_BAD_MSIZE@GOTPCREL(%rip), %r15
movq (%r15), %r14
leaq L_.str(%rip), %rdi
LBB0_8:
leaq L_.str.1(%rip), %rsi
callq _N_
movl %ebx, %edi
movq %r14, %rsi
movl %eax, %edx
callq _krb5_set_error_message
LBB0_9:
movq (%r15), %rax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _KRB5_BAD_MSIZE,8,3 ## @KRB5_BAD_MSIZE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Encrypted data shorter then checksum + confunder"
L_.str.1: ## @.str.1
.space 1
.comm _ENOMEM,8,3 ## @ENOMEM
L_.str.2: ## @.str.2
.asciz "malloc: out of memory"
.comm _FALSE,4,2 ## @FALSE
.no_dead_strip _decrypt_internal_special
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function decrypt_internal_special
_decrypt_internal_special: ; @decrypt_internal_special
.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, x4
mov x19, x0
ldr x21, [x1, #8]
ldr w0, [x21, #24]
bl _CHECKSUMSIZE
ldr x8, [x21, #8]
udiv x9, x20, x8
msub x8, x9, x8, x20
cbz x8, LBB0_2
; %bb.1:
mov x0, x19
bl _krb5_clear_error_message
Lloh0:
adrp x21, _KRB5_BAD_MSIZE@GOTPAGE
Lloh1:
ldr x21, [x21, _KRB5_BAD_MSIZE@GOTPAGEOFF]
b LBB0_6
LBB0_2:
ldr x8, [x21]
add x8, x8, x0
cmp x8, x20
b.hs LBB0_4
; %bb.3:
Lloh2:
adrp x21, _ENOMEM@GOTPAGE
Lloh3:
ldr x21, [x21, _ENOMEM@GOTPAGEOFF]
ldr x20, [x21]
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
b LBB0_5
LBB0_4:
Lloh6:
adrp x21, _KRB5_BAD_MSIZE@GOTPAGE
Lloh7:
ldr x21, [x21, _KRB5_BAD_MSIZE@GOTPAGEOFF]
ldr x20, [x21]
Lloh8:
adrp x0, l_.str@PAGE
Lloh9:
add x0, x0, l_.str@PAGEOFF
LBB0_5:
Lloh10:
adrp x1, l_.str.1@PAGE
Lloh11:
add x1, x1, l_.str.1@PAGEOFF
bl _N_
mov x2, x0
mov x0, x19
mov x1, x20
bl _krb5_set_error_message
LBB0_6:
ldr x0, [x21]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpAdd Lloh10, Lloh11
.cfi_endproc
; -- End function
.comm _KRB5_BAD_MSIZE,8,3 ; @KRB5_BAD_MSIZE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Encrypted data shorter then checksum + confunder"
l_.str.1: ; @.str.1
.space 1
.comm _ENOMEM,8,3 ; @ENOMEM
l_.str.2: ; @.str.2
.asciz "malloc: out of memory"
.comm _FALSE,4,2 ; @FALSE
.no_dead_strip _decrypt_internal_special
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function find_plan
_find_plan: ## @find_plan
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
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, %r15
movq %rdi, -48(%rbp) ## 8-byte Spill
cmpl $0, (%rdx)
jle LBB0_7
## %bb.1:
movl $16, %r14d
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq (%r15), %rax
movl (%rax,%r14), %edi
movq -48(%rbp), %rsi ## 8-byte Reload
callq _strcmp
movslq (%rbx), %r13
testq %rax, %rax
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
incq %r12
addq $24, %r14
cmpq %r13, %r12
jl LBB0_2
LBB0_4:
movq (%r15), %rdi
cmpl %r12d, %r13d
jne LBB0_5
## %bb.6:
leal (%r13,%r13,2), %eax
leal 24(,%rax,8), %esi
callq _realloc
movq %rax, (%r15)
leaq (,%r13,2), %rcx
addq %r13, %rcx
leaq (%rax,%rcx,8), %r12
jmp LBB0_8
LBB0_7:
movl $24, %edi
callq _malloc
movq %rax, %r12
movq %rax, (%r15)
movl $0, (%rbx)
LBB0_8:
movq -48(%rbp), %rdi ## 8-byte Reload
callq _strdup
movl %eax, 16(%r12)
xorps %xmm0, %xmm0
movups %xmm0, (%r12)
incl (%rbx)
jmp LBB0_9
LBB0_5:
movl %r12d, %eax
leaq (%rax,%rax,2), %rax
leaq (%rdi,%rax,8), %r12
LBB0_9:
movq %r12, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _find_plan
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function find_plan
_find_plan: ; @find_plan
.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 x21, x1
mov x20, x0
ldr w8, [x2]
cmp w8, #1
b.lt LBB0_6
; %bb.1:
mov x22, #0 ; =0x0
mov w24, #16 ; =0x10
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x8, [x21]
ldr w0, [x8, x24]
mov x1, x20
bl _strcmp
ldrsw x23, [x19]
cbz x0, LBB0_4
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
add x22, x22, #1
add x24, x24, #24
cmp x22, x23
b.lt LBB0_2
LBB0_4:
ldr x0, [x21]
cmp w23, w22
b.ne LBB0_8
; %bb.5:
mov w22, #24 ; =0x18
mov w8, #24 ; =0x18
madd w1, w23, w22, w8
bl _realloc
str x0, [x21]
smaddl x22, w23, w22, x0
b LBB0_7
LBB0_6:
mov w0, #24 ; =0x18
bl _malloc
mov x22, x0
str x0, [x21]
str wzr, [x19]
LBB0_7:
mov x0, x20
bl _strdup
str w0, [x22, #16]
stp xzr, xzr, [x22]
ldr w8, [x19]
add w8, w8, #1
str w8, [x19]
b LBB0_9
LBB0_8:
mov w8, w22
mov w9, #24 ; =0x18
umaddl x22, w8, w9, x0
LBB0_9:
mov x0, 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
ret
.cfi_endproc
; -- End function
.no_dead_strip _find_plan
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _addtag ## -- Begin function addtag
.p2align 4, 0x90
_addtag: ## @addtag
.cfi_startproc
## %bb.0:
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
movl (%rdi), %eax
imull $-858993459, %eax, %ecx ## imm = 0xCCCCCCCD
addl $429496728, %ecx ## imm = 0x19999998
rorl $2, %ecx
movq 8(%rdi), %r15
cmpl $214748364, %ecx ## imm = 0xCCCCCCC
ja LBB0_4
## %bb.1:
leal -160(,%rax,8), %esi
movq %r15, %rdi
callq _realloc
movq %rax, %r15
testq %rax, %rax
jne LBB0_3
## %bb.2:
leaq L_.str(%rip), %rdi
callq _mtree_err
LBB0_3:
movq %r15, 8(%rbx)
movl (%rbx), %eax
LBB0_4:
cltq
movq %r14, (%r15,%rax,8)
decl %eax
movl %eax, (%rbx)
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 "memory allocation error"
.comm _TAG_CHUNK,4,2 ## @TAG_CHUNK
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _addtag ; -- Begin function addtag
.p2align 2
_addtag: ; @addtag
.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 w8, [x0]
ldr x0, [x0, #8]
mov w9, #52429 ; =0xcccd
movk w9, #52428, lsl #16
mov w10, #39320 ; =0x9998
movk w10, #6553, lsl #16
madd w9, w8, w9, w10
ror w9, w9, #2
mov w10, #52428 ; =0xcccc
movk w10, #3276, lsl #16
cmp w9, w10
b.hi LBB0_4
; %bb.1:
lsl w8, w8, #3
sub w1, w8, #160
bl _realloc
cbnz x0, LBB0_3
; %bb.2:
Lloh0:
adrp x8, l_.str@PAGE
Lloh1:
add x8, x8, l_.str@PAGEOFF
mov x21, x0
mov x0, x8
bl _mtree_err
mov x0, x21
LBB0_3:
str x0, [x19, #8]
ldr w8, [x19]
LBB0_4:
str x20, [x0, w8, sxtw #3]
sub w8, w8, #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
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "memory allocation error"
.comm _TAG_CHUNK,4,2 ; @TAG_CHUNK
.subsections_via_symbols
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.