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 a_realloc
_a_realloc: ## @a_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
.comm _ALIGNMENT,4,2 ## @ALIGNMENT
.no_dead_strip _a_realloc
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function a_realloc
_a_realloc: ; @a_realloc
.cfi_startproc
; %bb.0:
b _realloc
.cfi_endproc
; -- End function
.comm _ALIGNMENT,4,2 ; @ALIGNMENT
.no_dead_strip _a_realloc
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function search_loclist_at
_search_loclist_at: ## @search_loclist_at
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $104, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r9, -88(%rbp) ## 8-byte Spill
movq %r8, -80(%rbp) ## 8-byte Spill
movq %rcx, -56(%rbp) ## 8-byte Spill
movq %rdx, -96(%rbp) ## 8-byte Spill
movl %esi, %r12d
movq %rdi, -104(%rbp) ## 8-byte Spill
movl %esi, %edi
callq _dwarf_get_die_infotypes_flag
movl %eax, -68(%rbp) ## 4-byte Spill
leaq -64(%rbp), %rsi
leaq -72(%rbp), %rdx
leaq -44(%rbp), %rcx
movl %r12d, %edi
callq _dwarf_attrlist
movq _DW_DLV_OK@GOTPCREL(%rip), %rbx
cmpl (%rbx), %eax
jne LBB0_5
## %bb.1:
cmpl $0, -72(%rbp)
jle LBB0_32
## %bb.2:
xorl %r13d, %r13d
leaq -128(%rbp), %r15
leaq -44(%rbp), %r14
jmp LBB0_3
LBB0_5:
movq _DW_DLV_ERROR@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB0_32
## %bb.6:
leaq L_.str(%rip), %r14
jmp LBB0_7
LBB0_30: ## in Loop: Header=BB0_3 Depth=1
movq -56(%rbp), %rcx ## 8-byte Reload
movq (%rcx), %rcx
leaq (%rax,%rax,4), %rdx
movq -64(%rbp), %rsi
movl (%rsi,%r13,4), %esi
movl %esi, 32(%rcx,%rdx,8)
movq -112(%rbp), %rsi
movq %rsi, 24(%rcx,%rdx,8)
movq -96(%rbp), %rsi ## 8-byte Reload
movq %rsi, 16(%rcx,%rdx,8)
movq -104(%rbp), %r8 ## 8-byte Reload
movl 12(%r8), %esi
movl %esi, 8(%rcx,%rdx,8)
movq 4(%r8), %rsi
movq %rsi, (%rcx,%rdx,8)
incq %rax
movq %rax, (%rdi)
.p2align 4, 0x90
LBB0_31: ## in Loop: Header=BB0_3 Depth=1
incq %r13
movslq -72(%rbp), %rax
cmpq %rax, %r13
jge LBB0_32
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq -64(%rbp), %rax
movl (%rax,%r13,4), %edi
movq %r15, %rsi
movq %r14, %rdx
callq _dwarf_whatattr
cmpl (%rbx), %eax
jne LBB0_4
## %bb.8: ## in Loop: Header=BB0_3 Depth=1
movq -128(%rbp), %rax
movq _DW_AT_location@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_31
## %bb.9: ## in Loop: Header=BB0_3 Depth=1
movq _DW_AT_string_length@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_17
## %bb.10: ## in Loop: Header=BB0_3 Depth=1
movq _DW_AT_return_addr@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_17
## %bb.11: ## in Loop: Header=BB0_3 Depth=1
movq _DW_AT_data_member_location@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_17
## %bb.12: ## in Loop: Header=BB0_3 Depth=1
movq _DW_AT_frame_base@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_17
## %bb.13: ## in Loop: Header=BB0_3 Depth=1
movq _DW_AT_segment@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_17
## %bb.14: ## in Loop: Header=BB0_3 Depth=1
movq _DW_AT_static_link@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_17
## %bb.15: ## in Loop: Header=BB0_3 Depth=1
movq _DW_AT_use_location@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_17
## %bb.16: ## in Loop: Header=BB0_3 Depth=1
movq _DW_AT_vtable_elem_location@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_31
LBB0_17: ## in Loop: Header=BB0_3 Depth=1
movq -64(%rbp), %rax
movl (%rax,%r13,4), %edi
leaq -120(%rbp), %rsi
movq %r14, %rdx
callq _dwarf_whatform
cmpl (%rbx), %eax
jne LBB0_18
## %bb.20: ## in Loop: Header=BB0_3 Depth=1
movq -120(%rbp), %rax
movq _DW_FORM_data4@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_22
## %bb.21: ## in Loop: Header=BB0_3 Depth=1
movq _DW_FORM_data8@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_22
## %bb.24: ## in Loop: Header=BB0_3 Depth=1
movq _DW_FORM_sec_offset@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_31
## %bb.25: ## in Loop: Header=BB0_3 Depth=1
movq -64(%rbp), %rax
movl (%rax,%r13,4), %edi
leaq -136(%rbp), %rsi
movq %r14, %rdx
callq _dwarf_global_formref
cmpl (%rbx), %eax
jne LBB0_26
## %bb.27: ## in Loop: Header=BB0_3 Depth=1
movq -136(%rbp), %rax
movq %rax, -112(%rbp)
jmp LBB0_28
LBB0_18: ## in Loop: Header=BB0_3 Depth=1
movl -44(%rbp), %edi
callq _dwarf_errmsg
leaq L_.str.2(%rip), %rdi
LBB0_19: ## in Loop: Header=BB0_3 Depth=1
movl %eax, %esi
callq _warnx
jmp LBB0_31
LBB0_22: ## in Loop: Header=BB0_3 Depth=1
movq -64(%rbp), %rax
movl (%rax,%r13,4), %edi
leaq -112(%rbp), %rsi
movq %r14, %rdx
callq _dwarf_formudata
cmpl (%rbx), %eax
jne LBB0_23
LBB0_28: ## in Loop: Header=BB0_3 Depth=1
movq -88(%rbp), %rax ## 8-byte Reload
movq (%rax), %rcx
movq -80(%rbp), %rdi ## 8-byte Reload
movq (%rdi), %rax
cmpq %rax, %rcx
jne LBB0_30
## %bb.29: ## in Loop: Header=BB0_3 Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
movq (%rax), %rdi
shlq $4, %rcx
leaq (%rcx,%rcx,4), %rsi
callq _realloc
movq -56(%rbp), %rcx ## 8-byte Reload
movq %rax, (%rcx)
movq _EXIT_FAILURE@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.5(%rip), %rsi
callq _errx
movq -80(%rbp), %rdi ## 8-byte Reload
movq -88(%rbp), %rax ## 8-byte Reload
shlq (%rax)
movq (%rdi), %rax
jmp LBB0_30
LBB0_23: ## in Loop: Header=BB0_3 Depth=1
movl -44(%rbp), %edi
callq _dwarf_errmsg
leaq L_.str.3(%rip), %rdi
jmp LBB0_19
LBB0_26: ## in Loop: Header=BB0_3 Depth=1
movl -44(%rbp), %edi
callq _dwarf_errmsg
leaq L_.str.4(%rip), %rdi
jmp LBB0_19
LBB0_4:
leaq L_.str.1(%rip), %r14
LBB0_7:
movl -44(%rbp), %edi
callq _dwarf_errmsg
movq %r14, %rdi
movl %eax, %esi
callq _warnx
LBB0_32:
leaq -48(%rbp), %rsi
leaq -44(%rbp), %rdx
movl %r12d, %edi
callq _dwarf_child
movq _DW_DLV_ERROR@GOTPCREL(%rip), %r14
cmpl (%r14), %eax
jne LBB0_34
## %bb.33:
movl -44(%rbp), %edi
callq _dwarf_errmsg
leaq L_.str.6(%rip), %rdi
movl %eax, %esi
callq _warnx
movq -104(%rbp), %r15 ## 8-byte Reload
movl -68(%rbp), %ecx ## 4-byte Reload
jmp LBB0_36
LBB0_34:
cmpl (%rbx), %eax
movq -104(%rbp), %r15 ## 8-byte Reload
movl -68(%rbp), %ecx ## 4-byte Reload
jne LBB0_36
## %bb.35:
movl -48(%rbp), %esi
movq %r15, %rdi
movq -96(%rbp), %rdx ## 8-byte Reload
movl %ecx, %r13d
movq -56(%rbp), %rcx ## 8-byte Reload
movq -80(%rbp), %r8 ## 8-byte Reload
movq -88(%rbp), %r9 ## 8-byte Reload
callq _search_loclist_at
movl %r13d, %ecx
LBB0_36:
movl (%r15), %edi
leaq -48(%rbp), %rdx
leaq -44(%rbp), %r8
movl %r12d, %esi
callq _dwarf_siblingof_b
cmpl (%r14), %eax
jne LBB0_38
## %bb.37:
movl -44(%rbp), %edi
callq _dwarf_errmsg
leaq L_.str.7(%rip), %rdi
movl %eax, %esi
callq _warnx
jmp LBB0_40
LBB0_38:
cmpl (%rbx), %eax
jne LBB0_40
## %bb.39:
movl -48(%rbp), %esi
movq %r15, %rdi
movq -96(%rbp), %rdx ## 8-byte Reload
movq -56(%rbp), %rcx ## 8-byte Reload
movq -80(%rbp), %r8 ## 8-byte Reload
movq -88(%rbp), %r9 ## 8-byte Reload
callq _search_loclist_at
LBB0_40:
addq $104, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _DW_DLV_OK,4,2 ## @DW_DLV_OK
.comm _DW_DLV_ERROR,4,2 ## @DW_DLV_ERROR
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "dwarf_attrlist failed: %s"
L_.str.1: ## @.str.1
.asciz "dwarf_whatattr failed: %s"
.comm _DW_AT_location,8,3 ## @DW_AT_location
.comm _DW_AT_string_length,8,3 ## @DW_AT_string_length
.comm _DW_AT_return_addr,8,3 ## @DW_AT_return_addr
.comm _DW_AT_data_member_location,8,3 ## @DW_AT_data_member_location
.comm _DW_AT_frame_base,8,3 ## @DW_AT_frame_base
.comm _DW_AT_segment,8,3 ## @DW_AT_segment
.comm _DW_AT_static_link,8,3 ## @DW_AT_static_link
.comm _DW_AT_use_location,8,3 ## @DW_AT_use_location
.comm _DW_AT_vtable_elem_location,8,3 ## @DW_AT_vtable_elem_location
L_.str.2: ## @.str.2
.asciz "dwarf_whatform failed: %s"
.comm _DW_FORM_data4,8,3 ## @DW_FORM_data4
.comm _DW_FORM_data8,8,3 ## @DW_FORM_data8
L_.str.3: ## @.str.3
.asciz "dwarf_formudata failed: %s"
.comm _DW_FORM_sec_offset,8,3 ## @DW_FORM_sec_offset
L_.str.4: ## @.str.4
.asciz "dwarf_global_formref failed: %s"
.comm _EXIT_FAILURE,4,2 ## @EXIT_FAILURE
L_.str.5: ## @.str.5
.asciz "realloc failed"
L_.str.6: ## @.str.6
.asciz "dwarf_child: %s"
L_.str.7: ## @.str.7
.asciz "dwarf_siblingof: %s"
.no_dead_strip _search_loclist_at
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function search_loclist_at
_search_loclist_at: ; @search_loclist_at
.cfi_startproc
; %bb.0:
sub sp, sp, #192
stp x28, x27, [sp, #96] ; 16-byte Folded Spill
stp x26, x25, [sp, #112] ; 16-byte Folded Spill
stp x24, x23, [sp, #128] ; 16-byte Folded Spill
stp x22, x21, [sp, #144] ; 16-byte Folded Spill
stp x20, x19, [sp, #160] ; 16-byte Folded Spill
stp x29, x30, [sp, #176] ; 16-byte Folded Spill
add x29, sp, #176
.cfi_def_cfa w29, 16
.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
stp x4, x5, [sp, #16] ; 16-byte Folded Spill
str x3, [sp, #8] ; 8-byte Folded Spill
mov x20, x2
mov x24, x1
mov x23, x0
mov x0, x1
bl _dwarf_get_die_infotypes_flag
mov x25, x0
add x1, sp, #88
add x2, sp, #60
add x3, sp, #36
mov x0, x24
bl _dwarf_attrlist
Lloh0:
adrp x27, _DW_DLV_OK@GOTPAGE
Lloh1:
ldr x27, [x27, _DW_DLV_OK@GOTPAGEOFF]
ldr w8, [x27]
Lloh2:
adrp x19, _DW_DLV_ERROR@GOTPAGE
Lloh3:
ldr x19, [x19, _DW_DLV_ERROR@GOTPAGEOFF]
cmp w0, w8
b.ne LBB0_28
; %bb.1:
ldr w8, [sp, #60]
cmp w8, #1
b.lt LBB0_31
; %bb.2:
mov x26, #0 ; =0x0
Lloh4:
adrp x22, _DW_AT_location@GOTPAGE
Lloh5:
ldr x22, [x22, _DW_AT_location@GOTPAGEOFF]
Lloh6:
adrp x28, _DW_AT_string_length@GOTPAGE
Lloh7:
ldr x28, [x28, _DW_AT_string_length@GOTPAGEOFF]
Lloh8:
adrp x21, l_.str.1@PAGE
Lloh9:
add x21, x21, l_.str.1@PAGEOFF
b LBB0_6
LBB0_3: ; in Loop: Header=BB0_6 Depth=1
ldr w0, [sp, #36]
bl _dwarf_errmsg
mov x1, x0
Lloh10:
adrp x0, l_.str.2@PAGE
Lloh11:
add x0, x0, l_.str.2@PAGEOFF
LBB0_4: ; in Loop: Header=BB0_6 Depth=1
bl _warnx
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
add x26, x26, #1
ldrsw x8, [sp, #60]
cmp x26, x8
b.ge LBB0_31
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #88]
ldr w0, [x8, x26, lsl #2]
add x1, sp, #48
add x2, sp, #36
bl _dwarf_whatattr
ldr w8, [x27]
cmp w0, w8
b.ne LBB0_30
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
ldr x8, [sp, #48]
ldr x9, [x22]
cmp x8, x9
b.ne LBB0_5
; %bb.8: ; in Loop: Header=BB0_6 Depth=1
ldr x9, [x28]
cmp x8, x9
b.eq LBB0_16
; %bb.9: ; in Loop: Header=BB0_6 Depth=1
Lloh12:
adrp x9, _DW_AT_return_addr@GOTPAGE
Lloh13:
ldr x9, [x9, _DW_AT_return_addr@GOTPAGEOFF]
Lloh14:
ldr x9, [x9]
cmp x8, x9
b.eq LBB0_16
; %bb.10: ; in Loop: Header=BB0_6 Depth=1
Lloh15:
adrp x9, _DW_AT_data_member_location@GOTPAGE
Lloh16:
ldr x9, [x9, _DW_AT_data_member_location@GOTPAGEOFF]
Lloh17:
ldr x9, [x9]
cmp x8, x9
b.eq LBB0_16
; %bb.11: ; in Loop: Header=BB0_6 Depth=1
Lloh18:
adrp x9, _DW_AT_frame_base@GOTPAGE
Lloh19:
ldr x9, [x9, _DW_AT_frame_base@GOTPAGEOFF]
Lloh20:
ldr x9, [x9]
cmp x8, x9
b.eq LBB0_16
; %bb.12: ; in Loop: Header=BB0_6 Depth=1
Lloh21:
adrp x9, _DW_AT_segment@GOTPAGE
Lloh22:
ldr x9, [x9, _DW_AT_segment@GOTPAGEOFF]
Lloh23:
ldr x9, [x9]
cmp x8, x9
b.eq LBB0_16
; %bb.13: ; in Loop: Header=BB0_6 Depth=1
Lloh24:
adrp x9, _DW_AT_static_link@GOTPAGE
Lloh25:
ldr x9, [x9, _DW_AT_static_link@GOTPAGEOFF]
Lloh26:
ldr x9, [x9]
cmp x8, x9
b.eq LBB0_16
; %bb.14: ; in Loop: Header=BB0_6 Depth=1
Lloh27:
adrp x9, _DW_AT_use_location@GOTPAGE
Lloh28:
ldr x9, [x9, _DW_AT_use_location@GOTPAGEOFF]
Lloh29:
ldr x9, [x9]
cmp x8, x9
b.eq LBB0_16
; %bb.15: ; in Loop: Header=BB0_6 Depth=1
Lloh30:
adrp x9, _DW_AT_vtable_elem_location@GOTPAGE
Lloh31:
ldr x9, [x9, _DW_AT_vtable_elem_location@GOTPAGEOFF]
Lloh32:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_5
LBB0_16: ; in Loop: Header=BB0_6 Depth=1
ldr x8, [sp, #88]
ldr w0, [x8, x26, lsl #2]
add x1, sp, #40
add x2, sp, #36
bl _dwarf_whatform
ldr w8, [x27]
cmp w0, w8
b.ne LBB0_3
; %bb.17: ; in Loop: Header=BB0_6 Depth=1
ldr x8, [sp, #40]
Lloh33:
adrp x9, _DW_FORM_data4@GOTPAGE
Lloh34:
ldr x9, [x9, _DW_FORM_data4@GOTPAGEOFF]
Lloh35:
ldr x9, [x9]
cmp x8, x9
b.eq LBB0_22
; %bb.18: ; in Loop: Header=BB0_6 Depth=1
Lloh36:
adrp x9, _DW_FORM_data8@GOTPAGE
Lloh37:
ldr x9, [x9, _DW_FORM_data8@GOTPAGEOFF]
Lloh38:
ldr x9, [x9]
cmp x8, x9
b.eq LBB0_22
; %bb.19: ; in Loop: Header=BB0_6 Depth=1
Lloh39:
adrp x9, _DW_FORM_sec_offset@GOTPAGE
Lloh40:
ldr x9, [x9, _DW_FORM_sec_offset@GOTPAGEOFF]
Lloh41:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_5
; %bb.20: ; in Loop: Header=BB0_6 Depth=1
ldr x8, [sp, #88]
ldr w0, [x8, x26, lsl #2]
add x1, sp, #64
add x2, sp, #36
bl _dwarf_global_formref
ldr w8, [x27]
cmp w0, w8
b.ne LBB0_27
; %bb.21: ; in Loop: Header=BB0_6 Depth=1
ldr x8, [sp, #64]
str x8, [sp, #72]
b LBB0_23
LBB0_22: ; in Loop: Header=BB0_6 Depth=1
ldr x8, [sp, #88]
ldr w0, [x8, x26, lsl #2]
add x1, sp, #72
add x2, sp, #36
bl _dwarf_formudata
ldr w8, [x27]
cmp w0, w8
b.ne LBB0_26
LBB0_23: ; in Loop: Header=BB0_6 Depth=1
ldp x11, x8, [sp, #16] ; 16-byte Folded Reload
ldr x9, [x8]
ldr x8, [x11]
cmp x9, x8
b.ne LBB0_25
; %bb.24: ; in Loop: Header=BB0_6 Depth=1
mov x28, x25
mov x25, x21
mov x21, x19
mov x19, x20
ldr x20, [sp, #8] ; 8-byte Folded Reload
ldr x0, [x20]
add x8, x9, x9, lsl #2
lsl x1, x8, #4
bl _realloc
str x0, [x20]
mov x20, x19
mov x19, x21
mov x21, x25
mov x25, x28
Lloh42:
adrp x28, _DW_AT_string_length@GOTPAGE
Lloh43:
ldr x28, [x28, _DW_AT_string_length@GOTPAGEOFF]
Lloh44:
adrp x8, _EXIT_FAILURE@GOTPAGE
Lloh45:
ldr x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh46:
ldr w0, [x8]
Lloh47:
adrp x1, l_.str.5@PAGE
Lloh48:
add x1, x1, l_.str.5@PAGEOFF
bl _errx
ldp x11, x9, [sp, #16] ; 16-byte Folded Reload
ldr x8, [x9]
lsl x8, x8, #1
str x8, [x9]
ldr x8, [x11]
LBB0_25: ; in Loop: Header=BB0_6 Depth=1
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr x9, [x9]
mov w10, #40 ; =0x28
madd x9, x8, x10, x9
ldr x10, [sp, #88]
ldr w10, [x10, x26, lsl #2]
str w10, [x9, #32]
ldr x10, [sp, #72]
stp x20, x10, [x9, #16]
ldr w10, [x23, #12]
str w10, [x9, #8]
ldur d0, [x23, #4]
str d0, [x9]
add x8, x8, #1
str x8, [x11]
b LBB0_5
LBB0_26: ; in Loop: Header=BB0_6 Depth=1
ldr w0, [sp, #36]
bl _dwarf_errmsg
mov x1, x0
Lloh49:
adrp x0, l_.str.3@PAGE
Lloh50:
add x0, x0, l_.str.3@PAGEOFF
b LBB0_4
LBB0_27: ; in Loop: Header=BB0_6 Depth=1
ldr w0, [sp, #36]
bl _dwarf_errmsg
mov x1, x0
Lloh51:
adrp x0, l_.str.4@PAGE
Lloh52:
add x0, x0, l_.str.4@PAGEOFF
b LBB0_4
LBB0_28:
ldr w8, [x19]
cmp w0, w8
b.ne LBB0_31
; %bb.29:
Lloh53:
adrp x21, l_.str@PAGE
Lloh54:
add x21, x21, l_.str@PAGEOFF
LBB0_30:
ldr w0, [sp, #36]
bl _dwarf_errmsg
mov x1, x0
mov x0, x21
bl _warnx
LBB0_31:
add x1, sp, #84
add x2, sp, #36
mov x0, x24
bl _dwarf_child
ldr w8, [x19]
cmp w0, w8
b.ne LBB0_33
; %bb.32:
ldr w0, [sp, #36]
bl _dwarf_errmsg
mov x1, x0
Lloh55:
adrp x0, l_.str.6@PAGE
Lloh56:
add x0, x0, l_.str.6@PAGEOFF
bl _warnx
b LBB0_35
LBB0_33:
ldr w8, [x27]
cmp w0, w8
b.ne LBB0_35
; %bb.34:
ldr w1, [sp, #84]
mov x0, x23
mov x2, x20
ldp x3, x4, [sp, #8] ; 16-byte Folded Reload
ldr x5, [sp, #24] ; 8-byte Folded Reload
bl _search_loclist_at
LBB0_35:
ldr w0, [x23]
add x2, sp, #84
add x4, sp, #36
mov x1, x24
mov x3, x25
bl _dwarf_siblingof_b
ldr w8, [x19]
cmp w0, w8
b.ne LBB0_37
; %bb.36:
ldr w0, [sp, #36]
bl _dwarf_errmsg
mov x1, x0
Lloh57:
adrp x0, l_.str.7@PAGE
Lloh58:
add x0, x0, l_.str.7@PAGEOFF
bl _warnx
b LBB0_39
LBB0_37:
ldr w8, [x27]
cmp w0, w8
b.ne LBB0_39
; %bb.38:
ldr w1, [sp, #84]
mov x0, x23
mov x2, x20
ldp x3, x4, [sp, #8] ; 16-byte Folded Reload
ldr x5, [sp, #24] ; 8-byte Folded Reload
bl _search_loclist_at
LBB0_39:
ldp x29, x30, [sp, #176] ; 16-byte Folded Reload
ldp x20, x19, [sp, #160] ; 16-byte Folded Reload
ldp x22, x21, [sp, #144] ; 16-byte Folded Reload
ldp x24, x23, [sp, #128] ; 16-byte Folded Reload
ldp x26, x25, [sp, #112] ; 16-byte Folded Reload
ldp x28, x27, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #192
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38
.loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41
.loh AdrpAdd Lloh47, Lloh48
.loh AdrpLdrGotLdr Lloh44, Lloh45, Lloh46
.loh AdrpLdrGot Lloh42, Lloh43
.loh AdrpAdd Lloh49, Lloh50
.loh AdrpAdd Lloh51, Lloh52
.loh AdrpAdd Lloh53, Lloh54
.loh AdrpAdd Lloh55, Lloh56
.loh AdrpAdd Lloh57, Lloh58
.cfi_endproc
; -- End function
.comm _DW_DLV_OK,4,2 ; @DW_DLV_OK
.comm _DW_DLV_ERROR,4,2 ; @DW_DLV_ERROR
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "dwarf_attrlist failed: %s"
l_.str.1: ; @.str.1
.asciz "dwarf_whatattr failed: %s"
.comm _DW_AT_location,8,3 ; @DW_AT_location
.comm _DW_AT_string_length,8,3 ; @DW_AT_string_length
.comm _DW_AT_return_addr,8,3 ; @DW_AT_return_addr
.comm _DW_AT_data_member_location,8,3 ; @DW_AT_data_member_location
.comm _DW_AT_frame_base,8,3 ; @DW_AT_frame_base
.comm _DW_AT_segment,8,3 ; @DW_AT_segment
.comm _DW_AT_static_link,8,3 ; @DW_AT_static_link
.comm _DW_AT_use_location,8,3 ; @DW_AT_use_location
.comm _DW_AT_vtable_elem_location,8,3 ; @DW_AT_vtable_elem_location
l_.str.2: ; @.str.2
.asciz "dwarf_whatform failed: %s"
.comm _DW_FORM_data4,8,3 ; @DW_FORM_data4
.comm _DW_FORM_data8,8,3 ; @DW_FORM_data8
l_.str.3: ; @.str.3
.asciz "dwarf_formudata failed: %s"
.comm _DW_FORM_sec_offset,8,3 ; @DW_FORM_sec_offset
l_.str.4: ; @.str.4
.asciz "dwarf_global_formref failed: %s"
.comm _EXIT_FAILURE,4,2 ; @EXIT_FAILURE
l_.str.5: ; @.str.5
.asciz "realloc failed"
l_.str.6: ; @.str.6
.asciz "dwarf_child: %s"
l_.str.7: ; @.str.7
.asciz "dwarf_siblingof: %s"
.no_dead_strip _search_loclist_at
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl __dwarf_write_msb_alloc ## -- Begin function _dwarf_write_msb_alloc
.p2align 4, 0x90
__dwarf_write_msb_alloc: ## @_dwarf_write_msb_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
movl %ecx, %r15d
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
subl %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
jne 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
movl %r15d, %edx
movl %r14d, %ecx
callq __dwarf_write_msb
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_msb_alloc ; -- Begin function _dwarf_write_msb_alloc
.p2align 2
__dwarf_write_msb_alloc: ; @_dwarf_write_msb_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]
sub 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]
cbnz x0, LBB0_1
; %bb.3:
Lloh0:
adrp x20, _DW_DLE_MEMORY@GOTPAGE
Lloh1:
ldr x20, [x20, _DW_DLE_MEMORY@GOTPAGEOFF]
ldr w2, [x20]
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_msb
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 add_file
_add_file: ## @add_file
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movq (%rdi), %r12
movl (%rsi), %eax
testl %eax, %eax
jle LBB0_6
## %bb.1:
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq (%r12,%r13,8), %rdi
movq %rbx, %rsi
callq _strcmp
testq %rax, %rax
je LBB0_4
## %bb.2: ## in Loop: Header=BB0_3 Depth=1
incq %r13
movslq (%r14), %rax
cmpq %rax, %r13
jl LBB0_3
## %bb.5:
movq (%r15), %r12
LBB0_6:
leal -16(,%rax,8), %esi
movq %r12, %rdi
callq _realloc
testq %rax, %rax
je LBB0_7
## %bb.8:
movslq (%r14), %rcx
movq %rbx, (%rax,%rcx,8)
movq $0, 8(%rax,%rcx,8)
movq %rax, (%r15)
leal 1(%rcx), %eax
movl %eax, (%r14)
jmp LBB0_9
LBB0_4:
movq %rbx, %rdi
callq _free
LBB0_9:
xorl %eax, %eax
jmp LBB0_10
LBB0_7:
movq %rbx, %rdi
callq _free
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
.no_dead_strip _add_file
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function add_file
_add_file: ; @add_file
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x2
mov x20, x1
mov x21, x0
ldr x22, [x0]
ldr w8, [x1]
cmp w8, #1
b.lt LBB0_5
; %bb.1:
mov x23, #0 ; =0x0
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x0, [x22, x23, lsl #3]
mov x1, x19
bl _strcmp
cbz x0, LBB0_7
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
add x23, x23, #1
ldrsw x8, [x20]
cmp x23, x8
b.lt LBB0_2
; %bb.4:
ldr x22, [x21]
LBB0_5:
lsl w8, w8, #3
sub w1, w8, #16
mov x0, x22
bl _realloc
cbz x0, LBB0_8
; %bb.6:
mov x8, x0
mov w0, #0 ; =0x0
ldrsw x9, [x20]
add x10, x8, x9, lsl #3
stp x19, xzr, [x10]
str x8, [x21]
add w8, w9, #1
str w8, [x20]
b LBB0_9
LBB0_7:
mov x0, x19
bl _free
mov w0, #0 ; =0x0
b LBB0_9
LBB0_8:
mov x0, x19
bl _free
Lloh0:
adrp x8, _ENOMEM@GOTPAGE
Lloh1:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
LBB0_9:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _ENOMEM,4,2 ; @ENOMEM
.no_dead_strip _add_file
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _ext2fs_zero_blocks2 ## -- Begin function ext2fs_zero_blocks2
.p2align 4, 0x90
_ext2fs_zero_blocks2: ## @ext2fs_zero_blocks2
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
testq %rdi, %rdi
je LBB0_1
## %bb.3:
movl %edx, %r14d
testl %edx, %edx
jle LBB0_20
## %bb.4:
movl %esi, %ebx
movq %rdi, %r15
movq %r8, -48(%rbp) ## 8-byte Spill
movq %rcx, -56(%rbp) ## 8-byte Spill
movl 4(%rdi), %edi
movl %r14d, %edx
callq _io_channel_zeroout
testq %rax, %rax
je LBB0_20
## %bb.5:
movl _ext2fs_zero_blocks2.stride_length(%rip), %eax
cmpl %r14d, %eax
jge LBB0_10
## %bb.6:
movq _MAX_STRIDE_LENGTH@GOTPCREL(%rip), %rcx
movl (%rcx), %r12d
cmpl %r12d, %eax
jge LBB0_10
## %bb.7:
cmpl %r14d, %r12d
cmovgel %r14d, %r12d
movq _ext2fs_zero_blocks2.buf(%rip), %rdi
movl (%r15), %esi
imull %r12d, %esi
callq _realloc
testq %rax, %rax
je LBB0_8
## %bb.9:
movq %rax, _ext2fs_zero_blocks2.buf(%rip)
movl %r12d, _ext2fs_zero_blocks2.stride_length(%rip)
imull (%r15), %r12d
movq %rax, %rdi
xorl %esi, %esi
movl %r12d, %edx
callq _memset
LBB0_10:
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_11: ## =>This Inner Loop Header: Depth=1
movl _ext2fs_zero_blocks2.stride_length(%rip), %ecx
movl %ebx, %eax
cltd
idivl %ecx
testl %edx, %edx
je LBB0_13
## %bb.12: ## in Loop: Header=BB0_11 Depth=1
addl %ecx, %edx
movl %r14d, %r12d
subl %r13d, %r12d
cmpl %r12d, %edx
cmovll %edx, %r12d
jmp LBB0_14
.p2align 4, 0x90
LBB0_13: ## in Loop: Header=BB0_11 Depth=1
movl %r14d, %r12d
subl %r13d, %r12d
cmpl %ecx, %r12d
cmovgel %ecx, %r12d
LBB0_14: ## in Loop: Header=BB0_11 Depth=1
movl 4(%r15), %edi
movq _ext2fs_zero_blocks2.buf(%rip), %rcx
movl %ebx, %esi
movl %r12d, %edx
callq _io_channel_write_blk64
testq %rax, %rax
jne LBB0_15
## %bb.19: ## in Loop: Header=BB0_11 Depth=1
addl %r12d, %r13d
addl %r12d, %ebx
cmpl %r14d, %r13d
jle LBB0_11
jmp LBB0_20
LBB0_1:
movq _ext2fs_zero_blocks2.buf(%rip), %rdi
testq %rdi, %rdi
je LBB0_20
## %bb.2:
callq _free
movq $0, _ext2fs_zero_blocks2.buf(%rip)
movl $0, _ext2fs_zero_blocks2.stride_length(%rip)
LBB0_20:
xorl %eax, %eax
LBB0_21:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_15:
movq -48(%rbp), %rdx ## 8-byte Reload
testq %rdx, %rdx
movq -56(%rbp), %rcx ## 8-byte Reload
je LBB0_17
## %bb.16:
movl %r12d, (%rdx)
LBB0_17:
testq %rcx, %rcx
je LBB0_21
## %bb.18:
movl %ebx, (%rcx)
jmp LBB0_21
LBB0_8:
movq _EXT2_ET_NO_MEMORY@GOTPCREL(%rip), %rax
movq (%rax), %rax
jmp LBB0_21
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_ext2fs_zero_blocks2.buf,8,3 ## @ext2fs_zero_blocks2.buf
.zerofill __DATA,__bss,_ext2fs_zero_blocks2.stride_length,4,2 ## @ext2fs_zero_blocks2.stride_length
.comm _MAX_STRIDE_LENGTH,4,2 ## @MAX_STRIDE_LENGTH
.comm _EXT2_ET_NO_MEMORY,8,3 ## @EXT2_ET_NO_MEMORY
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _ext2fs_zero_blocks2 ; -- Begin function ext2fs_zero_blocks2
.p2align 2
_ext2fs_zero_blocks2: ; @ext2fs_zero_blocks2
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
cbz x0, LBB0_11
; %bb.1:
mov x20, x2
cmp w2, #1
b.lt LBB0_10
; %bb.2:
mov x19, x1
mov x21, x0
mov x24, x4
mov x23, x3
ldr w0, [x0, #4]
mov x2, x20
bl _io_channel_zeroout
cbz x0, LBB0_18
; %bb.3:
adrp x25, _ext2fs_zero_blocks2.stride_length@PAGE
ldr w8, [x25, _ext2fs_zero_blocks2.stride_length@PAGEOFF]
adrp x26, _ext2fs_zero_blocks2.buf@PAGE
cmp w8, w20
b.ge LBB0_7
; %bb.4:
Lloh0:
adrp x9, _MAX_STRIDE_LENGTH@GOTPAGE
Lloh1:
ldr x9, [x9, _MAX_STRIDE_LENGTH@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
cmp w8, w9
b.ge LBB0_7
; %bb.5:
cmp w9, w20
csel w22, w9, w20, lt
ldr x0, [x26, _ext2fs_zero_blocks2.buf@PAGEOFF]
ldr w8, [x21]
mul w1, w8, w22
bl _realloc
cbz x0, LBB0_17
; %bb.6:
str x0, [x26, _ext2fs_zero_blocks2.buf@PAGEOFF]
str w22, [x25, _ext2fs_zero_blocks2.stride_length@PAGEOFF]
ldr w8, [x21]
mul w2, w8, w22
mov w1, #0 ; =0x0
bl _memset
LBB0_7:
mov w27, #0 ; =0x0
LBB0_8: ; =>This Inner Loop Header: Depth=1
ldr w8, [x25, _ext2fs_zero_blocks2.stride_length@PAGEOFF]
sdiv w9, w19, w8
msub w9, w9, w8, w19
sub w10, w20, w27
cmp w10, w8
csel w11, w10, w8, lt
add w8, w9, w8
cmp w8, w10
csel w8, w8, w10, lt
cmp w9, #0
csel w22, w11, w8, eq
ldr w0, [x21, #4]
ldr x3, [x26, _ext2fs_zero_blocks2.buf@PAGEOFF]
mov x1, x19
mov x2, x22
bl _io_channel_write_blk64
cbnz x0, LBB0_13
; %bb.9: ; in Loop: Header=BB0_8 Depth=1
add w19, w22, w19
add w27, w22, w27
cmp w27, w20
b.le LBB0_8
LBB0_10:
mov x0, #0 ; =0x0
b LBB0_18
LBB0_11:
adrp x19, _ext2fs_zero_blocks2.buf@PAGE
ldr x0, [x19, _ext2fs_zero_blocks2.buf@PAGEOFF]
cbz x0, LBB0_18
; %bb.12:
bl _free
mov x0, #0 ; =0x0
str xzr, [x19, _ext2fs_zero_blocks2.buf@PAGEOFF]
adrp x8, _ext2fs_zero_blocks2.stride_length@PAGE
str wzr, [x8, _ext2fs_zero_blocks2.stride_length@PAGEOFF]
b LBB0_18
LBB0_13:
cbz x24, LBB0_15
; %bb.14:
str w22, [x24]
LBB0_15:
cbz x23, LBB0_18
; %bb.16:
str w19, [x23]
b LBB0_18
LBB0_17:
Lloh3:
adrp x8, _EXT2_ET_NO_MEMORY@GOTPAGE
Lloh4:
ldr x8, [x8, _EXT2_ET_NO_MEMORY@GOTPAGEOFF]
Lloh5:
ldr x0, [x8]
LBB0_18:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_ext2fs_zero_blocks2.buf,8,3 ; @ext2fs_zero_blocks2.buf
.zerofill __DATA,__bss,_ext2fs_zero_blocks2.stride_length,4,2 ; @ext2fs_zero_blocks2.stride_length
.comm _MAX_STRIDE_LENGTH,4,2 ; @MAX_STRIDE_LENGTH
.comm _EXT2_ET_NO_MEMORY,8,3 ; @EXT2_ET_NO_MEMORY
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _realloc ## -- Begin function realloc
.p2align 4, 0x90
_realloc: ## @realloc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
testq %rdi, %rdi
je LBB0_1
## %bb.5:
movq %rsi, %rdi
popq %rbx
popq %r14
popq %rbp
jmp _malloc ## TAILCALL
LBB0_1:
testq %rsi, %rsi
je LBB0_2
## %bb.3:
movq %rsi, %rdi
movq %rsi, %r14
callq _ROUND_SIZE
cmpq %r14, %rax
jbe LBB0_4
## %bb.6:
movq %rax, %rbx
xorl %eax, %eax
callq _GetProcessHeap
movl %eax, %edi
xorl %esi, %esi
xorl %edx, %edx
movq %rbx, %rcx
popq %rbx
popq %r14
popq %rbp
jmp _HeapReAlloc ## TAILCALL
LBB0_2:
xorl %edi, %edi
callq _free
LBB0_4:
xorl %eax, %eax
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 _realloc ; -- Begin function realloc
.p2align 2
_realloc: ; @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
cbz x0, LBB0_2
; %bb.1:
mov x0, x1
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _malloc
LBB0_2:
cbz x1, LBB0_5
; %bb.3:
mov x0, x1
mov x20, x1
bl _ROUND_SIZE
cmp x0, x20
b.ls LBB0_6
; %bb.4:
mov x19, x0
bl _GetProcessHeap
mov w1, #0 ; =0x0
mov x2, #0 ; =0x0
mov x3, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _HeapReAlloc
LBB0_5:
mov x0, #0 ; =0x0
bl _free
LBB0_6:
mov x0, #0 ; =0x0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function bridge_addrs_getinfo_ifalist
_bridge_addrs_getinfo_ifalist: ## @bridge_addrs_getinfo_ifalist
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_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 $0, (%rsi)
movl (%rdi), %esi
movq _IFNAMSIZ@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _strlcpy
movq _BRDGRTS@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -64(%rbp)
movl $16, -80(%rbp)
leaq -56(%rbp), %rax
movq %rax, -72(%rbp)
movq (%rbx), %rdi
movl $512, %r14d ## imm = 0x200
movl $512, %esi ## imm = 0x200
callq _realloc
testq %rax, %rax
jne LBB0_5
## %bb.1:
movl $128, %r13d
leaq -80(%rbp), %r15
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl %r14d, -56(%rbp)
movq $0, (%rbx)
movq $0, -48(%rbp)
movq _sock@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _SIOCGDRVSPEC@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r15, %rdx
callq _ioctl
testq %rax, %rax
js LBB0_3
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movslq -56(%rbp), %rax
addq $4, %rax
movslq %r14d, %rcx
leal 64(%r13), %r12d
cmpq %rcx, %rax
cmovbl %r13d, %r12d
leal (,%r12,4), %r14d
movq (%rbx), %rdi
movl %r14d, %esi
callq _realloc
movl %r12d, %r13d
testq %rax, %rax
je LBB0_2
LBB0_5:
movq _LOG_ERR@GOTPCREL(%rip), %rax
movl (%rax), %r14d
movq _errno@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _strerror
leaq L_.str(%rip), %rsi
movl %r14d, %edi
movl %eax, %edx
callq _syslog
movq (%rbx), %rdi
callq _free
movq $0, (%rbx)
LBB0_6:
movl $-1, %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_3:
movq _LOG_ERR@GOTPCREL(%rip), %rax
movl (%rax), %r14d
movq _errno@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _strerror
leaq L_.str.1(%rip), %rsi
movl %r14d, %edi
movl %eax, %edx
callq _syslog
movq (%rbx), %rdi
callq _free
jmp LBB0_6
.cfi_endproc
## -- End function
.comm _IFNAMSIZ,4,2 ## @IFNAMSIZ
.comm _BRDGRTS,4,2 ## @BRDGRTS
.comm _LOG_ERR,4,2 ## @LOG_ERR
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "get bridge address list: realloc failed: %s"
.comm _errno,4,2 ## @errno
.comm _sock,4,2 ## @sock
.comm _SIOCGDRVSPEC,4,2 ## @SIOCGDRVSPEC
L_.str.1: ## @.str.1
.asciz "get bridge address list: ioctl(BRDGRTS) failed: %s"
.no_dead_strip _bridge_addrs_getinfo_ifalist
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function bridge_addrs_getinfo_ifalist
_bridge_addrs_getinfo_ifalist: ; @bridge_addrs_getinfo_ifalist
.cfi_startproc
; %bb.0:
sub sp, sp, #112
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
mov x19, x1
str xzr, [x1]
ldr w1, [x0]
Lloh0:
adrp x8, _IFNAMSIZ@GOTPAGE
Lloh1:
ldr x8, [x8, _IFNAMSIZ@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
bl _strlcpy
Lloh3:
adrp x8, _BRDGRTS@GOTPAGE
Lloh4:
ldr x8, [x8, _BRDGRTS@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
str w8, [sp, #24]
mov w8, #16 ; =0x10
str w8, [sp, #8]
add x8, sp, #32
str x8, [sp, #16]
ldr x0, [x19]
mov w1, #512 ; =0x200
bl _realloc
cbnz x0, LBB0_4
; %bb.1:
mov w21, #128 ; =0x80
mov w20, #512 ; =0x200
Lloh6:
adrp x22, _sock@GOTPAGE
Lloh7:
ldr x22, [x22, _sock@GOTPAGEOFF]
Lloh8:
adrp x23, _SIOCGDRVSPEC@GOTPAGE
Lloh9:
ldr x23, [x23, _SIOCGDRVSPEC@GOTPAGEOFF]
LBB0_2: ; =>This Inner Loop Header: Depth=1
str w20, [sp, #32]
str xzr, [x19]
str xzr, [sp, #40]
ldr w0, [x22]
ldr w1, [x23]
add x2, sp, #8
bl _ioctl
tbnz x0, #63, LBB0_6
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
ldrsw x8, [sp, #32]
add x8, x8, #4
add w9, w21, #64
cmp x8, w20, sxtw
csel w21, w21, w9, lo
lsl w20, w21, #2
ldr x0, [x19]
mov x1, x20
bl _realloc
cbz x0, LBB0_2
LBB0_4:
Lloh10:
adrp x8, _LOG_ERR@GOTPAGE
Lloh11:
ldr x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh12:
ldr w20, [x8]
Lloh13:
adrp x8, _errno@GOTPAGE
Lloh14:
ldr x8, [x8, _errno@GOTPAGEOFF]
Lloh15:
ldr w0, [x8]
bl _strerror
mov x2, x0
Lloh16:
adrp x1, l_.str@PAGE
Lloh17:
add x1, x1, l_.str@PAGEOFF
mov x0, x20
bl _syslog
ldr x0, [x19]
bl _free
str xzr, [x19]
LBB0_5:
mov w0, #-1 ; =0xffffffff
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
add sp, sp, #112
ret
LBB0_6:
Lloh18:
adrp x8, _LOG_ERR@GOTPAGE
Lloh19:
ldr x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh20:
ldr w20, [x8]
Lloh21:
adrp x8, _errno@GOTPAGE
Lloh22:
ldr x8, [x8, _errno@GOTPAGEOFF]
Lloh23:
ldr w0, [x8]
bl _strerror
mov x2, x0
Lloh24:
adrp x1, l_.str.1@PAGE
Lloh25:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x20
bl _syslog
ldr x0, [x19]
bl _free
b LBB0_5
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.cfi_endproc
; -- End function
.comm _IFNAMSIZ,4,2 ; @IFNAMSIZ
.comm _BRDGRTS,4,2 ; @BRDGRTS
.comm _LOG_ERR,4,2 ; @LOG_ERR
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "get bridge address list: realloc failed: %s"
.comm _errno,4,2 ; @errno
.comm _sock,4,2 ; @sock
.comm _SIOCGDRVSPEC,4,2 ; @SIOCGDRVSPEC
l_.str.1: ; @.str.1
.asciz "get bridge address list: ioctl(BRDGRTS) failed: %s"
.no_dead_strip _bridge_addrs_getinfo_ifalist
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function simpleNext
_simpleNext: ## @simpleNext
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $88, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r9, -112(%rbp) ## 8-byte Spill
movq %r8, -104(%rbp) ## 8-byte Spill
movq %rcx, -96(%rbp) ## 8-byte Spill
movq %rdx, -88(%rbp) ## 8-byte Spill
movq %rsi, -80(%rbp) ## 8-byte Spill
movq %rdi, %rbx
movq (%rdi), %r14
movq 40(%rdi), %r12
## implicit-def: $eax
## kill: killed $eax
movq %r14, -72(%rbp) ## 8-byte Spill
jmp LBB0_1
.p2align 4, 0x90
LBB0_17: ## in Loop: Header=BB0_1 Depth=1
movq 24(%rbx), %rax
movq -80(%rbp), %rcx ## 8-byte Reload
movq %rax, (%rcx)
movq -88(%rbp), %rax ## 8-byte Reload
movq -56(%rbp), %rcx ## 8-byte Reload
movl %ecx, (%rax)
movq -96(%rbp), %rax ## 8-byte Reload
movl %r13d, (%rax)
movl (%rbx), %eax
movq -104(%rbp), %rcx ## 8-byte Reload
movl %eax, (%rcx)
movl 32(%rbx), %eax
leal 1(%rax), %ecx
movl %ecx, 32(%rbx)
movq -112(%rbp), %rcx ## 8-byte Reload
movl %eax, (%rcx)
movq _SQLITE_OK@GOTPCREL(%rip), %rcx
movq -72(%rbp), %r14 ## 8-byte Reload
LBB0_18: ## in Loop: Header=BB0_1 Depth=1
movl (%rcx), %eax
movl %eax, -48(%rbp) ## 4-byte Spill
movq -64(%rbp), %rax ## 8-byte Reload
LBB0_19: ## in Loop: Header=BB0_1 Depth=1
cmpq %rax, %r15
ja LBB0_21
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_2 Depth 2
## Child Loop BB0_7 Depth 2
## Child Loop BB0_14 Depth 2
movq (%rbx), %r13
movq 8(%rbx), %rcx
cmpq %rcx, %r13
jb LBB0_2
jmp LBB0_20
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_2 Depth=2
incq %r13
movq %r13, (%rbx)
LBB0_2: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpq %rcx, %r13
jb LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=2
movzbl (%r12,%r13), %esi
movq %r14, %rdi
callq _isDelim
movq (%rbx), %r13
movq 8(%rbx), %rcx
testq %rax, %rax
jne LBB0_4
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
movq %r13, %r15
cmpq %rcx, %r13
jae LBB0_9
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
movq %r13, %r15
.p2align 4, 0x90
LBB0_7: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movzbl (%r12,%r15), %esi
movq %r14, %rdi
callq _isDelim
movq (%rbx), %r15
testq %rax, %rax
jne LBB0_9
## %bb.8: ## in Loop: Header=BB0_7 Depth=2
incq %r15
movq %r15, (%rbx)
cmpq 8(%rbx), %r15
jb LBB0_7
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
movslq %r13d, %rax
cmpq %rax, %r15
jbe LBB0_19
## %bb.10: ## in Loop: Header=BB0_1 Depth=1
movq %rax, -64(%rbp) ## 8-byte Spill
movq %r15, %rax
subq %r13, %rax
cmpl %eax, 16(%rbx)
movq %rax, -56(%rbp) ## 8-byte Spill
jge LBB0_12
## %bb.11: ## in Loop: Header=BB0_1 Depth=1
leal 20(%rax), %esi
movl %esi, 16(%rbx)
movq 24(%rbx), %rdi
callq _realloc
movq %rax, 24(%rbx)
movq _SQLITE_NOMEM@GOTPCREL(%rip), %rcx
testq %rax, %rax
movq -56(%rbp), %rax ## 8-byte Reload
je LBB0_18
LBB0_12: ## in Loop: Header=BB0_1 Depth=1
testl %eax, %eax
jle LBB0_17
## %bb.13: ## in Loop: Header=BB0_1 Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
## kill: def $eax killed $eax killed $rax def $rax
andl $2147483647, %eax ## imm = 0x7FFFFFFF
movq %rax, -48(%rbp) ## 8-byte Spill
movq -64(%rbp), %rax ## 8-byte Reload
addq %r12, %rax
movq %rax, -120(%rbp) ## 8-byte Spill
xorl %r14d, %r14d
jmp LBB0_14
.p2align 4, 0x90
LBB0_16: ## in Loop: Header=BB0_14 Depth=2
movq 24(%rbx), %rcx
movb %al, (%rcx,%r14)
incq %r14
cmpq %r14, -48(%rbp) ## 8-byte Folded Reload
je LBB0_17
LBB0_14: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movq -120(%rbp), %rax ## 8-byte Reload
movzbl (%rax,%r14), %eax
testb %al, %al
js LBB0_16
## %bb.15: ## in Loop: Header=BB0_14 Depth=2
movzbl %al, %edi
callq _tolower
jmp LBB0_16
LBB0_20:
movq _SQLITE_DONE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -48(%rbp) ## 4-byte Spill
LBB0_21:
movl -48(%rbp), %eax ## 4-byte Reload
addq $88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SQLITE_NOMEM,4,2 ## @SQLITE_NOMEM
.comm _SQLITE_OK,4,2 ## @SQLITE_OK
.comm _SQLITE_DONE,4,2 ## @SQLITE_DONE
.no_dead_strip _simpleNext
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function simpleNext
_simpleNext: ; @simpleNext
.cfi_startproc
; %bb.0:
sub sp, sp, #144
stp x28, x27, [sp, #48] ; 16-byte Folded Spill
stp x26, x25, [sp, #64] ; 16-byte Folded Spill
stp x24, x23, [sp, #80] ; 16-byte Folded Spill
stp x22, x21, [sp, #96] ; 16-byte Folded Spill
stp x20, x19, [sp, #112] ; 16-byte Folded Spill
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
stp x4, x5, [sp, #32] ; 16-byte Folded Spill
stp x2, x3, [sp, #16] ; 16-byte Folded Spill
str x1, [sp, #8] ; 8-byte Folded Spill
mov x24, x0
ldr x25, [x0]
ldr x27, [x0, #40]
; implicit-def: $w26
b LBB0_4
LBB0_1: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x24, #24]
ldr x9, [sp, #8] ; 8-byte Folded Reload
str x8, [x9]
ldp x9, x8, [sp, #16] ; 16-byte Folded Reload
str w26, [x9]
str w28, [x8]
ldr x8, [x24]
ldr x9, [sp, #32] ; 8-byte Folded Reload
str w8, [x9]
ldr w8, [x24, #32]
add w9, w8, #1
str w9, [x24, #32]
ldr x9, [sp, #40] ; 8-byte Folded Reload
str w8, [x9]
Lloh0:
adrp x8, _SQLITE_OK@GOTPAGE
Lloh1:
ldr x8, [x8, _SQLITE_OK@GOTPAGEOFF]
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
ldr w26, [x8]
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
cmp x19, x20
b.hi LBB0_22
LBB0_4: ; =>This Loop Header: Depth=1
; Child Loop BB0_6 Depth 2
; Child Loop BB0_10 Depth 2
; Child Loop BB0_18 Depth 2
ldp x28, x8, [x24]
cmp x28, x8
b.lo LBB0_6
b LBB0_21
LBB0_5: ; in Loop: Header=BB0_6 Depth=2
add x28, x28, #1
str x28, [x24]
LBB0_6: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
cmp x28, x8
b.lo LBB0_5
; %bb.7: ; in Loop: Header=BB0_6 Depth=2
ldrb w1, [x27, x28]
mov x0, x25
bl _isDelim
ldp x28, x8, [x24]
cbnz x0, LBB0_5
; %bb.8: ; in Loop: Header=BB0_4 Depth=1
mov x19, x28
cmp x28, x8
b.hs LBB0_12
; %bb.9: ; in Loop: Header=BB0_4 Depth=1
mov x19, x28
LBB0_10: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w1, [x27, x19]
mov x0, x25
bl _isDelim
ldr x19, [x24]
cbnz x0, LBB0_12
; %bb.11: ; in Loop: Header=BB0_10 Depth=2
add x19, x19, #1
str x19, [x24]
ldr x8, [x24, #8]
cmp x19, x8
b.lo LBB0_10
LBB0_12: ; in Loop: Header=BB0_4 Depth=1
sxtw x20, w28
cmp x19, x20
b.ls LBB0_3
; %bb.13: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [x24, #16]
sub x26, x19, x28
cmp w8, w26
b.ge LBB0_15
; %bb.14: ; in Loop: Header=BB0_4 Depth=1
add w1, w26, #20
str w1, [x24, #16]
ldr x0, [x24, #24]
bl _realloc
str x0, [x24, #24]
cbz x0, LBB0_20
LBB0_15: ; in Loop: Header=BB0_4 Depth=1
cmp w26, #1
b.lt LBB0_1
; %bb.16: ; in Loop: Header=BB0_4 Depth=1
mov x21, #0 ; =0x0
and x22, x26, #0x7fffffff
add x23, x27, x20
b LBB0_18
LBB0_17: ; in Loop: Header=BB0_18 Depth=2
ldr x8, [x24, #24]
strb w0, [x8, x21]
add x21, x21, #1
cmp x22, x21
b.eq LBB0_1
LBB0_18: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
ldrsb w8, [x23, x21]
and w0, w8, #0xff
tbnz w8, #31, LBB0_17
; %bb.19: ; in Loop: Header=BB0_18 Depth=2
bl _tolower
b LBB0_17
LBB0_20: ; in Loop: Header=BB0_4 Depth=1
Lloh2:
adrp x8, _SQLITE_NOMEM@GOTPAGE
Lloh3:
ldr x8, [x8, _SQLITE_NOMEM@GOTPAGEOFF]
b LBB0_2
LBB0_21:
Lloh4:
adrp x8, _SQLITE_DONE@GOTPAGE
Lloh5:
ldr x8, [x8, _SQLITE_DONE@GOTPAGEOFF]
Lloh6:
ldr w26, [x8]
LBB0_22:
mov x0, x26
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
ldp x20, x19, [sp, #112] ; 16-byte Folded Reload
ldp x22, x21, [sp, #96] ; 16-byte Folded Reload
ldp x24, x23, [sp, #80] ; 16-byte Folded Reload
ldp x26, x25, [sp, #64] ; 16-byte Folded Reload
ldp x28, x27, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #144
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _SQLITE_NOMEM,4,2 ; @SQLITE_NOMEM
.comm _SQLITE_OK,4,2 ; @SQLITE_OK
.comm _SQLITE_DONE,4,2 ; @SQLITE_DONE
.no_dead_strip _simpleNext
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function ProcessHeaders
_ProcessHeaders: ## @ProcessHeaders
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movq %rsp, %r12
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq 24(%rdi), %r13
movq _XIPH_MAX_HEADER_COUNT@GOTPCREL(%rip), %r15
movl (%r15), %eax
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r14
movl (%r15), %eax
shlq $3, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r15
movl 16(%rbx), %r8d
movl 20(%rbx), %ecx
leaq -52(%rbp), %rdx
movq %r14, %rdi
movq %r15, %rsi
callq _xiph_SplitHeaders
testq %rax, %rax
jne LBB0_2
## %bb.1:
cmpl $1, -52(%rbp)
jbe LBB0_2
## %bb.5:
movabsq $8589934591, %rax ## imm = 0x1FFFFFFFF
movq %rax, -96(%rbp)
xorps %xmm0, %xmm0
movups %xmm0, -72(%rbp)
movl (%r14), %eax
movl %eax, -88(%rbp)
movq (%r15), %rax
movq %rax, -80(%rbp)
leaq -96(%rbp), %rsi
movq %rbx, %rdi
callq _ProcessInitialHeader
movq _VLC_SUCCESS@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_9
## %bb.6:
movl $0, -92(%rbp)
movl 4(%r14), %eax
movl %eax, -88(%rbp)
movq 8(%r15), %rax
movq %rax, -80(%rbp)
leaq -96(%rbp), %rsi
movq %rbx, %rdi
callq _ParseSpeexComments
cmpq $0, (%r13)
je LBB0_11
## %bb.7:
movq 8(%rbx), %rdi
movl 20(%rbx), %esi
callq _realloc
movq %rax, %r14
xorl %edi, %edi
testq %rax, %rax
sete %dil
callq _unlikely
testq %rax, %rax
je LBB0_10
## %bb.8:
movq _VLC_ENOMEM@GOTPCREL(%rip), %rax
jmp LBB0_3
LBB0_9:
leaq L_.str(%rip), %rsi
movq %rbx, %rdi
callq _msg_Err
LBB0_2:
movq _VLC_EGENERIC@GOTPCREL(%rip), %rax
LBB0_3:
movl (%rax), %eax
movq %r12, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_12
## %bb.4:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_10:
movq %r14, 8(%rbx)
movl 16(%rbx), %esi
movl 20(%rbx), %edx
movl %edx, (%rbx)
movq %r14, %rdi
callq _memcpy
LBB0_11:
movq _VLC_SUCCESS@GOTPCREL(%rip), %rax
jmp LBB0_3
LBB0_12:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _XIPH_MAX_HEADER_COUNT,4,2 ## @XIPH_MAX_HEADER_COUNT
.comm _VLC_EGENERIC,4,2 ## @VLC_EGENERIC
.comm _VLC_SUCCESS,8,3 ## @VLC_SUCCESS
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "initial Speex header is corrupted"
.comm _VLC_ENOMEM,4,2 ## @VLC_ENOMEM
.no_dead_strip _ProcessHeaders
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ; -- Begin function ProcessHeaders
lCPI0_0:
.long 4294967295 ; 0xffffffff
.long 1 ; 0x1
.section __TEXT,__text,regular,pure_instructions
.p2align 2
_ProcessHeaders: ; @ProcessHeaders
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
sub sp, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x0
mov x22, sp
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-56]
ldr x23, [x0, #24]
Lloh3:
adrp x12, _XIPH_MAX_HEADER_COUNT@GOTPAGE
Lloh4:
ldr x12, [x12, _XIPH_MAX_HEADER_COUNT@GOTPAGEOFF]
ldr w8, [x12]
lsl x8, x8, #2
mov x9, x8
Lloh5:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh6:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x7fffffff0
sub x20, x9, x8
mov sp, x20
ldr w8, [x12]
lsl x8, x8, #3
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, #0xffffffff0
sub x21, x9, x8
mov sp, x21
ldp w4, w3, [x0, #16]
sub x2, x29, #100
mov x0, x20
mov x1, x21
bl _xiph_SplitHeaders
cbnz x0, LBB0_7
; %bb.1:
ldur w8, [x29, #-100]
cmp w8, #1
b.ls LBB0_7
; %bb.2:
fmov d0, xzr
mov.d v0[1], v0[0]
stur q0, [x29, #-72]
Lloh9:
adrp x8, lCPI0_0@PAGE
Lloh10:
ldr d0, [x8, lCPI0_0@PAGEOFF]
stur d0, [x29, #-96]
ldr w8, [x20]
stur w8, [x29, #-88]
ldr x8, [x21]
stur x8, [x29, #-80]
sub x1, x29, #96
mov x0, x19
bl _ProcessInitialHeader
Lloh11:
adrp x24, _VLC_SUCCESS@GOTPAGE
Lloh12:
ldr x24, [x24, _VLC_SUCCESS@GOTPAGEOFF]
ldr x8, [x24]
cmp x0, x8
b.ne LBB0_6
; %bb.3:
ldr w8, [x20, #4]
stp wzr, w8, [x29, #-92]
ldr x8, [x21, #8]
stur x8, [x29, #-80]
sub x1, x29, #96
mov x0, x19
bl _ParseSpeexComments
ldr x8, [x23]
cbz x8, LBB0_12
; %bb.4:
ldr x0, [x19, #8]
ldr w1, [x19, #20]
bl _realloc
mov x20, x0
cmp x0, #0
cset w0, eq
bl _unlikely
cbz x0, LBB0_11
; %bb.5:
Lloh13:
adrp x8, _VLC_ENOMEM@GOTPAGE
Lloh14:
ldr x8, [x8, _VLC_ENOMEM@GOTPAGEOFF]
b LBB0_8
LBB0_6:
Lloh15:
adrp x1, l_.str@PAGE
Lloh16:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _msg_Err
LBB0_7:
Lloh17:
adrp x8, _VLC_EGENERIC@GOTPAGE
Lloh18:
ldr x8, [x8, _VLC_EGENERIC@GOTPAGEOFF]
LBB0_8:
ldr w0, [x8]
LBB0_9:
mov sp, x22
ldur x8, [x29, #-56]
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_13
; %bb.10:
sub sp, x29, #48
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
LBB0_11:
str x20, [x19, #8]
ldp w1, w2, [x19, #16]
str w2, [x19]
mov x0, x20
bl _memcpy
LBB0_12:
ldr w0, [x24]
b LBB0_9
LBB0_13:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdr Lloh9, Lloh10
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpLdrGot Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _XIPH_MAX_HEADER_COUNT,4,2 ; @XIPH_MAX_HEADER_COUNT
.comm _VLC_EGENERIC,4,2 ; @VLC_EGENERIC
.comm _VLC_SUCCESS,8,3 ; @VLC_SUCCESS
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "initial Speex header is corrupted"
.comm _VLC_ENOMEM,4,2 ; @VLC_ENOMEM
.no_dead_strip _ProcessHeaders
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _heapRealloc ## -- Begin function heapRealloc
.p2align 4, 0x90
_heapRealloc: ## @heapRealloc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rsi, %rdi
movl %edx, %esi
popq %rbp
jmp _realloc ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _heapRealloc ; -- Begin function heapRealloc
.p2align 2
_heapRealloc: ; @heapRealloc
.cfi_startproc
; %bb.0:
mov x0, x1
mov x1, x2
b _realloc
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function SubtitleGetDirtyBounds
_SubtitleGetDirtyBounds: ## @SubtitleGetDirtyBounds
.cfi_startproc
## %bb.0:
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 (%r14), %rax
xorl %esi, %esi
testq %rax, %rax
je LBB0_1
## %bb.4:
movq 24(%rax), %r8
testq %r8, %r8
je LBB0_2
## %bb.5:
movb $1, %dil
xorl %esi, %esi
movq %rax, %rcx
jmp LBB0_6
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_6 Depth=1
movq 16(%rcx), %rax
movq %rax, 16(%rdx)
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
movq (%r14), %rax
incq %rsi
movq %rsi, %rdi
shlq $5, %rdi
leaq (%rax,%rdi), %rcx
movq 24(%rax,%rdi), %r8
xorl %edi, %edi
testq %r8, %r8
je LBB0_12
LBB0_6: ## =>This Loop Header: Depth=1
## Child Loop BB0_9 Depth 2
movq 8(%r14), %r9
movq (%r9), %r9
movq (%r9), %r9
cmpq %r9, %r8
je LBB0_11
## %bb.7: ## in Loop: Header=BB0_6 Depth=1
movq %rsi, %rcx
shlq $5, %rcx
addq %rax, %rcx
.p2align 4, 0x90
LBB0_9: ## Parent Loop BB0_6 Depth=1
## => This Inner Loop Header: Depth=2
movq 56(%rcx), %r8
testq %r8, %r8
je LBB0_10
## %bb.8: ## in Loop: Header=BB0_9 Depth=2
addq $32, %rcx
incq %rsi
cmpq %r9, %r8
jne LBB0_9
jmp LBB0_11
LBB0_1:
xorl %eax, %eax
jmp LBB0_2
LBB0_10:
incq %rsi
testb $1, %dil
je LBB0_12
LBB0_2:
cmpq $0, (%rdx)
js LBB0_3
LBB0_12:
movq 8(%r14), %rcx
movl 8(%rcx), %edi
cmpl %edi, 8(%rdx)
ja LBB0_15
## %bb.13:
movq 16(%rdx), %r8
testq %r8, %r8
js LBB0_15
## %bb.14:
cmpl %r8d, 12(%rcx)
jb LBB0_15
jmp LBB0_16
LBB0_3:
movq 8(%r14), %rcx
movl 8(%rcx), %edi
LBB0_15:
movq $0, (%rdx)
movq $0, 16(%rdx)
movl %edi, 8(%rdx)
movl 12(%rcx), %ecx
movl %ecx, 12(%rdx)
LBB0_16:
movl %esi, %r15d
testq %rax, %rax
je LBB0_18
## %bb.17:
movq %r15, %rcx
shlq $5, %rcx
cmpq $0, 24(%rax,%rcx)
je LBB0_21
LBB0_18:
shll $5, %esi
addl $64, %esi
movq %rax, %rdi
## kill: def $esi killed $esi killed $rsi
callq _realloc
testq %rax, %rax
je LBB0_20
## %bb.19:
movq %rax, (%r14)
movq 8(%r14), %rcx
movq (%rcx), %rcx
movq (%rcx), %rcx
movq %r15, %rdx
shlq $5, %rdx
movq %rcx, 24(%rax,%rdx)
movq $0, 56(%rax,%rdx)
jmp LBB0_21
LBB0_20:
movq (%r14), %rax
testq %rax, %rax
je LBB0_22
LBB0_21:
shlq $5, %r15
cmpq $0, 24(%rax,%r15)
je LBB0_22
## %bb.23:
addq %r15, %rax
movq %rbx, %rdi
movq %rax, %rsi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _SubtitleRegionToBounds ## TAILCALL
LBB0_22:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _SubtitleGetDirtyBounds
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function SubtitleGetDirtyBounds
_SubtitleGetDirtyBounds: ; @SubtitleGetDirtyBounds
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
ldr x20, [x0]
ldr x0, [x20]
cbz x0, LBB0_8
; %bb.1:
ldr x10, [x0, #24]
cbz x10, LBB0_8
; %bb.2:
mov x21, #0 ; =0x0
mov w8, #1 ; =0x1
mov x9, x0
b LBB0_4
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
mov w8, #0 ; =0x0
ldr q0, [x9]
ldr x9, [x9, #16]
str x9, [x2, #16]
str q0, [x2]
ldr x0, [x20]
add x21, x21, #1
add x9, x0, x21, lsl #5
ldr x10, [x9, #24]
cbz x10, LBB0_11
LBB0_4: ; =>This Loop Header: Depth=1
; Child Loop BB0_6 Depth 2
ldr x11, [x20, #8]
ldr x11, [x11]
ldr x11, [x11]
cmp x10, x11
b.eq LBB0_3
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
add x9, x0, x21, lsl #5
LBB0_6: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
ldr x10, [x9, #56]
cbz x10, LBB0_9
; %bb.7: ; in Loop: Header=BB0_6 Depth=2
add x9, x9, #32
add x21, x21, #1
cmp x10, x11
b.ne LBB0_6
b LBB0_3
LBB0_8:
mov w21, #0 ; =0x0
ldr x8, [x2]
tbz x8, #63, LBB0_11
b LBB0_15
LBB0_9:
add x21, x21, #1
; kill: def $w21 killed $w21 killed $x21 def $x21
tbz w8, #0, LBB0_11
; %bb.10:
ldr x8, [x2]
tbnz x8, #63, LBB0_15
LBB0_11:
ldr w10, [x2, #8]
ldr x8, [x20, #8]
ldr w9, [x8, #8]
cmp w10, w9
b.hi LBB0_16
; %bb.12:
ldr x10, [x2, #16]
tbnz x10, #63, LBB0_16
; %bb.13:
ldr w11, [x8, #12]
cmp w11, w10
b.lo LBB0_16
; %bb.14:
cbnz x0, LBB0_17
b LBB0_18
LBB0_15:
ldr x8, [x20, #8]
ldr w9, [x8, #8]
LBB0_16:
str xzr, [x2]
str xzr, [x2, #16]
ldr w8, [x8, #12]
stp w9, w8, [x2, #8]
cbz x0, LBB0_18
LBB0_17:
mov w8, w21
add x8, x0, x8, lsl #5
ldr x8, [x8, #24]
cbz x8, LBB0_21
LBB0_18:
lsl w8, w21, #5
add w1, w8, #64
bl _realloc
cbz x0, LBB0_20
; %bb.19:
str x0, [x20]
ldr x8, [x20, #8]
ldr x8, [x8]
ldr x8, [x8]
mov w9, w21
add x9, x0, x9, lsl #5
str x8, [x9, #24]
str xzr, [x9, #56]
b LBB0_21
LBB0_20:
ldr x0, [x20]
cbz x0, LBB0_23
LBB0_21:
mov w8, w21
add x1, x0, x8, lsl #5
ldr x8, [x1, #24]
cbz x8, LBB0_23
; %bb.22:
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 _SubtitleRegionToBounds
LBB0_23:
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 _SubtitleGetDirtyBounds
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _der_parse_heim_oid ## -- Begin function der_parse_heim_oid
.p2align 4, 0x90
_der_parse_heim_oid: ## @der_parse_heim_oid
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %rbx
movl $0, (%rdx)
movq $0, 8(%rdx)
testq %rsi, %rsi
leaq L_.str(%rip), %r15
cmoveq %rsi, %r15
callq _strdup
leaq -64(%rbp), %rdx
movq %rax, -48(%rbp) ## 8-byte Spill
movq %rax, %rdi
movq %r15, %rsi
callq _strtok_r
testq %rax, %rax
je LBB0_6
## %bb.1:
movq %rax, %r14
leaq -56(%rbp), %r12
leaq -64(%rbp), %r13
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq 8(%rbx), %rdi
movl (%rbx), %eax
leal 4(,%rax,4), %esi
callq _realloc
testq %rax, %rax
je LBB0_7
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq %rax, 8(%rbx)
movq %r14, %rdi
movq %r12, %rsi
movl $10, %edx
callq _strtol
movq -56(%rbp), %rcx
cmpb $0, (%rcx)
setne %cl
testq %rax, %rax
sets %dl
testb %dl, %cl
jne LBB0_8
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movq _INT_MAX@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jg LBB0_8
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
movq 8(%rbx), %rcx
movslq (%rbx), %rdx
leal -1(%rdx), %esi
movl %esi, (%rbx)
movl %eax, (%rcx,%rdx,4)
xorl %edi, %edi
movq %r15, %rsi
movq %r13, %rdx
callq _strtok_r
movq %rax, %r14
testq %rax, %rax
jne LBB0_2
LBB0_6:
movq -48(%rbp), %rdi ## 8-byte Reload
callq _free
xorl %eax, %eax
jmp LBB0_10
LBB0_7:
movq %rbx, %rdi
callq _der_free_oid
movq -48(%rbp), %rdi ## 8-byte Reload
callq _free
movq _ENOMEM@GOTPCREL(%rip), %rax
jmp LBB0_9
LBB0_8:
movq %rbx, %rdi
callq _der_free_oid
movq -48(%rbp), %rdi ## 8-byte Reload
callq _free
movq _EINVAL@GOTPCREL(%rip), %rax
LBB0_9:
movl (%rax), %eax
LBB0_10:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "."
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _INT_MAX,8,3 ## @INT_MAX
.comm _EINVAL,4,2 ## @EINVAL
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _der_parse_heim_oid ; -- Begin function der_parse_heim_oid
.p2align 2
_der_parse_heim_oid: ; @der_parse_heim_oid
.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
str wzr, [x2]
str xzr, [x2, #8]
Lloh0:
adrp x8, l_.str@PAGE
Lloh1:
add x8, x8, l_.str@PAGEOFF
cmp x1, #0
csel x21, xzr, x8, eq
bl _strdup
mov x20, x0
add x2, sp, #8
mov x1, x21
bl _strtok_r
cbz x0, LBB0_5
; %bb.1:
mov x22, x0
Lloh2:
adrp x23, _INT_MAX@GOTPAGE
Lloh3:
ldr x23, [x23, _INT_MAX@GOTPAGEOFF]
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x0, [x19, #8]
ldr w8, [x19]
lsl w8, w8, #2
add w1, w8, #4
bl _realloc
cbz x0, LBB0_6
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
str x0, [x19, #8]
mov x1, sp
mov x0, x22
mov w2, #10 ; =0xa
bl _strtol
ldr x8, [sp]
ldrb w8, [x8]
cmp x0, #0
ccmp w8, #0, #4, lt
ldr x8, [x23]
ccmp x0, x8, #0, eq
b.gt LBB0_7
; %bb.4: ; in Loop: Header=BB0_2 Depth=1
ldr x8, [x19, #8]
ldrsw x9, [x19]
sub w10, w9, #1
str w10, [x19]
str w0, [x8, x9, lsl #2]
add x2, sp, #8
mov x0, #0 ; =0x0
mov x1, x21
bl _strtok_r
mov x22, x0
cbnz x0, LBB0_2
LBB0_5:
mov x0, x20
bl _free
mov w0, #0 ; =0x0
b LBB0_9
LBB0_6:
mov x0, x19
bl _der_free_oid
mov x0, x20
bl _free
Lloh4:
adrp x8, _ENOMEM@GOTPAGE
Lloh5:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
b LBB0_8
LBB0_7:
mov x0, x19
bl _der_free_oid
mov x0, x20
bl _free
Lloh6:
adrp x8, _EINVAL@GOTPAGE
Lloh7:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_8:
ldr w0, [x8]
LBB0_9:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "."
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _INT_MAX,8,3 ; @INT_MAX
.comm _EINVAL,4,2 ; @EINVAL
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function unicode_iconv_encoding_convert
_unicode_iconv_encoding_convert: ## @unicode_iconv_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
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdx, %rbx
movq $0, (%rdi)
movq $0, (%rsi)
movq %rdx, %rdi
callq _unicode_iconv_init
testl %eax, %eax
je LBB0_2
## %bb.1:
movl (%rbx), %edi
leaq L_.str(%rip), %rsi
callq _ntlm_client_set_errmsg
LBB0_2:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _unicode_iconv_utf8_to_16,8,3 ## @unicode_iconv_utf8_to_16
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "out of memory"
.comm _errno,8,3 ## @errno
.comm _E2BIG,8,3 ## @E2BIG
.comm _NTLM_UNICODE_MAX_LEN,8,3 ## @NTLM_UNICODE_MAX_LEN
.no_dead_strip _unicode_iconv_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_iconv_encoding_convert
_unicode_iconv_encoding_convert: ; @unicode_iconv_encoding_convert
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x2
str xzr, [x0]
str xzr, [x1]
mov x0, x2
bl _unicode_iconv_init
cbz w0, LBB0_2
; %bb.1:
ldr w0, [x19]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _ntlm_client_set_errmsg
LBB0_2:
mov w0, #0 ; =0x0
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
.comm _unicode_iconv_utf8_to_16,8,3 ; @unicode_iconv_utf8_to_16
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "out of memory"
.comm _errno,8,3 ; @errno
.comm _E2BIG,8,3 ; @E2BIG
.comm _NTLM_UNICODE_MAX_LEN,8,3 ; @NTLM_UNICODE_MAX_LEN
.no_dead_strip _unicode_iconv_encoding_convert
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _quicly_sendbuf_write_vec ## -- Begin function quicly_sendbuf_write_vec
.p2align 4, 0x90
_quicly_sendbuf_write_vec: ## @quicly_sendbuf_write_vec
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
movl 8(%rsi), %eax
xorl %edi, %edi
cmpl 12(%rsi), %eax
setle %dil
callq _assert
movslq 8(%rbx), %rax
cmpl 12(%rbx), %eax
jne LBB0_2
## %bb.1:
leal (%rax,%rax), %ecx
testl %eax, %eax
movl $4, %eax
cmovnel %ecx, %eax
movslq %eax, %rsi
movq 16(%rbx), %rdi
shlq $3, %rsi
callq _realloc
movq _PTLS_ERROR_NO_MEMORY@GOTPCREL(%rip), %rax
movl (%rax), %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_2:
movq 16(%rbx), %rcx
leal 1(%rax), %edx
movl %edx, 8(%rbx)
movq (%r15), %rdx
movq %rdx, (%rcx,%rax,8)
addl %edx, (%rbx)
movq %r14, %rdi
movl $1, %esi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _quicly_stream_sync_sendbuf ## TAILCALL
.cfi_endproc
## -- End function
.comm _PTLS_ERROR_NO_MEMORY,4,2 ## @PTLS_ERROR_NO_MEMORY
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _quicly_sendbuf_write_vec ; -- Begin function quicly_sendbuf_write_vec
.p2align 2
_quicly_sendbuf_write_vec: ; @quicly_sendbuf_write_vec
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x21, x2
mov x19, x1
mov x20, x0
ldp w8, w9, [x1, #8]
cmp w8, w9
cset w0, le
bl _assert
ldp w8, w9, [x19, #8]
; kill: def $w8 killed $w8 def $x8
sxtw x8, w8
cmp w8, w9
b.ne LBB0_2
; %bb.1:
lsl w9, w8, #1
mov w10, #4 ; =0x4
cmp w8, #0
csel w8, w10, w9, eq
ldr x0, [x19, #16]
sbfiz x1, x8, #3, #32
bl _realloc
Lloh0:
adrp x8, _PTLS_ERROR_NO_MEMORY@GOTPAGE
Lloh1:
ldr x8, [x8, _PTLS_ERROR_NO_MEMORY@GOTPAGEOFF]
Lloh2:
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_2:
ldr x9, [x19, #16]
add w10, w8, #1
ldr x11, [x21]
str x11, [x9, x8, lsl #3]
str w10, [x19, #8]
ldr w8, [x19]
add w8, w8, w11
str w8, [x19]
mov x0, x20
mov w1, #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
b _quicly_stream_sync_sendbuf
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _PTLS_ERROR_NO_MEMORY,4,2 ; @PTLS_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 fpm_array_push
_fpm_array_push: ## @fpm_array_push
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
movq (%rdi), %rsi
cmpq 8(%rdi), %rsi
jne LBB0_3
## %bb.1:
leaq (%rsi,%rsi), %rax
testq %rsi, %rsi
movl $20, %r14d
cmovneq %rax, %r14
movq 24(%rbx), %rdi
movq 16(%rbx), %rsi
imulq %r14, %rsi
callq _realloc
testq %rax, %rax
je LBB0_4
## %bb.2:
movq %rax, 24(%rbx)
movq %r14, 8(%rbx)
movq (%rbx), %rsi
LBB0_3:
movq %rbx, %rdi
callq _fpm_array_item
incq (%rbx)
LBB0_5:
popq %rbx
popq %r14
popq %rbp
retq
LBB0_4:
xorl %eax, %eax
jmp LBB0_5
.cfi_endproc
## -- End function
.no_dead_strip _fpm_array_push
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function fpm_array_push
_fpm_array_push: ; @fpm_array_push
.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 x1, x8, [x0]
cmp x1, x8
b.ne LBB0_3
; %bb.1:
lsl x8, x1, #1
mov w9, #20 ; =0x14
cmp x1, #0
csel x20, x9, x8, eq
ldp x8, x0, [x19, #16]
mul x1, x8, x20
bl _realloc
cbz x0, LBB0_4
; %bb.2:
str x0, [x19, #24]
str x20, [x19, #8]
ldr x1, [x19]
LBB0_3:
mov x0, x19
bl _fpm_array_item
ldr x8, [x19]
add x8, x8, #1
str x8, [x19]
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 _fpm_array_push
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function Gcompile
_Gcompile: ## @Gcompile
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_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, %r13
movq %rdi, -48(%rbp) ## 8-byte Spill
xorl %ebx, %ebx
xorl %eax, %eax
callq _check_utf8
movq _RE_SYNTAX_GREP@GOTPCREL(%rip), %r14
movq _RE_HAT_LISTS_NOT_NEWLINE@GOTPCREL(%rip), %r15
movl (%r15), %eax
movq _match_icase@GOTPCREL(%rip), %r12
andl (%r14), %eax
cmpq $0, (%r12)
je LBB0_2
## %bb.1:
movq _RE_ICASE@GOTPCREL(%rip), %rcx
movl (%rcx), %ebx
LBB0_2:
orl %eax, %ebx
movl %ebx, %edi
callq _re_set_syntax
movl (%r15), %edi
orl (%r14), %edi
movq (%r12), %rsi
movq _eolbyte@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _dfasyntax
movq _pcount@GOTPCREL(%rip), %r15
movq %r13, -64(%rbp) ## 8-byte Spill
movq %r13, %r12
movq -48(%rbp), %r14 ## 8-byte Reload
jmp LBB0_3
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_3 Depth=1
movq -72(%rbp), %rax ## 8-byte Reload
leaq -1(%rax), %r14
subq %r13, %r12
incq %r12
movq _pcount@GOTPCREL(%rip), %r15
incl (%r15)
testq %rax, %rax
je LBB0_8
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
movl $10, %esi
movq %r12, %rdx
callq _memchr
movq %rax, %r13
subq %r14, %r13
movq %rax, -72(%rbp) ## 8-byte Spill
testq %rax, %rax
movq %r13, %rbx
cmoveq %r12, %rbx
movq _patterns@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movl (%r15), %eax
leal 4(,%rax,4), %esi
callq _realloc
movq _patterns@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
testq %rax, %rax
jne LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq _errno@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -52(%rbp) ## 4-byte Spill
leaq L_.str(%rip), %rdi
callq __
movl $2, %edi
movl -52(%rbp), %esi ## 4-byte Reload
movq %rax, %rdx
callq _error
movq _patterns@GOTPCREL(%rip), %rax
movq (%rax), %rax
LBB0_5: ## in Loop: Header=BB0_3 Depth=1
movslq (%r15), %rcx
movq _patterns0@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
movl %edx, (%rax,%rcx,4)
movslq (%r15), %rcx
leaq (%rax,%rcx,4), %rdx
movq %r14, %rdi
movq %rbx, %rsi
callq _re_compile_pattern
testq %rax, %rax
je LBB0_7
## %bb.6: ## in Loop: Header=BB0_3 Depth=1
movl $2, %edi
xorl %esi, %esi
movq %rax, %rdx
callq _error
jmp LBB0_7
LBB0_8:
movq _match_words@GOTPCREL(%rip), %rax
movq _match_lines@GOTPCREL(%rip), %r12
movq (%r12), %rcx
orq (%rax), %rcx
je LBB0_9
## %bb.10:
movq -64(%rbp), %r15 ## 8-byte Reload
leal 45(%r15), %edi
callq _xmalloc
movq %rax, %r14
cmpq $0, (%r12)
leaq _Gcompile.word_beg(%rip), %rax
leaq _Gcompile.line_beg(%rip), %rsi
cmoveq %rax, %rsi
movq %r14, %rdi
callq _strcpy
movq %r14, %rdi
callq _strlen
movq %rax, %rbx
leaq (%r14,%rax), %rdi
movq -48(%rbp), %rsi ## 8-byte Reload
movq %r15, %rdx
callq _memcpy
addq %r15, %rbx
movq %r14, %r15
addq %rbx, %r15
cmpq $0, (%r12)
leaq _Gcompile.word_end(%rip), %rax
leaq _Gcompile.line_end(%rip), %rsi
cmoveq %rax, %rsi
movq %r15, %rdi
callq _strcpy
movq %r15, %rdi
callq _strlen
movq %rax, %rsi
addq %rbx, %rsi
movq %r14, %rdi
jmp LBB0_11
LBB0_9:
movq -64(%rbp), %rsi ## 8-byte Reload
movq -48(%rbp), %rdi ## 8-byte Reload
LBB0_11:
movq _dfa@GOTPCREL(%rip), %rdx
movl $1, %ecx
callq _dfacomp
xorl %eax, %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _kwsmusts ## TAILCALL
.cfi_endproc
## -- End function
.comm _RE_SYNTAX_GREP,4,2 ## @RE_SYNTAX_GREP
.comm _RE_HAT_LISTS_NOT_NEWLINE,4,2 ## @RE_HAT_LISTS_NOT_NEWLINE
.comm _match_icase,8,3 ## @match_icase
.comm _RE_ICASE,4,2 ## @RE_ICASE
.comm _eolbyte,4,2 ## @eolbyte
.comm _patterns,8,3 ## @patterns
.comm _pcount,4,2 ## @pcount
.comm _errno,4,2 ## @errno
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "memory exhausted"
.comm _patterns0,4,2 ## @patterns0
.comm _match_words,8,3 ## @match_words
.comm _match_lines,8,3 ## @match_lines
.section __TEXT,__const
_Gcompile.line_beg: ## @Gcompile.line_beg
.asciz "^\\("
_Gcompile.line_end: ## @Gcompile.line_end
.asciz "\\)$"
.p2align 4, 0x0 ## @Gcompile.word_beg
_Gcompile.word_beg:
.asciz "\\(^\\|[^[:alnum:]_]\\)\\("
.p2align 4, 0x0 ## @Gcompile.word_end
_Gcompile.word_end:
.asciz "\\)\\([^[:alnum:]_]\\|$\\)"
.comm _dfa,4,2 ## @dfa
.no_dead_strip _Gcompile
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function Gcompile
_Gcompile: ; @Gcompile
.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 x22, x1
mov x24, x0
bl _check_utf8
Lloh0:
adrp x19, _RE_SYNTAX_GREP@GOTPAGE
Lloh1:
ldr x19, [x19, _RE_SYNTAX_GREP@GOTPAGEOFF]
ldr w8, [x19]
Lloh2:
adrp x20, _RE_HAT_LISTS_NOT_NEWLINE@GOTPAGE
Lloh3:
ldr x20, [x20, _RE_HAT_LISTS_NOT_NEWLINE@GOTPAGEOFF]
ldr w9, [x20]
and w8, w9, w8
Lloh4:
adrp x21, _match_icase@GOTPAGE
Lloh5:
ldr x21, [x21, _match_icase@GOTPAGEOFF]
ldr x9, [x21]
Lloh6:
adrp x10, _RE_ICASE@GOTPAGE
Lloh7:
ldr x10, [x10, _RE_ICASE@GOTPAGEOFF]
Lloh8:
ldr w10, [x10]
cmp x9, #0
csel w9, wzr, w10, eq
orr w0, w9, w8
bl _re_set_syntax
ldr w8, [x19]
ldr w9, [x20]
ldr x1, [x21]
Lloh9:
adrp x10, _eolbyte@GOTPAGE
Lloh10:
ldr x10, [x10, _eolbyte@GOTPAGEOFF]
Lloh11:
ldr w2, [x10]
orr w0, w9, w8
bl _dfasyntax
Lloh12:
adrp x27, _patterns@GOTPAGE
Lloh13:
ldr x27, [x27, _patterns@GOTPAGEOFF]
Lloh14:
adrp x28, _pcount@GOTPAGE
Lloh15:
ldr x28, [x28, _pcount@GOTPAGEOFF]
Lloh16:
adrp x21, l_.str@PAGE
Lloh17:
add x21, x21, l_.str@PAGEOFF
str x22, [sp, #8] ; 8-byte Folded Spill
Lloh18:
adrp x19, _patterns0@GOTPAGE
Lloh19:
ldr x19, [x19, _patterns0@GOTPAGEOFF]
str x24, [sp] ; 8-byte Folded Spill
b LBB0_2
LBB0_1: ; in Loop: Header=BB0_2 Depth=1
sub x24, x23, #1
sub x8, x22, x20
add x22, x8, #1
ldr w8, [x28]
add w8, w8, #1
str w8, [x28]
cbz x23, LBB0_6
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x0, x24
mov w1, #10 ; =0xa
mov x2, x22
bl _memchr
mov x23, x0
sub x20, x0, x24
cmp x0, #0
csel x25, x22, x20, eq
ldr x0, [x27]
ldr w8, [x28]
lsl w8, w8, #2
add w1, w8, #4
bl _realloc
str x0, [x27]
cbnz x0, LBB0_4
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
Lloh20:
adrp x8, _errno@GOTPAGE
Lloh21:
ldr x8, [x8, _errno@GOTPAGEOFF]
Lloh22:
ldr w26, [x8]
mov x0, x21
bl __
mov x2, x0
mov w0, #2 ; =0x2
mov x1, x26
bl _error
ldr x0, [x27]
LBB0_4: ; in Loop: Header=BB0_2 Depth=1
ldrsw x8, [x28]
ldr w9, [x19]
str w9, [x0, x8, lsl #2]
ldrsw x8, [x28]
add x2, x0, x8, lsl #2
mov x0, x24
mov x1, x25
bl _re_compile_pattern
cbz x0, LBB0_1
; %bb.5: ; in Loop: Header=BB0_2 Depth=1
mov x2, x0
mov w0, #2 ; =0x2
mov w1, #0 ; =0x0
bl _error
b LBB0_1
LBB0_6:
Lloh23:
adrp x8, _match_words@GOTPAGE
Lloh24:
ldr x8, [x8, _match_words@GOTPAGEOFF]
Lloh25:
ldr x8, [x8]
Lloh26:
adrp x19, _match_lines@GOTPAGE
Lloh27:
ldr x19, [x19, _match_lines@GOTPAGEOFF]
ldr x9, [x19]
orr x8, x8, x9
cbz x8, LBB0_8
; %bb.7:
ldr x20, [sp, #8] ; 8-byte Folded Reload
add w0, w20, #45
bl _xmalloc
mov x21, x0
ldr x8, [x19]
Lloh28:
adrp x9, _Gcompile.line_beg@PAGE
Lloh29:
add x9, x9, _Gcompile.line_beg@PAGEOFF
Lloh30:
adrp x10, _Gcompile.word_beg@PAGE
Lloh31:
add x10, x10, _Gcompile.word_beg@PAGEOFF
cmp x8, #0
csel x1, x10, x9, eq
bl _strcpy
mov x0, x21
bl _strlen
mov x22, x0
add x0, x21, x0
ldr x1, [sp] ; 8-byte Folded Reload
mov x2, x20
bl _memcpy
add x20, x22, x20
ldr x8, [x19]
Lloh32:
adrp x9, _Gcompile.line_end@PAGE
Lloh33:
add x9, x9, _Gcompile.line_end@PAGEOFF
Lloh34:
adrp x10, _Gcompile.word_end@PAGE
Lloh35:
add x10, x10, _Gcompile.word_end@PAGEOFF
cmp x8, #0
csel x1, x10, x9, eq
add x0, x21, x20
bl _strcpy
add x0, x21, x20
bl _strlen
add x1, x0, x20
mov x0, x21
b LBB0_9
LBB0_8:
ldp x0, x1, [sp] ; 16-byte Folded Reload
LBB0_9:
Lloh36:
adrp x2, _dfa@GOTPAGE
Lloh37:
ldr x2, [x2, _dfa@GOTPAGEOFF]
mov w3, #1 ; =0x1
bl _dfacomp
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
b _kwsmusts
.loh AdrpLdrGot Lloh18, Lloh19
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGot Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpAdd Lloh34, Lloh35
.loh AdrpAdd Lloh32, Lloh33
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpLdrGot Lloh36, Lloh37
.cfi_endproc
; -- End function
.comm _RE_SYNTAX_GREP,4,2 ; @RE_SYNTAX_GREP
.comm _RE_HAT_LISTS_NOT_NEWLINE,4,2 ; @RE_HAT_LISTS_NOT_NEWLINE
.comm _match_icase,8,3 ; @match_icase
.comm _RE_ICASE,4,2 ; @RE_ICASE
.comm _eolbyte,4,2 ; @eolbyte
.comm _patterns,8,3 ; @patterns
.comm _pcount,4,2 ; @pcount
.comm _errno,4,2 ; @errno
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "memory exhausted"
.comm _patterns0,4,2 ; @patterns0
.comm _match_words,8,3 ; @match_words
.comm _match_lines,8,3 ; @match_lines
.section __TEXT,__const
_Gcompile.line_beg: ; @Gcompile.line_beg
.asciz "^\\("
_Gcompile.line_end: ; @Gcompile.line_end
.asciz "\\)$"
_Gcompile.word_beg: ; @Gcompile.word_beg
.asciz "\\(^\\|[^[:alnum:]_]\\)\\("
_Gcompile.word_end: ; @Gcompile.word_end
.asciz "\\)\\([^[:alnum:]_]\\|$\\)"
.comm _dfa,4,2 ; @dfa
.no_dead_strip _Gcompile
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function parse_options
_parse_options: ## @parse_options
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movl %edi, %r14d
cmpl $2, %edi
jg LBB0_2
## %bb.1:
movq (%rbx), %rdi
callq _usage
LBB0_2:
movl $4000, %edi ## imm = 0xFA0
callq _sqlcipher_set_default_kdf_iter
xorl %edi, %edi
callq _sqlcipher_set_default_use_hmac
movq _g_cipher_conf@GOTPCREL(%rip), %rax
movl $-1, (%rax)
movq _optind@GOTPCREL(%rip), %rax
movl $1, (%rax)
movq _g_options@GOTPCREL(%rip), %r12
leaq LJTI0_0(%rip), %r15
movq _g_load_master@GOTPCREL(%rip), %r13
movl %r14d, -44(%rbp) ## 4-byte Spill
jmp LBB0_3
LBB0_5: ## in Loop: Header=BB0_3 Depth=1
cmpl $-1, %eax
je LBB0_42
LBB0_6: ## in Loop: Header=BB0_3 Depth=1
movq (%rbx), %rdi
callq _usage
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movl (%r12), %ecx
movl %r14d, %edi
movq %rbx, %rsi
leaq L_.str(%rip), %rdx
xorl %r8d, %r8d
callq _getopt_long
## kill: def $eax killed $eax def $rax
cmpl $255, %eax
jg LBB0_8
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
leal -75(%rax), %ecx
cmpl $43, %ecx
ja LBB0_5
## %bb.7: ## in Loop: Header=BB0_3 Depth=1
movslq (%r15,%rcx,4), %rax
addq %r15, %rax
jmpq *%rax
LBB0_16: ## in Loop: Header=BB0_3 Depth=1
movq _optarg@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _g_out_key@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
jmp LBB0_3
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_3 Depth=1
cmpl $256, %eax ## imm = 0x100
je LBB0_24
## %bb.9: ## in Loop: Header=BB0_3 Depth=1
cmpl $257, %eax ## imm = 0x101
jne LBB0_6
## %bb.10: ## in Loop: Header=BB0_3 Depth=1
movq _optarg@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _atoi
cmpl $8191, %eax ## imm = 0x1FFF
jg LBB0_35
## %bb.11: ## in Loop: Header=BB0_3 Depth=1
cmpl $2047, %eax ## imm = 0x7FF
jg LBB0_33
## %bb.12: ## in Loop: Header=BB0_3 Depth=1
cmpl $512, %eax ## imm = 0x200
je LBB0_38
## %bb.13: ## in Loop: Header=BB0_3 Depth=1
cmpl $1024, %eax ## imm = 0x400
je LBB0_38
jmp LBB0_41
LBB0_23: ## in Loop: Header=BB0_3 Depth=1
movq _optarg@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, (%r13)
jmp LBB0_3
LBB0_15: ## in Loop: Header=BB0_3 Depth=1
movq _optarg@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _g_out_path@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
jmp LBB0_3
LBB0_22: ## in Loop: Header=BB0_3 Depth=1
movq _optarg@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _g_save_master@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
jmp LBB0_3
LBB0_14: ## in Loop: Header=BB0_3 Depth=1
movq _g_verbose@GOTPCREL(%rip), %rax
movl $1, (%rax)
jmp LBB0_3
LBB0_18: ## in Loop: Header=BB0_3 Depth=1
movq _g_num_filter@GOTPCREL(%rip), %rdi
movl (%rdi), %ecx
movq _g_filter@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _g_filter_capacity@GOTPCREL(%rip), %rdx
cmpl (%rdx), %ecx
jne LBB0_21
## %bb.19: ## in Loop: Header=BB0_3 Depth=1
movq %rbx, %r14
movq %r13, %rbx
leal (%rcx,%rcx), %r12d
testl %ecx, %ecx
movl $64, %ecx
cmovel %ecx, %r12d
movslq %r12d, %rsi
shlq $3, %rsi
movq %rax, %rdi
callq _realloc
testq %rax, %rax
je LBB0_51
## %bb.20: ## in Loop: Header=BB0_3 Depth=1
movq _g_filter@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
movq _g_filter_capacity@GOTPCREL(%rip), %rcx
movl %r12d, (%rcx)
movq _g_num_filter@GOTPCREL(%rip), %rdi
movl (%rdi), %ecx
movq %rbx, %r13
movq %r14, %rbx
movl -44(%rbp), %r14d ## 4-byte Reload
movq _g_options@GOTPCREL(%rip), %r12
LBB0_21: ## in Loop: Header=BB0_3 Depth=1
movq _optarg@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
leal 1(%rcx), %esi
movl %esi, (%rdi)
movslq %ecx, %rcx
movq %rdx, (%rax,%rcx,8)
jmp LBB0_3
LBB0_17: ## in Loop: Header=BB0_3 Depth=1
movq _optarg@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq _g_cipher_conf@GOTPCREL(%rip), %r12
movq %rdi, 8(%r12)
callq _strlen
movl %eax, 4(%r12)
movq _g_options@GOTPCREL(%rip), %r12
jmp LBB0_3
LBB0_24: ## in Loop: Header=BB0_3 Depth=1
movq _optarg@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _atoi
cmpl $3, %eax
je LBB0_30
## %bb.25: ## in Loop: Header=BB0_3 Depth=1
cmpl $2, %eax
je LBB0_28
## %bb.26: ## in Loop: Header=BB0_3 Depth=1
cmpl $1, %eax
jne LBB0_31
## %bb.27: ## in Loop: Header=BB0_3 Depth=1
movl $4000, %edi ## imm = 0xFA0
callq _sqlcipher_set_default_kdf_iter
xorl %edi, %edi
callq _sqlcipher_set_default_use_hmac
jmp LBB0_3
LBB0_35: ## in Loop: Header=BB0_3 Depth=1
cmpl $32767, %eax ## imm = 0x7FFF
jg LBB0_39
## %bb.36: ## in Loop: Header=BB0_3 Depth=1
cmpl $8192, %eax ## imm = 0x2000
je LBB0_38
## %bb.37: ## in Loop: Header=BB0_3 Depth=1
cmpl $16384, %eax ## imm = 0x4000
je LBB0_38
jmp LBB0_41
LBB0_28: ## in Loop: Header=BB0_3 Depth=1
movl $4000, %edi ## imm = 0xFA0
jmp LBB0_29
LBB0_30: ## in Loop: Header=BB0_3 Depth=1
movl $64000, %edi ## imm = 0xFA00
LBB0_29: ## in Loop: Header=BB0_3 Depth=1
callq _sqlcipher_set_default_kdf_iter
movl $1, %edi
callq _sqlcipher_set_default_use_hmac
jmp LBB0_3
LBB0_33: ## in Loop: Header=BB0_3 Depth=1
cmpl $2048, %eax ## imm = 0x800
je LBB0_38
## %bb.34: ## in Loop: Header=BB0_3 Depth=1
cmpl $4096, %eax ## imm = 0x1000
je LBB0_38
jmp LBB0_41
LBB0_39: ## in Loop: Header=BB0_3 Depth=1
cmpl $32768, %eax ## imm = 0x8000
je LBB0_38
## %bb.40: ## in Loop: Header=BB0_3 Depth=1
cmpl $65536, %eax ## imm = 0x10000
jne LBB0_41
LBB0_38: ## in Loop: Header=BB0_3 Depth=1
movl %eax, %edi
callq _sqlcipher_set_default_pagesize
jmp LBB0_3
LBB0_42:
movq _optind@GOTPCREL(%rip), %rdx
movl (%rdx), %eax
incl %r14d
cmpl %r14d, %eax
je LBB0_44
## %bb.43:
movq (%rbx), %rdi
callq _usage
movq _optind@GOTPCREL(%rip), %rdx
movl (%rdx), %eax
LBB0_44:
leal 1(%rax), %ecx
movl %ecx, (%rdx)
cltq
movq (%rbx,%rax,8), %rax
movq _g_in_path@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
movq _g_save_master@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
movq _g_out_path@GOTPCREL(%rip), %rax
movq (%rax), %rax
je LBB0_45
## %bb.46:
orq (%r13), %rax
je LBB0_50
## %bb.47:
leaq L_.str.3(%rip), %rdi
callq _LOGI
movq (%rbx), %rdi
callq _usage
movq _g_out_path@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _g_save_master@GOTPCREL(%rip), %rcx
cmpq $0, (%rcx)
setne %cl
testq %rax, %rax
je LBB0_49
jmp LBB0_50
LBB0_45:
xorl %ecx, %ecx
testq %rax, %rax
jne LBB0_50
LBB0_49:
testb %cl, %cl
jne LBB0_50
## %bb.52:
leaq L_.str.4(%rip), %rdi
callq _LOGI
movq (%rbx), %rdi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _usage ## TAILCALL
LBB0_50:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_51:
movl $-5, %edi
callq _exit
LBB0_31:
leaq L_.str.1(%rip), %rdi
jmp LBB0_32
LBB0_41:
leaq L_.str.2(%rip), %rdi
LBB0_32:
callq _LOGI
movl $-1, %edi
callq _exit
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
LJTI0_0:
.long L0_0_set_16
.long L0_0_set_6
.long L0_0_set_22
.long L0_0_set_6
.long L0_0_set_6
.long L0_0_set_6
.long L0_0_set_6
.long L0_0_set_6
.long L0_0_set_6
.long L0_0_set_6
.long L0_0_set_6
.long L0_0_set_6
.long L0_0_set_6
.long L0_0_set_6
.long L0_0_set_6
.long L0_0_set_6
.long L0_0_set_6
.long L0_0_set_6
.long L0_0_set_6
.long L0_0_set_6
.long L0_0_set_6
.long L0_0_set_6
.long L0_0_set_6
.long L0_0_set_6
.long L0_0_set_6
.long L0_0_set_6
.long L0_0_set_6
.long L0_0_set_18
.long L0_0_set_6
.long L0_0_set_6
.long L0_0_set_6
.long L0_0_set_6
.long L0_0_set_17
.long L0_0_set_6
.long L0_0_set_23
.long L0_0_set_6
.long L0_0_set_15
.long L0_0_set_6
.long L0_0_set_6
.long L0_0_set_6
.long L0_0_set_6
.long L0_0_set_6
.long L0_0_set_6
.long L0_0_set_14
.end_data_region
## -- End function
.comm _g_cipher_conf,16,3 ## @g_cipher_conf
.comm _optind,4,2 ## @optind
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "hvo:K:k:M:m:"
.comm _g_options,4,2 ## @g_options
.comm _g_verbose,4,2 ## @g_verbose
.comm _optarg,8,3 ## @optarg
.comm _g_out_path,8,3 ## @g_out_path
.comm _g_out_key,8,3 ## @g_out_key
.comm _g_num_filter,4,2 ## @g_num_filter
.comm _g_filter_capacity,4,2 ## @g_filter_capacity
.comm _g_filter,8,3 ## @g_filter
.comm _g_save_master,8,3 ## @g_save_master
.comm _g_load_master,8,3 ## @g_load_master
L_.str.1: ## @.str.1
.asciz "Version must be 1, 2 or 3"
L_.str.2: ## @.str.2
.asciz "Page size must be 512, 1024, 2048, ..., or 65536"
.comm _g_in_path,8,3 ## @g_in_path
L_.str.3: ## @.str.3
.asciz "--save-master must be used without --load-master or --output."
L_.str.4: ## @.str.4
.asciz "Output path must be specified."
.no_dead_strip _parse_options
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function parse_options
_parse_options: ; @parse_options
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x1
mov x20, x0
cmp w0, #2
b.gt LBB0_2
; %bb.1:
ldr x0, [x19]
bl _usage
LBB0_2:
mov w0, #4000 ; =0xfa0
bl _sqlcipher_set_default_kdf_iter
mov w0, #0 ; =0x0
bl _sqlcipher_set_default_use_hmac
Lloh0:
adrp x26, _g_cipher_conf@GOTPAGE
Lloh1:
ldr x26, [x26, _g_cipher_conf@GOTPAGEOFF]
mov w8, #-1 ; =0xffffffff
str w8, [x26]
Lloh2:
adrp x8, _optind@GOTPAGE
Lloh3:
ldr x8, [x8, _optind@GOTPAGEOFF]
mov w23, #1 ; =0x1
Lloh4:
adrp x28, _g_options@GOTPAGE
Lloh5:
ldr x28, [x28, _g_options@GOTPAGEOFF]
Lloh6:
adrp x21, l_.str@PAGE
Lloh7:
add x21, x21, l_.str@PAGEOFF
Lloh8:
adrp x24, _optarg@GOTPAGE
Lloh9:
ldr x24, [x24, _optarg@GOTPAGEOFF]
Lloh10:
adrp x27, _g_save_master@GOTPAGE
Lloh11:
ldr x27, [x27, _g_save_master@GOTPAGEOFF]
Lloh12:
str w23, [x8]
Lloh13:
adrp x22, _g_load_master@GOTPAGE
Lloh14:
ldr x22, [x22, _g_load_master@GOTPAGEOFF]
Lloh15:
adrp x25, _g_out_path@GOTPAGE
Lloh16:
ldr x25, [x25, _g_out_path@GOTPAGEOFF]
b LBB0_5
LBB0_3: ; in Loop: Header=BB0_5 Depth=1
cmn w0, #1
b.eq LBB0_47
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
ldr x0, [x19]
bl _usage
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr w3, [x28]
mov x0, x20
mov x1, x19
mov x2, x21
mov x4, #0 ; =0x0
bl _getopt_long
cmp w0, #108
b.gt LBB0_11
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
cmp w0, #101
b.le LBB0_19
; %bb.7: ; in Loop: Header=BB0_5 Depth=1
cmp w0, #102
b.eq LBB0_31
; %bb.8: ; in Loop: Header=BB0_5 Depth=1
cmp w0, #104
b.eq LBB0_4
; %bb.9: ; in Loop: Header=BB0_5 Depth=1
cmp w0, #107
b.ne LBB0_4
; %bb.10: ; in Loop: Header=BB0_5 Depth=1
ldr x0, [x24]
str x0, [x26, #8]
bl _strlen
str w0, [x26, #4]
b LBB0_5
LBB0_11: ; in Loop: Header=BB0_5 Depth=1
cmp w0, #117
b.le LBB0_22
; %bb.12: ; in Loop: Header=BB0_5 Depth=1
cmp w0, #118
b.eq LBB0_35
; %bb.13: ; in Loop: Header=BB0_5 Depth=1
cmp w0, #256
b.eq LBB0_26
; %bb.14: ; in Loop: Header=BB0_5 Depth=1
cmp w0, #257
b.ne LBB0_4
; %bb.15: ; in Loop: Header=BB0_5 Depth=1
ldr x0, [x24]
bl _atoi
cmp w0, #2, lsl #12 ; =8192
b.ge LBB0_36
; %bb.16: ; in Loop: Header=BB0_5 Depth=1
cmp w0, #2047
b.gt LBB0_42
; %bb.17: ; in Loop: Header=BB0_5 Depth=1
cmp w0, #512
b.eq LBB0_46
; %bb.18: ; in Loop: Header=BB0_5 Depth=1
cmp w0, #1024
b.eq LBB0_46
b LBB0_58
LBB0_19: ; in Loop: Header=BB0_5 Depth=1
cmp w0, #75
b.eq LBB0_30
; %bb.20: ; in Loop: Header=BB0_5 Depth=1
cmp w0, #77
b.ne LBB0_3
; %bb.21: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [x24]
str x8, [x27]
b LBB0_5
LBB0_22: ; in Loop: Header=BB0_5 Depth=1
cmp w0, #109
b.eq LBB0_25
; %bb.23: ; in Loop: Header=BB0_5 Depth=1
cmp w0, #111
b.ne LBB0_4
; %bb.24: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [x24]
str x8, [x25]
b LBB0_5
LBB0_25: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [x24]
str x8, [x22]
b LBB0_5
LBB0_26: ; in Loop: Header=BB0_5 Depth=1
ldr x0, [x24]
bl _atoi
cmp w0, #3
b.eq LBB0_40
; %bb.27: ; in Loop: Header=BB0_5 Depth=1
cmp w0, #2
b.eq LBB0_39
; %bb.28: ; in Loop: Header=BB0_5 Depth=1
cmp w0, #1
b.ne LBB0_57
; %bb.29: ; in Loop: Header=BB0_5 Depth=1
mov w0, #4000 ; =0xfa0
bl _sqlcipher_set_default_kdf_iter
mov w0, #0 ; =0x0
bl _sqlcipher_set_default_use_hmac
b LBB0_5
LBB0_30: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [x24]
Lloh17:
adrp x9, _g_out_key@GOTPAGE
Lloh18:
ldr x9, [x9, _g_out_key@GOTPAGEOFF]
Lloh19:
str x8, [x9]
b LBB0_5
LBB0_31: ; in Loop: Header=BB0_5 Depth=1
Lloh20:
adrp x11, _g_num_filter@GOTPAGE
Lloh21:
ldr x11, [x11, _g_num_filter@GOTPAGEOFF]
ldr w8, [x11]
Lloh22:
adrp x9, _g_filter_capacity@GOTPAGE
Lloh23:
ldr x9, [x9, _g_filter_capacity@GOTPAGEOFF]
Lloh24:
ldr w9, [x9]
Lloh25:
adrp x10, _g_filter@GOTPAGE
Lloh26:
ldr x10, [x10, _g_filter@GOTPAGEOFF]
Lloh27:
ldr x0, [x10]
cmp w8, w9
b.ne LBB0_34
; %bb.32: ; in Loop: Header=BB0_5 Depth=1
mov x23, x26
mov x26, x22
mov x22, x25
mov x25, x27
lsl w9, w8, #1
cmp w8, #0
mov w8, #64 ; =0x40
csel w27, w8, w9, eq
sbfiz x1, x27, #3, #32
bl _realloc
cbz x0, LBB0_56
; %bb.33: ; in Loop: Header=BB0_5 Depth=1
Lloh28:
adrp x8, _g_filter@GOTPAGE
Lloh29:
ldr x8, [x8, _g_filter@GOTPAGEOFF]
Lloh30:
str x0, [x8]
Lloh31:
adrp x8, _g_filter_capacity@GOTPAGE
Lloh32:
ldr x8, [x8, _g_filter_capacity@GOTPAGEOFF]
Lloh33:
str w27, [x8]
Lloh34:
adrp x11, _g_num_filter@GOTPAGE
Lloh35:
ldr x11, [x11, _g_num_filter@GOTPAGEOFF]
ldr w8, [x11]
mov x27, x25
mov x25, x22
mov x22, x26
mov x26, x23
mov w23, #1 ; =0x1
LBB0_34: ; in Loop: Header=BB0_5 Depth=1
ldr x9, [x24]
add w10, w8, #1
str w10, [x11]
str x9, [x0, w8, sxtw #3]
b LBB0_5
LBB0_35: ; in Loop: Header=BB0_5 Depth=1
Lloh36:
adrp x8, _g_verbose@GOTPAGE
Lloh37:
ldr x8, [x8, _g_verbose@GOTPAGEOFF]
Lloh38:
str w23, [x8]
b LBB0_5
LBB0_36: ; in Loop: Header=BB0_5 Depth=1
cmp w0, #8, lsl #12 ; =32768
b.ge LBB0_44
; %bb.37: ; in Loop: Header=BB0_5 Depth=1
cmp w0, #2, lsl #12 ; =8192
b.eq LBB0_46
; %bb.38: ; in Loop: Header=BB0_5 Depth=1
cmp w0, #4, lsl #12 ; =16384
b.eq LBB0_46
b LBB0_58
LBB0_39: ; in Loop: Header=BB0_5 Depth=1
mov w0, #4000 ; =0xfa0
b LBB0_41
LBB0_40: ; in Loop: Header=BB0_5 Depth=1
mov w0, #64000 ; =0xfa00
LBB0_41: ; in Loop: Header=BB0_5 Depth=1
bl _sqlcipher_set_default_kdf_iter
mov w0, #1 ; =0x1
bl _sqlcipher_set_default_use_hmac
b LBB0_5
LBB0_42: ; in Loop: Header=BB0_5 Depth=1
cmp w0, #2048
b.eq LBB0_46
; %bb.43: ; in Loop: Header=BB0_5 Depth=1
cmp w0, #1, lsl #12 ; =4096
b.eq LBB0_46
b LBB0_58
LBB0_44: ; in Loop: Header=BB0_5 Depth=1
b.eq LBB0_46
; %bb.45: ; in Loop: Header=BB0_5 Depth=1
cmp w0, #16, lsl #12 ; =65536
b.ne LBB0_58
LBB0_46: ; in Loop: Header=BB0_5 Depth=1
bl _sqlcipher_set_default_pagesize
b LBB0_5
LBB0_47:
Lloh39:
adrp x21, _optind@GOTPAGE
Lloh40:
ldr x21, [x21, _optind@GOTPAGEOFF]
ldr w8, [x21]
add w9, w20, #1
cmp w8, w9
b.eq LBB0_49
; %bb.48:
ldr x0, [x19]
bl _usage
ldr w8, [x21]
LBB0_49:
add w9, w8, #1
ldr x8, [x19, w8, sxtw #3]
str w9, [x21]
Lloh41:
adrp x9, _g_in_path@GOTPAGE
Lloh42:
ldr x9, [x9, _g_in_path@GOTPAGEOFF]
Lloh43:
str x8, [x9]
ldr x9, [x27]
ldr x8, [x25]
cbz x9, LBB0_52
; %bb.50:
ldr x9, [x22]
orr x8, x9, x8
cbz x8, LBB0_55
; %bb.51:
Lloh44:
adrp x0, l_.str.3@PAGE
Lloh45:
add x0, x0, l_.str.3@PAGEOFF
bl _LOGI
ldr x0, [x19]
bl _usage
ldr x8, [x25]
ldr x9, [x27]
cmp x9, #0
cset w9, ne
LBB0_52:
cbnz x8, LBB0_55
; %bb.53:
tbnz w9, #0, LBB0_55
; %bb.54:
Lloh46:
adrp x0, l_.str.4@PAGE
Lloh47:
add x0, x0, l_.str.4@PAGEOFF
bl _LOGI
ldr x0, [x19]
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
b _usage
LBB0_55:
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_56:
mov w0, #-5 ; =0xfffffffb
bl _exit
LBB0_57:
Lloh48:
adrp x0, l_.str.1@PAGE
Lloh49:
add x0, x0, l_.str.1@PAGEOFF
b LBB0_59
LBB0_58:
Lloh50:
adrp x0, l_.str.2@PAGE
Lloh51:
add x0, x0, l_.str.2@PAGEOFF
LBB0_59:
bl _LOGI
mov w0, #-1 ; =0xffffffff
bl _exit
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGotStr Lloh2, Lloh3, Lloh12
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotStr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpLdrGot Lloh20, Lloh21
.loh AdrpLdrGot Lloh34, Lloh35
.loh AdrpLdrGotStr Lloh31, Lloh32, Lloh33
.loh AdrpLdrGotStr Lloh28, Lloh29, Lloh30
.loh AdrpLdrGotStr Lloh36, Lloh37, Lloh38
.loh AdrpLdrGot Lloh39, Lloh40
.loh AdrpLdrGotStr Lloh41, Lloh42, Lloh43
.loh AdrpAdd Lloh44, Lloh45
.loh AdrpAdd Lloh46, Lloh47
.loh AdrpAdd Lloh48, Lloh49
.loh AdrpAdd Lloh50, Lloh51
.cfi_endproc
; -- End function
.comm _g_cipher_conf,16,3 ; @g_cipher_conf
.comm _optind,4,2 ; @optind
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "hvo:K:k:M:m:"
.comm _g_options,4,2 ; @g_options
.comm _g_verbose,4,2 ; @g_verbose
.comm _optarg,8,3 ; @optarg
.comm _g_out_path,8,3 ; @g_out_path
.comm _g_out_key,8,3 ; @g_out_key
.comm _g_num_filter,4,2 ; @g_num_filter
.comm _g_filter_capacity,4,2 ; @g_filter_capacity
.comm _g_filter,8,3 ; @g_filter
.comm _g_save_master,8,3 ; @g_save_master
.comm _g_load_master,8,3 ; @g_load_master
l_.str.1: ; @.str.1
.asciz "Version must be 1, 2 or 3"
l_.str.2: ; @.str.2
.asciz "Page size must be 512, 1024, 2048, ..., or 65536"
.comm _g_in_path,8,3 ; @g_in_path
l_.str.3: ; @.str.3
.asciz "--save-master must be used without --load-master or --output."
l_.str.4: ; @.str.4
.asciz "Output path must be specified."
.no_dead_strip _parse_options
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _login_timelist ## -- Begin function login_timelist
.p2align 4, 0x90
_login_timelist: ## @login_timelist
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_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, -48(%rbp) ## 8-byte Spill
movq %rdx, %r12
xorl %r13d, %r13d
xorl %edx, %edx
callq _login_getcaplist
movl $0, %r14d
testq %rax, %rax
je LBB0_14
## %bb.1:
movq %rax, %rbx
xorl %r15d, %r15d
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
addl $-4, %r13d
cmpq $0, (%rbx,%r15,8)
leaq -1(%r15), %r15
jne LBB0_2
## %bb.3:
movq -48(%rbp), %rax ## 8-byte Reload
movq (%rax), %r14
cmpl %r15d, (%r12)
jge LBB0_6
## %bb.4:
movq %r14, %rdi
movl %r13d, %esi
callq _realloc
testq %rax, %rax
je LBB0_13
## %bb.5:
movq %rax, %r14
movl %r15d, (%r12)
movq -48(%rbp), %rax ## 8-byte Reload
movq %r14, (%rax)
jmp LBB0_7
LBB0_6:
testq %r14, %r14
je LBB0_13
LBB0_7:
leaq 1(%r15), %rax
cmpq $2, %rax
jge LBB0_9
## %bb.8:
xorl %r15d, %r15d
jmp LBB0_11
LBB0_13:
xorl %r14d, %r14d
jmp LBB0_14
LBB0_9:
movl %r15d, %r15d
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_10: ## =>This Inner Loop Header: Depth=1
movq (%rbx,%r12,8), %rdi
callq _parse_lt
movl %eax, (%r14,%r12,4)
incq %r12
cmpq %r12, %r15
jne LBB0_10
LBB0_11:
movq _LTM_NONE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, (%r14,%r15,4)
LBB0_14:
movq %r14, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _LTM_NONE,4,2 ## @LTM_NONE
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _login_timelist ; -- Begin function login_timelist
.p2align 2
_login_timelist: ; @login_timelist
.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 x21, x2
mov x2, #0 ; =0x0
bl _login_getcaplist
cbz x0, LBB0_13
; %bb.1:
mov x19, x0
mov w1, #0 ; =0x0
mov x22, #0 ; =0x0
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, x22, lsl #3]
sub x22, x22, #1
sub w1, w1, #4
cbnz x8, LBB0_2
; %bb.3:
ldr w8, [x21]
ldr x0, [x20]
cmp w8, w22
b.ge LBB0_6
; %bb.4:
bl _realloc
cbz x0, LBB0_13
; %bb.5:
str w22, [x21]
str x0, [x20]
b LBB0_7
LBB0_6:
cbz x0, LBB0_13
LBB0_7:
add x8, x22, #1
cmp x8, #2
b.ge LBB0_9
; %bb.8:
mov x20, #0 ; =0x0
b LBB0_12
LBB0_9:
mov w20, w22
mov x22, x20
mov x21, x0
mov x23, x0
LBB0_10: ; =>This Inner Loop Header: Depth=1
ldr x0, [x19], #8
bl _parse_lt
str w0, [x23], #4
subs x22, x22, #1
b.ne LBB0_10
; %bb.11:
mov x0, x21
LBB0_12:
Lloh0:
adrp x8, _LTM_NONE@GOTPAGE
Lloh1:
ldr x8, [x8, _LTM_NONE@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
str w8, [x0, x20, lsl #2]
LBB0_13:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _LTM_NONE,4,2 ; @LTM_NONE
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function porterNext
_porterNext: ## @porterNext
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r9, -80(%rbp) ## 8-byte Spill
movq %r8, -72(%rbp) ## 8-byte Spill
movq %rcx, -64(%rbp) ## 8-byte Spill
movq %rdx, -48(%rbp) ## 8-byte Spill
movq %rsi, -56(%rbp) ## 8-byte Spill
movq %rdi, %r14
movq (%rdi), %r15
movq 8(%rdi), %r13
jmp LBB0_1
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_1 Depth=1
movslq %r12d, %rbx
cmpq %rbx, %r13
ja LBB0_12
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_4 Depth 2
## Child Loop BB0_9 Depth 2
movq 16(%r14), %rcx
cmpq %rcx, %r13
jae LBB0_2
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movq %r13, %r12
jmp LBB0_4
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_4 Depth=2
incq %r12
movq %r12, 8(%r14)
LBB0_4: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpq %rcx, %r12
jb LBB0_6
## %bb.5: ## in Loop: Header=BB0_4 Depth=2
movsbl (%r15,%r12), %edi
callq _isDelim
movq 8(%r14), %r12
movq 16(%r14), %rcx
testq %rax, %rax
jne LBB0_6
## %bb.7: ## in Loop: Header=BB0_1 Depth=1
movq %r12, %r13
cmpq %rcx, %r12
jae LBB0_11
## %bb.8: ## in Loop: Header=BB0_1 Depth=1
movq %r12, %r13
.p2align 4, 0x90
LBB0_9: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movsbl (%r15,%r13), %edi
callq _isDelim
movq 8(%r14), %r13
testq %rax, %rax
jne LBB0_11
## %bb.10: ## in Loop: Header=BB0_9 Depth=2
incq %r13
movq %r13, 8(%r14)
cmpq 16(%r14), %r13
jb LBB0_9
jmp LBB0_11
LBB0_2:
movq _SQLITE_DONE@GOTPCREL(%rip), %rax
jmp LBB0_17
LBB0_12:
subl %r12d, %r13d
cmpl %r13d, 24(%r14)
jle LBB0_15
## %bb.13:
movq 32(%r14), %rdx
jmp LBB0_14
LBB0_15:
leal 20(%r13), %esi
movl %esi, 24(%r14)
movq 32(%r14), %rdi
callq _realloc
movq %rax, %rdx
movq %rax, 32(%r14)
testq %rax, %rax
je LBB0_16
LBB0_14:
addq %rbx, %r15
movq %r15, %rdi
movl %r13d, %esi
movq -48(%rbp), %rcx ## 8-byte Reload
callq _porter_stemmer
movq 32(%r14), %rax
movq -56(%rbp), %rcx ## 8-byte Reload
movq %rax, (%rcx)
movq -64(%rbp), %rax ## 8-byte Reload
movl %r12d, (%rax)
movl 8(%r14), %eax
movq -72(%rbp), %rcx ## 8-byte Reload
movl %eax, (%rcx)
movl 40(%r14), %eax
leal 1(%rax), %ecx
movl %ecx, 40(%r14)
movq -80(%rbp), %rcx ## 8-byte Reload
movl %eax, (%rcx)
movq _SQLITE_OK@GOTPCREL(%rip), %rax
LBB0_17:
movl (%rax), %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_16:
movq _SQLITE_NOMEM@GOTPCREL(%rip), %rax
jmp LBB0_17
.cfi_endproc
## -- End function
.comm _SQLITE_NOMEM,4,2 ## @SQLITE_NOMEM
.comm _SQLITE_OK,4,2 ## @SQLITE_OK
.comm _SQLITE_DONE,4,2 ## @SQLITE_DONE
.no_dead_strip _porterNext
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function porterNext
_porterNext: ; @porterNext
.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, x5
mov x20, x4
mov x22, x3
mov x24, x2
mov x23, x1
mov x21, x0
ldp x26, x8, [x0]
Lloh0:
adrp x25, _SQLITE_DONE@GOTPAGE
Lloh1:
ldr x25, [x25, _SQLITE_DONE@GOTPAGEOFF]
b LBB0_2
LBB0_1: ; in Loop: Header=BB0_2 Depth=1
sxtw x28, w27
cmp x8, x28
b.hi LBB0_11
LBB0_2: ; =>This Loop Header: Depth=1
; Child Loop BB0_5 Depth 2
; Child Loop BB0_9 Depth 2
ldr x9, [x21, #16]
cmp x8, x9
b.hs LBB0_15
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
mov x27, x8
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_5 Depth=2
add x27, x27, #1
str x27, [x21, #8]
LBB0_5: ; Parent Loop BB0_2 Depth=1
; => This Inner Loop Header: Depth=2
cmp x27, x9
b.lo LBB0_4
; %bb.6: ; in Loop: Header=BB0_5 Depth=2
ldrsb w0, [x26, x27]
bl _isDelim
ldp x27, x9, [x21, #8]
cbnz x0, LBB0_4
; %bb.7: ; in Loop: Header=BB0_2 Depth=1
mov x8, x27
cmp x27, x9
b.hs LBB0_1
; %bb.8: ; in Loop: Header=BB0_2 Depth=1
mov x8, x27
LBB0_9: ; Parent Loop BB0_2 Depth=1
; => This Inner Loop Header: Depth=2
ldrsb w0, [x26, x8]
bl _isDelim
ldr x8, [x21, #8]
cbnz x0, LBB0_1
; %bb.10: ; in Loop: Header=BB0_9 Depth=2
add x8, x8, #1
str x8, [x21, #8]
ldr x9, [x21, #16]
cmp x8, x9
b.lo LBB0_9
b LBB0_1
LBB0_11:
ldr w9, [x21, #24]
sub w25, w8, w27
cmp w9, w25
b.le LBB0_13
; %bb.12:
ldr x2, [x21, #32]
b LBB0_14
LBB0_13:
add w1, w25, #20
str w1, [x21, #24]
ldr x0, [x21, #32]
bl _realloc
mov x2, x0
str x0, [x21, #32]
cbz x0, LBB0_16
LBB0_14:
add x0, x26, x28
mov x1, x25
mov x3, x24
bl _porter_stemmer
ldr x8, [x21, #32]
str x8, [x23]
str w27, [x22]
ldr x8, [x21, #8]
str w8, [x20]
ldr w8, [x21, #40]
add w9, w8, #1
str w9, [x21, #40]
str w8, [x19]
Lloh2:
adrp x25, _SQLITE_OK@GOTPAGE
Lloh3:
ldr x25, [x25, _SQLITE_OK@GOTPAGEOFF]
LBB0_15:
ldr w0, [x25]
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
LBB0_16:
Lloh4:
adrp x25, _SQLITE_NOMEM@GOTPAGE
Lloh5:
ldr x25, [x25, _SQLITE_NOMEM@GOTPAGEOFF]
b LBB0_15
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _SQLITE_NOMEM,4,2 ; @SQLITE_NOMEM
.comm _SQLITE_OK,4,2 ; @SQLITE_OK
.comm _SQLITE_DONE,4,2 ; @SQLITE_DONE
.no_dead_strip _porterNext
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function obj_alloc
_obj_alloc: ## @obj_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 %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edi, %ebx
movl $1, %edi
movl $8, %esi
callq _calloc
movl %ebx, 4(%rax)
movq _noids@GOTPCREL(%rip), %r14
movslq (%r14), %rcx
movq _oidtbl@GOTPCREL(%rip), %r12
movq (%r12), %rdi
xorl %r15d, %r15d
testq %rcx, %rcx
js LBB0_3
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpq $0, (%rdi,%r15,8)
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
decq %r15
cmpq %rcx, %r15
jle LBB0_1
LBB0_3:
cmpl %ecx, %r15d
jne LBB0_7
## %bb.4:
movq %rax, %rbx
leal -8(,%rcx,8), %esi
callq _realloc
testq %rax, %rax
je LBB0_5
## %bb.6:
movq %rax, %rdi
movq %rax, (%r12)
incl (%r14)
movq %rbx, %rax
LBB0_7:
movslq %r15d, %rcx
movq %rax, (%rdi,%rcx,8)
movl %r15d, (%rax)
LBB0_8:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_5:
movq %rbx, %rdi
callq _free
xorl %eax, %eax
jmp LBB0_8
.cfi_endproc
## -- End function
.comm _noids,4,2 ## @noids
.comm _oidtbl,8,3 ## @oidtbl
.no_dead_strip _obj_alloc
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function obj_alloc
_obj_alloc: ; @obj_alloc
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
mov w0, #1 ; =0x1
mov w1, #8 ; =0x8
bl _calloc
mov x8, x0
str w19, [x0, #4]
Lloh0:
adrp x20, _noids@GOTPAGE
Lloh1:
ldr x20, [x20, _noids@GOTPAGEOFF]
ldr w9, [x20]
Lloh2:
adrp x21, _oidtbl@GOTPAGE
Lloh3:
ldr x21, [x21, _oidtbl@GOTPAGEOFF]
ldr x0, [x21]
tbnz w9, #31, LBB0_5
; %bb.1:
mov x22, #0 ; =0x0
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x10, [x0, x22, lsl #3]
cbz x10, LBB0_4
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
sub x22, x22, #1
cmp x22, x9
b.le LBB0_2
LBB0_4:
cmp w22, w9
b.eq LBB0_6
b LBB0_8
LBB0_5:
mov w22, #0 ; =0x0
cmp w22, w9
b.ne LBB0_8
LBB0_6:
mov x19, x8
lsl w8, w9, #3
sub w1, w8, #8
bl _realloc
cbz x0, LBB0_10
; %bb.7:
str x0, [x21]
ldr w8, [x20]
add w8, w8, #1
str w8, [x20]
mov x8, x19
LBB0_8:
str x8, [x0, w22, sxtw #3]
str w22, [x8]
LBB0_9:
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_10:
mov x0, x19
bl _free
mov x8, #0 ; =0x0
b LBB0_9
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _noids,4,2 ; @noids
.comm _oidtbl,8,3 ; @oidtbl
.no_dead_strip _obj_alloc
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function stripsnug
_stripsnug: ## @stripsnug
.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
movl (%rdi), %esi
movl %esi, (%rbx)
movq 16(%rdi), %rdi
shll $2, %esi
callq _realloc
movq %rax, 16(%rbx)
testq %rax, %rax
je LBB0_2
## %bb.1:
movq _REG_ESPACE@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _SETERROR
movq 16(%r14), %rax
movq %rax, 16(%rbx)
LBB0_2:
movq 8(%r14), %rdi
movl (%r14), %esi
shll $2, %esi
callq _realloc
movq %rax, 8(%rbx)
testq %rax, %rax
jne LBB0_4
## %bb.3:
movq _REG_ESPACE@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _SETERROR
movq 8(%r14), %rax
movq %rax, 8(%rbx)
LBB0_4:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _REG_ESPACE,4,2 ## @REG_ESPACE
.no_dead_strip _stripsnug
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function stripsnug
_stripsnug: ; @stripsnug
.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, [x0]
str w8, [x1]
ldr x0, [x0, #16]
lsl w1, w8, #2
bl _realloc
str x0, [x19, #16]
Lloh0:
adrp x21, _REG_ESPACE@GOTPAGE
Lloh1:
ldr x21, [x21, _REG_ESPACE@GOTPAGEOFF]
cbz x0, LBB0_2
; %bb.1:
ldr w0, [x21]
bl _SETERROR
ldr x8, [x20, #16]
str x8, [x19, #16]
LBB0_2:
ldr x0, [x20, #8]
ldr w8, [x20]
lsl w1, w8, #2
bl _realloc
str x0, [x19, #8]
cbnz x0, LBB0_4
; %bb.3:
ldr w0, [x21]
bl _SETERROR
ldr x8, [x20, #8]
str x8, [x19, #8]
LBB0_4:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _REG_ESPACE,4,2 ; @REG_ESPACE
.no_dead_strip _stripsnug
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function cleanstr
_cleanstr: ## @cleanstr
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r14d
movq %rdi, %rbx
leal 1(,%r14,4), %esi
movq _cleanstr.tmp(%rip), %rax
cmpl %esi, _cleanstr.tmplen(%rip)
jg LBB0_2
## %bb.1:
movl %esi, _cleanstr.tmplen(%rip)
movq %rax, %rdi
callq _realloc
movq %rax, _cleanstr.tmp(%rip)
LBB0_2:
testq %rax, %rax
je LBB0_3
## %bb.4:
movq %rax, -40(%rbp)
testl %r14d, %r14d
jle LBB0_8
## %bb.5:
movl %r14d, %r15d
xorl %r12d, %r12d
leaq -40(%rbp), %r14
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
movzbl (%rbx,%r12), %esi
incq %r12
movq %r14, %rdi
callq _cleanchr
cmpq %r12, %r15
jne LBB0_6
## %bb.7:
movq -40(%rbp), %rax
LBB0_8:
movb $0, (%rax)
movq _cleanstr.tmp(%rip), %rax
jmp LBB0_9
LBB0_3:
movl $0, _cleanstr.tmplen(%rip)
leaq L_.str(%rip), %rax
LBB0_9:
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_cleanstr.tmp,8,3 ## @cleanstr.tmp
.zerofill __DATA,__bss,_cleanstr.tmplen,4,2 ## @cleanstr.tmplen
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "(mem alloc error)"
.no_dead_strip _cleanstr
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function cleanstr
_cleanstr: ; @cleanstr
.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, x1
mov x19, x0
adrp x22, _cleanstr.tmplen@PAGE
ldr w8, [x22, _cleanstr.tmplen@PAGEOFF]
mov w9, #1 ; =0x1
orr w1, w9, w1, lsl #2
adrp x21, _cleanstr.tmp@PAGE
ldr x0, [x21, _cleanstr.tmp@PAGEOFF]
cmp w8, w1
b.gt LBB0_2
; %bb.1:
str w1, [x22, _cleanstr.tmplen@PAGEOFF]
bl _realloc
str x0, [x21, _cleanstr.tmp@PAGEOFF]
LBB0_2:
cbz x0, LBB0_8
; %bb.3:
str x0, [sp, #8]
cmp w20, #1
b.lt LBB0_7
; %bb.4:
mov w20, w20
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldrb w1, [x19], #1
add x0, sp, #8
bl _cleanchr
subs x20, x20, #1
b.ne LBB0_5
; %bb.6:
ldr x0, [sp, #8]
LBB0_7:
strb wzr, [x0]
ldr x0, [x21, _cleanstr.tmp@PAGEOFF]
b LBB0_9
LBB0_8:
str wzr, [x22, _cleanstr.tmplen@PAGEOFF]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
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
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_cleanstr.tmp,8,3 ; @cleanstr.tmp
.zerofill __DATA,__bss,_cleanstr.tmplen,4,2 ; @cleanstr.tmplen
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "(mem alloc error)"
.no_dead_strip _cleanstr
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function trex_newnode
_trex_newnode: ## @trex_newnode
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %rbx
movq _OP_EXPR@GOTPCREL(%rip), %rax
movl $-1, %r15d
cmpq %rsi, (%rax)
jne LBB0_2
## %bb.1:
movl 16(%rbx), %r15d
leal 1(%r15), %eax
movl %eax, 16(%rbx)
LBB0_2:
movl (%rbx), %eax
movl 4(%rbx), %ecx
leal -1(%rcx), %edx
cmpl %edx, %eax
jge LBB0_3
## %bb.4:
leal (%rax,%rax), %ecx
movl %ecx, (%rbx)
movq 8(%rbx), %rdi
shll $4, %eax
leal (%rax,%rax,2), %esi
callq _realloc
movq %rax, 8(%rbx)
movl 4(%rbx), %ecx
jmp LBB0_5
LBB0_3:
movq 8(%rbx), %rax
LBB0_5:
leal 1(%rcx), %edx
movl %edx, 4(%rbx)
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
movl $-1, (%rax,%rcx,8)
movl %r15d, 4(%rax,%rcx,8)
movl $-1, 8(%rax,%rcx,8)
movq %r14, 16(%rax,%rcx,8)
movl 4(%rbx), %eax
decl %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _OP_EXPR,8,3 ## @OP_EXPR
.no_dead_strip _trex_newnode
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function trex_newnode
_trex_newnode: ; @trex_newnode
.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
Lloh0:
adrp x8, _OP_EXPR@GOTPAGE
Lloh1:
ldr x8, [x8, _OP_EXPR@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x8, x1
b.ne LBB0_2
; %bb.1:
ldr w21, [x19, #16]
add w8, w21, #1
str w8, [x19, #16]
b LBB0_3
LBB0_2:
mov w21, #-1 ; =0xffffffff
LBB0_3:
ldp w9, w8, [x19]
sub w10, w8, #1
cmp w9, w10
b.ge LBB0_5
; %bb.4:
lsl w8, w9, #1
str w8, [x19]
ldr x0, [x19, #8]
add w8, w8, w9
lsl w1, w8, #4
bl _realloc
str x0, [x19, #8]
ldr w8, [x19, #4]
b LBB0_6
LBB0_5:
ldr x0, [x19, #8]
LBB0_6:
add w9, w8, #1
str w9, [x19, #4]
mov w9, #24 ; =0x18
smaddl x8, w8, w9, x0
mov w9, #-1 ; =0xffffffff
stp w9, w21, [x8]
str w9, [x8, #8]
str x20, [x8, #16]
ldr w8, [x19, #4]
sub w0, w8, #1
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 _OP_EXPR,8,3 ; @OP_EXPR
.no_dead_strip _trex_newnode
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function g_gatel_serve
_g_gatel_serve: ## @g_gatel_serve
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_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 %edi, -44(%rbp) ## 4-byte Spill
movq _g_gate_verbose@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
jne LBB0_3
## %bb.1:
xorl %edi, %edi
xorl %esi, %esi
callq _daemon
cmpl $-1, %eax
jne LBB0_3
## %bb.2:
movq _unit@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl $1, %esi
callq _g_gate_destroy
movq _EXIT_FAILURE@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
callq _err
LBB0_3:
movq _LOG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %r14d
xorl %eax, %eax
callq _getpid
leaq L_.str.1(%rip), %rsi
movl %r14d, %edi
movl %eax, %edx
callq _g_gate_log
movq _G_GATE_VERSION@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -52(%rbp)
movq _unit@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -56(%rbp)
movq _sectorsize@GOTPCREL(%rip), %rax
movq (%rax), %r14
movq %r14, %rdi
callq _malloc
movq %rax, -64(%rbp)
movq _G_GATE_CMD_START@GOTPCREL(%rip), %rbx
leaq -88(%rbp), %r15
jmp LBB0_4
LBB0_22: ## in Loop: Header=BB0_4 Depth=1
movq _EOPNOTSUPP@GOTPCREL(%rip), %rax
LBB0_23: ## in Loop: Header=BB0_4 Depth=1
movl (%rax), %ecx
LBB0_24: ## in Loop: Header=BB0_4 Depth=1
movl %ecx, -80(%rbp)
movq _G_GATE_CMD_DONE@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq %r15, %rsi
callq _g_gate_ioctl
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq %r14, -88(%rbp)
movl $0, -80(%rbp)
movl (%rbx), %edi
movq %r15, %rsi
callq _g_gate_ioctl
movl -80(%rbp), %r13d
testl %r13d, %r13d
je LBB0_11
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
cmpl $129, %r13d
je LBB0_8
## %bb.6: ## in Loop: Header=BB0_4 Depth=1
cmpl $130, %r13d
jne LBB0_10
jmp LBB0_7
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_4 Depth=1
movl -76(%rbp), %eax
movl $-131, %ecx
addl %ecx, %eax
xorl %edi, %edi
testl $-3, %eax
sete %dil
callq _assert
movq -88(%rbp), %rsi
movq -64(%rbp), %rdi
callq _realloc
movq %rax, -64(%rbp)
testq %rax, %rax
je LBB0_10
## %bb.9: ## in Loop: Header=BB0_4 Depth=1
movq -88(%rbp), %r14
jmp LBB0_4
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_4 Depth=1
movq _G_GATE_CTL_NAME@GOTPCREL(%rip), %rax
movl (%rax), %r12d
movl %r13d, %edi
callq _strerror
leaq L_.str.2(%rip), %rdi
movl %r12d, %esi
movl %eax, %edx
callq _g_gate_xlog
LBB0_11: ## in Loop: Header=BB0_4 Depth=1
movl -76(%rbp), %eax
cmpl $131, %eax
je LBB0_21
## %bb.12: ## in Loop: Header=BB0_4 Depth=1
cmpl $133, %eax
je LBB0_21
## %bb.13: ## in Loop: Header=BB0_4 Depth=1
cmpl $132, %eax
jne LBB0_22
## %bb.14: ## in Loop: Header=BB0_4 Depth=1
movq -88(%rbp), %rdx
movq -64(%rbp), %rsi
cmpq %r14, %rdx
jbe LBB0_18
## %bb.15: ## in Loop: Header=BB0_4 Depth=1
movq %rsi, %rdi
movq %rdx, %rsi
callq _realloc
movq %rax, -64(%rbp)
testq %rax, %rax
je LBB0_16
## %bb.17: ## in Loop: Header=BB0_4 Depth=1
movq %rax, %rsi
movq -88(%rbp), %rdx
movq %rdx, %r14
LBB0_18: ## in Loop: Header=BB0_4 Depth=1
movl -72(%rbp), %ecx
movl -44(%rbp), %edi ## 4-byte Reload
callq _pread
jmp LBB0_19
.p2align 4, 0x90
LBB0_21: ## in Loop: Header=BB0_4 Depth=1
movq -64(%rbp), %rsi
movq -88(%rbp), %rdx
movl -72(%rbp), %ecx
movl -44(%rbp), %edi ## 4-byte Reload
callq _pwrite
LBB0_19: ## in Loop: Header=BB0_4 Depth=1
xorl %ecx, %ecx
cmpl $-1, %eax
jne LBB0_24
## %bb.20: ## in Loop: Header=BB0_4 Depth=1
movq _errno@GOTPCREL(%rip), %rax
jmp LBB0_23
LBB0_16: ## in Loop: Header=BB0_4 Depth=1
movl $129, %ecx
jmp LBB0_24
LBB0_7:
movq -64(%rbp), %rdi
callq _free
xorl %eax, %eax
callq _g_gate_close_device
movl -44(%rbp), %edi ## 4-byte Reload
callq _close
movq _EXIT_SUCCESS@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _exit
.cfi_endproc
## -- End function
.comm _g_gate_verbose,8,3 ## @g_gate_verbose
.comm _unit,4,2 ## @unit
.comm _EXIT_FAILURE,4,2 ## @EXIT_FAILURE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Cannot daemonize"
.comm _LOG_DEBUG,4,2 ## @LOG_DEBUG
L_.str.1: ## @.str.1
.asciz "Worker created: %u."
.comm _G_GATE_VERSION,4,2 ## @G_GATE_VERSION
.comm _sectorsize,8,3 ## @sectorsize
.comm _G_GATE_CMD_START,4,2 ## @G_GATE_CMD_START
.comm _EXIT_SUCCESS,4,2 ## @EXIT_SUCCESS
L_.str.2: ## @.str.2
.asciz "ioctl(/dev/%s): %s."
.comm _G_GATE_CTL_NAME,4,2 ## @G_GATE_CTL_NAME
.comm _errno,4,2 ## @errno
.comm _EOPNOTSUPP,4,2 ## @EOPNOTSUPP
.comm _G_GATE_CMD_DONE,4,2 ## @G_GATE_CMD_DONE
.no_dead_strip _g_gatel_serve
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function g_gatel_serve
_g_gatel_serve: ; @g_gatel_serve
.cfi_startproc
; %bb.0:
sub sp, sp, #144
stp x28, x27, [sp, #48] ; 16-byte Folded Spill
stp x26, x25, [sp, #64] ; 16-byte Folded Spill
stp x24, x23, [sp, #80] ; 16-byte Folded Spill
stp x22, x21, [sp, #96] ; 16-byte Folded Spill
stp x20, x19, [sp, #112] ; 16-byte Folded Spill
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x0
Lloh0:
adrp x8, _g_gate_verbose@GOTPAGE
Lloh1:
ldr x8, [x8, _g_gate_verbose@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
Lloh3:
adrp x21, _unit@GOTPAGE
Lloh4:
ldr x21, [x21, _unit@GOTPAGEOFF]
cbnz x8, LBB0_3
; %bb.1:
mov w0, #0 ; =0x0
mov w1, #0 ; =0x0
bl _daemon
cmn w0, #1
b.ne LBB0_3
; %bb.2:
ldr w0, [x21]
mov w1, #1 ; =0x1
bl _g_gate_destroy
Lloh5:
adrp x8, _EXIT_FAILURE@GOTPAGE
Lloh6:
ldr x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh7:
ldr w0, [x8]
Lloh8:
adrp x1, l_.str@PAGE
Lloh9:
add x1, x1, l_.str@PAGEOFF
bl _err
LBB0_3:
Lloh10:
adrp x8, _LOG_DEBUG@GOTPAGE
Lloh11:
ldr x8, [x8, _LOG_DEBUG@GOTPAGEOFF]
Lloh12:
ldr w20, [x8]
bl _getpid
mov x2, x0
Lloh13:
adrp x1, l_.str.1@PAGE
Lloh14:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x20
bl _g_gate_log
Lloh15:
adrp x8, _G_GATE_VERSION@GOTPAGE
Lloh16:
ldr x8, [x8, _G_GATE_VERSION@GOTPAGEOFF]
Lloh17:
ldr w8, [x8]
ldr w9, [x21]
stp w9, w8, [sp, #40]
Lloh18:
adrp x8, _sectorsize@GOTPAGE
Lloh19:
ldr x8, [x8, _sectorsize@GOTPAGEOFF]
Lloh20:
ldr x20, [x8]
mov x0, x20
bl _malloc
Lloh21:
adrp x24, _G_GATE_CMD_START@GOTPAGE
Lloh22:
ldr x24, [x24, _G_GATE_CMD_START@GOTPAGEOFF]
str x0, [sp, #32]
Lloh23:
adrp x25, _errno@GOTPAGE
Lloh24:
ldr x25, [x25, _errno@GOTPAGEOFF]
Lloh25:
adrp x26, _G_GATE_CMD_DONE@GOTPAGE
Lloh26:
ldr x26, [x26, _G_GATE_CMD_DONE@GOTPAGEOFF]
mov w27, #131 ; =0x83
Lloh27:
adrp x21, l_.str.2@PAGE
Lloh28:
add x21, x21, l_.str.2@PAGEOFF
Lloh29:
adrp x28, _G_GATE_CTL_NAME@GOTPAGE
Lloh30:
ldr x28, [x28, _G_GATE_CTL_NAME@GOTPAGEOFF]
b LBB0_6
LBB0_4: ; in Loop: Header=BB0_6 Depth=1
Lloh31:
adrp x8, _EOPNOTSUPP@GOTPAGE
Lloh32:
ldr x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh33:
ldr w8, [x8]
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
str w8, [sp, #16]
ldr w0, [x26]
add x1, sp, #8
bl _g_gate_ioctl
LBB0_6: ; =>This Inner Loop Header: Depth=1
str x20, [sp, #8]
str wzr, [sp, #16]
ldr w0, [x24]
add x1, sp, #8
bl _g_gate_ioctl
ldr w22, [sp, #16]
cbz w22, LBB0_12
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
cmp w22, #129
b.eq LBB0_9
; %bb.8: ; in Loop: Header=BB0_6 Depth=1
cmp w22, #130
b.ne LBB0_11
b LBB0_22
LBB0_9: ; in Loop: Header=BB0_6 Depth=1
ldr w8, [sp, #20]
cmp w8, #133
ccmp w8, w27, #4, ne
cset w0, eq
bl _assert
ldr x0, [sp, #32]
ldr x1, [sp, #8]
bl _realloc
str x0, [sp, #32]
cbz x0, LBB0_11
; %bb.10: ; in Loop: Header=BB0_6 Depth=1
ldr x20, [sp, #8]
b LBB0_6
LBB0_11: ; in Loop: Header=BB0_6 Depth=1
ldr w23, [x28]
mov x0, x22
bl _strerror
mov x2, x0
mov x0, x21
mov x1, x23
bl _g_gate_xlog
LBB0_12: ; in Loop: Header=BB0_6 Depth=1
ldr w8, [sp, #20]
cmp w8, #131
b.eq LBB0_19
; %bb.13: ; in Loop: Header=BB0_6 Depth=1
cmp w8, #133
b.eq LBB0_19
; %bb.14: ; in Loop: Header=BB0_6 Depth=1
cmp w8, #132
b.ne LBB0_4
; %bb.15: ; in Loop: Header=BB0_6 Depth=1
ldr x2, [sp, #8]
ldr x1, [sp, #32]
cmp x2, x20
b.ls LBB0_18
; %bb.16: ; in Loop: Header=BB0_6 Depth=1
mov x0, x1
mov x1, x2
bl _realloc
str x0, [sp, #32]
cbz x0, LBB0_21
; %bb.17: ; in Loop: Header=BB0_6 Depth=1
mov x1, x0
ldr x2, [sp, #8]
mov x20, x2
LBB0_18: ; in Loop: Header=BB0_6 Depth=1
ldr w3, [sp, #24]
mov x0, x19
bl _pread
b LBB0_20
LBB0_19: ; in Loop: Header=BB0_6 Depth=1
ldr x1, [sp, #32]
ldr x2, [sp, #8]
ldr w3, [sp, #24]
mov x0, x19
bl _pwrite
LBB0_20: ; in Loop: Header=BB0_6 Depth=1
ldr w8, [x25]
cmn w0, #1
csel w8, w8, wzr, eq
b LBB0_5
LBB0_21: ; in Loop: Header=BB0_6 Depth=1
mov w8, #129 ; =0x81
b LBB0_5
LBB0_22:
ldr x0, [sp, #32]
bl _free
bl _g_gate_close_device
mov x0, x19
bl _close
Lloh34:
adrp x8, _EXIT_SUCCESS@GOTPAGE
Lloh35:
ldr x8, [x8, _EXIT_SUCCESS@GOTPAGEOFF]
Lloh36:
ldr w0, [x8]
bl _exit
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh29, Lloh30
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpLdrGot Lloh25, Lloh26
.loh AdrpLdrGot Lloh23, Lloh24
.loh AdrpLdrGot Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36
.cfi_endproc
; -- End function
.comm _g_gate_verbose,8,3 ; @g_gate_verbose
.comm _unit,4,2 ; @unit
.comm _EXIT_FAILURE,4,2 ; @EXIT_FAILURE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Cannot daemonize"
.comm _LOG_DEBUG,4,2 ; @LOG_DEBUG
l_.str.1: ; @.str.1
.asciz "Worker created: %u."
.comm _G_GATE_VERSION,4,2 ; @G_GATE_VERSION
.comm _sectorsize,8,3 ; @sectorsize
.comm _G_GATE_CMD_START,4,2 ; @G_GATE_CMD_START
.comm _EXIT_SUCCESS,4,2 ; @EXIT_SUCCESS
l_.str.2: ; @.str.2
.asciz "ioctl(/dev/%s): %s."
.comm _G_GATE_CTL_NAME,4,2 ; @G_GATE_CTL_NAME
.comm _errno,4,2 ; @errno
.comm _EOPNOTSUPP,4,2 ; @EOPNOTSUPP
.comm _G_GATE_CMD_DONE,4,2 ; @G_GATE_CMD_DONE
.no_dead_strip _g_gatel_serve
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function ps_psm_fill
_ps_psm_fill: ## @ps_psm_fill
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $88, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r8, %rbx
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %r13
xorl %edi, %edi
cmpq $4, %rdx
setae %dil
callq _assert
testq %r13, %r13
sete %al
cmpq $10, %r15
setb %cl
testb %cl, %al
jne LBB0_2
## %bb.1:
movl 12(%r12), %eax
movq _PS_STREAM_ID_MAP@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB0_2
## %bb.3:
leaq 16(%r12), %rdi
callq _GetWBE
addl $-6, %eax
cltq
cmpq %r15, %rax
ja LBB0_2
## %bb.4:
movl 24(%r12), %ecx
testb %cl, %cl
jns LBB0_2
## %bb.5:
movl %ecx, %edx
andl $248, %edx
cmpl %edx, (%r13)
je LBB0_2
## %bb.6:
movl %edx, -68(%rbp) ## 4-byte Spill
movl %ecx, -72(%rbp) ## 4-byte Spill
movq %r13, %rdi
movq %rax, -64(%rbp) ## 8-byte Spill
callq _ps_psm_destroy
leaq 32(%r12), %rdi
callq _GetWBE
movq -64(%rbp), %rcx ## 8-byte Reload
movslq %eax, %rdx
leaq 10(%rdx), %rax
cmpq %rcx, %rax
jbe LBB0_7
LBB0_2:
movq _VLC_EGENERIC@GOTPCREL(%rip), %rax
LBB0_30:
movl (%rax), %eax
addq $88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_7:
movq %r12, -56(%rbp) ## 8-byte Spill
movq %rbx, -80(%rbp) ## 8-byte Spill
movq %rdx, -48(%rbp) ## 8-byte Spill
leaq 16(%rdx), %rbx
cmpq %rcx, %rbx
jae LBB0_19
## %bb.8:
addq $12, -48(%rbp) ## 8-byte Folded Spill
leaq 8(%r13), %rax
movq %rax, -120(%rbp) ## 8-byte Spill
jmp LBB0_9
LBB0_10: ## in Loop: Header=BB0_9 Depth=1
movq -64(%rbp), %rax ## 8-byte Reload
movq -48(%rbp), %rbx ## 8-byte Reload
LBB0_18: ## in Loop: Header=BB0_9 Depth=1
movq %rbx, -48(%rbp) ## 8-byte Spill
addq $4, %rbx
cmpq %rax, %rbx
jae LBB0_19
LBB0_9: ## =>This Inner Loop Header: Depth=1
movq 16(%r13), %rdi
movl 4(%r13), %eax
leal (%rax,%rax,2), %eax
leal 12(,%rax,4), %esi
callq _realloc
testq %rax, %rax
jne LBB0_10
## %bb.11: ## in Loop: Header=BB0_9 Depth=1
movq $0, 16(%r13)
movslq 4(%r13), %r12
leal 1(%r12), %eax
movl %eax, 4(%r13)
shlq $2, %r12
movq -56(%rbp), %rcx ## 8-byte Reload
movq -48(%rbp), %rdx ## 8-byte Reload
movl 4(%rcx,%rdx,4), %eax
movl %eax, 4(%r12,%r12,2)
leaq (%rcx,%rdx,4), %rdi
addq $8, %rdi
callq _GetWBE
movslq %eax, %r8
leaq (%rbx,%r8), %rcx
cmpq -64(%rbp), %rcx ## 8-byte Folded Reload
ja LBB0_19
## %bb.12: ## in Loop: Header=BB0_9 Depth=1
leaq (%r12,%r12,2), %rdx
testb $64, -72(%rbp) ## 1-byte Folded Reload
jne LBB0_16
## %bb.13: ## in Loop: Header=BB0_9 Depth=1
movl 4(%rdx), %ecx
movq _PS_STREAM_ID_EXTENDED@GOTPCREL(%rip), %rsi
cmpl (%rsi), %ecx
jne LBB0_16
## %bb.14: ## in Loop: Header=BB0_9 Depth=1
cmpl $3, %eax
jb LBB0_19
## %bb.15: ## in Loop: Header=BB0_9 Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
movq -48(%rbp), %rbx ## 8-byte Reload
leaq (%rax,%rbx,4), %rdi
shll $8, %ecx
movl 24(%rdi), %eax
andl $127, %eax
orl %ecx, %eax
movl %eax, 4(%rdx)
addq $28, %rdi
leaq -3(%r8), %rsi
movq -120(%rbp), %rdx ## 8-byte Reload
movq %r8, %r12
callq _ps_parse_descriptors
jmp LBB0_17
LBB0_16: ## in Loop: Header=BB0_9 Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
leaq (%rax,%rbx,4), %rdi
addq $8, %rdx
movq %r8, %rsi
movq %r8, %r12
callq _ps_parse_descriptors
movq -48(%rbp), %rbx ## 8-byte Reload
LBB0_17: ## in Loop: Header=BB0_9 Depth=1
addq %r12, %rbx
addq $4, %rbx
movq -64(%rbp), %rax ## 8-byte Reload
jmp LBB0_18
LBB0_19:
movl -68(%rbp), %eax ## 4-byte Reload
movl %eax, (%r13)
movq _PS_TK_COUNT@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, %eax
jle LBB0_29
## %bb.20:
xorl %ebx, %ebx
jmp LBB0_21
LBB0_26: ## in Loop: Header=BB0_21 Depth=1
leaq 8(%r14), %r12
movq 16(%r14), %rsi
movq -80(%rbp), %rdi ## 8-byte Reload
callq _es_out_Del
movq %r12, %rdi
callq _es_format_Clean
movl $1, -112(%rbp)
movups -96(%rbp), %xmm0
movups %xmm0, 16(%r14)
movl -112(%rbp), %eax
movl %eax, (%r14)
movq -108(%rbp), %rax
movq %rax, 4(%r14)
movl -100(%rbp), %eax
movl %eax, 12(%r14)
movq -80(%rbp), %rdi ## 8-byte Reload
movq %r12, %rsi
callq _es_out_Add
movq %rax, 16(%r14)
LBB0_27: ## in Loop: Header=BB0_21 Depth=1
movq _PS_TK_COUNT@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_28: ## in Loop: Header=BB0_21 Depth=1
incq %rbx
movslq %eax, %rcx
addq $32, %r14
cmpq %rcx, %rbx
jge LBB0_29
LBB0_21: ## =>This Inner Loop Header: Depth=1
cmpl $0, (%r14)
je LBB0_28
## %bb.22: ## in Loop: Header=BB0_21 Depth=1
cmpq $0, 16(%r14)
je LBB0_28
## %bb.23: ## in Loop: Header=BB0_21 Depth=1
movq _UNKNOWN_ES@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -104(%rbp), %rdi
xorl %edx, %edx
callq _es_format_Init
movl 24(%r14), %edx
leaq -112(%rbp), %rdi
movq %r13, %rsi
movq -56(%rbp), %rcx ## 8-byte Reload
movq %r15, %r8
xorl %r9d, %r9d
callq _ps_track_fill
movq _VLC_SUCCESS@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_27
## %bb.24: ## in Loop: Header=BB0_21 Depth=1
movq -104(%rbp), %rax
cmpq 8(%r14), %rax
jne LBB0_26
## %bb.25: ## in Loop: Header=BB0_21 Depth=1
leaq -104(%rbp), %rdi
callq _es_format_Clean
jmp LBB0_27
LBB0_29:
movq _VLC_SUCCESS@GOTPCREL(%rip), %rax
jmp LBB0_30
.cfi_endproc
## -- End function
.comm _PS_TK_COUNT,4,2 ## @PS_TK_COUNT
.comm _PS_STREAM_ID_MAP,4,2 ## @PS_STREAM_ID_MAP
.comm _VLC_EGENERIC,4,2 ## @VLC_EGENERIC
.comm _PS_STREAM_ID_EXTENDED,4,2 ## @PS_STREAM_ID_EXTENDED
.comm _UNKNOWN_ES,4,2 ## @UNKNOWN_ES
.comm _VLC_SUCCESS,8,3 ## @VLC_SUCCESS
.no_dead_strip _ps_psm_fill
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function ps_psm_fill
_ps_psm_fill: ; @ps_psm_fill
.cfi_startproc
; %bb.0:
sub sp, sp, #160
stp x28, x27, [sp, #64] ; 16-byte Folded Spill
stp x26, x25, [sp, #80] ; 16-byte Folded Spill
stp x24, x23, [sp, #96] ; 16-byte Folded Spill
stp x22, x21, [sp, #112] ; 16-byte Folded Spill
stp x20, x19, [sp, #128] ; 16-byte Folded Spill
stp x29, x30, [sp, #144] ; 16-byte Folded Spill
add x29, sp, #144
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x4
mov x23, x3
mov x20, x2
mov x21, x1
mov x22, x0
cmp x2, #3
cset w0, hi
bl _assert
cbnz x22, LBB0_2
; %bb.1:
cmp x20, #10
b.lo LBB0_7
LBB0_2:
ldr w8, [x21, #12]
Lloh0:
adrp x9, _PS_STREAM_ID_MAP@GOTPAGE
Lloh1:
ldr x9, [x9, _PS_STREAM_ID_MAP@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
cmp w8, w9
b.ne LBB0_7
; %bb.3:
add x0, x21, #16
bl _GetWBE
sub w8, w0, #6
sxtw x25, w8
cmp x25, x20
b.hi LBB0_7
; %bb.4:
ldr w24, [x21, #24]
tbz w24, #7, LBB0_7
; %bb.5:
and w26, w24, #0xf8
ldr w8, [x22]
cmp w8, w26
b.eq LBB0_7
; %bb.6:
mov x0, x22
bl _ps_psm_destroy
add x0, x21, #32
bl _GetWBE
; kill: def $w0 killed $w0 def $x0
sxtw x8, w0
add x9, x8, #10
cmp x9, x25
b.ls LBB0_9
LBB0_7:
Lloh3:
adrp x8, _VLC_EGENERIC@GOTPAGE
Lloh4:
ldr x8, [x8, _VLC_EGENERIC@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
LBB0_8:
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
ldp x20, x19, [sp, #128] ; 16-byte Folded Reload
ldp x22, x21, [sp, #112] ; 16-byte Folded Reload
ldp x24, x23, [sp, #96] ; 16-byte Folded Reload
ldp x26, x25, [sp, #80] ; 16-byte Folded Reload
ldp x28, x27, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #160
ret
LBB0_9:
str x19, [sp, #16] ; 8-byte Folded Spill
str w26, [sp, #12] ; 4-byte Folded Spill
str w24, [sp, #24] ; 4-byte Folded Spill
add x27, x8, #16
cmp x27, x25
b.hs LBB0_21
; %bb.10:
add x19, x8, #12
mov w8, #12 ; =0xc
str w8, [sp, #28] ; 4-byte Folded Spill
b LBB0_13
LBB0_11: ; in Loop: Header=BB0_13 Depth=1
mov x8, x19
LBB0_12: ; in Loop: Header=BB0_13 Depth=1
mov x19, x8
add x27, x8, #4
cmp x27, x25
b.hs LBB0_21
LBB0_13: ; =>This Inner Loop Header: Depth=1
ldr x0, [x22, #16]
ldr w8, [x22, #4]
mov w9, #12 ; =0xc
ldr w10, [sp, #28] ; 4-byte Folded Reload
madd w1, w8, w9, w10
bl _realloc
cbnz x0, LBB0_11
; %bb.14: ; in Loop: Header=BB0_13 Depth=1
str xzr, [x22, #16]
ldrsw x8, [x22, #4]
add w9, w8, #1
str w9, [x22, #4]
add x8, x8, x8, lsl #1
lsl x26, x8, #2
add x28, x21, x19, lsl #2
ldr w8, [x28, #4]
str w8, [x26, #4]
add x0, x28, #8
bl _GetWBE
; kill: def $w0 killed $w0 def $x0
sxtw x24, w0
add x8, x27, x24
cmp x8, x25
b.hi LBB0_21
; %bb.15: ; in Loop: Header=BB0_13 Depth=1
ldr w8, [sp, #24] ; 4-byte Folded Reload
tbnz w8, #6, LBB0_19
; %bb.16: ; in Loop: Header=BB0_13 Depth=1
ldr w8, [x26, #4]
Lloh6:
adrp x9, _PS_STREAM_ID_EXTENDED@GOTPAGE
Lloh7:
ldr x9, [x9, _PS_STREAM_ID_EXTENDED@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
cmp w8, w9
b.ne LBB0_19
; %bb.17: ; in Loop: Header=BB0_13 Depth=1
cmp w24, #3
b.lo LBB0_21
; %bb.18: ; in Loop: Header=BB0_13 Depth=1
ldr w9, [x28, #24]
and w9, w9, #0x7f
orr w8, w9, w8, lsl #8
str w8, [x26, #4]
sub x1, x24, #3
add x0, x28, #28
add x2, x22, #8
b LBB0_20
LBB0_19: ; in Loop: Header=BB0_13 Depth=1
add x0, x21, x27, lsl #2
add x2, x26, #8
mov x1, x24
LBB0_20: ; in Loop: Header=BB0_13 Depth=1
bl _ps_parse_descriptors
add x8, x19, x24
add x8, x8, #4
b LBB0_12
LBB0_21:
ldr w8, [sp, #12] ; 4-byte Folded Reload
str w8, [x22]
Lloh9:
adrp x8, _PS_TK_COUNT@GOTPAGE
Lloh10:
ldr x8, [x8, _PS_TK_COUNT@GOTPAGEOFF]
Lloh11:
ldr w8, [x8]
Lloh12:
adrp x19, _VLC_SUCCESS@GOTPAGE
Lloh13:
ldr x19, [x19, _VLC_SUCCESS@GOTPAGEOFF]
cmp w8, #1
b.lt LBB0_32
; %bb.22:
mov x26, #0 ; =0x0
add x27, sp, #32
add x28, x23, #16
Lloh14:
adrp x23, _UNKNOWN_ES@GOTPAGE
Lloh15:
ldr x23, [x23, _UNKNOWN_ES@GOTPAGEOFF]
b LBB0_27
LBB0_23: ; in Loop: Header=BB0_27 Depth=1
ldr x1, [x28]
ldr x27, [sp, #16] ; 8-byte Folded Reload
mov x0, x27
bl _es_out_Del
mov x0, x23
bl _es_format_Clean
mov w8, #1 ; =0x1
str w8, [sp, #32]
ldp q1, q0, [sp, #32]
stp q1, q0, [x24]
mov x0, x27
add x27, sp, #32
mov x1, x23
bl _es_out_Add
str x0, [x28]
LBB0_24: ; in Loop: Header=BB0_27 Depth=1
mov x23, x25
LBB0_25: ; in Loop: Header=BB0_27 Depth=1
Lloh16:
adrp x8, _PS_TK_COUNT@GOTPAGE
Lloh17:
ldr x8, [x8, _PS_TK_COUNT@GOTPAGEOFF]
Lloh18:
ldr w8, [x8]
LBB0_26: ; in Loop: Header=BB0_27 Depth=1
add x26, x26, #1
add x28, x28, #32
cmp x26, w8, sxtw
b.ge LBB0_32
LBB0_27: ; =>This Inner Loop Header: Depth=1
mov x24, x28
ldr w9, [x24, #-16]!
cbz w9, LBB0_26
; %bb.28: ; in Loop: Header=BB0_27 Depth=1
ldr x9, [x28]
cbz x9, LBB0_26
; %bb.29: ; in Loop: Header=BB0_27 Depth=1
ldr w1, [x23]
add x0, x27, #8
mov w2, #0 ; =0x0
bl _es_format_Init
ldr w2, [x28, #8]
add x0, sp, #32
mov x1, x22
mov x3, x21
mov x4, x20
mov w5, #0 ; =0x0
bl _ps_track_fill
ldr x8, [x19]
cmp x0, x8
b.ne LBB0_25
; %bb.30: ; in Loop: Header=BB0_27 Depth=1
mov x25, x23
ldr x8, [sp, #40]
mov x23, x28
ldr x9, [x23, #-8]!
cmp x8, x9
b.ne LBB0_23
; %bb.31: ; in Loop: Header=BB0_27 Depth=1
add x0, x27, #8
bl _es_format_Clean
b LBB0_24
LBB0_32:
ldr w0, [x19]
b LBB0_8
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.cfi_endproc
; -- End function
.comm _PS_TK_COUNT,4,2 ; @PS_TK_COUNT
.comm _PS_STREAM_ID_MAP,4,2 ; @PS_STREAM_ID_MAP
.comm _VLC_EGENERIC,4,2 ; @VLC_EGENERIC
.comm _PS_STREAM_ID_EXTENDED,4,2 ; @PS_STREAM_ID_EXTENDED
.comm _UNKNOWN_ES,4,2 ; @UNKNOWN_ES
.comm _VLC_SUCCESS,8,3 ; @VLC_SUCCESS
.no_dead_strip _ps_psm_fill
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function _warc_rdhdr
__warc_rdhdr: ## @_warc_rdhdr
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_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, -80(%rbp) ## 8-byte Spill
movq %rdi, %rbx
movq 8(%rdi), %rax
movq (%rax), %rax
movq %rax, -48(%rbp) ## 8-byte Spill
leaq -64(%rbp), %rdx
movl $12, %esi
callq ___archive_read_ahead
movq -64(%rbp), %rsi
testq %rsi, %rsi
jle LBB0_17
## %bb.1:
movq -48(%rbp), %rcx ## 8-byte Reload
addq $32, %rcx
movq %rcx, -56(%rbp) ## 8-byte Spill
movq %rbx, -72(%rbp) ## 8-byte Spill
jmp LBB0_3
.p2align 4, 0x90
LBB0_2: ## in Loop: Header=BB0_3 Depth=1
movq -72(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rdi
movl %r15d, %esi
callq ___archive_read_consume
movq %rbx, %rdi
callq __warc_skip
movq %rbx, %rdi
movl $12, %esi
leaq -64(%rbp), %rdx
callq ___archive_read_ahead
movq -64(%rbp), %rsi
testq %rsi, %rsi
jle LBB0_17
LBB0_3: ## =>This Inner Loop Header: Depth=1
testq %rax, %rax
jne LBB0_21
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
xorl %edi, %edi
callq __warc_find_eoh
testq %rax, %rax
je LBB0_17
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movq %rax, %r15
xorl %edi, %edi
movl %r15d, %esi
callq __warc_rdver
testl %eax, %eax
je LBB0_22
## %bb.6: ## in Loop: Header=BB0_3 Depth=1
movl %eax, %r12d
leal -10001(%r12), %eax
cmpl $-8802, %eax ## imm = 0xDD9E
jbe LBB0_23
## %bb.7: ## in Loop: Header=BB0_3 Depth=1
xorl %edi, %edi
movl %r15d, %esi
callq __warc_rdlen
testq %rax, %rax
js LBB0_24
## %bb.8: ## in Loop: Header=BB0_3 Depth=1
movq %rax, %r13
xorl %edi, %edi
movl %r15d, %esi
callq __warc_rdrtm
cmpq $-1, %rax
je LBB0_25
## %bb.9: ## in Loop: Header=BB0_3 Depth=1
movq %rax, %r14
movq _ARCHIVE_FORMAT_WARC@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, (%rbx)
movq -48(%rbp), %rbx ## 8-byte Reload
cmpl (%rbx), %r12d
je LBB0_11
## %bb.10: ## in Loop: Header=BB0_3 Depth=1
leal -10000(%r12), %eax
xorl %edx, %edx
cmpl $10000, %r12d ## imm = 0x2710
setae %dl
cmovbl %r12d, %eax
movzwl %ax, %eax
shrl $2, %eax
imull $5243, %eax, %ecx ## imm = 0x147B
shrl $17, %ecx
movq -56(%rbp), %rdi ## 8-byte Reload
leaq L_.str.5(%rip), %rsi
callq _archive_string_sprintf
movl %r12d, (%rbx)
LBB0_11: ## in Loop: Header=BB0_3 Depth=1
xorl %edi, %edi
movl %r15d, %esi
callq __warc_rdtyp
movq %r13, 24(%rbx)
movl $0, 4(%rbx)
andl $-2, %eax
cmpl $128, %eax
jne LBB0_2
## %bb.12: ## in Loop: Header=BB0_3 Depth=1
xorl %edi, %edi
movl %r15d, %esi
callq __warc_rduri
testl %eax, %eax
je LBB0_2
## %bb.13: ## in Loop: Header=BB0_3 Depth=1
movl %eax, %r12d
leal -1(%r12), %eax
cmpb $47, (%rdx,%rax)
je LBB0_2
## %bb.14:
movq -48(%rbp), %rbx ## 8-byte Reload
movq 16(%rbx), %rdi
cmpl 8(%rbx), %eax
jbe LBB0_16
## %bb.15:
movl %r12d, %esi
andl $-64, %esi
addl $64, %esi
movl %esi, 8(%rbx)
movq %rdx, -56(%rbp) ## 8-byte Spill
callq _realloc
movq -56(%rbp), %rdx ## 8-byte Reload
movq %rax, %rdi
movq %rax, 16(%rbx)
LBB0_16:
movq %rdx, %rsi
movl %r12d, %edx
callq _memcpy
movq 16(%rbx), %rax
movl %r12d, %ecx
movb $0, (%rax,%rcx)
movq 16(%rbx), %rax
movq %rax, -48(%rbp) ## 8-byte Spill
xorl %edi, %edi
movl %r15d, %esi
callq __warc_rdmtm
movq %rax, %r12
movq -72(%rbp), %rdi ## 8-byte Reload
movl %r15d, %esi
callq ___archive_read_consume
cmpq $-1, %r12
movq %r14, %rbx
cmovneq %r12, %rbx
movq _AE_IFREG@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq -80(%rbp), %r15 ## 8-byte Reload
movq %r15, %rdi
callq _archive_entry_set_filetype
movq %r15, %rdi
movq -48(%rbp), %rsi ## 8-byte Reload
callq _archive_entry_copy_pathname
movq %r15, %rdi
movq %r13, %rsi
callq _archive_entry_set_size
movq %r15, %rdi
movl $420, %esi ## imm = 0x1A4
callq _archive_entry_set_perm
movq %r15, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq _archive_entry_set_ctime
movq %r15, %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq _archive_entry_set_mtime
movq _ARCHIVE_OK@GOTPCREL(%rip), %rax
jmp LBB0_20
LBB0_17:
movq _ARCHIVE_ERRNO_MISC@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rdx
LBB0_18:
movq %rbx, %rdi
xorl %eax, %eax
callq _archive_set_error
LBB0_19:
movq _ARCHIVE_FATAL@GOTPCREL(%rip), %rax
LBB0_20:
movl (%rax), %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_21:
movq _ARCHIVE_EOF@GOTPCREL(%rip), %rax
jmp LBB0_20
LBB0_22:
movq _ARCHIVE_ERRNO_MISC@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str.1(%rip), %rdx
jmp LBB0_18
LBB0_23:
movq _ARCHIVE_ERRNO_MISC@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl %r12d, %eax
movl $3518437209, %ecx ## imm = 0xD1B71759
imulq %rax, %rcx
shrq $45, %rcx
imull $10000, %ecx, %eax ## imm = 0x2710
subl %eax, %r12d
imull $5243, %r12d, %r8d ## imm = 0x147B
shrl $19, %r8d
leaq L_.str.2(%rip), %rdx
movq %rbx, %rdi
## kill: def $ecx killed $ecx killed $rcx
xorl %eax, %eax
callq _archive_set_error
jmp LBB0_19
LBB0_24:
movq _EINVAL@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str.3(%rip), %rdx
jmp LBB0_18
LBB0_25:
movq _EINVAL@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str.4(%rip), %rdx
jmp LBB0_18
.cfi_endproc
## -- End function
.comm _ARCHIVE_ERRNO_MISC,4,2 ## @ARCHIVE_ERRNO_MISC
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Bad record header"
.comm _ARCHIVE_FATAL,4,2 ## @ARCHIVE_FATAL
.comm _ARCHIVE_EOF,4,2 ## @ARCHIVE_EOF
L_.str.1: ## @.str.1
.asciz "Invalid record version"
L_.str.2: ## @.str.2
.asciz "Unsupported record version: %u.%u"
.comm _EINVAL,4,2 ## @EINVAL
L_.str.3: ## @.str.3
.asciz "Bad content length"
L_.str.4: ## @.str.4
.asciz "Bad record time"
.comm _ARCHIVE_FORMAT_WARC,4,2 ## @ARCHIVE_FORMAT_WARC
L_.str.5: ## @.str.5
.asciz "WARC/%u.%u"
.comm _AE_IFREG,4,2 ## @AE_IFREG
.comm _ARCHIVE_OK,4,2 ## @ARCHIVE_OK
.comm _HDR_PROBE_LEN,4,2 ## @HDR_PROBE_LEN
.no_dead_strip __warc_rdhdr
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function _warc_rdhdr
__warc_rdhdr: ; @_warc_rdhdr
.cfi_startproc
; %bb.0:
sub sp, sp, #128
stp x28, x27, [sp, #32] ; 16-byte Folded Spill
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
str x1, [sp, #16] ; 8-byte Folded Spill
mov x19, x0
ldr x8, [x0, #8]
ldr x21, [x8]
add x2, sp, #24
mov w1, #12 ; =0xc
bl ___archive_read_ahead
ldr x1, [sp, #24]
cmp x1, #1
b.lt LBB0_20
; %bb.1:
Lloh0:
adrp x28, _ARCHIVE_EOF@GOTPAGE
Lloh1:
ldr x28, [x28, _ARCHIVE_EOF@GOTPAGEOFF]
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
mov x0, x19
bl __warc_skip
add x2, sp, #24
mov x0, x19
mov w1, #12 ; =0xc
bl ___archive_read_ahead
ldr x1, [sp, #24]
cmp x1, #1
b.lt LBB0_20
LBB0_3: ; =>This Inner Loop Header: Depth=1
cbnz x0, LBB0_22
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
bl __warc_find_eoh
cbz x0, LBB0_20
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
mov x24, x0
mov x0, #0 ; =0x0
mov x1, x24
bl __warc_rdver
cbz w0, LBB0_23
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
mov x25, x0
mov w8, #-10001 ; =0xffffd8ef
add w8, w0, w8
mov w9, #-8802 ; =0xffffdd9e
cmp w8, w9
b.ls LBB0_24
; %bb.7: ; in Loop: Header=BB0_3 Depth=1
mov x0, #0 ; =0x0
mov x1, x24
bl __warc_rdlen
tbnz x0, #63, LBB0_25
; %bb.8: ; in Loop: Header=BB0_3 Depth=1
mov x23, x0
mov x0, #0 ; =0x0
mov x1, x24
bl __warc_rdrtm
cmn x0, #1
b.eq LBB0_26
; %bb.9: ; in Loop: Header=BB0_3 Depth=1
mov x22, x0
Lloh2:
adrp x8, _ARCHIVE_FORMAT_WARC@GOTPAGE
Lloh3:
ldr x8, [x8, _ARCHIVE_FORMAT_WARC@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
str w8, [x19]
ldr w8, [x21]
cmp w25, w8
b.eq LBB0_11
; %bb.10: ; in Loop: Header=BB0_3 Depth=1
lsr w8, w25, #4
cmp w8, #624
cset w2, hi
mov w9, #-10000 ; =0xffffd8f0
add w9, w25, w9
cmp w8, #625
csel w8, w25, w9, lo
ubfx w8, w8, #2, #14
mov w9, #5243 ; =0x147b
mul w8, w8, w9
lsr w3, w8, #17
add x0, x21, #32
Lloh5:
adrp x1, l_.str.5@PAGE
Lloh6:
add x1, x1, l_.str.5@PAGEOFF
bl _archive_string_sprintf
str w25, [x21]
LBB0_11: ; in Loop: Header=BB0_3 Depth=1
mov x0, #0 ; =0x0
mov x1, x24
bl __warc_rdtyp
str x23, [x21, #24]
str wzr, [x21, #4]
sub w20, w0, #128
cmp w20, #1
b.hi LBB0_14
; %bb.12: ; in Loop: Header=BB0_3 Depth=1
mov x0, #0 ; =0x0
mov x1, x24
bl __warc_rduri
mov x25, x0
cbz w25, LBB0_14
; %bb.13: ; in Loop: Header=BB0_3 Depth=1
sub w8, w25, #1
ldrb w9, [x1, w8, uxtw]
cmp w9, #47
b.ne LBB0_17
LBB0_14: ; in Loop: Header=BB0_3 Depth=1
mov x25, #0 ; =0x0
mov x26, #0 ; =0x0
mov x27, #0 ; =0x0
LBB0_15: ; in Loop: Header=BB0_3 Depth=1
mov x0, x19
mov x1, x24
bl ___archive_read_consume
cmp w20, #1
b.hi LBB0_2
; %bb.16: ; in Loop: Header=BB0_3 Depth=1
mov w8, w25
cbz x8, LBB0_2
b LBB0_27
LBB0_17: ; in Loop: Header=BB0_3 Depth=1
ldr w9, [x21, #8]
ldr x0, [x21, #16]
cmp w8, w9
b.ls LBB0_19
; %bb.18: ; in Loop: Header=BB0_3 Depth=1
and w8, w25, #0xffffffc0
add w8, w8, #64
str w8, [x21, #8]
mov x26, x1
mov x1, x8
bl _realloc
mov x1, x26
str x0, [x21, #16]
LBB0_19: ; in Loop: Header=BB0_3 Depth=1
mov x2, x25
bl _memcpy
ldr x8, [x21, #16]
strb wzr, [x8, w25, uxtw]
ldr x27, [x21, #16]
mov x0, #0 ; =0x0
mov x1, x24
bl __warc_rdmtm
cmn x0, #1
csel x26, x22, x0, eq
b LBB0_15
LBB0_20:
Lloh7:
adrp x8, _ARCHIVE_ERRNO_MISC@GOTPAGE
Lloh8:
ldr x8, [x8, _ARCHIVE_ERRNO_MISC@GOTPAGEOFF]
Lloh9:
ldr w1, [x8]
Lloh10:
adrp x2, l_.str@PAGE
Lloh11:
add x2, x2, l_.str@PAGEOFF
LBB0_21:
mov x0, x19
bl _archive_set_error
Lloh12:
adrp x28, _ARCHIVE_FATAL@GOTPAGE
Lloh13:
ldr x28, [x28, _ARCHIVE_FATAL@GOTPAGEOFF]
LBB0_22:
ldr w0, [x28]
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
ldp x28, x27, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #128
ret
LBB0_23:
Lloh14:
adrp x8, _ARCHIVE_ERRNO_MISC@GOTPAGE
Lloh15:
ldr x8, [x8, _ARCHIVE_ERRNO_MISC@GOTPAGEOFF]
Lloh16:
ldr w1, [x8]
Lloh17:
adrp x2, l_.str.1@PAGE
Lloh18:
add x2, x2, l_.str.1@PAGEOFF
b LBB0_21
LBB0_24:
Lloh19:
adrp x8, _ARCHIVE_ERRNO_MISC@GOTPAGE
Lloh20:
ldr x8, [x8, _ARCHIVE_ERRNO_MISC@GOTPAGEOFF]
Lloh21:
ldr w1, [x8]
mov w8, #5977 ; =0x1759
movk w8, #53687, lsl #16
umull x8, w25, w8
lsr x8, x8, #45
mov w9, #10000 ; =0x2710
msub w9, w8, w9, w25
ubfx w9, w9, #2, #14
mov w10, #5243 ; =0x147b
mul w9, w9, w10
lsr w9, w9, #17
stp x8, x9, [sp]
Lloh22:
adrp x2, l_.str.2@PAGE
Lloh23:
add x2, x2, l_.str.2@PAGEOFF
b LBB0_21
LBB0_25:
Lloh24:
adrp x8, _EINVAL@GOTPAGE
Lloh25:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh26:
ldr w1, [x8]
Lloh27:
adrp x2, l_.str.3@PAGE
Lloh28:
add x2, x2, l_.str.3@PAGEOFF
b LBB0_21
LBB0_26:
Lloh29:
adrp x8, _EINVAL@GOTPAGE
Lloh30:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh31:
ldr w1, [x8]
Lloh32:
adrp x2, l_.str.4@PAGE
Lloh33:
add x2, x2, l_.str.4@PAGEOFF
b LBB0_21
LBB0_27:
Lloh34:
adrp x8, _AE_IFREG@GOTPAGE
Lloh35:
ldr x8, [x8, _AE_IFREG@GOTPAGEOFF]
Lloh36:
ldr w1, [x8]
ldr x19, [sp, #16] ; 8-byte Folded Reload
mov x0, x19
bl _archive_entry_set_filetype
mov x0, x19
mov x1, x27
bl _archive_entry_copy_pathname
mov x0, x19
mov x1, x23
bl _archive_entry_set_size
mov x0, x19
mov w1, #420 ; =0x1a4
bl _archive_entry_set_perm
mov x0, x19
mov x1, x22
mov x2, #0 ; =0x0
bl _archive_entry_set_ctime
mov x0, x19
mov x1, x26
mov x2, #0 ; =0x0
bl _archive_entry_set_mtime
Lloh37:
adrp x28, _ARCHIVE_OK@GOTPAGE
Lloh38:
ldr x28, [x28, _ARCHIVE_OK@GOTPAGEOFF]
b LBB0_22
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpAdd Lloh32, Lloh33
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.loh AdrpLdrGot Lloh37, Lloh38
.loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36
.cfi_endproc
; -- End function
.comm _ARCHIVE_ERRNO_MISC,4,2 ; @ARCHIVE_ERRNO_MISC
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Bad record header"
.comm _ARCHIVE_FATAL,4,2 ; @ARCHIVE_FATAL
.comm _ARCHIVE_EOF,4,2 ; @ARCHIVE_EOF
l_.str.1: ; @.str.1
.asciz "Invalid record version"
l_.str.2: ; @.str.2
.asciz "Unsupported record version: %u.%u"
.comm _EINVAL,4,2 ; @EINVAL
l_.str.3: ; @.str.3
.asciz "Bad content length"
l_.str.4: ; @.str.4
.asciz "Bad record time"
.comm _ARCHIVE_FORMAT_WARC,4,2 ; @ARCHIVE_FORMAT_WARC
l_.str.5: ; @.str.5
.asciz "WARC/%u.%u"
.comm _AE_IFREG,4,2 ; @AE_IFREG
.comm _ARCHIVE_OK,4,2 ; @ARCHIVE_OK
.comm _HDR_PROBE_LEN,4,2 ; @HDR_PROBE_LEN
.no_dead_strip __warc_rdhdr
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function bpf_core_find_cands
_bpf_core_find_cands: ## @bpf_core_find_cands
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %rbx
movl %esi, %r13d
movq %rdi, %r14
callq _btf__type_by_id
testq %rax, %rax
je LBB0_2
## %bb.1:
movl (%rax), %esi
movq %r14, %rdi
callq _btf__name_by_offset
movq %rax, %r15
movq %rax, %rdi
callq _str_is_empty
testq %rax, %rax
je LBB0_5
LBB0_2:
movq _EINVAL@GOTPCREL(%rip), %rax
LBB0_3:
movl (%rax), %edi
LBB0_4:
negl %edi
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _ERR_PTR ## TAILCALL
LBB0_5:
movq %r15, %rdi
callq _bpf_core_essential_name_len
movq %rax, %r12
movl $1, %edi
movl $16, %esi
callq _calloc
testq %rax, %rax
je LBB0_15
## %bb.6:
movq %rax, -64(%rbp) ## 8-byte Spill
movl %r13d, -52(%rbp) ## 4-byte Spill
movq %rbx, %rdi
callq _btf__get_nr_types
## kill: def $eax killed $eax def $rax
movq %rax, -48(%rbp) ## 8-byte Spill
testl %eax, %eax
jle LBB0_14
## %bb.7:
movq -48(%rbp), %rax ## 8-byte Reload
negl %eax
movq %rax, -48(%rbp) ## 8-byte Spill
movl $1, %r13d
jmp LBB0_9
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_9 Depth=1
movq -48(%rbp), %rax ## 8-byte Reload
addl %r13d, %eax
incl %eax
movl %r13d, %ecx
incl %ecx
movl %ecx, %r13d
cmpl $1, %eax
je LBB0_14
LBB0_9: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
movl %r13d, %esi
callq _btf__type_by_id
movl (%rax), %esi
movq %rbx, %rdi
callq _btf__name_by_offset
movq %rax, %r14
movq %rax, %rdi
callq _str_is_empty
testq %rax, %rax
jne LBB0_14
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
movq %r14, %rdi
callq _bpf_core_essential_name_len
cmpq %r12, %rax
jne LBB0_8
## %bb.11: ## in Loop: Header=BB0_9 Depth=1
movq %r15, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq _strncmp
testq %rax, %rax
jne LBB0_8
## %bb.12: ## in Loop: Header=BB0_9 Depth=1
leaq L_.str(%rip), %rdi
movl -52(%rbp), %esi ## 4-byte Reload
movq %r15, %rdx
movl %r13d, %ecx
movq %r14, %r8
callq _pr_debug
movq -64(%rbp), %r14 ## 8-byte Reload
movq (%r14), %rdi
movq 8(%r14), %rsi
decq %rsi
callq _realloc
testq %rax, %rax
je LBB0_16
## %bb.13: ## in Loop: Header=BB0_9 Depth=1
movq %rax, (%r14)
movq 8(%r14), %rcx
leaq 1(%rcx), %rdx
movq %rdx, 8(%r14)
movl %r13d, (%rax,%rcx,4)
jmp LBB0_8
LBB0_14:
movq -64(%rbp), %rax ## 8-byte Reload
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_15:
movq _ENOMEM@GOTPCREL(%rip), %rax
jmp LBB0_3
LBB0_16:
movq _ENOMEM@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movq %r14, %rdi
callq _bpf_core_free_cands
movl %ebx, %edi
jmp LBB0_4
.cfi_endproc
## -- End function
.comm _EINVAL,4,2 ## @EINVAL
.comm _ENOMEM,4,2 ## @ENOMEM
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "[%d] %s: found candidate [%d] %s\n"
.no_dead_strip _bpf_core_find_cands
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function bpf_core_find_cands
_bpf_core_find_cands: ; @bpf_core_find_cands
.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 _btf__type_by_id
cbz x0, LBB0_2
; %bb.1:
ldr w1, [x0]
mov x0, x21
bl _btf__name_by_offset
mov x21, x0
bl _str_is_empty
cbz x0, LBB0_5
LBB0_2:
Lloh0:
adrp x8, _EINVAL@GOTPAGE
Lloh1:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_3:
ldr w19, [x8]
LBB0_4:
neg w0, w19
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 _ERR_PTR
LBB0_5:
mov x0, x21
bl _bpf_core_essential_name_len
mov x23, x0
mov w0, #1 ; =0x1
mov w1, #16 ; =0x10
bl _calloc
cbz x0, LBB0_15
; %bb.6:
mov x22, x0
mov x0, x19
bl _btf__get_nr_types
cmp w0, #1
b.lt LBB0_14
; %bb.7:
mov x24, x0
mov w25, #1 ; =0x1
Lloh2:
adrp x26, l_.str@PAGE
Lloh3:
add x26, x26, l_.str@PAGEOFF
b LBB0_9
LBB0_8: ; in Loop: Header=BB0_9 Depth=1
add w25, w25, #1
subs w24, w24, #1
b.eq LBB0_14
LBB0_9: ; =>This Inner Loop Header: Depth=1
mov x0, x19
mov x1, x25
bl _btf__type_by_id
ldr w1, [x0]
mov x0, x19
bl _btf__name_by_offset
mov x27, x0
bl _str_is_empty
cbnz x0, LBB0_14
; %bb.10: ; in Loop: Header=BB0_9 Depth=1
mov x0, x27
bl _bpf_core_essential_name_len
cmp x0, x23
b.ne LBB0_8
; %bb.11: ; in Loop: Header=BB0_9 Depth=1
mov x0, x21
mov x1, x27
mov x2, x23
bl _strncmp
cbnz x0, LBB0_8
; %bb.12: ; in Loop: Header=BB0_9 Depth=1
mov x0, x26
mov x1, x20
mov x2, x21
mov x3, x25
mov x4, x27
bl _pr_debug
ldp x0, x8, [x22]
sub x1, x8, #1
bl _realloc
cbz x0, LBB0_16
; %bb.13: ; in Loop: Header=BB0_9 Depth=1
ldr x8, [x22, #8]
add x9, x8, #1
stp x0, x9, [x22]
str w25, [x0, x8, lsl #2]
b LBB0_8
LBB0_14:
mov x0, x22
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
LBB0_15:
Lloh4:
adrp x8, _ENOMEM@GOTPAGE
Lloh5:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
b LBB0_3
LBB0_16:
Lloh6:
adrp x8, _ENOMEM@GOTPAGE
Lloh7:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh8:
ldr w19, [x8]
mov x0, x22
bl _bpf_core_free_cands
b LBB0_4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _EINVAL,4,2 ; @EINVAL
.comm _ENOMEM,4,2 ; @ENOMEM
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "[%d] %s: found candidate [%d] %s\n"
.no_dead_strip _bpf_core_find_cands
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function group_resize
_group_resize: ## @group_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 _gbufsize@GOTPCREL(%rip), %r14
movl (%r14), %eax
leal (%rax,%rax), %ecx
testl %eax, %eax
movl $1024, %esi ## imm = 0x400
cmovnel %ecx, %esi
movl %esi, (%r14)
movq _gbuffer@GOTPCREL(%rip), %r15
movq (%r15), %rbx
movq %rbx, %rdi
callq _realloc
movq %rax, (%r15)
testq %rax, %rax
je LBB0_1
## %bb.2:
movl (%r14), %edx
xorl %ebx, %ebx
movq %rax, %rdi
xorl %esi, %esi
callq _memset
jmp LBB0_3
LBB0_1:
movq %rbx, %rdi
callq _free
movl $0, (%r14)
movq _ENOMEM@GOTPCREL(%rip), %rax
movl (%rax), %ebx
LBB0_3:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _gbufsize,4,2 ## @gbufsize
.comm _gbuffer,8,3 ## @gbuffer
.comm _ENOMEM,4,2 ## @ENOMEM
.no_dead_strip _group_resize
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function group_resize
_group_resize: ; @group_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
Lloh0:
adrp x20, _gbufsize@GOTPAGE
Lloh1:
ldr x20, [x20, _gbufsize@GOTPAGEOFF]
ldr w8, [x20]
lsl w9, w8, #1
mov w10, #1024 ; =0x400
cmp w8, #0
csel w1, w10, w9, eq
str w1, [x20]
Lloh2:
adrp x21, _gbuffer@GOTPAGE
Lloh3:
ldr x21, [x21, _gbuffer@GOTPAGEOFF]
ldr x19, [x21]
mov x0, x19
bl _realloc
str x0, [x21]
cbz x0, LBB0_2
; %bb.1:
ldr w2, [x20]
mov w1, #0 ; =0x0
bl _memset
mov w0, #0 ; =0x0
b LBB0_3
LBB0_2:
mov x0, x19
bl _free
str wzr, [x20]
Lloh4:
adrp x8, _ENOMEM@GOTPAGE
Lloh5:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh6:
ldr w0, [x8]
LBB0_3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _gbufsize,4,2 ; @gbufsize
.comm _gbuffer,8,3 ; @gbuffer
.comm _ENOMEM,4,2 ; @ENOMEM
.no_dead_strip _group_resize
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function ps_psm_fill
_ps_psm_fill: ## @ps_psm_fill
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $104, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r8, %rbx
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %r13
xorl %edi, %edi
cmpq $4, %rdx
setae %dil
callq _assert
testq %r13, %r13
sete %al
cmpq $10, %r15
setb %cl
testb %cl, %al
jne LBB0_2
## %bb.1:
movl 12(%r12), %eax
movq _PS_STREAM_ID_MAP@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB0_2
## %bb.3:
leaq 16(%r12), %rdi
callq _GetWBE
addl $-6, %eax
cltq
cmpq %r15, %rax
ja LBB0_2
## %bb.4:
movl 24(%r12), %ecx
movl %ecx, -88(%rbp) ## 4-byte Spill
andl $248, %ecx
cmpl %ecx, (%r13)
je LBB0_2
## %bb.5:
movl %ecx, -84(%rbp) ## 4-byte Spill
movq %r13, %rdi
movq %rax, -64(%rbp) ## 8-byte Spill
callq _ps_psm_destroy
leaq 32(%r12), %rdi
callq _GetWBE
movslq %eax, %rcx
leaq 10(%rcx), %rax
cmpq -64(%rbp), %rax ## 8-byte Folded Reload
movq -64(%rbp), %rax ## 8-byte Reload
jbe LBB0_6
LBB0_2:
movq _VLC_EGENERIC@GOTPCREL(%rip), %rax
LBB0_27:
movl (%rax), %eax
addq $104, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_6:
movq %r13, -56(%rbp) ## 8-byte Spill
movq %r12, -72(%rbp) ## 8-byte Spill
movq %rbx, -136(%rbp) ## 8-byte Spill
movq %rcx, -48(%rbp) ## 8-byte Spill
leaq 16(%rcx), %rdx
movq %rdx, -80(%rbp) ## 8-byte Spill
cmpq %rax, %rdx
jae LBB0_16
## %bb.7:
addq $12, -48(%rbp) ## 8-byte Folded Spill
movq -56(%rbp), %rax ## 8-byte Reload
addq $8, %rax
movq %rax, -128(%rbp) ## 8-byte Spill
jmp LBB0_8
LBB0_14: ## in Loop: Header=BB0_8 Depth=1
movq -72(%rbp), %rax ## 8-byte Reload
movq -80(%rbp), %rcx ## 8-byte Reload
leaq (%rax,%rcx,4), %rdi
addq $8, %rdx
movq %rbx, %rsi
callq _ps_parse_descriptors
movq -48(%rbp), %r12 ## 8-byte Reload
LBB0_15: ## in Loop: Header=BB0_8 Depth=1
leaq (%r12,%rbx), %rcx
addq $8, %rcx
leaq (%r12,%rbx), %rax
addq $4, %rax
movq %rax, -48(%rbp) ## 8-byte Spill
movq %rcx, -80(%rbp) ## 8-byte Spill
cmpq -64(%rbp), %rcx ## 8-byte Folded Reload
jae LBB0_16
LBB0_8: ## =>This Inner Loop Header: Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
movq 16(%rax), %rdi
movl 4(%rax), %eax
leal (%rax,%rax,2), %eax
leal 12(,%rax,4), %esi
callq _realloc
testq %rax, %rax
je LBB0_16
## %bb.9: ## in Loop: Header=BB0_8 Depth=1
movq %rax, %r12
movq -56(%rbp), %rdx ## 8-byte Reload
movq %rax, 16(%rdx)
movslq 4(%rdx), %rax
leal 1(%rax), %ecx
movl %ecx, 4(%rdx)
leaq (%rax,%rax,2), %r13
movq -72(%rbp), %rcx ## 8-byte Reload
movq -48(%rbp), %rdx ## 8-byte Reload
movl (%rcx,%rdx,4), %eax
movl %eax, (%r12,%r13,4)
movl 4(%rcx,%rdx,4), %eax
movl %eax, 4(%r12,%r13,4)
leaq (%rcx,%rdx,4), %rdi
addq $8, %rdi
callq _GetWBE
movslq %eax, %rbx
movq -80(%rbp), %rcx ## 8-byte Reload
addq %rbx, %rcx
cmpq -64(%rbp), %rcx ## 8-byte Folded Reload
ja LBB0_16
## %bb.10: ## in Loop: Header=BB0_8 Depth=1
leaq (%r12,%r13,4), %rdx
testb $64, -88(%rbp) ## 1-byte Folded Reload
jne LBB0_14
## %bb.11: ## in Loop: Header=BB0_8 Depth=1
movl 4(%rdx), %ecx
movq _PS_STREAM_ID_EXTENDED@GOTPCREL(%rip), %rsi
cmpl (%rsi), %ecx
jne LBB0_14
## %bb.12: ## in Loop: Header=BB0_8 Depth=1
cmpl $4, %eax
jb LBB0_16
## %bb.13: ## in Loop: Header=BB0_8 Depth=1
movq -72(%rbp), %rax ## 8-byte Reload
movq -48(%rbp), %r12 ## 8-byte Reload
leaq (%rax,%r12,4), %rdi
shll $8, %ecx
movl 24(%rdi), %eax
andl $127, %eax
orl %ecx, %eax
movl %eax, 4(%rdx)
addq $28, %rdi
leaq -3(%rbx), %rsi
movq -128(%rbp), %rdx ## 8-byte Reload
callq _ps_parse_descriptors
jmp LBB0_15
LBB0_16:
movq -56(%rbp), %rax ## 8-byte Reload
movl -84(%rbp), %ecx ## 4-byte Reload
movl %ecx, (%rax)
movq _PS_TK_COUNT@GOTPCREL(%rip), %rbx
movl (%rbx), %eax
testl %eax, %eax
jle LBB0_26
## %bb.17:
leaq -112(%rbp), %r13
xorl %r12d, %r12d
jmp LBB0_18
LBB0_23: ## in Loop: Header=BB0_18 Depth=1
leaq 8(%r14), %rbx
movq 16(%r14), %rsi
movq -136(%rbp), %r13 ## 8-byte Reload
movq %r13, %rdi
callq _es_out_Del
movq %rbx, %rdi
callq _es_format_Clean
movl $1, -120(%rbp)
movups -104(%rbp), %xmm0
movups %xmm0, 16(%r14)
movl -120(%rbp), %eax
movl %eax, (%r14)
movq -116(%rbp), %rax
movq %rax, 4(%r14)
movl -108(%rbp), %eax
movl %eax, 12(%r14)
movq %r13, %rdi
leaq -112(%rbp), %r13
movq %rbx, %rsi
movq _PS_TK_COUNT@GOTPCREL(%rip), %rbx
callq _es_out_Add
movq %rax, 16(%r14)
LBB0_24: ## in Loop: Header=BB0_18 Depth=1
movl (%rbx), %eax
LBB0_25: ## in Loop: Header=BB0_18 Depth=1
incq %r12
movslq %eax, %rcx
addq $32, %r14
cmpq %rcx, %r12
jge LBB0_26
LBB0_18: ## =>This Inner Loop Header: Depth=1
cmpl $0, (%r14)
je LBB0_25
## %bb.19: ## in Loop: Header=BB0_18 Depth=1
cmpq $0, 16(%r14)
je LBB0_25
## %bb.20: ## in Loop: Header=BB0_18 Depth=1
movq _UNKNOWN_ES@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r13, %rdi
xorl %edx, %edx
callq _es_format_Init
movl 24(%r14), %edx
leaq -120(%rbp), %rdi
movq -56(%rbp), %rsi ## 8-byte Reload
movq -72(%rbp), %rcx ## 8-byte Reload
movq %r15, %r8
xorl %r9d, %r9d
callq _ps_track_fill
movq _VLC_SUCCESS@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_24
## %bb.21: ## in Loop: Header=BB0_18 Depth=1
movq -112(%rbp), %rax
cmpq 8(%r14), %rax
jne LBB0_23
## %bb.22: ## in Loop: Header=BB0_18 Depth=1
movq %r13, %rdi
callq _es_format_Clean
jmp LBB0_24
LBB0_26:
movq _VLC_SUCCESS@GOTPCREL(%rip), %rax
jmp LBB0_27
.cfi_endproc
## -- End function
.comm _PS_TK_COUNT,4,2 ## @PS_TK_COUNT
.comm _PS_STREAM_ID_MAP,4,2 ## @PS_STREAM_ID_MAP
.comm _VLC_EGENERIC,4,2 ## @VLC_EGENERIC
.comm _PS_STREAM_ID_EXTENDED,4,2 ## @PS_STREAM_ID_EXTENDED
.comm _UNKNOWN_ES,4,2 ## @UNKNOWN_ES
.comm _VLC_SUCCESS,8,3 ## @VLC_SUCCESS
.no_dead_strip _ps_psm_fill
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function ps_psm_fill
_ps_psm_fill: ; @ps_psm_fill
.cfi_startproc
; %bb.0:
sub sp, sp, #160
stp x28, x27, [sp, #64] ; 16-byte Folded Spill
stp x26, x25, [sp, #80] ; 16-byte Folded Spill
stp x24, x23, [sp, #96] ; 16-byte Folded Spill
stp x22, x21, [sp, #112] ; 16-byte Folded Spill
stp x20, x19, [sp, #128] ; 16-byte Folded Spill
stp x29, x30, [sp, #144] ; 16-byte Folded Spill
add x29, sp, #144
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x4
mov x23, x3
mov x20, x2
mov x21, x1
mov x22, x0
cmp x2, #3
cset w0, hi
bl _assert
cbnz x22, LBB0_2
; %bb.1:
cmp x20, #10
b.lo LBB0_6
LBB0_2:
ldr w8, [x21, #12]
Lloh0:
adrp x9, _PS_STREAM_ID_MAP@GOTPAGE
Lloh1:
ldr x9, [x9, _PS_STREAM_ID_MAP@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
cmp w8, w9
b.ne LBB0_6
; %bb.3:
add x0, x21, #16
bl _GetWBE
sub w8, w0, #6
sxtw x25, w8
cmp x25, x20
b.hi LBB0_6
; %bb.4:
ldr w8, [x21, #24]
str w8, [sp, #28] ; 4-byte Folded Spill
and w24, w8, #0xf8
ldr w8, [x22]
cmp w8, w24
b.eq LBB0_6
; %bb.5:
mov x0, x22
bl _ps_psm_destroy
add x0, x21, #32
bl _GetWBE
; kill: def $w0 killed $w0 def $x0
sxtw x8, w0
add x9, x8, #10
cmp x9, x25
b.ls LBB0_8
LBB0_6:
Lloh3:
adrp x8, _VLC_EGENERIC@GOTPAGE
Lloh4:
ldr x8, [x8, _VLC_EGENERIC@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
LBB0_7:
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
ldp x20, x19, [sp, #128] ; 16-byte Folded Reload
ldp x22, x21, [sp, #112] ; 16-byte Folded Reload
ldp x24, x23, [sp, #96] ; 16-byte Folded Reload
ldp x26, x25, [sp, #80] ; 16-byte Folded Reload
ldp x28, x27, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #160
ret
LBB0_8:
str w24, [sp, #12] ; 4-byte Folded Spill
str x19, [sp, #16] ; 8-byte Folded Spill
add x26, x8, #16
cmp x26, x25
b.hs LBB0_18
; %bb.9:
add x28, x8, #12
mov w8, #12 ; =0xc
str w8, [sp, #24] ; 4-byte Folded Spill
b LBB0_12
LBB0_10: ; in Loop: Header=BB0_12 Depth=1
add x0, x21, x26, lsl #2
add x2, x27, #8
mov x1, x24
LBB0_11: ; in Loop: Header=BB0_12 Depth=1
bl _ps_parse_descriptors
add x8, x28, x24
add x28, x8, #4
add x26, x8, #8
cmp x26, x25
b.hs LBB0_18
LBB0_12: ; =>This Inner Loop Header: Depth=1
ldr x0, [x22, #16]
ldr w8, [x22, #4]
mov w9, #12 ; =0xc
ldr w10, [sp, #24] ; 4-byte Folded Reload
madd w1, w8, w9, w10
bl _realloc
cbz x0, LBB0_18
; %bb.13: ; in Loop: Header=BB0_12 Depth=1
str x0, [x22, #16]
ldrsw x8, [x22, #4]
add w9, w8, #1
str w9, [x22, #4]
mov w9, #12 ; =0xc
smaddl x27, w8, w9, x0
add x19, x21, x28, lsl #2
ldr w8, [x19]
str w8, [x27]
ldr w8, [x19, #4]
str w8, [x27, #4]
add x0, x19, #8
bl _GetWBE
; kill: def $w0 killed $w0 def $x0
sxtw x24, w0
add x8, x26, x24
cmp x8, x25
b.hi LBB0_18
; %bb.14: ; in Loop: Header=BB0_12 Depth=1
ldr w8, [sp, #28] ; 4-byte Folded Reload
tbnz w8, #6, LBB0_10
; %bb.15: ; in Loop: Header=BB0_12 Depth=1
ldr w8, [x27, #4]
Lloh6:
adrp x9, _PS_STREAM_ID_EXTENDED@GOTPAGE
Lloh7:
ldr x9, [x9, _PS_STREAM_ID_EXTENDED@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
cmp w8, w9
b.ne LBB0_10
; %bb.16: ; in Loop: Header=BB0_12 Depth=1
cmp w24, #4
b.lo LBB0_18
; %bb.17: ; in Loop: Header=BB0_12 Depth=1
ldr w9, [x19, #24]
and w9, w9, #0x7f
orr w8, w9, w8, lsl #8
str w8, [x27, #4]
sub x1, x24, #3
add x0, x19, #28
add x2, x22, #8
b LBB0_11
LBB0_18:
ldr w8, [sp, #12] ; 4-byte Folded Reload
str w8, [x22]
Lloh9:
adrp x8, _PS_TK_COUNT@GOTPAGE
Lloh10:
ldr x8, [x8, _PS_TK_COUNT@GOTPAGEOFF]
Lloh11:
ldr w8, [x8]
Lloh12:
adrp x19, _VLC_SUCCESS@GOTPAGE
Lloh13:
ldr x19, [x19, _VLC_SUCCESS@GOTPAGEOFF]
cmp w8, #1
b.lt LBB0_29
; %bb.19:
mov x26, #0 ; =0x0
add x27, sp, #32
add x28, x23, #16
Lloh14:
adrp x23, _UNKNOWN_ES@GOTPAGE
Lloh15:
ldr x23, [x23, _UNKNOWN_ES@GOTPAGEOFF]
b LBB0_24
LBB0_20: ; in Loop: Header=BB0_24 Depth=1
ldr x1, [x28]
ldr x27, [sp, #16] ; 8-byte Folded Reload
mov x0, x27
bl _es_out_Del
mov x0, x23
bl _es_format_Clean
mov w8, #1 ; =0x1
str w8, [sp, #32]
ldp q1, q0, [sp, #32]
stp q1, q0, [x24]
mov x0, x27
add x27, sp, #32
mov x1, x23
bl _es_out_Add
str x0, [x28]
LBB0_21: ; in Loop: Header=BB0_24 Depth=1
mov x23, x25
LBB0_22: ; in Loop: Header=BB0_24 Depth=1
Lloh16:
adrp x8, _PS_TK_COUNT@GOTPAGE
Lloh17:
ldr x8, [x8, _PS_TK_COUNT@GOTPAGEOFF]
Lloh18:
ldr w8, [x8]
LBB0_23: ; in Loop: Header=BB0_24 Depth=1
add x26, x26, #1
add x28, x28, #32
cmp x26, w8, sxtw
b.ge LBB0_29
LBB0_24: ; =>This Inner Loop Header: Depth=1
mov x24, x28
ldr w9, [x24, #-16]!
cbz w9, LBB0_23
; %bb.25: ; in Loop: Header=BB0_24 Depth=1
ldr x9, [x28]
cbz x9, LBB0_23
; %bb.26: ; in Loop: Header=BB0_24 Depth=1
ldr w1, [x23]
add x0, x27, #8
mov w2, #0 ; =0x0
bl _es_format_Init
ldr w2, [x28, #8]
add x0, sp, #32
mov x1, x22
mov x3, x21
mov x4, x20
mov w5, #0 ; =0x0
bl _ps_track_fill
ldr x8, [x19]
cmp x0, x8
b.ne LBB0_22
; %bb.27: ; in Loop: Header=BB0_24 Depth=1
mov x25, x23
ldr x8, [sp, #40]
mov x23, x28
ldr x9, [x23, #-8]!
cmp x8, x9
b.ne LBB0_20
; %bb.28: ; in Loop: Header=BB0_24 Depth=1
add x0, x27, #8
bl _es_format_Clean
b LBB0_21
LBB0_29:
ldr w0, [x19]
b LBB0_7
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.cfi_endproc
; -- End function
.comm _PS_TK_COUNT,4,2 ; @PS_TK_COUNT
.comm _PS_STREAM_ID_MAP,4,2 ; @PS_STREAM_ID_MAP
.comm _VLC_EGENERIC,4,2 ; @VLC_EGENERIC
.comm _PS_STREAM_ID_EXTENDED,4,2 ; @PS_STREAM_ID_EXTENDED
.comm _UNKNOWN_ES,4,2 ; @UNKNOWN_ES
.comm _VLC_SUCCESS,8,3 ; @VLC_SUCCESS
.no_dead_strip _ps_psm_fill
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function realloc_method_data
_realloc_method_data: ## @realloc_method_data
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movq 8(%rdi), %rdi
movl (%rbx), %eax
leal -4(,%rax,4), %esi
callq _realloc
testq %rax, %rax
je LBB0_1
## %bb.2:
movq %rax, 8(%rbx)
incl (%rbx)
xorl %eax, %eax
jmp LBB0_3
LBB0_1:
movq _ENOMEM@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_3:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ENOMEM,4,2 ## @ENOMEM
.no_dead_strip _realloc_method_data
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function realloc_method_data
_realloc_method_data: ; @realloc_method_data
.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 x0, [x0, #8]
ldr w8, [x19]
lsl w8, w8, #2
sub w1, w8, #4
bl _realloc
cbz x0, LBB0_2
; %bb.1:
mov x8, x0
mov w0, #0 ; =0x0
str x8, [x19, #8]
ldr w8, [x19]
add w8, w8, #1
str w8, [x19]
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 _realloc_method_data
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _file_list_reserve ## -- Begin function file_list_reserve
.p2align 4, 0x90
_file_list_reserve: ## @file_list_reserve
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
xorl %r15d, %r15d
movq %rsi, %rax
shrq $62, %rax
jne LBB0_4
## %bb.1:
movq %rsi, %rbx
movq %rdi, %r14
cmpq %rsi, (%rdi)
jae LBB0_4
## %bb.2:
movq 8(%r14), %rdi
leaq (,%rbx,4), %rsi
callq _realloc
testq %rax, %rax
je LBB0_4
## %bb.3:
movq (%r14), %rdx
leaq (%rax,%rdx,4), %rdi
addq %rbx, %rdx
shlq $2, %rdx
xorl %esi, %esi
movq %rax, %r15
callq _memset
movq %r15, 8(%r14)
movq %rbx, (%r14)
movl $1, %r15d
LBB0_4:
movl %r15d, %eax
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 _file_list_reserve ; -- Begin function file_list_reserve
.p2align 2
_file_list_reserve: ; @file_list_reserve
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x0
mov w0, #0 ; =0x0
lsr x8, x1, #62
cbnz x8, LBB0_4
; %bb.1:
mov x19, x1
ldr x8, [x20]
cmp x8, x1
b.hs LBB0_4
; %bb.2:
ldr x0, [x20, #8]
lsl x1, x19, #2
bl _realloc
cbz x0, LBB0_4
; %bb.3:
ldr x9, [x20]
add x8, x0, x9, lsl #2
add x9, x9, x19
lsl x2, x9, #2
mov x21, x0
mov x0, x8
mov w1, #0 ; =0x0
bl _memset
stp x19, x21, [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
.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_mark
_mpc_input_mark: ## @mpc_input_mark
.cfi_startproc
## %bb.0:
cmpl $0, (%rdi)
jle LBB0_8
## %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
movl 4(%rdi), %eax
leal 1(%rax), %esi
movl %esi, 4(%rdi)
cmpl 8(%rdi), %eax
jge LBB0_3
## %bb.2:
movq 32(%rbx), %rax
jmp LBB0_4
LBB0_3:
movl %esi, %eax
shrl $31, %eax
addl %esi, %eax
sarl %eax
subl %eax, %esi
movl %esi, 8(%rbx)
movq 48(%rbx), %rdi
shll $2, %esi
callq _realloc
movq %rax, 48(%rbx)
movq 32(%rbx), %rdi
movl 8(%rbx), %esi
callq _realloc
movq %rax, 32(%rbx)
movl 4(%rbx), %esi
LBB0_4:
movl 40(%rbx), %ecx
movq 48(%rbx), %rdx
movslq %esi, %rsi
movl %ecx, -4(%rdx,%rsi,4)
movl 28(%rbx), %ecx
movslq 4(%rbx), %rdx
movl %ecx, -4(%rax,%rdx,4)
movq 16(%rbx), %rax
movq _MPC_INPUT_PIPE@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_6
## %bb.5:
cmpl $1, 4(%rbx)
jne LBB0_7
LBB0_6:
movl $1, %edi
movl $1, %esi
callq _calloc
movl %eax, 24(%rbx)
LBB0_7:
addq $8, %rsp
popq %rbx
popq %rbp
LBB0_8:
retq
.cfi_endproc
## -- End function
.comm _MPC_INPUT_PIPE,8,3 ## @MPC_INPUT_PIPE
.no_dead_strip _mpc_input_mark
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function mpc_input_mark
_mpc_input_mark: ; @mpc_input_mark
.cfi_startproc
; %bb.0:
ldr w8, [x0]
cmp w8, #1
b.lt LBB0_8
; %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
ldp w9, w10, [x0, #4]
add w8, w9, #1
str w8, [x0, #4]
cmp w9, w10
b.ge LBB0_3
; %bb.2:
ldr x0, [x19, #32]
b LBB0_4
LBB0_3:
add w9, w8, w8, lsr #31
sub w8, w8, w9, asr #1
str w8, [x19, #8]
ldr x0, [x19, #48]
lsl w1, w8, #2
bl _realloc
str x0, [x19, #48]
ldr x0, [x19, #32]
ldr w1, [x19, #8]
bl _realloc
str x0, [x19, #32]
ldr w8, [x19, #4]
LBB0_4:
ldr w9, [x19, #40]
ldr x10, [x19, #48]
add x8, x10, w8, sxtw #2
stur w9, [x8, #-4]
ldr w8, [x19, #28]
ldrsw x9, [x19, #4]
add x9, x0, x9, lsl #2
stur w8, [x9, #-4]
ldr x8, [x19, #16]
Lloh0:
adrp x9, _MPC_INPUT_PIPE@GOTPAGE
Lloh1:
ldr x9, [x9, _MPC_INPUT_PIPE@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x8, x9
b.eq LBB0_6
; %bb.5:
ldr w8, [x19, #4]
cmp w8, #1
b.ne LBB0_7
LBB0_6:
mov w0, #1 ; =0x1
mov w1, #1 ; =0x1
bl _calloc
str w0, [x19, #24]
LBB0_7:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
LBB0_8:
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _MPC_INPUT_PIPE,8,3 ; @MPC_INPUT_PIPE
.no_dead_strip _mpc_input_mark
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function addColumnFilterInfo
_addColumnFilterInfo: ## @addColumnFilterInfo
.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
testq %rdi, %rdi
je LBB0_1
## %bb.2:
movq %rdi, %rbx
movl (%rdi), %eax
movq 8(%rdi), %rdi
leal -4(,%rax,4), %esi
callq _realloc
testq %rax, %rax
je LBB0_3
## %bb.4:
movq %rax, 8(%rbx)
jmp LBB0_5
LBB0_1:
xorl %ebx, %ebx
jmp LBB0_6
LBB0_3:
movq 8(%rbx), %rax
LBB0_5:
movslq (%rbx), %rcx
leal 1(%rcx), %edx
movl %edx, (%rbx)
leaq (%rax,%rcx,4), %rbx
movq %rbx, %rdi
xorl %esi, %esi
movl $4, %edx
callq _memset
LBB0_6:
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _addColumnFilterInfo
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function addColumnFilterInfo
_addColumnFilterInfo: ; @addColumnFilterInfo
.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
cbz x0, LBB0_5
; %bb.1:
ldr w8, [x19]
ldr x0, [x19, #8]
lsl w8, w8, #2
sub w1, w8, #4
bl _realloc
cbz x0, LBB0_3
; %bb.2:
str x0, [x19, #8]
b LBB0_4
LBB0_3:
ldr x0, [x19, #8]
LBB0_4:
ldrsw x8, [x19]
add w9, w8, #1
str w9, [x19]
add x19, x0, x8, lsl #2
mov x0, x19
mov w1, #0 ; =0x0
mov w2, #4 ; =0x4
bl _memset
LBB0_5:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _addColumnFilterInfo
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function scc_relloc
_scc_relloc: ## @scc_relloc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _scc_relloc
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function scc_relloc
_scc_relloc: ; @scc_relloc
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.no_dead_strip _scc_relloc
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _archive_read_add_callback_data ## -- Begin function archive_read_add_callback_data
.p2align 4, 0x90
_archive_read_add_callback_data: ## @archive_read_add_callback_data
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r14d
movq %rsi, %rbx
movq %rdi, %r15
movq _ARCHIVE_READ_MAGIC@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _ARCHIVE_STATE_NEW@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq L_.str(%rip), %rcx
callq _archive_check_magic
movl (%r15), %esi
cmpl %r14d, %esi
jae LBB0_3
## %bb.1:
addq $16, %r15
movq _EINVAL@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str.1(%rip), %rdx
jmp LBB0_2
LBB0_3:
movq 8(%r15), %rdi
decl %esi
movl %esi, (%r15)
shll $4, %esi
callq _realloc
testq %rax, %rax
je LBB0_4
## %bb.5:
movq %rax, 8(%r15)
movl (%r15), %ecx
decl %ecx
je LBB0_8
## %bb.6:
movl %ecx, %ecx
movq %rcx, %rdx
shlq $4, %rdx
addq %rax, %rdx
addq $8, %rdx
decq %rcx
movq %rcx, %rsi
.p2align 4, 0x90
LBB0_7: ## =>This Inner Loop Header: Depth=1
movl %ecx, %edi
shlq $4, %rdi
movq 8(%rax,%rdi), %rdi
movq %rdi, (%rdx)
movq $-1, -8(%rdx)
decq %rsi
addq $-16, %rdx
testl %ecx, %ecx
movq %rsi, %rcx
jne LBB0_7
LBB0_8:
movl %r14d, %ecx
shlq $4, %rcx
movq %rbx, 8(%rax,%rcx)
movq $-1, (%rax,%rcx)
movq _ARCHIVE_OK@GOTPCREL(%rip), %rax
jmp LBB0_9
LBB0_4:
addq $16, %r15
movq _ENOMEM@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str.2(%rip), %rdx
LBB0_2:
movq %r15, %rdi
callq _archive_set_error
movq _ARCHIVE_FATAL@GOTPCREL(%rip), %rax
LBB0_9:
movl (%rax), %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ARCHIVE_READ_MAGIC,4,2 ## @ARCHIVE_READ_MAGIC
.comm _ARCHIVE_STATE_NEW,4,2 ## @ARCHIVE_STATE_NEW
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "archive_read_add_callback_data"
.comm _EINVAL,4,2 ## @EINVAL
L_.str.1: ## @.str.1
.asciz "Invalid index specified."
.comm _ARCHIVE_FATAL,4,2 ## @ARCHIVE_FATAL
.comm _ENOMEM,4,2 ## @ENOMEM
L_.str.2: ## @.str.2
.asciz "No memory."
.comm _ARCHIVE_OK,4,2 ## @ARCHIVE_OK
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _archive_read_add_callback_data ; -- Begin function archive_read_add_callback_data
.p2align 2
_archive_read_add_callback_data: ; @archive_read_add_callback_data
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x2
mov x19, x1
mov x21, x0
Lloh0:
adrp x8, _ARCHIVE_READ_MAGIC@GOTPAGE
Lloh1:
ldr x8, [x8, _ARCHIVE_READ_MAGIC@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
Lloh3:
adrp x8, _ARCHIVE_STATE_NEW@GOTPAGE
Lloh4:
ldr x8, [x8, _ARCHIVE_STATE_NEW@GOTPAGEOFF]
Lloh5:
ldr w2, [x8]
Lloh6:
adrp x3, l_.str@PAGE
Lloh7:
add x3, x3, l_.str@PAGEOFF
bl _archive_check_magic
ldr w8, [x21]
cmp w8, w20
b.hs LBB0_2
; %bb.1:
Lloh8:
adrp x8, _EINVAL@GOTPAGE
Lloh9:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
ldr w1, [x8]
Lloh11:
adrp x2, l_.str.1@PAGE
Lloh12:
add x2, x2, l_.str.1@PAGEOFF
b LBB0_8
LBB0_2:
ldr x0, [x21, #8]
sub w8, w8, #1
str w8, [x21]
lsl w1, w8, #4
bl _realloc
cbz x0, LBB0_7
; %bb.3:
str x0, [x21, #8]
ldr w8, [x21]
subs w9, w8, #1
b.eq LBB0_6
; %bb.4:
add x8, x0, w9, uxtw #4
add x8, x8, #8
sub x9, x9, #1
movi.2d v0, #0xffffffffffffffff
LBB0_5: ; =>This Inner Loop Header: Depth=1
mov x10, x9
add x11, x0, w9, uxtw #4
ldr x11, [x11, #8]
str x11, [x8]
stur d0, [x8, #-8]
sub x9, x9, #1
sub x8, x8, #16
cbnz w10, LBB0_5
LBB0_6:
add x8, x0, w20, uxtw #4
str x19, [x8, #8]
movi.2d v0, #0xffffffffffffffff
str d0, [x8]
Lloh13:
adrp x8, _ARCHIVE_OK@GOTPAGE
Lloh14:
ldr x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
b LBB0_9
LBB0_7:
Lloh15:
adrp x8, _ENOMEM@GOTPAGE
Lloh16:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh17:
ldr w1, [x8]
Lloh18:
adrp x2, l_.str.2@PAGE
Lloh19:
add x2, x2, l_.str.2@PAGEOFF
LBB0_8:
add x0, x21, #16
bl _archive_set_error
Lloh20:
adrp x8, _ARCHIVE_FATAL@GOTPAGE
Lloh21:
ldr x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
LBB0_9:
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 AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGot Lloh20, Lloh21
.cfi_endproc
; -- End function
.comm _ARCHIVE_READ_MAGIC,4,2 ; @ARCHIVE_READ_MAGIC
.comm _ARCHIVE_STATE_NEW,4,2 ; @ARCHIVE_STATE_NEW
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "archive_read_add_callback_data"
.comm _EINVAL,4,2 ; @EINVAL
l_.str.1: ; @.str.1
.asciz "Invalid index specified."
.comm _ARCHIVE_FATAL,4,2 ; @ARCHIVE_FATAL
.comm _ENOMEM,4,2 ; @ENOMEM
l_.str.2: ; @.str.2
.asciz "No memory."
.comm _ARCHIVE_OK,4,2 ; @ARCHIVE_OK
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _add_keybinding ## -- Begin function add_keybinding
.p2align 4, 0x90
_add_keybinding: ## @add_keybinding
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %r15
movq %rdx, %r12
movl %esi, %ebx
movq %rdi, %r14
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _SIZEOF_STR@GOTPCREL(%rip), %rax
movl (%rax), %eax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r13
movl $0, -56(%rbp)
cmpq $0, (%r14)
je LBB0_1
## %bb.2:
movq 8(%r14), %rax
movq (%rax), %rdi
leaq -56(%rbp), %rcx
movq %r12, %rsi
movq %r15, %rdx
callq _keybinding_equals
testq %rax, %rax
je LBB0_5
## %bb.3:
movq 8(%r14), %rax
movq (%rax), %rax
movl (%rax), %edi
movl %ebx, (%rax)
cmpl $0, -56(%rbp)
je LBB0_9
## %bb.4:
callq _get_request_name
movl %ebx, %r14d
movq %rax, %rbx
movq %rax, %rdi
callq _strlen
movq %r13, %rdi
movq %rbx, %rsi
movl %eax, %edx
callq _string_ncopy
movl %r14d, %edi
callq _get_request_name
leaq L_.str(%rip), %rdi
movq %r13, %rsi
movq %rax, %rdx
callq _error
jmp LBB0_10
LBB0_1:
movl %ebx, -52(%rbp) ## 4-byte Spill
movl $-8, %esi
jmp LBB0_6
LBB0_5:
movl %ebx, -52(%rbp) ## 4-byte Spill
movl (%r14), %eax
leal -8(,%rax,8), %esi
LBB0_6:
movq 8(%r14), %rdi
callq _realloc
movq %rax, 8(%r14)
leal (,%r15,4), %ebx
leal 20(,%r15,4), %esi
movl $1, %edi
callq _calloc
movq %rax, %r13
orq 8(%r14), %rax
jne LBB0_8
## %bb.7:
leaq L_.str.1(%rip), %rdi
callq _die
LBB0_8:
movl 16(%r13), %edi
movq %r12, %rsi
movl %ebx, %edx
callq _memcpy
movq %r15, 8(%r13)
movl -52(%rbp), %eax ## 4-byte Reload
movl %eax, (%r13)
movq (%r14), %rax
movq 8(%r14), %rcx
leaq 1(%rax), %rdx
movq %rdx, (%r14)
movq %r13, (%rcx,%rax,8)
LBB0_9:
movq _SUCCESS@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_10:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_12
## %bb.11:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_12:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _SIZEOF_STR,4,2 ## @SIZEOF_STR
.comm _SUCCESS,4,2 ## @SUCCESS
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Key binding for %s and %s conflict; keys using Ctrl are case insensitive"
L_.str.1: ## @.str.1
.asciz "Failed to allocate keybinding"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _add_keybinding ; -- Begin function add_keybinding
.p2align 2
_add_keybinding: ; @add_keybinding
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
sub sp, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x21, x3
mov x22, x2
mov x19, x1
mov x20, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-56]
Lloh3:
adrp x8, _SIZEOF_STR@GOTPAGE
Lloh4:
ldr x8, [x8, _SIZEOF_STR@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
mov x9, x8
Lloh6:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh7:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x1fffffff0
sub x23, x9, x8
mov sp, x23
stur wzr, [x29, #-60]
ldr x8, [x0]
cbz x8, LBB0_4
; %bb.1:
ldr x8, [x20, #8]
ldr x0, [x8]
sub x3, x29, #60
mov x1, x22
mov x2, x21
bl _keybinding_equals
cbz x0, LBB0_5
; %bb.2:
ldr x8, [x20, #8]
ldr x8, [x8]
ldr w0, [x8]
str w19, [x8]
ldur w8, [x29, #-60]
cbz w8, LBB0_9
; %bb.3:
bl _get_request_name
mov x20, x0
bl _strlen
mov x2, x0
mov x0, x23
mov x1, x20
bl _string_ncopy
mov x0, x19
bl _get_request_name
mov x2, x0
Lloh8:
adrp x0, l_.str@PAGE
Lloh9:
add x0, x0, l_.str@PAGEOFF
mov x1, x23
bl _error
b LBB0_10
LBB0_4:
mov w1, #-8 ; =0xfffffff8
b LBB0_6
LBB0_5:
ldr w8, [x20]
lsl w8, w8, #3
sub w1, w8, #8
LBB0_6:
ldr x0, [x20, #8]
bl _realloc
str x0, [x20, #8]
lsl w24, w21, #2
add w1, w24, #20
mov w0, #1 ; =0x1
bl _calloc
mov x23, x0
ldr x8, [x20, #8]
orr x8, x8, x0
cbnz x8, LBB0_8
; %bb.7:
Lloh10:
adrp x0, l_.str.1@PAGE
Lloh11:
add x0, x0, l_.str.1@PAGEOFF
bl _die
LBB0_8:
ldr w0, [x23, #16]
mov x1, x22
mov x2, x24
bl _memcpy
str x21, [x23, #8]
str w19, [x23]
ldp x9, x8, [x20]
add x10, x9, #1
str x10, [x20]
str x23, [x8, x9, lsl #3]
LBB0_9:
Lloh12:
adrp x8, _SUCCESS@GOTPAGE
Lloh13:
ldr x8, [x8, _SUCCESS@GOTPAGEOFF]
Lloh14:
ldr w0, [x8]
LBB0_10:
ldur x8, [x29, #-56]
Lloh15:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh16:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_12
; %bb.11:
sub sp, x29, #48
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
LBB0_12:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _SIZEOF_STR,4,2 ; @SIZEOF_STR
.comm _SUCCESS,4,2 ; @SUCCESS
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Key binding for %s and %s conflict; keys using Ctrl are case insensitive"
l_.str.1: ; @.str.1
.asciz "Failed to allocate keybinding"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _ijk_threadpool_add ## -- Begin function ijk_threadpool_add
.p2align 4, 0x90
_ijk_threadpool_add: ## @ijk_threadpool_add
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
setne %r8b
orb %al, %r8b
jne LBB0_2
## %bb.1:
movq _IJK_THREADPOOL_INVALID@GOTPCREL(%rip), %rax
jmp LBB0_16
LBB0_2:
movq %rsi, %r12
movq %rdx, %r15
movq %rcx, -48(%rbp) ## 8-byte Spill
movq %rdi, %r13
leaq 12(%rdi), %rbx
movq %rbx, %rdi
callq _pthread_mutex_lock
testq %rax, %rax
je LBB0_3
LBB0_15:
movq _IJK_THREADPOOL_LOCK_FAILURE@GOTPCREL(%rip), %rax
jmp LBB0_16
LBB0_3:
movl (%r13), %ecx
movq _MAX_QUEUE@GOTPCREL(%rip), %rax
movl (%rax), %eax
cmpl %eax, %ecx
je LBB0_5
## %bb.4:
movq %r13, %rdi
movl 4(%r13), %r14d
cmpl %r14d, %ecx
jne LBB0_6
LBB0_5:
movq %rbx, %rdi
callq _pthread_mutex_unlock
movq _IJK_THREADPOOL_QUEUE_FULL@GOTPCREL(%rip), %rax
LBB0_16:
movl (%rax), %eax
LBB0_17:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_6:
leal -1(%r14), %edx
cmpl %edx, %ecx
jne LBB0_9
## %bb.7:
addl %r14d, %r14d
cmpl %eax, %r14d
cmovgel %eax, %r14d
movq 24(%rdi), %rdi
leal (,%r14,8), %eax
leal (%rax,%rax,2), %esi
callq _realloc
movq %r13, %rdi
testq %rax, %rax
je LBB0_9
## %bb.8:
movq %rax, 24(%rdi)
movl %r14d, 4(%rdi)
LBB0_9:
cmpq $0, 32(%rdi)
je LBB0_11
## %bb.10:
movq _IJK_THREADPOOL_SHUTDOWN@GOTPCREL(%rip), %rax
jmp LBB0_13
LBB0_11:
movslq 8(%rdi), %rcx
leal 1(%rcx), %eax
cltd
idivl 4(%rdi)
movq 24(%rdi), %rsi
leaq (%rcx,%rcx,2), %rcx
movq %r12, 16(%rsi,%rcx,8)
movq %r15, 8(%rsi,%rcx,8)
movq -48(%rbp), %rax ## 8-byte Reload
movq %rax, (%rsi,%rcx,8)
movl %edx, 8(%rdi)
incl (%rdi)
addq $16, %rdi
callq _pthread_cond_signal
xorl %r14d, %r14d
testq %rax, %rax
je LBB0_14
## %bb.12:
movq _IJK_THREADPOOL_LOCK_FAILURE@GOTPCREL(%rip), %rax
LBB0_13:
movl (%rax), %r14d
LBB0_14:
movq %rbx, %rdi
callq _pthread_mutex_unlock
testq %rax, %rax
movl %r14d, %eax
jne LBB0_15
jmp LBB0_17
.cfi_endproc
## -- End function
.comm _IJK_THREADPOOL_INVALID,4,2 ## @IJK_THREADPOOL_INVALID
.comm _IJK_THREADPOOL_LOCK_FAILURE,4,2 ## @IJK_THREADPOOL_LOCK_FAILURE
.comm _MAX_QUEUE,4,2 ## @MAX_QUEUE
.comm _IJK_THREADPOOL_QUEUE_FULL,4,2 ## @IJK_THREADPOOL_QUEUE_FULL
.comm _IJK_THREADPOOL_SHUTDOWN,4,2 ## @IJK_THREADPOOL_SHUTDOWN
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _ijk_threadpool_add ; -- Begin function ijk_threadpool_add
.p2align 2
_ijk_threadpool_add: ; @ijk_threadpool_add
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x0
cbz x0, LBB0_3
; %bb.1:
cbnz x1, LBB0_3
; %bb.2:
Lloh0:
adrp x8, _IJK_THREADPOOL_INVALID@GOTPAGE
Lloh1:
ldr x8, [x8, _IJK_THREADPOOL_INVALID@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
b LBB0_15
LBB0_3:
mov x22, x1
mov x21, x2
mov x20, x3
add x0, x19, #12
bl _pthread_mutex_lock
cbz x0, LBB0_5
; %bb.4:
Lloh3:
adrp x8, _IJK_THREADPOOL_LOCK_FAILURE@GOTPAGE
Lloh4:
ldr x8, [x8, _IJK_THREADPOOL_LOCK_FAILURE@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
b LBB0_15
LBB0_5:
ldr w9, [x19]
Lloh6:
adrp x8, _MAX_QUEUE@GOTPAGE
Lloh7:
ldr x8, [x8, _MAX_QUEUE@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
cmp w9, w8
b.eq LBB0_7
; %bb.6:
ldr w10, [x19, #4]
cmp w9, w10
b.ne LBB0_8
LBB0_7:
add x0, x19, #12
bl _pthread_mutex_unlock
Lloh9:
adrp x8, _IJK_THREADPOOL_QUEUE_FULL@GOTPAGE
Lloh10:
ldr x8, [x8, _IJK_THREADPOOL_QUEUE_FULL@GOTPAGEOFF]
Lloh11:
ldr w0, [x8]
b LBB0_15
LBB0_8:
sub w11, w10, #1
cmp w9, w11
b.ne LBB0_11
; %bb.9:
lsl w9, w10, #1
cmp w9, w8
csel w23, w9, w8, lt
ldr x0, [x19, #24]
add w8, w23, w23, lsl #1
lsl w1, w8, #3
bl _realloc
cbz x0, LBB0_11
; %bb.10:
str x0, [x19, #24]
str w23, [x19, #4]
LBB0_11:
ldr x8, [x19, #32]
cbz x8, LBB0_13
; %bb.12:
Lloh12:
adrp x8, _IJK_THREADPOOL_SHUTDOWN@GOTPAGE
Lloh13:
ldr x8, [x8, _IJK_THREADPOOL_SHUTDOWN@GOTPAGEOFF]
Lloh14:
ldr w20, [x8]
b LBB0_14
LBB0_13:
ldrsw x8, [x19, #8]
add w9, w8, #1
ldr x10, [x19, #24]
mov w11, #24 ; =0x18
smaddl x8, w8, w11, x10
str x22, [x8, #16]
ldp w11, w10, [x19]
sdiv w12, w9, w10
msub w9, w12, w10, w9
stp x20, x21, [x8]
str w9, [x19, #8]
add w8, w11, #1
str w8, [x19]
add x0, x19, #16
bl _pthread_cond_signal
Lloh15:
adrp x8, _IJK_THREADPOOL_LOCK_FAILURE@GOTPAGE
Lloh16:
ldr x8, [x8, _IJK_THREADPOOL_LOCK_FAILURE@GOTPAGEOFF]
Lloh17:
ldr w8, [x8]
cmp x0, #0
csel w20, wzr, w8, eq
LBB0_14:
add x0, x19, #12
bl _pthread_mutex_unlock
Lloh18:
adrp x8, _IJK_THREADPOOL_LOCK_FAILURE@GOTPAGE
Lloh19:
ldr x8, [x8, _IJK_THREADPOOL_LOCK_FAILURE@GOTPAGEOFF]
Lloh20:
ldr w8, [x8]
cmp x0, #0
csel w0, w20, w8, eq
LBB0_15:
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 AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.cfi_endproc
; -- End function
.comm _IJK_THREADPOOL_INVALID,4,2 ; @IJK_THREADPOOL_INVALID
.comm _IJK_THREADPOOL_LOCK_FAILURE,4,2 ; @IJK_THREADPOOL_LOCK_FAILURE
.comm _MAX_QUEUE,4,2 ; @MAX_QUEUE
.comm _IJK_THREADPOOL_QUEUE_FULL,4,2 ; @IJK_THREADPOOL_QUEUE_FULL
.comm _IJK_THREADPOOL_SHUTDOWN,4,2 ; @IJK_THREADPOOL_SHUTDOWN
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function jbig2_default_realloc
_jbig2_default_realloc: ## @jbig2_default_realloc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rsi, %rdi
movq %rdx, %rsi
popq %rbp
jmp _realloc ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _jbig2_default_realloc
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function jbig2_default_realloc
_jbig2_default_realloc: ; @jbig2_default_realloc
.cfi_startproc
; %bb.0:
mov x0, x1
mov x1, x2
b _realloc
.cfi_endproc
; -- End function
.no_dead_strip _jbig2_default_realloc
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _tscAppendDataBlock ## -- Begin function tscAppendDataBlock
.p2align 4, 0x90
_tscAppendDataBlock: ## @tscAppendDataBlock
.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
movl (%rdi), %eax
movl 4(%rdi), %esi
cmpl %esi, %eax
jl LBB0_2
## %bb.1:
leal (%rsi,%rsi), %eax
movl %eax, 4(%r14)
movq 8(%r14), %rdi
shll $4, %esi
## kill: def $esi killed $esi killed $rsi
callq _realloc
movq %rax, 8(%r14)
movslq (%r14), %rcx
leaq (%rax,%rcx,8), %rdi
movl 4(%r14), %edx
subl %ecx, %edx
shll $3, %edx
xorl %esi, %esi
callq _memset
movl (%r14), %eax
LBB0_2:
movq 8(%r14), %rcx
leal -1(%rax), %edx
movl %edx, (%r14)
cltq
movq %rbx, (%rcx,%rax,8)
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 _tscAppendDataBlock ; -- Begin function tscAppendDataBlock
.p2align 2
_tscAppendDataBlock: ; @tscAppendDataBlock
.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
ldp w8, w9, [x0]
cmp w8, w9
b.lt LBB0_2
; %bb.1:
lsl w8, w9, #1
str w8, [x20, #4]
ldr x0, [x20, #8]
lsl w1, w9, #4
bl _realloc
str x0, [x20, #8]
ldp w8, w9, [x20]
; kill: def $w8 killed $w8 def $x8
sxtw x8, w8
add x0, x0, x8, lsl #3
sub w8, w9, w8
lsl w2, w8, #3
mov w1, #0 ; =0x0
bl _memset
ldr w8, [x20]
LBB0_2:
ldr x9, [x20, #8]
sub w10, w8, #1
str w10, [x20]
str x19, [x9, w8, sxtw #3]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _bfd_realloc2 ## -- Begin function bfd_realloc2
.p2align 4, 0x90
_bfd_realloc2: ## @bfd_realloc2
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdx, %rbx
testq %rdx, %rdx
je LBB0_3
## %bb.1:
movq %rbx, %rax
orq %rsi, %rax
movq _HALF_BFD_SIZE_TYPE@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jl LBB0_3
## %bb.2:
movq $-1, %rax
cqto
idivq %rbx
cmpq %rsi, %rax
jl LBB0_4
LBB0_3:
imulq %rsi, %rbx
testq %rdi, %rdi
movq %rbx, %rdi
callq _malloc
testq %rax, %rax
sete %cl
testq %rbx, %rbx
setne %dl
andb %cl, %dl
cmpb $1, %dl
jne LBB0_5
LBB0_4:
movq _bfd_error_no_memory@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _bfd_set_error
xorl %eax, %eax
LBB0_5:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _HALF_BFD_SIZE_TYPE,8,3 ## @HALF_BFD_SIZE_TYPE
.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_realloc2 ; -- Begin function bfd_realloc2
.p2align 2
_bfd_realloc2: ; @bfd_realloc2
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
cbz x2, LBB0_3
; %bb.1:
orr x8, x2, x1
Lloh0:
adrp x9, _HALF_BFD_SIZE_TYPE@GOTPAGE
Lloh1:
ldr x9, [x9, _HALF_BFD_SIZE_TYPE@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x8, x9
b.lt LBB0_3
; %bb.2:
mov x8, #-1 ; =0xffffffffffffffff
sdiv x8, x8, x2
cmp x8, x1
b.lt LBB0_4
LBB0_3:
mul x19, x2, x1
mov x0, x19
bl _malloc
cmp x0, #0
ccmp x19, #0, #4, eq
b.eq LBB0_5
LBB0_4:
Lloh3:
adrp x8, _bfd_error_no_memory@GOTPAGE
Lloh4:
ldr x8, [x8, _bfd_error_no_memory@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
bl _bfd_set_error
mov x0, #0 ; =0x0
LBB0_5:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _HALF_BFD_SIZE_TYPE,8,3 ; @HALF_BFD_SIZE_TYPE
.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 _array_of_strings ## -- Begin function array_of_strings
.p2align 4, 0x90
_array_of_strings: ## @array_of_strings
.cfi_startproc
## %bb.0:
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
movslq (%rdi), %rax
movq _SIZE_MAX@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
shrq $3, %rcx
movl $-1, %r15d
cmpq %rax, %rcx
je LBB0_3
## %bb.1:
movq %rsi, %rbx
movq %rdi, %r14
movq 8(%rdi), %rdi
leaq -8(,%rax,8), %rsi
callq _realloc
testq %rax, %rax
je LBB0_3
## %bb.2:
movq %rax, 8(%r14)
movslq (%r14), %rcx
leal 1(%rcx), %edx
movl %edx, (%r14)
movq %rbx, (%rax,%rcx,8)
xorl %r15d, %r15d
LBB0_3:
movl %r15d, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SIZE_MAX,4,2 ## @SIZE_MAX
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _array_of_strings ; -- Begin function array_of_strings
.p2align 2
_array_of_strings: ; @array_of_strings
.cfi_startproc
; %bb.0:
ldrsw x8, [x0]
Lloh0:
adrp x9, _SIZE_MAX@GOTPAGE
Lloh1:
ldr x9, [x9, _SIZE_MAX@GOTPAGEOFF]
Lloh2:
ldrsw x9, [x9]
cmp x8, x9, lsr #3
b.ne LBB0_2
; %bb.1:
mov w0, #-1 ; =0xffffffff
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, x1
mov x20, x0
lsl x8, x8, #3
ldr x0, [x0, #8]
sub x1, x8, #8
bl _realloc
cbz x0, LBB0_4
; %bb.3:
mov x8, x0
mov w0, #0 ; =0x0
str x8, [x20, #8]
ldrsw x9, [x20]
add w10, w9, #1
str w10, [x20]
str x19, [x8, x9, lsl #3]
b LBB0_5
LBB0_4:
mov w0, #-1 ; =0xffffffff
LBB0_5:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _SIZE_MAX,4,2 ; @SIZE_MAX
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _mgmtMeterDropColumnByName ## -- Begin function mgmtMeterDropColumnByName
.p2align 4, 0x90
_mgmtMeterDropColumnByName: ## @mgmtMeterDropColumnByName
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _TSDB_CODE_APP_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _TSDB_METER_MTABLE,8,3 ## @TSDB_METER_MTABLE
.comm _TSDB_METER_STABLE,8,3 ## @TSDB_METER_STABLE
.comm _TSDB_CODE_APP_ERROR,4,2 ## @TSDB_CODE_APP_ERROR
.comm _TSDB_METER_OTABLE,8,3 ## @TSDB_METER_OTABLE
.comm _TSDB_METER_METRIC,8,3 ## @TSDB_METER_METRIC
.comm _meterSdb,4,2 ## @meterSdb
.comm _TSDB_CODE_SUCCESS,4,2 ## @TSDB_CODE_SUCCESS
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _mgmtMeterDropColumnByName ; -- Begin function mgmtMeterDropColumnByName
.p2align 2
_mgmtMeterDropColumnByName: ; @mgmtMeterDropColumnByName
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _TSDB_CODE_APP_ERROR@GOTPAGE
Lloh1:
ldr x8, [x8, _TSDB_CODE_APP_ERROR@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _TSDB_METER_MTABLE,8,3 ; @TSDB_METER_MTABLE
.comm _TSDB_METER_STABLE,8,3 ; @TSDB_METER_STABLE
.comm _TSDB_CODE_APP_ERROR,4,2 ; @TSDB_CODE_APP_ERROR
.comm _TSDB_METER_OTABLE,8,3 ; @TSDB_METER_OTABLE
.comm _TSDB_METER_METRIC,8,3 ; @TSDB_METER_METRIC
.comm _meterSdb,4,2 ; @meterSdb
.comm _TSDB_CODE_SUCCESS,4,2 ; @TSDB_CODE_SUCCESS
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function gif_initialise_frame
_gif_initialise_frame: ## @gif_initialise_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
movslq 16(%rdi), %rcx
movslq 20(%rdi), %r13
movl %r13d, %eax
subl %ecx, %eax
testl %eax, %eax
jle LBB0_4
## %bb.1:
movl %ecx, %edx
movq 8(%rdi), %r15
addq %r15, %rcx
movzbl (%rcx), %esi
movq _GIF_TRAILER@GOTPCREL(%rip), %r14
cmpb (%r14), %sil
jne LBB0_3
LBB0_2:
movq _GIF_OK@GOTPCREL(%rip), %rax
jmp LBB0_33
LBB0_3:
cmpl $6, %eax
ja LBB0_5
LBB0_4:
movq _GIF_INSUFFICIENT_DATA@GOTPCREL(%rip), %rax
LBB0_33:
movl (%rax), %eax
LBB0_34:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_5:
movslq (%rdi), %rbx
cmpl $4097, %ebx ## imm = 0x1001
jl LBB0_7
LBB0_6:
movq _GIF_FRAME_DATA_ERROR@GOTPCREL(%rip), %rax
jmp LBB0_33
LBB0_7:
movq 40(%rdi), %rax
cmpl %ebx, 24(%rdi)
jle LBB0_8
## %bb.9:
imulq $56, %rbx, %r12
movl %edx, (%rax,%r12)
movabsq $4294967296, %rdx ## imm = 0x100000000
movq %rdx, 4(%rax,%r12)
movq $0, 16(%rax,%r12)
movabsq $429496729600, %rdx ## imm = 0x6400000000
movq %rdx, 24(%rax,%r12)
movl $0, 32(%rax,%r12)
cmpl %ebx, 28(%rdi)
jne LBB0_11
## %bb.10:
movq _GIF_INVALID_FRAME@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 28(%rdi)
LBB0_11:
subl 8(%rdi), %ecx
movl %ecx, 16(%rdi)
movq %rdi, -48(%rbp) ## 8-byte Spill
movl %ebx, %esi
callq _gif_initialise_frame_extensions
movq _GIF_OK@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB0_34
## %bb.12:
movq -48(%rbp), %rdi ## 8-byte Reload
movslq 16(%rdi), %r8
addq 8(%rdi), %r8
addq %r13, %r15
movl %r15d, %eax
subl %r8d, %eax
testl %eax, %eax
jle LBB0_13
## %bb.14:
movzbl (%r8), %eax
cmpb (%r14), %al
jne LBB0_16
## %bb.15:
incl %ebx
movl %ebx, (%rdi)
movl (%rcx), %eax
jmp LBB0_34
LBB0_8:
imull $56, %ebx, %esi
addl $56, %esi
movq %rax, %rdi
callq _realloc
movq _GIF_INSUFFICIENT_MEMORY@GOTPCREL(%rip), %rax
jmp LBB0_33
LBB0_16:
movq _GIF_IMAGE_SEPARATOR@GOTPCREL(%rip), %rcx
cmpb (%rcx), %al
jne LBB0_6
## %bb.17:
movzwl 1(%r8), %eax
movzwl 3(%r8), %ecx
movzwl 5(%r8), %esi
movzwl 7(%r8), %edx
movq %r8, %r13
movq 40(%rdi), %r8
movl %eax, 36(%r8,%r12)
movl %ecx, 44(%r8,%r12)
movl %esi, 40(%r8,%r12)
movl %edx, 48(%r8,%r12)
movq 16(%r8,%r12), %r9
movq _GIF_FRAME_CLEAR@GOTPCREL(%rip), %r10
cmpq (%r10), %r9
sete %r10b
movq _GIF_FRAME_RESTORE@GOTPCREL(%rip), %r11
cmpq (%r11), %r9
sete %r9b
orb %r10b, %r9b
movzbl %r9b, %r9d
movl %r9d, 32(%r8,%r12)
addl %eax, %esi
addl %ecx, %edx
callq _gif_initialise_sprite
testq %rax, %rax
je LBB0_19
## %bb.18:
movq _GIF_INSUFFICIENT_MEMORY@GOTPCREL(%rip), %rax
jmp LBB0_33
LBB0_19:
movzbl 9(%r13), %edx
movq _GIF_COLOUR_TABLE_SIZE_MASK@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addq $10, %r13
incl %ebx
movq -48(%rbp), %rax ## 8-byte Reload
movl %ebx, 32(%rax)
movq _GIF_COLOUR_TABLE_MASK@GOTPCREL(%rip), %rsi
testl %edx, (%rsi)
je LBB0_20
## %bb.21:
andl %edx, %ecx
movl $2, %edx
## kill: def $cl killed $cl killed $ecx
shll %cl, %edx
leal (%rdx,%rdx,2), %ecx
addq %rcx, %r13
subl %r13d, %r15d
jns LBB0_22
jmp LBB0_13
LBB0_20:
subl %r13d, %r15d
LBB0_22:
movzbl (%r13), %ecx
movq _GIF_MAX_LZW@GOTPCREL(%rip), %rdx
cmpb (%rdx), %cl
jbe LBB0_24
## %bb.23:
movq _GIF_DATA_ERROR@GOTPCREL(%rip), %rax
jmp LBB0_33
LBB0_24:
testl %r15d, %r15d
jle LBB0_13
## %bb.25:
decl %r15d
decq %r13
jmp LBB0_26
LBB0_35: ## in Loop: Header=BB0_26 Depth=1
addq %rdx, %r13
movl %esi, %r15d
testb %cl, %cl
je LBB0_30
LBB0_26: ## =>This Inner Loop Header: Depth=1
movzbl (%r13), %ecx
leaq 1(%rcx), %rdx
movl %r15d, %esi
subl %edx, %esi
jns LBB0_35
## %bb.27: ## in Loop: Header=BB0_26 Depth=1
cmpl $2, %r15d
jb LBB0_13
## %bb.28: ## in Loop: Header=BB0_26 Depth=1
movb $0, (%r13)
movzbl (%r14), %edx
movb %dl, 1(%r13)
incq %r13
movl $1, %r15d
testb %cl, %cl
jne LBB0_26
LBB0_30:
movl 8(%rax), %ecx
movl %r13d, %edx
subl %ecx, %edx
movl %edx, 16(%rax)
movl %ebx, (%rax)
movq 40(%rax), %rax
movl $1, 4(%rax,%r12)
testl %r15d, %r15d
je LBB0_13
## %bb.31:
movzbl (%r13), %eax
cmpb (%r14), %al
je LBB0_2
## %bb.32:
movq _GIF_WORKING@GOTPCREL(%rip), %rax
jmp LBB0_33
LBB0_13:
movq _GIF_INSUFFICIENT_FRAME_DATA@GOTPCREL(%rip), %rax
jmp LBB0_33
.cfi_endproc
## -- End function
.comm _GIF_TRAILER,1,0 ## @GIF_TRAILER
.comm _GIF_OK,4,2 ## @GIF_OK
.comm _GIF_INSUFFICIENT_DATA,4,2 ## @GIF_INSUFFICIENT_DATA
.comm _GIF_FRAME_DATA_ERROR,4,2 ## @GIF_FRAME_DATA_ERROR
.comm _GIF_INSUFFICIENT_MEMORY,4,2 ## @GIF_INSUFFICIENT_MEMORY
.comm _GIF_INVALID_FRAME,4,2 ## @GIF_INVALID_FRAME
.comm _GIF_INSUFFICIENT_FRAME_DATA,4,2 ## @GIF_INSUFFICIENT_FRAME_DATA
.comm _GIF_IMAGE_SEPARATOR,1,0 ## @GIF_IMAGE_SEPARATOR
.comm _GIF_FRAME_CLEAR,8,3 ## @GIF_FRAME_CLEAR
.comm _GIF_FRAME_RESTORE,8,3 ## @GIF_FRAME_RESTORE
.comm _GIF_COLOUR_TABLE_SIZE_MASK,4,2 ## @GIF_COLOUR_TABLE_SIZE_MASK
.comm _GIF_COLOUR_TABLE_MASK,4,2 ## @GIF_COLOUR_TABLE_MASK
.comm _GIF_MAX_LZW,1,0 ## @GIF_MAX_LZW
.comm _GIF_DATA_ERROR,4,2 ## @GIF_DATA_ERROR
.comm _GIF_WORKING,4,2 ## @GIF_WORKING
.no_dead_strip _gif_initialise_frame
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ; -- Begin function gif_initialise_frame
lCPI0_0:
.long 0 ; 0x0
.long 1 ; 0x1
lCPI0_1:
.long 0 ; 0x0
.long 100 ; 0x64
.section __TEXT,__text,regular,pure_instructions
.p2align 2
_gif_initialise_frame: ; @gif_initialise_frame
.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
ldpsw x10, x22, [x0, #16]
sub w8, w22, w10
cmp w8, #1
b.lt LBB0_4
; %bb.1:
ldr x24, [x0, #8]
add x9, x24, x10
ldrb w11, [x9]
Lloh0:
adrp x20, _GIF_TRAILER@GOTPAGE
Lloh1:
ldr x20, [x20, _GIF_TRAILER@GOTPAGEOFF]
ldrb w12, [x20]
cmp w11, w12
b.ne LBB0_3
; %bb.2:
Lloh2:
adrp x8, _GIF_OK@GOTPAGE
Lloh3:
ldr x8, [x8, _GIF_OK@GOTPAGEOFF]
b LBB0_5
LBB0_3:
cmp w8, #6
b.hi LBB0_7
LBB0_4:
Lloh4:
adrp x8, _GIF_INSUFFICIENT_DATA@GOTPAGE
Lloh5:
ldr x8, [x8, _GIF_INSUFFICIENT_DATA@GOTPAGEOFF]
LBB0_5:
ldr w0, [x8]
LBB0_6:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
LBB0_7:
ldrsw x19, [x0]
cmp w19, #1, lsl #12 ; =4096
b.le LBB0_9
LBB0_8:
Lloh6:
adrp x8, _GIF_FRAME_DATA_ERROR@GOTPAGE
Lloh7:
ldr x8, [x8, _GIF_FRAME_DATA_ERROR@GOTPAGEOFF]
b LBB0_5
LBB0_9:
ldr w11, [x0, #24]
ldr x8, [x0, #40]
cmp w11, w19
b.le LBB0_16
; %bb.10:
mov w11, #56 ; =0x38
smaddl x8, w19, w11, x8
str w10, [x8]
Lloh8:
adrp x10, lCPI0_0@PAGE
Lloh9:
ldr d0, [x10, lCPI0_0@PAGEOFF]
stur d0, [x8, #4]
str xzr, [x8, #16]
Lloh10:
adrp x10, lCPI0_1@PAGE
Lloh11:
ldr d0, [x10, lCPI0_1@PAGEOFF]
str d0, [x8, #24]
str wzr, [x8, #32]
ldr w8, [x0, #28]
cmp w8, w19
b.ne LBB0_12
; %bb.11:
Lloh12:
adrp x8, _GIF_INVALID_FRAME@GOTPAGE
Lloh13:
ldr x8, [x8, _GIF_INVALID_FRAME@GOTPAGEOFF]
Lloh14:
ldr w8, [x8]
str w8, [x0, #28]
LBB0_12:
ldr w8, [x0, #8]
sub w8, w9, w8
str w8, [x0, #16]
mov x23, x0
mov x1, x19
bl _gif_initialise_frame_extensions
Lloh15:
adrp x21, _GIF_OK@GOTPAGE
Lloh16:
ldr x21, [x21, _GIF_OK@GOTPAGEOFF]
ldr w8, [x21]
cmp w0, w8
b.ne LBB0_6
; %bb.13:
add x22, x24, x22
ldr x8, [x23, #8]
ldrsw x9, [x23, #16]
add x24, x8, x9
sub w8, w22, w24
cmp w8, #0
b.le LBB0_34
; %bb.14:
mov x0, x23
ldrb w8, [x24]
ldrb w9, [x20]
cmp w8, w9
b.ne LBB0_18
; %bb.15:
add w8, w19, #1
str w8, [x0]
ldr w0, [x21]
b LBB0_6
LBB0_16:
mov w9, #56 ; =0x38
mov w10, #56 ; =0x38
madd w1, w19, w9, w10
mov x0, x8
bl _realloc
LBB0_17:
Lloh17:
adrp x8, _GIF_INSUFFICIENT_MEMORY@GOTPAGE
Lloh18:
ldr x8, [x8, _GIF_INSUFFICIENT_MEMORY@GOTPAGEOFF]
b LBB0_5
LBB0_18:
Lloh19:
adrp x9, _GIF_IMAGE_SEPARATOR@GOTPAGE
Lloh20:
ldr x9, [x9, _GIF_IMAGE_SEPARATOR@GOTPAGEOFF]
ldrb w9, [x9]
cmp w8, w9
b.ne LBB0_8
; %bb.19:
ldurh w8, [x24, #1]
ldurh w9, [x24, #3]
ldurh w10, [x24, #5]
ldurh w11, [x24, #7]
ldr x12, [x0, #40]
mov w13, #56 ; =0x38
smaddl x12, w19, w13, x12
stp w8, w10, [x12, #36]
stp w9, w11, [x12, #44]
ldr x13, [x12, #16]
Lloh21:
adrp x14, _GIF_FRAME_CLEAR@GOTPAGE
Lloh22:
ldr x14, [x14, _GIF_FRAME_CLEAR@GOTPAGEOFF]
Lloh23:
ldr x14, [x14]
cmp x13, x14
Lloh24:
adrp x14, _GIF_FRAME_RESTORE@GOTPAGE
Lloh25:
ldr x14, [x14, _GIF_FRAME_RESTORE@GOTPAGEOFF]
Lloh26:
ldr x14, [x14]
ccmp x13, x14, #4, ne
cset w13, eq
str w13, [x12, #32]
add w1, w10, w8
add w2, w11, w9
bl _gif_initialise_sprite
cbnz x0, LBB0_17
; %bb.20:
ldrb w11, [x24, #9]
Lloh27:
adrp x8, _GIF_COLOUR_TABLE_SIZE_MASK@GOTPAGE
Lloh28:
ldr x8, [x8, _GIF_COLOUR_TABLE_SIZE_MASK@GOTPAGEOFF]
Lloh29:
ldr w12, [x8]
add x10, x24, #10
add w9, w19, #1
mov x8, x23
str w9, [x23, #32]
Lloh30:
adrp x13, _GIF_COLOUR_TABLE_MASK@GOTPAGE
Lloh31:
ldr x13, [x13, _GIF_COLOUR_TABLE_MASK@GOTPAGEOFF]
Lloh32:
ldr w13, [x13]
tst w13, w11
b.eq LBB0_22
; %bb.21:
and w11, w12, w11
mov w12, #2 ; =0x2
lsl w11, w12, w11
add w11, w11, w11, lsl #1
add x10, x10, x11
subs w11, w22, w10
b.pl LBB0_23
b LBB0_34
LBB0_22:
sub w11, w22, w10
LBB0_23:
ldrb w12, [x10]
Lloh33:
adrp x13, _GIF_MAX_LZW@GOTPAGE
Lloh34:
ldr x13, [x13, _GIF_MAX_LZW@GOTPAGEOFF]
ldrb w13, [x13]
cmp w12, w13
b.ls LBB0_25
; %bb.24:
Lloh35:
adrp x8, _GIF_DATA_ERROR@GOTPAGE
Lloh36:
ldr x8, [x8, _GIF_DATA_ERROR@GOTPAGEOFF]
b LBB0_5
LBB0_25:
cmp w11, #0
b.le LBB0_34
; %bb.26:
sub w13, w11, #1
sub x10, x10, #1
b LBB0_28
LBB0_27: ; in Loop: Header=BB0_28 Depth=1
add x10, x10, x14
mov x13, x11
cbz w12, LBB0_31
LBB0_28: ; =>This Inner Loop Header: Depth=1
ldrb w12, [x10]
add x14, x12, #1
subs w11, w13, w14
b.pl LBB0_27
; %bb.29: ; in Loop: Header=BB0_28 Depth=1
cmp w13, #2
b.lo LBB0_34
; %bb.30: ; in Loop: Header=BB0_28 Depth=1
strb wzr, [x10]
ldrb w11, [x20]
strb w11, [x10, #1]!
mov w13, #1 ; =0x1
mov w11, #1 ; =0x1
cbnz w12, LBB0_28
LBB0_31:
ldr w12, [x8, #8]
sub w12, w10, w12
str w12, [x8, #16]
str w9, [x8]
ldr x8, [x8, #40]
mov w9, #56 ; =0x38
smaddl x8, w19, w9, x8
mov w9, #1 ; =0x1
str w9, [x8, #4]
cbz w11, LBB0_34
; %bb.32:
ldrb w8, [x10]
ldrb w9, [x20]
cmp w8, w9
b.ne LBB0_35
; %bb.33:
ldr w0, [x21]
b LBB0_6
LBB0_34:
Lloh37:
adrp x8, _GIF_INSUFFICIENT_FRAME_DATA@GOTPAGE
Lloh38:
ldr x8, [x8, _GIF_INSUFFICIENT_FRAME_DATA@GOTPAGEOFF]
b LBB0_5
LBB0_35:
Lloh39:
adrp x8, _GIF_WORKING@GOTPAGE
Lloh40:
ldr x8, [x8, _GIF_WORKING@GOTPAGEOFF]
b LBB0_5
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdr Lloh10, Lloh11
.loh AdrpAdrp Lloh8, Lloh10
.loh AdrpLdr Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpLdrGot Lloh17, Lloh18
.loh AdrpLdrGot Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpLdrGot Lloh33, Lloh34
.loh AdrpLdrGot Lloh35, Lloh36
.loh AdrpLdrGot Lloh37, Lloh38
.loh AdrpLdrGot Lloh39, Lloh40
.cfi_endproc
; -- End function
.comm _GIF_TRAILER,1,0 ; @GIF_TRAILER
.comm _GIF_OK,4,2 ; @GIF_OK
.comm _GIF_INSUFFICIENT_DATA,4,2 ; @GIF_INSUFFICIENT_DATA
.comm _GIF_FRAME_DATA_ERROR,4,2 ; @GIF_FRAME_DATA_ERROR
.comm _GIF_INSUFFICIENT_MEMORY,4,2 ; @GIF_INSUFFICIENT_MEMORY
.comm _GIF_INVALID_FRAME,4,2 ; @GIF_INVALID_FRAME
.comm _GIF_INSUFFICIENT_FRAME_DATA,4,2 ; @GIF_INSUFFICIENT_FRAME_DATA
.comm _GIF_IMAGE_SEPARATOR,1,0 ; @GIF_IMAGE_SEPARATOR
.comm _GIF_FRAME_CLEAR,8,3 ; @GIF_FRAME_CLEAR
.comm _GIF_FRAME_RESTORE,8,3 ; @GIF_FRAME_RESTORE
.comm _GIF_COLOUR_TABLE_SIZE_MASK,4,2 ; @GIF_COLOUR_TABLE_SIZE_MASK
.comm _GIF_COLOUR_TABLE_MASK,4,2 ; @GIF_COLOUR_TABLE_MASK
.comm _GIF_MAX_LZW,1,0 ; @GIF_MAX_LZW
.comm _GIF_DATA_ERROR,4,2 ; @GIF_DATA_ERROR
.comm _GIF_WORKING,4,2 ; @GIF_WORKING
.no_dead_strip _gif_initialise_frame
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function tfff_realloc
_tfff_realloc: ## @tfff_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 _tfff_realloc
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function tfff_realloc
_tfff_realloc: ; @tfff_realloc
.cfi_startproc
; %bb.0:
b _realloc
.cfi_endproc
; -- End function
.no_dead_strip _tfff_realloc
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function enlarge
_enlarge: ## @enlarge
.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), %r14
movl $1, %eax
cmpq %rsi, %r14
jge LBB0_6
## %bb.1:
movq %rdi, %rbx
movq %rsi, (%rdi)
callq _MEMSIZE
movq _MEMLIMIT@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jg LBB0_4
## %bb.2:
movq 16(%rbx), %rdi
movl (%rbx), %esi
shll $2, %esi
callq _realloc
testq %rax, %rax
je LBB0_3
LBB0_4:
movq %r14, (%rbx)
movq _REG_ESPACE@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _SETERROR
xorl %eax, %eax
LBB0_6:
popq %rbx
popq %r14
popq %rbp
retq
LBB0_3:
movq $0, 16(%rbx)
movq 8(%rbx), %rdi
movl (%rbx), %esi
shll $2, %esi
callq _realloc
testq %rax, %rax
je LBB0_4
## %bb.5:
movq %rax, 8(%rbx)
movl $1, %eax
jmp LBB0_6
.cfi_endproc
## -- End function
.comm _MEMLIMIT,8,3 ## @MEMLIMIT
.comm _REG_ESPACE,4,2 ## @REG_ESPACE
.no_dead_strip _enlarge
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function enlarge
_enlarge: ; @enlarge
.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 x20, [x0]
cmp x20, x1
b.ge LBB0_6
; %bb.1:
mov x19, x0
str x1, [x0]
bl _MEMSIZE
Lloh0:
adrp x8, _MEMLIMIT@GOTPAGE
Lloh1:
ldr x8, [x8, _MEMLIMIT@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x0, x8
b.gt LBB0_3
; %bb.2:
ldr x0, [x19, #16]
ldr w8, [x19]
lsl w1, w8, #2
bl _realloc
cbz x0, LBB0_4
LBB0_3:
str x20, [x19]
Lloh3:
adrp x8, _REG_ESPACE@GOTPAGE
Lloh4:
ldr x8, [x8, _REG_ESPACE@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
bl _SETERROR
mov w0, #0 ; =0x0
b LBB0_7
LBB0_4:
str xzr, [x19, #16]
ldr x0, [x19, #8]
ldr w8, [x19]
lsl w1, w8, #2
bl _realloc
cbz x0, LBB0_3
; %bb.5:
str x0, [x19, #8]
LBB0_6:
mov w0, #1 ; =0x1
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 _MEMLIMIT,8,3 ; @MEMLIMIT
.comm _REG_ESPACE,4,2 ; @REG_ESPACE
.no_dead_strip _enlarge
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _StrArrayAdd ## -- Begin function StrArrayAdd
.p2align 4, 0x90
_StrArrayAdd: ## @StrArrayAdd
.cfi_startproc
## %bb.0:
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 %rdi, %rdi
je LBB0_3
## %bb.1:
movl $-1, %eax
testq %rsi, %rsi
je LBB0_15
## %bb.2:
cmpq $0, (%rbx)
jne LBB0_4
jmp LBB0_15
LBB0_3:
testq %rsi, %rsi
je LBB0_14
LBB0_4:
movq 8(%rbx), %rax
cmpq 16(%rbx), %rax
jne LBB0_6
## %bb.5:
leaq (%rax,%rax), %rcx
movq %rcx, 16(%rbx)
movq (%rbx), %r14
shll $4, %eax
movq %r14, %rdi
movq %rsi, %r15
movl %eax, %esi
movq %rdx, %r12
callq _realloc
movq %r12, %rdx
movq %r15, %rsi
movq %rax, (%rbx)
testq %rax, %rax
je LBB0_12
LBB0_6:
testq %rdx, %rdx
je LBB0_8
## %bb.7:
movq %rsi, %rdi
callq _safe_strdup
movq %rax, %rsi
LBB0_8:
movq (%rbx), %rcx
movq 8(%rbx), %rax
movq %rsi, (%rcx,%rax,8)
movq (%rbx), %rcx
cmpq $0, (%rcx,%rax,8)
je LBB0_10
## %bb.9:
leaq 1(%rax), %rcx
movq %rcx, 8(%rbx)
jmp LBB0_15
LBB0_10:
leaq L_.str.1(%rip), %rdi
jmp LBB0_13
LBB0_12:
movq %r14, %rdi
callq _free
leaq L_.str(%rip), %rdi
LBB0_13:
callq _uprintf
LBB0_14:
movl $-1, %eax
LBB0_15:
## kill: def $eax killed $eax killed $rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Could not reallocate string array\n"
L_.str.1: ## @.str.1
.asciz "Could not store string in array\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _StrArrayAdd ; -- Begin function StrArrayAdd
.p2align 2
_StrArrayAdd: ; @StrArrayAdd
.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 x0, LBB0_3
; %bb.1:
mov w0, #-1 ; =0xffffffff
cbz x1, LBB0_14
; %bb.2:
ldr x8, [x19]
cbnz x8, LBB0_4
b LBB0_14
LBB0_3:
cbz x1, LBB0_13
LBB0_4:
ldp x8, x9, [x19, #8]
cmp x8, x9
b.ne LBB0_6
; %bb.5:
lsl x9, x8, #1
str x9, [x19, #16]
ldr x20, [x19]
lsl w8, w8, #4
mov x0, x20
mov x21, x1
mov x1, x8
mov x22, x2
bl _realloc
mov x2, x22
mov x1, x21
str x0, [x19]
cbz x0, LBB0_11
LBB0_6:
cbz x2, LBB0_8
; %bb.7:
mov x0, x1
bl _safe_strdup
mov x1, x0
LBB0_8:
ldp x8, x0, [x19]
str x1, [x8, x0, lsl #3]
ldr x8, [x19]
ldr x8, [x8, x0, lsl #3]
cbz x8, LBB0_10
; %bb.9:
add x8, x0, #1
str x8, [x19, #8]
b LBB0_14
LBB0_10:
Lloh0:
adrp x0, l_.str.1@PAGE
Lloh1:
add x0, x0, l_.str.1@PAGEOFF
b LBB0_12
LBB0_11:
mov x0, x20
bl _free
Lloh2:
adrp x0, l_.str@PAGE
Lloh3:
add x0, x0, l_.str@PAGEOFF
LBB0_12:
bl _uprintf
LBB0_13:
mov w0, #-1 ; =0xffffffff
LBB0_14:
; 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
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 "Could not reallocate string array\n"
l_.str.1: ; @.str.1
.asciz "Could not store string in array\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function ws_realloc_frm_payload
_ws_realloc_frm_payload: ## @ws_realloc_frm_payload
.cfi_startproc
## %bb.0:
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 8(%rsi), %rdi
movq (%rsi), %r15
leaq (%r14,%r15), %rsi
callq _realloc
addq %r15, %r14
jg LBB0_2
## %bb.1:
movq %rax, %rcx
xorl %eax, %eax
testq %rcx, %rcx
je LBB0_3
LBB0_2:
movq 8(%rbx), %rdi
callq _free
movl $1, %eax
LBB0_3:
movq $0, 8(%rbx)
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _ws_realloc_frm_payload
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function ws_realloc_frm_payload
_ws_realloc_frm_payload: ; @ws_realloc_frm_payload
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
ldr x8, [x0]
ldp x9, x0, [x1]
add x20, x8, x9
mov x1, x20
bl _realloc
cmp x20, #0
ccmp x0, #0, #0, le
b.eq LBB0_2
; %bb.1:
ldr x0, [x19, #8]
bl _free
mov w0, #1 ; =0x1
b LBB0_3
LBB0_2:
mov w0, #0 ; =0x0
LBB0_3:
str xzr, [x19, #8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _ws_realloc_frm_payload
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _pevent_filter_clear_trivial ## -- Begin function pevent_filter_clear_trivial
.p2align 4, 0x90
_pevent_filter_clear_trivial: ## @pevent_filter_clear_trivial
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_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 (%rdi), %eax
testl %eax, %eax
jle LBB0_15
## %bb.1:
movq %rdi, %rbx
xorl %r13d, %r13d
movl $8, %r12d
movq _FILTER_ARG_BOOLEAN@GOTPCREL(%rip), %r9
xorl %r8d, %r8d
xorl %r14d, %r14d
movl %esi, -44(%rbp) ## 4-byte Spill
jmp LBB0_2
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_2 Depth=1
leal 4(,%r14,4), %esi
movq %r8, %rdi
callq _realloc
movq %rax, %r8
testq %rax, %rax
je LBB0_7
LBB0_8: ## in Loop: Header=BB0_2 Depth=1
movl -8(%r15,%r12), %eax
movslq %r14d, %rcx
incl %r14d
movl %eax, (%r8,%rcx,4)
movl (%rbx), %eax
movl -44(%rbp), %esi ## 4-byte Reload
movq _FILTER_ARG_BOOLEAN@GOTPCREL(%rip), %r9
LBB0_9: ## in Loop: Header=BB0_2 Depth=1
decq %r13
movslq %eax, %rcx
addq $-16, %r12
cmpq %rcx, %r13
jg LBB0_10
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq 8(%rbx), %r15
movq (%r15,%r12), %rcx
movq (%rcx), %rdx
cmpq (%r9), %rdx
jne LBB0_9
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
cmpl $129, %esi
je LBB0_9
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
cmpl $128, %esi
jne LBB0_6
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
cmpl $0, 8(%rcx)
jne LBB0_6
jmp LBB0_9
LBB0_7: ## in Loop: Header=BB0_2 Depth=1
leaq L_.str(%rip), %rdi
movq %r8, -56(%rbp) ## 8-byte Spill
callq _die
movq -56(%rbp), %r8 ## 8-byte Reload
jmp LBB0_8
LBB0_10:
testl %r14d, %r14d
je LBB0_15
## %bb.11:
jle LBB0_14
## %bb.12:
movl %r14d, %r15d
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_13: ## =>This Inner Loop Header: Depth=1
movl (%r8,%r12,4), %esi
movq %rbx, %rdi
movq %r8, %r14
callq _pevent_filter_remove_event
movq %r14, %r8
incq %r12
cmpq %r12, %r15
jne LBB0_13
LBB0_14:
movq %r8, %rdi
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _free ## TAILCALL
LBB0_15:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _FILTER_ARG_BOOLEAN,8,3 ## @FILTER_ARG_BOOLEAN
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Can't allocate ids"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _pevent_filter_clear_trivial ; -- Begin function pevent_filter_clear_trivial
.p2align 2
_pevent_filter_clear_trivial: ; @pevent_filter_clear_trivial
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
ldr w8, [x0]
cmp w8, #1
b.lt LBB0_15
; %bb.1:
mov x20, x1
mov x19, x0
mov x23, #0 ; =0x0
mov x24, #0 ; =0x0
mov x0, #0 ; =0x0
mov w22, #0 ; =0x0
Lloh0:
adrp x25, _FILTER_ARG_BOOLEAN@GOTPAGE
Lloh1:
ldr x25, [x25, _FILTER_ARG_BOOLEAN@GOTPAGEOFF]
Lloh2:
adrp x21, l_.str@PAGE
Lloh3:
add x21, x21, l_.str@PAGEOFF
b LBB0_5
LBB0_2: ; in Loop: Header=BB0_5 Depth=1
add w27, w22, #1
lsl w1, w27, #2
bl _realloc
cbz x0, LBB0_9
LBB0_3: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [x26, x23]
str w8, [x0, w22, sxtw #2]
ldr w8, [x19]
mov x22, x27
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
sub x24, x24, #1
sub x23, x23, #16
cmp x24, w8, sxtw
b.gt LBB0_10
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr x26, [x19, #8]
add x9, x26, x23
ldr x9, [x9, #8]
ldr x10, [x9]
ldr x11, [x25]
cmp x10, x11
b.ne LBB0_4
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
cmp w20, #129
b.eq LBB0_4
; %bb.7: ; in Loop: Header=BB0_5 Depth=1
cmp w20, #128
b.ne LBB0_2
; %bb.8: ; in Loop: Header=BB0_5 Depth=1
ldr w9, [x9, #8]
cbnz w9, LBB0_2
b LBB0_4
LBB0_9: ; in Loop: Header=BB0_5 Depth=1
mov x28, x0
mov x0, x21
bl _die
mov x0, x28
b LBB0_3
LBB0_10:
cbz w22, LBB0_15
; %bb.11:
mov x20, x0
cmp w22, #1
b.lt LBB0_14
; %bb.12:
mov w21, w22
mov x22, x20
LBB0_13: ; =>This Inner Loop Header: Depth=1
ldr w1, [x22], #4
mov x0, x19
bl _pevent_filter_remove_event
subs x21, x21, #1
b.ne LBB0_13
LBB0_14:
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
b _free
LBB0_15:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _FILTER_ARG_BOOLEAN,8,3 ; @FILTER_ARG_BOOLEAN
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Can't allocate ids"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _SurfaceForShader ## -- Begin function SurfaceForShader
.p2align 4, 0x90
_SurfaceForShader: ## @SurfaceForShader
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %ebx
movl %esi, %r14d
movq %rdi, %r15
movq _lastSurface@GOTPCREL(%rip), %r10
movq (%r10), %rax
testq %rax, %rax
je LBB0_4
## %bb.1:
cmpq %r15, 8(%rax)
jne LBB0_4
## %bb.2:
cmpl %r14d, (%rax)
jne LBB0_4
## %bb.3:
cmpl %ebx, 4(%rax)
je LBB0_14
LBB0_4:
movq _surfaces@GOTPCREL(%rip), %r12
movq (%r12), %rdi
movq _numsurfaces@GOTPCREL(%rip), %r8
movl (%r8), %ecx
movq %rdi, %rax
testl %ecx, %ecx
jle LBB0_10
## %bb.5:
movl %ecx, %edx
movq %rdi, %rax
jmp LBB0_6
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_6 Depth=1
addq $16, %rax
decl %edx
je LBB0_10
LBB0_6: ## =>This Inner Loop Header: Depth=1
cmpq %r15, 8(%rax)
jne LBB0_9
## %bb.7: ## in Loop: Header=BB0_6 Depth=1
cmpl %r14d, (%rax)
jne LBB0_9
## %bb.8: ## in Loop: Header=BB0_6 Depth=1
cmpl %ebx, 4(%rax)
jne LBB0_9
## %bb.13:
movq %rax, (%r10)
jmp LBB0_14
LBB0_10:
movq %rax, (%r10)
movq _maxsurfaces@GOTPCREL(%rip), %r13
movl (%r13), %esi
cmpl %esi, %ecx
jl LBB0_12
## %bb.11:
movq _GROW_SURFACES@GOTPCREL(%rip), %rax
addl (%rax), %esi
movl %esi, (%r13)
shll $4, %esi
callq _realloc
movq %rax, (%r12)
movq _numsurfaces@GOTPCREL(%rip), %rcx
movslq (%rcx), %rdx
movq %rdx, %rcx
shlq $4, %rcx
negq %rcx
leaq (%rax,%rcx), %rdi
addq $16, %rdi
notl %edx
addl (%r13), %edx
shll $4, %edx
xorl %esi, %esi
## kill: def $edx killed $edx killed $rdx
callq _memset
movq _lastSurface@GOTPCREL(%rip), %r10
movq _numsurfaces@GOTPCREL(%rip), %r8
movq (%r12), %rdi
movl (%r8), %ecx
LBB0_12:
leal 1(%rcx), %eax
movl %eax, (%r8)
movslq %ecx, %rax
shlq $4, %rax
leaq (%rdi,%rax), %rcx
movq %rcx, (%r10)
movq %r15, 8(%rdi,%rax)
movq (%r10), %rax
movl %r14d, (%rax)
movl %ebx, 4(%rax)
LBB0_14:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _lastSurface,8,3 ## @lastSurface
.comm _surfaces,8,3 ## @surfaces
.comm _numsurfaces,4,2 ## @numsurfaces
.comm _maxsurfaces,4,2 ## @maxsurfaces
.comm _GROW_SURFACES,8,3 ## @GROW_SURFACES
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _SurfaceForShader ; -- Begin function SurfaceForShader
.p2align 2
_SurfaceForShader: ; @SurfaceForShader
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x2
mov x20, x1
mov x21, x0
Lloh0:
adrp x22, _lastSurface@GOTPAGE
Lloh1:
ldr x22, [x22, _lastSurface@GOTPAGEOFF]
ldr x8, [x22]
cbz x8, LBB0_4
; %bb.1:
ldr x9, [x8, #8]
cmp x9, x21
b.ne LBB0_4
; %bb.2:
ldr w9, [x8]
cmp w9, w20
b.ne LBB0_4
; %bb.3:
ldr w9, [x8, #4]
cmp w9, w19
b.eq LBB0_14
LBB0_4:
Lloh2:
adrp x24, _surfaces@GOTPAGE
Lloh3:
ldr x24, [x24, _surfaces@GOTPAGEOFF]
ldr x0, [x24]
Lloh4:
adrp x23, _numsurfaces@GOTPAGE
Lloh5:
ldr x23, [x23, _numsurfaces@GOTPAGEOFF]
ldr w9, [x23]
mov x10, x0
subs w8, w9, #1
b.lt LBB0_11
; %bb.5:
add x8, x0, w8, uxtw #4
add x10, x8, #16
mov x11, x9
mov x8, x0
b LBB0_7
LBB0_6: ; in Loop: Header=BB0_7 Depth=1
add x8, x8, #16
subs w11, w11, #1
b.eq LBB0_11
LBB0_7: ; =>This Inner Loop Header: Depth=1
ldr x12, [x8, #8]
cmp x12, x21
b.ne LBB0_6
; %bb.8: ; in Loop: Header=BB0_7 Depth=1
ldr w12, [x8]
cmp w12, w20
b.ne LBB0_6
; %bb.9: ; in Loop: Header=BB0_7 Depth=1
ldr w12, [x8, #4]
cmp w12, w19
b.ne LBB0_6
; %bb.10:
str x8, [x22]
b LBB0_14
LBB0_11:
str x10, [x22]
Lloh6:
adrp x25, _maxsurfaces@GOTPAGE
Lloh7:
ldr x25, [x25, _maxsurfaces@GOTPAGEOFF]
ldr w8, [x25]
cmp w9, w8
b.lt LBB0_13
; %bb.12:
Lloh8:
adrp x9, _GROW_SURFACES@GOTPAGE
Lloh9:
ldr x9, [x9, _GROW_SURFACES@GOTPAGEOFF]
Lloh10:
ldr w9, [x9]
add w8, w8, w9
str w8, [x25]
lsl w1, w8, #4
bl _realloc
str x0, [x24]
ldrsw x8, [x23]
sub x9, x0, x8, lsl #4
ldr w10, [x25]
mvn w8, w8
add w8, w10, w8
lsl w2, w8, #4
add x0, x9, #16
mov w1, #0 ; =0x0
bl _memset
ldr x0, [x24]
ldr w9, [x23]
LBB0_13:
add w8, w9, #1
str w8, [x23]
add x8, x0, w9, sxtw #4
str x8, [x22]
str x21, [x8, #8]
ldr x8, [x22]
stp w20, w19, [x8]
LBB0_14:
mov x0, x8
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.cfi_endproc
; -- End function
.comm _lastSurface,8,3 ; @lastSurface
.comm _surfaces,8,3 ; @surfaces
.comm _numsurfaces,4,2 ; @numsurfaces
.comm _maxsurfaces,4,2 ; @maxsurfaces
.comm _GROW_SURFACES,8,3 ; @GROW_SURFACES
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _pevent_filter_clear_trivial ## -- Begin function pevent_filter_clear_trivial
.p2align 4, 0x90
_pevent_filter_clear_trivial: ## @pevent_filter_clear_trivial
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_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 (%rdi), %eax
testl %eax, %eax
jle LBB0_15
## %bb.1:
movq %rdi, %rbx
xorl %r13d, %r13d
movl $8, %r12d
movq _FILTER_ARG_BOOLEAN@GOTPCREL(%rip), %r9
xorl %r8d, %r8d
xorl %r14d, %r14d
movl %esi, -44(%rbp) ## 4-byte Spill
jmp LBB0_2
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_2 Depth=1
leal -4(,%r14,4), %esi
movq %r8, %rdi
callq _realloc
movq %rax, %r8
testq %rax, %rax
je LBB0_7
LBB0_8: ## in Loop: Header=BB0_2 Depth=1
movl -8(%r15,%r12), %eax
movslq %r14d, %rcx
incl %r14d
movl %eax, (%r8,%rcx,4)
movl (%rbx), %eax
movl -44(%rbp), %esi ## 4-byte Reload
movq _FILTER_ARG_BOOLEAN@GOTPCREL(%rip), %r9
LBB0_9: ## in Loop: Header=BB0_2 Depth=1
decq %r13
movslq %eax, %rcx
addq $-16, %r12
cmpq %rcx, %r13
jg LBB0_10
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq 8(%rbx), %r15
movq (%r15,%r12), %rcx
movq (%rcx), %rdx
cmpq (%r9), %rdx
jne LBB0_9
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
cmpl $129, %esi
je LBB0_9
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
cmpl $128, %esi
jne LBB0_6
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
cmpl $0, 8(%rcx)
jne LBB0_6
jmp LBB0_9
LBB0_7: ## in Loop: Header=BB0_2 Depth=1
leaq L_.str(%rip), %rdi
movq %r8, -56(%rbp) ## 8-byte Spill
callq _die
movq -56(%rbp), %r8 ## 8-byte Reload
jmp LBB0_8
LBB0_10:
testl %r14d, %r14d
je LBB0_15
## %bb.11:
jle LBB0_14
## %bb.12:
movl %r14d, %r15d
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_13: ## =>This Inner Loop Header: Depth=1
movl (%r8,%r12,4), %esi
movq %rbx, %rdi
movq %r8, %r14
callq _pevent_filter_remove_event
movq %r14, %r8
incq %r12
cmpq %r12, %r15
jne LBB0_13
LBB0_14:
movq %r8, %rdi
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _free ## TAILCALL
LBB0_15:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _FILTER_ARG_BOOLEAN,8,3 ## @FILTER_ARG_BOOLEAN
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Can't allocate ids"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _pevent_filter_clear_trivial ; -- Begin function pevent_filter_clear_trivial
.p2align 2
_pevent_filter_clear_trivial: ; @pevent_filter_clear_trivial
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
ldr w8, [x0]
cmp w8, #1
b.lt LBB0_15
; %bb.1:
mov x20, x1
mov x19, x0
mov x23, #0 ; =0x0
mov x24, #0 ; =0x0
mov x0, #0 ; =0x0
mov w22, #0 ; =0x0
Lloh0:
adrp x25, _FILTER_ARG_BOOLEAN@GOTPAGE
Lloh1:
ldr x25, [x25, _FILTER_ARG_BOOLEAN@GOTPAGEOFF]
Lloh2:
adrp x21, l_.str@PAGE
Lloh3:
add x21, x21, l_.str@PAGEOFF
b LBB0_5
LBB0_2: ; in Loop: Header=BB0_5 Depth=1
lsl w8, w22, #2
sub w1, w8, #4
bl _realloc
cbz x0, LBB0_9
LBB0_3: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [x26, x23]
str w8, [x0, w22, sxtw #2]
add w22, w22, #1
ldr w8, [x19]
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
sub x24, x24, #1
sub x23, x23, #16
cmp x24, w8, sxtw
b.gt LBB0_10
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr x26, [x19, #8]
add x9, x26, x23
ldr x9, [x9, #8]
ldr x10, [x9]
ldr x11, [x25]
cmp x10, x11
b.ne LBB0_4
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
cmp w20, #129
b.eq LBB0_4
; %bb.7: ; in Loop: Header=BB0_5 Depth=1
cmp w20, #128
b.ne LBB0_2
; %bb.8: ; in Loop: Header=BB0_5 Depth=1
ldr w9, [x9, #8]
cbnz w9, LBB0_2
b LBB0_4
LBB0_9: ; in Loop: Header=BB0_5 Depth=1
mov x27, x0
mov x0, x21
bl _die
mov x0, x27
b LBB0_3
LBB0_10:
cbz w22, LBB0_15
; %bb.11:
mov x20, x0
cmp w22, #1
b.lt LBB0_14
; %bb.12:
mov w21, w22
mov x22, x20
LBB0_13: ; =>This Inner Loop Header: Depth=1
ldr w1, [x22], #4
mov x0, x19
bl _pevent_filter_remove_event
subs x21, x21, #1
b.ne LBB0_13
LBB0_14:
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
b _free
LBB0_15:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _FILTER_ARG_BOOLEAN,8,3 ; @FILTER_ARG_BOOLEAN
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Can't allocate ids"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function tbl_append
_tbl_append: ## @tbl_append
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq _tb@GOTPCREL(%rip), %r14
xorl %edi, %edi
cmpq $0, (%r14)
setne %dil
callq _assert
movq (%r14), %rax
incl 4(%rax)
cmpl $0, (%rax)
jle LBB0_3
## %bb.1:
xorl %r15d, %r15d
movq _EXIT_FAILURE@GOTPCREL(%rip), %r12
leaq L_.str(%rip), %rbx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq 8(%rax), %rcx
movq (%rcx,%r15,8), %rdi
movl 4(%rax), %esi
shll $3, %esi
callq _realloc
movq (%r14), %rcx
movq 8(%rcx), %rcx
movq %rax, (%rcx,%r15,8)
movl (%r12), %edi
movq %rbx, %rsi
callq _err
movq (%r14), %rax
movq 8(%rax), %rcx
movq (%rcx,%r15,8), %rcx
movslq 4(%rax), %rax
movq $0, 8(%rcx,%rax,8)
incq %r15
movq (%r14), %rax
movslq (%rax), %rcx
cmpq %rcx, %r15
jl LBB0_2
LBB0_3:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _tb,8,3 ## @tb
.comm _EXIT_FAILURE,4,2 ## @EXIT_FAILURE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "realloc"
.no_dead_strip _tbl_append
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function tbl_append
_tbl_append: ; @tbl_append
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
Lloh0:
adrp x20, _tb@GOTPAGE
Lloh1:
ldr x20, [x20, _tb@GOTPAGEOFF]
ldr x8, [x20]
cmp x8, #0
cset w0, ne
bl _assert
ldr x8, [x20]
ldp w10, w9, [x8]
add w9, w9, #1
str w9, [x8, #4]
cmp w10, #1
b.lt LBB0_3
; %bb.1:
mov x21, #0 ; =0x0
Lloh2:
adrp x22, _EXIT_FAILURE@GOTPAGE
Lloh3:
ldr x22, [x22, _EXIT_FAILURE@GOTPAGEOFF]
Lloh4:
adrp x19, l_.str@PAGE
Lloh5:
add x19, x19, l_.str@PAGEOFF
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x9, [x8, #8]
ldr x0, [x9, x21, lsl #3]
ldr w8, [x8, #4]
lsl w1, w8, #3
bl _realloc
ldr x8, [x20]
ldr x8, [x8, #8]
str x0, [x8, x21, lsl #3]
ldr w0, [x22]
mov x1, x19
bl _err
ldr x8, [x20]
ldr x9, [x8, #8]
ldr x9, [x9, x21, lsl #3]
ldrsw x8, [x8, #4]
add x8, x9, x8, lsl #3
str xzr, [x8, #8]
add x21, x21, #1
ldr x8, [x20]
ldrsw x9, [x8]
cmp x21, x9
b.lt LBB0_2
LBB0_3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.cfi_endproc
; -- End function
.comm _tb,8,3 ; @tb
.comm _EXIT_FAILURE,4,2 ; @EXIT_FAILURE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "realloc"
.no_dead_strip _tbl_append
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function doc_insert
_doc_insert: ## @doc_insert
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r12
movq %rdi, %r14
movq _STORAGE_SECRET_MASK@GOTPCREL(%rip), %rax
orq %rdx, %r12
orq (%rax), %r12
movq _tot_docs@GOTPCREL(%rip), %rax
decl (%rax)
addq $24, %rdi
movq %rdi, -56(%rbp) ## 8-byte Spill
callq _pthread_mutex_lock
movl (%r14), %r13d
leal 1(%r13), %r15d
movl %r15d, (%r14)
subl 4(%r14), %r13d
movl %r13d, %edi
notl %edi
shrl $31, %edi
callq _assert
movl %r13d, %ebx
sarl $11, %ebx
andl $2047, %r13d ## imm = 0x7FF
je LBB0_1
## %bb.4:
xorl %edi, %edi
cmpl 8(%r14), %ebx
setl %dil
callq _assert
movq 16(%r14), %rax
movslq %ebx, %rcx
movq (%rax,%rcx,8), %rax
movl %r13d, %ecx
movq %r12, (%rax,%rcx,8)
jmp LBB0_5
LBB0_1:
movl $2048, %edi ## imm = 0x800
movl $8, %esi
callq _calloc
movq %rax, %r13
xorl %edi, %edi
testq %rax, %rax
sete %dil
callq _assert
movq %r13, -48(%rbp) ## 8-byte Spill
movq %r12, (%r13)
movl 8(%r14), %r13d
cmpl %r13d, %ebx
jne LBB0_3
## %bb.2:
leal (%rbx,%rbx), %eax
leal 1(,%rbx,2), %r13d
movq 16(%r14), %rdi
leal 8(,%rax,8), %esi
callq _realloc
movq %rax, %r12
xorl %edi, %edi
testq %rax, %rax
setne %dil
callq _assert
movq %r12, 16(%r14)
movl %r13d, 8(%r14)
LBB0_3:
xorl %edi, %edi
cmpl %r13d, %ebx
setl %dil
callq _assert
movq 16(%r14), %rax
movslq %ebx, %rcx
movq -48(%rbp), %rdx ## 8-byte Reload
movq %rdx, (%rax,%rcx,8)
LBB0_5:
movq -56(%rbp), %rdi ## 8-byte Reload
callq _pthread_mutex_unlock
movl %r15d, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _STORAGE_SECRET_MASK,8,3 ## @STORAGE_SECRET_MASK
.comm _tot_docs,4,2 ## @tot_docs
.no_dead_strip _doc_insert
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function doc_insert
_doc_insert: ; @doc_insert
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x0
Lloh0:
adrp x8, _STORAGE_SECRET_MASK@GOTPAGE
Lloh1:
ldr x8, [x8, _STORAGE_SECRET_MASK@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
orr x9, x2, x1
orr x22, x9, x8
Lloh3:
adrp x8, _tot_docs@GOTPAGE
Lloh4:
ldr x8, [x8, _tot_docs@GOTPAGEOFF]
ldr w9, [x8]
sub w9, w9, #1
str w9, [x8]
add x0, x0, #24
bl _pthread_mutex_lock
ldp w8, w9, [x19]
add w20, w8, #1
str w20, [x19]
sub w21, w8, w9
mvn w8, w21
lsr w0, w8, #31
bl _assert
asr w23, w21, #11
ands w21, w21, #0x7ff
b.eq LBB0_2
; %bb.1:
ldr w8, [x19, #8]
cmp w23, w8
cset w0, lt
bl _assert
ldr x8, [x19, #16]
ldr x8, [x8, w23, sxtw #3]
str x22, [x8, w21, uxtw #3]
b LBB0_5
LBB0_2:
mov w0, #2048 ; =0x800
mov w1, #8 ; =0x8
bl _calloc
mov x21, x0
cmp x0, #0
cset w0, eq
bl _assert
str x22, [x21]
ldr w24, [x19, #8]
cmp w23, w24
b.ne LBB0_4
; %bb.3:
mov w8, #1 ; =0x1
orr w24, w8, w23, lsl #1
ldr x0, [x19, #16]
lsl w1, w24, #3
bl _realloc
mov x22, x0
cmp x0, #0
cset w0, ne
bl _assert
str x22, [x19, #16]
str w24, [x19, #8]
LBB0_4:
cmp w23, w24
cset w0, lt
bl _assert
ldr x8, [x19, #16]
str x21, [x8, w23, sxtw #3]
LBB0_5:
add x0, x19, #24
bl _pthread_mutex_unlock
mov x0, x20
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _STORAGE_SECRET_MASK,8,3 ; @STORAGE_SECRET_MASK
.comm _tot_docs,4,2 ; @tot_docs
.no_dead_strip _doc_insert
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function normalStmtAddPart
_normalStmtAddPart: ## @normalStmtAddPart
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_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, %r15d
movq %rdx, %r12
movl %esi, %r14d
movq %rdi, %rbx
movl (%rdi), %r13d
cmpl 4(%rdi), %r13d
jle LBB0_1
## %bb.2:
leal (,%r13,2), %eax
movq 16(%rbx), %rdi
leal -16(,%rax,8), %eax
leal (%rax,%rax,2), %esi
callq _realloc
testq %rax, %rax
je LBB0_3
## %bb.4:
leal -2(,%r13,2), %ecx
movl %ecx, 4(%rbx)
movq %rax, 16(%rbx)
movl (%rbx), %r13d
jmp LBB0_5
LBB0_1:
movq 16(%rbx), %rax
LBB0_5:
movslq %r13d, %rcx
leaq (%rcx,%rcx,2), %rdx
movl %r14d, (%rax,%rdx,8)
movq %r12, 8(%rax,%rdx,8)
movl %r15d, 16(%rax,%rdx,8)
decl %ecx
movl %ecx, (%rbx)
movq _TSDB_CODE_SUCCESS@GOTPCREL(%rip), %rax
testl %r14d, %r14d
je LBB0_7
## %bb.6:
incl 8(%rbx)
jmp LBB0_7
LBB0_3:
movq _TSDB_CODE_CLI_OUT_OF_MEMORY@GOTPCREL(%rip), %rax
LBB0_7:
movl (%rax), %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _TSDB_CODE_CLI_OUT_OF_MEMORY,4,2 ## @TSDB_CODE_CLI_OUT_OF_MEMORY
.comm _TSDB_CODE_SUCCESS,4,2 ## @TSDB_CODE_SUCCESS
.no_dead_strip _normalStmtAddPart
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function normalStmtAddPart
_normalStmtAddPart: ; @normalStmtAddPart
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x21, x3
mov x22, x2
mov x20, x1
mov x19, x0
ldp w8, w9, [x0]
cmp w8, w9
b.le LBB0_3
; %bb.1:
lsl w8, w8, #1
sub w23, w8, #2
ldr x0, [x19, #16]
add w8, w23, w23, lsl #1
lsl w1, w8, #3
bl _realloc
cbz x0, LBB0_8
; %bb.2:
str w23, [x19, #4]
str x0, [x19, #16]
ldr w8, [x19]
b LBB0_4
LBB0_3:
ldr x0, [x19, #16]
LBB0_4:
mov w9, #24 ; =0x18
smaddl x9, w8, w9, x0
str w20, [x9]
str x22, [x9, #8]
str w21, [x9, #16]
sub w8, w8, #1
str w8, [x19]
cbz w20, LBB0_6
; %bb.5:
ldr w8, [x19, #8]
add w8, w8, #1
str w8, [x19, #8]
LBB0_6:
Lloh0:
adrp x8, _TSDB_CODE_SUCCESS@GOTPAGE
Lloh1:
ldr x8, [x8, _TSDB_CODE_SUCCESS@GOTPAGEOFF]
LBB0_7:
ldr w0, [x8]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
LBB0_8:
Lloh2:
adrp x8, _TSDB_CODE_CLI_OUT_OF_MEMORY@GOTPAGE
Lloh3:
ldr x8, [x8, _TSDB_CODE_CLI_OUT_OF_MEMORY@GOTPAGEOFF]
b LBB0_7
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.cfi_endproc
; -- End function
.comm _TSDB_CODE_CLI_OUT_OF_MEMORY,4,2 ; @TSDB_CODE_CLI_OUT_OF_MEMORY
.comm _TSDB_CODE_SUCCESS,4,2 ; @TSDB_CODE_SUCCESS
.no_dead_strip _normalStmtAddPart
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _stb_ps_add ## -- Begin function stb_ps_add
.p2align 4, 0x90
_stb_ps_add: ## @stb_ps_add
.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
testq %rsi, %rsi
jne LBB0_2
## %bb.1:
xorl %ebx, %ebx
xorl %edi, %edi
callq _assert
xorl %edi, %edi
callq _stb_ps_fastlist_valid
movl %eax, %edi
callq _assert
movq _STB_DEL@GOTPCREL(%rip), %rax
xorl %edi, %edi
cmpq $0, (%rax)
setne %dil
callq _assert
LBB0_2:
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _STB_DEL,8,3 ## @STB_DEL
.comm _STB_BUCKET_SIZE,4,2 ## @STB_BUCKET_SIZE
.comm _stb_ps_array_max,4,2 ## @stb_ps_array_max
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _stb_ps_add ; -- Begin function stb_ps_add
.p2align 2
_stb_ps_add: ; @stb_ps_add
.cfi_startproc
; %bb.0:
cbz x1, LBB0_2
; %bb.1:
ret
LBB0_2:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w0, #0 ; =0x0
bl _assert
mov x0, #0 ; =0x0
bl _stb_ps_fastlist_valid
bl _assert
Lloh0:
adrp x8, _STB_DEL@GOTPAGE
Lloh1:
ldr x8, [x8, _STB_DEL@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x8, #0
cset w0, ne
bl _assert
mov x0, #0 ; =0x0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _STB_DEL,8,3 ; @STB_DEL
.comm _STB_BUCKET_SIZE,4,2 ; @STB_BUCKET_SIZE
.comm _stb_ps_array_max,4,2 ; @stb_ps_array_max
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _getcwd ## -- Begin function getcwd
.p2align 4, 0x90
_getcwd: ## @getcwd
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $104, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
testq %rdi, %rdi
je LBB0_3
## %bb.1:
testq %rsi, %rsi
je LBB0_8
## %bb.2:
movq %rdi, %rbx
movq %rdi, %r13
subq %rsi, %r13
movq $0, -80(%rbp) ## 8-byte Folded Spill
jmp LBB0_5
LBB0_3:
movq _MAXPATHLEN@GOTPCREL(%rip), %rax
movq (%rax), %r14
movq %r14, %rdi
callq _malloc
testq %rax, %rax
je LBB0_51
## %bb.4:
movq %rax, %rbx
movq %rax, %r13
movq %r14, -80(%rbp) ## 8-byte Spill
addq %r14, %r13
LBB0_5:
movb $0, -1(%r13)
movq _MAXPATHLEN@GOTPCREL(%rip), %rax
movq (%rax), %r14
movq %r14, %rdi
callq _malloc
testq %rax, %rax
je LBB0_9
## %bb.6:
movq %rax, %r15
movw $46, (%rax)
leaq L_.str(%rip), %rdi
leaq -96(%rbp), %rsi
callq _stat
testq %rax, %rax
jne LBB0_7
## %bb.10:
movq -96(%rbp), %rax
movq %rax, -136(%rbp) ## 8-byte Spill
movq -88(%rbp), %r12
movq _errno@GOTPCREL(%rip), %rax
movl $0, (%rax)
leaq -96(%rbp), %rsi
movq %r15, %rdi
callq _lstat
testq %rax, %rax
je LBB0_12
LBB0_7:
xorl %r12d, %r12d
jmp LBB0_46
LBB0_8:
movq _EINVAL@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _errno@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
jmp LBB0_51
LBB0_9:
xorl %r12d, %r12d
xorl %r15d, %r15d
LBB0_46:
movq _errno@GOTPCREL(%rip), %rax
movl (%rax), %r14d
cmpq $0, -80(%rbp) ## 8-byte Folded Reload
je LBB0_48
## %bb.47:
movq %rbx, %rdi
callq _free
LBB0_48:
movq %r15, %rdi
callq _free
testq %r12, %r12
je LBB0_50
## %bb.49:
movq %r12, %rdi
callq _closedir
LBB0_50:
movq _errno@GOTPCREL(%rip), %rax
movl %r14d, (%rax)
LBB0_51:
xorl %ebx, %ebx
LBB0_52:
movq %rbx, %rax
addq $104, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_12:
movq %r12, -128(%rbp) ## 8-byte Spill
leaq -1(%r13), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
movq %r15, %rsi
addq %r14, %rsi
movq _MAXNAMLEN@GOTPCREL(%rip), %rcx
xorl %r12d, %r12d
xorl %edi, %edi
movq %r15, %rdx
LBB0_13: ## =>This Loop Header: Depth=1
## Child Loop BB0_26 Depth 2
movq -96(%rbp), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
cmpq %rax, -136(%rbp) ## 8-byte Folded Reload
movq -128(%rbp), %rax ## 8-byte Reload
je LBB0_53
## %bb.14: ## in Loop: Header=BB0_13 Depth=1
movq -88(%rbp), %r8
movq %r8, -144(%rbp) ## 8-byte Spill
cmpq %r8, %rax
je LBB0_53
## %bb.15: ## in Loop: Header=BB0_13 Depth=1
movq %rdi, -112(%rbp) ## 8-byte Spill
movslq (%rcx), %rax
addq %rdx, %rax
addq $4, %rax
cmpq %rsi, %rax
jae LBB0_17
## %bb.16: ## in Loop: Header=BB0_13 Depth=1
movq %rsi, -104(%rbp) ## 8-byte Spill
jmp LBB0_19
LBB0_17: ## in Loop: Header=BB0_13 Depth=1
movq %rdx, -72(%rbp) ## 8-byte Spill
addq %r14, %r14
movq %r15, %rdi
movq %r14, %rsi
callq _realloc
testq %rax, %rax
je LBB0_46
## %bb.18: ## in Loop: Header=BB0_13 Depth=1
movq -72(%rbp), %rdx ## 8-byte Reload
subq %r15, %rdx
addq %rax, %rdx
movq %rax, %rcx
addq %r14, %rcx
movq %rcx, -104(%rbp) ## 8-byte Spill
movq %rax, %r15
LBB0_19: ## in Loop: Header=BB0_13 Depth=1
movw $11822, (%rdx) ## imm = 0x2E2E
movq %rdx, -72(%rbp) ## 8-byte Spill
movb $0, 2(%rdx)
movq %r15, %rdi
callq _opendir
testq %rax, %rax
je LBB0_7
## %bb.20: ## in Loop: Header=BB0_13 Depth=1
movq %rax, %r12
movq %rax, %rdi
callq _dirfd
movl %eax, %edi
leaq -96(%rbp), %rsi
callq _fstat
testq %rax, %rax
jne LBB0_46
## %bb.21: ## in Loop: Header=BB0_13 Depth=1
movq -72(%rbp), %rax ## 8-byte Reload
movb $47, 2(%rax)
movq -64(%rbp), %rax ## 8-byte Reload
cmpq %rax, -96(%rbp)
je LBB0_40
## %bb.22: ## in Loop: Header=BB0_13 Depth=1
movq %r14, -120(%rbp) ## 8-byte Spill
movq %r12, %rdi
callq _readdir
testq %rax, %rax
je LBB0_41
## %bb.23: ## in Loop: Header=BB0_13 Depth=1
movq %rax, %r14
addq $3, -72(%rbp) ## 8-byte Folded Spill
movl $0, -44(%rbp) ## 4-byte Folded Spill
jmp LBB0_26
LBB0_24: ## in Loop: Header=BB0_26 Depth=2
movl %ecx, -44(%rbp) ## 4-byte Spill
movl $0, (%rax)
.p2align 4, 0x90
LBB0_25: ## in Loop: Header=BB0_26 Depth=2
movq %r12, %rdi
callq _readdir
movq %rax, %r14
testq %rax, %rax
je LBB0_42
LBB0_26: ## Parent Loop BB0_13 Depth=1
## => This Inner Loop Header: Depth=2
movq %r14, %rdi
callq _ISDOT
testq %rax, %rax
jne LBB0_25
## %bb.27: ## in Loop: Header=BB0_26 Depth=2
movl 8(%r14), %edx
movl 12(%r14), %esi
incl %edx
movq -72(%rbp), %rdi ## 8-byte Reload
callq _memcpy
movq %r15, %rdi
leaq -96(%rbp), %rsi
callq _lstat
testq %rax, %rax
jne LBB0_30
## %bb.28: ## in Loop: Header=BB0_26 Depth=2
movq -64(%rbp), %rax ## 8-byte Reload
cmpq %rax, -96(%rbp)
jne LBB0_25
## %bb.29: ## in Loop: Header=BB0_26 Depth=2
movq -144(%rbp), %rax ## 8-byte Reload
cmpq %rax, -88(%rbp)
jne LBB0_25
jmp LBB0_32
LBB0_30: ## in Loop: Header=BB0_26 Depth=2
movl -44(%rbp), %ecx ## 4-byte Reload
testl %ecx, %ecx
movq _errno@GOTPCREL(%rip), %rax
jne LBB0_24
## %bb.31: ## in Loop: Header=BB0_26 Depth=2
movl (%rax), %ecx
jmp LBB0_24
LBB0_32: ## in Loop: Header=BB0_13 Depth=1
movq -56(%rbp), %rsi ## 8-byte Reload
subq %rbx, %rsi
movslq 8(%r14), %rax
movq -112(%rbp), %rdx ## 8-byte Reload
movzbl %dl, %ecx
andl $1, %ecx
addq %rcx, %rax
incq %rax
cmpq %rax, %rsi
jge LBB0_36
## %bb.33: ## in Loop: Header=BB0_13 Depth=1
movq -80(%rbp), %rax ## 8-byte Reload
testq %rax, %rax
je LBB0_55
## %bb.34: ## in Loop: Header=BB0_13 Depth=1
movq %rsi, -64(%rbp) ## 8-byte Spill
addq %rax, %rax
movq %rbx, %rdi
movq %rax, -80(%rbp) ## 8-byte Spill
movq %rax, %rsi
callq _realloc
testq %rax, %rax
je LBB0_46
## %bb.35: ## in Loop: Header=BB0_13 Depth=1
subq -56(%rbp), %r13 ## 8-byte Folded Reload
movq -64(%rbp), %rsi ## 8-byte Reload
addq %rax, %rsi
movq %rax, %rbx
movq %rax, -64(%rbp) ## 8-byte Spill
movq -80(%rbp), %rax ## 8-byte Reload
addq %rax, %rbx
movq %rbx, %rdi
subq %r13, %rdi
movq %rdi, -56(%rbp) ## 8-byte Spill
movq %r13, %rdx
callq _memmove
movq %rbx, %r13
movq -64(%rbp), %rbx ## 8-byte Reload
movq -112(%rbp), %rdx ## 8-byte Reload
LBB0_36: ## in Loop: Header=BB0_13 Depth=1
testb $1, %dl
je LBB0_38
## %bb.37: ## in Loop: Header=BB0_13 Depth=1
movq -56(%rbp), %rdi ## 8-byte Reload
movb $47, -1(%rdi)
decq %rdi
jmp LBB0_39
LBB0_38: ## in Loop: Header=BB0_13 Depth=1
movq -56(%rbp), %rdi ## 8-byte Reload
LBB0_39: ## in Loop: Header=BB0_13 Depth=1
movslq 8(%r14), %rdx
subq %rdx, %rdi
movl 12(%r14), %esi
movq %rdi, -56(%rbp) ## 8-byte Spill
## kill: def $edx killed $edx killed $rdx
callq _memcpy
movq %r12, %rdi
callq _closedir
movq -72(%rbp), %r14 ## 8-byte Reload
movb $0, (%r14)
movq %r15, %rdi
leaq -96(%rbp), %rsi
callq _lstat
movq %r14, %rdx
movb $1, %dil
testq %rax, %rax
movq -120(%rbp), %r14 ## 8-byte Reload
movq _MAXNAMLEN@GOTPCREL(%rip), %rcx
movq -104(%rbp), %rsi ## 8-byte Reload
je LBB0_13
jmp LBB0_46
LBB0_40: ## =>This Inner Loop Header: Depth=1
movq %r12, %rdi
callq _readdir
testq %rax, %rax
jne LBB0_40
LBB0_41:
movl $0, -44(%rbp) ## 4-byte Folded Spill
LBB0_42:
movq _errno@GOTPCREL(%rip), %rcx
cmpl $0, (%rcx)
jne LBB0_46
## %bb.43:
movl -44(%rbp), %eax ## 4-byte Reload
testl %eax, %eax
jne LBB0_45
## %bb.44:
movq _ENOENT@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_45:
movl %eax, (%rcx)
jmp LBB0_46
LBB0_53:
movq -56(%rbp), %rsi ## 8-byte Reload
movb $47, -1(%rsi)
decq %rsi
subq %rsi, %r13
movq %rbx, %rdi
movq %r13, %rdx
callq _memmove
movq %r15, %rdi
callq _free
jmp LBB0_52
LBB0_55:
movq _ERANGE@GOTPCREL(%rip), %rax
movl (%rax), %r14d
movq _errno@GOTPCREL(%rip), %rax
movl %r14d, (%rax)
jmp LBB0_48
.cfi_endproc
## -- End function
.comm _EINVAL,4,2 ## @EINVAL
.comm _errno,4,2 ## @errno
.comm _MAXPATHLEN,8,3 ## @MAXPATHLEN
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "/"
.comm _MAXNAMLEN,4,2 ## @MAXNAMLEN
.comm _ERANGE,4,2 ## @ERANGE
.comm _ENOENT,4,2 ## @ENOENT
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _getcwd ; -- Begin function getcwd
.p2align 2
_getcwd: ; @getcwd
.cfi_startproc
; %bb.0:
sub sp, sp, #160
stp x28, x27, [sp, #64] ; 16-byte Folded Spill
stp x26, x25, [sp, #80] ; 16-byte Folded Spill
stp x24, x23, [sp, #96] ; 16-byte Folded Spill
stp x22, x21, [sp, #112] ; 16-byte Folded Spill
stp x20, x19, [sp, #128] ; 16-byte Folded Spill
stp x29, x30, [sp, #144] ; 16-byte Folded Spill
add x29, sp, #144
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
Lloh0:
adrp x20, _MAXPATHLEN@GOTPAGE
Lloh1:
ldr x20, [x20, _MAXPATHLEN@GOTPAGEOFF]
cbz x0, LBB0_3
; %bb.1:
cbz x1, LBB0_14
; %bb.2:
mov x19, #0 ; =0x0
mov x25, x0
sub x28, x0, x1
b LBB0_5
LBB0_3:
ldr x19, [x20]
mov x0, x19
bl _malloc
cbz x0, LBB0_15
; %bb.4:
mov x25, x0
add x28, x0, x19
LBB0_5:
mov x22, x28
strb wzr, [x22, #-1]!
ldr x23, [x20]
mov x0, x23
bl _malloc
mov x20, x0
cbz x0, LBB0_8
; %bb.6:
mov w8, #46 ; =0x2e
strh w8, [x20]
Lloh2:
adrp x0, l_.str@PAGE
Lloh3:
add x0, x0, l_.str@PAGEOFF
add x1, sp, #48
bl _stat
cbnz x0, LBB0_8
; %bb.7:
ldp x26, x21, [sp, #48]
Lloh4:
adrp x8, _errno@GOTPAGE
Lloh5:
ldr x8, [x8, _errno@GOTPAGEOFF]
Lloh6:
str wzr, [x8]
add x1, sp, #48
mov x0, x20
bl _lstat
cbz x0, LBB0_16
LBB0_8:
mov x21, #0 ; =0x0
mov x0, x25
LBB0_9:
Lloh7:
adrp x8, _errno@GOTPAGE
Lloh8:
ldr x8, [x8, _errno@GOTPAGEOFF]
Lloh9:
ldr w22, [x8]
cbz x19, LBB0_11
; %bb.10:
bl _free
LBB0_11:
mov x0, x20
bl _free
cbz x21, LBB0_13
; %bb.12:
mov x0, x21
bl _closedir
LBB0_13:
mov x0, #0 ; =0x0
Lloh10:
adrp x8, _errno@GOTPAGE
Lloh11:
ldr x8, [x8, _errno@GOTPAGEOFF]
Lloh12:
str w22, [x8]
b LBB0_15
LBB0_14:
mov x0, #0 ; =0x0
Lloh13:
adrp x8, _EINVAL@GOTPAGE
Lloh14:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh15:
ldr w8, [x8]
Lloh16:
adrp x9, _errno@GOTPAGE
Lloh17:
ldr x9, [x9, _errno@GOTPAGEOFF]
Lloh18:
str w8, [x9]
LBB0_15:
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
ldp x20, x19, [sp, #128] ; 16-byte Folded Reload
ldp x22, x21, [sp, #112] ; 16-byte Folded Reload
ldp x24, x23, [sp, #96] ; 16-byte Folded Reload
ldp x26, x25, [sp, #80] ; 16-byte Folded Reload
ldp x28, x27, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #160
ret
LBB0_16:
str x21, [sp, #32] ; 8-byte Folded Spill
mov x21, #0 ; =0x0
mov w11, #0 ; =0x0
add x10, x20, x23
Lloh19:
adrp x9, _MAXNAMLEN@GOTPAGE
Lloh20:
ldr x9, [x9, _MAXNAMLEN@GOTPAGEOFF]
mov x24, x20
mov x0, x25
str x26, [sp, #8] ; 8-byte Folded Spill
LBB0_17: ; =>This Loop Header: Depth=1
; Child Loop BB0_29 Depth 2
str x0, [sp, #40] ; 8-byte Folded Spill
ldp x25, x27, [sp, #48]
cmp x26, x25
ldr x8, [sp, #32] ; 8-byte Folded Reload
ccmp x8, x27, #4, ne
b.eq LBB0_45
; %bb.18: ; in Loop: Header=BB0_17 Depth=1
str w11, [sp, #24] ; 4-byte Folded Spill
ldrsw x8, [x9]
add x8, x24, x8
add x8, x8, #4
cmp x8, x10
b.hs LBB0_20
; %bb.19: ; in Loop: Header=BB0_17 Depth=1
str x10, [sp, #16] ; 8-byte Folded Spill
b LBB0_22
LBB0_20: ; in Loop: Header=BB0_17 Depth=1
lsl x23, x23, #1
mov x0, x20
mov x1, x23
bl _realloc
cbz x0, LBB0_44
; %bb.21: ; in Loop: Header=BB0_17 Depth=1
sub x8, x24, x20
add x24, x0, x8
add x8, x0, x23
str x8, [sp, #16] ; 8-byte Folded Spill
mov x20, x0
LBB0_22: ; in Loop: Header=BB0_17 Depth=1
mov w8, #11822 ; =0x2e2e
strh w8, [x24]
strb wzr, [x24, #2]
mov x0, x20
bl _opendir
mov x21, x0
cbz x0, LBB0_44
; %bb.23: ; in Loop: Header=BB0_17 Depth=1
mov x0, x21
bl _dirfd
add x1, sp, #48
bl _fstat
cbnz x0, LBB0_44
; %bb.24: ; in Loop: Header=BB0_17 Depth=1
mov w8, #47 ; =0x2f
strb w8, [x24, #2]
ldr x8, [sp, #48]
cmp x8, x25
b.eq LBB0_40
; %bb.25: ; in Loop: Header=BB0_17 Depth=1
mov x0, x21
bl _readdir
cbz x0, LBB0_41
; %bb.26: ; in Loop: Header=BB0_17 Depth=1
mov x26, x0
str wzr, [sp, #28] ; 4-byte Folded Spill
add x24, x24, #3
b LBB0_29
LBB0_27: ; in Loop: Header=BB0_29 Depth=2
Lloh21:
adrp x9, _errno@GOTPAGE
Lloh22:
ldr x9, [x9, _errno@GOTPAGEOFF]
ldr w8, [x9]
ldr w10, [sp, #28] ; 4-byte Folded Reload
cmp w10, #0
csel w10, w8, w10, eq
str w10, [sp, #28] ; 4-byte Folded Spill
str wzr, [x9]
LBB0_28: ; in Loop: Header=BB0_29 Depth=2
mov x0, x21
bl _readdir
mov x26, x0
cbz x0, LBB0_42
LBB0_29: ; Parent Loop BB0_17 Depth=1
; => This Inner Loop Header: Depth=2
mov x0, x26
bl _ISDOT
cbnz x0, LBB0_28
; %bb.30: ; in Loop: Header=BB0_29 Depth=2
ldp w8, w1, [x26, #8]
add w2, w8, #1
mov x0, x24
bl _memcpy
add x1, sp, #48
mov x0, x20
bl _lstat
cbnz x0, LBB0_27
; %bb.31: ; in Loop: Header=BB0_29 Depth=2
ldr x8, [sp, #48]
cmp x8, x25
b.ne LBB0_28
; %bb.32: ; in Loop: Header=BB0_29 Depth=2
ldr x8, [sp, #56]
cmp x8, x27
b.ne LBB0_28
; %bb.33: ; in Loop: Header=BB0_17 Depth=1
ldr x0, [sp, #40] ; 8-byte Folded Reload
sub x25, x22, x0
ldrsw x8, [x26, #8]
ldr w10, [sp, #24] ; 4-byte Folded Reload
tst w10, #0x1
mov w9, #1 ; =0x1
cinc w9, w9, ne
add x8, x8, x9
cmp x25, x8
b.ge LBB0_37
; %bb.34: ; in Loop: Header=BB0_17 Depth=1
cbz x19, LBB0_46
; %bb.35: ; in Loop: Header=BB0_17 Depth=1
lsl x19, x19, #1
mov x1, x19
bl _realloc
cbz x0, LBB0_44
; %bb.36: ; in Loop: Header=BB0_17 Depth=1
mov x27, x0
sub x2, x28, x22
add x28, x0, x19
sub x22, x28, x2
add x1, x0, x25
mov x0, x22
bl _memmove
mov x0, x27
ldr w10, [sp, #24] ; 4-byte Folded Reload
LBB0_37: ; in Loop: Header=BB0_17 Depth=1
mov x25, x0
tbz w10, #0, LBB0_39
; %bb.38: ; in Loop: Header=BB0_17 Depth=1
mov w8, #47 ; =0x2f
strb w8, [x22, #-1]!
LBB0_39: ; in Loop: Header=BB0_17 Depth=1
ldp w2, w1, [x26, #8]
; kill: def $w2 killed $w2 def $x2
sxtw x2, w2
sub x22, x22, x2
mov x0, x22
; kill: def $w2 killed $w2 killed $x2
bl _memcpy
mov x0, x21
bl _closedir
strb wzr, [x24]
add x1, sp, #48
mov x0, x20
bl _lstat
mov x8, x0
mov w11, #1 ; =0x1
mov x0, x25
ldp x26, x10, [sp, #8] ; 16-byte Folded Reload
Lloh23:
adrp x9, _MAXNAMLEN@GOTPAGE
Lloh24:
ldr x9, [x9, _MAXNAMLEN@GOTPAGEOFF]
cbz x8, LBB0_17
b LBB0_9
LBB0_40: ; =>This Inner Loop Header: Depth=1
mov x0, x21
bl _readdir
cbnz x0, LBB0_40
LBB0_41:
str wzr, [sp, #28] ; 4-byte Folded Spill
LBB0_42:
Lloh25:
adrp x9, _errno@GOTPAGE
Lloh26:
ldr x9, [x9, _errno@GOTPAGEOFF]
ldr w8, [x9]
cbnz w8, LBB0_44
; %bb.43:
Lloh27:
adrp x8, _ENOENT@GOTPAGE
Lloh28:
ldr x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh29:
ldr w8, [x8]
ldr w10, [sp, #28] ; 4-byte Folded Reload
cmp w10, #0
csel w8, w8, w10, eq
str w8, [x9]
LBB0_44:
ldr x0, [sp, #40] ; 8-byte Folded Reload
b LBB0_9
LBB0_45:
mov w8, #47 ; =0x2f
strb w8, [x22, #-1]!
sub x2, x28, x22
ldr x0, [sp, #40] ; 8-byte Folded Reload
mov x1, x22
bl _memmove
mov x0, x20
bl _free
ldr x0, [sp, #40] ; 8-byte Folded Reload
b LBB0_15
LBB0_46:
Lloh30:
adrp x8, _ERANGE@GOTPAGE
Lloh31:
ldr x8, [x8, _ERANGE@GOTPAGEOFF]
Lloh32:
ldr w22, [x8]
Lloh33:
adrp x8, _errno@GOTPAGE
Lloh34:
ldr x8, [x8, _errno@GOTPAGEOFF]
Lloh35:
str w22, [x8]
b LBB0_11
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGotStr Lloh4, Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotStr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotStr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGot Lloh19, Lloh20
.loh AdrpLdrGot Lloh21, Lloh22
.loh AdrpLdrGot Lloh23, Lloh24
.loh AdrpLdrGot Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpLdrGotStr Lloh33, Lloh34, Lloh35
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.cfi_endproc
; -- End function
.comm _EINVAL,4,2 ; @EINVAL
.comm _errno,4,2 ; @errno
.comm _MAXPATHLEN,8,3 ; @MAXPATHLEN
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "/"
.comm _MAXNAMLEN,4,2 ; @MAXNAMLEN
.comm _ERANGE,4,2 ; @ERANGE
.comm _ENOENT,4,2 ; @ENOENT
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _IncDrawVerts ## -- Begin function IncDrawVerts
.p2align 4, 0x90
_IncDrawVerts: ## @IncDrawVerts
.cfi_startproc
## %bb.0:
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 _numBSPDrawVerts@GOTPCREL(%rip), %rbx
movl (%rbx), %ecx
leal 1(%rcx), %eax
movl %eax, (%rbx)
movq _bspDrawVerts@GOTPCREL(%rip), %r14
movq (%r14), %rdi
testq %rdi, %rdi
je LBB0_1
## %bb.2:
movq _numBSPDrawVertsBuffer@GOTPCREL(%rip), %rax
movl (%rax), %edx
cmpl %edx, %ecx
jl LBB0_6
## %bb.3:
leal (%rdx,%rdx,2), %ecx
movl %ecx, %esi
shrl $31, %esi
addl %ecx, %esi
sarl %esi
movq _MAX_MAP_DRAW_VERTS@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
cmpl %ecx, %esi
cmovgel %ecx, %esi
movl %esi, (%rax)
shll $2, %esi
callq _realloc
movq %rax, %rdi
testq %rax, %rax
jne LBB0_5
## %bb.4:
movq (%r14), %rax
movq %rdi, %r15
movq %rax, %rdi
callq _free
leaq L_.str.1(%rip), %rdi
callq _Error
movq %r15, %rdi
jmp LBB0_5
LBB0_1:
movq _MAX_MAP_DRAW_VERTS@GOTPCREL(%rip), %rax
movslq (%rax), %rax
imulq $-580400985, %rax, %rdi ## imm = 0xDD67C8A7
shrq $32, %rdi
addl %eax, %edi
movl %edi, %eax
shrl $31, %eax
sarl $5, %edi
addl %eax, %edi
movq _numBSPDrawVertsBuffer@GOTPCREL(%rip), %rax
movl %edi, (%rax)
shll $2, %edi
leaq L_.str(%rip), %rsi
## kill: def $edi killed $edi killed $rdi
callq _safe_malloc_info
movq %rax, %rdi
LBB0_5:
movq %rdi, (%r14)
LBB0_6:
movslq (%rbx), %rax
shlq $2, %rax
subq %rax, %rdi
addq $4, %rdi
xorl %esi, %esi
movl $4, %edx
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _memset ## TAILCALL
.cfi_endproc
## -- End function
.comm _numBSPDrawVerts,4,2 ## @numBSPDrawVerts
.comm _bspDrawVerts,8,3 ## @bspDrawVerts
.comm _MAX_MAP_DRAW_VERTS,4,2 ## @MAX_MAP_DRAW_VERTS
.comm _numBSPDrawVertsBuffer,4,2 ## @numBSPDrawVertsBuffer
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "IncDrawVerts"
L_.str.1: ## @.str.1
.asciz "realloc() failed (IncDrawVerts)"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _IncDrawVerts ; -- Begin function IncDrawVerts
.p2align 2
_IncDrawVerts: ; @IncDrawVerts
.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 x19, _numBSPDrawVerts@GOTPAGE
Lloh1:
ldr x19, [x19, _numBSPDrawVerts@GOTPAGEOFF]
ldr w9, [x19]
add w8, w9, #1
str w8, [x19]
Lloh2:
adrp x20, _bspDrawVerts@GOTPAGE
Lloh3:
ldr x20, [x20, _bspDrawVerts@GOTPAGEOFF]
ldr x0, [x20]
cbz x0, LBB0_4
; %bb.1:
Lloh4:
adrp x8, _numBSPDrawVertsBuffer@GOTPAGE
Lloh5:
ldr x8, [x8, _numBSPDrawVertsBuffer@GOTPAGEOFF]
ldr w10, [x8]
cmp w9, w10
b.lt LBB0_6
; %bb.2:
add w9, w10, w10, lsl #1
add w9, w9, w9, lsr #31
Lloh6:
adrp x10, _MAX_MAP_DRAW_VERTS@GOTPAGE
Lloh7:
ldr x10, [x10, _MAX_MAP_DRAW_VERTS@GOTPAGEOFF]
asr w9, w9, #1
Lloh8:
ldr w10, [x10]
cmp w9, w10
csel w9, w9, w10, lt
str w9, [x8]
lsl w1, w9, #2
bl _realloc
cbnz x0, LBB0_5
; %bb.3:
ldr x8, [x20]
mov x21, x0
mov x0, x8
bl _free
Lloh9:
adrp x0, l_.str.1@PAGE
Lloh10:
add x0, x0, l_.str.1@PAGEOFF
bl _Error
mov x0, x21
b LBB0_5
LBB0_4:
Lloh11:
adrp x8, _MAX_MAP_DRAW_VERTS@GOTPAGE
Lloh12:
ldr x8, [x8, _MAX_MAP_DRAW_VERTS@GOTPAGEOFF]
Lloh13:
ldrsw x8, [x8]
mov x9, #-14169 ; =0xffffffffffffc8a7
movk x9, #56679, lsl #16
smull x9, w8, w9
lsr x9, x9, #32
add w8, w9, w8
asr w9, w8, #5
add w8, w9, w8, lsr #31
Lloh14:
adrp x9, _numBSPDrawVertsBuffer@GOTPAGE
Lloh15:
ldr x9, [x9, _numBSPDrawVertsBuffer@GOTPAGEOFF]
Lloh16:
str w8, [x9]
lsl w0, w8, #2
Lloh17:
adrp x1, l_.str@PAGE
Lloh18:
add x1, x1, l_.str@PAGEOFF
bl _safe_malloc_info
LBB0_5:
str x0, [x20]
LBB0_6:
ldrsw x8, [x19]
sub x8, x0, x8, lsl #2
add x0, x8, #4
mov w1, #0 ; =0x0
mov w2, #4 ; =0x4
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 _memset
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpLdrGotStr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.cfi_endproc
; -- End function
.comm _numBSPDrawVerts,4,2 ; @numBSPDrawVerts
.comm _bspDrawVerts,8,3 ; @bspDrawVerts
.comm _MAX_MAP_DRAW_VERTS,4,2 ; @MAX_MAP_DRAW_VERTS
.comm _numBSPDrawVertsBuffer,4,2 ; @numBSPDrawVertsBuffer
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "IncDrawVerts"
l_.str.1: ; @.str.1
.asciz "realloc() failed (IncDrawVerts)"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function convert
_convert: ## @convert
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
callq _strdup
testq %rax, %rax
jne LBB0_2
## %bb.1:
leaq L_.str(%rip), %rsi
movl $1, %edi
movq %rax, %rbx
callq _errx
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 "convert: cannot allocate memory"
.comm _E2BIG,8,3 ## @E2BIG
.comm _EINVAL,8,3 ## @EINVAL
.comm _conv,8,3 ## @conv
.comm _currentEncoding,8,3 ## @currentEncoding
.comm _errno,8,3 ## @errno
.comm _outputEncoding,4,2 ## @outputEncoding
.no_dead_strip _convert
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function convert
_convert: ; @convert
.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 _strdup
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 _errx
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 "convert: cannot allocate memory"
.comm _E2BIG,8,3 ; @E2BIG
.comm _EINVAL,8,3 ; @EINVAL
.comm _conv,8,3 ; @conv
.comm _currentEncoding,8,3 ; @currentEncoding
.comm _errno,8,3 ; @errno
.comm _outputEncoding,4,2 ; @outputEncoding
.no_dead_strip _convert
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _resize_dropout_layer ## -- Begin function resize_dropout_layer
.p2align 4, 0x90
_resize_dropout_layer: ## @resize_dropout_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 (%rdi), %esi
movl 8(%rdi), %edi
imull 4(%rbx), %esi
shll $2, %esi
callq _realloc
movl %eax, 8(%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_dropout_layer ; -- Begin function resize_dropout_layer
.p2align 2
_resize_dropout_layer: ; @resize_dropout_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
ldr w0, [x0, #8]
ldp w8, w9, [x19]
mul w8, w8, w9
lsl w1, w8, #2
bl _realloc
str w0, [x19, #8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function parse_gfp_flags
_parse_gfp_flags: ## @parse_gfp_flags
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_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, %ebx
movq %rdi, %r15
movq (%rsi), %rax
movq %rax, -88(%rbp)
movl 8(%rsi), %eax
movl %eax, -80(%rbp)
movq $0, -72(%rbp)
movq _nr_gfps@GOTPCREL(%rip), %rax
movq %rax, %r14
movl (%rax), %edx
testl %edx, %edx
je LBB0_2
## %bb.1:
movl %ebx, -56(%rbp)
movq $0, -52(%rbp)
movq _gfps@GOTPCREL(%rip), %rax
movq (%rax), %rsi
movq _gfpcmp@GOTPCREL(%rip), %rax
movl (%rax), %r8d
leaq -56(%rbp), %rdi
movl $12, %ecx
callq _bsearch
movq %rax, %rcx
xorl %eax, %eax
testq %rcx, %rcx
jne LBB0_11
LBB0_2:
movl %ebx, -60(%rbp) ## 4-byte Spill
leaq -56(%rbp), %rbx
movq %rbx, %rdi
callq _trace_seq_init
movq (%r15), %rax
movl (%rax), %edi
movq _TEP_PRINT_INFO@GOTPCREL(%rip), %rax
movl (%rax), %r8d
leaq L_.str(%rip), %rcx
leaq -88(%rbp), %rdx
movq %rbx, %rsi
callq _tep_print_event
movq -56(%rbp), %rdi
leaq L_.str.1(%rip), %rsi
leaq -72(%rbp), %rdx
callq _strtok_r
testq %rax, %rax
je LBB0_10
## %bb.3:
movq %rax, %r13
leaq L_.str.2(%rip), %r12
movq _gfps@GOTPCREL(%rip), %rbx
leaq L_.str.1(%rip), %r15
jmp LBB0_4
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_4 Depth=1
xorl %edi, %edi
movq %r15, %rsi
leaq -72(%rbp), %rdx
callq _strtok_r
movq %rax, %r13
testq %rax, %rax
je LBB0_10
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq %r13, %rdi
movq %r12, %rsi
movl $10, %edx
callq _strncmp
testl %eax, %eax
jne LBB0_9
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movq (%rbx), %rdi
movl (%r14), %eax
leal (%rax,%rax,2), %eax
leal 12(,%rax,4), %esi
callq _realloc
testq %rax, %rax
je LBB0_6
## %bb.7: ## in Loop: Header=BB0_4 Depth=1
movq %rbx, %r15
movq %rax, %rbx
movq %rax, (%r15)
movslq (%r14), %rax
leal 1(%rax), %ecx
movl %ecx, (%r14)
leaq (%rax,%rax,2), %r12
movl -60(%rbp), %eax ## 4-byte Reload
movl %eax, (%rbx,%r12,4)
addq $10, %r13
movq %r13, %rdi
callq _strdup
movl %eax, 8(%rbx,%r12,4)
movq %r13, %rdi
callq _compact_gfp_flags
movl %eax, 4(%rbx,%r12,4)
orl 8(%rbx,%r12,4), %eax
je LBB0_6
## %bb.8: ## in Loop: Header=BB0_4 Depth=1
movq (%r15), %rdi
movl (%r14), %esi
movq _gfpcmp@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl $12, %edx
callq _qsort
leaq L_.str.2(%rip), %r12
movq %r15, %rbx
leaq L_.str.1(%rip), %r15
jmp LBB0_9
LBB0_10:
leaq -56(%rbp), %rdi
callq _trace_seq_destroy
xorl %eax, %eax
jmp LBB0_11
LBB0_6:
movq _ENOMEM@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
LBB0_11:
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _nr_gfps,4,2 ## @nr_gfps
.comm _gfps,8,3 ## @gfps
.comm _gfpcmp,4,2 ## @gfpcmp
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s"
.comm _TEP_PRINT_INFO,4,2 ## @TEP_PRINT_INFO
L_.str.1: ## @.str.1
.asciz " "
L_.str.2: ## @.str.2
.asciz "gfp_flags="
.comm _ENOMEM,4,2 ## @ENOMEM
.no_dead_strip _parse_gfp_flags
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function parse_gfp_flags
_parse_gfp_flags: ; @parse_gfp_flags
.cfi_startproc
; %bb.0:
sub sp, sp, #144
stp x28, x27, [sp, #48] ; 16-byte Folded Spill
stp x26, x25, [sp, #64] ; 16-byte Folded Spill
stp x24, x23, [sp, #80] ; 16-byte Folded Spill
stp x22, x21, [sp, #96] ; 16-byte Folded Spill
stp x20, x19, [sp, #112] ; 16-byte Folded Spill
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x2
mov x20, x0
ldr d0, [x1]
str d0, [sp, #32]
ldr w8, [x1, #8]
str w8, [sp, #40]
Lloh0:
adrp x23, _nr_gfps@GOTPAGE
Lloh1:
ldr x23, [x23, _nr_gfps@GOTPAGEOFF]
str xzr, [sp, #24]
ldr w2, [x23]
Lloh2:
adrp x24, _gfps@GOTPAGE
Lloh3:
ldr x24, [x24, _gfps@GOTPAGEOFF]
Lloh4:
adrp x25, _gfpcmp@GOTPAGE
Lloh5:
ldr x25, [x25, _gfpcmp@GOTPAGEOFF]
cbz w2, LBB0_2
; %bb.1:
stp wzr, wzr, [sp, #12]
str w19, [sp, #8]
ldr x1, [x24]
ldr w4, [x25]
add x0, sp, #8
mov w3, #12 ; =0xc
bl _bsearch
mov x8, x0
mov w0, #0 ; =0x0
cbnz x8, LBB0_11
LBB0_2:
add x0, sp, #8
bl _trace_seq_init
ldr x8, [x20]
ldr w0, [x8]
Lloh6:
adrp x8, _TEP_PRINT_INFO@GOTPAGE
Lloh7:
ldr x8, [x8, _TEP_PRINT_INFO@GOTPAGEOFF]
Lloh8:
ldr w4, [x8]
Lloh9:
adrp x3, l_.str@PAGE
Lloh10:
add x3, x3, l_.str@PAGEOFF
add x1, sp, #8
add x2, sp, #32
bl _tep_print_event
ldr x0, [sp, #8]
Lloh11:
adrp x1, l_.str.1@PAGE
Lloh12:
add x1, x1, l_.str.1@PAGEOFF
add x2, sp, #24
bl _strtok_r
cbz x0, LBB0_9
; %bb.3:
mov x22, x0
Lloh13:
adrp x20, l_.str.2@PAGE
Lloh14:
add x20, x20, l_.str.2@PAGEOFF
mov w26, #12 ; =0xc
mov w27, #12 ; =0xc
Lloh15:
adrp x21, l_.str.1@PAGE
Lloh16:
add x21, x21, l_.str.1@PAGEOFF
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
add x2, sp, #24
mov x0, #0 ; =0x0
mov x1, x21
bl _strtok_r
mov x22, x0
cbz x0, LBB0_9
LBB0_5: ; =>This Inner Loop Header: Depth=1
mov x0, x22
mov x1, x20
mov w2, #10 ; =0xa
bl _strncmp
cbnz w0, LBB0_4
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
ldr x0, [x24]
ldr w8, [x23]
madd w1, w8, w26, w27
bl _realloc
cbz x0, LBB0_10
; %bb.7: ; in Loop: Header=BB0_5 Depth=1
str x0, [x24]
ldrsw x8, [x23]
add w9, w8, #1
str w9, [x23]
smaddl x28, w8, w26, x0
str w19, [x28]
add x0, x22, #10
bl _strdup
str w0, [x28, #8]
add x0, x22, #10
bl _compact_gfp_flags
str w0, [x28, #4]
ldr w8, [x28, #8]
orr w8, w8, w0
cbz w8, LBB0_10
; %bb.8: ; in Loop: Header=BB0_5 Depth=1
ldr x0, [x24]
ldr w1, [x23]
ldr w3, [x25]
mov w2, #12 ; =0xc
bl _qsort
b LBB0_4
LBB0_9:
add x0, sp, #8
bl _trace_seq_destroy
mov w0, #0 ; =0x0
b LBB0_11
LBB0_10:
Lloh17:
adrp x8, _ENOMEM@GOTPAGE
Lloh18:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh19:
ldr w8, [x8]
neg w0, w8
LBB0_11:
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
ldp x20, x19, [sp, #112] ; 16-byte Folded Reload
ldp x22, x21, [sp, #96] ; 16-byte Folded Reload
ldp x24, x23, [sp, #80] ; 16-byte Folded Reload
ldp x26, x25, [sp, #64] ; 16-byte Folded Reload
ldp x28, x27, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #144
ret
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.cfi_endproc
; -- End function
.comm _nr_gfps,4,2 ; @nr_gfps
.comm _gfps,8,3 ; @gfps
.comm _gfpcmp,4,2 ; @gfpcmp
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s"
.comm _TEP_PRINT_INFO,4,2 ; @TEP_PRINT_INFO
l_.str.1: ; @.str.1
.asciz " "
l_.str.2: ; @.str.2
.asciz "gfp_flags="
.comm _ENOMEM,4,2 ; @ENOMEM
.no_dead_strip _parse_gfp_flags
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function p_rtable_sysctl
_p_rtable_sysctl: ## @p_rtable_sysctl
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $88, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, -112(%rbp) ## 4-byte Spill
movl %edi, %r15d
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _AF_UNSPEC@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -84(%rbp) ## 4-byte Spill
leaq -120(%rbp), %rdi
callq _getifaddrs
testq %rax, %rax
je LBB0_2
## %bb.1:
movq _EX_OSERR@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
xorl %eax, %eax
callq _err
LBB0_2:
movq -120(%rbp), %r14
testq %r14, %r14
je LBB0_3
## %bb.4:
movl %r15d, -108(%rbp) ## 4-byte Spill
movq _AF_LINK@GOTPCREL(%rip), %rbx
movq _ifmap_size@GOTPCREL(%rip), %r12
movq _ifmap@GOTPCREL(%rip), %r13
jmp LBB0_5
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_5 Depth=1
movslq %ebx, %rdx
movl $2, %edi
leaq L_.str.1(%rip), %rsi
callq _errx
movq (%r12), %rax
LBB0_10: ## in Loop: Header=BB0_5 Depth=1
movq _ifmap_size@GOTPCREL(%rip), %rbx
movslq (%rbx), %rcx
leaq (%rax,%rcx,8), %rdi
subl %ecx, %r13d
shll $2, %r13d
xorl %esi, %esi
movl %r13d, %edx
callq _memset
movl -96(%rbp), %edi ## 4-byte Reload
movq %rbx, %r12
movl $32, %esi
callq _roundup
movl %eax, (%rbx)
movq _AF_LINK@GOTPCREL(%rip), %rbx
movq _ifmap@GOTPCREL(%rip), %r13
LBB0_11: ## in Loop: Header=BB0_5 Depth=1
movq (%r13), %rax
movslq %r15d, %rcx
movq (%rax,%rcx,8), %rdi
cmpb $0, (%rdi)
je LBB0_12
LBB0_13: ## in Loop: Header=BB0_5 Depth=1
movq 16(%r14), %r14
testq %r14, %r14
je LBB0_14
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq 8(%r14), %rax
movq (%rax), %r15
cmpq (%rbx), %r15
jne LBB0_14
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
cmpl %r15d, (%r12)
jg LBB0_11
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
leal 1(%r15), %edi
movl %edi, -96(%rbp) ## 4-byte Spill
movl $32, %esi
callq _roundup
movq %r13, %r12
movl %eax, %r13d
leal (,%r13,4), %ebx
movq (%r12), %rdi
movl %ebx, %esi
callq _realloc
movq %rax, (%r12)
testq %rax, %rax
jne LBB0_9
## %bb.8: ## in Loop: Header=BB0_5 Depth=1
xorl %eax, %eax
jmp LBB0_10
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_5 Depth=1
movl (%r14), %esi
movq _IFNAMSIZ@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _strlcpy
jmp LBB0_13
LBB0_14:
movq -120(%rbp), %rdi
movl -108(%rbp), %r15d ## 4-byte Reload
jmp LBB0_15
LBB0_3:
xorl %edi, %edi
LBB0_15:
callq _freeifaddrs
movq _CTL_NET@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -80(%rbp)
movq _PF_ROUTE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -76(%rbp)
movl $0, -72(%rbp)
movl -112(%rbp), %r14d ## 4-byte Reload
movl %r14d, -68(%rbp)
movq _NET_RT_DUMP@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -64(%rbp)
movl $0, -60(%rbp)
movl %r15d, -56(%rbp)
leaq -80(%rbp), %rbx
movq %rbx, %rdi
callq _nitems
leaq -104(%rbp), %rcx
movq %rbx, %rdi
movl %eax, %esi
xorl %edx, %edx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq _sysctl
testq %rax, %rax
jns LBB0_17
## %bb.16:
movq _EX_OSERR@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.2(%rip), %rsi
movl %r14d, %edx
movl %r15d, %ecx
xorl %eax, %eax
callq _err
LBB0_17:
movq -104(%rbp), %r12
movq %r12, %rdi
callq _malloc
movq %rax, %r13
testq %rax, %rax
jne LBB0_19
## %bb.18:
leaq L_.str.3(%rip), %rsi
movl $2, %edi
movq %r12, %rdx
callq _errx
LBB0_19:
movq %rbx, %rdi
callq _nitems
leaq -104(%rbp), %rcx
movq %rbx, %rdi
movl %eax, %esi
movq %r13, %rdx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq _sysctl
testq %rax, %rax
jns LBB0_21
## %bb.20:
leaq L_.str.4(%rip), %rsi
movl $1, %edi
movl %r14d, %edx
movl %r15d, %ecx
xorl %eax, %eax
callq _err
LBB0_21:
movq -104(%rbp), %rbx
leaq L_.str.5(%rip), %rdi
callq _xo_open_container
leaq L_.str.6(%rip), %rdi
callq _xo_open_list
testq %rbx, %rbx
js LBB0_32
## %bb.22:
movq %r13, %r14
addq %rbx, %r14
movq _RTM_VERSION@GOTPCREL(%rip), %rax
movq (%rax), %rax
xorl %r15d, %r15d
leaq L_.str.7(%rip), %rbx
movq %r13, -96(%rbp) ## 8-byte Spill
movq %r13, %r12
jmp LBB0_23
.p2align 4, 0x90
LBB0_27: ## in Loop: Header=BB0_23 Depth=1
movl %r13d, %edi
callq _WID_DST_DEFAULT
movq _wid_dst@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movl %r13d, %edi
callq _WID_GW_DEFAULT
movq _wid_gw@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movq _wid_flags@GOTPCREL(%rip), %rax
movl $6, (%rax)
movq _wid_pksent@GOTPCREL(%rip), %rax
movl $8, (%rax)
movq _wid_mtu@GOTPCREL(%rip), %rax
movl $6, (%rax)
movl %r13d, %edi
callq _WID_IF_DEFAULT
movq _wid_if@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movq _wid_expire@GOTPCREL(%rip), %rax
movl $6, (%rax)
movq %r15, %rdi
callq _xo_open_instance
movl %r13d, %edi
callq _pr_family
movq %rbx, %rdi
callq _xo_open_list
movl %r13d, %edi
callq _pr_rthdr
movl $1, %r15d
movl %r13d, -84(%rbp) ## 4-byte Spill
LBB0_28: ## in Loop: Header=BB0_23 Depth=1
movq %rbx, %rdi
movq %r12, %rsi
callq _p_rtentry_sysctl
movq _RTM_VERSION@GOTPCREL(%rip), %rax
movq (%rax), %rax
LBB0_29: ## in Loop: Header=BB0_23 Depth=1
movslq 8(%r12), %rcx
addq %rcx, %r12
cmpq %r14, %r12
ja LBB0_30
LBB0_23: ## =>This Inner Loop Header: Depth=1
cmpq %rax, (%r12)
jne LBB0_29
## %bb.24: ## in Loop: Header=BB0_23 Depth=1
movl 16(%r12), %r13d
cmpl %r13d, -84(%rbp) ## 4-byte Folded Reload
je LBB0_28
## %bb.25: ## in Loop: Header=BB0_23 Depth=1
testl %r15d, %r15d
leaq L_.str.6(%rip), %r15
je LBB0_27
## %bb.26: ## in Loop: Header=BB0_23 Depth=1
movq %rbx, %rdi
callq _xo_close_list
movq %r15, %rdi
callq _xo_close_instance
movl 16(%r12), %r13d
jmp LBB0_27
LBB0_30:
testl %r15d, %r15d
movq -96(%rbp), %r13 ## 8-byte Reload
je LBB0_32
## %bb.31:
leaq L_.str.7(%rip), %rdi
callq _xo_close_list
leaq L_.str.6(%rip), %rdi
callq _xo_close_instance
LBB0_32:
leaq L_.str.6(%rip), %rdi
callq _xo_close_list
leaq L_.str.5(%rip), %rdi
callq _xo_close_container
movq %r13, %rdi
callq _free
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_34
## %bb.33:
addq $88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_34:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _AF_UNSPEC,4,2 ## @AF_UNSPEC
.comm _EX_OSERR,4,2 ## @EX_OSERR
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "getifaddrs"
.comm _AF_LINK,8,3 ## @AF_LINK
.comm _ifmap_size,4,2 ## @ifmap_size
.comm _ifmap,8,3 ## @ifmap
L_.str.1: ## @.str.1
.asciz "realloc(%d) failed"
.comm _IFNAMSIZ,4,2 ## @IFNAMSIZ
.comm _CTL_NET,4,2 ## @CTL_NET
.comm _PF_ROUTE,4,2 ## @PF_ROUTE
.comm _NET_RT_DUMP,4,2 ## @NET_RT_DUMP
L_.str.2: ## @.str.2
.asciz "sysctl: net.route.0.%d.dump.%d estimate"
L_.str.3: ## @.str.3
.asciz "malloc(%lu)"
L_.str.4: ## @.str.4
.asciz "sysctl: net.route.0.%d.dump.%d"
L_.str.5: ## @.str.5
.asciz "route-table"
L_.str.6: ## @.str.6
.asciz "rt-family"
.comm _RTM_VERSION,8,3 ## @RTM_VERSION
L_.str.7: ## @.str.7
.asciz "rt-entry"
.comm _wid_dst,4,2 ## @wid_dst
.comm _wid_gw,4,2 ## @wid_gw
.comm _wid_flags,4,2 ## @wid_flags
.comm _wid_pksent,4,2 ## @wid_pksent
.comm _wid_mtu,4,2 ## @wid_mtu
.comm _wid_if,4,2 ## @wid_if
.comm _wid_expire,4,2 ## @wid_expire
.no_dead_strip _p_rtable_sysctl
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function p_rtable_sysctl
_p_rtable_sysctl: ; @p_rtable_sysctl
.cfi_startproc
; %bb.0:
sub sp, sp, #192
stp x28, x27, [sp, #96] ; 16-byte Folded Spill
stp x26, x25, [sp, #112] ; 16-byte Folded Spill
stp x24, x23, [sp, #128] ; 16-byte Folded Spill
stp x22, x21, [sp, #144] ; 16-byte Folded Spill
stp x20, x19, [sp, #160] ; 16-byte Folded Spill
stp x29, x30, [sp, #176] ; 16-byte Folded Spill
add x29, sp, #176
.cfi_def_cfa w29, 16
.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]
str x8, [sp, #88]
Lloh3:
adrp x8, _AF_UNSPEC@GOTPAGE
Lloh4:
ldr x8, [x8, _AF_UNSPEC@GOTPAGEOFF]
Lloh5:
ldr w19, [x8]
add x0, sp, #40
bl _getifaddrs
Lloh6:
adrp x22, _EX_OSERR@GOTPAGE
Lloh7:
ldr x22, [x22, _EX_OSERR@GOTPAGEOFF]
cbz x0, LBB0_2
; %bb.1:
ldr w0, [x22]
Lloh8:
adrp x1, l_.str@PAGE
Lloh9:
add x1, x1, l_.str@PAGEOFF
bl _err
LBB0_2:
ldr x26, [sp, #40]
cbz x26, LBB0_14
; %bb.3:
stp x21, x20, [sp, #24] ; 16-byte Folded Spill
Lloh10:
adrp x27, _AF_LINK@GOTPAGE
Lloh11:
ldr x27, [x27, _AF_LINK@GOTPAGEOFF]
Lloh12:
adrp x28, _ifmap_size@GOTPAGE
Lloh13:
ldr x28, [x28, _ifmap_size@GOTPAGEOFF]
Lloh14:
adrp x25, _ifmap@GOTPAGE
Lloh15:
ldr x25, [x25, _ifmap@GOTPAGEOFF]
Lloh16:
adrp x22, l_.str.1@PAGE
Lloh17:
add x22, x22, l_.str.1@PAGEOFF
Lloh18:
adrp x20, _IFNAMSIZ@GOTPAGE
Lloh19:
ldr x20, [x20, _IFNAMSIZ@GOTPAGEOFF]
b LBB0_8
LBB0_4: ; in Loop: Header=BB0_8 Depth=1
sxtw x2, w24
mov w0, #2 ; =0x2
mov x1, x22
bl _errx
ldr x8, [x25]
LBB0_5: ; in Loop: Header=BB0_8 Depth=1
ldrsw x9, [x28]
add x0, x8, x9, lsl #3
sub w8, w23, w9
lsl w2, w8, #2
mov w1, #0 ; =0x0
bl _memset
add w0, w21, #1
mov w1, #32 ; =0x20
bl _roundup
str w0, [x28]
LBB0_6: ; in Loop: Header=BB0_8 Depth=1
ldr x8, [x25]
sbfiz x9, x21, #3, #32
ldr x0, [x8, x9]
ldrb w8, [x0]
cbz w8, LBB0_12
; %bb.7: ; in Loop: Header=BB0_8 Depth=1
ldr x26, [x26, #16]
cbz x26, LBB0_13
LBB0_8: ; =>This Inner Loop Header: Depth=1
ldr x8, [x26, #8]
ldr x21, [x8]
ldr x8, [x27]
cmp x21, x8
b.ne LBB0_13
; %bb.9: ; in Loop: Header=BB0_8 Depth=1
ldr w8, [x28]
cmp w8, w21
b.gt LBB0_6
; %bb.10: ; in Loop: Header=BB0_8 Depth=1
add w0, w21, #1
mov w1, #32 ; =0x20
bl _roundup
mov x23, x0
lsl w24, w0, #2
ldr x0, [x25]
mov x1, x24
bl _realloc
str x0, [x25]
cbnz x0, LBB0_4
; %bb.11: ; in Loop: Header=BB0_8 Depth=1
mov x8, #0 ; =0x0
b LBB0_5
LBB0_12: ; in Loop: Header=BB0_8 Depth=1
ldr w1, [x26]
ldr w2, [x20]
bl _strlcpy
ldr x26, [x26, #16]
cbnz x26, LBB0_8
LBB0_13:
ldp x20, x0, [sp, #32] ; 8-byte Folded Reload
ldr x21, [sp, #24] ; 8-byte Folded Reload
Lloh20:
adrp x22, _EX_OSERR@GOTPAGE
Lloh21:
ldr x22, [x22, _EX_OSERR@GOTPAGEOFF]
b LBB0_15
LBB0_14:
mov x0, #0 ; =0x0
LBB0_15:
bl _freeifaddrs
Lloh22:
adrp x8, _CTL_NET@GOTPAGE
Lloh23:
ldr x8, [x8, _CTL_NET@GOTPAGEOFF]
Lloh24:
adrp x9, _PF_ROUTE@GOTPAGE
Lloh25:
ldr x9, [x9, _PF_ROUTE@GOTPAGEOFF]
Lloh26:
ldr w8, [x8]
Lloh27:
ldr w9, [x9]
stp w8, w9, [sp, #60]
stp wzr, w20, [sp, #68]
Lloh28:
adrp x8, _NET_RT_DUMP@GOTPAGE
Lloh29:
ldr x8, [x8, _NET_RT_DUMP@GOTPAGEOFF]
Lloh30:
ldr w8, [x8]
stp w8, wzr, [sp, #76]
str w21, [sp, #84]
add x0, sp, #60
bl _nitems
mov x1, x0
add x0, sp, #60
add x3, sp, #48
mov x2, #0 ; =0x0
mov x4, #0 ; =0x0
mov w5, #0 ; =0x0
bl _sysctl
tbz x0, #63, LBB0_17
; %bb.16:
ldr w0, [x22]
stp x20, x21, [sp]
Lloh31:
adrp x1, l_.str.2@PAGE
Lloh32:
add x1, x1, l_.str.2@PAGEOFF
bl _err
LBB0_17:
ldr x23, [sp, #48]
mov x0, x23
bl _malloc
mov x22, x0
cbnz x0, LBB0_19
; %bb.18:
Lloh33:
adrp x1, l_.str.3@PAGE
Lloh34:
add x1, x1, l_.str.3@PAGEOFF
mov w0, #2 ; =0x2
mov x2, x23
bl _errx
LBB0_19:
add x0, sp, #60
bl _nitems
mov x1, x0
add x0, sp, #60
add x3, sp, #48
mov x2, x22
mov x4, #0 ; =0x0
mov w5, #0 ; =0x0
bl _sysctl
tbz x0, #63, LBB0_21
; %bb.20:
mov x8, x21
mov x9, x20
stp x9, x8, [sp]
Lloh35:
adrp x1, l_.str.4@PAGE
Lloh36:
add x1, x1, l_.str.4@PAGEOFF
mov w0, #1 ; =0x1
bl _err
LBB0_21:
ldr x20, [sp, #48]
Lloh37:
adrp x0, l_.str.5@PAGE
Lloh38:
add x0, x0, l_.str.5@PAGEOFF
bl _xo_open_container
Lloh39:
adrp x0, l_.str.6@PAGE
Lloh40:
add x0, x0, l_.str.6@PAGEOFF
bl _xo_open_list
tbnz x20, #63, LBB0_33
; %bb.22:
mov w28, #0 ; =0x0
add x24, x22, x20
Lloh41:
adrp x25, _RTM_VERSION@GOTPAGE
Lloh42:
ldr x25, [x25, _RTM_VERSION@GOTPAGEOFF]
Lloh43:
adrp x20, l_.str.7@PAGE
Lloh44:
add x20, x20, l_.str.7@PAGEOFF
ldr x8, [x25]
mov w26, #6 ; =0x6
Lloh45:
adrp x27, _wid_expire@GOTPAGE
Lloh46:
ldr x27, [x27, _wid_expire@GOTPAGEOFF]
Lloh47:
adrp x21, l_.str.6@PAGE
Lloh48:
add x21, x21, l_.str.6@PAGEOFF
mov x23, x22
b LBB0_27
LBB0_23: ; in Loop: Header=BB0_27 Depth=1
mov x19, x8
LBB0_24: ; in Loop: Header=BB0_27 Depth=1
mov x0, x19
bl _WID_DST_DEFAULT
Lloh49:
adrp x8, _wid_dst@GOTPAGE
Lloh50:
ldr x8, [x8, _wid_dst@GOTPAGEOFF]
Lloh51:
str w0, [x8]
mov x0, x19
bl _WID_GW_DEFAULT
Lloh52:
adrp x8, _wid_gw@GOTPAGE
Lloh53:
ldr x8, [x8, _wid_gw@GOTPAGEOFF]
Lloh54:
str w0, [x8]
Lloh55:
adrp x8, _wid_flags@GOTPAGE
Lloh56:
ldr x8, [x8, _wid_flags@GOTPAGEOFF]
Lloh57:
str w26, [x8]
Lloh58:
adrp x8, _wid_pksent@GOTPAGE
Lloh59:
ldr x8, [x8, _wid_pksent@GOTPAGEOFF]
mov w9, #8 ; =0x8
Lloh60:
str w9, [x8]
Lloh61:
adrp x8, _wid_mtu@GOTPAGE
Lloh62:
ldr x8, [x8, _wid_mtu@GOTPAGEOFF]
Lloh63:
str w26, [x8]
mov x0, x19
bl _WID_IF_DEFAULT
Lloh64:
adrp x8, _wid_if@GOTPAGE
Lloh65:
ldr x8, [x8, _wid_if@GOTPAGEOFF]
Lloh66:
str w0, [x8]
str w26, [x27]
mov x0, x21
bl _xo_open_instance
mov x0, x19
bl _pr_family
mov x0, x20
bl _xo_open_list
mov x0, x19
bl _pr_rthdr
mov w28, #1 ; =0x1
LBB0_25: ; in Loop: Header=BB0_27 Depth=1
mov x0, x20
mov x1, x23
bl _p_rtentry_sysctl
ldr x8, [x25]
LBB0_26: ; in Loop: Header=BB0_27 Depth=1
ldrsw x9, [x23, #8]
add x23, x23, x9
cmp x23, x24
b.hi LBB0_31
LBB0_27: ; =>This Inner Loop Header: Depth=1
ldr x9, [x23]
cmp x9, x8
b.ne LBB0_26
; %bb.28: ; in Loop: Header=BB0_27 Depth=1
ldr w8, [x23, #16]
cmp w19, w8
b.eq LBB0_25
; %bb.29: ; in Loop: Header=BB0_27 Depth=1
cbz w28, LBB0_23
; %bb.30: ; in Loop: Header=BB0_27 Depth=1
mov x0, x20
bl _xo_close_list
mov x0, x21
bl _xo_close_instance
ldr w19, [x23, #16]
b LBB0_24
LBB0_31:
cbz w28, LBB0_33
; %bb.32:
Lloh67:
adrp x0, l_.str.7@PAGE
Lloh68:
add x0, x0, l_.str.7@PAGEOFF
bl _xo_close_list
Lloh69:
adrp x0, l_.str.6@PAGE
Lloh70:
add x0, x0, l_.str.6@PAGEOFF
bl _xo_close_instance
LBB0_33:
Lloh71:
adrp x0, l_.str.6@PAGE
Lloh72:
add x0, x0, l_.str.6@PAGEOFF
bl _xo_close_list
Lloh73:
adrp x0, l_.str.5@PAGE
Lloh74:
add x0, x0, l_.str.5@PAGEOFF
bl _xo_close_container
mov x0, x22
bl _free
ldr x8, [sp, #88]
Lloh75:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh76:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh77:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_35
; %bb.34:
ldp x29, x30, [sp, #176] ; 16-byte Folded Reload
ldp x20, x19, [sp, #160] ; 16-byte Folded Reload
ldp x22, x21, [sp, #144] ; 16-byte Folded Reload
ldp x24, x23, [sp, #128] ; 16-byte Folded Reload
ldp x26, x25, [sp, #112] ; 16-byte Folded Reload
ldp x28, x27, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #192
ret
LBB0_35:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGot Lloh18, Lloh19
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh27
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh26
.loh AdrpAdd Lloh31, Lloh32
.loh AdrpAdd Lloh33, Lloh34
.loh AdrpAdd Lloh35, Lloh36
.loh AdrpAdd Lloh39, Lloh40
.loh AdrpAdd Lloh37, Lloh38
.loh AdrpAdd Lloh47, Lloh48
.loh AdrpLdrGot Lloh45, Lloh46
.loh AdrpAdd Lloh43, Lloh44
.loh AdrpLdrGot Lloh41, Lloh42
.loh AdrpLdrGotStr Lloh64, Lloh65, Lloh66
.loh AdrpLdrGotStr Lloh61, Lloh62, Lloh63
.loh AdrpLdrGotStr Lloh58, Lloh59, Lloh60
.loh AdrpLdrGotStr Lloh55, Lloh56, Lloh57
.loh AdrpLdrGotStr Lloh52, Lloh53, Lloh54
.loh AdrpLdrGotStr Lloh49, Lloh50, Lloh51
.loh AdrpAdd Lloh69, Lloh70
.loh AdrpAdd Lloh67, Lloh68
.loh AdrpLdrGotLdr Lloh75, Lloh76, Lloh77
.loh AdrpAdd Lloh73, Lloh74
.loh AdrpAdd Lloh71, Lloh72
.cfi_endproc
; -- End function
.comm _AF_UNSPEC,4,2 ; @AF_UNSPEC
.comm _EX_OSERR,4,2 ; @EX_OSERR
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "getifaddrs"
.comm _AF_LINK,8,3 ; @AF_LINK
.comm _ifmap_size,4,2 ; @ifmap_size
.comm _ifmap,8,3 ; @ifmap
l_.str.1: ; @.str.1
.asciz "realloc(%d) failed"
.comm _IFNAMSIZ,4,2 ; @IFNAMSIZ
.comm _CTL_NET,4,2 ; @CTL_NET
.comm _PF_ROUTE,4,2 ; @PF_ROUTE
.comm _NET_RT_DUMP,4,2 ; @NET_RT_DUMP
l_.str.2: ; @.str.2
.asciz "sysctl: net.route.0.%d.dump.%d estimate"
l_.str.3: ; @.str.3
.asciz "malloc(%lu)"
l_.str.4: ; @.str.4
.asciz "sysctl: net.route.0.%d.dump.%d"
l_.str.5: ; @.str.5
.asciz "route-table"
l_.str.6: ; @.str.6
.asciz "rt-family"
.comm _RTM_VERSION,8,3 ; @RTM_VERSION
l_.str.7: ; @.str.7
.asciz "rt-entry"
.comm _wid_dst,4,2 ; @wid_dst
.comm _wid_gw,4,2 ; @wid_gw
.comm _wid_flags,4,2 ; @wid_flags
.comm _wid_pksent,4,2 ; @wid_pksent
.comm _wid_mtu,4,2 ; @wid_mtu
.comm _wid_if,4,2 ; @wid_if
.comm _wid_expire,4,2 ; @wid_expire
.no_dead_strip _p_rtable_sysctl
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function track_mgrp_w_partition
_track_mgrp_w_partition: ## @track_mgrp_w_partition
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %r9d, -52(%rbp) ## 4-byte Spill
movq %r8, -80(%rbp) ## 8-byte Spill
movq %rcx, -88(%rbp) ## 8-byte Spill
movq %rdx, %r13
movq %rsi, %r14
movq %rdi, %r12
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _INET6_ADDRSTRLEN@GOTPCREL(%rip), %rax
movl (%rax), %r15d
movq %r15, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %rcx
movl (%r14), %eax
movq _IB_SUCCESS@GOTPCREL(%rip), %rbx
testl %eax, %eax
jg LBB0_4
## %bb.1:
movq %rcx, -64(%rbp) ## 8-byte Spill
movq %r12, -72(%rbp) ## 8-byte Spill
movq 8(%r14), %rdi
leal 8(,%rax,8), %esi
callq _realloc
testq %rax, %rax
je LBB0_3
## %bb.2:
movq %rax, 8(%r14)
movslq (%r14), %rcx
movq %r13, (%rax,%rcx,8)
leal 1(%rcx), %eax
movl %eax, (%r14)
movq _TRUE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, (%r13)
jmp LBB0_4
LBB0_3:
movq _OSM_LOG_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %r14d
movq _AF_INET6@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq -80(%rbp), %rax ## 8-byte Reload
movl (%rax), %esi
movq -64(%rbp), %rdx ## 8-byte Reload
movl %r15d, %ecx
callq _inet_ntop
movl %eax, %r15d
movl -52(%rbp), %edi ## 4-byte Reload
callq _cl_ntoh16
leaq L_.str(%rip), %rdx
movq -72(%rbp), %rdi ## 8-byte Reload
movl %r14d, %esi
movl %r15d, %ecx
movl %eax, %r8d
callq _OSM_LOG
movq _FALSE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, (%r13)
movq -88(%rbp), %rdi ## 8-byte Reload
movq %r13, %rsi
callq _osm_mgrp_cleanup
movq _IB_ERROR@GOTPCREL(%rip), %rbx
LBB0_4:
movl (%rbx), %eax
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_6
## %bb.5:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_6:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _INET6_ADDRSTRLEN,4,2 ## @INET6_ADDRSTRLEN
.comm _IB_SUCCESS,4,2 ## @IB_SUCCESS
.comm _OSM_LOG_ERROR,4,2 ## @OSM_LOG_ERROR
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "realloc error to create MC group (%s) in partition (pkey 0x%04x)\n"
.comm _AF_INET6,4,2 ## @AF_INET6
.comm _FALSE,4,2 ## @FALSE
.comm _IB_ERROR,4,2 ## @IB_ERROR
.comm _TRUE,4,2 ## @TRUE
.no_dead_strip _track_mgrp_w_partition
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function track_mgrp_w_partition
_track_mgrp_w_partition: ; @track_mgrp_w_partition
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
sub sp, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x2
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-72]
Lloh3:
adrp x8, _INET6_ADDRSTRLEN@GOTPAGE
Lloh4:
ldr x8, [x8, _INET6_ADDRSTRLEN@GOTPAGEOFF]
Lloh5:
ldr w21, [x8]
mov x9, x21
Lloh6:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh7:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x8, sp
add x9, x21, #15
and x9, x9, #0x1fffffff0
sub x23, x8, x9
mov sp, x23
ldr w8, [x1]
cmp w8, #0
b.gt LBB0_3
; %bb.1:
mov x26, x4
mov x24, x5
mov x22, x0
mov x20, x3
mov x25, x1
ldr x0, [x1, #8]
lsl w8, w8, #3
add w1, w8, #8
bl _realloc
cbz x0, LBB0_6
; %bb.2:
str x0, [x25, #8]
ldrsw x8, [x25]
str x19, [x0, x8, lsl #3]
add w8, w8, #1
str w8, [x25]
Lloh8:
adrp x8, _TRUE@GOTPAGE
Lloh9:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
Lloh10:
ldr w8, [x8]
str w8, [x19]
LBB0_3:
Lloh11:
adrp x8, _IB_SUCCESS@GOTPAGE
Lloh12:
ldr x8, [x8, _IB_SUCCESS@GOTPAGEOFF]
LBB0_4:
ldr w0, [x8]
ldur x8, [x29, #-72]
Lloh13:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh14:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_7
; %bb.5:
sub sp, x29, #64
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
LBB0_6:
Lloh16:
adrp x8, _OSM_LOG_ERROR@GOTPAGE
Lloh17:
ldr x8, [x8, _OSM_LOG_ERROR@GOTPAGEOFF]
Lloh18:
ldr w25, [x8]
Lloh19:
adrp x8, _AF_INET6@GOTPAGE
Lloh20:
ldr x8, [x8, _AF_INET6@GOTPAGEOFF]
Lloh21:
ldr w0, [x8]
ldr w1, [x26]
mov x2, x23
mov x3, x21
bl _inet_ntop
mov x21, x0
mov x0, x24
bl _cl_ntoh16
mov x4, x0
Lloh22:
adrp x2, l_.str@PAGE
Lloh23:
add x2, x2, l_.str@PAGEOFF
mov x0, x22
mov x1, x25
mov x3, x21
bl _OSM_LOG
Lloh24:
adrp x8, _FALSE@GOTPAGE
Lloh25:
ldr x8, [x8, _FALSE@GOTPAGEOFF]
Lloh26:
ldr w8, [x8]
str w8, [x19]
mov x0, x20
mov x1, x19
bl _osm_mgrp_cleanup
Lloh27:
adrp x8, _IB_ERROR@GOTPAGE
Lloh28:
ldr x8, [x8, _IB_ERROR@GOTPAGEOFF]
b LBB0_4
LBB0_7:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGot Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _INET6_ADDRSTRLEN,4,2 ; @INET6_ADDRSTRLEN
.comm _IB_SUCCESS,4,2 ; @IB_SUCCESS
.comm _OSM_LOG_ERROR,4,2 ; @OSM_LOG_ERROR
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "realloc error to create MC group (%s) in partition (pkey 0x%04x)\n"
.comm _AF_INET6,4,2 ; @AF_INET6
.comm _FALSE,4,2 ; @FALSE
.comm _IB_ERROR,4,2 ; @IB_ERROR
.comm _TRUE,4,2 ; @TRUE
.no_dead_strip _track_mgrp_w_partition
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function video_thread_handle_packet
_video_thread_handle_packet: ## @video_thread_handle_packet
.cfi_startproc
## %bb.0:
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 $216, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
leaq -192(%rbp), %rdi
movl $168, %edx
callq _memcpy
xorl %ebx, %ebx
movl -192(%rbp), %eax
addl $-128, %eax
cmpl $17, %eax
ja LBB0_41
## %bb.1:
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_2:
movq 40(%r14), %rcx
xorl %ebx, %ebx
movl $0, %eax
testq %rcx, %rcx
je LBB0_13
## %bb.3:
movq 8(%rcx), %rcx
testq %rcx, %rcx
je LBB0_13
## %bb.4:
movq 16(%r14), %rdi
movl -44(%rbp), %edx
movl -40(%rbp), %esi
callq *%rcx
jmp LBB0_13
LBB0_5:
movq -120(%rbp), %rax
testq %rax, %rax
je LBB0_41
## %bb.6:
movl -128(%rbp), %edi
movl -132(%rbp), %esi
movl -136(%rbp), %edx
movl -140(%rbp), %ecx
movl -144(%rbp), %r8d
movl -152(%rbp), %r10d
movl -148(%rbp), %r9d
movl %r10d, (%rsp)
callq *%rax
movl %eax, -112(%rbp)
jmp LBB0_41
LBB0_7:
movq 24(%r14), %rax
testq %rax, %rax
je LBB0_41
## %bb.8:
movq 24(%rax), %rax
testq %rax, %rax
je LBB0_41
## %bb.9:
movq 16(%r14), %rdi
movl -76(%rbp), %esi
movl -84(%rbp), %ecx
movl -80(%rbp), %edx
callq *%rax
jmp LBB0_41
LBB0_10:
movq 40(%r14), %rcx
xorl %ebx, %ebx
movl $0, %eax
testq %rcx, %rcx
je LBB0_13
## %bb.11:
movq 16(%rcx), %rcx
testq %rcx, %rcx
je LBB0_13
## %bb.12:
movq 16(%r14), %rdi
callq *%rcx
LBB0_13:
movl %eax, -184(%rbp)
jmp LBB0_41
LBB0_14:
leaq -224(%rbp), %rdi
callq _video_driver_build_info
movq 24(%r14), %rax
testq %rax, %rax
je LBB0_41
## %bb.15:
movq (%rax), %rax
testq %rax, %rax
je LBB0_41
## %bb.16:
movq 16(%r14), %rdi
leaq -104(%rbp), %rcx
movl -100(%rbp), %edx
leaq -224(%rbp), %rsi
xorl %r8d, %r8d
callq *%rax
jmp LBB0_41
LBB0_17:
movq -168(%rbp), %rax
testq %rax, %rax
je LBB0_41
## %bb.18:
movl -176(%rbp), %edi
callq *%rax
movl %eax, -160(%rbp)
jmp LBB0_41
LBB0_19:
xorps %xmm0, %xmm0
movaps %xmm0, -224(%rbp)
movq $0, -208(%rbp)
movq 16(%r14), %rdi
movq 40(%r14), %rax
leaq -224(%rbp), %r15
movq %r15, %rsi
callq *24(%rax)
leaq 56(%r14), %rsi
movq %r15, %rdi
movl $24, %edx
callq _string_is_equal_fast
testl %eax, %eax
je LBB0_37
## %bb.20:
movl $1, 48(%r14)
movq 40(%r14), %rax
movq (%rax), %rax
testq %rax, %rax
je LBB0_38
## %bb.21:
movq 16(%r14), %rdi
movq -32(%rbp), %rsi
movl 52(%r14), %edx
callq *%rax
jmp LBB0_39
LBB0_22:
movq 40(%r14), %rax
testq %rax, %rax
je LBB0_41
## %bb.23:
movq 32(%rax), %rax
jmp LBB0_29
LBB0_24:
movq 24(%r14), %rax
testq %rax, %rax
je LBB0_41
## %bb.25:
movq 16(%rax), %rax
testq %rax, %rax
je LBB0_41
## %bb.26:
movq 16(%r14), %rdi
movl -92(%rbp), %edx
movl -88(%rbp), %esi
callq *%rax
jmp LBB0_41
LBB0_27:
movq 24(%r14), %rax
testq %rax, %rax
je LBB0_41
## %bb.28:
movq 8(%rax), %rax
LBB0_29:
testq %rax, %rax
je LBB0_41
## %bb.30:
movq 16(%r14), %rdi
movl -96(%rbp), %esi
callq *%rax
jmp LBB0_41
LBB0_31:
movq 16(%r14), %rdi
testq %rdi, %rdi
je LBB0_35
## %bb.32:
movq 40(%r14), %rax
testq %rax, %rax
je LBB0_35
## %bb.33:
movq 40(%rax), %rax
testq %rax, %rax
je LBB0_35
## %bb.34:
callq *%rax
LBB0_35:
movq $0, 16(%r14)
leaq -192(%rbp), %rsi
movq %r14, %rdi
callq _video_thread_reply
movl $1, %ebx
jmp LBB0_42
LBB0_36:
movq 40(%r14), %rax
leaq 92(%r14), %rdi
movl 88(%r14), %esi
movl 84(%r14), %edx
callq *48(%rax)
movq %rax, 16(%r14)
xorl %ecx, %ecx
testq %rax, %rax
sete %cl
movl %ecx, -184(%rbp)
movq 40(%r14), %rcx
leaq 60(%r14), %rsi
movq %rax, %rdi
callq *24(%rcx)
jmp LBB0_41
LBB0_37:
leaq -184(%rbp), %rcx
jmp LBB0_40
LBB0_38:
xorl %eax, %eax
LBB0_39:
leaq 48(%r14), %rcx
movl %eax, -184(%rbp)
LBB0_40:
movl $0, (%rcx)
LBB0_41:
leaq -192(%rbp), %rsi
movq %r14, %rdi
callq _video_thread_reply
LBB0_42:
movl %ebx, %eax
addq $216, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_42, LBB0_42-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_27, LBB0_27-LJTI0_0
.set L0_0_set_41, LBB0_41-LJTI0_0
.set L0_0_set_36, LBB0_36-LJTI0_0
.set L0_0_set_31, LBB0_31-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
.long L0_0_set_42
.long L0_0_set_2
.long L0_0_set_22
.long L0_0_set_19
.long L0_0_set_7
.long L0_0_set_14
.long L0_0_set_24
.long L0_0_set_27
.long L0_0_set_41
.long L0_0_set_41
.long L0_0_set_41
.long L0_0_set_41
.long L0_0_set_41
.long L0_0_set_36
.long L0_0_set_31
.long L0_0_set_5
.long L0_0_set_17
.long L0_0_set_10
.end_data_region
## -- End function
.no_dead_strip _video_thread_handle_packet
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function video_thread_handle_packet
_video_thread_handle_packet: ; @video_thread_handle_packet
.cfi_startproc
; %bb.0:
sub sp, sp, #240
stp x20, x19, [sp, #208] ; 16-byte Folded Spill
stp x29, x30, [sp, #224] ; 16-byte Folded Spill
add x29, sp, #224
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
add x8, sp, #32
ldp q0, q1, [x1, #128]
ldp q3, q2, [x1, #96]
stp q2, q0, [x8, #112]
str q1, [x8, #144]
ldr x8, [x1, #160]
str x8, [sp, #192]
ldp q0, q1, [x1, #64]
stp q0, q1, [sp, #96]
str q3, [sp, #128]
ldp q0, q1, [x1]
stp q0, q1, [sp, #32]
ldp q1, q0, [x1, #32]
stp q1, q0, [sp, #64]
ldr w8, [sp, #32]
sub w9, w8, #128
cmp w9, #17
b.hi LBB0_38
; %bb.1:
mov w8, #0 ; =0x0
Lloh0:
adrp x10, lJTI0_0@PAGE
Lloh1:
add x10, x10, lJTI0_0@PAGEOFF
adr x11, LBB0_2
ldrb w12, [x10, x9]
add x11, x11, x12, lsl #2
br x11
LBB0_2:
ldr x8, [x0, #40]
cbz x8, LBB0_14
; %bb.3:
ldr x9, [x8, #8]
cbz x9, LBB0_37
; %bb.4:
ldr x8, [x0, #16]
ldp w2, w1, [sp, #180]
mov x19, x0
mov x0, x8
blr x9
b LBB0_13
LBB0_5:
ldr x9, [sp, #104]
cbz x9, LBB0_38
; %bb.6:
ldp w1, w8, [sp, #92]
ldp w3, w2, [sp, #84]
ldp w5, w4, [sp, #76]
ldr w6, [sp, #72]
mov x19, x0
mov x0, x8
blr x9
mov x8, x0
mov x0, x19
str w8, [sp, #112]
b LBB0_38
LBB0_7:
ldr x8, [x0, #24]
cbz x8, LBB0_38
; %bb.8:
ldr x9, [x8, #24]
cbz x9, LBB0_38
; %bb.9:
ldr x8, [x0, #16]
ldp w2, w1, [sp, #144]
ldr w3, [sp, #140]
mov x19, x0
mov x0, x8
blr x9
mov x0, x19
b LBB0_38
LBB0_10:
ldr x8, [x0, #40]
cbz x8, LBB0_14
; %bb.11:
ldr x9, [x8, #16]
cbz x9, LBB0_37
; %bb.12:
ldr x8, [x0, #16]
mov x19, x0
mov x0, x8
blr x9
LBB0_13:
mov x8, x0
mov x0, x19
LBB0_14:
str w8, [sp, #40]
b LBB0_38
LBB0_15:
mov x19, x0
add x0, sp, #8
bl _video_driver_build_info
mov x0, x19
ldr x8, [x19, #24]
cbz x8, LBB0_38
; %bb.16:
ldr x8, [x8]
cbz x8, LBB0_38
; %bb.17:
ldr x0, [x0, #16]
add x9, sp, #32
ldr w2, [sp, #124]
add x1, sp, #8
add x3, x9, #88
mov x4, #0 ; =0x0
blr x8
mov x0, x19
b LBB0_38
LBB0_18:
ldr x9, [sp, #56]
cbz x9, LBB0_38
; %bb.19:
ldr w8, [sp, #48]
mov x19, x0
mov x0, x8
blr x9
mov x8, x0
mov x0, x19
str w8, [sp, #64]
b LBB0_38
LBB0_20:
stp xzr, xzr, [sp, #8]
str xzr, [sp, #24]
ldr x8, [x0, #40]
ldr x9, [x8, #24]
ldr x8, [x0, #16]
add x1, sp, #8
mov x20, x0
mov x0, x8
blr x9
add x0, sp, #8
mov x19, x20
add x1, x20, #56
mov w2, #24 ; =0x18
bl _string_is_equal_fast
cbz w0, LBB0_41
; %bb.21:
mov w8, #1 ; =0x1
mov x20, x19
str w8, [x20, #48]!
ldur x8, [x20, #-8]
ldr x8, [x8]
cbz x8, LBB0_42
; %bb.22:
ldr x0, [x19, #16]
ldr x1, [sp, #192]
ldr w2, [x19, #52]
blr x8
str w0, [sp, #40]
b LBB0_43
LBB0_23:
ldr x8, [x0, #40]
cbz x8, LBB0_38
; %bb.24:
ldr x9, [x8, #32]
cbnz x9, LBB0_30
b LBB0_38
LBB0_25:
ldr x8, [x0, #24]
cbz x8, LBB0_38
; %bb.26:
ldr x9, [x8, #16]
cbz x9, LBB0_38
; %bb.27:
ldr x8, [x0, #16]
ldp w2, w1, [sp, #132]
mov x19, x0
mov x0, x8
blr x9
mov x0, x19
b LBB0_38
LBB0_28:
ldr x8, [x0, #24]
cbz x8, LBB0_38
; %bb.29:
ldr x9, [x8, #8]
cbz x9, LBB0_38
LBB0_30:
ldr x8, [x0, #16]
ldr w1, [sp, #128]
mov x19, x0
mov x0, x8
blr x9
mov x0, x19
b LBB0_38
LBB0_31:
ldr x8, [x0, #16]
cbz x8, LBB0_35
; %bb.32:
ldr x9, [x0, #40]
cbz x9, LBB0_35
; %bb.33:
ldr x9, [x9, #40]
cbz x9, LBB0_35
; %bb.34:
mov x19, x0
mov x0, x8
blr x9
mov x0, x19
LBB0_35:
str xzr, [x0, #16]
add x1, sp, #32
bl _video_thread_reply
mov w8, #1 ; =0x1
b LBB0_40
LBB0_36:
ldr x8, [x0, #40]
ldr x8, [x8, #48]
ldp w2, w1, [x0, #84]
mov x19, x0
add x0, x0, #92
blr x8
str x0, [x19, #16]
cmp x0, #0
cset w8, eq
str w8, [sp, #40]
ldr x8, [x19, #40]
ldr x8, [x8, #24]
add x1, x19, #60
blr x8
b LBB0_44
LBB0_37:
str wzr, [sp, #40]
LBB0_38:
add x1, sp, #32
LBB0_39:
bl _video_thread_reply
mov w8, #0 ; =0x0
LBB0_40:
mov x0, x8
ldp x29, x30, [sp, #224] ; 16-byte Folded Reload
ldp x20, x19, [sp, #208] ; 16-byte Folded Reload
add sp, sp, #240
ret
LBB0_41:
add x8, sp, #32
orr x20, x8, #0x8
b LBB0_43
LBB0_42:
str wzr, [sp, #40]
LBB0_43:
str wzr, [x20]
LBB0_44:
add x1, sp, #32
mov x0, x19
b LBB0_39
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_40-LBB0_2)>>2
.byte (LBB0_2-LBB0_2)>>2
.byte (LBB0_23-LBB0_2)>>2
.byte (LBB0_20-LBB0_2)>>2
.byte (LBB0_7-LBB0_2)>>2
.byte (LBB0_15-LBB0_2)>>2
.byte (LBB0_25-LBB0_2)>>2
.byte (LBB0_28-LBB0_2)>>2
.byte (LBB0_38-LBB0_2)>>2
.byte (LBB0_38-LBB0_2)>>2
.byte (LBB0_38-LBB0_2)>>2
.byte (LBB0_38-LBB0_2)>>2
.byte (LBB0_38-LBB0_2)>>2
.byte (LBB0_36-LBB0_2)>>2
.byte (LBB0_31-LBB0_2)>>2
.byte (LBB0_5-LBB0_2)>>2
.byte (LBB0_18-LBB0_2)>>2
.byte (LBB0_10-LBB0_2)>>2
; -- End function
.no_dead_strip _video_thread_handle_packet
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function set_json_buffer
_set_json_buffer: ## @set_json_buffer
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
## kill: def $esi killed $esi def $rsi
movl (%rdi), %eax
addl %esi, %eax
incl %eax
movslq %eax, %r14
movq 8(%rdi), %rcx
cmpq %r14, %rcx
jae LBB0_7
## %bb.1:
movq %rdi, %rbx
testq %rcx, %rcx
jne LBB0_2
## %bb.3:
movq _INIT_BUF_SIZE@GOTPCREL(%rip), %rax
movq (%rax), %rax
jmp LBB0_4
LBB0_2:
movq %rcx, %rax
shrq %rax
addq %rcx, %rax
LBB0_4:
cmpq %r14, %rax
cmovaq %rax, %r14
movq 16(%rbx), %rdi
movq %r14, %rsi
callq _realloc
movq %rax, %r15
testq %rax, %rax
je LBB0_6
## %bb.5:
movq %rbx, %rdi
callq _free_json
leaq L_.str(%rip), %rdi
callq _FATAL
LBB0_6:
movq %r15, 16(%rbx)
movq %r14, 8(%rbx)
LBB0_7:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _INIT_BUF_SIZE,8,3 ## @INIT_BUF_SIZE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Unable to realloc JSON buffer.\n"
.no_dead_strip _set_json_buffer
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function set_json_buffer
_set_json_buffer: ; @set_json_buffer
.cfi_startproc
; %bb.0:
ldr w8, [x0]
add w8, w1, w8
add w8, w8, #1
sxtw x8, w8
ldr x9, [x0, #8]
cmp x9, x8
b.hs 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
Lloh0:
adrp x10, _INIT_BUF_SIZE@GOTPAGE
Lloh1:
ldr x10, [x10, _INIT_BUF_SIZE@GOTPAGEOFF]
Lloh2:
ldr x10, [x10]
add x11, x9, x9, lsr #1
cmp x9, #0
csel x9, x10, x11, eq
cmp x9, x8
csel x20, x9, x8, hi
ldr x0, [x0, #16]
mov x1, x20
bl _realloc
mov x21, x0
cbz x0, LBB0_3
; %bb.2:
mov x0, x19
bl _free_json
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
bl _FATAL
LBB0_3:
stp x20, x21, [x19, #8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
LBB0_4:
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _INIT_BUF_SIZE,8,3 ; @INIT_BUF_SIZE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Unable to realloc JSON buffer.\n"
.no_dead_strip _set_json_buffer
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function do_scavenging_realloc
_do_scavenging_realloc: ## @do_scavenging_realloc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movl $0, -44(%rbp)
movq _FZ_LOCK_ALLOC@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _fz_lock
leaq -44(%rbp), %r12
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl (%rbx), %edi
movq %r15, %rsi
movq %r14, %rdx
callq *8(%rbx)
movq %rax, %r13
testq %rax, %rax
jne LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq %rbx, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq _fz_store_scavenge
testq %rax, %rax
jne LBB0_1
LBB0_3:
movq _FZ_LOCK_ALLOC@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _fz_unlock
movq %r13, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _FZ_LOCK_ALLOC,4,2 ## @FZ_LOCK_ALLOC
.no_dead_strip _do_scavenging_realloc
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function do_scavenging_realloc
_do_scavenging_realloc: ; @do_scavenging_realloc
.cfi_startproc
; %bb.0:
sub sp, sp, #80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x20, x2
mov x21, x1
mov x19, x0
str wzr, [sp, #12]
Lloh0:
adrp x23, _FZ_LOCK_ALLOC@GOTPAGE
Lloh1:
ldr x23, [x23, _FZ_LOCK_ALLOC@GOTPAGEOFF]
ldr w1, [x23]
bl _fz_lock
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #8]
ldr w0, [x19]
mov x1, x21
mov x2, x20
blr x8
mov x22, x0
cbnz x0, LBB0_3
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
add x2, sp, #12
mov x0, x19
mov x1, x20
bl _fz_store_scavenge
cbnz x0, LBB0_1
LBB0_3:
ldr w1, [x23]
mov x0, x19
bl _fz_unlock
mov x0, x22
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _FZ_LOCK_ALLOC,4,2 ; @FZ_LOCK_ALLOC
.no_dead_strip _do_scavenging_realloc
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _mpc_ast_add_tag ## -- Begin function mpc_ast_add_tag
.p2align 4, 0x90
_mpc_ast_add_tag: ## @mpc_ast_add_tag
.cfi_startproc
## %bb.0:
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 %rdi, %rdi
je LBB0_2
## %bb.1:
movq %rsi, %r14
movq (%rbx), %r15
movq %rsi, %rdi
callq _strlen
movl %eax, %r12d
movq (%rbx), %rdi
callq _strlen
addl %eax, %r12d
movq %r15, %rdi
movl %r12d, %esi
callq _realloc
movq %rax, %r15
movq %rax, (%rbx)
movq %r14, %rdi
callq _strlen
cltq
addq %rax, %r15
incq %r15
movq (%rbx), %r12
movq %r12, %rdi
callq _strlen
## kill: def $eax killed $eax def $rax
leal 1(%rax), %edx
movq %r15, %rdi
movq %r12, %rsi
callq _memmove
movq (%rbx), %r15
movq %r14, %rdi
callq _strlen
movq %r15, %rdi
movq %r14, %rsi
movl %eax, %edx
callq _memmove
movq (%rbx), %r15
movq %r14, %rdi
callq _strlen
movslq %eax, %rdi
addq %r15, %rdi
leaq L_.str(%rip), %rsi
movl $1, %edx
callq _memmove
LBB0_2:
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "|"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _mpc_ast_add_tag ; -- Begin function mpc_ast_add_tag
.p2align 2
_mpc_ast_add_tag: ; @mpc_ast_add_tag
.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 x0, LBB0_2
; %bb.1:
mov x20, x1
ldr x21, [x19]
mov x0, x1
bl _strlen
mov x22, x0
ldr x0, [x19]
bl _strlen
add w1, w0, w22
mov x0, x21
bl _realloc
mov x21, x0
str x0, [x19]
mov x0, x20
bl _strlen
add x22, x21, w0, sxtw
ldr x21, [x19]
mov x0, x21
bl _strlen
mov x8, x0
add x0, x22, #1
add w2, w8, #1
mov x1, x21
bl _memmove
ldr x21, [x19]
mov x0, x20
bl _strlen
mov x2, x0
mov x0, x21
mov x1, x20
bl _memmove
ldr x21, [x19]
mov x0, x20
bl _strlen
add x0, x21, w0, sxtw
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov w2, #1 ; =0x1
bl _memmove
LBB0_2:
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "|"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _stb_vorbis_decode_filename ## -- Begin function stb_vorbis_decode_filename
.p2align 4, 0x90
_stb_vorbis_decode_filename: ## @stb_vorbis_decode_filename
.cfi_startproc
## %bb.0:
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, %rbx
movq %rdx, %r15
leaq -28(%rbp), %rsi
xorl %edx, %edx
callq _stb_vorbis_open_filename
movl $-1, %r14d
testq %rax, %rax
jne LBB0_10
## %bb.1:
testq %r15, %r15
je LBB0_3
## %bb.2:
movl 4, %eax
movl %eax, (%r15)
LBB0_3:
xorl %r14d, %r14d
xorl %edi, %edi
callq _malloc
testq %rax, %rax
je LBB0_4
## %bb.5:
movq %rax, %r15
xorl %edi, %edi
movq %rax, %rdx
xorl %ecx, %ecx
callq _stb_vorbis_get_frame_short_interleaved
testl %eax, %eax
je LBB0_8
## %bb.6:
xorl %r14d, %r14d
.p2align 4, 0x90
LBB0_7: ## =>This Inner Loop Header: Depth=1
addl %eax, %r14d
xorl %edi, %edi
movq %r15, %rdx
xorl %ecx, %ecx
callq _stb_vorbis_get_frame_short_interleaved
testl %eax, %eax
jne LBB0_7
LBB0_8:
movq %r15, (%rbx)
jmp LBB0_9
LBB0_4:
movl $-2, %r14d
LBB0_9:
xorl %edi, %edi
callq _stb_vorbis_close
LBB0_10:
movl %r14d, %eax
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 _stb_vorbis_decode_filename ; -- Begin function stb_vorbis_decode_filename
.p2align 2
_stb_vorbis_decode_filename: ; @stb_vorbis_decode_filename
.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, x3
mov x20, x2
add x1, sp, #12
mov x2, #0 ; =0x0
bl _stb_vorbis_open_filename
cbz x0, LBB0_2
; %bb.1:
mov w21, #-1 ; =0xffffffff
b LBB0_10
LBB0_2:
cbz x20, LBB0_4
; %bb.3:
mov w8, #4 ; =0x4
ldr w8, [x8]
str w8, [x20]
LBB0_4:
mov w0, #0 ; =0x0
bl _malloc
cbz x0, LBB0_8
; %bb.5:
mov x20, x0
mov x0, #0 ; =0x0
mov x2, x20
mov w3, #0 ; =0x0
bl _stb_vorbis_get_frame_short_interleaved
mov w21, #0 ; =0x0
cbz w0, LBB0_7
LBB0_6: ; =>This Inner Loop Header: Depth=1
add w21, w0, w21
mov x0, #0 ; =0x0
mov x2, x20
mov w3, #0 ; =0x0
bl _stb_vorbis_get_frame_short_interleaved
cbnz w0, LBB0_6
LBB0_7:
str x20, [x19]
b LBB0_9
LBB0_8:
mov w21, #-2 ; =0xfffffffe
LBB0_9:
mov x0, #0 ; =0x0
bl _stb_vorbis_close
LBB0_10:
mov x0, x21
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _erealloc ## -- Begin function erealloc
.p2align 4, 0x90
_erealloc: ## @erealloc
.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 "malloc"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _erealloc ; -- Begin function erealloc
.p2align 2
_erealloc: ; @erealloc
.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 "malloc"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl __glfwInputMonitor ## -- Begin function _glfwInputMonitor
.p2align 4, 0x90
__glfwInputMonitor: ## @_glfwInputMonitor
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movq _GLFW_CONNECTED@GOTPCREL(%rip), %rax
cmpl %esi, (%rax)
movl %esi, -44(%rbp) ## 4-byte Spill
jne LBB0_3
## %bb.1:
movl %edx, %r15d
movq __glfw@GOTPCREL(%rip), %r14
movl (%r14), %eax
leal 1(%rax), %ecx
movl %ecx, (%r14)
movq 16(%r14), %rdi
leal 8(,%rax,8), %esi
callq _realloc
movq %rax, 16(%r14)
movq __GLFW_INSERT_FIRST@GOTPCREL(%rip), %rcx
cmpl %r15d, (%rcx)
jne LBB0_14
## %bb.2:
movq %rax, %rdi
addq $-8, %rdi
movslq (%r14), %rcx
leaq -8(,%rcx,8), %rdx
movq %rax, %rsi
callq _memmove
movq 16(%r14), %rax
jmp LBB0_15
LBB0_3:
movq _GLFW_DISCONNECTED@GOTPCREL(%rip), %rax
cmpl %esi, (%rax)
jne LBB0_16
## %bb.4:
movq __glfw@GOTPCREL(%rip), %r12
movq 24(%r12), %r15
testq %r15, %r15
je LBB0_9
## %bb.5:
leaq -60(%rbp), %r14
leaq -48(%rbp), %r13
jmp LBB0_6
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_6 Depth=1
movq 8(%r15), %r15
testq %r15, %r15
je LBB0_9
LBB0_6: ## =>This Inner Loop Header: Depth=1
cmpq %rbx, (%r15)
jne LBB0_8
## %bb.7: ## in Loop: Header=BB0_6 Depth=1
movq %r15, %rdi
movq %r14, %rsi
leaq -56(%rbp), %rdx
callq __glfwPlatformGetWindowSize
movl -60(%rbp), %r8d
movl -56(%rbp), %r9d
movl $0, (%rsp)
movq %r15, %rdi
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq __glfwPlatformSetWindowMonitor
movq %r15, %rdi
leaq -52(%rbp), %rsi
movq %r13, %rdx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq __glfwPlatformGetWindowFrameSize
movl -52(%rbp), %esi
movl -48(%rbp), %edx
movq %r15, %rdi
callq __glfwPlatformSetWindowPos
jmp LBB0_8
LBB0_14:
movslq (%r14), %rcx
leaq (%rax,%rcx,8), %rax
addq $-8, %rax
LBB0_15:
movq %rbx, (%rax)
LBB0_16:
movq __glfw@GOTPCREL(%rip), %rax
movq 8(%rax), %rax
testq %rax, %rax
movl -44(%rbp), %r14d ## 4-byte Reload
je LBB0_18
## %bb.17:
movq %rbx, %rdi
movl %r14d, %esi
callq *%rax
LBB0_18:
movq _GLFW_DISCONNECTED@GOTPCREL(%rip), %rax
cmpl %r14d, (%rax)
jne LBB0_20
## %bb.19:
movq %rbx, %rdi
callq __glfwFreeMonitor
LBB0_20:
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_9:
movl (%r12), %eax
testl %eax, %eax
js LBB0_16
## %bb.10:
movq 16(%r12), %rdi
movq $-1, %r15
xorl %r13d, %r13d
xorl %r14d, %r14d
jmp LBB0_11
.p2align 4, 0x90
LBB0_13: ## in Loop: Header=BB0_11 Depth=1
movslq %eax, %rcx
incq %r15
decq %r14
addq $8, %r13
cmpq %rcx, %r15
jge LBB0_16
LBB0_11: ## =>This Inner Loop Header: Depth=1
cmpq %rbx, (%rdi,%r13)
jne LBB0_13
## %bb.12: ## in Loop: Header=BB0_11 Depth=1
cltq
leaq (%rax,%r14), %rcx
decl %eax
movl %eax, (%r12)
leaq (%rdi,%r13), %rsi
addq $8, %rsi
addq %r13, %rdi
leaq -8(,%rcx,8), %rdx
callq _memmove
movq 16(%r12), %rdi
movl (%r12), %eax
jmp LBB0_13
.cfi_endproc
## -- End function
.comm _GLFW_CONNECTED,4,2 ## @GLFW_CONNECTED
.comm __glfw,32,3 ## @_glfw
.comm __GLFW_INSERT_FIRST,4,2 ## @_GLFW_INSERT_FIRST
.comm _GLFW_DISCONNECTED,4,2 ## @GLFW_DISCONNECTED
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl __glfwInputMonitor ; -- Begin function _glfwInputMonitor
.p2align 2
__glfwInputMonitor: ; @_glfwInputMonitor
.cfi_startproc
; %bb.0:
sub sp, sp, #96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x20, x1
mov x19, x0
Lloh0:
adrp x8, _GLFW_CONNECTED@GOTPAGE
Lloh1:
ldr x8, [x8, _GLFW_CONNECTED@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
Lloh3:
adrp x23, __glfw@GOTPAGE
Lloh4:
ldr x23, [x23, __glfw@GOTPAGEOFF]
Lloh5:
adrp x22, _GLFW_DISCONNECTED@GOTPAGE
Lloh6:
ldr x22, [x22, _GLFW_DISCONNECTED@GOTPAGEOFF]
cmp w8, w1
b.ne LBB0_3
; %bb.1:
mov x21, x2
ldr w8, [x23]
add w8, w8, #1
str w8, [x23]
ldr x0, [x23, #16]
lsl w1, w8, #3
bl _realloc
mov x1, x0
str x0, [x23, #16]
Lloh7:
adrp x8, __GLFW_INSERT_FIRST@GOTPAGE
Lloh8:
ldr x8, [x8, __GLFW_INSERT_FIRST@GOTPAGEOFF]
Lloh9:
ldr w8, [x8]
cmp w8, w21
b.ne LBB0_13
; %bb.2:
sub x0, x1, #8
ldrsw x8, [x23]
lsl x8, x8, #3
sub x2, x8, #8
bl _memmove
ldr x8, [x23, #16]
b LBB0_14
LBB0_3:
ldr w8, [x22]
cmp w8, w20
b.ne LBB0_15
; %bb.4:
ldr x21, [x23, #24]
cbnz x21, LBB0_8
LBB0_5:
ldr w8, [x23]
tbnz w8, #31, LBB0_15
; %bb.6:
mov x21, #0 ; =0x0
mov x24, #0 ; =0x0
ldr x9, [x23, #16]
mov x25, #-1 ; =0xffffffffffffffff
b LBB0_11
LBB0_7: ; in Loop: Header=BB0_8 Depth=1
ldr x21, [x21, #8]
cbz x21, LBB0_5
LBB0_8: ; =>This Inner Loop Header: Depth=1
ldr x8, [x21]
cmp x8, x19
b.ne LBB0_7
; %bb.9: ; in Loop: Header=BB0_8 Depth=1
add x1, sp, #12
add x2, sp, #8
mov x0, x21
bl __glfwPlatformGetWindowSize
ldp w5, w4, [sp, #8]
mov x0, x21
mov x1, #0 ; =0x0
mov w2, #0 ; =0x0
mov w3, #0 ; =0x0
mov w6, #0 ; =0x0
bl __glfwPlatformSetWindowMonitor
add x1, sp, #4
mov x2, sp
mov x0, x21
mov x3, #0 ; =0x0
mov x4, #0 ; =0x0
bl __glfwPlatformGetWindowFrameSize
ldp w2, w1, [sp]
mov x0, x21
bl __glfwPlatformSetWindowPos
b LBB0_7
LBB0_10: ; in Loop: Header=BB0_11 Depth=1
add x25, x25, #1
sub x24, x24, #1
add x21, x21, #8
cmp x25, w8, sxtw
b.ge LBB0_15
LBB0_11: ; =>This Inner Loop Header: Depth=1
add x0, x9, x21
ldr x10, [x0]
cmp x10, x19
b.ne LBB0_10
; %bb.12: ; in Loop: Header=BB0_11 Depth=1
sub w8, w8, #1
str w8, [x23]
add x8, x24, w8, sxtw
lsl x2, x8, #3
add x1, x0, #8
bl _memmove
ldr x9, [x23, #16]
ldr w8, [x23]
b LBB0_10
LBB0_13:
ldrsw x8, [x23]
add x8, x1, x8, lsl #3
sub x8, x8, #8
LBB0_14:
str x19, [x8]
LBB0_15:
ldr x8, [x23, #8]
cbz x8, LBB0_17
; %bb.16:
mov x0, x19
mov x1, x20
blr x8
LBB0_17:
ldr w8, [x22]
cmp w8, w20
b.ne LBB0_19
; %bb.18:
mov x0, x19
bl __glfwFreeMonitor
LBB0_19:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _GLFW_CONNECTED,4,2 ; @GLFW_CONNECTED
.comm __glfw,32,3 ; @_glfw
.comm __GLFW_INSERT_FIRST,4,2 ; @_GLFW_INSERT_FIRST
.comm _GLFW_DISCONNECTED,4,2 ; @GLFW_DISCONNECTED
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function ws_realloc_send_buf
_ws_realloc_send_buf: ## @ws_realloc_send_buf
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r14d
movq %rsi, %r15
movq %rdi, %rbx
movq 8(%rdi), %r12
movl (%r12), %esi
movq 8(%r12), %rdi
subl %edx, %esi
setle %r13b
callq _realloc
testq %rax, %rax
sete %cl
orb %r13b, %cl
jne LBB0_1
## %bb.4:
movq %rbx, %rdi
callq _ws_clear_queue
movq _WS_ERR@GOTPCREL(%rip), %rax
movq _WS_CLOSE@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
andl (%rax), %esi
movq %rbx, %rdi
movl $1, %edx
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _ws_set_status ## TAILCALL
LBB0_1:
movq %rax, 8(%r12)
movslq (%r12), %rdi
addq %rax, %rdi
movq %r15, %rsi
movl %r14d, %edx
callq _memcpy
addl (%r12), %r14d
movl %r14d, (%r12)
movq _WS_THROTTLE_THLD@GOTPCREL(%rip), %rax
cmpl (%rax), %r14d
jl LBB0_3
## %bb.2:
movq _WS_THROTTLING@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %eax, (%rbx)
LBB0_3:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _WS_ERR,4,2 ## @WS_ERR
.comm _WS_CLOSE,4,2 ## @WS_CLOSE
.comm _WS_THROTTLE_THLD,4,2 ## @WS_THROTTLE_THLD
.comm _WS_THROTTLING,4,2 ## @WS_THROTTLING
.no_dead_strip _ws_realloc_send_buf
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function ws_realloc_send_buf
_ws_realloc_send_buf: ; @ws_realloc_send_buf
.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
ldr x23, [x0, #8]
ldr w8, [x23]
sub w22, w8, w2
ldr x0, [x23, #8]
mov x1, x22
bl _realloc
cmp w22, #1
ccmp x0, #0, #4, ge
b.ne LBB0_4
; %bb.1:
str x0, [x23, #8]
ldrsw x8, [x23]
add x0, x0, x8
mov x1, x21
mov x2, x20
bl _memcpy
ldr w8, [x23]
add w8, w8, w20
str w8, [x23]
Lloh0:
adrp x9, _WS_THROTTLE_THLD@GOTPAGE
Lloh1:
ldr x9, [x9, _WS_THROTTLE_THLD@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
cmp w8, w9
b.lt LBB0_3
; %bb.2:
Lloh3:
adrp x8, _WS_THROTTLING@GOTPAGE
Lloh4:
ldr x8, [x8, _WS_THROTTLING@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
ldr w9, [x19]
orr w8, w9, w8
str w8, [x19]
LBB0_3:
mov w0, #0 ; =0x0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
LBB0_4:
mov x0, x19
bl _ws_clear_queue
Lloh6:
adrp x8, _WS_ERR@GOTPAGE
Lloh7:
ldr x8, [x8, _WS_ERR@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
Lloh9:
adrp x9, _WS_CLOSE@GOTPAGE
Lloh10:
ldr x9, [x9, _WS_CLOSE@GOTPAGEOFF]
Lloh11:
ldr w9, [x9]
and w1, w9, w8
mov x0, x19
mov w2, #1 ; =0x1
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
b _ws_set_status
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _WS_ERR,4,2 ; @WS_ERR
.comm _WS_CLOSE,4,2 ; @WS_CLOSE
.comm _WS_THROTTLE_THLD,4,2 ; @WS_THROTTLE_THLD
.comm _WS_THROTTLING,4,2 ; @WS_THROTTLING
.no_dead_strip _ws_realloc_send_buf
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function append
_append: ## @append
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %ebx
movq %rdi, %r14
movq _len@GOTPCREL(%rip), %r15
movq _cap@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movq _things@GOTPCREL(%rip), %r12
movq (%r12), %rax
cmpl %esi, (%r15)
jl LBB0_3
## %bb.1:
movq _grow@GOTPCREL(%rip), %rdx
addl (%rdx), %esi
movl %esi, (%rcx)
shll $4, %esi
movq %rax, %rdi
callq _realloc
movq %rax, (%r12)
testq %rax, %rax
je LBB0_3
## %bb.2:
leaq L_.str(%rip), %rdi
callq _die
movq (%r12), %rax
LBB0_3:
movslq (%r15), %rcx
shlq $4, %rcx
movq %r14, (%rax,%rcx)
movq (%r12), %rax
movl %ebx, 8(%rax,%rcx)
movslq (%r15), %rcx
leal -1(%rcx), %edx
movl %edx, (%r15)
shlq $4, %rcx
movq -32(%rax,%rcx), %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _len,4,2 ## @len
.comm _cap,4,2 ## @cap
.comm _grow,8,3 ## @grow
.comm _things,8,3 ## @things
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "reallocating things array in test/spaced.c append()"
.no_dead_strip _append
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function append
_append: ; @append
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
Lloh0:
adrp x21, _len@GOTPAGE
Lloh1:
ldr x21, [x21, _len@GOTPAGEOFF]
Lloh2:
adrp x8, _cap@GOTPAGE
Lloh3:
ldr x8, [x8, _cap@GOTPAGEOFF]
ldr w10, [x21]
ldr w9, [x8]
Lloh4:
adrp x22, _things@GOTPAGE
Lloh5:
ldr x22, [x22, _things@GOTPAGEOFF]
ldr x0, [x22]
cmp w10, w9
b.lt LBB0_3
; %bb.1:
Lloh6:
adrp x10, _grow@GOTPAGE
Lloh7:
ldr x10, [x10, _grow@GOTPAGEOFF]
Lloh8:
ldr w10, [x10]
add w9, w9, w10
str w9, [x8]
lsl w1, w9, #4
bl _realloc
str x0, [x22]
cbz x0, LBB0_3
; %bb.2:
Lloh9:
adrp x0, l_.str@PAGE
Lloh10:
add x0, x0, l_.str@PAGEOFF
bl _die
ldr x0, [x22]
LBB0_3:
ldrsw x8, [x21]
lsl x8, x8, #4
str x20, [x0, x8]
ldr x9, [x22]
add x8, x9, x8
str w19, [x8, #8]
ldrsw x8, [x21]
sub w10, w8, #1
str w10, [x21]
add x8, x9, x8, lsl #4
ldur x0, [x8, #-32]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpAdd Lloh9, Lloh10
.cfi_endproc
; -- End function
.comm _len,4,2 ; @len
.comm _cap,4,2 ; @cap
.comm _grow,8,3 ; @grow
.comm _things,8,3 ; @things
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "reallocating things array in test/spaced.c append()"
.no_dead_strip _append
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _osd_set_reserved ## -- Begin function osd_set_reserved
.p2align 4, 0x90
_osd_set_reserved: ## @osd_set_reserved
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_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 %r8, -64(%rbp) ## 8-byte Spill
movq %rcx, %rbx
movq %rdi, %r15
movq _OSD_FIRST@GOTPCREL(%rip), %rax
cmpq %rdi, (%rax)
setbe %al
movq %rdx, %r13
movq _OSD_LAST@GOTPCREL(%rip), %rcx
cmpq %rdi, (%rcx)
movq %rsi, %r14
setae %cl
orb %al, %cl
movzbl %cl, %edi
leaq L_.str(%rip), %rsi
callq _KASSERT
xorl %edi, %edi
testq %r13, %r13
setne %dil
leaq L_.str.1(%rip), %rsi
callq _KASSERT
movq _osdm@GOTPCREL(%rip), %r12
movq (%r12), %rax
movq %r15, -56(%rbp) ## 8-byte Spill
leaq (,%r15,8), %rcx
movq %r13, %r15
leaq (%rcx,%rcx,2), %r13
movq 16(%rax,%r13), %rax
xorl %edi, %edi
cmpq $0, 8(%rax,%r15,8)
setne %dil
leaq L_.str.2(%rip), %rsi
callq _KASSERT
movq (%r12), %rdi
movq %r14, %r12
addq %r13, %rdi
leaq -44(%rbp), %rsi
callq _rm_rlock
movq (%r14), %rdx
cmpq %r15, %rdx
jae LBB0_13
## %bb.1:
movq %r13, %r14
movq -64(%rbp), %r13 ## 8-byte Reload
testq %r13, %r13
je LBB0_4
## %bb.2:
leaq L_.str.3(%rip), %rdi
xorl %r14d, %r14d
movq %r15, %rdx
movq -56(%rbp), %r15 ## 8-byte Reload
movq %r15, %rsi
xorl %eax, %eax
callq _OSD_DEBUG
leaq (%r15,%r15,2), %rdi
shlq $3, %rdi
movq _osdm@GOTPCREL(%rip), %rax
addq (%rax), %rdi
leaq -44(%rbp), %rsi
callq _rm_runlock
testq %rbx, %rbx
je LBB0_16
## %bb.3:
movq %rbx, %rdi
callq _osd_free_reserved
jmp LBB0_16
LBB0_13:
movq -64(%rbp), %r13 ## 8-byte Reload
testq %rbx, %rbx
je LBB0_15
## %bb.14:
movq %rbx, %rdi
callq _osd_free_reserved
jmp LBB0_15
LBB0_4:
testq %rbx, %rbx
je LBB0_9
## %bb.5:
movq %rbx, %rdi
testq %rdx, %rdx
je LBB0_7
## %bb.6:
movq 8(%r12), %rsi
shll $3, %edx
## kill: def $edx killed $edx killed $rdx
callq _memcpy
movq 8(%r12), %rdi
movq _M_OSD@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _free
movq %rbx, %rdi
jmp LBB0_7
LBB0_9:
movq 8(%r12), %rdi
leal (,%r15,8), %esi
movq _M_OSD@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _M_NOWAIT@GOTPCREL(%rip), %rax
movq _M_ZERO@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl (%rax), %ecx
callq _realloc
movq %rax, %rdi
testq %rax, %rax
je LBB0_10
LBB0_7:
movq %rdi, %rbx
cmpq $0, (%r12)
je LBB0_11
## %bb.8:
leaq L_.str.5(%rip), %rdi
jmp LBB0_12
LBB0_11:
movq _osdm@GOTPCREL(%rip), %rax
movq (%rax), %rax
leaq (%rax,%r14), %rdi
addq $4, %rdi
callq _mtx_lock
movq _osdm@GOTPCREL(%rip), %rax
movq (%rax), %rax
leaq (%rax,%r14), %rdi
addq $8, %rdi
movq _osd_next@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r12, %rsi
callq _LIST_INSERT_HEAD
movq _osdm@GOTPCREL(%rip), %rax
movq (%rax), %rax
leaq (%rax,%r14), %rdi
addq $4, %rdi
callq _mtx_unlock
leaq L_.str.4(%rip), %rdi
LBB0_12:
movq -56(%rbp), %rsi ## 8-byte Reload
xorl %eax, %eax
callq _OSD_DEBUG
movq %rbx, 8(%r12)
movq %r15, (%r12)
LBB0_15:
leaq L_.str.6(%rip), %rdi
xorl %r14d, %r14d
movq -56(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rsi
movq %r15, %rdx
movq %r13, %rcx
xorl %eax, %eax
callq _OSD_DEBUG
movq 8(%r12), %rax
movq %r13, -8(%rax,%r15,8)
leaq (%rbx,%rbx,2), %rdi
shlq $3, %rdi
movq _osdm@GOTPCREL(%rip), %rax
addq (%rax), %rdi
leaq -44(%rbp), %rsi
callq _rm_runlock
LBB0_16:
movl %r14d, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_10:
movq -56(%rbp), %rax ## 8-byte Reload
leaq (%rax,%rax,2), %rdi
shlq $3, %rdi
movq _osdm@GOTPCREL(%rip), %rax
addq (%rax), %rdi
leaq -44(%rbp), %rsi
callq _rm_runlock
movq _ENOMEM@GOTPCREL(%rip), %rax
movl (%rax), %r14d
jmp LBB0_16
.cfi_endproc
## -- End function
.comm _OSD_FIRST,8,3 ## @OSD_FIRST
.comm _OSD_LAST,8,3 ## @OSD_LAST
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Invalid type."
L_.str.1: ## @.str.1
.asciz "Invalid slot."
.comm _osdm,8,3 ## @osdm
L_.str.2: ## @.str.2
.asciz "Unused slot."
L_.str.3: ## @.str.3
.asciz "Not allocating null slot (type=%u, slot=%u)."
.comm _M_OSD,4,2 ## @M_OSD
.comm _M_NOWAIT,4,2 ## @M_NOWAIT
.comm _M_ZERO,4,2 ## @M_ZERO
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _osd_next,4,2 ## @osd_next
L_.str.4: ## @.str.4
.asciz "Setting first slot (type=%u)."
L_.str.5: ## @.str.5
.asciz "Growing slots array (type=%u)."
L_.str.6: ## @.str.6
.asciz "Setting slot value (type=%u, slot=%u, value=%p)."
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _osd_set_reserved ; -- Begin function osd_set_reserved
.p2align 2
_osd_set_reserved: ; @osd_set_reserved
.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, x4
mov x23, x3
mov x20, x2
mov x22, x1
mov x19, x0
Lloh0:
adrp x8, _OSD_FIRST@GOTPAGE
Lloh1:
ldr x8, [x8, _OSD_FIRST@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x8, x0
Lloh3:
adrp x8, _OSD_LAST@GOTPAGE
Lloh4:
ldr x8, [x8, _OSD_LAST@GOTPAGEOFF]
Lloh5:
ldr x8, [x8]
ccmp x8, x0, #2, hi
cset w0, hs
Lloh6:
adrp x1, l_.str@PAGE
Lloh7:
add x1, x1, l_.str@PAGEOFF
bl _KASSERT
cmp x20, #0
cset w0, ne
Lloh8:
adrp x1, l_.str.1@PAGE
Lloh9:
add x1, x1, l_.str.1@PAGEOFF
bl _KASSERT
Lloh10:
adrp x24, _osdm@GOTPAGE
Lloh11:
ldr x24, [x24, _osdm@GOTPAGEOFF]
ldr x8, [x24]
add x9, x19, x19, lsl #1
lsl x25, x9, #3
add x8, x8, x25
ldr x8, [x8, #16]
add x8, x8, x20, lsl #3
ldr x8, [x8, #8]
cmp x8, #0
cset w0, ne
Lloh12:
adrp x1, l_.str.2@PAGE
Lloh13:
add x1, x1, l_.str.2@PAGEOFF
bl _KASSERT
ldr x8, [x24]
add x0, x8, x25
add x1, sp, #28
bl _rm_rlock
ldr x8, [x22]
cmp x8, x20
b.hs LBB0_4
; %bb.1:
cbz x21, LBB0_6
; %bb.2:
str x20, [sp]
Lloh14:
adrp x0, l_.str.3@PAGE
Lloh15:
add x0, x0, l_.str.3@PAGEOFF
mov x1, x19
bl _OSD_DEBUG
ldr x8, [x24]
mov w9, #24 ; =0x18
madd x0, x19, x9, x8
add x1, sp, #28
bl _rm_runlock
cbz x23, LBB0_15
; %bb.3:
mov x0, x23
bl _osd_free_reserved
b LBB0_15
LBB0_4:
cbz x23, LBB0_14
; %bb.5:
mov x0, x23
bl _osd_free_reserved
b LBB0_14
LBB0_6:
cbz x23, LBB0_9
; %bb.7:
cbz x8, LBB0_10
; %bb.8:
ldr x1, [x22, #8]
lsl w2, w8, #3
mov x0, x23
bl _memcpy
ldr x0, [x22, #8]
Lloh16:
adrp x8, _M_OSD@GOTPAGE
Lloh17:
ldr x8, [x8, _M_OSD@GOTPAGEOFF]
Lloh18:
ldr w1, [x8]
bl _free
b LBB0_10
LBB0_9:
ldr x0, [x22, #8]
lsl w1, w20, #3
Lloh19:
adrp x8, _M_OSD@GOTPAGE
Lloh20:
ldr x8, [x8, _M_OSD@GOTPAGEOFF]
Lloh21:
ldr w2, [x8]
Lloh22:
adrp x8, _M_NOWAIT@GOTPAGE
Lloh23:
ldr x8, [x8, _M_NOWAIT@GOTPAGEOFF]
Lloh24:
ldr w8, [x8]
Lloh25:
adrp x9, _M_ZERO@GOTPAGE
Lloh26:
ldr x9, [x9, _M_ZERO@GOTPAGEOFF]
Lloh27:
ldr w9, [x9]
orr w3, w9, w8
bl _realloc
mov x23, x0
cbz x0, LBB0_17
LBB0_10:
ldr x8, [x22]
cbz x8, LBB0_12
; %bb.11:
Lloh28:
adrp x0, l_.str.5@PAGE
Lloh29:
add x0, x0, l_.str.5@PAGEOFF
b LBB0_13
LBB0_12:
ldr x8, [x24]
add x8, x8, x25
add x0, x8, #4
bl _mtx_lock
ldr x8, [x24]
add x8, x8, x25
Lloh30:
adrp x9, _osd_next@GOTPAGE
Lloh31:
ldr x9, [x9, _osd_next@GOTPAGEOFF]
Lloh32:
ldr w2, [x9]
add x0, x8, #8
mov x1, x22
bl _LIST_INSERT_HEAD
ldr x8, [x24]
add x8, x8, x25
add x0, x8, #4
bl _mtx_unlock
Lloh33:
adrp x0, l_.str.4@PAGE
Lloh34:
add x0, x0, l_.str.4@PAGEOFF
LBB0_13:
mov x1, x19
bl _OSD_DEBUG
stp x20, x23, [x22]
LBB0_14:
stp x20, x21, [sp]
Lloh35:
adrp x0, l_.str.6@PAGE
Lloh36:
add x0, x0, l_.str.6@PAGEOFF
mov x1, x19
bl _OSD_DEBUG
ldr x8, [x22, #8]
add x8, x8, x20, lsl #3
stur x21, [x8, #-8]
ldr x8, [x24]
mov w9, #24 ; =0x18
madd x0, x19, x9, x8
add x1, sp, #28
bl _rm_runlock
LBB0_15:
mov w0, #0 ; =0x0
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
LBB0_17:
ldr x8, [x24]
mov w9, #24 ; =0x18
madd x0, x19, x9, x8
add x1, sp, #28
bl _rm_runlock
Lloh37:
adrp x8, _ENOMEM@GOTPAGE
Lloh38:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh39:
ldr w0, [x8]
b LBB0_16
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdd Lloh33, Lloh34
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpAdd Lloh35, Lloh36
.loh AdrpLdrGotLdr Lloh37, Lloh38, Lloh39
.cfi_endproc
; -- End function
.comm _OSD_FIRST,8,3 ; @OSD_FIRST
.comm _OSD_LAST,8,3 ; @OSD_LAST
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Invalid type."
l_.str.1: ; @.str.1
.asciz "Invalid slot."
.comm _osdm,8,3 ; @osdm
l_.str.2: ; @.str.2
.asciz "Unused slot."
l_.str.3: ; @.str.3
.asciz "Not allocating null slot (type=%u, slot=%u)."
.comm _M_OSD,4,2 ; @M_OSD
.comm _M_NOWAIT,4,2 ; @M_NOWAIT
.comm _M_ZERO,4,2 ; @M_ZERO
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _osd_next,4,2 ; @osd_next
l_.str.4: ; @.str.4
.asciz "Setting first slot (type=%u)."
l_.str.5: ; @.str.5
.asciz "Growing slots array (type=%u)."
l_.str.6: ; @.str.6
.asciz "Setting slot value (type=%u, slot=%u, value=%p)."
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function drm_addbufs_sg
_drm_addbufs_sg: ## @drm_addbufs_sg
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $72, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r15
movq %rdi, %rbx
movq 40(%rdi), %r14
movq _DRIVER_SG@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _drm_core_check_feature
testl %eax, %eax
je LBB0_1
## %bb.3:
testq %r14, %r14
je LBB0_1
## %bb.4:
movq _DRM_CURPROC@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _DRM_SUSER
testl %eax, %eax
je LBB0_5
## %bb.6:
movq %r14, -80(%rbp) ## 8-byte Spill
movq %rbx, -56(%rbp) ## 8-byte Spill
movl (%r15), %eax
movl %eax, -44(%rbp) ## 4-byte Spill
movl 4(%r15), %edi
callq _drm_order
movl $1, %r13d
movl %eax, -68(%rbp) ## 4-byte Spill
movl %eax, %ecx
shll %cl, %r13d
movq __DRM_PAGE_ALIGN@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq %r15, -96(%rbp) ## 8-byte Spill
orl 8(%r15), %eax
movl %r13d, %eax
je LBB0_8
## %bb.7:
movl %r13d, %edi
callq _PAGE_ALIGN
LBB0_8:
movl %eax, -60(%rbp) ## 4-byte Spill
movq _PAGE_SHIFT@GOTPCREL(%rip), %rax
movl -68(%rbp), %r14d ## 4-byte Reload
movl %r14d, %r12d
subl (%rax), %r12d
xorl %eax, %eax
testl %r12d, %r12d
cmovlel %eax, %r12d
movq _PAGE_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %r15d
movl %r12d, %ecx
shll %cl, %r15d
movq -96(%rbp), %rax ## 8-byte Reload
movq 16(%rax), %rbx
leaq L_.str(%rip), %rdi
movl -44(%rbp), %esi ## 4-byte Reload
xorl %eax, %eax
callq _DRM_DEBUG
leaq L_.str.1(%rip), %rdi
movl %r14d, %esi
xorl %eax, %eax
callq _DRM_DEBUG
leaq L_.str.2(%rip), %rdi
movl %r13d, -64(%rbp) ## 4-byte Spill
movl %r13d, %esi
xorl %eax, %eax
callq _DRM_DEBUG
leaq L_.str.3(%rip), %rdi
movq %rbx, -112(%rbp) ## 8-byte Spill
movl %ebx, %esi
movl %r12d, %ebx
xorl %eax, %eax
callq _DRM_DEBUG
leaq L_.str.4(%rip), %rdi
movl -60(%rbp), %esi ## 4-byte Reload
xorl %eax, %eax
callq _DRM_DEBUG
leaq L_.str.5(%rip), %rdi
movl %r12d, %esi
xorl %eax, %eax
callq _DRM_DEBUG
leaq L_.str.6(%rip), %rdi
movl %r15d, %esi
xorl %eax, %eax
callq _DRM_DEBUG
movq _DRM_MIN_ORDER@GOTPCREL(%rip), %rax
cmpl (%rax), %r14d
jge LBB0_10
## %bb.9:
movq _DRM_MAX_ORDER@GOTPCREL(%rip), %rax
cmpl (%rax), %r14d
jle LBB0_10
LBB0_1:
movq _EINVAL@GOTPCREL(%rip), %rcx
LBB0_2:
xorl %eax, %eax
subl (%rcx), %eax
LBB0_36:
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_5:
movq _EPERM@GOTPCREL(%rip), %rcx
jmp LBB0_2
LBB0_10:
movq -56(%rbp), %r13 ## 8-byte Reload
leaq 24(%r13), %r15
movq %r15, %rdi
callq _mtx_lock
cmpq $0, 32(%r13)
je LBB0_12
## %bb.11:
movq %r15, %rdi
callq _mtx_unlock
movq _EBUSY@GOTPCREL(%rip), %rcx
jmp LBB0_2
LBB0_12:
movq %r13, %rdi
callq _atomic_inc
movq %r15, %rdi
callq _mtx_unlock
movq %r13, %rdi
callq _DRM_LOCK
movq %r13, %r15
movq -80(%rbp), %rax ## 8-byte Reload
movq 40(%rax), %r13
movslq %r14d, %rax
shlq $5, %rax
cmpl $0, (%r13,%rax)
je LBB0_15
## %bb.13:
movq %r15, %rdi
callq _DRM_UNLOCK
movq %r15, %rdi
LBB0_14:
callq _atomic_dec
movq _ENOMEM@GOTPCREL(%rip), %rcx
jmp LBB0_2
LBB0_15:
movl -44(%rbp), %r15d ## 4-byte Reload
cmpl $4097, %r15d ## imm = 0x1001
jb LBB0_17
## %bb.16:
movq -56(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rdi
callq _DRM_UNLOCK
movq %rbx, %rdi
callq _atomic_dec
jmp LBB0_1
LBB0_17:
addq %rax, %r13
movl %r15d, %eax
shll $5, %eax
leal (%rax,%rax,2), %edi
movq _DRM_MEM_BUFS@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _M_NOWAIT@GOTPCREL(%rip), %rax
movq _M_ZERO@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
orl (%rax), %edx
callq _malloc
movq %rax, 24(%r13)
testq %rax, %rax
je LBB0_18
## %bb.20:
movl -64(%rbp), %eax ## 4-byte Reload
movl %eax, 4(%r13)
movl %ebx, 8(%r13)
movl (%r13), %eax
xorl %r12d, %r12d
cmpl %r15d, %eax
jge LBB0_25
## %bb.21:
movslq -60(%rbp), %rcx ## 4-byte Folded Reload
movq %rcx, -104(%rbp) ## 8-byte Spill
xorl %r12d, %r12d
xorl %edi, %edi
LBB0_22: ## =>This Inner Loop Header: Depth=1
movl %r12d, -84(%rbp) ## 4-byte Spill
movq 24(%r13), %r15
cltq
leaq (%rax,%rax,2), %r14
shlq $5, %r14
movq -80(%rbp), %rdx ## 8-byte Reload
movl (%rdx), %ecx
subl %eax, %ecx
movl %ecx, (%r15,%r14)
movl -60(%rbp), %eax ## 4-byte Reload
movl %eax, 4(%r15,%r14)
movl -68(%rbp), %eax ## 4-byte Reload
movl %eax, 8(%r15,%r14)
movq $0, 88(%r15,%r14)
movq 16(%rdx), %rax
addq %rdi, %rax
movq %rax, 80(%r15,%r14)
movq -112(%rbp), %rax ## 8-byte Reload
movq %rdi, %r12
addq %rdi, %rax
movq %rax, 16(%r15,%r14)
movq -56(%rbp), %rdx ## 8-byte Reload
movq 16(%rdx), %rcx
addq (%rcx), %rax
movq %rax, 32(%r15,%r14)
xorps %xmm0, %xmm0
movups %xmm0, 48(%r15,%r14)
movups %xmm0, 64(%r15,%r14)
movq 8(%rdx), %rax
movl (%rax), %edi
movl %edi, 24(%r15,%r14)
movq _DRM_MEM_BUFS@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _M_ZERO@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _M_NOWAIT@GOTPCREL(%rip), %rax
orl (%rax), %edx
callq _malloc
movq %rax, 40(%r15,%r14)
testq %rax, %rax
je LBB0_23
## %bb.24: ## in Loop: Header=BB0_22 Depth=1
addq %r14, %r15
movl (%r13), %esi
movq 32(%r15), %rdx
leaq L_.str.7(%rip), %rdi
xorl %eax, %eax
callq _DRM_DEBUG
movl (%r13), %edx
leal -1(%rdx), %eax
movl %eax, (%r13)
movq _PAGE_SIZE@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movl %ebx, %ecx
shll %cl, %esi
movq %r12, %rdi
addq -104(%rbp), %rdi ## 8-byte Folded Reload
movl -84(%rbp), %r12d ## 4-byte Reload
addl %esi, %r12d
cmpl -44(%rbp), %edx ## 4-byte Folded Reload
jle LBB0_22
LBB0_25:
leaq L_.str.8(%rip), %rdi
movl %r12d, %ebx
movl %r12d, %esi
xorl %eax, %eax
callq _DRM_DEBUG
movl (%r13), %esi
movq -80(%rbp), %r14 ## 8-byte Reload
addl (%r14), %esi
movq 32(%r14), %rdi
shll $3, %esi
movq _DRM_MEM_BUFS@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _M_NOWAIT@GOTPCREL(%rip), %rax
movl (%rax), %ecx
callq _realloc
testq %rax, %rax
je LBB0_26
## %bb.27:
movq %rax, 32(%r14)
movslq (%r13), %rax
movslq (%r14), %rsi
testq %rax, %rax
movq -96(%rbp), %r15 ## 8-byte Reload
movl -64(%rbp), %r12d ## 4-byte Reload
jle LBB0_35
## %bb.28:
movl %eax, %ecx
andl $3, %ecx
cmpl $4, %eax
jae LBB0_30
## %bb.29:
xorl %edx, %edx
jmp LBB0_32
LBB0_18:
movq -56(%rbp), %rbx ## 8-byte Reload
jmp LBB0_19
LBB0_23:
movl -44(%rbp), %eax ## 4-byte Reload
movl %eax, (%r13)
LBB0_26:
movq -56(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rdi
movq %r13, %rsi
callq _drm_cleanup_buf_error
LBB0_19:
movq %rbx, %rdi
callq _DRM_UNLOCK
movq %rbx, %rdi
jmp LBB0_14
LBB0_30:
movl %eax, %edi
andl $2147483644, %edi ## imm = 0x7FFFFFFC
leaq (,%rsi,8), %r8
movl $288, %r9d ## imm = 0x120
xorl %edx, %edx
LBB0_31: ## =>This Inner Loop Header: Depth=1
movq 24(%r13), %r10
addq %r9, %r10
addq $-288, %r10 ## imm = 0xFEE0
movq 32(%r14), %r11
addq %r8, %r11
movq %r10, (%r11,%rdx,8)
movq 24(%r13), %r10
addq %r9, %r10
addq $-192, %r10
movq 32(%r14), %r11
addq %r8, %r11
movq %r10, 8(%r11,%rdx,8)
movq 24(%r13), %r10
addq %r9, %r10
addq $-96, %r10
movq 32(%r14), %r11
addq %r8, %r11
movq %r10, 16(%r11,%rdx,8)
movq 24(%r13), %r10
addq %r9, %r10
movq 32(%r14), %r11
addq %r8, %r11
movq %r10, 24(%r11,%rdx,8)
addq $4, %rdx
addq $384, %r9 ## imm = 0x180
cmpq %rdx, %rdi
jne LBB0_31
LBB0_32:
testq %rcx, %rcx
je LBB0_35
## %bb.33:
leaq (%rdx,%rsi), %rdi
shlq $5, %rdx
leaq (%rdx,%rdx,2), %rdx
LBB0_34: ## =>This Inner Loop Header: Depth=1
movq 24(%r13), %r8
addq %rdx, %r8
movq 32(%r14), %r9
movq %r8, (%r9,%rdi,8)
incq %rdi
addq $96, %rdx
decq %rcx
jne LBB0_34
LBB0_35:
addl %eax, %esi
movl %esi, (%r14)
movl 16(%r13), %eax
addl %eax, 24(%r14)
movq _PAGE_SHIFT@GOTPCREL(%rip), %rax
movzbl (%rax), %ecx
movslq %ebx, %rax
sarl %cl, %ebx
addl %ebx, 4(%r14)
addq %rax, 16(%r14)
leaq L_.str.9(%rip), %rdi
## kill: def $esi killed $esi killed $rsi
xorl %eax, %eax
callq _DRM_DEBUG
movl (%r13), %esi
leaq L_.str.10(%rip), %rdi
xorl %eax, %eax
callq _DRM_DEBUG
movq -56(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rdi
callq _DRM_UNLOCK
movl (%r13), %eax
movl %eax, (%r15)
movl %r12d, 4(%r15)
movq __DRM_DMA_USE_SG@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 8(%r14)
movq %rbx, %rdi
callq _atomic_dec
xorl %eax, %eax
jmp LBB0_36
.cfi_endproc
## -- End function
.comm _DRIVER_SG,4,2 ## @DRIVER_SG
.comm _EINVAL,4,2 ## @EINVAL
.comm _DRM_CURPROC,4,2 ## @DRM_CURPROC
.comm _EPERM,4,2 ## @EPERM
.comm __DRM_PAGE_ALIGN,4,2 ## @_DRM_PAGE_ALIGN
.comm _PAGE_SHIFT,4,2 ## @PAGE_SHIFT
.comm _PAGE_SIZE,4,2 ## @PAGE_SIZE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "count: %d\n"
L_.str.1: ## @.str.1
.asciz "order: %d\n"
L_.str.2: ## @.str.2
.asciz "size: %d\n"
L_.str.3: ## @.str.3
.asciz "agp_offset: %lu\n"
L_.str.4: ## @.str.4
.asciz "alignment: %d\n"
L_.str.5: ## @.str.5
.asciz "page_order: %d\n"
L_.str.6: ## @.str.6
.asciz "total: %d\n"
.comm _DRM_MIN_ORDER,4,2 ## @DRM_MIN_ORDER
.comm _DRM_MAX_ORDER,4,2 ## @DRM_MAX_ORDER
.comm _EBUSY,4,2 ## @EBUSY
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _DRM_MEM_BUFS,4,2 ## @DRM_MEM_BUFS
.comm _M_NOWAIT,4,2 ## @M_NOWAIT
.comm _M_ZERO,4,2 ## @M_ZERO
L_.str.7: ## @.str.7
.asciz "buffer %d @ %p\n"
L_.str.8: ## @.str.8
.asciz "byte_count: %d\n"
L_.str.9: ## @.str.9
.asciz "dma->buf_count : %d\n"
L_.str.10: ## @.str.10
.asciz "entry->buf_count : %d\n"
.comm __DRM_DMA_USE_SG,4,2 ## @_DRM_DMA_USE_SG
.no_dead_strip _drm_addbufs_sg
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function drm_addbufs_sg
_drm_addbufs_sg: ; @drm_addbufs_sg
.cfi_startproc
; %bb.0:
sub sp, sp, #144
stp x28, x27, [sp, #48] ; 16-byte Folded Spill
stp x26, x25, [sp, #64] ; 16-byte Folded Spill
stp x24, x23, [sp, #80] ; 16-byte Folded Spill
stp x22, x21, [sp, #96] ; 16-byte Folded Spill
stp x20, x19, [sp, #112] ; 16-byte Folded Spill
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x20, x1
mov x19, x0
ldr x28, [x0, #40]
Lloh0:
adrp x8, _DRIVER_SG@GOTPAGE
Lloh1:
ldr x8, [x8, _DRIVER_SG@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _drm_core_check_feature
cbz w0, LBB0_7
; %bb.1:
cbz x28, LBB0_7
; %bb.2:
Lloh3:
adrp x8, _DRM_CURPROC@GOTPAGE
Lloh4:
ldr x8, [x8, _DRM_CURPROC@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
bl _DRM_SUSER
cbz w0, LBB0_10
; %bb.3:
ldp w22, w0, [x20]
bl _drm_order
mov x24, x0
mov w8, #1 ; =0x1
lsl w21, w8, w0
ldr w8, [x20, #8]
Lloh6:
adrp x9, __DRM_PAGE_ALIGN@GOTPAGE
Lloh7:
ldr x9, [x9, __DRM_PAGE_ALIGN@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
mov x25, x21
orr w8, w9, w8
cbz w8, LBB0_5
; %bb.4:
mov x0, x21
bl _PAGE_ALIGN
mov x25, x0
LBB0_5:
Lloh9:
adrp x8, _PAGE_SHIFT@GOTPAGE
Lloh10:
ldr x8, [x8, _PAGE_SHIFT@GOTPAGEOFF]
Lloh11:
ldr w8, [x8]
sub w8, w24, w8
bic w26, w8, w8, asr #31
Lloh12:
adrp x8, _PAGE_SIZE@GOTPAGE
Lloh13:
ldr x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh14:
ldr w8, [x8]
lsl w23, w8, w26
ldr x27, [x20, #16]
Lloh15:
adrp x0, l_.str@PAGE
Lloh16:
add x0, x0, l_.str@PAGEOFF
mov x1, x22
bl _DRM_DEBUG
Lloh17:
adrp x0, l_.str.1@PAGE
Lloh18:
add x0, x0, l_.str.1@PAGEOFF
mov x1, x24
bl _DRM_DEBUG
Lloh19:
adrp x0, l_.str.2@PAGE
Lloh20:
add x0, x0, l_.str.2@PAGEOFF
mov x1, x21
bl _DRM_DEBUG
Lloh21:
adrp x0, l_.str.3@PAGE
Lloh22:
add x0, x0, l_.str.3@PAGEOFF
mov x1, x27
bl _DRM_DEBUG
Lloh23:
adrp x0, l_.str.4@PAGE
Lloh24:
add x0, x0, l_.str.4@PAGEOFF
mov x1, x25
bl _DRM_DEBUG
Lloh25:
adrp x0, l_.str.5@PAGE
Lloh26:
add x0, x0, l_.str.5@PAGEOFF
mov x1, x26
bl _DRM_DEBUG
Lloh27:
adrp x0, l_.str.6@PAGE
Lloh28:
add x0, x0, l_.str.6@PAGEOFF
mov x1, x23
bl _DRM_DEBUG
Lloh29:
adrp x8, _DRM_MIN_ORDER@GOTPAGE
Lloh30:
ldr x8, [x8, _DRM_MIN_ORDER@GOTPAGEOFF]
Lloh31:
ldr w8, [x8]
cmp w24, w8
b.ge LBB0_11
; %bb.6:
Lloh32:
adrp x8, _DRM_MAX_ORDER@GOTPAGE
Lloh33:
ldr x8, [x8, _DRM_MAX_ORDER@GOTPAGEOFF]
Lloh34:
ldr w8, [x8]
cmp w24, w8
b.le LBB0_11
LBB0_7:
Lloh35:
adrp x8, _EINVAL@GOTPAGE
Lloh36:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_8:
ldr w8, [x8]
neg w0, w8
LBB0_9:
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
ldp x20, x19, [sp, #112] ; 16-byte Folded Reload
ldp x22, x21, [sp, #96] ; 16-byte Folded Reload
ldp x24, x23, [sp, #80] ; 16-byte Folded Reload
ldp x26, x25, [sp, #64] ; 16-byte Folded Reload
ldp x28, x27, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #144
ret
LBB0_10:
Lloh37:
adrp x8, _EPERM@GOTPAGE
Lloh38:
ldr x8, [x8, _EPERM@GOTPAGEOFF]
b LBB0_8
LBB0_11:
add x0, x19, #24
bl _mtx_lock
ldr x8, [x19, #32]
cbz x8, LBB0_13
; %bb.12:
add x0, x19, #24
bl _mtx_unlock
Lloh39:
adrp x8, _EBUSY@GOTPAGE
Lloh40:
ldr x8, [x8, _EBUSY@GOTPAGEOFF]
b LBB0_8
LBB0_13:
mov x0, x19
bl _atomic_inc
add x0, x19, #24
bl _mtx_unlock
mov x0, x19
bl _DRM_LOCK
ldr x8, [x28, #40]
sxtw x9, w24
add x23, x8, x9, lsl #5
ldr w8, [x23]
cbz w8, LBB0_15
LBB0_14:
mov x0, x19
bl _DRM_UNLOCK
mov x0, x19
bl _atomic_dec
Lloh41:
adrp x8, _ENOMEM@GOTPAGE
Lloh42:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
b LBB0_8
LBB0_15:
cmp w22, #1, lsl #12 ; =4096
b.ls LBB0_17
; %bb.16:
mov x0, x19
bl _DRM_UNLOCK
mov x0, x19
bl _atomic_dec
b LBB0_7
LBB0_17:
add w8, w22, w22, lsl #1
lsl w0, w8, #5
Lloh43:
adrp x8, _DRM_MEM_BUFS@GOTPAGE
Lloh44:
ldr x8, [x8, _DRM_MEM_BUFS@GOTPAGEOFF]
Lloh45:
ldr w1, [x8]
Lloh46:
adrp x8, _M_NOWAIT@GOTPAGE
Lloh47:
ldr x8, [x8, _M_NOWAIT@GOTPAGEOFF]
Lloh48:
ldr w8, [x8]
Lloh49:
adrp x9, _M_ZERO@GOTPAGE
Lloh50:
ldr x9, [x9, _M_ZERO@GOTPAGEOFF]
Lloh51:
ldr w9, [x9]
orr w2, w9, w8
bl _malloc
str x0, [x23, #24]
cbz x0, LBB0_14
; %bb.18:
stp w21, w26, [x23, #4]
ldr w8, [x23]
cmp w8, w22
str x23, [sp, #40] ; 8-byte Folded Spill
mov w1, #0 ; =0x0
b.ge LBB0_22
; %bb.19:
mov x23, #0 ; =0x0
sxtw x10, w25
stp x10, x27, [sp, #16] ; 16-byte Folded Spill
str w22, [sp, #32] ; 4-byte Folded Spill
LBB0_20: ; =>This Inner Loop Header: Depth=1
str w1, [sp, #36] ; 4-byte Folded Spill
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldr x9, [x9, #24]
mov w10, #96 ; =0x60
smaddl x22, w8, w10, x9
ldr w9, [x28]
sub w8, w9, w8
stp w8, w25, [x22]
str w24, [x22, #8]
ldr x8, [x28, #16]
add x8, x23, x8
stp x8, xzr, [x22, #80]
ldr x8, [x19, #16]
ldr x8, [x8]
add x9, x27, x23
add x8, x9, x8
str x9, [x22, #16]
str x8, [x22, #32]
movi.2d v0, #0000000000000000
stp q0, q0, [x22, #48]
ldr x8, [x19, #8]
ldr w0, [x8]
str w0, [x22, #24]
Lloh52:
adrp x8, _DRM_MEM_BUFS@GOTPAGE
Lloh53:
ldr x8, [x8, _DRM_MEM_BUFS@GOTPAGEOFF]
Lloh54:
ldr w1, [x8]
Lloh55:
adrp x8, _M_NOWAIT@GOTPAGE
Lloh56:
ldr x8, [x8, _M_NOWAIT@GOTPAGEOFF]
Lloh57:
ldr w8, [x8]
Lloh58:
adrp x9, _M_ZERO@GOTPAGE
Lloh59:
ldr x9, [x9, _M_ZERO@GOTPAGEOFF]
Lloh60:
ldr w9, [x9]
orr w2, w9, w8
bl _malloc
str x0, [x22, #40]
cbz x0, LBB0_28
; %bb.21: ; in Loop: Header=BB0_20 Depth=1
ldr x27, [sp, #40] ; 8-byte Folded Reload
ldr w1, [x27]
ldr x8, [x22, #32]
str x8, [sp]
Lloh61:
adrp x0, l_.str.7@PAGE
Lloh62:
add x0, x0, l_.str.7@PAGEOFF
bl _DRM_DEBUG
ldr x8, [sp, #16] ; 8-byte Folded Reload
add x23, x23, x8
ldr w9, [x27]
sub w8, w9, #1
str w8, [x27]
ldr x27, [sp, #24] ; 8-byte Folded Reload
Lloh63:
adrp x10, _PAGE_SIZE@GOTPAGE
Lloh64:
ldr x10, [x10, _PAGE_SIZE@GOTPAGEOFF]
Lloh65:
ldr w10, [x10]
lsl w10, w10, w26
ldp w22, w1, [sp, #32] ; 8-byte Folded Reload
add w1, w10, w1
cmp w9, w22
b.le LBB0_20
LBB0_22:
Lloh66:
adrp x0, l_.str.8@PAGE
Lloh67:
add x0, x0, l_.str.8@PAGEOFF
mov x23, x1
bl _DRM_DEBUG
ldr x0, [x28, #32]
ldr w8, [x28]
ldr x22, [sp, #40] ; 8-byte Folded Reload
ldr w9, [x22]
add w8, w9, w8
lsl w1, w8, #3
Lloh68:
adrp x8, _DRM_MEM_BUFS@GOTPAGE
Lloh69:
ldr x8, [x8, _DRM_MEM_BUFS@GOTPAGEOFF]
Lloh70:
ldr w2, [x8]
Lloh71:
adrp x8, _M_NOWAIT@GOTPAGE
Lloh72:
ldr x8, [x8, _M_NOWAIT@GOTPAGEOFF]
Lloh73:
ldr w3, [x8]
bl _realloc
cbz x0, LBB0_27
; %bb.23:
str x0, [x28, #32]
ldr w8, [x22]
ldrsw x9, [x28]
cmp w8, #1
b.lt LBB0_26
; %bb.24:
mov x10, #0 ; =0x0
lsl x11, x9, #3
add x12, x8, x8, lsl #1
lsl x12, x12, #5
LBB0_25: ; =>This Inner Loop Header: Depth=1
ldr x13, [x22, #24]
add x13, x13, x10
ldr x14, [x28, #32]
str x13, [x14, x11]
add x11, x11, #8
add x10, x10, #96
cmp x12, x10
b.ne LBB0_25
LBB0_26:
add w1, w9, w8
str w1, [x28]
ldr w8, [x22, #16]
ldr w9, [x28, #24]
add w8, w9, w8
str w8, [x28, #24]
Lloh74:
adrp x8, _PAGE_SHIFT@GOTPAGE
Lloh75:
ldr x8, [x8, _PAGE_SHIFT@GOTPAGEOFF]
Lloh76:
ldr w8, [x8]
asr w8, w23, w8
ldr w9, [x28, #4]
add w8, w9, w8
str w8, [x28, #4]
ldr x8, [x28, #16]
add x8, x8, w23, sxtw
str x8, [x28, #16]
Lloh77:
adrp x0, l_.str.9@PAGE
Lloh78:
add x0, x0, l_.str.9@PAGEOFF
bl _DRM_DEBUG
ldr w1, [x22]
Lloh79:
adrp x0, l_.str.10@PAGE
Lloh80:
add x0, x0, l_.str.10@PAGEOFF
bl _DRM_DEBUG
mov x0, x19
bl _DRM_UNLOCK
ldr w8, [x22]
stp w8, w21, [x20]
Lloh81:
adrp x8, __DRM_DMA_USE_SG@GOTPAGE
Lloh82:
ldr x8, [x8, __DRM_DMA_USE_SG@GOTPAGEOFF]
Lloh83:
ldr w8, [x8]
str w8, [x28, #8]
mov x0, x19
bl _atomic_dec
mov w0, #0 ; =0x0
b LBB0_9
LBB0_27:
mov x0, x19
mov x1, x22
bl _drm_cleanup_buf_error
b LBB0_14
LBB0_28:
ldr w8, [sp, #32] ; 4-byte Folded Reload
ldr x1, [sp, #40] ; 8-byte Folded Reload
str w8, [x1]
mov x0, x19
bl _drm_cleanup_buf_error
b LBB0_14
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.loh AdrpAdd Lloh27, Lloh28
.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 AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34
.loh AdrpLdrGot Lloh35, Lloh36
.loh AdrpLdrGot Lloh37, Lloh38
.loh AdrpLdrGot Lloh39, Lloh40
.loh AdrpLdrGot Lloh41, Lloh42
.loh AdrpLdrGotLdr Lloh49, Lloh50, Lloh51
.loh AdrpLdrGotLdr Lloh46, Lloh47, Lloh48
.loh AdrpLdrGotLdr Lloh43, Lloh44, Lloh45
.loh AdrpLdrGotLdr Lloh58, Lloh59, Lloh60
.loh AdrpLdrGotLdr Lloh55, Lloh56, Lloh57
.loh AdrpLdrGotLdr Lloh52, Lloh53, Lloh54
.loh AdrpLdrGotLdr Lloh63, Lloh64, Lloh65
.loh AdrpAdd Lloh61, Lloh62
.loh AdrpLdrGotLdr Lloh71, Lloh72, Lloh73
.loh AdrpLdrGotLdr Lloh68, Lloh69, Lloh70
.loh AdrpAdd Lloh66, Lloh67
.loh AdrpLdrGotLdr Lloh81, Lloh82, Lloh83
.loh AdrpAdd Lloh79, Lloh80
.loh AdrpAdd Lloh77, Lloh78
.loh AdrpLdrGotLdr Lloh74, Lloh75, Lloh76
.cfi_endproc
; -- End function
.comm _DRIVER_SG,4,2 ; @DRIVER_SG
.comm _EINVAL,4,2 ; @EINVAL
.comm _DRM_CURPROC,4,2 ; @DRM_CURPROC
.comm _EPERM,4,2 ; @EPERM
.comm __DRM_PAGE_ALIGN,4,2 ; @_DRM_PAGE_ALIGN
.comm _PAGE_SHIFT,4,2 ; @PAGE_SHIFT
.comm _PAGE_SIZE,4,2 ; @PAGE_SIZE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "count: %d\n"
l_.str.1: ; @.str.1
.asciz "order: %d\n"
l_.str.2: ; @.str.2
.asciz "size: %d\n"
l_.str.3: ; @.str.3
.asciz "agp_offset: %lu\n"
l_.str.4: ; @.str.4
.asciz "alignment: %d\n"
l_.str.5: ; @.str.5
.asciz "page_order: %d\n"
l_.str.6: ; @.str.6
.asciz "total: %d\n"
.comm _DRM_MIN_ORDER,4,2 ; @DRM_MIN_ORDER
.comm _DRM_MAX_ORDER,4,2 ; @DRM_MAX_ORDER
.comm _EBUSY,4,2 ; @EBUSY
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _DRM_MEM_BUFS,4,2 ; @DRM_MEM_BUFS
.comm _M_NOWAIT,4,2 ; @M_NOWAIT
.comm _M_ZERO,4,2 ; @M_ZERO
l_.str.7: ; @.str.7
.asciz "buffer %d @ %p\n"
l_.str.8: ; @.str.8
.asciz "byte_count: %d\n"
l_.str.9: ; @.str.9
.asciz "dma->buf_count : %d\n"
l_.str.10: ; @.str.10
.asciz "entry->buf_count : %d\n"
.comm __DRM_DMA_USE_SG,4,2 ; @_DRM_DMA_USE_SG
.no_dead_strip _drm_addbufs_sg
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function allocateEnvList
_allocateEnvList: ## @allocateEnvList
.cfi_startproc
## %bb.0:
xorl %eax, %eax
cmpl %edx, (%rsi)
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 %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %ebx
movl $-1, %eax
cmpl $8192, %edx ## imm = 0x2000
jg LBB0_4
## %bb.2:
movq %rsi, %r14
movq %rdi, %r15
movq (%rdi), %rdi
leal (,%rbx,4), %esi
callq _realloc
movq %rax, %rcx
movl $-1, %eax
testq %rcx, %rcx
je LBB0_4
## %bb.3:
movq %rcx, (%r15)
movl %ebx, (%r14)
xorl %eax, %eax
LBB0_4:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
LBB0_5:
retq
.cfi_endproc
## -- End function
.no_dead_strip _allocateEnvList
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function allocateEnvList
_allocateEnvList: ; @allocateEnvList
.cfi_startproc
; %bb.0:
ldr w8, [x1]
cmp w8, w2
b.ge LBB0_3
; %bb.1:
cmp w2, #2, lsl #12 ; =8192
b.le LBB0_4
; %bb.2:
mov w0, #-1 ; =0xffffffff
ret
LBB0_3:
mov w0, #0 ; =0x0
ret
LBB0_4:
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
ldr x0, [x0]
mov x20, x2
lsl w1, w2, #2
bl _realloc
cbz x0, LBB0_6
; %bb.5:
mov x8, x0
mov w0, #0 ; =0x0
str x8, [x21]
str w20, [x19]
b LBB0_7
LBB0_6:
mov w0, #-1 ; =0xffffffff
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
.no_dead_strip _allocateEnvList
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _vc_uri_add_query ## -- Begin function vc_uri_add_query
.p2align 4, 0x90
_vc_uri_add_query: ## @vc_uri_add_query
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %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
xorl %ebx, %ebx
movq %rdi, %rax
orq %rsi, %rax
je LBB0_9
## %bb.1:
movq %rsi, %r12
movq %rdi, %r14
movq %rdx, -48(%rbp) ## 8-byte Spill
movslq (%rdi), %r15
movq 8(%rdi), %rdi
testq %rdi, %rdi
je LBB0_3
## %bb.2:
movl %r15d, %esi
shll $4, %esi
addl $-16, %esi
callq _realloc
testq %rax, %rax
jne LBB0_5
jmp LBB0_9
LBB0_3:
movl $16, %edi
callq _malloc
testq %rax, %rax
je LBB0_9
LBB0_5:
movq %rax, 8(%r14)
shlq $4, %r15
leaq (%rax,%r15), %r13
xorps %xmm0, %xmm0
movups %xmm0, (%rax,%r15)
movq %r12, %rdi
movq %r13, %rsi
callq _duplicate_string
testq %rax, %rax
je LBB0_9
## %bb.6:
leaq 8(%r13), %rsi
movq -48(%rbp), %rdi ## 8-byte Reload
callq _duplicate_string
testq %rax, %rax
je LBB0_8
## %bb.7:
incl (%r14)
movl $1, %ebx
jmp LBB0_9
LBB0_8:
movq %r13, %rdi
callq _release_string
LBB0_9:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _vc_uri_add_query ; -- Begin function vc_uri_add_query
.p2align 2
_vc_uri_add_query: ; @vc_uri_add_query
.cfi_startproc
; %bb.0:
orr x8, x0, x1
cbz x8, LBB0_3
; %bb.1:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x21, x1
mov x19, x0
mov x20, x2
ldrsw x22, [x0]
ldr x0, [x0, #8]
cbz x0, LBB0_4
; %bb.2:
lsl w8, w22, #4
sub w1, w8, #16
bl _realloc
cbnz x0, LBB0_5
b LBB0_9
LBB0_3:
mov w0, #0 ; =0x0
ret
LBB0_4:
mov w0, #16 ; =0x10
bl _malloc
cbz x0, LBB0_9
LBB0_5:
str x0, [x19, #8]
add x22, x0, x22, lsl #4
stp xzr, xzr, [x22]
mov x0, x21
mov x1, x22
bl _duplicate_string
cbz x0, LBB0_9
; %bb.6:
add x1, x22, #8
mov x0, x20
bl _duplicate_string
cbz x0, LBB0_8
; %bb.7:
ldr w8, [x19]
add w8, w8, #1
str w8, [x19]
mov w0, #1 ; =0x1
b LBB0_9
LBB0_8:
mov x0, x22
bl _release_string
mov w0, #0 ; =0x0
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
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _tcase_add_test ## -- Begin function tcase_add_test
.p2align 4, 0x90
_tcase_add_test: ## @tcase_add_test
.cfi_startproc
## %bb.0:
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
xorl %edi, %edi
testq %rbx, %rbx
setne %dil
callq _assert
movslq (%rbx), %r12
movl 4(%rbx), %eax
cmpl %eax, %r12d
jne LBB0_1
## %bb.2:
leaq -400(,%r12,4), %rsi
addq $-100, %r12
movq 8(%rbx), %rdi
callq _realloc
movq %rax, %r15
xorl %edi, %edi
testq %rax, %rax
setne %dil
callq _assert
movq %r15, 8(%rbx)
movl %r12d, (%rbx)
movl 4(%rbx), %eax
jmp LBB0_3
LBB0_1:
movq 8(%rbx), %r15
LBB0_3:
cltq
movl %r14d, (%r15,%rax,4)
incl 4(%rbx)
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 _tcase_add_test ; -- Begin function tcase_add_test
.p2align 2
_tcase_add_test: ; @tcase_add_test
.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 x0, #0
cset w0, ne
bl _assert
ldp w9, w8, [x19]
cmp w9, w8
b.ne LBB0_2
; %bb.1:
sub w22, w9, #100
sbfiz x1, x22, #2, #32
ldr x0, [x19, #8]
bl _realloc
mov x21, x0
cmp x0, #0
cset w0, ne
bl _assert
str x21, [x19, #8]
str w22, [x19]
ldr w8, [x19, #4]
b LBB0_3
LBB0_2:
ldr x21, [x19, #8]
LBB0_3:
str w20, [x21, w8, sxtw #2]
ldr w8, [x19, #4]
add w8, w8, #1
str w8, [x19, #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
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _socket_receive ## -- Begin function socket_receive
.p2align 4, 0x90
_socket_receive: ## @socket_receive
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_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 $200, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
testl %edi, %edi
jle LBB0_17
## %bb.1:
movl %esi, %r14d
movl %edi, %r15d
leal 1(%r15), %r12d
leal -1(%r15), %r13d
leaq -212(%rbp), %rbx
movq $0, -184(%rbp) ## 8-byte Folded Spill
movq $0, -192(%rbp) ## 8-byte Folded Spill
movl %r12d, -196(%rbp) ## 4-byte Spill
jmp LBB0_4
.p2align 4, 0x90
LBB0_2: ## in Loop: Header=BB0_4 Depth=1
movl %r12d, %edi
movq %rbx, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
LBB0_3: ## in Loop: Header=BB0_4 Depth=1
callq _select
testl %eax, %eax
jne LBB0_6
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
callq _FD_ZERO
movl %r15d, %edi
movq %rbx, %rsi
callq _FD_SET
testl %r14d, %r14d
jle LBB0_2
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movl %r14d, -232(%rbp)
movq $0, -224(%rbp)
movl %r13d, %edi
movq %rbx, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
leaq -232(%rbp), %r8
jmp LBB0_3
LBB0_6: ## in Loop: Header=BB0_4 Depth=1
js LBB0_17
## %bb.7: ## in Loop: Header=BB0_4 Depth=1
movl %r15d, %edi
leaq -176(%rbp), %rsi
movl $128, %edx
xorl %ecx, %ecx
callq _recv
## kill: def $eax killed $eax def $rax
testl %eax, %eax
js LBB0_17
## %bb.8: ## in Loop: Header=BB0_4 Depth=1
je LBB0_14
## %bb.9: ## in Loop: Header=BB0_4 Depth=1
movq -184(%rbp), %r12 ## 8-byte Reload
leal (%rax,%r12), %esi
incl %esi
movq -192(%rbp), %rdi ## 8-byte Reload
movq %rax, -208(%rbp) ## 8-byte Spill
callq _realloc
testq %rax, %rax
je LBB0_17
## %bb.10: ## in Loop: Header=BB0_4 Depth=1
movq -208(%rbp), %rdx ## 8-byte Reload
movl %edx, %ecx
addl %r12d, %ecx
movl %ecx, -200(%rbp) ## 4-byte Spill
movl %r12d, %edi
movq %rax, -192(%rbp) ## 8-byte Spill
addq %rax, %rdi
leaq -176(%rbp), %rsi
## kill: def $edx killed $edx killed $rdx
callq _memcpy
movl -200(%rbp), %eax ## 4-byte Reload
## kill: def $eax killed $eax def $rax
movq %rax, -184(%rbp) ## 8-byte Spill
movl -196(%rbp), %r12d ## 4-byte Reload
jmp LBB0_4
LBB0_14:
movq -192(%rbp), %rax ## 8-byte Reload
testq %rax, %rax
movq -184(%rbp), %rcx ## 8-byte Reload
je LBB0_17
## %bb.15:
movl %ecx, %ecx
movb $0, (%rax,%rcx)
jmp LBB0_18
LBB0_17:
xorl %eax, %eax
LBB0_18:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_20
## %bb.19:
addq $200, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_20:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _socket_receive ; -- Begin function socket_receive
.p2align 2
_socket_receive: ; @socket_receive
.cfi_startproc
; %bb.0:
sub sp, sp, #240
stp x26, x25, [sp, #160] ; 16-byte Folded Spill
stp x24, x23, [sp, #176] ; 16-byte Folded Spill
stp x22, x21, [sp, #192] ; 16-byte Folded Spill
stp x20, x19, [sp, #208] ; 16-byte Folded Spill
stp x29, x30, [sp, #224] ; 16-byte Folded Spill
add x29, sp, #224
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-72]
subs w22, w0, #1
b.lt LBB0_10
; %bb.1:
mov x20, x1
mov x21, x0
mov w24, #0 ; =0x0
mov x19, #0 ; =0x0
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add w0, w21, #1
add x1, sp, #4
mov x2, #0 ; =0x0
mov x3, #0 ; =0x0
mov x4, #0 ; =0x0
bl _select
cbnz w0, LBB0_5
LBB0_3: ; =>This Inner Loop Header: Depth=1
add x0, sp, #4
bl _FD_ZERO
add x1, sp, #4
mov x0, x21
bl _FD_SET
cmp w20, #1
b.lt LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
str w20, [sp, #8]
str xzr, [sp, #16]
add x1, sp, #4
add x4, sp, #8
mov x0, x22
mov x2, #0 ; =0x0
mov x3, #0 ; =0x0
bl _select
cbz w0, LBB0_3
LBB0_5: ; in Loop: Header=BB0_3 Depth=1
tbnz w0, #31, LBB0_10
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
add x1, sp, #24
mov x0, x21
mov w2, #128 ; =0x80
mov w3, #0 ; =0x0
bl _recv
tbnz w0, #31, LBB0_10
; %bb.7: ; in Loop: Header=BB0_3 Depth=1
mov x23, x0
cbz w0, LBB0_13
; %bb.8: ; in Loop: Header=BB0_3 Depth=1
add w25, w23, w24
add w1, w25, #1
mov x0, x19
bl _realloc
mov x19, x0
cbz x0, LBB0_11
; %bb.9: ; in Loop: Header=BB0_3 Depth=1
add x0, x19, w24, uxtw
add x1, sp, #24
mov x2, x23
bl _memcpy
mov x24, x25
b LBB0_3
LBB0_10:
mov x19, #0 ; =0x0
LBB0_11:
ldur x8, [x29, #-72]
Lloh3:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh4:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_15
; %bb.12:
mov x0, x19
ldp x29, x30, [sp, #224] ; 16-byte Folded Reload
ldp x20, x19, [sp, #208] ; 16-byte Folded Reload
ldp x22, x21, [sp, #192] ; 16-byte Folded Reload
ldp x24, x23, [sp, #176] ; 16-byte Folded Reload
ldp x26, x25, [sp, #160] ; 16-byte Folded Reload
add sp, sp, #240
ret
LBB0_13:
cbz x19, LBB0_11
; %bb.14:
strb wzr, [x19, w24, uxtw]
b LBB0_11
LBB0_15:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function add_linux_shareopt
_add_linux_shareopt: ## @add_linux_shareopt
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_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
movq (%rdi), %rdi
testq %rdi, %rdi
je LBB0_1
## %bb.2:
callq _strlen
movslq %eax, %r13
movq (%rbx), %r12
jmp LBB0_3
LBB0_1:
xorl %r12d, %r12d
xorl %r13d, %r13d
LBB0_3:
movq %r15, -48(%rbp) ## 8-byte Spill
movq %r15, %rdi
callq _strlen
movslq %eax, %r15
testq %r14, %r14
je LBB0_4
## %bb.5:
movq %r14, %rdi
callq _strlen
incl %eax
cltq
jmp LBB0_6
LBB0_4:
xorl %eax, %eax
LBB0_6:
addq %r13, %r15
leaq (%rax,%r15), %rsi
addq $2, %rsi
movq %r12, %rdi
callq _realloc
testq %rax, %rax
je LBB0_7
## %bb.8:
movq %rax, %r12
movb $0, (%rax,%r13)
leaq L_.str(%rip), %rsi
movq %rax, %rdi
callq _strcat
movq %r12, %rdi
movq -48(%rbp), %rsi ## 8-byte Reload
callq _strcat
testq %r14, %r14
je LBB0_10
## %bb.9:
leaq L_.str.1(%rip), %rsi
movq %r12, %rdi
callq _strcat
movq %r12, %rdi
movq %r14, %rsi
callq _strcat
LBB0_10:
movq %r12, (%rbx)
movq _SA_OK@GOTPCREL(%rip), %rax
jmp LBB0_11
LBB0_7:
movq _SA_NO_MEMORY@GOTPCREL(%rip), %rax
LBB0_11:
movl (%rax), %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SA_NO_MEMORY,4,2 ## @SA_NO_MEMORY
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz ","
L_.str.1: ## @.str.1
.asciz "="
.comm _SA_OK,4,2 ## @SA_OK
.no_dead_strip _add_linux_shareopt
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function add_linux_shareopt
_add_linux_shareopt: ; @add_linux_shareopt
.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
ldr x0, [x0]
cbz x0, LBB0_2
; %bb.1:
bl _strlen
; kill: def $w0 killed $w0 def $x0
sxtw x23, w0
ldr x22, [x19]
b LBB0_3
LBB0_2:
mov x22, #0 ; =0x0
mov x23, #0 ; =0x0
LBB0_3:
mov x0, x21
bl _strlen
; kill: def $w0 killed $w0 def $x0
sxtw x24, w0
cbz x20, LBB0_5
; %bb.4:
mov x0, x20
bl _strlen
add w8, w0, #1
sxtw x8, w8
b LBB0_6
LBB0_5:
mov x8, #0 ; =0x0
LBB0_6:
add x9, x23, x24
add x8, x9, x8
add x1, x8, #2
mov x0, x22
bl _realloc
cbz x0, LBB0_10
; %bb.7:
mov x22, x0
strb wzr, [x0, x23]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _strcat
mov x0, x22
mov x1, x21
bl _strcat
cbz x20, LBB0_9
; %bb.8:
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x22
bl _strcat
mov x0, x22
mov x1, x20
bl _strcat
LBB0_9:
str x22, [x19]
Lloh4:
adrp x8, _SA_OK@GOTPAGE
Lloh5:
ldr x8, [x8, _SA_OK@GOTPAGEOFF]
b LBB0_11
LBB0_10:
Lloh6:
adrp x8, _SA_NO_MEMORY@GOTPAGE
Lloh7:
ldr x8, [x8, _SA_NO_MEMORY@GOTPAGEOFF]
LBB0_11:
ldr w0, [x8]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _SA_NO_MEMORY,4,2 ; @SA_NO_MEMORY
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz ","
l_.str.1: ; @.str.1
.asciz "="
.comm _SA_OK,4,2 ; @SA_OK
.no_dead_strip _add_linux_shareopt
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function new_pes
_new_pes: ## @new_pes
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movl (%rdi), %r14d
cmpl %r14d, 4(%rdi)
jne LBB0_1
## %bb.2:
leal (%r14,%r14), %eax
testl %r14d, %r14d
movl $32, %r14d
cmovnel %eax, %r14d
movq 8(%rbx), %rdi
leal (,%r14,4), %esi
callq _realloc
movq %rax, 8(%rbx)
movl (%rbx), %eax
cmpl %r14d, %eax
jle LBB0_3
jmp LBB0_5
LBB0_1:
movl %r14d, %eax
LBB0_3:
movslq %eax, %r15
movslq %r14d, %r12
movq 8(%rbx), %rdi
leaq (,%r15,8), %r13
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
addq %r13, %rdi
xorl %esi, %esi
movl $4, %edx
callq _memset
movq 8(%rbx), %rdi
movq $-1, (%rdi,%r13)
decq %r15
addq $-8, %r13
cmpq %r12, %r15
jle LBB0_4
LBB0_5:
movl %r14d, (%rbx)
movl 4(%rbx), %eax
leal 1(%rax), %ecx
movl %ecx, 4(%rbx)
## kill: def $eax killed $eax killed $rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _new_pes
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function new_pes
_new_pes: ; @new_pes
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x0
ldp w20, w8, [x0]
mov x9, x20
cmp w8, w20
b.ne LBB0_2
; %bb.1:
lsl w8, w20, #1
mov w9, #32 ; =0x20
cmp w20, #0
csel w20, w9, w8, eq
ldr x0, [x19, #8]
lsl w1, w20, #2
bl _realloc
str x0, [x19, #8]
ldr w9, [x19]
cmp w9, w20
b.gt LBB0_4
LBB0_2:
sxtw x21, w9
sxtw x22, w20
ldr x8, [x19, #8]
sbfiz x23, x9, #3, #32
LBB0_3: ; =>This Inner Loop Header: Depth=1
add x0, x8, x23
mov w1, #0 ; =0x0
mov w2, #4 ; =0x4
bl _memset
ldr x8, [x19, #8]
movi.2d v0, #0xffffffffffffffff
str d0, [x8, x23]
sub x21, x21, #1
sub x23, x23, #8
cmp x21, x22
b.le LBB0_3
LBB0_4:
ldr w0, [x19, #4]
add w8, w0, #1
stp w20, w8, [x19]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _new_pes
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _ssh_rsa_verify ## -- Begin function ssh_rsa_verify
.p2align 4, 0x90
_ssh_rsa_verify: ## @ssh_rsa_verify
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $88, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r9, %r14
movq %r8, -112(%rbp) ## 8-byte Spill
movq %rcx, -104(%rbp) ## 8-byte Spill
movq %rdx, %r13
movq %rsi, %r12
movq %rdi, %r15
movq %rsp, -120(%rbp) ## 8-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq $0, -80(%rbp)
movq $0, -64(%rbp)
movq _SSH_DIGEST_MAX_LENGTH@GOTPCREL(%rip), %rax
movl (%rax), %ebx
leaq (,%rbx,4), %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, -72(%rbp) ## 8-byte Spill
movq $0, -56(%rbp)
testq %r15, %r15
je LBB0_2
## %bb.1:
cmpq $0, (%r15)
je LBB0_7
LBB0_2:
movl 8(%r15), %edi
callq _sshkey_type_plain
testq %r13, %r13
je LBB0_7
## %bb.3:
testq %r12, %r12
je LBB0_7
## %bb.4:
movq _KEY_RSA@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_7
## %bb.5:
movq (%r15), %rdi
leaq -128(%rbp), %rsi
xorl %edx, %edx
xorl %ecx, %ecx
callq _RSA_get0_key
movq -128(%rbp), %rdi
callq _BN_num_bits
movq _SSH_RSA_MINIMUM_MODULUS_SIZE@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jge LBB0_11
## %bb.6:
movq _SSH_ERR_KEY_LENGTH@GOTPCREL(%rip), %rax
jmp LBB0_8
LBB0_7:
movq _SSH_ERR_INVALID_ARGUMENT@GOTPCREL(%rip), %rax
LBB0_8:
movl (%rax), %eax
LBB0_9:
movq -120(%rbp), %rsp ## 8-byte Reload
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_38
## %bb.10:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_11:
movq %r12, %rdi
movq %r13, %rsi
callq _sshbuf_from
testq %rax, %rax
je LBB0_16
## %bb.12:
movq %rax, %r12
leaq -80(%rbp), %rsi
movq %rax, %rdi
xorl %edx, %edx
callq _sshbuf_get_cstring
testq %rax, %rax
je LBB0_17
LBB0_13:
movq _SSH_ERR_INVALID_FORMAT@GOTPCREL(%rip), %rax
LBB0_14:
movl (%rax), %eax
LBB0_15:
movq -56(%rbp), %rdi
movq -64(%rbp), %rsi
movl %eax, %r14d
callq _freezero
movq -80(%rbp), %rdi
callq _free
movq %r12, %rdi
callq _sshbuf_free
shll $2, %ebx
movq -72(%rbp), %rdi ## 8-byte Reload
movl %ebx, %esi
callq _explicit_bzero
movl %r14d, %eax
jmp LBB0_9
LBB0_16:
movq _SSH_ERR_ALLOC_FAIL@GOTPCREL(%rip), %rax
jmp LBB0_8
LBB0_17:
movq -80(%rbp), %rdi
callq _rsa_hash_id_from_ident
cmpl $-1, %eax
je LBB0_25
## %bb.18:
movl %eax, %r13d
testq %r14, %r14
je LBB0_22
## %bb.19:
leaq L_.str(%rip), %rsi
movq %r14, %rdi
callq _strcmp
testq %rax, %rax
je LBB0_22
## %bb.20:
movq %r14, %rdi
callq _rsa_hash_id_from_keyname
cmpl $-1, %eax
je LBB0_26
## %bb.21:
cmpl %eax, %r13d
jne LBB0_27
LBB0_22:
leaq -56(%rbp), %rsi
leaq -64(%rbp), %rdx
movq %r12, %rdi
callq _sshbuf_get_string
testq %rax, %rax
jne LBB0_13
## %bb.23:
movq %r12, %rdi
callq _sshbuf_len
testq %rax, %rax
je LBB0_28
## %bb.24:
movq _SSH_ERR_UNEXPECTED_TRAILING_DATA@GOTPCREL(%rip), %rax
jmp LBB0_14
LBB0_25:
movq _SSH_ERR_KEY_TYPE_MISMATCH@GOTPCREL(%rip), %rax
jmp LBB0_14
LBB0_26:
movq _SSH_ERR_INVALID_ARGUMENT@GOTPCREL(%rip), %rax
jmp LBB0_14
LBB0_27:
movq _SSH_ERR_SIGNATURE_INVALID@GOTPCREL(%rip), %rax
jmp LBB0_14
LBB0_28:
movq (%r15), %rdi
callq _RSA_size
movq %rax, %r14
subq -64(%rbp), %r14
jae LBB0_30
## %bb.29:
movq _SSH_ERR_KEY_BITS_MISMATCH@GOTPCREL(%rip), %rax
jmp LBB0_14
LBB0_30:
jbe LBB0_33
## %bb.31:
movl %r13d, -84(%rbp) ## 4-byte Spill
movq %r12, %r13
movq -56(%rbp), %r12
movq %r12, %rdi
movq %rax, -96(%rbp) ## 8-byte Spill
movq %rax, %rsi
callq _realloc
movq %rax, -56(%rbp)
testq %rax, %rax
je LBB0_37
## %bb.32:
leaq (,%r14,4), %rcx
movq %rax, %rdi
subq %rcx, %rdi
movq -64(%rbp), %rdx
movq %rax, %rsi
callq _memmove
movq -56(%rbp), %rdi
movl %r14d, %esi
callq _explicit_bzero
movq -96(%rbp), %rax ## 8-byte Reload
movq %rax, -64(%rbp)
movq %r13, %r12
movl -84(%rbp), %r13d ## 4-byte Reload
LBB0_33:
movl %r13d, %edi
callq _ssh_digest_bytes
testq %rax, %rax
je LBB0_36
## %bb.34:
movq %rax, %r14
leal (,%rbx,4), %r8d
movl %r13d, %edi
movq -104(%rbp), %rsi ## 8-byte Reload
movq -112(%rbp), %rdx ## 8-byte Reload
movq -72(%rbp), %rcx ## 8-byte Reload
callq _ssh_digest_memory
testl %eax, %eax
jne LBB0_15
## %bb.35:
movq -56(%rbp), %rcx
movq -64(%rbp), %r8
movq (%r15), %r9
movl %r13d, %edi
movq -72(%rbp), %rsi ## 8-byte Reload
movq %r14, %rdx
callq _openssh_RSA_verify
jmp LBB0_15
LBB0_36:
movq _SSH_ERR_INTERNAL_ERROR@GOTPCREL(%rip), %rax
jmp LBB0_14
LBB0_37:
movq %r12, -56(%rbp)
movq _SSH_ERR_ALLOC_FAIL@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq %r13, %r12
jmp LBB0_15
LBB0_38:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _SSH_ERR_INTERNAL_ERROR,4,2 ## @SSH_ERR_INTERNAL_ERROR
.comm _SSH_DIGEST_MAX_LENGTH,4,2 ## @SSH_DIGEST_MAX_LENGTH
.comm _KEY_RSA,8,3 ## @KEY_RSA
.comm _SSH_ERR_INVALID_ARGUMENT,4,2 ## @SSH_ERR_INVALID_ARGUMENT
.comm _SSH_RSA_MINIMUM_MODULUS_SIZE,8,3 ## @SSH_RSA_MINIMUM_MODULUS_SIZE
.comm _SSH_ERR_KEY_LENGTH,4,2 ## @SSH_ERR_KEY_LENGTH
.comm _SSH_ERR_ALLOC_FAIL,4,2 ## @SSH_ERR_ALLOC_FAIL
.comm _SSH_ERR_INVALID_FORMAT,4,2 ## @SSH_ERR_INVALID_FORMAT
.comm _SSH_ERR_KEY_TYPE_MISMATCH,4,2 ## @SSH_ERR_KEY_TYPE_MISMATCH
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "ssh-rsa-cert-v01@openssh.com"
.comm _SSH_ERR_SIGNATURE_INVALID,4,2 ## @SSH_ERR_SIGNATURE_INVALID
.comm _SSH_ERR_UNEXPECTED_TRAILING_DATA,4,2 ## @SSH_ERR_UNEXPECTED_TRAILING_DATA
.comm _SSH_ERR_KEY_BITS_MISMATCH,4,2 ## @SSH_ERR_KEY_BITS_MISMATCH
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _ssh_rsa_verify ; -- Begin function ssh_rsa_verify
.p2align 2
_ssh_rsa_verify: ; @ssh_rsa_verify
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
sub sp, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x25, x5
mov x23, x4
mov x24, x3
mov x20, x2
mov x22, x1
mov x21, x0
mov x28, sp
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-88]
stp xzr, xzr, [x29, #-112]
Lloh3:
adrp x8, _SSH_DIGEST_MAX_LENGTH@GOTPAGE
Lloh4:
ldr x8, [x8, _SSH_DIGEST_MAX_LENGTH@GOTPAGEOFF]
Lloh5:
ldr w26, [x8]
lsl x8, x26, #2
mov x9, x8
Lloh6:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh7:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x7fffffff0
sub x19, x9, x8
mov sp, x19
stur xzr, [x29, #-120]
cbz x0, LBB0_2
; %bb.1:
ldr x8, [x21]
cbz x8, LBB0_7
LBB0_2:
ldr w0, [x21, #8]
bl _sshkey_type_plain
cbz x20, LBB0_7
; %bb.3:
cbz x22, LBB0_7
; %bb.4:
Lloh8:
adrp x8, _KEY_RSA@GOTPAGE
Lloh9:
ldr x8, [x8, _KEY_RSA@GOTPAGEOFF]
Lloh10:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_7
; %bb.5:
ldr x0, [x21]
sub x1, x29, #96
mov x2, #0 ; =0x0
mov x3, #0 ; =0x0
bl _RSA_get0_key
ldur x0, [x29, #-96]
bl _BN_num_bits
Lloh11:
adrp x8, _SSH_RSA_MINIMUM_MODULUS_SIZE@GOTPAGE
Lloh12:
ldr x8, [x8, _SSH_RSA_MINIMUM_MODULUS_SIZE@GOTPAGEOFF]
Lloh13:
ldr x8, [x8]
cmp x0, x8
b.ge LBB0_11
; %bb.6:
Lloh14:
adrp x8, _SSH_ERR_KEY_LENGTH@GOTPAGE
Lloh15:
ldr x8, [x8, _SSH_ERR_KEY_LENGTH@GOTPAGEOFF]
b LBB0_8
LBB0_7:
Lloh16:
adrp x8, _SSH_ERR_INVALID_ARGUMENT@GOTPAGE
Lloh17:
ldr x8, [x8, _SSH_ERR_INVALID_ARGUMENT@GOTPAGEOFF]
LBB0_8:
ldr w0, [x8]
LBB0_9:
mov sp, x28
ldur x8, [x29, #-88]
Lloh18:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh19:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_38
; %bb.10:
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_11:
mov x0, x22
mov x1, x20
bl _sshbuf_from
cbz x0, LBB0_16
; %bb.12:
mov x20, x0
sub x1, x29, #104
mov x2, #0 ; =0x0
bl _sshbuf_get_cstring
lsl w22, w26, #2
cbz x0, LBB0_17
LBB0_13:
Lloh21:
adrp x8, _SSH_ERR_INVALID_FORMAT@GOTPAGE
Lloh22:
ldr x8, [x8, _SSH_ERR_INVALID_FORMAT@GOTPAGEOFF]
LBB0_14:
ldr w0, [x8]
LBB0_15:
ldp x8, x1, [x29, #-120]
mov x21, x0
mov x0, x8
bl _freezero
ldur x0, [x29, #-104]
bl _free
mov x0, x20
bl _sshbuf_free
mov x0, x19
mov x1, x22
bl _explicit_bzero
mov x0, x21
b LBB0_9
LBB0_16:
Lloh23:
adrp x8, _SSH_ERR_ALLOC_FAIL@GOTPAGE
Lloh24:
ldr x8, [x8, _SSH_ERR_ALLOC_FAIL@GOTPAGEOFF]
b LBB0_8
LBB0_17:
ldur x0, [x29, #-104]
bl _rsa_hash_id_from_ident
cmn w0, #1
b.eq LBB0_25
; %bb.18:
mov x26, x0
cbz x25, LBB0_22
; %bb.19:
Lloh25:
adrp x1, l_.str@PAGE
Lloh26:
add x1, x1, l_.str@PAGEOFF
mov x0, x25
bl _strcmp
cbz x0, LBB0_22
; %bb.20:
mov x0, x25
bl _rsa_hash_id_from_keyname
cmn w0, #1
b.eq LBB0_26
; %bb.21:
cmp w26, w0
b.ne LBB0_27
LBB0_22:
sub x1, x29, #120
sub x2, x29, #112
mov x0, x20
bl _sshbuf_get_string
cbnz x0, LBB0_13
; %bb.23:
mov x0, x20
bl _sshbuf_len
cbz x0, LBB0_28
; %bb.24:
Lloh27:
adrp x8, _SSH_ERR_UNEXPECTED_TRAILING_DATA@GOTPAGE
Lloh28:
ldr x8, [x8, _SSH_ERR_UNEXPECTED_TRAILING_DATA@GOTPAGEOFF]
b LBB0_14
LBB0_25:
Lloh29:
adrp x8, _SSH_ERR_KEY_TYPE_MISMATCH@GOTPAGE
Lloh30:
ldr x8, [x8, _SSH_ERR_KEY_TYPE_MISMATCH@GOTPAGEOFF]
b LBB0_14
LBB0_26:
Lloh31:
adrp x8, _SSH_ERR_INVALID_ARGUMENT@GOTPAGE
Lloh32:
ldr x8, [x8, _SSH_ERR_INVALID_ARGUMENT@GOTPAGEOFF]
b LBB0_14
LBB0_27:
Lloh33:
adrp x8, _SSH_ERR_SIGNATURE_INVALID@GOTPAGE
Lloh34:
ldr x8, [x8, _SSH_ERR_SIGNATURE_INVALID@GOTPAGEOFF]
b LBB0_14
LBB0_28:
ldr x0, [x21]
bl _RSA_size
ldur x8, [x29, #-112]
subs x27, x0, x8
b.hs LBB0_30
; %bb.29:
Lloh35:
adrp x8, _SSH_ERR_KEY_BITS_MISMATCH@GOTPAGE
Lloh36:
ldr x8, [x8, _SSH_ERR_KEY_BITS_MISMATCH@GOTPAGEOFF]
b LBB0_14
LBB0_30:
b.ls LBB0_33
; %bb.31:
mov x25, x0
ldur x0, [x29, #-120]
stur x0, [x29, #-128] ; 8-byte Folded Spill
mov x1, x25
bl _realloc
stur x0, [x29, #-120]
cbz x0, LBB0_37
; %bb.32:
mov x1, x0
sub x0, x0, x27, lsl #2
ldur x2, [x29, #-112]
bl _memmove
ldur x0, [x29, #-120]
mov x1, x27
bl _explicit_bzero
stur x25, [x29, #-112]
LBB0_33:
mov x0, x26
bl _ssh_digest_bytes
cbz x0, LBB0_36
; %bb.34:
mov x25, x0
mov x0, x26
mov x1, x24
mov x2, x23
mov x3, x19
mov x4, x22
bl _ssh_digest_memory
cbnz w0, LBB0_15
; %bb.35:
ldp x3, x4, [x29, #-120]
ldr x5, [x21]
mov x0, x26
mov x1, x19
mov x2, x25
bl _openssh_RSA_verify
b LBB0_15
LBB0_36:
Lloh37:
adrp x8, _SSH_ERR_INTERNAL_ERROR@GOTPAGE
Lloh38:
ldr x8, [x8, _SSH_ERR_INTERNAL_ERROR@GOTPAGEOFF]
b LBB0_14
LBB0_37:
ldur x8, [x29, #-128] ; 8-byte Folded Reload
stur x8, [x29, #-120]
Lloh39:
adrp x8, _SSH_ERR_ALLOC_FAIL@GOTPAGE
Lloh40:
ldr x8, [x8, _SSH_ERR_ALLOC_FAIL@GOTPAGEOFF]
b LBB0_14
LBB0_38:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGot Lloh21, Lloh22
.loh AdrpLdrGot Lloh23, Lloh24
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpLdrGot Lloh27, Lloh28
.loh AdrpLdrGot Lloh29, Lloh30
.loh AdrpLdrGot Lloh31, Lloh32
.loh AdrpLdrGot Lloh33, Lloh34
.loh AdrpLdrGot Lloh35, Lloh36
.loh AdrpLdrGot Lloh37, Lloh38
.loh AdrpLdrGot Lloh39, Lloh40
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _SSH_ERR_INTERNAL_ERROR,4,2 ; @SSH_ERR_INTERNAL_ERROR
.comm _SSH_DIGEST_MAX_LENGTH,4,2 ; @SSH_DIGEST_MAX_LENGTH
.comm _KEY_RSA,8,3 ; @KEY_RSA
.comm _SSH_ERR_INVALID_ARGUMENT,4,2 ; @SSH_ERR_INVALID_ARGUMENT
.comm _SSH_RSA_MINIMUM_MODULUS_SIZE,8,3 ; @SSH_RSA_MINIMUM_MODULUS_SIZE
.comm _SSH_ERR_KEY_LENGTH,4,2 ; @SSH_ERR_KEY_LENGTH
.comm _SSH_ERR_ALLOC_FAIL,4,2 ; @SSH_ERR_ALLOC_FAIL
.comm _SSH_ERR_INVALID_FORMAT,4,2 ; @SSH_ERR_INVALID_FORMAT
.comm _SSH_ERR_KEY_TYPE_MISMATCH,4,2 ; @SSH_ERR_KEY_TYPE_MISMATCH
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "ssh-rsa-cert-v01@openssh.com"
.comm _SSH_ERR_SIGNATURE_INVALID,4,2 ; @SSH_ERR_SIGNATURE_INVALID
.comm _SSH_ERR_UNEXPECTED_TRAILING_DATA,4,2 ; @SSH_ERR_UNEXPECTED_TRAILING_DATA
.comm _SSH_ERR_KEY_BITS_MISMATCH,4,2 ; @SSH_ERR_KEY_BITS_MISMATCH
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _strsplit ## -- Begin function strsplit
.p2align 4, 0x90
_strsplit: ## @strsplit
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, -48(%rbp)
movl $0, (%rdx)
movq _POINTER_BYTES@GOTPCREL(%rip), %rax
movl (%rax), %edi
shll $2, %edi
callq _malloc
movq %rax, %r15
leaq -48(%rbp), %rdi
movq %r14, %rsi
callq _strsep
testq %rax, %rax
je LBB0_6
## %bb.1:
movl $4, %r13d
leaq -48(%rbp), %r12
jmp LBB0_2
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
movq %r12, %rdi
movq %r14, %rsi
callq _strsep
testq %rax, %rax
je LBB0_6
LBB0_2: ## =>This Inner Loop Header: Depth=1
cmpb $0, (%rax)
je LBB0_6
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movslq (%rbx), %rcx
leal -1(%rcx), %edx
movl %edx, (%rbx)
movq %rax, (%r15,%rcx,8)
cmpl %r13d, %ecx
jle LBB0_5
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
addl %r13d, %r13d
movq _POINTER_BYTES@GOTPCREL(%rip), %rax
movl (%rax), %esi
imull %r13d, %esi
movq %r15, %rdi
callq _realloc
movq %rax, %r15
jmp LBB0_5
LBB0_6:
movq %r15, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _POINTER_BYTES,4,2 ## @POINTER_BYTES
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _strsplit ; -- Begin function strsplit
.p2align 2
_strsplit: ; @strsplit
.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
str x0, [sp, #8]
str wzr, [x2]
Lloh0:
adrp x22, _POINTER_BYTES@GOTPAGE
Lloh1:
ldr x22, [x22, _POINTER_BYTES@GOTPAGEOFF]
ldr w8, [x22]
lsl w0, w8, #2
bl _malloc
mov x21, x0
add x0, sp, #8
mov x1, x20
bl _strsep
cbz x0, LBB0_6
; %bb.1:
mov w23, #4 ; =0x4
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x0, sp, #8
mov x1, x20
bl _strsep
cbz x0, LBB0_6
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldrb w8, [x0]
cbz w8, LBB0_6
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
ldrsw x8, [x19]
sub w9, w8, #1
str w9, [x19]
str x0, [x21, x8, lsl #3]
cmp w8, w23
b.le LBB0_2
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
lsl w23, w23, #1
ldr w8, [x22]
mul w1, w8, w23
mov x0, x21
bl _realloc
mov x21, x0
b LBB0_2
LBB0_6:
mov x0, x21
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _POINTER_BYTES,4,2 ; @POINTER_BYTES
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _null_realloc ## -- Begin function null_realloc
.p2align 4, 0x90
_null_realloc: ## @null_realloc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
jmp _realloc ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _null_realloc ; -- Begin function null_realloc
.p2align 2
_null_realloc: ; @null_realloc
.cfi_startproc
; %bb.0:
b _realloc
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _CRYPTO_realloc ## -- Begin function CRYPTO_realloc
.p2align 4, 0x90
_CRYPTO_realloc: ## @CRYPTO_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 %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, %ebx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
movq _realloc_count@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _INCREMENT
movq %r12, %rdi
movq %r15, %rsi
movq %r14, %rdx
movl %ebx, %ecx
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _realloc_impl ## TAILCALL
.cfi_endproc
## -- End function
.comm _realloc_count,4,2 ## @realloc_count
.comm _call_malloc_debug,8,3 ## @call_malloc_debug
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _CRYPTO_realloc ; -- Begin function CRYPTO_realloc
.p2align 2
_CRYPTO_realloc: ; @CRYPTO_realloc
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x3
mov x20, x2
mov x21, x1
mov x22, x0
Lloh0:
adrp x8, _realloc_count@GOTPAGE
Lloh1:
ldr x8, [x8, _realloc_count@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
bl _INCREMENT
mov x0, x22
mov x1, x21
mov x2, x20
mov x3, 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 _realloc_impl
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _realloc_count,4,2 ; @realloc_count
.comm _call_malloc_debug,8,3 ; @call_malloc_debug
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _split ## -- Begin function split
.p2align 4, 0x90
_split: ## @split
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
callq _strstr
testq %rax, %rax
je LBB0_1
## %bb.2:
movq %r15, -48(%rbp) ## 8-byte Spill
movl $8, %r13d
movq %rbx, -56(%rbp) ## 8-byte Spill
xorl %ebx, %ebx
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq %rbx, %r15
leaq 1(%rbx), %rcx
movq %rcx, -72(%rbp) ## 8-byte Spill
movq %r12, %rdi
movl %r13d, %esi
movq %rax, %rbx
movq %rax, -64(%rbp) ## 8-byte Spill
callq _realloc
movq %rax, %r12
subq %r14, %rbx
leal 10(%rbx), %esi
movl $1, %edi
callq _calloc
movq %rax, (%r12,%r15,8)
movq %rax, %rdi
movq %r14, %rsi
movl %ebx, %edx
callq _memcpy
movq (%r12,%r15,8), %rax
movb $0, (%rax,%rbx)
movq -72(%rbp), %rbx ## 8-byte Reload
movq -56(%rbp), %r15 ## 8-byte Reload
movq %r15, %rdi
callq _strlen
movq %rax, %r14
addq -64(%rbp), %r14 ## 8-byte Folded Reload
movq %r14, %rdi
movq %r15, %rsi
callq _strstr
addl $8, %r13d
testq %rax, %rax
jne LBB0_3
## %bb.4:
movq -48(%rbp), %r15 ## 8-byte Reload
movq %r12, %r13
jmp LBB0_5
LBB0_1:
xorl %r13d, %r13d
xorl %ebx, %ebx
LBB0_5:
movq %r14, %rdi
callq _strlen
testq %rax, %rax
jle LBB0_7
## %bb.6:
movq %rbx, %r12
incl %ebx
leal 8(,%r12,8), %esi
movq %r13, %rdi
callq _realloc
movq %rax, %r13
movq %r14, %rdi
callq _strdup
movl %r12d, %ecx
movq %rax, (%r13,%rcx,8)
## kill: def $ebx killed $ebx def $rbx
LBB0_7:
movl %ebx, (%r15)
movq %r13, %rax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _split ; -- Begin function split
.p2align 2
_split: ; @split
.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 x22, x1
mov x21, x0
bl _strstr
cbz x0, LBB0_3
; %bb.1:
mov x23, x0
mov x26, #0 ; =0x0
mov x20, #0 ; =0x0
mov w24, #8 ; =0x8
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x27, x26
add x26, x26, #1
mov x0, x20
mov x1, x24
bl _realloc
mov x20, x0
sub x25, x23, x21
add w1, w25, #10
mov w0, #1 ; =0x1
bl _calloc
str x0, [x20, x27, lsl #3]
mov x1, x21
mov x2, x25
bl _memcpy
ldr x8, [x20, x27, lsl #3]
strb wzr, [x8, x25]
mov x0, x22
bl _strlen
add x21, x23, x0
mov x0, x21
mov x1, x22
bl _strstr
mov x23, x0
add w24, w24, #8
cbnz x0, LBB0_2
b LBB0_4
LBB0_3:
mov x20, #0 ; =0x0
mov w26, #0 ; =0x0
LBB0_4:
mov x0, x21
bl _strlen
cmp x0, #1
b.lt LBB0_6
; %bb.5:
add w22, w26, #1
lsl w1, w22, #3
mov x0, x20
bl _realloc
mov x20, x0
mov x0, x21
bl _strdup
str x0, [x20, w26, uxtw #3]
mov x26, x22
LBB0_6:
str w26, [x19]
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 mem_add
_mem_add: ## @mem_add
.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 %ecx, %r14d
movq %rdx, %rbx
movq 8(%rdx), %rdi
movl (%rdx), %eax
leal -4(,%rax,4), %esi
callq _realloc
testq %rax, %rax
je LBB0_2
## %bb.1:
movq _ENOMEM@GOTPCREL(%rip), %rax
movl (%rax), %eax
jmp LBB0_3
LBB0_2:
movq $0, 8(%rbx)
movl %r14d, %edi
callq _hx509_cert_ref
movq 8(%rbx), %rcx
movslq (%rbx), %rdx
movl %eax, (%rcx,%rdx,4)
incl (%rbx)
xorl %eax, %eax
LBB0_3:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ENOMEM,4,2 ## @ENOMEM
.no_dead_strip _mem_add
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function mem_add
_mem_add: ; @mem_add
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x20, x3
mov x19, x2
ldr x0, [x2, #8]
ldr w8, [x2]
lsl w8, w8, #2
sub w1, w8, #4
bl _realloc
cbz x0, LBB0_2
; %bb.1:
Lloh0:
adrp x8, _ENOMEM@GOTPAGE
Lloh1:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
b LBB0_3
LBB0_2:
str xzr, [x19, #8]
mov x0, x20
bl _hx509_cert_ref
mov x8, x0
mov w0, #0 ; =0x0
ldr x9, [x19, #8]
ldrsw x10, [x19]
str w8, [x9, x10, lsl #2]
ldr w8, [x19]
add w8, w8, #1
str w8, [x19]
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 _mem_add
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function addColumnFilterInfo
_addColumnFilterInfo: ## @addColumnFilterInfo
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB0_2
## %bb.1:
xorl %eax, %eax
retq
LBB0_2:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _addColumnFilterInfo.cold.1
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function addColumnFilterInfo.cold.1
_addColumnFilterInfo.cold.1: ## @addColumnFilterInfo.cold.1
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq 8, %rdi
xorl %esi, %esi
callq _realloc
ud2
.cfi_endproc
## -- End function
.no_dead_strip _addColumnFilterInfo
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function addColumnFilterInfo
_addColumnFilterInfo: ; @addColumnFilterInfo
.cfi_startproc
; %bb.0:
cbz x0, LBB0_2
; %bb.1:
mov x0, #0 ; =0x0
ret
LBB0_2:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl _addColumnFilterInfo.cold.1
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function addColumnFilterInfo.cold.1
_addColumnFilterInfo.cold.1: ; @addColumnFilterInfo.cold.1
.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
mov w8, #8 ; =0x8
ldr x0, [x8]
mov w1, #0 ; =0x0
bl _realloc
brk #0x1
.cfi_endproc
; -- End function
.no_dead_strip _addColumnFilterInfo
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _ssh_rsa_verify ## -- Begin function ssh_rsa_verify
.p2align 4, 0x90
_ssh_rsa_verify: ## @ssh_rsa_verify
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $104, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r9, %r14
movq %r8, -120(%rbp) ## 8-byte Spill
movq %rcx, -112(%rbp) ## 8-byte Spill
movq %rdx, %r13
movq %rsi, %r12
movq %rdi, %r15
movq %rsp, -128(%rbp) ## 8-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq $0, -88(%rbp)
movq $0, -64(%rbp)
movq _SSH_DIGEST_MAX_LENGTH@GOTPCREL(%rip), %rax
movl (%rax), %ebx
leaq (,%rbx,4), %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %rax
movq $0, -56(%rbp)
testq %r15, %r15
je LBB0_7
## %bb.1:
cmpq $0, (%r15)
je LBB0_7
## %bb.2:
movq %rax, -80(%rbp) ## 8-byte Spill
movl 8(%r15), %edi
callq _sshkey_type_plain
testq %r13, %r13
je LBB0_7
## %bb.3:
testq %r12, %r12
je LBB0_7
## %bb.4:
movq _KEY_RSA@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_7
## %bb.5:
movq (%r15), %rdi
leaq -136(%rbp), %rsi
xorl %edx, %edx
xorl %ecx, %ecx
callq _RSA_get0_key
movq -136(%rbp), %rdi
callq _BN_num_bits
movq _SSH_RSA_MINIMUM_MODULUS_SIZE@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jge LBB0_11
## %bb.6:
movq _SSH_ERR_KEY_LENGTH@GOTPCREL(%rip), %rax
jmp LBB0_8
LBB0_7:
movq _SSH_ERR_INVALID_ARGUMENT@GOTPCREL(%rip), %rax
LBB0_8:
movl (%rax), %eax
LBB0_9:
movq -128(%rbp), %rsp ## 8-byte Reload
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_37
## %bb.10:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_11:
movq %r12, %rdi
movq %r13, %rsi
callq _sshbuf_from
testq %rax, %rax
je LBB0_16
## %bb.12:
movq %rax, %r13
leaq -88(%rbp), %rsi
movq %rax, %rdi
xorl %edx, %edx
callq _sshbuf_get_cstring
testq %rax, %rax
je LBB0_17
LBB0_13:
movq _SSH_ERR_INVALID_FORMAT@GOTPCREL(%rip), %rax
LBB0_14:
movl (%rax), %r14d
LBB0_15:
movq -56(%rbp), %rdi
movq -64(%rbp), %rsi
callq _freezero
movq -88(%rbp), %rdi
callq _free
movq %r13, %rdi
callq _sshbuf_free
shll $2, %ebx
movq -80(%rbp), %rdi ## 8-byte Reload
movl %ebx, %esi
callq _explicit_bzero
movl %r14d, %eax
jmp LBB0_9
LBB0_16:
movq _SSH_ERR_ALLOC_FAIL@GOTPCREL(%rip), %rax
jmp LBB0_8
LBB0_17:
movq -88(%rbp), %rdi
callq _rsa_hash_id_from_ident
cmpl $-1, %eax
je LBB0_25
## %bb.18:
movl %eax, %r12d
testq %r14, %r14
je LBB0_22
## %bb.19:
leaq L_.str(%rip), %rsi
movq %r14, %rdi
callq _strcmp
testq %rax, %rax
je LBB0_22
## %bb.20:
movq %r14, %rdi
callq _rsa_hash_id_from_keyname
cmpl $-1, %eax
je LBB0_26
## %bb.21:
cmpl %eax, %r12d
jne LBB0_27
LBB0_22:
leaq -56(%rbp), %rsi
leaq -64(%rbp), %rdx
movq %r13, %rdi
callq _sshbuf_get_string
testq %rax, %rax
jne LBB0_13
## %bb.23:
movq %r13, %rdi
callq _sshbuf_len
testq %rax, %rax
je LBB0_28
## %bb.24:
movq _SSH_ERR_UNEXPECTED_TRAILING_DATA@GOTPCREL(%rip), %rax
jmp LBB0_14
LBB0_25:
movq _SSH_ERR_KEY_TYPE_MISMATCH@GOTPCREL(%rip), %rax
jmp LBB0_14
LBB0_26:
movq _SSH_ERR_INVALID_ARGUMENT@GOTPCREL(%rip), %rax
jmp LBB0_14
LBB0_27:
movq _SSH_ERR_SIGNATURE_INVALID@GOTPCREL(%rip), %rax
jmp LBB0_14
LBB0_28:
movl %r12d, -92(%rbp) ## 4-byte Spill
movq (%r15), %rdi
callq _RSA_size
movq %rax, %r12
subq -64(%rbp), %r12
jae LBB0_30
## %bb.29:
movq _SSH_ERR_KEY_BITS_MISMATCH@GOTPCREL(%rip), %rax
jmp LBB0_14
LBB0_30:
movq %rax, %r14
movq %r13, -72(%rbp) ## 8-byte Spill
movq -56(%rbp), %r13
movq %r13, %rdi
movq %rax, %rsi
callq _realloc
movq %rax, -56(%rbp)
testq %rax, %rax
je LBB0_34
## %bb.31:
leaq (%rax,%r12,4), %rdi
movq -64(%rbp), %rdx
movq %rax, %rsi
callq _memmove
movq -56(%rbp), %rdi
movl %r12d, %esi
callq _explicit_bzero
movq %r14, -64(%rbp)
movl -92(%rbp), %r12d ## 4-byte Reload
movl %r12d, %edi
callq _ssh_digest_bytes
testq %rax, %rax
je LBB0_35
## %bb.32:
movq %rax, -104(%rbp) ## 8-byte Spill
leal (,%rbx,4), %r8d
movl %r12d, %edi
movq -112(%rbp), %rsi ## 8-byte Reload
movq -120(%rbp), %rdx ## 8-byte Reload
movq -80(%rbp), %rcx ## 8-byte Reload
callq _ssh_digest_memory
movl %eax, %r14d
testl %eax, %eax
movq -72(%rbp), %r13 ## 8-byte Reload
jne LBB0_15
## %bb.33:
movq -56(%rbp), %rcx
movq -64(%rbp), %r8
movq (%r15), %r9
movl %r12d, %edi
movq -80(%rbp), %rsi ## 8-byte Reload
movq -104(%rbp), %rdx ## 8-byte Reload
callq _openssh_RSA_verify
movl %eax, %r14d
jmp LBB0_15
LBB0_34:
movq %r13, -56(%rbp)
movq _SSH_ERR_ALLOC_FAIL@GOTPCREL(%rip), %rax
jmp LBB0_36
LBB0_35:
movq _SSH_ERR_INTERNAL_ERROR@GOTPCREL(%rip), %rax
LBB0_36:
movl (%rax), %r14d
movq -72(%rbp), %r13 ## 8-byte Reload
jmp LBB0_15
LBB0_37:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _SSH_ERR_INTERNAL_ERROR,4,2 ## @SSH_ERR_INTERNAL_ERROR
.comm _SSH_DIGEST_MAX_LENGTH,4,2 ## @SSH_DIGEST_MAX_LENGTH
.comm _KEY_RSA,8,3 ## @KEY_RSA
.comm _SSH_ERR_INVALID_ARGUMENT,4,2 ## @SSH_ERR_INVALID_ARGUMENT
.comm _SSH_RSA_MINIMUM_MODULUS_SIZE,8,3 ## @SSH_RSA_MINIMUM_MODULUS_SIZE
.comm _SSH_ERR_KEY_LENGTH,4,2 ## @SSH_ERR_KEY_LENGTH
.comm _SSH_ERR_ALLOC_FAIL,4,2 ## @SSH_ERR_ALLOC_FAIL
.comm _SSH_ERR_INVALID_FORMAT,4,2 ## @SSH_ERR_INVALID_FORMAT
.comm _SSH_ERR_KEY_TYPE_MISMATCH,4,2 ## @SSH_ERR_KEY_TYPE_MISMATCH
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "ssh-rsa-cert-v01@openssh.com"
.comm _SSH_ERR_SIGNATURE_INVALID,4,2 ## @SSH_ERR_SIGNATURE_INVALID
.comm _SSH_ERR_UNEXPECTED_TRAILING_DATA,4,2 ## @SSH_ERR_UNEXPECTED_TRAILING_DATA
.comm _SSH_ERR_KEY_BITS_MISMATCH,4,2 ## @SSH_ERR_KEY_BITS_MISMATCH
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _ssh_rsa_verify ; -- Begin function ssh_rsa_verify
.p2align 2
_ssh_rsa_verify: ; @ssh_rsa_verify
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
sub sp, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x25, x5
mov x23, x4
mov x24, x3
mov x20, x2
mov x22, x1
mov x21, x0
mov x27, sp
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-88]
stp xzr, xzr, [x29, #-112]
Lloh3:
adrp x8, _SSH_DIGEST_MAX_LENGTH@GOTPAGE
Lloh4:
ldr x8, [x8, _SSH_DIGEST_MAX_LENGTH@GOTPAGEOFF]
Lloh5:
ldr w26, [x8]
lsl x8, x26, #2
mov x9, x8
Lloh6:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh7:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x7fffffff0
sub x19, x9, x8
mov sp, x19
stur xzr, [x29, #-120]
cbz x0, LBB0_7
; %bb.1:
ldr x8, [x21]
cbz x8, LBB0_7
; %bb.2:
ldr w0, [x21, #8]
bl _sshkey_type_plain
cbz x20, LBB0_7
; %bb.3:
cbz x22, LBB0_7
; %bb.4:
Lloh8:
adrp x8, _KEY_RSA@GOTPAGE
Lloh9:
ldr x8, [x8, _KEY_RSA@GOTPAGEOFF]
Lloh10:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_7
; %bb.5:
ldr x0, [x21]
sub x1, x29, #96
mov x2, #0 ; =0x0
mov x3, #0 ; =0x0
bl _RSA_get0_key
ldur x0, [x29, #-96]
bl _BN_num_bits
Lloh11:
adrp x8, _SSH_RSA_MINIMUM_MODULUS_SIZE@GOTPAGE
Lloh12:
ldr x8, [x8, _SSH_RSA_MINIMUM_MODULUS_SIZE@GOTPAGEOFF]
Lloh13:
ldr x8, [x8]
cmp x0, x8
b.ge LBB0_11
; %bb.6:
Lloh14:
adrp x8, _SSH_ERR_KEY_LENGTH@GOTPAGE
Lloh15:
ldr x8, [x8, _SSH_ERR_KEY_LENGTH@GOTPAGEOFF]
b LBB0_8
LBB0_7:
Lloh16:
adrp x8, _SSH_ERR_INVALID_ARGUMENT@GOTPAGE
Lloh17:
ldr x8, [x8, _SSH_ERR_INVALID_ARGUMENT@GOTPAGEOFF]
LBB0_8:
ldr w0, [x8]
LBB0_9:
mov sp, x27
ldur x8, [x29, #-88]
Lloh18:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh19:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_36
; %bb.10:
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_11:
mov x0, x22
mov x1, x20
bl _sshbuf_from
cbz x0, LBB0_16
; %bb.12:
mov x20, x0
sub x1, x29, #104
mov x2, #0 ; =0x0
bl _sshbuf_get_cstring
lsl w22, w26, #2
cbz x0, LBB0_17
LBB0_13:
Lloh21:
adrp x8, _SSH_ERR_INVALID_FORMAT@GOTPAGE
Lloh22:
ldr x8, [x8, _SSH_ERR_INVALID_FORMAT@GOTPAGEOFF]
LBB0_14:
ldr w23, [x8]
LBB0_15:
ldp x0, x1, [x29, #-120]
bl _freezero
ldur x0, [x29, #-104]
bl _free
mov x0, x20
bl _sshbuf_free
mov x0, x19
mov x1, x22
bl _explicit_bzero
mov x0, x23
b LBB0_9
LBB0_16:
Lloh23:
adrp x8, _SSH_ERR_ALLOC_FAIL@GOTPAGE
Lloh24:
ldr x8, [x8, _SSH_ERR_ALLOC_FAIL@GOTPAGEOFF]
b LBB0_8
LBB0_17:
ldur x0, [x29, #-104]
bl _rsa_hash_id_from_ident
cmn w0, #1
b.eq LBB0_25
; %bb.18:
mov x26, x0
cbz x25, LBB0_22
; %bb.19:
Lloh25:
adrp x1, l_.str@PAGE
Lloh26:
add x1, x1, l_.str@PAGEOFF
mov x0, x25
bl _strcmp
cbz x0, LBB0_22
; %bb.20:
mov x0, x25
bl _rsa_hash_id_from_keyname
cmn w0, #1
b.eq LBB0_26
; %bb.21:
cmp w26, w0
b.ne LBB0_27
LBB0_22:
sub x1, x29, #120
sub x2, x29, #112
mov x0, x20
bl _sshbuf_get_string
cbnz x0, LBB0_13
; %bb.23:
mov x0, x20
bl _sshbuf_len
cbz x0, LBB0_28
; %bb.24:
Lloh27:
adrp x8, _SSH_ERR_UNEXPECTED_TRAILING_DATA@GOTPAGE
Lloh28:
ldr x8, [x8, _SSH_ERR_UNEXPECTED_TRAILING_DATA@GOTPAGEOFF]
b LBB0_14
LBB0_25:
Lloh29:
adrp x8, _SSH_ERR_KEY_TYPE_MISMATCH@GOTPAGE
Lloh30:
ldr x8, [x8, _SSH_ERR_KEY_TYPE_MISMATCH@GOTPAGEOFF]
b LBB0_14
LBB0_26:
Lloh31:
adrp x8, _SSH_ERR_INVALID_ARGUMENT@GOTPAGE
Lloh32:
ldr x8, [x8, _SSH_ERR_INVALID_ARGUMENT@GOTPAGEOFF]
b LBB0_14
LBB0_27:
Lloh33:
adrp x8, _SSH_ERR_SIGNATURE_INVALID@GOTPAGE
Lloh34:
ldr x8, [x8, _SSH_ERR_SIGNATURE_INVALID@GOTPAGEOFF]
b LBB0_14
LBB0_28:
ldr x0, [x21]
bl _RSA_size
ldur x8, [x29, #-112]
subs x8, x0, x8
b.hs LBB0_30
; %bb.29:
Lloh35:
adrp x8, _SSH_ERR_KEY_BITS_MISMATCH@GOTPAGE
Lloh36:
ldr x8, [x8, _SSH_ERR_KEY_BITS_MISMATCH@GOTPAGEOFF]
b LBB0_14
LBB0_30:
mov x25, x0
stur x8, [x29, #-128] ; 8-byte Folded Spill
ldur x28, [x29, #-120]
mov x0, x28
mov x1, x25
bl _realloc
stur x0, [x29, #-120]
cbz x0, LBB0_34
; %bb.31:
mov x1, x0
ldur x28, [x29, #-128] ; 8-byte Folded Reload
add x0, x0, x28, lsl #2
ldur x2, [x29, #-112]
bl _memmove
ldur x0, [x29, #-120]
mov x1, x28
bl _explicit_bzero
stur x25, [x29, #-112]
mov x0, x26
bl _ssh_digest_bytes
cbz x0, LBB0_35
; %bb.32:
mov x25, x0
mov x0, x26
mov x1, x24
mov x2, x23
mov x3, x19
mov x4, x22
bl _ssh_digest_memory
mov x23, x0
cbnz w0, LBB0_15
; %bb.33:
ldp x3, x4, [x29, #-120]
ldr x5, [x21]
mov x0, x26
mov x1, x19
mov x2, x25
bl _openssh_RSA_verify
mov x23, x0
b LBB0_15
LBB0_34:
stur x28, [x29, #-120]
Lloh37:
adrp x8, _SSH_ERR_ALLOC_FAIL@GOTPAGE
Lloh38:
ldr x8, [x8, _SSH_ERR_ALLOC_FAIL@GOTPAGEOFF]
b LBB0_14
LBB0_35:
Lloh39:
adrp x8, _SSH_ERR_INTERNAL_ERROR@GOTPAGE
Lloh40:
ldr x8, [x8, _SSH_ERR_INTERNAL_ERROR@GOTPAGEOFF]
b LBB0_14
LBB0_36:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGot Lloh21, Lloh22
.loh AdrpLdrGot Lloh23, Lloh24
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpLdrGot Lloh27, Lloh28
.loh AdrpLdrGot Lloh29, Lloh30
.loh AdrpLdrGot Lloh31, Lloh32
.loh AdrpLdrGot Lloh33, Lloh34
.loh AdrpLdrGot Lloh35, Lloh36
.loh AdrpLdrGot Lloh37, Lloh38
.loh AdrpLdrGot Lloh39, Lloh40
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _SSH_ERR_INTERNAL_ERROR,4,2 ; @SSH_ERR_INTERNAL_ERROR
.comm _SSH_DIGEST_MAX_LENGTH,4,2 ; @SSH_DIGEST_MAX_LENGTH
.comm _KEY_RSA,8,3 ; @KEY_RSA
.comm _SSH_ERR_INVALID_ARGUMENT,4,2 ; @SSH_ERR_INVALID_ARGUMENT
.comm _SSH_RSA_MINIMUM_MODULUS_SIZE,8,3 ; @SSH_RSA_MINIMUM_MODULUS_SIZE
.comm _SSH_ERR_KEY_LENGTH,4,2 ; @SSH_ERR_KEY_LENGTH
.comm _SSH_ERR_ALLOC_FAIL,4,2 ; @SSH_ERR_ALLOC_FAIL
.comm _SSH_ERR_INVALID_FORMAT,4,2 ; @SSH_ERR_INVALID_FORMAT
.comm _SSH_ERR_KEY_TYPE_MISMATCH,4,2 ; @SSH_ERR_KEY_TYPE_MISMATCH
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "ssh-rsa-cert-v01@openssh.com"
.comm _SSH_ERR_SIGNATURE_INVALID,4,2 ; @SSH_ERR_SIGNATURE_INVALID
.comm _SSH_ERR_UNEXPECTED_TRAILING_DATA,4,2 ; @SSH_ERR_UNEXPECTED_TRAILING_DATA
.comm _SSH_ERR_KEY_BITS_MISMATCH,4,2 ; @SSH_ERR_KEY_BITS_MISMATCH
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _file_list_reserve ## -- Begin function file_list_reserve
.p2align 4, 0x90
_file_list_reserve: ## @file_list_reserve
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r14
xorl %r15d, %r15d
movq %rsi, %rax
shrq $62, %rax
je LBB0_2
## %bb.1:
cmpq %rbx, (%r14)
ja LBB0_4
LBB0_2:
movq 8(%r14), %rdi
leaq (,%rbx,4), %rsi
callq _realloc
testq %rax, %rax
je LBB0_4
## %bb.3:
movq (%r14), %rcx
leaq (%rax,%rcx,4), %rdi
movq %rbx, %rdx
subq %rcx, %rdx
shlq $2, %rdx
xorl %esi, %esi
movq %rax, %r15
callq _memset
movq %r15, 8(%r14)
movq %rbx, (%r14)
movl $1, %r15d
LBB0_4:
movl %r15d, %eax
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 _file_list_reserve ; -- Begin function file_list_reserve
.p2align 2
_file_list_reserve: ; @file_list_reserve
.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
lsr x8, x1, #62
cbz x8, LBB0_3
; %bb.1:
ldr x8, [x20]
cmp x8, x19
b.ls LBB0_3
; %bb.2:
mov w0, #0 ; =0x0
b LBB0_5
LBB0_3:
ldr x0, [x20, #8]
lsl x1, x19, #2
bl _realloc
cbz x0, LBB0_5
; %bb.4:
ldr x9, [x20]
add x8, x0, x9, lsl #2
sub x9, x19, x9
lsl x2, x9, #2
mov x21, x0
mov x0, x8
mov w1, #0 ; =0x0
bl _memset
stp x19, x21, [x20]
mov w0, #1 ; =0x1
LBB0_5:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function _citrus_prop_read_str
__citrus_prop_read_str: ## @_citrus_prop_read_str
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _ENOMEM@GOTPCREL(%rip), %rax
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _EINVAL,4,2 ## @EINVAL
.comm __CITRUS_PROP_STR_BUFSIZ,8,3 ## @_CITRUS_PROP_STR_BUFSIZ
.no_dead_strip __citrus_prop_read_str
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function _citrus_prop_read_str
__citrus_prop_read_str: ; @_citrus_prop_read_str
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _ENOMEM@GOTPAGE
Lloh1:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _EINVAL,4,2 ; @EINVAL
.comm __CITRUS_PROP_STR_BUFSIZ,8,3 ; @_CITRUS_PROP_STR_BUFSIZ
.no_dead_strip __citrus_prop_read_str
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _glfwUpdateGamepadMappings ## -- Begin function glfwUpdateGamepadMappings
.p2align 4, 0x90
_glfwUpdateGamepadMappings: ## @glfwUpdateGamepadMappings
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_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 $1048, %rsp ## imm = 0x418
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
xorl %edi, %edi
testq %rbx, %rbx
sete %dil
callq _assert
movq _GLFW_FALSE@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq __GLFW_REQUIRE_INIT_OR_RETURN
movzbl (%rbx), %eax
testb %al, %al
je LBB0_9
## %bb.1:
leaq L_.str(%rip), %r14
leaq -1072(%rbp), %r15
movq __glfw@GOTPCREL(%rip), %r12
jmp LBB0_2
LBB0_16: ## in Loop: Header=BB0_2 Depth=1
movl (%r12), %eax
leal 1(%rax), %ecx
movl %ecx, (%r12)
movq 16(%r12), %rdi
leal 8(,%rax,8), %esi
callq _realloc
movq %rax, 16(%r12)
movslq (%r12), %rcx
movq -1080(%rbp), %rdx
movq %rdx, -8(%rax,%rcx,8)
.p2align 4, 0x90
LBB0_18: ## in Loop: Header=BB0_2 Depth=1
addq %r13, %rbx
movzbl (%rbx), %eax
testb %al, %al
je LBB0_9
LBB0_2: ## =>This Inner Loop Header: Depth=1
leal -48(%rax), %ecx
cmpb $10, %cl
jb LBB0_5
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movzbl %al, %eax
addl $-65, %eax
cmpl $37, %eax
ja LBB0_17
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movabsq $270582939711, %rcx ## imm = 0x3F0000003F
btq %rax, %rcx
jae LBB0_17
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
movq %rbx, %rdi
movq %r14, %rsi
callq _strcspn
movq %rax, %r13
cmpq $1023, %rax ## imm = 0x3FF
ja LBB0_18
## %bb.6: ## in Loop: Header=BB0_2 Depth=1
movq $0, -1080(%rbp)
movq %r15, %rdi
movq %rbx, %rsi
movq %r13, %rdx
callq _memcpy
movb $0, -1072(%rbp,%r13)
leaq -1080(%rbp), %rdi
movq %r15, %rsi
callq _parseMapping
testq %rax, %rax
je LBB0_18
## %bb.7: ## in Loop: Header=BB0_2 Depth=1
movl -1080(%rbp), %edi
callq _findMapping
testq %rax, %rax
je LBB0_16
## %bb.8: ## in Loop: Header=BB0_2 Depth=1
movq -1080(%rbp), %rcx
movq %rcx, (%rax)
jmp LBB0_18
LBB0_17: ## in Loop: Header=BB0_2 Depth=1
movq %rbx, %rdi
movq %r14, %rsi
callq _strcspn
movq %rax, %r13
addq %rbx, %r13
movq %r13, %rdi
movq %r14, %rsi
callq _strspn
movslq %eax, %rbx
jmp LBB0_18
LBB0_9:
movq _GLFW_JOYSTICK_LAST@GOTPCREL(%rip), %r14
movl (%r14), %eax
testl %eax, %eax
js LBB0_14
## %bb.10:
movq __glfw@GOTPCREL(%rip), %r15
movq 8(%r15), %rbx
movq $-1, %r12
xorl %r13d, %r13d
jmp LBB0_11
.p2align 4, 0x90
LBB0_13: ## in Loop: Header=BB0_11 Depth=1
movslq %eax, %rcx
incq %r12
addq $-16, %r13
cmpq %rcx, %r12
jge LBB0_14
LBB0_11: ## =>This Inner Loop Header: Depth=1
cmpq $0, 8(%rbx,%r13)
je LBB0_13
## %bb.12: ## in Loop: Header=BB0_11 Depth=1
addq %r13, %rbx
movq %rbx, %rdi
callq _findValidMapping
movl %eax, (%rbx)
movq 8(%r15), %rbx
movl (%r14), %eax
jmp LBB0_13
LBB0_14:
movq _GLFW_TRUE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_19
## %bb.15:
addq $1048, %rsp ## imm = 0x418
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_19:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _GLFW_FALSE,4,2 ## @GLFW_FALSE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\r\n"
.comm __glfw,24,3 ## @_glfw
.comm _GLFW_JOYSTICK_LAST,4,2 ## @GLFW_JOYSTICK_LAST
.comm _GLFW_TRUE,4,2 ## @GLFW_TRUE
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _glfwUpdateGamepadMappings ; -- Begin function glfwUpdateGamepadMappings
.p2align 2
_glfwUpdateGamepadMappings: ; @glfwUpdateGamepadMappings
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-80]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
sub sp, sp, #1040
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w27, -72
.cfi_offset w28, -80
mov x19, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-72]
cmp x0, #0
cset w0, eq
bl _assert
Lloh3:
adrp x8, _GLFW_FALSE@GOTPAGE
Lloh4:
ldr x8, [x8, _GLFW_FALSE@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
bl __GLFW_REQUIRE_INIT_OR_RETURN
ldrb w8, [x19]
cbz w8, LBB0_12
; %bb.1:
add x22, sp, #8
Lloh6:
adrp x23, __glfw@GOTPAGE
Lloh7:
ldr x23, [x23, __glfw@GOTPAGEOFF]
mov w24, #1 ; =0x1
Lloh8:
adrp x20, l_.str@PAGE
Lloh9:
add x20, x20, l_.str@PAGEOFF
LBB0_2: ; =>This Inner Loop Header: Depth=1
sub w9, w8, #48
and w9, w9, #0xff
cmp w9, #10
b.lo LBB0_5
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
and w8, w8, #0xff
sub w8, w8, #65
cmp w8, #37
b.hi LBB0_11
; %bb.4: ; in Loop: Header=BB0_2 Depth=1
lsl x8, x24, x8
tst x8, #0x3f0000003f
b.eq LBB0_11
LBB0_5: ; in Loop: Header=BB0_2 Depth=1
mov x0, x19
mov x1, x20
bl _strcspn
mov x21, x0
cmp x0, #1023
b.hi LBB0_10
; %bb.6: ; in Loop: Header=BB0_2 Depth=1
str xzr, [sp]
add x0, sp, #8
mov x1, x19
mov x2, x21
bl _memcpy
strb wzr, [x22, x21]
mov x0, sp
add x1, sp, #8
bl _parseMapping
cbz x0, LBB0_10
; %bb.7: ; in Loop: Header=BB0_2 Depth=1
ldr w0, [sp]
bl _findMapping
cbz x0, LBB0_9
; %bb.8: ; in Loop: Header=BB0_2 Depth=1
ldr x8, [sp]
str x8, [x0]
b LBB0_10
LBB0_9: ; in Loop: Header=BB0_2 Depth=1
ldr w8, [x23]
add w8, w8, #1
str w8, [x23]
ldr x0, [x23, #16]
lsl w1, w8, #3
bl _realloc
str x0, [x23, #16]
ldrsw x8, [x23]
add x8, x0, x8, lsl #3
ldr x9, [sp]
stur x9, [x8, #-8]
LBB0_10: ; in Loop: Header=BB0_2 Depth=1
add x19, x19, x21
ldrb w8, [x19]
cbnz w8, LBB0_2
b LBB0_12
LBB0_11: ; in Loop: Header=BB0_2 Depth=1
mov x0, x19
mov x1, x20
bl _strcspn
add x19, x19, x0
mov x0, x19
mov x1, x20
bl _strspn
add x19, x19, w0, sxtw
ldrb w8, [x19]
cbnz w8, LBB0_2
LBB0_12:
Lloh10:
adrp x20, _GLFW_JOYSTICK_LAST@GOTPAGE
Lloh11:
ldr x20, [x20, _GLFW_JOYSTICK_LAST@GOTPAGEOFF]
ldr w8, [x20]
tbnz w8, #31, LBB0_17
; %bb.13:
mov x21, #0 ; =0x0
Lloh12:
adrp x22, __glfw@GOTPAGE
Lloh13:
ldr x22, [x22, __glfw@GOTPAGEOFF]
ldr x9, [x22, #8]
mov x23, #-1 ; =0xffffffffffffffff
b LBB0_15
LBB0_14: ; in Loop: Header=BB0_15 Depth=1
add x23, x23, #1
sub x21, x21, #16
cmp x23, w8, sxtw
b.ge LBB0_17
LBB0_15: ; =>This Inner Loop Header: Depth=1
add x19, x9, x21
ldr x10, [x19, #8]
cbz x10, LBB0_14
; %bb.16: ; in Loop: Header=BB0_15 Depth=1
mov x0, x19
bl _findValidMapping
str w0, [x19]
ldr x9, [x22, #8]
ldr w8, [x20]
b LBB0_14
LBB0_17:
Lloh14:
adrp x8, _GLFW_TRUE@GOTPAGE
Lloh15:
ldr x8, [x8, _GLFW_TRUE@GOTPAGEOFF]
Lloh16:
ldr w0, [x8]
ldur x8, [x29, #-72]
Lloh17:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh18:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_19
; %bb.18:
add sp, sp, #1040
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #80 ; 16-byte Folded Reload
ret
LBB0_19:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.cfi_endproc
; -- End function
.comm _GLFW_FALSE,4,2 ; @GLFW_FALSE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\r\n"
.comm __glfw,24,3 ; @_glfw
.comm _GLFW_JOYSTICK_LAST,4,2 ; @GLFW_JOYSTICK_LAST
.comm _GLFW_TRUE,4,2 ; @GLFW_TRUE
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function _warc_rdhdr
__warc_rdhdr: ## @_warc_rdhdr
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, -80(%rbp) ## 8-byte Spill
movq 8(%rdi), %rax
movq (%rax), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
leaq -72(%rbp), %rdx
movq %rdi, -48(%rbp) ## 8-byte Spill
movl $12, %esi
callq ___archive_read_ahead
movq -72(%rbp), %rsi
testq %rsi, %rsi
jle LBB0_17
## %bb.1:
movq %rax, %r15
movq -56(%rbp), %rax ## 8-byte Reload
addq $32, %rax
movq %rax, -64(%rbp) ## 8-byte Spill
movq -56(%rbp), %r14 ## 8-byte Reload
jmp LBB0_3
.p2align 4, 0x90
LBB0_2: ## in Loop: Header=BB0_3 Depth=1
movq -48(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rdi
movl %r12d, %esi
callq ___archive_read_consume
movq %rbx, %rdi
callq __warc_skip
movq %rbx, %rdi
movl $12, %esi
leaq -72(%rbp), %rdx
callq ___archive_read_ahead
movq %rax, %r15
movq -72(%rbp), %rsi
testq %rsi, %rsi
jle LBB0_17
LBB0_3: ## =>This Inner Loop Header: Depth=1
testq %r15, %r15
je LBB0_21
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq %r15, %rdi
callq __warc_find_eoh
testq %rax, %rax
je LBB0_17
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movq %rax, %r12
subl %r15d, %r12d
movq %r15, %rdi
movl %r12d, %esi
callq __warc_rdver
testl %eax, %eax
je LBB0_22
## %bb.6: ## in Loop: Header=BB0_3 Depth=1
movl %eax, %ebx
leal -10001(%rbx), %eax
cmpl $-8802, %eax ## imm = 0xDD9E
jbe LBB0_23
## %bb.7: ## in Loop: Header=BB0_3 Depth=1
movq %r15, %rdi
movl %r12d, %esi
callq __warc_rdlen
testq %rax, %rax
js LBB0_24
## %bb.8: ## in Loop: Header=BB0_3 Depth=1
movq %rax, %r13
movq %r15, %rdi
movl %r12d, %esi
callq __warc_rdrtm
cmpq $-1, %rax
je LBB0_25
## %bb.9: ## in Loop: Header=BB0_3 Depth=1
movq %rax, -88(%rbp) ## 8-byte Spill
movq _ARCHIVE_FORMAT_WARC@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq -48(%rbp), %rcx ## 8-byte Reload
movl %eax, (%rcx)
cmpl (%r14), %ebx
je LBB0_11
## %bb.10: ## in Loop: Header=BB0_3 Depth=1
leal -10000(%rbx), %eax
xorl %edx, %edx
cmpl $10000, %ebx ## imm = 0x2710
setae %dl
cmovbl %ebx, %eax
movzwl %ax, %eax
shrl $2, %eax
imull $5243, %eax, %ecx ## imm = 0x147B
shrl $17, %ecx
movq -64(%rbp), %rdi ## 8-byte Reload
leaq L_.str.5(%rip), %rsi
callq _archive_string_sprintf
movl %ebx, (%r14)
LBB0_11: ## in Loop: Header=BB0_3 Depth=1
movq %r15, %rdi
movl %r12d, %esi
callq __warc_rdtyp
movq %r13, 24(%r14)
movl $0, 4(%r14)
andl $-2, %eax
cmpl $128, %eax
jne LBB0_2
## %bb.12: ## in Loop: Header=BB0_3 Depth=1
movq %r15, %rdi
movl %r12d, %esi
callq __warc_rduri
testl %eax, %eax
je LBB0_2
## %bb.13: ## in Loop: Header=BB0_3 Depth=1
movl %eax, %ebx
leal -1(%rbx), %eax
cmpb $47, (%rdx,%rax)
je LBB0_2
## %bb.14:
movq -56(%rbp), %r14 ## 8-byte Reload
movq 16(%r14), %rdi
cmpl 8(%r14), %eax
jbe LBB0_16
## %bb.15:
movl %ebx, %esi
andl $-64, %esi
addl $64, %esi
movl %esi, 8(%r14)
movq %rdx, -64(%rbp) ## 8-byte Spill
callq _realloc
movq -64(%rbp), %rdx ## 8-byte Reload
movq %rax, %rdi
movq %rax, 16(%r14)
LBB0_16:
movq %rdx, %rsi
movl %ebx, %edx
callq _memcpy
movq 16(%r14), %rax
movl %ebx, %ecx
movb $0, (%rax,%rcx)
movq 16(%r14), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
movq %r15, %rdi
movl %r12d, %esi
callq __warc_rdmtm
movq %rax, %r15
movq -48(%rbp), %rdi ## 8-byte Reload
movl %r12d, %esi
callq ___archive_read_consume
cmpq $-1, %r15
movq -88(%rbp), %r14 ## 8-byte Reload
movq %r14, %rbx
cmovneq %r15, %rbx
movq _AE_IFREG@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq -80(%rbp), %r15 ## 8-byte Reload
movq %r15, %rdi
callq _archive_entry_set_filetype
movq %r15, %rdi
movq -56(%rbp), %rsi ## 8-byte Reload
callq _archive_entry_copy_pathname
movq %r15, %rdi
movq %r13, %rsi
callq _archive_entry_set_size
movq %r15, %rdi
movl $420, %esi ## imm = 0x1A4
callq _archive_entry_set_perm
movq %r15, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq _archive_entry_set_ctime
movq %r15, %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq _archive_entry_set_mtime
movq _ARCHIVE_OK@GOTPCREL(%rip), %rax
jmp LBB0_20
LBB0_17:
movq _ARCHIVE_ERRNO_MISC@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rdx
LBB0_18:
movq -48(%rbp), %rdi ## 8-byte Reload
xorl %eax, %eax
callq _archive_set_error
LBB0_19:
movq _ARCHIVE_FATAL@GOTPCREL(%rip), %rax
LBB0_20:
movl (%rax), %eax
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_21:
movq _ARCHIVE_EOF@GOTPCREL(%rip), %rax
jmp LBB0_20
LBB0_22:
movq _ARCHIVE_ERRNO_MISC@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str.1(%rip), %rdx
jmp LBB0_18
LBB0_23:
movq _ARCHIVE_ERRNO_MISC@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl %ebx, %eax
movl $3518437209, %ecx ## imm = 0xD1B71759
imulq %rax, %rcx
shrq $45, %rcx
imull $10000, %ecx, %eax ## imm = 0x2710
subl %eax, %ebx
imull $5243, %ebx, %r8d ## imm = 0x147B
shrl $19, %r8d
leaq L_.str.2(%rip), %rdx
movq -48(%rbp), %rdi ## 8-byte Reload
## kill: def $ecx killed $ecx killed $rcx
xorl %eax, %eax
callq _archive_set_error
jmp LBB0_19
LBB0_24:
movq _EINVAL@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str.3(%rip), %rdx
jmp LBB0_18
LBB0_25:
movq _EINVAL@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str.4(%rip), %rdx
jmp LBB0_18
.cfi_endproc
## -- End function
.comm _ARCHIVE_ERRNO_MISC,4,2 ## @ARCHIVE_ERRNO_MISC
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Bad record header"
.comm _ARCHIVE_FATAL,4,2 ## @ARCHIVE_FATAL
.comm _ARCHIVE_EOF,4,2 ## @ARCHIVE_EOF
L_.str.1: ## @.str.1
.asciz "Invalid record version"
L_.str.2: ## @.str.2
.asciz "Unsupported record version: %u.%u"
.comm _EINVAL,4,2 ## @EINVAL
L_.str.3: ## @.str.3
.asciz "Bad content length"
L_.str.4: ## @.str.4
.asciz "Bad record time"
.comm _ARCHIVE_FORMAT_WARC,4,2 ## @ARCHIVE_FORMAT_WARC
L_.str.5: ## @.str.5
.asciz "WARC/%u.%u"
.comm _AE_IFREG,4,2 ## @AE_IFREG
.comm _ARCHIVE_OK,4,2 ## @ARCHIVE_OK
.comm _HDR_PROBE_LEN,4,2 ## @HDR_PROBE_LEN
.no_dead_strip __warc_rdhdr
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function _warc_rdhdr
__warc_rdhdr: ; @_warc_rdhdr
.cfi_startproc
; %bb.0:
sub sp, sp, #128
stp x28, x27, [sp, #32] ; 16-byte Folded Spill
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
str x1, [sp, #16] ; 8-byte Folded Spill
mov x19, x0
ldr x8, [x0, #8]
ldr x21, [x8]
add x2, sp, #24
mov w1, #12 ; =0xc
bl ___archive_read_ahead
ldr x1, [sp, #24]
cmp x1, #1
b.lt LBB0_20
; %bb.1:
mov x23, x0
Lloh0:
adrp x28, _ARCHIVE_EOF@GOTPAGE
Lloh1:
ldr x28, [x28, _ARCHIVE_EOF@GOTPAGEOFF]
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
mov x0, x19
bl __warc_skip
add x2, sp, #24
mov x0, x19
mov w1, #12 ; =0xc
bl ___archive_read_ahead
mov x23, x0
ldr x1, [sp, #24]
cmp x1, #1
b.lt LBB0_20
LBB0_3: ; =>This Inner Loop Header: Depth=1
cbz x23, LBB0_22
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov x0, x23
bl __warc_find_eoh
cbz x0, LBB0_20
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
sub w25, w0, w23
mov x0, x23
mov x1, x25
bl __warc_rdver
cbz w0, LBB0_23
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
mov x26, x0
mov w8, #-10001 ; =0xffffd8ef
add w8, w0, w8
mov w9, #-8802 ; =0xffffdd9e
cmp w8, w9
b.ls LBB0_24
; %bb.7: ; in Loop: Header=BB0_3 Depth=1
mov x0, x23
mov x1, x25
bl __warc_rdlen
tbnz x0, #63, LBB0_25
; %bb.8: ; in Loop: Header=BB0_3 Depth=1
mov x24, x0
mov x0, x23
mov x1, x25
bl __warc_rdrtm
cmn x0, #1
b.eq LBB0_26
; %bb.9: ; in Loop: Header=BB0_3 Depth=1
mov x22, x0
Lloh2:
adrp x8, _ARCHIVE_FORMAT_WARC@GOTPAGE
Lloh3:
ldr x8, [x8, _ARCHIVE_FORMAT_WARC@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
str w8, [x19]
ldr w8, [x21]
cmp w26, w8
b.eq LBB0_11
; %bb.10: ; in Loop: Header=BB0_3 Depth=1
lsr w8, w26, #4
cmp w8, #624
cset w2, hi
mov w9, #-10000 ; =0xffffd8f0
add w9, w26, w9
cmp w8, #625
csel w8, w26, w9, lo
ubfx w8, w8, #2, #14
mov w9, #5243 ; =0x147b
mul w8, w8, w9
lsr w3, w8, #17
add x0, x21, #32
Lloh5:
adrp x1, l_.str.5@PAGE
Lloh6:
add x1, x1, l_.str.5@PAGEOFF
bl _archive_string_sprintf
str w26, [x21]
LBB0_11: ; in Loop: Header=BB0_3 Depth=1
mov x0, x23
mov x1, x25
bl __warc_rdtyp
str x24, [x21, #24]
str wzr, [x21, #4]
sub w20, w0, #128
cmp w20, #1
b.hi LBB0_14
; %bb.12: ; in Loop: Header=BB0_3 Depth=1
mov x0, x23
mov x1, x25
bl __warc_rduri
mov x26, x0
cbz w26, LBB0_14
; %bb.13: ; in Loop: Header=BB0_3 Depth=1
sub w8, w26, #1
ldrb w9, [x1, w8, uxtw]
cmp w9, #47
b.ne LBB0_17
LBB0_14: ; in Loop: Header=BB0_3 Depth=1
mov x26, #0 ; =0x0
mov x23, #0 ; =0x0
mov x27, #0 ; =0x0
LBB0_15: ; in Loop: Header=BB0_3 Depth=1
mov x0, x19
mov x1, x25
bl ___archive_read_consume
cmp w20, #1
b.hi LBB0_2
; %bb.16: ; in Loop: Header=BB0_3 Depth=1
mov w8, w26
cbz x8, LBB0_2
b LBB0_27
LBB0_17: ; in Loop: Header=BB0_3 Depth=1
ldr w9, [x21, #8]
ldr x0, [x21, #16]
cmp w8, w9
b.ls LBB0_19
; %bb.18: ; in Loop: Header=BB0_3 Depth=1
and w8, w26, #0xffffffc0
add w8, w8, #64
str w8, [x21, #8]
mov x27, x1
mov x1, x8
bl _realloc
mov x1, x27
str x0, [x21, #16]
LBB0_19: ; in Loop: Header=BB0_3 Depth=1
mov x2, x26
bl _memcpy
ldr x8, [x21, #16]
strb wzr, [x8, w26, uxtw]
ldr x27, [x21, #16]
mov x0, x23
mov x1, x25
bl __warc_rdmtm
cmn x0, #1
csel x23, x22, x0, eq
b LBB0_15
LBB0_20:
Lloh7:
adrp x8, _ARCHIVE_ERRNO_MISC@GOTPAGE
Lloh8:
ldr x8, [x8, _ARCHIVE_ERRNO_MISC@GOTPAGEOFF]
Lloh9:
ldr w1, [x8]
Lloh10:
adrp x2, l_.str@PAGE
Lloh11:
add x2, x2, l_.str@PAGEOFF
LBB0_21:
mov x0, x19
bl _archive_set_error
Lloh12:
adrp x28, _ARCHIVE_FATAL@GOTPAGE
Lloh13:
ldr x28, [x28, _ARCHIVE_FATAL@GOTPAGEOFF]
LBB0_22:
ldr w0, [x28]
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
ldp x28, x27, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #128
ret
LBB0_23:
Lloh14:
adrp x8, _ARCHIVE_ERRNO_MISC@GOTPAGE
Lloh15:
ldr x8, [x8, _ARCHIVE_ERRNO_MISC@GOTPAGEOFF]
Lloh16:
ldr w1, [x8]
Lloh17:
adrp x2, l_.str.1@PAGE
Lloh18:
add x2, x2, l_.str.1@PAGEOFF
b LBB0_21
LBB0_24:
Lloh19:
adrp x8, _ARCHIVE_ERRNO_MISC@GOTPAGE
Lloh20:
ldr x8, [x8, _ARCHIVE_ERRNO_MISC@GOTPAGEOFF]
Lloh21:
ldr w1, [x8]
mov w8, #5977 ; =0x1759
movk w8, #53687, lsl #16
umull x8, w26, w8
lsr x8, x8, #45
mov w9, #10000 ; =0x2710
msub w9, w8, w9, w26
ubfx w9, w9, #2, #14
mov w10, #5243 ; =0x147b
mul w9, w9, w10
lsr w9, w9, #17
stp x8, x9, [sp]
Lloh22:
adrp x2, l_.str.2@PAGE
Lloh23:
add x2, x2, l_.str.2@PAGEOFF
b LBB0_21
LBB0_25:
Lloh24:
adrp x8, _EINVAL@GOTPAGE
Lloh25:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh26:
ldr w1, [x8]
Lloh27:
adrp x2, l_.str.3@PAGE
Lloh28:
add x2, x2, l_.str.3@PAGEOFF
b LBB0_21
LBB0_26:
Lloh29:
adrp x8, _EINVAL@GOTPAGE
Lloh30:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh31:
ldr w1, [x8]
Lloh32:
adrp x2, l_.str.4@PAGE
Lloh33:
add x2, x2, l_.str.4@PAGEOFF
b LBB0_21
LBB0_27:
Lloh34:
adrp x8, _AE_IFREG@GOTPAGE
Lloh35:
ldr x8, [x8, _AE_IFREG@GOTPAGEOFF]
Lloh36:
ldr w1, [x8]
ldr x19, [sp, #16] ; 8-byte Folded Reload
mov x0, x19
bl _archive_entry_set_filetype
mov x0, x19
mov x1, x27
bl _archive_entry_copy_pathname
mov x0, x19
mov x1, x24
bl _archive_entry_set_size
mov x0, x19
mov w1, #420 ; =0x1a4
bl _archive_entry_set_perm
mov x0, x19
mov x1, x22
mov x2, #0 ; =0x0
bl _archive_entry_set_ctime
mov x0, x19
mov x1, x23
mov x2, #0 ; =0x0
bl _archive_entry_set_mtime
Lloh37:
adrp x28, _ARCHIVE_OK@GOTPAGE
Lloh38:
ldr x28, [x28, _ARCHIVE_OK@GOTPAGEOFF]
b LBB0_22
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpAdd Lloh32, Lloh33
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.loh AdrpLdrGot Lloh37, Lloh38
.loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36
.cfi_endproc
; -- End function
.comm _ARCHIVE_ERRNO_MISC,4,2 ; @ARCHIVE_ERRNO_MISC
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Bad record header"
.comm _ARCHIVE_FATAL,4,2 ; @ARCHIVE_FATAL
.comm _ARCHIVE_EOF,4,2 ; @ARCHIVE_EOF
l_.str.1: ; @.str.1
.asciz "Invalid record version"
l_.str.2: ; @.str.2
.asciz "Unsupported record version: %u.%u"
.comm _EINVAL,4,2 ; @EINVAL
l_.str.3: ; @.str.3
.asciz "Bad content length"
l_.str.4: ; @.str.4
.asciz "Bad record time"
.comm _ARCHIVE_FORMAT_WARC,4,2 ; @ARCHIVE_FORMAT_WARC
l_.str.5: ; @.str.5
.asciz "WARC/%u.%u"
.comm _AE_IFREG,4,2 ; @AE_IFREG
.comm _ARCHIVE_OK,4,2 ; @ARCHIVE_OK
.comm _HDR_PROBE_LEN,4,2 ; @HDR_PROBE_LEN
.no_dead_strip __warc_rdhdr
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function mgmtRetrieveByMeterName
_mgmtRetrieveByMeterName: ## @mgmtRetrieveByMeterName
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_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 %rdi, %r14
movq %rsi, -48(%rbp)
movl $32, %edi
callq _malloc
movq %rax, 8(%r14)
movl $0, (%r14)
leaq L_.str(%rip), %rsi
leaq -48(%rbp), %rdi
callq _strsep
testq %rax, %rax
je LBB0_7
## %bb.1:
movq %rax, %r13
leaq L_.str(%rip), %r15
leaq -48(%rbp), %r12
jmp LBB0_2
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_2 Depth=1
movl 24(%rbx), %esi
leaq L_.str.1(%rip), %rdi
movq %r13, %rdx
callq _mWarn
LBB0_6: ## in Loop: Header=BB0_2 Depth=1
movq %r12, %rdi
movq %r15, %rsi
callq _strsep
movq %rax, %r13
testq %rax, %rax
je LBB0_7
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %r13, %rdi
callq _mgmtGetMeter
testq %rax, %rax
jne LBB0_3
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
cmpl $4, (%r14)
jl LBB0_6
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
movq 8(%r14), %rdi
movl $48, %esi
callq _realloc
movq %rax, 8(%r14)
jmp LBB0_6
LBB0_7:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz ","
L_.str.1: ## @.str.1
.asciz "metric:%s error in metric query expression, invalid meter id:%s"
.comm _TSDB_METER_MTABLE,8,3 ## @TSDB_METER_MTABLE
.comm _TSDB_METER_ID_LEN,4,2 ## @TSDB_METER_ID_LEN
.no_dead_strip _mgmtRetrieveByMeterName
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function mgmtRetrieveByMeterName
_mgmtRetrieveByMeterName: ; @mgmtRetrieveByMeterName
.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, x0
str x1, [sp, #8]
mov w0, #32 ; =0x20
bl _malloc
str x0, [x20, #8]
str wzr, [x20]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
add x0, sp, #8
bl _strsep
cbz x0, LBB0_7
; %bb.1:
mov x23, x0
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_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
ldr w1, [x19, #24]
mov x0, x22
mov x2, x23
bl _mWarn
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
add x0, sp, #8
mov x1, x21
bl _strsep
mov x23, x0
cbz x0, LBB0_7
LBB0_4: ; =>This Inner Loop Header: Depth=1
mov x0, x23
bl _mgmtGetMeter
cbnz x0, LBB0_2
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [x20]
cmp w8, #4
b.lt LBB0_3
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
ldr x0, [x20, #8]
mov w1, #48 ; =0x30
bl _realloc
str x0, [x20, #8]
b LBB0_3
LBB0_7:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
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 ","
l_.str.1: ; @.str.1
.asciz "metric:%s error in metric query expression, invalid meter id:%s"
.comm _TSDB_METER_MTABLE,8,3 ; @TSDB_METER_MTABLE
.comm _TSDB_METER_ID_LEN,4,2 ; @TSDB_METER_ID_LEN
.no_dead_strip _mgmtRetrieveByMeterName
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function add_string
_add_string: ## @add_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 %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %r14
movq %rdi, %rbx
movq (%rdi), %rdi
movl 8(%rbx), %eax
leal -8(,%rax,8), %esi
callq _realloc
testq %rax, %rax
je LBB0_1
## %bb.2:
movq %rax, (%rbx)
movslq 8(%rbx), %rcx
movq %r14, (%rax,%rcx,8)
incl %ecx
xorl %eax, %eax
jmp LBB0_3
LBB0_1:
movq (%rbx), %rdi
callq _free
movq $0, (%rbx)
movq _ENOMEM@GOTPCREL(%rip), %rax
movl (%rax), %eax
xorl %ecx, %ecx
LBB0_3:
movl %ecx, 8(%rbx)
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ENOMEM,4,2 ## @ENOMEM
.no_dead_strip _add_string
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function add_string
_add_string: ; @add_string
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x20, x1
mov x19, x0
ldr x0, [x0]
ldr w8, [x19, #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, [x19]
ldrsw x9, [x19, #8]
str x20, [x8, x9, lsl #3]
add w8, w9, #1
b LBB0_3
LBB0_2:
ldr x0, [x19]
bl _free
mov w8, #0 ; =0x0
str xzr, [x19]
Lloh0:
adrp x9, _ENOMEM@GOTPAGE
Lloh1:
ldr x9, [x9, _ENOMEM@GOTPAGEOFF]
Lloh2:
ldr w0, [x9]
LBB0_3:
str w8, [x19, #8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _ENOMEM,4,2 ; @ENOMEM
.no_dead_strip _add_string
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _reallocarray ## -- Begin function reallocarray
.p2align 4, 0x90
_reallocarray: ## @reallocarray
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _MUL_NO_OVERFLOW@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq %rsi, %rax
ja LBB0_7
## %bb.1:
cmpq %rdx, %rax
seta %al
testq %rsi, %rsi
sete %cl
orb %al, %cl
jne LBB0_7
## %bb.2:
movq %rdx, %rcx
movq _SIZE_MAX@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, %rdx
orq %rsi, %rdx
shrq $32, %rdx
je LBB0_3
## %bb.4:
xorl %edx, %edx
divq %rsi
jmp LBB0_5
LBB0_3:
## kill: def $eax killed $eax killed $rax
xorl %edx, %edx
divl %esi
## kill: def $eax killed $eax def $rax
LBB0_5:
movq %rcx, %rdx
cmpq %rcx, %rax
jae LBB0_7
## %bb.6:
movq _ENOMEM@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _errno@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
xorl %eax, %eax
popq %rbp
retq
LBB0_7:
imulq %rsi, %rdx
movq %rdx, %rsi
popq %rbp
jmp _realloc ## TAILCALL
.cfi_endproc
## -- End function
.comm _MUL_NO_OVERFLOW,8,3 ## @MUL_NO_OVERFLOW
.comm _SIZE_MAX,8,3 ## @SIZE_MAX
.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 _reallocarray ; -- Begin function reallocarray
.p2align 2
_reallocarray: ; @reallocarray
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _MUL_NO_OVERFLOW@GOTPAGE
Lloh1:
ldr x8, [x8, _MUL_NO_OVERFLOW@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x8, x1
ccmp x1, #0, #4, ls
ccmp x8, x2, #2, ne
b.ls LBB0_2
LBB0_1:
mul x1, x2, x1
b _realloc
LBB0_2:
Lloh3:
adrp x8, _SIZE_MAX@GOTPAGE
Lloh4:
ldr x8, [x8, _SIZE_MAX@GOTPAGEOFF]
Lloh5:
ldr x8, [x8]
udiv x8, x8, x1
cmp x8, x2
b.hs LBB0_1
; %bb.3:
Lloh6:
adrp x8, _ENOMEM@GOTPAGE
Lloh7:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
Lloh9:
adrp x9, _errno@GOTPAGE
Lloh10:
ldr x9, [x9, _errno@GOTPAGEOFF]
Lloh11:
str w8, [x9]
mov x0, #0 ; =0x0
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotStr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _MUL_NO_OVERFLOW,8,3 ; @MUL_NO_OVERFLOW
.comm _SIZE_MAX,8,3 ; @SIZE_MAX
.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 _gl_local_filename_completion_proc ## -- Begin function gl_local_filename_completion_proc
.p2align 4, 0x90
_gl_local_filename_completion_proc: ## @gl_local_filename_completion_proc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r12
testl %esi, %esi
sete %al
movq _gl_local_filename_completion_proc.searchHandle(%rip), %rdi
testq %rdi, %rdi
setne %cl
andb %al, %cl
cmpb $1, %cl
movl %esi, -44(%rbp) ## 4-byte Spill
jne LBB0_2
## %bb.1:
callq _FindClose
movq $0, _gl_local_filename_completion_proc.searchHandle(%rip)
jmp LBB0_4
LBB0_2:
testq %rdi, %rdi
je LBB0_4
## %bb.3:
movl %esi, %r15d
movslq _gl_local_filename_completion_proc.filepfxoffset(%rip), %rax
movq %r12, -56(%rbp) ## 8-byte Spill
addq %r12, %rax
movq %rax, -64(%rbp) ## 8-byte Spill
jmp LBB0_32
LBB0_4:
movq %r12, %rdi
callq __StrRFindLocalPathDelim
movq %rax, %r14
subq %r12, %r14
je LBB0_8
## %bb.5:
testq %rax, %rax
je LBB0_9
## %bb.6:
movq %rax, %r15
movq %r12, %rdi
callq _strlen
movl %eax, %ebx
incl %ebx
movl %ebx, %edi
callq _malloc
testq %rax, %rax
je LBB0_24
## %bb.7:
movq %rax, %r13
movslq %ebx, %rdx
movq %rax, %rdi
movq %r12, %rsi
callq _memcpy
movb $0, (%r13,%r14)
movq %r15, %rax
movq %r12, %r14
subl %r12d, %eax
incl %eax
movq %r13, %r15
jmp LBB0_11
LBB0_8:
movq %r12, %r14
movq _LOCAL_PATH_DELIM_STR@GOTPCREL(%rip), %rax
movq (%rax), %r13
movl $1, %eax
jmp LBB0_10
LBB0_9:
movq %r12, %r14
leaq L_.str(%rip), %r13
xorl %eax, %eax
LBB0_10:
xorl %r15d, %r15d
LBB0_11:
movl %eax, _gl_local_filename_completion_proc.filepfxoffset(%rip)
leaq L_.str.1(%rip), %rsi
movq %r13, %rdi
callq _strcmp
testq %rax, %rax
jne LBB0_14
## %bb.12:
movq _gl_home_dir@GOTPCREL(%rip), %rbx
movq (%rbx), %r13
testq %r13, %r13
jne LBB0_14
## %bb.13:
xorl %r12d, %r12d
xorl %edi, %edi
callq _gl_set_home_dir
movq (%rbx), %r13
testq %r13, %r13
je LBB0_47
LBB0_14:
movq %r13, %rdi
callq _strlen
movl %eax, %ebx
leal 8(%rbx), %edi
callq _malloc
testq %rax, %rax
je LBB0_17
## %bb.15:
movq %rax, %r12
movslq %ebx, %rbx
leaq 1(%rbx), %rdx
movq %rax, %rdi
movq %r13, %rsi
callq _memcpy
movq %r12, %rdi
addq %rbx, %rdi
movzbl -1(%r12,%rbx), %eax
movq _LOCAL_PATH_DELIM@GOTPCREL(%rip), %rcx
cmpb (%rcx), %al
jne LBB0_19
## %bb.16:
leaq L_.str.2(%rip), %rsi
movl $4, %edx
jmp LBB0_20
LBB0_17:
testq %r15, %r15
je LBB0_24
## %bb.18:
movq %r15, %rdi
callq _free
jmp LBB0_24
LBB0_19:
leaq L_.str.3(%rip), %rsi
movl $5, %edx
LBB0_20:
callq _memcpy
leaq -80(%rbp), %rbx
movq %rbx, %rdi
xorl %esi, %esi
movl $16, %edx
callq _memset
movq %r12, %rdi
movq %rbx, %rsi
callq _FindFirstFile
movq %rax, _gl_local_filename_completion_proc.searchHandle(%rip)
movq %r12, %rdi
callq _free
testq %r15, %r15
je LBB0_22
## %bb.21:
movq %r15, %rdi
callq _free
LBB0_22:
movq _gl_local_filename_completion_proc.searchHandle(%rip), %rax
movq _INVALID_HANDLE_VALUE@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_24
## %bb.23:
movslq _gl_local_filename_completion_proc.filepfxoffset(%rip), %rdi
movq %r14, -56(%rbp) ## 8-byte Spill
addq %r14, %rdi
movq %rdi, -64(%rbp) ## 8-byte Spill
callq _strlen
cltq
movq %rax, _gl_local_filename_completion_proc.filepfxlen(%rip)
jmp LBB0_25
LBB0_24:
xorl %r12d, %r12d
jmp LBB0_47
LBB0_25:
movl -44(%rbp), %r15d ## 4-byte Reload
LBB0_26:
movq -80(%rbp), %r13
cmpb $46, (%r13)
je LBB0_32
## %bb.27:
movzbl 1(%r13), %eax
testl %eax, %eax
je LBB0_32
## %bb.28:
cmpl $46, %eax
jne LBB0_30
## %bb.29:
cmpb $0, 2(%r13)
je LBB0_32
LBB0_30:
movq _gl_local_filename_completion_proc.filepfxlen(%rip), %rdx
testq %rdx, %rdx
je LBB0_42
## %bb.31:
movq %r13, %rdi
movq -64(%rbp), %rsi ## 8-byte Reload
callq __strnicmp
testq %rax, %rax
je LBB0_42
LBB0_32:
movq _gl_local_filename_completion_proc.searchHandle(%rip), %rdi
leaq -80(%rbp), %rsi
callq _FindNextFile
testl %eax, %eax
jne LBB0_26
## %bb.33:
xorl %r12d, %r12d
xorl %eax, %eax
callq _GetLastError
movq %rax, %rbx
movq _ERROR_NO_MORE_FILES@GOTPCREL(%rip), %rax
movq (%rax), %r14
movq _gl_local_filename_completion_proc.searchHandle(%rip), %rdi
callq _FindClose
movq $0, _gl_local_filename_completion_proc.searchHandle(%rip)
cmpq %r14, %rbx
jne LBB0_47
## %bb.34:
cmpl $1, %r15d
jne LBB0_26
## %bb.35:
movq _gl_matchlist@GOTPCREL(%rip), %r14
movq (%r14), %rax
movq (%rax), %r12
movq %r12, %rdi
callq _strlen
cltq
movzbl 2(%r12,%rax), %r15d
cmpb $100, %r15b
jne LBB0_37
## %bb.36:
movq _LOCAL_PATH_DELIM@GOTPCREL(%rip), %rax
movzbl (%rax), %eax
movq _gl_completion_exact_match_extra_char@GOTPCREL(%rip), %rcx
movb %al, (%rcx)
LBB0_37:
cmpb $126, (%r12)
jne LBB0_25
## %bb.38:
movzbl 1(%r12), %eax
incq %r12
testb %al, %al
je LBB0_40
## %bb.39:
movsbl %al, %edi
callq _IsLocalPathDelim
testq %rax, %rax
je LBB0_25
LBB0_40:
movq %r12, %rdi
callq _strlen
movslq %eax, %r12
movq _gl_home_dir@GOTPCREL(%rip), %rbx
movq (%rbx), %rdi
callq _strlen
movslq %eax, %r13
movq (%rbx), %rax
movsbl -1(%rax,%r13), %edi
callq _IsLocalPathDelim
cmpq $1, %rax
adcq $-1, %r13
movq (%r14), %rax
movq (%rax), %rdi
leaq (%r12,%r13), %rsi
addq $5, %rsi
callq _realloc
testq %rax, %rax
je LBB0_25
## %bb.41:
movq %rax, %rbx
incq %r12
leaq (%rax,%r13), %r14
movq %rax, %rsi
incq %rsi
movq %r14, %rdi
movq %r12, %rdx
callq _memmove
movq _gl_home_dir@GOTPCREL(%rip), %rax
movq (%rax), %rsi
movq %rbx, %rdi
movq %r13, %rdx
callq _memcpy
movb $0, (%r12,%r14)
movb %r15b, 1(%r12,%r14)
movb $0, 2(%r12,%r14)
movq _gl_matchlist@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rbx, (%rax)
jmp LBB0_25
LBB0_42:
movq %r13, %rdi
callq _strlen
movslq %eax, %rbx
movl _gl_local_filename_completion_proc.filepfxoffset(%rip), %eax
leal (%rbx,%rax), %edi
addl $5, %edi
callq _malloc
movq %rax, %r12
movb $0, (%rax)
movslq _gl_local_filename_completion_proc.filepfxoffset(%rip), %rdx
testq %rdx, %rdx
js LBB0_44
## %bb.43:
movq %r12, %rdi
movq -56(%rbp), %rsi ## 8-byte Reload
callq _memcpy
movl _gl_local_filename_completion_proc.filepfxoffset(%rip), %edx
LBB0_44:
movslq %edx, %rdi
addq %r12, %rdi
leaq 1(%rbx), %rdx
movq %r13, %rsi
callq _memcpy
movq _FILE_ATTRIBUTE_DIRECTORY@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movslq _gl_local_filename_completion_proc.filepfxoffset(%rip), %rax
addq %r12, %rax
testl %ecx, -72(%rbp)
je LBB0_46
## %bb.45:
movw $100, (%rax,%rbx)
jmp LBB0_47
LBB0_46:
movw $11520, 1(%rax,%rbx) ## imm = 0x2D00
movb $0, 3(%rax,%rbx)
LBB0_47:
movq %r12, %rax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_gl_local_filename_completion_proc.searchHandle,8,3 ## @gl_local_filename_completion_proc.searchHandle
.zerofill __DATA,__bss,_gl_local_filename_completion_proc.filepfxoffset,4,2 ## @gl_local_filename_completion_proc.filepfxoffset
.zerofill __DATA,__bss,_gl_local_filename_completion_proc.filepfxlen,8,3 ## @gl_local_filename_completion_proc.filepfxlen
.comm _LOCAL_PATH_DELIM_STR,8,3 ## @LOCAL_PATH_DELIM_STR
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "."
L_.str.1: ## @.str.1
.asciz "~"
.comm _gl_home_dir,8,3 ## @gl_home_dir
.comm _LOCAL_PATH_DELIM,1,0 ## @LOCAL_PATH_DELIM
L_.str.2: ## @.str.2
.asciz "*.*"
L_.str.3: ## @.str.3
.asciz "\\*.*"
.comm _INVALID_HANDLE_VALUE,8,3 ## @INVALID_HANDLE_VALUE
.comm _FILE_ATTRIBUTE_DIRECTORY,4,2 ## @FILE_ATTRIBUTE_DIRECTORY
.comm _ERROR_NO_MORE_FILES,8,3 ## @ERROR_NO_MORE_FILES
.comm _gl_matchlist,8,3 ## @gl_matchlist
.comm _gl_completion_exact_match_extra_char,1,0 ## @gl_completion_exact_match_extra_char
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _gl_local_filename_completion_proc ; -- Begin function gl_local_filename_completion_proc
.p2align 2
_gl_local_filename_completion_proc: ; @gl_local_filename_completion_proc
.cfi_startproc
; %bb.0:
sub sp, sp, #128
stp x28, x27, [sp, #32] ; 16-byte Folded Spill
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x1
str x0, [sp, #8] ; 8-byte Folded Spill
adrp x26, _gl_local_filename_completion_proc.searchHandle@PAGE
ldr x0, [x26, _gl_local_filename_completion_proc.searchHandle@PAGEOFF]
Lloh0:
adrp x24, _LOCAL_PATH_DELIM@GOTPAGE
Lloh1:
ldr x24, [x24, _LOCAL_PATH_DELIM@GOTPAGEOFF]
adrp x21, _gl_local_filename_completion_proc.filepfxlen@PAGE
Lloh2:
adrp x27, _gl_home_dir@GOTPAGE
Lloh3:
ldr x27, [x27, _gl_home_dir@GOTPAGEOFF]
cbnz w1, LBB0_3
; %bb.1:
cbz x0, LBB0_3
; %bb.2:
bl _FindClose
str xzr, [x26, _gl_local_filename_completion_proc.searchHandle@PAGEOFF]
b LBB0_5
LBB0_3:
cbz x0, LBB0_5
; %bb.4:
Lloh4:
adrp x8, _gl_local_filename_completion_proc.filepfxoffset@PAGE
Lloh5:
ldrsw x8, [x8, _gl_local_filename_completion_proc.filepfxoffset@PAGEOFF]
ldr x9, [sp, #8] ; 8-byte Folded Reload
add x25, x9, x8
b LBB0_31
LBB0_5:
ldr x20, [sp, #8] ; 8-byte Folded Reload
mov x0, x20
bl __StrRFindLocalPathDelim
subs x23, x0, x20
b.eq LBB0_9
; %bb.6:
cbz x0, LBB0_10
; %bb.7:
mov x25, x24
mov x24, x0
ldr x0, [sp, #8] ; 8-byte Folded Reload
bl _strlen
add w21, w0, #1
mov x0, x21
bl _malloc
cbz x0, LBB0_24
; %bb.8:
mov x22, x0
sxtw x2, w21
ldr x20, [sp, #8] ; 8-byte Folded Reload
mov x1, x20
bl _memcpy
strb wzr, [x22, x23]
sub w8, w24, w20
add w8, w8, #1
mov x21, x22
mov x24, x25
b LBB0_11
LBB0_9:
mov x21, #0 ; =0x0
Lloh6:
adrp x8, _LOCAL_PATH_DELIM_STR@GOTPAGE
Lloh7:
ldr x8, [x8, _LOCAL_PATH_DELIM_STR@GOTPAGEOFF]
Lloh8:
ldr x22, [x8]
mov w8, #1 ; =0x1
b LBB0_11
LBB0_10:
mov w8, #0 ; =0x0
mov x21, #0 ; =0x0
Lloh9:
adrp x22, l_.str@PAGE
Lloh10:
add x22, x22, l_.str@PAGEOFF
LBB0_11:
adrp x25, _gl_local_filename_completion_proc.filepfxoffset@PAGE
str w8, [x25, _gl_local_filename_completion_proc.filepfxoffset@PAGEOFF]
Lloh11:
adrp x1, l_.str.1@PAGE
Lloh12:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x22
bl _strcmp
cbnz x0, LBB0_14
; %bb.12:
ldr x22, [x27]
cbnz x22, LBB0_14
; %bb.13:
mov x0, #0 ; =0x0
bl _gl_set_home_dir
ldr x22, [x27]
cbz x22, LBB0_24
LBB0_14:
mov x28, x27
mov x27, x24
mov x0, x22
bl _strlen
mov x24, x0
add w0, w0, #8
bl _malloc
cbz x0, LBB0_17
; %bb.15:
mov x23, x0
sxtw x24, w24
add x2, x24, #1
mov x1, x22
bl _memcpy
add x0, x23, x24
ldurb w8, [x0, #-1]
mov x24, x27
ldrb w9, [x27]
cmp w8, w9
b.ne LBB0_19
; %bb.16:
Lloh13:
adrp x1, l_.str.2@PAGE
Lloh14:
add x1, x1, l_.str.2@PAGEOFF
mov w2, #4 ; =0x4
b LBB0_20
LBB0_17:
cbz x21, LBB0_24
; %bb.18:
mov x0, x21
bl _free
b LBB0_24
LBB0_19:
Lloh15:
adrp x1, l_.str.3@PAGE
Lloh16:
add x1, x1, l_.str.3@PAGEOFF
mov w2, #5 ; =0x5
LBB0_20:
bl _memcpy
mov x27, x28
add x0, sp, #16
mov w1, #0 ; =0x0
mov w2, #16 ; =0x10
bl _memset
add x1, sp, #16
mov x0, x23
bl _FindFirstFile
str x0, [x26, _gl_local_filename_completion_proc.searchHandle@PAGEOFF]
mov x0, x23
bl _free
cbz x21, LBB0_22
; %bb.21:
mov x0, x21
bl _free
LBB0_22:
ldr x8, [x26, _gl_local_filename_completion_proc.searchHandle@PAGEOFF]
Lloh17:
adrp x9, _INVALID_HANDLE_VALUE@GOTPAGE
Lloh18:
ldr x9, [x9, _INVALID_HANDLE_VALUE@GOTPAGEOFF]
Lloh19:
ldr x9, [x9]
cmp x8, x9
b.eq LBB0_24
; %bb.23:
ldrsw x8, [x25, _gl_local_filename_completion_proc.filepfxoffset@PAGEOFF]
ldr x9, [sp, #8] ; 8-byte Folded Reload
add x25, x9, x8
mov x0, x25
bl _strlen
; kill: def $w0 killed $w0 def $x0
sxtw x8, w0
adrp x21, _gl_local_filename_completion_proc.filepfxlen@PAGE
str x8, [x21, _gl_local_filename_completion_proc.filepfxlen@PAGEOFF]
b LBB0_25
LBB0_24:
mov x20, #0 ; =0x0
b LBB0_46
LBB0_25:
ldr x22, [sp, #16]
ldrb w8, [x22]
cmp w8, #46
b.eq LBB0_31
; %bb.26:
ldrb w8, [x22, #1]
cbz w8, LBB0_31
; %bb.27:
cmp w8, #46
b.ne LBB0_29
; %bb.28:
ldrb w8, [x22, #2]
cbz w8, LBB0_31
LBB0_29:
ldr x2, [x21, _gl_local_filename_completion_proc.filepfxlen@PAGEOFF]
cbz x2, LBB0_41
; %bb.30:
mov x0, x22
mov x1, x25
bl __strnicmp
cbz x0, LBB0_41
LBB0_31:
ldr x0, [x26, _gl_local_filename_completion_proc.searchHandle@PAGEOFF]
add x1, sp, #16
bl _FindNextFile
cbnz w0, LBB0_25
; %bb.32:
bl _GetLastError
mov x22, x0
Lloh20:
adrp x8, _ERROR_NO_MORE_FILES@GOTPAGE
Lloh21:
ldr x8, [x8, _ERROR_NO_MORE_FILES@GOTPAGEOFF]
Lloh22:
ldr x23, [x8]
ldr x0, [x26, _gl_local_filename_completion_proc.searchHandle@PAGEOFF]
bl _FindClose
str xzr, [x26, _gl_local_filename_completion_proc.searchHandle@PAGEOFF]
cmp x22, x23
b.ne LBB0_24
; %bb.33:
cmp w19, #1
b.ne LBB0_25
; %bb.34:
Lloh23:
adrp x20, _gl_matchlist@GOTPAGE
Lloh24:
ldr x20, [x20, _gl_matchlist@GOTPAGEOFF]
ldr x8, [x20]
ldr x22, [x8]
mov x0, x22
bl _strlen
add x8, x22, w0, sxtw
ldrb w28, [x8, #2]
cmp w28, #100
b.ne LBB0_36
; %bb.35:
ldrb w8, [x24]
Lloh25:
adrp x9, _gl_completion_exact_match_extra_char@GOTPAGE
Lloh26:
ldr x9, [x9, _gl_completion_exact_match_extra_char@GOTPAGEOFF]
Lloh27:
strb w8, [x9]
LBB0_36:
ldrb w8, [x22]
cmp w8, #126
b.ne LBB0_25
; %bb.37:
ldrsb w0, [x22, #1]!
cbz w0, LBB0_39
; %bb.38:
bl _IsLocalPathDelim
cbz x0, LBB0_25
LBB0_39:
mov x0, x22
bl _strlen
; kill: def $w0 killed $w0 def $x0
sxtw x8, w0
add x22, x8, #1
ldr x0, [x27]
bl _strlen
; kill: def $w0 killed $w0 def $x0
sxtw x23, w0
ldr x8, [x27]
add x8, x8, x23
ldursb w0, [x8, #-1]
bl _IsLocalPathDelim
cmp x0, #0
cset w8, ne
ldr x9, [x20]
ldr x0, [x9]
sub x23, x23, x8
add x8, x22, x23
add x1, x8, #4
bl _realloc
cbz x0, LBB0_25
; %bb.40:
mov x21, x19
mov x19, x24
add x24, x0, x23
add x1, x0, #1
mov x20, x25
mov x25, x0
mov x0, x24
mov x2, x22
bl _memmove
ldr x1, [x27]
mov x0, x25
mov x2, x23
bl _memcpy
add x8, x24, x22
mov x24, x19
mov x19, x21
adrp x21, _gl_local_filename_completion_proc.filepfxlen@PAGE
strb wzr, [x8]
strb w28, [x8, #1]
strb wzr, [x8, #2]
Lloh28:
adrp x8, _gl_matchlist@GOTPAGE
Lloh29:
ldr x8, [x8, _gl_matchlist@GOTPAGEOFF]
Lloh30:
ldr x8, [x8]
str x25, [x8]
mov x25, x20
b LBB0_25
LBB0_41:
mov x0, x22
bl _strlen
; kill: def $w0 killed $w0 def $x0
sxtw x21, w0
adrp x23, _gl_local_filename_completion_proc.filepfxoffset@PAGE
ldr w8, [x23, _gl_local_filename_completion_proc.filepfxoffset@PAGEOFF]
add w8, w0, w8
add w0, w8, #5
bl _malloc
mov x20, x0
strb wzr, [x0]
ldr w2, [x23, _gl_local_filename_completion_proc.filepfxoffset@PAGEOFF]
tbnz w2, #31, LBB0_43
; %bb.42:
mov x0, x20
ldr x1, [sp, #8] ; 8-byte Folded Reload
bl _memcpy
ldr w2, [x23, _gl_local_filename_completion_proc.filepfxoffset@PAGEOFF]
LBB0_43:
add x0, x20, w2, sxtw
add x2, x21, #1
mov x1, x22
bl _memcpy
Lloh31:
adrp x8, _FILE_ATTRIBUTE_DIRECTORY@GOTPAGE
Lloh32:
ldr x8, [x8, _FILE_ATTRIBUTE_DIRECTORY@GOTPAGEOFF]
ldr w9, [sp, #24]
Lloh33:
ldr w10, [x8]
ldrsw x8, [x23, _gl_local_filename_completion_proc.filepfxoffset@PAGEOFF]
add x8, x8, x21
add x8, x20, x8
tst w10, w9
b.eq LBB0_45
; %bb.44:
mov w9, #100 ; =0x64
strh w9, [x8]
b LBB0_46
LBB0_45:
mov w9, #11520 ; =0x2d00
sturh w9, [x8, #1]
strb wzr, [x8, #3]
LBB0_46:
mov x0, x20
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
ldp x28, x27, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #128
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdr Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGot Lloh23, Lloh24
.loh AdrpLdrGotStr Lloh25, Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_gl_local_filename_completion_proc.searchHandle,8,3 ; @gl_local_filename_completion_proc.searchHandle
.zerofill __DATA,__bss,_gl_local_filename_completion_proc.filepfxoffset,4,2 ; @gl_local_filename_completion_proc.filepfxoffset
.zerofill __DATA,__bss,_gl_local_filename_completion_proc.filepfxlen,8,3 ; @gl_local_filename_completion_proc.filepfxlen
.comm _LOCAL_PATH_DELIM_STR,8,3 ; @LOCAL_PATH_DELIM_STR
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "."
l_.str.1: ; @.str.1
.asciz "~"
.comm _gl_home_dir,8,3 ; @gl_home_dir
.comm _LOCAL_PATH_DELIM,1,0 ; @LOCAL_PATH_DELIM
l_.str.2: ; @.str.2
.asciz "*.*"
l_.str.3: ; @.str.3
.asciz "\\*.*"
.comm _INVALID_HANDLE_VALUE,8,3 ; @INVALID_HANDLE_VALUE
.comm _FILE_ATTRIBUTE_DIRECTORY,4,2 ; @FILE_ATTRIBUTE_DIRECTORY
.comm _ERROR_NO_MORE_FILES,8,3 ; @ERROR_NO_MORE_FILES
.comm _gl_matchlist,8,3 ; @gl_matchlist
.comm _gl_completion_exact_match_extra_char,1,0 ; @gl_completion_exact_match_extra_char
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function new_pid
_new_pid: ## @new_pid
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movl (%rdi), %r14d
cmpl %r14d, 4(%rdi)
jne LBB0_1
## %bb.2:
leal (%r14,%r14), %eax
testl %r14d, %r14d
movl $32, %r14d
cmovnel %eax, %r14d
movq 8(%rbx), %rdi
leal (,%r14,4), %esi
callq _realloc
movq %rax, 8(%rbx)
movl (%rbx), %eax
cmpl %r14d, %eax
jle LBB0_3
jmp LBB0_5
LBB0_1:
movl %r14d, %eax
LBB0_3:
movslq %eax, %r15
movslq %r14d, %r12
movq 8(%rbx), %rdi
leaq (,%r15,4), %rax
leaq (%rax,%rax,2), %r13
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
addq %r13, %rdi
xorl %esi, %esi
movl $4, %edx
callq _memset
movq 8(%rbx), %rdi
movq $-1, (%rdi,%r13)
movl $-1, 8(%rdi,%r13)
decq %r15
addq $-12, %r13
cmpq %r12, %r15
jle LBB0_4
LBB0_5:
movl %r14d, (%rbx)
movl 4(%rbx), %eax
leal 1(%rax), %ecx
movl %ecx, 4(%rbx)
## kill: def $eax killed $eax killed $rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _new_pid
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function new_pid
_new_pid: ; @new_pid
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x0
ldp w20, w8, [x0]
mov x9, x20
cmp w8, w20
b.ne LBB0_2
; %bb.1:
lsl w8, w20, #1
mov w9, #32 ; =0x20
cmp w20, #0
csel w20, w9, w8, eq
ldr x0, [x19, #8]
lsl w1, w20, #2
bl _realloc
str x0, [x19, #8]
ldr w9, [x19]
cmp w9, w20
b.gt LBB0_4
LBB0_2:
sxtw x21, w9
sxtw x22, w20
ldr x8, [x19, #8]
add x9, x21, w9, sxtw #1
lsl x23, x9, #2
mov w24, #-1 ; =0xffffffff
LBB0_3: ; =>This Inner Loop Header: Depth=1
add x0, x8, x23
mov w1, #0 ; =0x0
mov w2, #4 ; =0x4
bl _memset
ldr x8, [x19, #8]
add x9, x8, x23
movi.2d v0, #0xffffffffffffffff
str d0, [x9]
str w24, [x9, #8]
sub x21, x21, #1
sub x23, x23, #12
cmp x21, x22
b.le LBB0_3
LBB0_4:
ldr w0, [x19, #4]
add w8, w0, #1
stp w20, w8, [x19]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _new_pid
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function g_gatel_serve
_g_gatel_serve: ## @g_gatel_serve
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_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 %edi, -44(%rbp) ## 4-byte Spill
movq _g_gate_verbose@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
jne LBB0_3
## %bb.1:
xorl %edi, %edi
xorl %esi, %esi
callq _daemon
cmpl $-1, %eax
jne LBB0_3
## %bb.2:
movq _unit@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl $1, %esi
callq _g_gate_destroy
movq _EXIT_FAILURE@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
callq _err
LBB0_3:
movq _LOG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %r14d
xorl %eax, %eax
callq _getpid
leaq L_.str.1(%rip), %rsi
movl %r14d, %edi
movl %eax, %edx
callq _g_gate_log
movq _G_GATE_VERSION@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -52(%rbp)
movq _unit@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -56(%rbp)
movq _sectorsize@GOTPCREL(%rip), %rax
movq (%rax), %r14
movq %r14, %rdi
callq _malloc
movq %rax, -64(%rbp)
movq _G_GATE_CMD_START@GOTPCREL(%rip), %rbx
leaq -88(%rbp), %r15
jmp LBB0_4
LBB0_22: ## in Loop: Header=BB0_4 Depth=1
movq _EOPNOTSUPP@GOTPCREL(%rip), %rax
LBB0_23: ## in Loop: Header=BB0_4 Depth=1
movl (%rax), %ecx
LBB0_24: ## in Loop: Header=BB0_4 Depth=1
movl %ecx, -80(%rbp)
movq _G_GATE_CMD_DONE@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq %r15, %rsi
callq _g_gate_ioctl
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq %r14, -88(%rbp)
movl $0, -80(%rbp)
movl (%rbx), %edi
movq %r15, %rsi
callq _g_gate_ioctl
movl -80(%rbp), %r13d
testl %r13d, %r13d
je LBB0_11
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
cmpl $129, %r13d
je LBB0_8
## %bb.6: ## in Loop: Header=BB0_4 Depth=1
cmpl $130, %r13d
jne LBB0_10
jmp LBB0_7
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_4 Depth=1
movl -76(%rbp), %eax
movl $-131, %ecx
addl %ecx, %eax
xorl %edi, %edi
testl $-3, %eax
sete %dil
callq _assert
movq -88(%rbp), %rsi
movq -64(%rbp), %rdi
callq _realloc
movq %rax, -64(%rbp)
testq %rax, %rax
je LBB0_10
## %bb.9: ## in Loop: Header=BB0_4 Depth=1
movq -88(%rbp), %r14
jmp LBB0_4
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_4 Depth=1
movq _G_GATE_CTL_NAME@GOTPCREL(%rip), %rax
movl (%rax), %r12d
movl %r13d, %edi
callq _strerror
leaq L_.str.2(%rip), %rdi
movl %r12d, %esi
movl %eax, %edx
callq _g_gate_xlog
LBB0_11: ## in Loop: Header=BB0_4 Depth=1
movl -76(%rbp), %eax
cmpl $131, %eax
je LBB0_21
## %bb.12: ## in Loop: Header=BB0_4 Depth=1
cmpl $133, %eax
je LBB0_21
## %bb.13: ## in Loop: Header=BB0_4 Depth=1
cmpl $132, %eax
jne LBB0_22
## %bb.14: ## in Loop: Header=BB0_4 Depth=1
movq -88(%rbp), %rdx
movq -64(%rbp), %rsi
cmpq %r14, %rdx
jbe LBB0_18
## %bb.15: ## in Loop: Header=BB0_4 Depth=1
movq %rsi, %rdi
movq %rdx, %rsi
callq _realloc
movq %rax, -64(%rbp)
testq %rax, %rax
je LBB0_16
## %bb.17: ## in Loop: Header=BB0_4 Depth=1
movq %rax, %rsi
movq -88(%rbp), %rdx
movq %rdx, %r14
LBB0_18: ## in Loop: Header=BB0_4 Depth=1
movl -72(%rbp), %ecx
movl -44(%rbp), %edi ## 4-byte Reload
callq _pread
jmp LBB0_19
.p2align 4, 0x90
LBB0_21: ## in Loop: Header=BB0_4 Depth=1
movq -64(%rbp), %rsi
movq -88(%rbp), %rdx
movl -72(%rbp), %ecx
movl -44(%rbp), %edi ## 4-byte Reload
callq _pwrite
LBB0_19: ## in Loop: Header=BB0_4 Depth=1
xorl %ecx, %ecx
cmpl $-1, %eax
jne LBB0_24
## %bb.20: ## in Loop: Header=BB0_4 Depth=1
movq _errno@GOTPCREL(%rip), %rax
jmp LBB0_23
LBB0_16: ## in Loop: Header=BB0_4 Depth=1
movl $129, %ecx
jmp LBB0_24
LBB0_7:
movq -64(%rbp), %rdi
callq _free
xorl %eax, %eax
callq _g_gate_close_device
movl -44(%rbp), %edi ## 4-byte Reload
callq _close
movq _EXIT_SUCCESS@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _exit
.cfi_endproc
## -- End function
.comm _g_gate_verbose,8,3 ## @g_gate_verbose
.comm _unit,4,2 ## @unit
.comm _EXIT_FAILURE,4,2 ## @EXIT_FAILURE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Cannot daemonize"
.comm _LOG_DEBUG,4,2 ## @LOG_DEBUG
L_.str.1: ## @.str.1
.asciz "Worker created: %u."
.comm _G_GATE_VERSION,4,2 ## @G_GATE_VERSION
.comm _sectorsize,8,3 ## @sectorsize
.comm _G_GATE_CMD_START,4,2 ## @G_GATE_CMD_START
.comm _EXIT_SUCCESS,4,2 ## @EXIT_SUCCESS
L_.str.2: ## @.str.2
.asciz "ioctl(/dev/%s): %s."
.comm _G_GATE_CTL_NAME,4,2 ## @G_GATE_CTL_NAME
.comm _errno,4,2 ## @errno
.comm _EOPNOTSUPP,4,2 ## @EOPNOTSUPP
.comm _G_GATE_CMD_DONE,4,2 ## @G_GATE_CMD_DONE
.no_dead_strip _g_gatel_serve
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function g_gatel_serve
_g_gatel_serve: ; @g_gatel_serve
.cfi_startproc
; %bb.0:
sub sp, sp, #144
stp x28, x27, [sp, #48] ; 16-byte Folded Spill
stp x26, x25, [sp, #64] ; 16-byte Folded Spill
stp x24, x23, [sp, #80] ; 16-byte Folded Spill
stp x22, x21, [sp, #96] ; 16-byte Folded Spill
stp x20, x19, [sp, #112] ; 16-byte Folded Spill
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x0
Lloh0:
adrp x8, _g_gate_verbose@GOTPAGE
Lloh1:
ldr x8, [x8, _g_gate_verbose@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
Lloh3:
adrp x21, _unit@GOTPAGE
Lloh4:
ldr x21, [x21, _unit@GOTPAGEOFF]
cbnz x8, LBB0_3
; %bb.1:
mov w0, #0 ; =0x0
mov w1, #0 ; =0x0
bl _daemon
cmn w0, #1
b.ne LBB0_3
; %bb.2:
ldr w0, [x21]
mov w1, #1 ; =0x1
bl _g_gate_destroy
Lloh5:
adrp x8, _EXIT_FAILURE@GOTPAGE
Lloh6:
ldr x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh7:
ldr w0, [x8]
Lloh8:
adrp x1, l_.str@PAGE
Lloh9:
add x1, x1, l_.str@PAGEOFF
bl _err
LBB0_3:
Lloh10:
adrp x8, _LOG_DEBUG@GOTPAGE
Lloh11:
ldr x8, [x8, _LOG_DEBUG@GOTPAGEOFF]
Lloh12:
ldr w20, [x8]
bl _getpid
mov x2, x0
Lloh13:
adrp x1, l_.str.1@PAGE
Lloh14:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x20
bl _g_gate_log
Lloh15:
adrp x8, _G_GATE_VERSION@GOTPAGE
Lloh16:
ldr x8, [x8, _G_GATE_VERSION@GOTPAGEOFF]
Lloh17:
ldr w8, [x8]
ldr w9, [x21]
stp w9, w8, [sp, #40]
Lloh18:
adrp x8, _sectorsize@GOTPAGE
Lloh19:
ldr x8, [x8, _sectorsize@GOTPAGEOFF]
Lloh20:
ldr x20, [x8]
mov x0, x20
bl _malloc
Lloh21:
adrp x24, _G_GATE_CMD_START@GOTPAGE
Lloh22:
ldr x24, [x24, _G_GATE_CMD_START@GOTPAGEOFF]
str x0, [sp, #32]
Lloh23:
adrp x25, _errno@GOTPAGE
Lloh24:
ldr x25, [x25, _errno@GOTPAGEOFF]
Lloh25:
adrp x26, _G_GATE_CMD_DONE@GOTPAGE
Lloh26:
ldr x26, [x26, _G_GATE_CMD_DONE@GOTPAGEOFF]
mov w27, #131 ; =0x83
Lloh27:
adrp x21, l_.str.2@PAGE
Lloh28:
add x21, x21, l_.str.2@PAGEOFF
Lloh29:
adrp x28, _G_GATE_CTL_NAME@GOTPAGE
Lloh30:
ldr x28, [x28, _G_GATE_CTL_NAME@GOTPAGEOFF]
b LBB0_6
LBB0_4: ; in Loop: Header=BB0_6 Depth=1
Lloh31:
adrp x8, _EOPNOTSUPP@GOTPAGE
Lloh32:
ldr x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh33:
ldr w8, [x8]
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
str w8, [sp, #16]
ldr w0, [x26]
add x1, sp, #8
bl _g_gate_ioctl
LBB0_6: ; =>This Inner Loop Header: Depth=1
str x20, [sp, #8]
str wzr, [sp, #16]
ldr w0, [x24]
add x1, sp, #8
bl _g_gate_ioctl
ldr w22, [sp, #16]
cbz w22, LBB0_12
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
cmp w22, #129
b.eq LBB0_9
; %bb.8: ; in Loop: Header=BB0_6 Depth=1
cmp w22, #130
b.ne LBB0_11
b LBB0_22
LBB0_9: ; in Loop: Header=BB0_6 Depth=1
ldr w8, [sp, #20]
cmp w8, #133
ccmp w8, w27, #4, ne
cset w0, eq
bl _assert
ldr x0, [sp, #32]
ldr x1, [sp, #8]
bl _realloc
str x0, [sp, #32]
cbz x0, LBB0_11
; %bb.10: ; in Loop: Header=BB0_6 Depth=1
ldr x20, [sp, #8]
b LBB0_6
LBB0_11: ; in Loop: Header=BB0_6 Depth=1
ldr w23, [x28]
mov x0, x22
bl _strerror
mov x2, x0
mov x0, x21
mov x1, x23
bl _g_gate_xlog
LBB0_12: ; in Loop: Header=BB0_6 Depth=1
ldr w8, [sp, #20]
cmp w8, #131
b.eq LBB0_19
; %bb.13: ; in Loop: Header=BB0_6 Depth=1
cmp w8, #133
b.eq LBB0_19
; %bb.14: ; in Loop: Header=BB0_6 Depth=1
cmp w8, #132
b.ne LBB0_4
; %bb.15: ; in Loop: Header=BB0_6 Depth=1
ldr x2, [sp, #8]
ldr x1, [sp, #32]
cmp x2, x20
b.ls LBB0_18
; %bb.16: ; in Loop: Header=BB0_6 Depth=1
mov x0, x1
mov x1, x2
bl _realloc
str x0, [sp, #32]
cbz x0, LBB0_21
; %bb.17: ; in Loop: Header=BB0_6 Depth=1
mov x1, x0
ldr x2, [sp, #8]
mov x20, x2
LBB0_18: ; in Loop: Header=BB0_6 Depth=1
ldr w3, [sp, #24]
mov x0, x19
bl _pread
b LBB0_20
LBB0_19: ; in Loop: Header=BB0_6 Depth=1
ldr x1, [sp, #32]
ldr x2, [sp, #8]
ldr w3, [sp, #24]
mov x0, x19
bl _pwrite
LBB0_20: ; in Loop: Header=BB0_6 Depth=1
ldr w8, [x25]
cmn w0, #1
csel w8, w8, wzr, eq
b LBB0_5
LBB0_21: ; in Loop: Header=BB0_6 Depth=1
mov w8, #129 ; =0x81
b LBB0_5
LBB0_22:
ldr x0, [sp, #32]
bl _free
bl _g_gate_close_device
mov x0, x19
bl _close
Lloh34:
adrp x8, _EXIT_SUCCESS@GOTPAGE
Lloh35:
ldr x8, [x8, _EXIT_SUCCESS@GOTPAGEOFF]
Lloh36:
ldr w0, [x8]
bl _exit
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh29, Lloh30
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpLdrGot Lloh25, Lloh26
.loh AdrpLdrGot Lloh23, Lloh24
.loh AdrpLdrGot Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36
.cfi_endproc
; -- End function
.comm _g_gate_verbose,8,3 ; @g_gate_verbose
.comm _unit,4,2 ; @unit
.comm _EXIT_FAILURE,4,2 ; @EXIT_FAILURE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Cannot daemonize"
.comm _LOG_DEBUG,4,2 ; @LOG_DEBUG
l_.str.1: ; @.str.1
.asciz "Worker created: %u."
.comm _G_GATE_VERSION,4,2 ; @G_GATE_VERSION
.comm _sectorsize,8,3 ; @sectorsize
.comm _G_GATE_CMD_START,4,2 ; @G_GATE_CMD_START
.comm _EXIT_SUCCESS,4,2 ; @EXIT_SUCCESS
l_.str.2: ; @.str.2
.asciz "ioctl(/dev/%s): %s."
.comm _G_GATE_CTL_NAME,4,2 ; @G_GATE_CTL_NAME
.comm _errno,4,2 ; @errno
.comm _EOPNOTSUPP,4,2 ; @EOPNOTSUPP
.comm _G_GATE_CMD_DONE,4,2 ; @G_GATE_CMD_DONE
.no_dead_strip _g_gatel_serve
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function ip_from_internal_list
_ip_from_internal_list: ## @ip_from_internal_list
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, -64(%rbp) ## 8-byte Spill
movq %rdi, %rbx
callq _dalias_hash
movq %rax, %r15
movq _internal_ips@GOTPCREL(%rip), %r13
movq (%r13), %r14
movq (%r14), %r12
testq %r12, %r12
je LBB0_4
## %bb.1:
movq 16(%r14), %rax
movq (%rax), %rax
cmpq %r15, (%rax)
jne LBB0_4
## %bb.2:
movq 8(%rax), %rsi
movq %rbx, %rdi
callq _strcmp
testl %eax, %eax
je LBB0_3
LBB0_4:
movslq 8(%r14), %rax
leaq -1(%r12), %rcx
cmpq %rax, %rcx
jbe LBB0_7
## %bb.5:
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _PDEBUG
movq (%r13), %rax
movq 16(%rax), %rdi
movl 8(%rax), %eax
leal 128(,%rax,8), %esi
callq _realloc
testq %rax, %rax
je LBB0_11
## %bb.6:
movq (%r13), %rcx
addl $16, 8(%rcx)
movq %rax, 16(%rcx)
movq (%rcx), %r12
LBB0_7:
movq %r12, %rdi
callq _make_internal_ip
movq _ip_type_invalid@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_12
## %bb.8:
movq %rax, -56(%rbp) ## 8-byte Spill
movl $0, -44(%rbp)
leaq -44(%rbp), %rdi
movl $4, %esi
callq _dumpstring
testq %rax, %rax
je LBB0_11
## %bb.9:
movq %rax, %r12
movq (%r13), %rax
movl (%rax), %esi
leaq L_.str.3(%rip), %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq _PDEBUG
movq (%r13), %rax
movq (%rax), %rcx
movq 16(%rax), %rax
movq %r12, (%rax,%rcx,8)
movq (%r13), %rax
movq (%rax), %rcx
movq 16(%rax), %rax
movq (%rax,%rcx,8), %rax
movq %r15, (%rax)
movq -64(%rbp), %rsi ## 8-byte Reload
incq %rsi
movq %rbx, %rdi
callq _dumpstring
movq (%r13), %rdx
movq (%rdx), %rcx
movq 16(%rdx), %rsi
testq %rax, %rax
je LBB0_10
## %bb.14:
movq (%rsi,%rcx,8), %rsi
movq %rax, 8(%rsi)
incq %rcx
movq %rcx, (%rdx)
movq -56(%rbp), %rax ## 8-byte Reload
jmp LBB0_13
LBB0_3:
xorl %edi, %edi
callq _make_internal_ip
movq %rax, %r14
leaq L_.str(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _PDEBUG
movq %r14, %rax
jmp LBB0_13
LBB0_10:
movq $0, (%rsi,%rcx,8)
LBB0_11:
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _PDEBUG
LBB0_12:
leaq L_.str.4(%rip), %rdi
xorl %eax, %eax
callq _PDEBUG
movq _ip_type_invalid@GOTPCREL(%rip), %rax
movq (%rax), %rax
LBB0_13:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _internal_ips,8,3 ## @internal_ips
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "got cached ip for %s\n"
L_.str.1: ## @.str.1
.asciz "realloc\n"
L_.str.2: ## @.str.2
.asciz "out of mem\n"
.comm _ip_type_invalid,8,3 ## @ip_type_invalid
L_.str.3: ## @.str.3
.asciz "creating new entry %d for ip of %s\n"
L_.str.4: ## @.str.4
.asciz "return err\n"
.no_dead_strip _ip_from_internal_list
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function ip_from_internal_list
_ip_from_internal_list: ; @ip_from_internal_list
.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 x20, x1
mov x19, x0
bl _dalias_hash
mov x21, x0
Lloh0:
adrp x23, _internal_ips@GOTPAGE
Lloh1:
ldr x23, [x23, _internal_ips@GOTPAGEOFF]
ldr x24, [x23]
ldr x22, [x24]
cbz x22, LBB0_3
; %bb.1:
ldr x8, [x24, #16]
ldr x8, [x8]
ldr x9, [x8]
cmp x9, x21
b.ne LBB0_3
; %bb.2:
ldr x1, [x8, #8]
mov x0, x19
bl _strcmp
cbz w0, LBB0_10
LBB0_3:
ldrsw x8, [x24, #8]
sub x9, x22, #1
Lloh2:
adrp x24, _ip_type_invalid@GOTPAGE
Lloh3:
ldr x24, [x24, _ip_type_invalid@GOTPAGEOFF]
cmp x9, x8
b.ls LBB0_6
; %bb.4:
Lloh4:
adrp x0, l_.str.1@PAGE
Lloh5:
add x0, x0, l_.str.1@PAGEOFF
bl _PDEBUG
ldr x8, [x23]
ldr x0, [x8, #16]
ldr w8, [x8, #8]
lsl w8, w8, #3
add w1, w8, #128
bl _realloc
cbz x0, LBB0_12
; %bb.5:
ldr x8, [x23]
ldr w9, [x8, #8]
add w9, w9, #16
str w9, [x8, #8]
str x0, [x8, #16]
ldr x22, [x8]
LBB0_6:
mov x0, x22
bl _make_internal_ip
ldr x8, [x24]
cmp x0, x8
b.eq LBB0_13
; %bb.7:
mov x25, x0
str wzr, [sp, #28]
add x0, sp, #28
mov w1, #4 ; =0x4
bl _dumpstring
cbz x0, LBB0_12
; %bb.8:
mov x22, x0
ldr x8, [x23]
ldr x8, [x8]
stp x8, x19, [sp]
Lloh6:
adrp x0, l_.str.3@PAGE
Lloh7:
add x0, x0, l_.str.3@PAGEOFF
bl _PDEBUG
ldr x8, [x23]
ldr x9, [x8, #16]
ldr x8, [x8]
str x22, [x9, x8, lsl #3]
ldr x8, [x23]
ldr x9, [x8, #16]
ldr x8, [x8]
ldr x8, [x9, x8, lsl #3]
str x21, [x8]
add x1, x20, #1
mov x0, x19
bl _dumpstring
ldr x8, [x23]
ldr x9, [x8, #16]
ldr x10, [x8]
cbz x0, LBB0_11
; %bb.9:
ldr x9, [x9, x10, lsl #3]
str x0, [x9, #8]
add x9, x10, #1
str x9, [x8]
mov x0, x25
b LBB0_14
LBB0_10:
mov x0, #0 ; =0x0
bl _make_internal_ip
mov x20, x0
str x19, [sp]
Lloh8:
adrp x0, l_.str@PAGE
Lloh9:
add x0, x0, l_.str@PAGEOFF
bl _PDEBUG
mov x0, x20
b LBB0_14
LBB0_11:
str xzr, [x9, x10, lsl #3]
LBB0_12:
Lloh10:
adrp x0, l_.str.2@PAGE
Lloh11:
add x0, x0, l_.str.2@PAGEOFF
bl _PDEBUG
LBB0_13:
Lloh12:
adrp x0, l_.str.4@PAGE
Lloh13:
add x0, x0, l_.str.4@PAGEOFF
bl _PDEBUG
ldr x0, [x24]
LBB0_14:
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 Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh12, Lloh13
.cfi_endproc
; -- End function
.comm _internal_ips,8,3 ; @internal_ips
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "got cached ip for %s\n"
l_.str.1: ; @.str.1
.asciz "realloc\n"
l_.str.2: ; @.str.2
.asciz "out of mem\n"
.comm _ip_type_invalid,8,3 ; @ip_type_invalid
l_.str.3: ; @.str.3
.asciz "creating new entry %d for ip of %s\n"
l_.str.4: ; @.str.4
.asciz "return err\n"
.no_dead_strip _ip_from_internal_list
.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, -56(%rbp) ## 8-byte Spill
movl %esi, %r15d
cmpl $5, %esi
jb LBB0_7
## %bb.1:
movq %r8, %rbx
movq %rcx, %r12
movq %rdi, %r13
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq (%r13), %r14
leaq 4(%r13), %rdi
movl %r14d, %esi
leaq -48(%rbp), %rdx
xorl %ecx, %ecx
callq _nvlist_unpack
testq %rax, %rax
jne LBB0_3
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movl (%rbx), %edi
leal 1(%rdi), %eax
movl %eax, (%rbx)
addl $2, %edi
## kill: def $edi killed $edi killed $rdi
callq _ISP2
movq (%r12), %rdi
testq %rax, %rax
jne LBB0_5
## %bb.6: ## in Loop: Header=BB0_2 Depth=1
movslq %r14d, %rax
addq $4, %rax
addq %rax, %r13
subl %eax, %r15d
movq -48(%rbp), %rax
movslq (%rbx), %rcx
movq %rax, -8(%rdi,%rcx,8)
cmpl $4, %r15d
ja LBB0_2
LBB0_7:
movq -56(%rbp), %rax ## 8-byte Reload
movl %r15d, (%rax)
xorl %eax, %eax
jmp LBB0_8
LBB0_5:
movl (%rbx), %esi
shll $4, %esi
callq _realloc
movq -48(%rbp), %rdi
callq _nvlist_free
decl (%rbx)
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 x20, x2
mov x21, x1
cmp w1, #5
b.lo LBB0_5
; %bb.1:
mov x19, x4
mov x22, x3
mov x23, x0
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x0, x23
ldr x24, [x0], #4
add x2, sp, #8
mov x1, x24
mov w3, #0 ; =0x0
bl _nvlist_unpack
cbnz x0, LBB0_7
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
ldr w8, [x19]
add w9, w8, #1
str w9, [x19]
add w0, w8, #2
bl _ISP2
mov x8, x0
ldr x0, [x22]
cbnz x8, LBB0_6
; %bb.4: ; in Loop: Header=BB0_2 Depth=1
sxtw x8, w24
add x8, x8, #4
add x23, x23, x8
sub w21, w21, w8
ldr x8, [sp, #8]
ldrsw x9, [x19]
add x9, x0, x9, lsl #3
stur x8, [x9, #-8]
cmp w21, #4
b.hi LBB0_2
LBB0_5:
mov w0, #0 ; =0x0
str w21, [x20]
b LBB0_8
LBB0_6:
ldr w8, [x19]
lsl w1, w8, #4
bl _realloc
ldr x0, [sp, #8]
bl _nvlist_free
ldr w8, [x19]
sub w8, w8, #1
str w8, [x19]
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
.globl _resize_upsample_layer ## -- Begin function resize_upsample_layer
.p2align 4, 0x90
_resize_upsample_layer: ## @resize_upsample_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
movl %edx, %ecx
movq %rdi, %rbx
movl %esi, (%rdi)
movl %edx, 4(%rdi)
movl 12(%rdi), %r8d
movl %r8d, %edi
imull %esi, %edi
movl %edi, 8(%rbx)
movl %r8d, %eax
imull %edx, %eax
movl %eax, 16(%rbx)
cmpq $0, 72(%rbx)
je LBB0_2
## %bb.1:
movl %esi, %eax
cltd
idivl %r8d
movl %eax, %edi
movl %eax, 8(%rbx)
movl %ecx, %eax
cltd
idivl %r8d
movl %eax, 16(%rbx)
LBB0_2:
imull %edi, %eax
imull 24(%rbx), %eax
movl %eax, 20(%rbx)
imull %esi, %ecx
imull 32(%rbx), %ecx
movl %ecx, 28(%rbx)
movq 40(%rbx), %rdi
imull 36(%rbx), %eax
shll $2, %eax
movl %eax, %esi
callq _realloc
movq %rax, 40(%rbx)
movq 56(%rbx), %rdi
movl 20(%rbx), %esi
imull 36(%rbx), %esi
shll $2, %esi
callq _realloc
movq %rax, 56(%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_upsample_layer ; -- Begin function resize_upsample_layer
.p2align 2
_resize_upsample_layer: ; @resize_upsample_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]
ldr w10, [x0, #12]
mul w8, w10, w1
str w8, [x0, #8]
mul w9, w10, w2
str w9, [x0, #16]
ldr x11, [x0, #72]
cbz x11, LBB0_2
; %bb.1:
sdiv w8, w1, w10
str w8, [x19, #8]
sdiv w9, w2, w10
str w9, [x19, #16]
LBB0_2:
mul w8, w9, w8
ldr w9, [x19, #24]
mul w8, w8, w9
str w8, [x19, #20]
mul w9, w2, w1
ldp w10, w11, [x19, #32]
mul w9, w9, w10
str w9, [x19, #28]
ldr x0, [x19, #40]
mul w8, w8, w11
lsl w1, w8, #2
bl _realloc
str x0, [x19, #40]
ldr x0, [x19, #56]
ldr w8, [x19, #20]
ldr w9, [x19, #36]
mul w8, w8, w9
lsl w1, w8, #2
bl _realloc
str x0, [x19, #56]
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 expandtofit
_expandtofit: ## @expandtofit
.cfi_startproc
## %bb.0:
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 _SSIZE_MAX@GOTPCREL(%rip), %rax
movq (%rax), %rcx
leaq -1(%rcx), %rax
cmpq %rsi, %rax
jae LBB0_2
## %bb.1:
movq _EOVERFLOW@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _errno@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
LBB0_7:
movl $-1, %eax
jmp LBB0_8
LBB0_2:
xorl %eax, %eax
cmpq %rsi, (%rdx)
jae LBB0_8
## %bb.3:
movq %rdx, %rbx
incq %rcx
cmpq %rsi, %rcx
je LBB0_5
## %bb.4:
movq %rdi, %r14
movq %rsi, %rdi
callq _p2roundup
movq %r14, %rdi
movq %rax, %rsi
LBB0_5:
movq %rdi, %r14
movq (%rdi), %rdi
movq %rsi, %r15
callq _realloc
testq %rax, %rax
je LBB0_7
## %bb.6:
movq %r15, (%rbx)
movq %rax, (%r14)
xorl %eax, %eax
LBB0_8:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SSIZE_MAX,8,3 ## @SSIZE_MAX
.comm _EOVERFLOW,4,2 ## @EOVERFLOW
.comm _errno,4,2 ## @errno
.no_dead_strip _expandtofit
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function expandtofit
_expandtofit: ; @expandtofit
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _SSIZE_MAX@GOTPAGE
Lloh1:
ldr x8, [x8, _SSIZE_MAX@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
sub x9, x8, #1
cmp x9, x1
b.hs LBB0_2
; %bb.1:
Lloh3:
adrp x8, _EOVERFLOW@GOTPAGE
Lloh4:
ldr x8, [x8, _EOVERFLOW@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
Lloh6:
adrp x9, _errno@GOTPAGE
Lloh7:
ldr x9, [x9, _errno@GOTPAGEOFF]
Lloh8:
str w8, [x9]
mov w0, #-1 ; =0xffffffff
ret
LBB0_2:
ldr x9, [x2]
cmp x9, x1
b.hs LBB0_7
; %bb.3:
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
add x8, x8, #1
cmp x8, x1
b.eq LBB0_5
; %bb.4:
mov x20, x0
mov x0, x1
bl _p2roundup
mov x1, x0
mov x0, x20
LBB0_5:
mov x20, x0
ldr x0, [x0]
mov x21, x1
bl _realloc
cbz x0, LBB0_8
; %bb.6:
mov x8, x0
mov w0, #0 ; =0x0
str x21, [x19]
str x8, [x20]
b LBB0_9
LBB0_7:
mov w0, #0 ; =0x0
ret
LBB0_8:
mov w0, #-1 ; =0xffffffff
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
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotStr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _SSIZE_MAX,8,3 ; @SSIZE_MAX
.comm _EOVERFLOW,4,2 ; @EOVERFLOW
.comm _errno,4,2 ; @errno
.no_dead_strip _expandtofit
.subsections_via_symbols
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.