x86
stringlengths 122
99k
| arm
stringlengths 122
86.4k
|
---|---|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _zephyr_getchar ## -- Begin function zephyr_getchar
.p2align 4, 0x90
_zephyr_getchar: ## @zephyr_getchar
.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 _K_FOREVER@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _uart_sem@GOTPCREL(%rip), %rdi
callq _k_sem_take
xorl %eax, %eax
callq _irq_lock
movq _uart_ringbuf@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq _i_get@GOTPCREL(%rip), %rdx
movslq (%rdx), %rsi
leal 1(%rsi), %edi
movl %edi, (%rdx)
movl (%rcx,%rsi,4), %ebx
movq _UART_BUFSIZE@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
incl %ecx
andl %edi, %ecx
movl %ecx, (%rdx)
movl %eax, %edi
callq _irq_unlock
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _uart_sem,4,2 ## @uart_sem
.comm _K_FOREVER,4,2 ## @K_FOREVER
.comm _uart_ringbuf,8,3 ## @uart_ringbuf
.comm _i_get,4,2 ## @i_get
.comm _UART_BUFSIZE,4,2 ## @UART_BUFSIZE
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _zephyr_getchar ; -- Begin function zephyr_getchar
.p2align 2
_zephyr_getchar: ; @zephyr_getchar
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x8, _K_FOREVER@GOTPAGE
Lloh1:
ldr x8, [x8, _K_FOREVER@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
Lloh3:
adrp x0, _uart_sem@GOTPAGE
Lloh4:
ldr x0, [x0, _uart_sem@GOTPAGEOFF]
bl _k_sem_take
bl _irq_lock
Lloh5:
adrp x8, _uart_ringbuf@GOTPAGE
Lloh6:
ldr x8, [x8, _uart_ringbuf@GOTPAGEOFF]
Lloh7:
adrp x9, _i_get@GOTPAGE
Lloh8:
ldr x9, [x9, _i_get@GOTPAGEOFF]
Lloh9:
ldr x8, [x8]
ldrsw x10, [x9]
add w11, w10, #1
str w11, [x9]
ldr w19, [x8, x10, lsl #2]
Lloh10:
adrp x8, _UART_BUFSIZE@GOTPAGE
Lloh11:
ldr x8, [x8, _UART_BUFSIZE@GOTPAGEOFF]
Lloh12:
ldr w8, [x8]
add w8, w8, #1
and w8, w8, w11
str w8, [x9]
bl _irq_unlock
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh9
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _uart_sem,4,2 ; @uart_sem
.comm _K_FOREVER,4,2 ; @K_FOREVER
.comm _uart_ringbuf,8,3 ; @uart_ringbuf
.comm _i_get,4,2 ; @i_get
.comm _UART_BUFSIZE,4,2 ; @UART_BUFSIZE
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function ath5k_eeprom_read_freq_list
_ath5k_eeprom_read_freq_list: ## @ath5k_eeprom_read_freq_list
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %rbx
movq %rdi, %rax
movl (%rsi), %edi
movq (%rax), %rax
movl %r8d, %ecx
movq $0, (%rax,%rcx,8)
testl %edx, %edx
js LBB0_2
## %bb.1:
leal -1(%rdi), %r14d
## kill: def $edi killed $edi killed $rdi
callq _AR5K_EEPROM_READ
movl %r14d, %edi
LBB0_2:
movl %edi, (%rbx)
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _ath5k_eeprom_read_freq_list
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function ath5k_eeprom_read_freq_list
_ath5k_eeprom_read_freq_list: ; @ath5k_eeprom_read_freq_list
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov x8, x0
ldr w0, [x1]
ldr x8, [x8]
str xzr, [x8, w4, uxtw #3]
tbnz w2, #31, LBB0_2
; %bb.1:
sub w20, w0, #1
bl _AR5K_EEPROM_READ
mov x0, x20
LBB0_2:
str w0, [x19]
mov w0, #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
.no_dead_strip _ath5k_eeprom_read_freq_list
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function ixgbe_irq_disable
_ixgbe_irq_disable: ## @ixgbe_irq_disable
.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
leaq 24(%rdi), %r14
movl 24(%rdi), %eax
leal -128(%rax), %ecx
cmpl $5, %ecx
jae LBB0_1
## %bb.3:
movq _IXGBE_EIMC@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
movl $-65536, %edx ## imm = 0xFFFF0000
callq _IXGBE_WRITE_REG
xorl %edi, %edi
callq _IXGBE_EIMC_EX
movq %r14, %rdi
movl %eax, %esi
movl $-1, %edx
callq _IXGBE_WRITE_REG
movl $1, %edi
callq _IXGBE_EIMC_EX
movl %eax, %esi
LBB0_4:
movq %r14, %rdi
movl $-1, %edx
callq _IXGBE_WRITE_REG
LBB0_5:
movq %r14, %rdi
callq _IXGBE_WRITE_FLUSH
movq _IXGBE_FLAG_MSIX_ENABLED@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, (%rbx)
je LBB0_11
## %bb.6:
cmpl $0, 4(%rbx)
js LBB0_7
## %bb.8:
xorl %r14d, %r14d
.p2align 4, 0x90
LBB0_9: ## =>This Inner Loop Header: Depth=1
movq 16(%rbx), %rax
movl (%rax,%r14,4), %edi
callq _synchronize_irq
leaq 1(%r14), %rax
movslq 4(%rbx), %rcx
cmpq %rcx, %r14
movq %rax, %r14
jl LBB0_9
jmp LBB0_10
LBB0_11:
movq 8(%rbx), %rax
jmp LBB0_12
LBB0_1:
cmpl $133, %eax
jne LBB0_5
## %bb.2:
movq _IXGBE_EIMC@GOTPCREL(%rip), %rax
movl (%rax), %esi
jmp LBB0_4
LBB0_7:
xorl %eax, %eax
LBB0_10:
shlq $2, %rax
addq 16(%rbx), %rax
LBB0_12:
movl (%rax), %edi
popq %rbx
popq %r14
popq %rbp
jmp _synchronize_irq ## TAILCALL
.cfi_endproc
## -- End function
.comm _IXGBE_EIMC,4,2 ## @IXGBE_EIMC
.comm _IXGBE_FLAG_MSIX_ENABLED,4,2 ## @IXGBE_FLAG_MSIX_ENABLED
.no_dead_strip _ixgbe_irq_disable
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function ixgbe_irq_disable
_ixgbe_irq_disable: ; @ixgbe_irq_disable
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
mov x20, x0
ldr w8, [x20, #24]!
sub w9, w8, #128
cmp w9, #5
b.hs LBB0_8
; %bb.1:
Lloh0:
adrp x8, _IXGBE_EIMC@GOTPAGE
Lloh1:
ldr x8, [x8, _IXGBE_EIMC@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov x0, x20
mov w2, #-65536 ; =0xffff0000
bl _IXGBE_WRITE_REG
mov w0, #0 ; =0x0
bl _IXGBE_EIMC_EX
mov x1, x0
mov x0, x20
mov w2, #-1 ; =0xffffffff
bl _IXGBE_WRITE_REG
mov w0, #1 ; =0x1
bl _IXGBE_EIMC_EX
mov x1, x0
LBB0_2:
mov x0, x20
mov w2, #-1 ; =0xffffffff
bl _IXGBE_WRITE_REG
LBB0_3:
mov x0, x20
bl _IXGBE_WRITE_FLUSH
ldr w8, [x19]
Lloh3:
adrp x9, _IXGBE_FLAG_MSIX_ENABLED@GOTPAGE
Lloh4:
ldr x9, [x9, _IXGBE_FLAG_MSIX_ENABLED@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_7
; %bb.4:
ldr w8, [x19, #4]
tbnz w8, #31, LBB0_10
; %bb.5:
mov x20, #0 ; =0x0
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #16]
ldr w0, [x8, x20, lsl #2]
bl _synchronize_irq
add x8, x20, #1
ldrsw x9, [x19, #4]
cmp x20, x9
mov x20, x8
b.lt LBB0_6
b LBB0_11
LBB0_7:
ldr x8, [x19, #8]
b LBB0_12
LBB0_8:
cmp w8, #133
b.ne LBB0_3
; %bb.9:
Lloh6:
adrp x8, _IXGBE_EIMC@GOTPAGE
Lloh7:
ldr x8, [x8, _IXGBE_EIMC@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
b LBB0_2
LBB0_10:
mov x8, #0 ; =0x0
LBB0_11:
ldr x9, [x19, #16]
add x8, x9, x8, lsl #2
LBB0_12:
ldr w0, [x8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _synchronize_irq
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _IXGBE_EIMC,4,2 ; @IXGBE_EIMC
.comm _IXGBE_FLAG_MSIX_ENABLED,4,2 ; @IXGBE_FLAG_MSIX_ENABLED
.no_dead_strip _ixgbe_irq_disable
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function compareseq
_compareseq: ## @compareseq
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $32, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq _xvec@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _yvec@GOTPCREL(%rip), %r9
cmpq %rsi, %rdi
seta %r10b
movq (%r9), %r9
cmpq %rcx, %rdx
setae %r11b
orb %r10b, %r11b
jne LBB0_4
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq (%rax,%rdi,8), %r10
cmpq (%r9,%rdx,8), %r10
jne LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
incq %rdi
incq %rdx
cmpq %rsi, %rdi
ja LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
cmpq %rcx, %rdx
jb LBB0_1
LBB0_4:
cmpq %rsi, %rdi
setb %r10b
cmpq %rcx, %rdx
setb %r11b
andb %r10b, %r11b
cmpb $1, %r11b
jne LBB0_8
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq 8(%rax,%rsi,8), %r10
cmpq -8(%r9,%rcx,8), %r10
jne LBB0_8
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
decq %rsi
decq %rcx
cmpq %rdi, %rsi
jbe LBB0_8
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
cmpq %rdx, %rcx
ja LBB0_5
LBB0_8:
cmpq %rsi, %rdi
jne LBB0_14
## %bb.9:
movq %rdx, %rdi
subq %rcx, %rdi
jae LBB0_21
## %bb.10:
movq _files@GOTPCREL(%rip), %rax
movq (%rax), %rsi
movq 16(%rsi), %rax
movq 24(%rsi), %rsi
movl %ecx, %r8d
subl %edx, %r8d
andl $3, %r8d
je LBB0_12
.p2align 4, 0x90
LBB0_11: ## =>This Inner Loop Header: Depth=1
movq (%rsi,%rdx,8), %r9
incq %rdx
movl $1, (%rax,%r9,4)
decq %r8
jne LBB0_11
LBB0_12:
cmpq $-4, %rdi
ja LBB0_21
.p2align 4, 0x90
LBB0_13: ## =>This Inner Loop Header: Depth=1
movq (%rsi,%rdx,8), %rdi
movl $1, (%rax,%rdi,4)
movq 8(%rsi,%rdx,8), %rdi
movl $1, (%rax,%rdi,4)
movq 16(%rsi,%rdx,8), %rdi
movl $1, (%rax,%rdi,4)
movq 24(%rsi,%rdx,8), %rdi
addq $4, %rdx
movl $1, (%rax,%rdi,4)
cmpq %rdx, %rcx
jne LBB0_13
jmp LBB0_21
LBB0_14:
cmpq %rcx, %rdx
jne LBB0_20
## %bb.15:
movq %rdi, %rdx
subq %rsi, %rdx
jae LBB0_21
## %bb.16:
movq _files@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq (%rcx), %rax
movq 8(%rcx), %rcx
movl %esi, %r8d
subl %edi, %r8d
andl $3, %r8d
je LBB0_18
.p2align 4, 0x90
LBB0_17: ## =>This Inner Loop Header: Depth=1
movq (%rcx,%rdi,8), %r9
incq %rdi
movl $1, (%rax,%r9,4)
decq %r8
jne LBB0_17
LBB0_18:
cmpq $-4, %rdx
ja LBB0_21
.p2align 4, 0x90
LBB0_19: ## =>This Inner Loop Header: Depth=1
movq (%rcx,%rdi,8), %rdx
movl $1, (%rax,%rdx,4)
movq 8(%rcx,%rdi,8), %rdx
movl $1, (%rax,%rdx,4)
movq 16(%rcx,%rdi,8), %rdx
movl $1, (%rax,%rdx,4)
movq 24(%rcx,%rdi,8), %rdx
addq $4, %rdi
movl $1, (%rax,%rdx,4)
cmpq %rdi, %rsi
jne LBB0_19
jmp LBB0_21
LBB0_20:
leaq -56(%rbp), %r9
movq %rdi, %rbx
movq %rsi, %r14
movq %rdx, %r15
movq %rcx, %r12
callq _diag
movq -56(%rbp), %rsi
movq -48(%rbp), %rcx
movl -40(%rbp), %r8d
movq %rbx, %rdi
movq %r15, %rdx
callq _compareseq
movq -56(%rbp), %rdi
movq -48(%rbp), %rdx
movl -36(%rbp), %r8d
movq %r14, %rsi
movq %r12, %rcx
callq _compareseq
LBB0_21:
addq $32, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _xvec,8,3 ## @xvec
.comm _yvec,8,3 ## @yvec
.comm _files,8,3 ## @files
.no_dead_strip _compareseq
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function compareseq
_compareseq: ; @compareseq
.cfi_startproc
; %bb.0:
sub sp, sp, #80
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
Lloh0:
adrp x8, _xvec@GOTPAGE
Lloh1:
ldr x8, [x8, _xvec@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
Lloh3:
adrp x9, _yvec@GOTPAGE
Lloh4:
ldr x9, [x9, _yvec@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
cmp x0, x1
b.hi LBB0_4
LBB0_1: ; =>This Inner Loop Header: Depth=1
cmp x2, x3
b.hs LBB0_4
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
ldr x10, [x8, x0, lsl #3]
ldr x11, [x9, x2, lsl #3]
cmp x10, x11
b.ne LBB0_4
; %bb.3: ; in Loop: Header=BB0_1 Depth=1
add x0, x0, #1
add x2, x2, #1
cmp x0, x1
b.ls LBB0_1
LBB0_4:
cmp x0, x1
b.hs LBB0_10
; %bb.5:
cmp x2, x3
b.hs LBB0_10
; %bb.6:
add x8, x8, #8
sub x9, x9, #8
LBB0_7: ; =>This Inner Loop Header: Depth=1
ldr x10, [x8, x1, lsl #3]
ldr x11, [x9, x3, lsl #3]
cmp x10, x11
b.ne LBB0_10
; %bb.8: ; in Loop: Header=BB0_7 Depth=1
sub x1, x1, #1
sub x3, x3, #1
cmp x1, x0
b.ls LBB0_10
; %bb.9: ; in Loop: Header=BB0_7 Depth=1
cmp x3, x2
b.hi LBB0_7
LBB0_10:
cmp x1, x0
b.ne LBB0_14
; %bb.11:
subs x10, x3, x2
b.ls LBB0_29
; %bb.12:
Lloh6:
adrp x8, _files@GOTPAGE
Lloh7:
ldr x8, [x8, _files@GOTPAGEOFF]
Lloh8:
ldr x9, [x8]
ldp x8, x9, [x9, #16]
cmp x10, #4
b.hs LBB0_19
; %bb.13:
mov x11, x2
b LBB0_22
LBB0_14:
cmp x3, x2
b.ne LBB0_18
; %bb.15:
subs x10, x1, x0
b.ls LBB0_29
; %bb.16:
Lloh9:
adrp x8, _files@GOTPAGE
Lloh10:
ldr x8, [x8, _files@GOTPAGEOFF]
Lloh11:
ldr x9, [x8]
ldp x8, x9, [x9]
cmp x10, #4
b.hs LBB0_24
; %bb.17:
mov x11, x0
b LBB0_27
LBB0_18:
add x5, sp, #8
mov x19, x0
mov x20, x1
mov x21, x2
mov x22, x3
bl _diag
ldp x1, x3, [sp, #8]
ldr w4, [sp, #24]
mov x0, x19
mov x2, x21
bl _compareseq
ldp x0, x2, [sp, #8]
ldr w4, [sp, #28]
mov x1, x20
mov x3, x22
bl _compareseq
b LBB0_29
LBB0_19:
and x12, x10, #0xfffffffffffffffc
add x11, x2, x12
add x13, x9, x2, lsl #3
add x13, x13, #16
mov w14, #1 ; =0x1
mov x15, x12
LBB0_20: ; =>This Inner Loop Header: Depth=1
ldp x16, x17, [x13, #-16]
ldp x0, x1, [x13], #32
str w14, [x8, x16, lsl #2]
str w14, [x8, x17, lsl #2]
str w14, [x8, x0, lsl #2]
str w14, [x8, x1, lsl #2]
subs x15, x15, #4
b.ne LBB0_20
; %bb.21:
cmp x10, x12
b.eq LBB0_29
LBB0_22:
add x9, x9, x11, lsl #3
sub x10, x3, x11
mov w11, #1 ; =0x1
LBB0_23: ; =>This Inner Loop Header: Depth=1
ldr x12, [x9], #8
str w11, [x8, x12, lsl #2]
subs x10, x10, #1
b.ne LBB0_23
b LBB0_29
LBB0_24:
and x12, x10, #0xfffffffffffffffc
add x11, x0, x12
add x13, x9, x0, lsl #3
add x13, x13, #16
mov w14, #1 ; =0x1
mov x15, x12
LBB0_25: ; =>This Inner Loop Header: Depth=1
ldp x16, x17, [x13, #-16]
ldp x0, x2, [x13], #32
str w14, [x8, x16, lsl #2]
str w14, [x8, x17, lsl #2]
str w14, [x8, x0, lsl #2]
str w14, [x8, x2, lsl #2]
subs x15, x15, #4
b.ne LBB0_25
; %bb.26:
cmp x10, x12
b.eq LBB0_29
LBB0_27:
add x9, x9, x11, lsl #3
sub x10, x1, x11
mov w11, #1 ; =0x1
LBB0_28: ; =>This Inner Loop Header: Depth=1
ldr x12, [x9], #8
str w11, [x8, x12, lsl #2]
subs x10, x10, #1
b.ne LBB0_28
LBB0_29:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.cfi_endproc
; -- End function
.comm _xvec,8,3 ; @xvec
.comm _yvec,8,3 ; @yvec
.comm _files,8,3 ; @files
.no_dead_strip _compareseq
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function print_dec_ll
_print_dec_ll: ## @print_dec_ll
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
testq %rdx, %rdx
je LBB0_3
## %bb.1:
movq %rdx, %rcx
movslq %esi, %r8
xorl %esi, %esi
movabsq $-3689348814741910323, %r9 ## imm = 0xCCCCCCCCCCCCCCCD
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %rcx, %rax
mulq %r9
shrq $3, %rdx
leal (%rdx,%rdx), %eax
leal (%rax,%rax,4), %eax
movl %ecx, %r10d
subl %eax, %r10d
orb $48, %r10b
movb %r10b, (%rdi,%rsi)
cmpq $10, %rcx
setae %al
cmpq %r8, %rsi
leaq -1(%rsi), %rsi
setle %cl
orb %al, %cl
movq %rdx, %rcx
jne LBB0_2
jmp LBB0_6
LBB0_3:
testl %esi, %esi
js LBB0_4
## %bb.5:
movb $48, (%rdi)
movl $1, %esi
jmp LBB0_6
LBB0_4:
xorl %esi, %esi
LBB0_6:
movl %esi, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _print_dec_ll
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function print_dec_ll
_print_dec_ll: ; @print_dec_ll
.cfi_startproc
; %bb.0:
; kill: def $w1 killed $w1 def $x1
cbz x2, LBB0_5
; %bb.1:
mov x8, #0 ; =0x0
sxtw x9, w1
mov x10, #-3689348814741910324 ; =0xcccccccccccccccc
movk x10, #52429
mov w11, #10 ; =0xa
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x13, x2
mov x12, x8
umulh x8, x2, x10
lsr x2, x8, #3
msub w8, w2, w11, w13
orr w14, w8, #0x30
sub x8, x12, #1
strb w14, [x0, x12]
cmp x13, #9
b.hi LBB0_2
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
cmp x12, x9
b.le LBB0_2
; %bb.4:
mov x0, x8
ret
LBB0_5:
tbnz w1, #31, LBB0_7
; %bb.6:
mov w8, #48 ; =0x30
strb w8, [x0]
mov w8, #1 ; =0x1
mov x0, x8
ret
LBB0_7:
mov w8, #0 ; =0x0
mov x0, x8
ret
.cfi_endproc
; -- End function
.no_dead_strip _print_dec_ll
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function prepare_in_pack_by_idx
_prepare_in_pack_by_idx: ## @prepare_in_pack_by_idx
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _OE_IN_PACK_BITS@GOTPCREL(%rip), %rax
movzbl (%rax), %ecx
movl $1, %esi
shll %cl, %esi
callq _ALLOC_ARRAY
ud2
.cfi_endproc
## -- End function
.comm _OE_IN_PACK_BITS,4,2 ## @OE_IN_PACK_BITS
.no_dead_strip _prepare_in_pack_by_idx
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function prepare_in_pack_by_idx
_prepare_in_pack_by_idx: ; @prepare_in_pack_by_idx
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x8, _OE_IN_PACK_BITS@GOTPAGE
Lloh1:
ldr x8, [x8, _OE_IN_PACK_BITS@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
mov w9, #1 ; =0x1
lsl w1, w9, w8
bl _ALLOC_ARRAY
brk #0x1
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _OE_IN_PACK_BITS,4,2 ; @OE_IN_PACK_BITS
.no_dead_strip _prepare_in_pack_by_idx
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _EVP_EncodeFinal ## -- Begin function EVP_EncodeFinal
.p2align 4, 0x90
_EVP_EncodeFinal: ## @EVP_EncodeFinal
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %rbx
movq (%rdi), %rcx
testq %rcx, %rcx
je LBB0_1
## %bb.2:
movq %rsi, %r15
movq %rdi, %r14
movl 12(%rdi), %edx
callq _evp_encodeblock_int
movq _EVP_ENCODE_CTX_NO_NEWLINES@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl 8(%r14), %ecx
jne LBB0_4
## %bb.3:
movl %eax, %ecx
incl %eax
movb $10, (%r15,%rcx)
LBB0_4:
movl %eax, %ecx
movb $0, (%r15,%rcx)
movq $0, (%r14)
jmp LBB0_5
LBB0_1:
xorl %eax, %eax
LBB0_5:
movl %eax, (%rbx)
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EVP_ENCODE_CTX_NO_NEWLINES,4,2 ## @EVP_ENCODE_CTX_NO_NEWLINES
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _EVP_EncodeFinal ; -- Begin function EVP_EncodeFinal
.p2align 2
_EVP_EncodeFinal: ; @EVP_EncodeFinal
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x2
ldr x3, [x0]
cbz x3, LBB0_4
; %bb.1:
mov x21, x1
mov x20, x0
ldr w2, [x0, #12]
bl _evp_encodeblock_int
ldr w8, [x20, #8]
Lloh0:
adrp x9, _EVP_ENCODE_CTX_NO_NEWLINES@GOTPAGE
Lloh1:
ldr x9, [x9, _EVP_ENCODE_CTX_NO_NEWLINES@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
orr w8, w9, w8
cbnz w8, LBB0_3
; %bb.2:
mov w8, #10 ; =0xa
strb w8, [x21, w0, uxtw]
add w0, w0, #1
LBB0_3:
strb wzr, [x21, w0, uxtw]
str xzr, [x20]
b LBB0_5
LBB0_4:
mov w0, #0 ; =0x0
LBB0_5:
str w0, [x19]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _EVP_ENCODE_CTX_NO_NEWLINES,4,2 ; @EVP_ENCODE_CTX_NO_NEWLINES
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ## -- Begin function fill_buffer_with_all_queued_commands
LCPI0_0:
.byte 0 ## 0x0
.byte 4 ## 0x4
.byte 8 ## 0x8
.byte 12 ## 0xc
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
LCPI0_1:
.byte 0 ## 0x0
.byte 4 ## 0x4
.byte 8 ## 0x8
.byte 12 ## 0xc
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_fill_buffer_with_all_queued_commands: ## @fill_buffer_with_all_queued_commands
.cfi_startproc
## %bb.0:
## kill: def $edx killed $edx def $rdx
testl %edx, %edx
jle LBB0_1
## %bb.3:
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
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movslq (%rdi), %rcx
leaq 1(%rsi), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
leaq 4(%rsi), %rax
movq %rax, -48(%rbp) ## 8-byte Spill
xorl %eax, %eax
movd LCPI0_1(%rip), %xmm0 ## xmm0 = [0,4,8,12,0,0,0,0,0,0,0,0,0,0,0,0]
xorl %ebx, %ebx
jmp LBB0_5
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_5 Depth=1
leal -1(%rdx), %r8d
incq %rcx
shrb $5, %r11b
andb $3, %r11b
btsl %r11d, %eax
cmpl $2, %edx
movl %r8d, %edx
jl LBB0_15
LBB0_5: ## =>This Loop Header: Depth=1
## Child Loop BB0_11 Depth 2
## Child Loop BB0_14 Depth 2
## kill: def $ebx killed $ebx killed $rbx def $rbx
movq 8(%rdi), %r9
movq _COMMAND_MASK@GOTPCREL(%rip), %r8
movq (%r8), %r8
andq %rcx, %r8
leaq (%r8,%r8,2), %r10
movslq (%r9,%r10,8), %r8
movzbl 4(%r9,%r10,8), %r11d
movslq %ebx, %r14
addl $5, %ebx
movq 16(%r9,%r10,8), %r15
movb %r11b, (%rsi,%r14)
movzbl 8(%r9,%r10,8), %r12d
movb %r12b, 1(%rsi,%r14)
movzbl 9(%r9,%r10,8), %r12d
movb %r12b, 2(%rsi,%r14)
movzbl 12(%r9,%r10,8), %r12d
movb %r12b, 3(%rsi,%r14)
movzbl 13(%r9,%r10,8), %r9d
movb %r9b, 4(%rsi,%r14)
testq %r8, %r8
jle LBB0_4
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movslq %ebx, %r9
cmpl $8, %r8d
jb LBB0_7
## %bb.8: ## in Loop: Header=BB0_5 Depth=1
leaq (%rsi,%r9), %rbx
leal -1(%r8), %r10d
leaq (%r15,%r10,4), %r14
addq $4, %r14
cmpq %r14, %rbx
jae LBB0_10
## %bb.9: ## in Loop: Header=BB0_5 Depth=1
movq -56(%rbp), %rbx ## 8-byte Reload
addq %r9, %rbx
addq %rbx, %r10
cmpq %r10, %r15
jae LBB0_10
LBB0_7: ## in Loop: Header=BB0_5 Depth=1
movq %r9, %rbx
movq %r15, %r12
movl %r8d, %r13d
LBB0_13: ## in Loop: Header=BB0_5 Depth=1
incl %r13d
.p2align 4, 0x90
LBB0_14: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
movzbl (%r12), %r8d
addq $4, %r12
movb %r8b, (%rsi,%rbx)
incq %rbx
decl %r13d
cmpl $1, %r13d
ja LBB0_14
jmp LBB0_4
LBB0_10: ## in Loop: Header=BB0_5 Depth=1
movl %r8d, %r14d
andl $2147483640, %r14d ## imm = 0x7FFFFFF8
leaq (%r14,%r9), %rbx
leaq (%r15,%r14,4), %r12
movl %r8d, %r13d
subl %r14d, %r13d
addq -48(%rbp), %r9 ## 8-byte Folded Reload
xorl %r10d, %r10d
.p2align 4, 0x90
LBB0_11: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
movdqu (%r15,%r10,4), %xmm1
movdqu 16(%r15,%r10,4), %xmm2
pshufb %xmm0, %xmm1
pshufb %xmm0, %xmm2
movd %xmm1, -4(%r9,%r10)
movd %xmm2, (%r9,%r10)
addq $8, %r10
cmpq %r10, %r14
jne LBB0_11
## %bb.12: ## in Loop: Header=BB0_5 Depth=1
cmpq %r8, %r14
je LBB0_4
jmp LBB0_13
LBB0_15:
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
## kill: def $eax killed $eax killed $rax
retq
LBB0_1:
xorl %eax, %eax
## kill: def $eax killed $eax killed $rax
retq
.cfi_endproc
## -- End function
.comm _COMMAND_MASK,8,3 ## @COMMAND_MASK
.no_dead_strip _fill_buffer_with_all_queued_commands
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ; -- Begin function fill_buffer_with_all_queued_commands
lCPI0_0:
.byte 0 ; 0x0
.byte 4 ; 0x4
.byte 8 ; 0x8
.byte 12 ; 0xc
.byte 16 ; 0x10
.byte 20 ; 0x14
.byte 24 ; 0x18
.byte 28 ; 0x1c
.byte 32 ; 0x20
.byte 36 ; 0x24
.byte 40 ; 0x28
.byte 44 ; 0x2c
.byte 48 ; 0x30
.byte 52 ; 0x34
.byte 56 ; 0x38
.byte 60 ; 0x3c
.section __TEXT,__text,regular,pure_instructions
.p2align 2
_fill_buffer_with_all_queued_commands: ; @fill_buffer_with_all_queued_commands
.cfi_startproc
; %bb.0:
cmp w2, #1
b.lt LBB0_13
; %bb.1:
stp x20, x19, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
.cfi_offset w19, -8
.cfi_offset w20, -16
mov w8, #0 ; =0x0
mov w16, #0 ; =0x0
ldrsw x9, [x0]
add x10, x1, #1
add x11, x1, #32
Lloh0:
adrp x12, _COMMAND_MASK@GOTPAGE
Lloh1:
ldr x12, [x12, _COMMAND_MASK@GOTPAGEOFF]
mov w13, #24 ; =0x18
Lloh2:
adrp x14, lCPI0_0@PAGE
Lloh3:
ldr q0, [x14, lCPI0_0@PAGEOFF]
mov w14, #1 ; =0x1
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
mov x16, x4
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
sub w17, w2, #1
add x9, x9, #1
ubfx w15, w15, #5, #2
lsl w15, w14, w15
orr w8, w15, w8
cmp w2, #1
mov x2, x17
b.le LBB0_12
LBB0_4: ; =>This Loop Header: Depth=1
; Child Loop BB0_8 Depth 2
; Child Loop BB0_11 Depth 2
ldr x15, [x0, #8]
ldr x17, [x12]
and x17, x17, x9
madd x4, x17, x13, x15
ldr x3, [x4, #16]
ldp w17, w15, [x4]
add x5, x1, w16, sxtw
strb w15, [x5]
ldr w6, [x4, #8]
strb w6, [x5, #1]
ldr w6, [x4, #8]
lsr w6, w6, #8
strb w6, [x5, #2]
ldrb w6, [x4, #12]
strb w6, [x5, #3]
ldrb w6, [x4, #13]
add w4, w16, #5
strb w6, [x5, #4]
subs w16, w17, #1
b.lt LBB0_2
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
sxtw x7, w4
cmp w17, #64
b.lo LBB0_10
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
add x4, x10, x7
add x4, x4, x16
add x16, x3, w16, uxtw #2
add x16, x16, #4
add x5, x1, x7
cmp x5, x16
ccmp x3, x4, #2, lo
b.lo LBB0_10
; %bb.7: ; in Loop: Header=BB0_4 Depth=1
mov x4, x17
and x5, x4, #0x7fffffc0
add x16, x5, x7
add x6, x3, x5, lsl #2
sub w17, w17, w5
add x3, x3, #128
add x7, x11, x7
mov x19, x5
LBB0_8: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
ldp q1, q2, [x3, #-128]
ldp q3, q4, [x3, #-96]
ldp q16, q17, [x3, #-64]
tbl.16b v1, { v1, v2, v3, v4 }, v0
ldp q18, q19, [x3, #-32]
ldp q2, q3, [x3]
tbl.16b v6, { v16, v17, v18, v19 }, v0
ldp q4, q5, [x3, #32]
ldp q16, q17, [x3, #64]
tbl.16b v2, { v2, v3, v4, v5 }, v0
ldp q18, q19, [x3, #96]
tbl.16b v3, { v16, v17, v18, v19 }, v0
stp q1, q6, [x7, #-32]
add x3, x3, #256
stp q2, q3, [x7], #64
subs x19, x19, #64
b.ne LBB0_8
; %bb.9: ; in Loop: Header=BB0_4 Depth=1
mov x7, x16
mov x3, x6
cmp x5, x4
b.eq LBB0_3
LBB0_10: ; in Loop: Header=BB0_4 Depth=1
add w17, w17, #1
LBB0_11: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
ldr w4, [x3], #4
add x16, x7, #1
strb w4, [x1, x7]
sub w17, w17, #1
mov x7, x16
cmp w17, #1
b.hi LBB0_11
b LBB0_3
LBB0_12:
ldp x20, x19, [sp], #16 ; 16-byte Folded Reload
mov x0, x8
ret
LBB0_13:
mov w0, #0 ; =0x0
ret
.loh AdrpLdr Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _COMMAND_MASK,8,3 ; @COMMAND_MASK
.no_dead_strip _fill_buffer_with_all_queued_commands
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _r_bin_omf_get_bits ## -- Begin function r_bin_omf_get_bits
.p2align 4, 0x90
_r_bin_omf_get_bits: ## @r_bin_omf_get_bits
.cfi_startproc
## %bb.0:
movl $32, %eax
testq %rdi, %rdi
je LBB0_6
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq (%rdi), %rdx
testq %rdx, %rdx
movq $-1, %rcx
cmovnsq %rdx, %rcx
incq %rcx
xorl %edx, %edx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
cmpq %rdx, %rcx
je LBB0_3
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movq 8(%rdi), %rsi
movq (%rsi,%rdx,8), %rsi
incq %rdx
cmpl $32, (%rsi)
jne LBB0_2
jmp LBB0_5
LBB0_3:
movl $16, %eax
LBB0_5:
popq %rbp
LBB0_6:
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _r_bin_omf_get_bits ; -- Begin function r_bin_omf_get_bits
.p2align 2
_r_bin_omf_get_bits: ; @r_bin_omf_get_bits
.cfi_startproc
; %bb.0:
cbz x0, LBB0_4
; %bb.1:
mov x8, #0 ; =0x0
ldr x9, [x0]
cmp x9, #0
csinv x9, x9, xzr, ge
add x9, x9, #1
LBB0_2: ; =>This Inner Loop Header: Depth=1
cmp x9, x8
b.eq LBB0_5
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
ldr x10, [x0, #8]
ldr x10, [x10, x8, lsl #3]
add x8, x8, #1
ldr w10, [x10]
cmp w10, #32
b.ne LBB0_2
LBB0_4:
mov w0, #32 ; =0x20
ret
LBB0_5:
mov w0, #16 ; =0x10
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 write_dword
_write_dword: ## @write_dword
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
testq %rdi, %rdi
je LBB0_2
## %bb.1:
movslq %esi, %rax
movzbl %dh, %ecx
movl %ecx, -4(%rdi,%rax,4)
movl %edx, %ecx
shrl $16, %ecx
movzbl %cl, %ecx
movl %ecx, (%rdi,%rax,4)
shrl $24, %edx
movl %edx, 4(%rdi,%rax,4)
LBB0_2:
movl $4, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _write_dword
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ; -- Begin function write_dword
lCPI0_0:
.long 4294967288 ; 0xfffffff8
.long 4294967280 ; 0xfffffff0
.section __TEXT,__text,regular,pure_instructions
.p2align 2
_write_dword: ; @write_dword
.cfi_startproc
; %bb.0:
cbz x0, LBB0_2
; %bb.1:
add x8, x0, w1, sxtw #2
dup.2s v0, w2
Lloh0:
adrp x9, lCPI0_0@PAGE
Lloh1:
ldr d1, [x9, lCPI0_0@PAGEOFF]
ushl.2s v0, v0, v1
movi d1, #0x0000ff000000ff
and.8b v0, v0, v1
stur d0, [x8, #-4]
lsr w9, w2, #24
str w9, [x8, #4]
LBB0_2:
mov w0, #4 ; =0x4
ret
.loh AdrpLdr Lloh0, Lloh1
.cfi_endproc
; -- End function
.no_dead_strip _write_dword
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ## -- Begin function png_ascii_from_fixed
LCPI0_0:
.byte 15 ## 0xf
.byte 14 ## 0xe
.byte 13 ## 0xd
.byte 12 ## 0xc
.byte 11 ## 0xb
.byte 10 ## 0xa
.byte 9 ## 0x9
.byte 8 ## 0x8
.byte 7 ## 0x7
.byte 6 ## 0x6
.byte 5 ## 0x5
.byte 4 ## 0x4
.byte 3 ## 0x3
.byte 2 ## 0x2
.byte 1 ## 0x1
.byte 0 ## 0x0
.section __TEXT,__text,regular,pure_instructions
.globl _png_ascii_from_fixed
.p2align 4, 0x90
_png_ascii_from_fixed: ## @png_ascii_from_fixed
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $32, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
cmpl $13, %edx
jl LBB0_36
## %bb.1:
testq %rcx, %rcx
js LBB0_2
## %bb.3:
cmpl $-2147483648, %ecx ## imm = 0x80000000
jbe LBB0_4
LBB0_36:
cmpq -40(%rbp), %rax
jne LBB0_38
## %bb.37:
leaq L_.str(%rip), %rsi
addq $32, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _png_error ## TAILCALL
LBB0_2:
movq $45, (%rsi)
addq $8, %rsi
negl %ecx
cmpl $-2147483648, %ecx ## imm = 0x80000000
ja LBB0_36
LBB0_4:
testl %ecx, %ecx
je LBB0_33
## %bb.5:
xorl %r14d, %r14d
movl $16, %ebx
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
movslq %ecx, %rax
imulq $1717986919, %rax, %rcx ## imm = 0x66666667
movq %rcx, %rdx
shrq $63, %rdx
sarq $34, %rcx
addl %edx, %ecx
leal (%rcx,%rcx), %edx
leal (%rdx,%rdx,4), %edx
movl %eax, %edi
subl %edx, %edi
movb $48, %dl
subb %dil, %dl
movl %r14d, %r8d
incl %r14d
movb %dl, -50(%rbp,%r8)
testl %edi, %edi
movl %ebx, %edx
cmovgl %r14d, %edx
cmpl $16, %ebx
movl %edx, %ebx
cmovel %r14d, %ebx
addl $9, %eax
cmpl $18, %eax
ja LBB0_6
## %bb.7:
testl %r14d, %r14d
je LBB0_33
## %bb.8:
cmpl $6, %r14d
jb LBB0_9
## %bb.10:
movl %r14d, %ecx
leaq -5(%rcx), %rdx
cmpq $16, %rdx
jae LBB0_12
## %bb.11:
movq %rcx, %rax
movq %rsi, %r15
jmp LBB0_15
LBB0_33:
movq $48, (%rsi)
addq $8, %rsi
movq %rsi, %r15
jmp LBB0_34
LBB0_9:
movq %rsi, %r15
jmp LBB0_17
LBB0_12:
movq %rdx, %rdi
andq $-16, %rdi
movq %rcx, %rax
subq %rdi, %rax
leaq (%rsi,%rdi,8), %r15
leaq (%rcx,%rbp), %r8
addq $-66, %r8
addq $-5, %rcx
andq $-16, %rcx
xorl %r9d, %r9d
movdqa LCPI0_0(%rip), %xmm0 ## xmm0 = [15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0]
.p2align 4, 0x90
LBB0_13: ## =>This Inner Loop Header: Depth=1
movdqu (%r8), %xmm1
pshufb %xmm0, %xmm1
movdqa %xmm1, %xmm2
psrld $16, %xmm2
pmovsxbq %xmm2, %xmm2
pshufd $85, %xmm1, %xmm3 ## xmm3 = xmm1[1,1,1,1]
pmovsxbq %xmm3, %xmm3
movdqa %xmm1, %xmm4
psrlq $48, %xmm4
pmovsxbq %xmm4, %xmm4
pshufd $238, %xmm1, %xmm5 ## xmm5 = xmm1[2,3,2,3]
pmovsxbq %xmm5, %xmm5
movdqa %xmm1, %xmm6
psrldq $10, %xmm6 ## xmm6 = xmm6[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
pmovsxbq %xmm6, %xmm6
pshufd $255, %xmm1, %xmm7 ## xmm7 = xmm1[3,3,3,3]
pmovsxbq %xmm7, %xmm7
pmovsxbq %xmm1, %xmm8
psrldq $14, %xmm1 ## xmm1 = xmm1[14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
pmovsxbq %xmm1, %xmm1
movdqu %xmm8, (%rsi,%r9,8)
movdqu %xmm1, 112(%rsi,%r9,8)
movdqu %xmm7, 96(%rsi,%r9,8)
movdqu %xmm6, 80(%rsi,%r9,8)
movdqu %xmm5, 64(%rsi,%r9,8)
movdqu %xmm4, 48(%rsi,%r9,8)
movdqu %xmm3, 32(%rsi,%r9,8)
movdqu %xmm2, 16(%rsi,%r9,8)
addq $16, %r9
addq $-16, %r8
cmpq %r9, %rcx
jne LBB0_13
## %bb.14:
movl $5, %r14d
cmpq %rdi, %rdx
je LBB0_17
.p2align 4, 0x90
LBB0_15: ## =>This Inner Loop Header: Depth=1
movsbq -51(%rbp,%rax), %rcx
decq %rax
movq %rcx, (%r15)
addq $8, %r15
cmpq $5, %rax
ja LBB0_15
## %bb.16:
movl $5, %r14d
LBB0_17:
cmpl $5, %ebx
ja LBB0_34
## %bb.18:
movq $46, (%r15)
leaq 8(%r15), %rdi
cmpl $4, %r14d
ja LBB0_20
## %bb.19:
leal (,%r14,8), %eax
movl $32, %r12d
subl %eax, %r12d
leaq 8(%r12), %rdx
leaq L_.memset_pattern(%rip), %rsi
callq _memset_pattern16
leaq (%r12,%r15), %rdi
addq $16, %rdi
LBB0_20:
cmpl %ebx, %r14d
jae LBB0_22
## %bb.21:
movq %rdi, %r15
jmp LBB0_34
LBB0_22:
movl %ebx, %ecx
negl %ecx
movl %r14d, %eax
negl %eax
cmpl %eax, %ecx
cmoval %ecx, %eax
addl %r14d, %eax
cmpl $63, %eax
jae LBB0_24
## %bb.23:
movq %rdi, %r15
jmp LBB0_32
LBB0_24:
leal -1(%rbx), %edx
leal -1(%r14), %ecx
cmpl %ecx, %edx
movl %ecx, %esi
cmovbl %edx, %esi
notl %esi
addl %r14d, %esi
cmpl %ecx, %esi
jbe LBB0_26
## %bb.25:
movq %rdi, %r15
jmp LBB0_32
LBB0_26:
leal -1(%r14), %esi
cmpl %esi, %edx
cmovael %esi, %edx
leaq (%rsi,%rbp), %r8
addq $-49, %r8
cmpq %r8, %rdi
jae LBB0_29
## %bb.27:
notl %edx
addl %r14d, %edx
leaq (%rdi,%rdx,8), %r8
addq $8, %r8
subq %rdx, %rsi
leaq (%rsi,%rbp), %rdx
addq $-50, %rdx
cmpq %r8, %rdx
jae LBB0_29
## %bb.28:
movq %rdi, %r15
jmp LBB0_32
LBB0_29:
incq %rax
movq %rax, %rdx
andq $-16, %rdx
leaq (%rdi,%rdx,8), %r15
subl %edx, %r14d
xorl %esi, %esi
movdqa LCPI0_0(%rip), %xmm0 ## xmm0 = [15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0]
LBB0_30: ## =>This Inner Loop Header: Depth=1
movl %ecx, %r8d
movdqu -65(%rbp,%r8), %xmm1
pshufb %xmm0, %xmm1
movdqa %xmm1, %xmm2
psrld $16, %xmm2
pmovsxbq %xmm2, %xmm2
pshufd $85, %xmm1, %xmm3 ## xmm3 = xmm1[1,1,1,1]
pmovsxbq %xmm3, %xmm3
movdqa %xmm1, %xmm4
psrlq $48, %xmm4
pmovsxbq %xmm4, %xmm4
pshufd $238, %xmm1, %xmm5 ## xmm5 = xmm1[2,3,2,3]
pmovsxbq %xmm5, %xmm5
movdqa %xmm1, %xmm6
psrldq $10, %xmm6 ## xmm6 = xmm6[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
pmovsxbq %xmm6, %xmm6
pshufd $255, %xmm1, %xmm7 ## xmm7 = xmm1[3,3,3,3]
pmovsxbq %xmm7, %xmm7
pmovsxbq %xmm1, %xmm8
psrldq $14, %xmm1 ## xmm1 = xmm1[14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
pmovsxbq %xmm1, %xmm1
movdqu %xmm8, (%rdi,%rsi,8)
movdqu %xmm1, 112(%rdi,%rsi,8)
movdqu %xmm7, 96(%rdi,%rsi,8)
movdqu %xmm6, 80(%rdi,%rsi,8)
movdqu %xmm5, 64(%rdi,%rsi,8)
movdqu %xmm4, 48(%rdi,%rsi,8)
movdqu %xmm3, 32(%rdi,%rsi,8)
movdqu %xmm2, 16(%rdi,%rsi,8)
addq $16, %rsi
addl $-16, %ecx
cmpq %rsi, %rdx
jne LBB0_30
## %bb.31:
cmpq %rdx, %rax
je LBB0_34
.p2align 4, 0x90
LBB0_32: ## =>This Inner Loop Header: Depth=1
decl %r14d
movsbq -50(%rbp,%r14), %rax
movq %rax, (%r15)
addq $8, %r15
cmpl %ebx, %r14d
jae LBB0_32
LBB0_34:
movq $0, (%r15)
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -40(%rbp), %rax
jne LBB0_38
## %bb.35:
addq $32, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_38:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "ASCII conversion buffer too small"
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ## @.memset_pattern
L_.memset_pattern:
.quad 48 ## 0x30
.quad 48 ## 0x30
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _png_ascii_from_fixed ; -- Begin function png_ascii_from_fixed
.p2align 2
_png_ascii_from_fixed: ; @png_ascii_from_fixed
.cfi_startproc
; %bb.0:
sub sp, sp, #80
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #24]
cmp w2, #13
b.lt LBB0_4
; %bb.1:
tbz x3, #63, LBB0_3
; %bb.2:
mov w8, #45 ; =0x2d
str x8, [x1], #8
neg w3, w3
LBB0_3:
mov w8, #-2147483648 ; =0x80000000
cmp w3, w8
b.ls LBB0_6
LBB0_4:
ldr x8, [sp, #24]
Lloh3:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh4:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_38
; %bb.5:
Lloh6:
adrp x1, l_.str@PAGE
Lloh7:
add x1, x1, l_.str@PAGEOFF
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #80
b _png_error
LBB0_6:
cbz w3, LBB0_13
; %bb.7:
mov w20, #0 ; =0x0
mov w19, #16 ; =0x10
mov w8, #26215 ; =0x6667
movk w8, #26214, lsl #16
mov w9, #-10 ; =0xfffffff6
mov w10, #48 ; =0x30
add x11, sp, #14
LBB0_8: ; =>This Inner Loop Header: Depth=1
smull x13, w3, w8
lsr x14, x13, #63
asr x13, x13, #34
add w13, w13, w14
madd w14, w13, w9, w3
sub w15, w10, w14
strb w15, [x11, w20, uxtw]
cmp w14, #0
ccmp w19, #16, #4, le
csinc w19, w19, w20, ne
add w20, w20, #1
add w12, w3, #9
mov x3, x13
cmp w12, #18
b.hi LBB0_8
; %bb.9:
cbz w20, LBB0_13
; %bb.10:
cmp w20, #6
b.lo LBB0_16
; %bb.11:
sub x8, x20, #5
cmp x8, #16
b.hs LBB0_17
; %bb.12:
mov x21, x1
b LBB0_21
LBB0_13:
mov w8, #48 ; =0x30
str x8, [x1], #8
mov x21, x1
LBB0_14:
str xzr, [x21]
ldr x8, [sp, #24]
Lloh8:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh9:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_38
; %bb.15:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #80
ret
LBB0_16:
mov x21, x1
cmp w19, #5
b.ls LBB0_24
b LBB0_14
LBB0_17:
and x10, x8, #0xfffffffffffffff0
sub x9, x20, x10
add x21, x1, x10, lsl #3
add x11, sp, #14
add x11, x11, x20
sub x11, x11, #16
sub x12, x20, #5
and x12, x12, #0xfffffffffffffff0
LBB0_18: ; =>This Inner Loop Header: Depth=1
ldr q0, [x11], #-16
rev64.16b v0, v0
ext.16b v0, v0, v0, #8
sshll.8h v1, v0, #0
sshll.4s v2, v1, #0
sshll.2d v3, v2, #0
sshll2.4s v1, v1, #0
sshll.2d v4, v1, #0
sshll2.8h v0, v0, #0
sshll2.4s v5, v0, #0
sshll.2d v6, v5, #0
sshll2.2d v5, v5, #0
stp q6, q5, [x1, #96]
sshll.4s v0, v0, #0
sshll.2d v5, v0, #0
sshll2.2d v1, v1, #0
sshll2.2d v0, v0, #0
stp q5, q0, [x1, #64]
stp q4, q1, [x1, #32]
sshll2.2d v0, v2, #0
stp q3, q0, [x1], #128
subs x12, x12, #16
b.ne LBB0_18
; %bb.19:
cmp x8, x10
b.eq LBB0_23
; %bb.20:
mov x20, x9
LBB0_21:
add x8, sp, #14
sub x8, x8, #1
LBB0_22: ; =>This Inner Loop Header: Depth=1
ldrsb x9, [x8, x20]
sub x10, x20, #1
str x9, [x21], #8
mov x20, x10
cmp x10, #5
b.hi LBB0_22
LBB0_23:
mov w20, #5 ; =0x5
cmp w19, #5
b.hi LBB0_14
LBB0_24:
mov w8, #46 ; =0x2e
mov x0, x21
str x8, [x0], #8
cmp w20, #4
b.hi LBB0_26
; %bb.25:
mov w8, #32 ; =0x20
sub w22, w8, w20, lsl #3
Lloh11:
adrp x1, l_.memset_pattern@PAGE
Lloh12:
add x1, x1, l_.memset_pattern@PAGEOFF
add x2, x22, #8
bl _memset_pattern16
add x8, x22, x21
add x0, x8, #16
LBB0_26:
cmp w20, w19
b.hs LBB0_28
; %bb.27:
mov x21, x0
b LBB0_14
LBB0_28:
neg w8, w19
neg w9, w20
cmp w8, w9
csneg w8, w9, w19, ls
add w9, w8, w20
cmp w9, #47
b.lo LBB0_32
; %bb.29:
sub w10, w19, #1
sub w8, w20, #1
cmp w10, w8
csel w11, w10, w8, lo
mvn w11, w11
add w11, w20, w11
cmp w11, w8
b.hi LBB0_32
; %bb.30:
cmp w10, w8
csel w10, w10, w8, lo
add x11, sp, #14
add x12, x11, x8
add x12, x12, #1
cmp x0, x12
b.hs LBB0_35
; %bb.31:
mvn w10, w10
add w10, w20, w10
sub x12, x8, x10
add x10, x0, w10, uxtw #3
add x10, x10, #8
add x12, x11, x12
cmp x12, x10
b.hs LBB0_35
LBB0_32:
mov x21, x0
LBB0_33:
add x8, sp, #14
LBB0_34: ; =>This Inner Loop Header: Depth=1
sub w20, w20, #1
ldrsb x9, [x8, w20, uxtw]
str x9, [x21], #8
cmp w20, w19
b.hs LBB0_34
b LBB0_14
LBB0_35:
add x9, x9, #1
and x10, x9, #0x1fffffff0
add x21, x0, x10, lsl #3
sub w20, w20, w10
sub x11, x11, #15
mov x12, x10
LBB0_36: ; =>This Inner Loop Header: Depth=1
ldr q0, [x11, w8, uxtw]
rev64.16b v0, v0
ext.16b v0, v0, v0, #8
sshll.8h v1, v0, #0
sshll.4s v2, v1, #0
sshll.2d v3, v2, #0
sshll2.4s v1, v1, #0
sshll.2d v4, v1, #0
sshll2.8h v0, v0, #0
sshll2.4s v5, v0, #0
sshll.2d v6, v5, #0
sshll2.2d v5, v5, #0
stp q6, q5, [x0, #96]
sshll.4s v0, v0, #0
sshll.2d v5, v0, #0
sshll2.2d v1, v1, #0
sshll2.2d v0, v0, #0
stp q5, q0, [x0, #64]
stp q4, q1, [x0, #32]
sshll2.2d v0, v2, #0
stp q3, q0, [x0], #128
sub w8, w8, #16
sub x12, x12, #16
cbnz x12, LBB0_36
; %bb.37:
cmp x9, x10
b.eq LBB0_14
b LBB0_33
LBB0_38:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpAdd Lloh11, Lloh12
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "ASCII conversion buffer too small"
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ; @.memset_pattern
l_.memset_pattern:
.quad 48 ; 0x30
.quad 48 ; 0x30
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function xsltNumberFormatGetMultipleLevel
_xsltNumberFormatGetMultipleLevel: ## @xsltNumberFormatGetMultipleLevel
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $72, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %r9d, -52(%rbp) ## 4-byte Spill
movq %r8, -96(%rbp) ## 8-byte Spill
movq %rcx, %r14
movq %rdx, -72(%rbp) ## 8-byte Spill
movq %rsi, %r15
movq %rdi, %r12
movq (%rdi), %rsi
movq %r15, (%rsi)
xorl %ebx, %ebx
xorl %edi, %edi
callq _xmlXPathNewParserContext
testq %rax, %rax
je LBB0_17
## %bb.1:
movq %rax, %rcx
xorl %ebx, %ebx
testq %r15, %r15
je LBB0_2
## %bb.3:
movq %r15, -80(%rbp) ## 8-byte Spill
movq %r15, %rdx
movq %rcx, %r15
movq %r14, -88(%rbp) ## 8-byte Spill
movq %r12, -64(%rbp) ## 8-byte Spill
movq %rcx, -48(%rbp) ## 8-byte Spill
jmp LBB0_4
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_4 Depth=1
movq %r15, %rsi
movq -48(%rbp), %r15 ## 8-byte Reload
LBB0_15: ## in Loop: Header=BB0_4 Depth=1
movq %r15, %rdi
callq _xmlXPathNextAncestor
movq %rax, %rdx
testq %rax, %rax
je LBB0_16
LBB0_4: ## =>This Loop Header: Depth=1
## Child Loop BB0_13 Depth 2
movq (%rdx), %rax
movq _XML_DOCUMENT_NODE@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_16
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
testq %r14, %r14
je LBB0_8
## %bb.6: ## in Loop: Header=BB0_4 Depth=1
movq %r12, %rdi
movq %rdx, %r15
movq %rdx, %rsi
movq %r14, %rdx
callq _xsltTestCompMatchList
movq %r15, %rdx
testq %rax, %rax
jne LBB0_7
LBB0_8: ## in Loop: Header=BB0_4 Depth=1
movq %r12, %rdi
movq %rdx, %r15
movq %rdx, %rsi
movq -72(%rbp), %rdx ## 8-byte Reload
movq -80(%rbp), %rcx ## 8-byte Reload
callq _xsltTestCompMatchCount
testq %rax, %rax
je LBB0_9
## %bb.10: ## in Loop: Header=BB0_4 Depth=1
movq -48(%rbp), %rdi ## 8-byte Reload
movq %rbx, -112(%rbp) ## 8-byte Spill
movq %rdi, %r12
movq %r15, -104(%rbp) ## 8-byte Spill
movq %r15, %rsi
callq _xmlXPathNextPrecedingSibling
testq %rax, %rax
je LBB0_11
## %bb.12: ## in Loop: Header=BB0_4 Depth=1
movq %rax, %rbx
movl $1, %r14d
movq -72(%rbp), %r15 ## 8-byte Reload
movq -64(%rbp), %r13 ## 8-byte Reload
.p2align 4, 0x90
LBB0_13: ## Parent Loop BB0_4 Depth=1
## => This Inner Loop Header: Depth=2
movq %r13, %rdi
movq %rbx, %rsi
movq %r15, %rdx
movq -80(%rbp), %rcx ## 8-byte Reload
callq _xsltTestCompMatchCount
cmpq $1, %rax
adcl $-1, %r14d
movq %r12, %rdi
movq %rbx, %rsi
callq _xmlXPathNextPrecedingSibling
movq %rax, %rbx
testq %rax, %rax
jne LBB0_13
jmp LBB0_14
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_4 Depth=1
movl $1, %r14d
movq -64(%rbp), %r13 ## 8-byte Reload
LBB0_14: ## in Loop: Header=BB0_4 Depth=1
xorps %xmm0, %xmm0
cvtsi2sd %r14d, %xmm0
movq -112(%rbp), %rbx ## 8-byte Reload
movslq %ebx, %rax
incl %ebx
movq -96(%rbp), %rcx ## 8-byte Reload
movsd %xmm0, (%rcx,%rax,8)
cmpl -52(%rbp), %ebx ## 4-byte Folded Reload
movq -88(%rbp), %r14 ## 8-byte Reload
movq %r12, %r15
movq %r13, %r12
movq -104(%rbp), %rsi ## 8-byte Reload
jl LBB0_15
jmp LBB0_16
LBB0_2:
movq %rcx, %r15
jmp LBB0_16
LBB0_7:
movq -48(%rbp), %r15 ## 8-byte Reload
LBB0_16:
movq %r15, %rdi
callq _xmlXPathFreeParserContext
LBB0_17:
movl %ebx, %eax
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _XML_DOCUMENT_NODE,8,3 ## @XML_DOCUMENT_NODE
.no_dead_strip _xsltNumberFormatGetMultipleLevel
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function xsltNumberFormatGetMultipleLevel
_xsltNumberFormatGetMultipleLevel: ; @xsltNumberFormatGetMultipleLevel
.cfi_startproc
; %bb.0:
sub sp, sp, #112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
str w5, [sp, #12] ; 4-byte Folded Spill
mov x21, x4
mov x22, x3
mov x23, x2
mov x24, x1
mov x25, x0
ldr x1, [x0]
str x24, [x1]
mov x0, #0 ; =0x0
bl _xmlXPathNewParserContext
cbz x0, LBB0_14
; %bb.1:
mov x19, x0
cbz x24, LBB0_15
; %bb.2:
mov w28, #0 ; =0x0
mov x26, x24
b LBB0_5
LBB0_3: ; in Loop: Header=BB0_5 Depth=1
mov x27, x28
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
mov x0, x19
mov x1, x26
bl _xmlXPathNextAncestor
mov x26, x0
cbz x0, LBB0_17
LBB0_5: ; =>This Loop Header: Depth=1
; Child Loop BB0_11 Depth 2
ldr x8, [x26]
Lloh0:
adrp x9, _XML_DOCUMENT_NODE@GOTPAGE
Lloh1:
ldr x9, [x9, _XML_DOCUMENT_NODE@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x8, x9
b.eq LBB0_16
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
cbz x22, LBB0_8
; %bb.7: ; in Loop: Header=BB0_5 Depth=1
mov x0, x25
mov x1, x26
mov x2, x22
bl _xsltTestCompMatchList
cbnz x0, LBB0_16
LBB0_8: ; in Loop: Header=BB0_5 Depth=1
mov x0, x25
mov x1, x26
mov x2, x23
mov x3, x24
bl _xsltTestCompMatchCount
cbz x0, LBB0_3
; %bb.9: ; in Loop: Header=BB0_5 Depth=1
mov x0, x19
mov x1, x26
bl _xmlXPathNextPrecedingSibling
cbz x0, LBB0_12
; %bb.10: ; in Loop: Header=BB0_5 Depth=1
mov x27, x0
mov w20, #1 ; =0x1
LBB0_11: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
mov x0, x25
mov x1, x27
mov x2, x23
mov x3, x24
bl _xsltTestCompMatchCount
cmp x0, #0
cset w8, ne
sub w20, w20, w8
mov x0, x19
mov x1, x27
bl _xmlXPathNextPrecedingSibling
mov x27, x0
cbnz x0, LBB0_11
b LBB0_13
LBB0_12: ; in Loop: Header=BB0_5 Depth=1
mov w20, #1 ; =0x1
LBB0_13: ; in Loop: Header=BB0_5 Depth=1
scvtf d0, w20
add w27, w28, #1
str d0, [x21, w28, sxtw #3]
mov x28, x27
ldr w8, [sp, #12] ; 4-byte Folded Reload
cmp w27, w8
b.lt LBB0_4
b LBB0_17
LBB0_14:
mov w27, #0 ; =0x0
b LBB0_18
LBB0_15:
mov w27, #0 ; =0x0
b LBB0_17
LBB0_16:
mov x27, x28
LBB0_17:
mov x0, x19
bl _xmlXPathFreeParserContext
LBB0_18:
mov x0, x27
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _XML_DOCUMENT_NODE,8,3 ; @XML_DOCUMENT_NODE
.no_dead_strip _xsltNumberFormatGetMultipleLevel
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _S_PaintChannelFromADPCM ## -- Begin function S_PaintChannelFromADPCM
.p2align 4, 0x90
_S_PaintChannelFromADPCM: ## @S_PaintChannelFromADPCM
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, %r14d
## kill: def $edx killed $edx def $rdx
movq %rsi, %r9
movslq %r8d, %r13
cmpq $0, 16(%rdi)
je LBB0_2
## %bb.1:
imull 8(%rdi), %r14d
LBB0_2:
movq _snd_vol@GOTPCREL(%rip), %rcx
movq _paintbuffer@GOTPCREL(%rip), %rax
shlq $3, %r13
movq (%r9), %r15
movq _SND_CHUNK_SIZE@GOTPCREL(%rip), %rsi
movl (%rsi), %esi
shll $2, %esi
xorl %ebx, %ebx
cmpl %esi, %r14d
jl LBB0_5
## %bb.3:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq (%r15), %r15
subl %esi, %r14d
decl %ebx
cmpl %esi, %r14d
jge LBB0_4
LBB0_5:
movsd (%rdi), %xmm0 ## xmm0 = mem[0],zero
movaps %xmm0, -80(%rbp) ## 16-byte Spill
movd (%rcx), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movdqa %xmm0, -64(%rbp) ## 16-byte Spill
addq (%rax), %r13
movq _sfxScratchIndex@GOTPCREL(%rip), %rax
movq _sfxScratchPointer@GOTPCREL(%rip), %rcx
cmpl (%rax), %ebx
jne LBB0_7
## %bb.6:
cmpq %r9, (%rcx)
je LBB0_8
LBB0_7:
movq _sfxScratchBuffer@GOTPCREL(%rip), %rax
movq (%rax), %rsi
movq %r15, %rdi
movq %rdx, %r12
movq %r9, -48(%rbp) ## 8-byte Spill
callq _S_AdpcmGetSamples
movq %r12, %rdx
movq _sfxScratchIndex@GOTPCREL(%rip), %rax
movl %ebx, (%rax)
movq -48(%rbp), %rax ## 8-byte Reload
movq _sfxScratchPointer@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
LBB0_8:
testl %edx, %edx
js LBB0_13
## %bb.9:
movq _sfxScratchBuffer@GOTPCREL(%rip), %rax
movq (%rax), %r12
incl %edx
xorl %ebx, %ebx
jmp LBB0_10
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_10 Depth=1
incq %rbx
cmpq %rbx, %rdx
je LBB0_13
LBB0_10: ## =>This Inner Loop Header: Depth=1
movslq %r14d, %rax
incl %r14d
movswl (%r12,%rax,2), %eax
movd %eax, %xmm0
pmulld -64(%rbp), %xmm0 ## 16-byte Folded Reload
pshufd $80, %xmm0, %xmm0 ## xmm0 = xmm0[0,0,1,1]
pmulld -80(%rbp), %xmm0 ## 16-byte Folded Reload
psrad $8, %xmm0
movq (%r13,%rbx,8), %xmm1 ## xmm1 = mem[0],zero
paddd %xmm0, %xmm1
movq %xmm1, (%r13,%rbx,8)
movq _SND_CHUNK_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %eax
shll $2, %eax
cmpl %eax, %r14d
jne LBB0_12
## %bb.11: ## in Loop: Header=BB0_10 Depth=1
movq (%r15), %r15
movq _sfxScratchBuffer@GOTPCREL(%rip), %rax
movq (%rax), %rsi
movq %r15, %rdi
movq %rdx, %r14
callq _S_AdpcmGetSamples
movq %r14, %rdx
movq _sfxScratchIndex@GOTPCREL(%rip), %rax
incl (%rax)
xorl %r14d, %r14d
jmp LBB0_12
LBB0_13:
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _snd_vol,4,2 ## @snd_vol
.comm _paintbuffer,8,3 ## @paintbuffer
.comm _SND_CHUNK_SIZE,4,2 ## @SND_CHUNK_SIZE
.comm _sfxScratchIndex,4,2 ## @sfxScratchIndex
.comm _sfxScratchPointer,8,3 ## @sfxScratchPointer
.comm _sfxScratchBuffer,8,3 ## @sfxScratchBuffer
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _S_PaintChannelFromADPCM ; -- Begin function S_PaintChannelFromADPCM
.p2align 2
_S_PaintChannelFromADPCM: ; @S_PaintChannelFromADPCM
.cfi_startproc
; %bb.0:
stp d9, d8, [sp, #-112]! ; 16-byte Folded Spill
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
.cfi_offset b8, -104
.cfi_offset b9, -112
mov x20, x3
mov x23, x1
ldr x19, [x1]
ldr x8, [x0, #16]
cbz x8, LBB0_2
; %bb.1:
ldr w8, [x0, #8]
mul w20, w8, w20
LBB0_2:
Lloh0:
adrp x9, _paintbuffer@GOTPAGE
Lloh1:
ldr x9, [x9, _paintbuffer@GOTPAGEOFF]
Lloh2:
adrp x8, _snd_vol@GOTPAGE
Lloh3:
ldr x8, [x8, _snd_vol@GOTPAGEOFF]
Lloh4:
adrp x24, _SND_CHUNK_SIZE@GOTPAGE
Lloh5:
ldr x24, [x24, _SND_CHUNK_SIZE@GOTPAGEOFF]
ldr w10, [x24]
lsl w10, w10, #2
cmp w20, w10
b.ge LBB0_4
; %bb.3:
mov w27, #0 ; =0x0
b LBB0_6
LBB0_4:
mov w27, #0 ; =0x0
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr x19, [x19]
sub w27, w27, #1
sub w20, w20, w10
cmp w20, w10
b.ge LBB0_5
LBB0_6:
ldr x28, [x9]
ldr s8, [x8]
ldr d9, [x0]
Lloh6:
adrp x25, _sfxScratchIndex@GOTPAGE
Lloh7:
ldr x25, [x25, _sfxScratchIndex@GOTPAGEOFF]
Lloh8:
adrp x9, _sfxScratchPointer@GOTPAGE
Lloh9:
ldr x9, [x9, _sfxScratchPointer@GOTPAGEOFF]
ldr w8, [x25]
Lloh10:
ldr x9, [x9]
cmp w27, w8
ccmp x9, x23, #0, eq
Lloh11:
adrp x26, _sfxScratchBuffer@GOTPAGE
Lloh12:
ldr x26, [x26, _sfxScratchBuffer@GOTPAGEOFF]
b.eq LBB0_8
; %bb.7:
ldr x1, [x26]
mov x0, x19
mov x21, x4
mov x22, x2
bl _S_AdpcmGetSamples
mov x2, x22
mov x4, x21
str w27, [x25]
Lloh13:
adrp x8, _sfxScratchPointer@GOTPAGE
Lloh14:
ldr x8, [x8, _sfxScratchPointer@GOTPAGEOFF]
Lloh15:
str x23, [x8]
LBB0_8:
tbnz w2, #31, LBB0_13
; %bb.9:
add x22, x28, w4, sxtw #3
ldr x23, [x26]
add w21, w2, #1
b LBB0_11
LBB0_10: ; in Loop: Header=BB0_11 Depth=1
add x22, x22, #8
mov x20, x8
subs x21, x21, #1
b.eq LBB0_13
LBB0_11: ; =>This Inner Loop Header: Depth=1
add w8, w20, #1
ldrsh w9, [x23, w20, sxtw #1]
fmov s0, w9
mul.2s v0, v0, v8
mul.2s v0, v9, v0[0]
ldr d1, [x22]
ssra.2s v1, v0, #8
str d1, [x22]
ldr w9, [x24]
cmp w8, w9, lsl #2
b.ne LBB0_10
; %bb.12: ; in Loop: Header=BB0_11 Depth=1
ldr x19, [x19]
ldr x1, [x26]
mov x0, x19
bl _S_AdpcmGetSamples
mov w8, #0 ; =0x0
ldr w9, [x25]
add w9, w9, #1
str w9, [x25]
b LBB0_10
LBB0_13:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
ldp d9, d8, [sp], #112 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotStr Lloh13, Lloh14, Lloh15
.cfi_endproc
; -- End function
.comm _snd_vol,4,2 ; @snd_vol
.comm _paintbuffer,8,3 ; @paintbuffer
.comm _SND_CHUNK_SIZE,4,2 ; @SND_CHUNK_SIZE
.comm _sfxScratchIndex,4,2 ; @sfxScratchIndex
.comm _sfxScratchPointer,8,3 ; @sfxScratchPointer
.comm _sfxScratchBuffer,8,3 ; @sfxScratchBuffer
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function write_sgl
_write_sgl: ## @write_sgl
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r8, %r15
movl %ecx, %r14d
movq %rsi, %r13
movq %rdi, %r12
xorl %ebx, %ebx
movl $0, %eax
movq %rax, -48(%rbp) ## 8-byte Spill
testl %ecx, %ecx
je LBB0_2
## %bb.1:
movl %r14d, %edi
callq _cpu_to_be32
movq (%r13), %rcx
movq %rax, (%rcx)
movl (%r15), %edi
callq _cpu_to_be64
movq 8(%r13), %rcx
movq %rax, (%rcx)
movl $1, %eax
movq %rax, -48(%rbp) ## 8-byte Spill
LBB0_2:
movl %r14d, -52(%rbp) ## 4-byte Spill
movq %r12, %rdi
callq _skb_shinfo
movl (%rax), %ecx
movq %r12, -72(%rbp) ## 8-byte Spill
movq -48(%rbp), %rax ## 8-byte Reload
movl %eax, %r12d
movq %r15, -64(%rbp) ## 8-byte Spill
movq %rcx, -80(%rbp) ## 8-byte Spill
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movl %r12d, %r14d
movq %r13, %r15
movq -48(%rbp), %rax ## 8-byte Reload
addl %ebx, %eax
movq %rax, -88(%rbp) ## 8-byte Spill
movq -72(%rbp), %rdi ## 8-byte Reload
callq _skb_shinfo
movl %ebx, %edi
shlq $2, %rdi
addq 8(%rax), %rdi
callq _skb_frag_size
movl %eax, %edi
callq _cpu_to_be32
movq (%r13), %rcx
movl %r12d, %r13d
movq %rax, (%rcx,%r13,8)
movq -64(%rbp), %rax ## 8-byte Reload
movq -88(%rbp), %rcx ## 8-byte Reload
movl (%rax,%rcx,4), %edi
callq _cpu_to_be64
movq 8(%r15), %rcx
movq %rax, (%rcx,%r13,8)
movq -80(%rbp), %rcx ## 8-byte Reload
xorl $1, %r12d
xorl %r13d, %r13d
cmpl $1, %r14d
sete %r13b
shll $4, %r13d
addq %r15, %r13
incl %ebx
cmpl %ecx, %ebx
jbe LBB0_3
## %bb.4:
cmpl $1, %r14d
je LBB0_6
## %bb.5:
movq (%r13), %rax
movq $0, 8(%rax)
LBB0_6:
cmpl $1, -52(%rbp) ## 4-byte Folded Reload
sbbl $-1, %ecx
leal (%rcx,%rcx,2), %eax
shrl %eax
addl %eax, %r12d
movl %r12d, %eax
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _write_sgl
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function write_sgl
_write_sgl: ; @write_sgl
.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 x21, x4
mov x19, x3
mov x20, x1
mov x22, x0
cbz w3, LBB0_2
; %bb.1:
mov x0, x19
bl _cpu_to_be32
ldr x8, [x20]
str x0, [x8]
ldr w0, [x21]
bl _cpu_to_be64
ldr x8, [x20, #8]
str x0, [x8]
mov w23, #1 ; =0x1
b LBB0_3
LBB0_2:
mov w23, #0 ; =0x0
LBB0_3:
mov x0, x22
bl _skb_shinfo
mov w25, #0 ; =0x0
ldr w24, [x0]
mov x8, x23
LBB0_4: ; =>This Inner Loop Header: Depth=1
mov x26, x8
add w27, w23, w25
mov x0, x22
bl _skb_shinfo
ldr x8, [x0, #8]
add x0, x8, w25, uxtw #2
bl _skb_frag_size
bl _cpu_to_be32
ldr x8, [x20]
cmp w26, #1
cset w28, eq
str x0, [x8, w26, uxtw #3]
ldr w0, [x21, w27, uxtw #2]
bl _cpu_to_be64
ldr x8, [x20, #8]
str x0, [x8, w26, uxtw #3]
eor w8, w26, #0x1
add x20, x20, w28, uxtw #4
add w25, w25, #1
cmp w25, w24
b.ls LBB0_4
; %bb.5:
cmp w26, #1
b.eq LBB0_7
; %bb.6:
ldr x9, [x20]
str xzr, [x9, #8]
LBB0_7:
cmp w19, #0
cinc w9, w24, ne
add w9, w9, w9, lsl #1
add w0, w8, w9, lsr #1
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _write_sgl
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function hp_sdc_rtc_do_read_bbrtc
_hp_sdc_rtc_do_read_bbrtc: ## @hp_sdc_rtc_do_read_bbrtc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $416, %rsp ## imm = 0x1A0
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -24(%rbp)
movq _HP_SDC_CMD_DO_RTCR@GOTPCREL(%rip), %rax
movl (%rax), %eax
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl $1, -404(%rbp,%rcx,4)
movzbl %cl, %edx
leal (%rdx,%rdx,8), %esi
leal (%rdx,%rsi,4), %edx
shrl $8, %edx
movl %ecx, %esi
subb %dl, %sil
shrb %sil
addb %dl, %sil
shrb $2, %sil
movzbl %sil, %edx
movl %edx, -400(%rbp,%rcx,4)
movl %eax, -396(%rbp,%rcx,4)
movl $2, -392(%rbp,%rcx,4)
leaq 5(%rcx), %rdx
cmpq $86, %rcx
movq %rdx, %rcx
jb LBB0_1
## %bb.2:
movq _HP_SDC_ACT_SEMAPHORE@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %eax, -64(%rbp)
movl $91, -432(%rbp)
leaq -400(%rbp), %rax
movq %rax, -424(%rbp)
leaq -404(%rbp), %rdi
movq %rdi, -416(%rbp)
xorl %esi, %esi
callq _sema_init
leaq -432(%rbp), %rdi
callq _hp_sdc_enqueue_transaction
movl $-1, %r14d
testq %rax, %rax
jne LBB0_5
## %bb.3:
leaq -404(%rbp), %rdi
callq _down_interruptible
movl %eax, %edi
callq _WARN_ON
testq %rax, %rax
jne LBB0_5
## %bb.4:
xorl %r14d, %r14d
movq %rbx, %rdi
xorl %esi, %esi
movl $28, %edx
callq _memset
movl -68(%rbp), %eax
movl -40(%rbp), %ecx
andl $15, %eax
andl $15, %ecx
addl %ecx, %ecx
leal (%rcx,%rcx,4), %ecx
subl %ecx, %eax
movl %eax, (%rbx)
movl -124(%rbp), %eax
movl -96(%rbp), %ecx
andl $15, %eax
andl $15, %ecx
leal (%rcx,%rcx,4), %ecx
leal (%rax,%rcx,2), %eax
movl %eax, 4(%rbx)
movl -180(%rbp), %eax
movl -152(%rbp), %ecx
andl $15, %eax
andl $15, %ecx
leal (%rcx,%rcx,4), %ecx
leal (%rax,%rcx,2), %eax
movl %eax, 8(%rbx)
movl -208(%rbp), %eax
andl $15, %eax
movl %eax, 12(%rbx)
movl -264(%rbp), %eax
movl -236(%rbp), %ecx
andl $15, %eax
andl $15, %ecx
leal (%rcx,%rcx,4), %ecx
leal (%rax,%rcx,2), %eax
movl %eax, 16(%rbx)
movl -320(%rbp), %eax
movl -292(%rbp), %ecx
andl $15, %eax
andl $15, %ecx
leal (%rcx,%rcx,4), %ecx
leal (%rax,%rcx,2), %eax
movl %eax, 20(%rbx)
movl -376(%rbp), %eax
movl -348(%rbp), %ecx
andl $15, %eax
andl $15, %ecx
leal (%rcx,%rcx,4), %ecx
leal (%rax,%rcx,2), %eax
movl %eax, 24(%rbx)
LBB0_5:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -24(%rbp), %rax
jne LBB0_7
## %bb.6:
movl %r14d, %eax
addq $416, %rsp ## imm = 0x1A0
popq %rbx
popq %r14
popq %rbp
retq
LBB0_7:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _HP_SDC_ACT_DATAREG,4,2 ## @HP_SDC_ACT_DATAREG
.comm _HP_SDC_ACT_POSTCMD,4,2 ## @HP_SDC_ACT_POSTCMD
.comm _HP_SDC_ACT_DATAIN,4,2 ## @HP_SDC_ACT_DATAIN
.comm _HP_SDC_CMD_DO_RTCR,4,2 ## @HP_SDC_CMD_DO_RTCR
.comm _HP_SDC_ACT_SEMAPHORE,4,2 ## @HP_SDC_ACT_SEMAPHORE
.no_dead_strip _hp_sdc_rtc_do_read_bbrtc
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function hp_sdc_rtc_do_read_bbrtc
_hp_sdc_rtc_do_read_bbrtc: ; @hp_sdc_rtc_do_read_bbrtc
.cfi_startproc
; %bb.0:
sub sp, sp, #432
stp x20, x19, [sp, #400] ; 16-byte Folded Spill
stp x29, x30, [sp, #416] ; 16-byte Folded Spill
add x29, sp, #416
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-24]
Lloh3:
adrp x9, _HP_SDC_CMD_DO_RTCR@GOTPAGE
Lloh4:
ldr x9, [x9, _HP_SDC_CMD_DO_RTCR@GOTPAGEOFF]
add x8, sp, #28
Lloh5:
ldr w9, [x9]
mov w10, #1 ; =0x1
stur x10, [sp, #44]
mov x11, #4294967297 ; =0x100000001
stur x11, [sp, #64]
mov x11, #1 ; =0x1
movk x11, #2, lsl #32
stur x11, [sp, #84]
stp w10, wzr, [sp, #24]
mov w11, #2 ; =0x2
stp w9, w11, [sp, #32]
stp w9, w11, [sp, #52]
stp w9, w11, [sp, #72]
stp w9, w11, [sp, #92]
stp w10, w11, [sp, #104]
mov w12, #3 ; =0x3
stp w10, w12, [sp, #124]
mov w12, #4 ; =0x4
stp w10, w12, [sp, #144]
mov w12, #5 ; =0x5
stp w10, w12, [sp, #164]
stp w9, w11, [sp, #112]
stp w9, w11, [sp, #132]
stp w9, w11, [sp, #152]
stp w9, w11, [sp, #172]
mov x12, #1 ; =0x1
movk x12, #5, lsl #32
stur x12, [x8, #156]
mov x12, #1 ; =0x1
movk x12, #6, lsl #32
str x12, [x8, #176]
mov x12, #1 ; =0x1
movk x12, #7, lsl #32
stur x12, [x8, #196]
str x12, [x8, #216]
stp w9, w11, [sp, #192]
stp w9, w11, [sp, #212]
stp w9, w11, [sp, #232]
stp w9, w11, [sp, #252]
add x12, x8, #276
mov x13, #1 ; =0x1
movk x13, #8, lsl #32
stur x13, [x8, #236]
mov x13, #1 ; =0x1
movk x13, #9, lsl #32
str x13, [x8, #256]
mov x13, #1 ; =0x1
movk x13, #10, lsl #32
str x13, [x12]
str x13, [x8, #296]
str w9, [sp, #292]
str w9, [sp, #312]
str w9, [sp, #332]
str w9, [sp, #272]
str w11, [sp, #276]
str w11, [sp, #296]
str w11, [sp, #316]
str w11, [sp, #336]
add x12, x8, #316
mov x13, #1 ; =0x1
movk x13, #11, lsl #32
str x13, [x12]
str w9, [sp, #352]
str w11, [sp, #356]
str w10, [sp, #364]
mov w10, #12 ; =0xc
str w10, [sp, #368]
str w9, [sp, #372]
str w11, [sp, #376]
add x10, x8, #356
mov x12, #1 ; =0x1
movk x12, #12, lsl #32
str x12, [x10]
str w9, [sp, #392]
str w11, [sp, #396]
Lloh6:
adrp x9, _HP_SDC_ACT_SEMAPHORE@GOTPAGE
Lloh7:
ldr x9, [x9, _HP_SDC_ACT_SEMAPHORE@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
orr w9, w9, #0x1
str w9, [sp, #364]
mov w9, #91 ; =0x5b
str w9, [sp]
add x9, sp, #24
stp x8, x9, [sp, #8]
add x0, sp, #24
mov w1, #0 ; =0x0
bl _sema_init
mov x0, sp
bl _hp_sdc_enqueue_transaction
cbnz x0, LBB0_2
; %bb.1:
add x0, sp, #24
bl _down_interruptible
bl _WARN_ON
cbz x0, LBB0_5
LBB0_2:
mov w0, #-1 ; =0xffffffff
LBB0_3:
ldur x8, [x29, #-24]
Lloh9:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh10:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_6
; %bb.4:
ldp x29, x30, [sp, #416] ; 16-byte Folded Reload
ldp x20, x19, [sp, #400] ; 16-byte Folded Reload
add sp, sp, #432
ret
LBB0_5:
mov x0, x19
mov w1, #0 ; =0x0
mov w2, #28 ; =0x1c
bl _memset
mov w0, #0 ; =0x0
ldr w8, [sp, #360]
and w8, w8, #0xf
ldr w9, [sp, #388]
and w9, w9, #0xf
mov w10, #-10 ; =0xfffffff6
madd w8, w9, w10, w8
ldr w9, [sp, #304]
ldr w10, [sp, #276]
and w9, w9, #0xf
ldr w11, [sp, #332]
and w11, w11, #0xf
mov w12, #10 ; =0xa
madd w9, w11, w12, w9
ldr w11, [sp, #248]
ldr w13, [sp, #220]
and w11, w11, #0xf
and w10, w10, #0xf
madd w10, w10, w12, w11
ldr w11, [sp, #164]
ldr w14, [sp, #192]
and w11, w11, #0xf
and w14, w14, #0xf
madd w11, w14, w12, w11
ldr w14, [sp, #108]
ldr w15, [sp, #136]
and w14, w14, #0xf
and w15, w15, #0xf
madd w14, w15, w12, w14
ldr w15, [sp, #52]
ldr w16, [sp, #80]
and w15, w15, #0xf
and w16, w16, #0xf
madd w12, w16, w12, w15
stp w8, w9, [x19]
and w8, w13, #0xf
stp w10, w8, [x19, #8]
stp w11, w14, [x19, #16]
str w12, [x19, #24]
b LBB0_3
LBB0_6:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.cfi_endproc
; -- End function
.comm _HP_SDC_ACT_DATAREG,4,2 ; @HP_SDC_ACT_DATAREG
.comm _HP_SDC_ACT_POSTCMD,4,2 ; @HP_SDC_ACT_POSTCMD
.comm _HP_SDC_ACT_DATAIN,4,2 ; @HP_SDC_ACT_DATAIN
.comm _HP_SDC_CMD_DO_RTCR,4,2 ; @HP_SDC_CMD_DO_RTCR
.comm _HP_SDC_ACT_SEMAPHORE,4,2 ; @HP_SDC_ACT_SEMAPHORE
.no_dead_strip _hp_sdc_rtc_do_read_bbrtc
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function ipv6_to_number
_ipv6_to_number: ## @ipv6_to_number
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, -48(%rbp) ## 8-byte Spill
movq %rdi, %r14
movq _FALSE@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
xorl %ebx, %ebx
movq _TRUE@GOTPCREL(%rip), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
xorl %r13d, %r13d
jmp LBB0_1
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movq _TRUE@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movq %rbx, %r15
movq (%r12,%r13,8), %rdi
callq _h16tous
incq %rbx
movq -48(%rbp), %rcx ## 8-byte Reload
movl %eax, (%rcx,%r15,4)
incq %r13
cmpq (%r14), %r13
ja LBB0_7
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq 8(%r14), %rax
movq 40(%r14), %r12
testq %rax, %rax
je LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
cmpq %rax, (%r12,%r13,8)
setle %al
cmpq $0, -56(%rbp) ## 8-byte Folded Reload
setne %cl
testb %cl, %al
jne LBB0_6
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movq 16(%r14), %r15
testq %r15, %r15
jle LBB0_5
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
movq -48(%rbp), %rax ## 8-byte Reload
leaq (%rax,%rbx,4), %rdi
decq %r15
shrq %r15
leaq 4(,%r15,4), %rsi
callq ___bzero
addq %r15, %rbx
incq %rbx
jmp LBB0_5
LBB0_7:
cmpq $0, -56(%rbp) ## 8-byte Folded Reload
je LBB0_8
LBB0_11:
movq 32(%r14), %rdi
testq %rdi, %rdi
je LBB0_15
## %bb.12:
movl 24(%r14), %esi
callq _ipv4toui
cmpq $6, %rbx
jne LBB0_14
## %bb.13:
movl %eax, %ecx
sarl $16, %ecx
orl $65535, %ecx ## imm = 0xFFFF
movq -48(%rbp), %rdx ## 8-byte Reload
movl %ecx, 24(%rdx)
movzwl %ax, %eax
movl %eax, 28(%rdx)
jmp LBB0_15
LBB0_8:
cmpq $0, 8(%r14)
je LBB0_11
## %bb.9:
movq 16(%r14), %r12
testq %r12, %r12
jle LBB0_11
## %bb.10:
movq -48(%rbp), %rax ## 8-byte Reload
leaq (%rax,%r15,4), %rdi
addq $4, %rdi
decq %r12
shrq %r12
leaq 4(,%r12,4), %rsi
callq ___bzero
leaq (%r12,%r15), %rbx
addq $2, %rbx
jmp LBB0_11
LBB0_14:
leaq L_.str(%rip), %rdi
movq %r14, %rsi
movq -48(%rbp), %rdx ## 8-byte Reload
movq %rbx, %rcx
callq _ERR
movq _FALSE@GOTPCREL(%rip), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
LBB0_15:
movq -64(%rbp), %rax ## 8-byte Reload
movq (%rax), %rax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _FALSE,8,3 ## @FALSE
.comm _TRUE,8,3 ## @TRUE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "(%p %p): Failed sanity check with %d\n"
.no_dead_strip _ipv6_to_number
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function ipv6_to_number
_ipv6_to_number: ; @ipv6_to_number
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x1
mov x20, x0
mov x21, #0 ; =0x0
mov x22, #0 ; =0x0
Lloh0:
adrp x8, _FALSE@GOTPAGE
Lloh1:
ldr x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
ldr x24, [x8]
Lloh3:
adrp x23, _TRUE@GOTPAGE
Lloh4:
ldr x23, [x23, _TRUE@GOTPAGEOFF]
b LBB0_3
LBB0_1: ; in Loop: Header=BB0_3 Depth=1
ldr x24, [x23]
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
mov x25, x21
ldr x0, [x26, x22, lsl #3]
bl _h16tous
add x21, x21, #1
str w0, [x19, x25, lsl #2]
add x22, x22, #1
ldr x8, [x20]
cmp x22, x8
b.hi LBB0_7
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x8, [x20, #8]
ldr x26, [x20, #40]
cbz x8, LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
ldr x9, [x26, x22, lsl #3]
cmp x9, x8
ccmp x24, #0, #4, le
b.ne LBB0_2
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x20, #16]
subs x8, x8, #1
b.lt LBB0_1
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
add x0, x19, x21, lsl #2
lsr x24, x8, #1
lsl x8, x24, #2
add x1, x8, #4
bl _bzero
add x8, x21, x24
add x21, x8, #1
b LBB0_1
LBB0_7:
cbz x24, LBB0_12
LBB0_8:
ldr x0, [x20, #32]
cbz x0, LBB0_11
; %bb.9:
ldr w1, [x20, #24]
bl _ipv4toui
cmp x21, #6
b.ne LBB0_15
; %bb.10:
asr w8, w0, #16
orr w8, w8, #0xffff
and w9, w0, #0xffff
stp w8, w9, [x19, #24]
LBB0_11:
Lloh5:
adrp x8, _TRUE@GOTPAGE
Lloh6:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
b LBB0_16
LBB0_12:
ldr x8, [x20, #8]
cbz x8, LBB0_8
; %bb.13:
ldr x8, [x20, #16]
subs x8, x8, #1
b.lt LBB0_8
; %bb.14:
add x9, x19, x25, lsl #2
lsr x21, x8, #1
lsl x8, x21, #2
add x0, x9, #4
add x1, x8, #4
bl _bzero
add x8, x21, x25
add x21, x8, #2
b LBB0_8
LBB0_15:
Lloh7:
adrp x0, l_.str@PAGE
Lloh8:
add x0, x0, l_.str@PAGEOFF
mov x1, x20
mov x2, x19
mov x3, x21
bl _ERR
Lloh9:
adrp x8, _FALSE@GOTPAGE
Lloh10:
ldr x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_16:
ldr x0, [x8]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpAdd Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _FALSE,8,3 ; @FALSE
.comm _TRUE,8,3 ; @TRUE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "(%p %p): Failed sanity check with %d\n"
.no_dead_strip _ipv6_to_number
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _parse_opt_block ## -- Begin function parse_opt_block
.p2align 4, 0x90
_parse_opt_block: ## @parse_opt_block
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %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
movl %edi, %r12d
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _MAX_ARG_LEN@GOTPCREL(%rip), %rax
movl (%rax), %eax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r15
movq _MAX_ARG_COUNT@GOTPCREL(%rip), %rax
movl (%rax), %eax
shlq $3, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r14
movq _num_blocks@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _MAX_NUM_BLOCKS@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jbe LBB0_4
## %bb.1:
leaq L_.str(%rip), %rdi
LBB0_2:
xorl %eax, %eax
callq _ERR
jmp LBB0_3
LBB0_4:
movq %rbx, -56(%rbp) ## 8-byte Spill
movq _blocks@GOTPCREL(%rip), %rcx
movq (%rcx), %r13
leaq (%rax,%rax,2), %rbx
shlq $4, %rbx
movabsq $1095216660481, %rax ## imm = 0xFF00000001
movq %rax, (%r13,%rbx)
movsbl %r12b, %esi
leal -98(%rsi), %eax
cmpl $22, %eax
ja LBB0_19
## %bb.5:
leaq (%rbx,%r13), %r12
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_6:
movq _boot_block@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB0_8
## %bb.7:
leaq L_.str.1(%rip), %rdi
callq _WARN
jmp LBB0_22
LBB0_19:
leaq L_.str.5(%rip), %rdi
## kill: def $esi killed $esi killed $rsi
xorl %eax, %eax
callq _ERR
jmp LBB0_3
LBB0_15:
movq _code_block@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB0_17
## %bb.16:
leaq L_.str.4(%rip), %rdi
callq _WARN
jmp LBB0_22
LBB0_10:
movq _conf_block@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB0_12
## %bb.11:
leaq L_.str.2(%rip), %rdi
callq _WARN
jmp LBB0_22
LBB0_13:
movq _webp_block@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB0_20
## %bb.14:
leaq L_.str.3(%rip), %rdi
callq _WARN
jmp LBB0_22
LBB0_18:
movq _BLOCK_TYPE_XTRA@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 40(%r12)
jmp LBB0_22
LBB0_17:
movq _BLOCK_TYPE_CODE@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 40(%r12)
movl $4, 8(%r12)
movq _CSUM_SIZE_16@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 44(%r12)
jmp LBB0_21
LBB0_8:
movq _BLOCK_TYPE_BOOT@GOTPCREL(%rip), %rcx
jmp LBB0_9
LBB0_12:
movq _BLOCK_TYPE_CONF@GOTPCREL(%rip), %rcx
LBB0_9:
movl (%rcx), %ecx
movl %ecx, 40(%r12)
jmp LBB0_21
LBB0_20:
movq _BLOCK_TYPE_WEBP@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 40(%r12)
movl $4, 8(%r12)
movq _CSUM_SIZE_8@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 44(%r12)
movl $0, (%r12)
LBB0_21:
movq %r12, (%rax)
LBB0_22:
movq -56(%rbp), %rdi ## 8-byte Reload
movq %r15, %rsi
movq %r14, %rdx
callq _parse_arg
movq (%r14), %r15
movq %r15, %rdi
callq _is_empty_arg
testl %eax, %eax
je LBB0_23
## %bb.25:
cmpl $0, (%r12)
je LBB0_28
## %bb.26:
leaq L_.str.7(%rip), %rdi
jmp LBB0_27
LBB0_23:
movq %r15, %rdi
callq _strdup
movq %rax, 32(%r12)
testq %rax, %rax
je LBB0_28
## %bb.24:
leaq L_.str.6(%rip), %rdi
jmp LBB0_2
LBB0_28:
cmpl $0, 8(%r12)
je LBB0_29
## %bb.30:
movq -8(%r14), %r15
movq %r15, %rdi
callq _is_empty_arg
testl %eax, %eax
je LBB0_32
## %bb.31:
movq %r13, -64(%rbp) ## 8-byte Spill
LBB0_35:
xorl %r13d, %r13d
jmp LBB0_36
LBB0_29:
movq %r13, -64(%rbp) ## 8-byte Spill
movq $-1, %r13
LBB0_36:
movq (%r14,%r13,8), %r15
movq %r15, %rdi
callq _is_empty_arg
testl %eax, %eax
je LBB0_37
LBB0_40:
movq 8(%r14,%r13,8), %r14
movq %r14, %rdi
callq _is_empty_arg
testl %eax, %eax
je LBB0_42
## %bb.41:
movq -64(%rbp), %rax ## 8-byte Reload
leaq (%rax,%rbx), %rsi
addq $4, %rsi
movq %r14, %rdi
callq _str2u8
testq %rax, %rax
je LBB0_43
LBB0_42:
leaq L_.str.10(%rip), %rdi
jmp LBB0_27
LBB0_37:
movq %r13, -72(%rbp) ## 8-byte Spill
leaq 20(%r12), %rsi
movq %r15, %rdi
callq _str2u32
testq %rax, %rax
je LBB0_39
## %bb.38:
leaq L_.str.9(%rip), %rdi
jmp LBB0_27
LBB0_32:
leaq 24(%r12), %rsi
movq %r15, %rdi
callq _str2u32
testq %rax, %rax
je LBB0_34
## %bb.33:
leaq L_.str.8(%rip), %rdi
LBB0_27:
movq -56(%rbp), %rsi ## 8-byte Reload
xorl %eax, %eax
callq _ERR
LBB0_3:
movq _ERR_FATAL@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_44:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_46
## %bb.45:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_43:
movq _num_blocks@GOTPCREL(%rip), %rax
incq (%rax)
xorl %eax, %eax
jmp LBB0_44
LBB0_39:
movl $1, 16(%r12)
movq -72(%rbp), %r13 ## 8-byte Reload
jmp LBB0_40
LBB0_34:
movq %r13, -64(%rbp) ## 8-byte Spill
movl $1, 12(%r12)
jmp LBB0_35
LBB0_46:
callq ___stack_chk_fail
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
LJTI0_0:
.long L0_0_set_6
.long L0_0_set_10
.long L0_0_set_19
.long L0_0_set_19
.long L0_0_set_19
.long L0_0_set_19
.long L0_0_set_19
.long L0_0_set_19
.long L0_0_set_19
.long L0_0_set_19
.long L0_0_set_19
.long L0_0_set_19
.long L0_0_set_19
.long L0_0_set_19
.long L0_0_set_19
.long L0_0_set_19
.long L0_0_set_15
.long L0_0_set_19
.long L0_0_set_19
.long L0_0_set_19
.long L0_0_set_19
.long L0_0_set_13
.long L0_0_set_18
.end_data_region
## -- End function
.comm _MAX_ARG_LEN,4,2 ## @MAX_ARG_LEN
.comm _MAX_ARG_COUNT,4,2 ## @MAX_ARG_COUNT
.comm _num_blocks,8,3 ## @num_blocks
.comm _MAX_NUM_BLOCKS,8,3 ## @MAX_NUM_BLOCKS
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "too many blocks specified"
.comm _ERR_FATAL,4,2 ## @ERR_FATAL
.comm _blocks,8,3 ## @blocks
.comm _boot_block,8,3 ## @boot_block
L_.str.1: ## @.str.1
.asciz "only one boot block allowed"
.comm _BLOCK_TYPE_BOOT,4,2 ## @BLOCK_TYPE_BOOT
.comm _conf_block,8,3 ## @conf_block
L_.str.2: ## @.str.2
.asciz "only one config block allowed"
.comm _BLOCK_TYPE_CONF,4,2 ## @BLOCK_TYPE_CONF
.comm _webp_block,8,3 ## @webp_block
L_.str.3: ## @.str.3
.asciz "only one web block allowed"
.comm _BLOCK_TYPE_WEBP,4,2 ## @BLOCK_TYPE_WEBP
.comm _CSUM_SIZE_8,4,2 ## @CSUM_SIZE_8
.comm _code_block,8,3 ## @code_block
L_.str.4: ## @.str.4
.asciz "only one runtime block allowed"
.comm _BLOCK_TYPE_CODE,4,2 ## @BLOCK_TYPE_CODE
.comm _CSUM_SIZE_16,4,2 ## @CSUM_SIZE_16
.comm _BLOCK_TYPE_XTRA,4,2 ## @BLOCK_TYPE_XTRA
L_.str.5: ## @.str.5
.asciz "unknown block type \"%c\""
L_.str.6: ## @.str.6
.asciz "not enough memory"
L_.str.7: ## @.str.7
.asciz "no file specified in %s"
L_.str.8: ## @.str.8
.asciz "invalid start address in %s"
L_.str.9: ## @.str.9
.asciz "invalid alignment value in %s"
L_.str.10: ## @.str.10
.asciz "invalid paddig character in %s"
.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 parse_opt_block
lCPI0_0:
.long 1 ; 0x1
.long 255 ; 0xff
.section __TEXT,__text,regular,pure_instructions
.globl _parse_opt_block
.p2align 2
_parse_opt_block: ; @parse_opt_block
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
sub sp, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x1
; kill: def $w0 killed $w0 def $x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-56]
Lloh3:
adrp x8, _MAX_ARG_LEN@GOTPAGE
Lloh4:
ldr x8, [x8, _MAX_ARG_LEN@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
mov x9, x8
Lloh6:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh7:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x1fffffff0
sub x22, x9, x8
mov sp, x22
Lloh8:
adrp x8, _MAX_ARG_COUNT@GOTPAGE
Lloh9:
ldr x8, [x8, _MAX_ARG_COUNT@GOTPAGEOFF]
Lloh10:
ldr w8, [x8]
lsl x8, x8, #3
mov x9, x8
Lloh11:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh12:
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
Lloh13:
adrp x23, _num_blocks@GOTPAGE
Lloh14:
ldr x23, [x23, _num_blocks@GOTPAGEOFF]
ldr x8, [x23]
Lloh15:
adrp x9, _MAX_NUM_BLOCKS@GOTPAGE
Lloh16:
ldr x9, [x9, _MAX_NUM_BLOCKS@GOTPAGEOFF]
Lloh17:
ldr x9, [x9]
cmp x8, x9
b.ls LBB0_3
; %bb.1:
Lloh18:
adrp x0, l_.str@PAGE
Lloh19:
add x0, x0, l_.str@PAGEOFF
LBB0_2:
bl _ERR
b LBB0_43
LBB0_3:
Lloh20:
adrp x9, _blocks@GOTPAGE
Lloh21:
ldr x9, [x9, _blocks@GOTPAGEOFF]
Lloh22:
ldr x9, [x9]
mov w10, #48 ; =0x30
madd x24, x8, x10, x9
Lloh23:
adrp x8, lCPI0_0@PAGE
Lloh24:
ldr d0, [x8, lCPI0_0@PAGEOFF]
mov x20, x24
str d0, [x20], #4
cmp w0, #113
b.le LBB0_8
; %bb.4:
cmp w0, #114
b.eq LBB0_12
; %bb.5:
cmp w0, #119
b.eq LBB0_14
; %bb.6:
cmp w0, #120
b.ne LBB0_18
; %bb.7:
Lloh25:
adrp x8, _BLOCK_TYPE_XTRA@GOTPAGE
Lloh26:
ldr x8, [x8, _BLOCK_TYPE_XTRA@GOTPAGEOFF]
Lloh27:
ldr w8, [x8]
str w8, [x24, #40]
b LBB0_25
LBB0_8:
cmp w0, #98
b.eq LBB0_16
; %bb.9:
cmp w0, #99
b.ne LBB0_18
; %bb.10:
Lloh28:
adrp x8, _conf_block@GOTPAGE
Lloh29:
ldr x8, [x8, _conf_block@GOTPAGEOFF]
ldr x9, [x8]
cbz x9, LBB0_22
; %bb.11:
Lloh30:
adrp x0, l_.str.2@PAGE
Lloh31:
add x0, x0, l_.str.2@PAGEOFF
bl _WARN
b LBB0_25
LBB0_12:
Lloh32:
adrp x8, _code_block@GOTPAGE
Lloh33:
ldr x8, [x8, _code_block@GOTPAGEOFF]
ldr x9, [x8]
cbz x9, LBB0_19
; %bb.13:
Lloh34:
adrp x0, l_.str.4@PAGE
Lloh35:
add x0, x0, l_.str.4@PAGEOFF
bl _WARN
b LBB0_25
LBB0_14:
Lloh36:
adrp x8, _webp_block@GOTPAGE
Lloh37:
ldr x8, [x8, _webp_block@GOTPAGEOFF]
ldr x9, [x8]
cbz x9, LBB0_20
; %bb.15:
Lloh38:
adrp x0, l_.str.3@PAGE
Lloh39:
add x0, x0, l_.str.3@PAGEOFF
bl _WARN
b LBB0_25
LBB0_16:
Lloh40:
adrp x8, _boot_block@GOTPAGE
Lloh41:
ldr x8, [x8, _boot_block@GOTPAGEOFF]
ldr x9, [x8]
cbz x9, LBB0_21
; %bb.17:
Lloh42:
adrp x0, l_.str.1@PAGE
Lloh43:
add x0, x0, l_.str.1@PAGEOFF
bl _WARN
b LBB0_25
LBB0_18:
sxtw x8, w0
str x8, [sp, #-16]!
Lloh44:
adrp x0, l_.str.5@PAGE
Lloh45:
add x0, x0, l_.str.5@PAGEOFF
b LBB0_42
LBB0_19:
Lloh46:
adrp x9, _BLOCK_TYPE_CODE@GOTPAGE
Lloh47:
ldr x9, [x9, _BLOCK_TYPE_CODE@GOTPAGEOFF]
Lloh48:
ldr w9, [x9]
str w9, [x24, #40]
mov w9, #4 ; =0x4
str w9, [x24, #8]
Lloh49:
adrp x9, _CSUM_SIZE_16@GOTPAGE
Lloh50:
ldr x9, [x9, _CSUM_SIZE_16@GOTPAGEOFF]
Lloh51:
ldr w9, [x9]
str w9, [x24, #44]
b LBB0_24
LBB0_20:
Lloh52:
adrp x9, _BLOCK_TYPE_WEBP@GOTPAGE
Lloh53:
ldr x9, [x9, _BLOCK_TYPE_WEBP@GOTPAGEOFF]
Lloh54:
ldr w9, [x9]
str w9, [x24, #40]
mov w9, #4 ; =0x4
str w9, [x24, #8]
Lloh55:
adrp x9, _CSUM_SIZE_8@GOTPAGE
Lloh56:
ldr x9, [x9, _CSUM_SIZE_8@GOTPAGEOFF]
Lloh57:
ldr w9, [x9]
str w9, [x24, #44]
str wzr, [x24]
b LBB0_24
LBB0_21:
Lloh58:
adrp x9, _BLOCK_TYPE_BOOT@GOTPAGE
Lloh59:
ldr x9, [x9, _BLOCK_TYPE_BOOT@GOTPAGEOFF]
b LBB0_23
LBB0_22:
Lloh60:
adrp x9, _BLOCK_TYPE_CONF@GOTPAGE
Lloh61:
ldr x9, [x9, _BLOCK_TYPE_CONF@GOTPAGEOFF]
LBB0_23:
ldr w9, [x9]
str w9, [x24, #40]
LBB0_24:
str x24, [x8]
LBB0_25:
mov x0, x19
mov x1, x22
mov x2, x21
bl _parse_arg
ldr x22, [x21]
mov x0, x22
bl _is_empty_arg
cbz w0, LBB0_28
; %bb.26:
ldr w8, [x24]
cbz w8, LBB0_30
; %bb.27:
str x19, [sp, #-16]!
Lloh62:
adrp x0, l_.str.7@PAGE
Lloh63:
add x0, x0, l_.str.7@PAGEOFF
b LBB0_42
LBB0_28:
mov x0, x22
bl _strdup
str x0, [x24, #32]
cbz x0, LBB0_30
; %bb.29:
Lloh64:
adrp x0, l_.str.6@PAGE
Lloh65:
add x0, x0, l_.str.6@PAGEOFF
b LBB0_2
LBB0_30:
ldr w8, [x24, #8]
cbz w8, LBB0_33
; %bb.31:
ldur x22, [x21, #-8]
mov x0, x22
bl _is_empty_arg
cbz w0, LBB0_40
; %bb.32:
mov x8, #0 ; =0x0
b LBB0_34
LBB0_33:
mov x8, #-1 ; =0xffffffffffffffff
LBB0_34:
add x22, x21, x8, lsl #3
ldr x21, [x22]
mov x0, x21
bl _is_empty_arg
cbz w0, LBB0_38
LBB0_35:
ldr x21, [x22, #8]
mov x0, x21
bl _is_empty_arg
cbz w0, LBB0_37
; %bb.36:
mov x0, x21
mov x1, x20
bl _str2u8
cbz x0, LBB0_46
LBB0_37:
str x19, [sp, #-16]!
Lloh66:
adrp x0, l_.str.10@PAGE
Lloh67:
add x0, x0, l_.str.10@PAGEOFF
b LBB0_42
LBB0_38:
add x1, x24, #20
mov x0, x21
bl _str2u32
cbz x0, LBB0_47
; %bb.39:
str x19, [sp, #-16]!
Lloh68:
adrp x0, l_.str.9@PAGE
Lloh69:
add x0, x0, l_.str.9@PAGEOFF
b LBB0_42
LBB0_40:
add x1, x24, #24
mov x0, x22
bl _str2u32
cbz x0, LBB0_48
; %bb.41:
str x19, [sp, #-16]!
Lloh70:
adrp x0, l_.str.8@PAGE
Lloh71:
add x0, x0, l_.str.8@PAGEOFF
LBB0_42:
bl _ERR
add sp, sp, #16
LBB0_43:
Lloh72:
adrp x8, _ERR_FATAL@GOTPAGE
Lloh73:
ldr x8, [x8, _ERR_FATAL@GOTPAGEOFF]
Lloh74:
ldr w0, [x8]
LBB0_44:
ldur x8, [x29, #-56]
Lloh75:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh76:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh77:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_49
; %bb.45:
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_46:
ldr x8, [x23]
add x8, x8, #1
str x8, [x23]
b LBB0_44
LBB0_47:
mov w8, #1 ; =0x1
str w8, [x24, #16]
b LBB0_35
LBB0_48:
mov x8, #0 ; =0x0
mov w9, #1 ; =0x1
str w9, [x24, #12]
b LBB0_34
LBB0_49:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpLdr Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpLdrGot Lloh28, Lloh29
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpLdrGot Lloh32, Lloh33
.loh AdrpAdd Lloh34, Lloh35
.loh AdrpLdrGot Lloh36, Lloh37
.loh AdrpAdd Lloh38, Lloh39
.loh AdrpLdrGot Lloh40, Lloh41
.loh AdrpAdd Lloh42, Lloh43
.loh AdrpAdd Lloh44, Lloh45
.loh AdrpLdrGotLdr Lloh49, Lloh50, Lloh51
.loh AdrpLdrGotLdr Lloh46, Lloh47, Lloh48
.loh AdrpLdrGotLdr Lloh55, Lloh56, Lloh57
.loh AdrpLdrGotLdr Lloh52, Lloh53, Lloh54
.loh AdrpLdrGot Lloh58, Lloh59
.loh AdrpLdrGot Lloh60, Lloh61
.loh AdrpAdd Lloh62, Lloh63
.loh AdrpAdd Lloh64, Lloh65
.loh AdrpAdd Lloh66, Lloh67
.loh AdrpAdd Lloh68, Lloh69
.loh AdrpAdd Lloh70, Lloh71
.loh AdrpLdrGotLdr Lloh72, Lloh73, Lloh74
.loh AdrpLdrGotLdr Lloh75, Lloh76, Lloh77
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh11, Lloh12
.cfi_endproc
; -- End function
.comm _MAX_ARG_LEN,4,2 ; @MAX_ARG_LEN
.comm _MAX_ARG_COUNT,4,2 ; @MAX_ARG_COUNT
.comm _num_blocks,8,3 ; @num_blocks
.comm _MAX_NUM_BLOCKS,8,3 ; @MAX_NUM_BLOCKS
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "too many blocks specified"
.comm _ERR_FATAL,4,2 ; @ERR_FATAL
.comm _blocks,8,3 ; @blocks
.comm _boot_block,8,3 ; @boot_block
l_.str.1: ; @.str.1
.asciz "only one boot block allowed"
.comm _BLOCK_TYPE_BOOT,4,2 ; @BLOCK_TYPE_BOOT
.comm _conf_block,8,3 ; @conf_block
l_.str.2: ; @.str.2
.asciz "only one config block allowed"
.comm _BLOCK_TYPE_CONF,4,2 ; @BLOCK_TYPE_CONF
.comm _webp_block,8,3 ; @webp_block
l_.str.3: ; @.str.3
.asciz "only one web block allowed"
.comm _BLOCK_TYPE_WEBP,4,2 ; @BLOCK_TYPE_WEBP
.comm _CSUM_SIZE_8,4,2 ; @CSUM_SIZE_8
.comm _code_block,8,3 ; @code_block
l_.str.4: ; @.str.4
.asciz "only one runtime block allowed"
.comm _BLOCK_TYPE_CODE,4,2 ; @BLOCK_TYPE_CODE
.comm _CSUM_SIZE_16,4,2 ; @CSUM_SIZE_16
.comm _BLOCK_TYPE_XTRA,4,2 ; @BLOCK_TYPE_XTRA
l_.str.5: ; @.str.5
.asciz "unknown block type \"%c\""
l_.str.6: ; @.str.6
.asciz "not enough memory"
l_.str.7: ; @.str.7
.asciz "no file specified in %s"
l_.str.8: ; @.str.8
.asciz "invalid start address in %s"
l_.str.9: ; @.str.9
.asciz "invalid alignment value in %s"
l_.str.10: ; @.str.10
.asciz "invalid paddig character in %s"
.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 VS_CreateFakeSurfaceLights
LCPI0_0:
.quad 0x3fd0000000000000 ## double 0.25
.section __TEXT,__literal4,4byte_literals
.p2align 2, 0x0
LCPI0_1:
.long 0x00000000 ## float 0
.section __TEXT,__text,regular,pure_instructions
.globl _VS_CreateFakeSurfaceLights
.p2align 4, 0x90
_VS_CreateFakeSurfaceLights: ## @VS_CreateFakeSurfaceLights
.cfi_startproc
## %bb.0:
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
leaq L_.str(%rip), %rdi
xorl %r15d, %r15d
xorl %eax, %eax
callq __printf
movq _numDrawSurfaces@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jle LBB0_31
## %bb.1:
movq _drawSurfaces@GOTPCREL(%rip), %r12
movq _dshaders@GOTPCREL(%rip), %r13
xorl %eax, %eax
xorl %r15d, %r15d
jmp LBB0_4
LBB0_30: ## in Loop: Header=BB0_4 Depth=1
movl (%rdi), %esi
movl 8(%rdi), %edx
movl 16(%rdi), %ecx
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq __printf
.p2align 4, 0x90
LBB0_2: ## in Loop: Header=BB0_4 Depth=1
movq -48(%rbp), %rsi ## 8-byte Reload
LBB0_3: ## in Loop: Header=BB0_4 Depth=1
leaq -1(%rsi), %rax
movq _numDrawSurfaces@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
cmpq %rcx, %rsi
jg LBB0_31
LBB0_4: ## =>This Loop Header: Depth=1
## Child Loop BB0_15 Depth 2
## Child Loop BB0_19 Depth 3
## Child Loop BB0_23 Depth 3
movq (%r12), %r14
movq %rax, -48(%rbp) ## 8-byte Spill
movq %rax, %rbx
shlq $5, %rbx
movq (%r13), %rax
movq (%r14,%rbx), %rcx
movl (%rax,%rcx,4), %edi
callq _ShaderInfoForShader
cmpl $0, (%rax)
je LBB0_2
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
addq %rbx, %r14
movq %r14, -72(%rbp) ## 8-byte Spill
incl %r15d
cmpq $0, 24(%rax)
movq %rax, -56(%rbp) ## 8-byte Spill
je LBB0_11
## %bb.6: ## in Loop: Header=BB0_4 Depth=1
movq _lsurfaceTest@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -48(%rbp), %rcx ## 8-byte Reload
movq (%rax,%rcx,8), %rax
testq %rax, %rax
je LBB0_26
## %bb.7: ## in Loop: Header=BB0_4 Depth=1
movq 8(%rax), %rbx
cmpl $1, (%rax)
je LBB0_10
## %bb.8: ## in Loop: Header=BB0_4 Depth=1
cmpl $4, (%rbx)
je LBB0_10
## %bb.9: ## in Loop: Header=BB0_4 Depth=1
movq 16(%rbx), %rax
movl (%rax), %esi
movl 8(%rax), %edx
movl 16(%rax), %ecx
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq __printf
LBB0_10: ## in Loop: Header=BB0_4 Depth=1
movq 16(%rbx), %rax
movq (%rax), %rdi
movq 8(%rax), %rsi
callq _VectorAdd
movq 16(%rbx), %rax
movq 16(%rax), %rdi
callq _VectorAdd
movq 16(%rbx), %rbx
jmp LBB0_28
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_4 Depth=1
cmpl $0, 8(%rax)
movq -48(%rbp), %rsi ## 8-byte Reload
js LBB0_3
## %bb.12: ## in Loop: Header=BB0_4 Depth=1
movl %r15d, -60(%rbp) ## 4-byte Spill
movss 4(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movaps %xmm0, %xmm2
cmpneqss LCPI0_1(%rip), %xmm2
andps %xmm2, %xmm0
movq %rax, %r15
movq _lightDefaultSubdivide@GOTPCREL(%rip), %rax
movss (%rax), %xmm1 ## xmm1 = mem[0],zero,zero,zero
andnps %xmm1, %xmm2
orps %xmm0, %xmm2
movaps %xmm2, -96(%rbp) ## 16-byte Spill
movq _lsurfaceTest@GOTPCREL(%rip), %rax
movq (%rax), %rax
xorl %ebx, %ebx
jmp LBB0_15
.p2align 4, 0x90
LBB0_13: ## in Loop: Header=BB0_15 Depth=2
movq _qtrue@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq -56(%rbp), %r15 ## 8-byte Reload
movq %r15, %rdi
movq %r13, %rsi
movaps -96(%rbp), %xmm0 ## 16-byte Reload
callq _VS_SubdivideAreaLight
movq _lsurfaceTest@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -48(%rbp), %rsi ## 8-byte Reload
LBB0_14: ## in Loop: Header=BB0_15 Depth=2
leal 1(%rbx), %ecx
cmpl 8(%r15), %ebx
movl %ecx, %ebx
jge LBB0_29
LBB0_15: ## Parent Loop BB0_4 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_19 Depth 3
## Child Loop BB0_23 Depth 3
movq (%rax,%rsi,8), %rcx
testq %rcx, %rcx
je LBB0_21
## %bb.16: ## in Loop: Header=BB0_15 Depth=2
cmpl $0, (%rcx)
jle LBB0_14
## %bb.17: ## in Loop: Header=BB0_15 Depth=2
xorl %r12d, %r12d
xorl %r14d, %r14d
jmp LBB0_19
.p2align 4, 0x90
LBB0_18: ## in Loop: Header=BB0_19 Depth=3
movq _qtrue@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq -56(%rbp), %r15 ## 8-byte Reload
movq %r15, %rdi
movq %r13, %rsi
movaps -96(%rbp), %xmm0 ## 16-byte Reload
callq _VS_SubdivideAreaLight
incq %r14
movq _lsurfaceTest@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -48(%rbp), %rsi ## 8-byte Reload
movq (%rax,%rsi,8), %rcx
movslq (%rcx), %rdx
addq $24, %r12
cmpq %rdx, %r14
jge LBB0_14
LBB0_19: ## Parent Loop BB0_4 Depth=1
## Parent Loop BB0_15 Depth=2
## => This Inner Loop Header: Depth=3
movq 8(%rcx), %r15
movl (%r15,%r12), %edi
callq _AllocWinding
movq %rax, %r13
movl (%r15,%r12), %eax
movl %eax, (%r13)
movq 8(%r13), %rdi
movq 16(%r15,%r12), %rsi
shll $2, %eax
leal (%rax,%rax,2), %edx
callq _memcpy
movq 8(%r15,%r12), %rdi
callq _VectorCopy
testl %ebx, %ebx
je LBB0_18
## %bb.20: ## in Loop: Header=BB0_19 Depth=3
movq %r13, %rdi
callq _ReverseWinding
movq %rax, %r15
movq %r13, %rdi
callq _FreeWinding
movq _vec3_origin@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _VectorSubtract
movq %r15, %r13
jmp LBB0_18
.p2align 4, 0x90
LBB0_21: ## in Loop: Header=BB0_15 Depth=2
movq -72(%rbp), %r12 ## 8-byte Reload
movl 16(%r12), %edi
callq _AllocWinding
movq %rax, %r13
movl 16(%r12), %eax
movl %eax, (%r13)
testl %eax, %eax
movq _drawVerts@GOTPCREL(%rip), %r15
jle LBB0_24
## %bb.22: ## in Loop: Header=BB0_15 Depth=2
xorl %r14d, %r14d
.p2align 4, 0x90
LBB0_23: ## Parent Loop BB0_4 Depth=1
## Parent Loop BB0_15 Depth=2
## => This Inner Loop Header: Depth=3
movq 8(%r12), %rax
shlq $3, %rax
addq (%r15), %rax
movq (%rax,%r14,8), %rdi
movq 8(%r13), %rax
movq (%rax,%r14,8), %rsi
callq _VectorCopy
incq %r14
movslq 16(%r12), %rax
cmpq %rax, %r14
jl LBB0_23
LBB0_24: ## in Loop: Header=BB0_15 Depth=2
movq 24(%r12), %rax
movq 16(%rax), %rdi
callq _VectorCopy
testl %ebx, %ebx
je LBB0_13
## %bb.25: ## in Loop: Header=BB0_15 Depth=2
movq %r13, %rdi
callq _ReverseWinding
movq %rax, %r15
movq %r13, %rdi
callq _FreeWinding
movq _vec3_origin@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _VectorSubtract
movq %r15, %r13
jmp LBB0_13
LBB0_26: ## in Loop: Header=BB0_4 Depth=1
movq _drawVerts@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -72(%rbp), %rdx ## 8-byte Reload
movq 8(%rdx), %rcx
cmpl $4, 16(%rdx)
movq (%rax,%rcx,8), %rdi
jne LBB0_30
## %bb.27: ## in Loop: Header=BB0_4 Depth=1
leaq (%rax,%rcx,8), %rbx
movq 8(%rbx), %rsi
callq _VectorAdd
movq 16(%rbx), %rdi
callq _VectorAdd
LBB0_28: ## in Loop: Header=BB0_4 Depth=1
movq 24(%rbx), %rdi
callq _VectorAdd
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = [2.5E-1,0.0E+0]
callq _VectorScale
movl $24, %edi
callq _malloc
movq %rax, %r13
movq %rax, %rdi
xorl %esi, %esi
movl $24, %edx
callq _memset
movq 16(%r13), %rsi
callq _VectorCopy
movq -56(%rbp), %rbx ## 8-byte Reload
movq 16(%rbx), %rdi
movq 8(%r13), %rsi
callq _VectorCopy
movq _lightPointScale@GOTPCREL(%rip), %rax
movl (%rax), %eax
imull (%rbx), %eax
movl %eax, (%r13)
movq _LIGHT_POINTRADIAL@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 4(%r13)
movq _vsounds@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _numvsounds@GOTPCREL(%rip), %rsi
movslq (%rsi), %rcx
leal 1(%rcx), %edx
movl %edx, (%rsi)
movq %r13, (%rax,%rcx,8)
movq _drawSurfaces@GOTPCREL(%rip), %r12
movq _dshaders@GOTPCREL(%rip), %r13
jmp LBB0_2
LBB0_29: ## in Loop: Header=BB0_4 Depth=1
movl -60(%rbp), %r15d ## 4-byte Reload
movq _drawSurfaces@GOTPCREL(%rip), %r12
movq _dshaders@GOTPCREL(%rip), %r13
jmp LBB0_3
LBB0_31:
leaq L_.str.3(%rip), %rdi
movl %r15d, %esi
xorl %eax, %eax
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp __printf ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Creating surface lights...\n"
.comm _numDrawSurfaces,4,2 ## @numDrawSurfaces
.comm _drawSurfaces,8,3 ## @drawSurfaces
.comm _dshaders,8,3 ## @dshaders
.comm _lightDefaultSubdivide,4,2 ## @lightDefaultSubdivide
.comm _lsurfaceTest,8,3 ## @lsurfaceTest
L_.str.1: ## @.str.1
.asciz "WARNING: surface at (%i %i %i) has autosprite shader but isn't a quad\n"
.comm _drawVerts,8,3 ## @drawVerts
L_.str.2: ## @.str.2
.asciz "WARNING: surface at (%i %i %i) has autosprite shader but %i verts\n"
.comm _lightPointScale,4,2 ## @lightPointScale
.comm _LIGHT_POINTRADIAL,4,2 ## @LIGHT_POINTRADIAL
.comm _vsounds,8,3 ## @vsounds
.comm _numvsounds,4,2 ## @numvsounds
.comm _vec3_origin,4,2 ## @vec3_origin
.comm _qtrue,4,2 ## @qtrue
L_.str.3: ## @.str.3
.asciz "%7i light emitting surfaces\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _VS_CreateFakeSurfaceLights ; -- Begin function VS_CreateFakeSurfaceLights
.p2align 2
_VS_CreateFakeSurfaceLights: ; @VS_CreateFakeSurfaceLights
.cfi_startproc
; %bb.0:
sub sp, sp, #144
stp d9, d8, [sp, #32] ; 16-byte Folded Spill
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
.cfi_offset b8, -104
.cfi_offset b9, -112
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl __printf
Lloh2:
adrp x24, _numDrawSurfaces@GOTPAGE
Lloh3:
ldr x24, [x24, _numDrawSurfaces@GOTPAGEOFF]
ldr w8, [x24]
cmp w8, #1
b.lt LBB0_31
; %bb.1:
mov x26, #0 ; =0x0
mov w23, #0 ; =0x0
Lloh4:
adrp x19, _lsurfaceTest@GOTPAGE
Lloh5:
ldr x19, [x19, _lsurfaceTest@GOTPAGEOFF]
Lloh6:
adrp x28, _drawVerts@GOTPAGE
Lloh7:
ldr x28, [x28, _drawVerts@GOTPAGEOFF]
Lloh8:
adrp x27, _qtrue@GOTPAGE
Lloh9:
ldr x27, [x27, _qtrue@GOTPAGEOFF]
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
ldr x23, [sp, #24] ; 8-byte Folded Reload
Lloh10:
adrp x24, _numDrawSurfaces@GOTPAGE
Lloh11:
ldr x24, [x24, _numDrawSurfaces@GOTPAGEOFF]
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
sub x8, x26, #1
ldrsw x9, [x24]
cmp x26, x9
mov x26, x8
b.gt LBB0_32
LBB0_4: ; =>This Loop Header: Depth=1
; Child Loop BB0_15 Depth 2
; Child Loop BB0_19 Depth 3
; Child Loop BB0_23 Depth 3
Lloh12:
adrp x8, _drawSurfaces@GOTPAGE
Lloh13:
ldr x8, [x8, _drawSurfaces@GOTPAGEOFF]
Lloh14:
ldr x8, [x8]
add x25, x8, x26, lsl #5
Lloh15:
adrp x8, _dshaders@GOTPAGE
Lloh16:
ldr x8, [x8, _dshaders@GOTPAGEOFF]
Lloh17:
ldr x8, [x8]
ldr x9, [x25]
ldr w0, [x8, x9, lsl #2]
bl _ShaderInfoForShader
ldr w8, [x0]
cbz w8, LBB0_3
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
mov x21, x0
ldr s0, [x0, #4]
Lloh18:
adrp x8, _lightDefaultSubdivide@GOTPAGE
Lloh19:
ldr x8, [x8, _lightDefaultSubdivide@GOTPAGEOFF]
Lloh20:
ldr s1, [x8]
fcmp s0, #0.0
fcsel s8, s0, s1, ne
add w23, w23, #1
ldr x8, [x0, #24]
cbz x8, LBB0_11
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x19]
ldr x8, [x8, x26, lsl #3]
cbz x8, LBB0_27
; %bb.7: ; in Loop: Header=BB0_4 Depth=1
ldr x20, [x8, #8]
ldr w8, [x8]
cmp w8, #1
b.eq LBB0_10
; %bb.8: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [x20]
cmp w8, #4
b.eq LBB0_10
; %bb.9: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x20, #16]
ldr q0, [x8]
ldr x8, [x8, #16]
str x8, [sp, #16]
str q0, [sp]
Lloh21:
adrp x0, l_.str.1@PAGE
Lloh22:
add x0, x0, l_.str.1@PAGEOFF
bl __printf
LBB0_10: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x20, #16]
ldp x0, x1, [x8]
bl _VectorAdd
ldr x8, [x20, #16]
ldr x0, [x8, #16]
bl _VectorAdd
ldr x20, [x20, #16]
b LBB0_29
LBB0_11: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [x21, #8]
tbnz w8, #31, LBB0_3
; %bb.12: ; in Loop: Header=BB0_4 Depth=1
str x23, [sp, #24] ; 8-byte Folded Spill
mov w24, #0 ; =0x0
ldr x8, [x19]
b LBB0_15
LBB0_13: ; in Loop: Header=BB0_15 Depth=2
Lloh23:
adrp x28, _drawVerts@GOTPAGE
Lloh24:
ldr x28, [x28, _drawVerts@GOTPAGEOFF]
LBB0_14: ; in Loop: Header=BB0_15 Depth=2
add w9, w24, #1
ldr w10, [x21, #8]
cmp w24, w10
mov x24, x9
b.ge LBB0_2
LBB0_15: ; Parent Loop BB0_4 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_19 Depth 3
; Child Loop BB0_23 Depth 3
ldr x9, [x8, x26, lsl #3]
cbz x9, LBB0_21
; %bb.16: ; in Loop: Header=BB0_15 Depth=2
ldr w10, [x9]
cmp w10, #1
b.lt LBB0_14
; %bb.17: ; in Loop: Header=BB0_15 Depth=2
mov x20, #0 ; =0x0
mov x28, #0 ; =0x0
b LBB0_19
LBB0_18: ; in Loop: Header=BB0_19 Depth=3
ldr w3, [x27]
mov x0, x21
mov x1, x22
fmov s0, s8
bl _VS_SubdivideAreaLight
add x28, x28, #1
ldr x8, [x19]
ldr x9, [x8, x26, lsl #3]
ldrsw x10, [x9]
add x20, x20, #24
cmp x28, x10
b.ge LBB0_13
LBB0_19: ; Parent Loop BB0_4 Depth=1
; Parent Loop BB0_15 Depth=2
; => This Inner Loop Header: Depth=3
ldr x8, [x9, #8]
add x23, x8, x20
ldr w0, [x23]
bl _AllocWinding
mov x22, x0
ldr w8, [x23]
str w8, [x0]
ldr x0, [x0, #8]
ldr x1, [x23, #16]
add w8, w8, w8, lsl #1
lsl w2, w8, #2
bl _memcpy
ldr x0, [x23, #8]
bl _VectorCopy
cbz w24, LBB0_18
; %bb.20: ; in Loop: Header=BB0_19 Depth=3
mov x0, x22
bl _ReverseWinding
mov x23, x0
mov x0, x22
bl _FreeWinding
Lloh25:
adrp x8, _vec3_origin@GOTPAGE
Lloh26:
ldr x8, [x8, _vec3_origin@GOTPAGEOFF]
Lloh27:
ldr w0, [x8]
bl _VectorSubtract
mov x22, x23
b LBB0_18
LBB0_21: ; in Loop: Header=BB0_15 Depth=2
ldr w0, [x25, #16]
bl _AllocWinding
mov x22, x0
ldr w8, [x25, #16]
str w8, [x0]
cmp w8, #1
b.lt LBB0_24
; %bb.22: ; in Loop: Header=BB0_15 Depth=2
mov x20, #0 ; =0x0
LBB0_23: ; Parent Loop BB0_4 Depth=1
; Parent Loop BB0_15 Depth=2
; => This Inner Loop Header: Depth=3
ldr x8, [x28]
ldr x9, [x25, #8]
add x8, x8, x9, lsl #3
ldr x0, [x8, x20, lsl #3]
ldr x8, [x22, #8]
ldr x1, [x8, x20, lsl #3]
bl _VectorCopy
add x20, x20, #1
ldrsw x8, [x25, #16]
cmp x20, x8
b.lt LBB0_23
LBB0_24: ; in Loop: Header=BB0_15 Depth=2
ldr x8, [x25, #24]
ldr x0, [x8, #16]
bl _VectorCopy
cbz w24, LBB0_26
; %bb.25: ; in Loop: Header=BB0_15 Depth=2
mov x0, x22
bl _ReverseWinding
mov x23, x0
mov x0, x22
bl _FreeWinding
Lloh28:
adrp x8, _vec3_origin@GOTPAGE
Lloh29:
ldr x8, [x8, _vec3_origin@GOTPAGEOFF]
Lloh30:
ldr w0, [x8]
bl _VectorSubtract
mov x22, x23
LBB0_26: ; in Loop: Header=BB0_15 Depth=2
ldr w3, [x27]
mov x0, x21
mov x1, x22
fmov s0, s8
bl _VS_SubdivideAreaLight
ldr x8, [x19]
b LBB0_14
LBB0_27: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x28]
ldr x9, [x25, #8]
add x20, x8, x9, lsl #3
ldr w8, [x25, #16]
ldr x0, [x20]
cmp w8, #4
b.ne LBB0_30
; %bb.28: ; in Loop: Header=BB0_4 Depth=1
ldr x1, [x20, #8]
bl _VectorAdd
ldr x0, [x20, #16]
bl _VectorAdd
LBB0_29: ; in Loop: Header=BB0_4 Depth=1
ldr x0, [x20, #24]
bl _VectorAdd
fmov d0, #0.25000000
bl _VectorScale
mov w0, #24 ; =0x18
bl _malloc
mov x22, x0
mov w1, #0 ; =0x0
mov w2, #24 ; =0x18
bl _memset
ldr x1, [x22, #16]
bl _VectorCopy
ldr x0, [x21, #16]
ldr x1, [x22, #8]
bl _VectorCopy
ldr w8, [x21]
Lloh31:
adrp x9, _lightPointScale@GOTPAGE
Lloh32:
ldr x9, [x9, _lightPointScale@GOTPAGEOFF]
Lloh33:
ldr w9, [x9]
mul w8, w9, w8
str w8, [x22]
Lloh34:
adrp x8, _LIGHT_POINTRADIAL@GOTPAGE
Lloh35:
ldr x8, [x8, _LIGHT_POINTRADIAL@GOTPAGEOFF]
Lloh36:
ldr w8, [x8]
str w8, [x22, #4]
Lloh37:
adrp x8, _vsounds@GOTPAGE
Lloh38:
ldr x8, [x8, _vsounds@GOTPAGEOFF]
Lloh39:
ldr x8, [x8]
Lloh40:
adrp x11, _numvsounds@GOTPAGE
Lloh41:
ldr x11, [x11, _numvsounds@GOTPAGEOFF]
ldrsw x9, [x11]
add w10, w9, #1
str w10, [x11]
str x22, [x8, x9, lsl #3]
b LBB0_3
LBB0_30: ; in Loop: Header=BB0_4 Depth=1
ldr q0, [x0]
ldr x8, [x0, #16]
str x8, [sp, #16]
str q0, [sp]
Lloh42:
adrp x0, l_.str.2@PAGE
Lloh43:
add x0, x0, l_.str.2@PAGEOFF
bl __printf
b LBB0_3
LBB0_31:
mov w23, #0 ; =0x0
LBB0_32:
str x23, [sp]
Lloh44:
adrp x0, l_.str.3@PAGE
Lloh45:
add x0, x0, l_.str.3@PAGEOFF
bl __printf
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
ldp d9, d8, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #144
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpLdrGot Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30
.loh AdrpLdrGot Lloh40, Lloh41
.loh AdrpLdrGotLdr Lloh37, Lloh38, Lloh39
.loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.loh AdrpAdd Lloh42, Lloh43
.loh AdrpAdd Lloh44, Lloh45
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Creating surface lights...\n"
.comm _numDrawSurfaces,4,2 ; @numDrawSurfaces
.comm _drawSurfaces,8,3 ; @drawSurfaces
.comm _dshaders,8,3 ; @dshaders
.comm _lightDefaultSubdivide,4,2 ; @lightDefaultSubdivide
.comm _lsurfaceTest,8,3 ; @lsurfaceTest
l_.str.1: ; @.str.1
.asciz "WARNING: surface at (%i %i %i) has autosprite shader but isn't a quad\n"
.comm _drawVerts,8,3 ; @drawVerts
l_.str.2: ; @.str.2
.asciz "WARNING: surface at (%i %i %i) has autosprite shader but %i verts\n"
.comm _lightPointScale,4,2 ; @lightPointScale
.comm _LIGHT_POINTRADIAL,4,2 ; @LIGHT_POINTRADIAL
.comm _vsounds,8,3 ; @vsounds
.comm _numvsounds,4,2 ; @numvsounds
.comm _vec3_origin,4,2 ; @vec3_origin
.comm _qtrue,4,2 ; @qtrue
l_.str.3: ; @.str.3
.asciz "%7i light emitting surfaces\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ## -- Begin function setup_mode2
LCPI0_0:
.space 16
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_setup_mode2: ## @setup_mode2
.cfi_startproc
## %bb.0:
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 _num_synths@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _max_synthdev@GOTPCREL(%rip), %r14
movl %eax, (%r14)
movq _num_midis@GOTPCREL(%rip), %rcx
cmpl $0, (%rcx)
js LBB0_6
## %bb.1:
movq _midi_devs@GOTPCREL(%rip), %rcx
movq (%rcx), %rdi
xorl %edx, %edx
movq _synth_devs@GOTPCREL(%rip), %rsi
jmp LBB0_2
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
addq $-8, %rdx
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq (%rdi,%rdx), %r8
testq %r8, %r8
je LBB0_5
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
cmpq $0, (%r8)
jne LBB0_5
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movq (%rsi), %rdi
movslq %eax, %r8
incl %eax
movq $0, (%rdi,%r8,8)
movq (%rcx), %rdi
jmp LBB0_5
LBB0_6:
testl %eax, %eax
jle LBB0_11
## %bb.7:
movq _synth_devs@GOTPCREL(%rip), %r15
movq (%r15), %rax
xorl %ebx, %ebx
movabsq $858993459328, %r12 ## imm = 0xC800000080
.p2align 4, 0x90
LBB0_8: ## =>This Loop Header: Depth=1
## Child Loop BB0_9 Depth 2
movq (%rax,%rbx,8), %rax
xorps %xmm0, %xmm0
movups %xmm0, 8(%rax)
movq (%rax), %rcx
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_9: ## Parent Loop BB0_8 Depth=1
## => This Inner Loop Header: Depth=2
movq $0, 16(%rcx,%r13)
movl 8(%rcx,%r13), %esi
movl %ebx, %edi
xorl %edx, %edx
callq _reset_controllers
movq (%r15), %rax
movq (%rax,%rbx,8), %rcx
movq (%rcx), %rcx
movq %r12, (%rcx,%r13)
addq $24, %r13
cmpq $384, %r13 ## imm = 0x180
jne LBB0_9
## %bb.10: ## in Loop: Header=BB0_8 Depth=1
incq %rbx
movslq (%r14), %rcx
cmpq %rcx, %rbx
jl LBB0_8
LBB0_11:
movq _max_mididev@GOTPCREL(%rip), %rax
movq $0, (%rax)
movq _SEQ_2@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _seq_mode@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _num_synths,4,2 ## @num_synths
.comm _max_synthdev,4,2 ## @max_synthdev
.comm _num_midis,4,2 ## @num_midis
.comm _midi_devs,8,3 ## @midi_devs
.comm _synth_devs,8,3 ## @synth_devs
.comm _max_mididev,8,3 ## @max_mididev
.comm _SEQ_2,4,2 ## @SEQ_2
.comm _seq_mode,4,2 ## @seq_mode
.no_dead_strip _setup_mode2
.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 setup_mode2
lCPI0_0:
.long 128 ; 0x80
.long 200 ; 0xc8
.section __TEXT,__text,regular,pure_instructions
.p2align 2
_setup_mode2: ; @setup_mode2
.cfi_startproc
; %bb.0:
stp d9, d8, [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 b8, -56
.cfi_offset b9, -64
Lloh0:
adrp x8, _num_synths@GOTPAGE
Lloh1:
ldr x8, [x8, _num_synths@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
Lloh3:
adrp x20, _max_synthdev@GOTPAGE
Lloh4:
ldr x20, [x20, _max_synthdev@GOTPAGEOFF]
str w8, [x20]
Lloh5:
adrp x9, _num_midis@GOTPAGE
Lloh6:
ldr x9, [x9, _num_midis@GOTPAGEOFF]
Lloh7:
ldr w9, [x9]
tbnz w9, #31, LBB0_6
; %bb.1:
mov x9, #0 ; =0x0
Lloh8:
adrp x10, _midi_devs@GOTPAGE
Lloh9:
ldr x10, [x10, _midi_devs@GOTPAGEOFF]
ldr x12, [x10]
Lloh10:
adrp x11, _synth_devs@GOTPAGE
Lloh11:
ldr x11, [x11, _synth_devs@GOTPAGEOFF]
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
sub x9, x9, #8
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x13, [x12, x9]
cbz x13, LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
ldr x13, [x13]
cbnz x13, LBB0_2
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
ldr x12, [x11]
str xzr, [x12, w8, sxtw #3]
add w8, w8, #1
ldr x12, [x10]
b LBB0_2
LBB0_6:
cmp w8, #1
b.lt LBB0_11
; %bb.7:
mov x19, #0 ; =0x0
Lloh12:
adrp x21, _synth_devs@GOTPAGE
Lloh13:
ldr x21, [x21, _synth_devs@GOTPAGEOFF]
ldr x8, [x21]
Lloh14:
adrp x9, lCPI0_0@PAGE
Lloh15:
ldr d8, [x9, lCPI0_0@PAGEOFF]
LBB0_8: ; =>This Loop Header: Depth=1
; Child Loop BB0_9 Depth 2
mov x22, #0 ; =0x0
ldr x8, [x8, x19, lsl #3]
stp xzr, xzr, [x8, #8]
ldr x9, [x8]
LBB0_9: ; Parent Loop BB0_8 Depth=1
; => This Inner Loop Header: Depth=2
add x8, x9, x22
str xzr, [x8, #16]
ldr w1, [x8, #8]
mov x0, x19
mov w2, #0 ; =0x0
bl _reset_controllers
ldr x8, [x21]
ldr x9, [x8, x19, lsl #3]
ldr x9, [x9]
str d8, [x9, x22]
add x22, x22, #24
cmp x22, #384
b.ne LBB0_9
; %bb.10: ; in Loop: Header=BB0_8 Depth=1
add x19, x19, #1
ldrsw x9, [x20]
cmp x19, x9
b.lt LBB0_8
LBB0_11:
Lloh16:
adrp x8, _max_mididev@GOTPAGE
Lloh17:
ldr x8, [x8, _max_mididev@GOTPAGEOFF]
Lloh18:
str xzr, [x8]
Lloh19:
adrp x8, _SEQ_2@GOTPAGE
Lloh20:
ldr x8, [x8, _SEQ_2@GOTPAGEOFF]
Lloh21:
ldr w8, [x8]
Lloh22:
adrp x9, _seq_mode@GOTPAGE
Lloh23:
ldr x9, [x9, _seq_mode@GOTPAGEOFF]
Lloh24:
str w8, [x9]
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 d9, d8, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdr Lloh14, Lloh15
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGotStr Lloh22, Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGotStr Lloh16, Lloh17, Lloh18
.cfi_endproc
; -- End function
.comm _num_synths,4,2 ; @num_synths
.comm _max_synthdev,4,2 ; @max_synthdev
.comm _num_midis,4,2 ; @num_midis
.comm _midi_devs,8,3 ; @midi_devs
.comm _synth_devs,8,3 ; @synth_devs
.comm _max_mididev,8,3 ; @max_mididev
.comm _SEQ_2,4,2 ; @SEQ_2
.comm _seq_mode,4,2 ; @seq_mode
.no_dead_strip _setup_mode2
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _decode_source ## -- Begin function decode_source
.p2align 4, 0x90
_decode_source: ## @decode_source
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r12
cmpb $0, (%rdi)
movq %rdi, -48(%rbp) ## 8-byte Spill
je LBB0_23
## %bb.1:
leaq _decode_source.decode_beginW(%rip), %r14
leaq LJTI0_0(%rip), %r13
movq -48(%rbp), %rbx ## 8-byte Reload
movq %rbx, %r12
jmp LBB0_2
.p2align 4, 0x90
LBB0_21: ## in Loop: Header=BB0_2 Depth=1
movzbl (%rbx), %eax
incq %rbx
movb %al, (%r12)
incq %r12
cmpb $0, (%rbx)
je LBB0_23
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_5 Depth 2
movq %r14, %rdi
callq _ARRAY_SIZE
movq %rbx, %rdi
movq %r14, %rsi
movl %eax, %edx
callq _wcsncmp
testq %rax, %rax
jne LBB0_21
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq %r14, %rdi
callq _ARRAY_SIZE
cltq
addq %rax, %rbx
movq %rbx, %rdi
leaq -64(%rbp), %rsi
callq _decode_dword
testl %eax, %eax
je LBB0_19
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
addq $8, %rbx
xorl %r14d, %r14d
xorl %r15d, %r15d
xorl %eax, %eax
movq _dictionary@GOTPCREL(%rip), %rdi
movq _pick_encoding@GOTPCREL(%rip), %r8
jmp LBB0_5
.p2align 4, 0x90
LBB0_14: ## in Loop: Header=BB0_5 Depth=2
movq (%rdi), %rdx
movq (%rdx,%rcx,8), %rcx
movq (%r8), %rdx
movl %r15d, %esi
andl $63, %esi
movq (%rdx,%rsi,8), %rdx
movsbq (%rcx,%rdx), %rcx
movb %cl, (%r12,%r15)
LBB0_15: ## in Loop: Header=BB0_5 Depth=2
addq %rcx, %r14
incq %r15
incq %rax
movq -64(%rbp), %rcx
cmpq %rcx, %rax
ja LBB0_16
LBB0_5: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movsbq (%rbx,%rax), %rcx
cmpq $64, %rcx
jne LBB0_14
## %bb.6: ## in Loop: Header=BB0_5 Depth=2
movzbl 1(%rbx,%rax), %ecx
leal -33(%rcx), %edx
cmpl $9, %edx
ja LBB0_13
## %bb.7: ## in Loop: Header=BB0_5 Depth=2
incq %rax
movslq (%r13,%rdx,4), %rdx
addq %r13, %rdx
jmpq *%rdx
LBB0_10: ## in Loop: Header=BB0_5 Depth=2
movb $60, (%r12,%r15)
movl $60, %ecx
jmp LBB0_15
LBB0_8: ## in Loop: Header=BB0_5 Depth=2
movb $13, (%r12,%r15)
movl $13, %ecx
jmp LBB0_15
LBB0_9: ## in Loop: Header=BB0_5 Depth=2
movb $10, (%r12,%r15)
movl $10, %ecx
jmp LBB0_15
LBB0_12: ## in Loop: Header=BB0_5 Depth=2
movb $64, (%r12,%r15)
movl $64, %ecx
jmp LBB0_15
LBB0_11: ## in Loop: Header=BB0_5 Depth=2
movb $62, (%r12,%r15)
movl $62, %ecx
jmp LBB0_15
.p2align 4, 0x90
LBB0_16: ## in Loop: Header=BB0_2 Depth=1
addq %rcx, %rbx
movq %rbx, %rdi
leaq -56(%rbp), %rsi
callq _decode_dword
testl %eax, %eax
jne LBB0_18
## %bb.17: ## in Loop: Header=BB0_2 Depth=1
cmpq -56(%rbp), %r14
jne LBB0_19
LBB0_18: ## in Loop: Header=BB0_2 Depth=1
addq $8, %rbx
leaq _decode_source.decode_endW(%rip), %r14
movq %r14, %rdi
callq _ARRAY_SIZE
movq %rbx, %rdi
movq %r14, %rsi
movl %eax, %edx
callq _wcsncmp
testq %rax, %rax
jne LBB0_19
## %bb.20: ## in Loop: Header=BB0_2 Depth=1
addq %r15, %r12
movq %r14, %rdi
callq _ARRAY_SIZE
cltq
addq %rax, %rbx
leaq _decode_source.decode_beginW(%rip), %r14
cmpb $0, (%rbx)
jne LBB0_2
LBB0_23:
movb $0, (%r12)
movq -48(%rbp), %rdi ## 8-byte Reload
callq _debugstr_w
leaq L_.str.2(%rip), %rdi
movl %eax, %esi
callq _TRACE
movq _S_OK@GOTPCREL(%rip), %rax
jmp LBB0_24
LBB0_13:
movsbl %cl, %esi
leaq L_.str(%rip), %rdi
callq _FIXME
movq _E_FAIL@GOTPCREL(%rip), %rax
jmp LBB0_24
LBB0_19:
movq _JS_E_INVALID_CHAR@GOTPCREL(%rip), %rax
LBB0_24:
movl (%rax), %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
.long L0_0_set_10
.long L0_0_set_13
.long L0_0_set_8
.long L0_0_set_12
.long L0_0_set_13
.long L0_0_set_9
.long L0_0_set_13
.long L0_0_set_13
.long L0_0_set_13
.long L0_0_set_11
.end_data_region
## -- End function
.section __TEXT,__const
_decode_source.decode_beginW: ## @decode_source.decode_beginW
.ascii "#@~^"
_decode_source.decode_endW: ## @decode_source.decode_endW
.ascii "^#~@"
.comm _JS_E_INVALID_CHAR,4,2 ## @JS_E_INVALID_CHAR
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "unescape %c\n"
.comm _E_FAIL,4,2 ## @E_FAIL
.comm _dictionary,8,3 ## @dictionary
.comm _pick_encoding,8,3 ## @pick_encoding
L_.str.2: ## @.str.2
.asciz "decoded %s\n"
.comm _S_OK,4,2 ## @S_OK
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _decode_source ; -- Begin function decode_source
.p2align 2
_decode_source: ; @decode_source
.cfi_startproc
; %bb.0:
sub sp, sp, #112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x0
ldrb w8, [x0]
mov x28, x0
cbz w8, LBB0_24
; %bb.1:
Lloh0:
adrp x20, _decode_source.decode_beginW@PAGE
Lloh1:
add x20, x20, _decode_source.decode_beginW@PAGEOFF
mov w27, #10 ; =0xa
mov w23, #62 ; =0x3e
Lloh2:
adrp x21, _dictionary@GOTPAGE
Lloh3:
ldr x21, [x21, _dictionary@GOTPAGEOFF]
Lloh4:
adrp x24, _pick_encoding@GOTPAGE
Lloh5:
ldr x24, [x24, _pick_encoding@GOTPAGEOFF]
mov x28, x19
mov x22, x19
Lloh6:
adrp x26, _decode_source.decode_endW@PAGE
Lloh7:
add x26, x26, _decode_source.decode_endW@PAGEOFF
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
ldrb w8, [x22], #1
strb w8, [x28], #1
ldrb w8, [x22]
cbz w8, LBB0_24
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_8 Depth 2
mov x0, x20
bl _ARRAY_SIZE
mov x2, x0
mov x0, x22
mov x1, x20
bl _wcsncmp
cbnz x0, LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov x0, x20
bl _ARRAY_SIZE
add x22, x22, w0, sxtw
add x1, sp, #8
mov x0, x22
bl _decode_dword
cbz w0, LBB0_26
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
mov x25, #0 ; =0x0
mov x8, #0 ; =0x0
mov x10, #0 ; =0x0
add x9, x22, #8
mov w14, #60 ; =0x3c
mov w15, #13 ; =0xd
mov w16, #64 ; =0x40
b LBB0_8
LBB0_6: ; in Loop: Header=BB0_8 Depth=2
ldr x12, [x21]
ldr x11, [x12, x11, lsl #3]
ldr x12, [x24]
and x13, x8, #0x3f
ldr x12, [x12, x13, lsl #3]
ldrsb x11, [x11, x12]
strb w11, [x28]
LBB0_7: ; in Loop: Header=BB0_8 Depth=2
add x25, x25, x11
add x8, x8, #1
add x10, x10, #1
ldr x11, [sp, #8]
add x28, x28, #1
cmp x10, x11
b.hi LBB0_20
LBB0_8: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldrsb x11, [x9, x10]
cmp x11, #64
b.ne LBB0_6
; %bb.9: ; in Loop: Header=BB0_8 Depth=2
add x10, x10, #1
ldrb w11, [x9, x10]
cmp w11, #35
b.le LBB0_14
; %bb.10: ; in Loop: Header=BB0_8 Depth=2
cmp w11, #36
b.eq LBB0_19
; %bb.11: ; in Loop: Header=BB0_8 Depth=2
cmp w11, #38
b.eq LBB0_17
; %bb.12: ; in Loop: Header=BB0_8 Depth=2
cmp w11, #42
b.ne LBB0_25
; %bb.13: ; in Loop: Header=BB0_8 Depth=2
strb w23, [x28]
mov w11, #62 ; =0x3e
b LBB0_7
LBB0_14: ; in Loop: Header=BB0_8 Depth=2
cmp w11, #33
b.eq LBB0_18
; %bb.15: ; in Loop: Header=BB0_8 Depth=2
cmp w11, #35
b.ne LBB0_25
; %bb.16: ; in Loop: Header=BB0_8 Depth=2
strb w15, [x28]
mov w11, #13 ; =0xd
b LBB0_7
LBB0_17: ; in Loop: Header=BB0_8 Depth=2
strb w27, [x28]
mov w11, #10 ; =0xa
b LBB0_7
LBB0_18: ; in Loop: Header=BB0_8 Depth=2
strb w14, [x28]
mov w11, #60 ; =0x3c
b LBB0_7
LBB0_19: ; in Loop: Header=BB0_8 Depth=2
strb w16, [x28]
mov w11, #64 ; =0x40
b LBB0_7
LBB0_20: ; in Loop: Header=BB0_3 Depth=1
add x22, x9, x11
mov x1, sp
mov x0, x22
bl _decode_dword
cbnz w0, LBB0_22
; %bb.21: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [sp]
cmp x25, x8
b.ne LBB0_26
LBB0_22: ; in Loop: Header=BB0_3 Depth=1
add x22, x22, #8
mov x0, x26
bl _ARRAY_SIZE
mov x2, x0
mov x0, x22
mov x1, x26
bl _wcsncmp
cbnz x0, LBB0_26
; %bb.23: ; in Loop: Header=BB0_3 Depth=1
mov x0, x26
bl _ARRAY_SIZE
add x22, x22, w0, sxtw
ldrb w8, [x22]
cbnz w8, LBB0_3
LBB0_24:
strb wzr, [x28]
mov x0, x19
bl _debugstr_w
mov x1, x0
Lloh8:
adrp x0, l_.str.2@PAGE
Lloh9:
add x0, x0, l_.str.2@PAGEOFF
bl _TRACE
Lloh10:
adrp x8, _S_OK@GOTPAGE
Lloh11:
ldr x8, [x8, _S_OK@GOTPAGEOFF]
b LBB0_27
LBB0_25:
sxtb w1, w11
Lloh12:
adrp x0, l_.str@PAGE
Lloh13:
add x0, x0, l_.str@PAGEOFF
bl _FIXME
Lloh14:
adrp x8, _E_FAIL@GOTPAGE
Lloh15:
ldr x8, [x8, _E_FAIL@GOTPAGEOFF]
b LBB0_27
LBB0_26:
Lloh16:
adrp x8, _JS_E_INVALID_CHAR@GOTPAGE
Lloh17:
ldr x8, [x8, _JS_E_INVALID_CHAR@GOTPAGEOFF]
LBB0_27:
ldr w0, [x8]
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpLdrGot Lloh16, Lloh17
.cfi_endproc
; -- End function
.section __TEXT,__const
_decode_source.decode_beginW: ; @decode_source.decode_beginW
.ascii "#@~^"
_decode_source.decode_endW: ; @decode_source.decode_endW
.ascii "^#~@"
.comm _JS_E_INVALID_CHAR,4,2 ; @JS_E_INVALID_CHAR
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "unescape %c\n"
.comm _E_FAIL,4,2 ; @E_FAIL
.comm _dictionary,8,3 ; @dictionary
.comm _pick_encoding,8,3 ; @pick_encoding
l_.str.2: ; @.str.2
.asciz "decoded %s\n"
.comm _S_OK,4,2 ; @S_OK
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function stbi__jpeg_decode_block_prog_ac
_stbi__jpeg_decode_block_prog_ac: ## @stbi__jpeg_decode_block_prog_ac
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, -72(%rbp) ## 8-byte Spill
movslq (%rdi), %r15
testq %r15, %r15
je LBB0_1
## %bb.3:
movq %rdi, %rbx
cmpq $0, 8(%rdi)
movl 16(%rdi), %r12d
movl 20(%rdi), %eax
movq %rsi, -48(%rbp) ## 8-byte Spill
je LBB0_4
## %bb.18:
testl %eax, %eax
je LBB0_19
## %bb.26:
decl %eax
movl %eax, 20(%rbx)
cmpl 24(%rbx), %r15d
jg LBB0_51
## %bb.27:
movl $65536, %r13d ## imm = 0x10000
movl %r12d, %ecx
shll %cl, %r13d
sarl $16, %r13d
movq _stbi__jpeg_dezigzag@GOTPCREL(%rip), %r12
movq (%r12), %rcx
movl %r13d, %eax
negl %eax
movl %eax, -56(%rbp) ## 4-byte Spill
decq %r15
jmp LBB0_28
.p2align 4, 0x90
LBB0_30: ## in Loop: Header=BB0_28 Depth=1
movq -48(%rbp), %rsi ## 8-byte Reload
LBB0_33: ## in Loop: Header=BB0_28 Depth=1
movslq 24(%rbx), %rax
incq %r15
cmpq %rax, %r15
jge LBB0_51
LBB0_28: ## =>This Inner Loop Header: Depth=1
movq 8(%rcx,%r15,8), %r14
cmpw $0, (%rsi,%r14,2)
je LBB0_33
## %bb.29: ## in Loop: Header=BB0_28 Depth=1
movq %rbx, %rdi
callq _stbi__jpeg_get_bit
movq (%r12), %rcx
testq %rax, %rax
je LBB0_30
## %bb.31: ## in Loop: Header=BB0_28 Depth=1
movq -48(%rbp), %rsi ## 8-byte Reload
movswl (%rsi,%r14,2), %eax
testl %eax, %r13d
jne LBB0_33
## %bb.32: ## in Loop: Header=BB0_28 Depth=1
testw %ax, %ax
movl -56(%rbp), %edx ## 4-byte Reload
cmovgl %r13d, %edx
addl %eax, %edx
movw %dx, (%rsi,%r14,2)
jmp LBB0_33
LBB0_1:
leaq L_.str(%rip), %rdi
jmp LBB0_2
LBB0_4:
testl %eax, %eax
je LBB0_5
## %bb.52:
incl %eax
movl %eax, 20(%rbx)
LBB0_51:
movl $1, %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_19:
movl $65536, %eax ## imm = 0x10000
movl %r12d, %ecx
shll %cl, %eax
sarl $16, %eax
movl %eax, -56(%rbp) ## 4-byte Spill
negl %eax
movl %eax, -60(%rbp) ## 4-byte Spill
jmp LBB0_20
LBB0_47: ## in Loop: Header=BB0_20 Depth=1
incl %r15d
movl -64(%rbp), %ecx ## 4-byte Reload
movw %cx, (%rdx,%r14,2)
.p2align 4, 0x90
LBB0_50: ## in Loop: Header=BB0_20 Depth=1
cmpl %eax, %r15d
jg LBB0_51
LBB0_20: ## =>This Loop Header: Depth=1
## Child Loop BB0_39 Depth 2
movq %rbx, %rdi
movq -72(%rbp), %rsi ## 8-byte Reload
callq _stbi__jpeg_huff_decode
testl %eax, %eax
js LBB0_34
## %bb.21: ## in Loop: Header=BB0_20 Depth=1
movl %eax, %ecx
andl $15, %ecx
movl %eax, %r13d
shrl $4, %r13d
cmpl $1, %ecx
je LBB0_35
## %bb.22: ## in Loop: Header=BB0_20 Depth=1
testl %ecx, %ecx
jne LBB0_34
## %bb.23: ## in Loop: Header=BB0_20 Depth=1
xorl %r14d, %r14d
cmpl $239, %eax
ja LBB0_36
## %bb.24: ## in Loop: Header=BB0_20 Depth=1
movl $-1, %edx
movl %r13d, %ecx
shll %cl, %edx
notl %edx
movl %edx, 20(%rbx)
movl $64, %r12d
cmpl $16, %eax
jb LBB0_37
## %bb.25: ## in Loop: Header=BB0_20 Depth=1
movq %rbx, %rdi
movl %r13d, %esi
callq _stbi__jpeg_get_bits
addl %eax, 20(%rbx)
jmp LBB0_37
.p2align 4, 0x90
LBB0_35: ## in Loop: Header=BB0_20 Depth=1
movq %rbx, %rdi
callq _stbi__jpeg_get_bit
testq %rax, %rax
movl -56(%rbp), %r14d ## 4-byte Reload
cmovel -60(%rbp), %r14d ## 4-byte Folded Reload
LBB0_36: ## in Loop: Header=BB0_20 Depth=1
movl %r13d, %r12d
LBB0_37: ## in Loop: Header=BB0_20 Depth=1
movq -48(%rbp), %rdx ## 8-byte Reload
movl 24(%rbx), %eax
cmpl %eax, %r15d
jg LBB0_50
## %bb.38: ## in Loop: Header=BB0_20 Depth=1
movl %r14d, -64(%rbp) ## 4-byte Spill
movslq %r15d, %r13
movq _stbi__jpeg_dezigzag@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
decq %r13
jmp LBB0_39
.p2align 4, 0x90
LBB0_41: ## in Loop: Header=BB0_39 Depth=2
movq -48(%rbp), %rdx ## 8-byte Reload
LBB0_49: ## in Loop: Header=BB0_39 Depth=2
movslq 24(%rbx), %rax
incq %r13
incl %r15d
cmpq %rax, %r13
jge LBB0_50
LBB0_39: ## Parent Loop BB0_20 Depth=1
## => This Inner Loop Header: Depth=2
movq 8(%rcx,%r13,8), %r14
cmpw $0, (%rdx,%r14,2)
je LBB0_46
## %bb.40: ## in Loop: Header=BB0_39 Depth=2
movq %rbx, %rdi
callq _stbi__jpeg_get_bit
movq _stbi__jpeg_dezigzag@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
testq %rax, %rax
je LBB0_41
## %bb.42: ## in Loop: Header=BB0_39 Depth=2
movq -48(%rbp), %rdx ## 8-byte Reload
movswl (%rdx,%r14,2), %eax
testl %eax, -56(%rbp) ## 4-byte Folded Reload
jne LBB0_49
## %bb.43: ## in Loop: Header=BB0_39 Depth=2
testw %ax, %ax
jle LBB0_45
## %bb.44: ## in Loop: Header=BB0_39 Depth=2
addl -56(%rbp), %eax ## 4-byte Folded Reload
movw %ax, (%rdx,%r14,2)
jmp LBB0_49
.p2align 4, 0x90
LBB0_46: ## in Loop: Header=BB0_39 Depth=2
testl %r12d, %r12d
je LBB0_47
## %bb.48: ## in Loop: Header=BB0_39 Depth=2
decl %r12d
jmp LBB0_49
LBB0_45: ## in Loop: Header=BB0_39 Depth=2
subl -56(%rbp), %eax ## 4-byte Folded Reload
movw %ax, (%rdx,%r14,2)
jmp LBB0_49
LBB0_5:
movq %rcx, %r13
movq _FAST_BITS@GOTPCREL(%rip), %r14
movq %rcx, -56(%rbp) ## 8-byte Spill
jmp LBB0_6
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_6 Depth=1
movl 32(%rbx), %edx
movzbl (%r14), %eax
movl %eax, %ecx
negb %cl
movl %edx, %r8d
sarl %cl, %r8d
movl $-1, %edi
movl %eax, %ecx
shll %cl, %edi
notl %edi
orl %r8d, %edi
movslq %edi, %rax
movl (%r13,%rax,4), %eax
testl %eax, %eax
je LBB0_10
## %bb.9: ## in Loop: Header=BB0_6 Depth=1
movl %eax, %edi
shrl $4, %edi
movl %eax, %ecx
andl $15, %ecx
shll %cl, %edx
movl %edx, 32(%rbx)
subl %ecx, 28(%rbx)
andl $15, %edi
leal (%rdi,%r15), %ecx
movq _stbi__jpeg_dezigzag@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
addl %edi, %r15d
incl %r15d
movslq %ecx, %rcx
movl (%rdx,%rcx,8), %edx
shrl $8, %eax
movl %r12d, %ecx
shll %cl, %eax
movw %ax, (%rsi,%rdx,2)
LBB0_17: ## in Loop: Header=BB0_6 Depth=1
cmpl 24(%rbx), %r15d
jg LBB0_51
LBB0_6: ## =>This Inner Loop Header: Depth=1
cmpl $15, 28(%rbx)
jg LBB0_8
## %bb.7: ## in Loop: Header=BB0_6 Depth=1
movq %rbx, %rdi
callq _stbi__grow_buffer_unsafe
movq -48(%rbp), %rsi ## 8-byte Reload
jmp LBB0_8
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_6 Depth=1
movq %rbx, %rdi
movq -72(%rbp), %rsi ## 8-byte Reload
callq _stbi__jpeg_huff_decode
testl %eax, %eax
jle LBB0_34
## %bb.11: ## in Loop: Header=BB0_6 Depth=1
movl %eax, %ecx
shrl $4, %ecx
movl %eax, %esi
andl $15, %esi
je LBB0_12
## %bb.14: ## in Loop: Header=BB0_6 Depth=1
leal (%rcx,%r15), %eax
movq _stbi__jpeg_dezigzag@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
addl %ecx, %r15d
incl %r15d
cltq
movq %r14, %r13
movl (%rdx,%rax,8), %r14d
movq %rbx, %rdi
callq _stbi__extend_receive
movl %r12d, %ecx
shll %cl, %eax
movq -48(%rbp), %rsi ## 8-byte Reload
movw %ax, (%rsi,%r14,2)
movq %r13, %r14
movq -56(%rbp), %r13 ## 8-byte Reload
jmp LBB0_17
LBB0_12: ## in Loop: Header=BB0_6 Depth=1
cmpl $239, %eax
ja LBB0_15
## %bb.13: ## in Loop: Header=BB0_6 Depth=1
movl $1, %eax
shll %cl, %eax
movl %eax, 20(%rbx)
movq %rbx, %rdi
movl %ecx, %esi
callq _stbi__jpeg_get_bits
movl 20(%rbx), %ecx
addl %ecx, %eax
decl %eax
movl %eax, 20(%rbx)
jmp LBB0_16
LBB0_15: ## in Loop: Header=BB0_6 Depth=1
addl $16, %r15d
LBB0_16: ## in Loop: Header=BB0_6 Depth=1
movq -48(%rbp), %rsi ## 8-byte Reload
jmp LBB0_17
LBB0_34:
leaq L_.str.2(%rip), %rdi
LBB0_2:
leaq L_.str.1(%rip), %rsi
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _stbi__err ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "can't merge dc and ac"
L_.str.1: ## @.str.1
.asciz "Corrupt JPEG"
.comm _FAST_BITS,4,2 ## @FAST_BITS
.comm _stbi__jpeg_dezigzag,8,3 ## @stbi__jpeg_dezigzag
L_.str.2: ## @.str.2
.asciz "bad huffman code"
.no_dead_strip _stbi__jpeg_decode_block_prog_ac
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function stbi__jpeg_decode_block_prog_ac
_stbi__jpeg_decode_block_prog_ac: ; @stbi__jpeg_decode_block_prog_ac
.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
ldr w23, [x0]
cbz w23, LBB0_10
; %bb.1:
mov x21, x2
mov x20, x1
mov x19, x0
ldr x9, [x0, #8]
ldp w24, w8, [x0, #16]
cbz x9, LBB0_11
; %bb.2:
cbz w8, LBB0_14
; %bb.3:
sub w8, w8, #1
str w8, [x19, #20]
ldr w8, [x19, #24]
cmp w23, w8
b.gt LBB0_13
; %bb.4:
sxtw x21, w23
mov w8, #65536 ; =0x10000
lsl w9, w8, w24
asr w22, w9, #16
Lloh0:
adrp x23, _stbi__jpeg_dezigzag@GOTPAGE
Lloh1:
ldr x23, [x23, _stbi__jpeg_dezigzag@GOTPAGEOFF]
ldr x8, [x23]
neg w24, w22
lsr w25, w9, #16
b LBB0_6
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
add x9, x21, #1
ldrsw x10, [x19, #24]
cmp x21, x10
mov x21, x9
b.ge LBB0_13
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldr x26, [x8, x21, lsl #3]
ldrh w9, [x20, x26, lsl #1]
cbz w9, LBB0_5
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
mov x0, x19
bl _stbi__jpeg_get_bit
ldr x8, [x23]
cbz x0, LBB0_5
; %bb.8: ; in Loop: Header=BB0_6 Depth=1
ldrsh w9, [x20, x26, lsl #1]
tst w22, w9
b.ne LBB0_5
; %bb.9: ; in Loop: Header=BB0_6 Depth=1
cmp w9, #0
csel w10, w25, w24, gt
add w9, w9, w10
strh w9, [x20, x26, lsl #1]
b LBB0_5
LBB0_10:
Lloh2:
adrp x0, l_.str@PAGE
Lloh3:
add x0, x0, l_.str@PAGEOFF
b LBB0_53
LBB0_11:
cbz w8, LBB0_40
; %bb.12:
add w8, w8, #1
str w8, [x19, #20]
LBB0_13:
mov w0, #1 ; =0x1
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
LBB0_14:
mov w8, #65536 ; =0x10000
lsl w24, w8, w24
asr w25, w24, #16
neg w8, w25
str w8, [sp, #12] ; 4-byte Folded Spill
Lloh4:
adrp x27, _stbi__jpeg_dezigzag@GOTPAGE
Lloh5:
ldr x27, [x27, _stbi__jpeg_dezigzag@GOTPAGEOFF]
b LBB0_17
LBB0_15: ; in Loop: Header=BB0_17 Depth=1
; kill: def $w23 killed $w23 killed $x23 def $x23
LBB0_16: ; in Loop: Header=BB0_17 Depth=1
cmp w23, w9
b.gt LBB0_13
LBB0_17: ; =>This Loop Header: Depth=1
; Child Loop BB0_32 Depth 2
mov x0, x19
mov x1, x21
bl _stbi__jpeg_huff_decode
tbnz w0, #31, LBB0_52
; %bb.18: ; in Loop: Header=BB0_17 Depth=1
and w8, w0, #0xf
lsr w22, w0, #4
cmp w8, #1
b.eq LBB0_23
; %bb.19: ; in Loop: Header=BB0_17 Depth=1
cbnz w8, LBB0_52
; %bb.20: ; in Loop: Header=BB0_17 Depth=1
cmp w0, #239
b.hi LBB0_24
; %bb.21: ; in Loop: Header=BB0_17 Depth=1
mov w8, #-1 ; =0xffffffff
lsl w8, w8, w22
mvn w8, w8
str w8, [x19, #20]
cmp w0, #16
b.hs LBB0_25
; %bb.22: ; in Loop: Header=BB0_17 Depth=1
mov w28, #0 ; =0x0
b LBB0_26
LBB0_23: ; in Loop: Header=BB0_17 Depth=1
mov x0, x19
bl _stbi__jpeg_get_bit
cmp x0, #0
ldr w8, [sp, #12] ; 4-byte Folded Reload
csel w28, w8, w25, eq
b LBB0_27
LBB0_24: ; in Loop: Header=BB0_17 Depth=1
mov w28, #0 ; =0x0
b LBB0_27
LBB0_25: ; in Loop: Header=BB0_17 Depth=1
mov x0, x19
mov x1, x22
bl _stbi__jpeg_get_bits
mov w28, #0 ; =0x0
ldr w8, [x19, #20]
add w8, w8, w0
str w8, [x19, #20]
LBB0_26: ; in Loop: Header=BB0_17 Depth=1
mov w22, #64 ; =0x40
LBB0_27: ; in Loop: Header=BB0_17 Depth=1
ldr w9, [x19, #24]
cmp w23, w9
b.gt LBB0_16
; %bb.28: ; in Loop: Header=BB0_17 Depth=1
sxtw x23, w23
ldr x8, [x27]
b LBB0_32
LBB0_29: ; in Loop: Header=BB0_32 Depth=2
sub w9, w9, w24, lsr #16
LBB0_30: ; in Loop: Header=BB0_32 Depth=2
strh w9, [x20, x26, lsl #1]
LBB0_31: ; in Loop: Header=BB0_32 Depth=2
add x23, x23, #1
ldrsw x9, [x19, #24]
sub x10, x23, #1
cmp x10, x9
b.ge LBB0_15
LBB0_32: ; Parent Loop BB0_17 Depth=1
; => This Inner Loop Header: Depth=2
ldr x26, [x8, x23, lsl #3]
ldrh w10, [x20, x26, lsl #1]
cbz w10, LBB0_37
; %bb.33: ; in Loop: Header=BB0_32 Depth=2
mov x0, x19
bl _stbi__jpeg_get_bit
ldr x8, [x27]
cbz x0, LBB0_31
; %bb.34: ; in Loop: Header=BB0_32 Depth=2
ldrsh w9, [x20, x26, lsl #1]
tst w25, w9
b.ne LBB0_31
; %bb.35: ; in Loop: Header=BB0_32 Depth=2
cmp w9, #1
b.lt LBB0_29
; %bb.36: ; in Loop: Header=BB0_32 Depth=2
add w9, w9, w24, lsr #16
b LBB0_30
LBB0_37: ; in Loop: Header=BB0_32 Depth=2
cbz w22, LBB0_39
; %bb.38: ; in Loop: Header=BB0_32 Depth=2
sub w22, w22, #1
b LBB0_31
LBB0_39: ; in Loop: Header=BB0_17 Depth=1
add w23, w23, #1
strh w28, [x20, x26, lsl #1]
b LBB0_16
LBB0_40:
mov x22, x3
Lloh6:
adrp x25, _FAST_BITS@GOTPAGE
Lloh7:
ldr x25, [x25, _FAST_BITS@GOTPAGEOFF]
mov w26, #-1 ; =0xffffffff
Lloh8:
adrp x28, _stbi__jpeg_dezigzag@GOTPAGE
Lloh9:
ldr x28, [x28, _stbi__jpeg_dezigzag@GOTPAGEOFF]
b LBB0_44
LBB0_41: ; in Loop: Header=BB0_44 Depth=1
ldr w9, [x19, #32]
ldr w8, [x25]
neg w10, w8
asr w10, w9, w10
lsl w8, w26, w8
orn w8, w10, w8
ldr w8, [x22, w8, sxtw #2]
cbz w8, LBB0_46
; %bb.42: ; in Loop: Header=BB0_44 Depth=1
ubfx w10, w8, #4, #4
add w10, w10, w23
and w11, w8, #0xf
lsl w9, w9, w11
ldr w12, [x19, #28]
sub w11, w12, w11
stp w11, w9, [x19, #28]
ldr x9, [x28]
add w23, w10, #1
sbfiz x10, x10, #3, #32
ldr w9, [x9, x10]
lsr w8, w8, #8
lsl w8, w8, w24
strh w8, [x20, x9, lsl #1]
LBB0_43: ; in Loop: Header=BB0_44 Depth=1
ldr w8, [x19, #24]
cmp w23, w8
b.gt LBB0_13
LBB0_44: ; =>This Inner Loop Header: Depth=1
ldr w8, [x19, #28]
cmp w8, #15
b.gt LBB0_41
; %bb.45: ; in Loop: Header=BB0_44 Depth=1
mov x0, x19
bl _stbi__grow_buffer_unsafe
b LBB0_41
LBB0_46: ; in Loop: Header=BB0_44 Depth=1
mov x0, x19
mov x1, x21
bl _stbi__jpeg_huff_decode
cmp w0, #1
b.lt LBB0_52
; %bb.47: ; in Loop: Header=BB0_44 Depth=1
lsr w1, w0, #4
ands w8, w0, #0xf
b.eq LBB0_49
; %bb.48: ; in Loop: Header=BB0_44 Depth=1
add w9, w1, w23
ldr x10, [x28]
add w23, w9, #1
sbfiz x9, x9, #3, #32
ldr w27, [x10, x9]
mov x0, x19
mov x1, x8
bl _stbi__extend_receive
lsl w8, w0, w24
strh w8, [x20, x27, lsl #1]
b LBB0_43
LBB0_49: ; in Loop: Header=BB0_44 Depth=1
cmp w0, #239
b.hi LBB0_51
; %bb.50: ; in Loop: Header=BB0_44 Depth=1
mov w8, #1 ; =0x1
lsl w8, w8, w1
str w8, [x19, #20]
mov x0, x19
bl _stbi__jpeg_get_bits
ldr w8, [x19, #20]
add w8, w0, w8
sub w8, w8, #1
str w8, [x19, #20]
b LBB0_43
LBB0_51: ; in Loop: Header=BB0_44 Depth=1
add w23, w23, #16
b LBB0_43
LBB0_52:
Lloh10:
adrp x0, l_.str.2@PAGE
Lloh11:
add x0, x0, l_.str.2@PAGEOFF
LBB0_53:
Lloh12:
adrp x1, l_.str.1@PAGE
Lloh13:
add x1, x1, l_.str.1@PAGEOFF
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 _stbi__err
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh12, Lloh13
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "can't merge dc and ac"
l_.str.1: ; @.str.1
.asciz "Corrupt JPEG"
.comm _FAST_BITS,4,2 ; @FAST_BITS
.comm _stbi__jpeg_dezigzag,8,3 ; @stbi__jpeg_dezigzag
l_.str.2: ; @.str.2
.asciz "bad huffman code"
.no_dead_strip _stbi__jpeg_decode_block_prog_ac
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function wolfssl_tls_cert_event
_wolfssl_tls_cert_event: ## @wolfssl_tls_cert_event
.cfi_startproc
## %bb.0:
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 %rcx, -56(%rbp) ## 8-byte Spill
movl %edx, %r12d
movq %rsi, %r13
movq %rdi, %rbx
movq %rsp, -88(%rbp) ## 8-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq 16(%rdi), %r15
movq _TLS_MAX_ALT_SUBJECT@GOTPCREL(%rip), %rax
movl (%rax), %eax
shlq $3, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r14
movq %r15, -72(%rbp) ## 8-byte Spill
cmpq $0, 8(%r15)
je LBB0_35
## %bb.1:
leaq -136(%rbp), %rdi
xorl %esi, %esi
movl $48, %edx
callq _os_memset
cmpq $0, 8(%rbx)
je LBB0_3
## %bb.2:
movq _TLS_CONN_EXT_CERT_CHECK@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, (%rbx)
jne LBB0_5
LBB0_3:
movq -72(%rbp), %rax ## 8-byte Reload
cmpq $0, 16(%rax)
je LBB0_4
LBB0_5:
movq %r13, %rdi
callq _get_x509_cert
movq %rax, %r15
movq %rax, -96(%rbp)
jmp LBB0_6
LBB0_4:
xorl %r15d, %r15d
LBB0_6:
movl %r12d, -132(%rbp)
movq -56(%rbp), %rax ## 8-byte Reload
movq %rax, -128(%rbp)
movq _ALT_NAMES_OID@GOTPCREL(%rip), %rax
movl (%rax), %esi
xorl %ebx, %ebx
movq %r13, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
callq _wolfSSL_X509_get_ext_d2i
movq %rax, %r12
testq %rax, %rax
je LBB0_37
## %bb.7:
movq %r15, -64(%rbp) ## 8-byte Spill
movq %r12, %rdi
callq _wolfSSL_sk_num
testl %eax, %eax
movq _TLS_MAX_ALT_SUBJECT@GOTPCREL(%rip), %r13
jle LBB0_23
## %bb.8:
xorl %ebx, %ebx
xorl %r15d, %r15d
movq %r14, -80(%rbp) ## 8-byte Spill
movq %r12, -56(%rbp) ## 8-byte Spill
jmp LBB0_9
LBB0_17: ## in Loop: Header=BB0_9 Depth=1
movq %r13, %rdi
leaq L_.str.1(%rip), %rsi
LBB0_19: ## in Loop: Header=BB0_9 Depth=1
movl $4, %edx
callq _os_memcpy
addq $4, %r13
LBB0_20: ## in Loop: Header=BB0_9 Depth=1
incl %ebx
movq %rbx, %r14
movq 8(%r12), %rbx
movq %rbx, %rdi
callq _os_strlen
movq %r13, %rdi
movq %rbx, %rsi
movq %r14, %rbx
movl %eax, %edx
callq _os_memcpy
movq 8(%r12), %rdi
callq _os_strlen
cltq
movb $0, (%r13,%rax)
movq -80(%rbp), %r14 ## 8-byte Reload
movq _TLS_MAX_ALT_SUBJECT@GOTPCREL(%rip), %r13
LBB0_21: ## in Loop: Header=BB0_9 Depth=1
movq -56(%rbp), %r12 ## 8-byte Reload
LBB0_22: ## in Loop: Header=BB0_9 Depth=1
incl %r15d
movq %r12, %rdi
callq _wolfSSL_sk_num
cmpl %eax, %r15d
jge LBB0_23
LBB0_9: ## =>This Inner Loop Header: Depth=1
cmpl (%r13), %ebx
je LBB0_22
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
movq %r12, %rdi
movl %r15d, %esi
callq _wolfSSL_sk_value
movq %rax, %r12
movl (%rax), %eax
addl $-128, %eax
cmpl $2, %eax
ja LBB0_21
## %bb.11: ## in Loop: Header=BB0_9 Depth=1
movq 8(%r12), %rdi
callq _os_strlen
movl $11, %edi
subl %eax, %edi
callq _os_malloc
testq %rax, %rax
je LBB0_12
## %bb.13: ## in Loop: Header=BB0_9 Depth=1
movq %rax, %r13
movslq %ebx, %rax
movq %r13, (%r14,%rax,8)
movl (%r12), %eax
cmpl $128, %eax
je LBB0_18
## %bb.14: ## in Loop: Header=BB0_9 Depth=1
cmpl $130, %eax
je LBB0_17
## %bb.15: ## in Loop: Header=BB0_9 Depth=1
cmpl $129, %eax
jne LBB0_20
## %bb.16: ## in Loop: Header=BB0_9 Depth=1
movq %r13, %rdi
leaq L_.str(%rip), %rsi
movl $6, %edx
callq _os_memcpy
addq $6, %r13
jmp LBB0_20
LBB0_18: ## in Loop: Header=BB0_9 Depth=1
movq %r13, %rdi
leaq L_.str.2(%rip), %rsi
jmp LBB0_19
LBB0_37:
movq %r12, %rdi
callq _wolfSSL_sk_ASN1_OBJECT_free
xorl %ebx, %ebx
xorl %r12d, %r12d
jmp LBB0_32
LBB0_12:
movq -56(%rbp), %r12 ## 8-byte Reload
LBB0_23:
movq %r12, %rdi
callq _wolfSSL_sk_ASN1_OBJECT_free
testl %ebx, %ebx
jle LBB0_24
## %bb.25:
movl %ebx, %edx
movl %edx, %eax
andl $3, %eax
cmpl $4, %ebx
movq -64(%rbp), %r15 ## 8-byte Reload
movq %rbx, %r8
jae LBB0_27
## %bb.26:
xorl %ecx, %ecx
jmp LBB0_29
LBB0_24:
movq %rbx, %r12
xorl %ebx, %ebx
movq -64(%rbp), %r15 ## 8-byte Reload
jmp LBB0_32
LBB0_27:
andl $2147483644, %edx ## imm = 0x7FFFFFFC
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_28: ## =>This Inner Loop Header: Depth=1
movq (%r14,%rcx,8), %rsi
movq -120(%rbp), %rdi
movq %rsi, (%rdi,%rcx,8)
movq 8(%r14,%rcx,8), %rsi
movq -120(%rbp), %rdi
movq %rsi, 8(%rdi,%rcx,8)
movq 16(%r14,%rcx,8), %rsi
movq -120(%rbp), %rdi
movq %rsi, 16(%rdi,%rcx,8)
movq 24(%r14,%rcx,8), %rsi
movq -120(%rbp), %rdi
movq %rsi, 24(%rdi,%rcx,8)
addq $4, %rcx
cmpq %rcx, %rdx
jne LBB0_28
LBB0_29:
movb $1, %bl
testq %rax, %rax
je LBB0_31
.p2align 4, 0x90
LBB0_30: ## =>This Inner Loop Header: Depth=1
movq (%r14,%rcx,8), %rdx
movq -120(%rbp), %rsi
movq %rdx, (%rsi,%rcx,8)
incq %rcx
decq %rax
jne LBB0_30
LBB0_31:
movq %r8, %r12
LBB0_32:
movl %r12d, -112(%rbp)
movq -72(%rbp), %rcx ## 8-byte Reload
movl (%rcx), %edi
movq _TLS_PEER_CERTIFICATE@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -136(%rbp), %rdx
callq *8(%rcx)
movq %r15, %rdi
callq _wpabuf_free
testb %bl, %bl
je LBB0_35
## %bb.33:
movl %r12d, %ebx
xorl %r15d, %r15d
.p2align 4, 0x90
LBB0_34: ## =>This Inner Loop Header: Depth=1
movq (%r14,%r15,8), %rdi
callq _os_free
incq %r15
cmpq %r15, %rbx
jne LBB0_34
LBB0_35:
movq -88(%rbp), %rsp ## 8-byte Reload
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_38
## %bb.36:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_38:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _TLS_MAX_ALT_SUBJECT,4,2 ## @TLS_MAX_ALT_SUBJECT
.comm _TLS_CONN_EXT_CERT_CHECK,4,2 ## @TLS_CONN_EXT_CERT_CHECK
.comm _ALT_NAMES_OID,4,2 ## @ALT_NAMES_OID
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "EMAIL:"
L_.str.1: ## @.str.1
.asciz "DNS:"
L_.str.2: ## @.str.2
.asciz "URI:"
.comm _TLS_PEER_CERTIFICATE,4,2 ## @TLS_PEER_CERTIFICATE
.no_dead_strip _wolfssl_tls_cert_event
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function wolfssl_tls_cert_event
_wolfssl_tls_cert_event: ; @wolfssl_tls_cert_event
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
sub sp, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x21, x3
mov x22, x2
mov x20, x1
mov x19, x0
mov x8, sp
stur x8, [x29, #-144] ; 8-byte Folded Spill
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-88]
ldr x24, [x0, #16]
Lloh3:
adrp x28, _TLS_MAX_ALT_SUBJECT@GOTPAGE
Lloh4:
ldr x28, [x28, _TLS_MAX_ALT_SUBJECT@GOTPAGEOFF]
ldr w8, [x28]
lsl x8, x8, #3
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, #0xffffffff0
sub x23, x9, x8
mov sp, x23
ldr x8, [x24, #8]
cbz x8, LBB0_31
; %bb.1:
sub x0, x29, #136
mov w1, #0 ; =0x0
mov w2, #48 ; =0x30
bl _os_memset
ldr x8, [x19, #8]
cbz x8, LBB0_3
; %bb.2:
ldr w8, [x19]
Lloh7:
adrp x9, _TLS_CONN_EXT_CERT_CHECK@GOTPAGE
Lloh8:
ldr x9, [x9, _TLS_CONN_EXT_CERT_CHECK@GOTPAGEOFF]
Lloh9:
ldr w9, [x9]
tst w9, w8
b.ne LBB0_4
LBB0_3:
ldr x8, [x24, #16]
cbz x8, LBB0_5
LBB0_4:
mov x0, x20
bl _get_x509_cert
mov x19, x0
stur x0, [x29, #-96]
b LBB0_6
LBB0_5:
mov x19, #0 ; =0x0
LBB0_6:
stur w22, [x29, #-132]
stur x21, [x29, #-128]
Lloh10:
adrp x8, _ALT_NAMES_OID@GOTPAGE
Lloh11:
ldr x8, [x8, _ALT_NAMES_OID@GOTPAGEOFF]
Lloh12:
ldr w1, [x8]
mov x0, x20
mov x2, #0 ; =0x0
mov x3, #0 ; =0x0
bl _wolfSSL_X509_get_ext_d2i
mov x20, x0
cbz x0, LBB0_21
; %bb.7:
mov x0, x20
bl _wolfSSL_sk_num
cmp w0, #1
b.lt LBB0_22
; %bb.8:
mov w22, #0 ; =0x0
mov w21, #0 ; =0x0
b LBB0_13
LBB0_9: ; in Loop: Header=BB0_13 Depth=1
mov x0, x26
Lloh13:
adrp x1, l_.str.1@PAGE
Lloh14:
add x1, x1, l_.str.1@PAGEOFF
LBB0_10: ; in Loop: Header=BB0_13 Depth=1
mov w2, #4 ; =0x4
bl _os_memcpy
add x26, x26, #4
LBB0_11: ; in Loop: Header=BB0_13 Depth=1
add w22, w22, #1
ldr x27, [x25, #8]
mov x0, x27
bl _os_strlen
mov x2, x0
mov x0, x26
mov x1, x27
bl _os_memcpy
ldr x0, [x25, #8]
bl _os_strlen
strb wzr, [x26, w0, sxtw]
LBB0_12: ; in Loop: Header=BB0_13 Depth=1
add w21, w21, #1
mov x0, x20
bl _wolfSSL_sk_num
cmp w21, w0
b.ge LBB0_23
LBB0_13: ; =>This Inner Loop Header: Depth=1
ldr w8, [x28]
cmp w22, w8
b.eq LBB0_12
; %bb.14: ; in Loop: Header=BB0_13 Depth=1
mov x0, x20
mov x1, x21
bl _wolfSSL_sk_value
ldr w8, [x0]
sub w8, w8, #128
cmp w8, #2
b.hi LBB0_12
; %bb.15: ; in Loop: Header=BB0_13 Depth=1
mov x25, x0
ldr x0, [x0, #8]
bl _os_strlen
mov w8, #11 ; =0xb
sub w0, w8, w0
bl _os_malloc
cbz x0, LBB0_23
; %bb.16: ; in Loop: Header=BB0_13 Depth=1
mov x26, x0
str x0, [x23, w22, sxtw #3]
ldr w8, [x25]
cmp w8, #128
b.eq LBB0_20
; %bb.17: ; in Loop: Header=BB0_13 Depth=1
cmp w8, #130
b.eq LBB0_9
; %bb.18: ; in Loop: Header=BB0_13 Depth=1
cmp w8, #129
b.ne LBB0_11
; %bb.19: ; in Loop: Header=BB0_13 Depth=1
mov x0, x26
Lloh15:
adrp x1, l_.str@PAGE
Lloh16:
add x1, x1, l_.str@PAGEOFF
mov w2, #6 ; =0x6
bl _os_memcpy
add x26, x26, #6
b LBB0_11
LBB0_20: ; in Loop: Header=BB0_13 Depth=1
mov x0, x26
Lloh17:
adrp x1, l_.str.2@PAGE
Lloh18:
add x1, x1, l_.str.2@PAGEOFF
b LBB0_10
LBB0_21:
mov x0, x20
bl _wolfSSL_sk_ASN1_OBJECT_free
mov w22, #0 ; =0x0
b LBB0_28
LBB0_22:
mov w22, #0 ; =0x0
LBB0_23:
mov x0, x20
bl _wolfSSL_sk_ASN1_OBJECT_free
cmp w22, #1
b.lt LBB0_27
; %bb.24:
mov x8, #0 ; =0x0
ubfiz x9, x22, #3, #32
LBB0_25: ; =>This Inner Loop Header: Depth=1
ldr x10, [x23, x8]
ldur x11, [x29, #-120]
str x10, [x11, x8]
add x8, x8, #8
cmp x9, x8
b.ne LBB0_25
; %bb.26:
mov w20, #1 ; =0x1
b LBB0_28
LBB0_27:
mov w20, #0 ; =0x0
LBB0_28:
stur w22, [x29, #-112]
ldr x8, [x24, #8]
ldr w0, [x24]
Lloh19:
adrp x9, _TLS_PEER_CERTIFICATE@GOTPAGE
Lloh20:
ldr x9, [x9, _TLS_PEER_CERTIFICATE@GOTPAGEOFF]
Lloh21:
ldr w1, [x9]
sub x2, x29, #136
blr x8
mov x0, x19
bl _wpabuf_free
cbz w20, LBB0_31
; %bb.29:
mov w19, w22
LBB0_30: ; =>This Inner Loop Header: Depth=1
ldr x0, [x23], #8
bl _os_free
subs x19, x19, #1
b.ne LBB0_30
LBB0_31:
ldur x8, [x29, #-144] ; 8-byte Folded Reload
mov sp, x8
ldur x8, [x29, #-88]
Lloh22:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh23:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_33
; %bb.32:
sub sp, x29, #80
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
LBB0_33:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpLdrGot Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _TLS_MAX_ALT_SUBJECT,4,2 ; @TLS_MAX_ALT_SUBJECT
.comm _TLS_CONN_EXT_CERT_CHECK,4,2 ; @TLS_CONN_EXT_CERT_CHECK
.comm _ALT_NAMES_OID,4,2 ; @ALT_NAMES_OID
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "EMAIL:"
l_.str.1: ; @.str.1
.asciz "DNS:"
l_.str.2: ; @.str.2
.asciz "URI:"
.comm _TLS_PEER_CERTIFICATE,4,2 ; @TLS_PEER_CERTIFICATE
.no_dead_strip _wolfssl_tls_cert_event
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _flushentry ## -- Begin function flushentry
.p2align 4, 0x90
_flushentry: ## @flushentry
.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 _flushtries@GOTPCREL(%rip), %rdx
movq (%rdx), %rcx
movq _sblock@GOTPCREL(%rip), %rax
movq (%rax), %rsi
xorq %rcx, %rsi
movq _cgbufs@GOTPCREL(%rip), %rax
movq (%rax), %rbx
xorl %eax, %eax
orq %rbx, %rsi
je LBB0_3
## %bb.1:
leaq -1(%rcx), %rsi
movq %rsi, (%rdx)
shlq $4, %rcx
cmpq $0, 8(%rbx,%rcx)
je LBB0_3
## %bb.2:
addq %rcx, %rbx
movq _fswritefd@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq %rbx, %rsi
callq _flush
movq (%rbx), %rdi
callq _free
movq $0, (%rbx)
movl $1, %eax
LBB0_3:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _flushtries,8,3 ## @flushtries
.comm _sblock,8,3 ## @sblock
.comm _cgbufs,8,3 ## @cgbufs
.comm _fswritefd,4,2 ## @fswritefd
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _flushentry ; -- Begin function flushentry
.p2align 2
_flushentry: ; @flushentry
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _flushtries@GOTPAGE
Lloh1:
ldr x8, [x8, _flushtries@GOTPAGEOFF]
ldr x9, [x8]
Lloh2:
adrp x10, _sblock@GOTPAGE
Lloh3:
ldr x10, [x10, _sblock@GOTPAGEOFF]
Lloh4:
ldr x11, [x10]
Lloh5:
adrp x10, _cgbufs@GOTPAGE
Lloh6:
ldr x10, [x10, _cgbufs@GOTPAGEOFF]
Lloh7:
ldr x10, [x10]
cmp x9, x11
ccmp x10, #0, #0, eq
b.eq LBB0_3
; %bb.1:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
sub x11, x9, #1
str x11, [x8]
add x19, x10, x9, lsl #4
ldr x8, [x19, #8]
cbz x8, LBB0_4
; %bb.2:
Lloh8:
adrp x8, _fswritefd@GOTPAGE
Lloh9:
ldr x8, [x8, _fswritefd@GOTPAGEOFF]
Lloh10:
ldr w0, [x8]
mov x1, x19
bl _flush
ldr x0, [x19]
bl _free
str xzr, [x19]
mov w0, #1 ; =0x1
b LBB0_5
LBB0_3:
mov w0, #0 ; =0x0
ret
LBB0_4:
mov w0, #0 ; =0x0
LBB0_5:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.cfi_endproc
; -- End function
.comm _flushtries,8,3 ; @flushtries
.comm _sblock,8,3 ; @sblock
.comm _cgbufs,8,3 ; @cgbufs
.comm _fswritefd,4,2 ; @fswritefd
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _parse_frame_specification ## -- Begin function parse_frame_specification
.p2align 4, 0x90
_parse_frame_specification: ## @parse_frame_specification
.cfi_startproc
## %bb.0:
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 ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
testq %rdi, %rdi
je LBB0_17
## %bb.1:
movq %rdi, %r14
incq %r14
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movzbl -1(%r14), %eax
decq %r14
cmpl $32, %eax
je LBB0_2
## %bb.3:
testl %eax, %eax
je LBB0_17
## %bb.4:
movq _xfree@GOTPCREL(%rip), %r13
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_6: ## =>This Loop Header: Depth=1
## Child Loop BB0_9 Depth 2
## Child Loop BB0_14 Depth 2
cmpq $4, %r12
jb LBB0_8
## %bb.7: ## in Loop: Header=BB0_6 Depth=1
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _error
LBB0_8: ## in Loop: Header=BB0_6 Depth=1
leaq -1(%r14), %rbx
xorl %esi, %esi
.p2align 4, 0x90
LBB0_9: ## Parent Loop BB0_6 Depth=1
## => This Inner Loop Header: Depth=2
movzbl (%r14,%rsi), %eax
testb $-33, %al
je LBB0_11
## %bb.10: ## in Loop: Header=BB0_9 Depth=2
incq %rsi
incq %rbx
jmp LBB0_9
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_6 Depth=1
movq %r14, %rdi
## kill: def $esi killed $esi killed $rsi
callq _savestring
movq %rax, %r15
movl (%r13), %edi
movq %rax, %rsi
callq _make_cleanup
movq %rax, %r14
movq %r15, %rdi
callq _parse_and_eval
movq %rax, %r15
testq %r12, %r12
jne LBB0_13
## %bb.12: ## in Loop: Header=BB0_6 Depth=1
movq %r15, %rdi
callq _value_as_long
movl %eax, -68(%rbp)
LBB0_13: ## in Loop: Header=BB0_6 Depth=1
movq %r15, %rdi
callq _value_as_address
movl %eax, -64(%rbp,%r12,4)
movq %r14, %rdi
callq _do_cleanups
movq %rbx, %r14
.p2align 4, 0x90
LBB0_14: ## Parent Loop BB0_6 Depth=1
## => This Inner Loop Header: Depth=2
movzbl 1(%r14), %eax
incq %r14
cmpb $32, %al
je LBB0_14
## %bb.5: ## in Loop: Header=BB0_6 Depth=1
incq %r12
testb %al, %al
jne LBB0_6
## %bb.15:
cmpl $1, %r12d
je LBB0_20
## %bb.16:
testl %r12d, %r12d
jne LBB0_29
LBB0_17:
movq _deprecated_selected_frame@GOTPCREL(%rip), %rbx
cmpq $0, (%rbx)
je LBB0_18
## %bb.19:
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _error
movq (%rbx), %rax
jmp LBB0_30
LBB0_18:
xorl %eax, %eax
jmp LBB0_30
LBB0_20:
xorl %eax, %eax
callq _get_current_frame
leaq -68(%rbp), %rsi
movq %rax, %rdi
callq _find_relative_frame
cmpl $0, -68(%rbp)
je LBB0_30
## %bb.21:
xorl %eax, %eax
callq _get_current_frame
movl -64(%rbp), %r14d
testq %rax, %rax
je LBB0_28
## %bb.22:
movq %rax, %rbx
.p2align 4, 0x90
LBB0_23: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
callq _get_frame_base
cmpl %r14d, %eax
je LBB0_25
## %bb.24: ## in Loop: Header=BB0_23 Depth=1
movq %rbx, %rdi
callq _get_prev_frame
movq %rax, %rbx
testq %rax, %rax
jne LBB0_23
jmp LBB0_28
.p2align 4, 0x90
LBB0_27: ## in Loop: Header=BB0_25 Depth=1
movq %rax, %rbx
movq %rax, %rdi
callq _get_frame_base
movl -64(%rbp), %r14d
cmpl %r14d, %eax
jne LBB0_28
LBB0_25: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
callq _get_prev_frame
testq %rax, %rax
jne LBB0_27
## %bb.26:
movl -64(%rbp), %r14d
LBB0_28:
movl %r14d, %edi
xorl %esi, %esi
callq _create_new_frame
jmp LBB0_30
LBB0_29:
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _error
## implicit-def: $rax
LBB0_30:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_32
## %bb.31:
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_32:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Too many args in frame specification"
.comm _xfree,4,2 ## @xfree
.comm _deprecated_selected_frame,8,3 ## @deprecated_selected_frame
L_.str.1: ## @.str.1
.asciz "No selected frame."
.comm _MAXARGS,4,2 ## @MAXARGS
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _parse_frame_specification ; -- Begin function parse_frame_specification
.p2align 2
_parse_frame_specification: ; @parse_frame_specification
.cfi_startproc
; %bb.0:
sub sp, sp, #112
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #24]
cbz x0, LBB0_17
; %bb.1:
add x20, x0, #1
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldrb w8, [x20, #-1]!
cmp w8, #32
b.eq LBB0_2
; %bb.3:
cbz w8, LBB0_17
; %bb.4:
mov x22, #0 ; =0x0
Lloh3:
adrp x23, _xfree@GOTPAGE
Lloh4:
ldr x23, [x23, _xfree@GOTPAGEOFF]
add x24, sp, #8
Lloh5:
adrp x19, l_.str@PAGE
Lloh6:
add x19, x19, l_.str@PAGEOFF
LBB0_5: ; =>This Loop Header: Depth=1
; Child Loop BB0_8 Depth 2
; Child Loop BB0_13 Depth 2
cmp x22, #4
b.lo LBB0_7
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
mov x0, x19
bl _error
LBB0_7: ; in Loop: Header=BB0_5 Depth=1
mov x1, #0 ; =0x0
sub x25, x20, #1
LBB0_8: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w8, [x20, x1]
orr w8, w8, #0x20
cmp w8, #32
b.eq LBB0_10
; %bb.9: ; in Loop: Header=BB0_8 Depth=2
add x1, x1, #1
add x25, x25, #1
b LBB0_8
LBB0_10: ; in Loop: Header=BB0_5 Depth=1
mov x0, x20
; kill: def $w1 killed $w1 killed $x1
bl _savestring
mov x21, x0
ldr w0, [x23]
mov x1, x21
bl _make_cleanup
mov x20, x0
mov x0, x21
bl _parse_and_eval
cbnz x22, LBB0_12
; %bb.11: ; in Loop: Header=BB0_5 Depth=1
mov x21, x0
bl _value_as_long
mov x8, x0
mov x0, x21
str w8, [sp, #4]
LBB0_12: ; in Loop: Header=BB0_5 Depth=1
bl _value_as_address
str w0, [x24, x22, lsl #2]
mov x0, x20
bl _do_cleanups
mov x20, x25
LBB0_13: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w8, [x20, #1]!
cmp w8, #32
b.eq LBB0_13
; %bb.14: ; in Loop: Header=BB0_5 Depth=1
add x22, x22, #1
cbnz w8, LBB0_5
; %bb.15:
cmp w22, #1
b.eq LBB0_20
; %bb.16:
cbnz w22, LBB0_29
LBB0_17:
Lloh7:
adrp x19, _deprecated_selected_frame@GOTPAGE
Lloh8:
ldr x19, [x19, _deprecated_selected_frame@GOTPAGEOFF]
ldr x8, [x19]
cbz x8, LBB0_19
; %bb.18:
Lloh9:
adrp x0, l_.str.1@PAGE
Lloh10:
add x0, x0, l_.str.1@PAGEOFF
bl _error
ldr x0, [x19]
b LBB0_30
LBB0_19:
mov x0, #0 ; =0x0
b LBB0_30
LBB0_20:
bl _get_current_frame
add x1, sp, #4
bl _find_relative_frame
ldr w8, [sp, #4]
cbz w8, LBB0_30
; %bb.21:
bl _get_current_frame
ldr w19, [sp, #8]
cbz x0, LBB0_28
; %bb.22:
mov x20, x0
LBB0_23: ; =>This Inner Loop Header: Depth=1
mov x0, x20
bl _get_frame_base
cmp w0, w19
b.eq LBB0_26
; %bb.24: ; in Loop: Header=BB0_23 Depth=1
mov x0, x20
bl _get_prev_frame
mov x20, x0
cbnz x0, LBB0_23
b LBB0_28
LBB0_25: ; in Loop: Header=BB0_26 Depth=1
mov x20, x0
bl _get_frame_base
ldr w19, [sp, #8]
cmp w0, w19
b.ne LBB0_28
LBB0_26: ; =>This Inner Loop Header: Depth=1
mov x0, x20
bl _get_prev_frame
cbnz x0, LBB0_25
; %bb.27:
ldr w19, [sp, #8]
LBB0_28:
mov x0, x19
mov w1, #0 ; =0x0
bl _create_new_frame
b LBB0_30
LBB0_29:
Lloh11:
adrp x0, l_.str@PAGE
Lloh12:
add x0, x0, l_.str@PAGEOFF
bl _error
; implicit-def: $x0
LBB0_30:
ldr x8, [sp, #24]
Lloh13:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh14:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_32
; %bb.31:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #112
ret
LBB0_32:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Too many args in frame specification"
.comm _xfree,4,2 ; @xfree
.comm _deprecated_selected_frame,8,3 ; @deprecated_selected_frame
l_.str.1: ; @.str.1
.asciz "No selected frame."
.comm _MAXARGS,4,2 ; @MAXARGS
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _br_i31_decode ## -- Begin function br_i31_decode
.p2align 4, 0x90
_br_i31_decode: ## @br_i31_decode
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
testq %rdx, %rdx
je LBB0_1
## %bb.2:
movq %rsi, %rax
movl $1, %esi
xorl %ecx, %ecx
xorl %edi, %edi
jmp LBB0_3
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_3 Depth=1
andl $2147483647, %edi ## imm = 0x7FFFFFFF
leal -23(%rcx), %r9d
notb %cl
## kill: def $cl killed $cl killed $rcx
shrl %cl, %r8d
movl %edi, (%rbx,%rsi,4)
incq %rsi
movl %r8d, %edi
movl %r9d, %ecx
decq %rdx
je LBB0_7
LBB0_3: ## =>This Inner Loop Header: Depth=1
movl %edi, %r9d
movzbl -1(%rax,%rdx), %r8d
movl %r8d, %edi
shll %cl, %edi
orl %r9d, %edi
cmpl $23, %ecx
jge LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
addl $8, %ecx
decq %rdx
jne LBB0_3
LBB0_7:
testl %ecx, %ecx
je LBB0_9
## %bb.8:
movl %edi, (%rbx,%rsi,4)
incq %rsi
jmp LBB0_9
LBB0_1:
movl $1, %esi
LBB0_9:
leaq -4(%rbx), %rdi
decq %rsi
callq _br_i31_bit_length
movl %eax, (%rbx)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _br_i31_decode ; -- Begin function br_i31_decode
.p2align 2
_br_i31_decode: ; @br_i31_decode
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
cbz x2, LBB0_7
; %bb.1:
mov w10, #0 ; =0x0
mov w11, #0 ; =0x0
sub x9, x1, #1
mov w8, #1 ; =0x1
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
and w11, w11, #0x7fffffff
str w11, [x19, x8, lsl #2]
add x8, x8, #1
mvn w10, w10
lsr w11, w13, w10
mov x10, x12
sub x2, x2, #1
cbz x2, LBB0_5
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldrb w13, [x9, x2]
lsl w12, w13, w10
orr w11, w12, w11
subs w12, w10, #23
b.ge LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
add w10, w10, #8
sub x2, x2, #1
cbnz x2, LBB0_3
LBB0_5:
cbz w10, LBB0_8
; %bb.6:
str w11, [x19, x8, lsl #2]
add x8, x8, #1
b LBB0_8
LBB0_7:
mov w8, #1 ; =0x1
LBB0_8:
sub x0, x19, #4
sub x1, x8, #1
bl _br_i31_bit_length
str w0, [x19]
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 TopoSort
_TopoSort: ## @TopoSort
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $72, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %rbx
movq %rdx, -80(%rbp) ## 8-byte Spill
movl %esi, %r14d
movq %rdi, -48(%rbp) ## 8-byte Spill
xorl %eax, %eax
callq _getMaxDumpId
## kill: def $eax killed $eax def $rax
movl %r14d, (%rbx)
testl %r14d, %r14d
jle LBB0_1
## %bb.11:
movq %rbx, -96(%rbp) ## 8-byte Spill
leal (,%r14,4), %edi
movq %rax, -56(%rbp) ## 8-byte Spill
callq _pg_malloc
movq %rax, -64(%rbp) ## 8-byte Spill
movq -56(%rbp), %rax ## 8-byte Reload
leal 4(,%rax,4), %ebx
movl %ebx, %edi
callq _pg_malloc0
movq %rax, %r13
movl %ebx, %edi
callq _pg_malloc
movq -56(%rbp), %r8 ## 8-byte Reload
movq %rax, -72(%rbp) ## 8-byte Spill
movq %r14, -104(%rbp) ## 8-byte Spill
movl %r14d, %r14d
xorl %ebx, %ebx
movq %r14, -88(%rbp) ## 8-byte Spill
jmp LBB0_12
.p2align 4, 0x90
LBB0_19: ## in Loop: Header=BB0_12 Depth=1
decq %rbx
movq -88(%rbp), %r14 ## 8-byte Reload
cmpq %r14, %rbx
jg LBB0_2
LBB0_12: ## =>This Loop Header: Depth=1
## Child Loop BB0_16 Depth 2
movq -48(%rbp), %rax ## 8-byte Reload
movq (%rax,%rbx,8), %r12
movl (%r12), %r15d
testl %r15d, %r15d
setle %al
cmpl %r8d, %r15d
setg %cl
andb %al, %cl
cmpb $1, %cl
jne LBB0_14
## %bb.13: ## in Loop: Header=BB0_12 Depth=1
leaq L_.str(%rip), %rdi
movl %r15d, %esi
callq _fatal
movq -56(%rbp), %r8 ## 8-byte Reload
LBB0_14: ## in Loop: Header=BB0_12 Depth=1
movslq %r15d, %rax
movq -72(%rbp), %rcx ## 8-byte Reload
movl %ebx, (%rcx,%rax,4)
cmpl $0, 4(%r12)
jle LBB0_19
## %bb.15: ## in Loop: Header=BB0_12 Depth=1
xorl %r14d, %r14d
jmp LBB0_16
.p2align 4, 0x90
LBB0_18: ## in Loop: Header=BB0_16 Depth=2
movslq %r15d, %rax
incl (%r13,%rax,4)
incq %r14
movslq 4(%r12), %rax
cmpq %rax, %r14
jge LBB0_19
LBB0_16: ## Parent Loop BB0_12 Depth=1
## => This Inner Loop Header: Depth=2
movq 8(%r12), %rax
movl (%rax,%r14,4), %r15d
testl %r15d, %r15d
setle %al
cmpl %r8d, %r15d
setg %cl
orb %al, %cl
cmpb $1, %cl
jne LBB0_18
## %bb.17: ## in Loop: Header=BB0_16 Depth=2
leaq L_.str.1(%rip), %rdi
movl %r15d, %esi
callq _fatal
movq -56(%rbp), %r8 ## 8-byte Reload
jmp LBB0_18
LBB0_2:
cmpl $1, -104(%rbp) ## 4-byte Folded Reload
jne LBB0_20
## %bb.3:
xorl %r12d, %r12d
movq %r14, %rax
LBB0_4:
testb $1, %r14b
je LBB0_7
## %bb.5:
movq -48(%rbp), %rcx ## 8-byte Reload
movq -8(%rcx,%rax,8), %rcx
movslq (%rcx), %rcx
cmpl $0, (%r13,%rcx,4)
je LBB0_6
LBB0_7:
testl %r12d, %r12d
jg LBB0_27
jmp LBB0_8
LBB0_1:
movl $1, %r12d
jmp LBB0_46
LBB0_20:
movl %r14d, %ecx
andl $2147483646, %ecx ## imm = 0x7FFFFFFE
xorl %r12d, %r12d
movq %r14, %rax
jmp LBB0_21
.p2align 4, 0x90
LBB0_25: ## in Loop: Header=BB0_21 Depth=1
addq $-2, %rax
addq $-2, %rcx
je LBB0_4
LBB0_21: ## =>This Inner Loop Header: Depth=1
movq -48(%rbp), %rdx ## 8-byte Reload
movq -8(%rdx,%rax,8), %rdx
movslq (%rdx), %rdx
cmpl $0, (%r13,%rdx,4)
jne LBB0_23
## %bb.22: ## in Loop: Header=BB0_21 Depth=1
movslq %r12d, %rdx
incl %r12d
leal -1(%rax), %esi
movq -64(%rbp), %rdi ## 8-byte Reload
movl %esi, (%rdi,%rdx,4)
LBB0_23: ## in Loop: Header=BB0_21 Depth=1
movq -48(%rbp), %rdx ## 8-byte Reload
movq -16(%rdx,%rax,8), %rdx
movslq (%rdx), %rdx
cmpl $0, (%r13,%rdx,4)
jne LBB0_25
## %bb.24: ## in Loop: Header=BB0_21 Depth=1
movslq %r12d, %rdx
incl %r12d
leal -2(%rax), %esi
movq -64(%rbp), %rdi ## 8-byte Reload
movl %esi, (%rdi,%rdx,4)
jmp LBB0_25
LBB0_6:
decq %rax
movslq %r12d, %rcx
incl %r12d
movq -64(%rbp), %rdx ## 8-byte Reload
movl %eax, (%rdx,%rcx,4)
testl %r12d, %r12d
jg LBB0_27
jmp LBB0_8
.p2align 4, 0x90
LBB0_28: ## in Loop: Header=BB0_27 Depth=1
movq -56(%rbp), %r8 ## 8-byte Reload
LBB0_26: ## in Loop: Header=BB0_27 Depth=1
movq -88(%rbp), %r14 ## 8-byte Reload
decq %r14
testl %r12d, %r12d
jle LBB0_33
LBB0_27: ## =>This Loop Header: Depth=1
## Child Loop BB0_30 Depth 2
movl %r12d, %esi
leal -1(%rsi), %r12d
movq -64(%rbp), %rdi ## 8-byte Reload
## kill: def $esi killed $esi killed $rsi
callq _removeHeapElement
cltq
movq -48(%rbp), %rcx ## 8-byte Reload
movq (%rcx,%rax,8), %rbx
movq -80(%rbp), %rax ## 8-byte Reload
movq %r14, -88(%rbp) ## 8-byte Spill
movq %rbx, -8(%rax,%r14,8)
cmpl $0, 4(%rbx)
jle LBB0_28
## %bb.29: ## in Loop: Header=BB0_27 Depth=1
xorl %r15d, %r15d
movq -56(%rbp), %r8 ## 8-byte Reload
jmp LBB0_30
.p2align 4, 0x90
LBB0_32: ## in Loop: Header=BB0_30 Depth=2
incq %r15
movslq 4(%rbx), %rax
cmpq %rax, %r15
jge LBB0_26
LBB0_30: ## Parent Loop BB0_27 Depth=1
## => This Inner Loop Header: Depth=2
movq 8(%rbx), %rax
movslq (%rax,%r15,4), %rax
decl (%r13,%rax,4)
jne LBB0_32
## %bb.31: ## in Loop: Header=BB0_30 Depth=2
movq -72(%rbp), %rcx ## 8-byte Reload
movl (%rcx,%rax,4), %edi
leal 1(%r12), %r14d
movq -64(%rbp), %rsi ## 8-byte Reload
movl %r12d, %edx
callq _addHeapElement
movq -56(%rbp), %r8 ## 8-byte Reload
movl %r14d, %r12d
jmp LBB0_32
LBB0_33:
testq %r14, %r14
je LBB0_34
LBB0_8:
xorl %r12d, %r12d
movl $0, %eax
testl %r8d, %r8d
jle LBB0_44
## %bb.9:
movl %r8d, %ecx
cmpl $1, %r8d
jne LBB0_35
## %bb.10:
xorl %eax, %eax
movl $1, %edx
LBB0_41:
testb $1, %cl
je LBB0_44
## %bb.42:
cmpl $0, (%r13,%rdx,4)
je LBB0_44
## %bb.43:
movq -72(%rbp), %rcx ## 8-byte Reload
movslq (%rcx,%rdx,4), %rcx
movq -48(%rbp), %rdx ## 8-byte Reload
movq (%rdx,%rcx,8), %rcx
movslq %eax, %rdx
incl %eax
movq -80(%rbp), %rsi ## 8-byte Reload
movq %rcx, (%rsi,%rdx,8)
LBB0_44:
movq -96(%rbp), %rcx ## 8-byte Reload
movl %eax, (%rcx)
jmp LBB0_45
LBB0_35:
movl %ecx, %esi
andl $2147483646, %esi ## imm = 0x7FFFFFFE
negq %rsi
xorl %eax, %eax
movl $1, %edx
jmp LBB0_36
.p2align 4, 0x90
LBB0_40: ## in Loop: Header=BB0_36 Depth=1
leaq (%rsi,%rdx), %rdi
addq $2, %rdi
addq $2, %rdx
cmpq $1, %rdi
je LBB0_41
LBB0_36: ## =>This Inner Loop Header: Depth=1
cmpl $0, (%r13,%rdx,4)
je LBB0_38
## %bb.37: ## in Loop: Header=BB0_36 Depth=1
movq -72(%rbp), %rdi ## 8-byte Reload
movslq (%rdi,%rdx,4), %rdi
movq -48(%rbp), %r8 ## 8-byte Reload
movq (%r8,%rdi,8), %rdi
movslq %eax, %r8
incl %eax
movq -80(%rbp), %r9 ## 8-byte Reload
movq %rdi, (%r9,%r8,8)
LBB0_38: ## in Loop: Header=BB0_36 Depth=1
cmpl $0, 4(%r13,%rdx,4)
je LBB0_40
## %bb.39: ## in Loop: Header=BB0_36 Depth=1
movq -72(%rbp), %rdi ## 8-byte Reload
movslq 4(%rdi,%rdx,4), %rdi
movq -48(%rbp), %r8 ## 8-byte Reload
movq (%r8,%rdi,8), %rdi
movslq %eax, %r8
incl %eax
movq -80(%rbp), %r9 ## 8-byte Reload
movq %rdi, (%r9,%r8,8)
jmp LBB0_40
LBB0_34:
movl $1, %r12d
LBB0_45:
movq -64(%rbp), %rdi ## 8-byte Reload
callq _free
movq %r13, %rdi
callq _free
movq -72(%rbp), %rdi ## 8-byte Reload
callq _free
LBB0_46:
movl %r12d, %eax
addq $72, %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 "invalid dumpId %d"
L_.str.1: ## @.str.1
.asciz "invalid dependency %d"
.no_dead_strip _TopoSort
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function TopoSort
_TopoSort: ; @TopoSort
.cfi_startproc
; %bb.0:
sub sp, sp, #128
stp x28, x27, [sp, #32] ; 16-byte Folded Spill
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x3
mov x20, x2
mov x26, x1
mov x28, x0
bl _getMaxDumpId
str w26, [x19]
cmp w26, #1
b.lt LBB0_28
; %bb.1:
mov x25, x0
stp x19, x20, [sp, #8] ; 16-byte Folded Spill
lsl w0, w26, #2
bl _pg_malloc
mov x20, x0
lsl w19, w25, #2
add w0, w19, #4
bl _pg_malloc0
mov x21, x0
add w0, w19, #4
bl _pg_malloc
mov x23, x0
mov x27, #0 ; =0x0
mov w8, w26
str x8, [sp, #24] ; 8-byte Folded Spill
Lloh0:
adrp x26, l_.str.1@PAGE
Lloh1:
add x26, x26, l_.str.1@PAGEOFF
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
sub x27, x27, #1
ldr x8, [sp, #24] ; 8-byte Folded Reload
cmp x27, x8
mov x28, x19
b.gt LBB0_10
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_8 Depth 2
mov x19, x28
ldr x22, [x28, x27, lsl #3]
ldr w8, [x22]
sxtw x28, w8
cmp w8, #0
ccmp w8, w25, #4, le
b.le LBB0_5
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
Lloh2:
adrp x0, l_.str@PAGE
Lloh3:
add x0, x0, l_.str@PAGEOFF
mov x1, x28
bl _fatal
LBB0_5: ; in Loop: Header=BB0_3 Depth=1
str w27, [x23, x28, lsl #2]
ldr w8, [x22, #4]
cmp w8, #1
b.lt LBB0_2
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
mov x24, #0 ; =0x0
b LBB0_8
LBB0_7: ; in Loop: Header=BB0_8 Depth=2
ldr w8, [x21, x28, lsl #2]
add w8, w8, #1
str w8, [x21, x28, lsl #2]
add x24, x24, #1
ldrsw x8, [x22, #4]
cmp x24, x8
b.ge LBB0_2
LBB0_8: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [x22, #8]
ldr w8, [x8, x24, lsl #2]
sxtw x28, w8
cmp w8, #1
ccmp w8, w25, #0, ge
b.le LBB0_7
; %bb.9: ; in Loop: Header=BB0_8 Depth=2
mov x0, x26
mov x1, x28
bl _fatal
b LBB0_7
LBB0_10:
mov w2, #0 ; =0x0
sub x8, x28, #8
ldp x27, x19, [sp, #16] ; 16-byte Folded Reload
mov x9, x19
b LBB0_12
LBB0_11: ; in Loop: Header=BB0_12 Depth=1
sub x9, x9, #1
add x10, x9, #1
cmp x10, #1
b.ls LBB0_14
LBB0_12: ; =>This Inner Loop Header: Depth=1
ldr x10, [x8, x9, lsl #3]
ldrsw x10, [x10]
ldr w10, [x21, x10, lsl #2]
cbnz w10, LBB0_11
; %bb.13: ; in Loop: Header=BB0_12 Depth=1
sub w10, w9, #1
str w10, [x20, w2, sxtw #2]
add w2, w2, #1
b LBB0_11
LBB0_14:
cmp w2, #1
b.ge LBB0_17
b LBB0_23
LBB0_15: ; in Loop: Header=BB0_17 Depth=1
mov x2, x24
LBB0_16: ; in Loop: Header=BB0_17 Depth=1
cmp w2, #1
b.lt LBB0_22
LBB0_17: ; =>This Loop Header: Depth=1
; Child Loop BB0_20 Depth 2
mov x1, x2
sub w24, w2, #1
mov x0, x20
bl _removeHeapElement
ldr x22, [x28, w0, sxtw #3]
sub x19, x19, #1
str x22, [x27, x19, lsl #3]
ldr w8, [x22, #4]
cmp w8, #1
b.lt LBB0_15
; %bb.18: ; in Loop: Header=BB0_17 Depth=1
mov x26, #0 ; =0x0
mov x2, x24
b LBB0_20
LBB0_19: ; in Loop: Header=BB0_20 Depth=2
add x26, x26, #1
ldrsw x8, [x22, #4]
cmp x26, x8
b.ge LBB0_16
LBB0_20: ; Parent Loop BB0_17 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [x22, #8]
ldrsw x8, [x8, x26, lsl #2]
ldr w9, [x21, x8, lsl #2]
subs w9, w9, #1
str w9, [x21, x8, lsl #2]
b.ne LBB0_19
; %bb.21: ; in Loop: Header=BB0_20 Depth=2
ldr w0, [x23, x8, lsl #2]
add w24, w2, #1
mov x1, x20
bl _addHeapElement
mov x2, x24
b LBB0_19
LBB0_22:
cbz x19, LBB0_31
LBB0_23:
cmp w25, #1
b.lt LBB0_29
; %bb.24:
mov w8, #0 ; =0x0
add w11, w25, #1
add x9, x23, #4
add x10, x21, #4
sub x11, x11, #1
ldr x13, [sp, #8] ; 8-byte Folded Reload
b LBB0_26
LBB0_25: ; in Loop: Header=BB0_26 Depth=1
add x9, x9, #4
subs x11, x11, #1
b.eq LBB0_30
LBB0_26: ; =>This Inner Loop Header: Depth=1
ldr w12, [x10], #4
cbz w12, LBB0_25
; %bb.27: ; in Loop: Header=BB0_26 Depth=1
ldrsw x12, [x9]
ldr x12, [x28, x12, lsl #3]
str x12, [x27, w8, sxtw #3]
add w8, w8, #1
b LBB0_25
LBB0_28:
mov w22, #1 ; =0x1
b LBB0_33
LBB0_29:
mov w8, #0 ; =0x0
ldr x13, [sp, #8] ; 8-byte Folded Reload
LBB0_30:
mov w22, #0 ; =0x0
str w8, [x13]
b LBB0_32
LBB0_31:
mov w22, #1 ; =0x1
LBB0_32:
mov x0, x20
bl _free
mov x0, x21
bl _free
mov x0, x23
bl _free
LBB0_33:
mov x0, x22
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
ldp x28, x27, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #128
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "invalid dumpId %d"
l_.str.1: ; @.str.1
.asciz "invalid dependency %d"
.no_dead_strip _TopoSort
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _TryMergeLeaves ## -- Begin function TryMergeLeaves
.p2align 4, 0x90
_TryMergeLeaves: ## @TryMergeLeaves
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edi, %r14d
movslq %edi, %rcx
movl %esi, -52(%rbp) ## 4-byte Spill
movslq %esi, %rax
xorl %edx, %edx
movq _faceleafs@GOTPCREL(%rip), %rsi
shlq $4, %rcx
shlq $4, %rax
movq %rax, -48(%rbp) ## 8-byte Spill
movq %rcx, -64(%rbp) ## 8-byte Spill
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_5 Depth 2
## Child Loop BB0_9 Depth 3
## Child Loop BB0_15 Depth 3
movq _leafs@GOTPCREL(%rip), %rax
subl $1, %edx
jae LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq %rsi, %rax
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movq (%rax), %rdi
cmpl $0, (%rdi,%rcx)
jle LBB0_1
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
movq %rdx, -72(%rbp) ## 8-byte Spill
addq %rcx, %rdi
xorl %ebx, %ebx
movq %rdi, -80(%rbp) ## 8-byte Spill
jmp LBB0_5
.p2align 4, 0x90
LBB0_19: ## in Loop: Header=BB0_5 Depth=2
incq %rbx
movq -80(%rbp), %rdi ## 8-byte Reload
movslq (%rdi), %rax
cmpq %rax, %rbx
movq _faceleafs@GOTPCREL(%rip), %rsi
jge LBB0_6
LBB0_5: ## Parent Loop BB0_1 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_9 Depth 3
## Child Loop BB0_15 Depth 3
movq 8(%rdi), %rax
movq (%rax,%rbx,8), %r15
movl -52(%rbp), %eax ## 4-byte Reload
cmpl %eax, (%r15)
je LBB0_6
## %bb.7: ## in Loop: Header=BB0_5 Depth=2
movq (%rsi), %r12
movq -48(%rbp), %rax ## 8-byte Reload
movl (%r12,%rax), %eax
testl %eax, %eax
jle LBB0_13
## %bb.8: ## in Loop: Header=BB0_5 Depth=2
addq -48(%rbp), %r12 ## 8-byte Folded Reload
xorl %r13d, %r13d
jmp LBB0_9
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_9 Depth=3
incq %r13
movslq %eax, %rcx
cmpq %rcx, %r13
jge LBB0_13
LBB0_9: ## Parent Loop BB0_1 Depth=1
## Parent Loop BB0_5 Depth=2
## => This Inner Loop Header: Depth=3
movq 8(%r12), %rcx
movq (%rcx,%r13,8), %rcx
cmpl %r14d, (%rcx)
je LBB0_12
## %bb.10: ## in Loop: Header=BB0_9 Depth=3
movl 8(%r15), %edi
movl 12(%r15), %r8d
movl 16(%r15), %edx
movl 8(%rcx), %esi
movl 12(%rcx), %r9d
movl 16(%rcx), %ecx
callq _Winding_PlanesConcave
testq %rax, %rax
jne LBB0_20
## %bb.11: ## in Loop: Header=BB0_9 Depth=3
movl (%r12), %eax
jmp LBB0_12
.p2align 4, 0x90
LBB0_13: ## in Loop: Header=BB0_5 Depth=2
movq _leafs@GOTPCREL(%rip), %rax
movq (%rax), %r12
movq -48(%rbp), %rax ## 8-byte Reload
movl (%r12,%rax), %eax
testl %eax, %eax
jle LBB0_19
## %bb.14: ## in Loop: Header=BB0_5 Depth=2
addq -48(%rbp), %r12 ## 8-byte Folded Reload
xorl %r13d, %r13d
jmp LBB0_15
.p2align 4, 0x90
LBB0_18: ## in Loop: Header=BB0_15 Depth=3
incq %r13
movslq %eax, %rcx
cmpq %rcx, %r13
jge LBB0_19
LBB0_15: ## Parent Loop BB0_1 Depth=1
## Parent Loop BB0_5 Depth=2
## => This Inner Loop Header: Depth=3
movq 8(%r12), %rcx
movq (%rcx,%r13,8), %rcx
cmpl %r14d, (%rcx)
je LBB0_18
## %bb.16: ## in Loop: Header=BB0_15 Depth=3
movl 8(%r15), %edi
movl 12(%r15), %r8d
movl 16(%r15), %edx
movl 8(%rcx), %esi
movl 12(%rcx), %r9d
movl 16(%rcx), %ecx
callq _Winding_PlanesConcave
testq %rax, %rax
jne LBB0_20
## %bb.17: ## in Loop: Header=BB0_15 Depth=3
movl (%r12), %eax
jmp LBB0_18
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movq -64(%rbp), %rcx ## 8-byte Reload
movq -72(%rbp), %rdx ## 8-byte Reload
jmp LBB0_1
LBB0_20:
movq _qfalse@GOTPCREL(%rip), %rax
movl (%rax), %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MAX_PORTALS_ON_LEAF,4,2 ## @MAX_PORTALS_ON_LEAF
.comm _leafs,8,3 ## @leafs
.comm _faceleafs,8,3 ## @faceleafs
.comm _qfalse,4,2 ## @qfalse
.comm _qtrue,4,2 ## @qtrue
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _TryMergeLeaves ; -- Begin function TryMergeLeaves
.p2align 2
_TryMergeLeaves: ; @TryMergeLeaves
.cfi_startproc
; %bb.0:
sub sp, sp, #112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x1
mov x20, x0
mov w11, #0 ; =0x0
sxtw x9, w20
sxtw x23, w19
Lloh0:
adrp x8, _leafs@GOTPAGE
Lloh1:
ldr x8, [x8, _leafs@GOTPAGEOFF]
Lloh2:
adrp x10, _faceleafs@GOTPAGE
Lloh3:
ldr x10, [x10, _faceleafs@GOTPAGEOFF]
str x9, [sp] ; 8-byte Folded Spill
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_4 Depth 2
; Child Loop BB0_8 Depth 3
; Child Loop BB0_14 Depth 3
str w11, [sp, #12] ; 4-byte Folded Spill
cmp w11, #0
mov x25, x8
csel x8, x10, x8, eq
ldr x8, [x8]
add x26, x8, x9, lsl #4
ldr w8, [x26]
cmp w8, #1
b.lt LBB0_17
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
mov x27, #0 ; =0x0
b LBB0_4
LBB0_3: ; in Loop: Header=BB0_4 Depth=2
add x27, x27, #1
ldrsw x8, [x26]
cmp x27, x8
mov x10, x21
b.ge LBB0_17
LBB0_4: ; Parent Loop BB0_1 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_8 Depth 3
; Child Loop BB0_14 Depth 3
ldr x8, [x26, #8]
ldr x28, [x8, x27, lsl #3]
ldr w8, [x28]
cmp w8, w19
b.eq LBB0_17
; %bb.5: ; in Loop: Header=BB0_4 Depth=2
mov x21, x10
ldr x8, [x10]
add x24, x8, x23, lsl #4
ldr w8, [x24]
cmp w8, #1
b.lt LBB0_11
; %bb.6: ; in Loop: Header=BB0_4 Depth=2
mov x22, #0 ; =0x0
b LBB0_8
LBB0_7: ; in Loop: Header=BB0_8 Depth=3
add x22, x22, #1
cmp x22, w8, sxtw
b.ge LBB0_11
LBB0_8: ; Parent Loop BB0_1 Depth=1
; Parent Loop BB0_4 Depth=2
; => This Inner Loop Header: Depth=3
ldr x9, [x24, #8]
ldr x9, [x9, x22, lsl #3]
ldr w10, [x9]
cmp w10, w20
b.eq LBB0_7
; %bb.9: ; in Loop: Header=BB0_8 Depth=3
ldp w4, w2, [x28, #12]
ldp w5, w3, [x9, #12]
ldr w0, [x28, #8]
ldr w1, [x9, #8]
bl _Winding_PlanesConcave
cbnz x0, LBB0_18
; %bb.10: ; in Loop: Header=BB0_8 Depth=3
ldr w8, [x24]
b LBB0_7
LBB0_11: ; in Loop: Header=BB0_4 Depth=2
ldr x8, [x25]
add x24, x8, x23, lsl #4
ldr w8, [x24]
cmp w8, #1
b.lt LBB0_3
; %bb.12: ; in Loop: Header=BB0_4 Depth=2
mov x22, #0 ; =0x0
b LBB0_14
LBB0_13: ; in Loop: Header=BB0_14 Depth=3
add x22, x22, #1
cmp x22, w8, sxtw
b.ge LBB0_3
LBB0_14: ; Parent Loop BB0_1 Depth=1
; Parent Loop BB0_4 Depth=2
; => This Inner Loop Header: Depth=3
ldr x9, [x24, #8]
ldr x9, [x9, x22, lsl #3]
ldr w10, [x9]
cmp w10, w20
b.eq LBB0_13
; %bb.15: ; in Loop: Header=BB0_14 Depth=3
ldp w4, w2, [x28, #12]
ldp w5, w3, [x9, #12]
ldr w0, [x28, #8]
ldr w1, [x9, #8]
bl _Winding_PlanesConcave
cbnz x0, LBB0_18
; %bb.16: ; in Loop: Header=BB0_14 Depth=3
ldr w8, [x24]
b LBB0_13
LBB0_17: ; in Loop: Header=BB0_1 Depth=1
ldr w11, [sp, #12] ; 4-byte Folded Reload
sub w11, w11, #1
ldr x9, [sp] ; 8-byte Folded Reload
mov x8, x25
b LBB0_1
LBB0_18:
Lloh4:
adrp x8, _qfalse@GOTPAGE
Lloh5:
ldr x8, [x8, _qfalse@GOTPAGEOFF]
Lloh6:
ldr w0, [x8]
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _MAX_PORTALS_ON_LEAF,4,2 ; @MAX_PORTALS_ON_LEAF
.comm _leafs,8,3 ; @leafs
.comm _faceleafs,8,3 ; @faceleafs
.comm _qfalse,4,2 ; @qfalse
.comm _qtrue,4,2 ; @qtrue
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _vorbis_book_decodevv_add ## -- Begin function vorbis_book_decodevv_add
.p2align 4, 0x90
_vorbis_book_decodevv_add: ## @vorbis_book_decodevv_add
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r8, -64(%rbp) ## 8-byte Spill
cmpq $0, (%rdi)
jle LBB0_10
## %bb.1:
movq %rdx, %r13
movl 16(%rbp), %r14d
addl %r13d, %r9d
subl 8(%rdi), %r14d
movslq %r9d, %rbx
movl %ecx, -44(%rbp) ## 4-byte Spill
movq %rsi, -56(%rbp) ## 8-byte Spill
js LBB0_11
## %bb.2:
xorl %r9d, %r9d
cmpq %r13, %rbx
jl LBB0_21
## %bb.3:
xorl %r15d, %r15d
jmp LBB0_6
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_6 Depth=1
movq %r13, %rcx
LBB0_5: ## in Loop: Header=BB0_6 Depth=1
movq %rcx, %r13
cmpq %rbx, %rcx
jg LBB0_21
LBB0_6: ## =>This Loop Header: Depth=1
## Child Loop BB0_9 Depth 2
movq -64(%rbp), %rsi ## 8-byte Reload
movq %rdi, %r12
callq _decode_packed_entry_number
cmpq $-1, %rax
je LBB0_20
## %bb.7: ## in Loop: Header=BB0_6 Depth=1
movq 24(%r12), %rdx
cmpq %rbx, %r13
setl %cl
testq %rdx, %rdx
setg %sil
orb %cl, %sil
cmpb $1, %sil
movl $0, %r9d
movl -44(%rbp), %r10d ## 4-byte Reload
movq %r12, %rdi
jne LBB0_4
## %bb.8: ## in Loop: Header=BB0_6 Depth=1
imulq %rdx, %rax
shlq $2, %rax
addq 16(%rdi), %rax
movl $1, %esi
movq -56(%rbp), %r12 ## 8-byte Reload
.p2align 4, 0x90
LBB0_9: ## Parent Loop BB0_6 Depth=1
## => This Inner Loop Header: Depth=2
movl -4(%rax,%rsi,4), %r8d
movl %r14d, %ecx
sarl %cl, %r8d
movslq %r15d, %rcx
movq (%r12,%rcx,8), %rcx
addl %r8d, (%rcx,%r13,4)
incl %r15d
xorl %ecx, %ecx
cmpl %r10d, %r15d
sete %cl
cmovel %r9d, %r15d
addq %r13, %rcx
cmpq %rbx, %rcx
setl %r11b
cmpq %rdx, %rsi
setl %r8b
orb %r11b, %r8b
incq %rsi
movq %rcx, %r13
testb %r8b, %r8b
jne LBB0_9
jmp LBB0_5
LBB0_10:
xorl %r9d, %r9d
jmp LBB0_21
LBB0_11:
xorl %r9d, %r9d
cmpq %r13, %rbx
jle LBB0_21
## %bb.12:
negl %r14d
xorl %r15d, %r15d
jmp LBB0_14
.p2align 4, 0x90
LBB0_13: ## in Loop: Header=BB0_14 Depth=1
cmpq %rbx, %r13
jge LBB0_21
LBB0_14: ## =>This Loop Header: Depth=1
## Child Loop BB0_17 Depth 2
movq -64(%rbp), %rsi ## 8-byte Reload
movq %rdi, %r12
callq _decode_packed_entry_number
cmpq $-1, %rax
je LBB0_20
## %bb.15: ## in Loop: Header=BB0_14 Depth=1
movq 24(%r12), %rdx
cmpq %rbx, %r13
setl %cl
testq %rdx, %rdx
setg %sil
andb %cl, %sil
cmpb $1, %sil
movl $0, %r9d
movl -44(%rbp), %r10d ## 4-byte Reload
movq %r12, %rdi
jne LBB0_13
## %bb.16: ## in Loop: Header=BB0_14 Depth=1
imulq %rdx, %rax
shlq $2, %rax
addq 16(%rdi), %rax
movl $1, %esi
movq -56(%rbp), %r12 ## 8-byte Reload
.p2align 4, 0x90
LBB0_17: ## Parent Loop BB0_14 Depth=1
## => This Inner Loop Header: Depth=2
movq %r13, %r11
movl -4(%rax,%rsi,4), %r8d
movl %r14d, %ecx
shll %cl, %r8d
movslq %r15d, %rcx
movq (%r12,%rcx,8), %rcx
addl %r8d, (%rcx,%r13,4)
incl %r15d
xorl %r13d, %r13d
cmpl %r10d, %r15d
sete %r13b
cmovel %r9d, %r15d
addq %r11, %r13
cmpq %rbx, %r13
jge LBB0_13
## %bb.18: ## in Loop: Header=BB0_17 Depth=2
leaq 1(%rsi), %rcx
cmpq %rdx, %rsi
movq %rcx, %rsi
jl LBB0_17
jmp LBB0_13
LBB0_20:
movq $-1, %r9
LBB0_21:
movq %r9, %rax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _vorbis_book_decodevv_add ; -- Begin function vorbis_book_decodevv_add
.p2align 2
_vorbis_book_decodevv_add: ; @vorbis_book_decodevv_add
.cfi_startproc
; %bb.0:
ldr x8, [x0]
cmp x8, #1
b.lt LBB0_11
; %bb.1:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x4
mov x20, x3
mov x21, x2
mov x22, x1
mov x23, x0
ldr w8, [x0, #8]
add w9, w21, w5
sxtw x24, w9
subs w25, w6, w8
b.mi LBB0_12
; %bb.2:
cmp x24, x21
b.lt LBB0_21
; %bb.3:
mov w26, #0 ; =0x0
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
cmp x21, x24
b.gt LBB0_21
LBB0_5: ; =>This Loop Header: Depth=1
; Child Loop BB0_9 Depth 2
mov x0, x23
mov x1, x19
bl _decode_packed_entry_number
cmn x0, #1
b.eq LBB0_22
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
ldp x9, x8, [x23, #16]
cmp x21, x24
b.lt LBB0_8
; %bb.7: ; in Loop: Header=BB0_5 Depth=1
cmp x8, #1
b.lt LBB0_4
LBB0_8: ; in Loop: Header=BB0_5 Depth=1
mul x10, x8, x0
add x9, x9, x10, lsl #2
mov w11, #1 ; =0x1
LBB0_9: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
mov x10, x11
ldr w11, [x9], #4
ldr x12, [x22, w26, sxtw #3]
asr w11, w11, w25
ldr w13, [x12, x21, lsl #2]
add w11, w13, w11
str w11, [x12, x21, lsl #2]
add w11, w26, #1
cmp w11, w20
csinc w26, wzr, w26, eq
cinc x21, x21, eq
add x11, x10, #1
cmp x21, x24
b.lt LBB0_9
; %bb.10: ; in Loop: Header=BB0_9 Depth=2
cmp x10, x8
b.lt LBB0_9
b LBB0_4
LBB0_11:
mov x0, #0 ; =0x0
ret
LBB0_12:
cmp x24, x21
b.le LBB0_21
; %bb.13:
mov w26, #0 ; =0x0
neg w25, w25
b LBB0_15
LBB0_14: ; in Loop: Header=BB0_15 Depth=1
cmp x21, x24
b.ge LBB0_21
LBB0_15: ; =>This Loop Header: Depth=1
; Child Loop BB0_19 Depth 2
mov x0, x23
mov x1, x19
bl _decode_packed_entry_number
cmn x0, #1
b.eq LBB0_22
; %bb.16: ; in Loop: Header=BB0_15 Depth=1
cmp x21, x24
b.ge LBB0_14
; %bb.17: ; in Loop: Header=BB0_15 Depth=1
ldr x8, [x23, #24]
cmp x8, #1
b.lt LBB0_14
; %bb.18: ; in Loop: Header=BB0_15 Depth=1
ldr x9, [x23, #16]
mul x10, x8, x0
add x9, x9, x10, lsl #2
mov w10, #1 ; =0x1
LBB0_19: ; Parent Loop BB0_15 Depth=1
; => This Inner Loop Header: Depth=2
ldr w11, [x9], #4
lsl w11, w11, w25
add w12, w26, #1
ldr x13, [x22, w26, sxtw #3]
ldr w14, [x13, x21, lsl #2]
add w11, w14, w11
str w11, [x13, x21, lsl #2]
cmp w12, w20
csinc w26, wzr, w26, eq
cinc x21, x21, eq
cmp x21, x24
b.ge LBB0_14
; %bb.20: ; in Loop: Header=BB0_19 Depth=2
add x11, x10, #1
cmp x10, x8
mov x10, x11
b.lt LBB0_19
b LBB0_14
LBB0_21:
mov x0, #0 ; =0x0
LBB0_22:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl __printbits ## -- Begin function _printbits
.p2align 4, 0x90
__printbits: ## @_printbits
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
jmp LBB0_1
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl __printbits ; -- Begin function _printbits
.p2align 2
__printbits: ; @_printbits
.cfi_startproc
; %bb.0:
LBB0_1: ; =>This Inner Loop Header: Depth=1
b LBB0_1
.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 findTerm
_findTerm: ## @findTerm
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $184, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r9, %r14
movl %r8d, %r13d
movl %ecx, -152(%rbp) ## 4-byte Spill
movl %edx, %r15d
movl %esi, %ebx
movq %rdi, %r12
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movl %esi, %edi
notl %edi
shrl $31, %edi
callq _assert
movl %ebx, -168(%rbp) ## 4-byte Spill
movl %ebx, -144(%rbp)
movl %r15d, -140(%rbp)
testl %r15d, %r15d
setns %al
testq %r14, %r14
setne %cl
andb %al, %cl
movb %cl, -145(%rbp) ## 1-byte Spill
movl %r15d, %eax
movq %rax, -224(%rbp) ## 8-byte Spill
movl $2, %ebx
movl $2, %eax
movq %rax, -192(%rbp) ## 8-byte Spill
movq $0, -184(%rbp) ## 8-byte Folded Spill
movl %r15d, -160(%rbp) ## 4-byte Spill
movl %r15d, -164(%rbp) ## 4-byte Spill
movq %r14, -176(%rbp) ## 8-byte Spill
movl %r13d, -156(%rbp) ## 4-byte Spill
movq %r12, -208(%rbp) ## 8-byte Spill
testq %r12, %r12
je LBB0_34
LBB0_2:
movl -152(%rbp), %r14d ## 4-byte Reload
jmp LBB0_3
.p2align 4, 0x90
LBB0_33: ## in Loop: Header=BB0_3 Depth=1
movq -200(%rbp), %r12 ## 8-byte Reload
movq 24(%r12), %r12
testq %r12, %r12
je LBB0_34
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_5 Depth 2
## Child Loop BB0_21 Depth 3
movl (%r12), %r15d
testl %r15d, %r15d
movq %r12, -200(%rbp) ## 8-byte Spill
je LBB0_33
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq 16(%r12), %r12
jmp LBB0_5
LBB0_18: ## in Loop: Header=BB0_5 Depth=2
movl -156(%rbp), %r13d ## 4-byte Reload
.p2align 4, 0x90
LBB0_31: ## in Loop: Header=BB0_5 Depth=2
movl -152(%rbp), %r14d ## 4-byte Reload
LBB0_32: ## in Loop: Header=BB0_5 Depth=2
addq $32, %r12
incl %r15d
je LBB0_33
LBB0_5: ## Parent Loop BB0_3 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_21 Depth 3
movl -168(%rbp), %eax ## 4-byte Reload
cmpl %eax, (%r12)
je LBB0_7
## %bb.6: ## in Loop: Header=BB0_5 Depth=2
movl -164(%rbp), %eax ## 4-byte Reload
cmpl %eax, 24(%r12)
jne LBB0_32
LBB0_7: ## in Loop: Header=BB0_5 Depth=2
movl 4(%r12), %eax
testl %r14d, %eax
jne LBB0_27
## %bb.8: ## in Loop: Header=BB0_5 Depth=2
movl 8(%r12), %ecx
movq _WO_ALL@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
andl %r13d, %edx
testl %ecx, %edx
je LBB0_27
## %bb.9: ## in Loop: Header=BB0_5 Depth=2
cmpb $0, -145(%rbp) ## 1-byte Folded Reload
je LBB0_24
## %bb.10: ## in Loop: Header=BB0_5 Depth=2
movq _WO_ISNULL@GOTPCREL(%rip), %rdx
testl %ecx, (%rdx)
je LBB0_11
LBB0_24: ## in Loop: Header=BB0_5 Depth=2
testl %eax, %eax
jne LBB0_26
LBB0_25: ## in Loop: Header=BB0_5 Depth=2
movq _WO_EQ@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, 8(%r12)
jne LBB0_36
LBB0_26: ## in Loop: Header=BB0_5 Depth=2
movq -184(%rbp), %rax ## 8-byte Reload
testq %rax, %rax
cmoveq %r12, %rax
movq %rax, -184(%rbp) ## 8-byte Spill
LBB0_27: ## in Loop: Header=BB0_5 Depth=2
movq _WO_EQUIV@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, 8(%r12)
je LBB0_32
## %bb.28: ## in Loop: Header=BB0_5 Depth=2
leaq -144(%rbp), %rdi
callq _ArraySize
cmpl %eax, %ebx
jge LBB0_32
## %bb.29: ## in Loop: Header=BB0_5 Depth=2
movq 16(%r12), %rax
movl 24(%rax), %edi
callq _sqlite3ExprSkipCollate
movq %rax, %r14
movq 8(%rax), %rax
xorl %edi, %edi
movq _TK_COLUMN@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
sete %dil
callq _assert
testl %ebx, %ebx
movl $0, %eax
cmovgl %ebx, %eax
incl %eax
andl $2147483646, %eax ## imm = 0x7FFFFFFE
cmpl %ebx, %eax
jne LBB0_31
## %bb.30: ## in Loop: Header=BB0_5 Depth=2
movl 16(%r14), %eax
movl %ebx, %ecx
movl %eax, -144(%rbp,%rcx,4)
movl 20(%r14), %eax
movl %eax, -140(%rbp,%rcx,4)
addl $2, %ebx
jmp LBB0_31
LBB0_11: ## in Loop: Header=BB0_5 Depth=2
movq 16(%r12), %r14
movq -200(%rbp), %rax ## 8-byte Reload
movq 8(%rax), %r13
movq -176(%rbp), %rax ## 8-byte Reload
movq 24(%rax), %rax
movq (%rax), %rax
movq -224(%rbp), %rcx ## 8-byte Reload
movsbl (%rax,%rcx), %esi
movq %r14, %rdi
callq _sqlite3IndexAffinityOk
testl %eax, %eax
je LBB0_12
## %bb.13: ## in Loop: Header=BB0_5 Depth=2
movl (%r14), %edi
callq _assert
movl (%r14), %esi
movl 24(%r14), %edx
movq %r13, %rdi
callq _sqlite3BinaryCompareCollSeq
testq %rax, %rax
jne LBB0_15
## %bb.14: ## in Loop: Header=BB0_5 Depth=2
movq (%r13), %rax
movq (%rax), %rax
LBB0_15: ## in Loop: Header=BB0_5 Depth=2
movq %rax, -216(%rbp) ## 8-byte Spill
movq -176(%rbp), %rax ## 8-byte Reload
movq (%rax), %rax
movl -160(%rbp), %ecx ## 4-byte Reload
cmpl %ecx, (%rax)
jne LBB0_19
## %bb.16: ## in Loop: Header=BB0_5 Depth=2
xorl %eax, %eax
movq -176(%rbp), %r13 ## 8-byte Reload
jmp LBB0_17
LBB0_12: ## in Loop: Header=BB0_5 Depth=2
movl -152(%rbp), %r14d ## 4-byte Reload
movl -156(%rbp), %r13d ## 4-byte Reload
jmp LBB0_32
LBB0_19: ## in Loop: Header=BB0_5 Depth=2
xorl %r14d, %r14d
movq -176(%rbp), %r13 ## 8-byte Reload
.p2align 4, 0x90
LBB0_21: ## Parent Loop BB0_3 Depth=1
## Parent Loop BB0_5 Depth=2
## => This Inner Loop Header: Depth=3
movslq 8(%r13), %rax
xorl %edi, %edi
cmpq %rax, %r14
setge %dil
callq _NEVER
testq %rax, %rax
jne LBB0_22
## %bb.20: ## in Loop: Header=BB0_21 Depth=3
leaq 1(%r14), %rax
movq (%r13), %rcx
movl -160(%rbp), %edx ## 4-byte Reload
cmpl %edx, 4(%rcx,%r14,4)
movq %rax, %r14
jne LBB0_21
LBB0_17: ## in Loop: Header=BB0_5 Depth=2
movq -216(%rbp), %rcx ## 8-byte Reload
movl (%rcx), %edi
movq 16(%r13), %rcx
movl (%rcx,%rax,4), %esi
callq _sqlite3StrICmp
testq %rax, %rax
jne LBB0_18
## %bb.23: ## in Loop: Header=BB0_5 Depth=2
movl 4(%r12), %eax
movl -156(%rbp), %r13d ## 4-byte Reload
movl -152(%rbp), %r14d ## 4-byte Reload
testl %eax, %eax
jne LBB0_26
jmp LBB0_25
.p2align 4, 0x90
LBB0_34: ## =>This Inner Loop Header: Depth=1
movslq %ebx, %rax
movq -192(%rbp), %rcx ## 8-byte Reload
cmpq %rax, %rcx
jge LBB0_35
## %bb.38: ## in Loop: Header=BB0_34 Depth=1
movl -144(%rbp,%rcx,4), %eax
movl %eax, -168(%rbp) ## 4-byte Spill
movl -140(%rbp,%rcx,4), %eax
movl %eax, -164(%rbp) ## 4-byte Spill
addq $2, %rcx
movq %rcx, -192(%rbp) ## 8-byte Spill
movq -208(%rbp), %r12 ## 8-byte Reload
testq %r12, %r12
jne LBB0_2
jmp LBB0_34
LBB0_22:
xorl %r12d, %r12d
LBB0_36:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_39
## %bb.37:
movq %r12, %rax
addq $184, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_35:
movq -184(%rbp), %r12 ## 8-byte Reload
jmp LBB0_36
LBB0_39:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _WO_ALL,4,2 ## @WO_ALL
.comm _WO_ISNULL,4,2 ## @WO_ISNULL
.comm _WO_EQ,4,2 ## @WO_EQ
.comm _WO_EQUIV,4,2 ## @WO_EQUIV
.comm _TK_COLUMN,8,3 ## @TK_COLUMN
.no_dead_strip _findTerm
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function findTerm
_findTerm: ; @findTerm
.cfi_startproc
; %bb.0:
sub sp, sp, #240
stp x28, x27, [sp, #144] ; 16-byte Folded Spill
stp x26, x25, [sp, #160] ; 16-byte Folded Spill
stp x24, x23, [sp, #176] ; 16-byte Folded Spill
stp x22, x21, [sp, #192] ; 16-byte Folded Spill
stp x20, x19, [sp, #208] ; 16-byte Folded Spill
stp x29, x30, [sp, #224] ; 16-byte Folded Spill
add x29, sp, #224
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x5
str x5, [sp, #24] ; 8-byte Folded Spill
str w4, [sp, #44] ; 4-byte Folded Spill
mov x21, x3
mov x20, x2
mov x24, x1
mov x27, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-88]
mvn w8, w1
lsr w0, w8, #31
bl _assert
mov x28, #0 ; =0x0
stp w24, w20, [sp, #48]
cmp w20, #0
ccmp x19, #0, #4, ge
cset w8, ne
str w8, [sp, #36] ; 4-byte Folded Spill
mov w8, #2 ; =0x2
str x8, [sp, #8] ; 8-byte Folded Spill
Lloh3:
adrp x26, _WO_EQUIV@GOTPAGE
Lloh4:
ldr x26, [x26, _WO_EQUIV@GOTPAGEOFF]
str w20, [sp, #40] ; 4-byte Folded Spill
mov w22, #2 ; =0x2
str x27, [sp] ; 8-byte Folded Spill
cbnz x27, LBB0_4
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x9, [sp, #8] ; 8-byte Folded Reload
cmp x9, w22, sxtw
b.ge LBB0_34
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
add x8, sp, #48
add x8, x8, x9, lsl #2
add x9, x9, #2
str x9, [sp, #8] ; 8-byte Folded Spill
ldp w24, w20, [x8]
ldr x27, [sp] ; 8-byte Folded Reload
cbnz x27, LBB0_4
b LBB0_1
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
ldr x27, [x27, #24]
cbz x27, LBB0_1
LBB0_4: ; =>This Loop Header: Depth=1
; Child Loop BB0_8 Depth 2
; Child Loop BB0_27 Depth 3
ldr w23, [x27]
cbz w23, LBB0_3
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
ldr x25, [x27, #16]
b LBB0_8
LBB0_6: ; in Loop: Header=BB0_8 Depth=2
Lloh5:
adrp x26, _WO_EQUIV@GOTPAGE
Lloh6:
ldr x26, [x26, _WO_EQUIV@GOTPAGEOFF]
LBB0_7: ; in Loop: Header=BB0_8 Depth=2
add x25, x25, #32
adds w23, w23, #1
b.hs LBB0_3
LBB0_8: ; Parent Loop BB0_4 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_27 Depth 3
ldr w8, [x25]
cmp w8, w24
b.eq LBB0_10
; %bb.9: ; in Loop: Header=BB0_8 Depth=2
ldr w8, [x25, #24]
cmp w8, w20
b.ne LBB0_7
LBB0_10: ; in Loop: Header=BB0_8 Depth=2
ldr w8, [x25, #4]
tst w8, w21
b.ne LBB0_17
; %bb.11: ; in Loop: Header=BB0_8 Depth=2
ldr w9, [x25, #8]
Lloh7:
adrp x10, _WO_ALL@GOTPAGE
Lloh8:
ldr x10, [x10, _WO_ALL@GOTPAGEOFF]
Lloh9:
ldr w10, [x10]
ldr w11, [sp, #44] ; 4-byte Folded Reload
and w11, w11, w9
tst w10, w11
b.eq LBB0_17
; %bb.12: ; in Loop: Header=BB0_8 Depth=2
ldr w10, [sp, #36] ; 4-byte Folded Reload
cbz w10, LBB0_14
; %bb.13: ; in Loop: Header=BB0_8 Depth=2
Lloh10:
adrp x10, _WO_ISNULL@GOTPAGE
Lloh11:
ldr x10, [x10, _WO_ISNULL@GOTPAGEOFF]
Lloh12:
ldr w10, [x10]
tst w10, w9
b.eq LBB0_21
LBB0_14: ; in Loop: Header=BB0_8 Depth=2
cbnz w8, LBB0_16
LBB0_15: ; in Loop: Header=BB0_8 Depth=2
ldr w8, [x25, #8]
Lloh13:
adrp x9, _WO_EQ@GOTPAGE
Lloh14:
ldr x9, [x9, _WO_EQ@GOTPAGEOFF]
Lloh15:
ldr w9, [x9]
tst w9, w8
b.ne LBB0_32
LBB0_16: ; in Loop: Header=BB0_8 Depth=2
cmp x28, #0
csel x28, x25, x28, eq
LBB0_17: ; in Loop: Header=BB0_8 Depth=2
ldr w8, [x25, #8]
ldr w9, [x26]
tst w9, w8
b.eq LBB0_7
; %bb.18: ; in Loop: Header=BB0_8 Depth=2
add x0, sp, #48
bl _ArraySize
cmp w22, w0
b.ge LBB0_7
; %bb.19: ; in Loop: Header=BB0_8 Depth=2
ldr x8, [x25, #16]
ldr w0, [x8, #24]
bl _sqlite3ExprSkipCollate
mov x26, x0
ldr x8, [x0, #8]
Lloh16:
adrp x9, _TK_COLUMN@GOTPAGE
Lloh17:
ldr x9, [x9, _TK_COLUMN@GOTPAGEOFF]
Lloh18:
ldr x9, [x9]
cmp x8, x9
cset w0, eq
bl _assert
bic w8, w22, w22, asr #31
add w8, w8, #1
and w8, w8, #0x7ffffffe
cmp w8, w22
b.ne LBB0_6
; %bb.20: ; in Loop: Header=BB0_8 Depth=2
ldr w8, [x26, #16]
add x10, sp, #48
str w8, [x10, w22, uxtw #2]
ldr w8, [x26, #20]
orr w9, w22, #0x1
str w8, [x10, w9, uxtw #2]
add w22, w22, #2
b LBB0_6
LBB0_21: ; in Loop: Header=BB0_8 Depth=2
ldr x26, [x25, #16]
ldr x19, [x27, #8]
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x8, [x8, #24]
ldr x8, [x8]
ldr w9, [sp, #40] ; 4-byte Folded Reload
ldrsb w1, [x8, w9, uxtw]
mov x0, x26
bl _sqlite3IndexAffinityOk
cbz w0, LBB0_6
; %bb.22: ; in Loop: Header=BB0_8 Depth=2
ldr w0, [x26]
bl _assert
ldr w1, [x26]
ldr w2, [x26, #24]
mov x0, x19
bl _sqlite3BinaryCompareCollSeq
cbnz x0, LBB0_24
; %bb.23: ; in Loop: Header=BB0_8 Depth=2
ldr x8, [x19]
ldr x0, [x8]
LBB0_24: ; in Loop: Header=BB0_8 Depth=2
str x0, [sp, #16] ; 8-byte Folded Spill
ldr x19, [sp, #24] ; 8-byte Folded Reload
ldr x8, [x19]
ldr w8, [x8]
ldr w9, [sp, #40] ; 4-byte Folded Reload
cmp w8, w9
b.ne LBB0_26
; %bb.25: ; in Loop: Header=BB0_8 Depth=2
mov x8, #0 ; =0x0
b LBB0_29
LBB0_26: ; in Loop: Header=BB0_8 Depth=2
mov x26, #0 ; =0x0
LBB0_27: ; Parent Loop BB0_4 Depth=1
; Parent Loop BB0_8 Depth=2
; => This Inner Loop Header: Depth=3
ldrsw x8, [x19, #8]
cmp x26, x8
cset w0, ge
bl _NEVER
cbnz x0, LBB0_31
; %bb.28: ; in Loop: Header=BB0_27 Depth=3
add x8, x26, #1
ldr x9, [x19]
add x9, x9, x26, lsl #2
ldr w9, [x9, #4]
mov x26, x8
ldr w10, [sp, #40] ; 4-byte Folded Reload
cmp w9, w10
b.ne LBB0_27
LBB0_29: ; in Loop: Header=BB0_8 Depth=2
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr w0, [x9]
ldr x9, [x19, #16]
ldr w1, [x9, x8, lsl #2]
bl _sqlite3StrICmp
cbnz x0, LBB0_6
; %bb.30: ; in Loop: Header=BB0_8 Depth=2
ldr w8, [x25, #4]
Lloh19:
adrp x26, _WO_EQUIV@GOTPAGE
Lloh20:
ldr x26, [x26, _WO_EQUIV@GOTPAGEOFF]
cbnz w8, LBB0_16
b LBB0_15
LBB0_31:
mov x25, #0 ; =0x0
LBB0_32:
ldur x8, [x29, #-88]
Lloh21:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh22:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_35
; %bb.33:
mov x0, x25
ldp x29, x30, [sp, #224] ; 16-byte Folded Reload
ldp x20, x19, [sp, #208] ; 16-byte Folded Reload
ldp x22, x21, [sp, #192] ; 16-byte Folded Reload
ldp x24, x23, [sp, #176] ; 16-byte Folded Reload
ldp x26, x25, [sp, #160] ; 16-byte Folded Reload
ldp x28, x27, [sp, #144] ; 16-byte Folded Reload
add sp, sp, #240
ret
LBB0_34:
mov x25, x28
b LBB0_32
LBB0_35:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGot Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.cfi_endproc
; -- End function
.comm _WO_ALL,4,2 ; @WO_ALL
.comm _WO_ISNULL,4,2 ; @WO_ISNULL
.comm _WO_EQ,4,2 ; @WO_EQ
.comm _WO_EQUIV,4,2 ; @WO_EQUIV
.comm _TK_COLUMN,8,3 ; @TK_COLUMN
.no_dead_strip _findTerm
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function rsnd_dma_of_path
_rsnd_dma_of_path: ## @rsnd_dma_of_path
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $104, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r8, -104(%rbp) ## 8-byte Spill
movq %rcx, -120(%rbp) ## 8-byte Spill
movl %edx, -68(%rbp) ## 4-byte Spill
movq %rsi, %r12
movq %rdi, %r15
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq %rsi, %rdi
callq _rsnd_io_to_mod_src
movq %rax, -136(%rbp) ## 8-byte Spill
movq %r12, %rdi
callq _rsnd_io_to_mod_ctu
movq %rax, %r14
movq %r12, %rdi
callq _rsnd_io_to_mod_mix
movq %rax, %rbx
movq %r12, %rdi
callq _rsnd_io_to_mod_dvc
movq %rax, -96(%rbp) ## 8-byte Spill
movq _MOD_MAX@GOTPCREL(%rip), %rax
movl (%rax), %eax
shlq $3, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, -88(%rbp) ## 8-byte Spill
movq %r15, %rdi
callq _rsnd_mod_to_priv
movq %rax, %r13
movq %rax, %rdi
callq _rsnd_priv_to_dev
movq %rax, -112(%rbp) ## 8-byte Spill
movq %r13, %rdi
callq _rsnd_ssiu_of_node
movq %r12, %rdi
testq %rax, %rax
je LBB0_2
## %bb.1:
callq _rsnd_io_to_mod_ssiu
movq %rax, %r13
movq %r12, %rdi
callq _rsnd_io_to_mod_ssi
cmpq %r15, %rax
cmoveq %r13, %r15
jmp LBB0_3
LBB0_2:
callq _rsnd_io_to_mod_ssi
movq %rax, %r13
LBB0_3:
testq %r13, %r13
movq _MOD_MAX@GOTPCREL(%rip), %rax
je LBB0_41
## %bb.4:
cmpl $0, (%rax)
js LBB0_43
## %bb.5:
movq %r14, -64(%rbp) ## 8-byte Spill
movq %rbx, -56(%rbp) ## 8-byte Spill
movq %r13, -128(%rbp) ## 8-byte Spill
movq %r15, -80(%rbp) ## 8-byte Spill
xorl %r13d, %r13d
xorl %r14d, %r14d
movq -88(%rbp), %rbx ## 8-byte Reload
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
movl %r14d, %r15d
movq $0, (%rbx,%r13,8)
movq %r12, %rdi
movl %r13d, %esi
callq _rsnd_io_to_mod
cmpl $1, %eax
sbbl $-1, %r14d
leaq 1(%r13), %rcx
movq _MOD_MAX@GOTPCREL(%rip), %rdx
movslq (%rdx), %rdx
cmpq %rdx, %r13
movq %rcx, %r13
jl LBB0_6
## %bb.7:
xorl %ecx, %ecx
movl -68(%rbp), %r8d ## 4-byte Reload
testl %r8d, %r8d
movl $0, %edx
movq -128(%rbp), %r13 ## 8-byte Reload
cmoveq %r13, %rdx
cmovneq %r13, %rcx
movq %rdx, (%rbx)
movl $1, %r9d
cmpl $2, %r14d
jb LBB0_33
## %bb.8:
movq -136(%rbp), %rdi ## 8-byte Reload
testq %rdi, %rdi
je LBB0_10
## %bb.9:
movq -96(%rbp), %rsi ## 8-byte Reload
jmp LBB0_17
LBB0_43:
xorl %ecx, %ecx
movl -68(%rbp), %r8d ## 4-byte Reload
testl %r8d, %r8d
movl $0, %eax
cmoveq %r13, %rax
cmovneq %r13, %rcx
movq -88(%rbp), %rbx ## 8-byte Reload
movq %rax, (%rbx)
movl $1, %r9d
jmp LBB0_34
LBB0_10:
movq -64(%rbp), %rdx ## 8-byte Reload
testq %rdx, %rdx
movq -96(%rbp), %rsi ## 8-byte Reload
je LBB0_12
## %bb.11:
movq %rdx, %rdi
LBB0_16:
movq $0, -64(%rbp) ## 8-byte Folded Spill
jmp LBB0_17
LBB0_12:
movq -56(%rbp), %rdx ## 8-byte Reload
testq %rdx, %rdx
je LBB0_14
## %bb.13:
movq $0, -64(%rbp) ## 8-byte Folded Spill
movq %rdx, %rdi
movq $0, -56(%rbp) ## 8-byte Folded Spill
LBB0_17:
movq -56(%rbp), %rdx ## 8-byte Reload
movq %rdi, 8(%rbx)
movl $2, %r9d
movq %rsi, -56(%rbp) ## 8-byte Spill
cmpl $2, %r14d
je LBB0_33
LBB0_19:
cmpq $0, -64(%rbp) ## 8-byte Folded Reload
je LBB0_21
## %bb.20:
movq -56(%rbp), %rsi ## 8-byte Reload
movq -64(%rbp), %r10 ## 8-byte Reload
jmp LBB0_23
LBB0_21:
testq %rdx, %rdx
je LBB0_24
## %bb.22:
movq %rdx, %r10
movq -56(%rbp), %rsi ## 8-byte Reload
xorl %edx, %edx
jmp LBB0_23
LBB0_24:
xorl %esi, %esi
movq -56(%rbp), %rdi ## 8-byte Reload
movq %rdi, %r10
movl $0, %edx
testq %rdi, %rdi
je LBB0_25
LBB0_23:
movl %r9d, %edi
incl %r9d
movq %r10, (%rbx,%rdi,8)
cmpl $3, %r14d
jne LBB0_27
LBB0_33:
movq -80(%rbp), %r15 ## 8-byte Reload
LBB0_34:
movslq %r9d, %r14
leaq (%rbx,%r14,8), %rax
movq %rcx, (%rbx,%r14,8)
xorl %ecx, %ecx
cmpq %r13, %r15
sete %cl
leaq 8(%rbx), %rdx
cmpl %r8d, %ecx
leaq -8(%rbx,%r14,8), %rcx
cmovneq %rbx, %rcx
cmoveq %rax, %rdx
movq (%rcx), %rax
movq -120(%rbp), %rcx ## 8-byte Reload
movq %rax, (%rcx)
movq (%rdx), %rax
movq -104(%rbp), %rcx ## 8-byte Reload
movq %rax, (%rcx)
movq %r15, %rdi
movq %r9, %rbx
callq _rsnd_mod_name
leaq L_.str(%rip), %rsi
movq -112(%rbp), %rdi ## 8-byte Reload
movl %eax, %edx
xorl %eax, %eax
callq _dev_dbg
testl %r14d, %r14d
js LBB0_41
## %bb.35:
incl %ebx
leaq L_.str.2(%rip), %r15
leaq L_.str.1(%rip), %r12
xorl %r14d, %r14d
jmp LBB0_36
.p2align 4, 0x90
LBB0_40: ## in Loop: Header=BB0_36 Depth=1
movq -112(%rbp), %rdi ## 8-byte Reload
movq %r12, %rsi
movl %eax, %edx
xorl %eax, %eax
callq _dev_dbg
incq %r14
cmpq %r14, %rbx
je LBB0_41
LBB0_36: ## =>This Inner Loop Header: Depth=1
movq -88(%rbp), %rax ## 8-byte Reload
movq (%rax,%r14,8), %r13
movq %r13, %rdi
testq %r13, %r13
jne LBB0_38
## %bb.37: ## in Loop: Header=BB0_36 Depth=1
movq _mem@GOTPCREL(%rip), %rdi
LBB0_38: ## in Loop: Header=BB0_36 Depth=1
callq _rsnd_mod_name
movq %r15, %rcx
movq -120(%rbp), %rdx ## 8-byte Reload
cmpq (%rdx), %r13
je LBB0_40
## %bb.39: ## in Loop: Header=BB0_36 Depth=1
movq -104(%rbp), %rcx ## 8-byte Reload
cmpq (%rcx), %r13
leaq L_.str.4(%rip), %rcx
leaq L_.str.3(%rip), %rdx
cmoveq %rdx, %rcx
jmp LBB0_40
LBB0_41:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_45
## %bb.42:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_14:
movq $0, -56(%rbp) ## 8-byte Folded Spill
testq %rsi, %rsi
je LBB0_44
## %bb.15:
movq %rsi, %rdi
xorl %esi, %esi
jmp LBB0_16
LBB0_25:
xorl %edx, %edx
cmpl $3, %r14d
je LBB0_33
LBB0_27:
cmpl $1, %eax
sbbl $-1, %r15d
addl $-3, %r15d
jmp LBB0_28
.p2align 4, 0x90
LBB0_31: ## in Loop: Header=BB0_28 Depth=1
movslq %r9d, %rax
incl %r9d
movq %rdx, (%rbx,%rax,8)
LBB0_32: ## in Loop: Header=BB0_28 Depth=1
movl $0, %edx
decl %r15d
je LBB0_33
LBB0_28: ## =>This Inner Loop Header: Depth=1
testq %rdx, %rdx
jne LBB0_31
## %bb.29: ## in Loop: Header=BB0_28 Depth=1
movq %rsi, %rdx
testq %rsi, %rsi
movl $0, %esi
jne LBB0_31
## %bb.30: ## in Loop: Header=BB0_28 Depth=1
xorl %esi, %esi
jmp LBB0_32
LBB0_44:
movl $1, %r9d
xorl %edx, %edx
movq $0, -64(%rbp) ## 8-byte Folded Spill
cmpl $2, %r14d
jne LBB0_19
jmp LBB0_33
LBB0_45:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _MOD_MAX,4,2 ## @MOD_MAX
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "module connection (this is %s)\n"
L_.str.1: ## @.str.1
.asciz " %s%s\n"
.comm _mem,4,2 ## @mem
L_.str.2: ## @.str.2
.asciz " from"
L_.str.3: ## @.str.3
.asciz " to"
L_.str.4: ## @.str.4
.space 1
.no_dead_strip _rsnd_dma_of_path
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function rsnd_dma_of_path
_rsnd_dma_of_path: ; @rsnd_dma_of_path
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
sub sp, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
stur x4, [x29, #-96] ; 8-byte Folded Spill
mov x20, x3
mov x19, x2
mov x23, x1
mov x22, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-88]
mov x0, x1
bl _rsnd_io_to_mod_src
stur x0, [x29, #-112] ; 8-byte Folded Spill
mov x0, x23
bl _rsnd_io_to_mod_ctu
mov x25, x0
mov x0, x23
bl _rsnd_io_to_mod_mix
mov x26, x0
mov x0, x23
bl _rsnd_io_to_mod_dvc
stur x0, [x29, #-104] ; 8-byte Folded Spill
Lloh3:
adrp x28, _MOD_MAX@GOTPAGE
Lloh4:
ldr x28, [x28, _MOD_MAX@GOTPAGEOFF]
ldr w8, [x28]
lsl x8, x8, #3
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, #0xffffffff0
sub x27, x9, x8
mov sp, x27
mov x0, x22
bl _rsnd_mod_to_priv
mov x24, x0
bl _rsnd_priv_to_dev
mov x21, x0
mov x0, x24
bl _rsnd_ssiu_of_node
cbz x0, LBB0_2
; %bb.1:
mov x0, x23
bl _rsnd_io_to_mod_ssiu
mov x24, x0
mov x0, x23
bl _rsnd_io_to_mod_ssi
cmp x0, x22
csel x22, x24, x22, eq
cbnz x24, LBB0_3
b LBB0_17
LBB0_2:
mov x0, x23
bl _rsnd_io_to_mod_ssi
mov x24, x0
cbz x24, LBB0_17
LBB0_3:
ldr w8, [x28]
tbnz w8, #31, LBB0_9
; %bb.4:
stp x25, x26, [x29, #-128] ; 16-byte Folded Spill
mov x25, #0 ; =0x0
mov w9, #0 ; =0x0
LBB0_5: ; =>This Inner Loop Header: Depth=1
mov x26, x9
str xzr, [x27, x25, lsl #3]
mov x0, x23
mov x1, x25
bl _rsnd_io_to_mod
cmp w0, #0
cinc w9, w26, ne
add x8, x25, #1
ldrsw x10, [x28]
cmp x25, x10
mov x25, x8
b.lt LBB0_5
; %bb.6:
cmp w19, #0
csel x10, x24, xzr, eq
csel x8, xzr, x24, eq
str x10, [x27]
cmp w9, #2
b.lo LBB0_10
; %bb.7:
ldur x11, [x29, #-112] ; 8-byte Folded Reload
cbz x11, LBB0_19
; %bb.8:
ldur x12, [x29, #-128] ; 8-byte Folded Reload
ldur x13, [x29, #-104] ; 8-byte Folded Reload
b LBB0_25
LBB0_9:
cmp w19, #0
csel x9, x24, xzr, eq
csel x8, xzr, x24, eq
str x9, [x27]
LBB0_10:
mov w23, #1 ; =0x1
LBB0_11:
add x9, x27, w23, sxtw #3
mov x10, x9
str x8, [x10], #-8
cmp x22, x24
cset w8, eq
add x11, x27, #8
cmp w8, w19
csel x8, x9, x11, eq
csel x9, x10, x27, eq
ldr x9, [x9]
str x9, [x20]
ldr x8, [x8]
ldur x9, [x29, #-96] ; 8-byte Folded Reload
str x8, [x9]
mov x0, x22
bl _rsnd_mod_name
mov x2, x0
Lloh7:
adrp x1, l_.str@PAGE
Lloh8:
add x1, x1, l_.str@PAGEOFF
mov x0, x21
bl _dev_dbg
tbnz w23, #31, LBB0_17
; %bb.12:
add w23, w23, #1
Lloh9:
adrp x24, _mem@GOTPAGE
Lloh10:
ldr x24, [x24, _mem@GOTPAGEOFF]
Lloh11:
adrp x25, l_.str.2@PAGE
Lloh12:
add x25, x25, l_.str.2@PAGEOFF
Lloh13:
adrp x22, l_.str.1@PAGE
Lloh14:
add x22, x22, l_.str.1@PAGEOFF
Lloh15:
adrp x26, l_.str.4@PAGE
Lloh16:
add x26, x26, l_.str.4@PAGEOFF
Lloh17:
adrp x28, l_.str.3@PAGE
Lloh18:
add x28, x28, l_.str.3@PAGEOFF
b LBB0_15
LBB0_13: ; in Loop: Header=BB0_15 Depth=1
ldur x8, [x29, #-96] ; 8-byte Folded Reload
ldr x8, [x8]
cmp x19, x8
csel x8, x28, x26, eq
LBB0_14: ; in Loop: Header=BB0_15 Depth=1
str x8, [sp, #-16]!
mov x0, x21
mov x1, x22
bl _dev_dbg
add sp, sp, #16
add x27, x27, #8
subs x23, x23, #1
b.eq LBB0_17
LBB0_15: ; =>This Inner Loop Header: Depth=1
ldr x19, [x27]
cmp x19, #0
csel x0, x24, x19, eq
bl _rsnd_mod_name
mov x2, x0
ldr x8, [x20]
cmp x19, x8
b.ne LBB0_13
; %bb.16: ; in Loop: Header=BB0_15 Depth=1
mov x8, x25
b LBB0_14
LBB0_17:
ldur x8, [x29, #-88]
Lloh19:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh20:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_40
; %bb.18:
sub sp, x29, #80
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
LBB0_19:
ldur x10, [x29, #-128] ; 8-byte Folded Reload
ldur x13, [x29, #-104] ; 8-byte Folded Reload
cbz x10, LBB0_21
; %bb.20:
mov x11, x10
mov x12, #0 ; =0x0
b LBB0_25
LBB0_21:
ldur x10, [x29, #-120] ; 8-byte Folded Reload
cbz x10, LBB0_23
; %bb.22:
mov x12, #0 ; =0x0
mov x11, x10
stur xzr, [x29, #-120] ; 8-byte Folded Spill
b LBB0_25
LBB0_23:
mov x12, #0 ; =0x0
cbz x13, LBB0_39
; %bb.24:
mov x11, x13
mov x13, x12
stur x12, [x29, #-120] ; 8-byte Folded Spill
LBB0_25:
ldur x10, [x29, #-120] ; 8-byte Folded Reload
str x11, [x27, #8]
mov w23, #2 ; =0x2
cmp w9, #2
b.eq LBB0_11
LBB0_26:
cbz x12, LBB0_28
; %bb.27:
mov x11, x13
b LBB0_31
LBB0_28:
cbz x10, LBB0_30
; %bb.29:
mov x12, x10
mov x11, x13
mov x10, #0 ; =0x0
b LBB0_31
LBB0_30:
mov x11, #0 ; =0x0
mov x12, x13
cbz x13, LBB0_38
LBB0_31:
str x12, [x27, w23, uxtw #3]
add w23, w23, #1
cmp w9, #3
b.eq LBB0_11
LBB0_32:
cmp w0, #0
cinc w9, w26, ne
sub w9, w9, #3
b LBB0_36
LBB0_33: ; in Loop: Header=BB0_36 Depth=1
mov x0, x11
LBB0_34: ; in Loop: Header=BB0_36 Depth=1
str x10, [x27, w23, sxtw #3]
add w23, w23, #1
LBB0_35: ; in Loop: Header=BB0_36 Depth=1
mov x10, #0 ; =0x0
mov x11, x0
subs w9, w9, #1
b.eq LBB0_11
LBB0_36: ; =>This Inner Loop Header: Depth=1
cbnz x10, LBB0_33
; %bb.37: ; in Loop: Header=BB0_36 Depth=1
mov x0, #0 ; =0x0
mov x10, x11
cbnz x11, LBB0_34
b LBB0_35
LBB0_38:
mov x10, x11
cmp w9, #3
b.eq LBB0_11
b LBB0_32
LBB0_39:
mov w23, #1 ; =0x1
mov x10, x12
mov x13, x12
cmp w9, #2
b.ne LBB0_26
b LBB0_11
LBB0_40:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGot Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _MOD_MAX,4,2 ; @MOD_MAX
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "module connection (this is %s)\n"
l_.str.1: ; @.str.1
.asciz " %s%s\n"
.comm _mem,4,2 ; @mem
l_.str.2: ; @.str.2
.asciz " from"
l_.str.3: ; @.str.3
.asciz " to"
l_.str.4: ; @.str.4
.space 1
.no_dead_strip _rsnd_dma_of_path
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _split_cmdline ## -- Begin function split_cmdline
.p2align 4, 0x90
_split_cmdline: ## @split_cmdline
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rdi
movl $16, %esi
callq _ALLOC_ARRAY
movq %rbx, -56(%rbp) ## 8-byte Spill
movq (%rbx), %rax
movq %r14, (%rax)
cmpb $0, (%r14)
je LBB0_1
## %bb.2:
movq $-1, -48(%rbp) ## 8-byte Folded Spill
movabsq $4294967296, %r13 ## imm = 0x100000000
xorl %edx, %edx
xorl %ebx, %ebx
jmp LBB0_3
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_3 Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
movq (%rax), %rdi
movq -48(%rbp), %r15 ## 8-byte Reload
leal -1(%r15), %esi
movl $16, %edx
callq _ALLOC_GROW
movq -64(%rbp), %rdx ## 8-byte Reload
leaq (%r14,%rdx), %rax
movq -56(%rbp), %rcx ## 8-byte Reload
movq (%rcx), %rcx
movq %rax, (%rcx,%r15,8)
incq %r15
movq %r15, -48(%rbp) ## 8-byte Spill
sarq $32, %r12
cmpb $0, (%r14,%r12)
je LBB0_7
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_4 Depth 2
movb $0, (%r14,%rdx)
incq %rdx
movq %rdx, -64(%rbp) ## 8-byte Spill
movslq %ebx, %rcx
shlq $32, %rbx
addq %r13, %rbx
incq %rcx
movq %rbx, %rdx
.p2align 4, 0x90
LBB0_4: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movq %rdx, %r12
movq %rcx, %rbx
movzbl (%r14,%rcx), %eax
testb %al, %al
je LBB0_6
## %bb.5: ## in Loop: Header=BB0_4 Depth=2
movsbl %al, %edi
callq _isspace
leaq (%r12,%r13), %rdx
leaq 1(%rbx), %rcx
testq %rax, %rax
jne LBB0_4
jmp LBB0_6
LBB0_7:
movl %edx, %eax
movq -48(%rbp), %r15 ## 8-byte Reload
jmp LBB0_8
LBB0_1:
movl $-1, %r15d
xorl %eax, %eax
LBB0_8:
movb $0, (%r14,%rax)
movq -56(%rbp), %rbx ## 8-byte Reload
movq (%rbx), %rdi
leal 1(%r15), %esi
movl $16, %edx
callq _ALLOC_GROW
movq (%rbx), %rcx
movslq %r15d, %rax
movq $0, (%rcx,%rax,8)
## kill: def $eax killed $eax killed $rax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SPLIT_CMDLINE_BAD_ENDING,4,2 ## @SPLIT_CMDLINE_BAD_ENDING
.comm _SPLIT_CMDLINE_UNCLOSED_QUOTE,4,2 ## @SPLIT_CMDLINE_UNCLOSED_QUOTE
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _split_cmdline ; -- Begin function split_cmdline
.p2align 2
_split_cmdline: ; @split_cmdline
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x1
mov x20, x0
ldr x0, [x1]
mov w1, #16 ; =0x10
bl _ALLOC_ARRAY
ldr x8, [x19]
str x20, [x8]
ldrb w8, [x20]
cbz w8, LBB0_7
; %bb.1:
mov x22, #0 ; =0x0
mov x24, #0 ; =0x0
mov x21, #-1 ; =0xffffffffffffffff
mov x23, #4294967296 ; =0x100000000
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
ldr x0, [x19]
sub w1, w25, #1
mov w2, #16 ; =0x10
bl _ALLOC_GROW
add x8, x20, x22
ldr x9, [x19]
add x21, x25, #1
str x8, [x9, x25, lsl #3]
asr x8, x26, #32
ldrb w8, [x20, x8]
cbz w8, LBB0_6
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_4 Depth 2
mov x25, x21
strb wzr, [x20, x22]
add x22, x22, #1
sxtw x9, w24
add x8, x23, x24, lsl #32
add x9, x9, #1
LBB0_4: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
mov x26, x8
mov x24, x9
ldrsb w0, [x20, x9]
cbz w0, LBB0_2
; %bb.5: ; in Loop: Header=BB0_4 Depth=2
bl _isspace
add x8, x26, x23
add x9, x24, #1
cbnz x0, LBB0_4
b LBB0_2
LBB0_6:
mov w8, w22
b LBB0_8
LBB0_7:
mov x8, #0 ; =0x0
mov w21, #-1 ; =0xffffffff
LBB0_8:
strb wzr, [x20, x8]
ldr x0, [x19]
add w1, w21, #1
mov w2, #16 ; =0x10
bl _ALLOC_GROW
ldr x8, [x19]
str xzr, [x8, w21, sxtw #3]
mov x0, x21
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.comm _SPLIT_CMDLINE_BAD_ENDING,4,2 ; @SPLIT_CMDLINE_BAD_ENDING
.comm _SPLIT_CMDLINE_UNCLOSED_QUOTE,4,2 ; @SPLIT_CMDLINE_UNCLOSED_QUOTE
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function aic7xxx_search_qinfifo
_aic7xxx_search_qinfifo: ## @aic7xxx_search_qinfifo
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %r9d, -48(%rbp) ## 4-byte Spill
movl %r8d, %r12d
movl %ecx, -64(%rbp) ## 4-byte Spill
movl %edx, -60(%rbp) ## 4-byte Spill
movl %esi, -56(%rbp) ## 4-byte Spill
movq %rdi, %rbx
movq _QINPOS@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _aic_inb
movl %eax, %r14d
movzbl (%rbx), %r15d
movb %al, (%rbx)
xorl %r13d, %r13d
cmpb %r15b, %al
je LBB0_14
## %bb.1:
cmpl $0, 16(%rbp)
setne %al
cmpq $0, 24(%rbp)
setne %cl
orb %al, %cl
movb %cl, -41(%rbp) ## 1-byte Spill
leaq 24(%rbx), %rax
movq %rax, -72(%rbp) ## 8-byte Spill
xorl %r13d, %r13d
movzbl %r12b, %eax
movl %eax, -52(%rbp) ## 4-byte Spill
jmp LBB0_2
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_2 Depth=1
movq 8(%r12), %rax
movq (%rax), %rax
movq 8(%rbx), %rcx
movzbl (%rbx), %edx
leal 1(%rdx), %esi
movb %sil, (%rbx)
movq %rax, (%rcx,%rdx,8)
LBB0_12: ## in Loop: Header=BB0_2 Depth=1
decb %r14b
cmpb %r14b, %r15b
je LBB0_13
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq 8(%rbx), %rax
movq 32(%rbx), %rcx
movq (%rcx), %rcx
movzbl %r14b, %edx
movq (%rax,%rdx,8), %rax
movq (%rcx,%rax,8), %r12
movq %rbx, %rdi
movq %r12, %rsi
movl -56(%rbp), %edx ## 4-byte Reload
movl -60(%rbp), %ecx ## 4-byte Reload
movl -64(%rbp), %r8d ## 4-byte Reload
movl -52(%rbp), %r9d ## 4-byte Reload
callq _aic7xxx_match_scb
testq %rax, %rax
je LBB0_11
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movl (%r12), %eax
cmpb $0, -41(%rbp) ## 1-byte Folded Reload
je LBB0_8
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movq _SCB_WAITINGQ@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
movq 24(%rbp), %rdi
je LBB0_6
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
movq %r12, %rsi
callq _scbq_remove
movq -72(%rbp), %rdi ## 8-byte Reload
movq %r12, %rsi
callq _scbq_remove
movl 16(%r12), %edi
callq _AIC_DEV
leaq 4(%rax), %rdi
movq %r12, %rsi
callq _scbq_remove
movl 16(%r12), %edi
callq _AIC_DEV
movq 24(%rbp), %rdi
incl (%rax)
incl 20(%rbx)
LBB0_6: ## in Loop: Header=BB0_2 Depth=1
movq %r12, %rsi
callq _scbq_insert_tail
movl 16(%r12), %edi
callq _AIC_DEV
decl (%rax)
decl 20(%rbx)
movq _SCB_WAITINGQ@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %eax, (%r12)
movq _TAG_ENB@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, 4(%r12)
jne LBB0_10
## %bb.7: ## in Loop: Header=BB0_2 Depth=1
movq 8(%r12), %rcx
jmp LBB0_9
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_2 Depth=1
movq _SCB_RECOVERY_SCB@GOTPCREL(%rip), %rcx
andl (%rcx), %eax
orl -48(%rbp), %eax ## 4-byte Folded Reload
movl %eax, (%r12)
movq 8(%r12), %rax
movl 8(%rax), %esi
movq _FALSE@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
callq _aic7xxx_index_busy_target
movq 8(%r12), %rcx
cmpq (%rcx), %rax
jne LBB0_10
LBB0_9: ## in Loop: Header=BB0_2 Depth=1
movl 8(%rcx), %esi
movq _TRUE@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
callq _aic7xxx_index_busy_target
LBB0_10: ## in Loop: Header=BB0_2 Depth=1
incl %r13d
jmp LBB0_12
LBB0_13:
movzbl (%rbx), %r14d
LBB0_14:
cmpb %r15b, %r14b
je LBB0_24
## %bb.15:
movq 8(%rbx), %rax
movq _SCB_LIST_NULL@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movl %r14d, %esi
notb %sil
addb %r15b, %sil
cmpb $7, %sil
setb %dl
leal -1(%r15), %edi
cmpb %r14b, %dil
setb %dil
orb %dl, %dil
movl %r14d, %edx
jne LBB0_19
## %bb.16:
movzbl %sil, %esi
incl %esi
movl %esi, %edi
andl $-4, %edi
leal (%r14,%rdi), %edx
movq %rcx, %xmm0
pshufd $68, %xmm0, %xmm0 ## xmm0 = xmm0[0,1,0,1]
movl %r14d, %r8d
movl %edi, %r9d
.p2align 4, 0x90
LBB0_17: ## =>This Inner Loop Header: Depth=1
movzbl %r8b, %r8d
movdqu %xmm0, (%rax,%r8,8)
movdqu %xmm0, 16(%rax,%r8,8)
addb $4, %r8b
addl $-4, %r9d
jne LBB0_17
## %bb.18:
cmpl %edi, %esi
je LBB0_24
LBB0_19:
movl %r15d, %edi
subb %dl, %dil
movl %edx, %esi
andb $3, %dil
je LBB0_22
## %bb.20:
movl %edx, %esi
.p2align 4, 0x90
LBB0_21: ## =>This Inner Loop Header: Depth=1
movzbl %sil, %r8d
incb %sil
movq %rcx, (%rax,%r8,8)
decb %dil
jne LBB0_21
LBB0_22:
subb %r15b, %dl
cmpb $-4, %dl
ja LBB0_24
.p2align 4, 0x90
LBB0_23: ## =>This Inner Loop Header: Depth=1
movzbl %sil, %edx
incb %sil
movq %rcx, (%rax,%rdx,8)
leal 2(%rdx), %edi
movzbl %sil, %esi
movq %rcx, (%rax,%rsi,8)
leal 3(%rdx), %esi
movzbl %dil, %edi
movq %rcx, (%rax,%rdi,8)
addb $4, %dl
movzbl %sil, %esi
movq %rcx, (%rax,%rsi,8)
movl %edx, %esi
cmpb %dl, %r15b
jne LBB0_23
LBB0_24:
movq _AHC_QUEUE_REGS@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, 16(%rbx)
jne LBB0_25
## %bb.26:
movq _KERNEL_QINPOS@GOTPCREL(%rip), %rax
jmp LBB0_27
LBB0_25:
movq _HNSCB_QOFF@GOTPCREL(%rip), %rax
LBB0_27:
movl (%rax), %edx
movzbl %r14b, %esi
movq %rbx, %rdi
callq _aic_outb
movl %r13d, %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _QINPOS,4,2 ## @QINPOS
.comm _SCB_WAITINGQ,4,2 ## @SCB_WAITINGQ
.comm _TAG_ENB,4,2 ## @TAG_ENB
.comm _TRUE,4,2 ## @TRUE
.comm _SCB_RECOVERY_SCB,4,2 ## @SCB_RECOVERY_SCB
.comm _FALSE,4,2 ## @FALSE
.comm _SCB_LIST_NULL,8,3 ## @SCB_LIST_NULL
.comm _AHC_QUEUE_REGS,4,2 ## @AHC_QUEUE_REGS
.comm _HNSCB_QOFF,4,2 ## @HNSCB_QOFF
.comm _KERNEL_QINPOS,4,2 ## @KERNEL_QINPOS
.no_dead_strip _aic7xxx_search_qinfifo
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function aic7xxx_search_qinfifo
_aic7xxx_search_qinfifo: ; @aic7xxx_search_qinfifo
.cfi_startproc
; %bb.0:
sub sp, sp, #128
stp x28, x27, [sp, #32] ; 16-byte Folded Spill
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x22, x7
mov x28, x6
str w5, [sp, #28] ; 4-byte Folded Spill
mov x24, x4
mov x25, x3
mov x26, x2
mov x27, x1
mov x19, x0
Lloh0:
adrp x8, _QINPOS@GOTPAGE
Lloh1:
ldr x8, [x8, _QINPOS@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _aic_inb
mov x20, x0
ldrb w23, [x19]
strb w0, [x19]
cmp w0, w23
b.ne LBB0_2
; %bb.1:
mov w21, #0 ; =0x0
cmp w20, w23
b.ne LBB0_15
b LBB0_21
LBB0_2:
mov w21, #0 ; =0x0
cmp w28, #0
str x22, [sp, #16] ; 8-byte Folded Spill
ccmp x22, #0, #0, eq
cset w22, ne
str w27, [sp, #12] ; 4-byte Folded Spill
b LBB0_5
LBB0_3: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [x28, #8]
ldr x8, [x8]
ldr x9, [x19, #8]
ldrb w10, [x19]
add w11, w10, #1
strb w11, [x19]
str x8, [x9, x10, lsl #3]
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
sub w20, w20, #1
cmp w23, w20, uxtb
b.eq LBB0_14
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #32]
ldr x8, [x8]
ldr x9, [x19, #8]
and x10, x20, #0xff
ldr x9, [x9, x10, lsl #3]
ldr x28, [x8, x9, lsl #3]
mov x0, x19
mov x1, x28
mov x2, x27
mov x3, x26
mov x4, x25
mov x5, x24
bl _aic7xxx_match_scb
cbz x0, LBB0_3
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [x28]
cbz w22, LBB0_11
; %bb.7: ; in Loop: Header=BB0_5 Depth=1
mov x27, x26
mov x26, x25
mov x25, x24
mov x24, x21
mov x21, x22
Lloh3:
adrp x9, _SCB_WAITINGQ@GOTPAGE
Lloh4:
ldr x9, [x9, _SCB_WAITINGQ@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
orr w8, w9, w8
ldr x22, [sp, #16] ; 8-byte Folded Reload
cbz w8, LBB0_9
; %bb.8: ; in Loop: Header=BB0_5 Depth=1
mov x0, x22
mov x1, x28
bl _scbq_remove
add x0, x19, #24
mov x1, x28
bl _scbq_remove
ldr w0, [x28, #16]
bl _AIC_DEV
add x0, x0, #4
mov x1, x28
bl _scbq_remove
ldr w0, [x28, #16]
bl _AIC_DEV
ldr w8, [x0]
add w8, w8, #1
str w8, [x0]
ldr w8, [x19, #20]
add w8, w8, #1
str w8, [x19, #20]
LBB0_9: ; in Loop: Header=BB0_5 Depth=1
mov x0, x22
mov x1, x28
bl _scbq_insert_tail
ldr w0, [x28, #16]
bl _AIC_DEV
ldr w8, [x0]
sub w8, w8, #1
str w8, [x0]
ldr w8, [x19, #20]
sub w8, w8, #1
str w8, [x19, #20]
Lloh6:
adrp x8, _SCB_WAITINGQ@GOTPAGE
Lloh7:
ldr x8, [x8, _SCB_WAITINGQ@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
ldp w9, w10, [x28]
orr w8, w9, w8
str w8, [x28]
Lloh9:
adrp x8, _TAG_ENB@GOTPAGE
Lloh10:
ldr x8, [x8, _TAG_ENB@GOTPAGEOFF]
Lloh11:
ldr w8, [x8]
tst w8, w10
mov x22, x21
mov x21, x24
mov x24, x25
mov x25, x26
mov x26, x27
ldr w27, [sp, #12] ; 4-byte Folded Reload
b.ne LBB0_13
; %bb.10: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [x28, #8]
b LBB0_12
LBB0_11: ; in Loop: Header=BB0_5 Depth=1
Lloh12:
adrp x9, _SCB_RECOVERY_SCB@GOTPAGE
Lloh13:
ldr x9, [x9, _SCB_RECOVERY_SCB@GOTPAGEOFF]
Lloh14:
ldr w9, [x9]
and w8, w9, w8
ldr w9, [sp, #28] ; 4-byte Folded Reload
orr w8, w8, w9
str w8, [x28]
ldr x8, [x28, #8]
ldr w1, [x8, #8]
Lloh15:
adrp x8, _FALSE@GOTPAGE
Lloh16:
ldr x8, [x8, _FALSE@GOTPAGEOFF]
Lloh17:
ldr w2, [x8]
mov x0, x19
bl _aic7xxx_index_busy_target
ldr x8, [x28, #8]
ldr x9, [x8]
cmp x0, x9
b.ne LBB0_13
LBB0_12: ; in Loop: Header=BB0_5 Depth=1
ldr w1, [x8, #8]
Lloh18:
adrp x8, _TRUE@GOTPAGE
Lloh19:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
Lloh20:
ldr w2, [x8]
mov x0, x19
bl _aic7xxx_index_busy_target
LBB0_13: ; in Loop: Header=BB0_5 Depth=1
add w21, w21, #1
b LBB0_4
LBB0_14:
ldrb w20, [x19]
cmp w20, w23
b.eq LBB0_21
LBB0_15:
ldr x8, [x19, #8]
Lloh21:
adrp x9, _SCB_LIST_NULL@GOTPAGE
Lloh22:
ldr x9, [x9, _SCB_LIST_NULL@GOTPAGEOFF]
Lloh23:
ldr x9, [x9]
mvn w10, w20
add w10, w23, w10
and w11, w10, #0xff
mov x10, x20
cmp w11, #7
b.lo LBB0_20
; %bb.16:
sub w10, w23, #1
cmp w20, w10, uxtb
mov x10, x20
b.hi LBB0_20
; %bb.17:
mov w12, #0 ; =0x0
add w11, w11, #1
and w13, w11, #0x1f8
add w10, w20, w13
dup.2d v0, x9
LBB0_18: ; =>This Inner Loop Header: Depth=1
add w14, w20, w12
add x14, x8, w14, uxtb #3
stp q0, q0, [x14]
stp q0, q0, [x14, #32]
add w12, w12, #8
cmp w13, w12
b.ne LBB0_18
; %bb.19:
cmp w11, w13
b.eq LBB0_21
LBB0_20: ; =>This Inner Loop Header: Depth=1
and x11, x10, #0xff
add w10, w10, #1
str x9, [x8, x11, lsl #3]
cmp w23, w10, uxtb
; kill: def $w10 killed $w10 def $x10
b.ne LBB0_20
LBB0_21:
ldr w8, [x19, #16]
Lloh24:
adrp x9, _AHC_QUEUE_REGS@GOTPAGE
Lloh25:
ldr x9, [x9, _AHC_QUEUE_REGS@GOTPAGEOFF]
Lloh26:
adrp x10, _KERNEL_QINPOS@GOTPAGE
Lloh27:
ldr x10, [x10, _KERNEL_QINPOS@GOTPAGEOFF]
Lloh28:
ldr w9, [x9]
Lloh29:
adrp x11, _HNSCB_QOFF@GOTPAGE
Lloh30:
ldr x11, [x11, _HNSCB_QOFF@GOTPAGEOFF]
tst w9, w8
csel x8, x10, x11, eq
ldr w2, [x8]
mov x0, x19
mov x1, x20
bl _aic_outb
mov x0, x21
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
ldp x28, x27, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #128
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGot Lloh29, Lloh30
.loh AdrpLdrGot Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh28
.cfi_endproc
; -- End function
.comm _QINPOS,4,2 ; @QINPOS
.comm _SCB_WAITINGQ,4,2 ; @SCB_WAITINGQ
.comm _TAG_ENB,4,2 ; @TAG_ENB
.comm _TRUE,4,2 ; @TRUE
.comm _SCB_RECOVERY_SCB,4,2 ; @SCB_RECOVERY_SCB
.comm _FALSE,4,2 ; @FALSE
.comm _SCB_LIST_NULL,8,3 ; @SCB_LIST_NULL
.comm _AHC_QUEUE_REGS,4,2 ; @AHC_QUEUE_REGS
.comm _HNSCB_QOFF,4,2 ; @HNSCB_QOFF
.comm _KERNEL_QINPOS,4,2 ; @KERNEL_QINPOS
.no_dead_strip _aic7xxx_search_qinfifo
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function oppush
_oppush: ## @oppush
.cfi_startproc
## %bb.0:
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
movq %rdx, %rdi
callq _is_valid_registers
movq (%r15), %rcx
movq _OT_REGTYPE@GOTPCREL(%rip), %rax
movl (%rax), %eax
andl (%rcx), %eax
movq _OT_SEGMENTREG@GOTPCREL(%rip), %rdx
testl %eax, (%rdx)
je LBB0_5
## %bb.1:
movl 4(%rcx), %edx
movq _X86R_FS@GOTPCREL(%rip), %rax
testl %edx, (%rax)
je LBB0_2
## %bb.3:
movl $15, (%rbx)
movl 4(%rcx), %edx
movl $-1, %eax
movl $128, %ecx
jmp LBB0_4
LBB0_5:
xorl %eax, %eax
cmpq $0, 32(%rcx)
je LBB0_8
## %bb.6:
cmpl $64, (%r14)
jne LBB0_8
## %bb.7:
movl $65, (%rbx)
movl $1, %eax
LBB0_8:
movl 4(%rcx), %ecx
addl $80, %ecx
movl %eax, %edx
jmp LBB0_9
LBB0_2:
xorl %eax, %eax
movl $6, %ecx
LBB0_4:
leal (%rcx,%rdx,8), %ecx
movslq %eax, %rdx
LBB0_9:
movl %ecx, (%rbx,%rdx,4)
incl %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _OT_GPREG,4,2 ## @OT_GPREG
.comm _OT_MEMORY,4,2 ## @OT_MEMORY
.comm _OT_REGTYPE,4,2 ## @OT_REGTYPE
.comm _OT_SEGMENTREG,4,2 ## @OT_SEGMENTREG
.comm _X86R_FS,4,2 ## @X86R_FS
.comm _X86R_EBP,4,2 ## @X86R_EBP
.comm _X86R_ESP,4,2 ## @X86R_ESP
.no_dead_strip _oppush
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function oppush
_oppush: ; @oppush
.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
mov x0, x2
bl _is_valid_registers
ldr x9, [x21]
ldr w8, [x9]
Lloh0:
adrp x10, _OT_REGTYPE@GOTPAGE
Lloh1:
ldr x10, [x10, _OT_REGTYPE@GOTPAGEOFF]
Lloh2:
ldr w10, [x10]
and w8, w10, w8
Lloh3:
adrp x10, _OT_SEGMENTREG@GOTPAGE
Lloh4:
ldr x10, [x10, _OT_SEGMENTREG@GOTPAGEOFF]
Lloh5:
ldr w10, [x10]
tst w8, w10
b.eq LBB0_3
; %bb.1:
ldr w10, [x9, #4]
Lloh6:
adrp x8, _X86R_FS@GOTPAGE
Lloh7:
ldr x8, [x8, _X86R_FS@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
tst w8, w10
b.eq LBB0_6
; %bb.2:
mov w8, #15 ; =0xf
str w8, [x19]
ldr w10, [x9, #4]
mov w8, #-1 ; =0xffffffff
mov w9, #128 ; =0x80
b LBB0_7
LBB0_3:
ldr x8, [x9, #32]
cbz x8, LBB0_9
; %bb.4:
ldr w8, [x20]
cmp w8, #64
b.ne LBB0_8
; %bb.5:
mov w8, #65 ; =0x41
str w8, [x19]
mov w8, #1 ; =0x1
b LBB0_9
LBB0_6:
mov w8, #0 ; =0x0
mov w9, #6 ; =0x6
LBB0_7:
sxtw x11, w8
add w9, w9, w10, lsl #3
b LBB0_10
LBB0_8:
mov w8, #0 ; =0x0
LBB0_9:
ldr w9, [x9, #4]
add w9, w9, #80
mov w11, w8
LBB0_10:
str w9, [x19, x11, lsl #2]
add 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 Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _OT_GPREG,4,2 ; @OT_GPREG
.comm _OT_MEMORY,4,2 ; @OT_MEMORY
.comm _OT_REGTYPE,4,2 ; @OT_REGTYPE
.comm _OT_SEGMENTREG,4,2 ; @OT_SEGMENTREG
.comm _X86R_FS,4,2 ; @X86R_FS
.comm _X86R_EBP,4,2 ; @X86R_EBP
.comm _X86R_ESP,4,2 ; @X86R_ESP
.no_dead_strip _oppush
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function asn1_find_indefinite_length
_asn1_find_indefinite_length: ## @asn1_find_indefinite_length
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r8, -72(%rbp) ## 8-byte Spill
movq %rcx, %rbx
movq %rsi, %r12
movq %rdi, %r13
movq %rdx, -56(%rbp) ## 8-byte Spill
movq (%rdx), %r15
leaq (%r15,%rsi), %rax
xorl %edi, %edi
cmpq $2, %rax
setb %dil
callq _unlikely
testq %rax, %rax
je LBB0_4
## %bb.1:
movq %r15, %r14
LBB0_2:
movq %r14, %r15
cmpq %r12, %r14
jne LBB0_35
## %bb.3:
leaq L_.str.4(%rip), %rax
movq -72(%rbp), %rcx ## 8-byte Reload
movq %rax, (%rcx)
movl $-1, %eax
movq %r12, %r15
jmp LBB0_37
LBB0_4:
movq %rbx, -88(%rbp) ## 8-byte Spill
leaq -1(%r12), %rax
movq %rax, -96(%rbp) ## 8-byte Spill
movl $1, -44(%rbp) ## 4-byte Folded Spill
movq %r12, -64(%rbp) ## 8-byte Spill
LBB0_5: ## =>This Loop Header: Depth=1
## Child Loop BB0_6 Depth 2
## Child Loop BB0_9 Depth 3
## Child Loop BB0_22 Depth 3
## Child Loop BB0_25 Depth 3
movq %r15, %r14
LBB0_6: ## Parent Loop BB0_5 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_9 Depth 3
## Child Loop BB0_22 Depth 3
## Child Loop BB0_25 Depth 3
movzbl (%r13,%r14), %ecx
movq _ASN1_EOC@GOTPCREL(%rip), %rax
cmpb (%rax), %cl
je LBB0_29
## %bb.7: ## in Loop: Header=BB0_6 Depth=2
leaq 1(%r14), %r15
movl %ecx, -76(%rbp) ## 4-byte Spill
movl %ecx, %eax
orb $31, %al
xorl %edi, %edi
movq _ASN1_LONG_TAG@GOTPCREL(%rip), %rcx
cmpb (%rcx), %al
sete %dil
callq _unlikely
testq %rax, %rax
je LBB0_11
## %bb.8: ## in Loop: Header=BB0_6 Depth=2
movq -96(%rbp), %r12 ## 8-byte Reload
subq %r14, %r12
.p2align 4, 0x90
LBB0_9: ## Parent Loop BB0_5 Depth=1
## Parent Loop BB0_6 Depth=2
## => This Inner Loop Header: Depth=3
xorl %edi, %edi
cmpq $2, %r12
setb %dil
callq _unlikely
testq %rax, %rax
jne LBB0_35
## %bb.10: ## in Loop: Header=BB0_9 Depth=3
leaq 1(%r15), %rbx
decq %r12
cmpb $0, (%r13,%r15)
movq %rbx, %r15
js LBB0_9
jmp LBB0_12
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_6 Depth=2
movq %r15, %rbx
LBB0_12: ## in Loop: Header=BB0_6 Depth=2
leaq 1(%rbx), %r15
movzbl (%r13,%rbx), %r14d
testb %r14b, %r14b
js LBB0_14
## %bb.13: ## in Loop: Header=BB0_6 Depth=2
movq -64(%rbp), %r12 ## 8-byte Reload
jmp LBB0_27
.p2align 4, 0x90
LBB0_14: ## in Loop: Header=BB0_6 Depth=2
xorl %edi, %edi
movq _ASN1_INDEFINITE_LENGTH@GOTPCREL(%rip), %rax
cmpq %r14, (%rax)
sete %dil
callq _unlikely
testq %rax, %rax
jne LBB0_32
## %bb.15: ## in Loop: Header=BB0_6 Depth=2
leaq -128(%r14), %r12
xorl %edi, %edi
cmpq $7, %r12
setae %dil
callq _unlikely
testq %rax, %rax
jne LBB0_39
## %bb.16: ## in Loop: Header=BB0_6 Depth=2
movq -64(%rbp), %rax ## 8-byte Reload
subq %r15, %rax
xorl %edi, %edi
cmpq %rax, %r12
seta %dil
callq _unlikely
testq %rax, %rax
jne LBB0_35
## %bb.17: ## in Loop: Header=BB0_6 Depth=2
testq %r12, %r12
je LBB0_20
## %bb.18: ## in Loop: Header=BB0_6 Depth=2
leaq -129(%r14), %rax
cmpq $3, %rax
movq -64(%rbp), %r12 ## 8-byte Reload
jae LBB0_21
## %bb.19: ## in Loop: Header=BB0_6 Depth=2
xorl %eax, %eax
jmp LBB0_23
LBB0_20: ## in Loop: Header=BB0_6 Depth=2
xorl %r14d, %r14d
movq -64(%rbp), %r12 ## 8-byte Reload
jmp LBB0_28
LBB0_21: ## in Loop: Header=BB0_6 Depth=2
movl %r14d, %ecx
andl $124, %ecx
xorl %eax, %eax
.p2align 4, 0x90
LBB0_22: ## Parent Loop BB0_5 Depth=1
## Parent Loop BB0_6 Depth=2
## => This Inner Loop Header: Depth=3
movzbl (%r13,%r15), %edx
shlq $16, %rax
shll $8, %edx
orq %rax, %rdx
movzbl 1(%r13,%r15), %eax
orq %rdx, %rax
movzbl 2(%r13,%r15), %edx
shlq $16, %rax
shll $8, %edx
orq %rax, %rdx
movzbl 3(%r13,%r15), %eax
addq $4, %r15
orq %rdx, %rax
addq $-4, %rcx
jne LBB0_22
LBB0_23: ## in Loop: Header=BB0_6 Depth=2
movl %r14d, %ecx
andl $3, %ecx
je LBB0_26
## %bb.24: ## in Loop: Header=BB0_6 Depth=2
addq %r13, %r15
xorl %edx, %edx
.p2align 4, 0x90
LBB0_25: ## Parent Loop BB0_5 Depth=1
## Parent Loop BB0_6 Depth=2
## => This Inner Loop Header: Depth=3
shlq $8, %rax
movzbl (%r15,%rdx), %esi
orq %rsi, %rax
incq %rdx
cmpq %rdx, %rcx
jne LBB0_25
LBB0_26: ## in Loop: Header=BB0_6 Depth=2
addq $-127, %rbx
addq %r14, %rbx
movq %rbx, %r15
movq %rax, %r14
LBB0_27: ## in Loop: Header=BB0_6 Depth=2
movq %r12, %rax
subq %r15, %rax
cmpq %rax, %r14
ja LBB0_35
LBB0_28: ## in Loop: Header=BB0_6 Depth=2
addq %r15, %r14
leaq (%r14,%r12), %rax
xorl %edi, %edi
cmpq $2, %rax
setb %dil
callq _unlikely
testq %rax, %rax
je LBB0_6
jmp LBB0_2
LBB0_29: ## in Loop: Header=BB0_5 Depth=1
leaq 2(%r14), %r15
cmpb $0, 1(%r13,%r14)
jne LBB0_40
## %bb.30: ## in Loop: Header=BB0_5 Depth=1
movl -44(%rbp), %eax ## 4-byte Reload
cmpl $2, %eax
jl LBB0_41
## %bb.31: ## in Loop: Header=BB0_5 Depth=1
decl %eax
movl %eax, -44(%rbp) ## 4-byte Spill
jmp LBB0_34
LBB0_32: ## in Loop: Header=BB0_5 Depth=1
movq _ASN1_CONS_BIT@GOTPCREL(%rip), %rax
movzbl (%rax), %eax
andl -76(%rbp), %eax ## 4-byte Folded Reload
movq _ASN1_PRIM@GOTPCREL(%rip), %rcx
movzbl (%rcx), %ecx
shll $5, %ecx
xorl %edi, %edi
cmpl %eax, %ecx
sete %dil
callq _unlikely
testq %rax, %rax
jne LBB0_42
## %bb.33: ## in Loop: Header=BB0_5 Depth=1
incl -44(%rbp) ## 4-byte Folded Spill
movq -64(%rbp), %r12 ## 8-byte Reload
LBB0_34: ## in Loop: Header=BB0_5 Depth=1
leaq (%r15,%r12), %rax
xorl %edi, %edi
cmpq $2, %rax
setb %dil
callq _unlikely
movq %r15, %r14
testq %rax, %rax
je LBB0_5
jmp LBB0_2
LBB0_35:
leaq L_.str.3(%rip), %rax
LBB0_36:
movq -72(%rbp), %rcx ## 8-byte Reload
movq %rax, (%rcx)
movl $-1, %eax
LBB0_37:
movq -56(%rbp), %rcx ## 8-byte Reload
LBB0_38:
movq %r15, (%rcx)
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_39:
leaq L_.str(%rip), %rax
jmp LBB0_36
LBB0_40:
leaq L_.str.2(%rip), %rax
jmp LBB0_36
LBB0_41:
movq %r15, %rax
movq -56(%rbp), %rcx ## 8-byte Reload
subq (%rcx), %rax
movq -88(%rbp), %rdx ## 8-byte Reload
movq %rax, (%rdx)
xorl %eax, %eax
jmp LBB0_38
LBB0_42:
leaq L_.str.1(%rip), %rax
jmp LBB0_36
.cfi_endproc
## -- End function
.comm _ASN1_EOC,1,0 ## @ASN1_EOC
.comm _ASN1_LONG_TAG,1,0 ## @ASN1_LONG_TAG
.comm _ASN1_INDEFINITE_LENGTH,8,3 ## @ASN1_INDEFINITE_LENGTH
.comm _ASN1_CONS_BIT,1,0 ## @ASN1_CONS_BIT
.comm _ASN1_PRIM,1,0 ## @ASN1_PRIM
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Unsupported length"
L_.str.1: ## @.str.1
.asciz "Indefinite len primitive not permitted"
L_.str.2: ## @.str.2
.asciz "Invalid length EOC"
L_.str.3: ## @.str.3
.asciz "Data overrun error"
L_.str.4: ## @.str.4
.asciz "Missing EOC in indefinite len cons"
.no_dead_strip _asn1_find_indefinite_length
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function asn1_find_indefinite_length
_asn1_find_indefinite_length: ; @asn1_find_indefinite_length
.cfi_startproc
; %bb.0:
sub sp, sp, #112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x20, x4
mov x22, x3
mov x19, x2
mov x21, x1
mov x23, x0
ldr x24, [x2]
add x8, x24, x1
cmp x8, #2
cset w0, lo
bl _unlikely
cbz x0, LBB0_3
LBB0_1:
cmp x24, x21
b.ne LBB0_28
; %bb.2:
Lloh0:
adrp x8, l_.str.4@PAGE
Lloh1:
add x8, x8, l_.str.4@PAGEOFF
str x8, [x20]
mov w0, #-1 ; =0xffffffff
mov x24, x21
b LBB0_30
LBB0_3:
sub x25, x21, #1
add x8, x23, #1
str x8, [sp, #8] ; 8-byte Folded Spill
mov w8, #1 ; =0x1
str w8, [sp, #4] ; 4-byte Folded Spill
LBB0_4: ; =>This Loop Header: Depth=1
; Child Loop BB0_7 Depth 2
; Child Loop BB0_17 Depth 2
add x26, x24, #1
ldrb w27, [x23, x24]
Lloh2:
adrp x8, _ASN1_EOC@GOTPAGE
Lloh3:
ldr x8, [x8, _ASN1_EOC@GOTPAGEOFF]
ldrb w8, [x8]
cmp w27, w8
b.eq LBB0_22
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
orr w8, w27, #0x1f
Lloh4:
adrp x9, _ASN1_LONG_TAG@GOTPAGE
Lloh5:
ldr x9, [x9, _ASN1_LONG_TAG@GOTPAGEOFF]
ldrb w9, [x9]
cmp w8, w9
cset w0, eq
bl _unlikely
cbz x0, LBB0_9
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
sub x24, x25, x24
LBB0_7: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
cmp x24, #2
cset w0, lo
bl _unlikely
cbnz x0, LBB0_27
; %bb.8: ; in Loop: Header=BB0_7 Depth=2
add x28, x26, #1
ldrsb w8, [x23, x26]
sub x24, x24, #1
mov x26, x28
tbnz w8, #31, LBB0_7
b LBB0_10
LBB0_9: ; in Loop: Header=BB0_4 Depth=1
mov x28, x26
LBB0_10: ; in Loop: Header=BB0_4 Depth=1
add x24, x28, #1
ldrsb w8, [x23, x28]
and x26, x8, #0xff
tbnz w8, #31, LBB0_12
; %bb.11: ; in Loop: Header=BB0_4 Depth=1
mov x8, x26
b LBB0_19
LBB0_12: ; in Loop: Header=BB0_4 Depth=1
Lloh6:
adrp x8, _ASN1_INDEFINITE_LENGTH@GOTPAGE
Lloh7:
ldr x8, [x8, _ASN1_INDEFINITE_LENGTH@GOTPAGEOFF]
Lloh8:
ldr x8, [x8]
cmp x8, x26
cset w0, eq
bl _unlikely
cbnz x0, LBB0_25
; %bb.13: ; in Loop: Header=BB0_4 Depth=1
sub x27, x26, #128
cmp x27, #6
cset w0, hi
bl _unlikely
cbnz x0, LBB0_31
; %bb.14: ; in Loop: Header=BB0_4 Depth=1
sub x8, x21, x24
cmp x27, x8
cset w0, hi
bl _unlikely
cbnz x0, LBB0_28
; %bb.15: ; in Loop: Header=BB0_4 Depth=1
mov x8, #0 ; =0x0
cbz x27, LBB0_20
; %bb.16: ; in Loop: Header=BB0_4 Depth=1
sub x9, x28, #127
ldr x10, [sp, #8] ; 8-byte Folded Reload
add x10, x10, x28
LBB0_17: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w11, [x10], #1
orr x8, x11, x8, lsl #8
subs x27, x27, #1
b.ne LBB0_17
; %bb.18: ; in Loop: Header=BB0_4 Depth=1
add x24, x9, x26
LBB0_19: ; in Loop: Header=BB0_4 Depth=1
sub x9, x21, x24
cmp x8, x9
b.hi LBB0_28
LBB0_20: ; in Loop: Header=BB0_4 Depth=1
add x24, x8, x24
LBB0_21: ; in Loop: Header=BB0_4 Depth=1
add x8, x24, x21
cmp x8, #2
cset w0, lo
bl _unlikely
cbz x0, LBB0_4
b LBB0_1
LBB0_22: ; in Loop: Header=BB0_4 Depth=1
add x24, x24, #2
ldrb w8, [x23, x26]
cbnz w8, LBB0_32
; %bb.23: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [sp, #4] ; 4-byte Folded Reload
cmp w8, #2
b.lt LBB0_33
; %bb.24: ; in Loop: Header=BB0_4 Depth=1
sub w8, w8, #1
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB0_21
LBB0_25: ; in Loop: Header=BB0_4 Depth=1
Lloh9:
adrp x8, _ASN1_CONS_BIT@GOTPAGE
Lloh10:
ldr x8, [x8, _ASN1_CONS_BIT@GOTPAGEOFF]
ldrb w8, [x8]
and w8, w8, w27
Lloh11:
adrp x9, _ASN1_PRIM@GOTPAGE
Lloh12:
ldr x9, [x9, _ASN1_PRIM@GOTPAGEOFF]
ldrb w9, [x9]
cmp w8, w9, lsl #5
cset w0, eq
bl _unlikely
cbnz x0, LBB0_34
; %bb.26: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [sp, #4] ; 4-byte Folded Reload
add w8, w8, #1
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB0_21
LBB0_27:
mov x24, x26
LBB0_28:
Lloh13:
adrp x8, l_.str.3@PAGE
Lloh14:
add x8, x8, l_.str.3@PAGEOFF
LBB0_29:
str x8, [x20]
mov w0, #-1 ; =0xffffffff
LBB0_30:
str x24, [x19]
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
LBB0_31:
Lloh15:
adrp x8, l_.str@PAGE
Lloh16:
add x8, x8, l_.str@PAGEOFF
b LBB0_29
LBB0_32:
Lloh17:
adrp x8, l_.str.2@PAGE
Lloh18:
add x8, x8, l_.str.2@PAGEOFF
b LBB0_29
LBB0_33:
mov w0, #0 ; =0x0
ldr x8, [x19]
sub x8, x24, x8
str x8, [x22]
b LBB0_30
LBB0_34:
Lloh19:
adrp x8, l_.str.1@PAGE
Lloh20:
add x8, x8, l_.str.1@PAGEOFF
b LBB0_29
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh19, Lloh20
.cfi_endproc
; -- End function
.comm _ASN1_EOC,1,0 ; @ASN1_EOC
.comm _ASN1_LONG_TAG,1,0 ; @ASN1_LONG_TAG
.comm _ASN1_INDEFINITE_LENGTH,8,3 ; @ASN1_INDEFINITE_LENGTH
.comm _ASN1_CONS_BIT,1,0 ; @ASN1_CONS_BIT
.comm _ASN1_PRIM,1,0 ; @ASN1_PRIM
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Unsupported length"
l_.str.1: ; @.str.1
.asciz "Indefinite len primitive not permitted"
l_.str.2: ; @.str.2
.asciz "Invalid length EOC"
l_.str.3: ; @.str.3
.asciz "Data overrun error"
l_.str.4: ; @.str.4
.asciz "Missing EOC in indefinite len cons"
.no_dead_strip _asn1_find_indefinite_length
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function createTableStmt
_createTableStmt: ## @createTableStmt
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r13
movq %rdi, -56(%rbp) ## 8-byte Spill
cmpl $0, (%rsi)
jle LBB0_1
## %bb.2:
movq 8(%r13), %r15
addq $8, %r15
xorl %ebx, %ebx
movl $1, %r12d
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movl (%r15), %edi
callq _identLength
addl %eax, %ebx
addl $5, %ebx
decl %r12d
addq $16, %r15
cmpl (%r13), %r12d
jle LBB0_3
jmp LBB0_4
LBB0_1:
xorl %ebx, %ebx
LBB0_4:
movl 16(%r13), %edi
callq _identLength
movq %r13, %rdx
movq %rax, %r13
addl %ebx, %r13d
cmpl $50, %r13d
leaq L_.str.1(%rip), %rax
leaq L_.str.4(%rip), %rcx
cmovlq %rax, %rcx
movq %rcx, -88(%rbp) ## 8-byte Spill
leaq L_.str.2(%rip), %rax
leaq L_.str.5(%rip), %rbx
cmovlq %rax, %rbx
movq %rdx, -64(%rbp) ## 8-byte Spill
movl (%rdx), %eax
leal (%rax,%rax,2), %eax
leal 35(%r13,%rax,2), %r15d
xorl %edi, %edi
movl %r15d, %esi
callq _sqlite3DbMallocRaw
movq %rax, %r14
testq %rax, %rax
je LBB0_5
## %bb.6:
leaq L_.str.6(%rip), %rdx
xorl %r12d, %r12d
movl %r15d, -48(%rbp) ## 4-byte Spill
movl %r15d, %edi
movq %r14, %rsi
xorl %eax, %eax
callq _sqlite3_snprintf
movq %r14, %rdi
callq _sqlite3Strlen30
movl %eax, -44(%rbp)
movq -64(%rbp), %r15 ## 8-byte Reload
movl 16(%r15), %edx
leaq -44(%rbp), %rsi
movq %r14, %rdi
callq _identPut
movslq -44(%rbp), %rcx
leal 1(%rcx), %eax
movl %eax, -44(%rbp)
movb $40, (%r14,%rcx)
cmpl $0, (%r15)
jle LBB0_12
## %bb.7:
movq %rbx, -72(%rbp) ## 8-byte Spill
cmpl $50, %r13d
leaq L_.str(%rip), %rax
leaq L_.str.3(%rip), %rdx
cmovlq %rax, %rdx
movq 8(%r15), %rbx
movl -48(%rbp), %r13d ## 4-byte Reload
movq %r14, -80(%rbp) ## 8-byte Spill
jmp LBB0_8
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_8 Depth=1
movzbl %al, %edi
callq _assert
movslq -44(%rbp), %rdi
movq -80(%rbp), %rax ## 8-byte Reload
addq %rax, %rdi
movq %r14, %rsi
movq %rax, %r14
movl %r13d, %edx
callq _memcpy
addl -44(%rbp), %r13d
movl %r13d, -44(%rbp)
xorl %edi, %edi
movl -48(%rbp), %eax ## 4-byte Reload
cmpl %eax, %r13d
movl %eax, %r13d
setle %dil
callq _assert
movl -56(%rbp), %r12d ## 4-byte Reload
incl %r12d
addq $16, %rbx
movq -88(%rbp), %rdx ## 8-byte Reload
movq -64(%rbp), %r15 ## 8-byte Reload
cmpl (%r15), %r12d
jge LBB0_11
LBB0_8: ## =>This Inner Loop Header: Depth=1
movl %r12d, -56(%rbp) ## 4-byte Spill
movslq -44(%rbp), %rsi
movl %r13d, %edi
subl %esi, %edi
addq %r14, %rsi
xorl %eax, %eax
callq _sqlite3_snprintf
movslq -44(%rbp), %rdi
addq %r14, %rdi
callq _sqlite3Strlen30
addl %eax, -44(%rbp)
movl 8(%rbx), %edx
movq %r14, %rdi
leaq -44(%rbp), %rsi
callq _identPut
movq (%rbx), %rax
xorl %edi, %edi
movq _SQLITE_AFF_BLOB@GOTPCREL(%rip), %r12
cmpq (%r12), %rax
setge %dil
callq _assert
movq (%rbx), %r14
subq (%r12), %r14
leaq _createTableStmt.azType(%rip), %r15
movq %r15, %rdi
callq _ArraySize
xorl %edi, %edi
cmpq %rax, %r14
setl %dil
callq _assert
movq (%rbx), %rax
xorl %edi, %edi
cmpq (%r12), %rax
sete %dil
callq _testcase
movq (%rbx), %rax
xorl %edi, %edi
movq _SQLITE_AFF_TEXT@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
sete %dil
callq _testcase
movq (%rbx), %rax
xorl %edi, %edi
movq _SQLITE_AFF_NUMERIC@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
sete %dil
callq _testcase
movq (%rbx), %rax
xorl %edi, %edi
movq _SQLITE_AFF_INTEGER@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
sete %dil
callq _testcase
movq (%rbx), %rax
xorl %edi, %edi
movq _SQLITE_AFF_REAL@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
sete %dil
callq _testcase
movq (%rbx), %rax
subq (%r12), %rax
movq (%r15,%rax,8), %r14
movq %r14, %rdi
callq _sqlite3Strlen30
movl %eax, %r13d
xorl %eax, %eax
movq (%rbx), %r15
cmpq (%r12), %r15
jne LBB0_10
## %bb.9: ## in Loop: Header=BB0_8 Depth=1
movq %r14, %rdi
xorl %esi, %esi
callq _sqlite3AffinityType
cmpq %rax, %r15
sete %al
jmp LBB0_10
LBB0_11:
movl -44(%rbp), %eax
movq -72(%rbp), %rbx ## 8-byte Reload
LBB0_12:
movl -48(%rbp), %edi ## 4-byte Reload
subl %eax, %edi
cltq
movq %r14, %rsi
addq %rax, %rsi
leaq L_.str.11(%rip), %rdx
movq %rbx, %rcx
xorl %eax, %eax
callq _sqlite3_snprintf
jmp LBB0_13
LBB0_5:
movq -56(%rbp), %rdi ## 8-byte Reload
callq _sqlite3OomFault
LBB0_13:
movq %r14, %rax
addq $56, %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
.space 1
L_.str.1: ## @.str.1
.asciz ","
L_.str.2: ## @.str.2
.asciz ")"
L_.str.3: ## @.str.3
.asciz "\n "
L_.str.4: ## @.str.4
.asciz ",\n "
L_.str.5: ## @.str.5
.asciz "\n)"
L_.str.6: ## @.str.6
.asciz "CREATE TABLE "
.section __DATA,__const
.p2align 4, 0x0 ## @createTableStmt.azType
_createTableStmt.azType:
.quad L_.str
.quad L_.str.7
.quad L_.str.8
.quad L_.str.9
.quad L_.str.10
.section __TEXT,__cstring,cstring_literals
L_.str.7: ## @.str.7
.asciz " TEXT"
L_.str.8: ## @.str.8
.asciz " NUM"
L_.str.9: ## @.str.9
.asciz " INT"
L_.str.10: ## @.str.10
.asciz " REAL"
.comm _SQLITE_AFF_BLOB,8,3 ## @SQLITE_AFF_BLOB
.comm _SQLITE_AFF_TEXT,8,3 ## @SQLITE_AFF_TEXT
.comm _SQLITE_AFF_NUMERIC,8,3 ## @SQLITE_AFF_NUMERIC
.comm _SQLITE_AFF_INTEGER,8,3 ## @SQLITE_AFF_INTEGER
.comm _SQLITE_AFF_REAL,8,3 ## @SQLITE_AFF_REAL
L_.str.11: ## @.str.11
.asciz "%s"
.no_dead_strip _createTableStmt
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function createTableStmt
_createTableStmt: ; @createTableStmt
.cfi_startproc
; %bb.0:
sub sp, sp, #128
stp x28, x27, [sp, #32] ; 16-byte Folded Spill
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x1
mov x22, x0
ldr w8, [x1]
cmp w8, #1
b.lt LBB0_3
; %bb.1:
mov w20, #0 ; =0x0
ldr x8, [x19, #8]
add x21, x8, #8
mov w23, #1 ; =0x1
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr w0, [x21], #16
bl _identLength
add w8, w20, w0
add w20, w8, #5
ldr w8, [x19]
sub w23, w23, #1
cmp w23, w8
b.le LBB0_2
b LBB0_4
LBB0_3:
mov w20, #0 ; =0x0
LBB0_4:
ldr w0, [x19, #16]
bl _identLength
Lloh0:
adrp x8, l_.str.4@PAGE
Lloh1:
add x8, x8, l_.str.4@PAGEOFF
Lloh2:
adrp x9, l_.str.1@PAGE
Lloh3:
add x9, x9, l_.str.1@PAGEOFF
add w23, w20, w0
cmp w23, #50
Lloh4:
adrp x10, l_.str.5@PAGE
Lloh5:
add x10, x10, l_.str.5@PAGEOFF
Lloh6:
adrp x11, l_.str.2@PAGE
Lloh7:
add x11, x11, l_.str.2@PAGEOFF
csel x8, x9, x8, lt
str x8, [sp, #16] ; 8-byte Folded Spill
csel x24, x11, x10, lt
ldr w8, [x19]
mov w9, #6 ; =0x6
madd w8, w8, w9, w23
add w21, w8, #35
mov w0, #0 ; =0x0
mov x1, x21
bl _sqlite3DbMallocRaw
mov x20, x0
cbz x0, LBB0_13
; %bb.5:
Lloh8:
adrp x2, l_.str.6@PAGE
Lloh9:
add x2, x2, l_.str.6@PAGEOFF
mov x0, x21
mov x1, x20
bl _sqlite3_snprintf
mov x0, x20
bl _sqlite3Strlen30
str w0, [sp, #28]
ldr w2, [x19, #16]
add x1, sp, #28
mov x0, x20
bl _identPut
ldrsw x9, [sp, #28]
add w8, w9, #1
str w8, [sp, #28]
mov w10, #40 ; =0x28
strb w10, [x20, x9]
ldr w9, [x19]
cmp w9, #1
b.lt LBB0_12
; %bb.6:
str x24, [sp, #8] ; 8-byte Folded Spill
mov w27, #0 ; =0x0
ldr x28, [x19, #8]
Lloh10:
adrp x8, l_.str.3@PAGE
Lloh11:
add x8, x8, l_.str.3@PAGEOFF
Lloh12:
adrp x9, l_.str@PAGE
Lloh13:
add x9, x9, l_.str@PAGEOFF
cmp w23, #50
csel x2, x9, x8, lt
Lloh14:
adrp x25, _SQLITE_AFF_BLOB@GOTPAGE
Lloh15:
ldr x25, [x25, _SQLITE_AFF_BLOB@GOTPAGEOFF]
Lloh16:
adrp x22, _createTableStmt.azType@PAGE
Lloh17:
add x22, x22, _createTableStmt.azType@PAGEOFF
b LBB0_9
LBB0_7: ; in Loop: Header=BB0_9 Depth=1
mov x0, x23
mov w1, #0 ; =0x0
bl _sqlite3AffinityType
cmp x26, x0
cset w0, eq
LBB0_8: ; in Loop: Header=BB0_9 Depth=1
bl _assert
ldrsw x8, [sp, #28]
add x0, x20, x8
mov x1, x23
mov x2, x24
bl _memcpy
ldr w8, [sp, #28]
add w8, w8, w24
cmp w8, w21
str w8, [sp, #28]
cset w0, le
bl _assert
add w27, w27, #1
add x28, x28, #16
ldr w8, [x19]
ldr x2, [sp, #16] ; 8-byte Folded Reload
cmp w27, w8
b.ge LBB0_11
LBB0_9: ; =>This Inner Loop Header: Depth=1
ldrsw x8, [sp, #28]
sub w0, w21, w8
add x1, x20, x8
bl _sqlite3_snprintf
ldrsw x8, [sp, #28]
add x0, x20, x8
bl _sqlite3Strlen30
ldr w8, [sp, #28]
add w8, w8, w0
str w8, [sp, #28]
ldr w2, [x28, #8]
add x1, sp, #28
mov x0, x20
bl _identPut
ldr x8, [x28]
ldr x9, [x25]
cmp x8, x9
cset w0, ge
bl _assert
ldr x8, [x28]
ldr x9, [x25]
sub x23, x8, x9
mov x0, x22
bl _ArraySize
cmp x23, x0
cset w0, lt
bl _assert
ldr x8, [x28]
ldr x9, [x25]
cmp x8, x9
cset w0, eq
bl _testcase
ldr x8, [x28]
Lloh18:
adrp x9, _SQLITE_AFF_TEXT@GOTPAGE
Lloh19:
ldr x9, [x9, _SQLITE_AFF_TEXT@GOTPAGEOFF]
Lloh20:
ldr x9, [x9]
cmp x8, x9
cset w0, eq
bl _testcase
ldr x8, [x28]
Lloh21:
adrp x9, _SQLITE_AFF_NUMERIC@GOTPAGE
Lloh22:
ldr x9, [x9, _SQLITE_AFF_NUMERIC@GOTPAGEOFF]
Lloh23:
ldr x9, [x9]
cmp x8, x9
cset w0, eq
bl _testcase
ldr x8, [x28]
Lloh24:
adrp x9, _SQLITE_AFF_INTEGER@GOTPAGE
Lloh25:
ldr x9, [x9, _SQLITE_AFF_INTEGER@GOTPAGEOFF]
Lloh26:
ldr x9, [x9]
cmp x8, x9
cset w0, eq
bl _testcase
ldr x8, [x28]
Lloh27:
adrp x9, _SQLITE_AFF_REAL@GOTPAGE
Lloh28:
ldr x9, [x9, _SQLITE_AFF_REAL@GOTPAGEOFF]
Lloh29:
ldr x9, [x9]
cmp x8, x9
cset w0, eq
bl _testcase
ldr x8, [x28]
ldr x9, [x25]
sub x8, x8, x9
ldr x23, [x22, x8, lsl #3]
mov x0, x23
bl _sqlite3Strlen30
mov x24, x0
ldr x26, [x28]
ldr x8, [x25]
cmp x26, x8
b.eq LBB0_7
; %bb.10: ; in Loop: Header=BB0_9 Depth=1
mov w0, #0 ; =0x0
b LBB0_8
LBB0_11:
ldr w8, [sp, #28]
ldr x24, [sp, #8] ; 8-byte Folded Reload
LBB0_12:
sub w0, w21, w8
add x1, x20, w8, sxtw
str x24, [sp]
Lloh30:
adrp x2, l_.str.11@PAGE
Lloh31:
add x2, x2, l_.str.11@PAGEOFF
bl _sqlite3_snprintf
b LBB0_14
LBB0_13:
mov x0, x22
bl _sqlite3OomFault
LBB0_14:
mov x0, x20
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
ldp x28, x27, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #128
ret
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpAdd Lloh30, Lloh31
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.space 1
l_.str.1: ; @.str.1
.asciz ","
l_.str.2: ; @.str.2
.asciz ")"
l_.str.3: ; @.str.3
.asciz "\n "
l_.str.4: ; @.str.4
.asciz ",\n "
l_.str.5: ; @.str.5
.asciz "\n)"
l_.str.6: ; @.str.6
.asciz "CREATE TABLE "
.section __DATA,__const
.p2align 3, 0x0 ; @createTableStmt.azType
_createTableStmt.azType:
.quad l_.str
.quad l_.str.7
.quad l_.str.8
.quad l_.str.9
.quad l_.str.10
.section __TEXT,__cstring,cstring_literals
l_.str.7: ; @.str.7
.asciz " TEXT"
l_.str.8: ; @.str.8
.asciz " NUM"
l_.str.9: ; @.str.9
.asciz " INT"
l_.str.10: ; @.str.10
.asciz " REAL"
.comm _SQLITE_AFF_BLOB,8,3 ; @SQLITE_AFF_BLOB
.comm _SQLITE_AFF_TEXT,8,3 ; @SQLITE_AFF_TEXT
.comm _SQLITE_AFF_NUMERIC,8,3 ; @SQLITE_AFF_NUMERIC
.comm _SQLITE_AFF_INTEGER,8,3 ; @SQLITE_AFF_INTEGER
.comm _SQLITE_AFF_REAL,8,3 ; @SQLITE_AFF_REAL
l_.str.11: ; @.str.11
.asciz "%s"
.no_dead_strip _createTableStmt
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _upl_range_needed ## -- Begin function upl_range_needed
.p2align 4, 0x90
_upl_range_needed: ## @upl_range_needed
.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
.cfi_offset %rbx, -24
movl %edx, %ecx
testl %edx, %edx
jg LBB0_2
## %bb.1:
movq _UPL_INTERNAL@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl (%rdi), %eax
je LBB0_11
LBB0_2:
movl 4(%rdi), %eax
movq _PAGE_SIZE@GOTPCREL(%rip), %r8
cltd
idivl (%r8)
testl %ecx, %ecx
sete %dl
cmpl %esi, %eax
setle %r8b
orb %dl, %r8b
jne LBB0_11
## %bb.3:
addq $4, %rdi
movslq %esi, %r9
cltq
movq _TRUE@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
movq %r9, %r8
notq %r8
addq %rax, %r8
leal -1(%rcx), %esi
cmpq %rsi, %r8
cmovaeq %rsi, %r8
cmpq $7, %r8
jae LBB0_5
## %bb.4:
movq %r9, %rsi
jmp LBB0_8
LBB0_5:
incq %r8
movabsq $8589934584, %r10 ## imm = 0x1FFFFFFF8
andq %r8, %r10
leaq (%r10,%r9), %rsi
subl %r10d, %ecx
movd %edx, %xmm0
pshufd $0, %xmm0, %xmm0 ## xmm0 = xmm0[0,0,0,0]
leaq (%rdi,%r9,4), %r9
addq $16, %r9
leaq (,%r8,4), %r11
andq $-32, %r11
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
movdqu %xmm0, -16(%r9,%rbx)
movdqu %xmm0, (%r9,%rbx)
addq $32, %rbx
cmpq %rbx, %r11
jne LBB0_6
## %bb.7:
cmpq %r10, %r8
je LBB0_11
LBB0_8:
incq %rsi
decl %ecx
.p2align 4, 0x90
LBB0_9: ## =>This Inner Loop Header: Depth=1
movl %edx, -4(%rdi,%rsi,4)
addl $-1, %ecx
jae LBB0_11
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
leaq 1(%rsi), %r8
cmpq %rax, %rsi
movq %r8, %rsi
jl LBB0_9
LBB0_11:
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _UPL_INTERNAL,4,2 ## @UPL_INTERNAL
.comm _PAGE_SIZE,4,2 ## @PAGE_SIZE
.comm _TRUE,4,2 ## @TRUE
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _upl_range_needed ; -- Begin function upl_range_needed
.p2align 2
_upl_range_needed: ; @upl_range_needed
.cfi_startproc
; %bb.0:
; kill: def $w1 killed $w1 def $x1
cmp w2, #0
b.gt LBB0_3
; %bb.1:
ldr w8, [x0]
Lloh0:
adrp x9, _UPL_INTERNAL@GOTPAGE
Lloh1:
ldr x9, [x9, _UPL_INTERNAL@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
orr w8, w9, w8
cbnz w8, LBB0_3
LBB0_2:
ret
LBB0_3:
cbz w2, LBB0_2
; %bb.4:
ldr w8, [x0, #4]!
Lloh3:
adrp x9, _PAGE_SIZE@GOTPAGE
Lloh4:
ldr x9, [x9, _PAGE_SIZE@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
sdiv w8, w8, w9
cmp w8, w1
b.le LBB0_2
; %bb.5:
sxtw x13, w1
sxtw x8, w8
Lloh6:
adrp x9, _TRUE@GOTPAGE
Lloh7:
ldr x9, [x9, _TRUE@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
mvn x10, x13
sub w11, w2, #1
add x10, x10, x8
cmp x10, x11
csel x10, x10, x11, lo
cmp x10, #15
b.hs LBB0_7
; %bb.6:
mov x10, x13
b LBB0_10
LBB0_7:
add x11, x10, #1
and x12, x11, #0x1fffffff0
add x10, x12, x13
sub w2, w2, w12
dup.4s v0, w9
add x13, x0, x13, lsl #2
add x13, x13, #32
mov x14, x12
LBB0_8: ; =>This Inner Loop Header: Depth=1
stp q0, q0, [x13, #-32]
stp q0, q0, [x13], #64
subs x14, x14, #16
b.ne LBB0_8
; %bb.9:
cmp x11, x12
b.eq LBB0_2
LBB0_10:
add x11, x0, x10, lsl #2
add x12, x10, #1
sub w10, w2, #1
LBB0_11: ; =>This Inner Loop Header: Depth=1
str w9, [x11], #4
subs w10, w10, #1
b.lo LBB0_2
; %bb.12: ; in Loop: Header=BB0_11 Depth=1
add x13, x12, #1
cmp x12, x8
mov x12, x13
b.lt LBB0_11
b LBB0_2
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _UPL_INTERNAL,4,2 ; @UPL_INTERNAL
.comm _PAGE_SIZE,4,2 ; @PAGE_SIZE
.comm _TRUE,4,2 ; @TRUE
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function perform_query_rate_left
_perform_query_rate_left: ## @perform_query_rate_left
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB0_8
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movq _R_cnt@GOTPCREL(%rip), %r14
movq _Q_limit@GOTPCREL(%rip), %r15
movq _R@GOTPCREL(%rip), %r12
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq 8(%rbx), %rdi
callq _perform_query_rate_left
movl (%r15), %eax
addl %eax, %eax
cmpl %eax, (%r14)
jge LBB0_7
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq %rbx, %rdi
callq _user_matches
testq %rax, %rax
je LBB0_5
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movl (%rbx), %eax
movq (%r12), %rcx
movslq (%r14), %rdx
leal 1(%rdx), %esi
movl %esi, (%r14)
movl %eax, (%rcx,%rdx,4)
movl 4(%rbx), %eax
sarl $8, %eax
movslq (%r14), %rdx
leal 1(%rdx), %esi
movl %esi, (%r14)
movl %eax, (%rcx,%rdx,4)
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
movl (%r15), %eax
addl %eax, %eax
cmpl %eax, (%r14)
jge LBB0_7
## %bb.6: ## in Loop: Header=BB0_2 Depth=1
movq (%rbx), %rbx
testq %rbx, %rbx
jne LBB0_2
LBB0_7:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
LBB0_8:
retq
.cfi_endproc
## -- End function
.comm _R_cnt,4,2 ## @R_cnt
.comm _Q_limit,4,2 ## @Q_limit
.comm _R,8,3 ## @R
.no_dead_strip _perform_query_rate_left
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function perform_query_rate_left
_perform_query_rate_left: ; @perform_query_rate_left
.cfi_startproc
; %bb.0:
cbz x0, LBB0_8
; %bb.1:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
Lloh0:
adrp x20, _R_cnt@GOTPAGE
Lloh1:
ldr x20, [x20, _R_cnt@GOTPAGEOFF]
Lloh2:
adrp x21, _Q_limit@GOTPAGE
Lloh3:
ldr x21, [x21, _Q_limit@GOTPAGEOFF]
Lloh4:
adrp x22, _R@GOTPAGE
Lloh5:
ldr x22, [x22, _R@GOTPAGEOFF]
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x0, [x19, #8]
bl _perform_query_rate_left
ldr w8, [x20]
ldr w9, [x21]
cmp w8, w9, lsl #1
b.ge LBB0_7
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
mov x0, x19
bl _user_matches
cbz x0, LBB0_5
; %bb.4: ; in Loop: Header=BB0_2 Depth=1
ldr w8, [x19]
ldr x9, [x22]
ldrsw x10, [x20]
add w11, w10, #1
str w11, [x20]
str w8, [x9, x10, lsl #2]
ldr w8, [x19, #4]
asr w8, w8, #8
ldrsw x10, [x20]
add w11, w10, #1
str w11, [x20]
str w8, [x9, x10, lsl #2]
LBB0_5: ; in Loop: Header=BB0_2 Depth=1
ldr w8, [x20]
ldr w9, [x21]
cmp w8, w9, lsl #1
b.ge LBB0_7
; %bb.6: ; in Loop: Header=BB0_2 Depth=1
ldr x19, [x19]
cbnz x19, LBB0_2
LBB0_7:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
LBB0_8:
ret
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _R_cnt,4,2 ; @R_cnt
.comm _Q_limit,4,2 ; @Q_limit
.comm _R,8,3 ; @R
.no_dead_strip _perform_query_rate_left
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _uconv_u32tou8 ## -- Begin function uconv_u32tou8
.p2align 4, 0x90
_uconv_u32tou8: ## @uconv_u32tou8
.cfi_startproc
## %bb.0:
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
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
setne %dil
testb %dil, %al
jne LBB0_2
## %bb.1:
movq _EILSEQ@GOTPCREL(%rip), %rax
movl (%rax), %ebx
jmp LBB0_10
LBB0_2:
testq %rdx, %rdx
setne %al
testq %rcx, %rcx
setne %dl
testb %dl, %al
jne LBB0_4
## %bb.3:
movq _E2BIG@GOTPCREL(%rip), %rax
movl (%rax), %ebx
jmp LBB0_10
LBB0_4:
movq %rsi, %r15
movq %rcx, %r14
leaq -36(%rbp), %rsi
leaq -40(%rbp), %rdx
movl %r8d, %r12d
movl %r8d, %edi
callq _check_endian
testq %rax, %rax
je LBB0_6
## %bb.5:
movq _EBADF@GOTPCREL(%rip), %rax
movl (%rax), %ebx
jmp LBB0_10
LBB0_6:
movq _UCONV_IN_ACCEPT_BOM@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
testl %r12d, (%rax)
je LBB0_7
## %bb.8:
movq (%r15), %rsi
xorl %r12d, %r12d
leaq -36(%rbp), %rdx
xorl %edi, %edi
callq _check_bom32
negq %rax
sbbq %r12, %r12
jmp LBB0_9
LBB0_7:
xorl %r12d, %r12d
LBB0_9:
movq %r12, (%r15)
movq $0, (%r14)
LBB0_10:
movl %ebx, %eax
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EILSEQ,4,2 ## @EILSEQ
.comm _E2BIG,4,2 ## @E2BIG
.comm _EBADF,4,2 ## @EBADF
.comm _UCONV_IGNORE_NULL,4,2 ## @UCONV_IGNORE_NULL
.comm _UCONV_IN_ACCEPT_BOM,4,2 ## @UCONV_IN_ACCEPT_BOM
.comm _UCONV_IN_NAT_ENDIAN,4,2 ## @UCONV_IN_NAT_ENDIAN
.comm _UCONV_U8_ONE_BYTE,8,3 ## @UCONV_U8_ONE_BYTE
.comm _UCONV_U8_TWO_BYTES,8,3 ## @UCONV_U8_TWO_BYTES
.comm _UCONV_U8_THREE_BYTES,8,3 ## @UCONV_U8_THREE_BYTES
.comm _UCONV_U8_FOUR_BYTES,8,3 ## @UCONV_U8_FOUR_BYTES
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _uconv_u32tou8 ; -- Begin function uconv_u32tou8
.p2align 2
_uconv_u32tou8: ; @uconv_u32tou8
.cfi_startproc
; %bb.0:
cbnz x0, LBB0_6
; %bb.1:
cbz x1, LBB0_6
; %bb.2:
cbz x2, LBB0_7
; %bb.3:
cbz x3, LBB0_7
; %bb.4:
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, x3
add x1, sp, #12
add x2, sp, #8
mov x21, x4
mov x0, x4
bl _check_endian
cbz x0, LBB0_8
; %bb.5:
Lloh0:
adrp x8, _EBADF@GOTPAGE
Lloh1:
ldr x8, [x8, _EBADF@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
b LBB0_12
LBB0_6:
Lloh3:
adrp x8, _EILSEQ@GOTPAGE
Lloh4:
ldr x8, [x8, _EILSEQ@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
ret
LBB0_7:
Lloh6:
adrp x8, _E2BIG@GOTPAGE
Lloh7:
ldr x8, [x8, _E2BIG@GOTPAGEOFF]
Lloh8:
ldr w0, [x8]
ret
LBB0_8:
Lloh9:
adrp x8, _UCONV_IN_ACCEPT_BOM@GOTPAGE
Lloh10:
ldr x8, [x8, _UCONV_IN_ACCEPT_BOM@GOTPAGEOFF]
Lloh11:
ldr w8, [x8]
tst w8, w21
b.eq LBB0_10
; %bb.9:
ldr x1, [x20]
add x2, sp, #12
mov x0, #0 ; =0x0
bl _check_bom32
cmp x0, #0
csetm x8, ne
b LBB0_11
LBB0_10:
mov x8, #0 ; =0x0
LBB0_11:
mov w0, #0 ; =0x0
str x8, [x20]
str xzr, [x19]
LBB0_12:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.cfi_endproc
; -- End function
.comm _EILSEQ,4,2 ; @EILSEQ
.comm _E2BIG,4,2 ; @E2BIG
.comm _EBADF,4,2 ; @EBADF
.comm _UCONV_IGNORE_NULL,4,2 ; @UCONV_IGNORE_NULL
.comm _UCONV_IN_ACCEPT_BOM,4,2 ; @UCONV_IN_ACCEPT_BOM
.comm _UCONV_IN_NAT_ENDIAN,4,2 ; @UCONV_IN_NAT_ENDIAN
.comm _UCONV_U8_ONE_BYTE,8,3 ; @UCONV_U8_ONE_BYTE
.comm _UCONV_U8_TWO_BYTES,8,3 ; @UCONV_U8_TWO_BYTES
.comm _UCONV_U8_THREE_BYTES,8,3 ; @UCONV_U8_THREE_BYTES
.comm _UCONV_U8_FOUR_BYTES,8,3 ; @UCONV_U8_FOUR_BYTES
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function oplldt
_oplldt: ## @oplldt
.cfi_startproc
## %bb.0:
movl $-1, %eax
cmpl $1, (%rdx)
jne LBB0_7
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq 8(%rdx), %rcx
movq _OT_WORD@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
orl (%rcx), %edx
je LBB0_6
## %bb.2:
movabsq $64424509440, %rax ## imm = 0xF00000000
movq %rax, -4(%rsi)
movq _OT_MEMORY@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, (%rcx)
je LBB0_4
## %bb.3:
movq 8(%rcx), %rax
movl (%rax), %eax
orl $16, %eax
jmp LBB0_5
LBB0_4:
movl $208, %eax
orl 16(%rcx), %eax
LBB0_5:
movl %eax, (%rsi)
movl $1, %eax
LBB0_6:
popq %rbp
LBB0_7:
retq
.cfi_endproc
## -- End function
.comm _OT_WORD,4,2 ## @OT_WORD
.comm _OT_MEMORY,4,2 ## @OT_MEMORY
.no_dead_strip _oplldt
.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 oplldt
lCPI0_0:
.long 0 ; 0x0
.long 15 ; 0xf
.section __TEXT,__text,regular,pure_instructions
.p2align 2
_oplldt: ; @oplldt
.cfi_startproc
; %bb.0:
ldr w8, [x2]
cmp w8, #1
b.ne LBB0_4
; %bb.1:
ldr x8, [x2, #8]
ldr w9, [x8]
Lloh0:
adrp x10, _OT_WORD@GOTPAGE
Lloh1:
ldr x10, [x10, _OT_WORD@GOTPAGEOFF]
Lloh2:
ldr w10, [x10]
orr w9, w10, w9
cbz w9, LBB0_4
; %bb.2:
Lloh3:
adrp x9, lCPI0_0@PAGE
Lloh4:
ldr d0, [x9, lCPI0_0@PAGEOFF]
stur d0, [x1, #-4]
ldr w9, [x8]
Lloh5:
adrp x10, _OT_MEMORY@GOTPAGE
Lloh6:
ldr x10, [x10, _OT_MEMORY@GOTPAGEOFF]
Lloh7:
ldr w10, [x10]
tst w10, w9
b.eq LBB0_5
; %bb.3:
ldr x8, [x8, #8]
ldr w8, [x8]
orr w8, w8, #0x10
b LBB0_6
LBB0_4:
mov w0, #-1 ; =0xffffffff
ret
LBB0_5:
ldr w8, [x8, #16]
mov w9, #208 ; =0xd0
orr w8, w8, w9
LBB0_6:
str w8, [x1]
mov w0, #1 ; =0x1
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdr Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _OT_WORD,4,2 ; @OT_WORD
.comm _OT_MEMORY,4,2 ; @OT_MEMORY
.no_dead_strip _oplldt
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function rebuild_known_cipher_nids
_rebuild_known_cipher_nids: ## @rebuild_known_cipher_nids
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movq _known_cipher_nids_amount@GOTPCREL(%rip), %r15
movq $0, (%r15)
movq _cipher_data@GOTPCREL(%rip), %r12
movq (%r12), %rdi
callq _OSSL_NELEM
testq %rax, %rax
je LBB0_5
## %bb.1:
xorl %r14d, %r14d
movq _known_cipher_nids@GOTPCREL(%rip), %r13
jmp LBB0_2
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
incq %r14
callq _OSSL_NELEM
cmpq %rax, %r14
jae LBB0_5
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
callq _devcrypto_test_cipher
movq (%r12), %rdi
testq %rax, %rax
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movl (%rdi,%r14,4), %eax
movq (%r13), %rcx
movq (%r15), %rdx
leaq 1(%rdx), %rsi
movq %rsi, (%r15)
movl %eax, (%rcx,%rdx,4)
jmp LBB0_4
LBB0_5:
movq %rbx, %rdi
callq _ENGINE_unregister_ciphers
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _ENGINE_register_ciphers ## TAILCALL
.cfi_endproc
## -- End function
.comm _known_cipher_nids_amount,8,3 ## @known_cipher_nids_amount
.comm _cipher_data,8,3 ## @cipher_data
.comm _known_cipher_nids,8,3 ## @known_cipher_nids
.no_dead_strip _rebuild_known_cipher_nids
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function rebuild_known_cipher_nids
_rebuild_known_cipher_nids: ; @rebuild_known_cipher_nids
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x0
Lloh0:
adrp x21, _known_cipher_nids_amount@GOTPAGE
Lloh1:
ldr x21, [x21, _known_cipher_nids_amount@GOTPAGEOFF]
str xzr, [x21]
Lloh2:
adrp x22, _cipher_data@GOTPAGE
Lloh3:
ldr x22, [x22, _cipher_data@GOTPAGEOFF]
ldr x0, [x22]
bl _OSSL_NELEM
cbz x0, LBB0_5
; %bb.1:
mov x20, #0 ; =0x0
Lloh4:
adrp x23, _known_cipher_nids@GOTPAGE
Lloh5:
ldr x23, [x23, _known_cipher_nids@GOTPAGEOFF]
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x20, x20, #1
bl _OSSL_NELEM
cmp x20, x0
b.hs LBB0_5
LBB0_3: ; =>This Inner Loop Header: Depth=1
mov x0, x20
bl _devcrypto_test_cipher
mov x8, x0
ldr x0, [x22]
cbz x8, LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [x0, x20, lsl #2]
ldr x9, [x23]
ldr x10, [x21]
add x11, x10, #1
str x11, [x21]
str w8, [x9, x10, lsl #2]
b LBB0_2
LBB0_5:
mov x0, x19
bl _ENGINE_unregister_ciphers
mov x0, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
b _ENGINE_register_ciphers
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _known_cipher_nids_amount,8,3 ; @known_cipher_nids_amount
.comm _cipher_data,8,3 ; @cipher_data
.comm _known_cipher_nids,8,3 ; @known_cipher_nids
.no_dead_strip _rebuild_known_cipher_nids
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function create_range_bounds
_create_range_bounds: ## @create_range_bounds
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %rbx
movl %esi, %r13d
movq %rdi, %r14
movl $48, %edi
callq _palloc0
movq %rax, %r12
movl 40(%rbx), %eax
movl %eax, 40(%r12)
movq $-1, (%r12)
movl %r13d, %edi
shll $4, %edi
callq _palloc0
movq %rax, %r15
testl %r13d, %r13d
jle LBB0_7
## %bb.1:
movq %rbx, -56(%rbp) ## 8-byte Spill
xorl %r12d, %r12d
movq _PARTITION_STRATEGY_RANGE@GOTPCREL(%rip), %r13
movl $0, -44(%rbp) ## 4-byte Folded Spill
movq %r15, %rbx
jmp LBB0_2
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
cmpq $0, 16(%r15)
je LBB0_5
LBB0_6: ## in Loop: Header=BB0_2 Depth=1
decq %r12
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq (%r14,%r12,8), %r15
movq (%r15), %rax
cmpq (%r13), %rax
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq _ERROR@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
callq _elog
jmp LBB0_4
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
movl 12(%r15), %edx
movq %rbx, %r13
movq %r14, %rbx
movq -56(%rbp), %r14 ## 8-byte Reload
movq %r14, %rdi
movl %r12d, %esi
movl $1, %ecx
callq _make_one_partition_rbound
movq %rax, -64(%rbp) ## 8-byte Spill
movl 8(%r15), %edx
movq %r14, %rdi
movq %rbx, %r14
movq %r13, %rbx
movq _PARTITION_STRATEGY_RANGE@GOTPCREL(%rip), %r13
movl %r12d, %esi
xorl %ecx, %ecx
callq _make_one_partition_rbound
movslq -44(%rbp), %rcx ## 4-byte Folded Reload
movq -64(%rbp), %rdx ## 8-byte Reload
movq %rdx, (%rbx,%rcx,8)
leal 2(%rcx), %edx
movl %edx, -44(%rbp) ## 4-byte Spill
movq %rax, 8(%rbx,%rcx,8)
jmp LBB0_6
LBB0_7:
xorl %edi, %edi
callq _Assert
movq _qsort_partition_rbound_cmp@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %r15, %rdi
xorl %esi, %esi
movl $8, %edx
movq %rbx, %r8
callq _qsort_arg
xorl %edi, %edi
callq _palloc
movl $0, 8(%r12)
xorl %edi, %edi
callq _palloc0
movq %rax, 32(%r12)
xorl %edi, %edi
callq _palloc
movq %rax, 16(%r12)
movl $4, %edi
callq _palloc
movq %rax, 24(%r12)
movl $1, %edi
callq _Assert
movq 24(%r12), %rax
movl $-1, (%rax)
xorl %edi, %edi
testl %r13d, %r13d
sete %dil
callq _Assert
movq %r12, %rax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PARTITION_STRATEGY_RANGE,8,3 ## @PARTITION_STRATEGY_RANGE
.comm _ERROR,4,2 ## @ERROR
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "invalid strategy in partition bound spec"
.comm _qsort_partition_rbound_cmp,4,2 ## @qsort_partition_rbound_cmp
.comm _PARTITION_RANGE_DATUM_VALUE,8,3 ## @PARTITION_RANGE_DATUM_VALUE
.no_dead_strip _create_range_bounds
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function create_range_bounds
_create_range_bounds: ; @create_range_bounds
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x2
mov x22, x1
mov x20, x0
mov w0, #48 ; =0x30
bl _palloc0
mov x23, x0
ldr w8, [x19, #40]
str w8, [x0, #40]
movi.2d v0, #0xffffffffffffffff
str d0, [x0]
lsl w0, w22, #4
bl _palloc0
mov x21, x0
cmp w22, #1
b.lt LBB0_7
; %bb.1:
mov x22, #0 ; =0x0
mov w25, #0 ; =0x0
Lloh0:
adrp x26, _PARTITION_STRATEGY_RANGE@GOTPAGE
Lloh1:
ldr x26, [x26, _PARTITION_STRATEGY_RANGE@GOTPAGEOFF]
Lloh2:
adrp x27, _ERROR@GOTPAGE
Lloh3:
ldr x27, [x27, _ERROR@GOTPAGEOFF]
Lloh4:
adrp x23, l_.str@PAGE
Lloh5:
add x23, x23, l_.str@PAGEOFF
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x28, #16]
cbz x8, LBB0_6
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
sub x22, x22, #1
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr x28, [x20, x22, lsl #3]
ldr x8, [x28]
ldr x9, [x26]
cmp x8, x9
b.eq LBB0_2
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
ldr w0, [x27]
mov x1, x23
bl _elog
b LBB0_2
LBB0_6: ; in Loop: Header=BB0_4 Depth=1
ldr w2, [x28, #12]
mov x0, x19
mov x1, x22
mov w3, #1 ; =0x1
bl _make_one_partition_rbound
mov x24, x0
ldr w2, [x28, #8]
mov x0, x19
mov x1, x22
mov w3, #0 ; =0x0
bl _make_one_partition_rbound
add x8, x21, w25, sxtw #3
add w25, w25, #2
stp x24, x0, [x8]
b LBB0_3
LBB0_7:
mov w0, #0 ; =0x0
bl _Assert
Lloh6:
adrp x8, _qsort_partition_rbound_cmp@GOTPAGE
Lloh7:
ldr x8, [x8, _qsort_partition_rbound_cmp@GOTPAGEOFF]
Lloh8:
ldr w3, [x8]
mov x0, x21
mov w1, #0 ; =0x0
mov w2, #8 ; =0x8
mov x4, x19
bl _qsort_arg
mov w0, #0 ; =0x0
bl _palloc
str wzr, [x23, #8]
mov w0, #0 ; =0x0
bl _palloc0
str x0, [x23, #32]
mov w0, #0 ; =0x0
bl _palloc
str x0, [x23, #16]
mov w0, #4 ; =0x4
bl _palloc
str x0, [x23, #24]
mov w0, #1 ; =0x1
bl _Assert
ldr x8, [x23, #24]
mov w9, #-1 ; =0xffffffff
str w9, [x8]
cmp w22, #0
cset w0, eq
bl _Assert
mov x0, x23
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _PARTITION_STRATEGY_RANGE,8,3 ; @PARTITION_STRATEGY_RANGE
.comm _ERROR,4,2 ; @ERROR
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "invalid strategy in partition bound spec"
.comm _qsort_partition_rbound_cmp,4,2 ; @qsort_partition_rbound_cmp
.comm _PARTITION_RANGE_DATUM_VALUE,8,3 ; @PARTITION_RANGE_DATUM_VALUE
.no_dead_strip _create_range_bounds
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function id_bucket
_id_bucket: ## @id_bucket
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
## kill: def $esi killed $esi def $rsi
xorl %eax, %eax
cmpl $9, %esi
jl LBB0_2
## %bb.1:
movl %esi, %ecx
subl $16, %ecx
cmovbl %eax, %ecx
addl $7, %ecx
movl %ecx, %eax
shrl $3, %eax
notl %eax
andl $-8, %ecx
negl %ecx
addl %ecx, %esi
addl $-8, %esi
cltq
LBB0_2:
movl (%rdi,%rax,4), %eax
movb $8, %cl
subb %sil, %cl
sarl %cl, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _id_bucket
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function id_bucket
_id_bucket: ; @id_bucket
.cfi_startproc
; %bb.0:
subs w8, w1, #16
csel w8, wzr, w8, lo
add w8, w8, #7
mov w9, #-1 ; =0xffffffff
eor w9, w9, w8, lsr #3
and w8, w8, #0xfffffff8
sub w8, w1, w8
sub w8, w8, #8
sxtw x9, w9
cmp w1, #9
csel w8, w1, w8, lt
csel x9, xzr, x9, lt
ldr w9, [x0, x9, lsl #2]
mov w10, #8 ; =0x8
sub w8, w10, w8
asr w0, w9, w8
ret
.cfi_endproc
; -- End function
.no_dead_strip _id_bucket
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _push_type ## -- Begin function push_type
.p2align 4, 0x90
_push_type: ## @push_type
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movl %edi, %ebx
xorl %eax, %eax
callq _check_type_stack_depth
movq _type_stack@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _type_stack_depth@GOTPCREL(%rip), %rcx
movslq (%rcx), %rdx
leal -1(%rdx), %esi
movl %esi, (%rcx)
movl %ebx, (%rax,%rdx,4)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _type_stack,8,3 ## @type_stack
.comm _type_stack_depth,4,2 ## @type_stack_depth
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _push_type ; -- Begin function push_type
.p2align 2
_push_type: ; @push_type
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
bl _check_type_stack_depth
Lloh0:
adrp x8, _type_stack@GOTPAGE
Lloh1:
ldr x8, [x8, _type_stack@GOTPAGEOFF]
Lloh2:
adrp x9, _type_stack_depth@GOTPAGE
Lloh3:
ldr x9, [x9, _type_stack_depth@GOTPAGEOFF]
Lloh4:
ldr x8, [x8]
ldrsw x10, [x9]
sub w11, w10, #1
str w11, [x9]
str w19, [x8, x10, lsl #2]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh4
.cfi_endproc
; -- End function
.comm _type_stack,8,3 ; @type_stack
.comm _type_stack_depth,4,2 ; @type_stack_depth
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function mips_fpr_return_fields
_mips_fpr_return_fields: ## @mips_fpr_return_fields
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq _TARGET_NEWABI@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
cmpl $0, (%rax)
je LBB0_8
## %bb.1:
movq %rsi, %r14
movq %rdi, %r15
callq _TREE_CODE
movq _RECORD_TYPE@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_8
## %bb.2:
movq %r15, %rdi
callq _TYPE_FIELDS
testq %rax, %rax
je LBB0_8
## %bb.3:
movq %rax, %r15
xorl %ebx, %ebx
movq _FIELD_DECL@GOTPCREL(%rip), %r12
movq _REAL_TYPE@GOTPCREL(%rip), %r13
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
callq _TREE_CODE
cmpq (%r12), %rax
jne LBB0_8
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movq %r15, %rdi
callq _TREE_TYPE
movq %rax, %rdi
callq _TREE_CODE
cmpq (%r13), %rax
jne LBB0_6
## %bb.7: ## in Loop: Header=BB0_4 Depth=1
movq %r15, (%r14,%rbx,8)
decq %rbx
movq %r15, %rdi
callq _TREE_CHAIN
movq %rax, %r15
testq %rax, %rax
jne LBB0_4
jmp LBB0_8
LBB0_6:
xorl %ebx, %ebx
LBB0_8:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _TARGET_NEWABI,4,2 ## @TARGET_NEWABI
.comm _RECORD_TYPE,8,3 ## @RECORD_TYPE
.comm _FIELD_DECL,8,3 ## @FIELD_DECL
.comm _REAL_TYPE,8,3 ## @REAL_TYPE
.no_dead_strip _mips_fpr_return_fields
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function mips_fpr_return_fields
_mips_fpr_return_fields: ; @mips_fpr_return_fields
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
Lloh0:
adrp x8, _TARGET_NEWABI@GOTPAGE
Lloh1:
ldr x8, [x8, _TARGET_NEWABI@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cbz w8, LBB0_7
; %bb.1:
mov x19, x1
mov x20, x0
bl _TREE_CODE
Lloh3:
adrp x8, _RECORD_TYPE@GOTPAGE
Lloh4:
ldr x8, [x8, _RECORD_TYPE@GOTPAGEOFF]
Lloh5:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_7
; %bb.2:
mov x0, x20
bl _TYPE_FIELDS
cbz x0, LBB0_7
; %bb.3:
mov x20, x0
mov x23, #0 ; =0x0
Lloh6:
adrp x22, _FIELD_DECL@GOTPAGE
Lloh7:
ldr x22, [x22, _FIELD_DECL@GOTPAGEOFF]
Lloh8:
adrp x24, _REAL_TYPE@GOTPAGE
Lloh9:
ldr x24, [x24, _REAL_TYPE@GOTPAGEOFF]
LBB0_4: ; =>This Inner Loop Header: Depth=1
mov x0, x20
bl _TREE_CODE
ldr x8, [x22]
cmp x0, x8
b.ne LBB0_9
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
mov x0, x20
bl _TREE_TYPE
bl _TREE_CODE
ldr x8, [x24]
cmp x0, x8
b.ne LBB0_7
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
sub x21, x23, #1
str x20, [x19, x23, lsl #3]
mov x0, x20
bl _TREE_CHAIN
mov x20, x0
mov x23, x21
cbnz x0, LBB0_4
b LBB0_8
LBB0_7:
mov w21, #0 ; =0x0
LBB0_8:
mov x0, x21
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
LBB0_9:
mov x21, x23
b LBB0_8
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _TARGET_NEWABI,4,2 ; @TARGET_NEWABI
.comm _RECORD_TYPE,8,3 ; @RECORD_TYPE
.comm _FIELD_DECL,8,3 ; @FIELD_DECL
.comm _REAL_TYPE,8,3 ; @REAL_TYPE
.no_dead_strip _mips_fpr_return_fields
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _Utf8ToUni ## -- Begin function Utf8ToUni
.p2align 4, 0x90
_Utf8ToUni: ## @Utf8ToUni
.cfi_startproc
## %bb.0:
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
testq %rdi, %rdi
setne %al
testq %rdx, %rdx
sete %dl
orb %al, %dl
je LBB0_2
## %bb.1:
xorl %r15d, %r15d
jmp LBB0_10
LBB0_2:
movq %rsi, %r13
movq %rsi, %r14
shrq $3, %r14
testq %rcx, %rcx
jne LBB0_4
## %bb.3:
movq %rbx, %rdi
callq _StrLen
movq %rax, %rcx
LBB0_4:
xorl %r15d, %r15d
movq %rbx, %rdi
movq %rcx, -56(%rbp) ## 8-byte Spill
movq %rcx, %rsi
xorl %edx, %edx
callq _GetUtf8Type
movq %rax, %r12
testq %r13, %r13
movl $134217727, %eax ## imm = 0x7FFFFFF
cmoveq %rax, %r14
movq %r14, -48(%rbp) ## 8-byte Spill
testq %r12, %r12
je LBB0_9
## %bb.5:
movq -48(%rbp), %rax ## 8-byte Reload
leaq -1(%rax), %r14
xorl %r15d, %r15d
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
xorl %eax, %eax
callq _IsBigEndian
cmpq %r15, %r14
je LBB0_7
## %bb.8: ## in Loop: Header=BB0_6 Depth=1
addq %r12, %r13
incq %r15
movq %rbx, %rdi
movq -56(%rbp), %rsi ## 8-byte Reload
movq %r13, %rdx
callq _GetUtf8Type
movq %rax, %r12
testq %rax, %rax
jne LBB0_6
jmp LBB0_9
LBB0_7:
movq %r14, %r15
LBB0_9:
cmpq -48(%rbp), %r15 ## 8-byte Folded Reload
LBB0_10:
movq %r15, %rax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _Utf8ToUni ; -- Begin function Utf8ToUni
.p2align 2
_Utf8ToUni: ; @Utf8ToUni
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x21, #0 ; =0x0
cbnz x0, LBB0_10
; %bb.1:
mov x19, x2
cbz x2, LBB0_10
; %bb.2:
mov x20, x3
mov x22, x1
lsr x21, x1, #3
cbnz x3, LBB0_4
; %bb.3:
mov x0, x19
bl _StrLen
mov x20, x0
LBB0_4:
mov x0, x19
mov x1, x20
mov x2, #0 ; =0x0
bl _GetUtf8Type
mov w8, #134217727 ; =0x7ffffff
cmp x22, #0
csel x8, x8, x21, eq
cbz x0, LBB0_8
; %bb.5:
mov x23, x0
mov x21, #0 ; =0x0
mov x22, #0 ; =0x0
sub x24, x8, #1
LBB0_6: ; =>This Inner Loop Header: Depth=1
bl _IsBigEndian
cmp x24, x21
b.eq LBB0_9
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
add x22, x23, x22
add x21, x21, #1
mov x0, x19
mov x1, x20
mov x2, x22
bl _GetUtf8Type
mov x23, x0
cbnz x0, LBB0_6
b LBB0_10
LBB0_8:
mov x21, #0 ; =0x0
b LBB0_10
LBB0_9:
mov x21, x24
LBB0_10:
mov x0, x21
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function ina2xx_probe
_ina2xx_probe: ## @ina2xx_probe
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
leaq 8(%rdi), %rbx
cmpq $0, 8(%rdi)
je LBB0_2
## %bb.1:
movq %rbx, %rdi
callq _of_device_get_match_data
movq %rax, %r12
jmp LBB0_3
LBB0_2:
movl (%rsi), %r12d
LBB0_3:
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
movl $40, %esi
callq _devm_kzalloc
testq %rax, %rax
je LBB0_6
## %bb.4:
movq %rax, %r15
movq _ina2xx_config@GOTPCREL(%rip), %rax
movl %r12d, %ecx
shlq $2, %rcx
addq (%rax), %rcx
movq %rcx, 24(%r15)
movq %r15, %rdi
addq $32, %rdi
callq _mutex_init
movq (%rbx), %rdi
leaq L_.str(%rip), %rsi
leaq -36(%rbp), %rdx
callq _of_property_read_u32
testq %rax, %rax
js LBB0_7
## %bb.5:
movl -36(%rbp), %esi
jmp LBB0_10
LBB0_6:
movq _ENOMEM@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
jmp LBB0_13
LBB0_7:
movq %rbx, %rdi
callq _dev_get_platdata
testq %rax, %rax
jne LBB0_9
## %bb.8:
movq _INA2XX_RSHUNT_DEFAULT@GOTPCREL(%rip), %rax
LBB0_9:
movl (%rax), %esi
movl %esi, -36(%rbp)
LBB0_10:
movq %r15, %rdi
callq _ina2xx_set_shunt
movq 24(%r15), %rax
movl (%rax), %eax
movq _ina2xx_regmap_config@GOTPCREL(%rip), %rsi
movl %eax, (%rsi)
movq %r14, %rdi
callq _devm_regmap_init_i2c
movq %rax, 16(%r15)
movq %rax, %rdi
callq _IS_ERR
testq %rax, %rax
je LBB0_14
## %bb.11:
leaq L_.str.1(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _dev_err
movq 16(%r15), %rdi
LBB0_12:
callq _PTR_ERR
LBB0_13:
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_14:
movq %r15, %rdi
callq _ina2xx_init
testl %eax, %eax
jle LBB0_19
## %bb.15:
movq 8(%r15), %rax
movq _ina2xx_group@GOTPCREL(%rip), %rcx
movq %rcx, (%rax)
movq _ina226@GOTPCREL(%rip), %rax
cmpl (%rax), %r12d
jne LBB0_17
## %bb.16:
movq 8(%r15), %rax
movq _ina226_group@GOTPCREL(%rip), %rcx
movq %rcx, -8(%rax)
LBB0_17:
movl (%r14), %esi
movq 8(%r15), %rcx
movq %rbx, %rdi
movq %r15, %rdx
callq _devm_hwmon_device_register_with_groups
movq %rax, %r12
movq %rax, %rdi
callq _IS_ERR
testq %rax, %rax
je LBB0_20
## %bb.18:
movq %r12, %rdi
jmp LBB0_12
LBB0_19:
leaq L_.str.2(%rip), %rsi
movq %rbx, %rdi
movl %eax, %edx
xorl %eax, %eax
callq _dev_err
xorl %eax, %eax
movq _ENODEV@GOTPCREL(%rip), %rcx
subl (%rcx), %eax
jmp LBB0_13
LBB0_20:
movl (%r14), %edx
movl (%r15), %ecx
leaq L_.str.3(%rip), %rsi
movq %rbx, %rdi
callq _dev_info
xorl %eax, %eax
jmp LBB0_13
.cfi_endproc
## -- End function
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _ina2xx_config,8,3 ## @ina2xx_config
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "shunt-resistor"
.comm _INA2XX_RSHUNT_DEFAULT,4,2 ## @INA2XX_RSHUNT_DEFAULT
.comm _ina2xx_regmap_config,4,2 ## @ina2xx_regmap_config
L_.str.1: ## @.str.1
.asciz "failed to allocate register map\n"
L_.str.2: ## @.str.2
.asciz "error configuring the device: %d\n"
.comm _ENODEV,4,2 ## @ENODEV
.comm _ina2xx_group,4,2 ## @ina2xx_group
.comm _ina226,4,2 ## @ina226
.comm _ina226_group,4,2 ## @ina226_group
L_.str.3: ## @.str.3
.asciz "power monitor %s (Rshunt = %li uOhm)\n"
.no_dead_strip _ina2xx_probe
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function ina2xx_probe
_ina2xx_probe: ; @ina2xx_probe
.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, x0
mov x19, x0
ldr x8, [x19, #8]!
cbz x8, LBB0_2
; %bb.1:
mov x0, x19
bl _of_device_get_match_data
mov x22, x0
b LBB0_3
LBB0_2:
ldr w22, [x1]
LBB0_3:
Lloh0:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh1:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
mov x0, x19
mov w1, #40 ; =0x28
bl _devm_kzalloc
cbz x0, LBB0_6
; %bb.4:
mov x21, x0
Lloh3:
adrp x8, _ina2xx_config@GOTPAGE
Lloh4:
ldr x8, [x8, _ina2xx_config@GOTPAGEOFF]
Lloh5:
ldr x8, [x8]
add x8, x8, w22, uxtw #2
str x8, [x0, #24]
add x0, x0, #32
bl _mutex_init
ldr x0, [x19]
Lloh6:
adrp x1, l_.str@PAGE
Lloh7:
add x1, x1, l_.str@PAGEOFF
add x2, sp, #12
bl _of_property_read_u32
tbnz x0, #63, LBB0_8
; %bb.5:
ldr w1, [sp, #12]
b LBB0_9
LBB0_6:
Lloh8:
adrp x8, _ENOMEM@GOTPAGE
Lloh9:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_7:
ldr w8, [x8]
neg w0, w8
b LBB0_12
LBB0_8:
mov x0, x19
bl _dev_get_platdata
Lloh10:
adrp x8, _INA2XX_RSHUNT_DEFAULT@GOTPAGE
Lloh11:
ldr x8, [x8, _INA2XX_RSHUNT_DEFAULT@GOTPAGEOFF]
cmp x0, #0
csel x8, x8, x0, eq
ldr w1, [x8]
str w1, [sp, #12]
LBB0_9:
mov x0, x21
bl _ina2xx_set_shunt
ldr x8, [x21, #24]
ldr w8, [x8]
Lloh12:
adrp x1, _ina2xx_regmap_config@GOTPAGE
Lloh13:
ldr x1, [x1, _ina2xx_regmap_config@GOTPAGEOFF]
str w8, [x1]
mov x0, x20
bl _devm_regmap_init_i2c
str x0, [x21, #16]
bl _IS_ERR
cbz x0, LBB0_13
; %bb.10:
Lloh14:
adrp x1, l_.str.1@PAGE
Lloh15:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _dev_err
ldr x0, [x21, #16]
LBB0_11:
bl _PTR_ERR
LBB0_12:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
LBB0_13:
mov x0, x21
bl _ina2xx_init
; kill: def $w0 killed $w0 def $x0
cmp w0, #0
b.le LBB0_18
; %bb.14:
Lloh16:
adrp x8, _ina2xx_group@GOTPAGE
Lloh17:
ldr x8, [x8, _ina2xx_group@GOTPAGEOFF]
ldr x9, [x21, #8]
str x8, [x9]
Lloh18:
adrp x8, _ina226@GOTPAGE
Lloh19:
ldr x8, [x8, _ina226@GOTPAGEOFF]
Lloh20:
ldr w8, [x8]
cmp w22, w8
b.ne LBB0_16
; %bb.15:
ldr x8, [x21, #8]
Lloh21:
adrp x9, _ina226_group@GOTPAGE
Lloh22:
ldr x9, [x9, _ina226_group@GOTPAGEOFF]
stur x9, [x8, #-8]
LBB0_16:
ldr w1, [x20]
ldr x3, [x21, #8]
mov x0, x19
mov x2, x21
bl _devm_hwmon_device_register_with_groups
mov x22, x0
bl _IS_ERR
cbz x0, LBB0_19
; %bb.17:
mov x0, x22
b LBB0_11
LBB0_18:
str x0, [sp]
Lloh23:
adrp x1, l_.str.2@PAGE
Lloh24:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x19
bl _dev_err
Lloh25:
adrp x8, _ENODEV@GOTPAGE
Lloh26:
ldr x8, [x8, _ENODEV@GOTPAGEOFF]
b LBB0_7
LBB0_19:
ldr w2, [x20]
ldr w3, [x21]
Lloh27:
adrp x1, l_.str.3@PAGE
Lloh28:
add x1, x1, l_.str.3@PAGEOFF
mov x0, x19
bl _dev_info
mov w0, #0 ; =0x0
b LBB0_12
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGot Lloh21, Lloh22
.loh AdrpLdrGot Lloh25, Lloh26
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpAdd Lloh27, Lloh28
.cfi_endproc
; -- End function
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _ina2xx_config,8,3 ; @ina2xx_config
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "shunt-resistor"
.comm _INA2XX_RSHUNT_DEFAULT,4,2 ; @INA2XX_RSHUNT_DEFAULT
.comm _ina2xx_regmap_config,4,2 ; @ina2xx_regmap_config
l_.str.1: ; @.str.1
.asciz "failed to allocate register map\n"
l_.str.2: ; @.str.2
.asciz "error configuring the device: %d\n"
.comm _ENODEV,4,2 ; @ENODEV
.comm _ina2xx_group,4,2 ; @ina2xx_group
.comm _ina226,4,2 ; @ina226
.comm _ina226_group,4,2 ; @ina226_group
l_.str.3: ; @.str.3
.asciz "power monitor %s (Rshunt = %li uOhm)\n"
.no_dead_strip _ina2xx_probe
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _unicode_normalize_kc ## -- Begin function unicode_normalize_kc
.p2align 4, 0x90
_unicode_normalize_kc: ## @unicode_normalize_kc
.cfi_startproc
## %bb.0:
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
movzbl (%rdi), %eax
testb %al, %al
je LBB0_1
## %bb.2:
leaq -1(%rbx), %r14
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movsbl %al, %edi
callq _get_decomposed_size
addl %eax, %r12d
movzbl (%r14), %eax
decq %r14
testb %al, %al
jne LBB0_3
jmp LBB0_4
LBB0_1:
xorl %r12d, %r12d
LBB0_4:
leal -1(%r12), %edi
callq _ALLOC
movq %rax, -56(%rbp)
testq %rax, %rax
je LBB0_5
## %bb.6:
movl $0, -64(%rbp)
movzbl (%rbx), %ecx
testb %cl, %cl
je LBB0_10
## %bb.7:
incq %rbx
leaq -56(%rbp), %r14
leaq -64(%rbp), %r15
.p2align 4, 0x90
LBB0_8: ## =>This Inner Loop Header: Depth=1
movsbl %cl, %edi
movq %r14, %rsi
movq %r15, %rdx
callq _decompose_code
movzbl (%rbx), %ecx
incq %rbx
testb %cl, %cl
jne LBB0_8
## %bb.9:
movq -56(%rbp), %rax
LBB0_10:
movslq %r12d, %rcx
movb $0, (%rax,%rcx)
xorl %edi, %edi
cmpl -64(%rbp), %r12d
sete %dil
callq _Assert
testl %r12d, %r12d
jle LBB0_18
## %bb.11:
movl $1, %r15d
jmp LBB0_12
.p2align 4, 0x90
LBB0_17: ## in Loop: Header=BB0_12 Depth=1
leal 1(%r15), %eax
cmpl %r12d, %r15d
movl %eax, %r15d
jge LBB0_18
LBB0_12: ## =>This Inner Loop Header: Depth=1
movq -56(%rbp), %rax
movslq %r15d, %r13
movsbl -1(%rax,%r13), %edi
movsbl (%rax,%r13), %r14d
callq _get_code_entry
movq %rax, %rbx
movl %r14d, %edi
callq _get_code_entry
movq %rbx, %rcx
orq %rax, %rcx
je LBB0_17
## %bb.13: ## in Loop: Header=BB0_12 Depth=1
movl (%rax), %eax
testl %eax, %eax
je LBB0_17
## %bb.14: ## in Loop: Header=BB0_12 Depth=1
movl (%rbx), %ecx
testl %ecx, %ecx
je LBB0_17
## %bb.15: ## in Loop: Header=BB0_12 Depth=1
cmpl %eax, %ecx
jle LBB0_17
## %bb.16: ## in Loop: Header=BB0_12 Depth=1
movq -56(%rbp), %rax
movzbl -1(%rax,%r13), %ecx
movzbl (%rax,%r13), %edx
movb %dl, -1(%rax,%r13)
movq -56(%rbp), %rax
movb %cl, (%rax,%r13)
leal -2(%r13), %r15d
cmpl $2, %r13d
cmovll %r13d, %r15d
jmp LBB0_17
LBB0_18:
leal 1(%r12), %edi
callq _ALLOC
movq -56(%rbp), %rdi
testq %rax, %rax
je LBB0_19
## %bb.20:
movq %rax, %r15
movzbl (%rdi), %eax
movl %eax, -48(%rbp) ## 4-byte Spill
movb %al, (%r15)
movl $1, %eax
cmpl $2, %r12d
jl LBB0_30
## %bb.21:
movl %r12d, %eax
movq %rax, -88(%rbp) ## 8-byte Spill
movl $1, %eax
movq %rax, -72(%rbp) ## 8-byte Spill
movl $0, -60(%rbp) ## 4-byte Folded Spill
movl $-1, %r14d
movl $1, %r12d
movq %r15, -80(%rbp) ## 8-byte Spill
jmp LBB0_22
.p2align 4, 0x90
LBB0_27: ## in Loop: Header=BB0_22 Depth=1
movq -72(%rbp), %rcx ## 8-byte Reload
movslq %ecx, %rax
incl %ecx
testl %ebx, %ebx
movq -80(%rbp), %r15 ## 8-byte Reload
movb %r13b, (%r15,%rax)
movzbl %r13b, %edx
movl -48(%rbp), %esi ## 4-byte Reload
movzbl %sil, %esi
cmovel %edx, %esi
movl %esi, -48(%rbp) ## 4-byte Spill
movl -60(%rbp), %edx ## 4-byte Reload
cmovel %eax, %edx
movl %edx, -60(%rbp) ## 4-byte Spill
cmpl $1, %ebx
movl $0, %r14d
sbbl %r14d, %r14d
orl %ebx, %r14d
movl %ecx, %eax
movq %rax, -72(%rbp) ## 8-byte Spill
LBB0_28: ## in Loop: Header=BB0_22 Depth=1
incq %r12
cmpq %r12, -88(%rbp) ## 8-byte Folded Reload
je LBB0_29
LBB0_22: ## =>This Inner Loop Header: Depth=1
movq -56(%rbp), %rax
movzbl (%rax,%r12), %r13d
movsbl %r13b, %r15d
movl %r15d, %edi
callq _get_code_entry
movl $0, %ebx
testq %rax, %rax
je LBB0_24
## %bb.23: ## in Loop: Header=BB0_22 Depth=1
movl (%rax), %ebx
LBB0_24: ## in Loop: Header=BB0_22 Depth=1
cmpl %ebx, %r14d
jge LBB0_27
## %bb.25: ## in Loop: Header=BB0_22 Depth=1
movsbl -48(%rbp), %edi ## 1-byte Folded Reload
movl %r15d, %esi
leaq -41(%rbp), %rdx
callq _recompose_code
testq %rax, %rax
je LBB0_27
## %bb.26: ## in Loop: Header=BB0_22 Depth=1
movzbl -41(%rbp), %ecx
movslq -60(%rbp), %rax ## 4-byte Folded Reload
movq -80(%rbp), %r15 ## 8-byte Reload
movl %ecx, -48(%rbp) ## 4-byte Spill
movb %cl, (%r15,%rax)
jmp LBB0_28
LBB0_5:
xorl %r15d, %r15d
jmp LBB0_32
LBB0_19:
xorl %r15d, %r15d
jmp LBB0_31
LBB0_29:
movslq -72(%rbp), %rax ## 4-byte Folded Reload
LBB0_30:
movb $0, (%r15,%rax)
movq -56(%rbp), %rdi
LBB0_31:
callq _FREE
LBB0_32:
movq %r15, %rax
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _unicode_normalize_kc ; -- Begin function unicode_normalize_kc
.p2align 2
_unicode_normalize_kc: ; @unicode_normalize_kc
.cfi_startproc
; %bb.0:
sub sp, sp, #112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x0
ldrb w8, [x0]
cbz w8, LBB0_3
; %bb.1:
mov w21, #0 ; =0x0
sub x20, x19, #1
LBB0_2: ; =>This Inner Loop Header: Depth=1
sxtb w0, w8
bl _get_decomposed_size
add w21, w21, w0
ldrb w8, [x20], #-1
cbnz w8, LBB0_2
b LBB0_4
LBB0_3:
mov w21, #0 ; =0x0
LBB0_4:
sub w0, w21, #1
bl _ALLOC
str x0, [sp, #8]
cbz x0, LBB0_26
; %bb.5:
str wzr, [sp, #4]
ldrb w8, [x19]
cbz w8, LBB0_9
; %bb.6:
add x19, x19, #1
LBB0_7: ; =>This Inner Loop Header: Depth=1
sxtb w0, w8
add x1, sp, #8
add x2, sp, #4
bl _decompose_code
ldrb w8, [x19], #1
cbnz w8, LBB0_7
; %bb.8:
ldr x0, [sp, #8]
LBB0_9:
strb wzr, [x0, w21, sxtw]
ldr w8, [sp, #4]
cmp w21, w8
cset w0, eq
bl _Assert
cmp w21, #1
b.lt LBB0_16
; %bb.10:
mov w22, #1 ; =0x1
b LBB0_12
LBB0_11: ; in Loop: Header=BB0_12 Depth=1
add w8, w22, #1
cmp w22, w21
mov x22, x8
b.ge LBB0_16
LBB0_12: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
sxtw x23, w22
sub x24, x23, #1
ldrsb w0, [x8, x24]
ldrsb w20, [x8, x23]
bl _get_code_entry
mov x19, x0
mov x0, x20
bl _get_code_entry
orr x8, x19, x0
cbz x8, LBB0_11
; %bb.13: ; in Loop: Header=BB0_12 Depth=1
ldr w8, [x0]
cbz w8, LBB0_11
; %bb.14: ; in Loop: Header=BB0_12 Depth=1
ldr w9, [x19]
cmp w9, #0
ccmp w9, w8, #4, ne
b.le LBB0_11
; %bb.15: ; in Loop: Header=BB0_12 Depth=1
ldr x8, [sp, #8]
ldrb w9, [x8, x24]
ldrb w10, [x8, x23]
strb w10, [x8, x24]
ldr x8, [sp, #8]
strb w9, [x8, x23]
sub w8, w22, #2
cmp w22, #1
csel w22, w8, w22, gt
b LBB0_11
LBB0_16:
add w0, w21, #1
bl _ALLOC
mov x19, x0
ldr x0, [sp, #8]
cbz x19, LBB0_30
; %bb.17:
ldrb w22, [x0]
strb w22, [x19]
cmp w21, #2
b.lt LBB0_27
; %bb.18:
mov w23, #0 ; =0x0
mov w24, #1 ; =0x1
mov w26, #-1 ; =0xffffffff
mov w25, #1 ; =0x1
mov w21, w21
b LBB0_21
LBB0_19: ; in Loop: Header=BB0_21 Depth=1
strb w20, [x19, w25, sxtw]
cmp w27, #0
csel w22, w20, w22, eq
csel w23, w25, w23, eq
add w8, w25, #1
csinv w26, w27, wzr, ne
mov x25, x8
LBB0_20: ; in Loop: Header=BB0_21 Depth=1
add x24, x24, #1
cmp x21, x24
b.eq LBB0_28
LBB0_21: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
ldrsb w20, [x8, x24]
mov x0, x20
bl _get_code_entry
cbz x0, LBB0_23
; %bb.22: ; in Loop: Header=BB0_21 Depth=1
ldr w27, [x0]
cmp w26, w27
b.ge LBB0_19
b LBB0_24
LBB0_23: ; in Loop: Header=BB0_21 Depth=1
mov w27, #0 ; =0x0
cmp w26, w27
b.ge LBB0_19
LBB0_24: ; in Loop: Header=BB0_21 Depth=1
sxtb w0, w22
add x2, sp, #3
mov x1, x20
bl _recompose_code
cbz x0, LBB0_19
; %bb.25: ; in Loop: Header=BB0_21 Depth=1
ldrb w22, [sp, #3]
strb w22, [x19, w23, sxtw]
b LBB0_20
LBB0_26:
mov x19, #0 ; =0x0
b LBB0_31
LBB0_27:
mov w8, #1 ; =0x1
b LBB0_29
LBB0_28:
sxtw x8, w25
LBB0_29:
strb wzr, [x19, x8]
ldr x0, [sp, #8]
LBB0_30:
bl _FREE
LBB0_31:
mov x0, x19
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ## -- Begin function avc_tuner_set_pids
LCPI0_0:
.long 0 ## 0x0
.long 210 ## 0xd2
.long 32 ## 0x20
.long 0 ## 0x0
.section __TEXT,__text,regular,pure_instructions
.globl _avc_tuner_set_pids
.p2align 4, 0x90
_avc_tuner_set_pids: ## @avc_tuner_set_pids
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r15d
leal -17(%r15), %eax
cmpb $-19, %al
ja LBB0_2
## %bb.1:
movq _EINVAL@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
jmp LBB0_8
LBB0_2:
movq %rdi, %rbx
movq %rdx, -48(%rbp) ## 8-byte Spill
movq 16(%rdi), %r12
movzbl %r15b, %r13d
leaq 4(%rdi), %r14
movq %r14, %rdi
callq _mutex_lock
movq _AVC_CTYPE_CONTROL@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 20(%r12)
movq _AVC_SUBUNIT_TYPE_TUNER@GOTPCREL(%rip), %rax
movl (%rbx), %ecx
orl (%rax), %ecx
movl %ecx, (%r12)
movq _AVC_OPCODE_DSD@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 16(%r12)
movq 8(%r12), %rax
movaps LCPI0_0(%rip), %xmm0 ## xmm0 = [0,210,32,0]
movups %xmm0, (%rax)
movl $0, 16(%rax)
movl %r13d, 20(%rax)
testb %r15b, %r15b
je LBB0_6
## %bb.3:
cmpl $255, %r13d
jne LBB0_4
LBB0_6:
movq %r12, %rdi
movl $6, %esi
callq _pad_operands
movl $-3, %edi
movl $4, %esi
callq _ALIGN
movl %eax, 8(%rbx)
movq %rbx, %rdi
callq _avc_write
movl %eax, %ebx
movq %r14, %rdi
callq _mutex_unlock
movl %ebx, %eax
testl %ebx, %ebx
jne LBB0_8
## %bb.7:
movl $50, %edi
callq _msleep
xorl %eax, %eax
LBB0_8:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_4:
addq $44, %rax
movabsq $549755813907, %rcx ## imm = 0x8000000013
movq -48(%rbp), %rdx ## 8-byte Reload
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq %rcx, -20(%rax)
movl (%rdx), %esi
sarl $8, %esi
orl $31, %esi
movl %esi, -12(%rax)
movzbl (%rdx), %esi
movl %esi, -8(%rax)
movq $0, -4(%rax)
addq $24, %rax
addq $-4, %rdx
jmp LBB0_5
.cfi_endproc
## -- End function
.comm _EINVAL,4,2 ## @EINVAL
.comm _AVC_CTYPE_CONTROL,4,2 ## @AVC_CTYPE_CONTROL
.comm _AVC_SUBUNIT_TYPE_TUNER,4,2 ## @AVC_SUBUNIT_TYPE_TUNER
.comm _AVC_OPCODE_DSD,4,2 ## @AVC_OPCODE_DSD
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ; -- Begin function avc_tuner_set_pids
lCPI0_0:
.long 0 ; 0x0
.long 210 ; 0xd2
.long 32 ; 0x20
.long 0 ; 0x0
.section __TEXT,__text,regular,pure_instructions
.globl _avc_tuner_set_pids
.p2align 2
_avc_tuner_set_pids: ; @avc_tuner_set_pids
.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
sub w8, w1, #17
cmp w8, #237
b.hi LBB0_2
; %bb.1:
Lloh0:
adrp x8, _EINVAL@GOTPAGE
Lloh1:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
neg w0, w8
b LBB0_6
LBB0_2:
mov x20, x1
mov x19, x0
mov x22, x2
ldr x21, [x0, #16]
add x0, x0, #4
bl _mutex_lock
Lloh3:
adrp x8, _AVC_SUBUNIT_TYPE_TUNER@GOTPAGE
Lloh4:
ldr x8, [x8, _AVC_SUBUNIT_TYPE_TUNER@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
ldr w9, [x19]
orr w8, w9, w8
Lloh6:
adrp x9, _AVC_CTYPE_CONTROL@GOTPAGE
Lloh7:
ldr x9, [x9, _AVC_CTYPE_CONTROL@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
str w8, [x21]
Lloh9:
adrp x8, _AVC_OPCODE_DSD@GOTPAGE
Lloh10:
ldr x8, [x8, _AVC_OPCODE_DSD@GOTPAGEOFF]
Lloh11:
ldr w8, [x8]
stp w8, w9, [x21, #16]
ldr x8, [x21, #8]
Lloh12:
adrp x9, lCPI0_0@PAGE
Lloh13:
ldr q0, [x9, lCPI0_0@PAGEOFF]
str q0, [x8]
stp wzr, w20, [x8, #16]
cbz w20, LBB0_4
; %bb.3:
cmp w20, #255
b.ne LBB0_7
LBB0_4:
mov x0, x21
mov w1, #6 ; =0x6
bl _pad_operands
mov w0, #-3 ; =0xfffffffd
mov w1, #4 ; =0x4
bl _ALIGN
str w0, [x19, #8]
mov x0, x19
bl _avc_write
mov x20, x0
add x0, x19, #4
bl _mutex_unlock
mov x0, x20
cbnz w20, LBB0_6
; %bb.5:
mov w0, #50 ; =0x32
bl _msleep
mov w0, #0 ; =0x0
LBB0_6:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_7:
add x8, x8, #40
mov x9, #19 ; =0x13
movk x9, #128, lsl #32
LBB0_8: ; =>This Inner Loop Header: Depth=1
stur x9, [x8, #-16]
ldr w10, [x22]
asr w10, w10, #8
orr w10, w10, #0x1f
stur w10, [x8, #-8]
ldrb w10, [x22], #-4
str xzr, [x8]
stur w10, [x8, #-4]
add x8, x8, #24
b LBB0_8
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdr Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _EINVAL,4,2 ; @EINVAL
.comm _AVC_CTYPE_CONTROL,4,2 ; @AVC_CTYPE_CONTROL
.comm _AVC_SUBUNIT_TYPE_TUNER,4,2 ; @AVC_SUBUNIT_TYPE_TUNER
.comm _AVC_OPCODE_DSD,4,2 ; @AVC_OPCODE_DSD
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function to_zval_hexbin
_to_zval_hexbin: ## @to_zval_hexbin
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r14
movq %rdi, %rbx
callq _ZVAL_NULL
movq %r14, %rdi
movq %rbx, %rsi
callq _FIND_XML_NULL
movq (%r14), %rax
movq (%rax), %rcx
movq _XML_TEXT_NODE@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
jne LBB0_7
## %bb.1:
cmpq $0, 16(%rax)
je LBB0_2
LBB0_7:
movq _XML_CDATA_SECTION_NODE@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
jne LBB0_9
## %bb.8:
cmpq $0, 16(%rax)
je LBB0_3
LBB0_9:
movq _E_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
callq _soap_error0
jmp LBB0_25
LBB0_2:
movq 8(%rax), %rdi
callq _whiteSpace_collapse
movq (%r14), %rax
LBB0_3:
movq %rbx, -48(%rbp) ## 8-byte Spill
movq 8(%rax), %rdi
callq _strlen
movl %eax, %edi
shrl $31, %edi
addl %eax, %edi
sarl %edi
xorl %r13d, %r13d
xorl %esi, %esi
callq _zend_string_alloc
movq %rax, %r15
movq %rax, %rdi
callq _ZSTR_LEN
jmp LBB0_4
.p2align 4, 0x90
LBB0_16: ## in Loop: Header=BB0_4 Depth=1
movq %r15, %rdi
callq _ZSTR_VAL
orb %bl, (%rax,%r13)
LBB0_23: ## in Loop: Header=BB0_4 Depth=1
incq %r13
movq %r15, %rdi
callq _ZSTR_LEN
cmpq %rax, %r13
ja LBB0_24
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq (%r14), %rax
movq 8(%rax), %rax
movzbl (%rax,%r13,2), %r12d
leal -48(%r12), %eax
cmpb $9, %al
ja LBB0_10
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
shlb $4, %r12b
jmp LBB0_6
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_4 Depth=1
leal -97(%r12), %eax
cmpb $5, %al
ja LBB0_12
## %bb.11: ## in Loop: Header=BB0_4 Depth=1
shlb $4, %r12b
addb $80, %r12b
jmp LBB0_6
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_4 Depth=1
leal -65(%r12), %eax
cmpb $5, %al
ja LBB0_14
## %bb.13: ## in Loop: Header=BB0_4 Depth=1
shlb $4, %r12b
addb $-112, %r12b
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_4 Depth=1
movq %r15, %rdi
callq _ZSTR_VAL
movb %r12b, (%rax,%r13)
LBB0_15: ## in Loop: Header=BB0_4 Depth=1
movq (%r14), %rax
movq 8(%rax), %rax
movzbl 1(%rax,%r13,2), %r12d
leal -48(%r12), %ebx
cmpb $9, %bl
jbe LBB0_16
## %bb.17: ## in Loop: Header=BB0_4 Depth=1
leal -97(%r12), %eax
cmpb $5, %al
ja LBB0_20
## %bb.18: ## in Loop: Header=BB0_4 Depth=1
addb $-87, %r12b
jmp LBB0_19
.p2align 4, 0x90
LBB0_20: ## in Loop: Header=BB0_4 Depth=1
leal -65(%r12), %eax
cmpb $5, %al
ja LBB0_22
## %bb.21: ## in Loop: Header=BB0_4 Depth=1
addb $-55, %r12b
LBB0_19: ## in Loop: Header=BB0_4 Depth=1
movq %r15, %rdi
callq _ZSTR_VAL
orb %r12b, (%rax,%r13)
jmp LBB0_23
LBB0_14: ## in Loop: Header=BB0_4 Depth=1
movq _E_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
callq _soap_error0
jmp LBB0_15
LBB0_22: ## in Loop: Header=BB0_4 Depth=1
movq _E_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
callq _soap_error0
jmp LBB0_23
LBB0_24:
movq %r15, %rdi
callq _ZSTR_VAL
movq %rax, %r14
movq %r15, %rdi
callq _ZSTR_LEN
movb $0, (%r14,%rax)
movq -48(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rdi
movq %r15, %rsi
callq _ZVAL_NEW_STR
LBB0_25:
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _XML_TEXT_NODE,8,3 ## @XML_TEXT_NODE
.comm _XML_CDATA_SECTION_NODE,8,3 ## @XML_CDATA_SECTION_NODE
.comm _E_ERROR,4,2 ## @E_ERROR
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Encoding: Violation of encoding rules"
.no_dead_strip _to_zval_hexbin
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function to_zval_hexbin
_to_zval_hexbin: ; @to_zval_hexbin
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x20, x2
mov x19, x0
bl _ZVAL_NULL
mov x0, x20
mov x1, x19
bl _FIND_XML_NULL
ldr x8, [x20]
ldr x9, [x8]
Lloh0:
adrp x10, _XML_TEXT_NODE@GOTPAGE
Lloh1:
ldr x10, [x10, _XML_TEXT_NODE@GOTPAGEOFF]
Lloh2:
ldr x10, [x10]
cmp x9, x10
b.ne LBB0_2
; %bb.1:
ldr x10, [x8, #16]
cbz x10, LBB0_5
LBB0_2:
Lloh3:
adrp x10, _XML_CDATA_SECTION_NODE@GOTPAGE
Lloh4:
ldr x10, [x10, _XML_CDATA_SECTION_NODE@GOTPAGEOFF]
Lloh5:
ldr x10, [x10]
cmp x9, x10
b.ne LBB0_4
; %bb.3:
ldr x9, [x8, #16]
cbz x9, LBB0_6
LBB0_4:
Lloh6:
adrp x8, _E_ERROR@GOTPAGE
Lloh7:
ldr x8, [x8, _E_ERROR@GOTPAGEOFF]
Lloh8:
ldr w0, [x8]
Lloh9:
adrp x1, l_.str@PAGE
Lloh10:
add x1, x1, l_.str@PAGEOFF
bl _soap_error0
b LBB0_24
LBB0_5:
ldr x0, [x8, #8]
bl _whiteSpace_collapse
ldr x8, [x20]
LBB0_6:
ldr x0, [x8, #8]
bl _strlen
add w8, w0, w0, lsr #31
asr w0, w8, #1
mov w1, #0 ; =0x0
bl _zend_string_alloc
mov x21, x0
bl _ZSTR_LEN
mov x23, #0 ; =0x0
mov x24, #0 ; =0x0
Lloh11:
adrp x25, _E_ERROR@GOTPAGE
Lloh12:
ldr x25, [x25, _E_ERROR@GOTPAGEOFF]
Lloh13:
adrp x22, l_.str@PAGE
Lloh14:
add x22, x22, l_.str@PAGEOFF
b LBB0_10
LBB0_7: ; in Loop: Header=BB0_10 Depth=1
sub w26, w8, #87
LBB0_8: ; in Loop: Header=BB0_10 Depth=1
mov x0, x21
bl _ZSTR_VAL
ldrb w8, [x0, x24]
orr w8, w8, w26
strb w8, [x0, x24]
LBB0_9: ; in Loop: Header=BB0_10 Depth=1
add x24, x24, #1
mov x0, x21
bl _ZSTR_LEN
add x23, x23, #2
cmp x24, x0
b.hi LBB0_23
LBB0_10: ; =>This Inner Loop Header: Depth=1
ldr x8, [x20]
ldr x8, [x8, #8]
ldrb w8, [x8, x23]
sub w9, w8, #48
cmp w9, #9
b.hi LBB0_12
; %bb.11: ; in Loop: Header=BB0_10 Depth=1
lsl w26, w8, #4
b LBB0_16
LBB0_12: ; in Loop: Header=BB0_10 Depth=1
sub w9, w8, #97
cmp w9, #5
b.hi LBB0_14
; %bb.13: ; in Loop: Header=BB0_10 Depth=1
lsl w8, w8, #4
add w26, w8, #80
b LBB0_16
LBB0_14: ; in Loop: Header=BB0_10 Depth=1
sub w9, w8, #65
cmp w9, #5
b.hi LBB0_21
; %bb.15: ; in Loop: Header=BB0_10 Depth=1
lsl w8, w8, #4
sub w26, w8, #112
LBB0_16: ; in Loop: Header=BB0_10 Depth=1
mov x0, x21
bl _ZSTR_VAL
strb w26, [x0, x24]
LBB0_17: ; in Loop: Header=BB0_10 Depth=1
ldr x8, [x20]
ldr x8, [x8, #8]
add x8, x8, x23
ldrb w8, [x8, #1]
sub w26, w8, #48
cmp w26, #9
b.ls LBB0_8
; %bb.18: ; in Loop: Header=BB0_10 Depth=1
sub w9, w8, #97
cmp w9, #5
b.ls LBB0_7
; %bb.19: ; in Loop: Header=BB0_10 Depth=1
sub w9, w8, #65
cmp w9, #5
b.hi LBB0_22
; %bb.20: ; in Loop: Header=BB0_10 Depth=1
sub w26, w8, #55
b LBB0_8
LBB0_21: ; in Loop: Header=BB0_10 Depth=1
ldr w0, [x25]
mov x1, x22
bl _soap_error0
b LBB0_17
LBB0_22: ; in Loop: Header=BB0_10 Depth=1
ldr w0, [x25]
mov x1, x22
bl _soap_error0
b LBB0_9
LBB0_23:
mov x0, x21
bl _ZSTR_VAL
mov x20, x0
mov x0, x21
bl _ZSTR_LEN
strb wzr, [x20, x0]
mov x0, x19
mov x1, x21
bl _ZVAL_NEW_STR
LBB0_24:
mov x0, x19
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGot Lloh11, Lloh12
.cfi_endproc
; -- End function
.comm _XML_TEXT_NODE,8,3 ; @XML_TEXT_NODE
.comm _XML_CDATA_SECTION_NODE,8,3 ; @XML_CDATA_SECTION_NODE
.comm _E_ERROR,4,2 ; @E_ERROR
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Encoding: Violation of encoding rules"
.no_dead_strip _to_zval_hexbin
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _svg_parse_transform ## -- Begin function svg_parse_transform
.p2align 4, 0x90
_svg_parse_transform: ## @svg_parse_transform
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $88, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, %r12d
movq %rdx, %r14
movq %rdi, %rbx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _FZ_ERROR_SYNTAX@GOTPCREL(%rip), %r15
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_2 Depth 2
## Child Loop BB0_4 Depth 3
## Child Loop BB0_7 Depth 2
## Child Loop BB0_9 Depth 2
## Child Loop BB0_14 Depth 2
## Child Loop BB0_17 Depth 3
movzbl (%r14), %eax
.p2align 4, 0x90
LBB0_2: ## Parent Loop BB0_1 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_4 Depth 3
testb %al, %al
je LBB0_55
## %bb.3: ## in Loop: Header=BB0_2 Depth=2
incq %r14
.p2align 4, 0x90
LBB0_4: ## Parent Loop BB0_1 Depth=1
## Parent Loop BB0_2 Depth=2
## => This Inner Loop Header: Depth=3
movsbl -1(%r14), %edi
decq %r14
callq _svg_is_whitespace_or_comma
testq %rax, %rax
jne LBB0_4
## %bb.5: ## in Loop: Header=BB0_2 Depth=2
movzbl (%r14), %ecx
xorl %eax, %eax
testb %cl, %cl
je LBB0_2
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
movl %r12d, -116(%rbp) ## 4-byte Spill
movq %rbx, %r13
movq %r15, %rbx
movsbl %cl, %edi
callq _svg_is_alpha
xorl %r15d, %r15d
.p2align 4, 0x90
LBB0_7: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movq %r15, %r12
movzbl (%r14,%r15), %eax
incq %r15
movb %al, -80(%rbp,%r12)
movsbl 1(%r14,%r12), %edi
callq _svg_is_alpha
testq %rax, %rax
setne %al
cmpq $20, %r12
setb %cl
orb %al, %cl
jne LBB0_7
## %bb.8: ## in Loop: Header=BB0_1 Depth=1
movl %r15d, %eax
movb $0, -80(%rbp,%rax)
addq %r15, %r14
.p2align 4, 0x90
LBB0_9: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movsbl (%r14), %edi
callq _svg_is_whitespace
incq %r14
testq %rax, %rax
jne LBB0_9
## %bb.10: ## in Loop: Header=BB0_1 Depth=1
cmpb $40, -1(%r14)
movq %rbx, %r15
movq %r13, %rbx
je LBB0_12
## %bb.11: ## in Loop: Header=BB0_1 Depth=1
movl (%r15), %esi
movq %rbx, %rdi
leaq L_.str.1(%rip), %rdx
xorl %eax, %eax
callq _fz_throw
LBB0_12: ## in Loop: Header=BB0_1 Depth=1
movzbl (%r14), %eax
testb %al, %al
movl $1920229741, %r13d ## imm = 0x7274616D
je LBB0_20
## %bb.13: ## in Loop: Header=BB0_1 Depth=1
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_14: ## Parent Loop BB0_1 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_17 Depth 3
cmpb $41, %al
je LBB0_22
## %bb.15: ## in Loop: Header=BB0_14 Depth=2
cmpq $5, %r12
ja LBB0_22
## %bb.16: ## in Loop: Header=BB0_14 Depth=2
decq %r14
.p2align 4, 0x90
LBB0_17: ## Parent Loop BB0_1 Depth=1
## Parent Loop BB0_14 Depth=2
## => This Inner Loop Header: Depth=3
movsbl 1(%r14), %edi
incq %r14
callq _svg_is_whitespace_or_comma
testq %rax, %rax
jne LBB0_17
## %bb.18: ## in Loop: Header=BB0_14 Depth=2
movsbl (%r14), %edi
callq _svg_is_digit
testq %rax, %rax
je LBB0_21
## %bb.19: ## in Loop: Header=BB0_14 Depth=2
leaq -112(,%r12,4), %rdi
addq %rbp, %rdi
incq %r12
movq %r14, %rsi
callq _svg_lex_number
movq %rax, %r14
movzbl (%rax), %eax
testb %al, %al
jne LBB0_14
jmp LBB0_23
LBB0_20: ## in Loop: Header=BB0_1 Depth=1
xorl %r12d, %r12d
jmp LBB0_23
LBB0_21: ## in Loop: Header=BB0_1 Depth=1
movzbl (%r14), %eax
LBB0_22: ## in Loop: Header=BB0_1 Depth=1
cmpb $41, %al
je LBB0_24
LBB0_23: ## in Loop: Header=BB0_1 Depth=1
movl (%r15), %esi
movq %rbx, %rdi
leaq L_.str.2(%rip), %rdx
xorl %eax, %eax
callq _fz_throw
LBB0_24: ## in Loop: Header=BB0_1 Depth=1
incq %r14
movl -80(%rbp), %eax
xorl %r13d, %eax
movl -77(%rbp), %ecx
movl $7891314, %edx ## imm = 0x786972
xorl %edx, %ecx
orl %eax, %ecx
je LBB0_31
## %bb.25: ## in Loop: Header=BB0_1 Depth=1
movq -80(%rbp), %rax
movabsq $8386103224169493108, %rcx ## imm = 0x74616C736E617274
xorq %rcx, %rax
movzwl -72(%rbp), %ecx
xorq $101, %rcx
orq %rax, %rcx
movl $2003135347, %esi ## imm = 0x77656B73
je LBB0_34
## %bb.26: ## in Loop: Header=BB0_1 Depth=1
movl -80(%rbp), %eax
movl $1818321779, %ecx ## imm = 0x6C616373
xorl %ecx, %eax
movzwl -76(%rbp), %ecx
xorl $101, %ecx
orl %eax, %ecx
je LBB0_37
## %bb.27: ## in Loop: Header=BB0_1 Depth=1
movl -80(%rbp), %eax
movl $1635020658, %ecx ## imm = 0x61746F72
xorl %ecx, %eax
movl -77(%rbp), %ecx
movl $6648929, %edx ## imm = 0x657461
xorl %edx, %ecx
orl %eax, %ecx
je LBB0_40
## %bb.28: ## in Loop: Header=BB0_1 Depth=1
movl -80(%rbp), %eax
xorl %esi, %eax
movzwl -76(%rbp), %ecx
xorl $88, %ecx
orl %eax, %ecx
je LBB0_43
## %bb.29: ## in Loop: Header=BB0_1 Depth=1
movl -80(%rbp), %eax
xorl %esi, %eax
movzwl -76(%rbp), %ecx
xorl $89, %ecx
orl %eax, %ecx
je LBB0_49
## %bb.30: ## in Loop: Header=BB0_1 Depth=1
movl (%r15), %esi
movq %rbx, %rdi
leaq L_.str.15(%rip), %rdx
leaq -80(%rbp), %rcx
xorl %eax, %eax
callq _fz_throw
movl -116(%rbp), %r12d ## 4-byte Reload
jmp LBB0_1
LBB0_31: ## in Loop: Header=BB0_1 Depth=1
cmpl $6, %r12d
je LBB0_33
## %bb.32: ## in Loop: Header=BB0_1 Depth=1
movl (%r15), %esi
movq %rbx, %rdi
leaq L_.str.4(%rip), %rdx
movl %r12d, %ecx
xorl %eax, %eax
callq _fz_throw
LBB0_33: ## in Loop: Header=BB0_1 Depth=1
cvttss2si -112(%rbp), %edi
cvttss2si -100(%rbp), %esi
movss -108(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss -104(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movss -96(%rbp), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movss -92(%rbp), %xmm3 ## xmm3 = mem[0],zero,zero,zero
LBB0_53: ## in Loop: Header=BB0_1 Depth=1
callq _fz_make_matrix
jmp LBB0_54
LBB0_34: ## in Loop: Header=BB0_1 Depth=1
cmpl $2, %r12d
je LBB0_36
## %bb.35: ## in Loop: Header=BB0_1 Depth=1
movl (%r15), %esi
movq %rbx, %rdi
leaq L_.str.6(%rip), %rdx
movl %r12d, %ecx
xorl %eax, %eax
callq _fz_throw
LBB0_36: ## in Loop: Header=BB0_1 Depth=1
movss -112(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss -108(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
callq _fz_translate
jmp LBB0_54
LBB0_37: ## in Loop: Header=BB0_1 Depth=1
cmpl $2, %r12d
je LBB0_46
## %bb.38: ## in Loop: Header=BB0_1 Depth=1
cmpl $1, %r12d
jne LBB0_48
## %bb.39: ## in Loop: Header=BB0_1 Depth=1
movss -112(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movaps %xmm0, %xmm1
jmp LBB0_47
LBB0_40: ## in Loop: Header=BB0_1 Depth=1
cmpl $1, %r12d
je LBB0_42
## %bb.41: ## in Loop: Header=BB0_1 Depth=1
movl (%r15), %esi
movq %rbx, %rdi
leaq L_.str.10(%rip), %rdx
movl %r12d, %ecx
xorl %eax, %eax
callq _fz_throw
LBB0_42: ## in Loop: Header=BB0_1 Depth=1
movss -112(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
callq _fz_rotate
jmp LBB0_54
LBB0_43: ## in Loop: Header=BB0_1 Depth=1
cmpl $1, %r12d
je LBB0_45
## %bb.44: ## in Loop: Header=BB0_1 Depth=1
movl (%r15), %esi
movq %rbx, %rdi
leaq L_.str.12(%rip), %rdx
movl %r12d, %ecx
xorl %eax, %eax
callq _fz_throw
LBB0_45: ## in Loop: Header=BB0_1 Depth=1
movss -112(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq _FZ_DEGREE@GOTPCREL(%rip), %rax
mulss (%rax), %xmm0
callq _tanf
movaps %xmm0, %xmm1
xorps %xmm0, %xmm0
jmp LBB0_52
LBB0_46: ## in Loop: Header=BB0_1 Depth=1
movss -112(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss -108(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
LBB0_47: ## in Loop: Header=BB0_1 Depth=1
callq _fz_scale
.p2align 4, 0x90
LBB0_54: ## in Loop: Header=BB0_1 Depth=1
movl %eax, %edi
movl -116(%rbp), %esi ## 4-byte Reload
callq _fz_concat
movl %eax, %r12d
jmp LBB0_1
LBB0_48: ## in Loop: Header=BB0_1 Depth=1
movl (%r15), %esi
movq %rbx, %rdi
leaq L_.str.8(%rip), %rdx
movl %r12d, %ecx
xorl %eax, %eax
callq _fz_throw
movl -116(%rbp), %r12d ## 4-byte Reload
jmp LBB0_1
LBB0_49: ## in Loop: Header=BB0_1 Depth=1
cmpl $1, %r12d
je LBB0_51
## %bb.50: ## in Loop: Header=BB0_1 Depth=1
movl (%r15), %esi
movq %rbx, %rdi
leaq L_.str.14(%rip), %rdx
movl %r12d, %ecx
xorl %eax, %eax
callq _fz_throw
LBB0_51: ## in Loop: Header=BB0_1 Depth=1
movss -112(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq _FZ_DEGREE@GOTPCREL(%rip), %rax
mulss (%rax), %xmm0
callq _tanf
xorps %xmm1, %xmm1
LBB0_52: ## in Loop: Header=BB0_1 Depth=1
xorps %xmm2, %xmm2
xorps %xmm3, %xmm3
movl $1, %edi
movl $1, %esi
jmp LBB0_53
LBB0_55:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_57
## %bb.56:
movl %r12d, %eax
addq $88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_57:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _FZ_ERROR_SYNTAX,4,2 ## @FZ_ERROR_SYNTAX
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "expected opening parenthesis in transform attribute"
L_.str.2: ## @.str.2
.asciz "expected closing parenthesis in transform attribute"
L_.str.3: ## @.str.3
.asciz "matrix"
L_.str.4: ## @.str.4
.asciz "wrong number of arguments to matrix(): %d"
L_.str.5: ## @.str.5
.asciz "translate"
L_.str.6: ## @.str.6
.asciz "wrong number of arguments to translate(): %d"
L_.str.7: ## @.str.7
.asciz "scale"
L_.str.8: ## @.str.8
.asciz "wrong number of arguments to scale(): %d"
L_.str.9: ## @.str.9
.asciz "rotate"
L_.str.10: ## @.str.10
.asciz "wrong number of arguments to rotate(): %d"
L_.str.11: ## @.str.11
.asciz "skewX"
L_.str.12: ## @.str.12
.asciz "wrong number of arguments to skewX(): %d"
.comm _FZ_DEGREE,4,2 ## @FZ_DEGREE
L_.str.13: ## @.str.13
.asciz "skewY"
L_.str.14: ## @.str.14
.asciz "wrong number of arguments to skewY(): %d"
L_.str.15: ## @.str.15
.asciz "unknown transform function: %s"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _svg_parse_transform ; -- Begin function svg_parse_transform
.p2align 2
_svg_parse_transform: ; @svg_parse_transform
.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 x22, x3
mov x26, x2
mov x19, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
add x25, sp, #36
Lloh3:
adrp x28, _FZ_ERROR_SYNTAX@GOTPAGE
Lloh4:
ldr x28, [x28, _FZ_ERROR_SYNTAX@GOTPAGEOFF]
str x8, [sp, #56]
mov w21, #26994 ; =0x6972
movk w21, #120, lsl #16
mov w27, #101 ; =0x65
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_2 Depth 2
; Child Loop BB0_4 Depth 3
; Child Loop BB0_7 Depth 2
; Child Loop BB0_9 Depth 2
; Child Loop BB0_15 Depth 2
; Child Loop BB0_20 Depth 2
; Child Loop BB0_25 Depth 2
; Child Loop BB0_30 Depth 2
; Child Loop BB0_35 Depth 2
; Child Loop BB0_40 Depth 2
ldrb w8, [x26]
LBB0_2: ; Parent Loop BB0_1 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_4 Depth 3
cbz w8, LBB0_84
; %bb.3: ; in Loop: Header=BB0_2 Depth=2
add x26, x26, #1
LBB0_4: ; Parent Loop BB0_1 Depth=1
; Parent Loop BB0_2 Depth=2
; => This Inner Loop Header: Depth=3
mov x20, x26
ldrsb w0, [x26, #-1]!
bl _svg_is_whitespace_or_comma
cbnz x0, LBB0_4
; %bb.5: ; in Loop: Header=BB0_2 Depth=2
mov w8, #0 ; =0x0
ldrsb w0, [x26]
cbz w0, LBB0_2
; %bb.6: ; in Loop: Header=BB0_1 Depth=1
bl _svg_is_alpha
mov x23, #0 ; =0x0
LBB0_7: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
mov x24, x23
ldrb w8, [x26, x23]
add x23, x23, #1
strb w8, [x25, x24]
ldrsb w0, [x20], #1
bl _svg_is_alpha
cmp x0, #0
ccmp x24, #20, #0, eq
b.lo LBB0_7
; %bb.8: ; in Loop: Header=BB0_1 Depth=1
strb wzr, [x25, w23, uxtw]
add x26, x26, x23
LBB0_9: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
mov x24, x26
ldrsb w0, [x26], #1
bl _svg_is_whitespace
cbnz x0, LBB0_9
; %bb.10: ; in Loop: Header=BB0_1 Depth=1
ldurb w8, [x26, #-1]
cmp w8, #40
mov w23, #24941 ; =0x616d
movk w23, #29300, lsl #16
b.eq LBB0_12
; %bb.11: ; in Loop: Header=BB0_1 Depth=1
ldr w1, [x28]
mov x0, x19
Lloh5:
adrp x2, l_.str.1@PAGE
Lloh6:
add x2, x2, l_.str.1@PAGEOFF
bl _fz_throw
LBB0_12: ; in Loop: Header=BB0_1 Depth=1
ldrb w8, [x26]
cbz w8, LBB0_43
; %bb.13: ; in Loop: Header=BB0_1 Depth=1
cmp w8, #41
b.ne LBB0_15
; %bb.14: ; in Loop: Header=BB0_1 Depth=1
mov w20, #0 ; =0x0
b LBB0_46
LBB0_15: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldrsb w0, [x24, #1]!
bl _svg_is_whitespace_or_comma
cbnz x0, LBB0_15
; %bb.16: ; in Loop: Header=BB0_1 Depth=1
ldrsb w0, [x24]
bl _svg_is_digit
cbz x0, LBB0_44
; %bb.17: ; in Loop: Header=BB0_1 Depth=1
add x0, sp, #12
mov x1, x24
bl _svg_lex_number
mov x26, x0
ldrb w8, [x0]
mov w20, #1 ; =0x1
cbz w8, LBB0_47
; %bb.18: ; in Loop: Header=BB0_1 Depth=1
cmp w8, #41
b.eq LBB0_46
; %bb.19: ; in Loop: Header=BB0_1 Depth=1
sub x24, x26, #1
LBB0_20: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldrsb w0, [x24, #1]!
bl _svg_is_whitespace_or_comma
cbnz x0, LBB0_20
; %bb.21: ; in Loop: Header=BB0_1 Depth=1
ldrsb w0, [x24]
bl _svg_is_digit
cbz x0, LBB0_79
; %bb.22: ; in Loop: Header=BB0_1 Depth=1
add x8, sp, #12
add x0, x8, #4
mov x1, x24
bl _svg_lex_number
mov x26, x0
ldrb w8, [x0]
mov w20, #2 ; =0x2
cbz w8, LBB0_47
; %bb.23: ; in Loop: Header=BB0_1 Depth=1
cmp w8, #41
b.eq LBB0_46
; %bb.24: ; in Loop: Header=BB0_1 Depth=1
sub x24, x26, #1
LBB0_25: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldrsb w0, [x24, #1]!
bl _svg_is_whitespace_or_comma
cbnz x0, LBB0_25
; %bb.26: ; in Loop: Header=BB0_1 Depth=1
ldrsb w0, [x24]
bl _svg_is_digit
cbz x0, LBB0_80
; %bb.27: ; in Loop: Header=BB0_1 Depth=1
add x8, sp, #12
add x0, x8, #8
mov x1, x24
bl _svg_lex_number
mov x26, x0
ldrb w8, [x0]
mov w20, #3 ; =0x3
cbz w8, LBB0_47
; %bb.28: ; in Loop: Header=BB0_1 Depth=1
cmp w8, #41
b.eq LBB0_46
; %bb.29: ; in Loop: Header=BB0_1 Depth=1
sub x24, x26, #1
LBB0_30: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldrsb w0, [x24, #1]!
bl _svg_is_whitespace_or_comma
cbnz x0, LBB0_30
; %bb.31: ; in Loop: Header=BB0_1 Depth=1
ldrsb w0, [x24]
bl _svg_is_digit
cbz x0, LBB0_81
; %bb.32: ; in Loop: Header=BB0_1 Depth=1
add x8, sp, #12
add x0, x8, #12
mov x1, x24
bl _svg_lex_number
mov x26, x0
ldrb w8, [x0]
mov w20, #4 ; =0x4
cbz w8, LBB0_47
; %bb.33: ; in Loop: Header=BB0_1 Depth=1
cmp w8, #41
b.eq LBB0_46
; %bb.34: ; in Loop: Header=BB0_1 Depth=1
sub x24, x26, #1
LBB0_35: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldrsb w0, [x24, #1]!
bl _svg_is_whitespace_or_comma
cbnz x0, LBB0_35
; %bb.36: ; in Loop: Header=BB0_1 Depth=1
ldrsb w0, [x24]
bl _svg_is_digit
cbz x0, LBB0_82
; %bb.37: ; in Loop: Header=BB0_1 Depth=1
add x8, sp, #12
add x0, x8, #16
mov x1, x24
bl _svg_lex_number
mov x26, x0
ldrb w8, [x0]
mov w20, #5 ; =0x5
cbz w8, LBB0_47
; %bb.38: ; in Loop: Header=BB0_1 Depth=1
cmp w8, #41
b.eq LBB0_46
; %bb.39: ; in Loop: Header=BB0_1 Depth=1
sub x24, x26, #1
LBB0_40: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldrsb w0, [x24, #1]!
bl _svg_is_whitespace_or_comma
cbnz x0, LBB0_40
; %bb.41: ; in Loop: Header=BB0_1 Depth=1
ldrsb w0, [x24]
bl _svg_is_digit
cbz x0, LBB0_83
; %bb.42: ; in Loop: Header=BB0_1 Depth=1
add x8, sp, #12
add x0, x8, #20
mov x1, x24
bl _svg_lex_number
mov x26, x0
ldrb w8, [x0]
mov w20, #6 ; =0x6
cbnz w8, LBB0_46
b LBB0_47
LBB0_43: ; in Loop: Header=BB0_1 Depth=1
mov x20, x8
b LBB0_47
LBB0_44: ; in Loop: Header=BB0_1 Depth=1
mov w20, #0 ; =0x0
LBB0_45: ; in Loop: Header=BB0_1 Depth=1
ldrb w8, [x24]
mov x26, x24
LBB0_46: ; in Loop: Header=BB0_1 Depth=1
cmp w8, #41
b.eq LBB0_48
LBB0_47: ; in Loop: Header=BB0_1 Depth=1
ldr w1, [x28]
mov x0, x19
Lloh7:
adrp x2, l_.str.2@PAGE
Lloh8:
add x2, x2, l_.str.2@PAGEOFF
bl _fz_throw
LBB0_48: ; in Loop: Header=BB0_1 Depth=1
add x26, x26, #1
ldr w8, [sp, #36]
ldur w9, [sp, #39]
cmp w8, w23
ccmp w9, w21, #0, eq
b.eq LBB0_55
; %bb.49: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [sp, #36]
ldrh w9, [sp, #44]
mov x10, #29300 ; =0x7274
movk x10, #28257, lsl #16
movk x10, #27763, lsl #32
movk x10, #29793, lsl #48
cmp x8, x10
ccmp w9, w27, #0, eq
b.eq LBB0_59
; %bb.50: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #36]
ldrh w9, [sp, #40]
mov w10, #25459 ; =0x6373
movk w10, #27745, lsl #16
cmp w8, w10
ccmp w9, w27, #0, eq
b.eq LBB0_62
; %bb.51: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #36]
ldur w9, [sp, #39]
mov w10, #28530 ; =0x6f72
movk w10, #24948, lsl #16
cmp w8, w10
mov w8, #29793 ; =0x7461
movk w8, #101, lsl #16
ccmp w9, w8, #0, eq
b.eq LBB0_65
; %bb.52: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #36]
ldrh w9, [sp, #40]
mov w10, #27507 ; =0x6b73
movk w10, #30565, lsl #16
cmp w8, w10
mov w8, #88 ; =0x58
ccmp w9, w8, #0, eq
b.eq LBB0_68
; %bb.53: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #36]
ldrh w9, [sp, #40]
cmp w8, w10
mov w8, #89 ; =0x59
ccmp w9, w8, #0, eq
b.eq LBB0_75
; %bb.54: ; in Loop: Header=BB0_1 Depth=1
ldr w1, [x28]
str x25, [sp]
mov x0, x19
Lloh9:
adrp x2, l_.str.15@PAGE
Lloh10:
add x2, x2, l_.str.15@PAGEOFF
bl _fz_throw
b LBB0_1
LBB0_55: ; in Loop: Header=BB0_1 Depth=1
cmp w20, #6
b.eq LBB0_57
; %bb.56: ; in Loop: Header=BB0_1 Depth=1
ldr w1, [x28]
str x20, [sp]
mov x0, x19
Lloh11:
adrp x2, l_.str.4@PAGE
Lloh12:
add x2, x2, l_.str.4@PAGEOFF
bl _fz_throw
LBB0_57: ; in Loop: Header=BB0_1 Depth=1
ldp s1, s0, [sp, #12]
fcvtzs w0, s1
ldp s1, s2, [sp, #20]
fcvtzs w1, s2
ldp s2, s3, [sp, #28]
LBB0_58: ; in Loop: Header=BB0_1 Depth=1
bl _fz_make_matrix
b LBB0_73
LBB0_59: ; in Loop: Header=BB0_1 Depth=1
cmp w20, #2
b.eq LBB0_61
; %bb.60: ; in Loop: Header=BB0_1 Depth=1
ldr w1, [x28]
; kill: def $w20 killed $w20 killed $x20 def $x20
str x20, [sp]
mov x0, x19
Lloh13:
adrp x2, l_.str.6@PAGE
Lloh14:
add x2, x2, l_.str.6@PAGEOFF
bl _fz_throw
LBB0_61: ; in Loop: Header=BB0_1 Depth=1
ldp s0, s1, [sp, #12]
bl _fz_translate
b LBB0_73
LBB0_62: ; in Loop: Header=BB0_1 Depth=1
cmp w20, #2
b.eq LBB0_71
; %bb.63: ; in Loop: Header=BB0_1 Depth=1
cmp w20, #1
b.ne LBB0_74
; %bb.64: ; in Loop: Header=BB0_1 Depth=1
ldr s0, [sp, #12]
fmov s1, s0
b LBB0_72
LBB0_65: ; in Loop: Header=BB0_1 Depth=1
cmp w20, #1
b.eq LBB0_67
; %bb.66: ; in Loop: Header=BB0_1 Depth=1
ldr w1, [x28]
; kill: def $w20 killed $w20 killed $x20 def $x20
str x20, [sp]
mov x0, x19
Lloh15:
adrp x2, l_.str.10@PAGE
Lloh16:
add x2, x2, l_.str.10@PAGEOFF
bl _fz_throw
LBB0_67: ; in Loop: Header=BB0_1 Depth=1
ldr s0, [sp, #12]
bl _fz_rotate
b LBB0_73
LBB0_68: ; in Loop: Header=BB0_1 Depth=1
cmp w20, #1
b.eq LBB0_70
; %bb.69: ; in Loop: Header=BB0_1 Depth=1
ldr w1, [x28]
; kill: def $w20 killed $w20 killed $x20 def $x20
str x20, [sp]
mov x0, x19
Lloh17:
adrp x2, l_.str.12@PAGE
Lloh18:
add x2, x2, l_.str.12@PAGEOFF
bl _fz_throw
LBB0_70: ; in Loop: Header=BB0_1 Depth=1
ldr s0, [sp, #12]
Lloh19:
adrp x8, _FZ_DEGREE@GOTPAGE
Lloh20:
ldr x8, [x8, _FZ_DEGREE@GOTPAGEOFF]
Lloh21:
ldr s1, [x8]
fmul s0, s0, s1
bl _tanf
fmov s1, s0
movi d0, #0000000000000000
b LBB0_78
LBB0_71: ; in Loop: Header=BB0_1 Depth=1
ldp s0, s1, [sp, #12]
LBB0_72: ; in Loop: Header=BB0_1 Depth=1
bl _fz_scale
LBB0_73: ; in Loop: Header=BB0_1 Depth=1
mov x1, x22
bl _fz_concat
mov x22, x0
b LBB0_1
LBB0_74: ; in Loop: Header=BB0_1 Depth=1
ldr w1, [x28]
; kill: def $w20 killed $w20 killed $x20 def $x20
str x20, [sp]
mov x0, x19
Lloh22:
adrp x2, l_.str.8@PAGE
Lloh23:
add x2, x2, l_.str.8@PAGEOFF
bl _fz_throw
b LBB0_1
LBB0_75: ; in Loop: Header=BB0_1 Depth=1
cmp w20, #1
b.eq LBB0_77
; %bb.76: ; in Loop: Header=BB0_1 Depth=1
ldr w1, [x28]
; kill: def $w20 killed $w20 killed $x20 def $x20
str x20, [sp]
mov x0, x19
Lloh24:
adrp x2, l_.str.14@PAGE
Lloh25:
add x2, x2, l_.str.14@PAGEOFF
bl _fz_throw
LBB0_77: ; in Loop: Header=BB0_1 Depth=1
ldr s0, [sp, #12]
Lloh26:
adrp x8, _FZ_DEGREE@GOTPAGE
Lloh27:
ldr x8, [x8, _FZ_DEGREE@GOTPAGEOFF]
Lloh28:
ldr s1, [x8]
fmul s0, s0, s1
bl _tanf
movi d1, #0000000000000000
LBB0_78: ; in Loop: Header=BB0_1 Depth=1
movi d2, #0000000000000000
movi d3, #0000000000000000
mov w0, #1 ; =0x1
mov w1, #1 ; =0x1
b LBB0_58
LBB0_79: ; in Loop: Header=BB0_1 Depth=1
mov w20, #1 ; =0x1
b LBB0_45
LBB0_80: ; in Loop: Header=BB0_1 Depth=1
mov w20, #2 ; =0x2
b LBB0_45
LBB0_81: ; in Loop: Header=BB0_1 Depth=1
mov w20, #3 ; =0x3
b LBB0_45
LBB0_82: ; in Loop: Header=BB0_1 Depth=1
mov w20, #4 ; =0x4
b LBB0_45
LBB0_83: ; in Loop: Header=BB0_1 Depth=1
mov w20, #5 ; =0x5
b LBB0_45
LBB0_84:
ldr x8, [sp, #56]
Lloh29:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh30:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh31:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_86
; %bb.85:
mov x0, x22
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_86:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.cfi_endproc
; -- End function
.comm _FZ_ERROR_SYNTAX,4,2 ; @FZ_ERROR_SYNTAX
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "expected opening parenthesis in transform attribute"
l_.str.2: ; @.str.2
.asciz "expected closing parenthesis in transform attribute"
l_.str.3: ; @.str.3
.asciz "matrix"
l_.str.4: ; @.str.4
.asciz "wrong number of arguments to matrix(): %d"
l_.str.5: ; @.str.5
.asciz "translate"
l_.str.6: ; @.str.6
.asciz "wrong number of arguments to translate(): %d"
l_.str.7: ; @.str.7
.asciz "scale"
l_.str.8: ; @.str.8
.asciz "wrong number of arguments to scale(): %d"
l_.str.9: ; @.str.9
.asciz "rotate"
l_.str.10: ; @.str.10
.asciz "wrong number of arguments to rotate(): %d"
l_.str.11: ; @.str.11
.asciz "skewX"
l_.str.12: ; @.str.12
.asciz "wrong number of arguments to skewX(): %d"
.comm _FZ_DEGREE,4,2 ; @FZ_DEGREE
l_.str.13: ; @.str.13
.asciz "skewY"
l_.str.14: ; @.str.14
.asciz "wrong number of arguments to skewY(): %d"
l_.str.15: ; @.str.15
.asciz "unknown transform function: %s"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function color_pcl_compress_column
_color_pcl_compress_column: ## @color_pcl_compress_column
.cfi_startproc
## %bb.0:
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
testl %r8d, %r8d
jle LBB0_3
## %bb.1:
movl %ecx, %ebx
movq %rdx, %r14
movq (%rsi), %r15
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
movq %r14, %rsi
movl %ebx, %edx
callq _line_is_blank
jmp LBB0_2
LBB0_3:
movq 24(%rsi), %rsi
leaq L_.str.1(%rip), %rdx
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _fz_write_string ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "\033*rC"
.no_dead_strip _color_pcl_compress_column
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function color_pcl_compress_column
_color_pcl_compress_column: ; @color_pcl_compress_column
.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
cmp w4, #1
b.lt LBB0_3
; %bb.1:
mov x19, x3
mov x20, x2
ldr x21, [x1]
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x0, x21
mov x1, x20
mov x2, x19
bl _line_is_blank
b LBB0_2
LBB0_3:
ldr x1, [x1, #24]
Lloh0:
adrp x2, l_.str.1@PAGE
Lloh1:
add x2, x2, l_.str.1@PAGEOFF
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 _fz_write_string
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "\033*rC"
.no_dead_strip _color_pcl_compress_column
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function pack_sg_list_p
_pack_sg_list_p: ## @pack_sg_list_p
.cfi_startproc
## %bb.0:
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 %r9, %r15
movl %r8d, %r13d
movq %rcx, -80(%rbp) ## 8-byte Spill
movl %esi, %r14d
movq %rdi, %rbx
movl %edx, -48(%rbp) ## 4-byte Spill
movl %edx, %eax
subl %esi, %eax
xorl %edi, %edi
cmpl %r8d, %eax
setl %dil
callq _BUG_ON
movl %r14d, %r12d
movl %r13d, -56(%rbp) ## 4-byte Spill
testl %r13d, %r13d
je LBB0_6
## %bb.1:
movl 16(%rbp), %r13d
movq _PAGE_SIZE@GOTPCREL(%rip), %rax
movq %rbx, %r12
movl (%rax), %ebx
movq %r15, -88(%rbp) ## 8-byte Spill
subl %r15d, %ebx
cmpl %r13d, %ebx
cmovgel %r13d, %ebx
movslq %r14d, %r15
xorl %edi, %edi
movl %r14d, -60(%rbp) ## 4-byte Spill
cmpl %r14d, -48(%rbp) ## 4-byte Folded Reload
setle %dil
callq _BUG_ON
movq %r12, -72(%rbp) ## 8-byte Spill
leaq (%r12,%r15,4), %r14
movq %r14, %rdi
callq _sg_unmark_end
leaq -1(%r15), %r12
movq -80(%rbp), %rax ## 8-byte Reload
movq (%rax), %rsi
movq %r14, %rdi
movl %ebx, %edx
movq -88(%rbp), %rcx ## 8-byte Reload
## kill: def $ecx killed $ecx killed $rcx
callq _sg_set_page
movl -56(%rbp), %eax ## 4-byte Reload
cmpl $1, %eax
je LBB0_4
## %bb.2:
movslq -48(%rbp), %rcx ## 4-byte Folded Reload
movq %rcx, -48(%rbp) ## 8-byte Spill
subl %ebx, %r13d
movq -72(%rbp), %rcx ## 8-byte Reload
leaq (%rcx,%r15,4), %r14
addq $-4, %r14
movl %eax, %eax
movq %rax, -56(%rbp) ## 8-byte Spill
movl $1, %r15d
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq _PAGE_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %ebx
cmpl %r13d, %ebx
cmovgel %r13d, %ebx
xorl %edi, %edi
cmpq -48(%rbp), %r12 ## 8-byte Folded Reload
setge %dil
callq _BUG_ON
movq %r14, %rdi
callq _sg_unmark_end
decq %r12
movq -80(%rbp), %rax ## 8-byte Reload
movq (%rax,%r15,8), %rsi
incq %r15
movq %r14, %rdi
movl %ebx, %edx
xorl %ecx, %ecx
callq _sg_set_page
subl %ebx, %r13d
addq $-4, %r14
cmpl %r15d, -56(%rbp) ## 4-byte Folded Reload
jne LBB0_3
LBB0_4:
movl -60(%rbp), %r14d ## 4-byte Reload
cmpl %r14d, %r12d
je LBB0_6
## %bb.5:
movslq %r12d, %rax
movq -72(%rbp), %rcx ## 8-byte Reload
leaq (%rcx,%rax,4), %rdi
addq $-4, %rdi
callq _sg_mark_end
LBB0_6:
subl %r14d, %r12d
movl %r12d, %eax
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PAGE_SIZE,4,2 ## @PAGE_SIZE
.no_dead_strip _pack_sg_list_p
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function pack_sg_list_p
_pack_sg_list_p: ; @pack_sg_list_p
.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 x21, x6
mov x25, x5
mov x24, x4
str x3, [sp, #8] ; 8-byte Folded Spill
mov x23, x2
mov x19, x1
mov x22, x0
sub w8, w2, w1
cmp w8, w4
cset w0, lt
bl _BUG_ON
mov x28, x19
cbz w24, LBB0_6
; %bb.1:
sxtw x28, w19
Lloh0:
adrp x20, _PAGE_SIZE@GOTPAGE
Lloh1:
ldr x20, [x20, _PAGE_SIZE@GOTPAGEOFF]
ldr w8, [x20]
sub w8, w8, w25
cmp w8, w21
csel w26, w8, w21, lt
cmp w23, w19
cset w0, le
bl _BUG_ON
add x27, x22, w19, sxtw #2
mov x0, x27
bl _sg_unmark_end
str x28, [sp] ; 8-byte Folded Spill
sub x28, x28, #1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x1, [x8]
mov x0, x27
mov x2, x26
mov x3, x25
bl _sg_set_page
subs w24, w24, #1
b.eq LBB0_7
; %bb.2:
sxtw x23, w23
sub w25, w21, w26
ldp x8, x9, [sp] ; 16-byte Folded Reload
add x26, x9, #8
add x8, x22, x8, lsl #2
sub x21, x8, #4
mov x27, x22
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr w8, [x20]
cmp w8, w25
csel w22, w8, w25, lt
cmp x28, x23
cset w0, ge
bl _BUG_ON
mov x0, x21
bl _sg_unmark_end
sub x28, x28, #1
ldr x1, [x26], #8
mov x0, x21
mov x2, x22
mov w3, #0 ; =0x0
bl _sg_set_page
sub w25, w25, w22
sub x21, x21, #4
sub w24, w24, #1
cbnz w24, LBB0_3
; %bb.4:
cmp w28, w19
b.eq LBB0_6
LBB0_5:
lsl x8, x28, #32
add x8, x27, x8, asr #30
sub x0, x8, #4
bl _sg_mark_end
LBB0_6:
sub w0, w28, w19
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
LBB0_7:
mov x27, x22
cmp w28, w19
b.ne LBB0_5
b LBB0_6
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _PAGE_SIZE,4,2 ; @PAGE_SIZE
.no_dead_strip _pack_sg_list_p
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _ftpvis ## -- Begin function ftpvis
.p2align 4, 0x90
_ftpvis: ## @ftpvis
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
testq %rcx, %rcx
je LBB0_13
## %bb.1:
testq %rsi, %rsi
je LBB0_13
## %bb.2:
movzbl (%rdx), %r10d
testb %r10b, %r10b
je LBB0_13
## %bb.3:
movl $1, %r8d
xorl %eax, %eax
movabsq $21474846208, %r9 ## imm = 0x500002600
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movzbl %r10b, %r11d
cmpb $34, %r11b
ja LBB0_5
## %bb.6: ## in Loop: Header=BB0_4 Depth=1
btq %r11, %r9
jae LBB0_5
LBB0_7: ## in Loop: Header=BB0_4 Depth=1
movb $92, (%rdi,%rax)
incq %rax
cmpq %rsi, %rax
jae LBB0_10
## %bb.8: ## in Loop: Header=BB0_4 Depth=1
movzbl -1(%rdx,%r8), %r10d
jmp LBB0_9
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_4 Depth=1
cmpl $92, %r11d
je LBB0_7
LBB0_9: ## in Loop: Header=BB0_4 Depth=1
movb %r10b, (%rdi,%rax)
LBB0_10: ## in Loop: Header=BB0_4 Depth=1
decq %rax
cmpq %rcx, %r8
jae LBB0_13
## %bb.11: ## in Loop: Header=BB0_4 Depth=1
cmpq %rsi, %rax
jae LBB0_13
## %bb.12: ## in Loop: Header=BB0_4 Depth=1
movzbl (%rdx,%r8), %r10d
incq %r8
testb %r10b, %r10b
jne LBB0_4
LBB0_13:
movb $0, (%rdi,%rax)
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 _ftpvis ; -- Begin function ftpvis
.p2align 2
_ftpvis: ; @ftpvis
.cfi_startproc
; %bb.0:
mov x8, #0 ; =0x0
cbz x3, LBB0_14
; %bb.1:
cbz x1, LBB0_14
; %bb.2:
ldrb w14, [x2]
cbz w14, LBB0_14
; %bb.3:
mov x8, #0 ; =0x0
add x9, x2, #1
mov w10, #1 ; =0x1
mov w11, #92 ; =0x5c
mov x12, #9728 ; =0x2600
movk x12, #5, lsl #32
mov w13, #1 ; =0x1
LBB0_4: ; =>This Inner Loop Header: Depth=1
cmp w14, #34
b.hi LBB0_8
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
mov w15, w14
lsl x15, x10, x15
tst x15, x12
b.eq LBB0_8
LBB0_6: ; in Loop: Header=BB0_4 Depth=1
add x15, x8, #1
strb w11, [x0, x8]
cmp x15, x1
b.hs LBB0_11
; %bb.7: ; in Loop: Header=BB0_4 Depth=1
ldurb w14, [x9, #-1]
b LBB0_10
LBB0_8: ; in Loop: Header=BB0_4 Depth=1
cmp w14, #92
b.eq LBB0_6
; %bb.9: ; in Loop: Header=BB0_4 Depth=1
mov x15, x8
LBB0_10: ; in Loop: Header=BB0_4 Depth=1
strb w14, [x0, x15]
LBB0_11: ; in Loop: Header=BB0_4 Depth=1
sub x8, x15, #1
cmp x13, x3
b.hs LBB0_14
; %bb.12: ; in Loop: Header=BB0_4 Depth=1
cmp x8, x1
b.hs LBB0_14
; %bb.13: ; in Loop: Header=BB0_4 Depth=1
ldrb w14, [x9], #1
add x13, x13, #1
cbnz w14, LBB0_4
LBB0_14:
strb wzr, [x0, x8]
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 on_exit
_on_exit: ## @on_exit
.cfi_startproc
## %bb.0:
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 ___on_exit_count@GOTPCREL(%rip), %rbx
movq (%rbx), %rax
movq _ATEXIT_MAX@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_2
## %bb.1:
movq _ENOMEM@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
jmp LBB0_5
LBB0_2:
testq %rax, %rax
jne LBB0_4
## %bb.3:
movq ___handle_on_exit_funcs@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %edi, %r14d
movl %eax, %edi
movq %rsi, %r15
callq _atexit
movl %r14d, %edi
movq %r15, %rsi
movq (%rbx), %rax
LBB0_4:
movq ___on_exit_funcs@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movl %edi, (%rcx,%rax,4)
movq ___on_exit_args@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
leaq -1(%rax), %rdx
movq %rdx, (%rbx)
movq %rsi, (%rcx,%rax,8)
xorl %eax, %eax
LBB0_5:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm ___on_exit_count,8,3 ## @__on_exit_count
.comm _ATEXIT_MAX,8,3 ## @ATEXIT_MAX
.comm _ENOMEM,4,2 ## @ENOMEM
.comm ___handle_on_exit_funcs,4,2 ## @__handle_on_exit_funcs
.comm ___on_exit_funcs,8,3 ## @__on_exit_funcs
.comm ___on_exit_args,8,3 ## @__on_exit_args
.no_dead_strip _on_exit
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function on_exit
_on_exit: ; @on_exit
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
Lloh0:
adrp x19, ___on_exit_count@GOTPAGE
Lloh1:
ldr x19, [x19, ___on_exit_count@GOTPAGEOFF]
ldr x9, [x19]
Lloh2:
adrp x8, _ATEXIT_MAX@GOTPAGE
Lloh3:
ldr x8, [x8, _ATEXIT_MAX@GOTPAGEOFF]
Lloh4:
ldr x8, [x8]
cmp x9, x8
b.ne LBB0_2
; %bb.1:
Lloh5:
adrp x8, _ENOMEM@GOTPAGE
Lloh6:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
ldr w8, [x8]
neg w8, w8
b LBB0_5
LBB0_2:
cbnz x9, LBB0_4
; %bb.3:
Lloh8:
adrp x8, ___handle_on_exit_funcs@GOTPAGE
Lloh9:
ldr x8, [x8, ___handle_on_exit_funcs@GOTPAGEOFF]
Lloh10:
ldr w8, [x8]
mov x20, x0
mov x0, x8
mov x21, x1
bl _atexit
mov x0, x20
mov x1, x21
ldr x9, [x19]
LBB0_4:
mov w8, #0 ; =0x0
Lloh11:
adrp x10, ___on_exit_funcs@GOTPAGE
Lloh12:
ldr x10, [x10, ___on_exit_funcs@GOTPAGEOFF]
Lloh13:
ldr x10, [x10]
str w0, [x10, x9, lsl #2]
Lloh14:
adrp x10, ___on_exit_args@GOTPAGE
Lloh15:
ldr x10, [x10, ___on_exit_args@GOTPAGEOFF]
Lloh16:
ldr x10, [x10]
sub x11, x9, #1
str x11, [x19]
str x1, [x10, x9, lsl #3]
LBB0_5:
mov x0, x8
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.cfi_endproc
; -- End function
.comm ___on_exit_count,8,3 ; @__on_exit_count
.comm _ATEXIT_MAX,8,3 ; @ATEXIT_MAX
.comm _ENOMEM,4,2 ; @ENOMEM
.comm ___handle_on_exit_funcs,4,2 ; @__handle_on_exit_funcs
.comm ___on_exit_funcs,8,3 ; @__on_exit_funcs
.comm ___on_exit_args,8,3 ; @__on_exit_args
.no_dead_strip _on_exit
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _SetSectionHeaders ## -- Begin function SetSectionHeaders
.p2align 4, 0x90
_SetSectionHeaders: ## @SetSectionHeaders
.cfi_startproc
## %bb.0:
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 $536, %rsp ## imm = 0x218
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edi, %ebx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _hMainDialog@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _GetDC
movq _LOGPIXELSY@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movl %eax, %edi
callq _GetDeviceCaps
movl $14, %edi
movl %eax, %esi
movl $72, %edx
callq _MulDiv
negl %eax
movq _FW_SEMIBOLD@GOTPCREL(%rip), %rcx
movl (%rcx), %r8d
movq _FALSE@GOTPCREL(%rip), %rcx
movl (%rcx), %r9d
movq _DEFAULT_CHARSET@GOTPCREL(%rip), %rcx
movl (%rcx), %r10d
movq _PROOF_QUALITY@GOTPCREL(%rip), %rcx
movl (%rcx), %r11d
leaq L_.str(%rip), %r14
movl %eax, %edi
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
pushq %r14
pushq $0
pushq %r11
pushq $0
pushq $0
pushq %r10
pushq %r9
pushq %r9
callq _CreateFontA
addq $64, %rsp
movq %rax, %r13
movq _section_control_ids@GOTPCREL(%rip), %r14
movq (%r14), %rdi
callq _ARRAYSIZE
testl %eax, %eax
js LBB0_3
## %bb.1:
movq $-1, %r12
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq (%r14), %rax
movl 4(%rax,%r12,4), %esi
movq _WM_SETFONT@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _TRUE@GOTPCREL(%rip), %rax
movl (%rax), %r8d
movl %ebx, %edi
movl %r13d, %ecx
callq _SendDlgItemMessageA
movq (%r14), %rax
movl 4(%rax,%r12,4), %esi
movl %ebx, %edi
callq _GetDlgItem
movq %r13, %r14
movl %eax, %r13d
leaq -560(%rbp), %r15
movq %r15, %rdi
xorl %esi, %esi
movl $512, %edx ## imm = 0x200
callq _memset
movq %r15, %rdi
callq _ARRAYSIZE
movl %r13d, %edi
movq %r15, %rsi
movl %eax, %edx
callq _GetWindowTextW
movq %r15, %rdi
callq _wcslen
movabsq $137438953504, %rcx ## imm = 0x2000000020
movq %rcx, -560(%rbp,%rax,4)
movl %r13d, %edi
movq %r15, %rsi
callq _SetWindowTextW
movl %r13d, %edi
leaq -568(%rbp), %r15
movq %r15, %rsi
callq _GetWindowRect
xorl %edi, %edi
movl %ebx, %esi
movq %r15, %rdx
movl $2, %ecx
callq _MapWindowPoints
movl %r13d, %edi
xorl %esi, %esi
callq _GetTextSize
movq %rax, %r8
shrq $32, %r8
movl -568(%rbp), %ecx
movl -564(%rbp), %edx
movq _SWP_NOZORDER@GOTPCREL(%rip), %rsi
movl (%rsi), %r10d
subq $8, %rsp
movl %r13d, %edi
movq %r14, %r13
movq _section_control_ids@GOTPCREL(%rip), %r14
xorl %esi, %esi
## kill: def $r8d killed $r8d killed $r8
movl %eax, %r9d
pushq %r10
callq _SetWindowPos
addq $16, %rsp
movq (%r14), %rdi
callq _ARRAYSIZE
cltq
incq %r12
cmpq %rax, %r12
jl LBB0_2
LBB0_3:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_5
## %bb.4:
addq $536, %rsp ## imm = 0x218
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_5:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _hMainDialog,4,2 ## @hMainDialog
.comm _LOGPIXELSY,4,2 ## @LOGPIXELSY
.comm _FW_SEMIBOLD,4,2 ## @FW_SEMIBOLD
.comm _FALSE,4,2 ## @FALSE
.comm _DEFAULT_CHARSET,4,2 ## @DEFAULT_CHARSET
.comm _PROOF_QUALITY,4,2 ## @PROOF_QUALITY
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Segoe UI"
.comm _section_control_ids,8,3 ## @section_control_ids
.comm _WM_SETFONT,4,2 ## @WM_SETFONT
.comm _TRUE,4,2 ## @TRUE
.comm _SWP_NOZORDER,4,2 ## @SWP_NOZORDER
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _SetSectionHeaders ; -- Begin function SetSectionHeaders
.p2align 2
_SetSectionHeaders: ; @SetSectionHeaders
.cfi_startproc
; %bb.0:
stp d9, d8, [sp, #-112]! ; 16-byte Folded Spill
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
sub sp, sp, #560
.cfi_def_cfa w29, 16
.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
.cfi_offset b8, -104
.cfi_offset b9, -112
mov x19, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-104]
Lloh3:
adrp x8, _hMainDialog@GOTPAGE
Lloh4:
ldr x8, [x8, _hMainDialog@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
bl _GetDC
Lloh6:
adrp x8, _LOGPIXELSY@GOTPAGE
Lloh7:
ldr x8, [x8, _LOGPIXELSY@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
bl _GetDeviceCaps
mov x1, x0
mov w0, #14 ; =0xe
mov w2, #72 ; =0x48
bl _MulDiv
neg w0, w0
Lloh9:
adrp x8, _FW_SEMIBOLD@GOTPAGE
Lloh10:
ldr x8, [x8, _FW_SEMIBOLD@GOTPAGEOFF]
Lloh11:
ldr w4, [x8]
Lloh12:
adrp x8, _FALSE@GOTPAGE
Lloh13:
ldr x8, [x8, _FALSE@GOTPAGEOFF]
Lloh14:
ldr w5, [x8]
Lloh15:
adrp x8, _DEFAULT_CHARSET@GOTPAGE
Lloh16:
ldr x8, [x8, _DEFAULT_CHARSET@GOTPAGEOFF]
Lloh17:
ldr w8, [x8]
Lloh18:
adrp x9, _PROOF_QUALITY@GOTPAGE
Lloh19:
ldr x9, [x9, _PROOF_QUALITY@GOTPAGEOFF]
Lloh20:
ldr w9, [x9]
Lloh21:
adrp x10, l_.str@PAGE
Lloh22:
add x10, x10, l_.str@PAGEOFF
str x10, [sp, #24]
stp w9, wzr, [sp, #12]
stur xzr, [sp, #4]
str w8, [sp]
mov w1, #0 ; =0x0
mov w2, #0 ; =0x0
mov w3, #0 ; =0x0
mov x6, x5
mov x7, x5
bl _CreateFontA
mov x20, x0
Lloh23:
adrp x22, _section_control_ids@GOTPAGE
Lloh24:
ldr x22, [x22, _section_control_ids@GOTPAGEOFF]
ldr x0, [x22]
bl _ARRAYSIZE
tbnz w0, #31, LBB0_3
; %bb.1:
mov x23, #0 ; =0x0
Lloh25:
adrp x24, _WM_SETFONT@GOTPAGE
Lloh26:
ldr x24, [x24, _WM_SETFONT@GOTPAGEOFF]
Lloh27:
adrp x25, _TRUE@GOTPAGE
Lloh28:
ldr x25, [x25, _TRUE@GOTPAGEOFF]
add x26, sp, #40
movi.2s v8, #32
Lloh29:
adrp x27, _SWP_NOZORDER@GOTPAGE
Lloh30:
ldr x27, [x27, _SWP_NOZORDER@GOTPAGEOFF]
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x8, [x22]
ldr w1, [x8, x23, lsl #2]
ldr w2, [x24]
ldr w4, [x25]
mov x0, x19
mov x3, x20
bl _SendDlgItemMessageA
ldr x8, [x22]
ldr w1, [x8, x23, lsl #2]
mov x0, x19
bl _GetDlgItem
mov x21, x0
add x0, sp, #40
mov w1, #0 ; =0x0
mov w2, #512 ; =0x200
bl _memset
add x0, sp, #40
bl _ARRAYSIZE
mov x2, x0
add x1, sp, #40
mov x0, x21
bl _GetWindowTextW
add x0, sp, #40
bl _wcslen
lsl x8, x0, #2
str d8, [x26, x8]
add x1, sp, #40
mov x0, x21
bl _SetWindowTextW
add x1, sp, #32
mov x0, x21
bl _GetWindowRect
add x2, sp, #32
mov x0, #0 ; =0x0
mov x1, x19
mov w3, #2 ; =0x2
bl _MapWindowPoints
mov x0, x21
mov x1, #0 ; =0x0
bl _GetTextSize
mov x5, x0
lsr x4, x0, #32
ldp w3, w2, [sp, #32]
ldr w6, [x27]
mov x0, x21
mov x1, #0 ; =0x0
; kill: def $w4 killed $w4 killed $x4
; kill: def $w5 killed $w5 killed $x5
bl _SetWindowPos
add x21, x23, #1
ldr x0, [x22]
bl _ARRAYSIZE
cmp x23, w0, sxtw
mov x23, x21
b.lt LBB0_2
LBB0_3:
ldur x8, [x29, #-104]
Lloh31:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh32:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh33:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_5
; %bb.4:
add sp, sp, #560
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
ldp d9, d8, [sp], #112 ; 16-byte Folded Reload
ret
LBB0_5:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh23, Lloh24
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh29, Lloh30
.loh AdrpLdrGot Lloh27, Lloh28
.loh AdrpLdrGot Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.cfi_endproc
; -- End function
.comm _hMainDialog,4,2 ; @hMainDialog
.comm _LOGPIXELSY,4,2 ; @LOGPIXELSY
.comm _FW_SEMIBOLD,4,2 ; @FW_SEMIBOLD
.comm _FALSE,4,2 ; @FALSE
.comm _DEFAULT_CHARSET,4,2 ; @DEFAULT_CHARSET
.comm _PROOF_QUALITY,4,2 ; @PROOF_QUALITY
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Segoe UI"
.comm _section_control_ids,8,3 ; @section_control_ids
.comm _WM_SETFONT,4,2 ; @WM_SETFONT
.comm _TRUE,4,2 ; @TRUE
.comm _SWP_NOZORDER,4,2 ; @SWP_NOZORDER
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function ttm_alloc_new_pages
_ttm_alloc_new_pages: ## @ttm_alloc_new_pages
.cfi_startproc
## %bb.0:
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 %r8d, %eax
movl %ecx, %ebx
movl %edx, %r14d
movl %r8d, -76(%rbp) ## 4-byte Spill
movl %r9d, -64(%rbp) ## 4-byte Spill
movl %r9d, %ecx
shll %cl, %eax
movl %esi, -80(%rbp) ## 4-byte Spill
movq %rdi, -72(%rbp) ## 8-byte Spill
movq _NUM_PAGES_TO_ALLOC@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movl %eax, %edi
callq _min
movl %eax, %r12d
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl %r12d, %edi
movl $8, %esi
callq _kmalloc_array
testq %rax, %rax
je LBB0_11
## %bb.1:
movl %r14d, -60(%rbp) ## 4-byte Spill
movl %ebx, -44(%rbp) ## 4-byte Spill
xorl %r13d, %r13d
xorl %ebx, %ebx
movq %rax, -56(%rbp) ## 8-byte Spill
jmp LBB0_3
.p2align 4, 0x90
LBB0_2: ## in Loop: Header=BB0_3 Depth=1
movl -84(%rbp), %ebx ## 4-byte Reload
decl %ebx
cmpl -76(%rbp), %ebx ## 4-byte Folded Reload
ja LBB0_17
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_6 Depth 2
movl -80(%rbp), %edi ## 4-byte Reload
movl -64(%rbp), %esi ## 4-byte Reload
callq _alloc_pages
testq %rax, %rax
je LBB0_13
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq %rax, %r15
movl %ebx, -84(%rbp) ## 4-byte Spill
movq %rax, %rdi
movq -72(%rbp), %rsi ## 8-byte Reload
callq _list_add
movl $1, %ebx
movq -56(%rbp), %rdi ## 8-byte Reload
jmp LBB0_6
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_6 Depth=2
movl %ebx, %eax
movl -64(%rbp), %ecx ## 4-byte Reload
## kill: def $cl killed $cl killed $ecx
shrl %cl, %eax
addq $4, %r15
incl %ebx
testl %eax, %eax
jne LBB0_2
LBB0_6: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movl %r13d, %eax
incl %r13d
movq %r15, (%rdi,%rax,8)
cmpl %r12d, %r13d
jne LBB0_5
## %bb.7: ## in Loop: Header=BB0_6 Depth=2
movl -44(%rbp), %esi ## 4-byte Reload
movl %r12d, %edx
callq _ttm_set_pages_caching
movq -56(%rbp), %rdi ## 8-byte Reload
xorl %r13d, %r13d
testl %eax, %eax
je LBB0_5
## %bb.8:
movl %eax, %r14d
movq %rdi, %rcx
movq -72(%rbp), %rdi ## 8-byte Reload
movl -60(%rbp), %esi ## 4-byte Reload
movl -44(%rbp), %edx ## 4-byte Reload
movl %r12d, %r8d
callq _ttm_handle_caching_state_failure
LBB0_9:
movq -56(%rbp), %rdi ## 8-byte Reload
LBB0_10:
callq _kfree
jmp LBB0_12
LBB0_11:
leaq L_.str(%rip), %rdi
xorl %r14d, %r14d
xorl %eax, %eax
callq _pr_debug
movq _ENOMEM@GOTPCREL(%rip), %rax
subl (%rax), %r14d
LBB0_12:
movl %r14d, %eax
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_13:
leaq L_.str.1(%rip), %rdi
xorl %r14d, %r14d
movl %ebx, %esi
xorl %eax, %eax
callq _pr_debug
testl %r13d, %r13d
movl -44(%rbp), %ebx ## 4-byte Reload
je LBB0_16
## %bb.14:
movq -56(%rbp), %rdi ## 8-byte Reload
movl %ebx, %esi
movl %r13d, %edx
callq _ttm_set_pages_caching
testl %eax, %eax
je LBB0_16
## %bb.15:
movq -72(%rbp), %rdi ## 8-byte Reload
movl -60(%rbp), %esi ## 4-byte Reload
movl %ebx, %edx
movq -56(%rbp), %rcx ## 8-byte Reload
movl %r13d, %r8d
callq _ttm_handle_caching_state_failure
LBB0_16:
movq _ENOMEM@GOTPCREL(%rip), %rax
subl (%rax), %r14d
jmp LBB0_9
LBB0_17:
xorl %r14d, %r14d
testl %r13d, %r13d
je LBB0_10
## %bb.18:
movl -44(%rbp), %ebx ## 4-byte Reload
movl %ebx, %esi
movl %r13d, %edx
callq _ttm_set_pages_caching
movq -56(%rbp), %rdi ## 8-byte Reload
testl %eax, %eax
je LBB0_10
## %bb.19:
movl %eax, %r15d
movq %rdi, %rcx
movq -72(%rbp), %rdi ## 8-byte Reload
movl -60(%rbp), %esi ## 4-byte Reload
movl %ebx, %edx
movl %r13d, %r8d
callq _ttm_handle_caching_state_failure
movq -56(%rbp), %rdi ## 8-byte Reload
movl %r15d, %r14d
jmp LBB0_10
.cfi_endproc
## -- End function
.comm _NUM_PAGES_TO_ALLOC,8,3 ## @NUM_PAGES_TO_ALLOC
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Unable to allocate table for new pages\n"
.comm _ENOMEM,4,2 ## @ENOMEM
L_.str.1: ## @.str.1
.asciz "Unable to get page %u\n"
.no_dead_strip _ttm_alloc_new_pages
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function ttm_alloc_new_pages
_ttm_alloc_new_pages: ; @ttm_alloc_new_pages
.cfi_startproc
; %bb.0:
sub sp, sp, #128
stp x28, x27, [sp, #32] ; 16-byte Folded Spill
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x24, x5
mov x25, x4
mov x20, x3
mov x21, x2
str w1, [sp, #20] ; 4-byte Folded Spill
str x0, [sp, #24] ; 8-byte Folded Spill
lsl w0, w4, w5
Lloh0:
adrp x8, _NUM_PAGES_TO_ALLOC@GOTPAGE
Lloh1:
ldr x8, [x8, _NUM_PAGES_TO_ALLOC@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _min
mov x27, x0
Lloh3:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh4:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
ldr w2, [x8]
mov w1, #8 ; =0x8
bl _kmalloc_array
cbz x0, LBB0_12
; %bb.1:
mov x19, x0
str w21, [sp, #16] ; 4-byte Folded Spill
mov w23, #0 ; =0x0
mov w22, #0 ; =0x0
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
sub w22, w22, #1
cmp w22, w25
b.hi LBB0_18
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_6 Depth 2
ldr w0, [sp, #20] ; 4-byte Folded Reload
mov x1, x24
bl _alloc_pages
cbz x0, LBB0_14
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov x28, x0
ldr x1, [sp, #24] ; 8-byte Folded Reload
bl _list_add
mov w26, #1 ; =0x1
b LBB0_6
LBB0_5: ; in Loop: Header=BB0_6 Depth=2
add x28, x28, #4
lsr w8, w26, w24
add w26, w26, #1
cbnz w8, LBB0_2
LBB0_6: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
str x28, [x19, w23, uxtw #3]
add w8, w23, #1
mov x23, x8
cmp w8, w27
b.ne LBB0_5
; %bb.7: ; in Loop: Header=BB0_6 Depth=2
mov x0, x19
mov x1, x20
mov x2, x27
bl _ttm_set_pages_caching
cbnz w0, LBB0_9
; %bb.8: ; in Loop: Header=BB0_6 Depth=2
mov w23, #0 ; =0x0
b LBB0_5
LBB0_9:
mov x21, x0
ldr x0, [sp, #24] ; 8-byte Folded Reload
ldr w1, [sp, #16] ; 4-byte Folded Reload
mov x2, x20
mov x3, x19
mov x4, x27
LBB0_10:
bl _ttm_handle_caching_state_failure
LBB0_11:
mov x0, x19
bl _kfree
b LBB0_13
LBB0_12:
Lloh6:
adrp x0, l_.str@PAGE
Lloh7:
add x0, x0, l_.str@PAGEOFF
bl _pr_debug
Lloh8:
adrp x8, _ENOMEM@GOTPAGE
Lloh9:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
ldr w8, [x8]
neg w21, w8
LBB0_13:
mov x0, x21
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
ldp x28, x27, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #128
ret
LBB0_14:
str x22, [sp]
Lloh11:
adrp x0, l_.str.1@PAGE
Lloh12:
add x0, x0, l_.str.1@PAGEOFF
bl _pr_debug
cbz w23, LBB0_17
; %bb.15:
mov x0, x19
mov x1, x20
mov x2, x23
bl _ttm_set_pages_caching
cbz w0, LBB0_17
; %bb.16:
ldr x0, [sp, #24] ; 8-byte Folded Reload
ldr w1, [sp, #16] ; 4-byte Folded Reload
mov x2, x20
mov x3, x19
mov x4, x23
bl _ttm_handle_caching_state_failure
LBB0_17:
Lloh13:
adrp x8, _ENOMEM@GOTPAGE
Lloh14:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh15:
ldr w8, [x8]
neg w21, w8
b LBB0_11
LBB0_18:
cbz w23, LBB0_21
; %bb.19:
mov x0, x19
mov x1, x20
mov x2, x23
bl _ttm_set_pages_caching
mov x21, x0
cbz w0, LBB0_11
; %bb.20:
ldr x0, [sp, #24] ; 8-byte Folded Reload
ldr w1, [sp, #16] ; 4-byte Folded Reload
mov x2, x20
mov x3, x19
mov x4, x23
b LBB0_10
LBB0_21:
mov w21, #0 ; =0x0
b LBB0_11
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.cfi_endproc
; -- End function
.comm _NUM_PAGES_TO_ALLOC,8,3 ; @NUM_PAGES_TO_ALLOC
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Unable to allocate table for new pages\n"
.comm _ENOMEM,4,2 ; @ENOMEM
l_.str.1: ; @.str.1
.asciz "Unable to get page %u\n"
.no_dead_strip _ttm_alloc_new_pages
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function delete_group
_delete_group: ## @delete_group
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl (%rdi), %ebx
xorl %r15d, %r15d
xorl %eax, %eax
callq _clear_tmp_word_data
movq _q_grp_id@GOTPCREL(%rip), %r14
movl (%r14), %edi
movl %ebx, %esi
callq _field_value_hash
movl %eax, %edi
callq _get_word_count_nomult
testq %rax, %rax
je LBB0_7
## %bb.1:
xorl %edi, %edi
callq _dyn_mark
movl (%r14), %edi
movl %ebx, %esi
callq _field_value_hash
movl %eax, %edi
callq _build_word_iterator
movq %rax, %r14
movq (%rax), %rax
movq _INFTY@GOTPCREL(%rip), %r12
cmpq (%r12), %rax
jge LBB0_4
## %bb.2:
xorl %r15d, %r15d
movq _R@GOTPCREL(%rip), %r13
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq (%r13), %rcx
movq %rax, (%rcx,%r15,8)
incq %r15
movq (%r14), %rsi
incq %rsi
movl %r14d, %edi
callq *8(%r14)
movq (%r14), %rax
cmpq (%r12), %rax
jl LBB0_3
LBB0_4:
xorl %edi, %edi
callq _dyn_release
movq _MAX_USERS@GOTPCREL(%rip), %rax
xorl %edi, %edi
cmpl (%rax), %r15d
setbe %dil
callq _assert
testl %r15d, %r15d
je LBB0_7
## %bb.5:
movl %r15d, %r14d
xorl %r15d, %r15d
movq _R@GOTPCREL(%rip), %r12
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
movq (%r12), %rax
movq (%rax,%r15,8), %rdi
movl %ebx, %esi
callq _delete_single_user_group_fast
incq %r15
cmpq %r15, %r14
jne LBB0_6
LBB0_7:
movl $1, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _q_grp_id,4,2 ## @q_grp_id
.comm _INFTY,8,3 ## @INFTY
.comm _R,8,3 ## @R
.comm _MAX_USERS,4,2 ## @MAX_USERS
.no_dead_strip _delete_group
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function delete_group
_delete_group: ; @delete_group
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
ldr w19, [x0]
bl _clear_tmp_word_data
Lloh0:
adrp x20, _q_grp_id@GOTPAGE
Lloh1:
ldr x20, [x20, _q_grp_id@GOTPAGEOFF]
ldr w0, [x20]
mov x1, x19
bl _field_value_hash
bl _get_word_count_nomult
cbz x0, LBB0_7
; %bb.1:
mov w0, #0 ; =0x0
bl _dyn_mark
ldr w0, [x20]
mov x1, x19
bl _field_value_hash
bl _build_word_iterator
mov w22, #0 ; =0x0
ldr x8, [x0]
Lloh2:
adrp x23, _INFTY@GOTPAGE
Lloh3:
ldr x23, [x23, _INFTY@GOTPAGEOFF]
ldr x9, [x23]
Lloh4:
adrp x21, _R@GOTPAGE
Lloh5:
ldr x21, [x21, _R@GOTPAGEOFF]
cmp x8, x9
b.ge LBB0_4
; %bb.2:
mov x20, x0
mov x22, #0 ; =0x0
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x9, [x21]
str x8, [x9, x22, lsl #3]
add x22, x22, #1
ldp x9, x8, [x20]
add x1, x9, #1
mov x0, x20
blr x8
ldr x8, [x20]
ldr x9, [x23]
cmp x8, x9
b.lt LBB0_3
LBB0_4:
mov w0, #0 ; =0x0
bl _dyn_release
Lloh6:
adrp x8, _MAX_USERS@GOTPAGE
Lloh7:
ldr x8, [x8, _MAX_USERS@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
cmp w22, w8
cset w0, ls
bl _assert
cbz w22, LBB0_7
; %bb.5:
mov x20, #0 ; =0x0
; kill: def $w22 killed $w22 killed $x22 def $x22
ubfiz x22, x22, #3, #32
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldr x8, [x21]
ldr x0, [x8, x20]
mov x1, x19
bl _delete_single_user_group_fast
add x20, x20, #8
cmp x22, x20
b.ne LBB0_6
LBB0_7:
mov w0, #1 ; =0x1
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _q_grp_id,4,2 ; @q_grp_id
.comm _INFTY,8,3 ; @INFTY
.comm _R,8,3 ; @R
.comm _MAX_USERS,4,2 ; @MAX_USERS
.no_dead_strip _delete_group
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function amd64_push_arguments
_amd64_push_arguments: ## @amd64_push_arguments
.cfi_startproc
## %bb.0:
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
movl %r8d, %ebx
movl %ecx, %r14d
movq %rdx, -104(%rbp) ## 8-byte Spill
movl %esi, %r15d
movq %rdi, -136(%rbp) ## 8-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
leal (,%r15,8), %edi
callq _alloca
testl %r15d, %r15d
js LBB0_1
## %bb.2:
movq %rax, -128(%rbp) ## 8-byte Spill
movq %r14, -96(%rbp) ## 8-byte Spill
xorl %eax, %eax
testl %ebx, %ebx
setne %al
movq %rax, -120(%rbp) ## 8-byte Spill
incl %r15d
movq %r15, -144(%rbp) ## 8-byte Spill
xorl %r15d, %r15d
movl $0, -72(%rbp) ## 4-byte Folded Spill
movl $0, -68(%rbp) ## 4-byte Folded Spill
movq $0, -80(%rbp) ## 8-byte Folded Spill
jmp LBB0_3
.p2align 4, 0x90
LBB0_14: ## in Loop: Header=BB0_3 Depth=1
leal 7(%r13), %eax
addl $14, %r13d
testl %eax, %eax
cmovnsl %eax, %r13d
sarl $3, %r13d
addl -68(%rbp), %r13d ## 4-byte Folded Reload
movq -104(%rbp), %rax ## 8-byte Reload
movq -112(%rbp), %r15 ## 8-byte Reload
movq (%rax,%r15,8), %rax
movl -72(%rbp), %edx ## 4-byte Reload
movslq %edx, %rcx
incl %edx
movl %edx, -72(%rbp) ## 4-byte Spill
movq -128(%rbp), %rdx ## 8-byte Reload
movq %rax, (%rdx,%rcx,8)
movl %r13d, -68(%rbp) ## 4-byte Spill
LBB0_27: ## in Loop: Header=BB0_3 Depth=1
incq %r15
cmpq -144(%rbp), %r15 ## 8-byte Folded Reload
je LBB0_28
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_17 Depth 2
movq -104(%rbp), %rax ## 8-byte Reload
movq (%rax,%r15,8), %rdi
callq _VALUE_TYPE
movq %rax, %rbx
movq %rax, %rdi
callq _TYPE_LENGTH
movl %eax, %r13d
movq %rbx, %rdi
leaq -56(%rbp), %rsi
callq _amd64_classify
movl -56(%rbp), %eax
cmpl $131, %eax
je LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movl $0, %ebx
movl $0, %r14d
cmpl $136, %eax
jne LBB0_7
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movl $1, %ebx
xorl %r14d, %r14d
jmp LBB0_7
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_3 Depth=1
movl $1, %r14d
xorl %ebx, %ebx
LBB0_7: ## in Loop: Header=BB0_3 Depth=1
movl -52(%rbp), %eax
cmpl $136, %eax
movq %r15, -112(%rbp) ## 8-byte Spill
je LBB0_10
## %bb.8: ## in Loop: Header=BB0_3 Depth=1
cmpl $131, %eax
jne LBB0_11
## %bb.9: ## in Loop: Header=BB0_3 Depth=1
incl %r14d
jmp LBB0_11
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_3 Depth=1
incl %ebx
LBB0_11: ## in Loop: Header=BB0_3 Depth=1
movq -120(%rbp), %rax ## 8-byte Reload
leal (%rbx,%rax), %r15d
leaq _amd64_push_arguments.integer_regnum(%rip), %rdi
callq _ARRAY_SIZE
cmpl %eax, %r15d
jle LBB0_13
## %bb.12: ## in Loop: Header=BB0_3 Depth=1
movq -80(%rbp), %rax ## 8-byte Reload
leal (%r14,%rax), %r15d
leaq _amd64_push_arguments.sse_regnum(%rip), %rdi
callq _ARRAY_SIZE
cmpl %eax, %r15d
jg LBB0_14
LBB0_13: ## in Loop: Header=BB0_3 Depth=1
orl %r14d, %ebx
je LBB0_14
## %bb.15: ## in Loop: Header=BB0_3 Depth=1
movq -104(%rbp), %rax ## 8-byte Reload
movq -112(%rbp), %rcx ## 8-byte Reload
movq (%rax,%rcx,8), %rdi
callq _VALUE_CONTENTS
movq %rax, %rbx
xorl %edi, %edi
cmpl $17, %r13d
setl %dil
callq _gdb_assert
testl %r13d, %r13d
jle LBB0_26
## %bb.16: ## in Loop: Header=BB0_3 Depth=1
leaq -56(%rbp), %r15
jmp LBB0_17
.p2align 4, 0x90
LBB0_21: ## in Loop: Header=BB0_17 Depth=2
movq -80(%rbp), %rcx ## 8-byte Reload
movslq %ecx, %rax
incl %ecx
movq %rcx, -80(%rbp) ## 8-byte Spill
leaq _amd64_push_arguments.sse_regnum(%rip), %rcx
movl (%rcx,%rax,4), %r12d
movl $0, -88(%rbp) ## 4-byte Folded Spill
LBB0_24: ## in Loop: Header=BB0_17 Depth=2
xorl %edi, %edi
cmpl $-1, %r12d
setne %dil
callq _gdb_assert
leaq -64(%rbp), %r14
movq %r14, %rdi
xorl %esi, %esi
movl $8, %edx
callq _memset
movl %r13d, %edi
movl $8, %esi
callq _min
movq %r14, %rdi
movq %rbx, %rsi
movl %eax, %edx
callq _memcpy
movq -136(%rbp), %rdi ## 8-byte Reload
movl %r12d, %esi
movl -88(%rbp), %edx ## 4-byte Reload
movl $8, %ecx
movq %r14, %r8
callq _regcache_raw_write_part
LBB0_25: ## in Loop: Header=BB0_17 Depth=2
leal -8(%r13), %eax
addq $4, %r15
addq $8, %rbx
cmpl $8, %r13d
movl %eax, %r13d
jle LBB0_26
LBB0_17: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movl (%r15), %eax
cmpl $130, %eax
je LBB0_22
## %bb.18: ## in Loop: Header=BB0_17 Depth=2
cmpl $131, %eax
je LBB0_21
## %bb.19: ## in Loop: Header=BB0_17 Depth=2
cmpl $136, %eax
jne LBB0_23
## %bb.20: ## in Loop: Header=BB0_17 Depth=2
movq -120(%rbp), %rax ## 8-byte Reload
incl %eax
movq %rax, -120(%rbp) ## 8-byte Spill
jmp LBB0_25
.p2align 4, 0x90
LBB0_22: ## in Loop: Header=BB0_17 Depth=2
xorl %edi, %edi
movq -80(%rbp), %r14 ## 8-byte Reload
testl %r14d, %r14d
setg %dil
callq _gdb_assert
movslq %r14d, %rax
leaq _amd64_push_arguments.sse_regnum(%rip), %rcx
movl -4(%rcx,%rax,4), %r12d
movl $8, -88(%rbp) ## 4-byte Folded Spill
jmp LBB0_24
.p2align 4, 0x90
LBB0_23: ## in Loop: Header=BB0_17 Depth=2
movl $0, -88(%rbp) ## 4-byte Folded Spill
xorl %edi, %edi
callq _gdb_assert
movl $-1, %r12d
jmp LBB0_24
.p2align 4, 0x90
LBB0_26: ## in Loop: Header=BB0_3 Depth=1
movq -112(%rbp), %r15 ## 8-byte Reload
jmp LBB0_27
LBB0_28:
movl -68(%rbp), %eax ## 4-byte Reload
shll $3, %eax
movq -96(%rbp), %r14 ## 8-byte Reload
subl %eax, %r14d
andl $-16, %r14d
movl -72(%rbp), %eax ## 4-byte Reload
testl %eax, %eax
jle LBB0_32
## %bb.29:
movl %eax, %eax
movq %rax, -88(%rbp) ## 8-byte Spill
xorl %r12d, %r12d
movq %r14, -96(%rbp) ## 8-byte Spill
xorl %r13d, %r13d
movq -128(%rbp), %r15 ## 8-byte Reload
.p2align 4, 0x90
LBB0_30: ## =>This Inner Loop Header: Depth=1
movq (%r15,%r12,8), %rdi
callq _VALUE_TYPE
movq %rax, %rbx
movq (%r15,%r12,8), %rdi
callq _VALUE_CONTENTS
movq %rax, %r14
movq %rbx, %rdi
callq _TYPE_LENGTH
movl %eax, %ebx
movq -96(%rbp), %rax ## 8-byte Reload
leal (%rax,%r13,8), %edi
movq %r14, %rsi
movl %ebx, %edx
callq _write_memory
leal 7(%rbx), %eax
addl $14, %ebx
testl %eax, %eax
cmovnsl %eax, %ebx
sarl $3, %ebx
addl %r13d, %ebx
incq %r12
movl %ebx, %r13d
cmpq %r12, -88(%rbp) ## 8-byte Folded Reload
jne LBB0_30
## %bb.31:
movq -96(%rbp), %r14 ## 8-byte Reload
LBB0_32:
movq -80(%rbp), %rdx ## 8-byte Reload
jmp LBB0_33
LBB0_1:
andl $-16, %r14d
xorl %edx, %edx
LBB0_33:
movq _AMD64_RAX_REGNUM@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq -136(%rbp), %rdi ## 8-byte Reload
## kill: def $edx killed $edx killed $rdx
callq _regcache_raw_write_unsigned
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_35
## %bb.34:
movl %r14d, %eax
addq $104, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_35:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __DATA,__data
.p2align 4, 0x0 ## @amd64_push_arguments.integer_regnum
_amd64_push_arguments.integer_regnum:
.long 134 ## 0x86
.long 132 ## 0x84
.long 133 ## 0x85
.long 135 ## 0x87
.long 8 ## 0x8
.long 9 ## 0x9
.p2align 4, 0x0 ## @amd64_push_arguments.sse_regnum
_amd64_push_arguments.sse_regnum:
.long 129 ## 0x81
.long 128 ## 0x80
.long 131 ## 0x83
.long 132 ## 0x84
.long 133 ## 0x85
.long 134 ## 0x86
.long 135 ## 0x87
.long 136 ## 0x88
.comm _AMD64_RAX_REGNUM,4,2 ## @AMD64_RAX_REGNUM
.no_dead_strip _amd64_push_arguments
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function amd64_push_arguments
_amd64_push_arguments: ; @amd64_push_arguments
.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 x25, x4
mov x23, x3
str x2, [sp, #32] ; 8-byte Folded Spill
mov x22, x1
mov x19, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #56]
lsl w0, w1, #3
bl _alloca
tbnz w22, #31, LBB0_25
; %bb.1:
mov x21, x0
str w23, [sp, #12] ; 4-byte Folded Spill
mov x24, #0 ; =0x0
mov w20, #0 ; =0x0
cmp w25, #0
cset w23, ne
add w8, w22, #1
stp x8, xzr, [sp, #16] ; 16-byte Folded Spill
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
adds w8, w26, #7
add w9, w26, #14
csel w8, w9, w8, lt
ldr w9, [sp, #24] ; 4-byte Folded Reload
add w10, w9, w8, asr #3
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8, x24, lsl #3]
ldr w9, [sp, #28] ; 4-byte Folded Reload
str x8, [x21, w9, sxtw #3]
add w8, w9, #1
stp w10, w8, [sp, #24] ; 8-byte Folded Spill
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
add x24, x24, #1
ldr x8, [sp, #16] ; 8-byte Folded Reload
cmp x24, x8
b.eq LBB0_22
LBB0_4: ; =>This Loop Header: Depth=1
; Child Loop BB0_16 Depth 2
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x0, [x8, x24, lsl #3]
bl _VALUE_TYPE
mov x22, x0
bl _TYPE_LENGTH
mov x26, x0
add x1, sp, #48
mov x0, x22
bl _amd64_classify
ldp w9, w8, [sp, #48]
cmp w9, #136
mov w12, #1 ; =0x1
csel w10, wzr, w12, ne
mov w11, wzr
cmp w9, #131
csel w22, wzr, w10, eq
csel w25, w12, w11, eq
cmp w8, #136
b.eq LBB0_7
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
cmp w8, #131
b.ne LBB0_8
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
add w25, w25, #1
b LBB0_8
LBB0_7: ; in Loop: Header=BB0_4 Depth=1
add w22, w22, #1
LBB0_8: ; in Loop: Header=BB0_4 Depth=1
add w27, w22, w23
Lloh3:
adrp x0, _amd64_push_arguments.integer_regnum@PAGE
Lloh4:
add x0, x0, _amd64_push_arguments.integer_regnum@PAGEOFF
bl _ARRAY_SIZE
cmp w27, w0
b.le LBB0_10
; %bb.9: ; in Loop: Header=BB0_4 Depth=1
add w27, w25, w20
Lloh5:
adrp x0, _amd64_push_arguments.sse_regnum@PAGE
Lloh6:
add x0, x0, _amd64_push_arguments.sse_regnum@PAGEOFF
bl _ARRAY_SIZE
cmp w27, w0
b.gt LBB0_2
LBB0_10: ; in Loop: Header=BB0_4 Depth=1
orr w8, w22, w25
cbz w8, LBB0_2
; %bb.11: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x0, [x8, x24, lsl #3]
bl _VALUE_CONTENTS
mov x27, x0
cmp w26, #17
cset w0, lt
bl _gdb_assert
cmp w26, #1
b.lt LBB0_3
; %bb.12: ; in Loop: Header=BB0_4 Depth=1
add x25, sp, #48
b LBB0_16
LBB0_13: ; in Loop: Header=BB0_16 Depth=2
mov w28, #0 ; =0x0
Lloh7:
adrp x8, _amd64_push_arguments.sse_regnum@PAGE
Lloh8:
add x8, x8, _amd64_push_arguments.sse_regnum@PAGEOFF
ldr w22, [x8, w20, sxtw #2]
add w20, w20, #1
LBB0_14: ; in Loop: Header=BB0_16 Depth=2
cmn w22, #1
cset w0, ne
bl _gdb_assert
add x0, sp, #40
mov w1, #0 ; =0x0
mov w2, #8 ; =0x8
bl _memset
mov x0, x26
mov w1, #8 ; =0x8
bl _min
mov x2, x0
add x0, sp, #40
mov x1, x27
bl _memcpy
add x4, sp, #40
mov x0, x19
mov x1, x22
mov x2, x28
mov w3, #8 ; =0x8
bl _regcache_raw_write_part
LBB0_15: ; in Loop: Header=BB0_16 Depth=2
add x27, x27, #8
subs w26, w26, #8
b.le LBB0_3
LBB0_16: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [x25], #4
cmp w8, #130
b.eq LBB0_20
; %bb.17: ; in Loop: Header=BB0_16 Depth=2
cmp w8, #131
b.eq LBB0_13
; %bb.18: ; in Loop: Header=BB0_16 Depth=2
cmp w8, #136
b.ne LBB0_21
; %bb.19: ; in Loop: Header=BB0_16 Depth=2
add w23, w23, #1
b LBB0_15
LBB0_20: ; in Loop: Header=BB0_16 Depth=2
cmp w20, #0
cset w0, gt
bl _gdb_assert
Lloh9:
adrp x8, _amd64_push_arguments.sse_regnum@PAGE
Lloh10:
add x8, x8, _amd64_push_arguments.sse_regnum@PAGEOFF
add x8, x8, w20, sxtw #2
ldur w22, [x8, #-4]
mov w28, #8 ; =0x8
b LBB0_14
LBB0_21: ; in Loop: Header=BB0_16 Depth=2
mov w0, #0 ; =0x0
bl _gdb_assert
mov w28, #0 ; =0x0
mov w22, #-1 ; =0xffffffff
b LBB0_14
LBB0_22:
ldr w8, [sp, #12] ; 4-byte Folded Reload
ldr w9, [sp, #24] ; 4-byte Folded Reload
sub w8, w8, w9, lsl #3
and w22, w8, #0xfffffff0
ldr w8, [sp, #28] ; 4-byte Folded Reload
cmp w8, #1
b.lt LBB0_26
; %bb.23:
mov w25, #0 ; =0x0
mov w26, w8
LBB0_24: ; =>This Inner Loop Header: Depth=1
ldr x0, [x21]
bl _VALUE_TYPE
mov x23, x0
ldr x0, [x21], #8
bl _VALUE_CONTENTS
mov x24, x0
mov x0, x23
bl _TYPE_LENGTH
mov x23, x0
add w0, w22, w25, lsl #3
mov x1, x24
mov x2, x23
bl _write_memory
adds w8, w23, #7
add w9, w23, #14
csel w8, w9, w8, lt
add w25, w25, w8, asr #3
subs x26, x26, #1
b.ne LBB0_24
b LBB0_26
LBB0_25:
mov w20, #0 ; =0x0
and w22, w23, #0xfffffff0
LBB0_26:
Lloh11:
adrp x8, _AMD64_RAX_REGNUM@GOTPAGE
Lloh12:
ldr x8, [x8, _AMD64_RAX_REGNUM@GOTPAGEOFF]
Lloh13:
ldr w1, [x8]
mov x0, x19
mov x2, x20
bl _regcache_raw_write_unsigned
ldr x8, [sp, #56]
Lloh14:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh15:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_28
; %bb.27:
mov x0, x22
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_28:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.cfi_endproc
; -- End function
.section __DATA,__data
.p2align 2, 0x0 ; @amd64_push_arguments.integer_regnum
_amd64_push_arguments.integer_regnum:
.long 134 ; 0x86
.long 132 ; 0x84
.long 133 ; 0x85
.long 135 ; 0x87
.long 8 ; 0x8
.long 9 ; 0x9
.p2align 2, 0x0 ; @amd64_push_arguments.sse_regnum
_amd64_push_arguments.sse_regnum:
.long 129 ; 0x81
.long 128 ; 0x80
.long 131 ; 0x83
.long 132 ; 0x84
.long 133 ; 0x85
.long 134 ; 0x86
.long 135 ; 0x87
.long 136 ; 0x88
.comm _AMD64_RAX_REGNUM,4,2 ; @AMD64_RAX_REGNUM
.no_dead_strip _amd64_push_arguments
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _pmc_save_kernel_callchain ## -- Begin function pmc_save_kernel_callchain
.p2align 4, 0x90
_pmc_save_kernel_callchain: ## @pmc_save_kernel_callchain
.cfi_startproc
## %bb.0:
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
movl %esi, %r14d
movq %rdi, %rbx
movq %rdx, %rdi
callq _PMC_TRAPFRAME_TO_PC
movq %rax, (%rbx)
movq %r15, %rdi
callq _PMC_TRAPFRAME_TO_FP
movq %rax, %rcx
movl $1, %eax
cmpl $2, %r14d
jl LBB0_8
## %bb.1:
movq _PAGE_SIZE@GOTPCREL(%rip), %rdx
cmpq %rcx, (%rdx)
jae LBB0_8
## %bb.2:
movl %r14d, %edx
movl $1, %eax
movq _OFFSET@GOTPCREL(%rip), %rsi
movq _trapexit@GOTPCREL(%rip), %rdi
movq _asttrapexit@GOTPCREL(%rip), %r8
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq 8(%rcx), %r9
cmpq $256, %r9 ## imm = 0x100
jb LBB0_8
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq (%rsi), %r10
movq %r9, %r11
subq %r10, %r11
cmpq %rdi, %r11
je LBB0_8
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
addq %r9, %r10
cmpq %r8, %r10
je LBB0_8
## %bb.6: ## in Loop: Header=BB0_3 Depth=1
movq %r9, (%rbx,%rax,8)
incq %rax
cmpq %rdx, %rax
jae LBB0_8
## %bb.7: ## in Loop: Header=BB0_3 Depth=1
movq (%rcx), %r9
cmpq %r9, %rcx
movq %r9, %rcx
jb LBB0_3
LBB0_8:
## kill: def $eax killed $eax killed $rax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PAGE_SIZE,8,3 ## @PAGE_SIZE
.comm _OFFSET,8,3 ## @OFFSET
.comm _trapexit,4,2 ## @trapexit
.comm _asttrapexit,4,2 ## @asttrapexit
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _pmc_save_kernel_callchain ; -- Begin function pmc_save_kernel_callchain
.p2align 2
_pmc_save_kernel_callchain: ; @pmc_save_kernel_callchain
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x21, x2
mov x20, x1
mov x19, x0
mov x0, x2
bl _PMC_TRAPFRAME_TO_PC
str x0, [x19]
mov x0, x21
bl _PMC_TRAPFRAME_TO_FP
mov x8, x0
mov w0, #1 ; =0x1
cmp w20, #2
b.lt LBB0_7
; %bb.1:
Lloh0:
adrp x9, _PAGE_SIZE@GOTPAGE
Lloh1:
ldr x9, [x9, _PAGE_SIZE@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x9, x8
b.hs LBB0_7
; %bb.2:
Lloh3:
adrp x9, _OFFSET@GOTPAGE
Lloh4:
ldr x9, [x9, _OFFSET@GOTPAGEOFF]
mov w0, #1 ; =0x1
Lloh5:
adrp x10, _trapexit@GOTPAGE
Lloh6:
ldr x10, [x10, _trapexit@GOTPAGEOFF]
Lloh7:
adrp x11, _asttrapexit@GOTPAGE
Lloh8:
ldr x11, [x11, _asttrapexit@GOTPAGEOFF]
mov w12, w20
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x13, [x8, #8]
cmp x13, #256
b.lo LBB0_7
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
ldr x14, [x9]
add x15, x14, x13
sub x14, x13, x14
cmp x14, x10
ccmp x15, x11, #4, ne
b.eq LBB0_7
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
str x13, [x19, x0, lsl #3]
add x0, x0, #1
cmp x0, x12
b.hs LBB0_7
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
ldr x13, [x8]
cmp x8, x13
mov x8, x13
b.lo LBB0_3
LBB0_7:
; kill: def $w0 killed $w0 killed $x0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _PAGE_SIZE,8,3 ; @PAGE_SIZE
.comm _OFFSET,8,3 ; @OFFSET
.comm _trapexit,4,2 ; @trapexit
.comm _asttrapexit,4,2 ; @asttrapexit
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _G_SelectRandomBotInfo ## -- Begin function G_SelectRandomBotInfo
.p2align 4, 0x90
_G_SelectRandomBotInfo: ## @G_SelectRandomBotInfo
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edi, %ebx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _MAX_BOTS@GOTPCREL(%rip), %rax
movl (%rax), %eax
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, -56(%rbp) ## 8-byte Spill
cmpl $-1, %ebx
je LBB0_1
## %bb.2:
movl $-1, %r14d
xorl %edi, %edi
movl $-1, %esi
callq _G_CountBotPlayersByName
movq _g_numBots@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
cmpl %ecx, %eax
cmovll %r14d, %ebx
jmp LBB0_3
LBB0_1:
movq _g_numBots@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl $-1, %ebx
LBB0_3:
movl $-1, %eax
testl %ecx, %ecx
js LBB0_12
## %bb.4:
movq _MAX_CLIENTS@GOTPCREL(%rip), %rax
movl (%rax), %r12d
movq _g_botInfos@GOTPCREL(%rip), %r13
xorl %r15d, %r15d
xorl %r14d, %r14d
jmp LBB0_5
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_5 Depth=1
leaq 1(%r15), %rax
movq _g_numBots@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
cmpq %rcx, %r15
movq %rax, %r15
jge LBB0_10
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq (%r13), %rax
movl (%rax,%r15,4), %edi
leaq L_.str(%rip), %rsi
callq _Info_ValueForKey
cmpb $0, (%rax)
jne LBB0_7
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movq (%r13), %rax
movl (%rax,%r15,4), %edi
leaq L_.str.1(%rip), %rsi
callq _Info_ValueForKey
LBB0_7: ## in Loop: Header=BB0_5 Depth=1
movq %rax, %rdi
movl %ebx, %esi
callq _G_CountBotPlayersByName
cmpl %r12d, %eax
movl $0, %ecx
cmovll %ecx, %r14d
cmovll %eax, %r12d
jg LBB0_9
## %bb.8: ## in Loop: Header=BB0_5 Depth=1
movslq %r14d, %rax
incl %r14d
movq -56(%rbp), %rcx ## 8-byte Reload
movl %r15d, (%rcx,%rax,4)
jmp LBB0_9
LBB0_10:
testl %r14d, %r14d
movl $-1, %eax
jle LBB0_12
## %bb.11:
xorl %eax, %eax
callq _random
decl %r14d
imull %eax, %r14d
movslq %r14d, %rax
movq -56(%rbp), %rcx ## 8-byte Reload
movl (%rcx,%rax,4), %eax
LBB0_12:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_14
## %bb.13:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_14:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _MAX_BOTS,4,2 ## @MAX_BOTS
.comm _g_numBots,4,2 ## @g_numBots
.comm _MAX_CLIENTS,4,2 ## @MAX_CLIENTS
.comm _g_botInfos,8,3 ## @g_botInfos
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "funname"
L_.str.1: ## @.str.1
.asciz "name"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _G_SelectRandomBotInfo ; -- Begin function G_SelectRandomBotInfo
.p2align 2
_G_SelectRandomBotInfo: ; @G_SelectRandomBotInfo
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
sub sp, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-88]
Lloh3:
adrp x8, _MAX_BOTS@GOTPAGE
Lloh4:
ldr x8, [x8, _MAX_BOTS@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
lsl x8, x8, #2
mov x9, x8
Lloh6:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh7:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x7fffffff0
sub x22, x9, x8
mov sp, x22
Lloh8:
adrp x23, _g_numBots@GOTPAGE
Lloh9:
ldr x23, [x23, _g_numBots@GOTPAGEOFF]
cmn w0, #1
b.eq LBB0_2
; %bb.1:
mov x0, #0 ; =0x0
mov w1, #-1 ; =0xffffffff
bl _G_CountBotPlayersByName
ldr w8, [x23]
cmp w0, w8
csinv w19, w19, wzr, ge
tbz w8, #31, LBB0_3
b LBB0_11
LBB0_2:
ldr w8, [x23]
tbnz w8, #31, LBB0_11
LBB0_3:
mov x25, #0 ; =0x0
mov w24, #0 ; =0x0
Lloh10:
adrp x8, _MAX_CLIENTS@GOTPAGE
Lloh11:
ldr x8, [x8, _MAX_CLIENTS@GOTPAGEOFF]
Lloh12:
ldr w26, [x8]
Lloh13:
adrp x27, _g_botInfos@GOTPAGE
Lloh14:
ldr x27, [x27, _g_botInfos@GOTPAGEOFF]
Lloh15:
adrp x20, l_.str@PAGE
Lloh16:
add x20, x20, l_.str@PAGEOFF
Lloh17:
adrp x21, l_.str.1@PAGE
Lloh18:
add x21, x21, l_.str.1@PAGEOFF
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
add x8, x25, #1
ldrsw x9, [x23]
cmp x25, x9
mov x25, x8
b.ge LBB0_9
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr x8, [x27]
ldr w0, [x8, x25, lsl #2]
mov x1, x20
bl _Info_ValueForKey
ldrb w8, [x0]
cbnz w8, LBB0_7
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [x27]
ldr w0, [x8, x25, lsl #2]
mov x1, x21
bl _Info_ValueForKey
LBB0_7: ; in Loop: Header=BB0_5 Depth=1
mov x1, x19
bl _G_CountBotPlayersByName
cmp w0, w26
csel w24, wzr, w24, lt
csel w26, w0, w26, lt
b.gt LBB0_4
; %bb.8: ; in Loop: Header=BB0_5 Depth=1
str w25, [x22, w24, sxtw #2]
add w24, w24, #1
b LBB0_4
LBB0_9:
subs w19, w24, #1
b.lt LBB0_11
; %bb.10:
bl _random
mul w8, w0, w19
ldr w0, [x22, w8, sxtw #2]
b LBB0_12
LBB0_11:
mov w0, #-1 ; =0xffffffff
LBB0_12:
ldur x8, [x29, #-88]
Lloh19:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh20:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_14
; %bb.13:
sub sp, x29, #80
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
LBB0_14:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _MAX_BOTS,4,2 ; @MAX_BOTS
.comm _g_numBots,4,2 ; @g_numBots
.comm _MAX_CLIENTS,4,2 ; @MAX_CLIENTS
.comm _g_botInfos,8,3 ; @g_botInfos
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "funname"
l_.str.1: ; @.str.1
.asciz "name"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _b64_ntop ## -- Begin function b64_ntop
.p2align 4, 0x90
_b64_ntop: ## @b64_ntop
.cfi_startproc
## %bb.0:
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
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
cmpq $2, %rsi
jb LBB0_1
## %bb.2:
xorl %r9d, %r9d
movq _Base64@GOTPCREL(%rip), %rax
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
leaq 4(%r9), %r8
cmpq %rcx, %r8
ja LBB0_4
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movl -4(%rdi,%r9), %r11d
movl (%rdi,%r9), %ebx
movl %ebx, %r10d
andl $63, %r10d
movl %r11d, %r14d
andl $15, %r14d
movl %ebx, %r15d
sarl $6, %r15d
leal (%r15,%r14,4), %r14d
movl %ebx, %r15d
shll $4, %r15d
andl $48, %r15d
sarl $4, %r11d
subl %r11d, %r15d
sarl $2, %ebx
addq $-3, %rsi
movq (%rax), %r11
movslq %ebx, %rbx
movzbl (%r11,%rbx), %r11d
movb %r11b, (%rdx,%r9)
movq (%rax), %r11
movslq %r15d, %rbx
movzbl (%r11,%rbx), %r11d
movb %r11b, 1(%rdx,%r9)
movq (%rax), %r11
movslq %r14d, %rbx
movzbl (%r11,%rbx), %r11d
movb %r11b, 2(%rdx,%r9)
movq (%rax), %r11
movzbl (%r11,%r10), %r10d
movb %r10b, 3(%rdx,%r9)
movq %r8, %r9
cmpq $1, %rsi
ja LBB0_3
## %bb.6:
addq %r8, %rdi
testq %rsi, %rsi
jne LBB0_9
LBB0_8:
movq %r8, %rsi
jmp LBB0_11
LBB0_1:
xorl %r8d, %r8d
testq %rsi, %rsi
je LBB0_8
LBB0_9:
leaq 4(%r8), %rsi
movl $-1, %eax
cmpq %rcx, %rsi
ja LBB0_13
## %bb.10:
movl (%rdi), %eax
movl %eax, %edi
shll $4, %edi
andl $48, %edi
sarl $2, %eax
movq _Base64@GOTPCREL(%rip), %r9
movq (%r9), %r10
cltq
movzbl (%r10,%rax), %eax
movb %al, (%rdx,%r8)
movq (%r9), %rax
movzbl (%rax,%rdi), %eax
movb %al, 1(%rdx,%r8)
movq _Pad64@GOTPCREL(%rip), %rax
movzbl (%rax), %eax
movb %al, 2(%rdx,%r8)
movb %al, 3(%rdx,%r8)
LBB0_11:
movl $-1, %eax
cmpq %rcx, %rsi
jae LBB0_13
## %bb.12:
movb $0, (%rdx,%rsi)
movl %esi, %eax
jmp LBB0_13
LBB0_4:
movl $-1, %eax
LBB0_13:
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _Base64,8,3 ## @Base64
.comm _Pad64,1,0 ## @Pad64
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _b64_ntop ; -- Begin function b64_ntop
.p2align 2
_b64_ntop: ; @b64_ntop
.cfi_startproc
; %bb.0:
mov x8, x0
cmp x1, #2
b.lo LBB0_6
; %bb.1:
mov x11, #0 ; =0x0
add x9, x2, #3
Lloh0:
adrp x10, _Base64@GOTPAGE
Lloh1:
ldr x10, [x10, _Base64@GOTPAGEOFF]
LBB0_2: ; =>This Inner Loop Header: Depth=1
add x0, x11, #4
cmp x0, x3
b.hi LBB0_10
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
add x12, x8, x11
ldp w13, w12, [x12, #-4]
and x14, x12, #0x3f
asr w15, w12, #2
ldr x16, [x10]
ldrb w15, [x16, w15, sxtw]
ubfiz w16, w13, #2, #4
add w16, w16, w12, asr #6
ubfiz w12, w12, #4, #2
sub w12, w12, w13, asr #4
add x11, x9, x11
sturb w15, [x11, #-3]
ldr x13, [x10]
ldrb w12, [x13, w12, sxtw]
sub x1, x1, #3
sturb w12, [x11, #-2]
ldr x12, [x10]
ldrb w12, [x12, w16, sxtw]
sturb w12, [x11, #-1]
ldr x12, [x10]
ldrb w12, [x12, x14]
strb w12, [x11]
mov x11, x0
cmp x1, #1
b.hi LBB0_2
; %bb.4:
add x8, x8, x0
cbnz x1, LBB0_7
LBB0_5:
cmp x0, x3
b.hs LBB0_10
b LBB0_9
LBB0_6:
mov x0, #0 ; =0x0
cbz x1, LBB0_5
LBB0_7:
add x9, x0, #4
cmp x9, x3
b.hi LBB0_10
; %bb.8:
ldr w8, [x8]
ubfiz x10, x8, #4, #2
asr w8, w8, #2
Lloh2:
adrp x11, _Base64@GOTPAGE
Lloh3:
ldr x11, [x11, _Base64@GOTPAGEOFF]
ldr x12, [x11]
ldrb w8, [x12, w8, sxtw]
add x12, x2, x0
strb w8, [x12]
ldr x8, [x11]
ldrb w8, [x8, x10]
strb w8, [x12, #1]
Lloh4:
adrp x8, _Pad64@GOTPAGE
Lloh5:
ldr x8, [x8, _Pad64@GOTPAGEOFF]
ldrb w8, [x8]
strb w8, [x12, #2]
strb w8, [x12, #3]
mov x0, x9
cmp x0, x3
b.hs LBB0_10
LBB0_9:
strb wzr, [x2, x0]
; kill: def $w0 killed $w0 killed $x0
ret
LBB0_10:
mov w0, #-1 ; =0xffffffff
; kill: def $w0 killed $w0 killed $x0
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.cfi_endproc
; -- End function
.comm _Base64,8,3 ; @Base64
.comm _Pad64,1,0 ; @Pad64
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function igc_irq_disable
_igc_irq_disable: ## @igc_irq_disable
.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
cmpq $0, 16(%rdi)
je LBB0_2
## %bb.1:
movq _IGC_EIAM@GOTPCREL(%rip), %r14
movl (%r14), %edi
callq _rd32
movl (%r14), %edi
movl (%rbx), %esi
notl %esi
orl %eax, %esi
callq _wr32
movq _IGC_EIMC@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl (%rbx), %esi
callq _wr32
movq _IGC_EIAC@GOTPCREL(%rip), %r14
movl (%r14), %edi
callq _rd32
movl (%r14), %edi
movl (%rbx), %esi
notl %esi
andl %eax, %esi
callq _wr32
LBB0_2:
movq _IGC_IAM@GOTPCREL(%rip), %rax
movl (%rax), %edi
xorl %esi, %esi
callq _wr32
movq _IGC_IMC@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl $-1, %esi
callq _wr32
xorl %eax, %eax
callq _wrfl
movq 16(%rbx), %rax
testq %rax, %rax
je LBB0_7
## %bb.3:
movl (%rax), %edi
callq _synchronize_irq
cmpl $0, 4(%rbx)
js LBB0_6
## %bb.4:
movq $-1, %r14
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq 16(%rbx), %rax
movl (%rax,%r14,4), %edi
incq %r14
callq _synchronize_irq
cmpl 4(%rbx), %r14d
jl LBB0_5
LBB0_6:
popq %rbx
popq %r14
popq %rbp
retq
LBB0_7:
movq 8(%rbx), %rax
movl (%rax), %edi
popq %rbx
popq %r14
popq %rbp
jmp _synchronize_irq ## TAILCALL
.cfi_endproc
## -- End function
.comm _IGC_EIAM,4,2 ## @IGC_EIAM
.comm _IGC_EIMC,4,2 ## @IGC_EIMC
.comm _IGC_EIAC,4,2 ## @IGC_EIAC
.comm _IGC_IAM,4,2 ## @IGC_IAM
.comm _IGC_IMC,4,2 ## @IGC_IMC
.no_dead_strip _igc_irq_disable
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function igc_irq_disable
_igc_irq_disable: ; @igc_irq_disable
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr x8, [x0, #16]
cbz x8, LBB0_2
; %bb.1:
Lloh0:
adrp x20, _IGC_EIAM@GOTPAGE
Lloh1:
ldr x20, [x20, _IGC_EIAM@GOTPAGEOFF]
ldr w0, [x20]
bl _rd32
ldr w8, [x20]
ldr w9, [x19]
orn w1, w0, w9
mov x0, x8
bl _wr32
Lloh2:
adrp x8, _IGC_EIMC@GOTPAGE
Lloh3:
ldr x8, [x8, _IGC_EIMC@GOTPAGEOFF]
Lloh4:
ldr w0, [x8]
ldr w1, [x19]
bl _wr32
Lloh5:
adrp x20, _IGC_EIAC@GOTPAGE
Lloh6:
ldr x20, [x20, _IGC_EIAC@GOTPAGEOFF]
ldr w0, [x20]
bl _rd32
ldr w8, [x20]
ldr w9, [x19]
bic w1, w0, w9
mov x0, x8
bl _wr32
LBB0_2:
Lloh7:
adrp x8, _IGC_IAM@GOTPAGE
Lloh8:
ldr x8, [x8, _IGC_IAM@GOTPAGEOFF]
Lloh9:
ldr w0, [x8]
mov w1, #0 ; =0x0
bl _wr32
Lloh10:
adrp x8, _IGC_IMC@GOTPAGE
Lloh11:
ldr x8, [x8, _IGC_IMC@GOTPAGEOFF]
Lloh12:
ldr w0, [x8]
mov w1, #-1 ; =0xffffffff
bl _wr32
bl _wrfl
ldr x8, [x19, #16]
cbz x8, LBB0_7
; %bb.3:
ldr w0, [x8]
bl _synchronize_irq
ldr w8, [x19, #4]
tbnz w8, #31, LBB0_6
; %bb.4:
mov x8, #-1 ; =0xffffffffffffffff
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr x9, [x19, #16]
add x20, x8, #1
ldr w0, [x9, x8, lsl #2]
bl _synchronize_irq
ldr w9, [x19, #4]
mov x8, x20
cmp w20, w9
b.lt LBB0_5
LBB0_6:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_7:
ldr x8, [x19, #8]
ldr w0, [x8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _synchronize_irq
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _IGC_EIAM,4,2 ; @IGC_EIAM
.comm _IGC_EIMC,4,2 ; @IGC_EIMC
.comm _IGC_EIAC,4,2 ; @IGC_EIAC
.comm _IGC_IAM,4,2 ; @IGC_IAM
.comm _IGC_IMC,4,2 ; @IGC_IMC
.no_dead_strip _igc_irq_disable
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function rest_is_empty
_rest_is_empty: ## @rest_is_empty
.cfi_startproc
## %bb.0:
movl (%rdi), %edx
movl $1, %eax
cmpl %esi, %edx
jle LBB0_14
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r15d
movq %rdi, %rbx
movq _sign_off_header@GOTPCREL(%rip), %r12
jmp LBB0_2
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_2 Depth=1
incl %r14d
movl (%rbx), %edx
movl %r14d, %r15d
cmpl %edx, %r14d
jge LBB0_12
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_8 Depth 2
movq 8(%rbx), %rdi
movslq %r15d, %r13
subq %r13, %rdi
subl %r13d, %edx
movl $10, %esi
callq _memchr
testq %rax, %rax
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq %rax, %r14
subl 8(%rbx), %r14d
jmp LBB0_5
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
movl (%rbx), %r14d
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
movl (%r12), %edi
callq _strlen
movl %r14d, %ecx
subl %r15d, %ecx
cmpl %ecx, %eax
jle LBB0_11
## %bb.6: ## in Loop: Header=BB0_2 Depth=1
movq 8(%rbx), %rdi
addq %r13, %rdi
movl (%r12), %esi
callq _starts_with
testq %rax, %rax
jne LBB0_11
## %bb.7: ## in Loop: Header=BB0_2 Depth=1
cmpl %r15d, %r14d
cmovlel %r15d, %r14d
movslq %r14d, %r15
.p2align 4, 0x90
LBB0_8: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
cmpq %r13, %r15
je LBB0_11
## %bb.9: ## in Loop: Header=BB0_8 Depth=2
movq 8(%rbx), %rax
movsbl (%rax,%r13), %edi
incq %r13
callq _isspace
testl %eax, %eax
jne LBB0_8
## %bb.10:
xorl %eax, %eax
jmp LBB0_13
LBB0_12:
movl $1, %eax
LBB0_13:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
LBB0_14:
retq
.cfi_endproc
## -- End function
.comm _sign_off_header,4,2 ## @sign_off_header
.no_dead_strip _rest_is_empty
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function rest_is_empty
_rest_is_empty: ; @rest_is_empty
.cfi_startproc
; %bb.0:
; kill: def $w1 killed $w1 def $x1
ldr w8, [x0]
cmp w8, w1
b.le LBB0_11
; %bb.1:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x0
Lloh0:
adrp x20, _sign_off_header@GOTPAGE
Lloh1:
ldr x20, [x20, _sign_off_header@GOTPAGEOFF]
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add w1, w21, #1
ldr w8, [x19]
cmp w1, w8
b.ge LBB0_12
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_9 Depth 2
ldr x9, [x19, #8]
sxtw x22, w1
sub x0, x9, x22
sub w2, w8, w1
mov w1, #10 ; =0xa
bl _memchr
cbz x0, LBB0_5
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [x19, #8]
sub w21, w0, w8
b LBB0_6
LBB0_5: ; in Loop: Header=BB0_3 Depth=1
ldr w21, [x19]
LBB0_6: ; in Loop: Header=BB0_3 Depth=1
ldr w0, [x20]
bl _strlen
sub w8, w21, w22
cmp w0, w8
b.le LBB0_2
; %bb.7: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x19, #8]
ldr w1, [x20]
add x0, x8, x22
bl _starts_with
cbnz x0, LBB0_2
; %bb.8: ; in Loop: Header=BB0_3 Depth=1
cmp w21, w22
csel w21, w21, w22, gt
sxtw x23, w21
LBB0_9: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
cmp x23, x22
b.eq LBB0_2
; %bb.10: ; in Loop: Header=BB0_9 Depth=2
ldr x8, [x19, #8]
add x24, x22, #1
ldrsb w0, [x8, x22]
bl _isspace
mov x22, x24
cbnz w0, LBB0_9
b LBB0_13
LBB0_11:
mov w0, #1 ; =0x1
ret
LBB0_12:
mov w0, #1 ; =0x1
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 AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _sign_off_header,4,2 ; @sign_off_header
.no_dead_strip _rest_is_empty
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _np_news_parse_list ## -- Begin function np_news_parse_list
.p2align 4, 0x90
_np_news_parse_list: ## @np_news_parse_list
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, -72(%rbp) ## 8-byte Spill
testl %r8d, %r8d
je LBB0_1
## %bb.2:
movl %r8d, %ebx
movl %esi, %r13d
cmpl $4, %r8d
jl LBB0_11
## %bb.3:
movl %edx, %r15d
leaq -60(%rbp), %r14
movq %r14, %rdi
movq %rcx, %r12
movq %rcx, %rsi
callq _nbit_set
leaq -44(%rbp), %rsi
movq %r14, %rdi
movl $4, %edx
callq _nbit_read_in
cmpl $4, %eax
jne LBB0_4
## %bb.5:
movl %r15d, %edx
movl %r15d, %eax
shll $24, %eax
movl $825241648, %ecx ## imm = 0x31303030
subl %eax, %ecx
cmpl %ecx, -44(%rbp)
jne LBB0_10
## %bb.6:
movl %edx, %r14d
leal -4(%rbx), %r15d
movl %r15d, %eax
shrl $2, %eax
movl %eax, -44(%rbp)
testb $3, %bl
setne %cl
cmpl %r13d, %eax
setg %dl
testb %dl, %cl
jne LBB0_4
## %bb.7:
cltd
idivl %r14d
testl %edx, %edx
jne LBB0_4
## %bb.8:
leaq -60(%rbp), %rdi
movq -72(%rbp), %rsi ## 8-byte Reload
movl %r15d, %edx
callq _nbit_read_in
cmpl %r15d, %eax
jne LBB0_4
## %bb.9:
movq %r12, %rdi
movl %ebx, %esi
callq _advance_skip_read_ptr
movl -44(%rbp), %eax
cltd
idivl %r14d
jmp LBB0_19
LBB0_1:
xorl %eax, %eax
jmp LBB0_19
LBB0_4:
movq %r12, %rdi
movl %ebx, %esi
jmp LBB0_18
LBB0_10:
movq %r12, %rcx
LBB0_11:
movl %edx, -56(%rbp) ## 4-byte Spill
leaq -44(%rbp), %rdi
movq %rcx, -80(%rbp) ## 8-byte Spill
movq %rcx, %rsi
movq %rbx, -88(%rbp) ## 8-byte Spill
movl %ebx, %edx
callq _nb_reader_set
movl $0, -52(%rbp)
leaq -52(%rbp), %r12
movl $0, -48(%rbp) ## 4-byte Folded Spill
xorl %r15d, %r15d
xorl %ebx, %ebx
LBB0_12: ## =>This Loop Header: Depth=1
## Child Loop BB0_13 Depth 2
movslq %r15d, %rax
movq -72(%rbp), %rcx ## 8-byte Reload
leaq (%rcx,%rax,4), %r14
.p2align 4, 0x90
LBB0_13: ## Parent Loop BB0_12 Depth=1
## => This Inner Loop Header: Depth=2
cmpl %r13d, %r15d
jge LBB0_17
## %bb.14: ## in Loop: Header=BB0_13 Depth=2
leaq -44(%rbp), %rdi
movq %r14, %rsi
movq %r12, %rdx
callq _nb_reader_parse_int
testl %eax, %eax
je LBB0_17
## %bb.15: ## in Loop: Header=BB0_13 Depth=2
movl -52(%rbp), %eax
addq $-4, %r14
decl %ebx
testl %eax, %eax
js LBB0_13
## %bb.16: ## in Loop: Header=BB0_12 Depth=1
movl -48(%rbp), %edx ## 4-byte Reload
incl %edx
cmpl -56(%rbp), %edx ## 4-byte Folded Reload
movl $0, %ecx
cmovel %ecx, %edx
movl %edx, -48(%rbp) ## 4-byte Spill
testl %edx, %edx
movl $95, %ecx
movl $44, %edx
cmovel %edx, %ecx
movl %ebx, %r15d
cmpl %ecx, %eax
je LBB0_12
LBB0_17:
movq -80(%rbp), %rdi ## 8-byte Reload
movq -88(%rbp), %rsi ## 8-byte Reload
## kill: def $esi killed $esi killed $rsi
LBB0_18:
callq _advance_skip_read_ptr
movl $-1, %eax
LBB0_19:
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _np_news_parse_list ; -- Begin function np_news_parse_list
.p2align 2
_np_news_parse_list: ; @np_news_parse_list
.cfi_startproc
; %bb.0:
cbz w4, LBB0_17
; %bb.1:
sub sp, sp, #112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x4
mov x20, x3
mov x21, x2
mov x23, x1
mov x22, x0
subs w24, w4, #4
b.lt LBB0_9
; %bb.2:
add x0, sp, #12
mov x1, x20
bl _nbit_set
add x0, sp, #12
add x1, sp, #8
mov w2, #4 ; =0x4
bl _nbit_read_in
cmp w0, #4
b.ne LBB0_15
; %bb.3:
ldr w8, [sp, #8]
mov w9, #12336 ; =0x3030
movk w9, #12592, lsl #16
sub w9, w9, w21, lsl #24
cmp w8, w9
b.ne LBB0_9
; %bb.4:
lsr w8, w24, #2
str w8, [sp, #8]
tst w19, #0x3
b.eq LBB0_6
; %bb.5:
cmp w8, w23
b.gt LBB0_15
LBB0_6:
sdiv w9, w8, w21
msub w8, w9, w21, w8
cbnz w8, LBB0_15
; %bb.7:
add x0, sp, #12
mov x1, x22
mov x2, x24
bl _nbit_read_in
cmp w0, w24
b.ne LBB0_15
; %bb.8:
mov x0, x20
mov x1, x19
bl _advance_skip_read_ptr
ldr w8, [sp, #8]
sdiv w0, w8, w21
b LBB0_16
LBB0_9:
add x0, sp, #8
mov x1, x20
mov x2, x19
bl _nb_reader_set
mov w25, #0 ; =0x0
mov w26, #0 ; =0x0
str wzr, [sp, #4]
mov w27, #44 ; =0x2c
mov w28, #0 ; =0x0
LBB0_10: ; =>This Loop Header: Depth=1
; Child Loop BB0_11 Depth 2
add x24, x22, w26, sxtw #2
LBB0_11: ; Parent Loop BB0_10 Depth=1
; => This Inner Loop Header: Depth=2
cmp w26, w23
b.ge LBB0_15
; %bb.12: ; in Loop: Header=BB0_11 Depth=2
add x0, sp, #8
add x2, sp, #4
mov x1, x24
bl _nb_reader_parse_int
cbz w0, LBB0_15
; %bb.13: ; in Loop: Header=BB0_11 Depth=2
ldr w8, [sp, #4]
sub x24, x24, #4
sub w28, w28, #1
tbnz w8, #31, LBB0_11
; %bb.14: ; in Loop: Header=BB0_10 Depth=1
add w9, w25, #1
cmp w9, w21
csinc w25, wzr, w25, eq
cmp w25, #0
mov w9, #95 ; =0x5f
csel w9, w27, w9, eq
mov x26, x28
cmp w8, w9
b.eq LBB0_10
LBB0_15:
mov x0, x20
mov x1, x19
bl _advance_skip_read_ptr
mov w0, #-1 ; =0xffffffff
LBB0_16:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
LBB0_17:
mov w0, #0 ; =0x0
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function wbcir_shutdown
_wbcir_shutdown: ## @wbcir_shutdown
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $120, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r12
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
callq _pnp_get_drvdata
movq %rax, %rbx
movq 16(%rax), %r13
movl 4(%r13), %r14d
movl 8(%r13), %r15d
leaq -96(%rbp), %rdi
xorl %esi, %esi
movl $44, %edx
callq _memset
leaq -144(%rbp), %rdi
xorl %esi, %esi
movl $44, %edx
callq _memset
testl %r15d, %r15d
jne LBB0_2
## %bb.1:
movq %r12, %rdi
callq _device_may_wakeup
testl %eax, %eax
je LBB0_19
LBB0_2:
movl (%r13), %eax
addl $-128, %eax
cmpl $7, %eax
ja LBB0_19
## %bb.3:
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_11:
movl %r14d, %edi
callq _wbcir_to_rc6cells
movl %eax, -96(%rbp)
movl %r15d, %edi
callq _wbcir_to_rc6cells
movl %eax, -144(%rbp)
movl %r14d, %edi
sarl $4, %edi
callq _wbcir_to_rc6cells
movl %eax, -100(%rbp)
movl %r15d, %edi
sarl $4, %edi
callq _wbcir_to_rc6cells
movl %eax, -148(%rbp)
movl %r14d, %edi
sarl $8, %edi
callq _wbcir_to_rc6cells
movl %eax, -96(%rbp)
movl %r15d, %edi
sarl $8, %edi
callq _wbcir_to_rc6cells
movl %eax, -144(%rbp)
movl %r14d, %edi
sarl $12, %edi
callq _wbcir_to_rc6cells
movl %eax, -92(%rbp)
movl %r15d, %edi
sarl $12, %edi
callq _wbcir_to_rc6cells
movl %eax, -140(%rbp)
movl %r14d, %edi
sarl $16, %edi
callq _wbcir_to_rc6cells
movl %eax, -88(%rbp)
movl %r15d, %edi
sarl $16, %edi
callq _wbcir_to_rc6cells
movl %eax, -136(%rbp)
movl (%r13), %eax
movq _RC_PROTO_RC6_6A_20@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB0_13
## %bb.12:
movl $3, %eax
movl $52, %ecx
jmp LBB0_16
LBB0_19:
movq _WBCIR_REG_WCEIR_EV_EN@GOTPCREL(%rip), %rax
movq (%rax), %rdi
addq 8(%rbx), %rdi
xorl %esi, %esi
movl $7, %edx
callq _wbcir_set_bits
movq _WBCIR_REG_WCEIR_CTL@GOTPCREL(%rip), %rax
movq (%rax), %rdi
addq 8(%rbx), %rdi
xorl %esi, %esi
movl $1, %edx
jmp LBB0_20
LBB0_13:
movl %r14d, %edi
sarl $20, %edi
callq _wbcir_to_rc6cells
movl %eax, -84(%rbp)
movl %r15d, %edi
sarl $20, %edi
callq _wbcir_to_rc6cells
movl %eax, -132(%rbp)
cmpl $130, (%r13)
jne LBB0_15
## %bb.14:
movl $4, %eax
movl $60, %ecx
jmp LBB0_16
LBB0_4:
movl %r15d, %eax
shrl $2, %eax
movzbl %al, %eax
orl %r15d, %eax
orl $63, %eax
movl %eax, -144(%rbp)
shrl $10, %r15d
andl $7, %r15d
movl %r15d, -140(%rbp)
movl %r14d, %eax
andl $63, %eax
movl %r14d, %ecx
shrl $2, %ecx
movl %ecx, %edx
andl $192, %edx
orl %eax, %edx
movl %edx, -96(%rbp)
shrl $10, %r14d
andl $7, %r14d
andl $16, %ecx
orl %r14d, %ecx
xorl $16, %ecx
movl %ecx, -92(%rbp)
movl $0, -148(%rbp) ## 4-byte Folded Spill
movq _IR_PROTOCOL_RC5@GOTPCREL(%rip), %rax
jmp LBB0_18
LBB0_10:
movl %r14d, %edi
callq _wbcir_to_rc6cells
movl %eax, -96(%rbp)
movl %r15d, %edi
callq _wbcir_to_rc6cells
movl %eax, -144(%rbp)
movl %r14d, %edi
sarl $4, %edi
callq _wbcir_to_rc6cells
movl %eax, -92(%rbp)
movl %r15d, %edi
sarl $4, %edi
callq _wbcir_to_rc6cells
movl %eax, -140(%rbp)
movl %r14d, %edi
sarl $8, %edi
callq _wbcir_to_rc6cells
movl %eax, -88(%rbp)
movl %r15d, %edi
sarl $8, %edi
callq _wbcir_to_rc6cells
movl %eax, -136(%rbp)
sarl $12, %r14d
movl %r14d, %edi
callq _wbcir_to_rc6cells
movl %eax, -84(%rbp)
sarl $12, %r15d
movl %r15d, %edi
callq _wbcir_to_rc6cells
movl %eax, -132(%rbp)
movabsq $38654705744, %rax ## imm = 0x900000050
movq %rax, -80(%rbp)
movabsq $64424509680, %rax ## imm = 0xF000000F0
movq %rax, -128(%rbp)
movl $44, -148(%rbp) ## 4-byte Folded Spill
jmp LBB0_17
LBB0_5:
movl %r15d, %edi
callq _bitrev8
movl %eax, -140(%rbp)
movl %eax, -144(%rbp)
sarl $8, %r15d
movl %r15d, %edi
callq _bitrev8
movl %eax, -132(%rbp)
movl %eax, -136(%rbp)
movl %r14d, %edi
callq _bitrev8
movl %eax, -92(%rbp)
notl %eax
movl %eax, -96(%rbp)
sarl $8, %r14d
movl %r14d, %edi
callq _bitrev8
movl %eax, -84(%rbp)
notl %eax
movl %eax, -88(%rbp)
jmp LBB0_8
LBB0_6:
movl %r15d, %edi
callq _bitrev8
movl %eax, -140(%rbp)
movl %eax, -144(%rbp)
movl %r15d, %edi
sarl $8, %edi
callq _bitrev8
movl %eax, -136(%rbp)
sarl $16, %r15d
movl %r15d, %edi
callq _bitrev8
movl %eax, -132(%rbp)
movl %r14d, %edi
callq _bitrev8
movl %eax, -92(%rbp)
notl %eax
movl %eax, -96(%rbp)
movl %r14d, %edi
sarl $8, %edi
callq _bitrev8
movl %eax, -88(%rbp)
sarl $16, %r14d
jmp LBB0_7
LBB0_9:
movl %r15d, %edi
callq _bitrev8
movl %eax, -144(%rbp)
movl %r15d, %edi
sarl $8, %edi
callq _bitrev8
movl %eax, -140(%rbp)
movl %r15d, %edi
sarl $16, %edi
callq _bitrev8
movl %eax, -136(%rbp)
sarl $24, %r15d
movl %r15d, %edi
callq _bitrev8
movl %eax, -132(%rbp)
movl %r14d, %edi
callq _bitrev8
movl %eax, -96(%rbp)
movl %r14d, %edi
sarl $8, %edi
callq _bitrev8
movl %eax, -92(%rbp)
movl %r14d, %edi
sarl $16, %edi
callq _bitrev8
movl %eax, -88(%rbp)
sarl $24, %r14d
LBB0_7:
movl %r14d, %edi
callq _bitrev8
movl %eax, -84(%rbp)
LBB0_8:
movl $0, -148(%rbp) ## 4-byte Folded Spill
movq _IR_PROTOCOL_NEC@GOTPCREL(%rip), %rax
jmp LBB0_18
LBB0_15:
movl %r14d, %edi
sarl $24, %edi
callq _wbcir_to_rc6cells
movl %eax, -80(%rbp)
movl %r15d, %edi
sarl $24, %edi
callq _wbcir_to_rc6cells
movl %eax, -128(%rbp)
sarl $28, %r14d
movl %r14d, %edi
callq _wbcir_to_rc6cells
movl %eax, -76(%rbp)
sarl $28, %r15d
movl %r15d, %edi
callq _wbcir_to_rc6cells
movl %eax, -124(%rbp)
movl $6, %eax
movl $76, %ecx
LBB0_16:
movl %ecx, -148(%rbp) ## 4-byte Spill
shll $2, %eax
movabsq $42949673107, %rcx ## imm = 0xA00000093
movq %rcx, -96(%rbp,%rax)
movabsq $64424509695, %rcx ## imm = 0xF000000FF
movq %rcx, -144(%rbp,%rax)
LBB0_17:
movq _IR_PROTOCOL_RC6@GOTPCREL(%rip), %rax
LBB0_18:
movl (%rax), %r15d
movq _WBCIR_REG_WCEIR_INDEX@GOTPCREL(%rip), %r12
movq (%r12), %rdi
addq 8(%rbx), %rdi
movq _WBCIR_REGSEL_COMPARE@GOTPCREL(%rip), %rax
movq _WBCIR_REG_ADDR0@GOTPCREL(%rip), %r13
movl (%r13), %esi
orl (%rax), %esi
movl $63, %edx
callq _wbcir_set_bits
movq _WBCIR_REG_WCEIR_DATA@GOTPCREL(%rip), %r14
movq (%r14), %rdi
addq 8(%rbx), %rdi
leaq -96(%rbp), %rsi
movl $11, %edx
callq _outsb
movq (%r12), %rdi
addq 8(%rbx), %rdi
movq _WBCIR_REGSEL_MASK@GOTPCREL(%rip), %rax
movl (%r13), %esi
orl (%rax), %esi
movl $63, %edx
callq _wbcir_set_bits
movq (%r14), %rdi
addq 8(%rbx), %rdi
leaq -144(%rbp), %rsi
movl $11, %edx
callq _outsb
movq _WBCIR_REG_WCEIR_CSL@GOTPCREL(%rip), %rax
movq (%rax), %rsi
addq 8(%rbx), %rsi
movl -148(%rbp), %edi ## 4-byte Reload
callq _outb
movq _WBCIR_REG_WCEIR_STS@GOTPCREL(%rip), %rax
movq (%rax), %rdi
addq 8(%rbx), %rdi
movl $23, %esi
movl $23, %edx
callq _wbcir_set_bits
movq _WBCIR_REG_WCEIR_EV_EN@GOTPCREL(%rip), %rax
movq (%rax), %rdi
addq 8(%rbx), %rdi
movl $1, %esi
movl $7, %edx
callq _wbcir_set_bits
movq _WBCIR_REG_WCEIR_CTL@GOTPCREL(%rip), %rax
movq (%rax), %rdi
addq 8(%rbx), %rdi
shll $4, %r15d
incl %r15d
movl %r15d, %esi
movl $49, %edx
LBB0_20:
callq _wbcir_set_bits
movq _WBCIR_IRQ_NONE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _wbcir_set_irqmask
movl (%rbx), %edi
callq _disable_irq
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_22
## %bb.21:
addq $120, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_22:
callq ___stack_chk_fail
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
.long L0_0_set_11
.long L0_0_set_11
.long L0_0_set_11
.long L0_0_set_10
.long L0_0_set_4
.long L0_0_set_6
.long L0_0_set_9
.long L0_0_set_5
.end_data_region
## -- End function
.comm _IR_PROTOCOL_RC5,4,2 ## @IR_PROTOCOL_RC5
.comm _IR_PROTOCOL_NEC,4,2 ## @IR_PROTOCOL_NEC
.comm _IR_PROTOCOL_RC6,4,2 ## @IR_PROTOCOL_RC6
.comm _RC_PROTO_RC6_6A_20,4,2 ## @RC_PROTO_RC6_6A_20
.comm _WBCIR_REG_WCEIR_INDEX,8,3 ## @WBCIR_REG_WCEIR_INDEX
.comm _WBCIR_REGSEL_COMPARE,4,2 ## @WBCIR_REGSEL_COMPARE
.comm _WBCIR_REG_ADDR0,4,2 ## @WBCIR_REG_ADDR0
.comm _WBCIR_REG_WCEIR_DATA,8,3 ## @WBCIR_REG_WCEIR_DATA
.comm _WBCIR_REGSEL_MASK,4,2 ## @WBCIR_REGSEL_MASK
.comm _WBCIR_REG_WCEIR_CSL,8,3 ## @WBCIR_REG_WCEIR_CSL
.comm _WBCIR_REG_WCEIR_STS,8,3 ## @WBCIR_REG_WCEIR_STS
.comm _WBCIR_REG_WCEIR_EV_EN,8,3 ## @WBCIR_REG_WCEIR_EV_EN
.comm _WBCIR_REG_WCEIR_CTL,8,3 ## @WBCIR_REG_WCEIR_CTL
.comm _WBCIR_IRQ_NONE,4,2 ## @WBCIR_IRQ_NONE
.no_dead_strip _wbcir_shutdown
.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 wbcir_shutdown
lCPI0_0:
.long 147 ; 0x93
.long 10 ; 0xa
lCPI0_1:
.long 255 ; 0xff
.long 15 ; 0xf
lCPI0_2:
.long 80 ; 0x50
.long 9 ; 0x9
lCPI0_3:
.long 240 ; 0xf0
.long 15 ; 0xf
.section __TEXT,__text,regular,pure_instructions
.p2align 2
_wbcir_shutdown: ; @wbcir_shutdown
.cfi_startproc
; %bb.0:
sub sp, sp, #176
stp x26, x25, [sp, #96] ; 16-byte Folded Spill
stp x24, x23, [sp, #112] ; 16-byte Folded Spill
stp x22, x21, [sp, #128] ; 16-byte Folded Spill
stp x20, x19, [sp, #144] ; 16-byte Folded Spill
stp x29, x30, [sp, #160] ; 16-byte Folded Spill
add x29, sp, #160
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x22, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-72]
bl _pnp_get_drvdata
mov x19, x0
ldr x24, [x0, #16]
ldp w20, w21, [x24, #4]
add x23, sp, #44
add x0, sp, #44
mov w1, #0 ; =0x0
mov w2, #44 ; =0x2c
bl _memset
mov x25, sp
mov x0, sp
mov w1, #0 ; =0x0
mov w2, #44 ; =0x2c
bl _memset
cbnz w21, LBB0_2
; %bb.1:
mov x0, x22
bl _device_may_wakeup
cbz w0, LBB0_15
LBB0_2:
ldr w8, [x24]
cmp w8, #131
b.gt LBB0_6
; %bb.3:
sub w9, w8, #128
cmp w9, #3
b.hs LBB0_13
; %bb.4:
mov x0, x20
bl _wbcir_to_rc6cells
str w0, [sp, #44]
mov x0, x21
bl _wbcir_to_rc6cells
str w0, [sp]
asr w0, w20, #4
bl _wbcir_to_rc6cells
stur w0, [sp, #40]
asr w0, w21, #4
bl _wbcir_to_rc6cells
stur w0, [sp, #-4]
asr w0, w20, #8
bl _wbcir_to_rc6cells
str w0, [sp, #44]
asr w0, w21, #8
bl _wbcir_to_rc6cells
str w0, [sp]
asr w0, w20, #12
bl _wbcir_to_rc6cells
str w0, [sp, #48]
asr w0, w21, #12
bl _wbcir_to_rc6cells
str w0, [sp, #4]
asr w0, w20, #16
bl _wbcir_to_rc6cells
str w0, [sp, #52]
asr w0, w21, #16
bl _wbcir_to_rc6cells
str w0, [sp, #8]
ldr w8, [x24]
Lloh3:
adrp x9, _RC_PROTO_RC6_6A_20@GOTPAGE
Lloh4:
ldr x9, [x9, _RC_PROTO_RC6_6A_20@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
cmp w8, w9
b.ne LBB0_16
; %bb.5:
add x24, x25, #12
add x23, x23, #12
mov w22, #52 ; =0x34
b LBB0_23
LBB0_6:
cmp w8, #133
b.gt LBB0_10
; %bb.7:
cmp w8, #132
b.eq LBB0_18
; %bb.8:
cmp w8, #133
b.ne LBB0_15
; %bb.9:
mov x0, x21
bl _bitrev8
stp w0, w0, [sp]
asr w0, w21, #8
bl _bitrev8
str w0, [sp, #8]
asr w0, w21, #16
bl _bitrev8
str w0, [sp, #12]
mov x0, x20
bl _bitrev8
mvn w8, w0
stp w8, w0, [sp, #44]
asr w0, w20, #8
bl _bitrev8
str w0, [sp, #52]
asr w0, w20, #16
b LBB0_20
LBB0_10:
cmp w8, #134
b.eq LBB0_19
; %bb.11:
cmp w8, #135
b.ne LBB0_15
; %bb.12:
mov x0, x21
bl _bitrev8
stp w0, w0, [sp]
asr w0, w21, #8
bl _bitrev8
stp w0, w0, [sp, #8]
mov x0, x20
bl _bitrev8
mvn w8, w0
stp w8, w0, [sp, #44]
asr w0, w20, #8
bl _bitrev8
mov w22, #0 ; =0x0
mvn w8, w0
stp w8, w0, [sp, #52]
b LBB0_21
LBB0_13:
cmp w8, #131
b.ne LBB0_15
; %bb.14:
mov x0, x20
bl _wbcir_to_rc6cells
str w0, [sp, #44]
mov x0, x21
bl _wbcir_to_rc6cells
str w0, [sp]
asr w0, w20, #4
bl _wbcir_to_rc6cells
str w0, [sp, #48]
asr w0, w21, #4
bl _wbcir_to_rc6cells
str w0, [sp, #4]
asr w0, w20, #8
bl _wbcir_to_rc6cells
str w0, [sp, #52]
asr w0, w21, #8
bl _wbcir_to_rc6cells
str w0, [sp, #8]
asr w0, w20, #12
bl _wbcir_to_rc6cells
str w0, [sp, #56]
asr w0, w21, #12
bl _wbcir_to_rc6cells
str w0, [sp, #12]
Lloh6:
adrp x8, lCPI0_2@PAGE
Lloh7:
ldr d0, [x8, lCPI0_2@PAGEOFF]
stur d0, [sp, #60]
Lloh8:
adrp x8, lCPI0_3@PAGE
Lloh9:
ldr d0, [x8, lCPI0_3@PAGEOFF]
str d0, [sp, #16]
mov w22, #44 ; =0x2c
b LBB0_24
LBB0_15:
ldr x8, [x19, #8]
Lloh10:
adrp x9, _WBCIR_REG_WCEIR_EV_EN@GOTPAGE
Lloh11:
ldr x9, [x9, _WBCIR_REG_WCEIR_EV_EN@GOTPAGEOFF]
Lloh12:
ldr x9, [x9]
add x0, x9, x8
mov w1, #0 ; =0x0
mov w2, #7 ; =0x7
bl _wbcir_set_bits
ldr x8, [x19, #8]
Lloh13:
adrp x9, _WBCIR_REG_WCEIR_CTL@GOTPAGE
Lloh14:
ldr x9, [x9, _WBCIR_REG_WCEIR_CTL@GOTPAGEOFF]
Lloh15:
ldr x9, [x9]
add x0, x9, x8
mov w1, #0 ; =0x0
mov w2, #1 ; =0x1
b LBB0_26
LBB0_16:
asr w0, w20, #20
bl _wbcir_to_rc6cells
str w0, [sp, #56]
asr w0, w21, #20
bl _wbcir_to_rc6cells
str w0, [sp, #12]
ldr w8, [x24]
cmp w8, #130
b.ne LBB0_22
; %bb.17:
add x24, x25, #16
add x23, x23, #16
mov w22, #60 ; =0x3c
b LBB0_23
LBB0_18:
mov w22, #0 ; =0x0
lsr w8, w21, #2
and w8, w8, #0xc0
orr w8, w21, w8
orr w8, w8, #0x3f
ubfx w9, w21, #10, #3
stp w8, w9, [sp]
lsr w8, w20, #2
and w9, w8, #0xc0
bfxil w9, w20, #0, #6
and w8, w8, #0x10
bfxil w8, w20, #10, #3
eor w8, w8, #0x10
stp w9, w8, [sp, #44]
Lloh16:
adrp x8, _IR_PROTOCOL_RC5@GOTPAGE
Lloh17:
ldr x8, [x8, _IR_PROTOCOL_RC5@GOTPAGEOFF]
b LBB0_25
LBB0_19:
mov x0, x21
bl _bitrev8
str w0, [sp]
asr w0, w21, #8
bl _bitrev8
str w0, [sp, #4]
asr w0, w21, #16
bl _bitrev8
str w0, [sp, #8]
asr w0, w21, #24
bl _bitrev8
str w0, [sp, #12]
mov x0, x20
bl _bitrev8
str w0, [sp, #44]
asr w0, w20, #8
bl _bitrev8
str w0, [sp, #48]
asr w0, w20, #16
bl _bitrev8
str w0, [sp, #52]
asr w0, w20, #24
LBB0_20:
bl _bitrev8
mov w22, #0 ; =0x0
str w0, [sp, #56]
LBB0_21:
Lloh18:
adrp x8, _IR_PROTOCOL_NEC@GOTPAGE
Lloh19:
ldr x8, [x8, _IR_PROTOCOL_NEC@GOTPAGEOFF]
b LBB0_25
LBB0_22:
add x24, x25, #24
add x23, x23, #24
asr w0, w20, #24
bl _wbcir_to_rc6cells
str w0, [sp, #60]
asr w0, w21, #24
bl _wbcir_to_rc6cells
str w0, [sp, #16]
asr w0, w20, #28
bl _wbcir_to_rc6cells
str w0, [sp, #64]
asr w0, w21, #28
bl _wbcir_to_rc6cells
str w0, [sp, #20]
mov w22, #76 ; =0x4c
LBB0_23:
Lloh20:
adrp x8, lCPI0_0@PAGE
Lloh21:
ldr d0, [x8, lCPI0_0@PAGEOFF]
str d0, [x23]
Lloh22:
adrp x8, lCPI0_1@PAGE
Lloh23:
ldr d0, [x8, lCPI0_1@PAGEOFF]
str d0, [x24]
LBB0_24:
Lloh24:
adrp x8, _IR_PROTOCOL_RC6@GOTPAGE
Lloh25:
ldr x8, [x8, _IR_PROTOCOL_RC6@GOTPAGEOFF]
LBB0_25:
ldr w20, [x8]
ldr x8, [x19, #8]
Lloh26:
adrp x21, _WBCIR_REG_WCEIR_INDEX@GOTPAGE
Lloh27:
ldr x21, [x21, _WBCIR_REG_WCEIR_INDEX@GOTPAGEOFF]
ldr x9, [x21]
Lloh28:
adrp x10, _WBCIR_REGSEL_COMPARE@GOTPAGE
Lloh29:
ldr x10, [x10, _WBCIR_REGSEL_COMPARE@GOTPAGEOFF]
Lloh30:
ldr w10, [x10]
Lloh31:
adrp x23, _WBCIR_REG_ADDR0@GOTPAGE
Lloh32:
ldr x23, [x23, _WBCIR_REG_ADDR0@GOTPAGEOFF]
ldr w11, [x23]
add x0, x9, x8
orr w1, w11, w10
mov w2, #63 ; =0x3f
bl _wbcir_set_bits
ldr x8, [x19, #8]
Lloh33:
adrp x24, _WBCIR_REG_WCEIR_DATA@GOTPAGE
Lloh34:
ldr x24, [x24, _WBCIR_REG_WCEIR_DATA@GOTPAGEOFF]
ldr x9, [x24]
add x0, x9, x8
add x1, sp, #44
mov w2, #11 ; =0xb
bl _outsb
ldr x8, [x19, #8]
ldr x9, [x21]
Lloh35:
adrp x10, _WBCIR_REGSEL_MASK@GOTPAGE
Lloh36:
ldr x10, [x10, _WBCIR_REGSEL_MASK@GOTPAGEOFF]
Lloh37:
ldr w10, [x10]
ldr w11, [x23]
add x0, x9, x8
orr w1, w11, w10
mov w2, #63 ; =0x3f
bl _wbcir_set_bits
ldr x8, [x19, #8]
ldr x9, [x24]
add x0, x9, x8
mov x1, sp
mov w2, #11 ; =0xb
bl _outsb
ldr x8, [x19, #8]
Lloh38:
adrp x9, _WBCIR_REG_WCEIR_CSL@GOTPAGE
Lloh39:
ldr x9, [x9, _WBCIR_REG_WCEIR_CSL@GOTPAGEOFF]
Lloh40:
ldr x9, [x9]
add x1, x9, x8
mov x0, x22
bl _outb
ldr x8, [x19, #8]
Lloh41:
adrp x9, _WBCIR_REG_WCEIR_STS@GOTPAGE
Lloh42:
ldr x9, [x9, _WBCIR_REG_WCEIR_STS@GOTPAGEOFF]
Lloh43:
ldr x9, [x9]
add x0, x9, x8
mov w1, #23 ; =0x17
mov w2, #23 ; =0x17
bl _wbcir_set_bits
ldr x8, [x19, #8]
Lloh44:
adrp x9, _WBCIR_REG_WCEIR_EV_EN@GOTPAGE
Lloh45:
ldr x9, [x9, _WBCIR_REG_WCEIR_EV_EN@GOTPAGEOFF]
Lloh46:
ldr x9, [x9]
mov w21, #1 ; =0x1
add x0, x9, x8
mov w1, #1 ; =0x1
mov w2, #7 ; =0x7
bl _wbcir_set_bits
ldr x8, [x19, #8]
Lloh47:
adrp x9, _WBCIR_REG_WCEIR_CTL@GOTPAGE
Lloh48:
ldr x9, [x9, _WBCIR_REG_WCEIR_CTL@GOTPAGEOFF]
Lloh49:
ldr x9, [x9]
orr w1, w21, w20, lsl #4
add x0, x9, x8
mov w2, #49 ; =0x31
LBB0_26:
bl _wbcir_set_bits
Lloh50:
adrp x8, _WBCIR_IRQ_NONE@GOTPAGE
Lloh51:
ldr x8, [x8, _WBCIR_IRQ_NONE@GOTPAGEOFF]
Lloh52:
ldr w1, [x8]
mov x0, x19
bl _wbcir_set_irqmask
ldr w0, [x19]
bl _disable_irq
ldur x8, [x29, #-72]
Lloh53:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh54:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh55:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_28
; %bb.27:
ldp x29, x30, [sp, #160] ; 16-byte Folded Reload
ldp x20, x19, [sp, #144] ; 16-byte Folded Reload
ldp x22, x21, [sp, #128] ; 16-byte Folded Reload
ldp x24, x23, [sp, #112] ; 16-byte Folded Reload
ldp x26, x25, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #176
ret
LBB0_28:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdr Lloh8, Lloh9
.loh AdrpAdrp Lloh6, Lloh8
.loh AdrpLdr Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGot Lloh18, Lloh19
.loh AdrpLdr Lloh22, Lloh23
.loh AdrpAdrp Lloh20, Lloh22
.loh AdrpLdr Lloh20, Lloh21
.loh AdrpLdrGot Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh47, Lloh48, Lloh49
.loh AdrpLdrGotLdr Lloh44, Lloh45, Lloh46
.loh AdrpLdrGotLdr Lloh41, Lloh42, Lloh43
.loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40
.loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37
.loh AdrpLdrGot Lloh33, Lloh34
.loh AdrpLdrGot Lloh31, Lloh32
.loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30
.loh AdrpLdrGot Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh53, Lloh54, Lloh55
.loh AdrpLdrGotLdr Lloh50, Lloh51, Lloh52
.cfi_endproc
; -- End function
.comm _IR_PROTOCOL_RC5,4,2 ; @IR_PROTOCOL_RC5
.comm _IR_PROTOCOL_NEC,4,2 ; @IR_PROTOCOL_NEC
.comm _IR_PROTOCOL_RC6,4,2 ; @IR_PROTOCOL_RC6
.comm _RC_PROTO_RC6_6A_20,4,2 ; @RC_PROTO_RC6_6A_20
.comm _WBCIR_REG_WCEIR_INDEX,8,3 ; @WBCIR_REG_WCEIR_INDEX
.comm _WBCIR_REGSEL_COMPARE,4,2 ; @WBCIR_REGSEL_COMPARE
.comm _WBCIR_REG_ADDR0,4,2 ; @WBCIR_REG_ADDR0
.comm _WBCIR_REG_WCEIR_DATA,8,3 ; @WBCIR_REG_WCEIR_DATA
.comm _WBCIR_REGSEL_MASK,4,2 ; @WBCIR_REGSEL_MASK
.comm _WBCIR_REG_WCEIR_CSL,8,3 ; @WBCIR_REG_WCEIR_CSL
.comm _WBCIR_REG_WCEIR_STS,8,3 ; @WBCIR_REG_WCEIR_STS
.comm _WBCIR_REG_WCEIR_EV_EN,8,3 ; @WBCIR_REG_WCEIR_EV_EN
.comm _WBCIR_REG_WCEIR_CTL,8,3 ; @WBCIR_REG_WCEIR_CTL
.comm _WBCIR_IRQ_NONE,4,2 ; @WBCIR_IRQ_NONE
.no_dead_strip _wbcir_shutdown
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _add_target ## -- Begin function add_target
.p2align 4, 0x90
_add_target: ## @add_target
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
cmpq $0, 16(%rdi)
jne LBB0_2
## %bb.1:
movq _default_xfer_partial@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, 16(%rbx)
LBB0_2:
movq _target_structs@GOTPCREL(%rip), %r14
movq (%r14), %rax
testq %rax, %rax
jne LBB0_4
## %bb.3:
movq _DEFAULT_ALLOCSIZE@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _target_struct_allocsize@GOTPCREL(%rip), %rax
movl %edi, (%rax)
shll $3, %edi
callq _xmalloc
movq %rax, (%r14)
LBB0_4:
movq _target_struct_size@GOTPCREL(%rip), %r15
movl (%r15), %ecx
movq _target_struct_allocsize@GOTPCREL(%rip), %rdx
movl (%rdx), %esi
cmpl %esi, %ecx
jl LBB0_6
## %bb.5:
leal (%rsi,%rsi), %ecx
movl %ecx, (%rdx)
shll $4, %esi
movq %rax, %rdi
## kill: def $esi killed $esi killed $rsi
callq _xrealloc
movq %rax, (%r14)
movl (%r15), %ecx
LBB0_6:
leal 1(%rcx), %edx
movl %edx, (%r15)
movslq %ecx, %rcx
movq %rbx, (%rax,%rcx,8)
movq _targetlist@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
jne LBB0_8
## %bb.7:
movq _class_run@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _target_command@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _cmdlist@GOTPCREL(%rip), %rax
leaq L_.str(%rip), %rdi
leaq L_.str.1(%rip), %rcx
movq _targetlist@GOTPCREL(%rip), %r8
leaq L_.str.2(%rip), %r9
pushq %rax
pushq $0
callq _add_prefix_cmd
addq $16, %rsp
LBB0_8:
movl 8(%rbx), %edi
movq _no_class@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl (%rbx), %ecx
movl 4(%rbx), %edx
movq _targetlist@GOTPCREL(%rip), %r8
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _add_cmd ## TAILCALL
.cfi_endproc
## -- End function
.comm _default_xfer_partial,8,3 ## @default_xfer_partial
.comm _target_structs,8,3 ## @target_structs
.comm _DEFAULT_ALLOCSIZE,4,2 ## @DEFAULT_ALLOCSIZE
.comm _target_struct_allocsize,4,2 ## @target_struct_allocsize
.comm _target_struct_size,4,2 ## @target_struct_size
.comm _targetlist,8,3 ## @targetlist
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "target"
.comm _class_run,4,2 ## @class_run
.comm _target_command,4,2 ## @target_command
L_.str.1: ## @.str.1
.asciz "Connect to a target machine or process.\nThe first argument is the type or protocol of the target machine.\nRemaining arguments are interpreted by the target protocol. For more\ninformation on the arguments for a particular protocol, type\n`help target ' followed by the protocol name."
L_.str.2: ## @.str.2
.asciz "target "
.comm _cmdlist,4,2 ## @cmdlist
.comm _no_class,4,2 ## @no_class
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _add_target ; -- Begin function add_target
.p2align 2
_add_target: ; @add_target
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
ldr x8, [x0, #16]
cbnz x8, LBB0_2
; %bb.1:
Lloh0:
adrp x8, _default_xfer_partial@GOTPAGE
Lloh1:
ldr x8, [x8, _default_xfer_partial@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [x19, #16]
LBB0_2:
Lloh3:
adrp x20, _target_structs@GOTPAGE
Lloh4:
ldr x20, [x20, _target_structs@GOTPAGEOFF]
ldr x0, [x20]
Lloh5:
adrp x22, _target_struct_allocsize@GOTPAGE
Lloh6:
ldr x22, [x22, _target_struct_allocsize@GOTPAGEOFF]
cbnz x0, LBB0_4
; %bb.3:
Lloh7:
adrp x8, _DEFAULT_ALLOCSIZE@GOTPAGE
Lloh8:
ldr x8, [x8, _DEFAULT_ALLOCSIZE@GOTPAGEOFF]
Lloh9:
ldr w8, [x8]
str w8, [x22]
lsl w0, w8, #3
bl _xmalloc
str x0, [x20]
LBB0_4:
Lloh10:
adrp x21, _target_struct_size@GOTPAGE
Lloh11:
ldr x21, [x21, _target_struct_size@GOTPAGEOFF]
ldr w8, [x21]
ldr w9, [x22]
cmp w8, w9
b.lt LBB0_6
; %bb.5:
lsl w8, w9, #1
str w8, [x22]
lsl w1, w9, #4
bl _xrealloc
str x0, [x20]
ldr w8, [x21]
LBB0_6:
add w9, w8, #1
str w9, [x21]
str x19, [x0, w8, sxtw #3]
Lloh12:
adrp x8, _targetlist@GOTPAGE
Lloh13:
ldr x8, [x8, _targetlist@GOTPAGEOFF]
Lloh14:
ldr x8, [x8]
cbnz x8, LBB0_8
; %bb.7:
Lloh15:
adrp x8, _class_run@GOTPAGE
Lloh16:
ldr x8, [x8, _class_run@GOTPAGEOFF]
Lloh17:
ldr w1, [x8]
Lloh18:
adrp x8, _target_command@GOTPAGE
Lloh19:
ldr x8, [x8, _target_command@GOTPAGEOFF]
Lloh20:
ldr w2, [x8]
Lloh21:
adrp x0, l_.str@PAGE
Lloh22:
add x0, x0, l_.str@PAGEOFF
Lloh23:
adrp x3, l_.str.1@PAGE
Lloh24:
add x3, x3, l_.str.1@PAGEOFF
Lloh25:
adrp x4, _targetlist@GOTPAGE
Lloh26:
ldr x4, [x4, _targetlist@GOTPAGEOFF]
Lloh27:
adrp x5, l_.str.2@PAGE
Lloh28:
add x5, x5, l_.str.2@PAGEOFF
Lloh29:
adrp x7, _cmdlist@GOTPAGE
Lloh30:
ldr x7, [x7, _cmdlist@GOTPAGEOFF]
mov w6, #0 ; =0x0
bl _add_prefix_cmd
LBB0_8:
ldp w2, w0, [x19, #4]
Lloh31:
adrp x8, _no_class@GOTPAGE
Lloh32:
ldr x8, [x8, _no_class@GOTPAGEOFF]
Lloh33:
ldr w1, [x8]
Lloh34:
adrp x4, _targetlist@GOTPAGE
Lloh35:
ldr x4, [x4, _targetlist@GOTPAGEOFF]
ldr w3, [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 _add_cmd
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGot Lloh29, Lloh30
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpLdrGot Lloh25, Lloh26
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGot Lloh34, Lloh35
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.cfi_endproc
; -- End function
.comm _default_xfer_partial,8,3 ; @default_xfer_partial
.comm _target_structs,8,3 ; @target_structs
.comm _DEFAULT_ALLOCSIZE,4,2 ; @DEFAULT_ALLOCSIZE
.comm _target_struct_allocsize,4,2 ; @target_struct_allocsize
.comm _target_struct_size,4,2 ; @target_struct_size
.comm _targetlist,8,3 ; @targetlist
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "target"
.comm _class_run,4,2 ; @class_run
.comm _target_command,4,2 ; @target_command
l_.str.1: ; @.str.1
.asciz "Connect to a target machine or process.\nThe first argument is the type or protocol of the target machine.\nRemaining arguments are interpreted by the target protocol. For more\ninformation on the arguments for a particular protocol, type\n`help target ' followed by the protocol name."
l_.str.2: ; @.str.2
.asciz "target "
.comm _cmdlist,4,2 ; @cmdlist
.comm _no_class,4,2 ; @no_class
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function stbi__compute_huffman_codes
_stbi__compute_huffman_codes: ## @stbi__compute_huffman_codes
.cfi_startproc
## %bb.0:
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 $1928, %rsp ## imm = 0x788
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movl $5, %esi
callq _stbi__zreceive
movl %eax, -1960(%rbp) ## 4-byte Spill
movq %rbx, %rdi
movl $5, %esi
callq _stbi__zreceive
movl %eax, -1956(%rbp) ## 4-byte Spill
movq %rbx, %rdi
movl $4, %esi
callq _stbi__zreceive
movl %eax, %r13d
leaq -1952(%rbp), %rdi
xorl %r12d, %r12d
xorl %esi, %esi
movl $76, %edx
callq _memset
cmpl $-4, %r13d
jl LBB0_3
## %bb.1:
addl $4, %r13d
leaq _stbi__compute_huffman_codes.length_dezigzag(%rip), %r14
xorl %r15d, %r15d
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
movl $3, %esi
callq _stbi__zreceive
movslq (%r14), %rcx
movl %eax, -1952(%rbp,%rcx,4)
decq %r15
addq $-4, %r14
cmpq %r13, %r15
jle LBB0_2
LBB0_3:
leaq -1964(%rbp), %rdi
leaq -1952(%rbp), %rsi
movl $19, %edx
callq _stbi__zbuild_huffman
testl %eax, %eax
je LBB0_21
## %bb.4:
movl -1960(%rbp), %eax ## 4-byte Reload
addl $-257, %eax ## imm = 0xFEFF
movl -1956(%rbp), %r15d ## 4-byte Reload
incl %r15d
movl %r15d, -1956(%rbp) ## 4-byte Spill
movl %eax, -1960(%rbp) ## 4-byte Spill
xorl %r14d, %r14d
addl %eax, %r15d
jle LBB0_17
## %bb.5:
leaq -1964(%rbp), %r12
jmp LBB0_6
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_6 Depth=1
movslq %r14d, %rcx
incl %r14d
movl %eax, -1872(%rbp,%rcx,4)
LBB0_16: ## in Loop: Header=BB0_6 Depth=1
cmpl %r15d, %r14d
jge LBB0_17
LBB0_6: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
movq %r12, %rsi
callq _stbi__zhuffman_decode
cmpl $19, %eax
jae LBB0_7
## %bb.8: ## in Loop: Header=BB0_6 Depth=1
cmpl $15, %eax
jbe LBB0_9
## %bb.10: ## in Loop: Header=BB0_6 Depth=1
cmpl $17, %eax
je LBB0_13
## %bb.11: ## in Loop: Header=BB0_6 Depth=1
movslq %r14d, %r12
cmpl $16, %eax
jne LBB0_14
## %bb.12: ## in Loop: Header=BB0_6 Depth=1
movq %rbx, %rdi
movl $2, %esi
callq _stbi__zreceive
movl %eax, %r13d
leal 3(%r13), %edx
leaq -1872(,%r12,4), %rdi
addq %rbp, %rdi
movl -1876(%rbp,%r12,4), %esi
callq _memset
addl %r13d, %r14d
addl $3, %r14d
jmp LBB0_15
LBB0_13: ## in Loop: Header=BB0_6 Depth=1
movq %rbx, %rdi
movl $3, %esi
callq _stbi__zreceive
movl %eax, %r13d
leal 3(%r13), %edx
movslq %r14d, %r14
leaq -1872(,%r14,4), %rdi
addq %rbp, %rdi
xorl %esi, %esi
callq _memset
addl %r13d, %r14d
addl $3, %r14d
jmp LBB0_16
LBB0_14: ## in Loop: Header=BB0_6 Depth=1
movl $1, %edi
callq _STBI_ASSERT
movq %rbx, %rdi
movl $7, %esi
callq _stbi__zreceive
movl %eax, %r13d
leal 11(%r13), %edx
leaq -1872(,%r12,4), %rdi
addq %rbp, %rdi
xorl %esi, %esi
callq _memset
addl %r13d, %r14d
addl $11, %r14d
LBB0_15: ## in Loop: Header=BB0_6 Depth=1
leaq -1964(%rbp), %r12
jmp LBB0_16
LBB0_17:
cmpl %r15d, %r14d
jne LBB0_7
## %bb.18:
leaq 4(%rbx), %rdi
leaq -1872(%rbp), %rsi
movl -1960(%rbp), %r14d ## 4-byte Reload
movl %r14d, %edx
callq _stbi__zbuild_huffman
testl %eax, %eax
je LBB0_19
## %bb.20:
movslq %r14d, %rax
leaq -1872(,%rax,4), %rsi
addq %rbp, %rsi
movq %rbx, %rdi
movl -1956(%rbp), %edx ## 4-byte Reload
callq _stbi__zbuild_huffman
xorl %r12d, %r12d
testl %eax, %eax
setne %r12b
jmp LBB0_21
LBB0_7:
leaq L_.str(%rip), %rdi
leaq L_.str.1(%rip), %rsi
callq _stbi__err
movl %eax, %r12d
LBB0_21:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_23
## %bb.22:
movl %r12d, %eax
addq $1928, %rsp ## imm = 0x788
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_19:
xorl %r12d, %r12d
jmp LBB0_21
LBB0_23:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 4, 0x0 ## @stbi__compute_huffman_codes.length_dezigzag
_stbi__compute_huffman_codes.length_dezigzag:
.long 16 ## 0x10
.long 17 ## 0x11
.long 18 ## 0x12
.long 0 ## 0x0
.long 8 ## 0x8
.long 7 ## 0x7
.long 9 ## 0x9
.long 6 ## 0x6
.long 10 ## 0xa
.long 5 ## 0x5
.long 11 ## 0xb
.long 4 ## 0x4
.long 12 ## 0xc
.long 3 ## 0x3
.long 13 ## 0xd
.long 2 ## 0x2
.long 14 ## 0xe
.long 1 ## 0x1
.long 15 ## 0xf
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "bad codelengths"
L_.str.1: ## @.str.1
.asciz "Corrupt PNG"
.no_dead_strip _stbi__compute_huffman_codes
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function stbi__compute_huffman_codes
_stbi__compute_huffman_codes: ; @stbi__compute_huffman_codes
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
sub sp, sp, #1920
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-88]
mov w1, #5 ; =0x5
bl _stbi__zreceive
mov x20, x0
mov x0, x19
mov w1, #5 ; =0x5
bl _stbi__zreceive
mov x22, x0
mov x0, x19
mov w1, #4 ; =0x4
bl _stbi__zreceive
mov x21, x0
add x23, sp, #16
add x0, sp, #16
mov w1, #0 ; =0x0
mov w2, #76 ; =0x4c
bl _memset
cmn w21, #4
b.lt LBB0_3
; %bb.1:
mov x24, #0 ; =0x0
add w21, w21, #4
Lloh3:
adrp x25, _stbi__compute_huffman_codes.length_dezigzag@PAGE
Lloh4:
add x25, x25, _stbi__compute_huffman_codes.length_dezigzag@PAGEOFF
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x0, x19
mov w1, #3 ; =0x3
bl _stbi__zreceive
ldrsw x8, [x25, x24, lsl #2]
str w0, [x23, x8, lsl #2]
sub x24, x24, #1
cmp x24, x21
b.le LBB0_2
LBB0_3:
add x0, sp, #12
add x1, sp, #16
mov w2, #19 ; =0x13
bl _stbi__zbuild_huffman
cbz w0, LBB0_21
; %bb.4:
sub w21, w20, #257
add w20, w22, #1
add w24, w20, w21
cmp w24, #1
b.lt LBB0_16
; %bb.5:
mov w25, #0 ; =0x0
add x26, sp, #92
b LBB0_8
LBB0_6: ; in Loop: Header=BB0_8 Depth=1
str w0, [x26, w25, sxtw #2]
add w25, w25, #1
LBB0_7: ; in Loop: Header=BB0_8 Depth=1
cmp w25, w24
b.ge LBB0_17
LBB0_8: ; =>This Inner Loop Header: Depth=1
add x1, sp, #12
mov x0, x19
bl _stbi__zhuffman_decode
cmp w0, #19
b.hs LBB0_20
; %bb.9: ; in Loop: Header=BB0_8 Depth=1
cmp w0, #15
b.ls LBB0_6
; %bb.10: ; in Loop: Header=BB0_8 Depth=1
cmp w0, #17
b.eq LBB0_13
; %bb.11: ; in Loop: Header=BB0_8 Depth=1
add x22, x26, w25, sxtw #2
cmp w0, #16
b.ne LBB0_14
; %bb.12: ; in Loop: Header=BB0_8 Depth=1
mov x0, x19
mov w1, #2 ; =0x2
bl _stbi__zreceive
add w23, w0, #3
ldur w1, [x22, #-4]
mov x0, x22
b LBB0_15
LBB0_13: ; in Loop: Header=BB0_8 Depth=1
mov x0, x19
mov w1, #3 ; =0x3
bl _stbi__zreceive
add w22, w0, #3
add x0, x26, w25, sxtw #2
mov w1, #0 ; =0x0
mov x2, x22
bl _memset
add w25, w22, w25
b LBB0_7
LBB0_14: ; in Loop: Header=BB0_8 Depth=1
mov w0, #1 ; =0x1
bl _STBI_ASSERT
mov x0, x19
mov w1, #7 ; =0x7
bl _stbi__zreceive
add w23, w0, #11
mov x0, x22
mov w1, #0 ; =0x0
LBB0_15: ; in Loop: Header=BB0_8 Depth=1
mov x2, x23
bl _memset
add w25, w23, w25
b LBB0_7
LBB0_16:
mov w25, #0 ; =0x0
LBB0_17:
cmp w25, w24
b.ne LBB0_20
; %bb.18:
add x22, sp, #92
add x0, x19, #4
add x1, sp, #92
mov x2, x21
bl _stbi__zbuild_huffman
cbz w0, LBB0_21
; %bb.19:
add x1, x22, w21, sxtw #2
mov x0, x19
mov x2, x20
bl _stbi__zbuild_huffman
cmp w0, #0
cset w0, ne
b LBB0_21
LBB0_20:
Lloh5:
adrp x0, l_.str@PAGE
Lloh6:
add x0, x0, l_.str@PAGEOFF
Lloh7:
adrp x1, l_.str.1@PAGE
Lloh8:
add x1, x1, l_.str.1@PAGEOFF
bl _stbi__err
LBB0_21:
ldur x8, [x29, #-88]
Lloh9:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh10:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_23
; %bb.22:
add sp, sp, #1920
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_23:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.cfi_endproc
; -- End function
.section __TEXT,__const
.p2align 2, 0x0 ; @stbi__compute_huffman_codes.length_dezigzag
_stbi__compute_huffman_codes.length_dezigzag:
.long 16 ; 0x10
.long 17 ; 0x11
.long 18 ; 0x12
.long 0 ; 0x0
.long 8 ; 0x8
.long 7 ; 0x7
.long 9 ; 0x9
.long 6 ; 0x6
.long 10 ; 0xa
.long 5 ; 0x5
.long 11 ; 0xb
.long 4 ; 0x4
.long 12 ; 0xc
.long 3 ; 0x3
.long 13 ; 0xd
.long 2 ; 0x2
.long 14 ; 0xe
.long 1 ; 0x1
.long 15 ; 0xf
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "bad codelengths"
l_.str.1: ; @.str.1
.asciz "Corrupt PNG"
.no_dead_strip _stbi__compute_huffman_codes
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function make_argv
_make_argv: ## @make_argv
.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
callq _strlen
movl %eax, %ecx
shrl $31, %ecx
addl %eax, %ecx
andl $-2, %ecx
leal -8(,%rcx,4), %edi
callq _malloc
testq %rax, %rax
jne LBB0_4
## %bb.1:
leaq L_.str(%rip), %rsi
movq %rbx, %rdi
callq _strtok
testq %rax, %rax
je LBB0_4
## %bb.2:
xorl %r14d, %r14d
leaq L_.str(%rip), %rbx
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
incq %r14
xorl %edi, %edi
movq %rbx, %rsi
callq _strtok
testq %rax, %rax
jne LBB0_3
LBB0_4:
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\f\n\r\t\013 "
.no_dead_strip _make_argv
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function make_argv
_make_argv: ; @make_argv
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
bl _strlen
add w8, w0, w0, lsr #31
lsl w8, w8, #2
and w8, w8, #0xfffffff8
sub w0, w8, #8
bl _malloc
cbnz x0, LBB0_4
; %bb.1:
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _strtok
cbz x0, LBB0_4
; %bb.2:
mov x20, #0 ; =0x0
Lloh2:
adrp x19, l_.str@PAGE
Lloh3:
add x19, x19, l_.str@PAGEOFF
LBB0_3: ; =>This Inner Loop Header: Depth=1
add x20, x20, #1
mov x0, #0 ; =0x0
mov x1, x19
bl _strtok
cbnz x0, LBB0_3
LBB0_4:
mov x0, #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
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\f\n\r\t\013 "
.no_dead_strip _make_argv
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function _rtl8192ee_read_power_value_fromprom
__rtl8192ee_read_power_value_fromprom: ## @_rtl8192ee_read_power_value_fromprom
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r8, %rbx
movl %ecx, -56(%rbp) ## 4-byte Spill
movq %rdx, -48(%rbp) ## 8-byte Spill
movq %rsi, -64(%rbp) ## 8-byte Spill
movq %rdi, %r13
callq _rtl_priv
movq %rax, %rdi
movq _EEPROM_TX_PWR_INX@GOTPCREL(%rip), %rax
movslq (%rax), %r12
movq _COMP_INIT@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _DBG_LOUD@GOTPCREL(%rip), %r15
movl (%r15), %edx
leal -1(%r12), %r8d
movl 4(%rbx,%r12,4), %r9d
leaq L_.str(%rip), %rcx
movq %rdi, %r14
xorl %eax, %eax
callq _RT_TRACE
cmpl $0, -56(%rbp) ## 4-byte Folded Reload
jne LBB0_2
## %bb.1:
cmpl $255, 4(%rbx,%r12,4)
je LBB0_2
## %bb.20:
movq %r13, %rdi
callq _rtl_priv
movl $1, (%rax)
movq _MAX_RF_PATH@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jle LBB0_112
## %bb.21:
xorl %r13d, %r13d
movq _MAX_CHNL_GROUP_24G@GOTPCREL(%rip), %r15
movl $45, %r8d
movq _MAX_CHNL_GROUP_5G@GOTPCREL(%rip), %r11
movl $254, %r14d
movq %rbx, -56(%rbp) ## 8-byte Spill
jmp LBB0_22
.p2align 4, 0x90
LBB0_110: ## in Loop: Header=BB0_22 Depth=1
addl %r14d, %r12d
movq _MAX_CHNL_GROUP_24G@GOTPCREL(%rip), %r15
movl $254, %r14d
LBB0_111: ## in Loop: Header=BB0_22 Depth=1
incq %r13
movq _MAX_RF_PATH@GOTPCREL(%rip), %rax
movslq (%rax), %rax
cmpq %rax, %r13
movq -56(%rbp), %rbx ## 8-byte Reload
movl $45, %r8d
movq _MAX_CHNL_GROUP_5G@GOTPCREL(%rip), %r11
jge LBB0_112
LBB0_22: ## =>This Loop Header: Depth=1
## Child Loop BB0_27 Depth 2
## Child Loop BB0_35 Depth 2
## Child Loop BB0_31 Depth 2
## Child Loop BB0_38 Depth 2
## Child Loop BB0_42 Depth 2
## Child Loop BB0_93 Depth 2
## Child Loop BB0_97 Depth 2
cmpl $0, (%r15)
jle LBB0_23
## %bb.26: ## in Loop: Header=BB0_22 Depth=1
movslq %r12d, %rax
leaq (%rbx,%rax,4), %rdx
movl %r12d, %ecx
xorl %eax, %eax
movq -64(%rbp), %r9 ## 8-byte Reload
.p2align 4, 0x90
LBB0_27: ## Parent Loop BB0_22 Depth=1
## => This Inner Loop Header: Depth=2
movl (%rdx,%rax,4), %esi
movq (%r9), %rdi
movq (%rdi,%r13,8), %rdi
cmpl $255, %esi
cmovel %r8d, %esi
movl %esi, (%rdi,%rax,4)
incq %rax
movslq (%r15), %rsi
incl %ecx
cmpq %rsi, %rax
jl LBB0_27
## %bb.24: ## in Loop: Header=BB0_22 Depth=1
cmpl $1, %esi
movq -48(%rbp), %r8 ## 8-byte Reload
jle LBB0_25
## %bb.34: ## in Loop: Header=BB0_22 Depth=1
movslq %ecx, %rcx
movq -56(%rbp), %rdx ## 8-byte Reload
leaq (%rdx,%rcx,4), %rdx
xorl %ecx, %ecx
movl $45, %r10d
.p2align 4, 0x90
LBB0_35: ## Parent Loop BB0_22 Depth=1
## => This Inner Loop Header: Depth=2
movl (%rdx,%rcx,4), %esi
movq 8(%r9), %rdi
movq (%rdi,%r13,8), %rdi
cmpl $255, %esi
cmovel %r10d, %esi
movl %esi, (%rdi,%rcx,4)
incq %rcx
movslq (%r15), %rsi
decq %rsi
cmpq %rsi, %rcx
jl LBB0_35
## %bb.28: ## in Loop: Header=BB0_22 Depth=1
addl %eax, %r12d
addl %r12d, %ecx
movl %ecx, %r12d
jmp LBB0_29
.p2align 4, 0x90
LBB0_23: ## in Loop: Header=BB0_22 Depth=1
movq -48(%rbp), %r8 ## 8-byte Reload
movq -64(%rbp), %r9 ## 8-byte Reload
jmp LBB0_29
.p2align 4, 0x90
LBB0_25: ## in Loop: Header=BB0_22 Depth=1
movl %r12d, %r12d
addq %rax, %r12
LBB0_29: ## in Loop: Header=BB0_22 Depth=1
movq _MAX_TX_COUNT@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, %eax
jle LBB0_36
## %bb.30: ## in Loop: Header=BB0_22 Depth=1
xorl %r15d, %r15d
jmp LBB0_31
.p2align 4, 0x90
LBB0_65: ## in Loop: Header=BB0_31 Depth=2
movq 40(%r9), %rax
movq (%rax,%r13,8), %rax
movl $254, (%rax,%r15,4)
movl $2, %ecx
movq -48(%rbp), %r8 ## 8-byte Reload
LBB0_69: ## in Loop: Header=BB0_31 Depth=2
movq _MAX_CHNL_GROUP_5G@GOTPCREL(%rip), %r11
movl $254, %r14d
LBB0_70: ## in Loop: Header=BB0_31 Depth=2
addl %ecx, %r12d
incq %r15
movq _MAX_TX_COUNT@GOTPCREL(%rip), %rax
movslq (%rax), %rax
cmpq %rax, %r15
jge LBB0_71
LBB0_31: ## Parent Loop BB0_22 Depth=1
## => This Inner Loop Header: Depth=2
movslq %r12d, %r14
testq %r15, %r15
je LBB0_32
## %bb.52: ## in Loop: Header=BB0_31 Depth=2
movq -56(%rbp), %rcx ## 8-byte Reload
movl (%rcx,%r14,4), %ebx
cmpl $255, %ebx
jne LBB0_54
## %bb.53: ## in Loop: Header=BB0_31 Depth=2
movq 32(%r9), %rax
movq (%rax,%r13,8), %rax
movl $254, (%rax,%r15,4)
jmp LBB0_56
.p2align 4, 0x90
LBB0_32: ## in Loop: Header=BB0_31 Depth=2
movq 32(%r9), %rax
movq (%rax,%r13,8), %rax
movl $0, (%rax)
movq -56(%rbp), %rcx ## 8-byte Reload
movl (%rcx,%r14,4), %ebx
cmpl $255, %ebx
jne LBB0_45
## %bb.33: ## in Loop: Header=BB0_31 Depth=2
movq 16(%r9), %rax
movq (%rax,%r13,8), %rax
movl $2, (%rax)
jmp LBB0_47
.p2align 4, 0x90
LBB0_54: ## in Loop: Header=BB0_31 Depth=2
shrl $4, %ebx
andl $15, %ebx
movq 32(%r9), %rax
movq (%rax,%r13,8), %rax
movl %ebx, (%rax,%r15,4)
movl $3, %edi
callq _BIT
movq -56(%rbp), %rcx ## 8-byte Reload
movq -64(%rbp), %r9 ## 8-byte Reload
testl %ebx, %eax
je LBB0_56
## %bb.55: ## in Loop: Header=BB0_31 Depth=2
movq 32(%r9), %rax
movq (%rax,%r13,8), %rax
orl $240, (%rax,%r15,4)
LBB0_56: ## in Loop: Header=BB0_31 Depth=2
movl (%rcx,%r14,4), %ebx
cmpl $255, %ebx
jne LBB0_58
## %bb.57: ## in Loop: Header=BB0_31 Depth=2
movq 16(%r9), %rax
movq (%rax,%r13,8), %rax
movl $254, (%rax,%r15,4)
jmp LBB0_60
.p2align 4, 0x90
LBB0_58: ## in Loop: Header=BB0_31 Depth=2
andl $15, %ebx
movq 16(%r9), %rax
movq (%rax,%r13,8), %rax
movl %ebx, (%rax,%r15,4)
movl $3, %edi
callq _BIT
movq -56(%rbp), %rcx ## 8-byte Reload
movq -64(%rbp), %r9 ## 8-byte Reload
testl %ebx, %eax
je LBB0_60
## %bb.59: ## in Loop: Header=BB0_31 Depth=2
movq 16(%r9), %rax
movq (%rax,%r13,8), %rax
orl $240, (%rax,%r15,4)
LBB0_60: ## in Loop: Header=BB0_31 Depth=2
movl 4(%rcx,%r14,4), %ebx
cmpl $255, %ebx
jne LBB0_62
## %bb.61: ## in Loop: Header=BB0_31 Depth=2
movq 24(%r9), %rax
movq (%rax,%r13,8), %rax
movl $254, (%rax,%r15,4)
jmp LBB0_64
.p2align 4, 0x90
LBB0_62: ## in Loop: Header=BB0_31 Depth=2
shrl $4, %ebx
andl $15, %ebx
movq 24(%r9), %rax
movq (%rax,%r13,8), %rax
movl %ebx, (%rax,%r15,4)
movl $3, %edi
callq _BIT
movq -56(%rbp), %rcx ## 8-byte Reload
movq -64(%rbp), %r9 ## 8-byte Reload
testl %ebx, %eax
je LBB0_64
## %bb.63: ## in Loop: Header=BB0_31 Depth=2
movq 24(%r9), %rax
movq (%rax,%r13,8), %rax
orl $240, (%rax,%r15,4)
LBB0_64: ## in Loop: Header=BB0_31 Depth=2
movl 4(%rcx,%r14,4), %ebx
cmpl $255, %ebx
je LBB0_65
## %bb.66: ## in Loop: Header=BB0_31 Depth=2
andl $15, %ebx
movq 40(%r9), %rax
movq (%rax,%r13,8), %rax
movl %ebx, (%rax,%r15,4)
movl $3, %edi
movq %r9, %r14
callq _BIT
movl $2, %ecx
testl %ebx, %eax
je LBB0_68
## %bb.67: ## in Loop: Header=BB0_31 Depth=2
movq 40(%r14), %rax
movq (%rax,%r13,8), %rax
orl $240, (%rax,%r15,4)
LBB0_68: ## in Loop: Header=BB0_31 Depth=2
movq -48(%rbp), %r8 ## 8-byte Reload
movq %r14, %r9
jmp LBB0_69
LBB0_45: ## in Loop: Header=BB0_31 Depth=2
shrl $4, %ebx
andl $15, %ebx
movq 16(%r9), %rax
movq (%rax,%r13,8), %rax
movl %ebx, (%rax)
movl $3, %edi
callq _BIT
movq -56(%rbp), %rcx ## 8-byte Reload
movq -64(%rbp), %r9 ## 8-byte Reload
testl %ebx, %eax
je LBB0_47
## %bb.46: ## in Loop: Header=BB0_31 Depth=2
movq 16(%r9), %rax
movq (%rax,%r13,8), %rax
orl $240, (%rax)
LBB0_47: ## in Loop: Header=BB0_31 Depth=2
movl (%rcx,%r14,4), %ebx
cmpl $255, %ebx
jne LBB0_49
## %bb.48: ## in Loop: Header=BB0_31 Depth=2
movq 24(%r9), %rax
movq (%rax,%r13,8), %rax
movl $4, (%rax)
movq -48(%rbp), %r8 ## 8-byte Reload
movq _MAX_CHNL_GROUP_5G@GOTPCREL(%rip), %r11
movl $254, %r14d
jmp LBB0_51
LBB0_49: ## in Loop: Header=BB0_31 Depth=2
andl $15, %ebx
movq 24(%r9), %rax
movq (%rax,%r13,8), %rax
movl %ebx, (%rax)
movl $3, %edi
callq _BIT
movq -64(%rbp), %r9 ## 8-byte Reload
testl %ebx, %eax
movq -48(%rbp), %r8 ## 8-byte Reload
movq _MAX_CHNL_GROUP_5G@GOTPCREL(%rip), %r11
movl $254, %r14d
je LBB0_51
## %bb.50: ## in Loop: Header=BB0_31 Depth=2
movq 24(%r9), %rax
movq (%rax,%r13,8), %rax
orl $240, (%rax)
LBB0_51: ## in Loop: Header=BB0_31 Depth=2
movq 40(%r9), %rax
movq (%rax,%r13,8), %rax
movl $0, (%rax)
movl $1, %ecx
jmp LBB0_70
.p2align 4, 0x90
LBB0_71: ## in Loop: Header=BB0_22 Depth=1
movq _MAX_CHNL_GROUP_24G@GOTPCREL(%rip), %r15
LBB0_36: ## in Loop: Header=BB0_22 Depth=1
cmpl $0, (%r11)
jle LBB0_40
## %bb.37: ## in Loop: Header=BB0_22 Depth=1
movslq %r12d, %rax
movq -56(%rbp), %rcx ## 8-byte Reload
leaq (%rcx,%rax,4), %rcx
xorl %eax, %eax
.p2align 4, 0x90
LBB0_38: ## Parent Loop BB0_22 Depth=1
## => This Inner Loop Header: Depth=2
movl (%rcx,%rax,4), %edx
movq (%r8), %rsi
movq (%rsi,%r13,8), %rsi
cmpl $255, %edx
cmovel %r14d, %edx
movl %edx, (%rsi,%rax,4)
incq %rax
movslq (%r11), %rdx
cmpq %rdx, %rax
jl LBB0_38
## %bb.39: ## in Loop: Header=BB0_22 Depth=1
addl %eax, %r12d
movq _MAX_TX_COUNT@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_40: ## in Loop: Header=BB0_22 Depth=1
testl %eax, %eax
jle LBB0_88
## %bb.41: ## in Loop: Header=BB0_22 Depth=1
movslq %r12d, %rax
movq -56(%rbp), %rcx ## 8-byte Reload
leaq (%rcx,%rax,4), %r14
xorl %r15d, %r15d
jmp LBB0_42
.p2align 4, 0x90
LBB0_83: ## in Loop: Header=BB0_42 Depth=2
movq 16(%r8), %rax
movq (%rax,%r13,8), %rax
movl $254, (%rax,%r15,4)
LBB0_86: ## in Loop: Header=BB0_42 Depth=2
incq %r15
movq _MAX_TX_COUNT@GOTPCREL(%rip), %rax
movslq (%rax), %rax
cmpq %rax, %r15
jge LBB0_87
LBB0_42: ## Parent Loop BB0_22 Depth=1
## => This Inner Loop Header: Depth=2
testq %r15, %r15
je LBB0_43
## %bb.78: ## in Loop: Header=BB0_42 Depth=2
movl (%r14,%r15,4), %ebx
cmpl $255, %ebx
jne LBB0_80
## %bb.79: ## in Loop: Header=BB0_42 Depth=2
movq 40(%r8), %rax
movq (%rax,%r13,8), %rax
movl $254, (%rax,%r15,4)
jmp LBB0_82
.p2align 4, 0x90
LBB0_43: ## in Loop: Header=BB0_42 Depth=2
movq 40(%r8), %rax
movq (%rax,%r13,8), %rax
movl $0, (%rax)
movl (%r14,%r15,4), %ebx
cmpl $255, %ebx
jne LBB0_72
## %bb.44: ## in Loop: Header=BB0_42 Depth=2
movq 16(%r8), %rax
movq (%rax,%r13,8), %rax
movl $0, (%rax)
jmp LBB0_74
.p2align 4, 0x90
LBB0_80: ## in Loop: Header=BB0_42 Depth=2
shrl $4, %ebx
andl $15, %ebx
movq 40(%r8), %rax
movq (%rax,%r13,8), %rax
movl %ebx, (%rax,%r15,4)
movl $3, %edi
callq _BIT
movq -48(%rbp), %r8 ## 8-byte Reload
testl %ebx, %eax
je LBB0_82
## %bb.81: ## in Loop: Header=BB0_42 Depth=2
movq 40(%r8), %rax
movq (%rax,%r13,8), %rax
orl $240, (%rax,%r15,4)
LBB0_82: ## in Loop: Header=BB0_42 Depth=2
movl (%r14,%r15,4), %ebx
cmpl $255, %ebx
je LBB0_83
## %bb.84: ## in Loop: Header=BB0_42 Depth=2
andl $15, %ebx
movq 16(%r8), %rax
movq (%rax,%r13,8), %rax
movl %ebx, (%rax,%r15,4)
movl $3, %edi
callq _BIT
movq -48(%rbp), %r8 ## 8-byte Reload
testl %ebx, %eax
je LBB0_86
## %bb.85: ## in Loop: Header=BB0_42 Depth=2
movq 16(%r8), %rax
movq (%rax,%r13,8), %rax
orl $240, (%rax,%r15,4)
jmp LBB0_86
LBB0_72: ## in Loop: Header=BB0_42 Depth=2
shrl $4, %ebx
andl $15, %ebx
movq 16(%r8), %rax
movq (%rax,%r13,8), %rax
movl %ebx, (%rax)
movl $3, %edi
callq _BIT
movq -48(%rbp), %r8 ## 8-byte Reload
testl %ebx, %eax
je LBB0_74
## %bb.73: ## in Loop: Header=BB0_42 Depth=2
movq 16(%r8), %rax
movq (%rax,%r13,8), %rax
orl $240, (%rax)
LBB0_74: ## in Loop: Header=BB0_42 Depth=2
movl (%r14,%r15,4), %ebx
cmpl $255, %ebx
jne LBB0_76
## %bb.75: ## in Loop: Header=BB0_42 Depth=2
movq 8(%r8), %rax
movq (%rax,%r13,8), %rax
movl $4, (%rax)
jmp LBB0_86
LBB0_76: ## in Loop: Header=BB0_42 Depth=2
andl $15, %ebx
movq 8(%r8), %rax
movq (%rax,%r13,8), %rax
movl %ebx, (%rax)
movl $3, %edi
callq _BIT
movq -48(%rbp), %r8 ## 8-byte Reload
testl %ebx, %eax
je LBB0_86
## %bb.77: ## in Loop: Header=BB0_42 Depth=2
movq 8(%r8), %rax
movq (%rax,%r13,8), %rax
orl $240, (%rax)
jmp LBB0_86
.p2align 4, 0x90
LBB0_87: ## in Loop: Header=BB0_22 Depth=1
addl %r15d, %r12d
movq _MAX_CHNL_GROUP_24G@GOTPCREL(%rip), %r15
movl $254, %r14d
LBB0_88: ## in Loop: Header=BB0_22 Depth=1
movslq %r12d, %rcx
movq -56(%rbp), %rdi ## 8-byte Reload
movl (%rdi,%rcx,4), %esi
cmpl $255, %esi
jne LBB0_90
## %bb.89: ## in Loop: Header=BB0_22 Depth=1
movq 8(%r8), %rdx
movq (%rdx,%r13,8), %rdx
movl $254, 4(%rdx)
movl $254, %esi
jmp LBB0_91
.p2align 4, 0x90
LBB0_90: ## in Loop: Header=BB0_22 Depth=1
shrl $4, %esi
andl $15, %esi
movq 8(%r8), %rdx
movq (%rdx,%r13,8), %rdx
movl %esi, 4(%rdx)
movl (%rdi,%rcx,4), %esi
andl $15, %esi
LBB0_91: ## in Loop: Header=BB0_22 Depth=1
movl %esi, 8(%rdx)
movl 4(%rdi,%rcx,4), %ecx
movl %ecx, %esi
andl $15, %esi
cmpl $255, %ecx
cmovel %r14d, %esi
movl %esi, 12(%rdx)
cmpl $2, %eax
jl LBB0_95
## %bb.92: ## in Loop: Header=BB0_22 Depth=1
movl $1, %r14d
jmp LBB0_93
.p2align 4, 0x90
LBB0_94: ## in Loop: Header=BB0_93 Depth=2
movl $254, (%rax,%r14,4)
LBB0_101: ## in Loop: Header=BB0_93 Depth=2
incq %r14
movq _MAX_TX_COUNT@GOTPCREL(%rip), %rax
movslq (%rax), %rax
cmpq %rax, %r14
jge LBB0_102
LBB0_93: ## Parent Loop BB0_22 Depth=1
## => This Inner Loop Header: Depth=2
movq 8(%r8), %rax
movq (%rax,%r13,8), %rax
movl (%rax,%r14,4), %ebx
cmpl $255, %ebx
je LBB0_94
## %bb.99: ## in Loop: Header=BB0_93 Depth=2
movl $3, %edi
callq _BIT
movq -48(%rbp), %r8 ## 8-byte Reload
testl %ebx, %eax
je LBB0_101
## %bb.100: ## in Loop: Header=BB0_93 Depth=2
movq 8(%r8), %rax
movq (%rax,%r13,8), %rax
orl $240, (%rax,%r14,4)
jmp LBB0_101
.p2align 4, 0x90
LBB0_102: ## in Loop: Header=BB0_22 Depth=1
movl $254, %r14d
LBB0_95: ## in Loop: Header=BB0_22 Depth=1
addl $2, %r12d
testl %eax, %eax
jle LBB0_111
## %bb.96: ## in Loop: Header=BB0_22 Depth=1
movslq %r12d, %rax
movq -56(%rbp), %rcx ## 8-byte Reload
leaq (%rcx,%rax,4), %r15
xorl %r14d, %r14d
jmp LBB0_97
.p2align 4, 0x90
LBB0_106: ## in Loop: Header=BB0_97 Depth=2
movq 32(%r8), %rax
movq (%rax,%r13,8), %rax
movl $254, (%rax,%r14,4)
LBB0_109: ## in Loop: Header=BB0_97 Depth=2
incq %r14
movq _MAX_TX_COUNT@GOTPCREL(%rip), %rax
movslq (%rax), %rax
cmpq %rax, %r14
jge LBB0_110
LBB0_97: ## Parent Loop BB0_22 Depth=1
## => This Inner Loop Header: Depth=2
movl (%r15,%r14,4), %ebx
cmpl $255, %ebx
jne LBB0_103
## %bb.98: ## in Loop: Header=BB0_97 Depth=2
movq 24(%r8), %rax
movq (%rax,%r13,8), %rax
movl $254, (%rax,%r14,4)
jmp LBB0_105
.p2align 4, 0x90
LBB0_103: ## in Loop: Header=BB0_97 Depth=2
shrl $4, %ebx
andl $15, %ebx
movq 24(%r8), %rax
movq (%rax,%r13,8), %rax
movl %ebx, (%rax,%r14,4)
movl $3, %edi
callq _BIT
movq -48(%rbp), %r8 ## 8-byte Reload
testl %ebx, %eax
je LBB0_105
## %bb.104: ## in Loop: Header=BB0_97 Depth=2
movq 24(%r8), %rax
movq (%rax,%r13,8), %rax
orl $240, (%rax,%r14,4)
LBB0_105: ## in Loop: Header=BB0_97 Depth=2
movl (%r15,%r14,4), %ebx
cmpl $255, %ebx
je LBB0_106
## %bb.107: ## in Loop: Header=BB0_97 Depth=2
andl $15, %ebx
movq 32(%r8), %rax
movq (%rax,%r13,8), %rax
movl %ebx, (%rax,%r14,4)
movl $3, %edi
callq _BIT
movq -48(%rbp), %r8 ## 8-byte Reload
testl %ebx, %eax
je LBB0_109
## %bb.108: ## in Loop: Header=BB0_97 Depth=2
movq 32(%r8), %rax
movq (%rax,%r13,8), %rax
orl $240, (%rax,%r14,4)
jmp LBB0_109
LBB0_2:
movq _COMP_INIT@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl (%r15), %edx
leaq L_.str.1(%rip), %rcx
movq %r14, %rdi
xorl %eax, %eax
callq _RT_TRACE
movq _MAX_RF_PATH@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jle LBB0_112
## %bb.3:
xorl %ecx, %ecx
movq _MAX_CHNL_GROUP_24G@GOTPCREL(%rip), %rdx
movq _MAX_TX_COUNT@GOTPCREL(%rip), %rsi
movq _MAX_CHNL_GROUP_5G@GOTPCREL(%rip), %rdi
jmp LBB0_4
.p2align 4, 0x90
LBB0_19: ## in Loop: Header=BB0_4 Depth=1
leaq -1(%rcx), %r8
movslq (%rax), %r9
cmpq %r9, %rcx
movq %r8, %rcx
jg LBB0_112
LBB0_4: ## =>This Loop Header: Depth=1
## Child Loop BB0_6 Depth 2
## Child Loop BB0_10 Depth 2
## Child Loop BB0_13 Depth 2
## Child Loop BB0_18 Depth 2
cmpl $0, (%rdx)
jle LBB0_7
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movq -64(%rbp), %r9 ## 8-byte Reload
movq (%r9), %r8
movq 8(%r9), %r9
movq (%r8,%rcx,8), %r8
movq (%r9,%rcx,8), %r9
xorl %r10d, %r10d
.p2align 4, 0x90
LBB0_6: ## Parent Loop BB0_4 Depth=1
## => This Inner Loop Header: Depth=2
movl $45, (%r8,%r10,4)
movl $45, (%r9,%r10,4)
incq %r10
movslq (%rdx), %r11
cmpq %r11, %r10
jl LBB0_6
LBB0_7: ## in Loop: Header=BB0_4 Depth=1
movl (%rsi), %r9d
testl %r9d, %r9d
jle LBB0_11
## %bb.8: ## in Loop: Header=BB0_4 Depth=1
movq -64(%rbp), %r9 ## 8-byte Reload
movq 16(%r9), %r8
movq (%r8,%rcx,8), %r8
movl $2, (%r8)
movq 24(%r9), %r9
movq (%r9,%rcx,8), %r10
movl $4, (%r10)
movl (%rsi), %r9d
cmpl $2, %r9d
jl LBB0_11
## %bb.9: ## in Loop: Header=BB0_4 Depth=1
movq -64(%rbp), %r11 ## 8-byte Reload
movq 32(%r11), %r9
movq 40(%r11), %rbx
movq (%r9,%rcx,8), %r11
movq (%rbx,%rcx,8), %rbx
movl $1, %r14d
.p2align 4, 0x90
LBB0_10: ## Parent Loop BB0_4 Depth=1
## => This Inner Loop Header: Depth=2
movl $254, (%r8,%r14,4)
movl $254, (%r11,%r14,4)
movl $254, (%rbx,%r14,4)
movl $254, (%r10,%r14,4)
movslq (%rsi), %r9
incq %r14
cmpq %r9, %r14
jl LBB0_10
LBB0_11: ## in Loop: Header=BB0_4 Depth=1
cmpl $0, (%rdi)
jle LBB0_15
## %bb.12: ## in Loop: Header=BB0_4 Depth=1
movq -48(%rbp), %r8 ## 8-byte Reload
movq (%r8), %r8
movq (%r8,%rcx,8), %r8
xorl %r9d, %r9d
.p2align 4, 0x90
LBB0_13: ## Parent Loop BB0_4 Depth=1
## => This Inner Loop Header: Depth=2
movl $42, (%r8,%r9,4)
incq %r9
movslq (%rdi), %r10
cmpq %r10, %r9
jl LBB0_13
## %bb.14: ## in Loop: Header=BB0_4 Depth=1
movl (%rsi), %r9d
LBB0_15: ## in Loop: Header=BB0_4 Depth=1
testl %r9d, %r9d
jle LBB0_19
## %bb.16: ## in Loop: Header=BB0_4 Depth=1
movq -48(%rbp), %r11 ## 8-byte Reload
movq 8(%r11), %r8
movq (%r8,%rcx,8), %r8
movl $4, (%r8)
movq 16(%r11), %r9
movq (%r9,%rcx,8), %r9
movl $0, (%r9)
movq 24(%r11), %r10
movq (%r10,%rcx,8), %r10
movl $254, (%r10)
movq 32(%r11), %r11
movq (%r11,%rcx,8), %r11
movl $254, (%r11)
cmpl $2, (%rsi)
jl LBB0_19
## %bb.17: ## in Loop: Header=BB0_4 Depth=1
movq -48(%rbp), %rbx ## 8-byte Reload
movq 40(%rbx), %rbx
movq (%rbx,%rcx,8), %rbx
movl $1, %r14d
.p2align 4, 0x90
LBB0_18: ## Parent Loop BB0_4 Depth=1
## => This Inner Loop Header: Depth=2
movl $254, (%r8)
movl $254, (%r9)
movl $254, (%rbx)
movl $254, (%r10)
movl $254, (%r11)
incl %r14d
cmpl (%rsi), %r14d
jl LBB0_18
jmp LBB0_19
LBB0_112:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EEPROM_TX_PWR_INX,4,2 ## @EEPROM_TX_PWR_INX
.comm _COMP_INIT,4,2 ## @COMP_INIT
.comm _DBG_LOUD,4,2 ## @DBG_LOUD
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "hal_ReadPowerValueFromPROM92E(): PROMContent[0x%x]=0x%x\n"
L_.str.1: ## @.str.1
.asciz "auto load fail : Use Default value!\n"
.comm _MAX_RF_PATH,4,2 ## @MAX_RF_PATH
.comm _MAX_CHNL_GROUP_24G,4,2 ## @MAX_CHNL_GROUP_24G
.comm _MAX_TX_COUNT,4,2 ## @MAX_TX_COUNT
.comm _MAX_CHNL_GROUP_5G,4,2 ## @MAX_CHNL_GROUP_5G
.no_dead_strip __rtl8192ee_read_power_value_fromprom
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function _rtl8192ee_read_power_value_fromprom
__rtl8192ee_read_power_value_fromprom: ; @_rtl8192ee_read_power_value_fromprom
.cfi_startproc
; %bb.0:
sub sp, sp, #128
stp x28, x27, [sp, #32] ; 16-byte Folded Spill
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x21, x4
mov x24, x3
mov x19, x2
mov x20, x1
mov x22, x0
bl _rtl_priv
mov x23, x0
Lloh0:
adrp x8, _EEPROM_TX_PWR_INX@GOTPAGE
Lloh1:
ldr x8, [x8, _EEPROM_TX_PWR_INX@GOTPAGEOFF]
Lloh2:
ldrsw x27, [x8]
Lloh3:
adrp x25, _COMP_INIT@GOTPAGE
Lloh4:
ldr x25, [x25, _COMP_INIT@GOTPAGEOFF]
ldr w1, [x25]
Lloh5:
adrp x26, _DBG_LOUD@GOTPAGE
Lloh6:
ldr x26, [x26, _DBG_LOUD@GOTPAGEOFF]
ldr w2, [x26]
sub w8, w27, #1
add x28, x21, x27, lsl #2
ldr w9, [x28, #4]
stp x8, x9, [sp]
Lloh7:
adrp x3, l_.str@PAGE
Lloh8:
add x3, x3, l_.str@PAGEOFF
bl _RT_TRACE
cbnz w24, LBB0_95
; %bb.1:
ldr w8, [x28, #4]
cmp w8, #255
b.eq LBB0_95
; %bb.2:
mov x0, x22
bl _rtl_priv
mov w8, #1 ; =0x1
str w8, [x0]
Lloh9:
adrp x8, _MAX_RF_PATH@GOTPAGE
Lloh10:
ldr x8, [x8, _MAX_RF_PATH@GOTPAGEOFF]
Lloh11:
ldr w8, [x8]
cmp w8, #1
b.lt LBB0_113
; %bb.3:
mov x23, #0 ; =0x0
add x8, x21, #4
str x8, [sp, #24] ; 8-byte Folded Spill
Lloh12:
adrp x12, _MAX_CHNL_GROUP_24G@GOTPAGE
Lloh13:
ldr x12, [x12, _MAX_CHNL_GROUP_24G@GOTPAGEOFF]
Lloh14:
adrp x26, _MAX_TX_COUNT@GOTPAGE
Lloh15:
ldr x26, [x26, _MAX_TX_COUNT@GOTPAGEOFF]
mov w13, #45 ; =0x2d
mov w28, #254 ; =0xfe
b LBB0_6
LBB0_4: ; in Loop: Header=BB0_6 Depth=1
add w27, w27, w22
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
add x23, x23, #1
Lloh16:
adrp x8, _MAX_RF_PATH@GOTPAGE
Lloh17:
ldr x8, [x8, _MAX_RF_PATH@GOTPAGEOFF]
Lloh18:
ldrsw x8, [x8]
cmp x23, x8
Lloh19:
adrp x12, _MAX_CHNL_GROUP_24G@GOTPAGE
Lloh20:
ldr x12, [x12, _MAX_CHNL_GROUP_24G@GOTPAGEOFF]
mov w13, #45 ; =0x2d
b.ge LBB0_113
LBB0_6: ; =>This Loop Header: Depth=1
; Child Loop BB0_8 Depth 2
; Child Loop BB0_11 Depth 2
; Child Loop BB0_20 Depth 2
; Child Loop BB0_50 Depth 2
; Child Loop BB0_56 Depth 2
; Child Loop BB0_80 Depth 2
; Child Loop BB0_88 Depth 2
ldr w8, [x12]
cmp w8, #1
b.lt LBB0_12
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
mov x8, #0 ; =0x0
add x9, x21, w27, sxtw #2
add w10, w27, #1
LBB0_8: ; Parent Loop BB0_6 Depth=1
; => This Inner Loop Header: Depth=2
ldr w11, [x9, x8, lsl #2]
mov x22, x10
ldr x10, [x20]
ldr x10, [x10, x23, lsl #3]
cmp w11, #255
csel w11, w13, w11, eq
str w11, [x10, x8, lsl #2]
add x8, x8, #1
ldrsw x11, [x12]
add w10, w22, #1
cmp x8, x11
b.lt LBB0_8
; %bb.9: ; in Loop: Header=BB0_6 Depth=1
cmp w11, #1
b.le LBB0_13
; %bb.10: ; in Loop: Header=BB0_6 Depth=1
mov x8, #0 ; =0x0
add x9, x21, w22, sxtw #2
Lloh21:
adrp x14, _MAX_CHNL_GROUP_5G@GOTPAGE
Lloh22:
ldr x14, [x14, _MAX_CHNL_GROUP_5G@GOTPAGEOFF]
LBB0_11: ; Parent Loop BB0_6 Depth=1
; => This Inner Loop Header: Depth=2
ldr w10, [x9], #4
ldr x11, [x20, #8]
ldr x11, [x11, x23, lsl #3]
cmp w10, #255
csel w10, w13, w10, eq
str w10, [x11, x8, lsl #2]
add x8, x8, #1
ldrsw x10, [x12]
sub x10, x10, #1
add w22, w22, #1
cmp x8, x10
b.lt LBB0_11
b LBB0_15
LBB0_12: ; in Loop: Header=BB0_6 Depth=1
mov x22, x27
b LBB0_14
LBB0_13: ; in Loop: Header=BB0_6 Depth=1
add x22, x8, w27, uxtw
; kill: def $w22 killed $w22 killed $x22 def $x22
LBB0_14: ; in Loop: Header=BB0_6 Depth=1
Lloh23:
adrp x14, _MAX_CHNL_GROUP_5G@GOTPAGE
Lloh24:
ldr x14, [x14, _MAX_CHNL_GROUP_5G@GOTPAGEOFF]
LBB0_15: ; in Loop: Header=BB0_6 Depth=1
ldr w8, [x26]
cmp w8, #1
b.lt LBB0_48
; %bb.16: ; in Loop: Header=BB0_6 Depth=1
mov x27, #0 ; =0x0
b LBB0_20
LBB0_17: ; in Loop: Header=BB0_20 Depth=2
ldr x8, [x20, #40]
ldr x8, [x8, x23, lsl #3]
str w28, [x8, x27, lsl #2]
LBB0_18: ; in Loop: Header=BB0_20 Depth=2
mov w8, #2 ; =0x2
LBB0_19: ; in Loop: Header=BB0_20 Depth=2
add w22, w22, w8
add x27, x27, #1
ldrsw x8, [x26]
cmp x27, x8
b.ge LBB0_47
LBB0_20: ; Parent Loop BB0_6 Depth=1
; => This Inner Loop Header: Depth=2
cbz x27, LBB0_23
; %bb.21: ; in Loop: Header=BB0_20 Depth=2
ldr w8, [x21, w22, sxtw #2]
cmp w8, #255
b.ne LBB0_25
; %bb.22: ; in Loop: Header=BB0_20 Depth=2
ldr x8, [x20, #32]
ldr x8, [x8, x23, lsl #3]
str w28, [x8, x27, lsl #2]
b LBB0_27
LBB0_23: ; in Loop: Header=BB0_20 Depth=2
ldr x8, [x20, #32]
ldr x8, [x8, x23, lsl #3]
str wzr, [x8]
ldr w8, [x21, w22, sxtw #2]
cmp w8, #255
b.ne LBB0_38
; %bb.24: ; in Loop: Header=BB0_20 Depth=2
ldr x8, [x20, #16]
ldr x8, [x8, x23, lsl #3]
mov w9, #2 ; =0x2
b LBB0_40
LBB0_25: ; in Loop: Header=BB0_20 Depth=2
ubfx w25, w8, #4, #4
ldr x8, [x20, #32]
ldr x8, [x8, x23, lsl #3]
str w25, [x8, x27, lsl #2]
mov w0, #3 ; =0x3
bl _BIT
tst w0, w25
b.eq LBB0_27
; %bb.26: ; in Loop: Header=BB0_20 Depth=2
ldr x8, [x20, #32]
ldr x8, [x8, x23, lsl #3]
ldr w9, [x8, x27, lsl #2]
orr w9, w9, #0xf0
str w9, [x8, x27, lsl #2]
LBB0_27: ; in Loop: Header=BB0_20 Depth=2
ldr w8, [x21, w22, sxtw #2]
cmp w8, #255
b.ne LBB0_29
; %bb.28: ; in Loop: Header=BB0_20 Depth=2
ldr x8, [x20, #16]
ldr x8, [x8, x23, lsl #3]
str w28, [x8, x27, lsl #2]
b LBB0_31
LBB0_29: ; in Loop: Header=BB0_20 Depth=2
and w25, w8, #0xf
ldr x8, [x20, #16]
ldr x8, [x8, x23, lsl #3]
str w25, [x8, x27, lsl #2]
mov w0, #3 ; =0x3
bl _BIT
tst w0, w25
b.eq LBB0_31
; %bb.30: ; in Loop: Header=BB0_20 Depth=2
ldr x8, [x20, #16]
ldr x8, [x8, x23, lsl #3]
ldr w9, [x8, x27, lsl #2]
orr w9, w9, #0xf0
str w9, [x8, x27, lsl #2]
LBB0_31: ; in Loop: Header=BB0_20 Depth=2
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr w8, [x8, w22, sxtw #2]
cmp w8, #255
b.ne LBB0_33
; %bb.32: ; in Loop: Header=BB0_20 Depth=2
ldr x8, [x20, #24]
ldr x8, [x8, x23, lsl #3]
str w28, [x8, x27, lsl #2]
b LBB0_35
LBB0_33: ; in Loop: Header=BB0_20 Depth=2
ubfx w25, w8, #4, #4
ldr x8, [x20, #24]
ldr x8, [x8, x23, lsl #3]
str w25, [x8, x27, lsl #2]
mov w0, #3 ; =0x3
bl _BIT
tst w0, w25
b.eq LBB0_35
; %bb.34: ; in Loop: Header=BB0_20 Depth=2
ldr x8, [x20, #24]
ldr x8, [x8, x23, lsl #3]
ldr w9, [x8, x27, lsl #2]
orr w9, w9, #0xf0
str w9, [x8, x27, lsl #2]
LBB0_35: ; in Loop: Header=BB0_20 Depth=2
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr w8, [x8, w22, sxtw #2]
cmp w8, #255
b.eq LBB0_17
; %bb.36: ; in Loop: Header=BB0_20 Depth=2
and w25, w8, #0xf
ldr x8, [x20, #40]
ldr x8, [x8, x23, lsl #3]
str w25, [x8, x27, lsl #2]
mov w0, #3 ; =0x3
bl _BIT
tst w0, w25
b.eq LBB0_18
; %bb.37: ; in Loop: Header=BB0_20 Depth=2
ldr x8, [x20, #40]
ldr x8, [x8, x23, lsl #3]
ldr w9, [x8, x27, lsl #2]
orr w9, w9, #0xf0
str w9, [x8, x27, lsl #2]
b LBB0_18
LBB0_38: ; in Loop: Header=BB0_20 Depth=2
ubfx w25, w8, #4, #4
ldr x8, [x20, #16]
ldr x8, [x8, x23, lsl #3]
str w25, [x8]
mov w0, #3 ; =0x3
bl _BIT
tst w0, w25
b.eq LBB0_41
; %bb.39: ; in Loop: Header=BB0_20 Depth=2
ldr x8, [x20, #16]
ldr x8, [x8, x23, lsl #3]
ldr w9, [x8]
orr w9, w9, #0xf0
LBB0_40: ; in Loop: Header=BB0_20 Depth=2
str w9, [x8]
LBB0_41: ; in Loop: Header=BB0_20 Depth=2
mov x8, x22
ldr w8, [x21, w8, sxtw #2]
cmp w8, #255
b.ne LBB0_43
; %bb.42: ; in Loop: Header=BB0_20 Depth=2
ldr x8, [x20, #24]
ldr x8, [x8, x23, lsl #3]
mov w9, #4 ; =0x4
b LBB0_45
LBB0_43: ; in Loop: Header=BB0_20 Depth=2
and w25, w8, #0xf
ldr x8, [x20, #24]
ldr x8, [x8, x23, lsl #3]
str w25, [x8]
mov w0, #3 ; =0x3
bl _BIT
tst w0, w25
b.eq LBB0_46
; %bb.44: ; in Loop: Header=BB0_20 Depth=2
ldr x8, [x20, #24]
ldr x8, [x8, x23, lsl #3]
ldr w9, [x8]
orr w9, w9, #0xf0
LBB0_45: ; in Loop: Header=BB0_20 Depth=2
str w9, [x8]
LBB0_46: ; in Loop: Header=BB0_20 Depth=2
ldr x8, [x20, #40]
ldr x8, [x8, x23, lsl #3]
str wzr, [x8]
mov w8, #1 ; =0x1
b LBB0_19
LBB0_47: ; in Loop: Header=BB0_6 Depth=1
Lloh25:
adrp x14, _MAX_CHNL_GROUP_5G@GOTPAGE
Lloh26:
ldr x14, [x14, _MAX_CHNL_GROUP_5G@GOTPAGEOFF]
LBB0_48: ; in Loop: Header=BB0_6 Depth=1
ldr w9, [x14]
cmp w9, #1
b.lt LBB0_52
; %bb.49: ; in Loop: Header=BB0_6 Depth=1
mov x8, #0 ; =0x0
add x9, x21, w22, sxtw #2
LBB0_50: ; Parent Loop BB0_6 Depth=1
; => This Inner Loop Header: Depth=2
ldr w10, [x9, x8, lsl #2]
ldr x11, [x19]
ldr x11, [x11, x23, lsl #3]
cmp w10, #255
csel w10, w28, w10, eq
str w10, [x11, x8, lsl #2]
add x8, x8, #1
ldrsw x10, [x14]
cmp x8, x10
b.lt LBB0_50
; %bb.51: ; in Loop: Header=BB0_6 Depth=1
add w22, w22, w8
ldr w8, [x26]
LBB0_52: ; in Loop: Header=BB0_6 Depth=1
cmp w8, #1
b.lt LBB0_73
; %bb.53: ; in Loop: Header=BB0_6 Depth=1
mov x27, #0 ; =0x0
add x25, x21, w22, sxtw #2
b LBB0_56
LBB0_54: ; in Loop: Header=BB0_56 Depth=2
ldr x8, [x19, #16]
ldr x8, [x8, x23, lsl #3]
str w28, [x8, x27, lsl #2]
LBB0_55: ; in Loop: Header=BB0_56 Depth=2
add x27, x27, #1
ldrsw x8, [x26]
cmp x27, x8
b.ge LBB0_72
LBB0_56: ; Parent Loop BB0_6 Depth=1
; => This Inner Loop Header: Depth=2
cbz x27, LBB0_59
; %bb.57: ; in Loop: Header=BB0_56 Depth=2
ldr w8, [x25, x27, lsl #2]
cmp w8, #255
b.ne LBB0_61
; %bb.58: ; in Loop: Header=BB0_56 Depth=2
ldr x8, [x19, #40]
ldr x8, [x8, x23, lsl #3]
str w28, [x8, x27, lsl #2]
b LBB0_63
LBB0_59: ; in Loop: Header=BB0_56 Depth=2
ldr x8, [x19, #40]
ldr x8, [x8, x23, lsl #3]
str wzr, [x8]
ldr w8, [x25, x27, lsl #2]
cmp w8, #255
b.ne LBB0_66
; %bb.60: ; in Loop: Header=BB0_56 Depth=2
ldr x8, [x19, #16]
ldr x8, [x8, x23, lsl #3]
str wzr, [x8]
b LBB0_68
LBB0_61: ; in Loop: Header=BB0_56 Depth=2
ubfx w24, w8, #4, #4
ldr x8, [x19, #40]
ldr x8, [x8, x23, lsl #3]
str w24, [x8, x27, lsl #2]
mov w0, #3 ; =0x3
bl _BIT
tst w0, w24
b.eq LBB0_63
; %bb.62: ; in Loop: Header=BB0_56 Depth=2
ldr x8, [x19, #40]
ldr x8, [x8, x23, lsl #3]
ldr w9, [x8, x27, lsl #2]
orr w9, w9, #0xf0
str w9, [x8, x27, lsl #2]
LBB0_63: ; in Loop: Header=BB0_56 Depth=2
ldr w8, [x25, x27, lsl #2]
cmp w8, #255
b.eq LBB0_54
; %bb.64: ; in Loop: Header=BB0_56 Depth=2
and w24, w8, #0xf
ldr x8, [x19, #16]
ldr x8, [x8, x23, lsl #3]
str w24, [x8, x27, lsl #2]
mov w0, #3 ; =0x3
bl _BIT
tst w0, w24
b.eq LBB0_55
; %bb.65: ; in Loop: Header=BB0_56 Depth=2
ldr x8, [x19, #16]
ldr x8, [x8, x23, lsl #3]
ldr w9, [x8, x27, lsl #2]
orr w9, w9, #0xf0
str w9, [x8, x27, lsl #2]
b LBB0_55
LBB0_66: ; in Loop: Header=BB0_56 Depth=2
ubfx w24, w8, #4, #4
ldr x8, [x19, #16]
ldr x8, [x8, x23, lsl #3]
str w24, [x8]
mov w0, #3 ; =0x3
bl _BIT
tst w0, w24
b.eq LBB0_68
; %bb.67: ; in Loop: Header=BB0_56 Depth=2
ldr x8, [x19, #16]
ldr x8, [x8, x23, lsl #3]
ldr w9, [x8]
orr w9, w9, #0xf0
str w9, [x8]
LBB0_68: ; in Loop: Header=BB0_56 Depth=2
ldr w8, [x25, x27, lsl #2]
cmp w8, #255
b.ne LBB0_70
; %bb.69: ; in Loop: Header=BB0_56 Depth=2
ldr x8, [x19, #8]
ldr x8, [x8, x23, lsl #3]
mov w9, #4 ; =0x4
str w9, [x8]
b LBB0_55
LBB0_70: ; in Loop: Header=BB0_56 Depth=2
and w24, w8, #0xf
ldr x8, [x19, #8]
ldr x8, [x8, x23, lsl #3]
str w24, [x8]
mov w0, #3 ; =0x3
bl _BIT
tst w0, w24
b.eq LBB0_55
; %bb.71: ; in Loop: Header=BB0_56 Depth=2
ldr x8, [x19, #8]
ldr x8, [x8, x23, lsl #3]
ldr w9, [x8]
orr w9, w9, #0xf0
str w9, [x8]
b LBB0_55
LBB0_72: ; in Loop: Header=BB0_6 Depth=1
add w22, w22, w27
; kill: def $w8 killed $w8 killed $x8 def $x8
LBB0_73: ; in Loop: Header=BB0_6 Depth=1
mov x9, x22
sxtw x25, w9
ldr w9, [x21, w22, sxtw #2]
cmp w9, #255
b.ne LBB0_75
; %bb.74: ; in Loop: Header=BB0_6 Depth=1
ldr x9, [x19, #8]
ldr x9, [x9, x23, lsl #3]
mov w10, #254 ; =0xfe
str w10, [x9, #4]
b LBB0_76
LBB0_75: ; in Loop: Header=BB0_6 Depth=1
ubfx w10, w9, #4, #4
ldr x9, [x19, #8]
ldr x9, [x9, x23, lsl #3]
str w10, [x9, #4]
ldr w10, [x21, x25, lsl #2]
and w10, w10, #0xf
LBB0_76: ; in Loop: Header=BB0_6 Depth=1
str w10, [x9, #8]
ldr x10, [sp, #24] ; 8-byte Folded Reload
ldr w10, [x10, x25, lsl #2]
and w11, w10, #0xf
cmp w10, #255
csel w10, w28, w11, eq
str w10, [x9, #12]
cmp w8, #1
b.le LBB0_84
; %bb.77: ; in Loop: Header=BB0_6 Depth=1
mov w22, #1 ; =0x1
b LBB0_80
LBB0_78: ; in Loop: Header=BB0_80 Depth=2
str w28, [x8, x22, lsl #2]
LBB0_79: ; in Loop: Header=BB0_80 Depth=2
add x22, x22, #1
ldrsw x8, [x26]
cmp x22, x8
b.ge LBB0_83
LBB0_80: ; Parent Loop BB0_6 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [x19, #8]
ldr x8, [x8, x23, lsl #3]
ldr w27, [x8, x22, lsl #2]
cmp w27, #255
b.eq LBB0_78
; %bb.81: ; in Loop: Header=BB0_80 Depth=2
mov w0, #3 ; =0x3
bl _BIT
tst w0, w27
b.eq LBB0_79
; %bb.82: ; in Loop: Header=BB0_80 Depth=2
ldr x8, [x19, #8]
ldr x8, [x8, x23, lsl #3]
ldr w9, [x8, x22, lsl #2]
orr w9, w9, #0xf0
str w9, [x8, x22, lsl #2]
b LBB0_79
LBB0_83: ; in Loop: Header=BB0_6 Depth=1
; kill: def $w8 killed $w8 killed $x8 def $x8
LBB0_84: ; in Loop: Header=BB0_6 Depth=1
add w27, w25, #2
cmp w8, #1
b.lt LBB0_5
; %bb.85: ; in Loop: Header=BB0_6 Depth=1
mov x22, #0 ; =0x0
add x25, x21, w27, sxtw #2
b LBB0_88
LBB0_86: ; in Loop: Header=BB0_88 Depth=2
ldr x8, [x19, #32]
ldr x8, [x8, x23, lsl #3]
str w28, [x8, x22, lsl #2]
LBB0_87: ; in Loop: Header=BB0_88 Depth=2
add x22, x22, #1
ldrsw x8, [x26]
cmp x22, x8
b.ge LBB0_4
LBB0_88: ; Parent Loop BB0_6 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [x25, x22, lsl #2]
cmp w8, #255
b.ne LBB0_90
; %bb.89: ; in Loop: Header=BB0_88 Depth=2
ldr x8, [x19, #24]
ldr x8, [x8, x23, lsl #3]
str w28, [x8, x22, lsl #2]
b LBB0_92
LBB0_90: ; in Loop: Header=BB0_88 Depth=2
ubfx w24, w8, #4, #4
ldr x8, [x19, #24]
ldr x8, [x8, x23, lsl #3]
str w24, [x8, x22, lsl #2]
mov w0, #3 ; =0x3
bl _BIT
tst w0, w24
b.eq LBB0_92
; %bb.91: ; in Loop: Header=BB0_88 Depth=2
ldr x8, [x19, #24]
ldr x8, [x8, x23, lsl #3]
ldr w9, [x8, x22, lsl #2]
orr w9, w9, #0xf0
str w9, [x8, x22, lsl #2]
LBB0_92: ; in Loop: Header=BB0_88 Depth=2
ldr w8, [x25, x22, lsl #2]
cmp w8, #255
b.eq LBB0_86
; %bb.93: ; in Loop: Header=BB0_88 Depth=2
and w24, w8, #0xf
ldr x8, [x19, #32]
ldr x8, [x8, x23, lsl #3]
str w24, [x8, x22, lsl #2]
mov w0, #3 ; =0x3
bl _BIT
tst w0, w24
b.eq LBB0_87
; %bb.94: ; in Loop: Header=BB0_88 Depth=2
ldr x8, [x19, #32]
ldr x8, [x8, x23, lsl #3]
ldr w9, [x8, x22, lsl #2]
orr w9, w9, #0xf0
str w9, [x8, x22, lsl #2]
b LBB0_87
LBB0_95:
ldr w1, [x25]
ldr w2, [x26]
Lloh27:
adrp x3, l_.str.1@PAGE
Lloh28:
add x3, x3, l_.str.1@PAGEOFF
mov x0, x23
bl _RT_TRACE
Lloh29:
adrp x8, _MAX_RF_PATH@GOTPAGE
Lloh30:
ldr x8, [x8, _MAX_RF_PATH@GOTPAGEOFF]
ldr w9, [x8]
cmp w9, #1
b.lt LBB0_113
; %bb.96:
mov x9, #0 ; =0x0
Lloh31:
adrp x10, _MAX_CHNL_GROUP_24G@GOTPAGE
Lloh32:
ldr x10, [x10, _MAX_CHNL_GROUP_24G@GOTPAGEOFF]
mov w11, #45 ; =0x2d
Lloh33:
adrp x12, _MAX_TX_COUNT@GOTPAGE
Lloh34:
ldr x12, [x12, _MAX_TX_COUNT@GOTPAGEOFF]
mov w13, #2 ; =0x2
mov w14, #4 ; =0x4
mov w15, #254 ; =0xfe
Lloh35:
adrp x16, _MAX_CHNL_GROUP_5G@GOTPAGE
Lloh36:
ldr x16, [x16, _MAX_CHNL_GROUP_5G@GOTPAGEOFF]
mov w17, #42 ; =0x2a
b LBB0_98
LBB0_97: ; in Loop: Header=BB0_98 Depth=1
sub x0, x9, #1
ldrsw x1, [x8]
cmp x9, x1
mov x9, x0
b.gt LBB0_113
LBB0_98: ; =>This Loop Header: Depth=1
; Child Loop BB0_100 Depth 2
; Child Loop BB0_104 Depth 2
; Child Loop BB0_107 Depth 2
; Child Loop BB0_112 Depth 2
ldr w0, [x10]
cmp w0, #1
b.lt LBB0_101
; %bb.99: ; in Loop: Header=BB0_98 Depth=1
mov x0, #0 ; =0x0
ldp x1, x2, [x20]
ldr x1, [x1, x9, lsl #3]
ldr x2, [x2, x9, lsl #3]
LBB0_100: ; Parent Loop BB0_98 Depth=1
; => This Inner Loop Header: Depth=2
str w11, [x1, x0, lsl #2]
str w11, [x2, x0, lsl #2]
add x0, x0, #1
ldrsw x3, [x10]
cmp x0, x3
b.lt LBB0_100
LBB0_101: ; in Loop: Header=BB0_98 Depth=1
ldr w1, [x12]
cmp w1, #1
b.lt LBB0_105
; %bb.102: ; in Loop: Header=BB0_98 Depth=1
ldp x0, x1, [x20, #16]
ldr x0, [x0, x9, lsl #3]
str w13, [x0]
ldr x2, [x1, x9, lsl #3]
str w14, [x2]
ldr w1, [x12]
cmp w1, #1
b.le LBB0_105
; %bb.103: ; in Loop: Header=BB0_98 Depth=1
ldp x1, x4, [x20, #32]
ldr x3, [x1, x9, lsl #3]
ldr x4, [x4, x9, lsl #3]
mov w5, #1 ; =0x1
LBB0_104: ; Parent Loop BB0_98 Depth=1
; => This Inner Loop Header: Depth=2
str w15, [x0, x5, lsl #2]
str w15, [x3, x5, lsl #2]
str w15, [x4, x5, lsl #2]
str w15, [x2, x5, lsl #2]
ldrsw x1, [x12]
add x5, x5, #1
cmp x5, x1
b.lt LBB0_104
LBB0_105: ; in Loop: Header=BB0_98 Depth=1
ldr w0, [x16]
cmp w0, #1
b.lt LBB0_109
; %bb.106: ; in Loop: Header=BB0_98 Depth=1
mov x0, #0 ; =0x0
ldr x1, [x19]
ldr x1, [x1, x9, lsl #3]
LBB0_107: ; Parent Loop BB0_98 Depth=1
; => This Inner Loop Header: Depth=2
str w17, [x1, x0, lsl #2]
add x0, x0, #1
ldrsw x2, [x16]
cmp x0, x2
b.lt LBB0_107
; %bb.108: ; in Loop: Header=BB0_98 Depth=1
ldr w1, [x12]
LBB0_109: ; in Loop: Header=BB0_98 Depth=1
cmp w1, #1
b.lt LBB0_97
; %bb.110: ; in Loop: Header=BB0_98 Depth=1
ldp x0, x1, [x19, #8]
ldr x0, [x0, x9, lsl #3]
ldr x1, [x1, x9, lsl #3]
str w14, [x0]
str wzr, [x1]
ldp x2, x3, [x19, #24]
ldr x2, [x2, x9, lsl #3]
str w15, [x2]
ldr x3, [x3, x9, lsl #3]
str w15, [x3]
ldr w4, [x12]
cmp w4, #2
b.lt LBB0_97
; %bb.111: ; in Loop: Header=BB0_98 Depth=1
ldr x4, [x19, #40]
ldr x4, [x4, x9, lsl #3]
mov w5, #1 ; =0x1
LBB0_112: ; Parent Loop BB0_98 Depth=1
; => This Inner Loop Header: Depth=2
str w15, [x0]
str w15, [x1]
str w15, [x4]
str w15, [x2]
str w15, [x3]
ldr w6, [x12]
add w5, w5, #1
cmp w5, w6
b.lt LBB0_112
b LBB0_97
LBB0_113:
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
ldp x28, x27, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #128
ret
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGot Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGot Lloh21, Lloh22
.loh AdrpLdrGot Lloh23, Lloh24
.loh AdrpLdrGot Lloh25, Lloh26
.loh AdrpLdrGot Lloh29, Lloh30
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpLdrGot Lloh35, Lloh36
.loh AdrpLdrGot Lloh33, Lloh34
.loh AdrpLdrGot Lloh31, Lloh32
.cfi_endproc
; -- End function
.comm _EEPROM_TX_PWR_INX,4,2 ; @EEPROM_TX_PWR_INX
.comm _COMP_INIT,4,2 ; @COMP_INIT
.comm _DBG_LOUD,4,2 ; @DBG_LOUD
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "hal_ReadPowerValueFromPROM92E(): PROMContent[0x%x]=0x%x\n"
l_.str.1: ; @.str.1
.asciz "auto load fail : Use Default value!\n"
.comm _MAX_RF_PATH,4,2 ; @MAX_RF_PATH
.comm _MAX_CHNL_GROUP_24G,4,2 ; @MAX_CHNL_GROUP_24G
.comm _MAX_TX_COUNT,4,2 ; @MAX_TX_COUNT
.comm _MAX_CHNL_GROUP_5G,4,2 ; @MAX_CHNL_GROUP_5G
.no_dead_strip __rtl8192ee_read_power_value_fromprom
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _skb_shift ## -- Begin function skb_shift
.p2align 4, 0x90
_skb_shift: ## @skb_shift
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $88, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r12d
movq %rsi, %r15
movq %rdi, %r14
xorl %edi, %edi
cmpl %edx, (%rsi)
setl %dil
callq _BUG_ON
movq %r15, %rdi
callq _skb_headlen
xorl %ebx, %ebx
testq %rax, %rax
jne LBB0_3
## %bb.1:
movq %r14, %rdi
callq _skb_zcopy
testq %rax, %rax
jne LBB0_3
## %bb.2:
movq %r15, %rdi
callq _skb_zcopy
testq %rax, %rax
je LBB0_4
LBB0_3:
movl %ebx, %eax
addq $88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_4:
movq %r14, %rdi
callq _skb_shinfo
movslq (%rax), %r13
movq %r15, %rdi
callq _skb_shinfo
movl $-1, %ecx
movq %rcx, -104(%rbp) ## 8-byte Spill
testq %r13, %r13
movq %r13, -64(%rbp) ## 8-byte Spill
je LBB0_8
## %bb.5:
movq 8(%rax), %rbx
movq %rbx, %rdi
callq _skb_frag_page
movl %eax, -56(%rbp) ## 4-byte Spill
movq %rbx, %rdi
callq _skb_frag_off
movq %r14, %rdi
movl %r13d, %esi
movl -56(%rbp), %edx ## 4-byte Reload
movq $0, -56(%rbp) ## 8-byte Folded Spill
movl %eax, %ecx
callq _skb_can_coalesce
movl %r12d, %ecx
testl %eax, %eax
je LBB0_9
## %bb.6:
movq -64(%rbp), %rax ## 8-byte Reload
incq %rax
movq %rax, -104(%rbp) ## 8-byte Spill
movq %rbx, %rdi
callq _skb_frag_size
movl %r12d, %ecx
subl %eax, %ecx
jle LBB0_21
## %bb.7:
movl $1, %eax
movq %rax, -56(%rbp) ## 8-byte Spill
jmp LBB0_9
LBB0_8:
movq $0, -56(%rbp) ## 8-byte Folded Spill
movl %r12d, %ecx
LBB0_9:
movl %ecx, %r13d
cmpl %r12d, (%r15)
jne LBB0_12
## %bb.10:
movq %r15, %rdi
callq _skb_shinfo
movl (%rax), %eax
subl -56(%rbp), %eax ## 4-byte Folded Reload
movq _MAX_SKB_FRAGS@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
subl -64(%rbp), %ecx ## 4-byte Folded Reload
cmpl %ecx, %eax
jle LBB0_12
LBB0_11:
xorl %ebx, %ebx
jmp LBB0_3
LBB0_12:
movq %r15, %rdi
callq _skb_prepare_for_shift
xorl %ebx, %ebx
testq %rax, %rax
jne LBB0_3
## %bb.13:
movq %r14, %rdi
callq _skb_prepare_for_shift
testq %rax, %rax
jne LBB0_3
## %bb.14:
testl %r13d, %r13d
jle LBB0_24
## %bb.15:
movl %r13d, %esi
movq -64(%rbp), %rax ## 8-byte Reload
movl %eax, %ecx
movq %rcx, -88(%rbp) ## 8-byte Spill
movq -56(%rbp), %r13 ## 8-byte Reload
movl %r13d, %ecx
movq %rcx, -72(%rbp) ## 8-byte Spill
shll $2, %r13d
shlq $2, %rax
movq %rax, -64(%rbp) ## 8-byte Spill
movq %rax, %rcx
negq %rcx
xorl %ebx, %ebx
movq %r13, -56(%rbp) ## 8-byte Spill
LBB0_16: ## =>This Inner Loop Header: Depth=1
movl %esi, -44(%rbp) ## 4-byte Spill
movq %rcx, -120(%rbp) ## 8-byte Spill
movq -72(%rbp), %rax ## 8-byte Reload
addq %rbx, %rax
movq %rax, -80(%rbp) ## 8-byte Spill
movq %r15, %rdi
callq _skb_shinfo
movslq (%rax), %rax
cmpq %rax, -80(%rbp) ## 8-byte Folded Reload
jge LBB0_25
## %bb.17: ## in Loop: Header=BB0_16 Depth=1
movq -88(%rbp), %rax ## 8-byte Reload
addq %rbx, %rax
movq _MAX_SKB_FRAGS@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
je LBB0_11
## %bb.18: ## in Loop: Header=BB0_16 Depth=1
movq %rbx, -96(%rbp) ## 8-byte Spill
movq %r15, %rdi
callq _skb_shinfo
movq 8(%rax), %rbx
leaq (%rbx,%r13), %rax
movq %rax, -80(%rbp) ## 8-byte Spill
movq %r14, %rdi
callq _skb_shinfo
movq 8(%rax), %rax
movq %rax, -112(%rbp) ## 8-byte Spill
movq -80(%rbp), %rdi ## 8-byte Reload
callq _skb_frag_size
cmpl %eax, -44(%rbp) ## 4-byte Folded Reload
jl LBB0_28
## %bb.19: ## in Loop: Header=BB0_16 Depth=1
addq -56(%rbp), %rbx ## 8-byte Folded Reload
movq -112(%rbp), %rdx ## 8-byte Reload
addq -64(%rbp), %rdx ## 8-byte Folded Reload
movq -96(%rbp), %rcx ## 8-byte Reload
movl (%rbx,%rcx,4), %eax
movq %rcx, %rbx
movl %eax, (%rdx,%rcx,4)
movq -80(%rbp), %rdi ## 8-byte Reload
callq _skb_frag_size
incq %rbx
addq $4, %r13
movq -120(%rbp), %rcx ## 8-byte Reload
addq $-4, %rcx
movl -44(%rbp), %esi ## 4-byte Reload
subl %eax, %esi
jg LBB0_16
## %bb.20:
movq -72(%rbp), %rax ## 8-byte Reload
addl %ebx, %eax
movq %rbx, %rcx
movq -88(%rbp), %rbx ## 8-byte Reload
addl %ecx, %ebx
movl $0, -44(%rbp) ## 4-byte Folded Spill
jmp LBB0_26
LBB0_21:
movq %r15, %rdi
callq _skb_prepare_for_shift
xorl %ebx, %ebx
testq %rax, %rax
jne LBB0_3
## %bb.22:
movq %r14, %rdi
callq _skb_prepare_for_shift
testq %rax, %rax
jne LBB0_3
## %bb.23:
movq %r15, %rdi
callq _skb_shinfo
movq 8(%rax), %rbx
movq %r14, %rdi
callq _skb_shinfo
movq -104(%rbp), %rdi ## 8-byte Reload
shlq $2, %rdi
addq 8(%rax), %rdi
movl %r12d, %esi
callq _skb_frag_size_add
movq %rbx, %rdi
movl %r12d, %esi
callq _skb_frag_size_sub
movq %rbx, %rdi
movl %r12d, %esi
callq _skb_frag_off_add
jmp LBB0_38
LBB0_24:
movl $0, -44(%rbp) ## 4-byte Folded Spill
movq -64(%rbp), %rbx ## 8-byte Reload
movq -56(%rbp), %rax ## 8-byte Reload
jmp LBB0_29
LBB0_25:
movq -72(%rbp), %rax ## 8-byte Reload
addl %ebx, %eax
addl -88(%rbp), %ebx ## 4-byte Folded Reload
movb $1, %cl
movl %ecx, -44(%rbp) ## 4-byte Spill
LBB0_26:
## kill: def $eax killed $eax killed $rax def $rax
## kill: def $ebx killed $ebx killed $rbx def $rbx
jmp LBB0_29
LBB0_28:
movq -72(%rbp), %rax ## 8-byte Reload
addl -96(%rbp), %eax ## 4-byte Folded Reload
movq %rax, -72(%rbp) ## 8-byte Spill
movq -80(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rdi
callq ___skb_frag_ref
movq -112(%rbp), %r13 ## 8-byte Reload
subq -120(%rbp), %r13 ## 8-byte Folded Reload
movq %r13, %rdi
movq %rbx, %rsi
callq _skb_frag_page_copy
movq %r13, %rdi
movq %rbx, %rsi
callq _skb_frag_off_copy
movq %r13, %rdi
movl -44(%rbp), %r13d ## 4-byte Reload
movl %r13d, %esi
callq _skb_frag_size_set
movq %rbx, %rdi
movl %r13d, %esi
callq _skb_frag_off_add
movq %rbx, %rdi
movl %r13d, %esi
callq _skb_frag_size_sub
movq -88(%rbp), %rax ## 8-byte Reload
movq -96(%rbp), %rcx ## 8-byte Reload
leal (%rax,%rcx), %ebx
incl %ebx
movl $0, -44(%rbp) ## 4-byte Folded Spill
movq -72(%rbp), %rax ## 8-byte Reload
## kill: def $eax killed $eax killed $rax def $rax
LBB0_29:
movq %rax, -56(%rbp) ## 8-byte Spill
movq %r14, %rdi
callq _skb_shinfo
movl %ebx, (%rax)
movq -104(%rbp), %rax ## 8-byte Reload
testl %eax, %eax
js LBB0_31
## %bb.30:
movq %rax, %r13
movq %r15, %rdi
callq _skb_shinfo
movq 8(%rax), %rbx
movq %r14, %rdi
callq _skb_shinfo
movl %r13d, %r13d
shlq $2, %r13
addq 8(%rax), %r13
movq %rbx, %rdi
callq _skb_frag_size
movq %r13, %rdi
movl %eax, %esi
callq _skb_frag_size_add
movq %rbx, %rdi
callq ___skb_frag_unref
LBB0_31:
movq %r15, %rdi
callq _skb_shinfo
xorl %ebx, %ebx
movl $0, %r13d
movq -56(%rbp), %rcx ## 8-byte Reload
cmpl (%rax), %ecx
jge LBB0_35
## %bb.32:
movq %r14, -64(%rbp) ## 8-byte Spill
movslq %ecx, %rbx
xorl %r13d, %r13d
LBB0_33: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
callq _skb_shinfo
movq 8(%rax), %rax
movl (%rax,%rbx,4), %r14d
incq %rbx
movq %r15, %rdi
callq _skb_shinfo
movq 8(%rax), %rax
movl %r14d, (%rax,%r13,4)
incq %r13
movq %r15, %rdi
callq _skb_shinfo
movslq (%rax), %rax
cmpq %rax, %rbx
jl LBB0_33
## %bb.34:
movq -64(%rbp), %r14 ## 8-byte Reload
xorl %ebx, %ebx
LBB0_35:
movq %r15, %rdi
callq _skb_shinfo
movl %r13d, (%rax)
cmpb $0, -44(%rbp) ## 1-byte Folded Reload
je LBB0_37
## %bb.36:
movq %r15, %rdi
callq _skb_shinfo
xorl %ebx, %ebx
cmpl $0, (%rax)
sete %bl
LBB0_37:
movl %ebx, %edi
callq _BUG_ON
LBB0_38:
movq _CHECKSUM_PARTIAL@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, 16(%r14)
movq %rax, 16(%r15)
movq (%r15), %xmm0 ## xmm0 = mem[0],zero
movd %r12d, %xmm1
pshufd $80, %xmm1, %xmm1 ## xmm1 = xmm1[0,0,1,1]
psubd %xmm1, %xmm0
movq %xmm0, (%r15)
subl %r12d, 8(%r15)
movq (%r14), %xmm0 ## xmm0 = mem[0],zero
paddd %xmm1, %xmm0
movq %xmm0, (%r14)
addl %r12d, 8(%r14)
movl %r12d, %ebx
jmp LBB0_3
.cfi_endproc
## -- End function
.comm _MAX_SKB_FRAGS,4,2 ## @MAX_SKB_FRAGS
.comm _CHECKSUM_PARTIAL,8,3 ## @CHECKSUM_PARTIAL
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _skb_shift ; -- Begin function skb_shift
.p2align 2
_skb_shift: ; @skb_shift
.cfi_startproc
; %bb.0:
sub sp, sp, #144
stp x28, x27, [sp, #48] ; 16-byte Folded Spill
stp x26, x25, [sp, #64] ; 16-byte Folded Spill
stp x24, x23, [sp, #80] ; 16-byte Folded Spill
stp x22, x21, [sp, #96] ; 16-byte Folded Spill
stp x20, x19, [sp, #112] ; 16-byte Folded Spill
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x2
mov x21, x1
mov x20, x0
ldr w8, [x1]
cmp w8, w2
cset w0, lt
bl _BUG_ON
mov x0, x21
bl _skb_headlen
cbnz x0, LBB0_3
; %bb.1:
mov x0, x20
bl _skb_zcopy
cbnz x0, LBB0_3
; %bb.2:
mov x0, x21
bl _skb_zcopy
cbz x0, LBB0_5
LBB0_3:
mov w19, #0 ; =0x0
LBB0_4:
mov x0, x19
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
ldp x20, x19, [sp, #112] ; 16-byte Folded Reload
ldp x22, x21, [sp, #96] ; 16-byte Folded Reload
ldp x24, x23, [sp, #80] ; 16-byte Folded Reload
ldp x26, x25, [sp, #64] ; 16-byte Folded Reload
ldp x28, x27, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #144
ret
LBB0_5:
mov x0, x20
bl _skb_shinfo
ldr w22, [x0]
mov x0, x21
bl _skb_shinfo
cbz w22, LBB0_9
; %bb.6:
ldr x23, [x0, #8]
mov x0, x23
bl _skb_frag_page
mov x24, x0
mov x0, x23
bl _skb_frag_off
mov x3, x0
mov x0, x20
mov x1, x22
mov x2, x24
bl _skb_can_coalesce
cbz w0, LBB0_9
; %bb.7:
add w24, w22, #1
mov x0, x23
bl _skb_frag_size
subs w23, w19, w0
b.le LBB0_21
; %bb.8:
mov w25, #1 ; =0x1
b LBB0_10
LBB0_9:
mov w25, #0 ; =0x0
mov w24, #-1 ; =0xffffffff
mov x23, x19
LBB0_10:
ldr w8, [x21]
cmp w8, w19
b.ne LBB0_12
; %bb.11:
mov x0, x21
bl _skb_shinfo
ldr w8, [x0]
sub w8, w8, w25
Lloh0:
adrp x9, _MAX_SKB_FRAGS@GOTPAGE
Lloh1:
ldr x9, [x9, _MAX_SKB_FRAGS@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
sub w9, w9, w22
cmp w8, w9
b.gt LBB0_3
LBB0_12:
mov x0, x21
bl _skb_prepare_for_shift
cbnz x0, LBB0_3
; %bb.13:
mov x0, x20
bl _skb_prepare_for_shift
cbnz x0, LBB0_3
; %bb.14:
cmp w23, #1
b.lt LBB0_24
; %bb.15:
str w24, [sp, #20] ; 4-byte Folded Spill
mov x26, #0 ; =0x0
mov x27, #0 ; =0x0
sxtw x8, w22
ubfiz x9, x25, #2, #32
str x8, [sp, #8] ; 8-byte Folded Spill
lsl x8, x8, #2
stp x8, x9, [sp, #24] ; 16-byte Folded Spill
mov w8, w25
str x8, [sp, #40] ; 8-byte Folded Spill
LBB0_16: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
add x24, x8, x27
mov x0, x21
bl _skb_shinfo
ldrsw x8, [x0]
cmp x24, x8
b.ge LBB0_25
; %bb.17: ; in Loop: Header=BB0_16 Depth=1
Lloh3:
adrp x8, _MAX_SKB_FRAGS@GOTPAGE
Lloh4:
ldr x8, [x8, _MAX_SKB_FRAGS@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
add x9, x22, x27
cmp w9, w8
b.eq LBB0_3
; %bb.18: ; in Loop: Header=BB0_16 Depth=1
mov x0, x21
bl _skb_shinfo
ldr x28, [x0, #8]
ldr x8, [sp, #32] ; 8-byte Folded Reload
add x25, x28, x8
mov x0, x20
bl _skb_shinfo
ldr x24, [x0, #8]
add x0, x25, x26
bl _skb_frag_size
cmp w23, w0
b.lt LBB0_26
; %bb.19: ; in Loop: Header=BB0_16 Depth=1
ldr x8, [sp, #24] ; 8-byte Folded Reload
add x8, x24, x8
ldr w9, [x25, x27, lsl #2]
str w9, [x8, x27, lsl #2]
add x0, x25, x26
bl _skb_frag_size
add x27, x27, #1
add x26, x26, #4
subs w23, w23, w0
b.gt LBB0_16
; %bb.20:
mov w26, #0 ; =0x0
ldr x8, [sp, #40] ; 8-byte Folded Reload
add w25, w8, w27
add w22, w22, w27
b LBB0_27
LBB0_21:
mov x0, x21
bl _skb_prepare_for_shift
cbnz x0, LBB0_3
; %bb.22:
mov x0, x20
bl _skb_prepare_for_shift
cbnz x0, LBB0_3
; %bb.23:
mov x0, x21
bl _skb_shinfo
ldr x22, [x0, #8]
mov x0, x20
bl _skb_shinfo
ldr x8, [x0, #8]
add x0, x8, w24, sxtw #2
mov x1, x19
bl _skb_frag_size_add
mov x0, x22
mov x1, x19
bl _skb_frag_size_sub
mov x0, x22
mov x1, x19
bl _skb_frag_off_add
b LBB0_38
LBB0_24:
mov w26, #0 ; =0x0
b LBB0_28
LBB0_25:
ldr x8, [sp, #40] ; 8-byte Folded Reload
add w25, w8, w27
add w22, w22, w27
mov w26, #1 ; =0x1
b LBB0_27
LBB0_26:
ldr x8, [sp, #40] ; 8-byte Folded Reload
add w25, w8, w27
add x28, x28, x8, lsl #2
add x0, x28, x26
bl ___skb_frag_ref
ldr x8, [sp, #8] ; 8-byte Folded Reload
add x24, x24, x8, lsl #2
add x0, x24, x26
add x1, x28, x26
bl _skb_frag_page_copy
add x0, x24, x26
add x1, x28, x26
bl _skb_frag_off_copy
add x0, x24, x26
mov x1, x23
bl _skb_frag_size_set
add x0, x28, x26
mov x1, x23
bl _skb_frag_off_add
add x0, x28, x26
mov x1, x23
bl _skb_frag_size_sub
mov w26, #0 ; =0x0
add w8, w22, w27
add w22, w8, #1
LBB0_27:
ldr w24, [sp, #20] ; 4-byte Folded Reload
LBB0_28:
mov x0, x20
bl _skb_shinfo
str w22, [x0]
tbnz w24, #31, LBB0_30
; %bb.29:
mov x0, x21
bl _skb_shinfo
ldr x22, [x0, #8]
mov x0, x20
bl _skb_shinfo
ldr x8, [x0, #8]
add x23, x8, w24, uxtw #2
mov x0, x22
bl _skb_frag_size
mov x1, x0
mov x0, x23
bl _skb_frag_size_add
mov x0, x22
bl ___skb_frag_unref
LBB0_30:
mov x0, x21
bl _skb_shinfo
ldr w8, [x0]
cmp w25, w8
b.ge LBB0_33
; %bb.31:
mov x22, #0 ; =0x0
; kill: def $w25 killed $w25 killed $x25 def $x25
sxtw x23, w25
LBB0_32: ; =>This Inner Loop Header: Depth=1
mov x24, x22
mov x0, x21
bl _skb_shinfo
ldr x8, [x0, #8]
add x25, x23, #1
ldr w23, [x8, x23, lsl #2]
mov x0, x21
bl _skb_shinfo
ldr x8, [x0, #8]
add x22, x22, #1
str w23, [x8, x24, lsl #2]
mov x0, x21
bl _skb_shinfo
ldrsw x8, [x0]
mov x23, x25
cmp x25, x8
b.lt LBB0_32
b LBB0_34
LBB0_33:
mov w22, #0 ; =0x0
LBB0_34:
mov x0, x21
bl _skb_shinfo
str w22, [x0]
cbz w26, LBB0_36
; %bb.35:
mov x0, x21
bl _skb_shinfo
ldr w8, [x0]
cmp w8, #0
cset w0, eq
b LBB0_37
LBB0_36:
mov w0, #0 ; =0x0
LBB0_37:
bl _BUG_ON
LBB0_38:
Lloh6:
adrp x8, _CHECKSUM_PARTIAL@GOTPAGE
Lloh7:
ldr x8, [x8, _CHECKSUM_PARTIAL@GOTPAGEOFF]
Lloh8:
ldr x8, [x8]
str x8, [x20, #16]
str x8, [x21, #16]
dup.2s v0, w19
ldr d1, [x21]
sub.2s v1, v1, v0
str d1, [x21]
ldr w8, [x21, #8]
sub w8, w8, w19
str w8, [x21, #8]
ldr d1, [x20]
add.2s v0, v1, v0
str d0, [x20]
ldr w8, [x20, #8]
add w8, w8, w19
str w8, [x20, #8]
b LBB0_4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _MAX_SKB_FRAGS,4,2 ; @MAX_SKB_FRAGS
.comm _CHECKSUM_PARTIAL,8,3 ; @CHECKSUM_PARTIAL
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function nvme_pci_setup_sgls
_nvme_pci_setup_sgls: ## @nvme_pci_setup_sgls
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, %r14d
movq %rdx, %rbx
movq %rdi, %r13
movq %rsi, -56(%rbp) ## 8-byte Spill
movq %rsi, %rdi
callq _blk_mq_rq_to_pdu
movq %rax, %r15
movq 8(%rax), %r12
movq _NVME_CMD_SGL_METABUF@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 4(%rbx)
cmpl $1, %r14d
jne LBB0_3
## %bb.1:
movq %rbx, %rdi
movq %r12, %rsi
callq _nvme_pci_sgl_set_data
LBB0_2:
movq _BLK_STS_OK@GOTPCREL(%rip), %rax
jmp LBB0_11
LBB0_3:
xorl %eax, %eax
xorl %ecx, %ecx
cmpl $65, %r14d
setb %al
setae %cl
movq (%r13,%rax,8), %rdi
movl %ecx, (%r15)
movq _GFP_ATOMIC@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -44(%rbp), %rdx
movq %rdi, -72(%rbp) ## 8-byte Spill
callq _dma_pool_alloc
testq %rax, %rax
je LBB0_9
## %bb.4:
movq %rax, %r13
movq -56(%rbp), %rdi ## 8-byte Reload
callq _nvme_pci_iod_list
movq %r13, (%rax)
movl -44(%rbp), %esi
movq %r15, -64(%rbp) ## 8-byte Spill
movl %esi, 4(%r15)
movq %rbx, %rdi
movl %r14d, %edx
callq _nvme_pci_sgl_set_seg
xorl %r15d, %r15d
movq _SGES_PER_PAGE@GOTPCREL(%rip), %rbx
jmp LBB0_6
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_6 Depth=1
movslq %r15d, %rax
incl %r15d
leaq (,%rax,4), %rdi
addq %r13, %rdi
movq %r12, %rsi
callq _nvme_pci_sgl_set_data
movq %r12, %rdi
callq _sg_next
movq %rax, %r12
leal -1(%r14), %eax
cmpl $1, %r14d
movl %eax, %r14d
jle LBB0_2
LBB0_6: ## =>This Inner Loop Header: Depth=1
cmpl (%rbx), %r15d
jne LBB0_5
## %bb.7: ## in Loop: Header=BB0_6 Depth=1
movq _GFP_ATOMIC@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq -72(%rbp), %rdi ## 8-byte Reload
leaq -44(%rbp), %rdx
callq _dma_pool_alloc
testq %rax, %rax
je LBB0_10
## %bb.8: ## in Loop: Header=BB0_6 Depth=1
movq %rax, %rbx
movq %r12, -80(%rbp) ## 8-byte Spill
movq %r13, %r12
movslq %r15d, %r13
leaq (%r12,%r13,4), %r15
addq $-4, %r15
movq -56(%rbp), %rdi ## 8-byte Reload
callq _nvme_pci_iod_list
movq -64(%rbp), %rsi ## 8-byte Reload
movslq (%rsi), %rcx
leal -1(%rcx), %edx
movl %edx, (%rsi)
movq %rbx, (%rax,%rcx,8)
movl -4(%r12,%r13,4), %eax
movq -80(%rbp), %r12 ## 8-byte Reload
movl %eax, (%rbx)
movl -44(%rbp), %esi
movq %r15, %rdi
movl %r14d, %edx
callq _nvme_pci_sgl_set_seg
movl $1, %r15d
movq %rbx, %r13
movq _SGES_PER_PAGE@GOTPCREL(%rip), %rbx
jmp LBB0_5
LBB0_9:
movl $-1, (%r15)
LBB0_10:
movq _BLK_STS_RESOURCE@GOTPCREL(%rip), %rax
LBB0_11:
movl (%rax), %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _NVME_CMD_SGL_METABUF,4,2 ## @NVME_CMD_SGL_METABUF
.comm _BLK_STS_OK,4,2 ## @BLK_STS_OK
.comm _GFP_ATOMIC,4,2 ## @GFP_ATOMIC
.comm _BLK_STS_RESOURCE,4,2 ## @BLK_STS_RESOURCE
.comm _SGES_PER_PAGE,4,2 ## @SGES_PER_PAGE
.no_dead_strip _nvme_pci_setup_sgls
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function nvme_pci_setup_sgls
_nvme_pci_setup_sgls: ; @nvme_pci_setup_sgls
.cfi_startproc
; %bb.0:
sub sp, sp, #112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x3
mov x25, x2
mov x20, x1
mov x23, x0
mov x0, x1
bl _blk_mq_rq_to_pdu
ldr x22, [x0, #8]
Lloh0:
adrp x8, _NVME_CMD_SGL_METABUF@GOTPAGE
Lloh1:
ldr x8, [x8, _NVME_CMD_SGL_METABUF@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
str w8, [x25, #4]
cmp w19, #1
b.ne LBB0_3
; %bb.1:
mov x0, x25
mov x1, x22
bl _nvme_pci_sgl_set_data
LBB0_2:
Lloh3:
adrp x27, _BLK_STS_OK@GOTPAGE
Lloh4:
ldr x27, [x27, _BLK_STS_OK@GOTPAGEOFF]
b LBB0_10
LBB0_3:
mov x21, x0
cmp w19, #64
cset w8, hi
cmp w19, #65
cset w9, lo
ldr x23, [x23, w9, uxtw #3]
str w8, [x0]
Lloh5:
adrp x8, _GFP_ATOMIC@GOTPAGE
Lloh6:
ldr x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh7:
ldr w1, [x8]
add x2, sp, #12
mov x0, x23
bl _dma_pool_alloc
cbz x0, LBB0_9
; %bb.4:
mov x24, x0
mov x0, x20
bl _nvme_pci_iod_list
str x24, [x0]
ldr w1, [sp, #12]
str w1, [x21, #4]
mov x0, x25
mov x2, x19
bl _nvme_pci_sgl_set_seg
mov w26, #0 ; =0x0
Lloh8:
adrp x28, _SGES_PER_PAGE@GOTPAGE
Lloh9:
ldr x28, [x28, _SGES_PER_PAGE@GOTPAGEOFF]
Lloh10:
adrp x27, _BLK_STS_RESOURCE@GOTPAGE
Lloh11:
ldr x27, [x27, _BLK_STS_RESOURCE@GOTPAGEOFF]
b LBB0_6
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
add w25, w26, #1
add x0, x24, w26, sxtw #2
mov x1, x22
bl _nvme_pci_sgl_set_data
mov x0, x22
bl _sg_next
mov x22, x0
mov x26, x25
subs w19, w19, #1
b.le LBB0_2
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldr w8, [x28]
cmp w26, w8
b.ne LBB0_5
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
Lloh12:
adrp x8, _GFP_ATOMIC@GOTPAGE
Lloh13:
ldr x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh14:
ldr w1, [x8]
add x2, sp, #12
mov x0, x23
bl _dma_pool_alloc
cbz x0, LBB0_10
; %bb.8: ; in Loop: Header=BB0_6 Depth=1
mov x25, x0
add x24, x24, w26, sxtw #2
mov x0, x20
bl _nvme_pci_iod_list
ldrsw x8, [x21]
sub w9, w8, #1
str w9, [x21]
str x25, [x0, x8, lsl #3]
ldr w8, [x24, #-4]!
str w8, [x25]
ldr w1, [sp, #12]
mov x0, x24
mov x2, x19
bl _nvme_pci_sgl_set_seg
mov w26, #1 ; =0x1
mov x24, x25
b LBB0_5
LBB0_9:
mov w8, #-1 ; =0xffffffff
str w8, [x21]
Lloh15:
adrp x27, _BLK_STS_RESOURCE@GOTPAGE
Lloh16:
ldr x27, [x27, _BLK_STS_RESOURCE@GOTPAGEOFF]
LBB0_10:
ldr w0, [x27]
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGot Lloh15, Lloh16
.cfi_endproc
; -- End function
.comm _NVME_CMD_SGL_METABUF,4,2 ; @NVME_CMD_SGL_METABUF
.comm _BLK_STS_OK,4,2 ; @BLK_STS_OK
.comm _GFP_ATOMIC,4,2 ; @GFP_ATOMIC
.comm _BLK_STS_RESOURCE,4,2 ; @BLK_STS_RESOURCE
.comm _SGES_PER_PAGE,4,2 ; @SGES_PER_PAGE
.no_dead_strip _nvme_pci_setup_sgls
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function check_dup
_check_dup: ## @check_dup
.cfi_startproc
## %bb.0:
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
callq _net_buf_simple_tail
movq %rax, %rbx
leaq -16(%rax), %rdi
callq _sys_get_be32
movl %eax, %r14d
addq $-32, %rbx
movq %rbx, %rdi
callq _sys_get_be32
movl %eax, %ebx
xorl %r14d, %ebx
movq _dup_cache@GOTPCREL(%rip), %r14
movq (%r14), %rdi
callq _ARRAY_SIZE
testl %eax, %eax
js LBB0_5
## %bb.1:
xorl %r15d, %r15d
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq (%r14), %rdi
cmpl %ebx, (%rdi,%r15,4)
je LBB0_4
## %bb.2: ## in Loop: Header=BB0_3 Depth=1
decq %r15
callq _ARRAY_SIZE
cltq
cmpq %rax, %r15
jle LBB0_3
LBB0_5:
movq (%r14), %rdi
movq _dup_cache_next@GOTPCREL(%rip), %r14
movslq (%r14), %rax
leal 1(%rax), %ecx
movl %ecx, (%r14)
movl %ebx, (%rdi,%rax,4)
callq _ARRAY_SIZE
movl %eax, %ecx
movl (%r14), %eax
cltd
idivl %ecx
movl %edx, (%r14)
xorl %eax, %eax
jmp LBB0_6
LBB0_4:
movl $1, %eax
LBB0_6:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _dup_cache,8,3 ## @dup_cache
.comm _dup_cache_next,4,2 ## @dup_cache_next
.no_dead_strip _check_dup
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function check_dup
_check_dup: ; @check_dup
.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
bl _net_buf_simple_tail
mov x19, x0
sub x0, x0, #16
bl _sys_get_be32
mov x20, x0
sub x0, x19, #32
bl _sys_get_be32
eor w19, w0, w20
Lloh0:
adrp x20, _dup_cache@GOTPAGE
Lloh1:
ldr x20, [x20, _dup_cache@GOTPAGEOFF]
ldr x0, [x20]
bl _ARRAY_SIZE
tbnz w0, #31, LBB0_4
; %bb.1:
mov x21, #0 ; =0x0
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x0, [x20]
ldr w8, [x0, x21, lsl #2]
cmp w8, w19
b.eq LBB0_5
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
sub x21, x21, #1
bl _ARRAY_SIZE
cmp x21, w0, sxtw
b.le LBB0_2
LBB0_4:
Lloh2:
adrp x21, _dup_cache_next@GOTPAGE
Lloh3:
ldr x21, [x21, _dup_cache_next@GOTPAGEOFF]
ldr x0, [x20]
ldrsw x8, [x21]
add w9, w8, #1
str w9, [x21]
str w19, [x0, x8, lsl #2]
bl _ARRAY_SIZE
mov x8, x0
mov w0, #0 ; =0x0
ldr w9, [x21]
sdiv w10, w9, w8
msub w8, w10, w8, w9
str w8, [x21]
b LBB0_6
LBB0_5:
mov w0, #1 ; =0x1
LBB0_6:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.cfi_endproc
; -- End function
.comm _dup_cache,8,3 ; @dup_cache
.comm _dup_cache_next,4,2 ; @dup_cache_next
.no_dead_strip _check_dup
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _read_ ## -- Begin function read_
.p2align 4, 0x90
_read_: ## @read_
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edi, %ebx
xorl %r13d, %r13d
movl $1025, %r14d ## imm = 0x401
xorl %r12d, %r12d
xorl %r15d, %r15d
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
testq %r12, %r12
je LBB0_2
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
testl $1023, %r15d ## imm = 0x3FF
jne LBB0_6
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
movq %r12, %rdi
movl %r14d, %esi
callq _realloc
jmp LBB0_5
.p2align 4, 0x90
LBB0_2: ## in Loop: Header=BB0_1 Depth=1
movl $1024, %edi ## imm = 0x400
movl $2, %esi
callq _calloc
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movq %rax, %r12
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movl %ebx, %edi
leaq -41(%rbp), %rsi
movl $1, %edx
callq _read
cmpl $1, %eax
jne LBB0_8
## %bb.7: ## in Loop: Header=BB0_1 Depth=1
movzbl -41(%rbp), %eax
movb %al, (%r12,%r13)
decq %r13
incl %r15d
addl $1024, %r14d ## imm = 0x400
cmpl $5121, %r15d ## imm = 0x1401
jne LBB0_1
LBB0_8:
movq %r12, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _read_ ; -- Begin function read_
.p2align 2
_read_: ; @read_
.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, x0
mov x22, #0 ; =0x0
mov x20, #0 ; =0x0
mov w21, #0 ; =0x0
mov w23, #5121 ; =0x1401
mov w24, #1025 ; =0x401
LBB0_1: ; =>This Inner Loop Header: Depth=1
cbz x20, LBB0_4
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
tst w21, #0x3ff
b.ne LBB0_6
; %bb.3: ; in Loop: Header=BB0_1 Depth=1
orr w1, w24, w21, lsl #10
mov x0, x20
bl _realloc
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
mov w0, #1024 ; =0x400
mov w1, #2 ; =0x2
bl _calloc
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
mov x20, x0
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
add x1, sp, #15
mov x0, x19
mov w2, #1 ; =0x1
bl _read
cmp w0, #1
b.ne LBB0_8
; %bb.7: ; in Loop: Header=BB0_1 Depth=1
ldrb w8, [sp, #15]
strb w8, [x20, x22]
sub x22, x22, #1
add w21, w21, #1
cmp w21, w23
b.ne LBB0_1
LBB0_8:
mov x0, x20
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _adns__findrr_anychk ## -- Begin function adns__findrr_anychk
.p2align 4, 0x90
_adns__findrr_anychk: ## @adns__findrr_anychk
.cfi_startproc
## %bb.0:
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
movl %ecx, %r9d
movq %rdx, %r14
movl %esi, %edx
movq %rdi, %rbx
movq 48(%rbp), %r15
movl (%r8), %eax
movl %eax, -64(%rbp)
movl (%rdi), %esi
subq $8, %rsp
leaq -64(%rbp), %r10
leaq -60(%rbp), %rdi
movq %rbx, %rcx
movq %r14, %r8
pushq %r10
pushq %rax
pushq %r9
callq _adns__findlabel_start
addq $32, %rsp
testq %r15, %r15
setne %r12b
je LBB0_2
## %bb.1:
movl 64(%rbp), %eax
movl 56(%rbp), %r9d
movl (%rbx), %esi
subq $8, %rsp
leaq -68(%rbp), %rdi
movl $-1, %edx
xorl %ecx, %ecx
movq %r15, %r8
pushq $0
pushq %rax
pushq %r9
callq _adns__findlabel_start
addq $32, %rsp
LBB0_2:
leaq -60(%rbp), %rdi
leaq -52(%rbp), %rsi
leaq -48(%rbp), %rdx
callq _adns__findlabel_next
jmp LBB0_3
.p2align 4, 0x90
LBB0_15: ## in Loop: Header=BB0_3 Depth=1
leaq -60(%rbp), %rdi
leaq -52(%rbp), %rsi
leaq -48(%rbp), %rdx
callq _adns__findlabel_next
xorl %r12d, %r12d
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_9 Depth 2
testq %rax, %rax
jne LBB0_17
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
cmpl $0, -52(%rbp)
jle LBB0_16
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
testb $1, %r12b
je LBB0_15
## %bb.6: ## in Loop: Header=BB0_3 Depth=1
leaq -68(%rbp), %rdi
leaq -44(%rbp), %rsi
leaq -56(%rbp), %rdx
callq _adns__findlabel_next
xorl %edi, %edi
testq %rax, %rax
sete %dil
callq _assert
movl -44(%rbp), %edi
notl %edi
shrl $31, %edi
callq _assert
movl -52(%rbp), %eax
xorl %ebx, %ebx
cmpl -44(%rbp), %eax
setne %bl
testl %ebx, %ebx
jne LBB0_8
jmp LBB0_9
.p2align 4, 0x90
LBB0_13: ## in Loop: Header=BB0_9 Depth=2
cmpl %r13d, %r12d
jne LBB0_14
## %bb.7: ## in Loop: Header=BB0_9 Depth=2
testl %ebx, %ebx
je LBB0_9
LBB0_8: ## in Loop: Header=BB0_3 Depth=1
movl -44(%rbp), %eax
leal 1(%rax), %ecx
movl %ecx, -44(%rbp)
testl %eax, %eax
jle LBB0_15
LBB0_9: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movslq -48(%rbp), %rax
leal 1(%rax), %ecx
movl %ecx, -48(%rbp)
movl (%r14,%rax,4), %r12d
movl %r12d, %edi
callq _ctype_alpha
testq %rax, %rax
je LBB0_11
## %bb.10: ## in Loop: Header=BB0_9 Depth=2
andl $-33, %r12d
LBB0_11: ## in Loop: Header=BB0_9 Depth=2
movslq -56(%rbp), %rax
leal 1(%rax), %ecx
movl %ecx, -56(%rbp)
movl (%r15,%rax,4), %r13d
movl %r13d, %edi
callq _ctype_alpha
testq %rax, %rax
je LBB0_13
## %bb.12: ## in Loop: Header=BB0_9 Depth=2
andl $-33, %r13d
jmp LBB0_13
LBB0_14: ## in Loop: Header=BB0_9 Depth=2
movl $1, %ebx
testl %ebx, %ebx
jne LBB0_8
jmp LBB0_9
LBB0_16:
movq -80(%rbp), %rax ## 8-byte Reload
movl $-1, (%rax)
xorl %eax, %eax
LBB0_17:
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MAXTTLBELIEVE,8,3 ## @MAXTTLBELIEVE
.comm _adns_s_ok,8,3 ## @adns_s_ok
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _adns__findrr_anychk ; -- Begin function adns__findrr_anychk
.p2align 2
_adns__findrr_anychk: ; @adns__findrr_anychk
.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, x5
mov x5, x3
mov x20, x2
mov x2, x1
mov x22, x0
ldr x21, [x29, #32]
ldr w7, [x4]
str w7, [sp, #36]
ldr w1, [x0]
add x8, sp, #36
str x8, [sp]
add x0, sp, #44
mov x3, x22
mov x4, x20
mov x6, x5
bl _adns__findlabel_start
cmp x21, #0
cset w23, ne
cbz x21, LBB0_2
; %bb.1:
ldp w5, w7, [x29, #40]
ldr w1, [x22]
str xzr, [sp]
add x0, sp, #40
mov w2, #-1 ; =0xffffffff
mov x3, #0 ; =0x0
mov x4, x21
mov x6, x5
bl _adns__findlabel_start
LBB0_2:
add x0, sp, #44
add x1, sp, #32
add x2, sp, #28
bl _adns__findlabel_next
cbnz x0, LBB0_12
b LBB0_4
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
add x0, sp, #44
add x1, sp, #32
add x2, sp, #28
bl _adns__findlabel_next
mov w23, #0 ; =0x0
cbnz x0, LBB0_12
LBB0_4: ; =>This Loop Header: Depth=1
; Child Loop BB0_7 Depth 2
ldr w8, [sp, #32]
cmp w8, #1
b.lt LBB0_11
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
tbz w23, #0, LBB0_3
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
add x0, sp, #40
add x1, sp, #24
add x2, sp, #20
bl _adns__findlabel_next
cmp x0, #0
cset w0, eq
bl _assert
ldr w8, [sp, #24]
mvn w8, w8
lsr w0, w8, #31
bl _assert
ldr w8, [sp, #32]
ldr w9, [sp, #24]
cmp w8, w9
cset w23, ne
cbnz w23, LBB0_9
LBB0_7: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
ldrsw x8, [sp, #28]
add w9, w8, #1
str w9, [sp, #28]
ldr w22, [x20, x8, lsl #2]
mov x0, x22
bl _ctype_alpha
and w8, w22, #0xffffffdf
cmp x0, #0
csel w24, w22, w8, eq
ldrsw x8, [sp, #20]
add w9, w8, #1
str w9, [sp, #20]
ldr w22, [x21, x8, lsl #2]
mov x0, x22
bl _ctype_alpha
and w8, w22, #0xffffffdf
cmp x0, #0
csel w8, w22, w8, eq
cmp w24, w8
b.ne LBB0_10
; %bb.8: ; in Loop: Header=BB0_7 Depth=2
cbz w23, LBB0_7
LBB0_9: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [sp, #24]
add w9, w8, #1
str w9, [sp, #24]
cmp w8, #1
b.ge LBB0_7
b LBB0_3
LBB0_10: ; in Loop: Header=BB0_7 Depth=2
mov w23, #1 ; =0x1
cbnz w23, LBB0_9
b LBB0_7
LBB0_11:
mov x0, #0 ; =0x0
mov w8, #-1 ; =0xffffffff
str w8, [x19]
LBB0_12:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.comm _MAXTTLBELIEVE,8,3 ; @MAXTTLBELIEVE
.comm _adns_s_ok,8,3 ; @adns_s_ok
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function maybe_connect_some
_maybe_connect_some: ## @maybe_connect_some
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq _max_connect_socket@GOTPCREL(%rip), %r15
movq (%r15), %r14
movq _TARGET_CONNECTIONS@GOTPCREL(%rip), %r12
cmpq (%r12), %r14
jge LBB0_7
## %bb.1:
movq _MAX_SIMULTANEOUS_CONNECTS@GOTPCREL(%rip), %rbx
movq _connect_cb@GOTPCREL(%rip), %r13
jmp LBB0_2
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
movq %rax, (%r15)
shlq $2, %r14
movq _pipe_write_handles@GOTPCREL(%rip), %rax
addq (%rax), %r14
movq _loop@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq %r14, %rsi
xorl %edx, %edx
callq _uv_pipe_init
xorl %edi, %edi
testl %eax, %eax
sete %dil
callq _ASSERT
xorl %eax, %eax
callq _req_alloc
movq _TEST_PIPENAME@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
movl (%r13), %ecx
movq %rax, %rdi
movq %r14, %rsi
callq _uv_pipe_connect
LBB0_6: ## in Loop: Header=BB0_2 Depth=1
movq (%r15), %r14
cmpq (%r12), %r14
jge LBB0_7
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq _write_sockets@GOTPCREL(%rip), %rax
movq (%rax), %rax
subq (%rbx), %rax
cmpq %rax, %r14
jge LBB0_7
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq _type@GOTPCREL(%rip), %rax
movq (%rax), %rcx
leaq 1(%r14), %rax
movq _TCP@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
jne LBB0_5
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movq %rax, (%r15)
shlq $2, %r14
movq _tcp_write_handles@GOTPCREL(%rip), %rax
addq (%rax), %r14
movq _loop@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq %r14, %rsi
callq _uv_tcp_init
xorl %edi, %edi
testl %eax, %eax
sete %dil
callq _ASSERT
xorl %eax, %eax
callq _req_alloc
movl (%r13), %ecx
movq %rax, %rdi
movq %r14, %rsi
movq _connect_addr@GOTPCREL(%rip), %rdx
callq _uv_tcp_connect
xorl %edi, %edi
testl %eax, %eax
sete %dil
callq _ASSERT
jmp LBB0_6
LBB0_7:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _max_connect_socket,8,3 ## @max_connect_socket
.comm _TARGET_CONNECTIONS,8,3 ## @TARGET_CONNECTIONS
.comm _write_sockets,8,3 ## @write_sockets
.comm _MAX_SIMULTANEOUS_CONNECTS,8,3 ## @MAX_SIMULTANEOUS_CONNECTS
.comm _type,8,3 ## @type
.comm _TCP,8,3 ## @TCP
.comm _tcp_write_handles,8,3 ## @tcp_write_handles
.comm _loop,4,2 ## @loop
.comm _connect_addr,4,2 ## @connect_addr
.comm _connect_cb,4,2 ## @connect_cb
.comm _pipe_write_handles,8,3 ## @pipe_write_handles
.comm _TEST_PIPENAME,4,2 ## @TEST_PIPENAME
.no_dead_strip _maybe_connect_some
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function maybe_connect_some
_maybe_connect_some: ; @maybe_connect_some
.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
Lloh0:
adrp x21, _max_connect_socket@GOTPAGE
Lloh1:
ldr x21, [x21, _max_connect_socket@GOTPAGEOFF]
ldr x8, [x21]
Lloh2:
adrp x22, _TARGET_CONNECTIONS@GOTPAGE
Lloh3:
ldr x22, [x22, _TARGET_CONNECTIONS@GOTPAGEOFF]
ldr x9, [x22]
cmp x8, x9
b.ge LBB0_7
; %bb.1:
Lloh4:
adrp x23, _write_sockets@GOTPAGE
Lloh5:
ldr x23, [x23, _write_sockets@GOTPAGEOFF]
Lloh6:
adrp x24, _MAX_SIMULTANEOUS_CONNECTS@GOTPAGE
Lloh7:
ldr x24, [x24, _MAX_SIMULTANEOUS_CONNECTS@GOTPAGEOFF]
Lloh8:
adrp x25, _type@GOTPAGE
Lloh9:
ldr x25, [x25, _type@GOTPAGEOFF]
Lloh10:
adrp x26, _TCP@GOTPAGE
Lloh11:
ldr x26, [x26, _TCP@GOTPAGEOFF]
Lloh12:
adrp x28, _loop@GOTPAGE
Lloh13:
ldr x28, [x28, _loop@GOTPAGEOFF]
Lloh14:
adrp x27, _connect_cb@GOTPAGE
Lloh15:
ldr x27, [x27, _connect_cb@GOTPAGEOFF]
Lloh16:
adrp x19, _TEST_PIPENAME@GOTPAGE
Lloh17:
ldr x19, [x19, _TEST_PIPENAME@GOTPAGEOFF]
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
Lloh18:
adrp x10, _pipe_write_handles@GOTPAGE
Lloh19:
ldr x10, [x10, _pipe_write_handles@GOTPAGEOFF]
Lloh20:
ldr x10, [x10]
str x9, [x21]
add x20, x10, x8, lsl #2
ldr w0, [x28]
mov x1, x20
mov w2, #0 ; =0x0
bl _uv_pipe_init
cmp w0, #0
cset w0, eq
bl _ASSERT
bl _req_alloc
ldr w2, [x19]
ldr w3, [x27]
mov x1, x20
bl _uv_pipe_connect
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x21]
ldr x9, [x22]
cmp x8, x9
b.ge LBB0_7
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr x9, [x23]
ldr x10, [x24]
sub x9, x9, x10
cmp x8, x9
b.ge LBB0_7
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
ldr x10, [x25]
ldr x11, [x26]
add x9, x8, #1
cmp x10, x11
b.ne LBB0_2
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
Lloh21:
adrp x10, _tcp_write_handles@GOTPAGE
Lloh22:
ldr x10, [x10, _tcp_write_handles@GOTPAGEOFF]
Lloh23:
ldr x10, [x10]
str x9, [x21]
add x20, x10, x8, lsl #2
ldr w0, [x28]
mov x1, x20
bl _uv_tcp_init
cmp w0, #0
cset w0, eq
bl _ASSERT
bl _req_alloc
ldr w3, [x27]
mov x1, x20
Lloh24:
adrp x2, _connect_addr@GOTPAGE
Lloh25:
ldr x2, [x2, _connect_addr@GOTPAGEOFF]
bl _uv_tcp_connect
cmp w0, #0
cset w0, eq
bl _ASSERT
b LBB0_3
LBB0_7:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGot Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.cfi_endproc
; -- End function
.comm _max_connect_socket,8,3 ; @max_connect_socket
.comm _TARGET_CONNECTIONS,8,3 ; @TARGET_CONNECTIONS
.comm _write_sockets,8,3 ; @write_sockets
.comm _MAX_SIMULTANEOUS_CONNECTS,8,3 ; @MAX_SIMULTANEOUS_CONNECTS
.comm _type,8,3 ; @type
.comm _TCP,8,3 ; @TCP
.comm _tcp_write_handles,8,3 ; @tcp_write_handles
.comm _loop,4,2 ; @loop
.comm _connect_addr,4,2 ; @connect_addr
.comm _connect_cb,4,2 ; @connect_cb
.comm _pipe_write_handles,8,3 ; @pipe_write_handles
.comm _TEST_PIPENAME,4,2 ; @TEST_PIPENAME
.no_dead_strip _maybe_connect_some
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function opbs
_opbs: ## @opbs
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl (%rdi), %r9d
cmpl $32, %r9d
setl %al
movq (%rdx), %rcx
movl 12(%rcx), %r8d
movq _OT_MEMORY@GOTPCREL(%rip), %rbx
movl (%rbx), %r10d
movl %r10d, %edi
orl %r8d, %edi
sete %dil
orb %al, %dil
jne LBB0_2
## %bb.1:
movq _OT_WORD@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl $-1, %eax
testl %edi, 16(%rcx)
jne LBB0_24
LBB0_2:
movl (%rcx), %edi
testl %r8d, %r10d
je LBB0_3
LBB0_4:
xorl %eax, %eax
testl %r10d, %edi
jne LBB0_24
## %bb.5:
movq _OT_GPREG@GOTPCREL(%rip), %r15
movl (%r15), %r11d
andl %edi, %r11d
je LBB0_24
## %bb.6:
cmpl $64, %r9d
jne LBB0_14
## %bb.7:
xorl %eax, %eax
testl %r8d, %r10d
je LBB0_10
## %bb.8:
movq _OT_DWORD@GOTPCREL(%rip), %r8
movl (%r8), %r8d
testl %r8d, 16(%rcx)
je LBB0_10
## %bb.9:
movl $103, (%rsi)
movl (%rcx), %edi
movl $-1, %eax
LBB0_10:
movq _OT_WORD@GOTPCREL(%rip), %r8
testl %edi, (%r8)
je LBB0_12
## %bb.11:
movslq %eax, %rdi
incl %eax
movl $102, (%rsi,%rdi,4)
movl (%rcx), %edi
LBB0_12:
movq _OT_QWORD@GOTPCREL(%rip), %rcx
testl %edi, (%rcx)
je LBB0_17
## %bb.13:
movslq %eax, %rcx
incl %eax
movl $72, (%rsi,%rcx,4)
jmp LBB0_17
LBB0_3:
movq _ALL_SIZE@GOTPCREL(%rip), %r11
movl %edi, %r14d
xorl %r8d, %r14d
movl $-1, %eax
testl %r14d, (%r11)
jne LBB0_24
jmp LBB0_4
LBB0_14:
movq _OT_WORD@GOTPCREL(%rip), %rax
testl %edi, (%rax)
je LBB0_15
## %bb.16:
movl $102, (%rsi)
movl $1, %eax
jmp LBB0_17
LBB0_15:
xorl %eax, %eax
LBB0_17:
movl %eax, -44(%rbp) ## 4-byte Spill
movslq %eax, %r12
movl $15, (%rsi,%r12,4)
movl 8(%rdx), %edi
leaq L_.str(%rip), %rax
movq %rsi, %r13
movq %rax, %rsi
movq %rdx, %r14
callq _strcmp
movq %r13, %rcx
cmpl $1, %eax
movl $189, %eax
sbbl $0, %eax
movl %eax, 4(%r13,%r12,4)
addl $2, %r12d
movq (%r14), %rdx
movl 12(%rdx), %eax
movl (%rbx), %esi
testl %eax, (%r15)
je LBB0_20
## %bb.18:
testl %eax, %esi
jne LBB0_22
## %bb.19:
movl %r12d, %esi
movl $192, (%rcx,%rsi,4)
movl $192, %eax
jmp LBB0_23
LBB0_20:
testl %eax, %esi
je LBB0_21
LBB0_22:
movl %r12d, %esi
movl (%rcx,%rsi,4), %eax
LBB0_23:
movl 8(%rdx), %edi
leal (%rax,%rdi,8), %edi
movl %edi, (%rcx,%rsi,4)
movl -44(%rbp), %eax ## 4-byte Reload
addl $3, %eax
addl 20(%rdx), %edi
movl %edi, (%rcx,%rsi,4)
LBB0_24:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_21:
movl $-1, %eax
jmp LBB0_24
.cfi_endproc
## -- End function
.comm _OT_MEMORY,4,2 ## @OT_MEMORY
.comm _OT_WORD,4,2 ## @OT_WORD
.comm _ALL_SIZE,4,2 ## @ALL_SIZE
.comm _OT_GPREG,4,2 ## @OT_GPREG
.comm _OT_DWORD,4,2 ## @OT_DWORD
.comm _OT_QWORD,4,2 ## @OT_QWORD
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "bsf"
.no_dead_strip _opbs
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function opbs
_opbs: ; @opbs
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
ldr w10, [x0]
ldr x8, [x2]
ldr w12, [x8, #12]
Lloh0:
adrp x19, _OT_MEMORY@GOTPAGE
Lloh1:
ldr x19, [x19, _OT_MEMORY@GOTPAGEOFF]
ldr w11, [x19]
orr w9, w11, w12
cmp w10, #32
ccmp w9, #0, #4, ge
b.eq LBB0_2
; %bb.1:
ldr w9, [x8, #16]
Lloh2:
adrp x13, _OT_WORD@GOTPAGE
Lloh3:
ldr x13, [x13, _OT_WORD@GOTPAGEOFF]
Lloh4:
ldr w13, [x13]
tst w13, w9
b.ne LBB0_10
LBB0_2:
ldr w9, [x8]
ands w13, w11, w12
b.eq LBB0_9
LBB0_3:
Lloh5:
adrp x20, _OT_GPREG@GOTPAGE
Lloh6:
ldr x20, [x20, _OT_GPREG@GOTPAGEOFF]
ldr w12, [x20]
and w12, w12, w9
and w11, w9, w11
cmp w11, #0
ccmp w12, #0, #4, eq
b.ne LBB0_5
; %bb.4:
mov w0, #0 ; =0x0
b LBB0_25
LBB0_5:
cmp w10, #64
b.ne LBB0_11
; %bb.6:
cbz w13, LBB0_13
; %bb.7:
ldr w10, [x8, #16]
Lloh7:
adrp x11, _OT_DWORD@GOTPAGE
Lloh8:
ldr x11, [x11, _OT_DWORD@GOTPAGEOFF]
Lloh9:
ldr w11, [x11]
tst w11, w10
b.eq LBB0_13
; %bb.8:
mov w9, #103 ; =0x67
str w9, [x1]
ldr w9, [x8]
mov w21, #-1 ; =0xffffffff
b LBB0_14
LBB0_9:
Lloh10:
adrp x14, _ALL_SIZE@GOTPAGE
Lloh11:
ldr x14, [x14, _ALL_SIZE@GOTPAGEOFF]
Lloh12:
ldr w14, [x14]
eor w12, w9, w12
tst w12, w14
b.eq LBB0_3
LBB0_10:
mov w0, #-1 ; =0xffffffff
b LBB0_25
LBB0_11:
Lloh13:
adrp x8, _OT_WORD@GOTPAGE
Lloh14:
ldr x8, [x8, _OT_WORD@GOTPAGEOFF]
Lloh15:
ldr w8, [x8]
tst w8, w9
b.eq LBB0_18
; %bb.12:
mov w8, #102 ; =0x66
str w8, [x1]
mov w21, #1 ; =0x1
b LBB0_19
LBB0_13:
mov w21, #0 ; =0x0
LBB0_14:
Lloh16:
adrp x10, _OT_WORD@GOTPAGE
Lloh17:
ldr x10, [x10, _OT_WORD@GOTPAGEOFF]
Lloh18:
ldr w10, [x10]
tst w10, w9
b.eq LBB0_16
; %bb.15:
mov w9, #102 ; =0x66
str w9, [x1, w21, sxtw #2]
add w21, w21, #1
ldr w9, [x8]
LBB0_16:
Lloh19:
adrp x8, _OT_QWORD@GOTPAGE
Lloh20:
ldr x8, [x8, _OT_QWORD@GOTPAGEOFF]
Lloh21:
ldr w8, [x8]
tst w8, w9
b.eq LBB0_19
; %bb.17:
mov w8, #72 ; =0x48
str w8, [x1, w21, sxtw #2]
add w21, w21, #1
b LBB0_19
LBB0_18:
mov w21, #0 ; =0x0
LBB0_19:
mov x22, x1
add x23, x1, w21, sxtw #2
mov w8, #15 ; =0xf
str w8, [x23]
ldr w0, [x2, #8]
Lloh22:
adrp x1, l_.str@PAGE
Lloh23:
add x1, x1, l_.str@PAGEOFF
mov x24, x2
bl _strcmp
cmp w0, #0
mov w8, #188 ; =0xbc
cinc w8, w8, ne
str w8, [x23, #4]
add w8, w21, #2
ldr x9, [x24]
ldr w11, [x9, #12]
ldr w12, [x20]
ldr w10, [x19]
and w10, w10, w11
tst w12, w11
b.eq LBB0_22
; %bb.20:
cbnz w10, LBB0_23
; %bb.21:
mov w10, #192 ; =0xc0
str w10, [x22, w8, uxtw #2]
b LBB0_24
LBB0_22:
cbz w10, LBB0_10
LBB0_23:
ldr w10, [x22, w8, uxtw #2]
LBB0_24:
ldr w11, [x9, #8]
add w10, w10, w11, lsl #3
str w10, [x22, x8, lsl #2]
ldr w9, [x9, #20]
add w0, w21, #3
add w9, w9, w10
str w9, [x22, x8, lsl #2]
LBB0_25:
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 AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpAdd Lloh22, Lloh23
.cfi_endproc
; -- End function
.comm _OT_MEMORY,4,2 ; @OT_MEMORY
.comm _OT_WORD,4,2 ; @OT_WORD
.comm _ALL_SIZE,4,2 ; @ALL_SIZE
.comm _OT_GPREG,4,2 ; @OT_GPREG
.comm _OT_DWORD,4,2 ; @OT_DWORD
.comm _OT_QWORD,4,2 ; @OT_QWORD
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "bsf"
.no_dead_strip _opbs
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function golombset_decode
_golombset_decode: ## @golombset_decode
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %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
movl %edi, %r15d
movq %rsi, -72(%rbp)
subq %rdx, %rsi
movq %rsi, -64(%rbp)
movl $8, -56(%rbp)
leaq -72(%rbp), %rdi
leaq -48(%rbp), %rdx
movl %r15d, %esi
callq _golombset_decode_value
testq %rax, %rax
je LBB0_2
## %bb.1:
xorl %r12d, %r12d
jmp LBB0_6
LBB0_2:
xorl %r13d, %r13d
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
cmpq (%rbx), %r12
je LBB0_4
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movq -48(%rbp), %rax
leaq (%rax,%r13), %rcx
movq %rcx, (%r14,%r12,8)
decq %r12
addq %rax, %r13
incq %r13
leaq -72(%rbp), %rdi
movl %r15d, %esi
leaq -48(%rbp), %rdx
callq _golombset_decode_value
testq %rax, %rax
je LBB0_3
LBB0_6:
movq %r12, (%rbx)
xorl %eax, %eax
LBB0_7:
## kill: def $eax killed $eax killed $rax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_4:
movl $-1, %eax
jmp LBB0_7
.cfi_endproc
## -- End function
.no_dead_strip _golombset_decode
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function golombset_decode
_golombset_decode: ; @golombset_decode
.cfi_startproc
; %bb.0:
sub sp, sp, #96
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x4
mov x20, x3
mov x21, x0
sub x8, x1, x2
stp x1, x8, [sp, #8]
mov w8, #8 ; =0x8
str w8, [sp, #24]
add x0, sp, #8
mov x2, sp
mov x1, x21
bl _golombset_decode_value
cbz x0, LBB0_2
; %bb.1:
mov x23, #0 ; =0x0
b LBB0_5
LBB0_2:
mov x22, #0 ; =0x0
mov x8, #0 ; =0x0
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x9, [x19]
cmp x8, x9
b.eq LBB0_7
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
ldr x9, [sp]
add x9, x9, x22
sub x23, x8, #1
str x9, [x20, x8, lsl #3]
add x22, x9, #1
add x0, sp, #8
mov x2, sp
mov x1, x21
bl _golombset_decode_value
mov x8, x23
cbz x0, LBB0_3
LBB0_5:
mov w0, #0 ; =0x0
str x23, [x19]
LBB0_6:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #96
ret
LBB0_7:
mov w0, #-1 ; =0xffffffff
b LBB0_6
.cfi_endproc
; -- End function
.no_dead_strip _golombset_decode
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _getInterfaceIndexTableInt ## -- Begin function getInterfaceIndexTableInt
.p2align 4, 0x90
_getInterfaceIndexTableInt: ## @getInterfaceIndexTableInt
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edi, %ebx
movq _FILE_READ_DATA@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -48(%rbp), %rdi
callq _openTcpFile
movl %eax, %edi
callq _NT_SUCCESS
testq %rax, %rax
je LBB0_1
## %bb.2:
movl -48(%rbp), %edi
leaq -56(%rbp), %rsi
leaq -44(%rbp), %rdx
callq _getInterfaceInfoSet
movl %eax, %r15d
movq -56(%rbp), %rax
movl 4(%rax), %ecx
movl 8(%rax), %edx
leaq L_.str(%rip), %rdi
xorl %r14d, %r14d
movl %r15d, %esi
xorl %eax, %eax
callq _TRACE
movl %r15d, %edi
callq _NT_SUCCESS
testq %rax, %rax
je LBB0_12
## %bb.3:
movl -44(%rbp), %eax
leal 12(,%rax,4), %esi
movl $1, %edi
callq _calloc
movq %rax, %r14
testq %rax, %rax
je LBB0_11
## %bb.4:
movl -44(%rbp), %esi
movq %r14, -64(%rbp) ## 8-byte Spill
movl %esi, (%r14)
leaq L_.str.1(%rip), %rdi
xorl %r15d, %r15d
xorl %eax, %eax
callq _TRACE
cmpl $0, -44(%rbp)
jle LBB0_10
## %bb.5:
movl $1, %r12d
movl $4, %r14d
leaq L_.str.2(%rip), %r13
xorl %r15d, %r15d
jmp LBB0_6
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_6 Depth=1
movslq -44(%rbp), %rax
addq $-12, %r14
cmpq %rax, %r12
jg LBB0_10
LBB0_6: ## =>This Inner Loop Header: Depth=1
decq %r12
movq %r13, %rdi
movl %r12d, %esi
xorl %eax, %eax
callq _TRACE
testl %ebx, %ebx
jne LBB0_9
## %bb.7: ## in Loop: Header=BB0_6 Depth=1
movl -48(%rbp), %edi
movq -56(%rbp), %rsi
addq %r14, %rsi
callq _isLoopback
testl %eax, %eax
jne LBB0_9
## %bb.8: ## in Loop: Header=BB0_6 Depth=1
leaq L_.str.3(%rip), %rdi
movl %r12d, %esi
movl %r15d, %edx
xorl %eax, %eax
callq _TRACE
movq -56(%rbp), %rax
movl -4(%rax,%r14), %eax
movq -64(%rbp), %rcx ## 8-byte Reload
movq 8(%rcx), %rcx
movslq %r15d, %rdx
incl %r15d
movl %eax, (%rcx,%rdx,4)
jmp LBB0_9
LBB0_1:
xorl %r14d, %r14d
jmp LBB0_13
LBB0_10:
movq -64(%rbp), %r14 ## 8-byte Reload
movl %r15d, 4(%r14)
LBB0_11:
movq -56(%rbp), %rdi
callq _tdiFreeThingSet
LBB0_12:
movl -48(%rbp), %edi
callq _closeTcpFile
LBB0_13:
movq %r14, %rax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _FILE_READ_DATA,4,2 ## @FILE_READ_DATA
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "InterfaceInfoSet: %08x, %04x:%08x\n"
L_.str.1: ## @.str.1
.asciz "NumInterfaces = %d\n"
L_.str.2: ## @.str.2
.asciz "Examining interface %d\n"
L_.str.3: ## @.str.3
.asciz "Interface %d matches (%d)\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _getInterfaceIndexTableInt ; -- Begin function getInterfaceIndexTableInt
.p2align 2
_getInterfaceIndexTableInt: ; @getInterfaceIndexTableInt
.cfi_startproc
; %bb.0:
sub sp, sp, #128
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x0
Lloh0:
adrp x8, _FILE_READ_DATA@GOTPAGE
Lloh1:
ldr x8, [x8, _FILE_READ_DATA@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
add x0, sp, #28
bl _openTcpFile
bl _NT_SUCCESS
cbz x0, LBB0_9
; %bb.1:
ldr w0, [sp, #28]
add x1, sp, #32
add x2, sp, #44
bl _getInterfaceInfoSet
mov x20, x0
ldr x8, [sp, #32]
ldp w8, w9, [x8, #4]
stp x9, x8, [sp]
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
mov x1, x20
bl _TRACE
mov x0, x20
bl _NT_SUCCESS
cbz x0, LBB0_10
; %bb.2:
ldr w8, [sp, #44]
lsl w8, w8, #2
add w1, w8, #12
mov w0, #1 ; =0x1
bl _calloc
mov x20, x0
cbz x0, LBB0_13
; %bb.3:
ldr w1, [sp, #44]
str w1, [x20]
Lloh5:
adrp x0, l_.str.1@PAGE
Lloh6:
add x0, x0, l_.str.1@PAGEOFF
bl _TRACE
ldr w8, [sp, #44]
cmp w8, #1
b.lt LBB0_11
; %bb.4:
mov x25, #0 ; =0x0
mov w24, #0 ; =0x0
mov w21, #1 ; =0x1
Lloh7:
adrp x22, l_.str.2@PAGE
Lloh8:
add x22, x22, l_.str.2@PAGEOFF
Lloh9:
adrp x23, l_.str.3@PAGE
Lloh10:
add x23, x23, l_.str.3@PAGEOFF
b LBB0_6
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
ldrsw x8, [sp, #44]
sub x25, x25, #12
cmp x21, x8
b.gt LBB0_12
LBB0_6: ; =>This Inner Loop Header: Depth=1
sub x21, x21, #1
mov x0, x22
mov x1, x21
bl _TRACE
cbnz w19, LBB0_5
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
ldr w0, [sp, #28]
ldr x8, [sp, #32]
add x8, x8, x25
add x1, x8, #4
bl _isLoopback
cbnz w0, LBB0_5
; %bb.8: ; in Loop: Header=BB0_6 Depth=1
str x24, [sp]
mov x0, x23
mov x1, x21
bl _TRACE
ldr x8, [sp, #32]
ldr w8, [x8, x25]
ldr x9, [x20, #8]
str w8, [x9, w24, sxtw #2]
add w8, w24, #1
mov x24, x8
b LBB0_5
LBB0_9:
mov x20, #0 ; =0x0
b LBB0_15
LBB0_10:
mov x20, #0 ; =0x0
b LBB0_14
LBB0_11:
mov w24, #0 ; =0x0
LBB0_12:
str w24, [x20, #4]
LBB0_13:
ldr x0, [sp, #32]
bl _tdiFreeThingSet
LBB0_14:
ldr w0, [sp, #28]
bl _closeTcpFile
LBB0_15:
mov x0, x20
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #128
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _FILE_READ_DATA,4,2 ; @FILE_READ_DATA
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "InterfaceInfoSet: %08x, %04x:%08x\n"
l_.str.1: ; @.str.1
.asciz "NumInterfaces = %d\n"
l_.str.2: ; @.str.2
.asciz "Examining interface %d\n"
l_.str.3: ; @.str.3
.asciz "Interface %d matches (%d)\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _get_attr ## -- Begin function get_attr
.p2align 4, 0x90
_get_attr: ## @get_attr
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, -88(%rbp) ## 8-byte Spill
movq %rsi, %r12
movq %rdi, %rbx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
callq _strlen
movl %eax, %r15d
leal 1(%r15), %r13d
movl %r13d, %edi
callq _heap_alloc
testq %rax, %rax
je LBB0_10
## %bb.1:
movq %rax, %r14
movq %rax, %rdi
movq %rbx, %rsi
movl %r13d, %edx
callq _memcpy
testl %r15d, %r15d
js LBB0_4
## %bb.2:
movl %r13d, %r15d
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movsbl (%r14,%r13), %edi
callq _tolower
movb %al, (%r14,%r13)
incq %r13
cmpq %r13, %r15
jne LBB0_3
LBB0_4:
movq %r12, %rdi
callq _strlen
movl %eax, %r13d
leaq -80(%rbp), %rdi
movq %r12, %rsi
movl %eax, %edx
callq _memcpy
testl %r13d, %r13d
jle LBB0_7
## %bb.5:
movl %r13d, %r15d
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
movsbl -80(%rbp,%r12), %edi
callq _tolower
movb %al, -80(%rbp,%r12)
incq %r12
cmpq %r12, %r15
jne LBB0_6
LBB0_7:
movslq %r13d, %r15
movw $8765, -80(%rbp,%r15) ## imm = 0x223D
movb $0, -78(%rbp,%r15)
leaq -80(%rbp), %rsi
movq %r14, %rdi
callq _strstr
testq %rax, %rax
je LBB0_11
## %bb.8:
movq %rax, %r12
addq $2, %r15
addq %r15, %r12
movq %r12, %rdi
movl $34, %esi
callq _strchr
testq %rax, %rax
je LBB0_12
## %bb.9:
subl %r12d, %eax
movq -88(%rbp), %rcx ## 8-byte Reload
movl %eax, (%rcx)
subq %r14, %r12
addq %r12, %rbx
jmp LBB0_13
LBB0_10:
xorl %ebx, %ebx
jmp LBB0_14
LBB0_11:
leaq L_.str(%rip), %rdi
callq _WARN
LBB0_12:
xorl %ebx, %ebx
LBB0_13:
movq %r14, %rdi
callq _heap_free
LBB0_14:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_16
## %bb.15:
movq %rbx, %rax
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_16:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "name not found\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _get_attr ; -- Begin function get_attr
.p2align 2
_get_attr: ; @get_attr
.cfi_startproc
; %bb.0:
sub sp, sp, #128
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x21, x2
mov x22, x1
mov x20, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #40]
bl _strlen
mov x24, x0
add w23, w0, #1
mov x0, x23
bl _heap_alloc
cbz x0, LBB0_10
; %bb.1:
mov x19, x0
mov x1, x20
mov x2, x23
bl _memcpy
tbnz w24, #31, LBB0_4
; %bb.2:
mov x24, x19
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldrsb w0, [x24]
bl _tolower
strb w0, [x24], #1
subs x23, x23, #1
b.ne LBB0_3
LBB0_4:
mov x0, x22
bl _strlen
mov x23, x0
add x24, sp, #8
add x0, sp, #8
mov x1, x22
mov x2, x23
bl _memcpy
cmp w23, #1
b.lt LBB0_7
; %bb.5:
mov w22, w23
add x25, sp, #8
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldrsb w0, [x25]
bl _tolower
strb w0, [x25], #1
subs x22, x22, #1
b.ne LBB0_6
LBB0_7:
sxtw x8, w23
mov w9, #8765 ; =0x223d
strh w9, [x24, x8]
add x22, x8, #2
strb wzr, [x24, x22]
add x1, sp, #8
mov x0, x19
bl _strstr
cbz x0, LBB0_11
; %bb.8:
add x22, x0, x22
mov x0, x22
mov w1, #34 ; =0x22
bl _strchr
cbz x0, LBB0_12
; %bb.9:
sub w8, w0, w22
str w8, [x21]
sub x8, x22, x19
add x20, x20, x8
b LBB0_13
LBB0_10:
mov x20, #0 ; =0x0
b LBB0_14
LBB0_11:
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
bl _WARN
LBB0_12:
mov x20, #0 ; =0x0
LBB0_13:
mov x0, x19
bl _heap_free
LBB0_14:
ldr x8, [sp, #40]
Lloh5:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh6:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_16
; %bb.15:
mov x0, x20
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #128
ret
LBB0_16:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "name not found\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function fill_vaapi_RefPicList
_fill_vaapi_RefPicList: ## @fill_vaapi_RefPicList
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r14d
movq %rsi, %r15
movq %rdi, %rbx
xorl %r12d, %r12d
xorl %r13d, %r13d
jmp LBB0_1
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
decl %r13d
cmpl %r14d, %r13d
ja LBB0_4
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl %r13d, %eax
shlq $4, %rax
movq (%r15,%rax), %rdx
testq %rdx, %rdx
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
addq %r15, %rax
movl %r12d, %ecx
incl %r12d
leaq (%rbx,%rcx,4), %rdi
movl 8(%rax), %esi
callq _fill_vaapi_pic
jmp LBB0_3
LBB0_4:
cmpl $31, %r12d
ja LBB0_7
## %bb.5:
movl %r12d, %r14d
leaq (%rbx,%r14,4), %rbx
incq %r14
movq %r14, %r15
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
callq _init_vaapi_pic
addq $4, %rbx
incq %r15
cmpl $32, %r14d
movq %r15, %r14
jne LBB0_6
LBB0_7:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _fill_vaapi_RefPicList
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function fill_vaapi_RefPicList
_fill_vaapi_RefPicList: ; @fill_vaapi_RefPicList
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x20, x2
mov x21, x1
mov x19, x0
mov w8, #0 ; =0x0
mov w22, #0 ; =0x0
b LBB0_2
LBB0_1: ; in Loop: Header=BB0_2 Depth=1
sub w22, w22, #1
cmp w22, w20
b.hi LBB0_4
LBB0_2: ; =>This Inner Loop Header: Depth=1
add x9, x21, w22, uxtw #4
ldr x2, [x9]
cbz x2, LBB0_1
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
add w23, w8, #1
add x0, x19, w8, uxtw #2
ldr w1, [x9, #8]
bl _fill_vaapi_pic
mov x8, x23
b LBB0_1
LBB0_4:
cmp w8, #31
b.hi LBB0_7
; %bb.5:
mov w9, w8
add x19, x19, w8, uxtw #2
add x20, x9, #1
LBB0_6: ; =>This Inner Loop Header: Depth=1
mov x0, x19
bl _init_vaapi_pic
add x19, x19, #4
add x8, x20, #1
cmp w20, #32
mov x20, x8
b.ne LBB0_6
LBB0_7:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _fill_vaapi_RefPicList
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _nfsd4_spo_must_allow ## -- Begin function nfsd4_spo_must_allow
.p2align 4, 0x90
_nfsd4_spo_must_allow: ## @nfsd4_spo_must_allow
.cfi_startproc
## %bb.0:
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 8(%rdi), %r15
cmpl $0, 24(%r15)
je LBB0_1
## %bb.2:
movl $1, %r14d
cmpl $1, 8(%r15)
je LBB0_11
## %bb.3:
movq %rdi, %rbx
movq (%rdi), %r12
movslq (%r15), %r13
cmpl (%r12), %r13d
jge LBB0_9
## %bb.4:
movq 16(%r15), %rax
movq %rax, -48(%rbp) ## 8-byte Spill
incq %r13
jmp LBB0_5
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_5 Depth=1
movslq (%r12), %rax
decq %r13
cmpq %rax, %r13
jg LBB0_9
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq 8(%r12), %rax
movl -4(%rax,%r13,4), %edi
movq -48(%rbp), %rax ## 8-byte Reload
movl 8(%rax), %esi
callq _test_bit
testq %rax, %rax
jne LBB0_10
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movq 16(%r15), %rdi
cmpq $0, (%rdi)
je LBB0_8
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movq %rbx, %rsi
callq _nfsd4_mach_creds_match
testq %rax, %rax
je LBB0_8
jmp LBB0_10
LBB0_1:
xorl %r14d, %r14d
jmp LBB0_11
LBB0_9:
xorl %r14d, %r14d
LBB0_10:
movl %r14d, 8(%r15)
LBB0_11:
movl %r14d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _nfsd4_spo_must_allow ; -- Begin function nfsd4_spo_must_allow
.p2align 2
_nfsd4_spo_must_allow: ; @nfsd4_spo_must_allow
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
ldr x20, [x0, #8]
ldr w8, [x20, #24]
cbz w8, LBB0_3
; %bb.1:
ldr w8, [x20, #8]
cmp w8, #1
b.ne LBB0_4
; %bb.2:
mov w0, #1 ; =0x1
b LBB0_13
LBB0_3:
mov w0, #0 ; =0x0
b LBB0_13
LBB0_4:
mov x19, x0
ldr x21, [x0]
ldrsw x22, [x20]
ldr w8, [x21]
cmp w22, w8
b.ge LBB0_11
; %bb.5:
ldr x23, [x20, #16]
b LBB0_7
LBB0_6: ; in Loop: Header=BB0_7 Depth=1
sub x22, x22, #1
ldrsw x8, [x21]
add x9, x22, #1
cmp x9, x8
b.gt LBB0_11
LBB0_7: ; =>This Inner Loop Header: Depth=1
ldr x8, [x21, #8]
ldr w0, [x8, x22, lsl #2]
ldr w1, [x23, #8]
bl _test_bit
cbnz x0, LBB0_10
; %bb.8: ; in Loop: Header=BB0_7 Depth=1
ldr x0, [x20, #16]
ldr x8, [x0]
cbz x8, LBB0_6
; %bb.9: ; in Loop: Header=BB0_7 Depth=1
mov x1, x19
bl _nfsd4_mach_creds_match
cbz x0, LBB0_6
LBB0_10:
mov w0, #1 ; =0x1
b LBB0_12
LBB0_11:
mov w0, #0 ; =0x0
LBB0_12:
str w0, [x20, #8]
LBB0_13:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _np_parse_list_str ## -- Begin function np_parse_list_str
.p2align 4, 0x90
_np_parse_list_str: ## @np_parse_list_str
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %ebx
## kill: def $esi killed $esi def $rsi
testl %r8d, %r8d
jle LBB0_2
## %bb.1:
xorl %r14d, %r14d
xorl %edi, %edi
callq _assert
LBB0_15:
movl %r14d, %eax
cltd
idivl %ebx
movl %eax, %r13d
LBB0_16:
movl %r13d, %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_2:
movq %rcx, %r15
movl %ebx, -48(%rbp) ## 4-byte Spill
movslq %r8d, %rax
movq %rcx, %rbx
subq %rax, %rbx
xorl %eax, %eax
testl %esi, %esi
cmovlel %eax, %esi
movq %rsi, -64(%rbp) ## 8-byte Spill
xorl %r14d, %r14d
movl $0, -44(%rbp) ## 4-byte Folded Spill
movq %rdi, -56(%rbp) ## 8-byte Spill
movl $-1, %r13d
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_5 Depth 2
movq %r14, -72(%rbp) ## 8-byte Spill
movzbl (%r15), %r14d
xorl %r12d, %r12d
cmpb $45, %r14b
sete %r12b
movsbl (%r15,%r12), %edi
callq _isdigit
testq %rax, %rax
je LBB0_16
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
addq %r12, %r15
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_5: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
cmpq %rbx, %r15
jb LBB0_7
## %bb.6: ## in Loop: Header=BB0_5 Depth=2
movsbl (%r15), %edi
callq _isdigit
testq %rax, %rax
je LBB0_9
LBB0_7: ## in Loop: Header=BB0_5 Depth=2
cmpl $214748364, %r12d ## imm = 0xCCCCCCC
ja LBB0_16
## %bb.8: ## in Loop: Header=BB0_5 Depth=2
leal (%r12,%r12,4), %eax
movsbl (%r15), %ecx
incq %r15
leal (%rcx,%rax,2), %r12d
addl $-48, %r12d
jns LBB0_5
jmp LBB0_16
LBB0_9: ## in Loop: Header=BB0_3 Depth=1
movl -44(%rbp), %ecx ## 4-byte Reload
incl %ecx
cmpl -48(%rbp), %ecx ## 4-byte Folded Reload
movl $0, %eax
cmovel %eax, %ecx
movl %ecx, -44(%rbp) ## 4-byte Spill
movq -72(%rbp), %rcx ## 8-byte Reload
cmpq -64(%rbp), %rcx ## 8-byte Folded Reload
je LBB0_16
## %bb.10: ## in Loop: Header=BB0_3 Depth=1
movl %r12d, %eax
negl %eax
cmpb $45, %r14b
cmovnel %r12d, %eax
movq -56(%rbp), %rdx ## 8-byte Reload
movl %eax, (%rdx,%rcx,4)
incq %rcx
cmpq %rbx, %r15
movq %rcx, %r14
je LBB0_13
## %bb.11: ## in Loop: Header=BB0_3 Depth=1
cmpl $0, -44(%rbp) ## 4-byte Folded Reload
movl $95, %eax
movl $44, %ecx
cmovel %ecx, %eax
movsbl (%r15), %ecx
xorl %edi, %edi
cmpl %ecx, %eax
sete %dil
callq _assert
incq %r15
cmpq %rbx, %r15
jbe LBB0_3
## %bb.12:
xorl %edi, %edi
callq _assert
LBB0_13:
cmpl $0, -44(%rbp) ## 4-byte Folded Reload
jne LBB0_16
## %bb.14:
movl -48(%rbp), %ebx ## 4-byte Reload
jmp LBB0_15
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _np_parse_list_str ; -- Begin function np_parse_list_str
.p2align 2
_np_parse_list_str: ; @np_parse_list_str
.cfi_startproc
; %bb.0:
sub sp, sp, #112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x2
cmp w4, #1
b.lt LBB0_3
; %bb.1:
mov w0, #0 ; =0x0
bl _assert
mov w26, #0 ; =0x0
LBB0_2:
sdiv w0, w26, w19
b LBB0_16
LBB0_3:
mov x20, x3
mov x21, x0
mov x25, #0 ; =0x0
mov w22, #0 ; =0x0
mov w23, #52428 ; =0xcccc
movk w23, #3276, lsl #16
mov w24, #10 ; =0xa
sub x27, x3, w4, sxtw
bic w8, w1, w1, asr #31
str x8, [sp, #8] ; 8-byte Folded Spill
LBB0_4: ; =>This Loop Header: Depth=1
; Child Loop BB0_6 Depth 2
mov x8, x20
ldrb w26, [x8], #1
cmp w26, #45
csel x20, x20, x8, ne
ldrsb w0, [x20]
bl _isdigit
cbz x0, LBB0_15
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
mov w28, #0 ; =0x0
LBB0_6: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
cmp x20, x27
b.lo LBB0_8
; %bb.7: ; in Loop: Header=BB0_6 Depth=2
ldrsb w0, [x20]
bl _isdigit
cbz x0, LBB0_10
LBB0_8: ; in Loop: Header=BB0_6 Depth=2
cmp w28, w23
b.hi LBB0_15
; %bb.9: ; in Loop: Header=BB0_6 Depth=2
ldrsb w8, [x20], #1
madd w8, w28, w24, w8
subs w28, w8, #48
b.pl LBB0_6
b LBB0_15
LBB0_10: ; in Loop: Header=BB0_4 Depth=1
add w8, w22, #1
cmp w8, w19
csinc w22, wzr, w22, eq
ldr x8, [sp, #8] ; 8-byte Folded Reload
cmp x25, x8
b.eq LBB0_15
; %bb.11: ; in Loop: Header=BB0_4 Depth=1
cmp w26, #45
cneg w8, w28, eq
add x26, x25, #1
str w8, [x21, x25, lsl #2]
cmp x20, x27
b.eq LBB0_14
; %bb.12: ; in Loop: Header=BB0_4 Depth=1
ldrsb w8, [x20], #1
cmp w22, #0
mov w9, #95 ; =0x5f
mov w10, #44 ; =0x2c
csel w9, w10, w9, eq
cmp w9, w8
cset w0, eq
bl _assert
mov x25, x26
cmp x20, x27
b.ls LBB0_4
; %bb.13:
mov w0, #0 ; =0x0
bl _assert
LBB0_14:
cbz w22, LBB0_2
LBB0_15:
mov w0, #-1 ; =0xffffffff
LBB0_16:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _expand_block_move ## -- Begin function expand_block_move
.p2align 4, 0x90
_expand_block_move: ## @expand_block_move
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $72, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movl (%rdi), %eax
movl %eax, -100(%rbp) ## 4-byte Spill
movl 4(%rdi), %eax
movl %eax, -96(%rbp) ## 4-byte Spill
movl 8(%rdi), %r14d
movl 12(%rdi), %r15d
movl %r14d, %edi
callq _GET_CODE
movq %rax, %r12
movq _CONST_INT@GOTPCREL(%rip), %r13
movq _MAX_MOVE_REG@GOTPCREL(%rip), %rax
movl (%rax), %eax
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, -112(%rbp) ## 8-byte Spill
xorl %ebx, %ebx
cmpq (%r13), %r12
jne LBB0_69
## %bb.1:
movl %r15d, %edi
callq _GET_CODE
xorl %edi, %edi
cmpq (%r13), %rax
sete %dil
callq _gcc_assert
movl %r15d, -92(%rbp) ## 4-byte Spill
movl %r15d, %edi
callq _INTVAL
movl %eax, %r12d
movq _BITS_PER_UNIT@GOTPCREL(%rip), %rax
imull (%rax), %r12d
movl %r14d, %edi
callq _INTVAL
testl %eax, %eax
jle LBB0_68
## %bb.2:
movq _TARGET_POWERPC64@GOTPCREL(%rip), %rdx
xorl %ecx, %ecx
cmpq $0, (%rdx)
setne %cl
shll $5, %ecx
addl $32, %ecx
cmpl %ecx, %eax
ja LBB0_69
## %bb.3:
movq _BLKmode@GOTPCREL(%rip), %rcx
movl (%rcx), %ebx
movq $0, -88(%rbp) ## 8-byte Folded Spill
movl $0, -68(%rbp) ## 4-byte Folded Spill
movl %r12d, -76(%rbp) ## 4-byte Spill
jmp LBB0_4
.p2align 4, 0x90
LBB0_66: ## in Loop: Header=BB0_4 Depth=1
movl %r14d, %edi
callq _GEN_INT
movl %r13d, %edi
movl %eax, %esi
callq _set_mem_size
movl %r14d, %edi
orl $31, %edi
callq _GEN_INT
movl %r13d, %edi
movl %r15d, %esi
movl %eax, %edx
movl %ebx, %ecx
callq *-64(%rbp) ## 8-byte Folded Reload
movl %eax, %edi
callq _emit_insn
movq _BLKmode@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl -72(%rbp), %eax ## 4-byte Reload
LBB0_67: ## in Loop: Header=BB0_4 Depth=1
movq -88(%rbp), %rcx ## 8-byte Reload
addl %r14d, %ecx
movq %rcx, -88(%rbp) ## 8-byte Spill
movl %esi, %ebx
subl %r14d, %eax
jle LBB0_68
LBB0_4: ## =>This Loop Header: Depth=1
## Child Loop BB0_59 Depth 2
cmpl $127, %r12d
setg %dl
cmpl $16, %eax
setae %cl
movq _TARGET_ALTIVEC@GOTPCREL(%rip), %rsi
cmpq $0, (%rsi)
movl %eax, -72(%rbp) ## 4-byte Spill
jne LBB0_6
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
andb %dl, %cl
jne LBB0_6
## %bb.7: ## in Loop: Header=BB0_4 Depth=1
movq _TARGET_STRING@GOTPCREL(%rip), %rcx
movq (%rcx), %r8
testq %r8, %r8
sete %cl
cmpl $25, %eax
setb %dl
orb %cl, %dl
jne LBB0_17
## %bb.8: ## in Loop: Header=BB0_4 Depth=1
movq _fixed_regs@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpl $0, 20(%rcx)
jne LBB0_17
## %bb.9: ## in Loop: Header=BB0_4 Depth=1
cmpl $0, 24(%rcx)
jne LBB0_17
## %bb.10: ## in Loop: Header=BB0_4 Depth=1
cmpl $0, 28(%rcx)
jne LBB0_17
## %bb.11: ## in Loop: Header=BB0_4 Depth=1
cmpl $0, 32(%rcx)
jne LBB0_17
## %bb.12: ## in Loop: Header=BB0_4 Depth=1
cmpl $0, 36(%rcx)
jne LBB0_17
## %bb.13: ## in Loop: Header=BB0_4 Depth=1
cmpl $0, 40(%rcx)
jne LBB0_17
## %bb.14: ## in Loop: Header=BB0_4 Depth=1
cmpl $0, 44(%rcx)
jne LBB0_17
## %bb.15: ## in Loop: Header=BB0_4 Depth=1
cmpl $0, 48(%rcx)
je LBB0_16
.p2align 4, 0x90
LBB0_17: ## in Loop: Header=BB0_4 Depth=1
testq %r8, %r8
sete %cl
cmpl $17, %eax
setb %dl
orb %cl, %dl
jne LBB0_25
## %bb.18: ## in Loop: Header=BB0_4 Depth=1
movq _fixed_regs@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpl $0, 20(%rcx)
jne LBB0_25
## %bb.19: ## in Loop: Header=BB0_4 Depth=1
cmpl $0, 24(%rcx)
jne LBB0_25
## %bb.20: ## in Loop: Header=BB0_4 Depth=1
cmpl $0, 28(%rcx)
jne LBB0_25
## %bb.21: ## in Loop: Header=BB0_4 Depth=1
cmpl $0, 32(%rcx)
jne LBB0_25
## %bb.22: ## in Loop: Header=BB0_4 Depth=1
cmpl $0, 36(%rcx)
jne LBB0_25
## %bb.23: ## in Loop: Header=BB0_4 Depth=1
cmpl $0, 40(%rcx)
je LBB0_24
.p2align 4, 0x90
LBB0_25: ## in Loop: Header=BB0_4 Depth=1
testq %r8, %r8
sete %cl
cmpl $9, %eax
setb %dl
orb %cl, %dl
jne LBB0_31
## %bb.26: ## in Loop: Header=BB0_4 Depth=1
movq _fixed_regs@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpl $0, 20(%rcx)
jne LBB0_31
## %bb.27: ## in Loop: Header=BB0_4 Depth=1
cmpl $0, 24(%rcx)
jne LBB0_31
## %bb.28: ## in Loop: Header=BB0_4 Depth=1
cmpl $0, 28(%rcx)
jne LBB0_31
## %bb.29: ## in Loop: Header=BB0_4 Depth=1
cmpl $0, 32(%rcx)
je LBB0_30
.p2align 4, 0x90
LBB0_31: ## in Loop: Header=BB0_4 Depth=1
cmpl $8, %eax
setae %dl
movq _TARGET_POWERPC64@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
testq %rcx, %rcx
setne %sil
andb %dl, %sil
cmpb $1, %sil
jne LBB0_36
## %bb.32: ## in Loop: Header=BB0_4 Depth=1
cmpl $63, %r12d
jg LBB0_35
## %bb.33: ## in Loop: Header=BB0_4 Depth=1
cmpl $32, %r12d
setge %cl
movq _STRICT_ALIGNMENT@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
testl %edx, %edx
sete %sil
andb %cl, %sil
cmpb $1, %sil
jne LBB0_34
LBB0_35: ## in Loop: Header=BB0_4 Depth=1
movq _DImode@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movl $8, -52(%rbp) ## 4-byte Folded Spill
movq _gen_movdi@GOTPCREL(%rip), %rax
jmp LBB0_50
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_4 Depth=1
movq _V4SImode@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movl $16, -52(%rbp) ## 4-byte Folded Spill
movq _gen_movv4si@GOTPCREL(%rip), %rax
LBB0_50: ## in Loop: Header=BB0_4 Depth=1
movq %rax, -64(%rbp) ## 8-byte Spill
movl -96(%rbp), %edi ## 4-byte Reload
movl %ebx, %esi
movq -88(%rbp), %r15 ## 8-byte Reload
movl %r15d, %edx
callq _adjust_address
movl %eax, %r13d
movl -100(%rbp), %edi ## 4-byte Reload
movl %ebx, %esi
movl %r15d, %edx
callq _adjust_address
movl %eax, %r14d
movq _BLKmode@GOTPCREL(%rip), %rax
cmpl (%rax), %ebx
movl %r13d, -104(%rbp) ## 4-byte Spill
jne LBB0_52
## %bb.51: ## in Loop: Header=BB0_4 Depth=1
movl %ebx, %esi
movl -68(%rbp), %ecx ## 4-byte Reload
jmp LBB0_53
.p2align 4, 0x90
LBB0_52: ## in Loop: Header=BB0_4 Depth=1
movl %ebx, %edi
callq _gen_reg_rtx
movl %eax, %r12d
movl %eax, %edi
movl %r13d, %esi
movq -64(%rbp), %r15 ## 8-byte Reload
callq *%r15
movl %eax, %edi
callq _emit_insn
movl %r14d, %edi
movl %r12d, %esi
movl -76(%rbp), %r12d ## 4-byte Reload
callq *%r15
movl -68(%rbp), %edi ## 4-byte Reload
movslq %edi, %rcx
decl %edi
movq -112(%rbp), %rdx ## 8-byte Reload
movl %eax, (%rdx,%rcx,4)
movq _BLKmode@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl %edi, %ecx
LBB0_53: ## in Loop: Header=BB0_4 Depth=1
movl %r14d, %r13d
movl -72(%rbp), %eax ## 4-byte Reload
movl -52(%rbp), %r14d ## 4-byte Reload
cmpl %r14d, %eax
je LBB0_57
## %bb.54: ## in Loop: Header=BB0_4 Depth=1
cmpl %esi, %ebx
je LBB0_57
## %bb.55: ## in Loop: Header=BB0_4 Depth=1
movq _MAX_MOVE_REG@GOTPCREL(%rip), %rdx
cmpl (%rdx), %ecx
jge LBB0_57
## %bb.56: ## in Loop: Header=BB0_4 Depth=1
movl %ecx, -68(%rbp) ## 4-byte Spill
jmp LBB0_61
.p2align 4, 0x90
LBB0_57: ## in Loop: Header=BB0_4 Depth=1
movl $0, -68(%rbp) ## 4-byte Folded Spill
testl %ecx, %ecx
jle LBB0_61
## %bb.58: ## in Loop: Header=BB0_4 Depth=1
movl %r13d, %r14d
movl %ecx, %r12d
movq -112(%rbp), %r13 ## 8-byte Reload
xorl %r15d, %r15d
.p2align 4, 0x90
LBB0_59: ## Parent Loop BB0_4 Depth=1
## => This Inner Loop Header: Depth=2
movl (%r13,%r15,4), %edi
callq _emit_insn
incq %r15
cmpq %r15, %r12
jne LBB0_59
## %bb.60: ## in Loop: Header=BB0_4 Depth=1
movq _BLKmode@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl -76(%rbp), %r12d ## 4-byte Reload
movl -72(%rbp), %eax ## 4-byte Reload
movl %r14d, %r13d
movl -52(%rbp), %r14d ## 4-byte Reload
LBB0_61: ## in Loop: Header=BB0_4 Depth=1
cmpl %esi, %ebx
jne LBB0_67
## %bb.62: ## in Loop: Header=BB0_4 Depth=1
movl -104(%rbp), %ebx ## 4-byte Reload
movl %ebx, %edi
xorl %esi, %esi
callq _XEXP
movl %eax, %edi
callq _REG_P
testl %eax, %eax
jne LBB0_64
## %bb.63: ## in Loop: Header=BB0_4 Depth=1
movl %ebx, %edi
xorl %esi, %esi
callq _XEXP
movl %eax, %edi
callq _copy_addr_to_reg
movl %ebx, %edi
movl %eax, %esi
callq _replace_equiv_address
movl %eax, %ebx
LBB0_64: ## in Loop: Header=BB0_4 Depth=1
movl %r14d, %edi
callq _GEN_INT
movl %ebx, %r15d
movl %ebx, %edi
movl %eax, %esi
callq _set_mem_size
movl %r13d, %edi
xorl %esi, %esi
callq _XEXP
movl %eax, %edi
callq _REG_P
testl %eax, %eax
movl -92(%rbp), %ebx ## 4-byte Reload
jne LBB0_66
## %bb.65: ## in Loop: Header=BB0_4 Depth=1
movl %r13d, %edi
xorl %esi, %esi
callq _XEXP
movl %eax, %edi
callq _copy_addr_to_reg
movl %r13d, %edi
movl %eax, %esi
callq _replace_equiv_address
movl %eax, %r13d
jmp LBB0_66
.p2align 4, 0x90
LBB0_36: ## in Loop: Header=BB0_4 Depth=1
testq %rcx, %rcx
setne %dl
testq %r8, %r8
sete %sil
cmpl $5, %eax
setb %cl
orb %cl, %sil
orb %dl, %sil
je LBB0_37
## %bb.38: ## in Loop: Header=BB0_4 Depth=1
cmpl $4, %eax
jb LBB0_42
## %bb.39: ## in Loop: Header=BB0_4 Depth=1
movq _STRICT_ALIGNMENT@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
jmp LBB0_40
LBB0_37: ## in Loop: Header=BB0_4 Depth=1
cmpl $8, %eax
movl $8, %ecx
cmovbl %eax, %ecx
movl %ecx, -52(%rbp) ## 4-byte Spill
movq _gen_movmemsi_2reg@GOTPCREL(%rip), %rax
jmp LBB0_50
LBB0_34: ## in Loop: Header=BB0_4 Depth=1
xorl %ecx, %ecx
LBB0_40: ## in Loop: Header=BB0_4 Depth=1
cmpl $32, %r12d
setl %sil
testl %edx, %edx
setne %dil
testb %dil, %sil
jne LBB0_44
## %bb.41: ## in Loop: Header=BB0_4 Depth=1
movq _SImode@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movl $4, -52(%rbp) ## 4-byte Folded Spill
movq _gen_movsi@GOTPCREL(%rip), %rax
jmp LBB0_50
LBB0_42: ## in Loop: Header=BB0_4 Depth=1
cmpl $1, %eax
je LBB0_49
## %bb.43: ## in Loop: Header=BB0_4 Depth=1
movq _STRICT_ALIGNMENT@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
movb $1, %cl
LBB0_44: ## in Loop: Header=BB0_4 Depth=1
cmpl $15, %r12d
jg LBB0_46
## %bb.45: ## in Loop: Header=BB0_4 Depth=1
testl %edx, %edx
je LBB0_46
## %bb.47: ## in Loop: Header=BB0_4 Depth=1
testq %r8, %r8
je LBB0_49
## %bb.48: ## in Loop: Header=BB0_4 Depth=1
testb %cl, %cl
movl $4, %ecx
cmovnel %eax, %ecx
movl %ecx, -52(%rbp) ## 4-byte Spill
movq _gen_movmemsi_1reg@GOTPCREL(%rip), %rax
jmp LBB0_50
LBB0_49: ## in Loop: Header=BB0_4 Depth=1
movq _QImode@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movl $1, -52(%rbp) ## 4-byte Folded Spill
movq _gen_movqi@GOTPCREL(%rip), %rax
jmp LBB0_50
LBB0_46: ## in Loop: Header=BB0_4 Depth=1
movq _HImode@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movl $2, -52(%rbp) ## 4-byte Folded Spill
movq _gen_movhi@GOTPCREL(%rip), %rax
jmp LBB0_50
LBB0_30: ## in Loop: Header=BB0_4 Depth=1
cmpl $16, %eax
movl $16, %ecx
cmovbl %eax, %ecx
movl %ecx, -52(%rbp) ## 4-byte Spill
movq _gen_movmemsi_4reg@GOTPCREL(%rip), %rax
jmp LBB0_50
LBB0_24: ## in Loop: Header=BB0_4 Depth=1
cmpl $24, %eax
movl $24, %ecx
cmovbl %eax, %ecx
movl %ecx, -52(%rbp) ## 4-byte Spill
movq _gen_movmemsi_6reg@GOTPCREL(%rip), %rax
jmp LBB0_50
LBB0_16: ## in Loop: Header=BB0_4 Depth=1
cmpl $32, %eax
movl $32, %ecx
cmovbl %eax, %ecx
movl %ecx, -52(%rbp) ## 4-byte Spill
movq _gen_movmemsi_8reg@GOTPCREL(%rip), %rax
jmp LBB0_50
LBB0_68:
movl $1, %ebx
LBB0_69:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_71
## %bb.70:
movl %ebx, %eax
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_71:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _CONST_INT,8,3 ## @CONST_INT
.comm _MAX_MOVE_REG,4,2 ## @MAX_MOVE_REG
.comm _BITS_PER_UNIT,4,2 ## @BITS_PER_UNIT
.comm _TARGET_POWERPC64,8,3 ## @TARGET_POWERPC64
.comm _BLKmode,4,2 ## @BLKmode
.comm _TARGET_ALTIVEC,8,3 ## @TARGET_ALTIVEC
.comm _V4SImode,4,2 ## @V4SImode
.comm _TARGET_STRING,8,3 ## @TARGET_STRING
.comm _fixed_regs,8,3 ## @fixed_regs
.comm _STRICT_ALIGNMENT,4,2 ## @STRICT_ALIGNMENT
.comm _DImode,4,2 ## @DImode
.comm _SImode,4,2 ## @SImode
.comm _HImode,4,2 ## @HImode
.comm _QImode,4,2 ## @QImode
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _expand_block_move ; -- Begin function expand_block_move
.p2align 2
_expand_block_move: ; @expand_block_move
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
sub sp, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-88]
ldp w9, w8, [x0]
stp w8, w9, [x29, #-96] ; 8-byte Folded Spill
ldp w22, w20, [x0, #8]
mov x0, x22
bl _GET_CODE
Lloh3:
adrp x19, _CONST_INT@GOTPAGE
Lloh4:
ldr x19, [x19, _CONST_INT@GOTPAGEOFF]
ldr x12, [x19]
Lloh5:
adrp x8, _MAX_MOVE_REG@GOTPAGE
Lloh6:
ldr x8, [x8, _MAX_MOVE_REG@GOTPAGEOFF]
Lloh7:
ldr w8, [x8]
lsl x8, x8, #2
mov x9, x8
Lloh8:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh9:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x7fffffff0
sub x8, x9, x8
stur x8, [x29, #-104] ; 8-byte Folded Spill
mov sp, x8
cmp x0, x12
b.ne LBB0_3
; %bb.1:
mov x0, x20
bl _GET_CODE
ldr x8, [x19]
cmp x0, x8
cset w0, eq
bl _gcc_assert
mov x0, x20
bl _INTVAL
mov x24, x0
Lloh10:
adrp x8, _BITS_PER_UNIT@GOTPAGE
Lloh11:
ldr x8, [x8, _BITS_PER_UNIT@GOTPAGEOFF]
Lloh12:
ldr w19, [x8]
mov x0, x22
bl _INTVAL
cmp w0, #1
b.lt LBB0_72
; %bb.2:
mov x22, x0
Lloh13:
adrp x8, _TARGET_POWERPC64@GOTPAGE
Lloh14:
ldr x8, [x8, _TARGET_POWERPC64@GOTPAGEOFF]
Lloh15:
ldr x8, [x8]
cmp x8, #0
mov w8, #64 ; =0x40
mov w9, #32 ; =0x20
csel w8, w9, w8, eq
cmp w0, w8
b.ls LBB0_4
LBB0_3:
mov w0, #0 ; =0x0
b LBB0_73
LBB0_4:
stur w20, [x29, #-108] ; 4-byte Folded Spill
mov w23, #0 ; =0x0
mov w21, #0 ; =0x0
Lloh16:
adrp x28, _BLKmode@GOTPAGE
Lloh17:
ldr x28, [x28, _BLKmode@GOTPAGEOFF]
mul w20, w19, w24
ldr w24, [x28]
b LBB0_7
LBB0_5: ; in Loop: Header=BB0_7 Depth=1
mov x0, x25
bl _GEN_INT
mov x1, x0
mov x0, x27
bl _set_mem_size
orr w0, w25, #0x1f
bl _GEN_INT
mov x2, x0
mov x0, x27
mov x1, x26
ldur w3, [x29, #-108] ; 4-byte Folded Reload
blr x19
bl _emit_insn
ldr w8, [x28]
LBB0_6: ; in Loop: Header=BB0_7 Depth=1
add w23, w25, w23
mov x24, x8
cmp w22, #0
b.le LBB0_72
LBB0_7: ; =>This Loop Header: Depth=1
; Child Loop BB0_62 Depth 2
Lloh18:
adrp x8, _TARGET_ALTIVEC@GOTPAGE
Lloh19:
ldr x8, [x8, _TARGET_ALTIVEC@GOTPAGEOFF]
Lloh20:
ldr x8, [x8]
cmp w22, #15
mov w9, #127 ; =0x7f
ccmp w20, w9, #4, hi
cset w9, gt
cmp x8, #0
ccmp w9, #0, #0, eq
b.eq LBB0_9
; %bb.8: ; in Loop: Header=BB0_7 Depth=1
Lloh21:
adrp x8, _V4SImode@GOTPAGE
Lloh22:
ldr x8, [x8, _V4SImode@GOTPAGEOFF]
Lloh23:
ldr w24, [x8]
mov w25, #16 ; =0x10
Lloh24:
adrp x19, _gen_movv4si@GOTPAGE
Lloh25:
ldr x19, [x19, _gen_movv4si@GOTPAGEOFF]
b LBB0_55
LBB0_9: ; in Loop: Header=BB0_7 Depth=1
Lloh26:
adrp x8, _TARGET_STRING@GOTPAGE
Lloh27:
ldr x8, [x8, _TARGET_STRING@GOTPAGEOFF]
Lloh28:
ldr x8, [x8]
cmp w22, #25
b.lo LBB0_19
; %bb.10: ; in Loop: Header=BB0_7 Depth=1
cbz x8, LBB0_19
; %bb.11: ; in Loop: Header=BB0_7 Depth=1
Lloh29:
adrp x9, _fixed_regs@GOTPAGE
Lloh30:
ldr x9, [x9, _fixed_regs@GOTPAGEOFF]
Lloh31:
ldr x9, [x9]
ldr w10, [x9, #20]
cbnz w10, LBB0_19
; %bb.12: ; in Loop: Header=BB0_7 Depth=1
ldr w10, [x9, #24]
cbnz w10, LBB0_19
; %bb.13: ; in Loop: Header=BB0_7 Depth=1
ldr w10, [x9, #28]
cbnz w10, LBB0_19
; %bb.14: ; in Loop: Header=BB0_7 Depth=1
ldr w10, [x9, #32]
cbnz w10, LBB0_19
; %bb.15: ; in Loop: Header=BB0_7 Depth=1
ldr w10, [x9, #36]
cbnz w10, LBB0_19
; %bb.16: ; in Loop: Header=BB0_7 Depth=1
ldr w10, [x9, #40]
cbnz w10, LBB0_19
; %bb.17: ; in Loop: Header=BB0_7 Depth=1
ldr w10, [x9, #44]
cbnz w10, LBB0_19
; %bb.18: ; in Loop: Header=BB0_7 Depth=1
ldr w9, [x9, #48]
cbz w9, LBB0_71
LBB0_19: ; in Loop: Header=BB0_7 Depth=1
cmp w22, #17
b.lo LBB0_27
; %bb.20: ; in Loop: Header=BB0_7 Depth=1
cbz x8, LBB0_27
; %bb.21: ; in Loop: Header=BB0_7 Depth=1
Lloh32:
adrp x9, _fixed_regs@GOTPAGE
Lloh33:
ldr x9, [x9, _fixed_regs@GOTPAGEOFF]
Lloh34:
ldr x9, [x9]
ldr w10, [x9, #20]
cbnz w10, LBB0_27
; %bb.22: ; in Loop: Header=BB0_7 Depth=1
ldr w10, [x9, #24]
cbnz w10, LBB0_27
; %bb.23: ; in Loop: Header=BB0_7 Depth=1
ldr w10, [x9, #28]
cbnz w10, LBB0_27
; %bb.24: ; in Loop: Header=BB0_7 Depth=1
ldr w10, [x9, #32]
cbnz w10, LBB0_27
; %bb.25: ; in Loop: Header=BB0_7 Depth=1
ldr w10, [x9, #36]
cbnz w10, LBB0_27
; %bb.26: ; in Loop: Header=BB0_7 Depth=1
ldr w9, [x9, #40]
cbz w9, LBB0_70
LBB0_27: ; in Loop: Header=BB0_7 Depth=1
cmp w22, #9
b.lo LBB0_33
; %bb.28: ; in Loop: Header=BB0_7 Depth=1
cbz x8, LBB0_33
; %bb.29: ; in Loop: Header=BB0_7 Depth=1
Lloh35:
adrp x9, _fixed_regs@GOTPAGE
Lloh36:
ldr x9, [x9, _fixed_regs@GOTPAGEOFF]
Lloh37:
ldr x9, [x9]
ldr w10, [x9, #20]
cbnz w10, LBB0_33
; %bb.30: ; in Loop: Header=BB0_7 Depth=1
ldr w10, [x9, #24]
cbnz w10, LBB0_33
; %bb.31: ; in Loop: Header=BB0_7 Depth=1
ldr w10, [x9, #28]
cbnz w10, LBB0_33
; %bb.32: ; in Loop: Header=BB0_7 Depth=1
ldr w9, [x9, #32]
cbz w9, LBB0_69
LBB0_33: ; in Loop: Header=BB0_7 Depth=1
Lloh38:
adrp x9, _TARGET_POWERPC64@GOTPAGE
Lloh39:
ldr x9, [x9, _TARGET_POWERPC64@GOTPAGEOFF]
Lloh40:
ldr x10, [x9]
cmp w22, #8
b.lo LBB0_39
; %bb.34: ; in Loop: Header=BB0_7 Depth=1
cbz x10, LBB0_39
; %bb.35: ; in Loop: Header=BB0_7 Depth=1
cmp w20, #63
b.gt LBB0_38
; %bb.36: ; in Loop: Header=BB0_7 Depth=1
mov w9, #0 ; =0x0
Lloh41:
adrp x10, _STRICT_ALIGNMENT@GOTPAGE
Lloh42:
ldr x10, [x10, _STRICT_ALIGNMENT@GOTPAGEOFF]
Lloh43:
ldr w10, [x10]
cbnz w10, LBB0_44
; %bb.37: ; in Loop: Header=BB0_7 Depth=1
cmp w20, #32
b.lt LBB0_44
LBB0_38: ; in Loop: Header=BB0_7 Depth=1
Lloh44:
adrp x8, _DImode@GOTPAGE
Lloh45:
ldr x8, [x8, _DImode@GOTPAGEOFF]
Lloh46:
ldr w24, [x8]
mov w25, #8 ; =0x8
Lloh47:
adrp x19, _gen_movdi@GOTPAGE
Lloh48:
ldr x19, [x19, _gen_movdi@GOTPAGEOFF]
b LBB0_55
LBB0_39: ; in Loop: Header=BB0_7 Depth=1
cmp w22, #5
cset w9, lo
b.lo LBB0_42
; %bb.40: ; in Loop: Header=BB0_7 Depth=1
cmp x8, #0
ccmp x10, #0, #0, ne
b.ne LBB0_42
; %bb.41: ; in Loop: Header=BB0_7 Depth=1
cmp w22, #8
mov w8, #8 ; =0x8
csel w25, w22, w8, lo
Lloh49:
adrp x19, _gen_movmemsi_2reg@GOTPAGE
Lloh50:
ldr x19, [x19, _gen_movmemsi_2reg@GOTPAGEOFF]
b LBB0_55
LBB0_42: ; in Loop: Header=BB0_7 Depth=1
cmp w22, #4
b.lo LBB0_48
; %bb.43: ; in Loop: Header=BB0_7 Depth=1
Lloh51:
adrp x10, _STRICT_ALIGNMENT@GOTPAGE
Lloh52:
ldr x10, [x10, _STRICT_ALIGNMENT@GOTPAGEOFF]
Lloh53:
ldr w10, [x10]
LBB0_44: ; in Loop: Header=BB0_7 Depth=1
cmp w20, #31
b.gt LBB0_47
; %bb.45: ; in Loop: Header=BB0_7 Depth=1
cbz w10, LBB0_47
; %bb.46: ; in Loop: Header=BB0_7 Depth=1
cmp w20, #15
b.le LBB0_50
b LBB0_54
LBB0_47: ; in Loop: Header=BB0_7 Depth=1
Lloh54:
adrp x8, _SImode@GOTPAGE
Lloh55:
ldr x8, [x8, _SImode@GOTPAGEOFF]
Lloh56:
ldr w24, [x8]
mov w25, #4 ; =0x4
Lloh57:
adrp x19, _gen_movsi@GOTPAGE
Lloh58:
ldr x19, [x19, _gen_movsi@GOTPAGEOFF]
b LBB0_55
LBB0_48: ; in Loop: Header=BB0_7 Depth=1
cmp w22, #1
b.eq LBB0_53
; %bb.49: ; in Loop: Header=BB0_7 Depth=1
Lloh59:
adrp x9, _STRICT_ALIGNMENT@GOTPAGE
Lloh60:
ldr x9, [x9, _STRICT_ALIGNMENT@GOTPAGEOFF]
Lloh61:
ldr w10, [x9]
mov w9, #1 ; =0x1
cmp w20, #15
b.gt LBB0_54
LBB0_50: ; in Loop: Header=BB0_7 Depth=1
cbz w10, LBB0_54
; %bb.51: ; in Loop: Header=BB0_7 Depth=1
cbz x8, LBB0_53
; %bb.52: ; in Loop: Header=BB0_7 Depth=1
cmp w9, #0
mov w8, #4 ; =0x4
csel w25, w22, w8, ne
Lloh62:
adrp x19, _gen_movmemsi_1reg@GOTPAGE
Lloh63:
ldr x19, [x19, _gen_movmemsi_1reg@GOTPAGEOFF]
b LBB0_55
LBB0_53: ; in Loop: Header=BB0_7 Depth=1
Lloh64:
adrp x8, _QImode@GOTPAGE
Lloh65:
ldr x8, [x8, _QImode@GOTPAGEOFF]
Lloh66:
ldr w24, [x8]
mov w25, #1 ; =0x1
Lloh67:
adrp x19, _gen_movqi@GOTPAGE
Lloh68:
ldr x19, [x19, _gen_movqi@GOTPAGEOFF]
b LBB0_55
LBB0_54: ; in Loop: Header=BB0_7 Depth=1
Lloh69:
adrp x8, _HImode@GOTPAGE
Lloh70:
ldr x8, [x8, _HImode@GOTPAGEOFF]
Lloh71:
ldr w24, [x8]
mov w25, #2 ; =0x2
Lloh72:
adrp x19, _gen_movhi@GOTPAGE
Lloh73:
ldr x19, [x19, _gen_movhi@GOTPAGEOFF]
LBB0_55: ; in Loop: Header=BB0_7 Depth=1
ldur w0, [x29, #-96] ; 4-byte Folded Reload
mov x1, x24
mov x2, x23
bl _adjust_address
mov x26, x0
ldur w0, [x29, #-92] ; 4-byte Folded Reload
mov x1, x24
mov x2, x23
bl _adjust_address
mov x27, x0
ldr w8, [x28]
cmp w24, w8
b.ne LBB0_57
; %bb.56: ; in Loop: Header=BB0_7 Depth=1
mov x8, x24
subs w22, w22, w25
b.ne LBB0_58
b LBB0_60
LBB0_57: ; in Loop: Header=BB0_7 Depth=1
mov x0, x24
bl _gen_reg_rtx
mov x28, x0
mov x1, x26
blr x19
bl _emit_insn
mov x0, x27
mov x1, x28
Lloh74:
adrp x28, _BLKmode@GOTPAGE
Lloh75:
ldr x28, [x28, _BLKmode@GOTPAGEOFF]
blr x19
ldur x8, [x29, #-104] ; 8-byte Folded Reload
str w0, [x8, w21, sxtw #2]
sub w21, w21, #1
ldr w8, [x28]
subs w22, w22, w25
b.eq LBB0_60
LBB0_58: ; in Loop: Header=BB0_7 Depth=1
Lloh76:
adrp x9, _MAX_MOVE_REG@GOTPAGE
Lloh77:
ldr x9, [x9, _MAX_MOVE_REG@GOTPAGEOFF]
Lloh78:
ldr w9, [x9]
cmp w24, w8
ccmp w21, w9, #0, ne
b.ge LBB0_60
; %bb.59: ; in Loop: Header=BB0_7 Depth=1
cmp w24, w8
b.ne LBB0_6
b LBB0_65
LBB0_60: ; in Loop: Header=BB0_7 Depth=1
cmp w21, #1
b.lt LBB0_64
; %bb.61: ; in Loop: Header=BB0_7 Depth=1
mov w21, w21
ldur x28, [x29, #-104] ; 8-byte Folded Reload
LBB0_62: ; Parent Loop BB0_7 Depth=1
; => This Inner Loop Header: Depth=2
ldr w0, [x28], #4
bl _emit_insn
subs x21, x21, #1
b.ne LBB0_62
; %bb.63: ; in Loop: Header=BB0_7 Depth=1
Lloh79:
adrp x28, _BLKmode@GOTPAGE
Lloh80:
ldr x28, [x28, _BLKmode@GOTPAGEOFF]
ldr w8, [x28]
cmp w24, w8
b.ne LBB0_6
b LBB0_65
LBB0_64: ; in Loop: Header=BB0_7 Depth=1
mov w21, #0 ; =0x0
cmp w24, w8
b.ne LBB0_6
LBB0_65: ; in Loop: Header=BB0_7 Depth=1
mov x0, x26
mov w1, #0 ; =0x0
bl _XEXP
bl _REG_P
cbnz w0, LBB0_67
; %bb.66: ; in Loop: Header=BB0_7 Depth=1
mov x0, x26
mov w1, #0 ; =0x0
bl _XEXP
bl _copy_addr_to_reg
mov x1, x0
mov x0, x26
bl _replace_equiv_address
mov x26, x0
LBB0_67: ; in Loop: Header=BB0_7 Depth=1
mov x0, x25
bl _GEN_INT
mov x1, x0
mov x0, x26
bl _set_mem_size
mov x0, x27
mov w1, #0 ; =0x0
bl _XEXP
bl _REG_P
cbnz w0, LBB0_5
; %bb.68: ; in Loop: Header=BB0_7 Depth=1
mov x0, x27
mov w1, #0 ; =0x0
bl _XEXP
bl _copy_addr_to_reg
mov x1, x0
mov x0, x27
bl _replace_equiv_address
mov x27, x0
b LBB0_5
LBB0_69: ; in Loop: Header=BB0_7 Depth=1
cmp w22, #16
mov w8, #16 ; =0x10
csel w25, w22, w8, lo
Lloh81:
adrp x19, _gen_movmemsi_4reg@GOTPAGE
Lloh82:
ldr x19, [x19, _gen_movmemsi_4reg@GOTPAGEOFF]
b LBB0_55
LBB0_70: ; in Loop: Header=BB0_7 Depth=1
cmp w22, #24
mov w8, #24 ; =0x18
csel w25, w22, w8, lo
Lloh83:
adrp x19, _gen_movmemsi_6reg@GOTPAGE
Lloh84:
ldr x19, [x19, _gen_movmemsi_6reg@GOTPAGEOFF]
b LBB0_55
LBB0_71: ; in Loop: Header=BB0_7 Depth=1
cmp w22, #32
mov w8, #32 ; =0x20
csel w25, w22, w8, lo
Lloh85:
adrp x19, _gen_movmemsi_8reg@GOTPAGE
Lloh86:
ldr x19, [x19, _gen_movmemsi_8reg@GOTPAGEOFF]
b LBB0_55
LBB0_72:
mov w0, #1 ; =0x1
LBB0_73:
ldur x8, [x29, #-88]
Lloh87:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh88:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh89:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_75
; %bb.74:
sub sp, x29, #80
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
LBB0_75:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGot Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34
.loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37
.loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40
.loh AdrpLdrGotLdr Lloh41, Lloh42, Lloh43
.loh AdrpLdrGot Lloh47, Lloh48
.loh AdrpLdrGotLdr Lloh44, Lloh45, Lloh46
.loh AdrpLdrGot Lloh49, Lloh50
.loh AdrpLdrGotLdr Lloh51, Lloh52, Lloh53
.loh AdrpLdrGot Lloh57, Lloh58
.loh AdrpLdrGotLdr Lloh54, Lloh55, Lloh56
.loh AdrpLdrGotLdr Lloh59, Lloh60, Lloh61
.loh AdrpLdrGot Lloh62, Lloh63
.loh AdrpLdrGot Lloh67, Lloh68
.loh AdrpLdrGotLdr Lloh64, Lloh65, Lloh66
.loh AdrpLdrGot Lloh72, Lloh73
.loh AdrpLdrGotLdr Lloh69, Lloh70, Lloh71
.loh AdrpLdrGot Lloh74, Lloh75
.loh AdrpLdrGotLdr Lloh76, Lloh77, Lloh78
.loh AdrpLdrGot Lloh79, Lloh80
.loh AdrpLdrGot Lloh81, Lloh82
.loh AdrpLdrGot Lloh83, Lloh84
.loh AdrpLdrGot Lloh85, Lloh86
.loh AdrpLdrGotLdr Lloh87, Lloh88, Lloh89
.loh AdrpLdrGot Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _CONST_INT,8,3 ; @CONST_INT
.comm _MAX_MOVE_REG,4,2 ; @MAX_MOVE_REG
.comm _BITS_PER_UNIT,4,2 ; @BITS_PER_UNIT
.comm _TARGET_POWERPC64,8,3 ; @TARGET_POWERPC64
.comm _BLKmode,4,2 ; @BLKmode
.comm _TARGET_ALTIVEC,8,3 ; @TARGET_ALTIVEC
.comm _V4SImode,4,2 ; @V4SImode
.comm _TARGET_STRING,8,3 ; @TARGET_STRING
.comm _fixed_regs,8,3 ; @fixed_regs
.comm _STRICT_ALIGNMENT,4,2 ; @STRICT_ALIGNMENT
.comm _DImode,4,2 ; @DImode
.comm _SImode,4,2 ; @SImode
.comm _HImode,4,2 ; @HImode
.comm _QImode,4,2 ; @QImode
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _png_write_sBIT ## -- Begin function png_write_sBIT
.p2align 4, 0x90
_png_write_sBIT: ## @png_write_sBIT
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r15d
movq %rsi, %r14
movq %rdi, %rbx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -32(%rbp)
leaq L_.str(%rip), %rsi
movl $1, %edi
callq _png_debug
movq _PNG_COLOR_MASK_COLOR@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %r15d, %eax
je LBB0_9
## %bb.1:
movq _PNG_COLOR_TYPE_PALETTE@GOTPCREL(%rip), %rax
movl $8, %ecx
cmpl %r15d, (%rax)
je LBB0_3
## %bb.2:
movslq (%rbx), %rcx
LBB0_3:
movq (%r14), %rax
testq %rax, %rax
sete %dl
cmpq %rcx, %rax
setg %sil
orb %dl, %sil
jne LBB0_6
## %bb.4:
movq 8(%r14), %rsi
testq %rsi, %rsi
sete %dl
cmpq %rcx, %rsi
setg %dil
orb %dl, %dil
jne LBB0_6
## %bb.5:
movq 16(%r14), %rdi
testq %rdi, %rdi
sete %dl
cmpq %rcx, %rdi
setg %cl
orb %dl, %cl
cmpb $1, %cl
je LBB0_6
## %bb.8:
leaq -40(%rbp), %rdx
movq %rax, -64(%rbp)
movq %rsi, -56(%rbp)
movq %rdi, -48(%rbp)
movl $3, %ecx
jmp LBB0_12
LBB0_9:
movslq 24(%r14), %rax
testq %rax, %rax
je LBB0_6
## %bb.10:
cmpl (%rbx), %eax
jg LBB0_6
## %bb.11:
leaq -56(%rbp), %rdx
movq %rax, -64(%rbp)
movl $1, %ecx
LBB0_12:
movq _PNG_COLOR_MASK_ALPHA@GOTPCREL(%rip), %rax
testl %r15d, (%rax)
je LBB0_16
## %bb.13:
movslq 28(%r14), %rax
testq %rax, %rax
je LBB0_6
## %bb.14:
cmpl (%rbx), %eax
jle LBB0_15
LBB0_6:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -32(%rbp), %rax
jne LBB0_18
## %bb.7:
leaq L_.str.1(%rip), %rsi
movq %rbx, %rdi
addq $40, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _png_warning ## TAILCALL
LBB0_15:
decq %rcx
movq %rax, (%rdx)
LBB0_16:
movq _png_sBIT@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -64(%rbp), %rdx
movq %rbx, %rdi
callq _png_write_complete_chunk
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -32(%rbp), %rax
jne LBB0_18
## %bb.17:
addq $40, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_18:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "in png_write_sBIT"
.comm _PNG_COLOR_MASK_COLOR,4,2 ## @PNG_COLOR_MASK_COLOR
.comm _PNG_COLOR_TYPE_PALETTE,4,2 ## @PNG_COLOR_TYPE_PALETTE
L_.str.1: ## @.str.1
.asciz "Invalid sBIT depth specified"
.comm _PNG_COLOR_MASK_ALPHA,4,2 ## @PNG_COLOR_MASK_ALPHA
.comm _png_sBIT,4,2 ## @png_sBIT
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _png_write_sBIT ; -- Begin function png_write_sBIT
.p2align 2
_png_write_sBIT: ; @png_write_sBIT
.cfi_startproc
; %bb.0:
sub sp, sp, #96
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x21, x2
mov x20, x1
mov x19, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #40]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
mov w0, #1 ; =0x1
bl _png_debug
Lloh5:
adrp x8, _PNG_COLOR_MASK_COLOR@GOTPAGE
Lloh6:
ldr x8, [x8, _PNG_COLOR_MASK_COLOR@GOTPAGEOFF]
Lloh7:
ldr w9, [x8]
add x8, sp, #8
orr w9, w9, w21
cbz w9, LBB0_3
; %bb.1:
Lloh8:
adrp x9, _PNG_COLOR_TYPE_PALETTE@GOTPAGE
Lloh9:
ldr x9, [x9, _PNG_COLOR_TYPE_PALETTE@GOTPAGEOFF]
Lloh10:
ldr w9, [x9]
cmp w9, w21
b.ne LBB0_6
; %bb.2:
mov w10, #8 ; =0x8
ldr x9, [x20]
cbnz x9, LBB0_7
b LBB0_16
LBB0_3:
ldrsw x9, [x20, #24]
cbz w9, LBB0_16
; %bb.4:
ldr w10, [x19]
cmp w9, w10
b.gt LBB0_16
; %bb.5:
add x8, x8, #8
str x9, [sp, #8]
mov w3, #1 ; =0x1
b LBB0_13
LBB0_6:
ldrsw x10, [x19]
ldr x9, [x20]
cbz x9, LBB0_16
LBB0_7:
cmp x9, x10
b.gt LBB0_16
; %bb.8:
ldr x11, [x20, #8]
cbz x11, LBB0_16
; %bb.9:
cmp x11, x10
b.gt LBB0_16
; %bb.10:
ldr x12, [x20, #16]
cbz x12, LBB0_16
; %bb.11:
cmp x12, x10
b.gt LBB0_16
; %bb.12:
add x8, x8, #24
stp x9, x11, [sp, #8]
mov w3, #3 ; =0x3
str x12, [sp, #24]
LBB0_13:
Lloh11:
adrp x9, _PNG_COLOR_MASK_ALPHA@GOTPAGE
Lloh12:
ldr x9, [x9, _PNG_COLOR_MASK_ALPHA@GOTPAGEOFF]
Lloh13:
ldr w9, [x9]
tst w9, w21
b.eq LBB0_19
; %bb.14:
ldrsw x9, [x20, #28]
cbz w9, LBB0_16
; %bb.15:
ldr w10, [x19]
cmp w9, w10
b.le LBB0_18
LBB0_16:
ldr x8, [sp, #40]
Lloh14:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh15:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_21
; %bb.17:
Lloh17:
adrp x1, l_.str.1@PAGE
Lloh18:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #96
b _png_warning
LBB0_18:
sub x3, x3, #1
str x9, [x8]
LBB0_19:
Lloh19:
adrp x8, _png_sBIT@GOTPAGE
Lloh20:
ldr x8, [x8, _png_sBIT@GOTPAGEOFF]
Lloh21:
ldr w1, [x8]
add x2, sp, #8
mov x0, x19
bl _png_write_complete_chunk
ldr x8, [sp, #40]
Lloh22:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh23:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_21
; %bb.20:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #96
ret
LBB0_21:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "in png_write_sBIT"
.comm _PNG_COLOR_MASK_COLOR,4,2 ; @PNG_COLOR_MASK_COLOR
.comm _PNG_COLOR_TYPE_PALETTE,4,2 ; @PNG_COLOR_TYPE_PALETTE
l_.str.1: ; @.str.1
.asciz "Invalid sBIT depth specified"
.comm _PNG_COLOR_MASK_ALPHA,4,2 ; @PNG_COLOR_MASK_ALPHA
.comm _png_sBIT,4,2 ; @png_sBIT
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ## -- Begin function lm87_probe
LCPI0_0:
.long 5000 ## 0x1388
.long 12000 ## 0x2ee0
.long 2700 ## 0xa8c
.long 1875 ## 0x753
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_lm87_probe: ## @lm87_probe
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
leaq 4(%rdi), %r14
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r14, %rdi
movl $32, %esi
callq _devm_kzalloc
testq %rax, %rax
je LBB0_1
## %bb.3:
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
callq _i2c_set_clientdata
movq %r15, %rdi
addq $28, %rdi
callq _mutex_init
movq %rbx, %rdi
callq _lm87_init_client
testl %eax, %eax
jne LBB0_2
## %bb.4:
movq (%r15), %rax
movabsq $11596411701700, %rcx ## imm = 0xA8C000009C4
movq %rcx, (%rax)
movq _CHAN_VCC_5V@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
testl %ecx, 8(%r15)
movl $3300, %ecx ## imm = 0xCE4
movl $5000, %edx ## imm = 0x1388
cmovel %ecx, %edx
movl %edx, 8(%rax)
movaps LCPI0_0(%rip), %xmm0 ## xmm0 = [5000,12000,2700,1875]
movups %xmm0, 12(%rax)
movl $1875, 28(%rax) ## imm = 0x753
movq 16(%r15), %rax
movq _lm87_group@GOTPCREL(%rip), %rcx
movq %rcx, (%rax)
movl 8(%r15), %r12d
xorl %edi, %edi
callq _CHAN_NO_FAN
movq 16(%r15), %rcx
testl %r12d, %eax
jne LBB0_5
## %bb.6:
movq _lm87_group_fan1@GOTPCREL(%rip), %rax
jmp LBB0_7
LBB0_1:
movq _ENOMEM@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
LBB0_2:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_5:
movq _lm87_group_in6@GOTPCREL(%rip), %rax
LBB0_7:
movabsq $34359738360, %rdx ## imm = 0x7FFFFFFF8
movq %rax, (%rcx,%rdx)
movl 8(%r15), %r12d
movl $1, %edi
callq _CHAN_NO_FAN
testl %r12d, %eax
jne LBB0_8
## %bb.9:
movq _lm87_group_fan2@GOTPCREL(%rip), %rax
jmp LBB0_10
LBB0_8:
movq _lm87_group_in7@GOTPCREL(%rip), %rax
LBB0_10:
movq 16(%r15), %rcx
movq %rax, (%rcx)
movl 8(%r15), %eax
movq _CHAN_TEMP3@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
jne LBB0_11
## %bb.12:
movq _lm87_group_in0_5@GOTPCREL(%rip), %rcx
jmp LBB0_13
LBB0_11:
movq _lm87_group_temp3@GOTPCREL(%rip), %rcx
LBB0_13:
movq 16(%r15), %rdx
movq %rcx, 8(%rdx)
movq _CHAN_NO_VID@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
jne LBB0_15
## %bb.14:
xorl %eax, %eax
callq _vid_which_vrm
movl %eax, 24(%r15)
movq 16(%r15), %rax
movq _lm87_group_vid@GOTPCREL(%rip), %rcx
movq %rcx, 16(%rax)
LBB0_15:
movl (%rbx), %esi
movq 16(%r15), %rcx
movq %r14, %rdi
movq %rbx, %rdx
callq _devm_hwmon_device_register_with_groups
movq %rax, %rdi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _PTR_ERR_OR_ZERO ## TAILCALL
.cfi_endproc
## -- End function
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _CHAN_VCC_5V,4,2 ## @CHAN_VCC_5V
.comm _lm87_group,4,2 ## @lm87_group
.comm _lm87_group_in6,4,2 ## @lm87_group_in6
.comm _lm87_group_fan1,4,2 ## @lm87_group_fan1
.comm _lm87_group_in7,4,2 ## @lm87_group_in7
.comm _lm87_group_fan2,4,2 ## @lm87_group_fan2
.comm _CHAN_TEMP3,4,2 ## @CHAN_TEMP3
.comm _lm87_group_temp3,4,2 ## @lm87_group_temp3
.comm _lm87_group_in0_5,4,2 ## @lm87_group_in0_5
.comm _CHAN_NO_VID,4,2 ## @CHAN_NO_VID
.comm _lm87_group_vid,4,2 ## @lm87_group_vid
.no_dead_strip _lm87_probe
.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 lm87_probe
lCPI0_0:
.long 2500 ; 0x9c4
.long 2700 ; 0xa8c
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0
lCPI0_1:
.long 5000 ; 0x1388
.long 12000 ; 0x2ee0
.long 2700 ; 0xa8c
.long 1875 ; 0x753
.section __TEXT,__text,regular,pure_instructions
.p2align 2
_lm87_probe: ; @lm87_probe
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
Lloh0:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh1:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
add x0, x0, #4
mov w1, #32 ; =0x20
bl _devm_kzalloc
cbz x0, LBB0_5
; %bb.1:
mov x20, x0
mov x0, x19
mov x1, x20
bl _i2c_set_clientdata
add x0, x20, #28
bl _mutex_init
mov x0, x19
bl _lm87_init_client
cbnz w0, LBB0_6
; %bb.2:
ldr x8, [x20]
Lloh3:
adrp x9, lCPI0_0@PAGE
Lloh4:
ldr d0, [x9, lCPI0_0@PAGEOFF]
str d0, [x8]
ldr w9, [x20, #8]
Lloh5:
adrp x10, _CHAN_VCC_5V@GOTPAGE
Lloh6:
ldr x10, [x10, _CHAN_VCC_5V@GOTPAGEOFF]
Lloh7:
ldr w10, [x10]
tst w10, w9
mov w9, #5000 ; =0x1388
mov w10, #3300 ; =0xce4
csel w9, w10, w9, eq
str w9, [x8, #8]
Lloh8:
adrp x9, lCPI0_1@PAGE
Lloh9:
ldr q0, [x9, lCPI0_1@PAGEOFF]
stur q0, [x8, #12]
mov w9, #1875 ; =0x753
str w9, [x8, #28]
ldr x8, [x20, #16]
Lloh10:
adrp x9, _lm87_group@GOTPAGE
Lloh11:
ldr x9, [x9, _lm87_group@GOTPAGEOFF]
str x9, [x8]
ldr w21, [x20, #8]
bl _CHAN_NO_FAN
ldr x8, [x20, #16]
Lloh12:
adrp x9, _lm87_group_in6@GOTPAGE
Lloh13:
ldr x9, [x9, _lm87_group_in6@GOTPAGEOFF]
Lloh14:
adrp x10, _lm87_group_fan1@GOTPAGE
Lloh15:
ldr x10, [x10, _lm87_group_fan1@GOTPAGEOFF]
tst w0, w21
csel x9, x10, x9, eq
mov x10, #34359738360 ; =0x7fffffff8
str x9, [x8, x10]
ldr w21, [x20, #8]
mov w0, #1 ; =0x1
bl _CHAN_NO_FAN
Lloh16:
adrp x8, _lm87_group_in7@GOTPAGE
Lloh17:
ldr x8, [x8, _lm87_group_in7@GOTPAGEOFF]
Lloh18:
adrp x9, _lm87_group_fan2@GOTPAGE
Lloh19:
ldr x9, [x9, _lm87_group_fan2@GOTPAGEOFF]
tst w0, w21
csel x8, x9, x8, eq
ldr x9, [x20, #16]
str x8, [x9]
ldr w8, [x20, #8]
Lloh20:
adrp x9, _CHAN_TEMP3@GOTPAGE
Lloh21:
ldr x9, [x9, _CHAN_TEMP3@GOTPAGEOFF]
Lloh22:
ldr w9, [x9]
Lloh23:
adrp x10, _lm87_group_temp3@GOTPAGE
Lloh24:
ldr x10, [x10, _lm87_group_temp3@GOTPAGEOFF]
Lloh25:
adrp x11, _lm87_group_in0_5@GOTPAGE
Lloh26:
ldr x11, [x11, _lm87_group_in0_5@GOTPAGEOFF]
tst w9, w8
csel x9, x11, x10, eq
ldr x10, [x20, #16]
str x9, [x10, #8]
Lloh27:
adrp x9, _CHAN_NO_VID@GOTPAGE
Lloh28:
ldr x9, [x9, _CHAN_NO_VID@GOTPAGEOFF]
Lloh29:
ldr w9, [x9]
tst w9, w8
b.ne LBB0_4
; %bb.3:
bl _vid_which_vrm
str w0, [x20, #24]
ldr x8, [x20, #16]
Lloh30:
adrp x9, _lm87_group_vid@GOTPAGE
Lloh31:
ldr x9, [x9, _lm87_group_vid@GOTPAGEOFF]
str x9, [x8, #16]
LBB0_4:
ldr w1, [x19]
ldr x3, [x20, #16]
add x0, x19, #4
mov x2, x19
bl _devm_hwmon_device_register_with_groups
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _PTR_ERR_OR_ZERO
LBB0_5:
Lloh32:
adrp x8, _ENOMEM@GOTPAGE
Lloh33:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh34:
ldr w8, [x8]
neg w0, w8
LBB0_6:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpLdrGot Lloh25, Lloh26
.loh AdrpLdrGot Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGot Lloh18, Lloh19
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdr Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdr Lloh3, Lloh4
.loh AdrpLdrGot Lloh30, Lloh31
.loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34
.cfi_endproc
; -- End function
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _CHAN_VCC_5V,4,2 ; @CHAN_VCC_5V
.comm _lm87_group,4,2 ; @lm87_group
.comm _lm87_group_in6,4,2 ; @lm87_group_in6
.comm _lm87_group_fan1,4,2 ; @lm87_group_fan1
.comm _lm87_group_in7,4,2 ; @lm87_group_in7
.comm _lm87_group_fan2,4,2 ; @lm87_group_fan2
.comm _CHAN_TEMP3,4,2 ; @CHAN_TEMP3
.comm _lm87_group_temp3,4,2 ; @lm87_group_temp3
.comm _lm87_group_in0_5,4,2 ; @lm87_group_in0_5
.comm _CHAN_NO_VID,4,2 ; @CHAN_NO_VID
.comm _lm87_group_vid,4,2 ; @lm87_group_vid
.no_dead_strip _lm87_probe
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function put_lfn
_put_lfn: ## @put_lfn
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, -56(%rbp) ## 8-byte Spill
movq _LDIR_Chksum@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl %ecx, (%rsi,%rax,4)
movq _AM_LFN@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _LDIR_Attr@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movl %eax, (%rsi,%rcx,4)
movq _LDIR_Type@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl $0, (%rsi,%rax,4)
movq _LDIR_FstClusLO@GOTPCREL(%rip), %rax
movslq (%rax), %rax
shlq $2, %rax
movq %rsi, %rdi
subq %rax, %rdi
xorl %r13d, %r13d
xorl %esi, %esi
callq _st_word
leal (%rbx,%rbx,2), %eax
movq %rbx, -48(%rbp) ## 8-byte Spill
leal (%rbx,%rax,4), %ebx
addl $-13, %ebx
movq _LfnOfs@GOTPCREL(%rip), %r15
xorl %eax, %eax
jmp LBB0_3
.p2align 4, 0x90
LBB0_1: ## in Loop: Header=BB0_3 Depth=1
movl $65535, %r12d ## imm = 0xFFFF
cmpq $12, %r13
jae LBB0_8
LBB0_2: ## in Loop: Header=BB0_3 Depth=1
incq %r13
movl %r12d, %eax
LBB0_3: ## =>This Inner Loop Header: Depth=1
movl $65535, %r12d ## imm = 0xFFFF
cmpl $65535, %eax ## imm = 0xFFFF
je LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movslq %ebx, %rax
incl %ebx
movq -56(%rbp), %rcx ## 8-byte Reload
movl (%rcx,%rax,4), %r12d
LBB0_5: ## in Loop: Header=BB0_3 Depth=1
movq (%r15), %rax
movslq (%rax,%r13,4), %rax
leaq (%r14,%rax,4), %rdi
movl %r12d, %esi
callq _st_word
testl %r12d, %r12d
je LBB0_1
## %bb.6: ## in Loop: Header=BB0_3 Depth=1
cmpq $11, %r13
jbe LBB0_2
## %bb.7:
cmpl $65535, %r12d ## imm = 0xFFFF
jne LBB0_10
LBB0_8:
movslq %ebx, %rax
movq -56(%rbp), %rcx ## 8-byte Reload
cmpl $0, (%rcx,%rax,4)
je LBB0_11
LBB0_10:
movq -48(%rbp), %rcx ## 8-byte Reload
jmp LBB0_12
LBB0_11:
movq _LLEF@GOTPCREL(%rip), %rax
movq -48(%rbp), %rcx ## 8-byte Reload
orl (%rax), %ecx
LBB0_12:
movq _LDIR_Ord@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl %ecx, (%r14,%rax,4)
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _LDIR_Chksum,8,3 ## @LDIR_Chksum
.comm _AM_LFN,4,2 ## @AM_LFN
.comm _LDIR_Attr,8,3 ## @LDIR_Attr
.comm _LDIR_Type,8,3 ## @LDIR_Type
.comm _LDIR_FstClusLO,4,2 ## @LDIR_FstClusLO
.comm _LfnOfs,8,3 ## @LfnOfs
.comm _LLEF,4,2 ## @LLEF
.comm _LDIR_Ord,8,3 ## @LDIR_Ord
.no_dead_strip _put_lfn
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function put_lfn
_put_lfn: ; @put_lfn
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x2
mov x20, x1
mov x21, x0
Lloh0:
adrp x8, _LDIR_Chksum@GOTPAGE
Lloh1:
ldr x8, [x8, _LDIR_Chksum@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str w3, [x1, x8, lsl #2]
Lloh3:
adrp x8, _AM_LFN@GOTPAGE
Lloh4:
ldr x8, [x8, _AM_LFN@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
Lloh6:
adrp x9, _LDIR_Attr@GOTPAGE
Lloh7:
ldr x9, [x9, _LDIR_Attr@GOTPAGEOFF]
Lloh8:
ldr x9, [x9]
str w8, [x1, x9, lsl #2]
Lloh9:
adrp x8, _LDIR_Type@GOTPAGE
Lloh10:
ldr x8, [x8, _LDIR_Type@GOTPAGEOFF]
Lloh11:
ldr x8, [x8]
str wzr, [x1, x8, lsl #2]
Lloh12:
adrp x8, _LDIR_FstClusLO@GOTPAGE
Lloh13:
ldr x8, [x8, _LDIR_FstClusLO@GOTPAGEOFF]
Lloh14:
ldrsw x8, [x8]
sub x0, x1, x8, lsl #2
mov w1, #0 ; =0x0
bl _st_word
mov x23, #0 ; =0x0
mov w8, #0 ; =0x0
mov w9, #13 ; =0xd
mov w10, #-13 ; =0xfffffff3
madd w24, w19, w9, w10
Lloh15:
adrp x25, _LfnOfs@GOTPAGE
Lloh16:
ldr x25, [x25, _LfnOfs@GOTPAGEOFF]
b LBB0_3
LBB0_1: ; in Loop: Header=BB0_3 Depth=1
cmp x23, #11
b.hi LBB0_8
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x23, x23, #1
mov x8, x22
LBB0_3: ; =>This Inner Loop Header: Depth=1
mov w22, #65535 ; =0xffff
cmp w8, w22
b.eq LBB0_5
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
ldr w22, [x21, w24, sxtw #2]
add w24, w24, #1
LBB0_5: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x25]
ldrsw x8, [x8, x23, lsl #2]
add x0, x20, x8, lsl #2
mov x1, x22
bl _st_word
cbnz w22, LBB0_1
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
cmp x23, #12
b.hs LBB0_9
; %bb.7: ; in Loop: Header=BB0_3 Depth=1
mov w22, #65535 ; =0xffff
b LBB0_2
LBB0_8:
mov w8, #65535 ; =0xffff
cmp w22, w8
b.ne LBB0_11
LBB0_9:
ldr w8, [x21, w24, sxtw #2]
cbnz w8, LBB0_11
; %bb.10:
Lloh17:
adrp x8, _LLEF@GOTPAGE
Lloh18:
ldr x8, [x8, _LLEF@GOTPAGEOFF]
Lloh19:
ldr w8, [x8]
orr w19, w8, w19
LBB0_11:
Lloh20:
adrp x8, _LDIR_Ord@GOTPAGE
Lloh21:
ldr x8, [x8, _LDIR_Ord@GOTPAGEOFF]
Lloh22:
ldr x8, [x8]
str w19, [x20, x8, lsl #2]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.cfi_endproc
; -- End function
.comm _LDIR_Chksum,8,3 ; @LDIR_Chksum
.comm _AM_LFN,4,2 ; @AM_LFN
.comm _LDIR_Attr,8,3 ; @LDIR_Attr
.comm _LDIR_Type,8,3 ; @LDIR_Type
.comm _LDIR_FstClusLO,4,2 ; @LDIR_FstClusLO
.comm _LfnOfs,8,3 ; @LfnOfs
.comm _LLEF,4,2 ; @LLEF
.comm _LDIR_Ord,8,3 ; @LDIR_Ord
.no_dead_strip _put_lfn
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function make_flagged_int
_make_flagged_int: ## @make_flagged_int
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdx, %rax
movq _FALSE@GOTPCREL(%rip), %rcx
cmpq $0, (%rcx)
je LBB0_12
## %bb.1:
cmpq $268435456, %rdi ## imm = 0x10000000
jb LBB0_3
## %bb.2:
movq %rdi, %rcx
shrq $28, %rcx
orq $128, %rcx
movq %rcx, (%rsi,%rax,8)
incq %rax
andl $268435455, %edi ## imm = 0xFFFFFFF
movq _TRUE@GOTPCREL(%rip), %rcx
cmpq $0, (%rcx)
je LBB0_12
LBB0_3:
cmpq $2097152, %rdi ## imm = 0x200000
jb LBB0_5
## %bb.4:
movq %rdi, %rcx
shrq $21, %rcx
orq $128, %rcx
movq %rcx, (%rsi,%rax,8)
incq %rax
andl $2097151, %edi ## imm = 0x1FFFFF
movq _TRUE@GOTPCREL(%rip), %rcx
cmpq $0, (%rcx)
je LBB0_12
LBB0_5:
cmpq $16384, %rdi ## imm = 0x4000
jb LBB0_7
## %bb.6:
movq %rdi, %rcx
shrq $14, %rcx
orq $128, %rcx
movq %rcx, (%rsi,%rax,8)
incq %rax
andl $16383, %edi ## imm = 0x3FFF
movq _TRUE@GOTPCREL(%rip), %rcx
cmpq $0, (%rcx)
je LBB0_12
LBB0_7:
cmpq $128, %rdi
jb LBB0_9
## %bb.8:
movq %rdi, %rcx
shrq $7, %rcx
orq $128, %rcx
movq %rcx, (%rsi,%rax,8)
incq %rax
andl $127, %edi
movq _TRUE@GOTPCREL(%rip), %rcx
cmpq $0, (%rcx)
je LBB0_12
LBB0_9:
testq %rdi, %rdi
je LBB0_11
## %bb.10:
orq $128, %rdi
movq %rdi, (%rsi,%rax,8)
incq %rax
LBB0_11:
xorl %edi, %edi
LBB0_12:
movq %rdi, (%rsi,%rax,8)
incq %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _FALSE,8,3 ## @FALSE
.comm _TRUE,8,3 ## @TRUE
.no_dead_strip _make_flagged_int
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function make_flagged_int
_make_flagged_int: ; @make_flagged_int
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _FALSE@GOTPAGE
Lloh1:
ldr x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cbz x8, LBB0_11
; %bb.1:
lsr x8, x0, #28
cbz x8, LBB0_3
; %bb.2:
orr x8, x8, #0x80
str x8, [x1, x2, lsl #3]
add x2, x2, #1
and x0, x0, #0xfffffff
Lloh3:
adrp x8, _TRUE@GOTPAGE
Lloh4:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
Lloh5:
ldr x8, [x8]
cbz x8, LBB0_11
LBB0_3:
cmp x0, #512, lsl #12 ; =2097152
b.lo LBB0_5
; %bb.4:
lsr x8, x0, #21
orr x8, x8, #0x80
str x8, [x1, x2, lsl #3]
add x2, x2, #1
and x0, x0, #0x1fffff
Lloh6:
adrp x8, _TRUE@GOTPAGE
Lloh7:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
Lloh8:
ldr x8, [x8]
cbz x8, LBB0_11
LBB0_5:
cmp x0, #4, lsl #12 ; =16384
b.lo LBB0_7
; %bb.6:
lsr x8, x0, #14
orr x8, x8, #0x80
str x8, [x1, x2, lsl #3]
add x2, x2, #1
and x0, x0, #0x3fff
Lloh9:
adrp x8, _TRUE@GOTPAGE
Lloh10:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
Lloh11:
ldr x8, [x8]
cbz x8, LBB0_11
LBB0_7:
cmp x0, #128
b.lo LBB0_9
; %bb.8:
lsr x8, x0, #7
orr x8, x8, #0x80
str x8, [x1, x2, lsl #3]
add x2, x2, #1
and x0, x0, #0x7f
Lloh12:
adrp x8, _TRUE@GOTPAGE
Lloh13:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
Lloh14:
ldr x8, [x8]
cbz x8, LBB0_11
LBB0_9:
cbz x0, LBB0_11
; %bb.10:
orr x8, x0, #0x80
str x8, [x1, x2, lsl #3]
add x2, x2, #1
mov x0, #0 ; =0x0
LBB0_11:
str x0, [x1, x2, lsl #3]
add x0, x2, #1
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.cfi_endproc
; -- End function
.comm _FALSE,8,3 ; @FALSE
.comm _TRUE,8,3 ; @TRUE
.no_dead_strip _make_flagged_int
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function mlx5e_grp_per_prio_traffic_fill_stats
_mlx5e_grp_per_prio_traffic_fill_stats: ## @mlx5e_grp_per_prio_traffic_fill_stats
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %eax
movq %rsi, -56(%rbp) ## 8-byte Spill
movq _NUM_PPORT_PRIO@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
testl %ecx, %ecx
js LBB0_7
## %bb.1:
movq %rdi, %r14
movq _NUM_PPORT_PER_PRIO_TRAFFIC_COUNTERS@GOTPCREL(%rip), %rbx
movl (%rbx), %esi
xorl %r8d, %r8d
movq _pport_per_prio_traffic_stats_desc@GOTPCREL(%rip), %r15
jmp LBB0_2
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_2 Depth=1
decq %r8
movslq %ecx, %rdx
cmpq %rdx, %r8
jg LBB0_7
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_4 Depth 2
testl %esi, %esi
jle LBB0_6
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movl %eax, -44(%rbp) ## 4-byte Spill
cltq
movq -56(%rbp), %rcx ## 8-byte Reload
leaq (%rcx,%rax,4), %rax
movq %rax, -72(%rbp) ## 8-byte Spill
movq %r8, -64(%rbp) ## 8-byte Spill
leaq (,%r8,4), %r13
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_4: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movq (%r14), %rdi
addq %r13, %rdi
movl (%r15), %esi
movl %r12d, %edx
callq _MLX5E_READ_CTR64_BE
movq -72(%rbp), %rcx ## 8-byte Reload
movl %eax, (%rcx,%r12,4)
movl (%rbx), %esi
incq %r12
cmpl %esi, %r12d
jl LBB0_4
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
movl -44(%rbp), %eax ## 4-byte Reload
addl %r12d, %eax
movq _NUM_PPORT_PRIO@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movq -64(%rbp), %r8 ## 8-byte Reload
jmp LBB0_6
LBB0_7:
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _NUM_PPORT_PRIO,4,2 ## @NUM_PPORT_PRIO
.comm _NUM_PPORT_PER_PRIO_TRAFFIC_COUNTERS,4,2 ## @NUM_PPORT_PER_PRIO_TRAFFIC_COUNTERS
.comm _pport_per_prio_traffic_stats_desc,4,2 ## @pport_per_prio_traffic_stats_desc
.no_dead_strip _mlx5e_grp_per_prio_traffic_fill_stats
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function mlx5e_grp_per_prio_traffic_fill_stats
_mlx5e_grp_per_prio_traffic_fill_stats: ; @mlx5e_grp_per_prio_traffic_fill_stats
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x2
Lloh0:
adrp x23, _NUM_PPORT_PRIO@GOTPAGE
Lloh1:
ldr x23, [x23, _NUM_PPORT_PRIO@GOTPAGEOFF]
ldr w9, [x23]
tbnz w9, #31, LBB0_7
; %bb.1:
mov x20, x1
mov x21, x0
mov x24, #0 ; =0x0
Lloh2:
adrp x25, _NUM_PPORT_PER_PRIO_TRAFFIC_COUNTERS@GOTPAGE
Lloh3:
ldr x25, [x25, _NUM_PPORT_PER_PRIO_TRAFFIC_COUNTERS@GOTPAGEOFF]
ldr w8, [x25]
Lloh4:
adrp x26, _pport_per_prio_traffic_stats_desc@GOTPAGE
Lloh5:
ldr x26, [x26, _pport_per_prio_traffic_stats_desc@GOTPAGEOFF]
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
sub x24, x24, #1
cmp x24, w9, sxtw
b.gt LBB0_7
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_5 Depth 2
cmp w8, #1
b.lt LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov x22, #0 ; =0x0
add x27, x20, w19, sxtw #2
LBB0_5: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [x21]
add x0, x8, x24, lsl #2
ldr w1, [x26]
mov x2, x22
bl _MLX5E_READ_CTR64_BE
str w0, [x27, x22, lsl #2]
ldr w8, [x25]
add x22, x22, #1
cmp w22, w8
b.lt LBB0_5
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
add w19, w19, w22
ldr w9, [x23]
b LBB0_2
LBB0_7:
mov x0, x19
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.cfi_endproc
; -- End function
.comm _NUM_PPORT_PRIO,4,2 ; @NUM_PPORT_PRIO
.comm _NUM_PPORT_PER_PRIO_TRAFFIC_COUNTERS,4,2 ; @NUM_PPORT_PER_PRIO_TRAFFIC_COUNTERS
.comm _pport_per_prio_traffic_stats_desc,4,2 ; @pport_per_prio_traffic_stats_desc
.no_dead_strip _mlx5e_grp_per_prio_traffic_fill_stats
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _qat_hal_batch_wr_lm ## -- Begin function qat_hal_batch_wr_lm
.p2align 4, 0x90
_qat_hal_batch_wr_lm: ## @qat_hal_batch_wr_lm
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r15d
movq %rdi, %rbx
movl $1, -44(%rbp)
movq 24(%rdx), %r13
movl (%rdx), %eax
movq (%rdi), %rcx
movl (%rcx), %edi
cmpl %edi, %eax
cmovbl %eax, %edi
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl $4, %esi
callq _kmalloc_array
testq %rax, %rax
je LBB0_3
## %bb.1:
movq %rax, %r14
testq %r13, %r13
je LBB0_2
## %bb.4:
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movzbl 4(%r13), %r15d
movl 8(%r13), %ecx
movq 16(%r13), %r8
movl (%r13), %edx
movq %r14, %rdi
movl %r12d, %esi
callq _qat_hal_concat_micro_code
addl %r12d, %eax
movq 24(%r13), %r13
movl %eax, %r12d
testq %r13, %r13
jne LBB0_5
jmp LBB0_6
LBB0_3:
movq _ENOMEM@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
subl (%rax), %ebx
jmp LBB0_7
LBB0_2:
xorl %eax, %eax
LBB0_6:
movslq %eax, %rcx
decl %eax
movl $65536, (%r14,%rcx,4) ## imm = 0x10000
movzbl %r15b, %esi
leaq -44(%rbp), %rcx
movq %rbx, %rdi
xorl %edx, %edx
movq %r14, %r8
movl %eax, %r9d
callq _qat_hal_exec_micro_init_lm
movl %eax, %ebx
movq %r14, %rdi
callq _kfree
LBB0_7:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _ENOMEM,4,2 ## @ENOMEM
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _qat_hal_batch_wr_lm ; -- Begin function qat_hal_batch_wr_lm
.p2align 2
_qat_hal_batch_wr_lm: ; @qat_hal_batch_wr_lm
.cfi_startproc
; %bb.0:
sub sp, sp, #80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x21, x1
mov x19, x0
mov w8, #1 ; =0x1
str w8, [sp, #12]
ldr x23, [x2, #24]
ldr w8, [x2]
ldr x9, [x0]
ldr w9, [x9]
cmp w8, w9
csel w0, w8, w9, lo
Lloh0:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh1:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
mov w1, #4 ; =0x4
bl _kmalloc_array
cbz x0, LBB0_4
; %bb.1:
mov x20, x0
mov w22, #0 ; =0x0
cbz x23, LBB0_3
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldrb w21, [x23, #4]
ldr w3, [x23, #8]
ldr x4, [x23, #16]
ldr w2, [x23]
mov x0, x20
mov x1, x22
bl _qat_hal_concat_micro_code
add w22, w22, w0
ldr x23, [x23, #24]
cbnz x23, LBB0_2
LBB0_3:
sub w5, w22, #1
mov w8, #65536 ; =0x10000
str w8, [x20, w22, sxtw #2]
add x3, sp, #12
mov x0, x19
mov x1, x21
mov w2, #0 ; =0x0
mov x4, x20
bl _qat_hal_exec_micro_init_lm
mov x19, x0
mov x0, x20
bl _kfree
b LBB0_5
LBB0_4:
Lloh3:
adrp x8, _ENOMEM@GOTPAGE
Lloh4:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
neg w19, w8
LBB0_5:
mov x0, x19
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _ENOMEM,4,2 ; @ENOMEM
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function fz_paint_glyph_mask
_fz_paint_glyph_mask: ## @fz_paint_glyph_mask
.cfi_startproc
## %bb.0:
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 %r8d, -48(%rbp) ## 4-byte Spill
movq %rcx, -80(%rbp) ## 8-byte Spill
testl %r9d, %r9d
je LBB0_22
## %bb.1:
movslq %edi, %rax
movq %rax, -72(%rbp) ## 8-byte Spill
movslq 24(%rbp), %rdx
jmp LBB0_2
.p2align 4, 0x90
LBB0_21: ## in Loop: Header=BB0_2 Depth=1
incl %r9d
incq %rdx
addq -72(%rbp), %rsi ## 8-byte Folded Reload
testl %r9d, %r9d
je LBB0_22
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_4 Depth 2
## Child Loop BB0_15 Depth 2
movq -80(%rbp), %rax ## 8-byte Reload
movq (%rax), %r12
movslq (%r12,%rdx,4), %rax
testq %rax, %rax
js LBB0_21
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
addq %rax, %r12
movl 16(%rbp), %eax
testl %eax, %eax
movq %rsi, -96(%rbp) ## 8-byte Spill
movl %r9d, -52(%rbp) ## 4-byte Spill
movq %rdx, -88(%rbp) ## 8-byte Spill
je LBB0_8
.p2align 4, 0x90
LBB0_4: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movzbl (%r12), %ecx
incq %r12
movl %ecx, %ebx
andl $4, %ebx
shrl $3, %ecx
leaq 1(%rcx), %rdi
cmpl %eax, %ecx
jge LBB0_5
## %bb.6: ## in Loop: Header=BB0_4 Depth=2
testl %ebx, %ebx
jne LBB0_21
## %bb.7: ## in Loop: Header=BB0_4 Depth=2
addq %rdi, %r12
subl %edi, %eax
jne LBB0_4
LBB0_8: ## in Loop: Header=BB0_2 Depth=1
xorl %r14d, %r14d
movl -48(%rbp), %eax ## 4-byte Reload
movl %eax, %ecx
movq %rsi, %r13
testl %eax, %eax
jg LBB0_9
jmp LBB0_21
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
movslq %eax, %rcx
addq %rcx, %r12
subl %eax, %edi
movl -48(%rbp), %eax ## 4-byte Reload
movq %rsi, %r13
jmp LBB0_14
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_2 Depth=1
movl %ecx, %esi
movzbl (%r12), %r15d
incq %r12
movl %r15d, %eax
andl $3, %eax
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_10: ## in Loop: Header=BB0_2 Depth=1
shrl $2, %r15d
xorl %ebx, %ebx
movl %r15d, %r14d
movl %esi, %ecx
jmp LBB0_19
LBB0_12: ## in Loop: Header=BB0_2 Depth=1
movl %r15d, %eax
shrl $3, %eax
shll $5, %r14d
leal (%rax,%r14), %ebx
incl %ebx
xorl %r14d, %r14d
movl %esi, %eax
subl %ebx, %eax
cmovbl %esi, %ebx
cmovbl %r14d, %eax
movl %eax, -44(%rbp) ## 4-byte Spill
decl %ebx
leaq 1(%rbx), %rdx
movq %r13, %rdi
movl $255, %esi
callq _memset
andl $4, %r15d
addq %rbx, %r13
incq %r13
movl -44(%rbp), %ecx ## 4-byte Reload
movl %r15d, %ebx
jmp LBB0_19
LBB0_13: ## in Loop: Header=BB0_2 Depth=1
movl %r15d, %ebx
andl $4, %ebx
shrl $3, %r15d
shll $5, %r14d
leal (%r15,%r14), %edi
incl %edi
movl %esi, %eax
LBB0_14: ## in Loop: Header=BB0_2 Depth=1
cmpl %eax, %edi
movl %eax, -44(%rbp) ## 4-byte Spill
cmovgel %eax, %edi
movq %rdi, -64(%rbp) ## 8-byte Spill
movl %edi, %r15d
jmp LBB0_15
.p2align 4, 0x90
LBB0_17: ## in Loop: Header=BB0_15 Depth=2
incq %r12
movb %al, (%r13)
incq %r13
decl %r15d
je LBB0_18
LBB0_15: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movzbl (%r13), %r14d
movzbl (%r12), %eax
testl %r14d, %r14d
je LBB0_17
## %bb.16: ## in Loop: Header=BB0_15 Depth=2
movzbl %al, %edi
callq _FZ_EXPAND
movl $255, %edi
movl %r14d, %esi
movl %eax, %edx
callq _FZ_BLEND
jmp LBB0_17
.p2align 4, 0x90
LBB0_18: ## in Loop: Header=BB0_2 Depth=1
movl -44(%rbp), %ecx ## 4-byte Reload
subl -64(%rbp), %ecx ## 4-byte Folded Reload
xorl %r14d, %r14d
LBB0_19: ## in Loop: Header=BB0_2 Depth=1
testl %ebx, %ebx
movl -52(%rbp), %r9d ## 4-byte Reload
movq -96(%rbp), %rsi ## 8-byte Reload
movq -88(%rbp), %rdx ## 8-byte Reload
jne LBB0_21
## %bb.20: ## in Loop: Header=BB0_2 Depth=1
testl %ecx, %ecx
jg LBB0_9
jmp LBB0_21
LBB0_11: ## in Loop: Header=BB0_2 Depth=1
shrl $2, %r15d
shll $6, %r14d
leal (%r15,%r14), %eax
incl %eax
movl %esi, %ecx
cmpl %esi, %eax
cmovael %esi, %eax
subl %eax, %ecx
addq %rax, %r13
xorl %r14d, %r14d
xorl %ebx, %ebx
jmp LBB0_19
LBB0_22:
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
LJTI0_0:
.long L0_0_set_10
.long L0_0_set_11
.long L0_0_set_12
.long L0_0_set_13
.end_data_region
## -- End function
.no_dead_strip _fz_paint_glyph_mask
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function fz_paint_glyph_mask
_fz_paint_glyph_mask: ; @fz_paint_glyph_mask
.cfi_startproc
; %bb.0:
sub sp, sp, #128
stp x28, x27, [sp, #32] ; 16-byte Folded Spill
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
; kill: def $w7 killed $w7 def $x7
; kill: def $w0 killed $w0 def $x0
cbz w5, LBB0_24
; %bb.1:
mov x19, x6
mov x20, x5
mov x22, x4
mov x23, x1
sxtw x13, w0
sxtw x27, w7
stp x13, x3, [sp, #16] ; 16-byte Folded Spill
stp w4, w6, [sp, #8] ; 8-byte Folded Spill
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x27, x27, #1
add x23, x23, x13
add w20, w20, #1
cbz w20, LBB0_24
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_6 Depth 2
; Child Loop BB0_19 Depth 2
ldr x8, [x3]
ldr w9, [x8, x27, lsl #2]
tbnz w9, #31, LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
add x28, x8, x9
cbz w19, LBB0_9
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
mov x8, x19
LBB0_6: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w9, [x28], #1
and w26, w9, #0x4
lsr x10, x9, #3
add x9, x10, #1
cmp w10, w8
b.ge LBB0_11
; %bb.7: ; in Loop: Header=BB0_6 Depth=2
cbnz w26, LBB0_2
; %bb.8: ; in Loop: Header=BB0_6 Depth=2
add x28, x28, x9
subs w8, w8, w9
b.ne LBB0_6
LBB0_9: ; in Loop: Header=BB0_3 Depth=1
cmp w22, #1
b.lt LBB0_2
; %bb.10: ; in Loop: Header=BB0_3 Depth=1
mov w8, #0 ; =0x0
mov x21, x22
mov x24, x23
b LBB0_12
LBB0_11: ; in Loop: Header=BB0_3 Depth=1
sub w9, w9, w8
mov x21, x22
mov x24, x23
add x28, x28, w8, sxtw
b LBB0_17
LBB0_12: ; in Loop: Header=BB0_3 Depth=1
ldrb w9, [x28], #1
and w10, w9, #0x3
cmp w10, #1
b.gt LBB0_14
; %bb.13: ; in Loop: Header=BB0_3 Depth=1
lsr w9, w9, #2
orr w8, w9, w8, lsl #6
add w11, w8, #1
cmp w11, w21
csinc w8, w21, w8, hs
sub w11, w21, w8
add x12, x24, x8
cmp w10, #0
csel w21, w21, w11, eq
csel w8, w9, wzr, eq
csel x24, x24, x12, eq
mov w26, wzr
b LBB0_22
LBB0_14: ; in Loop: Header=BB0_3 Depth=1
lsr w11, w9, #3
cmp w10, #2
b.ne LBB0_16
; %bb.15: ; in Loop: Header=BB0_3 Depth=1
orr w8, w11, w8, lsl #5
add w10, w8, #1
subs w10, w21, w10
csinc w8, w21, w8, lo
csel w21, wzr, w10, lo
sub w8, w8, #1
add x25, x8, #1
and w26, w9, #0x4
mov x0, x24
mov w1, #255 ; =0xff
mov x2, x25
bl _memset
ldp x13, x3, [sp, #16] ; 16-byte Folded Reload
mov w8, #0 ; =0x0
add x24, x25, x24
b LBB0_22
LBB0_16: ; in Loop: Header=BB0_3 Depth=1
and w26, w9, #0x4
orr w8, w11, w8, lsl #5
add w9, w8, #1
LBB0_17: ; in Loop: Header=BB0_3 Depth=1
cmp w9, w21
csel w19, w9, w21, lt
mov x22, x19
b LBB0_19
LBB0_18: ; in Loop: Header=BB0_19 Depth=2
strb w0, [x24], #1
subs w22, w22, #1
b.eq LBB0_21
LBB0_19: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w25, [x24]
ldrb w0, [x28], #1
cbz w25, LBB0_18
; %bb.20: ; in Loop: Header=BB0_19 Depth=2
bl _FZ_EXPAND
mov x2, x0
mov w0, #255 ; =0xff
mov x1, x25
bl _FZ_BLEND
b LBB0_18
LBB0_21: ; in Loop: Header=BB0_3 Depth=1
mov w8, #0 ; =0x0
sub w21, w21, w19
ldp w22, w19, [sp, #8] ; 8-byte Folded Reload
ldp x13, x3, [sp, #16] ; 16-byte Folded Reload
LBB0_22: ; in Loop: Header=BB0_3 Depth=1
cbnz w26, LBB0_2
; %bb.23: ; in Loop: Header=BB0_3 Depth=1
cmp w21, #1
b.ge LBB0_12
b LBB0_2
LBB0_24:
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
ldp x28, x27, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #128
ret
.cfi_endproc
; -- End function
.no_dead_strip _fz_paint_glyph_mask
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _migrateCommand ## -- Begin function migrateCommand
.p2align 4, 0x90
_migrateCommand: ## @migrateCommand
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $3224, %rsp ## imm = 0xC98
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movl (%rdi), %eax
movq %rax, -3168(%rbp) ## 8-byte Spill
cmpl $7, %eax
jl LBB0_14
## %bb.1:
movq $0, -3136(%rbp) ## 8-byte Folded Spill
movl $3, -3152(%rbp) ## 4-byte Folded Spill
movl $1, %eax
movq %rax, -3184(%rbp) ## 8-byte Spill
movl $6, %r15d
movl $0, -3160(%rbp) ## 4-byte Folded Spill
movq $0, -3144(%rbp) ## 8-byte Folded Spill
jmp LBB0_5
.p2align 4, 0x90
LBB0_2: ## in Loop: Header=BB0_5 Depth=1
movl $1, %eax
movq %rax, -3136(%rbp) ## 8-byte Spill
LBB0_3: ## in Loop: Header=BB0_5 Depth=1
movq %r12, %rbx
LBB0_4: ## in Loop: Header=BB0_5 Depth=1
leal -1(%r15), %eax
cmpl -3168(%rbp), %r15d ## 4-byte Folded Reload
movl %eax, %r15d
jg LBB0_15
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq %rbx, %r12
movq 8(%rbx), %r14
movslq %r15d, %rbx
movq (%r14,%rbx,8), %rax
movq (%rax), %r13
movq %r13, %rdi
leaq L_.str(%rip), %rsi
callq _strcasecmp
testl %eax, %eax
je LBB0_2
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movq %r13, %rdi
leaq L_.str.1(%rip), %rsi
callq _strcasecmp
testl %eax, %eax
je LBB0_11
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movq %r13, %rdi
leaq L_.str.2(%rip), %rsi
callq _strcasecmp
testl %eax, %eax
je LBB0_12
## %bb.8: ## in Loop: Header=BB0_5 Depth=1
movq %r13, %rdi
leaq L_.str.3(%rip), %rsi
callq _strcasecmp
testl %eax, %eax
movq %r12, %rbx
jne LBB0_89
## %bb.9: ## in Loop: Header=BB0_5 Depth=1
movq 24(%r14), %rax
movq (%rax), %rdi
callq _sdslen
testq %rax, %rax
jne LBB0_91
## %bb.10: ## in Loop: Header=BB0_5 Depth=1
leal 1(%r15), %eax
movl %eax, -3152(%rbp) ## 4-byte Spill
movl (%rbx), %eax
movq %rax, -3168(%rbp) ## 8-byte Spill
addl %r15d, %eax
decl %eax
movq %rax, -3184(%rbp) ## 8-byte Spill
jmp LBB0_4
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_5 Depth=1
movl $1, -3160(%rbp) ## 4-byte Folded Spill
jmp LBB0_3
LBB0_12: ## in Loop: Header=BB0_5 Depth=1
movq -3168(%rbp), %rax ## 8-byte Reload
decl %eax
cmpl %eax, %r15d
jge LBB0_93
## %bb.13: ## in Loop: Header=BB0_5 Depth=1
incl %r15d
movq 8(%r14,%rbx,8), %rax
movq (%rax), %rax
movq %rax, -3144(%rbp) ## 8-byte Spill
jmp LBB0_3
LBB0_14:
movb $1, -3122(%rbp) ## 1-byte Folded Spill
movl $1, %r15d
movl $3, %r13d
movq $0, -3144(%rbp) ## 8-byte Folded Spill
movb $1, -3121(%rbp) ## 1-byte Folded Spill
jmp LBB0_16
LBB0_15:
movslq -3152(%rbp), %r13 ## 4-byte Folded Reload
cmpl $0, -3160(%rbp) ## 4-byte Folded Reload
sete -3122(%rbp) ## 1-byte Folded Spill
cmpl $0, -3136(%rbp) ## 4-byte Folded Reload
sete -3121(%rbp) ## 1-byte Folded Spill
movq -3184(%rbp), %r15 ## 8-byte Reload
LBB0_16:
movq 8(%rbx), %rax
movq 40(%rax), %rsi
leaq -3192(%rbp), %rdx
movq %rbx, %rdi
xorl %ecx, %ecx
callq _getLongFromObjectOrReply
movq %rbx, %r14
movq _C_OK@GOTPCREL(%rip), %rbx
cmpq (%rbx), %rax
jne LBB0_103
## %bb.17:
movq 8(%r14), %rax
movq 32(%rax), %rsi
leaq -3232(%rbp), %rdx
movq %r14, %rdi
xorl %ecx, %ecx
callq _getLongFromObjectOrReply
cmpq (%rbx), %rax
jne LBB0_103
## %bb.18:
movq %r14, %rbx
cmpq $0, -3192(%rbp)
jg LBB0_20
## %bb.19:
movq $1000, -3192(%rbp) ## imm = 0x3E8
LBB0_20:
leal (,%r15,8), %r14d
xorl %r12d, %r12d
xorl %edi, %edi
movl %r14d, %esi
callq _zrealloc
movq %rax, -3184(%rbp) ## 8-byte Spill
xorl %edi, %edi
movl %r14d, %esi
callq _zrealloc
movq %rax, -3136(%rbp) ## 8-byte Spill
testl %r15d, %r15d
jle LBB0_88
## %bb.21:
movl %r15d, %r14d
jmp LBB0_23
.p2align 4, 0x90
LBB0_22: ## in Loop: Header=BB0_23 Depth=1
incq %r13
decq %r14
je LBB0_25
LBB0_23: ## =>This Inner Loop Header: Depth=1
movl 16(%rbx), %edi
movq 8(%rbx), %rax
movq (%rax,%r13,8), %rsi
callq _lookupKeyRead
movslq %r12d, %rcx
movq -3184(%rbp), %rdx ## 8-byte Reload
movq %rax, (%rdx,%rcx,8)
testq %rax, %rax
je LBB0_22
## %bb.24: ## in Loop: Header=BB0_23 Depth=1
movq 8(%rbx), %rax
movq (%rax,%r13,8), %rax
movq -3136(%rbp), %rdx ## 8-byte Reload
movq %rax, (%rdx,%rcx,8)
incl %ecx
movl %ecx, %r12d
jmp LBB0_22
LBB0_25:
testl %r12d, %r12d
je LBB0_88
## %bb.26:
movzbl -3122(%rbp), %eax ## 1-byte Folded Reload
xorl $5, %eax
movl %eax, -3240(%rbp) ## 4-byte Spill
movl $1, %esi
movb $1, %dl
movl $0, -3196(%rbp) ## 4-byte Folded Spill
movq -3144(%rbp), %r13 ## 8-byte Reload
movq %rbx, -3168(%rbp) ## 8-byte Spill
.p2align 4, 0x90
LBB0_27: ## =>This Loop Header: Depth=1
## Child Loop BB0_48 Depth 2
## Child Loop BB0_35 Depth 2
## Child Loop BB0_63 Depth 2
movl %esi, -3128(%rbp) ## 4-byte Spill
movl %edx, -3236(%rbp) ## 4-byte Spill
movq 8(%rbx), %rax
movq 8(%rax), %rsi
movq 16(%rax), %rdx
movq -3192(%rbp), %rcx
movq %rbx, %rdi
callq _migrateGetSocket
testq %rax, %rax
je LBB0_96
## %bb.28: ## in Loop: Header=BB0_27 Depth=1
movq %rax, %r15
xorl %eax, %eax
callq _sdsempty
leaq -3224(%rbp), %r14
movq %r14, %rdi
movl %eax, %esi
callq _rioInitWithBuffer
testq %r13, %r13
je LBB0_30
## %bb.29: ## in Loop: Header=BB0_27 Depth=1
movq %r14, %rdi
movl $42, %esi
movl $2, %edx
callq _rioWriteBulkCount
movq %rbx, %rdi
xorl %esi, %esi
movl %eax, %edx
callq _serverAssertWithInfo
movq %r14, %rdi
leaq L_.str.6(%rip), %rsi
movl $4, %edx
callq _rioWriteBulkString
movq %rbx, %rdi
xorl %esi, %esi
movl %eax, %edx
callq _serverAssertWithInfo
movq %r13, %rdi
callq _sdslen
movq %r14, %rdi
movq %r13, %rsi
movl %eax, %edx
callq _rioWriteBulkString
movq %rbx, %rdi
xorl %esi, %esi
movl %eax, %edx
callq _serverAssertWithInfo
LBB0_30: ## in Loop: Header=BB0_27 Depth=1
movq (%r15), %rax
movq -3232(%rbp), %rcx
movq %rax, -3216(%rbp) ## 8-byte Spill
movq %rcx, -3208(%rbp) ## 8-byte Spill
cmpq %rcx, %rax
je LBB0_32
## %bb.31: ## in Loop: Header=BB0_27 Depth=1
movq %r14, %rdi
movl $42, %esi
movl $2, %edx
callq _rioWriteBulkCount
movq %rbx, %rdi
xorl %esi, %esi
movl %eax, %edx
callq _serverAssertWithInfo
movq %r14, %rdi
leaq L_.str.7(%rip), %rsi
movl $6, %edx
callq _rioWriteBulkString
movq %rbx, %rdi
xorl %esi, %esi
movl %eax, %edx
callq _serverAssertWithInfo
movq -3232(%rbp), %rsi
movq %r14, %rdi
callq _rioWriteBulkLongLong
movq %rbx, %rdi
xorl %esi, %esi
movl %eax, %edx
callq _serverAssertWithInfo
LBB0_32: ## in Loop: Header=BB0_27 Depth=1
movq $0, -3160(%rbp) ## 8-byte Folded Spill
testl %r12d, %r12d
jg LBB0_45
LBB0_33: ## in Loop: Header=BB0_27 Depth=1
movq _errno@GOTPCREL(%rip), %rax
movq $0, (%rax)
movq -3224(%rbp), %r12
movq %r12, %rdi
callq _sdslen
testq %rax, %rax
je LBB0_37
## %bb.34: ## in Loop: Header=BB0_27 Depth=1
movq %rax, %r14
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_35: ## Parent Loop BB0_27 Depth=1
## => This Inner Loop Header: Depth=2
subq %r13, %r14
cmpq $65536, %r14 ## imm = 0x10000
movl $65536, %eax ## imm = 0x10000
cmovaeq %rax, %r14
movl 8(%r15), %edi
leaq (%r12,%r13), %rsi
movq -3192(%rbp), %rcx
movq %r14, %rdx
callq _connSyncWrite
cmpl %r14d, %eax
jne LBB0_57
## %bb.36: ## in Loop: Header=BB0_35 Depth=2
movl %eax, %eax
addq %rax, %r13
movq %r12, %rdi
callq _sdslen
movq %rax, %r14
cmpq %r13, %rax
jne LBB0_35
LBB0_37: ## in Loop: Header=BB0_27 Depth=1
movq -3144(%rbp), %r13 ## 8-byte Reload
testq %r13, %r13
je LBB0_39
## %bb.38: ## in Loop: Header=BB0_27 Depth=1
movl 8(%r15), %edi
movq -3192(%rbp), %rcx
leaq -1072(%rbp), %rsi
movl $1024, %edx ## imm = 0x400
callq _connSyncReadLine
testq %rax, %rax
jle LBB0_58
LBB0_39: ## in Loop: Header=BB0_27 Depth=1
movq -3208(%rbp), %rax ## 8-byte Reload
cmpq %rax, -3216(%rbp) ## 8-byte Folded Reload
je LBB0_41
## %bb.40: ## in Loop: Header=BB0_27 Depth=1
movl 8(%r15), %edi
movq -3192(%rbp), %rcx
leaq -2096(%rbp), %rsi
movl $1024, %edx ## imm = 0x400
callq _connSyncReadLine
testq %rax, %rax
jle LBB0_58
LBB0_41: ## in Loop: Header=BB0_27 Depth=1
cmpb $0, -3121(%rbp) ## 1-byte Folded Reload
je LBB0_59
## %bb.42: ## in Loop: Header=BB0_27 Depth=1
movq -3160(%rbp), %r14 ## 8-byte Reload
leal 8(,%r14,8), %edi
callq _zmalloc
movq %rax, -3176(%rbp) ## 8-byte Spill
testl %r14d, %r14d
jg LBB0_60
LBB0_43: ## in Loop: Header=BB0_27 Depth=1
movl $1, -3128(%rbp) ## 4-byte Folded Spill
xorl %r12d, %r12d
LBB0_44: ## in Loop: Header=BB0_27 Depth=1
testl %r12d, %r12d
sete -3152(%rbp) ## 1-byte Folded Spill
xorl %r14d, %r14d
jmp LBB0_75
.p2align 4, 0x90
LBB0_45: ## in Loop: Header=BB0_27 Depth=1
movl %r12d, %eax
movq %rax, -3152(%rbp) ## 8-byte Spill
xorl %r13d, %r13d
movq $0, -3160(%rbp) ## 8-byte Folded Spill
movq %r15, -3248(%rbp) ## 8-byte Spill
jmp LBB0_48
.p2align 4, 0x90
LBB0_46: ## in Loop: Header=BB0_48 Depth=2
movq %r15, %r14
movq -3248(%rbp), %r15 ## 8-byte Reload
LBB0_47: ## in Loop: Header=BB0_48 Depth=2
incq %r13
cmpq %r13, -3152(%rbp) ## 8-byte Folded Reload
je LBB0_33
LBB0_48: ## Parent Loop BB0_27 Depth=1
## => This Inner Loop Header: Depth=2
movl 16(%rbx), %edi
movq -3136(%rbp), %rax ## 8-byte Reload
movq (%rax,%r13,8), %rsi
callq _getExpire
cmpq $-1, %rax
je LBB0_51
## %bb.49: ## in Loop: Header=BB0_48 Depth=2
movq %rax, %r12
xorl %eax, %eax
callq _mstime
subq %rax, %r12
js LBB0_47
## %bb.50: ## in Loop: Header=BB0_48 Depth=2
cmpq $1, %r12
adcq $0, %r12
jmp LBB0_52
.p2align 4, 0x90
LBB0_51: ## in Loop: Header=BB0_48 Depth=2
xorl %r12d, %r12d
LBB0_52: ## in Loop: Header=BB0_48 Depth=2
movq -3136(%rbp), %rdx ## 8-byte Reload
movq (%rdx,%r13,8), %rax
movslq -3160(%rbp), %rcx ## 4-byte Folded Reload
movq %rax, (%rdx,%rcx,8)
movq %r14, %rdi
movl $42, %esi
movl -3240(%rbp), %edx ## 4-byte Reload
callq _rioWriteBulkCount
movq %rbx, %rdi
xorl %esi, %esi
movl %eax, %edx
callq _serverAssertWithInfo
movq _server@GOTPCREL(%rip), %rax
cmpq $0, 8(%rax)
je LBB0_54
## %bb.53: ## in Loop: Header=BB0_48 Depth=2
movq %r14, %rdi
leaq L_.str.8(%rip), %rsi
movl $14, %edx
jmp LBB0_55
.p2align 4, 0x90
LBB0_54: ## in Loop: Header=BB0_48 Depth=2
movq %r14, %rdi
leaq L_.str.9(%rip), %rsi
movl $7, %edx
LBB0_55: ## in Loop: Header=BB0_48 Depth=2
callq _rioWriteBulkString
movq %r14, %r15
movq -3160(%rbp), %rcx ## 8-byte Reload
incl %ecx
movq %rcx, -3160(%rbp) ## 8-byte Spill
movq %rbx, %rdi
xorl %esi, %esi
movl %eax, %edx
callq _serverAssertWithInfo
movq -3136(%rbp), %rbx ## 8-byte Reload
movq (%rbx,%r13,8), %rdi
callq _sdsEncodedObject
movq -3168(%rbp), %rdi ## 8-byte Reload
xorl %esi, %esi
movl %eax, %edx
callq _serverAssertWithInfo
movq (%rbx,%r13,8), %rax
movq (%rax), %r14
movq %r14, %rdi
callq _sdslen
movq %r15, %rdi
movq %r14, %rsi
movl %eax, %edx
callq _rioWriteBulkString
movq -3168(%rbp), %rdi ## 8-byte Reload
xorl %esi, %esi
movl %eax, %edx
callq _serverAssertWithInfo
movq %r15, %rdi
movq %r12, %rsi
callq _rioWriteBulkLongLong
movq -3168(%rbp), %rdi ## 8-byte Reload
xorl %esi, %esi
movl %eax, %edx
callq _serverAssertWithInfo
movq -3184(%rbp), %rax ## 8-byte Reload
movq (%rax,%r13,8), %rsi
movq (%rbx,%r13,8), %rdx
movq -3168(%rbp), %rbx ## 8-byte Reload
leaq -3256(%rbp), %rdi
callq _createDumpPayload
movq -3256(%rbp), %r14
movq %r14, %rdi
callq _sdslen
movq %r15, %rdi
movq %r14, %rsi
movl %eax, %edx
callq _rioWriteBulkString
movq %rbx, %rdi
xorl %esi, %esi
movl %eax, %edx
callq _serverAssertWithInfo
movq -3256(%rbp), %rdi
callq _sdsfree
cmpb $0, -3122(%rbp) ## 1-byte Folded Reload
jne LBB0_46
## %bb.56: ## in Loop: Header=BB0_48 Depth=2
movq %r15, %rdi
leaq L_.str.10(%rip), %rsi
movl $7, %edx
callq _rioWriteBulkString
movq %rbx, %rdi
xorl %esi, %esi
movl %eax, %edx
callq _serverAssertWithInfo
jmp LBB0_46
.p2align 4, 0x90
LBB0_57: ## in Loop: Header=BB0_27 Depth=1
leaq L_.str.14(%rip), %r14
xorl %r15d, %r15d
movq -3144(%rbp), %r13 ## 8-byte Reload
jmp LBB0_83
.p2align 4, 0x90
LBB0_58: ## in Loop: Header=BB0_27 Depth=1
leaq L_.str.15(%rip), %r14
xorl %r15d, %r15d
jmp LBB0_83
.p2align 4, 0x90
LBB0_59: ## in Loop: Header=BB0_27 Depth=1
movq $0, -3176(%rbp) ## 8-byte Folded Spill
movq -3160(%rbp), %r14 ## 8-byte Reload
testl %r14d, %r14d
jle LBB0_43
LBB0_60: ## in Loop: Header=BB0_27 Depth=1
movl %r14d, %eax
movq %rax, -3152(%rbp) ## 8-byte Spill
xorl %r14d, %r14d
movl $1, -3128(%rbp) ## 4-byte Folded Spill
xorl %r13d, %r13d
jmp LBB0_63
.p2align 4, 0x90
LBB0_61: ## in Loop: Header=BB0_63 Depth=2
movl %r13d, %r12d
LBB0_62: ## in Loop: Header=BB0_63 Depth=2
incq %r14
movl %r12d, %r13d
cmpq %r14, -3152(%rbp) ## 8-byte Folded Reload
je LBB0_44
LBB0_63: ## Parent Loop BB0_27 Depth=1
## => This Inner Loop Header: Depth=2
movl 8(%r15), %edi
movq -3192(%rbp), %rcx
leaq -3120(%rbp), %rsi
movl $1024, %edx ## imm = 0x400
callq _connSyncReadLine
testq %rax, %rax
jle LBB0_72
## %bb.64: ## in Loop: Header=BB0_63 Depth=2
cmpq $0, -3144(%rbp) ## 8-byte Folded Reload
je LBB0_68
## %bb.65: ## in Loop: Header=BB0_63 Depth=2
cmpb $45, -1072(%rbp)
jne LBB0_68
LBB0_66: ## in Loop: Header=BB0_63 Depth=2
movl $1, %r12d
testl %r13d, %r13d
jne LBB0_62
## %bb.67: ## in Loop: Header=BB0_63 Depth=2
movq $-1, (%r15)
cmpb $45, -2096(%rbp)
leaq -3120(%rbp), %rdx
movq %rdx, %rax
leaq -2096(%rbp), %rcx
cmoveq %rcx, %rax
movq -3208(%rbp), %rcx ## 8-byte Reload
cmpq %rcx, -3216(%rbp) ## 8-byte Folded Reload
cmoveq %rdx, %rax
cmpb $45, -1072(%rbp)
movq %rax, %rdx
leaq -1072(%rbp), %rcx
cmoveq %rcx, %rdx
cmpq $0, -3144(%rbp) ## 8-byte Folded Reload
cmoveq %rax, %rdx
incq %rdx
movq %rbx, %rdi
leaq L_.str.11(%rip), %rsi
callq _addReplyErrorFormat
jmp LBB0_62
.p2align 4, 0x90
LBB0_68: ## in Loop: Header=BB0_63 Depth=2
movq -3208(%rbp), %rax ## 8-byte Reload
cmpq %rax, -3216(%rbp) ## 8-byte Folded Reload
setne %al
cmpb $45, -2096(%rbp)
sete %cl
testb %cl, %al
jne LBB0_66
## %bb.69: ## in Loop: Header=BB0_63 Depth=2
cmpb $45, -3120(%rbp)
je LBB0_66
## %bb.70: ## in Loop: Header=BB0_63 Depth=2
cmpb $0, -3121(%rbp) ## 1-byte Folded Reload
je LBB0_61
## %bb.71: ## in Loop: Header=BB0_63 Depth=2
movl 16(%rbx), %edi
movq -3136(%rbp), %rbx ## 8-byte Reload
movq (%rbx,%r14,8), %rsi
callq _dbDelete
movq -3168(%rbp), %rax ## 8-byte Reload
movl 16(%rax), %edi
movq (%rbx,%r14,8), %rsi
callq _signalModifiedKey
movq _server@GOTPCREL(%rip), %rax
incl (%rax)
movq (%rbx,%r14,8), %rdi
movq -3168(%rbp), %rbx ## 8-byte Reload
movl -3128(%rbp), %ecx ## 4-byte Reload
movslq %ecx, %rax
incl %ecx
movl %ecx, -3128(%rbp) ## 4-byte Spill
movq -3176(%rbp), %rcx ## 8-byte Reload
movq %rdi, (%rcx,%rax,8)
callq _incrRefCount
jmp LBB0_61
LBB0_72: ## in Loop: Header=BB0_27 Depth=1
testl %r13d, %r13d
sete -3152(%rbp) ## 1-byte Folded Spill
orl %r13d, %r14d
setne %al
movl -3236(%rbp), %ecx ## 4-byte Reload
notb %cl
orb %al, %cl
testb $1, %cl
jne LBB0_74
## %bb.73: ## in Loop: Header=BB0_27 Depth=1
movq _errno@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _ETIMEDOUT@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_87
LBB0_74: ## in Loop: Header=BB0_27 Depth=1
movq 8(%rbx), %rax
movq 8(%rax), %rdi
movq 16(%rax), %rsi
callq _migrateCloseSocket
movzbl -3152(%rbp), %eax ## 1-byte Folded Reload
movl %eax, %r14d
LBB0_75: ## in Loop: Header=BB0_27 Depth=1
movq -3144(%rbp), %r13 ## 8-byte Reload
cmpb $0, -3121(%rbp) ## 1-byte Folded Reload
movl -3128(%rbp), %r12d ## 4-byte Reload
je LBB0_80
## %bb.76: ## in Loop: Header=BB0_27 Depth=1
cmpl $2, %r12d
jl LBB0_78
## %bb.77: ## in Loop: Header=BB0_27 Depth=1
leaq L_.str.12(%rip), %rdi
movl $3, %esi
callq _createStringObject
movq -3176(%rbp), %rdx ## 8-byte Reload
movq %rax, (%rdx)
movq %rbx, %rdi
movl %r12d, %esi
callq _replaceClientCommandVector
movl $1, -3196(%rbp) ## 4-byte Folded Spill
jmp LBB0_79
LBB0_78: ## in Loop: Header=BB0_27 Depth=1
movq -3176(%rbp), %rdi ## 8-byte Reload
callq _zfree
LBB0_79: ## in Loop: Header=BB0_27 Depth=1
movq $0, -3176(%rbp) ## 8-byte Folded Spill
LBB0_80: ## in Loop: Header=BB0_27 Depth=1
testb %r14b, %r14b
je LBB0_99
## %bb.81: ## in Loop: Header=BB0_27 Depth=1
movl $0, -3128(%rbp) ## 4-byte Folded Spill
leaq L_.str.15(%rip), %r14
LBB0_82: ## in Loop: Header=BB0_27 Depth=1
movq -3176(%rbp), %r15 ## 8-byte Reload
LBB0_83: ## in Loop: Header=BB0_27 Depth=1
movq -3224(%rbp), %rdi
callq _sdsfree
cmpl $0, -3196(%rbp) ## 4-byte Folded Reload
jne LBB0_85
## %bb.84: ## in Loop: Header=BB0_27 Depth=1
movq 8(%rbx), %rax
movq 8(%rax), %rdi
movq 16(%rax), %rsi
callq _migrateCloseSocket
LBB0_85: ## in Loop: Header=BB0_27 Depth=1
movq %r15, %rdi
callq _zfree
cmpl $0, -3128(%rbp) ## 4-byte Folded Reload
je LBB0_97
## %bb.86: ## in Loop: Header=BB0_27 Depth=1
movq _ETIMEDOUT@GOTPCREL(%rip), %rax
movq (%rax), %rax
xorl %edx, %edx
movl $0, %esi
movq -3160(%rbp), %r12 ## 8-byte Reload
## kill: def $r12d killed $r12d killed $r12 def $r12
movq _errno@GOTPCREL(%rip), %rcx
cmpq %rax, (%rcx)
jne LBB0_27
jmp LBB0_97
LBB0_87: ## in Loop: Header=BB0_27 Depth=1
movl $1, -3128(%rbp) ## 4-byte Folded Spill
leaq L_.str.15(%rip), %r14
movq -3144(%rbp), %r13 ## 8-byte Reload
jmp LBB0_82
LBB0_88:
movq -3184(%rbp), %rdi ## 8-byte Reload
callq _zfree
movq -3136(%rbp), %rdi ## 8-byte Reload
callq _zfree
leaq L_.str.5(%rip), %rdi
callq _sdsnew
jmp LBB0_98
LBB0_89:
movq _shared@GOTPCREL(%rip), %rax
movl 4(%rax), %esi
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_105
## %bb.90:
movq %rbx, %rdi
jmp LBB0_95
LBB0_91:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_105
## %bb.92:
leaq L_.str.4(%rip), %rsi
movq %rbx, %rdi
addq $3224, %rsp ## imm = 0xC98
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _addReplyError ## TAILCALL
LBB0_93:
movq _shared@GOTPCREL(%rip), %rax
movl 4(%rax), %esi
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_105
## %bb.94:
movq %r12, %rdi
LBB0_95:
addq $3224, %rsp ## imm = 0xC98
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _addReply ## TAILCALL
LBB0_96:
movq -3184(%rbp), %rdi ## 8-byte Reload
callq _zfree
movq -3136(%rbp), %rdi ## 8-byte Reload
jmp LBB0_102
LBB0_97:
movq -3184(%rbp), %rdi ## 8-byte Reload
callq _zfree
movq -3136(%rbp), %rdi ## 8-byte Reload
callq _zfree
xorl %eax, %eax
callq _sdsempty
leaq L_.str.13(%rip), %rsi
movl %eax, %edi
movq %r14, %rdx
callq _sdscatprintf
LBB0_98:
movq %rbx, %rdi
movl %eax, %esi
callq _addReplySds
jmp LBB0_103
LBB0_99:
cmpb $0, -3152(%rbp) ## 1-byte Folded Reload
je LBB0_101
## %bb.100:
movq -3232(%rbp), %rax
movq %rax, (%r15)
movq _shared@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _addReply
LBB0_101:
movq -3224(%rbp), %rdi
callq _sdsfree
movq -3184(%rbp), %rdi ## 8-byte Reload
callq _zfree
movq -3136(%rbp), %rdi ## 8-byte Reload
callq _zfree
movq -3176(%rbp), %rdi ## 8-byte Reload
LBB0_102:
callq _zfree
LBB0_103:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_105
## %bb.104:
addq $3224, %rsp ## imm = 0xC98
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_105:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "copy"
L_.str.1: ## @.str.1
.asciz "replace"
L_.str.2: ## @.str.2
.asciz "auth"
.comm _shared,8,2 ## @shared
L_.str.3: ## @.str.3
.asciz "keys"
L_.str.4: ## @.str.4
.asciz "When using MIGRATE KEYS option, the key argument must be set to the empty string"
.comm _C_OK,8,3 ## @C_OK
L_.str.5: ## @.str.5
.asciz "+NOKEY\r\n"
L_.str.6: ## @.str.6
.asciz "AUTH"
L_.str.7: ## @.str.7
.asciz "SELECT"
.comm _server,16,3 ## @server
L_.str.8: ## @.str.8
.asciz "RESTORE-ASKING"
L_.str.9: ## @.str.9
.asciz "RESTORE"
L_.str.10: ## @.str.10
.asciz "REPLACE"
.comm _errno,8,3 ## @errno
L_.str.11: ## @.str.11
.asciz "Target instance replied with error: %s"
.comm _ETIMEDOUT,8,3 ## @ETIMEDOUT
L_.str.12: ## @.str.12
.asciz "DEL"
L_.str.13: ## @.str.13
.asciz "-IOERR error or timeout %s to target instance\r\n"
L_.str.14: ## @.str.14
.asciz "writing"
L_.str.15: ## @.str.15
.asciz "reading"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _migrateCommand ; -- Begin function migrateCommand
.p2align 2
_migrateCommand: ; @migrateCommand
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
sub sp, sp, #3184
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-96]
ldr w28, [x0]
cmp w28, #7
b.lt LBB0_13
; %bb.1:
mov w20, #0 ; =0x0
str wzr, [sp, #52] ; 4-byte Folded Spill
str xzr, [sp, #56] ; 8-byte Folded Spill
mov w24, #3 ; =0x3
mov w27, #1 ; =0x1
mov w23, #6 ; =0x6
Lloh3:
adrp x21, l_.str@PAGE
Lloh4:
add x21, x21, l_.str@PAGEOFF
Lloh5:
adrp x22, l_.str.1@PAGE
Lloh6:
add x22, x22, l_.str.1@PAGEOFF
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
mov w20, #1 ; =0x1
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
sub w8, w23, #1
cmp w23, w28
mov x23, x8
b.gt LBB0_14
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr x26, [x19, #8]
ldr x8, [x26, w23, sxtw #3]
ldr x25, [x8]
mov x0, x25
mov x1, x21
bl _strcasecmp
cbz w0, LBB0_2
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
mov x0, x25
mov x1, x22
bl _strcasecmp
cbz w0, LBB0_10
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
mov x0, x25
Lloh7:
adrp x1, l_.str.2@PAGE
Lloh8:
add x1, x1, l_.str.2@PAGEOFF
bl _strcasecmp
cbz w0, LBB0_11
; %bb.7: ; in Loop: Header=BB0_4 Depth=1
mov x0, x25
Lloh9:
adrp x1, l_.str.3@PAGE
Lloh10:
add x1, x1, l_.str.3@PAGEOFF
bl _strcasecmp
cbnz w0, LBB0_87
; %bb.8: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x26, #24]
ldr x0, [x8]
bl _sdslen
cbnz x0, LBB0_89
; %bb.9: ; in Loop: Header=BB0_4 Depth=1
add w24, w23, #1
ldr w28, [x19]
add w8, w23, w28
sub w27, w8, #1
b LBB0_3
LBB0_10: ; in Loop: Header=BB0_4 Depth=1
mov w8, #1 ; =0x1
str w8, [sp, #52] ; 4-byte Folded Spill
b LBB0_3
LBB0_11: ; in Loop: Header=BB0_4 Depth=1
sub w8, w28, #1
cmp w23, w8
b.ge LBB0_87
; %bb.12: ; in Loop: Header=BB0_4 Depth=1
sxtw x8, w23
add x23, x8, #1
ldr x8, [x26, x23, lsl #3]
ldr x8, [x8]
str x8, [sp, #56] ; 8-byte Folded Spill
; kill: def $w23 killed $w23 killed $x23 def $x23
b LBB0_3
LBB0_13:
str xzr, [sp, #56] ; 8-byte Folded Spill
mov w27, #1 ; =0x1
mov w22, #3 ; =0x3
mov w8, #1 ; =0x1
str w8, [sp, #52] ; 4-byte Folded Spill
b LBB0_15
LBB0_14:
sxtw x22, w24
ldr w8, [sp, #52] ; 4-byte Folded Reload
cmp w8, #0
cset w8, eq
str w8, [sp, #52] ; 4-byte Folded Spill
cmp w20, #0
cset w8, eq
LBB0_15:
str w8, [sp, #44] ; 4-byte Folded Spill
ldr x8, [x19, #8]
ldr x1, [x8, #40]
add x2, sp, #88
mov x0, x19
mov x3, #0 ; =0x0
bl _getLongFromObjectOrReply
Lloh11:
adrp x20, _C_OK@GOTPAGE
Lloh12:
ldr x20, [x20, _C_OK@GOTPAGEOFF]
ldr x8, [x20]
cmp x0, x8
b.ne LBB0_98
; %bb.16:
ldr x8, [x19, #8]
ldr x1, [x8, #32]
add x2, sp, #80
mov x0, x19
mov x3, #0 ; =0x0
bl _getLongFromObjectOrReply
ldr x8, [x20]
cmp x0, x8
b.ne LBB0_98
; %bb.17:
ldr x8, [sp, #88]
cmp x8, #0
b.gt LBB0_19
; %bb.18:
mov w8, #1000 ; =0x3e8
str x8, [sp, #88]
LBB0_19:
lsl w21, w27, #3
mov x0, #0 ; =0x0
mov x1, x21
bl _zrealloc
mov x24, x0
mov x0, #0 ; =0x0
mov x1, x21
bl _zrealloc
mov x23, x0
cmp w27, #1
b.lt LBB0_86
; %bb.20:
mov w28, #0 ; =0x0
lsl x20, x22, #3
mov w21, w27
b LBB0_22
LBB0_21: ; in Loop: Header=BB0_22 Depth=1
add x20, x20, #8
subs x21, x21, #1
b.eq LBB0_24
LBB0_22: ; =>This Inner Loop Header: Depth=1
ldr w0, [x19, #16]
ldr x8, [x19, #8]
ldr x1, [x8, x20]
bl _lookupKeyRead
str x0, [x24, w28, sxtw #3]
cbz x0, LBB0_21
; %bb.23: ; in Loop: Header=BB0_22 Depth=1
ldr x8, [x19, #8]
ldr x8, [x8, x20]
str x8, [x23, w28, sxtw #3]
add w28, w28, #1
b LBB0_21
LBB0_24:
cbz w28, LBB0_86
; %bb.25:
str x24, [sp, #8] ; 8-byte Folded Spill
str wzr, [sp, #20] ; 4-byte Folded Spill
ldr w8, [sp, #52] ; 4-byte Folded Reload
cmp w8, #0
mov w8, #4 ; =0x4
cinc w8, w8, eq
str w8, [sp, #48] ; 4-byte Folded Spill
mov w21, #1 ; =0x1
mov w22, #1 ; =0x1
ldr x20, [sp, #56] ; 8-byte Folded Reload
LBB0_26: ; =>This Loop Header: Depth=1
; Child Loop BB0_47 Depth 2
; Child Loop BB0_35 Depth 2
; Child Loop BB0_64 Depth 2
ldr x8, [x19, #8]
ldp x1, x2, [x8, #8]
ldr x3, [sp, #88]
mov x0, x19
bl _migrateGetSocket
cbz x0, LBB0_91
; %bb.27: ; in Loop: Header=BB0_26 Depth=1
mov x24, x0
str w22, [sp, #24] ; 4-byte Folded Spill
bl _sdsempty
mov x1, x0
add x0, sp, #72
bl _rioInitWithBuffer
cbz x20, LBB0_29
; %bb.28: ; in Loop: Header=BB0_26 Depth=1
add x0, sp, #72
mov w1, #42 ; =0x2a
mov w2, #2 ; =0x2
bl _rioWriteBulkCount
mov x2, x0
mov x0, x19
mov x1, #0 ; =0x0
bl _serverAssertWithInfo
add x0, sp, #72
Lloh13:
adrp x1, l_.str.6@PAGE
Lloh14:
add x1, x1, l_.str.6@PAGEOFF
mov w2, #4 ; =0x4
bl _rioWriteBulkString
mov x2, x0
mov x0, x19
mov x1, #0 ; =0x0
bl _serverAssertWithInfo
mov x0, x20
bl _sdslen
mov x2, x0
add x0, sp, #72
mov x1, x20
; kill: def $w2 killed $w2 killed $x2
bl _rioWriteBulkString
mov x2, x0
mov x0, x19
mov x1, #0 ; =0x0
bl _serverAssertWithInfo
LBB0_29: ; in Loop: Header=BB0_26 Depth=1
ldr x20, [x24]
ldr x27, [sp, #80]
cmp x20, x27
b.eq LBB0_31
; %bb.30: ; in Loop: Header=BB0_26 Depth=1
add x0, sp, #72
mov w1, #42 ; =0x2a
mov w2, #2 ; =0x2
bl _rioWriteBulkCount
mov x2, x0
mov x0, x19
mov x1, #0 ; =0x0
bl _serverAssertWithInfo
add x0, sp, #72
Lloh15:
adrp x1, l_.str.7@PAGE
Lloh16:
add x1, x1, l_.str.7@PAGEOFF
mov w2, #6 ; =0x6
bl _rioWriteBulkString
mov x2, x0
mov x0, x19
mov x1, #0 ; =0x0
bl _serverAssertWithInfo
ldr x1, [sp, #80]
add x0, sp, #72
bl _rioWriteBulkLongLong
mov x2, x0
mov x0, x19
mov x1, #0 ; =0x0
bl _serverAssertWithInfo
LBB0_31: ; in Loop: Header=BB0_26 Depth=1
str w21, [sp, #16] ; 4-byte Folded Spill
cmp w28, #1
str x20, [sp, #32] ; 8-byte Folded Spill
b.ge LBB0_45
; %bb.32: ; in Loop: Header=BB0_26 Depth=1
mov w28, #0 ; =0x0
LBB0_33: ; in Loop: Header=BB0_26 Depth=1
Lloh17:
adrp x8, _errno@GOTPAGE
Lloh18:
ldr x8, [x8, _errno@GOTPAGEOFF]
Lloh19:
str xzr, [x8]
ldr x25, [sp, #72]
mov x0, x25
bl _sdslen
mov w21, #65536 ; =0x10000
cbz x0, LBB0_37
; %bb.34: ; in Loop: Header=BB0_26 Depth=1
mov x20, #0 ; =0x0
LBB0_35: ; Parent Loop BB0_26 Depth=1
; => This Inner Loop Header: Depth=2
sub x8, x0, x20
cmp x8, #16, lsl #12 ; =65536
csel x26, x8, x21, lo
ldr w0, [x24, #8]
ldr x3, [sp, #88]
add x1, x25, x20
mov x2, x26
bl _connSyncWrite
cmp w0, w26
b.ne LBB0_56
; %bb.36: ; in Loop: Header=BB0_35 Depth=2
add x20, x20, w0, uxtw
mov x0, x25
bl _sdslen
cmp x0, x20
b.ne LBB0_35
LBB0_37: ; in Loop: Header=BB0_26 Depth=1
ldr x20, [sp, #56] ; 8-byte Folded Reload
cbz x20, LBB0_39
; %bb.38: ; in Loop: Header=BB0_26 Depth=1
ldr w0, [x24, #8]
ldr x3, [sp, #88]
add x1, sp, #2144
mov w2, #1024 ; =0x400
bl _connSyncReadLine
cmp x0, #1
b.lt LBB0_57
LBB0_39: ; in Loop: Header=BB0_26 Depth=1
ldr x26, [sp, #32] ; 8-byte Folded Reload
cmp x26, x27
b.eq LBB0_41
; %bb.40: ; in Loop: Header=BB0_26 Depth=1
ldr w0, [x24, #8]
ldr x3, [sp, #88]
add x1, sp, #1120
mov w2, #1024 ; =0x400
bl _connSyncReadLine
cmp x0, #1
b.lt LBB0_57
LBB0_41: ; in Loop: Header=BB0_26 Depth=1
ldr w8, [sp, #44] ; 4-byte Folded Reload
cbz w8, LBB0_59
; %bb.42: ; in Loop: Header=BB0_26 Depth=1
lsl w8, w28, #3
add w0, w8, #8
bl _zmalloc
str x0, [sp, #24] ; 8-byte Folded Spill
cmp w28, #1
b.ge LBB0_60
LBB0_43: ; in Loop: Header=BB0_26 Depth=1
mov w22, #0 ; =0x0
mov w25, #1 ; =0x1
LBB0_44: ; in Loop: Header=BB0_26 Depth=1
mov w20, #0 ; =0x0
cmp w22, #0
cset w21, eq
b LBB0_75
LBB0_45: ; in Loop: Header=BB0_26 Depth=1
mov w20, w28
mov x21, x23
ldr x22, [sp, #8] ; 8-byte Folded Reload
mov w28, #0 ; =0x0
b LBB0_47
LBB0_46: ; in Loop: Header=BB0_47 Depth=2
add x22, x22, #8
add x21, x21, #8
subs x20, x20, #1
b.eq LBB0_33
LBB0_47: ; Parent Loop BB0_26 Depth=1
; => This Inner Loop Header: Depth=2
ldr w0, [x19, #16]
ldr x1, [x21]
bl _getExpire
cmn x0, #1
b.eq LBB0_50
; %bb.48: ; in Loop: Header=BB0_47 Depth=2
mov x25, x0
bl _mstime
subs x8, x25, x0
b.mi LBB0_46
; %bb.49: ; in Loop: Header=BB0_47 Depth=2
cmp x8, #1
csinc x25, x8, xzr, hi
b LBB0_51
LBB0_50: ; in Loop: Header=BB0_47 Depth=2
mov x25, #0 ; =0x0
LBB0_51: ; in Loop: Header=BB0_47 Depth=2
ldr x8, [x21]
str x8, [x23, w28, sxtw #3]
add x0, sp, #72
mov w1, #42 ; =0x2a
ldr w2, [sp, #48] ; 4-byte Folded Reload
bl _rioWriteBulkCount
mov x2, x0
mov x0, x19
mov x1, #0 ; =0x0
bl _serverAssertWithInfo
Lloh20:
adrp x8, _server@GOTPAGE
Lloh21:
ldr x8, [x8, _server@GOTPAGEOFF]
Lloh22:
ldr x8, [x8, #8]
cbz x8, LBB0_53
; %bb.52: ; in Loop: Header=BB0_47 Depth=2
add x0, sp, #72
Lloh23:
adrp x1, l_.str.8@PAGE
Lloh24:
add x1, x1, l_.str.8@PAGEOFF
mov w2, #14 ; =0xe
b LBB0_54
LBB0_53: ; in Loop: Header=BB0_47 Depth=2
add x0, sp, #72
Lloh25:
adrp x1, l_.str.9@PAGE
Lloh26:
add x1, x1, l_.str.9@PAGEOFF
mov w2, #7 ; =0x7
LBB0_54: ; in Loop: Header=BB0_47 Depth=2
bl _rioWriteBulkString
mov x2, x0
add w28, w28, #1
mov x0, x19
mov x1, #0 ; =0x0
bl _serverAssertWithInfo
ldr x0, [x21]
bl _sdsEncodedObject
mov x2, x0
mov x0, x19
mov x1, #0 ; =0x0
bl _serverAssertWithInfo
ldr x8, [x21]
ldr x26, [x8]
mov x0, x26
bl _sdslen
mov x2, x0
add x0, sp, #72
mov x1, x26
; kill: def $w2 killed $w2 killed $x2
bl _rioWriteBulkString
mov x2, x0
mov x0, x19
mov x1, #0 ; =0x0
bl _serverAssertWithInfo
add x0, sp, #72
mov x1, x25
bl _rioWriteBulkLongLong
mov x2, x0
mov x0, x19
mov x1, #0 ; =0x0
bl _serverAssertWithInfo
ldr x1, [x22]
ldr x2, [x21]
add x0, sp, #64
bl _createDumpPayload
ldr x25, [sp, #64]
mov x0, x25
bl _sdslen
mov x2, x0
add x0, sp, #72
mov x1, x25
; kill: def $w2 killed $w2 killed $x2
bl _rioWriteBulkString
mov x2, x0
mov x0, x19
mov x1, #0 ; =0x0
bl _serverAssertWithInfo
ldr x0, [sp, #64]
bl _sdsfree
ldr w8, [sp, #52] ; 4-byte Folded Reload
tbnz w8, #0, LBB0_46
; %bb.55: ; in Loop: Header=BB0_47 Depth=2
add x0, sp, #72
Lloh27:
adrp x1, l_.str.10@PAGE
Lloh28:
add x1, x1, l_.str.10@PAGEOFF
mov w2, #7 ; =0x7
bl _rioWriteBulkString
mov x2, x0
mov x0, x19
mov x1, #0 ; =0x0
bl _serverAssertWithInfo
b LBB0_46
LBB0_56: ; in Loop: Header=BB0_26 Depth=1
mov x22, #0 ; =0x0
Lloh29:
adrp x24, l_.str.14@PAGE
Lloh30:
add x24, x24, l_.str.14@PAGEOFF
ldr x20, [sp, #56] ; 8-byte Folded Reload
b LBB0_58
LBB0_57: ; in Loop: Header=BB0_26 Depth=1
mov x22, #0 ; =0x0
Lloh31:
adrp x24, l_.str.15@PAGE
Lloh32:
add x24, x24, l_.str.15@PAGEOFF
LBB0_58: ; in Loop: Header=BB0_26 Depth=1
ldr w21, [sp, #24] ; 4-byte Folded Reload
b LBB0_81
LBB0_59: ; in Loop: Header=BB0_26 Depth=1
str xzr, [sp, #24] ; 8-byte Folded Spill
cmp w28, #1
b.lt LBB0_43
LBB0_60: ; in Loop: Header=BB0_26 Depth=1
mov x20, #0 ; =0x0
mov w22, #0 ; =0x0
mov w25, #1 ; =0x1
mov w21, w28
b LBB0_64
LBB0_61: ; in Loop: Header=BB0_64 Depth=2
cbz w22, LBB0_71
LBB0_62: ; in Loop: Header=BB0_64 Depth=2
mov w22, #1 ; =0x1
LBB0_63: ; in Loop: Header=BB0_64 Depth=2
add x20, x20, #1
cmp x21, x20
b.eq LBB0_44
LBB0_64: ; Parent Loop BB0_26 Depth=1
; => This Inner Loop Header: Depth=2
ldr w0, [x24, #8]
ldr x3, [sp, #88]
add x1, sp, #96
mov w2, #1024 ; =0x400
bl _connSyncReadLine
cmp x0, #1
b.lt LBB0_72
; %bb.65: ; in Loop: Header=BB0_64 Depth=2
ldr x8, [sp, #56] ; 8-byte Folded Reload
cbz x8, LBB0_67
; %bb.66: ; in Loop: Header=BB0_64 Depth=2
ldrb w8, [sp, #2144]
cmp w8, #45
b.eq LBB0_61
LBB0_67: ; in Loop: Header=BB0_64 Depth=2
ldrb w8, [sp, #1120]
and w8, w8, #0xff
cmp w8, #45
ccmp x26, x27, #4, eq
b.ne LBB0_61
; %bb.68: ; in Loop: Header=BB0_64 Depth=2
ldrb w8, [sp, #96]
cmp w8, #45
b.eq LBB0_61
; %bb.69: ; in Loop: Header=BB0_64 Depth=2
ldr w8, [sp, #44] ; 4-byte Folded Reload
cbz w8, LBB0_63
; %bb.70: ; in Loop: Header=BB0_64 Depth=2
ldr w0, [x19, #16]
ldr x1, [x23, x20, lsl #3]
bl _dbDelete
ldr w0, [x19, #16]
ldr x1, [x23, x20, lsl #3]
bl _signalModifiedKey
Lloh33:
adrp x9, _server@GOTPAGE
Lloh34:
ldr x9, [x9, _server@GOTPAGEOFF]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
ldr x0, [x23, x20, lsl #3]
add w26, w25, #1
ldr x8, [sp, #24] ; 8-byte Folded Reload
str x0, [x8, w25, sxtw #3]
bl _incrRefCount
mov x25, x26
ldr x26, [sp, #32] ; 8-byte Folded Reload
b LBB0_63
LBB0_71: ; in Loop: Header=BB0_64 Depth=2
mov x8, #-1 ; =0xffffffffffffffff
str x8, [x24]
ldrb w8, [sp, #1120]
and w8, w8, #0xff
cmp w8, #45
ccmp x26, x27, #4, eq
ldrb w8, [sp, #2144]
and w8, w8, #0xff
add x9, sp, #1120
add x10, sp, #96
csel x9, x9, x10, ne
cmp w8, #45
ldr x8, [sp, #56] ; 8-byte Folded Reload
ccmp x8, #0, #4, eq
add x8, sp, #2144
csel x8, x8, x9, ne
add x2, x8, #1
mov x0, x19
Lloh35:
adrp x1, l_.str.11@PAGE
Lloh36:
add x1, x1, l_.str.11@PAGEOFF
bl _addReplyErrorFormat
b LBB0_62
LBB0_72: ; in Loop: Header=BB0_26 Depth=1
cmp w22, #0
cset w21, eq
orr w8, w22, w20
cmp w8, #0
cset w8, ne
ldr w9, [sp, #16] ; 4-byte Folded Reload
orn w8, w8, w9
tbnz w8, #0, LBB0_74
; %bb.73: ; in Loop: Header=BB0_26 Depth=1
Lloh37:
adrp x8, _errno@GOTPAGE
Lloh38:
ldr x8, [x8, _errno@GOTPAGEOFF]
Lloh39:
ldr x8, [x8]
Lloh40:
adrp x9, _ETIMEDOUT@GOTPAGE
Lloh41:
ldr x9, [x9, _ETIMEDOUT@GOTPAGEOFF]
Lloh42:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_85
LBB0_74: ; in Loop: Header=BB0_26 Depth=1
ldr x8, [x19, #8]
ldp x0, x1, [x8, #8]
bl _migrateCloseSocket
mov x20, x21
LBB0_75: ; in Loop: Header=BB0_26 Depth=1
ldr x22, [sp, #24] ; 8-byte Folded Reload
ldr w8, [sp, #44] ; 4-byte Folded Reload
cbz w8, LBB0_79
; %bb.76: ; in Loop: Header=BB0_26 Depth=1
cmp w25, #2
b.lt LBB0_78
; %bb.77: ; in Loop: Header=BB0_26 Depth=1
Lloh43:
adrp x0, l_.str.12@PAGE
Lloh44:
add x0, x0, l_.str.12@PAGEOFF
mov w1, #3 ; =0x3
bl _createStringObject
str x0, [x22]
mov x0, x19
mov x1, x25
mov x2, x22
bl _replaceClientCommandVector
mov x22, #0 ; =0x0
mov w8, #1 ; =0x1
str w8, [sp, #20] ; 4-byte Folded Spill
b LBB0_79
LBB0_78: ; in Loop: Header=BB0_26 Depth=1
mov x0, x22
bl _zfree
mov x22, #0 ; =0x0
LBB0_79: ; in Loop: Header=BB0_26 Depth=1
tbz w20, #0, LBB0_94
; %bb.80: ; in Loop: Header=BB0_26 Depth=1
mov w21, #0 ; =0x0
Lloh45:
adrp x24, l_.str.15@PAGE
Lloh46:
add x24, x24, l_.str.15@PAGEOFF
ldr x20, [sp, #56] ; 8-byte Folded Reload
LBB0_81: ; in Loop: Header=BB0_26 Depth=1
ldr x0, [sp, #72]
bl _sdsfree
ldr w8, [sp, #20] ; 4-byte Folded Reload
cbnz w8, LBB0_83
; %bb.82: ; in Loop: Header=BB0_26 Depth=1
ldr x8, [x19, #8]
ldp x0, x1, [x8, #8]
bl _migrateCloseSocket
LBB0_83: ; in Loop: Header=BB0_26 Depth=1
mov x0, x22
bl _zfree
cbz w21, LBB0_92
; %bb.84: ; in Loop: Header=BB0_26 Depth=1
mov w21, #0 ; =0x0
mov w22, #0 ; =0x0
Lloh47:
adrp x8, _errno@GOTPAGE
Lloh48:
ldr x8, [x8, _errno@GOTPAGEOFF]
Lloh49:
ldr x8, [x8]
Lloh50:
adrp x9, _ETIMEDOUT@GOTPAGE
Lloh51:
ldr x9, [x9, _ETIMEDOUT@GOTPAGEOFF]
Lloh52:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_26
b LBB0_92
LBB0_85: ; in Loop: Header=BB0_26 Depth=1
mov w21, #1 ; =0x1
Lloh53:
adrp x24, l_.str.15@PAGE
Lloh54:
add x24, x24, l_.str.15@PAGEOFF
ldr x20, [sp, #56] ; 8-byte Folded Reload
ldr x22, [sp, #24] ; 8-byte Folded Reload
b LBB0_81
LBB0_86:
mov x0, x24
bl _zfree
mov x0, x23
bl _zfree
Lloh55:
adrp x0, l_.str.5@PAGE
Lloh56:
add x0, x0, l_.str.5@PAGEOFF
bl _sdsnew
b LBB0_93
LBB0_87:
Lloh57:
adrp x8, _shared@GOTPAGE
Lloh58:
ldr x8, [x8, _shared@GOTPAGEOFF]
Lloh59:
ldr w1, [x8, #4]
ldur x8, [x29, #-96]
Lloh60:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh61:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh62:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_100
; %bb.88:
mov x0, x19
add sp, sp, #3184
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 _addReply
LBB0_89:
ldur x8, [x29, #-96]
Lloh63:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh64:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh65:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_100
; %bb.90:
Lloh66:
adrp x1, l_.str.4@PAGE
Lloh67:
add x1, x1, l_.str.4@PAGEOFF
mov x0, x19
add sp, sp, #3184
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 _addReplyError
LBB0_91:
ldr x0, [sp, #8] ; 8-byte Folded Reload
bl _zfree
mov x0, x23
b LBB0_97
LBB0_92:
ldr x0, [sp, #8] ; 8-byte Folded Reload
bl _zfree
mov x0, x23
bl _zfree
bl _sdsempty
Lloh68:
adrp x1, l_.str.13@PAGE
Lloh69:
add x1, x1, l_.str.13@PAGEOFF
mov x2, x24
bl _sdscatprintf
LBB0_93:
mov x1, x0
mov x0, x19
bl _addReplySds
b LBB0_98
LBB0_94:
cbz w21, LBB0_96
; %bb.95:
ldr x8, [sp, #80]
str x8, [x24]
Lloh70:
adrp x8, _shared@GOTPAGE
Lloh71:
ldr x8, [x8, _shared@GOTPAGEOFF]
Lloh72:
ldr w1, [x8]
mov x0, x19
bl _addReply
LBB0_96:
ldr x0, [sp, #72]
bl _sdsfree
ldr x0, [sp, #8] ; 8-byte Folded Reload
bl _zfree
mov x0, x23
bl _zfree
mov x0, x22
LBB0_97:
bl _zfree
LBB0_98:
ldur x8, [x29, #-96]
Lloh73:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh74:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh75:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_100
; %bb.99:
add sp, sp, #3184
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_100:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpLdrGotStr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpAdd Lloh29, Lloh30
.loh AdrpAdd Lloh31, Lloh32
.loh AdrpLdrGot Lloh33, Lloh34
.loh AdrpAdd Lloh35, Lloh36
.loh AdrpLdrGotLdr Lloh40, Lloh41, Lloh42
.loh AdrpLdrGotLdr Lloh37, Lloh38, Lloh39
.loh AdrpAdd Lloh43, Lloh44
.loh AdrpAdd Lloh45, Lloh46
.loh AdrpLdrGotLdr Lloh50, Lloh51, Lloh52
.loh AdrpLdrGotLdr Lloh47, Lloh48, Lloh49
.loh AdrpAdd Lloh53, Lloh54
.loh AdrpAdd Lloh55, Lloh56
.loh AdrpLdrGotLdr Lloh60, Lloh61, Lloh62
.loh AdrpLdrGotLdr Lloh57, Lloh58, Lloh59
.loh AdrpLdrGotLdr Lloh63, Lloh64, Lloh65
.loh AdrpAdd Lloh66, Lloh67
.loh AdrpAdd Lloh68, Lloh69
.loh AdrpLdrGotLdr Lloh70, Lloh71, Lloh72
.loh AdrpLdrGotLdr Lloh73, Lloh74, Lloh75
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "copy"
l_.str.1: ; @.str.1
.asciz "replace"
l_.str.2: ; @.str.2
.asciz "auth"
.comm _shared,8,2 ; @shared
l_.str.3: ; @.str.3
.asciz "keys"
l_.str.4: ; @.str.4
.asciz "When using MIGRATE KEYS option, the key argument must be set to the empty string"
.comm _C_OK,8,3 ; @C_OK
l_.str.5: ; @.str.5
.asciz "+NOKEY\r\n"
l_.str.6: ; @.str.6
.asciz "AUTH"
l_.str.7: ; @.str.7
.asciz "SELECT"
.comm _server,16,3 ; @server
l_.str.8: ; @.str.8
.asciz "RESTORE-ASKING"
l_.str.9: ; @.str.9
.asciz "RESTORE"
l_.str.10: ; @.str.10
.asciz "REPLACE"
.comm _errno,8,3 ; @errno
l_.str.11: ; @.str.11
.asciz "Target instance replied with error: %s"
.comm _ETIMEDOUT,8,3 ; @ETIMEDOUT
l_.str.12: ; @.str.12
.asciz "DEL"
l_.str.13: ; @.str.13
.asciz "-IOERR error or timeout %s to target instance\r\n"
l_.str.14: ; @.str.14
.asciz "writing"
l_.str.15: ; @.str.15
.asciz "reading"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _get_worktrees ## -- Begin function get_worktrees
.p2align 4, 0x90
_get_worktrees: ## @get_worktrees
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %edi, %edi
movl $2, %esi
callq _ALLOC_ARRAY
xorl %eax, %eax
callq _get_main_worktree
ud2
.cfi_endproc
## -- End function
.comm _STRBUF_INIT,4,2 ## @STRBUF_INIT
.comm _GWT_SORT_LINKED,4,2 ## @GWT_SORT_LINKED
.comm _compare_worktree,4,2 ## @compare_worktree
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _get_worktrees ; -- Begin function get_worktrees
.p2align 2
_get_worktrees: ; @get_worktrees
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov x0, #0 ; =0x0
mov w1, #2 ; =0x2
bl _ALLOC_ARRAY
bl _get_main_worktree
brk #0x1
.cfi_endproc
; -- End function
.comm _STRBUF_INIT,4,2 ; @STRBUF_INIT
.comm _GWT_SORT_LINKED,4,2 ; @GWT_SORT_LINKED
.comm _compare_worktree,4,2 ; @compare_worktree
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _dwc3_host_init ## -- Begin function dwc3_host_init
.p2align 4, 0x90
_dwc3_host_init: ## @dwc3_host_init
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $48, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
movl 8(%rdi), %edi
callq _to_platform_device
movq %rax, %r14
movq %rbx, %rdi
callq _dwc3_host_get_irq
testl %eax, %eax
jle LBB0_22
## %bb.1:
movl %eax, %r15d
movq _IORESOURCE_IRQ@GOTPCREL(%rip), %r12
movl (%r12), %esi
leaq L_.str(%rip), %rdx
movq %r14, %rdi
callq _platform_get_resource_byname
testq %rax, %rax
jne LBB0_5
## %bb.2:
movl (%r12), %esi
leaq L_.str.1(%rip), %rdx
movq %r14, %rdi
callq _platform_get_resource_byname
testq %rax, %rax
jne LBB0_5
## %bb.3:
movl (%r12), %esi
xorl %r12d, %r12d
movq %r14, %rdi
xorl %edx, %edx
callq _platform_get_resource
testq %rax, %rax
je LBB0_4
LBB0_5:
movq 32(%rbx), %rcx
movl %r15d, 16(%rcx)
movl %r15d, 20(%rcx)
movq (%rax), %rax
movq %rax, 24(%rcx)
movq _PLATFORM_DEVID_AUTO@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str.2(%rip), %rdi
callq _platform_device_alloc
movl 8(%rbx), %edi
testq %rax, %rax
je LBB0_6
## %bb.7:
movq %rax, %r14
movl %edi, (%rax)
movq %rax, 40(%rbx)
movq 32(%rbx), %rsi
movq _DWC3_XHCI_RESOURCES_NUM@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r14, %rdi
callq _platform_device_add_resources
testl %eax, %eax
je LBB0_9
## %bb.8:
movl %eax, %r15d
movl 8(%rbx), %edi
leaq L_.str.4(%rip), %rsi
LBB0_21:
callq _dev_err
movq %r14, %rdi
callq _platform_device_put
movl %r15d, %eax
jmp LBB0_22
LBB0_6:
leaq L_.str.3(%rip), %rsi
callq _dev_err
movq _ENOMEM@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
LBB0_22:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -40(%rbp), %rcx
jne LBB0_24
## %bb.23:
addq $48, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_9:
leaq -80(%rbp), %r15
movq %r15, %rdi
callq _ARRAY_SIZE
## kill: def $eax killed $eax def $rax
leal (,%rax,8), %edx
xorl %r12d, %r12d
movq %r15, %rdi
xorl %esi, %esi
callq _memset
cmpq $0, 24(%rbx)
je LBB0_11
## %bb.10:
leaq L_.str.5(%rip), %rax
movq %rax, -80(%rbp)
movl $-1, %r12d
LBB0_11:
cmpq $0, 16(%rbx)
je LBB0_13
## %bb.12:
movslq %r12d, %rax
incl %r12d
leaq L_.str.6(%rip), %rcx
movq %rcx, -80(%rbp,%rax,8)
LBB0_13:
movq (%rbx), %rax
movq _DWC3_REVISION_300A@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jg LBB0_15
## %bb.14:
movslq %r12d, %rax
incl %r12d
leaq L_.str.7(%rip), %rcx
movq %rcx, -80(%rbp,%rax,8)
LBB0_15:
testl %r12d, %r12d
je LBB0_18
## %bb.16:
leaq -80(%rbp), %rsi
movq %r14, %rdi
callq _platform_device_add_properties
testl %eax, %eax
je LBB0_18
## %bb.17:
movl %eax, %r15d
movl 8(%rbx), %edi
leaq L_.str.8(%rip), %rsi
jmp LBB0_21
LBB0_18:
movq %r14, %rdi
callq _platform_device_add
testl %eax, %eax
je LBB0_19
## %bb.20:
movl %eax, %r15d
movl 8(%rbx), %edi
leaq L_.str.9(%rip), %rsi
jmp LBB0_21
LBB0_4:
movq _ENOMEM@GOTPCREL(%rip), %rax
subl (%rax), %r12d
movl %r12d, %eax
jmp LBB0_22
LBB0_19:
xorl %eax, %eax
jmp LBB0_22
LBB0_24:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _IORESOURCE_IRQ,4,2 ## @IORESOURCE_IRQ
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "host"
L_.str.1: ## @.str.1
.asciz "dwc_usb3"
.comm _ENOMEM,4,2 ## @ENOMEM
L_.str.2: ## @.str.2
.asciz "xhci-hcd"
.comm _PLATFORM_DEVID_AUTO,4,2 ## @PLATFORM_DEVID_AUTO
L_.str.3: ## @.str.3
.asciz "couldn't allocate xHCI device\n"
.comm _DWC3_XHCI_RESOURCES_NUM,4,2 ## @DWC3_XHCI_RESOURCES_NUM
L_.str.4: ## @.str.4
.asciz "couldn't add resources to xHCI device\n"
L_.str.5: ## @.str.5
.asciz "usb3-lpm-capable"
L_.str.6: ## @.str.6
.asciz "usb2-lpm-disable"
.comm _DWC3_REVISION_300A,8,3 ## @DWC3_REVISION_300A
L_.str.7: ## @.str.7
.asciz "quirk-broken-port-ped"
L_.str.8: ## @.str.8
.asciz "failed to add properties to xHCI\n"
L_.str.9: ## @.str.9
.asciz "failed to register xHCI device\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _dwc3_host_init ; -- Begin function dwc3_host_init
.p2align 2
_dwc3_host_init: ; @dwc3_host_init
.cfi_startproc
; %bb.0:
sub sp, sp, #96
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #40]
ldr w0, [x0, #8]
bl _to_platform_device
mov x20, x0
mov x0, x19
bl _dwc3_host_get_irq
cmp w0, #1
b.lt LBB0_10
; %bb.1:
mov x21, x0
Lloh3:
adrp x22, _IORESOURCE_IRQ@GOTPAGE
Lloh4:
ldr x22, [x22, _IORESOURCE_IRQ@GOTPAGEOFF]
ldr w1, [x22]
Lloh5:
adrp x2, l_.str@PAGE
Lloh6:
add x2, x2, l_.str@PAGEOFF
mov x0, x20
bl _platform_get_resource_byname
cbnz x0, LBB0_4
; %bb.2:
ldr w1, [x22]
Lloh7:
adrp x2, l_.str.1@PAGE
Lloh8:
add x2, x2, l_.str.1@PAGEOFF
mov x0, x20
bl _platform_get_resource_byname
cbnz x0, LBB0_4
; %bb.3:
ldr w1, [x22]
mov x0, x20
mov w2, #0 ; =0x0
bl _platform_get_resource
cbz x0, LBB0_9
LBB0_4:
ldr x8, [x19, #32]
stp w21, w21, [x8, #16]
ldr d0, [x0]
str d0, [x8, #24]
Lloh9:
adrp x8, _PLATFORM_DEVID_AUTO@GOTPAGE
Lloh10:
ldr x8, [x8, _PLATFORM_DEVID_AUTO@GOTPAGEOFF]
Lloh11:
ldr w1, [x8]
Lloh12:
adrp x0, l_.str.2@PAGE
Lloh13:
add x0, x0, l_.str.2@PAGEOFF
bl _platform_device_alloc
mov x20, x0
ldr w0, [x19, #8]
cbz x20, LBB0_8
; %bb.5:
str w0, [x20]
str x20, [x19, #40]
ldr x1, [x19, #32]
Lloh14:
adrp x8, _DWC3_XHCI_RESOURCES_NUM@GOTPAGE
Lloh15:
ldr x8, [x8, _DWC3_XHCI_RESOURCES_NUM@GOTPAGEOFF]
Lloh16:
ldr w2, [x8]
mov x0, x20
bl _platform_device_add_resources
cbz w0, LBB0_12
; %bb.6:
mov x21, x0
ldr w0, [x19, #8]
Lloh17:
adrp x1, l_.str.4@PAGE
Lloh18:
add x1, x1, l_.str.4@PAGEOFF
LBB0_7:
bl _dev_err
mov x0, x20
bl _platform_device_put
mov x0, x21
b LBB0_10
LBB0_8:
Lloh19:
adrp x1, l_.str.3@PAGE
Lloh20:
add x1, x1, l_.str.3@PAGEOFF
bl _dev_err
LBB0_9:
Lloh21:
adrp x8, _ENOMEM@GOTPAGE
Lloh22:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh23:
ldr w8, [x8]
neg w0, w8
LBB0_10:
ldr x8, [sp, #40]
Lloh24:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh25:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh26:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_23
; %bb.11:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #96
ret
LBB0_12:
add x0, sp, #8
bl _ARRAY_SIZE
lsl w2, w0, #3
add x0, sp, #8
mov w1, #0 ; =0x0
bl _memset
ldr x8, [x19, #24]
cbz x8, LBB0_14
; %bb.13:
Lloh27:
adrp x8, l_.str.5@PAGE
Lloh28:
add x8, x8, l_.str.5@PAGEOFF
str x8, [sp, #8]
mov w8, #-1 ; =0xffffffff
LBB0_14:
ldr x9, [x19, #16]
cbz x9, LBB0_16
; %bb.15:
Lloh29:
adrp x9, l_.str.6@PAGE
Lloh30:
add x9, x9, l_.str.6@PAGEOFF
add x10, sp, #8
str x9, [x10, w8, sxtw #3]
add w8, w8, #1
LBB0_16:
ldr x9, [x19]
Lloh31:
adrp x10, _DWC3_REVISION_300A@GOTPAGE
Lloh32:
ldr x10, [x10, _DWC3_REVISION_300A@GOTPAGEOFF]
Lloh33:
ldr x10, [x10]
cmp x9, x10
b.gt LBB0_18
; %bb.17:
Lloh34:
adrp x9, l_.str.7@PAGE
Lloh35:
add x9, x9, l_.str.7@PAGEOFF
add x10, sp, #8
str x9, [x10, w8, sxtw #3]
add w8, w8, #1
LBB0_18:
cbz w8, LBB0_21
; %bb.19:
add x1, sp, #8
mov x0, x20
bl _platform_device_add_properties
cbz w0, LBB0_21
; %bb.20:
mov x21, x0
ldr w0, [x19, #8]
Lloh36:
adrp x1, l_.str.8@PAGE
Lloh37:
add x1, x1, l_.str.8@PAGEOFF
b LBB0_7
LBB0_21:
mov x0, x20
bl _platform_device_add
cbz w0, LBB0_10
; %bb.22:
mov x21, x0
ldr w0, [x19, #8]
Lloh38:
adrp x1, l_.str.9@PAGE
Lloh39:
add x1, x1, l_.str.9@PAGEOFF
b LBB0_7
LBB0_23:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpAdd Lloh29, Lloh30
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.loh AdrpAdd Lloh34, Lloh35
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpAdd Lloh38, Lloh39
.cfi_endproc
; -- End function
.comm _IORESOURCE_IRQ,4,2 ; @IORESOURCE_IRQ
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "host"
l_.str.1: ; @.str.1
.asciz "dwc_usb3"
.comm _ENOMEM,4,2 ; @ENOMEM
l_.str.2: ; @.str.2
.asciz "xhci-hcd"
.comm _PLATFORM_DEVID_AUTO,4,2 ; @PLATFORM_DEVID_AUTO
l_.str.3: ; @.str.3
.asciz "couldn't allocate xHCI device\n"
.comm _DWC3_XHCI_RESOURCES_NUM,4,2 ; @DWC3_XHCI_RESOURCES_NUM
l_.str.4: ; @.str.4
.asciz "couldn't add resources to xHCI device\n"
l_.str.5: ; @.str.5
.asciz "usb3-lpm-capable"
l_.str.6: ; @.str.6
.asciz "usb2-lpm-disable"
.comm _DWC3_REVISION_300A,8,3 ; @DWC3_REVISION_300A
l_.str.7: ; @.str.7
.asciz "quirk-broken-port-ped"
l_.str.8: ; @.str.8
.asciz "failed to add properties to xHCI\n"
l_.str.9: ; @.str.9
.asciz "failed to register xHCI device\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function word32tobytes
_word32tobytes: ## @word32tobytes
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rdi), %eax
movl %eax, (%rsi)
movl -4(%rdi), %eax
movl %eax, 4(%rsi)
movl -8(%rdi), %eax
movl %eax, 8(%rsi)
movl -12(%rdi), %eax
movl %eax, 12(%rsi)
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _word32tobytes
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function word32tobytes
_word32tobytes: ; @word32tobytes
.cfi_startproc
; %bb.0:
ldr w8, [x0]
str w8, [x1]
ldur w8, [x0, #-4]
str w8, [x1, #4]
ldur w8, [x0, #-8]
str w8, [x1, #8]
ldur w8, [x0, #-12]
str w8, [x1, #12]
ret
.cfi_endproc
; -- End function
.no_dead_strip _word32tobytes
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _tl_buf_add_string ## -- Begin function tl_buf_add_string
.p2align 4, 0x90
_tl_buf_add_string: ## @tl_buf_add_string
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %ebx
movq %rdi, %r14
testl %esi, %esi
jns LBB0_2
## %bb.1:
movq %r14, %rdi
callq _strlen
movl %eax, %ebx
LBB0_2:
movq _buf@GOTPCREL(%rip), %r15
movq (%r15), %rax
movq _buf_pos@GOTPCREL(%rip), %r12
movslq (%r12), %rcx
leal -1(%rcx), %edx
movl %edx, (%r12)
movb $32, (%rax,%rcx)
movq (%r15), %rdi
movslq (%r12), %rax
subq %rax, %rdi
movq %r14, %rsi
movl %ebx, %edx
callq _memcpy
movslq (%r12), %rax
movslq %ebx, %rcx
addq %rax, %rcx
movl %ecx, (%r12)
movq (%r15), %rax
movb $0, (%rax,%rcx)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _buf,8,3 ## @buf
.comm _buf_pos,4,2 ## @buf_pos
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _tl_buf_add_string ; -- Begin function tl_buf_add_string
.p2align 2
_tl_buf_add_string: ; @tl_buf_add_string
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
tbz w1, #31, LBB0_2
; %bb.1:
mov x0, x20
bl _strlen
mov x19, x0
LBB0_2:
Lloh0:
adrp x21, _buf@GOTPAGE
Lloh1:
ldr x21, [x21, _buf@GOTPAGEOFF]
ldr x8, [x21]
Lloh2:
adrp x22, _buf_pos@GOTPAGE
Lloh3:
ldr x22, [x22, _buf_pos@GOTPAGEOFF]
ldrsw x9, [x22]
sub w10, w9, #1
str w10, [x22]
mov w10, #32 ; =0x20
strb w10, [x8, x9]
ldr x8, [x21]
ldrsw x9, [x22]
sub x0, x8, x9
mov x1, x20
mov x2, x19
bl _memcpy
ldrsw x8, [x22]
add x8, x8, w19, sxtw
str w8, [x22]
ldr x9, [x21]
strb wzr, [x9, x8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _buf,8,3 ; @buf
.comm _buf_pos,4,2 ; @buf_pos
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _ct_find ## -- Begin function ct_find
.p2align 4, 0x90
_ct_find: ## @ct_find
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movq _porttab@GOTPCREL(%rip), %r15
movq (%r15), %rax
movq (%rax), %rdi
xorl %r14d, %r14d
testq %rdi, %rdi
je LBB0_7
## %bb.1:
movq _NBRD@GOTPCREL(%rip), %r12
cmpl $0, (%r12)
jle LBB0_7
## %bb.2:
xorl %r13d, %r13d
xorl %r14d, %r14d
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movl $-1, %esi
movl $-1, %edx
callq _ct_probe_board
movq (%r15), %rcx
testq %rax, %rax
je LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq (%rcx,%r13), %rax
movslq %r14d, %rdx
incl %r14d
movq %rax, (%rbx,%rdx,8)
LBB0_5: ## in Loop: Header=BB0_3 Depth=1
movq -8(%rcx,%r13), %rdi
testq %rdi, %rdi
je LBB0_7
## %bb.6: ## in Loop: Header=BB0_3 Depth=1
addq $-8, %r13
cmpl (%r12), %r14d
jl LBB0_3
LBB0_7:
movl %r14d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _porttab,8,3 ## @porttab
.comm _NBRD,4,2 ## @NBRD
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _ct_find ; -- Begin function ct_find
.p2align 2
_ct_find: ; @ct_find
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x0
Lloh0:
adrp x21, _porttab@GOTPAGE
Lloh1:
ldr x21, [x21, _porttab@GOTPAGEOFF]
ldr x8, [x21]
ldr x0, [x8]
Lloh2:
adrp x22, _NBRD@GOTPAGE
Lloh3:
ldr x22, [x22, _NBRD@GOTPAGEOFF]
ldr w8, [x22]
cmp x0, #0
ccmp w8, #1, #8, ne
b.ge LBB0_3
; %bb.1:
mov w20, #0 ; =0x0
LBB0_2:
mov x0, x20
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
LBB0_3:
mov x23, #0 ; =0x0
mov w20, #0 ; =0x0
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
add x8, x8, x23
ldur x0, [x8, #-8]
ldr w8, [x22]
sub x23, x23, #8
cmp x0, #0
ccmp w20, w8, #0, ne
b.ge LBB0_2
LBB0_5: ; =>This Inner Loop Header: Depth=1
mov w1, #-1 ; =0xffffffff
mov w2, #-1 ; =0xffffffff
bl _ct_probe_board
ldr x8, [x21]
cbz x0, LBB0_4
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
ldr x9, [x8, x23]
str x9, [x19, w20, sxtw #3]
add w20, w20, #1
b LBB0_4
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _porttab,8,3 ; @porttab
.comm _NBRD,4,2 ; @NBRD
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _PQunescapeBytea ## -- Begin function PQunescapeBytea
.p2align 4, 0x90
_PQunescapeBytea: ## @PQunescapeBytea
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB0_1
## %bb.2:
xorl %eax, %eax
retq
LBB0_1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %edi, %edi
callq _strlen
leaq 1(%rax), %rdi
callq _malloc
popq %rbp
xorl %eax, %eax
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _PQunescapeBytea ; -- Begin function PQunescapeBytea
.p2align 2
_PQunescapeBytea: ; @PQunescapeBytea
.cfi_startproc
; %bb.0:
cbz x0, LBB0_2
; %bb.1:
mov x0, #0 ; =0x0
ret
LBB0_2:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl _strlen
add x0, x0, #1
bl _malloc
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
mov x0, #0 ; =0x0
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _copy_msg_release_compl ## -- Begin function copy_msg_release_compl
.p2align 4, 0x90
_copy_msg_release_compl: ## @copy_msg_release_compl
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r14
movq 24(%rdi), %rax
movl (%rax), %edi
callq _IE_ISGOOD
movq 24(%r14), %rcx
testq %rax, %rax
je LBB0_1
## %bb.2:
movl (%rcx), %eax
movq 24(%rbx), %rdx
movl %eax, (%rdx)
movl $1, %r15d
jmp LBB0_3
LBB0_1:
xorl %r15d, %r15d
LBB0_3:
movl 4(%rcx), %edi
callq _IE_ISGOOD
movq 24(%r14), %rcx
testq %rax, %rax
je LBB0_5
## %bb.4:
movl 4(%rcx), %eax
movq 24(%rbx), %rdx
movl %r15d, %esi
incl %r15d
movl %eax, (%rdx,%rsi,4)
LBB0_5:
movl 8(%rcx), %edi
callq _IE_ISGOOD
testq %rax, %rax
je LBB0_7
## %bb.6:
movq 24(%r14), %rax
movl 8(%rax), %eax
movq 24(%rbx), %rcx
movl %r15d, %edx
movl %eax, (%rcx,%rdx,4)
LBB0_7:
movq _UNI_NUM_IE_GIT@GOTPCREL(%rip), %r15
cmpl $0, (%r15)
jle LBB0_12
## %bb.8:
xorl %r12d, %r12d
xorl %r13d, %r13d
jmp LBB0_9
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_9 Depth=1
incq %r12
movslq (%r15), %rax
cmpq %rax, %r12
jge LBB0_12
LBB0_9: ## =>This Inner Loop Header: Depth=1
movq 16(%r14), %rax
movl (%rax,%r12,4), %edi
callq _IE_ISGOOD
testq %rax, %rax
je LBB0_11
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
movq 16(%r14), %rax
movl (%rax,%r12,4), %eax
movq 16(%rbx), %rcx
movslq %r13d, %rdx
incl %r13d
movl %eax, (%rcx,%rdx,4)
jmp LBB0_11
LBB0_12:
movl 8(%r14), %edi
callq _IE_ISGOOD
testq %rax, %rax
je LBB0_14
## %bb.13:
movl 8(%r14), %eax
movl %eax, 8(%rbx)
LBB0_14:
movl 4(%r14), %edi
callq _IE_ISGOOD
testq %rax, %rax
je LBB0_16
## %bb.15:
movl 4(%r14), %eax
movl %eax, 4(%rbx)
LBB0_16:
movl (%r14), %edi
callq _IE_ISGOOD
testq %rax, %rax
je LBB0_18
## %bb.17:
movl (%r14), %eax
movl %eax, (%rbx)
LBB0_18:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _UNI_NUM_IE_GIT,4,2 ## @UNI_NUM_IE_GIT
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _copy_msg_release_compl ; -- Begin function copy_msg_release_compl
.p2align 2
_copy_msg_release_compl: ; @copy_msg_release_compl
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x1
mov x20, x0
ldr x8, [x0, #24]
ldr w0, [x8]
bl _IE_ISGOOD
ldr x8, [x20, #24]
cbz x0, LBB0_2
; %bb.1:
ldr w9, [x8]
ldr x10, [x19, #24]
str w9, [x10]
mov w21, #1 ; =0x1
b LBB0_3
LBB0_2:
mov w21, #0 ; =0x0
LBB0_3:
ldr w0, [x8, #4]
bl _IE_ISGOOD
ldr x8, [x20, #24]
cbz x0, LBB0_5
; %bb.4:
ldr w9, [x8, #4]
ldr x10, [x19, #24]
str w9, [x10, w21, uxtw #2]
add w21, w21, #1
LBB0_5:
ldr w0, [x8, #8]
bl _IE_ISGOOD
cbz x0, LBB0_7
; %bb.6:
ldr x8, [x20, #24]
ldr w8, [x8, #8]
ldr x9, [x19, #24]
str w8, [x9, w21, uxtw #2]
LBB0_7:
Lloh0:
adrp x21, _UNI_NUM_IE_GIT@GOTPAGE
Lloh1:
ldr x21, [x21, _UNI_NUM_IE_GIT@GOTPAGEOFF]
ldr w8, [x21]
cmp w8, #0
b.le LBB0_12
; %bb.8:
mov x22, #0 ; =0x0
mov w23, #0 ; =0x0
b LBB0_10
LBB0_9: ; in Loop: Header=BB0_10 Depth=1
add x22, x22, #1
ldrsw x8, [x21]
cmp x22, x8
b.ge LBB0_12
LBB0_10: ; =>This Inner Loop Header: Depth=1
ldr x8, [x20, #16]
ldr w0, [x8, x22, lsl #2]
bl _IE_ISGOOD
cbz x0, LBB0_9
; %bb.11: ; in Loop: Header=BB0_10 Depth=1
ldr x8, [x20, #16]
ldr w8, [x8, x22, lsl #2]
ldr x9, [x19, #16]
str w8, [x9, w23, sxtw #2]
add w23, w23, #1
b LBB0_9
LBB0_12:
ldr w0, [x20, #8]
bl _IE_ISGOOD
cbz x0, LBB0_14
; %bb.13:
ldr w8, [x20, #8]
str w8, [x19, #8]
LBB0_14:
ldr w0, [x20, #4]
bl _IE_ISGOOD
cbz x0, LBB0_16
; %bb.15:
ldr w8, [x20, #4]
str w8, [x19, #4]
LBB0_16:
ldr w0, [x20]
bl _IE_ISGOOD
cbz x0, LBB0_18
; %bb.17:
ldr w8, [x20]
str w8, [x19]
LBB0_18:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _UNI_NUM_IE_GIT,4,2 ; @UNI_NUM_IE_GIT
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function getid
_getid: ## @getid
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %rbx
testq %rdi, %rdi
setne %al
testq %rsi, %rsi
setne %cl
andb %al, %cl
movzbl %cl, %edi
callq _Assert
incq %rbx
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movzbl -1(%rbx), %edi
decq %rbx
callq _isspace
testq %rax, %rax
jne LBB0_1
## %bb.2:
movzbl (%rbx), %eax
xorl %r15d, %r15d
testb %al, %al
je LBB0_17
## %bb.3:
xorl %r12d, %r12d
jmp LBB0_4
.p2align 4, 0x90
LBB0_14: ## in Loop: Header=BB0_4 Depth=1
movzbl (%rbx), %eax
movslq %r12d, %rcx
incl %r12d
movb %al, (%r14,%rcx)
LBB0_15: ## in Loop: Header=BB0_4 Depth=1
movzbl 1(%rbx), %eax
incq %rbx
testb %al, %al
je LBB0_16
LBB0_4: ## =>This Inner Loop Header: Depth=1
movzbl %al, %edi
callq _isalnum
movzbl (%rbx), %ecx
testq %rax, %rax
je LBB0_5
LBB0_8: ## in Loop: Header=BB0_4 Depth=1
cmpb $34, %cl
jne LBB0_12
## %bb.9: ## in Loop: Header=BB0_4 Depth=1
cmpb $34, -1(%rbx)
jne LBB0_10
## %bb.11: ## in Loop: Header=BB0_4 Depth=1
incq %rbx
jmp LBB0_12
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_4 Depth=1
cmpb $95, %cl
jne LBB0_6
LBB0_12: ## in Loop: Header=BB0_4 Depth=1
movq _NAMEDATALEN@GOTPCREL(%rip), %rax
movl (%rax), %eax
decl %eax
cmpl %eax, %r12d
jl LBB0_14
## %bb.13: ## in Loop: Header=BB0_4 Depth=1
movq _ERROR@GOTPCREL(%rip), %rax
movl (%rax), %r13d
movq _ERRCODE_NAME_TOO_LONG@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _errcode
leaq L_.str(%rip), %rdi
callq _errmsg
movq _NAMEDATALEN@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str.1(%rip), %rdi
callq _errdetail
movl %r13d, %edi
movl %eax, %esi
callq _ereport
jmp LBB0_14
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_4 Depth=1
xorl %eax, %eax
testl %r15d, %r15d
sete %al
movl %eax, %r15d
jmp LBB0_15
LBB0_6: ## in Loop: Header=BB0_4 Depth=1
cmpb $34, %cl
je LBB0_8
## %bb.7: ## in Loop: Header=BB0_4 Depth=1
testl %r15d, %r15d
jne LBB0_8
LBB0_16:
movslq %r12d, %r15
LBB0_17:
movb $0, (%r14,%r15)
decq %rbx
.p2align 4, 0x90
LBB0_18: ## =>This Inner Loop Header: Depth=1
movzbl 1(%rbx), %edi
incq %rbx
callq _isspace
testq %rax, %rax
jne LBB0_18
## %bb.19:
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _NAMEDATALEN,4,2 ## @NAMEDATALEN
.comm _ERROR,4,2 ## @ERROR
.comm _ERRCODE_NAME_TOO_LONG,4,2 ## @ERRCODE_NAME_TOO_LONG
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "identifier too long"
L_.str.1: ## @.str.1
.asciz "Identifier must be less than %d characters."
.no_dead_strip _getid
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function getid
_getid: ; @getid
.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 x0, #0
ccmp x1, #0, #4, ne
cset w0, ne
bl _Assert
add x23, x20, #1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldrb w0, [x23, #-1]!
bl _isspace
cbnz x0, LBB0_1
; %bb.2:
ldrb w8, [x23]
cbz w8, LBB0_15
; %bb.3:
mov w25, #0 ; =0x0
mov w24, #0 ; =0x0
Lloh0:
adrp x26, _NAMEDATALEN@GOTPAGE
Lloh1:
ldr x26, [x26, _NAMEDATALEN@GOTPAGEOFF]
Lloh2:
adrp x27, _ERROR@GOTPAGE
Lloh3:
ldr x27, [x27, _ERROR@GOTPAGEOFF]
Lloh4:
adrp x28, _ERRCODE_NAME_TOO_LONG@GOTPAGE
Lloh5:
ldr x28, [x28, _ERRCODE_NAME_TOO_LONG@GOTPAGEOFF]
Lloh6:
adrp x20, l_.str@PAGE
Lloh7:
add x20, x20, l_.str@PAGEOFF
Lloh8:
adrp x21, l_.str.1@PAGE
Lloh9:
add x21, x21, l_.str.1@PAGEOFF
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
ldrb w8, [x23]
strb w8, [x19, w24, sxtw]
add w8, w24, #1
mov x24, x8
ldrb w8, [x23, #1]!
cbz w8, LBB0_14
LBB0_5: ; =>This Inner Loop Header: Depth=1
and w0, w8, #0xff
bl _isalnum
ldrb w8, [x23]
cbnz x0, LBB0_8
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
cmp w8, #95
b.eq LBB0_11
; %bb.7: ; in Loop: Header=BB0_5 Depth=1
cmp w8, #34
ccmp w25, #0, #0, ne
b.eq LBB0_14
LBB0_8: ; in Loop: Header=BB0_5 Depth=1
cmp w8, #34
b.ne LBB0_11
; %bb.9: ; in Loop: Header=BB0_5 Depth=1
ldurb w8, [x23, #-1]
cmp w8, #34
b.ne LBB0_13
; %bb.10: ; in Loop: Header=BB0_5 Depth=1
add x23, x23, #1
LBB0_11: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [x26]
sub w8, w8, #1
cmp w24, w8
b.lt LBB0_4
; %bb.12: ; in Loop: Header=BB0_5 Depth=1
ldr w22, [x27]
ldr w0, [x28]
bl _errcode
mov x0, x20
bl _errmsg
ldr w1, [x26]
mov x0, x21
bl _errdetail
mov x1, x0
mov x0, x22
bl _ereport
b LBB0_4
LBB0_13: ; in Loop: Header=BB0_5 Depth=1
cmp w25, #0
cset w25, eq
ldrb w8, [x23, #1]!
cbnz w8, LBB0_5
LBB0_14:
sxtw x8, w24
b LBB0_16
LBB0_15:
mov x8, #0 ; =0x0
LBB0_16:
strb wzr, [x19, x8]
sub x19, x23, #1
LBB0_17: ; =>This Inner Loop Header: Depth=1
ldrb w0, [x19, #1]!
bl _isspace
cbnz x0, LBB0_17
; %bb.18:
mov x0, x19
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _NAMEDATALEN,4,2 ; @NAMEDATALEN
.comm _ERROR,4,2 ; @ERROR
.comm _ERRCODE_NAME_TOO_LONG,4,2 ; @ERRCODE_NAME_TOO_LONG
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "identifier too long"
l_.str.1: ; @.str.1
.asciz "Identifier must be less than %d characters."
.no_dead_strip _getid
.subsections_via_symbols
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.