Dataset Viewer
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
|
End of preview. Expand
in Data Studio
README.md exists but content is empty.
- Downloads last month
- 42